this post was submitted on 13 Nov 2024
795 points (99.5% liked)

Programmer Humor

25159 readers
1610 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 2 years ago
MODERATORS
 

Source: https://musicians.today/@barnetboy/113475747574177779

Mastodon: @barnetboy@musicians.today

all 25 comments
sorted by: hot top controversial new old
[–] tourist@lemmy.world 111 points 8 months ago (1 children)

arbitrary npm package:

  • last updated 4 years ago
  • sole developer legit dead and buried
  • 47 dependencies
  • 608 critical vulnerabilities
  • condemned by the United Nations

Still has 7 million weekly downloads

[–] MadMadBunny@lemmy.ca 31 points 8 months ago

Please mark this as NSFL.

Seriously, who the fuck starts a conversation like this, I just sat down!!

[–] Gork@lemm.ee 33 points 8 months ago (2 children)

Mmm yes. Unexplained issues that have a single mention in StackOverflow five years ago, have a single reply by the author just saying "nvm I figured it out" and doesn't explain the resolution.

[–] troyunrau@lemmy.ca 34 points 8 months ago (1 children)
[–] frezik@midwest.social 21 points 8 months ago

I've found that that comic alone has reduced the instances of this sort of thing happening. Not completely, of course, but when people figure it out, they seem much more likely to post the solution. Randall may have single-handedly improved the Internet a few points with that one comic.

[–] Buddahriffic@lemmy.world 13 points 8 months ago (1 children)

Or marked as duplicate and closed but when you click the duplicate it's a different issue.

[–] dubyakay@lemmy.ca 9 points 8 months ago

And there's a comment after closure, also from a decade ago, mentioning that this should not have been closed as a duplicate.

[–] henfredemars@infosec.pub 32 points 8 months ago (2 children)

Like the horror of this code is wrong but the program works.

[–] marcos@lemmy.world 12 points 8 months ago (2 children)

Doesn't work anymore. It stops working as soon as you notice the code has always been wrong.

[–] henfredemars@infosec.pub 6 points 8 months ago

Universe: whoops let me fix that.

[–] psycho_driver@lemmy.world 2 points 8 months ago

Schrodinger's Bug

[–] mindbleach@sh.itjust.works 5 points 8 months ago

I have too many comments reading "... how did this ever work?"

[–] psycho_driver@lemmy.world 17 points 8 months ago* (last edited 8 months ago)

Ahh, the C pointer debugging section.

[–] AllHailTheSheep@sh.itjust.works 13 points 8 months ago

an entire section on race conditions I see

[–] frezik@midwest.social 11 points 8 months ago

There are perfectly good reasons to sacrifice a goat to your USB drivers. Don't let Reddit Atheists tell you otherwise.

[–] mindbleach@sh.itjust.works 7 points 8 months ago* (last edited 8 months ago)

"Oh come on, why the fuck, there's no possible reason this code should-- wrong variable."

[–] JoYo@lemmy.ml 5 points 8 months ago

Undefined Phenomena

fify

oooo cake 🎂

[–] sheepishly@fedia.io 1 points 8 months ago