this post was submitted on 06 May 2025
1174 points (96.9% liked)

Programmer Humor

23119 readers
1790 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 day ago (2 children)

Button that does something? That’s too advanced for me, I’ll use a library

[–] [email protected] 22 points 1 day ago (1 children)

Help, Debian has libbutton only in 1.4.3 and libdosomething is not in my repo. I compiled libdosomething from source, but now it needs libbutton >= 2.4.1 and compiling that version of libbutton fails, as my GCC and make are too old and incompatible!

I already tried it on my other PC, but that isn't based on glibc, which makes all these dependencies even worse...

[–] [email protected] 7 points 1 day ago (2 children)

Have you tried unplugging your computer, going out into the woods, and returning to monke?

[–] [email protected] 4 points 1 day ago

is that like an AUR package or something?

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

>return to:monke
ERROR: Restore point "monke" not found. Latest restore point is "shrew", would you like to return to it instead?

I need to make more frequent backups...

[–] [email protected] 9 points 1 day ago* (last edited 1 day ago) (1 children)

cries in left_pad

It's kind of astonishing how many people leaned on that library just to add fucking spaces to strings

[–] [email protected] 6 points 1 day ago (1 children)

It should be in the standard library anyway. Why the hell is it not?!

I mean yeah, I can write my own function to do the same thing and probably I've done it at some point in some coding exercise as a beginner, but this seems like such a common thing to use, it should be in the standard library of any sane language.

[–] [email protected] 1 points 1 day ago (1 children)

It is, as padStart, which makes the number of packages using leftpad even more incomprehensible

[–] [email protected] 1 points 17 hours ago

Brb changing a million libraries on npm to use padStart instead of left-pad and removing the dependency