this post was submitted on 24 Mar 2025
43 points (97.8% liked)

Programmer Humor

22251 readers
98 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
 

The post body:

[...] big refactoring project to replace the usage of double types with decimal types. Everything seemed to go well, at least until there was a network hiccup and the application couldn't connect to the database. Let's see if you can figure out what happened:

MessageBox.Show("Please decimal check the connection details. Also check firewall settings (port 1433) and network connectivity.");

What a clbuttic mistake.


I don't actually get the joke with clbuttic, though. πŸ€”

top 12 comments
sorted by: hot top controversial new old

Classic -> clbuttic

See also Scunthorpe problem

[–] wise_pancake@lemmy.ca 15 points 2 weeks ago (2 children)

I can already see the 10,000 line PR touching 50 files and the sole review comment β€œπŸ‘β€

[–] smeg@feddit.uk 4 points 2 weeks ago (1 children)

A long time ago I worked on a project which had all the user-facing text strings in their own separate file (for ease of translation). I didn't think much more of it at the time, but even if I was just rubber-stamping this PR then seeing that a code-only refactor was touching the strings file would raise an eyebrow.

[–] grrgyle@slrpnk.net 1 points 2 weeks ago

That's a good practice. Seems obvious now that you've mentioned it, actually, but I don't think I've ever done it. Except maybe incidentally when building an i18n table.

[–] grrgyle@slrpnk.net 2 points 2 weeks ago
[–] taaz@biglemmowski.win 14 points 2 weeks ago (1 children)

Someone did s/double/decimal/g (find 'double', replace by 'decimal') on the whole project.

Please decimal check

lol

[–] grrgyle@slrpnk.net 2 points 2 weeks ago

This is why you manually check and confirm each replacement, as tedious as it is. πŸ˜”

[–] 0x0@programming.dev 12 points 2 weeks ago* (last edited 2 weeks ago)

I don’t actually get the joke with clbuttic, though.

Replacing "ass" everywhere with "butt".

[–] sik0fewl@lemmy.ca 5 points 2 weeks ago

This is weird... I had a dream last night where I was trying to decide whether to use float or BigDecimal (Java). Unfortunately, I don't remember the scenario or what I decided on.

I swear that not all my dreams are this mundane.

[–] AwesomeLowlander@sh.itjust.works 5 points 2 weeks ago (2 children)

Wow, the daily WTF is still running? That's the biggest wtf for me. I was reading it near 2 decades ago.

[–] dmention7@lemm.ee 4 points 2 weeks ago* (last edited 2 weeks ago)

I have a pair of "WTF" coffee mugs I got from them probably 15 years ago, and still use regularly. Amazingly, for being free promo items, they are still in virtually perfect condition!

EDIT: it's this bad boy right here: https://thedailywtf.com/articles/announcement-get-the-mug

[–] grrgyle@slrpnk.net 2 points 2 weeks ago

I didn't realise they'd been around so long. An programmer mentioned the website on one of my podcasts as being a good example of learning from others' mistakes.

The RSS feed is very good, too. You get everything you need just from the description.