483
all 35 comments
sorted by: hot top controversial new old
[-] Xerxos@lemmy.ml 56 points 4 days ago

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 4 days ago

You don’t test in production?

[-] qaatloz@lemy.nl 8 points 3 days ago

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

[-] Crackhappy@lemmy.world 3 points 3 days ago
[-] VibeSurgeon@piefed.social 3 points 4 days ago

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.

[-] minfapper@piefed.social 9 points 4 days ago* (last edited 4 days ago)

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 4 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 4 days ago

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

[-] Bakkoda@lemmy.world 5 points 4 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 2 points 4 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.

[-] eager_eagle@lemmy.world 8 points 4 days ago

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 4 days ago

Naturally.

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

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

[-] diabetic_porcupine@lemmy.world 1 points 3 days 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 34 points 4 days ago

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

[-] OpenStars@piefed.social 19 points 4 days ago

C-suite response:

img

[-] MonkderVierte@lemmy.zip 22 points 4 days ago

Something like --dry-run there?

[-] FiskFisk33@startrek.website 33 points 4 days ago

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

[-] MajinBlayze@lemmy.world 2 points 4 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 4 days ago

Are you sure you don't need the lube?

[-] mech@feddit.org 13 points 4 days ago

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

[-] teft@piefed.social 45 points 4 days ago* (last edited 4 days ago)

Expedition Everest at animal kingdom.

[-] abbadon420@sh.itjust.works 16 points 4 days ago

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 4 days ago

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 4 days ago

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

This is the dev rollercoaster, not the prod rollercoaster.

[-] MrQuallzin@lemmy.world 3 points 4 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 4 days ago

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

Expedition Everest coaster at Disney’s Animal Kingdom.

[-] Sibbo@sopuli.xyz 6 points 4 days ago

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

[-] DarkSideOfTheMoon@lemmy.world 7 points 4 days ago

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 4 days ago

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

[-] moseschrute@lemmy.world 1 points 9 hours ago* (last edited 9 hours 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 4 days ago

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

this post was submitted on 27 Mar 2026
483 points (100.0% liked)

Programmer Humor

30683 readers
1163 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