paulgorman.org

< ^ txt

Mon Aug 20 09:27:17 EDT 2018 Slept from eleven to seven-thirty. Woke briefly around two-thirty. High of eighty-three and mostly sunny today. Work: - Document SPF whitelisting of common domain in Nostromo runbook Done. - Investigate Postoffice image backup (zero bytes?!) Done. - Review invoices Done. - Order another Android phone or two Fifteen-minute walk at lunch. Mostly overcast. Not as hot. Heard Cicadas. Saw two crows, a dragonfly, and a little white butterfly. Home: - Go to bed not late https://twobithistory.org/2018/08/18/ada-lovelace-note-g.html > After I had translated Lovelace’s program into C, I was able to run it on my own computer. To my frustration, I kept getting the wrong result. After some debugging, I finally realized that the problem wasn’t the code that I had written. The bug was in the original! > In her “diagram of development,” Lovelace gives the fourth operation as v5 / v4. But the correct ordering here is v4 / v5. This may well have been a typesetting error and not an error in the program that Lovelace devised. All the same, this must be the oldest bug in computing. I marveled that, for ten minutes or so, unknowingly, I had wrestled with this first ever bug. > Jim Randall, another blogger that has translated Lovelace’s program into Python, has noted this division bug and two other issues. What does it say about Ada Lovelace that her published program contains minor bugs? Perhaps it shows that she was attempting to write not just a demonstration but a real program. After all, can you really be writing anything more than toy programs if you aren’t also writing lots of bugs? Lunch: coffee, Thai Dinner:

< ^ txt