Click here to Skip to main content
15,913,570 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
Nagy Vilmos28-Mar-19 2:56
professionalNagy Vilmos28-Mar-19 2:56 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
  Forogar  28-Mar-19 4:51
professional  Forogar  28-Mar-19 4:51 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
Gary Wheeler28-Mar-19 6:46
Gary Wheeler28-Mar-19 6:46 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
User 5924127-Mar-19 17:16
User 5924127-Mar-19 17:16 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
OriginalGriff27-Mar-19 22:55
mveOriginalGriff27-Mar-19 22:55 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
Daniel Pfeffer27-Mar-19 23:26
professionalDaniel Pfeffer27-Mar-19 23:26 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
PeejayAdams27-Mar-19 23:44
PeejayAdams27-Mar-19 23:44 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
kalberts28-Mar-19 0:13
kalberts28-Mar-19 0:13 
Millenium bug? A program storing dates either with 4 digit year (or actually anything else than 2 digit "mod 100" style) encountered no problems with the new millennium. Assuming, of course, that the OS didn't crash or deliver the wrong values. My guess is that the OS used in 1958 was so primitive that it had few if any built-in calendar-related functions beyond reporting the current date and time. As long as that report didn't use a mod 100 year value, you'd be fine.

Related anecdote:

The University of Copenhagen ran a huge Univac 1100 mainframe, from the days when CMOS and battery backed up real-time clocks had't been invented yet. So if the machine was rebooted (which could be due to normal maintenance), the operator had to set the current time manually. At one reboot, the operator happended to mistype the year, setting the machine 10 years into the future. It wouldn't be that dramatic, if they hadn't - before the mistake was discovered - run the program deleting all files that hadn't been accessed for six months. ("On a clear disk, you can seek forever"...)

There is a second part to this story: The data wasn't actually deleted. Storage for large systems was heavily tape based in those days. Univac had a very compact format where all the metadata, the catalog information with pointers to the data blocks, were kept on disk. Only the data blocks themselves were written to tape ... without any metadata. So all the data blocks were there, but with no pointers to them. No indication of which data blocks belonged to which file.

(This was a well known "real life" story in my student days - my U had two huge Univac 1100 mainframes; the operators loved to tell about this incident. I never saw any "hard" documentation. If anyone can point me to reliable sources, I'd be happy!)
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
OriginalGriff28-Mar-19 0:27
mveOriginalGriff28-Mar-19 0:27 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
GKP199228-Mar-19 1:59
professionalGKP199228-Mar-19 1:59 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
kalberts28-Mar-19 3:46
kalberts28-Mar-19 3:46 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
jsc4228-Mar-19 4:25
professionaljsc4228-Mar-19 4:25 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
kalberts28-Mar-19 6:16
kalberts28-Mar-19 6:16 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
Bassam Abdul-Baki28-Mar-19 0:04
professionalBassam Abdul-Baki28-Mar-19 0:04 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
OriginalGriff28-Mar-19 0:29
mveOriginalGriff28-Mar-19 0:29 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
kalberts28-Mar-19 4:01
kalberts28-Mar-19 4:01 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
megaadam28-Mar-19 6:06
professionalmegaadam28-Mar-19 6:06 
GeneralRe: A Programming Question (Now That Chris is On Vacation) Pin
kalberts28-Mar-19 6:37
kalberts28-Mar-19 6:37 
JokeConfused... Pin
Mike Hankey27-Mar-19 11:31
mveMike Hankey27-Mar-19 11:31 
GeneralRe: Confused... Pin
CodeWraith27-Mar-19 11:37
CodeWraith27-Mar-19 11:37 
GeneralRe: Confused... Pin
Mike Hankey27-Mar-19 11:38
mveMike Hankey27-Mar-19 11:38 
GeneralRe: Confused... Pin
Mark_Wallace27-Mar-19 12:15
Mark_Wallace27-Mar-19 12:15 
GeneralRe: Confused... Pin
GuyThiebaut27-Mar-19 22:18
professionalGuyThiebaut27-Mar-19 22:18 
GeneralRe: Confused... Pin
dandy7227-Mar-19 13:02
dandy7227-Mar-19 13:02 
GeneralRe: Confused... Pin
Marc Clifton27-Mar-19 14:31
mvaMarc Clifton27-Mar-19 14:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.