this post was submitted on 14 Jul 2026
921 points (98.9% liked)

Programmer Humor

32303 readers
1799 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
you are viewing a single comment's thread
view the rest of the comments
[–] renzhexiangjiao@piefed.blahaj.zone 90 points 2 days ago (6 children)

letting your agent run commands without reviewing them first is peak stupid

[–] Clent@lemmy.dbzer0.com 72 points 2 days ago (2 children)

Having production credentials in a dev environment is more stupider but they'll never learn because they outsourced their thinking.

[–] purplemonkeymad@programming.dev 6 points 1 day ago (1 children)

Everyone has a development environment, but not everyone has a separate production environment.

This is almost certainly the case of dev happening in the live environment.

[–] Clent@lemmy.dbzer0.com 3 points 1 day ago (1 children)

Everyone has a development environment, but not everyone has a separate production environment.

I think you meant to flip that. The only time one has a dev with no prod is prior to first release.

If environment is the live one, that's production not dev. Using it for development doesn't make it a dev environment. It means you only have prod.

[–] NaibofTabr@infosec.pub 5 points 22 hours ago

It's a sarcasm about corporate spending decisions. The joke is:

Everyone has a test environment. Some are lucky enough to also have a production environment.

The point being that if management has decided not to spend resources on a test environment, then "production" is in fact test.

[–] Bluescluestoothpaste@sh.itjust.works 11 points 1 day ago (1 children)

The thing is Claude would have told them that too, it probably did tbh and they just clicked right through the warning

[–] uuj8za@piefed.social 16 points 1 day ago

aarg. claude not happy.

arg. warn. go away.

ah, claude happy now.

Dev cycles now.

[–] uuj8za@piefed.social 76 points 2 days ago (1 children)

Creating an environment that incentivizes not thinking is peak stupid.

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

I for one welcome that change. Let them sloppify their brains once the rug is pulled and token cost skyrockets (or AI isn't able to fix its own fuckups) the human developer will rise again.

[–] Venator@lemmy.nz 15 points 1 day ago* (last edited 1 day ago) (1 children)

*after the ensuing recession/greater depression...

[–] urushitan@kakera.kintsugi.moe 20 points 1 day ago (1 children)

"I'll be swimming in jobs if I don't starve first!"

[–] dbx12@programming.dev 5 points 1 day ago

Basically this. If the starving gets to intense, switching professions it will be.

[–] chunes@lemmy.world 7 points 1 day ago (2 children)

I'm not so sure about that. Kids need access to PCs in order to gain tech skills and they're trying hard to take that away.

[–] vanillama@programming.dev 5 points 1 day ago (1 children)

It looks bad in the short/medium term, but the bubble will pop, it's only a matter of time until memory prices come down again and we move past the insanity of burning tokens like there's no tomorrow. I don't mean to downplay this though, lots of people and companies are struggling because of the AI bubble and the rush to build datacenters.

[–] NaibofTabr@infosec.pub 1 points 22 hours ago (1 children)

The bubble will pop, but I'm not convinced the hobbyist PC hardware market is going to recover.

Realistically, the consumer market for PC components existed because there was a business market for desktop computers as employee workstations. That's mostly dead now. Businesses mostly buy laptops or mini PCs for employee workstations, they have less and less need for desktop hardware because most of the computing tasks have moved to SaaS platforms. The consumer PC hardware market isn't that profitable on its own, it exists on the margins of production for business purchasing, and it's been coasting on momentum built up in the 2010s.

Processor architectures are changing to support machine learning tasks, GPU production is shifting toward ML-specialization, and everyone in the design field is trying to remove the barriers between the CPU and the RAM, which means shortening the path, which means getting rid of the socket and end-user upgradability in favor of soldered components. With SaaS taking over everything in the business world, we're trending back toward the mainframe computing model and away from powerful local hardware.

I'm not saying there won't be a consumer PC market in the future, I'm just saying that it will be different. There won't be enough demand for common desktop components to keep the custom PC build market alive as it was five years ago.

[–] vanillama@programming.dev 2 points 18 hours ago

I think it depends on what happens in countries like China, as they develop more productive capacity in sectors like memory and graphic cards the prices will eventually go down, I hope they keep the components separate for non-datacenter customers but I guess time will tell, and sadly you might be right

[–] dbx12@programming.dev 7 points 1 day ago (1 children)

That is true. Unfortunately also true is companies not hiring juniors anymore because AI does their jobs. The companies somehow believe seniors grow on trees or something.

[–] boonhet@sopuli.xyz 9 points 1 day ago

The thought is that other companies can grow the seniors.

Doesn't fucking work when everyone's doing it but I can tell you that at least round me that was starting to happen even before AI. Maybe 10% of companies would hire juniors.

Now they're lobbying the government to be able to import seniors from developing countries because "we need better talent in our own country"

I would like to strangle some CEOs. And those aren't even big companies, this is Estonia not Silicon Valley lol

[–] jj4211@lemmy.world 4 points 1 day ago

The bad news for them is that AI is terrible at getting it 'right' the first time, so they have to do things over and over again guessing until it works. So the AI-heavy user pretty much has to just let the commands run to get any benefit since otherwise it's spending 95% of its time waiting on user to approve commands. Further, it's likely commands the user doesn't understand, because they are asking AI to do it in the first place frequently because they don't know themselves.

I'm with you, but as a result other people proclaim to be 'better' AI users largely because they trust the AI. Their stuff is crap and once in a while one of them blows themselves up, but in the short term they are getting praise from management.

Man I can't wait for the bubble to pop and management no longer being hyped for the sake of hype over it.

[–] john_lemmy@slrpnk.net 22 points 1 day ago (1 children)

Claude code even added an auto mode so that you don't get blocked by that pesky reviewing anymore. Since then, the usual mode of asking before running a command, for instance when the thing wants to read the entire codebase looking for information only available in an online doc, is now called manual mode; the non 10x developer mode.

[–] veroxii@aussie.zone 4 points 1 day ago

Cursor just added this too. Some auto mode which is "safe" because of some sandbox bs.

Took me 10 mins to find how to turn it off. And they keep trying to sneak it on again.

At least twice a week I have to cancel it when it asks to run something which will fuck things up.

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

As well as storing production credentials in plain text in an .env file.

[–] The_Decryptor@aussie.zone 5 points 1 day ago (2 children)

.env files are wild to me, environment variables have never been a good way to pass data to applications, let alone secret data.

So the solution people came up with was to store them in plain text next to the binary, and then have a loader apply them before running the main app.

[–] dgriffith@aussie.zone 3 points 1 day ago

But they needed those .env files to transplant an entire software stack from the developer's laptop into production in a reproducible manner! How else were they ever going to get software into prod? By good documentation, broad version requirements, and following the Robustness Principle? Ha! How are you supposed to move fast and break things then?

[–] placebo@lemmy.zip 1 points 1 day ago

The data isn't supposed to be secret, I think. We use .env files to store creds required for development, like a connection url for my local database. Production apps don't use .env files at all.

[–] hypeerror@sh.itjust.works 6 points 1 day ago (2 children)

What's the point of AI if you need qualified review?

[–] cockmushroom@reddthat.com 2 points 1 day ago

Normally, speed. Especially if you aren't a picky writer; which you should be; for scenarios like this one.

[–] SorryQuick@lemmy.ca 0 points 1 day ago (2 children)

It’s still so much faster. An experienced engineer spoon-feeding the AI the exact logic/algorithm to use is still faster than writing it by hand. I think a lot of people stopped early when AI was worse and/or before they started being good at using it.

[–] NaibofTabr@infosec.pub 2 points 22 hours ago (1 children)

Ah yes, faster spaghetti. Wonderful.

[–] SorryQuick@lemmy.ca 2 points 19 hours ago

If you’re getting spaghetti it’s a skill issue.

If you vibe code, sure you’ll get slop. Ask it to do something to get X result, you’re leaving it room to think so you get slop. Tell it exactly what logic you want it to use, step by step like it’s a child, then you get the same you’d do yourself but faster.

Look at the PRs for quality-critical projects like the linux kernel and I guarantee you coudn’t tell which PR has some AI and which does not.

[–] DarrinBrunner@lemmy.world 2 points 1 day ago (1 children)

It's faster, but is the end result good, or just "good enough, it works for now, and I get paid"?

[–] SorryQuick@lemmy.ca 2 points 1 day ago

When you spoon feed it the algorithm, it’s good, at least better than your average programmer. You just have to make sure it doesn’t have too much thinking to do. Honestly people in here really overestimate the talent of most dev.

There was a comment somewhere I really liked: people thought it would be one junior dev with AI replacing 10 senior ones. In reality, it’s one senior dev with AI replacing 10 junior vibe coders.