Ali Alshehri (@AliCantCode) header
Ali Alshehri (@AliCantCode) profile picture

anti-slop enthusiast | open-source sometimes

Al khobar
Joined May 2022
Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)Photo by Ali Alshehri (@AliCantCode)
How about doing it in 1 pr? 🤔🤔 Just give your agent tw2stylx and the rest is handled:
Over 1000 PRs later, Linear migrated from styled-components to @stylexjs. What began as performance optimization gave us better defaults for humans and agents alike. Our engineer @kenneth_skovhus on what we learned: linear.app/now/styling-linea…
2
3
9
2,014
Ali Alshehri retweeted
تطبيق نجيب، رسميا في الاب ستور. لعبة لوحة الاسئلة، و ثلاث ثلاثات و العاب مختلفه ثانيه، مجموع 11 لعبة. كلها مجانيه، والهدف يصير التطبيق رقم واحد لاي جمعة اهل واصحاب 🤍. نستقبل اي ملاحظات او اقتراحات apps.apple.com/us/app/%D9%86…
ان شاء الله ما يطولون، ونلحق ننزله في الاجازة.
1
3
19
1,209
Ali Alshehri retweeted
أول تجربة shadcn 2.0? 👀
Introducing the UI SDK.
9
10
3
276
25,119
ضمن فعاليات الأسبوع المهني، يدعوكم المجلس الطلابي لحضور لقاء "بين الدراسة والعمل"🎙️ لقاء حواري نستضيف فيه نخبة من الطلبة للحديث عن التوازن بين الدراسة والعمل، وأبرز المهارات المكتسبة والنصائح من واقع التجربة. كونوا معنا، فربما تكون تجربة أحدهم بداية لخطوتكم القادمة! 📅 الاثنين 9 نوفمبر 2026 🕐 12:00 – 1:00 مساءً #Ccsit_Council #IAU_CCSIT #جامعة_الإمام_عبدالرحمن_بن_فيصل #الاسبوع_المهني
6
21
2,034
Yk I always wanted to code without having to caffeinate my MacBook or install tools like insomnia to keep things running. So I built an agent server on my PC, using @t3dotcodes and @Tailscale Decided to build a tool for the setup! github.com/Radwan-Albahrani/…
2
1
5
246
😮‍💨😮‍💨
8
479
من المفارقات العجيبة في عالمنا الاسلامي هي انك تستطيع ان تقتل مسلمين معتمرين آمنين وتقتل الملايين الاخريين في اليمن وسورية وترسل صاروخا واحدا لا نفع منه للكيان الصهيوني فتقوم شراذمة العرب والمسلمين بالدفاع عنك كبطل، الا لعنة الله عليكم وعلى من جمعكم. ان غدًا لناظره قريب ياملاعين
This quoted post is unavailable.
4
64
3
770
54,310
Worth a read 🤝
instead of doomscrolling: start tweeting, finish the draft, learn AI, build the prototype, apply to YC, talk to users, learn the tool, send the DM, publish the idea, ship the MVP, make the call, and give the thing you're building the attention you've been giving your feed
1
177
Ali Alshehri retweeted
The most important coding skill: read. Teach yourself how to read. Read the agent output. Read the blog post. Read the paper. Read the code (if it applies to you). Don't summarize.
239
597
94
6,938
174,711
Ali Alshehri retweeted
Don’t Waste Your Potential.
219
2,868
104
26,611
784,866
Ali Alshehri retweeted
Many got confused (even upset) with me saying AI isn't a new abstraction layer in coding. Here's my reasoning: The main property of an abstraction is a delegation of responsibility, and that's one thing you don't get from LLMs. Here is an example to make it more plastic: Let's say your boss asked you to develop feature X. There are a few ways you could go about it: 1) Go and do it yourself. Great, all clear, you're responsible for it. 2) You could ask your boss to hire a subcontractor for it. If he says yes, the subcontractor is responsible for feature X working correctly. 3) You could ask your neighbor programmer to do it for you, or help you do it, but without any contract (your boss agreed to send him pizza as a thank you, though). In that case, feature X is still 100% your responsibility. Situation 3 is what I see confuses a lot of people when producing work with AI. Although AI appears very knowledgeable and you're glad to delegate things, you're only delegating work, not responsibility. If feature X has a bug and causes the company's clients to lose money, the company will be held liable (aka responsible), and then you within your company (probably, depends on the boss). Your neighbor (let's call him Claude) won't have anything to do with it at any moment. Let's now have a look at some "real" abstractions, as I define them: 1) Compilers/languages - If you, e.g., use Python, you delegate memory management, among other things. In case there is a bug in the Python compiler, most bosses won't say, "Oh, John, you messed it up, this one is on you". 2) Email sending services - SendGrid, Resend, etc. If you're using it, you've abstracted away the task of sending emails. If your emails start disappearing (and your customers complain), you'll know who to call and point out the terms of service. If you vibed your own solution, there's no one to call. An abstraction means you get to do less work, and you also have less to worry about, because the layer beneath agreed to take responsibility for it. With AI, you do less work, but no explicit layer or service guarantees anything. You're responsible for verifying the output and will be held liable for any issues it causes. Hope this makes sense, would love to hear what you think!
IMO, the biggest misconception about coding with AI is that it offers a new level of abstraction. It absolutely, by any measure, does not. You're still stuck with the exact same code you would have previously written by hand. So the complete class of problems you had with it is still there. You're just not looking at it directly anymore, but that doesn't change anything.
31
33
5
299
26,086
الي مو عارف Jev كيف يشتغل هذا بوست رهيب يشرحه بشكل مبسط وسريع teapawt.net/matijasosic/status/210…
افضل طريقة لاستعمال مودل اذكى هي انك تستعمله اقل؟ 🤔🧐 كنا نستعمل gpt 4o-mini كونه سريع ورخيص نسبياً، بس بمجرد ما اضفنا Jev في الservice قدرنا نستعمل gpt luna 6 وهو مودل اقوى و اكبر ومع ذلك نخلي الresponse ٥٥٪ اسرع و التكلفة ٧٣٪ اقل!!
7
2,208
افضل طريقة لاستعمال مودل اذكى هي انك تستعمله اقل؟ 🤔🧐 كنا نستعمل gpt 4o-mini كونه سريع ورخيص نسبياً، بس بمجرد ما اضفنا Jev في الservice قدرنا نستعمل gpt luna 6 وهو مودل اقوى و اكبر ومع ذلك نخلي الresponse ٥٥٪ اسرع و التكلفة ٧٣٪ اقل!!
1
5
2
35
4,326
عندنا service في الباك اند نناديه قبل مانحفظ اي معلومات دخلها اليوزر، الفكرة ان بعض الfields تكون عمومية وظاهره لجميع المستخدمين ف مهم نتاكد ان محتواها يكون مناسب بدال مانستعمل LLM مباشرة ليه ما نستعمل Jev ونخليه ياخذ القرار اذا المحتوى مناسب او لا؟ 👀
1
1
348
بدال ما كل request يروح للLLM (بطيئ و مكلف) نعطيه Jev وخلال ٢٠٠ms راح يعطيك جواب اذا كان المحتوى مناسب او لا، اذا كانت ثقته بالجواب اقل من ٨٠٪ هنا نسوي escalate الى LLM وهو يقرر بكذا قدرت تنزل التكلفة وتحصل اجابات بشكل اسرع وارخص، باختصار best of both worlds والنتايج تتكلم 🔥👀
1
3
254
Ali Alshehri retweeted
Consistency beats talent. Every time. I used to think I needed to be the smartest guy in the room. Turns out showing up every single day and doing the unglamorous reps is the actual cheat code for certs, for coding, for anything hard.
65
286
25
3,152
265,323
👀
i trained a fly to rewrite Shop back to React Native and make it faster than native
1
305
💀💀
Important context: 1. The Shop app was not yet migrated to React Native's new architecture 2. The new architecture was initiated, in large part, by Meta's need to improve startup time So, the one thing that was almost certain to improve startup time hadn't happened yet.
239
Ali Alshehri retweeted
Good codebases are trees and you just have to know the general structure, not every leaf / line of code. Otherwise it will turn into slop. That's why you use languages and architect in a way that keeps it a tree, instead of a set of globally mutating procedures. LLMs change nothing about this. Software has not changed if you care about not pumping out slop.
If you understand your whole codebase, the codebase isn't that important. Real software is larger than what your brain can comprehend.
39
49
7
1,735
88,202
We’re excited to announce that Margelo has been acquired by Callstack for over EUR 20 million, backed by Viking Global 🍾 Callstack brings a decade of enterprise React Native experience, which is a perfect match when combined with Margelo's deep expert knowledge around architecture and libraries. Our open-source libraries will of course stay open-source, and we will continue to operate as an agency. In the future, our team will be doubling down on open-source and Nitro.
1
4
407