• Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    I can absolutely guarantee that you are not the only person to have spent quality time getting to know the intimate backwaters of a codebase tracking down a bug that you introduced whilst tracking down a bug.

    Source: I’ve been writing software for over 40 years.

  • I Cast Fist@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    A colleague is currently checking why the testing environment was uploading files to the production environment. A number of employees’ photos now show Goku

  • Sjmarf@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Today I spent multiple hours trying to debug a timezone issue in a codebase. The timezone I was testing with was Etc/GMT+4, which I had assumed was four hours ahead of GMT. Turns out, it’s actually 4 hours behind GMT 🤦‍♂️

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      I cannot express how much I hate that timezones aren’t flipped. 12:00+02:00 should be equal to 14:00+00:00 like a math equation!

    • Lightfire228@pawb.social
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      I was reading Crafting Interpreters. After adding function calls and stack frames, i tested my implementation with the Fibonacci script at the end of the chapter

      I spent about 2 hours debugging my call stack, and even tested the script in Python

      Only to realize that Fib(3) is indeed 2

  • a14o@feddit.org
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 month ago

    Jiminy Cricket, imagine not being able to tell the difference between an error code and an image of an error code, and imagine subsequently, for some reason, not immediately inspecting the HTTP request and response. Sounds like a very real #programming #devops problem.