this post was submitted on 05 Aug 2026
935 points (99.5% liked)

Programmer Humor

32668 readers
672 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 so true tho

you are viewing a single comment's thread
view the rest of the comments
[–] engagewithzorp@lemmy.world -4 points 1 day ago (3 children)

Is this a real example? Or are we just talking about linux here

[–] CanadaPlus@lemmy.sdf.org 7 points 23 hours ago* (last edited 23 hours ago)

Nebraska and 2003 have got to be fictional details, but there's several small programs or libraries that have some kind of similar story.

[–] captain_aggravated@sh.itjust.works 6 points 1 day ago (1 children)

You weren't there for the Leftpad fiasco, I take it?

[–] Hobo@lemmy.world 4 points 22 hours ago (1 children)

https://en.wikipedia.org/wiki/Npm_left-pad_incident

For the uninformed. It still somehow both boggles my mind and makes 100% sense that people didn't just write this function when they needed something to pad strings.

Probably got put into a popular example and then everyone uses it because "that's how."

[–] davetortoise@reddthat.com 6 points 1 day ago (1 children)

A huge proportion (most?) of server infrastructure runs on linux.

[–] engagewithzorp@lemmy.world 0 points 1 day ago (1 children)

That's what I meant. I phrased it badly, i meant to ask if it was about Linux or something else

[–] nomecks@lemmy.wtf 1 points 1 day ago* (last edited 23 hours ago)

It was leftpad. A stupid little function that was used by like 90% of the internet, and it crashed everything during a name dispute.

https://en.wikipedia.org/wiki/Npm_left-pad_incident