Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Logical ways to calculate being within two times

by BrowserUk (Patriarch)
on Nov 29, 2016 at 00:12 UTC ( #1176756=note: print w/replies, xml ) Need Help??


in reply to Re^2: Logical ways to calculate being within two times
in thread Logical ways to calculate being within two times

That breaks the loop, but doesn't fix up the problem.

Adding 30 instead of 60 prevents the problem completely and runs more quickly.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Logical ways to calculate being within two times

Replies are listed 'Best First'.
Re^4: Logical ways to calculate being within two times
by stevieb (Canon) on Dec 01, 2016 at 16:22 UTC

    Just came across this article this morning. Google is, instead of doing the leap second, is going to slow their clocks on their NTP servers by 0.0014% over the 10 hours before and 10 hours after the leap second.

    Also, they've opened up these servers to the public.

    ps. I changed my code with the 30 second modification.

        LOL indeed :) I'm flying my daughter up from San Francisco tomorrow and stay until well after the holidays instead of trying to book anywhere near the holiday flying season (I've made that mistake myself only once... and learned from it).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176756]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-01-29 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?