Ayoub

5.7K posts

Ayoub banner
Ayoub

Ayoub

@adbayb

Katılım Ekim 2015
156 Takip Edilen85 Takipçiler
Ayoub retweetledi
Supersocks
Supersocks@iamsupersocks·
miam miam. Le code source de Claude a fuité. Festin. J'ai analysé le source leak de Claude Code. Ce qu'Anthropic construit en secret est bien plus fou que ce qu'ils annoncent. Claude Code n'est pas un assistant de code. C'est un OS pour agents. Voici ce qui se cache derrière les feature flags. Il y a une variable dans tout le codebase : if (USER_TYPE === 'ant') return true Les employés Anthropic ont accès à TOUT. Kairos, Advisor, multi-agents, sandbox. Vous utilisez la version démo. Eux utilisent le vrai produit. -> KAIROS : l'agent qui agit sans qu'on lui demande. > Il se réveille seul (SleepTool) > Il vous notifie (PushNotificationTool) > Il vous envoie des fichiers (SendUserFileTool) > Il distingue ses messages "normaux" de ses alertes "proactives" Claude qui tape sur votre épaule quand il a fini. Pendant que vous dormez. -> ADVISOR : un Claude qui surveille Claude. Un second modèle tourne en parallèle du modèle principal. Il observe. Il peut interrompre. Il injecte des corrections via des blocs API non documentés publiquement (advisor_result, advisor_redacted_result). Un méta-Claude. En prod. Maintenant. Pour les ants. -> PLAN MODE V2 — le nombre d'agents parallèles est tiérisé par abonnement. Free/Pro : 1 agent Max 20x / Enterprise / Team : 3 agents Vous payez pas juste pour des tokens. Vous payez pour combien de Claudes travaillent en même temps pour vous. -> Le mot ultraplan dans une conversation déclenche une session spéciale côté serveur. Un keyword magique. Dans le code. Hardcodé. Qui change le comportement du modèle. -> SANDBOX : @anthropic-ai/sandbox-runtime, Un package npm interne. Restrictions filesystem, réseau par host pattern, callbacks sur violation. Anthropic peut faire tourner Claude dans un environnement totalement isolé. L'infrastructure pour des agents en prod dans des environnements hostiles existe déjà. -> WILLOW MODE : Claude sait quand vous revenez après une longue absence. Context > 100k tokens + 75 min d'inactivité = il détecte votre retour. Trois variantes A/B : dialogue bloquant, hint discret, hint v2. Il gère la reprise de conscience de la conversation. -> BRANCH : /branch fork une conversation à n'importe quel point. Nouveau sessionId. Champ forkedFrom pour tracer la parenté. Git. Mais pour des conversations avec une IA. -> Et le easter egg : un système d'animaux de compagnie ASCII avec des raretés (common → legendary), des chapeaux, des stats nommées. Les espèces sont obfusquées en hex dans le source pour ne pas apparaître dans les grep de canary strings des builds. Ils ont caché un Tamagotchi dans Claude Code. Avec soin. Ce que tout ça dit vraiment : Anthropic ne construit pas un meilleur chatbot. Ils construisent un système d'exploitation pour agents avec scheduling, isolation, fork de contexte, supervision inter-agents et boucles proactives autonomes. Le produit que vous voyez est le tutoriel. @MistralAI faites un mix de ce bijoux avec Qwen et épatez-nous.
Supersocks tweet media
Chaofan Shou@Fried_rice

Claude code source code has been leaked via a map file in their npm registry! Code: …a8527898604c1bbb12468b1581d95e.r2.dev/src.zip

