this post was submitted on 21 Apr 2025
784 points (97.3% liked)

Programmer Humor

23855 readers
1201 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
 
top 14 comments
sorted by: hot top controversial new old
[–] spankmonkey@lemmy.world 56 points 1 month ago (1 children)

Clearly the QA should have ordered a &#%@*

[–] Skyline969@lemmy.ca 59 points 1 month ago (1 children)

With a side of ‘); DROP TABLE Orders; —

[–] mnemonicmonkeys@sh.itjust.works 22 points 1 month ago (1 children)

Ah, yes. Little Bobby Tables

[–] rikudou@lemmings.world 17 points 1 month ago (1 children)

I don't think he's little anymore.

[–] Honytawk@lemmy.zip 6 points 1 month ago

He goes by Bob Tables now

[–] darklamer@lemmy.dbzer0.com 42 points 1 month ago* (last edited 1 month ago)

Even more real scenario: The first real visitor isn't even a customer but a bored teenager who says nothing at all and instead takes a piss on the floor. (Anyone who ever published anything on the internet knows this scenario.)

[–] loaf@sh.itjust.works 24 points 1 month ago

I think the customer tried to pass the wrong type. Happens to us all.

[–] csm10495@sh.itjust.works 23 points 1 month ago* (last edited 1 month ago) (2 children)

I once had a QA engineer file a bug saying they couldn't do negative testing since negative numbers were converted to positive.

The function took an unsigned integer. Took a lot of explaining to get them to understand that negative testing isn't necessarily negative numbers.

[–] tauren@lemm.ee 10 points 1 month ago (1 children)

I'd argue that the system shouldn't automatically convert negative numbers to positive numbers. Instead, it should display an error to the user. Of course, that's an abstract thought as I don't know what was the system and who interacted with it.

[–] csm10495@sh.itjust.works 3 points 1 month ago

For something end-user facing: I could understand this argument.

In this case they were more or less just calling a C function that had an unsigned long long as the parameter they were setting negative.

The whole 'bug' was that the other side of the function call was seeing a positive number no matter what.

The real situation was a bit more complicated, but that's the gist.

[–] Iron_Lynx@lemmy.world 8 points 1 month ago

He asked for -1 beers. He got interpreted as 2^64^ - 1 beers (assuming 64-bit unsigned integers)

[–] Aceticon@lemmy.dbzer0.com 19 points 1 month ago* (last edited 1 month ago)

At one point I was hired as a developer by an IT Products company which was starting a new area using (at the time) more recent technologies and programming languages, but until the thing really started going they had no significant work for me to do so I did QA for a few months (mostly automating QA).

Let's just say that having a hacker mindset and a bit of a dastardly satisfaction in "cracking" the software is a big help in QA.

I suspect that I might have enjoyed the "managing to find a way to break somebody else's code" part of it a bit too much.

[–] AmidFuror@fedia.io 11 points 1 month ago

Customer ate Taco Bell before going to the bar.

[–] Bubs@lemm.ee 7 points 1 month ago