It was a high-stakes game, and I won.

Who’s to say where the wind will take you
Who’s to know what it is will break you
I don’t know where the wind will blow
Who’s to know when the time has come around
I don’t wanna see you cry
I know that this is not goodbye
–U2, Kite

When I last left you, I was denying it was time to say goodbye to the data on a friend’s hard drive. I’d found some information on the Internet that promised to get her data back, but I hadn’t done it yet. As often is the case with the Internet, the instructions I found online for doing the job were close. They were not quite right, but they brought me close enough that I was able to make it work.

Removing Form.A from a FAT32 drive is difficult. I was able to verify its presence using the free-for-private-use F-Prot, but F-Prot wouldn’t remove it, Usenet reports to the contrary.

One word of warning: Do as I say, not as I do. The first thing I should have done was make a bit-for-bit backup copy of the drive. I didn’t do that right away. Norton Ghost will work, though it’s not exactly a bit-for-bit copy. A better approach is to get a mini-distribution of Linux and use the standard Unix dd command to make a backup copy. (For example: dd /dev/hda1 /dev/hda2 bs=1024k) Once you have a copy of the drive, work from the copy! If you don’t know how to do all this, do not attempt recovery yourself. It’s much too easy to mess up your drive beyond any hope of recovering your data. This information is presented for informational and entertainment purposes only. I make no representation whatsoever that this will work for you. For all I know it’ll install Gator on your computer and leave the dome light on in your car and erase all your VHS tapes.

I downloaded a utility called ivinit.exe from www.invircible.com (don’t e-mail me if their Web site is down; I could only get to their site about one time out of four myself). It’s a very limited utility; I’d chained the drive off another drive for recovery purposes but ivinit will only work on the primary partition on your C drive. So I disabled the primary drive. Ivinit found it and warned me that the MBR and its mirror didn’t match. I restored the MBR from its mirror, then rebooted. I re-enabled my primary drive, let it boot, and tried to access the drive. I got the invalid media type error again. I ran FDISK, which told me I had a single FAT32 partition. That was a good sign.

So I ran MBRWORK.exe, deleted the MBR and EMBR and told it to recover my partitions. It found a single FAT32 partition. Excellent. I rebooted, tried to read drive C, and… Yeah. Invalid media type paid me another unwelcome visit.

I ran the real-mode version of Norton Disk Doctor from a recent copy of Norton Utilities. You have to be very careful with Norton Disk Doctor; never run it unless you’re positive the version you have knows about FAT32. Otherwise, you’re setting your hard drive up for a train wreck. NDD wasn’t too happy. It wanted to scavenge and rebuild the partition table, and it didn’t offer me a chance to make a backup copy. I never let a low-level utility do anything that it won’t let me undo. I aborted.

At this point I wised up. I put an Intel 10/100 network card in the PC I was using to recover the data, plugged into my network, grabbed my magic network boot disk, and connected up to the big Windows 2000 computer I use for editing video. I ran Norton Ghost and told it to make an image of the disk. To my amazement, it found a single 3.8-gig FAT32 partition and started running through filenames!

Like I said, Ghost doesn’t normally do a bit-for-bit copy; it stores enough information to recreate a valid copy of your partition. If your partition isn’t quite valid, that means you don’t get an exact copy. The upside of that is that Ghost can be a useful data recovery tool, assuming it can make sense of your partition. And fortunately, it looks like it’ll make sense of partitions that Windows itself doesn’t want to touch.

Theoretically, I could have restored the data by just making an image with Ghost, then restoring the image immediately afterward.

Norton Disk Doctor revived the partition, and it revived it more quickly than a Ghost restore would have. Then I ran into another pitfall–everything in the root directory appeared OK, and most subdirectories one level deep were fine, but anything nested gave sector not found errors. Norton Disk Doctor offered to fix that stuff, but I had a gut feeling that I shouldn’t go that route. Any time there’s the possibility of bad sectors, I want SpinRite.

As soon as I ran SpinRite, it reminded me of why I should bring it into the game as quickly as possible. It reported that the drive’s CMOS parameters appeared incorrect and it was hesitant to continue. That’s good–incorrect CMOS parameters can cause the problems I was seeing. And trying to repair the drive with messed up CMOS parameters will lead to nothing good–something that Steve Gibson is certainly aware of, and something that Symantec may not necessarily care about. In this case, the parameters were wrong because I put the drive in another system and it defaulted to a different addressing method. Whenever you’re doing data recovery and you want to move the drive, you need to be sure you get addressing straight or you’ll do a whole lot more harm than good.

After I corrected the CMOS, a simple DIR /W /S ran through the entire drive with no complaints. Norton Disk Doctor found no filesystem errors or low-level errors. SpinRite doesn’t do anything about filesystem errors, which is why I went back to NDD–use NDD when you suspect filesystem problems, but always always turn surface-scan-type stuff over to SpinRite. And there’s no harm in running SpinRite first–it’ll alert you to problems that NDD might not notice.