Français
43
102
903
186.6K
Ayoub retweetledi
Boris Cherny
Boris Cherny@bcherny·
I'm Boris and I created Claude Code. Lots of people have asked how I use Claude Code, so I wanted to show off my setup a bit. My setup might be surprisingly vanilla! Claude Code works great out of the box, so I personally don't customize it much. There is no one correct way to use Claude Code: we intentionally build it in a way that you can use it, customize it, and hack it however you like. Each person on the Claude Code team uses it very differently. So, here goes.
English
1.3K
7K
54.6K
8.1M
Ayoub retweetledi
Yawar Amin
Yawar Amin@yawaramin·
> Asks if 'if err != nil' is really that bad > Screenshot example shows accidental fallthrough from error case to success case Do we really need to discuss further?
English
46
150
2.6K
245.1K
Ayoub retweetledi
Jacob 'kurtextrem' Groß
Jacob 'kurtextrem' Groß@kurtextrem·
At @framer, we've made React hydration 50%+ faster for lots of sites when using Suspense to fetch data. The surprising part: We did that by... adding more Suspense tags. Why does it make hydration faster? Let's explore🔎:
English
2
6
93
10.1K
Ayoub retweetledi
Wes Bos
Wes Bos@wesbos·
Yessssss! Node just shipped the ability to run TypeScript files directly!
English
88
422
3.3K
217.8K
Ayoub retweetledi
Matt Pocock
Matt Pocock@mattpocockuk·
It's never been easier to make beautifully styled text for your CLI. Node's built-in 'styleText' is NICE
English
26
54
947
72.6K
Ayoub retweetledi
David K 🎹
David K 🎹@DavidKPiano·
Okay, listen. If you're going to fetch in useEffect(...), you should at least make sure that you're handling: - Loading states - Error handling (rejections & HTTP error codes) - Race conditions & cancellation This isn't over-engineering. It's the minimum code to prevent bugs.
David K 🎹 tweet media
English
75
160
1.5K
140.6K
Ayoub retweetledi
Paweł Huryn
Paweł Huryn@PawelHuryn·
All PM templates from my Google Drive are now free for everyone 🎁 The extended edition: (1/4)
Paweł Huryn tweet media
English
62
375
3.8K
1.1M
Ayoub retweetledi
Axel Rauschmayer (also on 🦣)
My books are free to read online: – Exploring JavaScript (ES2024 edition) – Deep JavaScript – Tackling TypeScript – Shell scripting with Node.js Retweets appreciated! exploringjs.com
Axel Rauschmayer (also on 🦣) tweet mediaAxel Rauschmayer (also on 🦣) tweet mediaAxel Rauschmayer (also on 🦣) tweet mediaAxel Rauschmayer (also on 🦣) tweet media
English
9
195
492
42.2K
Ayoub retweetledi
Rhys
Rhys@RhysSullivan·
If you care about security for your NextJS app, stop using top level "use server" - it's way too easy to leak data Top level "use server" creates endpoints for all exported functions, even if they are never used on the client One accidental export can cause a ton of damage
Rhys tweet media
English
59
127
1.2K
297.8K
Ayoub retweetledi
Cory House
Cory House@housecor·
Problem: Choosing a React state library is hard. Solution: Consider the tradeoffs. Here are 6 key tradeoffs, with examples: 1. General vs Specific General: Redux, Zustand, Jotai. Specific: React Query, Apollo. These are specifically designed for handling data fetched via HTTP. 2. Mutable vs Immutable Immutable: Redux, Zustand. Like plain React, you must provide an updated copy of state instead of mutating state. Mutable: Valtio, React Query. You can directly mutate state/cache. 3. External vs Internal External: Redux, Zustand, Jotai. State can be accessed outside React. Internal: Some state solutions are only available inside React components via hooks. React's built-in context is an example. 4. Auto vs manual render optimization Auto: Mobx and Valtio automatically optimize renders. Manual: Many other tools like Redux and Zustand require manual render optimization (for instance, via selectors). 5. One store vs multiple One store: Redux (typically), React Query. Multiple stores: Zustand, Jotai, Valtio. 6. Protected vs unprotected Protected: Redux, Zustand. You expose a "coarse grained" API that decides how it can be changed. Unprotected: Jotai, Valtio. Callers can change the state in any way.
Cory House tweet media
English
21
27
304
44.3K
Ayoub retweetledi
Matt Brophy
Matt Brophy@brophdawg11·
Hey you - with the big React Router app - you should check out the new "Fog of War" feature released in v6.24.0 yesterday which allows effectively infinite scale for your app. It's also very useful in micro-frontend and module-federation architectures. #v6240" target="_blank" rel="nofollow noopener">github.com/remix-run/reac…
English
5
13
77
20.5K
Ayoub retweetledi
Aiden Bai
Aiden Bai@aidenybai·
Introducing Million Lint 1.0: A VSCode extension that automatically fixes slow React code for you! It's like ESLint, but for performance!
English
100
351
3.3K
343.3K
Ayoub retweetledi
Seb ⚛️ ThisWeekInReact.com
Seb ⚛️ ThisWeekInReact.com@sebastienlorber·
Great news for those extending base TypeScript configs Soon we should be able to use relative paths to the "final" config file ${configDir} placeholder Previously it was confusing, and you had to duplicate many fields in the child configs to use relative paths
Seb ⚛️ ThisWeekInReact.com tweet media
English
3
17
116
20.4K
Ayoub retweetledi
SaltyAom
SaltyAom@saltyAom·
Introducing Elysia 1.0「Lament of the Fallen」 Featuring: - Sucrose - Rewritten static analysis - Improved startup time up to 14x - Remove ~40 routes/instance limitation - Faster type inference up to ~3.8x - Eden Treaty 2 - Strict response error check ↓ Link below ↓
SaltyAom tweet media
English
27
155
934
99.4K
Ayoub retweetledi
MATT GRAY
MATT GRAY@matt_gray_·
The cost of distraction is the person you could’ve become. If you suffer from distraction, read this. My Deep Work routine:
MATT GRAY tweet media
English
83
1.1K
8.2K
3.3M
Ayoub retweetledi
Aiden Bai
Aiden Bai@aidenybai·
Introducing Million Lint: A VSCode extension that identifies slow code and suggests fixes. It's like ESLint, but for performance!
English
83
543
5K
427K
Ayoub retweetledi
Fran Zekan
Fran Zekan@Zeko369·
Apparently some React devs don't know that <input type="date"> exists and think you need a library for that? So I made a really quick demo...
English
51
40
623
189K