this post was submitted on 04 Apr 2025
535 points (90.6% liked)

Programmer Humor

22244 readers
602 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
 
all 45 comments
sorted by: hot top controversial new old
[–] blarg@programming.dev 1 points 4 hours ago

Implementing support for UK postal codes validation / parsing.

[–] thespcicifcocean@lemmy.world 2 points 9 hours ago

Being forced to create something in Microsoft poverapps and create a backend with power automate

[–] cmhe@lemmy.world 2 points 10 hours ago* (last edited 10 hours ago)

I know this post is more about the committing on LLM "fixes", but find the other reasons more interesting.

Similar to the date & time library there are a couple of other things that look easy at a first glance, but get complicated very quickly, because it has so many special cases:

  • lexicographic sorting (different languages sort things differently)
  • Postal address formatting (different standards in different countries, with many different context sensitive rules)
  • string handling
  • ...
[–] Kojichan@lemmy.world 8 points 21 hours ago (1 children)

I've been building my own PHP and JavaScript libraries without actually using any existing open-source ones.

Self-taught, didn't learn about the fun stuff until recently.

Now I'm so far behind in technology, I feel outdated.

[–] Angry_Autist@lemmy.world 1 points 9 hours ago

Hey maybe you can create one of those super fundamental dependency libraries that XKCD talked about

[–] Feyter@programming.dev 5 points 22 hours ago

I feel like the LLM guy should be the psycho doctor doing unethical experience with the clinic patients...

[–] Resonosity@lemmy.dbzer0.com 29 points 1 day ago (1 children)
[–] Halosheep@lemm.ee 6 points 21 hours ago

But mom it was my turn to write this comment!

[–] DavidGA@lemmy.world 110 points 2 days ago (2 children)

Less of this AI slop please.

[–] SL3wvmnas@discuss.tchncs.de 72 points 2 days ago

At this occasion I think it adds to the insanity. It makes it look like the nurse is a pationt too, with her trying to roll away a normal chair

[–] andybytes@programming.dev 20 points 2 days ago (4 children)

I disagree slightly. Memes are ai slop territory

[–] Redex68@lemmy.world 1 points 10 hours ago

My thoughts are the same, as long as it's not so bad you can't not notice it, I think it's fine.

[–] belastend@slrpnk.net 22 points 2 days ago

Nah, ai slop should stay in the facebook boomer corner and die.

[–] Zoboomafoo@slrpnk.net 10 points 2 days ago

I disagree, memes should be mspaint

[–] Lemjukes@lemm.ee 13 points 2 days ago

Yes but not when it’s something that’s basically just a stock photo. Ill take a big ass watermark across real faces over slop any and everyday.

[–] TheOSINTguy@sh.itjust.works 37 points 2 days ago (1 children)

The guy in the back with no text is me trouble shooting for 8 hrs when I could have read 5 minutes of documentation.

[–] wise_pancake@lemmy.ca 7 points 2 days ago

This happens when I outsource reading the docs to AI agents.

wait… there was a function for that? Why did you tell me to build this house of cards

[–] grue@lemmy.world 30 points 2 days ago (1 children)
[–] SirQuack@feddit.nl 1 points 11 hours ago

I too, tried using regex to strip html tags. This was in php with hardly any knowledge of oop.

A university education really improved me there, since they trained you in Java to a high degree within 20 weeks (alongside stuff like UML). PHP is a fine starter language, but as applications grow, a more native oop approach with build-time validation, really made me a better developer.

[–] riodoro1@lemmy.world 56 points 2 days ago* (last edited 2 days ago) (1 children)

Complains about using ai with ai generated slop.

[–] firelizzard@programming.dev 6 points 1 day ago (2 children)
[–] emeralddawn45@discuss.tchncs.de 5 points 1 day ago (1 children)

How can you not? Like there are specific tells as the other user pointed out, but aside from that so much AI slop just has this absurd uncanny valley quality that Im actually kinda blown away that other people don't immediately see it.

[–] firelizzard@programming.dev 2 points 1 day ago (1 children)

I’m not sure what to tell you. I just don’t see what you do. And I never bother to look at a meme close enough to notice the kind of details the other user pointed out.

[–] SomeonePrime@lemmy.world 1 points 21 hours ago (1 children)

For this picture in particular, there's something about the screaming guy that's setting off AI alarm bells to me. You see that sort of facial expression a lot with AI pictures when it's trying to generate someone yelling or distressed.

