this post was submitted on 17 Mar 2025
1059 points (99.4% liked)

Programmer Humor

23563 readers
1965 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 50 comments
sorted by: hot top controversial new old
[–] fubarx@lemmy.world 225 points 2 months ago (1 children)

I've always appreciated the feature of AI coding tools, where they confidently tell you they've done something completely wrong. Then if you call them on it, they super-confidently say: "Of course, here's what needs to be done..."

Then proceed to do something even worse.

[–] whyNotSquirrel@sh.itjust.works 64 points 2 months ago (1 children)

Or when you say there's something wrong and the new version is just the same with comments

[–] MajorHavoc@programming.dev 4 points 2 months ago (1 children)

Yes. I love the confidently incorrect additional comments explaining in detail how the incorrect code works.

Though I'm usually pretty angry at that point, it is also pretty funny.

load more comments (1 replies)
[–] HKPiax@lemmy.world 209 points 2 months ago* (last edited 2 months ago)

This cannot NOT be satire, come on. It's too fucking funny

[–] jubilationtcornpone@sh.itjust.works 156 points 2 months ago (7 children)

Bet you $1,000 the credentials are stored in plain text.

[–] joyjoy@lemm.ee 112 points 2 months ago (2 children)

Not just plain text, but hard coded.

[–] VerPoilu@sopuli.xyz 87 points 2 months ago (1 children)
[–] NotSteve_@lemmy.ca 42 points 2 months ago (2 children)

Having a backend is bloat. I do all my DB transactions straight from the frontend

[–] Lightor@lemmy.world 6 points 2 months ago

I actually build a full copy of the DB on the client machine. That way I can't lose the data, it's all right there and so fast.

[–] ulterno@programming.dev 3 points 2 months ago* (last edited 2 months ago)

My db runs on the user's browser via WASM.

[–] 1024_Kibibytes@lemm.ee 24 points 2 months ago

Obviously hand coded. After all, he just discovered that there are people, or more probably bots, who will use open resources for their own uses.

[–] nichtburningturtle@feddit.org 58 points 2 months ago (1 children)

Classic vibe coder things.

[–] frezik@midwest.social 15 points 2 months ago* (last edited 2 months ago) (1 children)

I've heard that phrase a handful of times now and it's already making my eye twitch. Though I don't think it's meant to be complimentary.

load more comments (1 replies)
[–] savvywolf@pawb.social 34 points 2 months ago (1 children)

Wonder if ChatGPT just scraped an example token from somewhere and is using that.

[–] jimmux@programming.dev 30 points 2 months ago (2 children)
[–] DragonTypeWyvern@midwest.social 9 points 2 months ago

It's in a textbook, and that's a trusted source!

[–] Th3D3k0y@lemmy.world 4 points 2 months ago (1 children)

Not exactly related, but I run an unraid game server for friends and use a lot of the preconstructed docker apps for games.

Most of them come with the server name preset and the server password preset.

I've jumped into many a "private" server called Docker-GAMENAME with the password still set to "Docker"

[–] IsoKiero@sopuli.xyz 5 points 2 months ago (1 children)

I think it was some XMPP related server I ran quite a few years ago which had 'i_have_read_the_manual = 0' or something similar buried into default configuration file. And it would just silently exit if that variable was not set properly.

Maybe we need more things like that.

[–] ohshit604@sh.itjust.works 3 points 2 months ago* (last edited 2 months ago)

And it would just silently exit if that variable was not set properly.

Would’ve used that debug log to scold the end-user. “If you’ve actually read the first 3 lines of the documentation you wouldn’t be seeing this.”

[–] Deceptichum@quokk.au 5 points 2 months ago

What are they, Sony?

load more comments (3 replies)
[–] 9point6@lemmy.world 69 points 2 months ago* (last edited 2 months ago) (1 children)

I wonder if the website did the thing where it lists their big customers like a trophy cabinet on the main landing page.

It would probably make a good list of places to sell snake oil

Also love that this is all evidence to back up the premise that building the happy path of an application is generally easy, one of the main skills in software engineering is ensuring the unhappy paths are covered sufficiently. I can say I've started a bank and keep people's money in my wardrobe, I'll be providing the service of holding their money—I'll also probably get robbed sharpish because I'm not skilled in the kind of security needed to avoid that.

[–] gadfly1999@lemm.ee 5 points 2 months ago* (last edited 2 months ago)

Any “customers” landed are going to be friends and family, if not just outright fakes invented by leo.

