• Cousin Mose@lemmy.hogru.ch
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days ago

    I’ve been doing web development for something like 20 years now and I just can’t imagine how shitty your backend is if this is an issue.

    • Dasus@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      With LLM coding increasing, it might be going up. Idk am no pro, just worried.

      Tangential, but I find it hilarious how Gemini’s syntax fucks up all the time.

      I ask it to change my light called “CX2” to red. It complies, like usual, and it reads Okay, changing “CX2” to red., but what it says out loud is Okay, changing "CX two inches to red.

    • livingcoder@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      It happened to a friend who wasn’t passing in the proper types into their stored procedures, all strings, and “null” (not case sensitive) conflicted with actual null values. Everything in the web interface were strings, and so was null.

      For some people it takes this mistake before they learn to always care about the data types you’re passing in.

    • timuchan@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      This was my thought as well, sanitize your inputs! Are they not quoting/casting to string before input?

        • limer@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 days ago

          Word press code, and plugins, do not sanitize out of the box. You have to call an additional function, each time, that is not provided automatically. Many home made plugins miss that; many popular plugins used to be home made ones

            • Atherel@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              4 days ago

              Let’s take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

              Edit: Sorry, my app had a hiccup and posted my comment several times