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

Programmer Humor

31090 readers
2469 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 35 comments
sorted by: hot top controversial new old
[–] Xerxos@lemmy.ml 56 points 3 weeks 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 13 points 3 weeks ago (2 children)

You don’t test in production?

[–] qaatloz@lemy.nl 8 points 3 weeks ago

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

[–] Crackhappy@lemmy.world 3 points 3 weeks ago
[–] VibeSurgeon@piefed.social 0 points 3 weeks 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 8 points 3 weeks 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 2 points 3 weeks ago

Naturally.

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

[–] minfapper@piefed.social 7 points 3 weeks ago* (last edited 3 weeks 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 6 points 3 weeks 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 weeks ago (1 children)

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

[–] Bakkoda@lemmy.world 5 points 3 weeks 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 weeks 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 54 points 3 weeks ago (1 children)

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

[–] diabetic_porcupine@lemmy.world 1 points 3 weeks ago

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 35 points 3 weeks ago (1 children)

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

[–] OpenStars@piefed.social 19 points 3 weeks ago

C-suite response:

img

[–] MonkderVierte@lemmy.zip 22 points 3 weeks ago (2 children)

Something like --dry-run there?

[–] FiskFisk33@startrek.website 33 points 3 weeks ago (1 children)

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

[–] MajinBlayze@lemmy.world 2 points 3 weeks 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 weeks ago

Are you sure you don't need the lube?

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

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

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

Expedition Everest at animal kingdom.

[–] abbadon420@sh.itjust.works 16 points 3 weeks 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 7 points 3 weeks 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 6 points 3 weeks 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 weeks 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 12 points 3 weeks ago

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

Expedition Everest coaster at Disney’s Animal Kingdom.

[–] Sibbo@sopuli.xyz 6 points 3 weeks ago

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

[–] DarkSideOfTheMoon@lemmy.world 4 points 3 weeks 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 16 points 3 weeks ago (3 children)

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

[–] moseschrute@lemmy.world 2 points 3 weeks ago* (last edited 3 weeks ago)

I think you’re only supposed to use the dangerous skip thing when it’s running inside a docker container

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

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