From: Ry Nohryb on
On Jun 24, 8:40 pm, Jeremy J Starcher <r3...(a)yahoo.com> wrote:
> On Thu, 24 Jun 2010 11:25:00 -0700, Ry Nohryb wrote:
>
> > Sure you'd do that, until you discover that the system resets the time
> > every now and then and suddenly your brain turns on and your idiotic
> > smile disappears completely:
>
> > system.log :
>
> > 23/06/10 00:32:49  ntpd[13]        time reset -23.5561 s
>
> I'm not an expert on ntpd, but it should only do 'hard' set the first
> time it adjusts the clock, after that it should skew the system time to
> sync.

And what about daylight saving time ? That's +/- 1 hour at once ...
--
Jorge.
From: Jeremy J Starcher on
On Thu, 24 Jun 2010 11:45:51 -0700, Ry Nohryb wrote:

> On Jun 24, 8:40 pm, Jeremy J Starcher <r3...(a)yahoo.com> wrote:
>> On Thu, 24 Jun 2010 11:25:00 -0700, Ry Nohryb wrote:
>>
>> > Sure you'd do that, until you discover that the system resets the
>> > time every now and then and suddenly your brain turns on and your
>> > idiotic smile disappears completely:
>>
>> > system.log :
>>
>> > 23/06/10 00:32:49  ntpd[13]        time reset -23.5561 s
>>
>> I'm not an expert on ntpd, but it should only do 'hard' set the first
>> time it adjusts the clock, after that it should skew the system time to
>> sync.
>
> And what about daylight saving time ? That's +/- 1 hour at once ...

Depends upon the OS. My Linux box stores the time internally as GMT and
applies rules to translate to the local time zone. There is no
adjustment for daylight savings time.

You might have a point about Windows based machines -- that sounds like a
crappy enough approach that they'd use it.
From: John G Harris on
On Thu, 24 Jun 2010 at 10:33:26, in comp.lang.javascript, Ry Nohryb
wrote:

>Do you think that adjusting the operating system's date/time ought to
>affect a setTimeout(f, ms) or a setInterval(f, ms) ?

It doesn't matter what we think. What does the specification say ?


>I don't.
<snip>

Ditto.

John
--
John Harris
From: Thomas 'PointedEars' Lahn on
John G Harris wrote:

> Ry Nohryb wrote:
>> Do you think that adjusting the operating system's date/time ought to
>> affect a setTimeout(f, ms) or a setInterval(f, ms) ?
>
> It doesn't matter what we think. What does the specification say ?

It's "DOM Level 0". There is no specification in the sense of a Web
standard (yet).


PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
From: Ry Nohryb on
On Jun 24, 8:40 pm, Jeremy J Starcher <r3...(a)yahoo.com> wrote:
> On Thu, 24 Jun 2010 11:25:00 -0700, Ry Nohryb wrote:
>
> > system.log :
>
> > 23/06/10 00:32:49  ntpd[13]        time reset -23.5561 s
>
> I'm not an expert on ntpd, but it should only do 'hard' set the first
> time it adjusts the clock, after that it should skew the system time to
> sync.

Again:
Jun 24 21:19:12 MacBookUniBody ntpd[7707]: time reset +61.663190 s
--
Jorge.