comp.lang.ada
 help / color / mirror / Atom feed
From: ev_remove_this_ans@evans.pgh.pa.us (Arthur Evans Jr)
Subject: Re: Leap Seconds
Date: Tue, 29 May 2001 20:42:27 -0400
Date: 2001-05-29T20:42:27-04:00	[thread overview]
Message-ID: <ev_remove_this_ans-2905012042430001@192.168.1.254> (raw)
In-Reply-To: 9f0ciq$itb$1@nh.pace.co.uk

In article <9f0ciq$itb$1@nh.pace.co.uk>, "Marin David Condic"
<marin.condic.auntie.spam@pacemicro.com> wrote:

> While a handful of seconds over a number of years may not be a big deal in
> most cases, I could easily imagine where they might make a difference.
> (Especially when trying to sync up with something else that is using a time
> base somewhere in the past and wondering if it counts the leap seconds and
> you don't. Source A counts them, source B doesn't and you're in the middle
> trying to figure out 'does anybody really know what time it is?')

I expect that an Ada program that communicates with an unmanned
(unpersoned?) space ship might care very much indeed.  Suppose the
ship sends a message from somewhere near Saturn or some such, the
message including a time stamp.  You can tell how far away from
earth it is by the difference between that time stamp and the time
the message is received.  You might care a lot about a 1-second
error.  (I assume an adequately accurate clock on the vessal.)

Here the problem is not one Ada can solve.  You would need a clock
at the receiving station that either was never corrected for leap
seconds, or you would need a table of corrections.  To put it
differently, you need some sort of clock at the receiving station
that tells you how much time has elapsed since the vessal was
launched.  Given that, an Ada program is easy, providing you have a
big enough field to store all those seconds.

Art Evans



  parent reply	other threads:[~2001-05-30  0:42 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-25 14:17 Leap Seconds Marin David Condic
2001-05-25 22:02 ` Tucker Taft
2001-05-29 14:43   ` Marin David Condic
2001-05-29 16:02     ` Ted Dennison
2001-05-29 16:46       ` Marin David Condic
2001-05-29 18:38         ` tmoran
2001-05-29 19:26           ` Marin David Condic
2001-05-30 18:20         ` Wilhelm Spickermann
2001-05-30 18:55           ` Marin David Condic
2001-05-30 23:16             ` Larry Kilgallen
2001-05-31  6:34             ` Joseph P Vlietstra
2001-05-31  9:27             ` Wilhelm Spickermann
2001-05-31 15:31               ` Marin David Condic
2001-06-01  7:55                 ` Wilhelm Spickermann
2001-06-01 13:34                   ` Marin David Condic
2001-06-01 15:24                     ` Wes Groleau
2001-06-01 16:18                       ` Marin David Condic
2001-06-01 20:28                         ` Wes Groleau
2001-06-04 13:54                           ` Marin David Condic
2001-06-04 16:05                             ` Wes Groleau
2001-06-04 16:15                               ` Marin David Condic
2001-05-31 16:53               ` OT: Relativity misunderstood Wes Groleau
2001-05-31 17:20                 ` Ted Dennison
2001-05-31 19:00                   ` Wes Groleau
2001-06-01  6:49                 ` Wilhelm Spickermann
2001-06-04 17:51                 ` [OT] Black holes for interstellar travel (Re: OT: Relativity misunderstood) Jacob Sparre Andersen
2001-06-05 14:07                   ` Wes Groleau
2001-05-30  0:42     ` Arthur Evans Jr [this message]
2001-05-30 10:14       ` Leap Seconds AG
2001-05-30 11:20       ` Larry Kilgallen
2001-05-31 16:34         ` Wes Groleau
2001-05-30 14:00       ` Marin David Condic
2001-05-30 15:33         ` Larry Kilgallen
2001-05-30 15:39           ` Marin David Condic
2001-05-31  2:01             ` Robert A Duff
2001-05-31  3:15               ` dale
2001-05-31  7:02               ` tmoran
2001-05-31 15:26               ` Marin David Condic
2001-05-31 16:39                 ` Paul Storm
2001-06-02  6:40                   ` Joseph P Vlietstra
2001-05-31 16:36         ` Wes Groleau
2001-05-31 18:12           ` Marin David Condic
2001-05-30 16:36       ` Darren New
replies disabled

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