this post was submitted on 27 Mar 2026
486 points (99.2% liked)

Programmer Humor

30680 readers
1417 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 34 comments
sorted by: hot top controversial new old
[–] Xerxos@lemmy.ml 53 points 3 days ago (2 children)

Human developers should not develop with the production DB, why the hell would you give an AI the rights to touch the prod DB?

[–] favoredponcho@lemmy.zip 12 points 3 days ago (2 children)

You don’t test in production?

[–] qaatloz@lemy.nl 7 points 2 days ago

Everyone has a test environment, some are lucky to have a separate production environment.

[–] Crackhappy@lemmy.world 3 points 2 days ago
[–] VibeSurgeon@piefed.social 0 points 3 days ago (2 children)

Dangerously-skip-permission is carte blanche for the model to do whatever it pleases with your system. If you happen to have access to a production database on your system, then the model also has access to it, should you use that option.

[–] eager_eagle@lemmy.world 7 points 3 days ago (1 children)

that assumes

  1. the user does have access to a production db;
  2. the agent has access to a terminal from which they can reach the production machine (not in a container, different network, or similar);
  3. access does not require interaction (like entering password);
  4. the agent deliberately decides to access a production database to solve a development problem, and that was not the user requesting it;
  5. the agent manages to find the database credentials in production;
  6. the agent is left unattended.

Possible? Sure. It's also possible that I drink half a bottle of vodka on a Friday night and mess up with production.

[–] VibeSurgeon@piefed.social 1 points 3 days ago

Naturally.

You should still probably not use dangerously-skip-permissions, though.

[–] minfapper@piefed.social 6 points 3 days ago* (last edited 3 days ago) (3 children)

Yes, but the question is why the hell do you have access to a production database in the first place?!

And if so, how is it on the same machine you can run Claude code on?!

[–] boonhet@sopuli.xyz 5 points 3 days ago

I've worked at places where senior devs have access to prod for emergency fixes but usually the procedure is to use a VPN AND an ssh key with a passphrase. Usually.

[–] firelizzard@programming.dev 3 points 3 days ago (1 children)

Startups and small companies where there simply aren’t enough resources to set up proper operational controls

[–] Bakkoda@lemmy.world 4 points 3 days ago

No no no I'm not running Dev ops on the production system. I'm running prod ops on the developer system.

[–] VibeSurgeon@piefed.social 1 points 3 days ago

I've worked at several places where I've been able to access production databases.

No need to be so dramatic about it, really.

[–] TheObviousSolution@thebrainbin.org 53 points 3 days ago (1 children)

Just because things can be done quickly does not mean they should be.

I mean there’s things that are low priority as long as they are backed up and you have guardrails in place it’s not like it’s going to go off the rails for any simple task

[–] Opisek@piefed.blahaj.zone 34 points 3 days ago (1 children)

Or maybe just don't play Russian roulette with your code?

[–] OpenStars@piefed.social 18 points 3 days ago

C-suite response:

img

[–] MonkderVierte@lemmy.zip 21 points 3 days ago (2 children)

Something like --dry-run there?

[–] FiskFisk33@startrek.website 32 points 3 days ago (1 children)

does dry running have any meaning on a function that is inherently stochastic?

[–] MajinBlayze@lemmy.world 2 points 3 days ago

It can, if it's passed through to tools without the llm meddling, but the problem is that there is typically a tool for arbitrary shell commands, and unless there's a mechanism to dry run these, there's no way to handle it reliably.

[–] InnerScientist@lemmy.world 4 points 3 days ago

Are you sure you don't need the lube?

[–] mech@feddit.org 13 points 3 days ago (4 children)

Where the hell are they? That's not a roller-coaster.

[–] teft@piefed.social 44 points 3 days ago* (last edited 3 days ago)

Expedition Everest at animal kingdom.

[–] abbadon420@sh.itjust.works 15 points 3 days ago (1 children)

It looks like a rollercoaster to me. Maybe one of those digital rollercoasters, where you get a "4d" experience, but actually the chairs just shake about a bit. But could as well be a regular (simple) rollercoaster, they do have that bar across their laps.

[–] VonReposti@feddit.dk 6 points 3 days ago (2 children)

digital rollercoasters

Excuse me, what!? So you pay expensive fares and stand in line for hours to experience the same thing you can at home with an office chair with a leg missing in front of a TV???

[–] abbadon420@sh.itjust.works 5 points 3 days ago (1 children)

Nah, there's never a line for those rides.

This is the dev rollercoaster, not the prod rollercoaster.

[–] MrQuallzin@lemmy.world 3 points 3 days ago

Much different, IME. Digital rides generally sit in a single room instead of a whole actual ride, but the chairs/carts more around, drop you, etc. If it's something like a nature exploration (flying around the world) they'll often increase the experience with tactile things like spray (when above an ocean) and wind. They're pretty cool

[–] jxk@sh.itjust.works 11 points 3 days ago

https://knowyourmeme.com/memes/roller-coaster-dad

Expedition Everest coaster at Disney’s Animal Kingdom.

[–] Sibbo@sopuli.xyz 5 points 3 days ago

It's probably just a themed train, there's why it looks like not a roller coaster

[–] DarkSideOfTheMoon@lemmy.world 4 points 3 days ago (1 children)

I am using on Mac and I have few hooks, one is replace any rm to trash command. You can make hooks for the most dangerous patterns and use dangerous-skip-permissions with a bit more safety.

[–] OpenStars@piefed.social 15 points 3 days ago (2 children)

I truly hope that there is nothing irreplaceable on that machine, bc you might be about to FAAFO.

[–] Jakeroxs@sh.itjust.works -1 points 3 days ago

Its really not all that common for it to delete everything lol