Along the way I learned a whole lot more than I ever wanted to know about boot-sector viruses. AntiCMOS and Form were able to coexist together nicely, and on just about any computer purchased new between 1992 and 1996, they’d just happily infect any disk you used and you’d probably never be the wiser. With the release of Windows 95B and FAT32, Form became destructive. (Why should Microsoft test new filesystems for compatibility with old viruses?) Wendy told me the problem appeared after she left an old disk in the computer before she booted it up. I suspect their old computer picked up the virus at some point, and since it wasn’t destructive under DOS and Windows 3.1, they never noticed. The computer just happily infected disks. Boot sector viruses flourished in the early 90s, as everyone needed a boot disk to play Doom or other tricky DOS games, so people traded boot disks like recipes. As often as not, those boot disks carried viruses.

When I went to put the drive back in, the dreaded “Operating system not found” paid me a visit. I hadn’t wanted to try to boot off the drive while it was in another PC for obvious reasons. So I did the standard drill. First up: fdisk /mbr. Strikeout. Second: sys c:. Strikeout. Finally, God reached down with His two-by-four and smacked me upside the head to knock some sense into me. I ran plain old fdisk and found the problem–no active partition. So I set the partition to active, and boom. The system booted up and was its old self again. It seems like I always make that mistake.

Data recovery is definitely a trade or a skill, not a science or process.

Thirteen hours! Woo hoo!

It’s a beautiful day in the virushood, it’s a beautiful day for a virus, would you be my, could you be my…
Yes, today we hunted down and killed a couple of live Nimda specimens. I actually didn’t find any viruses whatsoever, but I found a number of PCs that I really liked. I kept trying to bet one of my coworkers they would float. Of course, that’s just my diabolical scheme, usually reserved for cantankerous Macintoshes. You get someone to bet you 10 bucks the thing doesn’t float, then throw it in the pond and see what happens. If it sinks, you’re out a problem. And if it floats? Well, that’s just proof that it’s a witch. And what do we do with witches? We build a bridge out of them! No, wait. That’s something else. Burn them!

Victim #1 was a P166 built by a local outfit called Intek. Intek is one of those clone shops that builds PCs out of the cheapest parts you can buy (including stuff even Packard Bell wouldn’t have touched) then sells for the price of a Dell or a Micron. But since it has an Intel processor in it and the place promises same-day service (which doesn’t always happen), CIOs fall for it. Anyway, I’ve seen 486DX2-66s that outperform this P166. And when I put the current version of Norton AntiVirus on it, it quit booting.

Personally, I think it’s time to just take the machine, slap a second NIC in it, and install a minimal Linux on it and make it a network bridge to keep a chatty Mac segment from killing the rest of the network, because that’s about all that PC is ever going to be good for in this day and age. But it’s not my decision.

We had one PC infected with PrettyPark. Of course, NAV deleted Files32.vxd but left all the registry entries behind, so the PC would no longer run any .exe files. I downloaded Symantec’s PrettyPark fix, but it looked, found no Files32.vxd, and pronounced the system clean. But thanks to the registry entries pointing to files32.vxd, no executable would run. So I faked it out. copy con: c:winntsystemfiles32.vxd, type some gobbledygook, then hit ctrl-z. Then, copy con: c:winntsystem32files32.vxd, type more gobbledygook, then hit ctrl-z. Run the fix again. Aha! We’re infected. Shall I clean you up? Why, thank you for asking, please do, kind sir.

Seeing as this PC sits on the desk of the head of the accounting department, I figured it’d be best to have it in working order for him this morning.

So. I’ve now worked something like 51 hours this week. And it’s Thursday. I have no social life. But once that paycheck comes in, I’ll be able to afford to have a very nice social life for a little while…

So I came home about 10:15, after stopping off at a gas station for a tank of gas (I was on E) and a beer. I very rarely drink, but I’ve been so tightly wound this week I figured I could use a little help unwinding. I threw in a microwave pizza, popped a beer, sat down, and wrote this. Now the pizza’s gone and the beer’s empty, and I’m not just tired, I’m also a little drowsy. That’s good. Hopefully that means I’m in for a good night, for the first time this week since Sunday.

And that was the last building that needed scanning. So now I can concentrate on my job. Currently I have about 25 trouble tickets open. Normally I have about four open at once. On any given day, four new ones should come in. On a good day I can close between five and eight. So now that the virus scanning’s done, I think the tickets will stop coming in faster than I can close them, but I’ve got a long road ahead to get caught up. Next week won’t be a 60-hour week, but it won’t be a 40 either.

Microsoft lives to see another day

Microsoft lives to see another day. I’m of two minds on the Microsoft breakup. As a good little Republican, I believe in free enterprise and history demonstrates again and again that the best way to kill something is to regulate it. Government is reasonably good at protecting us from thugs, when it wants to be, and it’s best at protecting us from thugs when it’s not meddling in things it’s not good at doing.
However, there is absolutely no doubt in my mind that Microsoft is a thug.

Microsoft rightfully recognized OS/2 as a threat to its empire and wanted to get it gone, quickly, before the public realized that Windows 3.1 was just a pile of unstable crap not worthy of being called beta software and started buying something that didn’t crash three times a day. Knowing that IBM is a big, slow company whose various divisions usually don’t even realize they’re part of the same behemoth, Microsoft attacked. As Windows 95’s release date grew nearer, Microsoft knew IBM’s PC division would want to sell Windows 95 pre-installed on their PCs, since no company wanted the distinction of being the only company that couldn’t sell you a Windows 95 PC. Microsoft told IBM that if they wanted to bundle Win95 with their PCs and continue to sell OS/2, well, then, they could just go buy their Windows 95 licences at retail.

Finally, IBM negotiated a compromise. They got their Win95 licenses, but at the price of not being able to market their vastly superior alternative anymore.

Microsoft saw a little company called Netscape as a threat, because its cofounder, a young, hotheaded programmer fresh out of college by the name of Marc Andreesen, publicly stated his ambitions to make his Web browser more important than the operating system it ran on. That’s a lofty goal. Strong talk. But what 23-year-old college graduate doesn’t walk across the stage thinking he or she can conquer the world? Bill Gates wouldn’t understand that feeling, seeing as he never managed to get a degree, but anyone else with the self-discipline to play the game for four years does. And when you’re Marc Andreesen, who managed to write both popular Web browsers, one of them while you’re still in college, you have more than a feeling you can change the world. You already know it. You have evidence! So of course you talk big.

Andreesen paid a tall price for thinking big and talking big. Microsoft went to NCSA and licensed the other Web browser Andreesen wrote, slapped its logo on it, and called it Internet Explorer. Initially they sold it as part of the Plus pack, but since Netscape was a far better browser, Microsoft wisely decided to compete on price. They improved it and started giving it away. Back when the Japanese started selling minivans at below cost, it was called dumping. But laws that apply to everything else don’t apply to computer software, because lawmakers and judges are morons who have no understanding of technology, and Gates, being the son of a lawyer, knew it. So Microsoft got away with it. Netscape, unable to compete, died a very slow, painful death.

But consumers are so much better off now, aren’t they? Rather than pay for a Web browser that sometimes crashes (or, as usually was the case, getting it for free when they sign up with an ISP who bought a bunch of Netscape licenses in bulk), they get a browser/operating system combo that crashes a lot and often takes the whole system down with it.

Now, somehow, a tiny company in Seattle that specializes in streaming audio is a threat to Microsoft’s OS monopoly. I guess when people are listening to underground radio stations using a piece of software that doesn’t display Microsoft’s Windows logo, they’re not thinking wonderful and lovely thoughts about Microsoft and therefore they’re a threat. So Microsoft makes streaming audio part of the OS and foists it on people, even if they don’t have a sound card. Listening to MP3s is an essential, inseperable function of the operating system, after all.

Now, RealAudio makes my life pure hell sometimes and I’d love to see the company roll over and die. But just because they had a good idea and a poor implementation and ambition to grow doesn’t give Microsoft the right to kill them just because they have a product the marketplace likes and some day might use that revenue to become bigger competition than they are now. The logical conclusion of that logic is for Microsoft to send out hit men to take out any programmer who dares work for somebody other than Microsoft or a company like Symantec or Adobe that Microsoft can wrap around its little finger.

And yes, Justice Penfield Jackson is a moron with a big mouth. He was understandably livid at Microsoft for its courtroom antics and doublespeak. However, rather than opening his mouth, ordering their breakup, then opening his mouth some more, he should have just held them in contempt of court. They fabricated evidence when they shot the video that attempted to prove that Edward Felten’s program didn’t work. Jackson caught them. The solution isn’t to extract revenge by opening your mouth outside the courtroom. That’s just stooping to Microsoft’s level. Holding them in contempt and saying why would have been more than enough.

But it’s increasingly looking like none of this matters, for once. Microsoft’s back to its old tricks, bundling more and more stuff that people may or may not want into their operating system, and now they’re doing more than just bullying their competitors. They’re bullying their customers as well. Not many companies will appreciate Microsoft forcing them to spend thousands of dollars to prove they’ve never ever installed a copy of Windows twice. The companies that are guilty, of course, have no leg to stand on. But a lot of companies end up paying for Windows twice. A copy of Windows comes with every PC they buy, but as part of a volume agreement with Microsoft, they end up buying, for whatever reason, an additional copy of Windows for every PC on their network. But now that Microsoft is flailing around for revenue, you’re guilty until proven innocent. If you own one PC and Microsoft knows about it, then it’s entirely possible you own two PCs and you loaded your copy of Windows on it too.

Some of the audited companies are understandably upset and suddenly looking for alternatives, where they were formerly in Microsoft’s camp 100%.

And, of course, Microsoft’s attempts to force people into upgrading, even when Windows 95 and Office 95 are perfectly suited to many tasks, will alienate some. Microsoft’s oft-misunderstood .Net initiative has infuriated people that I never expected to leave the Microsoft camp. Some buy right into it, but some always do. Meanwhile, Linux and its associated software marches on, getting better every day. Ironically, a similar tactic that Microsoft used to murder Netscape in cold blood–giving the software away for free–now threatens the cash cow of NT/2000 server. Servers are enormously profitable–you just take your desktop OS, call it a server, charge five times as much for it, and then charge a few bucks per seat for the privelige of connecting to it. The real cost of a Windows NT/2000 server usually runs five figures. And most companies have several servers. Linux, meanwhile, is low-cost (free if you want), more stable, and more versatile.

