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

Programmer Humor

22693 readers
1491 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 141 points 2 weeks ago (6 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 112 points 2 weeks 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 2 weeks 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 17 points 2 weeks ago

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.

[–] Boomkop3@reddthat.com 5 points 2 weeks ago

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

[–] hemko@lemmy.dbzer0.com 46 points 2 weeks 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 2 weeks ago

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

[–] Comtief@lemm.ee 3 points 2 weeks ago

to be fair you couldnt read the error in that situation

[–] zea_64@lemmy.blahaj.zone 26 points 2 weeks 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 2 weeks ago (1 children)
[–] skulblaka@sh.itjust.works 21 points 2 weeks 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 2 weeks ago

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

[–] GiveOver@feddit.uk 16 points 2 weeks ago

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

Junior dev: 😵

[–] Serinus@lemmy.world 5 points 2 weeks 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 2 weeks 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 2 weeks ago

On the context of a node package,

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