this post was submitted on 06 May 2025
75 points (92.1% liked)

Programmer Humor

31620 readers
1022 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 3 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] conditional_soup@lemm.ee 16 points 1 year ago (8 children)

The client wants to drag and drop their own personalized excel file with no guaranteed formatting or column order or data contract in order to import their data into our system <3

[–] Whelks_chance@lemmy.world 8 points 1 year ago

Needs more AI to randomly guess what the columns might be

[–] jballs@sh.itjust.works 6 points 1 year ago

I love how this is a universal experience.

[–] Trarmp@feddit.nl 5 points 1 year ago (1 children)

Jesus, this gave me war flashbacks.

[–] Eheran@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (2 children)

Please, do elaborate. Let others feast on your suffering.

[–] 7dev7random7@suppo.fi 4 points 1 year ago (1 children)

May I?

A controlling department wasn't granted any money for digitializing their workflow.

So these guys created their own solution(s!). Things like dedicated "user interfaces" loading data from tables created by hand. After years these people realized that data formatting is quite the issue.

They started to put random rules into different tables:

Two empty lines: New Group Data Record. One empty line: New Subgroup Data Record.

Excel tables aggregating this data via hardcoded links.

A dedicated table to start calculations on parent tables.

They mutated data like this:

Load data from excel files into one. Manually delete, add or change lines (or columns). Start a collection run from dedicated excel file and load new excel file data and replace old excel file data.

They had files where 'it was easier to read' when they pivot the data. This was troublesome since some values are intermediate results. Dropping one column may imply dropping another one as well.

All workflows required manual alignments along the way.

They were only able to process 10% of the data from a year within a year. Managing millions in cash.

Their data input came from different internal sources. Programs which were written two decades ago once and without any tests. Talking like VB, macro's from host servers and copy-pasta data from other internal programs.

And don't get me started on customer tables.. They created a zip-code encoded filesystem hierarchy where each customer data (you guessed it, excel file) was renamed and then saved. In each of these directories where randomly named files if something went wrong; So no actual file patterns to rely on.

I respect them.