Since Microsoft’s current business model requires not just profits, but sustained exponential growth, Linux’s attacks on the server front may allow justice to finally be administered, no matter how incompetent the U.S. Government’s Keystone Kops turn out to be.

One can only hope.

Finding an open-source alternative to Ghost

Finding an open-source alternative to Ghost. Have I mentioned lately just how pathetic a software company Symantec is? Norton Utilities is adequate, don’t get me wrong. But I don’t think I’d put Norton AntiVirus on any computer that I wanted to work right. I’d give you my opinion of McAfee’s product, but that’s a violation of the license agreement, so I’ll give you my opinion of the company instead. They’d rather spend their time and money and energy keeping you from talking about their products than they would making them worth buying.
So, anyway. Since Symantec is making my life difficult, why do we keep rewarding them by buying Ghost licenses over and over again?

Knowing that the Unix command dd if=/dev/hda of=[filename] makes a bit-for-bit copy of a hard drive, I sought to utilize the Linux kernel and dd as an alternative. Pipe it through bzip2 and it’d be great, right?

Uh, no. I imaged a 1.6-gig HD that had about 400 MB in use. About an hour later, I had a 900 MB disk image. This is bad. Very bad. Ghost would have given me a 250-300 MB image in 15 minutes.

But then I stumbled across PartImage, which does an intelligent, files-only disk image like Ghost does. It’s fast, it’s small, it works. NTFS support is experimental, but as long as you defragment your drive before you try to make an image, it seems to do fine.

However, it doesn’t do a full disk clone like Ghost does. Not yet, at least. Not on its own, at least. But this is Unix. Where there’s a will, there are 47 ways.

First, dump your partition table: sfdisk -d /dev/hda > table

Next, get your MBR: dd if=/dev/hda of=mbr bs=512 count=1

Yes, Eagle Eye, dd does grab your partition table. But restoring the table with DD will only get your primary partition(s). It won’t get your extended partitions, so that’s why sfdisk is necessary.

Now that we’ve got that detail out of the way, you can use PartImage to create images of all your disk partitions. It’s menu driven like Ghost. It’s text mode and not graphics-mode, so it’s not as pretty, but it’s also a fraction of the size.

Got your files made? Great. Now, to make the clone, you reverse it.

Write out the MBR: dd if=mbr of=/dev/hda bs=512 count=1

Re-create your partition layout: sfdisk /dev/hda

Then restore your partitions, one at a time, using PartImage either in interactive mode or with command-line switches.

It's a lot to remember, so the best bet would be to dump the images plus these two small files to a CD, make a Linux boot floppy containing dd, sfdisk, and partimage, and write a shell script that does it all. Then you can think about getting fancy and making a bootable CD that holds all of it and restores a system lickety-split.

A lot of trouble? Ugh. Yeah. Worth it? Probably. Ghost licenses aren't cheap, and PartImage has the potential to be a whole lot quicker, since it's built on a better foundation. Today's PCs are extremely powerful, and DOS has been underutilizing PCs' power since the introduction of the PC/AT in 1985. Linux will very happily scale up to whatever amount of memory and CPU power your PC has under the hood, making compression and decompression go faster. And if you do a little tweaking with hdparam before creating and before restoring (again, a good job for a shell script), you'll get far better disk throughput than DOS could ever give you. On these P3-866s, I found PartImage was a good 20-60 MB/minute faster than Ghost.

So this is not only faster, it also frees you from the difficulty of keeping track of Ghost licenses, which is a hidden administrative expense. With Linux and PartImage and the associated tools, you're free to use them as you like. The only questions anyone will ask is, "How'd you do that?"

That's not to say I have any objection to paying for a good product, but when you can't even buy a site license to escape the paperwork, it gets ridiculous. I suspect some companies just count their PCs and buy that many Ghost licenses once a year in order to be rid of the administrative overhead.

So I think it's more than worth it to figure out how to effectively do this job with open-source tools.

Of course I've left some questions. How do you make Linux boot floppies? How do you make Linux CDs? The PartImage site has images of bootdisks and boot CDs, but they don't have everything you need. Notably, sfdisk is missing from those images. And obviously you'd have to write your shell scripts and add those yourself.

I'll let you know when I figure it out. I'm pretty darn close.

12/20/2000

~Mail follows today’s post~

A failed review of McAfee Utilities 2000. I was going to write about the successor to Nuts & Bolts, the utilities suite that could have been so good, except parts of it were so bad. It was never second-best of the three I looked at in Optimizing Windows. It was sometimes the best in a particular category, and often the worst. I was hoping the new version would fix some of the shortcomings–add the launch acceleration features of Speed Disk, Fix-It, and Windows Defrag to DiskMinder and it would be the best of the bunch when configured properly.

It’s bloated. While Fix-It is clean and simple and NU is getting there, McAfee still insists on throwing in the kitchen sink and a hair dryer. Never mind that’s a particularly  dangerous combination. You can’t de-select some of the kitchen sink or hair dryer features either. Worse yet, the installer missed installing at least one critical DLL, so it doesn’t run. At first I figured it was incompatible with Windows Me, so I tried installing it on a 98SE system. It had the same problems there too–and this was a fresh install, with no special trickery. So I can’t tell you how good the good parts are because I don’t know.

