
Randomness Is a Database Anti-Pattern: The Engineering Case for Sequential UUIDs
A deep dive into B-Tree fragmentation and why the move from random UUIDv4 to sequential UUIDv7 is the highest-ROI database optimization you can make.
Articles, guides, and thoughts on web development and technology

A deep dive into B-Tree fragmentation and why the move from random UUIDv4 to sequential UUIDv7 is the highest-ROI database optimization you can make.

Stop letting your browser tabs fight over the same data and start using proper resource locking to handle concurrency like a pro.

Learn why the long-awaited scrollend event is more than just a convenience—it’s a performance win that eliminates one of the web's oldest timing bugs.

Stop monopolizing the event loop and start treating execution time as a shared resource by leveraging the native Priority Task Scheduling API.

Learn why your Lighthouse 'DOM size' warnings are actually rendering bottlenecks in disguise and how a single CSS property can reclaim your frame budget without complex lazy-loading logic.

Explore why Anthropic’s new open standard is the missing piece for developers trying to build AI tools that interact seamlessly with local databases, APIs, and file systems.

After years of fighting specificity wars and maintaining brittle BEM strings, I finally found a native way to contain styles without the overhead of Shadow DOM or CSS modules.

We have been fighting the limitations of the History API for a decade, but a more ergonomic way to handle routing has finally landed in the browser.

We're entering an era where the most performant JavaScript code is actually written in Rust, and the bridge between them has never been thinner.

Using a colon to type your objects might be the very thing making your TypeScript code feel rigid and cumbersome.