Article View: alt.folklore.computers
Article #4375Stupid users, stupid TAs
From: roe... Roeber Frederick
Date: Sun, 02 Sep 1990 15:38
Date: Sun, 02 Sep 1990 15:38
31 lines
2321 bytes
2321 bytes
When I was TAing/teaching a class, I once had a student turn in his hardcopy, with the disk with the softcopy stapled to it.. In article <DAVEG.90S...@near.cs.caltech.edu>, da...@near.cs.caltech.edu (Dave Gillespie) writes... >How many times have we all warned beginning programmers to cross their >t's and dot their i's: "Store through an uninitialized pointer, and >the computer could do anything---it could even run amok and delete all >your files!" > >Okay, folks: Have you ever had a bug in an innocent little program >that really did delete all your files? Reformat the hard disk? Send >rude mail to your mother? (Well, probably not that.) I did. Back when I was learning C, and didn't yet fully understand arrays, pointers, and multidimensional variable-length combinations of the above, I wrote a test program that did some massive NULL and near-NULL dereferencing. When I ran it, the hard disk light went on and stayed on, I think it clunked a little while, and hung. After power cycling, the machine refused to boot. I think we had to re-format the HD and reload from backups. As I recall, it was a PC-AT with DOS (and Xenix, which went unused); the compiler was Lattice's of about five years ago. I'm better now, thanks. -- Frederick. -------------------------<< Frederick G.M. Roeber >>-------------------------- roe...@caltech.edu or | Bat. 864, 2-A18 | Disclaimer: Are you kidding? If roeber@caltech.bitnet | CERN, SL Div. | more people shared my opinions, the +41 22 767 53 73 | Geneva, Switz. | world would be a much happier place! ------------------------------------------------------------------------------
Technical Details
Message-ID:
<1990Sep2.155123.27540@laguna.ccsf.caltech.edu>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!sunic!hagbard!eru!bloom-beacon!snorkelwacker!usc!jarthur!nntp-server.caltech.edu!nntp-server.caltech.edu!laguna.ccsf.caltech.edu!davegShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!sunic!hagbard!eru!bloom-beacon!snorkelwacker!usc!jarthur!nntp-server.caltech.edu!nntp-server.caltech.edu!laguna.ccsf.caltech.edu!daveg From: roe...@portia.caltech.edu (Roeber, Frederick) Newsgroups: alt.folklore.computers Subject: Stupid users, stupid TAs Message-ID: <1990Sep2.155123.27540@laguna.ccsf.caltech.edu> Date: 2 Sep 90 15:38:22 GMT Sender: ne...@laguna.ccsf.caltech.edu Reply-To: roe...@portia.caltech.edu Organization: California Institute of Technology Lines: 31 Posted: Sun Sep 2 16:38:22 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit