this post was submitted on 07 Mar 2026
822 points (97.4% liked)

Technology

82332 readers
3990 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] mudkip@lemdro.id 6 points 23 minutes ago

I don't feel an inkling of sympathy. Play stupid games, win stupid prizes.

[–] m3t00@lemmy.world 5 points 1 hour ago* (last edited 58 minutes ago)

bad backup vibes there boss? backup was the task?

[–] ramenshaman@lemmy.world 2 points 54 minutes ago

That's what version control is for.

[–] kamen@lemmy.world 51 points 4 hours ago (2 children)

You either have a backup or will have a backup next time.

Something that is always online and can be wiped while you're working on it (by yourself or with AI, doesn't matter) shouldn't count as backup.

[–] ThomasWilliams@lemmy.world 9 points 1 hour ago

He did have a backup. This is why you use cloud storage.

The operator had to contact Amazon Business support, which helped restore the data within about a day.

[–] MIDItheKID@lemmy.world 18 points 2 hours ago (2 children)

AI or not, I feel like everybody has had "the incident" at some point. After that, you obsessively keep backups.

For me it was a my entire "Junior Project" in college, which was a music album. My windows install (Vista at that time - I know, vista was awful, but it was the only thing that would utilize all 8gb of my RAM because x64 XP wasn't really a thing) bombed out, and I was like "no biggie, I keep my OS on one drive and all of my projects on the other, I'll just reformat and reinstall Windows"

Well... I had two identical 250gb drives and formatted the wrong one.

Woof.

I bought an unformat tool that was able to recover mostly everything, but I lost all of my folder structure and file names. It was just like 000001.wav, 000002.wav etc. I was able to re-record and rebuild but man... Never made that mistake again. Like I said. I now obsessively backup. Stacks of drives, cloud storage. Drives in divverent locations etc.

[–] kamen@lemmy.world 1 points 1 hour ago

TestDisk has saved my ass before. It's great at recovering broken partitions. If it's just a quick format done with no encryption involved, you have a very high chance of having your stuff back. That's of course if you catch yourself after doing just the format.

Other than that, yeah, I've also had my moments. Back in high school not only did I not have money for an external drive - I didn't even have enough space on my primary one. One time a friend lent me an external drive to do a backup and do a clean reinstall - and I can't remember the details, but something happened such that the external drive got borked - and said friend had important stuff that was only on that hard drive. Ironically enough it wasn't even something taking much space - it was text documents that could've lived in an email attachment.

[–] SirEDCaLot@lemmy.today 1 points 2 hours ago (1 children)

AI or not, I feel like everybody has had "the incident" at some point. After that, you obsessively keep backups.

Yup!

Also totally unrelated helpful tip- triple check your inputs and outputs when using dd to clone a drive. dd works great to clone an old drive onto a new blank one. It is equally efficient at cloning a blank drive full of nothing but 0s over an old drive that has some 1s mixed in.

[–] kamen@lemmy.world 1 points 2 hours ago

And that's a great example where a GUI could be way better at showing you what's what and preventing such errors.

If you're automating stuff, sure, scripting is the way to go, but for one-off stuff like this seeing more than text and maybe throwing in a confirmation dialogue can't hurt - and the tool might still be using dd underneath.

[–] GaumBeist@lemmy.ml 21 points 4 hours ago* (last edited 4 hours ago)

Nobody wants to point out that Alexey Grigorev changes to being named Gregory after 2 paragraphs?

Slop journalism at its sloppiest. I wouldn't be surprised to find out that this story was entorely fabricated.

[–] jaykrown@lemmy.world 20 points 4 hours ago

The developer is to blame. Using a cutting edge tool irresponsibly. I have made mistakes using AI to help coding as well, never this bad though. Blaming AI would be like blaming the hammer a roofer was using to hammer nails and slamming their finger accidentally with it. You don't blame the hammer, you blame the negligence of the roofer.

[–] rizzothesmall@sh.itjust.works 12 points 4 hours ago

A developer having the ability to accidentally erase your production db is pretty careless.

An AI agent having the ability to "accidentally" erase your production db is fucking stupid as all fuck.

An AI agent having the ability to accidentally erase your production db and somehow also all the backup media? That requires a special course on complete dribbling fuckwittery.

[–] Ferroto@lemmy.world 6 points 3 hours ago

That's it Son of Anton is banned.

[–] pHr34kY@lemmy.world 8 points 4 hours ago* (last edited 4 hours ago) (2 children)

The lesson: AI cannot bridge an air-gapped backup. This could all be prevented with a crappy portable hard drive from costco.

[–] Randelung@lemmy.world 2 points 2 hours ago

I am still unable to delete the backup. Trying *nuke tool*.
[Enter nuclear codes]:

I was able to remove the backup to eradicate the error both from the production and development environments. But wait a second, the user specified not to lose data. But I just eliminated all versions of the data. The user won't be happy. Oopsie whoopsie!

[–] TheObviousSolution@lemmy.ca 0 points 1 hour ago* (last edited 1 hour ago) (2 children)

The best prevention is not letting it happen in the first place. If your backup is a crappy portable hard drive from costco, you get what you buy, I wouldn't have much faith on that either.

[–] RememberTheApollo_@lemmy.world 1 points 1 hour ago* (last edited 1 hour ago)

The best prevention is not letting it happen in the first place.

Ya think?! We’re past that.

Completely unnecessary for you to preemptively assume someone would choose a “crappy” backup from a retail store when in fact such a backup would still likely have saved the day, and any half-decent dev should at least have some kind of RAID backup on site and better yet an offsite one too.

The flaw was not having any backup, not your straw man of a poor quality choice.

[–] pHr34kY@lemmy.world 1 points 1 hour ago

That's why I have multiple.

[–] EndlessNightmare@reddthat.com 5 points 4 hours ago

: You had a backup, right?

[–] aesthelete@lemmy.world 74 points 7 hours ago (10 children)

Stop giving chat bots tools with this kind of access.

load more comments (10 replies)
[–] SapphironZA@sh.itjust.works 116 points 9 hours ago* (last edited 9 hours ago) (7 children)

We used to say Raid is not a backup. Its a redundancy

Snapshots are not a backup. Its a system restore point.

Only something offsite, off system and only accessible with seperate authentication details, is a backup.

[–] Krudler@lemmy.world 1 points 25 minutes ago

Circa 1997 I was making some innovative new games, employed by a dude who'd put millions of his own money into the company. He was completely nonplussed when I brought him 20 CDs in a sealed box to remove from the building and store off site. He thought I'd lost my damned mind and blew it off as ravings of a stressed dev. I pointed out real threats to our IP including the hardware failures and even so far as the building burning down. 2 years of custom art and code gone. "Unlikely. Relax."

After I moved on... an ex co-worker who's still a longtime friend, tells me a different division lost a huge amount of FMV over some whoops-I-destroyed-the-wrong-drive blunder. 20 days to render on an 8 or 10 machine farm. Poof - No backups. In 1997 even with top-of-the-line gear it took an insane investment to render quality 3D.

The friggin' carelessness irks the shit out of me as I type ahah

[–] tetris11@feddit.uk 25 points 7 hours ago

3-2-1 Backup Rule: Three copies of data at two different types of storage media, with 1 copy offsite

[–] daychilde@lemmy.world 44 points 8 hours ago (2 children)

AND something tested to restore successfully, otherwise it's just unknown data that might or might not work.

(i.e. reinforcing your point, no disagreements)

[–] mic_check_one_two@lemmy.dbzer0.com 18 points 8 hours ago* (last edited 8 hours ago) (3 children)

AKA Schrödinger’s Backup. Until you have successfully restored from a backup, it is just an amorphous blob of data that may or may not be valid.

I say this as someone who has had backups silently fail. For instance, just yesterday, I had a managed network switch generate an invalid config file for itself. I was making a change on the switch, and saved a backup of the existing settings before changing anything. That way I could easily reset the switch to default and push the old settings to it, if the changes I made broke things. And like an idiot, I didn’t think to validate the file (which is as simple as pushing the file back to the switch to see if it works) before I made any changes.

Sure enough, the change I made broke something, so I performed a factory reset and went to upload that backup I had saved like 20 minutes prior… When I tried to restore settings after the factory reset, the switch couldn’t read the file that it had generated like 20 minutes earlier.

So I was stuck manually restoring the switch’s settings, and what should have been a quick 2 minute “hold the reset button and push the settings file once it has rebooted” job turned into a 45 minute long game of “find the difference between these two photos” for every single page in the settings.

[–] daychilde@lemmy.world 1 points 3 hours ago

That's always just one of the worst feelings in the world. This thing is supposed to work and be easy and............. nope. Not there. It's gone. Now you have work to do. heh

load more comments (2 replies)
load more comments (1 replies)
load more comments (4 replies)
[–] Sam_Bass@lemmy.world 10 points 5 hours ago (2 children)

But ai is s good thing! /s

[–] Yaztromo@lemmy.world 12 points 4 hours ago (1 children)

AI is like a circular saw. Are circular saws useful?

Of course.

Can you cut your entire hand off if you don’t use it correctly? Absolutely.

[–] Sam_Bass@lemmy.world 4 points 3 hours ago (1 children)

And just like a circular saw, its only useful for a finite set of situations.

[–] Yaztromo@lemmy.world 1 points 3 hours ago

Sure — as with every tool. Hammers are great for many things, but don’t do all that well driving screws. Money is one of the most used tools humans have ever devised, but you can’t use it for everything.

AI in coding may only be good for a finite set of situations — but that set is massive. You’re dealing with regular languages that can be mathematically proven to be correct (in the sense that they will generate a working program, and not in the sense that they program will in fact function the way the user intends). This is a less open-ended scenario than something like an AI generated video, and so it’s easier for AI to excel at it, especially for non-novel algorithms.

But if you use it like an idiot, you’re going to get burned — and this guy was an idiot who doesn’t understand what he’s doing, or the tools researchers in software development have made over the last few decades. AI shouldn’t be touching your production environment — at all. And it shouldn’t have to — code needs to be stored in a versioning source repository of some sort (and backed up so you are unlikely to ever lose it), deployment needs to be fully scripted and should be able to rebuild your environments from scratch (from code right to production), and developers and development tools (like AI tools) should only have access to development environments, and not production environments.

So unless you’re a total dumbass, an AI agent (or even a shitty human developer) should never have the kind of access to do what happened here. They violated some pretty basic principals of software development, and got burned. This guy sawed his own hand off because he misused the tools to take a bunch of shortcuts, without building in any backups or reproducibility. The AI isn’t the proximal fault here — trusting it when you have no way to reproduce your environment when things go wrong is the problem, and that’s 100% on the human sitting at the keyboard (PEBKAC).

[–] SaharaMaleikuhm@feddit.org 5 points 5 hours ago

Filters out the biggest fools it seems.

[–] Poppa_Mo@lemmy.world 39 points 9 hours ago (1 children)

Whoever gave it access to production is a complete moron.

[–] tempest@lemmy.ca 19 points 7 hours ago* (last edited 7 hours ago) (5 children)

If you've ever used it you can see how easily it can happen.

At first you Sandbox box it and you're careful. Then after a while the sand box is a bit of a pain so you just run it as is. Then it asks for permission a 1000 times to do something and at first you carefully check each command but after a while you just skim them and eventually, sure you can run 'psql *' to debug some query on the dev instance....

It's one of the major problems with the "full self driving" stuff as well. It's right often enough that eventually you get complacent or your attention drifts elsewhere.

This kind of stuff happened before the LLM coding agents existed, they have just supercharged the speed and as a result increased the amount of damage that can be done before it's noticed.

There are already a bunch of failures in place for something like this to happen. Having the prod credentials available etc etc it's just now instead of rolling the dice every couple weeks your LLM is rolling them every 20s.

load more comments (5 replies)
[–] Bieren@lemmy.today 5 points 5 hours ago

Ai or not. This is on the person who gave it prod access. I don’t care if the dev was running CC in yolo mode, not paying attention to it or CC went completely rogue. Why would you give it prod access, this is human error.

[–] LiveLM@lemmy.zip 18 points 7 hours ago (3 children)

but should serve as a cautionary tale.

Jesus there's a headline like this every month, how many tales people need to learn???

load more comments (3 replies)
[–] BrianTheeBiscuiteer@lemmy.world 50 points 10 hours ago (3 children)

Whether human, AI, or code, you don't give a single entity this much power in production.

load more comments (3 replies)
load more comments
view more: next ›