this post was submitted on 06 Apr 2025
536 points (99.8% liked)

Programmer Humor

22463 readers
1638 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
[–] count_dongulus@lemmy.world 143 points 1 week ago (7 children)

My #1 pet peeve is when someone comes to me with a problem, and the solution is in the fucking console output or error message.

On a bad day, if I had unilateral power, I would fire those people on the spot.

[–] jjjalljs@ttrpg.network 113 points 1 week ago (3 children)

At one of my old jobs, we had a suite of browser tests that would run on PR. It'd stand up the application, open headless chrome, and click through stuff. This was the final end-to-end test suite to make sure that yes, you can still log in and everything plays nicely together.

Developers were constantly pinging slack about "why is this test broken??". Most of the time, the error message would be like "Never found an element matching css selector #whatever" or "Element with css selector #loading-spinner never went away". There'd be screenshots and logs, and usually when you'd look you'd see like the loading spinner was stuck, and the client had gotten a 400 back from the server because someone broke something.

We put a giant red box on the CI/CD page explaining what to do. Where to read the traces, reminding them there's a screenshot, etc. Still got questions.

I put a giant ascii cat in the test output, right before the error trace, with instructions in a word bubble. People would ping me, "why is this test broken?". I'd say "What did the cat say?" They'd say "What cat?" And I'd know they hadn't even looked at the error message.

There's a kind of learned helplessness with some developers and tests. It's weird.

[–] MelodiousFunk@slrpnk.net 37 points 1 week ago

There's a kind of learned helplessness with some developers and tests. It's weird.

I got handed the keys to the network monitoring suite many moons ago. I immediately started editing the default alert actions to display relevant information, and in some outlier cases escalation procedures.

Most times, it was ignored. Other times, it was skimmed and half-followed. A few people outright refused to do anything differently than they had before (kick it up the ladder).

Glad to be rid of that place.

[–] quoll@lemmy.sdf.org 18 points 1 week ago (1 children)

i think that guy works for us now :D

the best bit is he pings multiple senior devs in slack separately.

so we are all wasting our time doing the same shit in parallel for the same muppet.

[–] And009@lemmynsfw.com 2 points 1 week ago

Big brain move from the Muppet

[–] Boomkop3@reddthat.com 5 points 1 week ago

Another reason why I don't want more copilot and chatgpt to beginners

[–] hemko@lemmy.dbzer0.com 46 points 1 week ago (2 children)

Same here. For some fucking reason reading is so damn difficult

Error: pull your head out of your ass

Hey I got this error what do

[–] Cephalotrocity@biglemmowski.win 15 points 1 week ago

Inc write-up for telling them to follow the instructions in the error message.

[–] Comtief@lemm.ee 3 points 1 week ago

to be fair you couldnt read the error in that situation

[–] zea_64@lemmy.blahaj.zone 26 points 1 week ago (2 children)

Minecraft mod users are the worst. They'll post a screenshot of a version mismatch or dependency error that literally tells them how to resolve it and ask "hey, this mod isn't working, how do I fix it?"

[–] H4mi@lemm.ee 53 points 1 week ago (1 children)
[–] skulblaka@sh.itjust.works 21 points 1 week ago

I figured that shit out when I was 12 and there were way less learning resources about it on the internet then. Fuck 'em. Someone who never has to solve their own problems without handholding is someone who will never learn to solve problems, period. IPad kids are scared of error messages and that's their problem. They've never had to troubleshoot anything before.

Though I can't blame the kids entirely. Most error messages in the modern era absolutely suck nuts. Half of them nowadays (at least on the client side) are just

"oopsie, there's been a widdle fucky wucky, sooorrrrryyyyy 💖"

With zero actionable info in it. Not even a distinction of You/We/Your ISP Has Fucked Something Up. I guess they figured (correctly) that the end user wasn't going to read it anyway so why bother, but this drives me nuts when I see it.

[–] funbreaker@kbin.earth 14 points 1 week ago

To be more fair to Minecraft mod users most of them are middle schoolers

[–] lmmarsano@lemmynsfw.com 21 points 1 week ago (1 children)

The selective illiteracy gets me: clearly, they can read each other's messages. The text in an error message? Brain shuts off.

[–] chicken@lemmy.dbzer0.com 9 points 1 week ago* (last edited 1 week ago) (1 children)

tbf the text in error messages very often leads down a rabbit hole of barely relevant context, rather than to the shortest path to getting things to work as you expect them to. Or maybe they just don't understand what the word "deprecated" means or implies.

[–] hemko@lemmy.dbzer0.com 1 points 1 week ago (1 children)

OTOH you learn a lot while in that rabbit hole, making the next time you research something a little bit easier.

[–] chicken@lemmy.dbzer0.com 1 points 1 week ago

Well sometimes. Learning what deprecated means would probably have very broad usefulness. Learning the ins and outs of the library codebase that generated that error when you're only going to make minor use of it once might not. There's a practically infinite amount of things to learn and we all have finite time, attention, and space in our heads.

[–] GiveOver@feddit.uk 17 points 1 week ago

Error message: "you must manually run 'sudo dpkg --configure -a' to fix this"

Junior dev: 😵

[–] Serinus@lemmy.world 6 points 1 week ago

Sometimes I'll copy paste the error message back to them. Apparently it works better when it's in a text message.

[–] mmddmm@lemm.ee 2 points 1 week ago (1 children)

On the context of a node package, I'm pretty sure that "solution" is utterly worthless and doesn't come even close to targeting the same functionality the old code had.

But odds are the one place the library author used that function can be replaced by a completely different functionality that happens to use the suggestion.

[–] deadbeef79000@lemmy.nz 7 points 1 week ago

On the context of a node package,

It's probably a package with one five line function, and a poor implementation at that.