They creates a diagram for their tables with word. Word! (Didn't know either: you can select the web view in the bottom right corner and you get an infitive canvas..) Madness.

[–] Eheran@lemmy.world 2 points 1 year ago

Holy cow :O

load more comments (1 replies)
[–] CidVicious@sh.itjust.works 1 points 1 year ago

Or headers. Just unlabeled data in a CSV.

[–] veroxii@aussie.zone 1 points 1 year ago (2 children)

Strangely enough we actually solved this problem with AI a few months back. We upload the excel file to Gemini and have a prompt to extract the data we need in a specific json format. And it works surprisingly well.

[–] conditional_soup@lemm.ee 2 points 1 year ago (2 children)

How well? Bet your life on it well, or "fewer hallucinations than we would have guessed" well? I've considered and toyed around with openAI models for logging supply room check offs in a JSON format and it went better than I hoped but worse than I needed.

[–] veroxii@aussie.zone 4 points 1 year ago* (last edited 1 year ago) (2 children)

Really well. Temp turned down all the way, and Gemini has this new feature to run and execute code.... Not function calling... It can write a small python script, run it and return the output.

So our prompt explains the excel spreadsheet, then tell it exactly the format we need it in, and then tell it to use python and pandas to read in the CSV, clean it up and reshape it the way we need it to match what we expect and voila.

So hallucinations are not really and issue with the data as it's simply writing code which then deterministically processes and returns the data.

Edit to add more info: basically Gemini can create and run a lambda function on the fly. And if you're a coder you can really guide the prompt. Eg "load this into pandas. Then remove all the empty columns. Also remove the total rows. Now unpivot the data so the months are not columns but in separate rows with a column called month.

You get the idea.

[–] conditional_soup@lemm.ee 2 points 1 year ago

Holy smokes, how did I not think to turn the temperature down?! That's smart! Thanks for getting back to me!

[–] cybersin@lemm.ee 1 points 1 year ago

Google thanks you for your data.

load more comments (1 replies)
[–] echodot@feddit.uk 1 points 1 year ago

It would still have to be in at least somewhat of a consistent format. Even a human would require that.

If they're just going to write the details however they feel on any particular day and then just expect someone or something to be able to interpret that they're going to have a bad time.

load more comments (3 replies)
[–] hperrin@lemmy.ca 10 points 1 year ago (16 children)

I’ve been a professional software developer for over two decades. There is zero chance my job will get taken by an AI any time soon. Anyone who thinks my job is to write code doesn’t understand my job. That’s like saying a bus driver’s job is to turn a steering wheel.

My job is to turn vague ideas and nondescript feelings into APIs and (sometimes) UIs, then turn those into specs, then split those into tasks, then sometimes I’ll write the code for them and sometimes someone else does. About 90% of my time is turning ideas into plans, and about 10% of my time is turning those plans into code.

When I was young and was a junior engineer, my job was more to receive the specs from the senior engineers and turn that into code, but even then, I was still designing my own stuff. Maybe more like 40/60 time instead of 90/10.

Now that I’m a grizzled old man forged in the fires of task management software, I’m doing almost all of the design work myself. I manage a project that has about 250,000 lines of code. An AI isn’t going to be able to build new features into that, let alone decide which features to build in the first place.

[–] NaibofTabr@infosec.pub 5 points 1 year ago (3 children)

Heh, that won't stop a C-level from thinking that you just write code.

[–] hperrin@lemmy.ca 4 points 1 year ago (4 children)

Yeah, that’s probably true. Remember how all the execs decided to replace cashiers with robots, then the stores started losing money because a. it made stealing a lot easier and b. people would avoid stores that only had self-checkout robots and never had anyone to help you because a robot doesn’t know where the flour is. Now the self checkouts are being decommissioned and we’re going back to regular human cashiers. It turns out cashiers do more than just scan barcodes. But, upper management didn’t get to where they are by being smart.

[–] echodot@feddit.uk 4 points 1 year ago (2 children)

Now the self checkouts are being decommissioned and we’re going back to regular human cashiers.

Maybe this is North American thing because in Europe they never really got rid of human cashiers, they just had the automated systems alongside the human cashiers.

I don't know of any store that went over to 100% self-checkout

[–] Narauko@lemmy.world 1 points 1 year ago

I hate shopping at Lowe's now because they physically removed the regular checkouts and only have a square of self checkouts. They did this so one "cashier" can watch over everything, saving labor on multiple cashiers. They also paired down every other department so it's just as hard (or possibly harder) to get assistance in a department as at Home Depot. Feels like I'm watch the death spiral in full swing.

Less shoppers means less staff. Less staff means service suffers. Poor service means less shoppers. Rinse and repeat. This is happening at almost every brick and mortar retail business though, not just Lowe's. It's like the entire economy has turned into Circuit City trying to keep the lights on.

load more comments (1 replies)
load more comments (3 replies)
load more comments (2 replies)
[–] hardware26@discuss.tchncs.de 3 points 1 year ago (2 children)

That’s like saying a bus driver’s job is to turn a steering wheel.

That's a good analogy, I will use that.

load more comments (2 replies)
load more comments (14 replies)
[–] ZILtoid1991@lemmy.world 5 points 1 year ago

Yeah, I have a guess that it didn't even fullly understood the prompt behind this slop either...

[–] Rookeh@startrek.website 5 points 1 year ago (1 children)
[–] ulterno@programming.dev 2 points 1 year ago

If those project managers could read, they would actually be able to use Jira.

[–] TempermentalAnomaly@lemmy.world 3 points 1 year ago (2 children)

Surprised there's no one in the comments going bat shit crazy that this was made by AI. Are we not doing that anymore?

[–] Dremor@lemmy.world 1 points 1 year ago

You just had to wait 2 more hours for that.

load more comments (1 replies)
[–] rational_lib@lemmy.world 3 points 1 year ago (1 children)

AI Project Manager: Create a button on a webpage that, when clicked, displays an alert saying "Hello World!"
AI Programmer: "What a sensible requirement! Here you go."
AI Billing Department: "Project completed, that'll be 10 million dollars."
Client AI Payments Department: "Sounds right, paid!"

[–] pinball_wizard@lemmy.zip 1 points 1 year ago* (last edited 1 year ago)

AI Quarterly Call Bot: Delivery is on time and synergy is high!

AI investment selector: This company looks profitable. Purchase!

[–] superkret@feddit.org 3 points 1 year ago (2 children)

No, the customer wants a button that does a very specific thing.
He can't tell you what that is, though. You're the expert!
Also, can you put in more ads? And make it so the users can't close the tab until they bought something.

[–] echodot@feddit.uk 1 points 1 year ago

make it so the users can't close the tab until they bought something.

Why do they always request that? They've never seen any website on the internet work like that yet they actually think that they are the first people to come up with that idea.

[–] Blackmist@feddit.uk 2 points 1 year ago (1 children)

"Can we jazz it up a bit?"

This is a real request from a real manager. They have played us for absolute fools.

load more comments (1 replies)
[–] Kolanaki@pawb.social 2 points 1 year ago (1 children)

presses button; nothing happens

"Well see here! I wanted that button to do something!"

"Oh but it did! It wasted your time as well as mine!"

load more comments (1 replies)
[–] resipsaloquitur@lemm.ee 1 points 1 year ago (2 children)

Managers about to find out the hard way that all the requirements are in the brains of those they laid off.

I’m sure coding bootcamp and AI will turn them into leet hax0rs.

load more comments (2 replies)
[–] NigelFrobisher@aussie.zone 1 points 1 year ago (6 children)

Customer requirements are basically always “I want what my Excel sheet used to do”.

[–] mcv@lemm.ee 1 points 1 year ago

"You mean you want it to corrupt your data and end up with conflicting changes once you share it?"

load more comments (5 replies)
[–] ILikeBoobies@lemmy.ca 1 points 1 year ago (9 children)

Button that does something? That’s too advanced for me, I’ll use a library

load more comments (9 replies)
[–] JakenVeina@lemm.ee 1 points 1 year ago

You know what we, in the industry, call a detailed specification fo requirements detailed enough to produce software? Code.

load more comments
view more: next ›