• Jesus@lemmy.world
    link
    fedilink
    English
    arrow-up
    59
    ·
    1 month ago

    Me and my team take our site down the old fashioned way. Code copied from some rando on the internet.

    • Echo Dot@feddit.uk
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 month ago

      Reminds me of the time that I took down the corporate website by translating the entire website into German. I’d been asked to do this but I hadn’t realized that the auto translation Plug-In actually rewrote code into German, I thought it was just going to alter the HTML with JavaScript at runtime, but nope. It actually edited the files.

      It also translated the password into German which was fun because it was just random characters so I have no idea what it translated into.

      • send_me_your_ink@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 month ago

        Can we take a moment to ask ourselves - how the hell did piping to shell become ok? We have all kinds of method’s for deploying stuff - from the age old tarball to the new shinny flat pack. But somehow we also became ok with

        Curl foo | sh
        

        Oftentimes as root.

    • Aceticon@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 month ago

      It’s pretty much the same as AIs do - copy and past random code from Stackoverflow - but they do it automatically.

    • sunzu2@thebrainbin.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      1 month ago

      Copy pasting random snippets from search results and chatgpt until something works is how I do my job.

      • BlitzFitz @lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        “until something works" At least you’re doing a better job than some people.

        Some leave it at will ai told me so. And they don’t know better and put that into prod!