lukezhang.si/lab
Some ideas can't be explained in paragraphs — you have to touch them. Interactive explainers, visualizers, and playgrounds. Everything here runs in your browser. Poke it.
Can the TypeScript compiler catch your authorization bugs? An interactive tour of gdp-ts — name it, prove it, demand it. Includes a "try to break it" compiler playground.
Enter →GPT-4o's tokenizer rebuilt from zero — byte-identical to tiktoken. The real thing runs in your browser: type anything, watch it tokenize, then browse 50 examples.
Try it →What SPF actually measures, the blocked-% math, why how much you apply beats the number — with four interactive visualizers. Verdict: 30 daily, 50 beach, 60 marketing.
See why →Looking for the day-by-day build timeline? That's the build log — it lives with the writing.