Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesA Hot Night at the Opera


December 1996 / Pournelle / A Hot Night at the Opera

A heat wave and disk errors plague Chaos Manor, causing Jerry to reach out for the Panic box.

Jerry Pournelle

The good news, at least for me, is that my new writing schedule is working just fine. In the last month, I've produced a thousand words a day on my novel Starswarm , and it's only three scenes from being done. The bad news is that I've had less time to play with computer stuff, meaning that it's short-shrift time at Chaos Manor.

One of the things I wanted to do was experiment with making CD-ROMs. We have two separate CD-ROM-making systems, one external, the other built into Joizy, Mrs. Pournelle's Gateway 2000 P-5 200XL. Joizy remains, with one exception, the faste st machine in the house. Roberta uses it heavily, and it w orks just fine. We'll get to the CD-ROM makers Real Soon Now.

The exception is interesting. The fastest machine in the house appears to be the Diamond Flower Doubleshot 133 dual-Pentium system running under Windows NT 4.0.

Of course, this business of what's fastest depends greatly on what you're doing with the machine. If you run a lot of DOS programs and make heavy use of network resources, dual-processor systems with NT 4.0 are a pretty clear win. If you're heavily into graphics, the speed you get depends as much on the video board as the CPU, but even so, a good dual-processor system will probably be a win. Certainly, the Intergraph TDZ-400 was, while we had it, by far the fastest system at Chaos Manor.

I haven't had any problems with NT 4.0, but I keep reading about incompatibilities. Apparently, Quicken users have to go through weird and arcane rituals to get America's favorite financial product to work with NT 4.0.

Meanwhile, just as I was about ready to write off OS/2 d ue to lack of IBM's support for it, friends inside IBM tell me that a symmetric-multiprocessing (SMP) version of OS/2 Warp Server has just been released. I also hear that SMP for Merlin is in alpha testing and could be released about the first of the year. There are some problems with applications I'll get to later, but support for multiple processors could put OS/2 back in the ball game: speed and stability in one package.

In many cases, however, it won't matter: the speed advantages are real, but you don't much care because you don't notice a saving of a couple of seconds. Under my new writing system, I write upstairs in what used to be Alex's room, using a standard Gateway 2000 486DX2/66 running Microsoft Word 6.0c.

I have a bit over 200 pages -- 70,000 words -- finished. Another 10 pages of notes are tacked on at the end, meaning that when I write, I'm pushing those words down to make room for new text. Every now and then, there's just enough drag that I notice it, but it's fast enough that I don' t really care.

Although Word has a fast-save option, it's something I don't use. I have Word set to save the whole document and keep a backup copy every time I save (which I strongly advise you to do). Moreover, I began writing with computers back in CP/M days, and I developed the habit of saving early and often, generally at the end of every paragraph.

This means saving the entire 70,000 words of the manuscript every minute or so; and that works just fine, taking no more than a few seconds. In other words, fast enough is fast enough.

Things continue to happen at Chaos Manor. A few days ago, we went to the gala opening of the new Los Angeles Opera season. It was I Pagliacci , directed by Franco Zeffirelli and starring Placido Domingo. Wonderful: more like a modern musical than a grand opera.

While we were out, Alex came over, and he opened all the windows in my regular office. I've got air conditioning in the monkish cell where I now write, but when I came there in the afternoon, I didn't bother to button up and start the air conditioning, so it got pretty hot up there. Then on Sunday, the one day I don't work on my novel, I came up from breakfast to find a "blue screen" on Cyrus, the Cyrix 6x86-P166. This one announced that it had been unable to write to drive C. I'd seen that screen before and assumed that it probably was generated by System Agent or First Aid 95 Deluxe doing some kind of routine background check and getting hung up on the screen saver.

The screen said press any key to continue, and when I did, all seemed well.

One of the programs I scheduled for this month's column is DiskMapper, from Micro Logic, the company that publishes Info Select. DiskMapper gives you a visual picture of what's on your hard drive. It does this by calculating the size of each file, subdirectory, and directory, including "free space," which it shows as one big directory. Then it puts up a map in which each directory and subdirectory appears as a rectangle whose area is propo rtional to the space it takes up on your drive. You can then click on those, and it will expand that area to a new level. The result is that you can see at a glance just what's eating your disk space.

DiskMapper works just fine with all kinds of hard drives, including removable drives. It also works with networked drives, but it is a bit slow with them. When DiskMapper is running on a Windows 95 (Win 95) drive and looks across the network at a large NT drive, it gets a little confused. It seems to map everything all right, but it reports the total drive size wrong.

