A Punch Card ate my Program!
summary
Recreates a production bug: a stray period in column 73 terminates a COBOL sentence unexpectedly because COBOL uses COBOL sentence termination (periods end sentences) and old punch‑card layouts enforce a punch card column 72 limit so characters after column 72 are ignored. Uses syntax highlighting and compiler options (free format vs fixed) to diagnose the mismatch between two systems, then shifts the period one column and the program prints correct shipping and free‑ship logic.
AI-written summary · about
chapters (5)
- 0:00Introduction to COBOL
- 1:43The mysterious bug
- 3:18Syntax and design history
- 5:05The role of the period
- 7:27Punch cards and the fix
related talks
24mY2K: The bug that didn't bite
11mWhat We Can Learn From COBOL
47mMy Journey in PostgreSQL bug fixing
50mHacking on Postgres: An Overview
30mLesser known features of PostgreSQL
57mAnatomy of ... POS Malware
30mFix your Strings in PostgreSQL
52mWriting fast C code for a modern CPU (and applying it to PostgreSQL)
