A generic TypeScript util for finding discriminant union keys
A short back-and-forth builds a TypeScript type that finds common string keys across a union, useful for locating valid discriminants in tagged unions.
Related
Why TypeScript's .filter() won't narrow union return types
The user presses Claude on why .filter() won't narrow a union-typed array, exposing type predicates as unverified assertions rather than real type safety.
A client-side MP3 silence cutter, built waveform-first
A four-round build of a browser-only MP3 silence trimmer, adding zoomable dual waveforms, click-to-play scrubbing, and neatly categorized CSS along the way.
A from-scratch guide to porting a diffusion model to WebGPU
Claude clones a browser-based diffusion model port and writes a from-scratch guide covering ONNX export, WebGPU execution, and every design choice in the code.
Alan Kay's STEPS: an OS built from tiny DSLs, sourced and fact-checked
Explains Alan Kay's STEPS project — rebuilding an OS in 20,000 lines via custom mini-languages — then supplies links and a skeptical counter-read.