• e0qdk
    link
    fedilink
    1131 year ago

    Rule 9 from Agans’s Debugging: If you didn’t fix it, it ain’t fixed

    Intermittent problems are the worst…

    • @marcos
      link
      351 year ago

      The problem is, how do you fix it if you can’t make it break?

      The worst thing is when somebody comes to you saying “yeah, I had this problem yesterday, but it’s working now”.

      • Neshura
        link
        fedilink
        English
        221 year ago

        this is a case for excessive logging man

        likely won’t help you actually fix the issue because miraculously you didn’t log the three variables you actually need but it’ll make you feel better in the meantime

        • @kameecoding
          link
          8
          edit-2
          1 year ago

          and gives you some headroom in improving performance since it’s being choked by the excessive logging

        • @folkrav
          link
          6
          edit-2
          1 year ago

          deleted by creator

          • @[email protected]
            link
            fedilink
            5
            edit-2
            1 year ago

            Don’t tell me about time and date, I am still recovering from some moron that used datetime.now() for some unit test data setup and sometimes two records (which needed to have the same time) had very slightly varying time which caused all sorts of intermittent test failures that were very tricky to nail down. Database triggers were failing causing failures in all sorts of tests in a random fashion