Ironically, the human brain is so good at picking up patterns that after you've seen enough AI slop you begin to notice some of the tells for otherwise realistic pictures. That's not to say that people could discern ALL AI pictures, but I think it is true for most of the lazy, slop pictures that are generated.

[–] firelizzard@programming.dev 2 points 19 hours ago (1 children)

I guess I just don't see enough memes to have picked up on that

[–] cmhe@lemmy.world 1 points 10 hours ago* (last edited 10 hours ago)

The text is hiding a lot of details, but the nurse is pushing a normal chair, as if it was a wheelchair.

And the composition gives AI vibes as well. But all of that could also just be because the photo is poorly staged.

[–] three@lemm.ee 7 points 1 day ago* (last edited 1 day ago)

The hands on the guy to the left are fucked. The far one's toes are tiny. Why is the nurse pushing a regular chair like a wheel chair?

[–] devnev@lemmy.dbzer0.com 2 points 1 day ago

Tried to understand what options were available on a JS package, which mangled the options before passing them on to another JS package, which mangled the options before passing them onto another JS package, ...

[–] Phoenix3875@lemmy.world 12 points 2 days ago

The product manager nurse also goes crazy, trying to push a wheel-less wheelchair.

[–] fibojoly@sh.itjust.works 6 points 1 day ago* (last edited 1 day ago) (1 children)

Tried to do a proper analysis of a bug in homologation that's preventing our future customer to test the product, while N+3 and N+4 demand twice-daily updates through video call with ten other managers on it. Two weeks of proper madness, that was.

Stopped the meetings for one fucking day and we had it fixed before 5pm.

[–] spacecadet@lemm.ee 2 points 1 day ago

If we don’t have meetings then how am I going to not get any work done this sprint?

[–] merari42@lemmy.world 18 points 2 days ago

Code Didn’t Break — They Did

[–] MonkderVierte@lemmy.ml 1 points 1 day ago* (last edited 1 day ago)

Hum, i made a minimal RSS and Atom reader shell script based on sed and awk regex. I'm mostly fine, you just need to pick the relevant bits and ignore the rest, remove all newlines beforehand, about 10 regex strings in a case switch. And feed it to iconv, f*king • things. But html is, where the nightmare starts.

Edit: the heck, • is a •

[–] pinball_wizard@lemmy.zip 5 points 2 days ago (2 children)

What, manually, without reaching for schema.msi?

Actually , either way is crazy

[–] LavenderDay3544@lemmings.world 3 points 2 days ago (1 children)

Oh yeah well I got an RMA from MSI customer support once so top that.

[–] pinball_wizard@lemmy.zip 3 points 2 days ago* (last edited 2 days ago) (1 children)

I don't want to top that. And I'm so sorry you had to go through that.

[–] CrackedLinuxISO@lemmy.dbzer0.com 5 points 2 days ago* (last edited 2 days ago)

At my last job, there was no planning of work/projects. Like, there was a general plan of "We need feature X by Q3 and here's what it should do", but nothing about breaking work down into smaller units or prioritizing different tasks.

The manager would drop an email: "Hey, can you do ...." and that was it. Now it's another thing to throw down the waterfall. Big surprise, the same bastard would harp about how the project was underperforming!

[–] Appoxo@lemmy.dbzer0.com 5 points 2 days ago

I tried out shell coding with copilot (xml manipulation and merging).
I gave up. Not worth the sanity.

[–] wise_pancake@lemmy.ca 6 points 2 days ago* (last edited 2 days ago) (1 children)

Most recently:

I had to parse an html table with a column of printed python dictionaries, the dicts wrapped a mixed delimiter list of SQL statements of various types.

It’s truly an abomination.

I’ve never had to use pythons AST module to parse data before…

[–] Olgratin_Magmatoe@slrpnk.net 2 points 2 days ago (1 children)
[–] wise_pancake@lemmy.ca 2 points 2 days ago* (last edited 2 days ago)

It was 900mb raw and compressed to 1.6mb after cleaning.

That’s how much junk data there was.

Combing through that log is the only way to prove and identify where a big was introduced so I can fix it.

[–] Olgratin_Magmatoe@slrpnk.net 3 points 2 days ago* (last edited 2 days ago)

I've been doing some shady shit with regex lately (parsing .md files for interactive TTRPG sheets), but I'm glad to have not been touching XML