847
top 23 comments
sorted by: hot top controversial new old
[-] olsonexi@lemmy.wtf 192 points 11 months ago* (last edited 11 months ago)

A QA tester walks into a bar,
orders a beer,
orders 2 beers,
orders 0 beers,
orders 4294967296 beers,
orders -1/12 beers,
orders HGdIhFNPiHPWUDmUfWIFi beers,
orders a zebra

First real customer walks in,
asks where the bathroom is,
the whole bar catches on fire

[-] MyNameIsRichard@lemmy.ml 60 points 11 months ago

Worked in my bar

[-] Classy@sh.itjust.works 21 points 11 months ago

He didn't order null beers? What a fraud

[-] habanhero@lemmy.ca 15 points 11 months ago

Workaround: insist that customers piss in the beer, citing exceptional flavor-add as a positive side effect. Next version, no budget for a full bathroom, so increment beer mug size to accommodate cross-stream scenarios.

[-] fibojoly@sh.itjust.works 55 points 11 months ago* (last edited 11 months ago)

My favourite one was when I asked the user "can this happen?" (Some value being negative) and they reply "no never".
Then, of course, I get an occurrence the day of the live demo with the user and her boss.
I ask again, "uh, so is this normal? Has it ever occured before? Because I asked you if it could happen and you said never."
Now the boss replies "oh, we meant it's extremely uncommon. Almost never happens".

Turns out it happens once every few months, amongst hundreds and hundreds of transactions.

So I gently explained that the computer doesn't care how often it happens. If it can happen, I need to code it in otherwise things go wrong!
Thankfully I had planned the eventuality, so I had a nice error message, but still. A lesson was learnt that day.

[-] DudeDudenson@lemmings.world 31 points 11 months ago

It pisses me off when I have to explain to lead developers that we do in fact have to care about things that are "unlikely" to happen because they can in fact happen and when they do they will cause downtime just because you didn't want to spend 16 man hours adding a solution to the problem

[-] piskertariot@lemmy.world 12 points 11 months ago* (last edited 11 months ago)

Not only can the number be negative, it can also be written in red ink.

[-] threelonmusketeers@sh.itjust.works 7 points 11 months ago

Can the number be in the form of a kitten?

[-] raoul@lemmy.sdf.org 29 points 11 months ago* (last edited 11 months ago)

Nah, it's more:

QA: Can it be used as a catapult?

[-] sneakattack@lemmy.ca 27 points 11 months ago

Day before release showing an engineer working on a different project: "Wait, isn't there a reason that car seats are rear facing for young children and not forward as you have it? Did anyone check on that?"

[-] lemmyvore@feddit.nl 18 points 11 months ago
[-] fibojoly@sh.itjust.works 16 points 11 months ago

It's the kind of testing my colleague would do. "well, nobody would be idiotic enough to enter something weird when they are asked for a number". And so he'd only write tests for numbers. That kind of stuff.
The unit tests I'm looking at in this latest jobs are some primo "dev testing" bullshit. Their sole purpose clearly was to be able to say "we unit test our code in our pipeline and it all passed" and that's about it. Ugh.

[-] Natanael@slrpnk.net 9 points 11 months ago

As per xkcd, dev testing would return the response "could not reproduce"

[-] candybrie@lemmy.world 7 points 11 months ago

Gotta make sure the code runs.

[-] herrvogel@lemmy.world 15 points 11 months ago

My company recently made a website for some finance company. They told our designer what they wanted, the designer did her thing, we presented the design, they gave their feedback, we made changes, and at some point we arrived at a design that the client approved.

First thing the client did after the site went live was to completely replace all the text. All of it. The design was specifically made to accommodate the text that they had written themselves. The new text was SIGNIFICANTLY more than what the site was designed around, and of course it broke the whole thing.

"Why does this section look so bad", asks the client. Could that be because you pasted four whole paragraphs into a box that was supposed to display one short sentence, you absolute moron? The site's been up for about a week and they're already demanding a rather extensive redesign of the whole thing. Why the fuck did you approve it then?

[-] imgprojts@lemmy.ml 11 points 11 months ago

Good thing they have a kid at the front. That way you are relatively protected from accidental crashes.

[-] MonsiuerPatEBrown@reddthat.com 3 points 11 months ago

Double superman

this post was submitted on 04 Nov 2023
847 points (98.4% liked)

Programmer Humor

32190 readers
709 users here now

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

Rules:

founded 5 years ago
MODERATORS