Skip to content
An independent journal on software and craft Updated 2026
Culture of DevelopmentNotes for people who build software

Streams / February 7, 2019

Session S0010: Chasing a subtle bug through the math

A debugging session about a small mathematical error with large effects.

A debugging session about a small mathematical error with large effects.

The archive is most useful when it shows the reasoning, including the dead ends.

Session themes

  • Reproduced the issue with a reduced case.
  • Checked assumptions one at a time.
  • Wrote a test that captures the fix.

A short topic summary, not a transcript.

Takeaways

  • Subtle bugs usually come from an unexamined assumption.