Shu @shud.in · 27/09/2026It told me taking square roots isn't about calculating (+-*/), it's about naming! Why did none of my math teachers ever explain it this way? And then we talked through symmetric breaking and programming... 010
Shu @shud.in · 27/09/2026I asked Astra to explain it. Something still didn't click, so I asked it to expand. Then expand again, and again, and again... like zooming in on an image with infinite resolution until the blur disappears. And suddenly, I saw the full picture and why it's so beautiful. 110
Shu @shud.in · 27/09/2026What a privilege to be alive in this era. I couldn't sleep, so I started thinking about a Galois theory question I got stuck on in school 10 years ago. Back then, there was something about it I just couldn't grasp through textbooks (which frustrated me so much at the time). 140
Shu @shud.in · 27/09/2026shud.in/thoughts/met...shud.inMetaphors - Shu DingA metaphor is a function between two worlds. Every good one forgets something on purpose. 020
Reposted by Shudan @danabra.mov · 25/06/2026... i have joined the @nextjs.org team at @vercel.com. for a start, i'll be working part-time, so please don’t flood me with bug reports yet. however, i’ll try to keep an eye on them as i want to understand what problems Next.js users are running into every day. i want App Router to get good! 3131723
Shu @shud.in · 24/05/2026shud.in/thoughts/bol...shud.inBolt, Langlands, Schwarzschild - Shu DingThree names that became metaphors for what they discovered. 070
Shu @shud.in · 06/05/2026Composable. Reactive. Shaders. A glance: glsx.dev/example?shad...glsx.devGLSXComposable. Reactive. Shaders. 121
Reposted by ShuRicky @ricky.fm · 02/12/2024This is actually really funny to me. While react developers are criticizing RSCs because it's viewed as abandoning SPAs, anti-react developers are criticizing react SPAs by citing issues from the 2010s solved by RSC. 2333
Shu @shud.in · 30/11/2024The making of cobe.vercel.app. I’ll see if I have time to improve the perf & add marker overlay to it during the holidays 3361
Shu @shud.in · 29/11/2024it’s still the same, the issue is that when moving an iframe node in DOM tree, all its state gets lost so the preloaded cache will be gone 😢 the core problem is that there’s no way for a new iframe element to reuse any existing cache 020
Shu @shud.in · 29/11/2024that works, but in my case it’s more like preloading an iframe for the next navigation (not the current page) 110
Shu @shud.in · 28/11/2024yeah I think that might be why they removed `link rel=preload as=document` :/ 020
Shu @shud.in · 28/11/2024yeah, but how do I *pre*load it? like developer.mozilla.org/en-US/docs/W... but for iframes 100
Shu @shud.in · 28/11/2024what’s the way to preload an <iframe> in 2024? all I found on the internet was lazy loading it 390
Reposted by ShuAddy Osmani @addyosmani.bsky.social · 24/11/2024Trying View Transitions in Next.js using @shud.in’s next-view-transitions library. Love how straight-forward this was. github.com/shuding/next... 1712
Reposted by ShuRicky @ricky.fm · 23/11/2024don’t useEffect, but if you must, don’t call setState in it 1620829
Shu @shud.in · 23/11/2024haha I love faster machines but… I love the recent React Scan + GitHub.com improvements more 030
Shu @shud.in · 23/11/2024I recently switched from a 8GB RAM MacBook Air to a 36GB M4 Pro. Things become much smoother (literally ship 2x more PRs) but I wish someday I can instead optimize my tools and go back to my 8GB Air :/ 20971
Shu @shud.in · 23/11/2024const get = use (v) => { side effects return () => { cleanup v return v’ } } // useState + useEffect in one hook? maybe a language 2140
Shu @shud.in · 23/11/2024aww sf-game-club.vercel.appsf-game-club.vercel.appVideo Game ClubHistorical records of the Video Game Club 130
Shu @shud.in · 09/11/2024Yes CJK languages don't naturally have the concept of “whitespace”, so people are not very used to do that manually. 110
Reposted by ShuWyatt Johnson @wyattjoh.ca · 07/11/2024My talk from #nextjsconf is now available on YouTube!youtu.beOptimizing LCP: Partial Prerendering deep dive (Wyatt Johnson)YouTube video by Vercel 4417
Shu @shud.in · 07/11/2024yes! had a vanilla version cssosx.shud.in/sierra.html (really miss writing plain JS now)cssosx.shud.inCSS OS X 130
Shu @shud.in · 07/11/2024the stable icon positioning is so good! IMO one of the most thoughtful designs on Mac 120