We found an undocumented bug in the Apollo 11 guidance computer code

juxt.pro

149 points by henrygarner 3 hours ago


buredoranna - 21 minutes ago

Still my all time favorite snippet of code.

    TC    BANKCALL    # TEMPORARY, I HOPE HOPE HOPE
    CADR  STOPRATE    # TEMPORARY, I HOPE HOPE HOPE
    TC    DOWNFLAG    # PERMIT X-AXIS OVERRIDE
https://github.com/chrislgarry/Apollo-11/blob/master/Luminar...
ChicagoBoy11 - 35 minutes ago

For anyone who liked this, I highly suggest you take a look at the CuriousMarc youtube channel, where he chronicles lots of efforts to preserve and understand several parts of the Apollo AGC, with a team of really technically competent and passionate collaborators.

One of the more interesting things they have been working on, is a potential re-interpretation of the infamous 1202 alarm. It is, as of current writing, popularly described as something related to nonsensical readings of a sensor which could (and were) safely ignored in the actual moon landing. However, if I remember correctly, some of their investigation revealed that actually there were many conditions which would cause that error to have been extremely critical and would've likely doomed the astronauts. It is super fascinating.

jwpapi - 2 hours ago

Has someone verified this was an actual bug?

One of AI’s strengths is definitely exploration, f.e. in finding bugs, but it still has a high false positive rate. Depending on context that matters or it wont.

Also one has to be aware that there are a lot of bugs that AI won’t find but humans would

I don’t have the expertise to verify this bug actually happened, but I’m curious.

josephg - 3 hours ago

Super interesting. I wish this article wasn’t written by an LLM though. It feels soulless and plastic.

riverforest - an hour ago

Software that ran on 4KB of memory and got humans to the moon still has undiscovered bugs in it. That says something about the complexity hiding in even the smallest codebases.

chrisjj - 28 minutes ago

> The specs were derived from the code itself

Oh dear. I strongly suggest this author look specification up in a dictionary.

MeteorMarc - 37 minutes ago

Are there any consequences for the Artemis 2 mission (ironic)?

yodon - 2 hours ago

This is so insightfully and powerfully written I had literal chills running down my spine by the end.

What a horrible world we live in where the author of great writing like this has to sit and be accused of "being AI slop" simply because they use grammar and rhetoric well.

wg0 - 2 hours ago

Someone please amend the title and add "using claude code" because that's customary nowadays.