A while back I was developing a workflow scheduler. However the run duration kept coming back negative. The runs kept finishing like 15 seconds before they started. Eventually I figured out why; the company had configured a policy to use their custom NTP server, but it was 16.7 seconds off. So my Windows laptop's time was in the future, but the WSL VM (which ran the program) used another NTP server and was correct. In the end I just added a bodge that made the program request the time from an external server on startup to calculate an offset.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 days ago (1 child)

I lost so many braincells debugging silly shit, that i can't remember anything about it.

  • source
  • hideshow 1 child comment
  • [–] 2 points 2 days ago

    ikr? I was racking my brain for a silly one, because I know I spent hours debugging something ridiculous lately. I think earlier this week? A rookie bug of my own doing, like using the wrong data source in the first step? Or maybe it was a 0 vs. 1 index error? Or was it forgetting to hit save on one of the config files, then wondering why the change wasn't propagating?

    So, so many stupid, basic errors. They all blur together.

  • source
  • parent