• Jesus@lemmy.world
    link
    fedilink
    English
    arrow-up
    73
    ·
    2 months 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
      24
      ·
      2 months 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.

      • curry@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 months ago

        Same happened with people using the Cloud To Butt extension which replaced every ‘cloud’ with ‘butt’ even for codes. Hilarity ensued.

        • vrighter@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          I do have that extension installed. Never been bit so far. I don’t copy and paste anymore than a couple of lines at a time.

    • Aceticon@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 months ago

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

      • send_me_your_ink@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 months 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.

    • sunzu2@thebrainbin.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      2 months 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
        3
        ·
        2 months 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!