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
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.
Sorting visualizer with a CPython-faithful Timsort implementation
The user built an animated visualizer for sorting algorithms, then had Claude clone CPython's source to add a faithful Timsort and a live race mode.
Chasing a phantom padding bug through a C++ tokenizer
A long hunt for pad tokens appearing at the start of every chunk, ending in a switch to left-padding so the last token lands where embeddings want it.
Four failed fixes before a QR code app finally scans
Building a QR generator, Claude tries a broken API, a second API, then fake canvas pixels — before switching to a real QR library that scanners can read.