gokhan
245 posts




My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept): Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow


CSS Tip: This is the only line-height you’ll ever need for consistent line spacing. line-height: round(up, 1.32em, 12px);





What happens to your codebase when you stop reviewing your agents' output






Async in frameworks happens in 4 phases: 1. create 2. consume 3. block 4. read The problem? Most fuse 2 & 3. Consumption triggers blocking. This puts DX (coloration) at odds with UX (blocking). Solid 2.0 snaps them to the poles. Colorless logic. Non-blocking UI.



In the next version of Bun `Bun.WebView` programmatically controls a headless web browser in Bun

I started doing a lot of vibe coding in a JavaScript/Rust project. The coding agent is very good at Rust, and I find it very useful. But I happen to rewrite nearly all of the JavaScript code it writes. Can you guess why? Because I am bad at Rust.

I'm getting to the grumpy point where I don't want it to do any css at all





