Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
       [not found]       ` <33D1F009.758@sasib.co.uk>
@ 1997-07-22  4:00         ` Mike Rechtman
  1997-07-22  4:00           ` Mark Holcroft
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Rechtman @ 1997-07-22  4:00 UTC (permalink / raw)



Mark Holcroft wrote:
> 
> James Wilson wrote:
> 
> > > Most operating systems are not the problem. Both UNIX and MS-DOS
> > > should be fine up until about 2037. The problem is not the operating
> > > system, it's a problem with short sighted sotware developers who
> > > only use two digits in their date fields. This can happen on any OS.
> 

> > Hum.... as has been discussed on this and other groups before, the
> > problem was not 'short sighted' programmers. Take your current PC,
<<<snip>>>
> > It was silly at the time to think of wasting all that space on 4 digit
> > dates.
> 
> The problem WAS short sighted programmers, and unimaginatively
> short-sighted at that!  The specification of the machines is
> not the issue, nor does it feature as mitigating circumstance.
> Neither is lack of storage space an excuse.  It is entirely true
> that the problem was then, and is now, to do with shortsightedness
> and lack of imagination.  All problems are not necessarily solved
> by a direct, literal translation from the problem domain into the
> solution domain ( %^} ), and application of standard variable
> types (which is why Pascal (inc UCSD Pascal :) ) has record types).
<<< much flaming snipped >>>

As someone who had the privilege of working on a time-sharing (RSTS)
system when the largest disk you could practically maintain was ~67MB,
and on the other hand dates, _especially_ in financial applications,
had to have a maximum one-day granularity, I recall that saving
the extra byte or two on every record was an important and neccessary
job. Also BTW, at the time Pascal was still very green (early '70s)
and not to be trusted for 'real' applications. Believe it or not,
some of the programmers of that day were not _complete_ idiots, what-
ever Mr. Holcroft thinks, and no - I do not have a vested interest of
any kind in the Y2K problem.

----------------------------------------------------------------------------
Usual disclaimers apply. All opinions are mine alone - perhaps not even
that
Mike Rechtman    rechtman@gezernet.co.il  
Kibbutz Tzor'a.    Voice (home): 972-2-9908337     
PSI%425120012117::Mike 
    "20% of a job takes 80% of the time, the rest takes another 80%"
----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
  1997-07-22  4:00         ` .. YEAR2000 help -- storage bunkum - it **WAS** stupidity Mike Rechtman
@ 1997-07-22  4:00           ` Mark Holcroft
  1997-07-23  4:00             ` William McBrine
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Holcroft @ 1997-07-22  4:00 UTC (permalink / raw)