I should probably look into getting a retail copy of it, because it’s presumably more polished (I sure hope so–imagine not even being able to install something, but not being able to return it!) but I’m less than hopeful. The reasons are obvious, I hope.

You can download an evaluation copy at www.mcafee.com , but I really can’t recommend you do. Check out Norton Utilities 2001 instead. You can get an evaluation copy of it at www.symantec.com .

Time for a new system. A friend and I are spec’ing out a system for another friend. We’re having fun spending someone else’s money. So far, we’ve managed to run up a $10,092 tab, but my friend was slacking. For one, he forgot the second 21″ NEC flat-panel display and TNT2-based PCI video card. We want him to be able to watch IrfanView slide shows on his second monitor while he plays Quake full-screen. (IrfanView doesn’t require the greatest of available cards, but we want like manufacturers since that works better for multi-head displays. And never mind that Tim doesn’t play Quake.) And he went with a TNT2 card for the main display. What’s up with that? Why would they make $400 64 MB GeForce 2 Ultra cards otherwise, except for Tim to buy them? But I approved a PCI-based TNT2 for the secondary display because I didn’t want to look too extravagent.

So we’re not done yet.

He’s been sending me specs and I’ve been telling him what’s wrong with them. I’d be great in upper-level management.

I’ve even got a Plan B. If what we come up with is too much, I’ll admit to Tim that The Gator’s being too extravagent. “Yeah, he insisted on putting a second floppy drive in there, in case you needed to copy disks. ‘Who copies disks?’ I asked him, but he insisted. So I humored him. You and me, we both know you can copy disks with a single floppy drive. So we’ll nix that drive, cut the bill by 15 bucks and everything’s perfect. There. Now THAT is a practical system.”

~~~~~~~~~~

From: Dan Bowman
Subject: RE: Whaddayadoin?
Yeah, there are some issues here. …and you are one of the voices of your generation, like it or not. Speaking of that, when you can, please take a look at the story I linked from the ETP site on Sunday, the one about smoking and the ads. Is her take on the ads valid? Are you qualified to answer? http://www.thegardencafe.com/2000_12_10_arc.shtml#1615885
 
Thanks; just looking out for my kids’ futures. I may have to take them by a morgue.
 
dan
~~~~~

Sorry for that aside.
 
Am I qualified to answer? Who knows. Does it sound accurate to me? You bet. I haven’t seen that ad, but it’d strike me as morbid, maybe funny. It sure doesn’t sound effective to me. Wouldn’t stop me from smoking. The stat that 1 cigarette cuts your life expectancy by 7 minutes helped, but that’s just me. I’ve smoked three cigars in my life. Cigars are worse for you, I know. But fear is a terrible motivator, when someone else is trying to scare you. Internal fear is a great motivator, but nobody thinks smoking will make them a failure.
 
Maybe the financial aspect could be effective. What will a year’s worth of cigarettes buy? I don’t know the answer to that question. But if smoking versus not smoking is the difference between driving a Ford Escort and something with some prestige to it, that’ll get some people’s attention. Not everyone’s. I see my peers thinking more about money than they used to. That may just be a coming-of-age thing.
 
I think honesty is just the best way, regardless of the other approaches used. Respect and honesty. Not that I’m an expert, but when my dad sat me down and talked to me like someone he respected and said, “This is what’s bad about marijuana,” and on down the line through each drug, I listened to him. (Tobacco may or may not have been included. Alcohol was not. I learned what was bad about alcohol from watching him. Some people can pick things up that way. Others won’t.)

~~~~~~~~~~

From: “Jan Swijsen” <qjsw@nospam.oce.nl>
Subject: Re: strings

Hey, I won’t out-do you every time. Just every time I can.

In Computer Shopper, the subtitles and section headings are worth a laugh too. Their editors add a personal touch without giving the impression of doing self promotion. In fact Computer Shopper and PC Plus (also a good one) are the only mags that I buy these days.
~~~~~

I’ve noticed that. I know Chris Ward-Johnson recommends PC Plus; when Shopper approached me about doing the “Optimise Your PC” series I noticed
they were published by the same outfit so I asked him his opinion of both magazines.

When I showed a copy of the article to a marketing guru I work with, he asked me where “those guys” were when I wrote Optimizing Windows. (“Why
didn’t you have those guys design your cover, and that ‘Try David Farquhar’s tips for pepping up your PC’ phrase should have been on it! Right on the front!”) That’s not the O’Reilly way, but I bet it sure would sell…

~~~~~~~~~~

From: Dan Bowman
Subject: Whaddayadoin?

Trying to take the heat off Pournelle or something?????
 
I didn’t see a slavish devotion to The One True Penguin Path in that post<g>.
 
dan

~~~~~