I had DiskMapper installed on Pentafluge, a Pentium 60 system. Pentafluge has been my main machine for some time, but he's a bit out of date, and I'm contemplating changing systems. One candidate is Cyrus, and one step in the process is transferring Pentafluge's essential software, which includes utilities like DiskMapper.

Running DiskMapper showed that a game called Heroes of Might and Magic took up a humongous chunk of space on Cyrus. Heroes is one of those games I thought I'd like, but it didn't hold up. Some years ago, Chris Crawford said that good computer games need "the illusion of winnability": the game ought to be too hard for you, but you shouldn't know that. I presume he was thinking of arcade games like Space Invader, where no matter what you do, there's always another level that's even tougher. I prefer "the illusion of losability": I like to win, not be defeated.

Anyway, Heroes seems to follow Crawford's philosophy. Eventually, I went after it with a disk editor to give myself more money and larger armies. I discovered that while the game got tougher and tougher, it got no more interesting. Each new episode had the same features as the last, just arranged differently, with added silliness such as maze-like forests and hedgerows to make everything take three times as long. One day I just quit playing it. Now it was taking up a lot of disk space.

I never throw anything away. The simplest thing I could have done would hav e been to keep my highest-level save and throw the rest away, on the theory that I could always reinstall the game. Instead, I used Drag and File for Windows 95/NT (DF95/NT) to "move" the entire Heroes directory (and subdirectories) across the network to a Micropolis 4-GB hard drive running under Windows NT.

That was a big mistake.

DF95/NT has the neat feature that you can tell it to copy (or move) only updated files, so when you're copying an enormous directory, you don't have to copy anything that's already been copied. Moreover, you can install DF95/NT on a server and run it locally. It's a good utility for copying, but I don't recommend it for moving files. In fact, I don't recommend moving files at all. Copy them, and when you know you have a good copy, erase the originals. That takes a little longer, but it's a lot safer.

If you do move files, don't use DF95/NT because it doesn't recover gracefully from disk errors; and I got a disk error. About 90 percent through the move, I got the blue screen: Unable to Write to Drive C, Press Any Key to Continue. Alas, pressing any key didn't continue. Pressing any key got a partial restart of DF95/NT, but that program was completely confused. It trundled for a second, and then the system locked up completely. Ungood.

Ctrl-Alt-Del did nothing, nor did anything else, so I hit the reset button. This time a new message appeared: "No Operating System." Double ungood.

Turn it off and let it sit awhile, something I should have done in the first place. Sometimes reset doesn't erase all the cache memory. This time, Win 95 came up, but just as it was completing its start-ups, I got a new blue-screen error. Double plus ungood. I turned the system off before more damage was done.

Heat, I thought. A couple of my advisers had wondered about the airflow in Cyrus, and it was over 90° in the office, uncomfortable enough that I was about to turn on the air conditioning. I decided to put that off; I might as well finish this under the co nditions I started with.

I have a box labeled Panic. It includes several flavors of DOS boot floppy disks. I fished out one and turned on the power. Cyrus came up just fine. I ran CHKDSK on C, and sure enough, there were a number of errors, which I did not let CHKDSK fix. Time for more potent magic.

One essential item in my Panic box is Norton Utilities for Windows 95 Emergency Disk (Bootable). I put it in the floppy drive, turned off the power, counted 10, and fired up the system again. Norton Disk Doctor (NDD) appeared and found there was no file-allocation-table (FAT) entry for the subdirectory HEROES. Apparently, the "Unable to Write" error happened while DF95/NT was trying to update the FAT after deleting a file or subdirectory. NDD fixed the problem and scanned the disk for media surface errors. It found none.

Now Win 95 loaded correctly. The next step was to run Golden Bow's Vopt. It's not that I don't trust the Norton defrag program, but over the years, I have come to have full co nfidence in Golden Bow utilities. Moreover, although Vopt is a 32-bit program, it shuts down Win 95 and runs itself from DOS to assure complete control over disk writes. Sure enough, in the course of defragging the C drive, Vopt reported a write error. I told it to retry. Everything went well, but it sure seemed like there was a weak sector on that disk. Back in Win 95, I tried NDD complete with media scan, but it reported nothing.

