Blog

how_llm_tokens_work.ts

Tokens decide what an LLM costs, how much it can read, and why some text is pricier than other text.

LLMTokenizationAPIPerformance
blinking_terminal_favicon.ts

This site's favicon is a tiny terminal prompt with a blinking cursor, which is my personal favourite. Here's how to animate a favicon reliably with a canvas, two frames, and a timer.

FaviconCanvasAnimation