There is no One True Penguin Path. If someone tries to create one, then they’ve just totally destroyed the entire purpose. Not that they haven’t already. That “slavish devotion” you mention says a lot. Linux is supposed to be about freedom, not slavery. Not that there’s necessarily anything wrong with paying for intellectual property. The people who think otherwise have traded one form of slavery for a much more vicious form. I see absolutely no difference between total, blind devotion to Linux and total, blind devotion to Microsoft. None. Not at all. If you reach that point, you desperately need to go find religion.
 
And if people disagree with that, good. I would love to hear a reasoned argument why total, blind devotion to Linux is a good thing and people should do it, because I sure can’t figure out why on my own.
~~~~~~~~~~

From: “Håkan Waara” <hwaara@nospam.chello.se>
Subject: editthispage

Hey, great site!

How did you change the <body> attributes on your Manila site? I can’t see any way to do that from the “advanced” preferences..

Thanks.
~~~~~

Thanks!

I don’t think I changed the body attributes; I specify the font for the
daily posts (you’ll notice occasionally I miss), so I get a mixture of Times
and Verdana.

You can define a body tag in your cascading style sheet to accomplish that,
I think. I know standard HTML pretty well but I never bothered to get
comfortable with either XML or CSS. But maybe one of my other readers will pipe in.

Christmas presents you want, and don’t want

Evening update. I came home to a non-working phone and CD player. The phone’s working again. I’m thinking Southwestern Bell really doesn’t want me to like them. As for the CD player, I unplugged it for 10 seconds and plugged it in–first thing I do with any piece of electronics. That brought it back from the dead, but as I was listening to U2’s All That You Can’t Leave Behind, I noticed some crackling in the audio. I’ve been listening mostly to really synthy New Wave music lately and the crackling can blend in with the synths, but on the more organic-sounding tracks in the middle of ATYCLB, there’s no place for the crackling to hide.

I ought to open it up and see if the problem isn’t just an overly dirty lens. That’s nothing a foam swab dipped in a little isopropyl alcohol can’t fix. Otherwise, I may have to start shopping. That’s what www.audioreview.com is for. The JVC XL-MC334-BK looks good for the money.

I’ll also have to resist the temptation to get a second pair of speakers. The KLH 970A speakers are dirt cheap ($20-$30) and reportedly sound really good for the price. There are better speaker brands than KLH, but these would be secondary speakers and if I don’t like them on the stereo, if paired up with an inexpensive receiver they’d make a very nice computer sound system.

An early Christmas present you don’t want. Another e-mail worm is making the rounds, this one called Navidad.exe. Navidad.exe es muy mal para su computadora. Sorry. Couldn’t resist.

What it appears to do is reply to all messages in your inbox containing a single attachment, attaching itself in the process. The really nasty part is that the worm contains poorly written code, causing your system to be unstable.

I’ll continue with my standard advice. Don’t open unexpected executable (.exe) attachments. If you can’t tell the difference, don’t open unexpected attachments at all. It’s better to miss the joke than to have to reinstall Windows yet another time. Keep in mind that the people who are most likely to fall victim to such things are also the least likely to have any backups.

You can get details and a repair tool from Symantec.

A friend got a hysterical phone call at midnight last Thursday from another friend whose system was exhibiting behavior similar to this. He eventually calmed her down enough to walk her through reinstalling Windows, which restored her system to a bootable state.

If a system will no longer boot, it should be possible to bubblegum it back together with Windows 98’s scanreg tool. Boot to a command prompt by holding down the control key, then type scanreg at the C:> prompt. Restore a recent backup (preferably the most recent or second-most recent). Once you boot successfully, immediately update your virus signatures and run your anti-virus program, or download a repair tool to do a full repair.

This trick fixes many, but not all, recent viruses.

Mac emulation and insights

I’m scaring myself. I’ve been playing around with Mac emulation on my PC at home (I can get an old Quadra or something from work for nothing or virtually nothing, but finding space to set it up properly in these cramped quarters would be an issue, especially since I’d have to give it its own keyboard and mouse and possibly its own monitor). My Celeron-400 certainly feels faster than the last 68040 I used, and I greatly prefer my clackety IBM keyboard and my Logitech mouse over anything Apple ever made, so this emulation setup isn’t bad. I’ve got MacOS 8.0 running on my Celeron 400, though on an 040 (especially an emulated 040), 7.6.1 would be much better if I can track down an installation CD for it by some chance.
Of course, there’s the issue of software. A lot of the ancient 68K Mac software is freely available (legally) these days, and it raises the old “Are we better off now than we were 10 years ago?” question. I don’t know. I still think the software of yesterday was much leaner and meaner and less buggy. By the same token, programs didn’t necessarily work together like they do today, and the bundles of today were virtually unheard of. Software ran anywhere from $99 to $999, and it typically did one thing. More, an outliner from Symantec (not to be confused with the Unix paging utility), made charts and outlines. That was it. And it cost around $100. The functionality that’s in MS Office today would have cost many thousands of dollars in 1990. Of course, the very same argument could be made for hardware. You couldn’t get the functionality available in a $399 eMachine for any price in 1990–there were very high-end machines in 1990 with that kind of CPU power, of course, but the applications weren’t there because you don’t buy a supercomputer to run word processing.

