Lurker News
After a frantic scramble this morning, our billing team has finished patching a bug which erroneously was charging our monthly subscribers for an extra day.

All test suites are passing now, and SRE has scheduled a postmortem after the QA confirms the fix in 2028.

Comments (481) 159 threads

Earlier comments
axegon_#
Not today but several years ago while lending a hand on a project that was wildly overdue and the guys needed all the help they could get. Disclosure: it was not in software that was in production yet(otherwise you would have likely heard and been affected by it by now I suspect). The software's purpose was dealing with commercial airlines - routes, connections and all that. The travelling salesman problem basically. The software was meant to replace an antique system which no one knew how to maintain since in 2020 it was still running on mainframes and written in fortran. There were specifications on how the system worked but there was no one who could even read the code. Anyhow, the way dates were stored, read and calculated was absolutely insane. I can't recall what the exact deal was, but each date was represented with either 4 or 5 bytes with some really awkward algorithm to make it into something meaningful. With a bunch of additional patches surrounding Y2K.

Unfortunately it was a lot more subtle than getting March 1-st instead of Feb 29-th. Each date was calculated with a dynamic offset depending on the month and year. So during leap years, everything was fine until the 14-th of May at 01:00 UTC. The second the clock hit, 14-th of May at 01:01, all hell broke loose incrementally as time want on until the end of each year. The weird string representation for Nov 1-st was being calculated as January 3-rd for instance. But as soon as the clock hit January 1-st, everything went back to normal. It took 6 people 2 days to figure it out. As you might expect, this was not mentioned anywhere in the documentation.
I'm not sure what has happened ever since, but if the system made it into production and you didn't get stuck in an airport... You're welcome lol

nortlov5 replies#
The Casio F-91W doesn’t account for the year, it showed today’s date as Thursday, March 1st.
bakoo3 replies#
Same with my colleagues most recent top model Samsung Galaxy Watch :]
dotnet001 reply#
Odd, mine is showing the right date.
davchana1 reply#
Are you sure? My F91W doesn't even ask for year in settings. How would have it known it is a leap year or not.

Some other models (not F91W) does track year.

Continue this thread — 1 reply

linker3000#
OK on my Watch4 Classic FWIW.
frankgrimesjr1 reply#
Are they using a third party watch face? My Galaxy Watch 4 has no issues.
kennethrc#
I have a custom watch face on my GW4 and it's showing the 29th
spicybright#
Thank you so much for the reminder, that would have screwed me up today :)
LeoPanthera1 reply#
That's more of a design decision than a bug. It's intentional to make the product cheaper. The manual does mention it.
tjvc#
I noticed this too and clicked this thread wondering if it would show up! Still an awesome watch.
computerfriend#
I just looked at my watch and indeed the date is wrong. Thanks!
trebligdivad2 replies#
Fascinating - why does a LiDAR involve the date?
worik1 reply#
For the survalence records

Telling base where, and when, you were

nemomarx5 replies#
Shouldn't that just be a unix timestamp or something? You'd think resolving that to a date time could be done in the UI instead of in the business logic

Continue this thread — 5 replies

bnqscrtm#
LiDARs and other sensors typically need to be time-synchronized with the rest of the robotic system. I wouldn't be surprised if the bug is related to that.

Load more comments