• JoshCodes
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    Got introduced to the phrase “your tongue was in the wrong spot in your mouth”, for something that can’t be reproduced.

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      1
      ·
      15 hours ago

      I had this on an ESP32 once. Turned out spitting out serial console debug messages slowed things down enough to resolve a race condition when I tried to see what was happening. I learned more about using an actual debugger after that instead of spitting out “here” messages and variable values.

  • tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    14 hours ago

    Check the global temp vars, files and caches. Encapsulated scoping is a lie we’ve been told to help us sleep better at night. Some of those seemingly well defined system functions bleed out to caches for (slight) performance gains.

    You could have the most locked down explicitly defined well scoped code in the world, and it just takes one measly baked in call to a global function to shatter that dream house into a thousand pieces.

    I’m looking at you string-match; you know what you did.

  • erin@social.sidh.bzh
    link
    fedilink
    arrow-up
    4
    ·
    18 hours ago

    Bugs wants to be nice, they see how stressed we are so they love playing hide and seek to relax us XD

  • lath@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    18 hours ago

    Have you tried turning it off and on again?

    Some bugs only trigger on the first run. Or the second. Or the third. Or…