Mike Rechtman wrote:
> 
> Mark Holcroft wrote:
> >
> > James Wilson wrote:
> >
> > > > Most operating systems are not the problem. Both UNIX and MS-DOS
> > > > should be fine up until about 2037. The problem is not the operating
> > > > system, it's a problem with short sighted sotware developers who
> > > > only use two digits in their date fields. This can happen on any OS.
> >
> 
> > > Hum.... as has been discussed on this and other groups before, the
> > > problem was not 'short sighted' programmers. Take your current PC,
> <<<snip>>>
> > > It was silly at the time to think of wasting all that space on 4 digit
> > > dates.
> >
> > The problem WAS short sighted programmers, and unimaginatively
> > short-sighted at that!  The specification of the machines is
> > not the issue, nor does it feature as mitigating circumstance.
> > Neither is lack of storage space an excuse.  It is entirely true
> > that the problem was then, and is now, to do with shortsightedness
> > and lack of imagination.  All problems are not necessarily solved
> > by a direct, literal translation from the problem domain into the
> > solution domain ( %^} ), and application of standard variable
> > types (which is why Pascal (inc UCSD Pascal :) ) has record types).
> <<< much flaming snipped >>>
> 
> As someone who had the privilege of working on a time-sharing (RSTS)
> system when the largest disk you could practically maintain was ~67MB,
> and on the other hand dates, _especially_ in financial applications,
> had to have a maximum one-day granularity, I recall that saving
> the extra byte or two on every record was an important and neccessary
> job. Also BTW, at the time Pascal was still very green (early '70s)
> and not to be trusted for 'real' applications. Believe it or not,
> some of the programmers of that day were not _complete_ idiots, what-
> ever Mr. Holcroft thinks, and no - I do not have a vested interest of
> any kind in the Y2K problem.

Ah but!!!

I'm not saying that PASCAL should have been used, nor am I saying
that extra storage space should have been used.  I demonstrated
a method that could have applied using as little as a 5bit
character set to extend the range of years expressible by 2 characters
well past 2000.  Please read & understand before you post.

I am saying exactly that other options were available, that were
overlooked, that would have implied no extra storage space,
would have added very little extra processor load.

You have example code in front of you, and you still can't
see that the Y2000 prolem is the FAULT of the people involved, and
that the excuses they use are dishonest!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
  1997-07-22  4:00           ` Mark Holcroft
@ 1997-07-23  4:00             ` William McBrine
  1997-07-23  4:00               ` Mark Holcroft
  0 siblings, 1 reply; 7+ messages in thread
From: William McBrine @ 1997-07-23  4:00 UTC (permalink / raw)



In comp.os.minix Mark Holcroft <mwh@sasib.co.uk> wrote:

: I demonstrated a method that could have applied using as little as a
: 5bit character set to extend the range of years expressible by 2
: characters well past 2000. 

That was pretty cool. But to take it further, why not a simple *one*-byte
(8-bit) *binary* number? Base it on 1900, and you're good until 2155 (or
2027, if you make it a signed number). I realize this wouldn't be
applicable in all situations, but similar solutions (to one or the other
of these approaches) should always be available. Decimal 99 only takes up
7 bits, with room for 28 numbers left over. And it's precisely those
leftovers that make the Y2K problem seem so silly. Computers don't count
in decimal... well, aside from BCD... which I suppose is just what the
afflicted programs are using. (?)

-- 
William McBrine    | http://www.clark.net/pub/wmcbrine/html/
wmcbrine@clark.net | Unsolicited commercial emailers will be annihilated



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
  1997-07-23  4:00             ` William McBrine
@ 1997-07-23  4:00               ` Mark Holcroft
  1997-07-24  4:00                 ` George Shouse
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Holcroft @ 1997-07-23  4:00 UTC (permalink / raw)



William McBrine wrote:
> 
> In comp.os.minix Mark Holcroft <mwh@sasib.co.uk> wrote:
> 
> : I demonstrated a method that could have applied using as little as a
> : 5bit character set to extend the range of years expressible by 2
> : characters well past 2000.
> 
> That was pretty cool. But to take it further, why not a simple 
> *one*-byte (8-bit) *binary* number? Base it on 1900, and you're good 
> until 2155 (or 2027, if you make it a signed number). 

Because all those Y2k apologists want their dates punched out
on 73 character cards, in exactly the same format as their
data files.... :(

favoured format for dates:

64 bit signed integer, representing days+- since April 12, 1961
Gives quite a tasty range.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
  1997-07-23  4:00               ` Mark Holcroft
@ 1997-07-24  4:00                 ` George Shouse
  1997-07-27  4:00                   ` Mark Holcroft
  1997-07-27  4:00                   ` Mark Holcroft
  0 siblings, 2 replies; 7+ messages in thread
From: George Shouse @ 1997-07-24  4:00 UTC (permalink / raw)



In article <33D5E2D8.1367@sasib.co.uk>, Mark Holcroft  <mwh@sasib.co.uk> wrote:
>William McBrine wrote:
:: 
:: In comp.os.minix Mark Holcroft <mwh@sasib.co.uk> wrote:
:: 
:: : I demonstrated a method that could have applied using as little as a
:: : 5bit character set to extend the range of years expressible by 2
:: : characters well past 2000.
:: 
:: That was pretty cool. But to take it further, why not a simple 
:: *one*-byte (8-bit) *binary* number? Base it on 1900, and you're good 
:: until 2155 (or 2027, if you make it a signed number). 
>
>Because all those Y2k apologists want their dates punched out
>on 73 character cards, in exactly the same format as their
>data files.... :(
>
>favoured format for dates:
>
>64 bit signed integer, representing days+- since April 12, 1961
>Gives quite a tasty range.

Why not use 17-Nov-1858?
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
George Shouse                                     ghshouse@oac.uci.edu 
University of California at Irvine    Information and Computer Science



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
  1997-07-24  4:00                 ` George Shouse
@ 1997-07-27  4:00                   ` Mark Holcroft
  1997-07-27  4:00                   ` Mark Holcroft
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Holcroft @ 1997-07-27  4:00 UTC (permalink / raw)



George Shouse wrote:

> >favoured format for dates:

> >64 bit signed integer, representing days+- since April 12, 1961
> >Gives quite a tasty range.

> Why not use 17-Nov-1858?

Why 17 Nov 1858, apart from it being the base date of the U.S. Naval 
Observatory's ephemerides

?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: .. YEAR2000 help -- storage bunkum - it **WAS** stupidity
  1997-07-24  4:00                 ` George Shouse
  1997-07-27  4:00                   ` Mark Holcroft
@ 1997-07-27  4:00                   ` Mark Holcroft
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Holcroft @ 1997-07-27  4:00 UTC (permalink / raw)



George Shouse wrote:
> 
> In article <33D5E2D8.1367@sasib.co.uk>, Mark Holcroft  <mwh@sasib.co.uk> wrote:
> >William McBrine wrote:
> ::
> :: In comp.os.minix Mark Holcroft <mwh@sasib.co.uk> wrote:
> ::
> :: : I demonstrated a method that could have applied using as little as a
> :: : 5bit character set to extend the range of years expressible by 2
> :: : characters well past 2000.
> ::
> :: That was pretty cool. But to take it further, why not a simple
> :: *one*-byte (8-bit) *binary* number? Base it on 1900, and you're good
> :: until 2155 (or 2027, if you make it a signed number).
> >
> >Because all those Y2k apologists want their dates punched out
> >on 73 character cards, in exactly the same format as their
> >data files.... :(
> >
> >favoured format for dates:
> >
> >64 bit signed integer, representing days+- since April 12, 1961
> >Gives quite a tasty range.
> 
> Why not use 17-Nov-1858?
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> George Shouse                                     ghshouse@oac.uci.edu
> University of California at Irvine    Information and Computer Science

The question is:

> Why not use 17-Nov-1858?

A related question is:

>What is a Modified Julian Date (MJD)? 

The answer (to Q2) is:

This is a continuous count of the number of days elapsed since 17 
November 1858. It is often more useful than conventional calendar dates 
for record keeping over long periods of time, since the MJD's of two 
events can easily be subtracted to determine the time difference in 
days. Usually, the MJD is specified as a number with 5 significant 
digits. As an example, the MJD for 1 January 1995 is 49718, meaning 
that this many days have elapsed between 17 November 1858 and 1 January 
1995. 

But is there anything else special about 17 november, 1858???

i.e. what happened then?

i.e the equestion (number 3) is:

> Why use 17-Nov-1858?

my choice of April 12, 1961 being the date man first left the 
confines of earth's gravity.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-07-27  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <01bc819c$88c93420$0b3ba8c2@default>
     [not found] ` <**empire-0207971352220001@d61.cia.com.au>
     [not found]   ` <33BB036D.50EE@magna.com.au>
     [not found]     ` <33BCBB45.5B60@cabot.co.uk>
     [not found]       ` <33D1F009.758@sasib.co.uk>
1997-07-22  4:00         ` .. YEAR2000 help -- storage bunkum - it **WAS** stupidity Mike Rechtman
1997-07-22  4:00           ` Mark Holcroft
1997-07-23  4:00             ` William McBrine
1997-07-23  4:00               ` Mark Holcroft
1997-07-24  4:00                 ` George Shouse
1997-07-27  4:00                   ` Mark Holcroft
1997-07-27  4:00                   ` Mark Holcroft

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