[–] projektilski@lemmy.dbzer0.com 64 points 2 months ago* (last edited 2 months ago) (1 children)

What cracks me up is that he is not technical so it takes him longer than usual to figure it out :D :D :D :D

He usually figures these things out much quicker but this time he is struck by some "not being technical" illness. As soon as it passes, he will figure it out as usual.

[–] Lightor@lemmy.world 8 points 2 months ago* (last edited 2 months ago)

Listen you can whine about tech or you can start building with it.

And by building, I mean telling it what it should do.

And by telling it what it should do, I mean typing out what you want.

And by telling it what you want, I mean explaining a crypto bro idea in a rant to Chat GPT.

I mean he's not technical but I'm sure he's really nailed this one.

[–] some_guy@lemmy.sdf.org 59 points 2 months ago (1 children)

Imagine needing to understand a thing to build something. /s

[–] AEsheron@lemmy.world 18 points 2 months ago

Just speak the incantation of motive energy and light the incense to soothe the machine spirit.

[–] Brewchin@lemmy.world 59 points 2 months ago

This is what FAFO in public looks like. Gold!

[–] muhyb@programming.dev 52 points 2 months ago

His first mistake is to call it AI.

[–] jqubed@lemmy.world 44 points 2 months ago
[–] Iron_Lynx@lemmy.world 29 points 2 months ago

AI will not replace software engineers, exhibit fuck knows how many.

[–] spaffel@spaffel.social 25 points 2 months ago

F around and find out

[–] zero_spelled_with_an_ecks@programming.dev 21 points 2 months ago (2 children)

Lol, I'm surprised it only took two days.

[–] whyNotSquirrel@sh.itjust.works 36 points 2 months ago

2 days for him to realize something wrong

[–] Monstrosity@lemm.ee 20 points 2 months ago* (last edited 2 months ago) (1 children)

I wanted to edit my Ghostty themes but found out a lot of the colors are in #hexadecimal notation. I like #rrggbb percentage style colors (b/c they are easy to tweak by hand) and I couldn't find an online color picker that would output that format, so I used deepseek (free) & now have a scrappy ass one w Python & Tkinter completely via "vibe" coding (I call it Clyde Color Picker. It's adorable).

Pretty awesome when you're just some dumbass who needs a very specific tool and not trying to fleece people.

[–] tiefling@lemmy.blahaj.zone 13 points 2 months ago* (last edited 2 months ago) (1 children)

I use AI toolings to generate snippets of bash scripts because I can't be fucked to remember that syntax. Obviously not for anything with high risks or that I can't easily verify. But things like parsing through mass amounts of files

[–] blackbirdbiryani@lemmy.world 8 points 2 months ago (1 children)

But... bash snippet extensions already exist. The only difference is maybe it doesn't auto name your variables for you. I'd take that over non-deterministic LLM outputs.

[–] Monstrosity@lemm.ee 3 points 2 months ago* (last edited 2 months ago) (1 children)

I have no idea what the hell a bash snippet extension is, but I do know what a local llama.cpp instance running a small model to tell me bash commands on the fly is.

I use it to make .desktop files, too. Isn't that so lazy?

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

They seem to be genuinely trying to provide information about a tool that they find preferable to your solution. And you're not even the OP they were responding to. Nobody in this thread has called you or your solution lazy.

A bash snippet extension is "an extension [for a code editor] that provides a collection of snippets for bash scripting." It's a tool that is purpose-built to tell you bash commands on the fly, but smaller, more efficient, and easier to install than a local LLM.

The user you are replying to appears to prefer this because it will also tell you the same bash command every time you ask (non-deterministic outputs can be different for identical requests)

[–] Aganim@lemmy.world 19 points 2 months ago

Why is he figuring things out himself? Surely that's the AI's job, right? Right?

[–] Harbinger01173430@lemmy.world 14 points 2 months ago

Show this soydev his place

[–] SplashJackson@lemmy.ca 14 points 2 months ago (1 children)
[–] faythofdragons@slrpnk.net 8 points 2 months ago

Hey, gimp is a nice open source image editor, don't insult it by comparing it to this guy

[–] Zachariah@lemmy.world 14 points 2 months ago* (last edited 2 months ago)

If I were leojr94, I’d be mad as hell about this impersonator soiling the good name of leojr94—most users probably don’t even notice the underscore.

[–] ysaraimay@programming.dev 10 points 2 months ago

Well... 2 years from now vibe coding will be default.

[–] archonet@lemy.lol 3 points 2 months ago

Play stupid games, win stupid prizes.

load more comments
view more: next ›