Messing around with this old Mac software gave me some insights into the machine. One of the freely available packages is Think Pascal. In high school, we did computer applications on Macs and programming (at least the advanced programming classes I was taking) on IBM PCs. So I know Pascal, but this was my first exposure to it on the Mac. Reading some of the preliminary documentation on programming a Mac in Think Pascal gave me some insight into why the Mac has (and always had) such a rabid following. I don’t really find the Mac any easier to use than Windows (and there are some things I have to do that are far easier in Windows) but I won’t deny the Mac is a whole lot easier to program. Implementing “Hello, World!” in Think Pascal on a Mac is much easier than implementing it in C on Windows, and the Think Pascal version of “Hello, World!” makes more sense to me than even the Visual Basic version of “Hello, World!” on Windows. It’s more complicated than the main() { printf(“Hello, World!\n”); } you would use in DOS or Unix, but if you use all available tools and put the dialog boxes and buttons in resources it’s not much more complex, and programmers can rough in GUI elements and get on with the code while they shove the GUI elements off to artsy people, then it’s easy to use ResEdit or another resource editor to put the final GUI elements in.

And, bite my tongue, it would appear that programming the Mac was easier than programming the Amiga as well. I wrote plenty of command-line tools for the Amiga but I never mastered the GUI on that platform either.

I’m not saying anyone can program a Mac, but having attempted unsuccessfully to learn how to program effectively in Windows, I can say people who wouldn’t program in Windows can (and probably do, or at least did back in the day) program the Mac. My friends Tom Gatermann, Tim Coleman and I stand no chance whatsoever of being able to develop a decent Windows app, but we would have made a decent Mac development team with Tom and Tim handling the GUI and me writing code and all of us contributing ideas.

The next time I need a computer to do something for me that I can’t find a readily made program to do, I’m apt to load up Think Pascal on a Mac emulator and take a crack at it myself. My simple mind can handle programming that platform, and I suspect some of the innovative programs that appeared on the Mac first may have originally been written by people like me who have ideas but don’t think like a traditional programmer.

———-

From: Robert Bruce Thompson

“I can count on one hand the number of people I know who’ve ever built anything from discrete components, myself included…”

You’re hanging out with way too young a crowd. I’m only 47, and I used to build stuff from discrete components, including ham transmitters, receivers, amplifiers, and so on using *tubes*. You probably wouldn’t recognize a tube if it bit you, so I’ll explain that they were glass things kind of like light-bulbs. They were available in hundreds of types, which one used for various purposes–diodes, triodes, and so on. When they were running, they lit up with an orange light. Very pretty. And they did burn out frequently, just like light bulbs.

And I’ll be that if I were pressed hard enough, I could even remember the resistor color codes.

Geez.

———-

Too young and too lazy. But I do know what tubes are–they’re still used in audio equipment, for one, because they give a richer tone than transistors. And I remember when I was really young, there was a drugstore we used to go to that still had a tube tester in back.

But I remember the eyebrows I raised in high school when I was building something that needed a particular logical gate, and I couldn’t quickly locate the appropriate chip. I had a book that told how to build the gate using discrete components, so I did it. Actually I raised eyebrows twice–once for building the thing that required the chip in the first place, and once for making the chip stand-in.

Busting ads

Spam. Brightmail caught three pieces of spam for me in the past week. Four got through. It’s disappointing, but maybe they’ll get better with time. And 3 out of 7 is pretty close to Mike Sweeney’s batting average with the bases loaded, and no one complains about that.
Calling it a week. My apologies for Wednesday’s post not making it up until Thursday night. I wrote it, then forgot to upload it. Figures. The things that make me creative also can make me eccentric and scatterbrained sometimes.

I’m out of town for a family event. I’ll be in Kansas City, and while I have relatives with computers there I doubt I’ll be using them. So have a good weekend. I’ll be back Monday, in all likelihood.

Mail.

From: “al wynn”
To:
Sent: Friday, September 08, 2000 1:15 AM
Subject: What is the best COMMERCIAL ad-blocking utility for Windows95 out there (that is better than Proxomitron) ?

Can you tell me what is the best COMMERCIAL ad-blocking program for Windows95 out there (that is better than Proxomitron) ?
h question. The only commercial program that did that that I know of was WRQ’s AtGuard, which is now part of Symantec’s Norton Internet Security 2000. I played around with AtGuard a while last year when I was writing Optimizing Windows, but I didn’t like it any better than Proxomitron or Junkbuster (or the enhanced version). You might also check out AdSubtract, which is based on the Proxomitron engine but is less configurable and does a better job out of the box.

LoveLetter ruins my day

I hate viruses. So. I stumble in to work Thursday. I make the mistake of checking my mail before I’ve had my coffee. Mail from a VIP. “Please kindly check this …” I read no further. I spy an attachment, so I do exactly–in my mind–what it asks. I open the attachment in Notepad and look at it. Hmm. A VBscript program written by someone who doesn’t like school. Hmm. Wait, why’s this thing messing with the registry? Why’s this thing making copies of some files and deleting others? Crap! This is a virus! Who else did she send this to? Meanwhile a neighbor’s jabbering away at me about something or another. “Shuddup!” I tell him as I print it out. I print the code (4 pages I think), grab it, circle a couple of offending lines of code, then rush upstairs. Yep, you’ve got it. We were infected with the now-notorious “Iloveyou” virus.
Yeah, loser. I love you too, but only because Jesus says I have to love my enemies. So, God bless you, whoever you are. You’re gonna need that and more. Bad.

