Learning from your bugs
summary
Keeps a plain text bugs.txt with a template and 15 years of notes—200+ entries—and distills 18 lessons across coding testing and debugging. Shows concrete failures: negative hashCode leads to array index out of bounds and is fixed with Math.abs after mod (with the Integer.MIN_VALUE caveat), zero-length TLV parsing causes an infinite loop fixed by forcing progress, fuzzing and reproducible seeds find protocol edge cases, and small custom scripts and API callers speed debugging; most incidents take 1–8 hours, the worst seven days.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:43Learning From Your Bugs
- 1:30About me
- 2:251. Tracking interesting bugs
- 4:38Entry template
- 6:18Example bug 1 (1)
- 10:42Example bug 2 (1)
- 12:40Tips
- 14:01Stats
- 15:302. Lessons (15 years, 200 bugs)
- 15:41Coding
- 23:08Testing
- 31:16Debugging
- 36:49Recap
- 37:46Questions?
related talks
45m82 Bugs I Collected in a Year You Won’t Believe Made It to Production
30mReporting Bugs: Errors Made and Lessons Learned
04mWhat Bug Hunting Taught Me About Hunting Bugs
51m82 Bugs I Collected in a Year You Won’t Believe Made It to Production
23mA Common Taxonomy of Bugs and How to Catch Them
57mHow to Debug Lessons Learnt From 10 Years of #SpringBoot
23mTroubleshooting the fudge out of it
47mHow to Debug - Lessons Learnt from 10 Years of Spring Boot
