comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: 'Leap Second' to Be Added on New Year's Eve This Year
Date: Fri, 13 Jan 2017 10:24:21 +0100
Date: 2017-01-13T10:24:21+01:00	[thread overview]
Message-ID: <o5a693$63e$1@dont-email.me> (raw)
In-Reply-To: <XnsA6FC8C34D75Atimothybilyahoocom@216.166.97.131>

On 2017-01-13 07:51, Tim wrote:

>>
> Speaking as a former programmer, for 99.9% of the programs out there, 
> adding a Leap Second doesn't really mean anything. Where it gets 
> interesting is when the program is dealing with seconds and portions of 
> seconds - sometimes very minute portions of seconds. Then one had to look 
> very closely at how one handles things. 

(just saw that I replied to not c.l.a)

Or just something trivial as church bells

Story in Swedish

<https://www.sydsvenskan.se/2017-01-02/kyrkklockorna-ringde-in-aret--i-nio-timmar>

 but the geist of it is that the
church bells were ringing early in the morning
(just after midnight that is) Jan 2nd
and not Jan 1st

The bells should ring in the new year, but failed.
This is the first time a computer controlled the ringing.

Now- I think the program was polling the time,
and when it polled 00:00:01 - and checked the date,
it actually found 23:59:60 and concluded that this is the
wrong day => do not start ringing.

The day after - at 00:00:01 it did the same thing, and
the bells started to ring in the new year - 24 hours too late...


Yes - I speculate - but I don't think leap seconds only affect
super-duper-time-sensitive calcuations.

--
Björn


       reply	other threads:[~2017-01-13  9:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <o3gl85$j26$1@dont-email.me>
     [not found] ` <op.ytcu9n0djs98qf@red.lan>
     [not found]   ` <5f5afd36-1ba2-f4e2-62ef-57a652f3170c@verizon.net>
     [not found]     ` <o4j73c$345$1@dont-email.me>
     [not found]       ` <op.ytj7fmbnjs98qf@red.lan>
     [not found]         ` <5873c46b.1761953@news.xs4all.nl>
     [not found]           ` <op.yty6zgwijs98qf@red.lan>
     [not found]             ` <XnsA6FC8C34D75Atimothybilyahoocom@216.166.97.131>
2017-01-13  9:24               ` Björn Lundin [this message]
2017-01-13 12:51                 ` 'Leap Second' to Be Added on New Year's Eve This Year Dennis Lee Bieber
2017-01-13 13:47                   ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox