How tokenizers work (with a playground)
Models never see your text — they see integers. Here's how text becomes tokens, why costs and context limits are counted this way, and a small in-browser playground to feel it.
ReadNotes on CSS, React, TypeScript and building with AI — short, practical, and written after shipping.
Models never see your text — they see integers. Here's how text becomes tokens, why costs and context limits are counted this way, and a small in-browser playground to feel it.
ReadThis site's favicon is a tiny terminal prompt with a blinking cursor. Here's how to animate a favicon reliably with a canvas, two frames, and a timer.
ReadMedia queries describe the viewport. Components live in containers. Here is how container queries removed a whole class of layout hacks.
ReadMost tangled React codebases I have inherited share one root cause: server data living in component state.
ReadA type that mirrors your object shape adds nothing. A type that makes the wrong state unrepresentable pays for itself.
ReadThe Clippy on this site answers questions about one resume and refuses everything else. Scope was the whole design.
Read