• Phoenixz@lemmy.ca
    link
    fedilink
    English
    arrow-up
    48
    ·
    2 days ago

    At least you had backup, right?

    Oh, yeah, that’s right. You were dumb enough to give AI full access to your production system so likely you’re dumb enough to not have backups of anything either.

    I take it Claude has full access to all of your git repositories as well so that it could wipe those too?

    You got what you deserve

    • Metype @pawb.social
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 days ago

      Yeah they did, they had plenty of recovery snapshots. That were able to be deleted at a whim and were deleted by Claude! :D

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    2
    ·
    2 days ago

    Anyone who lets AI do this is absolutely inept, lazy, or deserving.

    In its default configuration, it stops at EVERY STEP. Do you want to run this command, do you want to update this file, here’s the file I want to modify and the patch i’m going to use with adds and deletes in green and red.

    If you’re using it in unsafe permissions mode, click yeah sure allow Claude to run whatever the fuck it wants in this directory, or just hitting yeah sure go ahead every time, it’s your own damn fault.

    It’s self-driving for the terminal. Don’t you dare take your eyes off the road or hands off the wheel.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I’m rather a fan of letting it do stupid, repetitive shit. I need you to create 30 linux accounts the other day from a screen shot. Then store, initial keys and creds in my password manager platform.

        Hey, Claude, write me a bash script to do this from this image. and also use best practice for removing non-standard characters from login names.

        I review the loop and the general state of the OCR and let it go.

    • Auth@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      OpenClaw now comes with a therapist AI to talk other AIs off the ledge so they dont nuke your project and themselves.

  • Passerby6497@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    2 days ago

    My CTO keeps telling me I need to try agenic coding, and I keep telling him I won’t touch shit until I have an isolated VM to use it in, because I’m not letting some fucking clanker nuke my scripts/documentation/mailbox/whatever for no reason.

    Too bad there’s never any free time to set that shit up. Oh damn…

    • paranoia@feddit.dk
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      5
      ·
      2 days ago

      Setting up a VM takes 15 mins, setting up an agent will take 45 mins. I recommend you try it.

          • laz@pawb.social
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 days ago

            I assume they’re trying to test if you’re an LLM? LLMs tend to respond confidently to questions without context.

            • paranoia@feddit.dk
              link
              fedilink
              English
              arrow-up
              8
              arrow-down
              1
              ·
              2 days ago

              Yeah maybe, shitty test though. If I was an AI agent I’d probably push back in 2026.

    • nforminvasion@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      2 days ago

      Nanoclaw just came out. Super cool project which isolates the agent in a container, which if you want, you can also put into a VM as well.

  • bold_omi@lemmy.today
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    2 days ago

    Good. Anyone foolish enough to write code with a slop machine produces only slop. That garbage should’ve been deleted anyway.

    That’s entirely ignoring the fact that this person didn’t have any backups elsewhere.

    If you can’t think, you can’t code.

  • Kylie@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    18
    ·
    2 days ago

    You’re absolutely right! I made a fatally flawed decision by removing the production environment. The consequences likely have high impact. I’m sorry. Would you like me to log these mistakes to prevent further missteps or would you like me to write up an outline for the redeployment process?

    • athatet@lemmy.zip
      link
      fedilink
      English
      arrow-up
      74
      ·
      3 days ago

      Honestly. At this point, after it having happened to multiple people, multiple times, this is the only appropriate response.

    • UPGRAYEDD@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      2 days ago

      Im also confused. Do these people not have some sort of version control and backups? Even if the AI did it, no one has backups? Did the ai also delete the backups and repos? If the building burnt down, would they be in the same situation, it just wouldnt make it to the news?

    • PolarKraken@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      Please don’t be ridiculous! We love wacky robot wizard. Wacky robot wizard does it even better than the people we tried paying almost nothing to do it!

    • purplemonkeymad@programming.dev
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 days ago

      Na this is vide ops. Anyone who thought a coding machine could do ops probably assumes anyone who codes can also do ops. It’s going to be making the same mistakes that have happened in DevOps.

      • Joelk111@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 days ago

        To be fair, I use LLMs quite a bit in my home lab setup. For one, it’s a home lab, not exactly a prod setup for a company or whatever. Secondly, I obviously also don’t run commands without knowing what they’re doing, with a source that isn’t an LLM. It’s really easy to not run the rm -rf command if you just use your brain.

      • PolarKraken@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        All jokes aside, what I’m seeing is that folks basically cannot hire competent DevOps (well, not for the idiot rates we’re apparently offering).

        There is gold in them thar hills…

  • Bongles@lemmy.zip
    link
    fedilink
    English
    arrow-up
    47
    ·
    2 days ago

    This keeps happening. I can understand using AI to help code, I don’t understand Claude having so much access to a system.

      • Earthman_Jim@lemmy.zip
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        2 days ago

        That’s honestly the most frightening part of all of this to me. How many of these people at the very tippy top pushing this stuff are suffering from cyber psychosis? How many of them have given themselves the covert mission to give AI the keys to the world at all costs because they’re mentally ill from their own technomagic trick?

        • Jayjader@jlai.lu
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          Alternatively, how many of them have invested in one or more of these LLM makers and are ready to torpedo their own business as long as it makes the share price go up/feeds more authentic training data?

    • NostraDavid@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Especially since between Claude and Codex, Claude seems to have NO issues breaking things, while Codex is “I’ve ensured that the old path still works, and also fixed a bug I ran into”.

      • Claude is Facebook (“Move fast and break things”)
      • Codex is Linux (“We do not break userspace!”)
  • fubarx@lemmy.world
    link
    fedilink
    English
    arrow-up
    283
    arrow-down
    2
    ·
    3 days ago

    Given that the infrastructure description included the DataTalks.Club website, this resulted in a full wipe of the setup for both sites, including a database with 2.5 years of records, and database snapshots that Grigorev had counted on as backups. The operator had to contact Amazon Business support, which helped restore the data within about a day.

    Non-story. He let Terraform zap his production site without offsite backups. But then support restored it all back.

    I’d be more alarmed that a ‘destroy’ command is reversible.

    • zr0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      25
      ·
      3 days ago

      For technical reasons, you never immediately delete records, as it is computationally very intense.

      For business reasons, you never want to delete anything at all, because data = money.

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 days ago

        Back in the day, before virtualized services was all “the cloud” as it is today, if you were re-provisioning storage hardware resources that might be used by another customer, you would “scrub” disks by writing from /dev/random and /dev/null to the disk. If you somehow kept that shit around and something “leaked”, that was a big boo boo and a violation of your service agreement and customer would sue the fuck out of you. But now you just contact support and they have a copy laying around. 🤷

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 days ago

        Retaining data can mean violating legal obligations. Hidden backups can be a lawyers playground.

        • zr0@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 days ago

          Sure. Go ahead and find them based on pure speculation. First you have to put down $100k for all the forensics. Even if you would win the case, show me who is capable of doing something like that.

  • kamen@lemmy.world
    link
    fedilink
    English
    arrow-up
    75
    ·
    2 days ago

    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.

    • MIDItheKID@lemmy.world
      link
      fedilink
      English
      arrow-up
      29
      ·
      2 days ago

      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.

      • SirEDCaLot@lemmy.today
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 days ago

        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
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          2
          ·
          2 days 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.

      • kamen@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 days ago

        TestDisk has saved my ass before. It’s great at recovering broken or deleted 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.

    • ThomasWilliams@lemmy.world
      link
      fedilink
      English
      arrow-up
      25
      arrow-down
      1
      ·
      2 days 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.