I located two infected computers, then I called the wisest, coolest head in the organization (our Unix ubermeister) for advice on how to proceed. This was a good 2-3 hours before Symantec had a fix posted on its Web site. He said he and one of our ace programmers had dissected the code and determined all of the changes it makes. He had registry entries to fix and files to look for. Armed with that info, I was able to put out the fire pretty quickly (silently reminding myself that using Netscape and Eudora instead of Internet Exploiter and Outlook sometimes really has its advantages), but it turned into a very draining day.

Macintosh buying advice

What’s up with someone asking me for Mac advice? Yeah, Dan Bowman is in the process of selling his soul to (or at least buying a computer from) some egotist in Cupertino.

From: “Bowman, Dan”
Subject: Macs
To: Dave Farquhar
Dead serious request:

We keep getting hammered by graphic artists and printers; the Mac is ubiquitous in this arena locally. I’ve proposed we purchase a Mac for the GM to use (he’s a passable artist and knows what he wants and is not afraid to do it his way).

What configuration (for that matter, what machine) should I look to price this. We’re bidding another contract and the cost of the machine would likely be saved twice over by the artist fees and the GM’s time (time he could spend just doing it).

Any bets on programs?

Networking issues?

Thanks. Not my idea of fun; but in this case the right tool for the job if he can make it work.

Dan

I can’t recommend packages, they’ve gotta be what he’s comfortable working with. Rent some time at Kinko’s if need be to determine that. I definitely suggest avoiding Adobe PageMaker, because they’re abandoning the thing. Let me take back what I just said. If you can avoid using Adobe products, do it, because the company’s policies… Umm, just take every bad thing I’ve ever said about Microsoft, multiply it by about 10, and you’ve got Adobe. You may not be able to avoid Photoshop, but avoid the rest of it if you can. Macromedia and Quark, between the two of them, make just about everything you need.

If he wants to use a jillion fonts, you need a font management program, because the self-styled King of Desktop Publishing can’t juggle more than 254 fonts, I believe. I’m not certain on the number. Extensis Suitcase will do the job.

Get AlSoft Disk Warrior, Micromat Tech Tool Pro, and Symantec Norton Utilities. Once a month (or whenever you have problems), run Apple’s Disk First Aid (comes with the system), then Disk Warrior, Tech Tool Pro, and Norton Disk Doctor, in that order. Fix all problems. They’ll find a bunch. Also get Font Agent, from Insider Software, and run it once a month. It’ll want to delete any bitmapped fonts over 12 point. Don’t do that, but let it do everything else it wants. That helps a ton.

You’ll spend $500 on utilities software, but if you want your bases covered, you need them. Get them, use them, and you won’t have problems. Neglect to get them, and there’ll be no end to your problems, unless he never uses it.

Hardware: Get a 400-MHz G4, 256 MB RAM, IDE disk (poorly threaded, cooperative multitasking OSs don’t know what to do with SCSI). Frequently you can get a better price by getting the smallest disk possible, then buying a Maxtor drive at your local reseller. I know they were charging $150 a month ago to upgrade a 10-gig disk to a 20-gig disk, and you can buy a 20-gig disk for $150. Video, sound, etc aren’t options. If 450 is the slowest you can get, get that. MacOS doesn’t do a good enough job of keeping the CPU busy to warrant the extra bucks for a higher-end CPU. You’ll want the memory because you have to assign each app’s memory usage (it’s not dynamic like Windows), and it’s not a bad idea to assign 64 MB to a killer app. I also hear that G4s are totally unstable with less than 256 megs. I can’t confirm that. We’ve got G4s with more and we’ve got G4s with less, but I haven’t seen both in the hands of a power user yet.

Networking: NT’s Services for Macintosh are worthless. Don’t use NT for a print server for a Mac (it’ll ruin the prints), and don’t use it as a file server if you can help it (it’ll crash all the time). Linux isn’t much better, but it’s better. (It’ll just crash some of the time, but at least you can restart the daemons without rebooting.) I don’t know if MacOS 9 can talk to printers through TCP/IP or if they still have to use AppleTalk. AppleTalk is an ugly, nasty, very chatty protocol–it makes ugly, nasty NetBEUI look beautiful–but it’s what you get. Turn on AppleTalk on one of your network printers and print to it that way. One Mac and one printer won’t kill a small network, though a big enough network of Macs can keep a 10-megabit network totally overwhelmed with worthless chatter. Killer DTP apps don’t like their PostScript to be reinterpreted, and that’s one of the things NT Server does to mung up the jobs. So that’s the only workaround.

Multitasking: Don’t do it. When I use a Mac like an NT box, keeping several apps and several documents open at once, it’ll crash once a day, almost guaranteed. Don’t push your luck. It’s an Amiga wannabe, not a real Amiga. (Boy, I hope I’ve got my asbestos underwear handy.)