this post was submitted on 04 Jun 2026
208 points (100.0% liked)

Programmer Humor

31662 readers
1121 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 

This is the code in the Apollo Guidance Computer for Apollo 11.

It's part of the LUMINARY sofware, which ran on the AGC on the Lunar Module. It's meant to check if the landing radar is pointed toward the lunar surface - because the LM went through several orientations, the landing radar could be pointed to the front or the side or down. You're landing on the Moon. Point it down.

Point is, you have to verify user input. Even if your users are the most meticulous and highly trained individuals in history. You have to see if they're lying. So you get to the BURNBABY.

Browse the code in GitHub - this code is in THE_LUNAR_LANDING.agc

top 22 comments
sorted by: hot top controversial new old
[–] rtxn@lemmy.world 1 points 1 minute ago

PLEASE CRANK THE SILLY THING AROUND should not be as hilarious as it is

[–] phailhaus@piefed.social 32 points 8 hours ago (1 children)

in case anyone is curious, those comments are not a modern addition. They are a faithful reproduction of the original scanned copy of the code. Scan of Page 789 of Luminary099

[–] pineapplelover@lemmy.dbzer0.com 9 points 7 hours ago

Ima be honest, I have no idea wtf I'm looking at

[–] DisasterTransport@startrek.website 8 points 10 hours ago* (last edited 10 hours ago) (1 children)

Interesting how similar this is at first glance to Kerboscript. Neat!

[–] MonkderVierte@lemmy.zip 2 points 2 hours ago* (last edited 2 hours ago)

Is this KOS-related?

Edit: nope, a real language, not Kerbal Operating System.

[–] rizzothesmall@sh.itjust.works 36 points 14 hours ago (1 children)

Love that the termination routine is GOTOPOOH and the next step is BURNBABY

[–] umbraroze@slrpnk.net 33 points 14 hours ago (1 children)

GOTOPOOH was actually jargon for Program 00 (Hex), which was (I think?) the AGC's normal idle routine.

BURNBABY was an alias for BURN_BABY_BURN which was the lunar descent burn sequence. Or something. I wouldn't have named it that.

[–] sp3ctr4l@lemmy.dbzer0.com 10 points 14 hours ago* (last edited 14 hours ago) (2 children)

P00H is hilarious.

Poop.

The end of all food, yet also, the beginning of all food.

Poop is the true neutral ground state from whence all emerges and all returns to.

... genuienly an incredible name for the idle loop, I am in awe.

I did not think Maggie Hamilton could be more legendary, but somehow, she is. Damn.

[–] ZILtoid1991@lemmy.world 1 points 5 hours ago

Winnie the Poop

[–] mercano@lemmy.world 8 points 11 hours ago (2 children)

It’s also something we left on the moon. Bags and bags of it, along with empty food containers and their moonwalking backpacks. It’s not like it’s worth it to haul it back to orbit.

[–] Bananskal@nord.pub 4 points 7 hours ago

So this is what the Seminal Theory is about. It's not a meteor or some shit that crashed into the earth from far away.

It was just actual shit left behind by visitors. That's us. We're alien shit.

[–] sp3ctr4l@lemmy.dbzer0.com 4 points 11 hours ago (1 children)

I wonder if that shit is something approximating a fossil, currently.

Presumably the radiation would have killed all the fecal bacteria pretty quickly... hell ... would the plastic bags have degraded as well?

[–] mercano@lemmy.world 8 points 11 hours ago (1 children)

It has been exposed to 336 hours of continuous unfiltered sunlight each lunar day for the past 40+ years. That’s can’t be good for the plastic. The poo is probably dedicated, but I don’t think it’d be fossilized, in the sense of biological material replaced with stone, I don’t think the moon is geologically active enough for that to happen.

[–] sp3ctr4l@lemmy.dbzer0.com 6 points 11 hours ago (1 children)

Is there... a word... for... 'exposed to the void of space for a prolonged period of time'?

Yeah I know fossilized isn't the right word, as thats generally a process that requires water... but i dont know how to say 'space fossilized'.

Dehydrated and Irradiated ... ?

[–] deadbeef79000@lemmy.nz 4 points 9 hours ago

Cosmopolitan.

[–] Rhaedas@fedia.io 51 points 15 hours ago (1 children)

Sanitizing user input for the Moon landings.

Meanwhile in 2026, ask AI to change an authentication phone number and it says, "Sure thing!" And is ABLE to do it.

[–] Bananskal@nord.pub 6 points 7 hours ago (2 children)

I don't understand what this comment is meant to convey. Could you explain a bit further?

[–] ugo@feddit.it 9 points 5 hours ago (1 children)

It’s trying to convey that software and engineering discipline has gone to shit. Software written to have some of the most skilled humans at the given task in 69 still had safeguards to double check that the user, despite being one of the most eminent experts, did not provide incorrect input.

Fast forward to 2026 and things have worsened to the point where ostensible “engineers” deploy systems that allow attackers to access people’s accounts simply by asking a bot, which blindly trusts the attackers.

I don’t know yet to which degree I agree, but that’s what the comment is meant to convey in my interpretation.

[–] Bananskal@nord.pub 2 points 2 hours ago

Thanks! 🙏

[–] ggtdbz@lemmy.dbzer0.com 4 points 5 hours ago (1 children)

The first one insisted to make sure one of the most competent human beings who ever existed oriented a thing downward in order to not die during a very well-rehearsed procedure.

The second one is a reference to social media companies “outsourcing” support to chatbots with no intelligence and plenty of control, allowing people to prompt said chatbots into giving them other people’s accounts.

[–] Bananskal@nord.pub 1 points 2 hours ago

I knew I should've waited until I hadn't just woken up before trying to understand the comment. 😆

[–] AllNewTypeFace@leminal.space 6 points 12 hours ago

TCF = Terminate and Catch Fire?