Stéphane ✨ retweeted
Built a tiny model that recognizes user emotions from cursor movement, velocity, and interactions.
It recognizes user's confusion, frustration or when user is lost. This can be used for generative / adaptive UI. Beta ready to use for free libraries.dev/mood-recogniti…
Stéphane ✨ retweeted
html tip 🔢: zip codes, card numbers and one-time codes are text fields with a number keypad.
<𝚒𝚗𝚙𝚞𝚝 𝚝𝚢𝚙𝚎="𝚝𝚎𝚡𝚝" 𝚒𝚗𝚙𝚞𝚝𝚖𝚘𝚍𝚎="𝚗𝚞𝚖𝚎𝚛𝚒𝚌"
𝚙𝚊𝚝𝚝𝚎𝚛𝚗="[𝟶-𝟿]{𝟻}" 𝚊𝚞𝚝𝚘𝚌𝚘𝚖𝚙𝚕𝚎𝚝𝚎="𝚙𝚘𝚜𝚝𝚊𝚕-𝚌𝚘𝚍𝚎">
𝚝𝚢𝚙𝚎="𝚗𝚞𝚖𝚋𝚎𝚛" is a 𝚜𝚙𝚒𝚗𝚋𝚞𝚝𝚝𝚘𝚗. arrow down on "𝟶𝟸𝟷𝟹𝟿" gives "𝟸𝟷𝟹𝟾" and the leading zero is gone.
Stéphane ✨ retweeted
Meet tidy 🎉
Prettier's style, but at native speed.
It's a single Rust binary that prints what Prettier prints.
On 12k files across every language (except XML):
- tidy checks everything in 280ms
- `bun fmt` takes 569ms
- oxfmt 1.2s
- Prettier 18.5s.
AI SDK just added WebMCP support. So we tried it with @uisdk.
You say "add two mugs". The model calls the page's WebMCP tools and the components update. No screenshots. No clicking around. It's really fast.
UI built with UI SDK comes with its own tools. The MCP client reads them from the page and hands them to the model. We wrote zero tools.
Stéphane ✨ retweeted
CSS tip: overscroll-behavior
Ever opened a scrollable modal and noticed the page behind it also starts scrolling?
.𝚖𝚘𝚍𝚊𝚕-𝚌𝚘𝚗𝚝𝚎𝚗𝚝 {
𝚘𝚟𝚎𝚛𝚏𝚕𝚘𝚠-𝚢: 𝚊𝚞𝚝𝚘;
𝚘𝚟𝚎𝚛𝚜𝚌𝚛𝚘𝚕𝚕-𝚋𝚎𝚑𝚊𝚟𝚒𝚘𝚛: 𝚌𝚘𝚗𝚝𝚊𝚒𝚗;
}
<𝚍𝚒𝚟 𝚌𝚕𝚊𝚜𝚜="𝚘𝚟𝚎𝚛𝚏𝚕𝚘𝚠-𝚢-𝚊𝚞𝚝𝚘 𝚘𝚟𝚎𝚛𝚜𝚌𝚛𝚘𝚕𝚕-𝚌𝚘𝚗𝚝𝚊𝚒𝚗">
This prevents scroll chaining when the modal reaches its scroll boundary
Useful for modals, sidebars, dropdowns and nested scroll containers.
Stéphane ✨ retweeted
scriptc now compiles:
→ TypeScript (.ts, .tsx, .mts, .cts)
→ JavaScript (ESM, CommonJS, minified)
→ JSDoc-typed JavaScript
→ JSX and TSX
→ most npm packages, including React 19
→ esbuild bundles
→ WebAssembly
I didn't like TypeScript much, but @vercel_labs scriptc changes that.
43k lines compiled to a 29 MB native binary that starts immediately, no Node.js runtime.
I still prefer JSDoc. I opened an issue and @ctatedev fixed it. Kudos to him and @cramforce
github.com/vercel-labs/scrip…
Stéphane ✨ retweeted
Exact : un runtime d'Expo pour écrire votre app une fois et la faire tourner nativement sur le web, macOS, iOS et Linux, sans webview ni bridge JavaScript dans l'UI.
L'interface s'écrit dans Contract, un langage déclaratif, et la logique en TypeScript ou Rust. ⬇️
In @uisdk, you don't wrap components. You import a primitive (with behaviors) and create its parts in your framework, with your own tags and names.
The same code works in React, Vue, Svelte, Solid and Web Components.
Ask your agent to build you a component library.
Stéphane ✨ retweeted
New emulator: @𝚎𝚖𝚞𝚕𝚊𝚝𝚘𝚛𝚜/𝚊𝚒
Test AI without paying for AI
Deterministic but also realistic: streaming, tool calls, latency, errors, varied responses
Built for CI, local dev and sandboxes
Introducing local OpenAI & Anthropic APIs in emulate
Test AI apps locally with scripted, deterministic replies
➔ OpenAI Responses, Chat & Anthropic Messages
➔ Swap one baseURL, keep your real SDK
➔ Tool loops, structured output & reasoning
➔ Inject 429s, stream timing, stalls & cuts
➔ Seeded variants repeat the same order every run
➔ No API keys, no network, zero token spend
npx emulate --service ai
Stéphane ✨ retweeted
scriptc now compiles all of node:readline
Prompts, history, tab completion in a 771 KB native binary
→ starts in 1 ms, 76x faster than Node
→ 2.8 MB of memory, 22x less
Stéphane ✨ retweeted
We've built Postgres driver for libraries 🫡
We didn't want to, but we had to:
▪︎ all major runtimes support(rip deno)
▪︎ tls/http/ws/dataapi transports
▪︎ data correctness(oh man...)
▪︎ native Effect
▪︎ explicit batch, pipeline, parallel apis
▪︎ bulkInsert, bulkUpdate, copyFrom
▪︎ metrics/telemetry
▪︎ for libraries - Drizzle, Kysely, Prisma, etc.
▪︎ effeciency and performance
▪︎ replication, backfills, snapshots
let's dive in 🧵
Stéphane ✨ retweeted
Got a React project you want to migrate to Solid?
Great news - you can use the React compiler to automate most of this migration!
Just run:
`npx codemod@alpha run react-to-solid`
And it uses the React compiler to analyze dependencies and rewrite to fully functional Solidjs code.
It's official. Solid 2.0 is finally here.
5 years ago, Signals went mainstream. Today we do the same with Async Signals.
solidjs.com/blog/solid-2-0-t…
Stéphane ✨ retweeted
PgDog v0.1.66 is out! Another week, another awesome release. 1M new downloads in last month alone.
Release notes always available here: github.com/pgdogdev/pgdog/bl…
Stéphane ✨ retweeted
Rustrak : une alternative Open Source à Sentry, développée en Rust
👉 github.com/rustrak/rustrak

ALT Tableau de bord sombre « Checkout API / Overview » affichant des indicateurs de qualité avec 302.3K erreurs (+12.4 %), 27 nouveaux problèmes, 98.86 % de sessions sans crash et 99.02 % d’utilisateurs sans crash. Un grand graphique « Errors over time » montre des barres rouges/jaunes/grises, avec des sections « Open issues » et « Session health » en bas.
Styling audio and video by state is now pure CSS. ✌🏻
`:playing`, `:paused`, `:muted`, `:seeking`, `:buffering`, `:stalled` and `:volume-locked` now work in every major engine: Chrome 158, Firefox 150, and Safari 15.4+.
No event listeners, no class toggling.
Before this… Now ⤵️
Replying to @ipwanciu
As of this year in 2026, with Chrome 158 all media psuedo classes such as the :playing, :muted, :seeking, :stalled, :buffering and :volume-locked are supported in all major browsers. Audio and Video states can now be styled with just CSS. Enjoy them in your personal projects 👍▶️





























