ALL-INKL.COM - Webhosting Server Hosting Domain Provider

When software suffers from bugs

In this case it affects Splunk, a monitoring tool.
What we remembered from the Y2K bug was the
fact that computers with dual-digit year numbers
were unable to handle dates after 31-12-1999.

Unix was a bit further and used the UTC (Unix time code) which provides a unique 64-bit second-counting timestamp.

The timestamp started counting in 1970, beginning with 0 (zero) at 01-01-1970 00:00:00.

Given the fact that 264-1 = 18,446,744,073,709,551,616, this would give us a correct timer till 07-11-438500936 07:00:14

438 million years is quite some time and we doubt, mankind would be able to survive THAT long. in 400 million years, the earth has passed 6 complete vegetative changes when it comes to non floral lifeforms and mankind as such wouldn’t be an exception.

However if there’s a machine running THAT long and fulfinning life-supporting tasks, then life supported by it, if unattended, would stop.

But this is far, faaaar away in the future, so why bother at all? Well, it was just some weekend mindstorming coming on when reading about the Splunk problem, not being able to handle Unix timestamps properly beyond 1’599’999’999. (13-09-2020 12:26:39).

But then what about timestamps before 1’500’000’000 (14-07-2017 02:39:59)?

Or was it just for a lazy programmer who thought: “Why bother for any digit beyond the 100-million mark?”

We won’t know for sure…

But Splunk has received a bugfix already with the UTC timestamp parser being able to work beyond the mentioned timestamp. So with a little luck, Splunk will work properly nearly to the end of the year 219’250’468. Enough time to think of a timecode that goes 2128-1…

Oh, for those asking what 2128-1 would be in full digits: 340’282’366’920’938’463’463’374’607’431’768’211’455

Thats enough time – until the stars have burned…

 


December 4, 2019 Netspark - 1470 posts - Member since: May 9th, 2011 No Comments »

RATING :
Rockbottom!Very badBadAverageGoodVery goodAwesome! (1 votes, average: 5.00 out of 7)
Loading...
FILED UNDER :Computer , Curiosities , News , Technology , Thoughts
TAGGED WITH : , , , , ,

Leave a comment