web
1 post, 17 min of reading. Spans show reading time on a 0 to 70 min scale.
DFilterForge Retrospective 06: Every number has a source, yet one digit was still missing on a phone
The DFilterForge site forbids hand-written numbers: every value on a page carries its provenance, pointing to a location in a committed file in the repository, and a test recomputes it independently. This post tells how that chain came to be and the holes it had: a check that only recognized ASCII digits, numbers that existed only in server-rendered HTML, two values swapped, a formatting function shared with the page, and the one time the text was all correct but the pixels were wrong: on a 320 px phone, a real bill read as USD 0.2. Finally, the unreproducible README animation and a few deployment traps.
Reading time: 17 min