Re: integer value too large?



On Apr 30, 10:33 am, "Donal K. Fellows"
<donal.k.fell...@xxxxxxxxxxxxxxxx> wrote:
Alexandre Ferrieux wrote:
Funnily, [after], defined as relative-milliseconds, is currently more
geared towards long, absolute timers...
Indeed, compare the recent effort to extend the upper limit from 50
days to 500M years, with the brittleness of simple, 1-second timers
described in TIP 302:

Only on systems which can't manage clocks sanely (Hello Microsoft!) If
reliability of timer event frequency is required, get yourself a proper
operating system,

Donal, I was not expecting this from you... "get a proper OS" is
seldom an option in real life; the OS is a given.

use NTP to keep your system clock accurate,

Tcl works on very different OSes, and scales down very well. Suddenly
depending on NTP sounds completely odd.
Do you have NTP on your smartphone ?

and make sure your system clock is not running in localtime (in particular, you
don't want to be applying DST rules to the system clock).

No, DST is out of the picture. gettimeofday() yields a timezone-
agnostic elapsed time since the epoch. DST lies only in the timezone-
sensitive mapping embodied e.g. by strftime(). (I know you know this;
now why wave that red herring ?)

But given that you're on this hobby horse, the first stage in getting *anywhere* is for
you to exhibit an implementation, preferably that passes the test suite.

I don't get it. Either you think the feature is not desirable for Tcl,
and you argue against the TIP; or you think it may be valuable and
encourage a reference implementation. Which way ?

-Alex

.



Relevant Pages

  • Re: rdate not setting the date
    ... ntp works with UTS. ... My radio controlled clock never did update automatically with the DST ... possible there was some sort of glitch that prevented all the servers ... AFAIK the servers all report UCT and the local machine adjusts based on ...
    (Fedora)
  • Re: OT: Bush Energy Policy...daylight savings time
    ... it doesn't matter if it's DST or EST or PST. ... Sometimes I don't bother to change clocks to DST, ... >>>NTP takes an a half hour to correct for an hour of clock error. ... the rest sync up fairly quickly. ...
    (alt.guitar.amps)
  • Re: Can or should the NTP protocol eventually serve timezone data?
    ... You rightly mention that the VLF time transmitters transmit a timezone ... However, there is no such indicator in NTP, so a clock running ... Someone is asking for a distribution mechanism for uptodate timezone data. ... The date at which DST starts or ends is not the same all over the world ...
    (comp.protocols.time.ntp)
  • Re: NTP Configuration for DST?
    ... If you want to modify the DST time which will be the time wou want to ... have the ability to sync the device time via NTP. ... they have only included a configuration adjustment for the local time ... OS is performing the local time adjustment. ...
    (comp.protocols.time.ntp)