A journal for the curious developer

Good code.
Better stories.

Things we build. Things we break.
And everything we learn along the way.

The written side / featured article

The .to_i that ate the 0.5

A statutory payroll rate rose from 3% to 3.5%, and every calculator kept giving the old answer. One silent whole-number assumption, written into the loader, the templates and the browser code, explains why.

Watch. Read. Build.
Follow the ideas all the way through.
Follow the story
Notes from the workbench

Behind the code.

All articles
01
Rails

The .to_i that ate the 0.5

A statutory payroll rate rose from 3% to 3.5%, and every calculator kept giving the old answer. One silent whole-number assumption, written into the loader, the templates and the browser code, explains why.

21 Oct 2026

Search the articles, series and videos.