[#6363] Re: rescue clause affecting IO loop behavior — ts <decoux@...>

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

17 messages 2000/11/14
[#6367] Re: rescue clause affecting IO loop behavior — David Alan Black <dblack@...> 2000/11/14

Hello again --

[#6582] best way to interleaf arrays? — David Alan Black <dblack@...>

Hello --

15 messages 2000/11/26

[#6646] RE: Array Intersect (&) question — Aleksi Niemel<aleksi.niemela@...>

Ross asked something about widely known and largely ignored language (on

23 messages 2000/11/29
[#6652] RE: Array Intersect (&) question — rpmohn@... (Ross Mohn) 2000/11/29

aleksi.niemela@cinnober.com (Aleksi Niemel) wrote in

[#6723] Re: Array Intersect (&) question — Mathieu Bouchard <matju@...> 2000/12/01

> >Use a hash. Here's code to do both and more. It assumes that

[#6656] printing/accessing arrays and hashes — raja@... (Raja S.)

I'm coming to Ruby with a Python & Common Lisp background.

24 messages 2000/11/30

[ruby-talk:6537] Re: Time Trouble

From: Dave Thomas <Dave@...>
Date: 2000-11-22 23:58:41 UTC
List: ruby-talk #6537
"Pete McBreen, McBreen.Consulting" <mcbreenp@cadvision.com> writes:

> Overall I'd say that this behavior matches the least surprise
> feature, since Time.local(2000, 5, 1, 0, 0) will occur at Midnight
> local time on the 1st May, but when seen from November that time is
> not an integral number of 24 hour units since the clocks are set back
> one hour in October.

Pete:

The other side of the POLS is consistency: on Unix boxes you get

    1.upto(12) { |m| puts Time.local(2000, m, 1, 0, 0, 0) }

     Sat Jan 01 00:00:00 CST 2000
     Tue Feb 01 00:00:00 CST 2000
     Wed Mar 01 00:00:00 CST 2000
     Sat Apr 01 00:00:00 CST 2000
     Mon May 01 00:00:00 CDT 2000
     Thu Jun 01 00:00:00 CDT 2000
     Sat Jul 01 00:00:00 CDT 2000
     Tue Aug 01 00:00:00 CDT 2000
     Fri Sep 01 00:00:00 CDT 2000
     Sun Oct 01 00:00:00 CDT 2000
     Wed Nov 01 00:00:00 CST 2000
     Fri Dec 01 00:00:00 CST 2000

Now if Windows users are expecting displayed timezone to remain
unchanged, then I'd certainly agree with you that that trumps
consistency with Unix. However, if instead it's just something they
could live with, then I'd argue we should strive for consistency and
map the timezone to daylight savings if applicable.

Having said all that, time calculations and I are old enemies, so I
may well have all this bass-ackwards.


Dave



In This Thread