Vopt used to come with a program called Vmarkbad. It found and marked bad sectors; alas, the newest version did not appear to have that. I later discovered it was still there but had been renamed Vscan. In any case, I had already moved on to the next step, which was to try Win 95's ScanDisk utility. I ran ScanDisk, and when I did, Lo!, it found a bad sector, which it marked. To be sure of that, I ran Vmap, which comes with Vopt, and sure enough, one sector now sported a little red bad-sector mark. If you don't have the Vopt utilities, they're worth having.

It was now hot en ough that I figured to heck with tests, so I closed all the windows and started up the air conditioning. Then I ran all kinds of programs on Cyrus. I deleted the rest of the HEROES subdirectory. I ran Golden Bow's null file detector, discovering that both Microsoft Office and Corel Office Professional 7 create beaucoup empty files as well as directories. I killed off a lot of null files, did extensive disk operations, and let it run overnight. So far, all is well.

I still don't know if my "Unable to Write" blue-screen errors were caused by that soft sector on the disk, or by the hot weather, or whether the heat caused the disk error. I do know that once again NDD was a lifesaver, and it's worthwhile having the bootable Norton Utilities for Windows 95 Emergency Disk in my Panic box. On the other hand, NDD didn't find the bad sector, whereas ScanDisk did.

A final note: I didn't panic, because everything important had been backed up across the network, with really important work copied in at least two pl aces. A backup system is no good unless you'll use it. It's easy to get in the habit of copying to a networked drive.

Usually, I'm sure the Internet wasn't designed to drive me crazy, but there are times when I wonder.

One of the most useful utilities ever written was Norton Commander. It's a DOS program that was useful from its first days and just kept getting better and better. For me, it became so indispensable that it was almost always the first thing I installed on a new computer.

Norton Commander is primarily a smart file manager. It also contains built-in viewers for a number of file formats, a utility editor that makes altering CONFIG.SYS and AUTOEXEC.BAT a snap, and a bunch of other stuff.

The final version even had a routine that would automatically call MCI and get your e-mail. That feature is obsolete now -- it worked only at 2400 bps anyway -- but I still use Norton Commander for nearly everything else. Alas, it has to run in a DOS window, and it doesn't understan d long filenames.

The last time I wrote about Norton Commander, a number of readers advised me that there's a shareware program called Windows Commander, written by Christian Ghisler. It's similar to Norton Commander, and it understands long filenames.

This morning, I decided I'd look for Windows Commander. I first tried a search on "Commander" from EarthLink Network's home-page search system. I got 12,000 hits, and the first 20 all had to do with the game Wing Commander. Time to be a bit more selective. The AltaVista search engine accepts search strings in the form Windows +Commander, where the plus sign means that both words must be found. That still produced about 2000 hits, but the first 20 clearly referred to shareware programs that were called Windows Commander. Alas, they also contained lots of odd characters and numbers in place of text in their summaries.

My first thought was that all that garbage was due to unsupported fonts. It sure would be nice if AltaVista would add a feature that le t you force searches in one language only.

Due to sloth, I have been using Netscape Navigator 2.0. Clearly, it was time to upgrade to version 3.0 and see if that would make a difference.

Netscape Navigator Gold 3.0 is a 6-MB self-extracting file. It takes a while to download. Alas, I hadn't turned off my screen saver when I began the download; about 2 MB into the process, the screen saver kicked in. When I got back in control, Navigator said "Document Done" at the bottom, and there was a 2.2-MB file in my TEMP subdirectory, with no indication that anything had gone wrong. If I hadn't known that the file was supposed to be larger than that, I would have thought all was well. Of course, I'd have found out when I tried to run it.

There was nothing for it but to start over. I got distracted and forgot to turn off the screen saver before I started, but this time I made sure to wiggle the mouse every few minutes. I wished mightily that Win 95 had the Don't Sleep feature from Berkeley's screen savers. I realize that Win 95 is multitasking, and I probably could have turned off the screen saver while downloading in the background. I guess deep down, however, I don't trust multitasking and Internet downloads, and it wasn't that hard to wiggle the mouse every few minutes. Anyway, it downloaded just fine. Now to install it.

Navigator wants you to shut down everything, including the Internet connection, while you install its upgrade, after which it wants to get back on the Internet to call home, report what you've done, and download some more parts. It also offers you all kinds of options for plug-ins and accessories. The process is pretty straightforward unless you want to pay for the upgrade; to do that, you have to fill out a screen form, and part of the form is off the bottom of the screen. The "CONTINUE" button is on the top of the screen, and there is absolutely no indication that you haven't filled everything out. I tried to pay three times before I figured out that I had to scroll the screen.

