Stories
Slash Boxes
Comments

SoylentNews is people

posted by n1 on Friday July 14 2017, @02:40AM   Printer-friendly
from the I'll-second-that! dept.

Not one to let trivia pass unnoticed, the timing of this post has a mildly interesting significance.

Some of you may be old enough to recall the Y2K bug (or may have even helped in avoiding the predicted calamity). Thanks to an incredible effort, the world survived relatively unscathed.

So we're in the clear, now. Right?

Not quite. In the land of Unix timekeeping, there is another rollover bug coming up, when the number of seconds since the Unix Epoch (Jan 1, 1970) exceeds the space provided by a signed 32 bit number: 2147483647 (January 19, 2038 at 03:14:08 UTC). [See Wikipedia's Year 2038 problem entry for more details.]

The timing of this post marks our reaching 75% of that a milestone towards that rollover amount: 1,500,000,000 seconds since the Unix epoch which works out to 2017-07-14 02:40:00 UTC. (Queue Cue horns and fanfares.)

Besides taking note of a mildly interesting timestamp, I'd like to offer for discussion: Falsehoods programmers believe about time.

What memorable time (or date) bugs have you encountered?

I once worked at a company where the DBA (DataBase Analyst) insisted that all timestamps in the database be in Eastern Time. Yes, it would fluctuate when we entered/exited Daylight Saving Time. Even better, this was central database correlating inputs from PBXs (Private Branch Exchanges) across all four time zones in the US. No amount of discussion on my part could convince him otherwise. I finally documented the situation like crazy and left it to reality to provide the final persuasion. Unfortunately, a defect in the design of their hardware manifested at a very inopportune time, and the company ended up folding.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Touché) by Mykl on Friday July 14 2017, @02:59AM (7 children)

    by Mykl (1112) on Friday July 14 2017, @02:59AM (#538949)

    1,500,000,000 / 2,147,483,647 = 69.85%, not 75%.

    Starting Score:    1  point
    Moderation   +2  
       Touché=2, Total=2
    Extra 'Touché' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2) by FatPhil on Friday July 14 2017, @07:14AM

    by FatPhil (863) <{pc-soylent} {at} {asdf.fi}> on Friday July 14 2017, @07:14AM (#539003) Homepage
    Indeed. But the real WTF is why we care about a decimal coincidence in an intrinsically binary context.
    When we reach 1610612736 seconds past the epoch (that being 3<<29, the real 75%), I might get less than half as excited as I did when 50% went past over a decade ago. Billion? Pah, non-event. Billion and a half? Less than half a non-event.
    --
    Great minds discuss ideas; average minds discuss events; small minds discuss people; the smallest discuss themselves
  • (Score: 3, Informative) by martyb on Friday July 14 2017, @11:51AM (5 children)

    by martyb (76) Subscriber Badge on Friday July 14 2017, @11:51AM (#539073) Journal

    1,500,000,000 / 2,147,483,647 = 69.85%, not 75%.

    Oh? Oh. Doh! Story updated... good catch!

    And, for those who might be curious WHEN we will reach 75% for real... http://timestamp.online/countdown/1610612735 [timestamp.online] which, at the time of writing this, reported:

    • 110,579,858 seconds
    • 1,842,997  minutes 38 seconds
    • 30,716 hours 37 minutes 38 seconds
    • 1,279 days 20 hours 37 minutes 38 seconds
    --
    Wit is intellect, dancing.
    • (Score: 2) by tangomargarine on Friday July 14 2017, @03:49PM (3 children)

      by tangomargarine (667) on Friday July 14 2017, @03:49PM (#539167)

      ...and to everybody who is *still* wondering when we'll reach 75%, that's January 13, 2021 :P

      This site can’t be reached

      timestamp.online took too long to respond.

      --
      "Is that really true?" "I just spent the last hour telling you to think for yourself! Didn't you hear anything I said?"
      • (Score: 2) by martyb on Friday July 14 2017, @07:55PM (2 children)

        by martyb (76) Subscriber Badge on Friday July 14 2017, @07:55PM (#539298) Journal
        Strange... I just tried the link and it worked fine for me!!?!!
        --
        Wit is intellect, dancing.
        • (Score: 2) by tangomargarine on Friday July 14 2017, @09:11PM (1 child)

          by tangomargarine (667) on Friday July 14 2017, @09:11PM (#539335)

          In Chrome I'm getting timeouts, and IE11 just flat-out refuses to load the page. Don't have Firefox installed on the work machine.

          If the site worked for you, you could've just pasted the date for us into your comment, was my point.

          --
          "Is that really true?" "I just spent the last hour telling you to think for yourself! Didn't you hear anything I said?"
          • (Score: 2) by martyb on Saturday July 15 2017, @03:55AM

            by martyb (76) Subscriber Badge on Saturday July 15 2017, @03:55AM (#539458) Journal

            In Chrome I'm getting timeouts, and IE11 just flat-out refuses to load the page. Don't have Firefox installed on the work machine.

            If the site worked for you, you could've just pasted the date for us into your comment, was my point.

            Ahh, I see what you mean now. I had been concerned as to how long a wait until the time passed... you wanted to know what that date/time would be. I apologize for my confusion, and not answering your finally-now-clear-to-me question!

            As of THIS writing, the countdown to the 75% completed point reports [timestamp.online]:

            How Much Remains To Unix Time 1610612735 (Thu, 14 Jan 2021 09:25:35 +0100)

            -    110,521,994 seconds
            -    1,842,033  minutes 14 seconds
            -    30,700 hours 33 minutes 14 seconds
            -    1,279 days 04 hours 33 minutes 14 seconds

            AKA: Thu, 14 Jan 2021 08:25:35 UTC.

            --
            Wit is intellect, dancing.
    • (Score: 3, Insightful) by maxwell demon on Saturday July 15 2017, @04:33AM

      by maxwell demon (1608) on Saturday July 15 2017, @04:33AM (#539466) Journal

      However note that this is merely a prediction. Since the site cannot know future leap seconds, they cannot be correctly accounted for.

      --
      The Tao of math: The numbers you can count are not the real numbers.