🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #40590

Re: Wish List item for HyperCard 2.0

#40590
From: Leonard Rosenthol
Date: Sun, 09 Apr 1989 18:31
38 lines
2372 bytes
In article <1793@wpi.wpi.edu>, tron@wpi.wpi.edu (Richard G Brewer) writes:
> [Would like to see the U.S. System handle DST/ST automagically]
> 
> In a generic code, it would look like this:
> 
> 
> procedure check date
> 	if Date = first sunday in april continue else skip
> 		if TurnBackFlag = 0 continue else skip
> 			turn clock ahead one hour
> 		end procedure
> 
> after the day passes (i.e. any other day besides the turn forward/back dates)
> the flags would be set back to zero.
> 
	There is one obvious (and one not so obvious) reason why this is not
built into the system software and that is even though it is the U.S. System 
it is STILL used by people outside the U.S!!  The non-obvous reason is that
your algorithm does not always work.  There has been times in the past where
the date for clock-changing has not always been 'first sunday in april', it
has varied (for strange reasons).  So all of a sudden the system changes your
clock on you - 'Now how did that happen??'
	You should also consider that the Macintosh Programmer Guidelines 
specify that the programmer should not change user-defined things behind the
users back.  There is a wonderful disucssion about this going on in the
comp.sys.mac.programmers concerning resizing windows on the user.
	Your idea is not a bad one, and I understand that someone wrote a 
CDEV that will auto change your clocks for you, but re,member that it may
do it without telling you it did it, and it might not do it when you expect
it to.  Another place this might fit it is an an extension to the Map CDEV
since it does change the clock for you when you SET a new location, it could
also know about DST.

-- 
+--------------------------------------------------+
Leonard Rosenthol        |  GEnie : MACgician
Lazerware, inc.          |  MacNet: MACgician
UUCP: svc@well.UUCP      |  ALink : D0025
Technical Details
Message-ID: <11285@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!apple!well!svc
References: <1100@atux01.UUCP> <4790@charon.unm.edu> <6914@hoptoad.uucp> <1793@wpi.wpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!apple!well!svc
From: svc@well.UUCP (Leonard Rosenthol)
Newsgroups: comp.sys.mac,comp.sys.mac.hypercard
Subject: Re: Wish List item for HyperCard 2.0
Summary: Not always true!
Keywords: Buttons, icons, shapes, fonts
Message-ID: <11285@well.UUCP>
Date: 9 Apr 89 18:31:23 GMT
References: <1100@atux01.UUCP> <4790@charon.unm.edu> <6914@hoptoad.uucp> <1793@wpi.wpi.edu>
Lines: 38