A colleague is currently checking why the testing environment was uploading files to the production environment. A number of employees’ photos now show Goku
Your bug sounds pretty strong, can I fight it?
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 call that Tuesday.
I’m sorry, but today is Monday…
Wth… shows Thursday on my machine…
I’m in this picture and I don’t like it. Yesterday I was trying to debug my reverse proxy setup for a new app and why it wouldn’t work.
Well, if you configure it to route shinyNewApp.example.com to your app, but then always access sihnyNewApp.example.com with your browser…
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
deleted by creator
I’m ashamed to admit how many times a basic english spell checker in my IDE has saved my bacon.
Years ago I was studying webdev and couldn’t make a js code to work. After weeks fighting against it I decided to install another browser and it worked there instantly, but in my regular browser still refuse to work. After a couple of more hours trying ro see why in one browser worked and nor the other found that I had the js blocker active all the time along.
I used to troll some colleagues when reviewing their changes by putting
[Object object]
orNaN
in input fields. A non negligible amount of time may have been lost because of theseYeah that’s how it goes.
Just earlier today I spent an embarrassing amount of time trying figure out an issue where the classic “debug print” didn’t give the correct value. And as is often the case, I had forgot to change print to the new test variable.
I had something almost identical to this happen to me on Friday. Last year our company moved to a super locked down version of Teams, to the point where I couldn’t even open images that people put in the chat because of security issues, instead the image they posted would be replaced with an error image saying that I wasn’t allowed to open images, blah blah blah. That problem was resolved a long time ago though.
On Friday I was trying to send an image of some data processing to a colleague, and every time I put it in Teams, it would show up as that stupid error message. I spent a solid hour trying to figure out why that problem was back, was my computer not authenticating with MS properly, etc. Turns out my file browser was sorting by time order instead of reverse time order, and the screenshot at the top of the list from May 2 2024, was a screenshot of the error message that I used to send to IT when they were investigating the problem.
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 🤦♂️GMT+4
would add 4 hours to Greenwich Mean Time though? That’sGET (Georgia Standard Time)
, so 10am (1000) GMT would be 2pm (1400) GET.GMT-4
would beEDT (Eastern Daylight Time)
, so that 10am (1000) GMT would be 6am (0600) EDT. Also, Georgia the state is in that time zone funny enough haha(For the most part. Timezones are really really complicated and you should probably just look up the offset for the specific city/region you want Everytime and use some other package for time stuff lol)
Yeah, you would’ve thought it would work that way. Regrettably, the standard timezone code of
Etc/GMT+4
is actually GMT-4. WikipediaThe special area of “Etc” is used for some administrative zones, particularly for “Etc/UTC” which represents Coordinated Universal Time. In order to conform with the POSIX style, those zone names beginning with “Etc/GMT” have their sign reversed from the standard ISO 8601 convention. In the “Etc” area, zones west of GMT have a positive sign and those east have a negative sign in their name (e.g “Etc/GMT-14” is 14 hours ahead of GMT).
I cannot express how much I hate that timezones aren’t flipped.
12:00+02:00
should be equal to14:00+00:00
like a math equation!
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.
Sometimes you lose the forest for the trees
Sometimes you forget to verify if your assumptions are true