Event ually I had Netscape Navigator Gold 3.0 installed, and I have to say it's pretty snappy.

Next thing was to find Windows Commander. I remembered that one reader had given me site addresses, and I was able to find that e-mail in my archive. One site is http://www.shareware.com , and it's very much worth knowing about, being an enormous collection of Mac, DOS, and Windows 3.x, 95, and NT freeware and shareware. It includes Windows Commander, which is a 600-KB ZIP file.

Navigator Gold 3.0 comes with a bunch of plug-ins and links, and one of those connects to WinZip, a wonderful utility that essentially automates ZIP operations. Alas, when Navigator downloads a ZIP file, it invokes WinZip, which is a viewer. If it has any provision for just saving the blasted ZIP file, I can't find it. The result was that I saw a file called wcmd211.zip in my D:\TEMP directory. I knew it was there because I went out to Windows and looked to see that it was in the directory. Unfortunately, when I went looking for the file later, it wasn't there. Gone. Vanished. And I hadn't installed a thing.

Back to shareware.com. Download again. This time, when I saw wcmd211.zip appear in the directory, I used Norton Commander to copy it to another directory. I told WinZip to run the install.exe file that was included in the ZIP directory. The installation went smoothly.

Windows Commander works, and while it's not Norton Commander, it's pretty good. There are even some features the original didn't have.However, I still like the look and feel of Norton Commander. I keep hoping Symantec will upgrade it to Win 95, but until then, I plan to send in my shareware fee and keep Windows Commander.

Meanwhile, by gollies, although I had seen wcmd211.zip in my D:\TEMP directory, it isn't there now. On the other hand, the copy I made into another d irectory seems to be intact. On the gripping hand, I don't really need it since the installation program put the expanded files it contains into the appropriate places, and everything works.

I suppose there's some explanation of the interaction between Netscape Navigator Gold 3.0 and WinZip, but I can't find it. Be wary. Just because you think you downloaded a file and wanted to keep it doesn't mean it will stay around. Don't we all love smart programs that know what you want better than you do?

Meanwhile, if you spend a lot of time on the Net, you may find Starfish Internet Utilities a good investment. One feature, the InternetMeter, which keeps track of your on-line time and charges, is more useful to those who don't have flat-rate connect services; of course, nearly everyone has flat rate now. Still, it may be worthwhile knowing just how much time you're wasting.

The most useful feature is QuickMarks, which keeps track of your bookmarks regardless of which browser you're using, even if you freq uently change from Netscape Navigator to Microsoft Internet Explorer and back. QuickMarks allows you to organize and sort bookmarks so they're easier to find, and has a search feature in case you lose track of them. If you spend much time at all playing with the Internet, you'll accumulate a lot of bookmarks, and QuickMarks is the easiest way I know to organize them.

Granted, there are shareware versions of most features of Starfish Internet Utilities, but Starfish integrates them well, and the bookmark utility alone is well worth the program's price.

I said earlier that I'd get back to OS/2. I keep hoping IBM will do something with it, but I doubt they will. OS/2 has the potential to be a rival to both Win 95 and NT. IBM believes in solid code, understands servers very well, and used to understand marketing, particularly in corporate settings. They were never famous for mass marketing, but they sold a lot of IBM PCs and still sell ThinkPads as fast as they can make them.

Once upo n a time, it was the in thing to bash Big Blue, and some people wanted to be admired as courageous for doing it, although I never quite understood why. I started with the opposite bias: back in the 1950s, IBM gave the University of Washington an IBM 650. They offered free programming lessons to any graduate student willing to go downtown to IBM headquarters and take the classes. I jumped at the chance, and for many years after, to me a computer meant IBM; I knew in a vague sort of way that IBM had rivals, but I doubt I could have named them.

They're still at the top in the server market, and they have server software for everything from desktops to the largest mainframes. They still have some of the best programmers in the world. They still have enormous resources.

What they don't seem to have is the ability to form strategic alliances with anyone but potential competitors.

Suppose they could do it. In particular, suppose they do whatever it takes to induce Corel to bring out the WordPerfect Suite for Merlin, it launches at the same time as Merlin SMP, and suddenly you can buy an OS, an applications suite, and great server software in one package, all integrated and simple to install in all IBM desktops and laptops. I think there would be quite a significant impact on the industry.

It's not even that hard to do. There won't be OS/2 support for Win 95 binary code, but IBM has written and published nearly all the APIs to let you recompile your source code. The only APIs that aren't out there deal with registry tweaking and security. Registry tweaking isn't nearly as good an idea as Microsoft thought it would be -- I certainly would prefer editable ASCII INI files to registry arcana -- and there's not a lot of security in Win 95 applications to begin with.

