this post was submitted on 09 Dec 2023
628 points (99.1% liked)

Programmer Humor

32380 readers
1277 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 39 comments
sorted by: hot top controversial new old
[–] [email protected] 67 points 11 months ago

Sounds like a "temporary" error message.

[–] [email protected] 66 points 11 months ago (2 children)

Willing to bet that the backend that they are using doesn't actually give any useful error messages.

[–] [email protected] 29 points 11 months ago

Why use many words when few do trick but for system logs.

[–] [email protected] 15 points 11 months ago (2 children)

Would they surface that to the user anyway? That's something to log, not to tell the client that xyz service failed because of error 123.

[–] [email protected] 19 points 11 months ago* (last edited 11 months ago) (3 children)

I hate this attitude. Yeah don't give the user stacktraces on error but if you give it a meaningful headline and go in detail, experienced users will be able to deal with the problem if possible. If you go Microsoft-error of mystic ways you will have people Google "unexpected error e34566xce" and they will see that it has 10 possible reasons so you don't know what even went wrong.

[–] [email protected] 9 points 11 months ago

Anyone who says error codes shouldn't bubble up to the user are incompetent. Either because an incompetent PM infantilizes their users, or more likely because incompetent teams don't/won't take an extra 10 minutes to do proper error handling (and they suffer from this as well since they're the ones who spend hours deciphering the result of a try {} catch(_) { error("we did a fucky wucky uwu") }).

[–] [email protected] 4 points 11 months ago* (last edited 11 months ago)

There's nothing a user is going to be able to do if this is a problem with the backend. The person I replied to did specify backend, right?

[–] [email protected] 3 points 11 months ago (1 children)

Thin line between giving useful error messages and more attack surface.

[–] [email protected] 5 points 11 months ago (1 children)

If your code gives attack surface by information about what went wrong maybe you should not even deploy anything. If your code needs to be secret to be secure your code is anything but secure.

[–] [email protected] 4 points 11 months ago

Not code but internet. A often seen error is letting Appache/Nginx display their name & version in 403/404 pages. First step in planning an attack.

[–] [email protected] 12 points 11 months ago* (last edited 11 months ago) (1 children)

No, please tell the user. They've got their big boy pants on and can handle seeing one or two weird squiggles in the worst case, and might be able to actually diagnose and fix the issue themselves (without having to go through support) in the best case.

[–] [email protected] 12 points 11 months ago

If it’s a backend/service issue, tell the user, but the bare minimum. You shouldn’t disclose too much info about your system to the end user (think of stack traces, error codes unique to some dependency you’re using) as it may give an attacker some valuable information.

[–] [email protected] 50 points 11 months ago

Looks up error EC10005..

"Network failed to do network thing"

Ok...

[–] [email protected] 36 points 11 months ago (1 children)

Network failed because net didnt work.

[–] [email protected] 2 points 11 months ago

Network ahead? uh yeah I sure hope it does

[–] [email protected] 32 points 11 months ago* (last edited 11 months ago)

Tbf if the client fails to reach the server, there isn't much more detail they can provide. At least it brings a little levity

[–] [email protected] 29 points 11 months ago (2 children)

Had the displeasure of using the modern EA app the other week -- completely refuses to launch my copy of Jedi: Fallen Order in the foreground after a single play-session (Steam -> EA just doesn't work for some people).

[–] [email protected] 6 points 11 months ago

jesus. Talk about bad software...

[–] [email protected] 3 points 11 months ago (1 children)

My friend downloaded the friend pass of it takes two and ea just said you don't own the game and refused to launch the game... Appearntly there's a fix to download a free game and then it works again but wtf the support and moderates just closed the thread where this issue got raised the first time without giving a universal solution on what to try Tldr EA is the worst

[–] [email protected] 2 points 11 months ago

I had the same problem with Fallen Order the first day; the workaround in that particular case was to launch the game's executable directly; which let me play that one, single time. A few days later and both the original workaround (and others) & no-workarounds caused the game to launch in the background, with no way to force it to the foreground.

In Fallen Order's case specifically; there appeared to be a launcher-specific wrapper executable, and the game itself. When the workaround stopped working, the launcher-specific wrapper is what was getting ran in the background; but the game itself never actually appeared. Additionally, reinstalling the game several times did not resolve any issue; nor other troubleshooting steps from EA.

Origin was also a pretty crap piece of software (compared to Steam, anyway); but this is a new low from EA, imo. Its a shame too, because I liked what I got to see in Fallen Order, especially recently getting into souls games.

[–] [email protected] 24 points 11 months ago

The network... In the cloud... It does mysterious things!

[–] [email protected] 19 points 11 months ago* (last edited 11 months ago) (1 children)

I can just imagine something in the middle being like

`We couldn't log you in because ${getReason(e) || 'the network failed to do its network thing'}.`
[–] [email protected] 3 points 11 months ago (1 children)

100% this is what happened. Also, it's its not it's, right?

[–] [email protected] 1 points 11 months ago

it’s its not it’s, right?

I always get tripped up on this case. What's shown in the picture is correct, though you're applying the rules of English grammar very logically, the apostrophe in it's is only for contraction, not possession. That may go out the window if someone uses it as a pronoun though, idk.

[–] [email protected] 19 points 11 months ago* (last edited 11 months ago) (3 children)

If all the corporations can just stop trying to be cute in their error messages, that would be great. This is literally worse than "ERROR: Unknown Error" because this goes out of its way to taunt you while still giving you no actionable information.

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago)

I will say that at least it has an error code. So you can actually look it up

[–] [email protected] 6 points 11 months ago

I see nothing wrong with it

How can the client know the back end issue

And

What’s the point of giving it to the end user

Any fix would be the user contacting the company and the error code is there. Follow ups would be a traceroute

[–] [email protected] 5 points 11 months ago (1 children)

Depends if this cure message is a psuedonym for the real message. Kind of you have a different quip for each one, then reporting it the Devs will know what the issue is but any bad actors won't be able to try and discern cause and effect from any exploits they are trying (or at least make it harder)

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

security through obscurity is not security.

[–] [email protected] 2 points 1 month ago

Didn't say it was the best practice, but it is a practice

[–] [email protected] 12 points 11 months ago

I'd like that to be an acceptable autoreply to all the mails from my boss.

[–] [email protected] 12 points 11 months ago (2 children)

All my error messages are haikus.

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

I feel like this takes the edge off of getting an error. Or, maybe it makes it worse. I like to think it's more calming.

[–] [email protected] 7 points 11 months ago (1 children)

In code, a misstep, Life's work fades into the void, Silent echoes mourn.

[–] [email protected] 4 points 11 months ago

Yeah, that was nice. Definitely more calming.

[–] [email protected] 3 points 11 months ago (1 children)

We couldn't log in.

Net didn't do network thing.

Please try again soon.

[–] [email protected] 2 points 11 months ago

Keys not aligning,

Username, password astray,

Entry gate stays closed.

[–] [email protected] 8 points 11 months ago

at least theres an error code?

[–] [email protected] 6 points 11 months ago

Wibbly-wobbly nerky-networky things