Saw a writhing ribbon snake mating ball today - very active with the warm weather! (Don’t watch if you have a snake phobia… it was a lot in person, 😝 🐍)
John Resig
@johnresig.com
Creator of jQuery, Chief Software Architect at Khan Academy, Japanese print nerd. https://johnresig.com/ https://ukiyo-e.org/ (bot: @ukiyo-e.org)
I have a private db of Japanese print sales and I used Claude Code to make a report analyzing this month's auctions: data.ukiyo-e.org/auctions/asi... identifying under-valued lots, rare prints, comparing prints across auctions. Normally VERY hard to get this guidance.
I've been using @tanstack.com Start for a new project and it's super good. The server functions completely replace the need for TRPC/GraphQL/REST, the middleware is composable and fully typed, and having TSRouter's nice typing and stateful search params is icing on the cake. A+!
Got to see two dream art pieces yesterday: weavings depicting computer chips by the Navajo weaver Marilou Schultz. They were on display at MoMA and were incredible to see in person. So intricate and detailed, but also handmade and steeped in tradition. More info: www.moma.org/magazine/art...
🎉 The 31st Annual #IFComp is live! 85 new interactive fiction entries are ready for you to play and judge. (You only need to rate 5 to cast a ballot!) Read more about this year's competition at blog.ifcomp.org Or just dive straight in: ifcomp.org/ballot
I stepped down from management last year to focus on architecture at @khanacademy.org full-time; big impact on my dev velocity! * Architecture decision records I authored: 14 (🆙 250%) * Decision Records I personally approved: 70 (🆙 94%) * PRs reviewed: 1,276 (🆙 20%) * PRs authored: 546 (🆙 333%!)
I ported ukiyo-e.org over to @cloudflare.social Workers + R1 (image hosting, about 1TB) + D2 (for DB and search) recently and I'm super happy with it, it's a great experience! Have it using React Router v7 + React 19, about 11 mil dynamic requests/month, served in under 35ms! Total cost ~$25/month.
We just moved @khanacademy.org over to using @rspack.dev today for our prod builds, from Webpack 5. We saw build times improve by about 2min or so (approx. 3min -> 1min). It was extremely easy to move to from Webpack, highly recommended for anyone on the fence!
Reflecting on the past year, we're delighted to see the growing activity in the Rspack stack repos. With over 5,000 merged pull requests, the engagement of our community has been incredible, and we're looking forward to welcoming even more contributors in the year ahead. 💕
Some of Khan Academy's AI work was featured last night on 60 Minutes with Anderson Cooper: www.youtube.com/watch?v=Ia3C... it's been really cool getting to work on this, really glad that this is having a positive impact on students and teachers!
Meet Khanmigo: The student tutor AI being tested in school districts | 60 Minutes
YouTube video by 60 Minutes
youtube.com
This is actually really great news! We were finding memory usage to be pretty comparable between Webpack and Rspack (even though Rspack is orders-of-magnitude faster) so this would be an even greater win!
In the next release, Rspack's memory usage in large projects will be significantly reduced.
This Spotify Wrapped tracks. Justice’s Coachella sets were so good that it reinvigorated my love for them. A ripped copy here: m.soundcloud.com/user-6372306... I think this year may be the first year where the majority of my music listening happens outside of Spotify (esp YouTube concerts)
Playwright's new Aria Snapshot comparison tool is super cool: playwright.dev/docs/aria-sn... surprisingly, I've seen no other library capable of this. Looking at their implementation it looks like they wrote it from scratch! github.com/microsoft/pl... It'd be very cool to see this OSS'd separately!
Aria snapshots | Playwright
Overview
playwright.dev
This is a great write-up. Tons of very smart, actionable, advice on improving React INP performance. (The jQuery-is-better bait is pretty hilarious, probably says more about the complexity of most jQuery sites.)
Did you know that jQuery outperforms React, what? 😳 Sounds like clickbait, but is reality. The HTTP Archive shows 82% of sites that use jQuery have good INP on mobile📱, while only 67% do when they use React⚛️. Not just sites, also libraries. Let's fix that👇#webperf kurtextrem.de/posts/improv...
I switched a Remix-using side project over to React Router v7 this past weekend and the new route-level type safety is pretty great! reactrouter.com/explanation/... been looking forward to this for a long time, code is a lot less clunky now being able to remove useParams/useLoaderData/etc.
Route Module Type Safety
reactrouter.com
v5 of Lingui was just released. We've been working to adopt Lingui at Khan Academy and it's by-far the best i18n library around. The use of macros, SWC integrations, deep React integrations, and idiomatic POT/PO file support makes it a huge win. lingui.dev/blog/2024/11...
Announcing Lingui 5.0 | Lingui
Today we are pleased to announce the release of Lingui 5.0!
lingui.dev