Alas, it's unlikely that IBM will go out and woo applications publishers, or learn how to market the result if they do, but it could happen, and it would be a very good thing for us all.

The CD-ROM of the month is DK Multimedia's Di nosaur Hunter. It's about what you'd expect, a trip through a virtual museum full of dinosaurs, and, of course, the CD-ROM can have a larger collection than any real museum.

Packaging CD-ROMs is a bit of a problem. The CD-ROM itself is small and thin and, like any CD, vulnerable to shoplifters in retail stores. On the other hand, if you put it into a bulky package, people expect more than just a CD for their money.

DK Multimedia's approach with Dinosaur Hunter is to give you a big heavy box with the Dinosaur Hunter CD-ROM, the EarthLink Total Access CD-ROM, a password to an Internet dinosaur information site, a pocket-size color handbook with at least as much information as there is on the CD-ROM, and a cardboard dinosaur-bones model that, if assembled, looks like it would be about 3 feet high.

Nothing really spectacular here, but if you know of a kid who likes dinosaurs, this ought to be just right for Christmas.

The book of the month is Dave Barry in Cyberspace (Crown, ISBN 0-517-59575-3). Fair warning: Dave is a Chaos Manor fan; see page 4. If you like his style of humor and you read BYTE, you will love this book. I'm not making this up.

The computer book of the month is by Robert Orfali et al, The Essential Client/Server Survival Guide (Wiley, ISBN 0-471-15325-7). This book has more than you wanted to know about client/server and presents it interestingly. NetBIOS, NetBEUI, pipes, stacks, databases, why you need to know about client/server; it's all here, and as intranets become more important, you'll find out you really did want to know all that and more, you just didn't know you needed to know it. Readable as well as being a good reference for a few more years.

The question I most often get both in person and by mail is "How do I get your job?" I've taken a stab at answering it, but it came out so long you'll have to look at http://www.byte.com to read it. While you're there, you can find some thoughts on "mushpad" pointing devices -- my new Nimantics Orion 6X laptop has a mushpad, so I'm having to get used to it -- and a few other things I didn't have room for in the column.

Meanwhile, in the pipeline is David Em's report (with my comments) on high-end graphics cards; text to speech; a nifty program for translation of documents to or from German, Spanish, and French; more on Partition Magic and System Commander; and the usual problems that crop up at Chaos Manor.


Product Information


Dinosaur Hunter..........................about $30.00

DK Multimedia
New York, NY
Phone:    (800) 206-5713 or (212) 213-4800
Fax:      (212) 213-5240
Internet: 
http://www.dk.com

Circle 1015 on Inquiry Card.

DiskMapper.....................................$49.95

Micro Logic Corp.
Hackensack, NJ
Phone:    (800) 342-5930 or (201) 342-6518
Fax:      (201) 342-0370
Internet: 
http://www.miclog.com

Circle 1016 on Inquiry Card.

Drag and File for Windows 95/NT................$35.00

Canyon Software
San Rafael, CA
Phone:    (800) 280-3691 or (415) 453-9779
Fax:      (415) 453-6195
Internet: 
http://www.canyonsw.com

Circle 1017 on Inquiry Card.

Starfish Internet Utilities....................$69.95

Starfish Software
Scotts Valley, CA
Phone:    (888) 782-7347 or (408) 439-0942
Fax:      (408) 461-5900
Internet: 
http://www.starfishsoftware.com

Circle 1018 on Inquiry Card.

Vopt 5.11......................................$59.95

Golden Bow Systems, Inc.
San Diego, CA
Phone:    (800) 284-3269 or (619) 298-9349
Fax:      (619) 298-9950
E-mail:   
75471,1007@compuserve.com

Circle 1019 on Inquiry Card.

HotBYTEs
 - information on products covered or advertised in BYTE


Jerry Pournelle is a science fiction writer and BYTE's senior contributing editor. You can write to Je rry c/o BYTE, One Phoenix Mill Lane, Peterborough, NH 03458. Please include a self-addressed, stamped envelope and put your address on the letter as well as on the envelope. Due to the high volume of letters, Jerry cannot guarantee a personal reply. You can also contact him on the Internet or BIX at jerryp@bix.com .

Up to the Pournelle section contentsGo to next article: WEB EXCLUSIVE:  The Art of WritingSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network