• Jesus@lemmy.world
    link
    fedilink
    English
    arrow-up
    81
    ·
    3 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
      30
      ·
      3 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
        9
        ·
        edit-2
        3 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
          3
          ·
          3 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
      20
      ·
      3 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
        9
        ·
        3 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
      5
      ·
      3 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
        ·
        3 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!