• andrew@lemmy.stuart.fun
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      It last ran a week ago and we technically haven’t tested it. Just our hot replicas which also just deleted all that data.

    • toxic_cloud@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Doctors HATE this one simple trick! Lose up to 100% of MyChart data - and KEEP it off!

      Can help reduce blood pressure, high cholesterol, weight, height, gender, name and more to NULL! Wake up feeling NULL and NULL!

  • palordrolap@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    8388409 = 2^23 - 199

    I may have noticed this on a certain other aggregator site once upon a time, but I’m still none the wiser as to why.

    199 rows kind of makes sense for whatever a legitimate query might have been, but if you’re going to make up a number, why 2^23? Why subtract? Am I metaphorically barking up the wrong tree?

    Is this merely a mistyping of 8388608 and it was supposed to be ±1 row? Still the wrong (B-)tree?

    WHY DO I CARE

      • palordrolap@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        In a place for programmer humour, you’ve got to expect there’s at least one person who knows their powers of two. (Though I am missing a few these days).

        As for considering me to be Ramanujan reborn, if there’s any of Srinivasa in here, he’s not been given a full deck to work with this time around and that’s not very karmic of whichever deity or deities sent him back.

        • Fuck spez@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          I know up to like 2^16 or maybe 2^17 while sufficiently caffeinated. Memorizing up to, or beyond, 2^23 is nerd award worthy.

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    For everyone’s sanity, please restrict access to the prod DB to like two people. No company wants that to happen to them, and no developer wants to do that.

  • pomodoro_longbreak@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Ah reminds me of the time (back in the LAMP days) when I tried to apply this complicated equation that sales had come up with to our inventory database. This was one of those “just have the junior run it at midnight” type of shops. Anyway, I made a mistake and ended up exactly halving all inventory prices on production. See OP’s picture for my face.

    In retrospect, I’m thankful for that memory.

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      I don’t understand environments that don’t wrap things in transactions by default.

      Especially since an update or delete without a where clause is considered valid.