Upgrading a P2-300

Case study: Revitalizing a PII-300
It took me three and a half hours one night to squeeze another year or two of useful life out of a PII-300.

A fellow member of the Board of Directors at my church approached me one night. “Would you reinstall the OS on my computer?” he asked. He had a PII-300, not a barn burner by any modern measure, but not a slouch of a computer either. But as a performer it had been very much an underachiever of late. I had walked him through reinstalling the operating system over the phone back around Christmas and it had solved some problems, but not everything. It appeared his computer needed a clean start.

When I looked at it, I agreed. It wasn’t particularly stable and it definitely wasn’t fast. He had a Castlewood Orb drive to facilitate quick backups, so I had him copy his data directories (named Documents and My Documents), along with his AOL directory, over to the Orb. I also spotted a directory called Drv. As an afterthought, I grabbed that one too.

I proceeded to boot off a CD-ROM-enabled boot floppy. Tepidly, I typed the magic words format c: at the command prompt. Quickly I noticed a problem: the words “Saving current bad sector map” on the screen. As the drive formatted, Rick asked the magic question. “What do you think of partitioning?”

Dirty secret #1: Any time you see bad sectors, you should absolutely FDISK the drive. Bad clusters can be caused by physical problems on the disk, but they can also be caused by corruption of the FAT. No disk utility that I’ve ever seen (not Scandisk, not Disk Doctor, not even SpinRite) fixes that. The only way to fix that (verified by a technicians I talked to at Gibson Research, the makers of SpinRite) is to fdisk and format the drive.

Dirty secret #2: FAT16 is much faster than FAT32. Since Rick wasn’t opposed to partitioning the drive, I created a 2GB FAT16 partition. You do this by answering No when fdisk asks if you want to enable large disk support. This partition holds the operating system.

I exited FDISK, ran it again, and this time answered Y when it asked the cryptic large-disk question. I created a partition that spanned the rest of the drive. Then I rebooted, typed format c: then format d:, and watched for bad clusters. There were none. Excellent.

End result: I had a 2-gig FAT16 C drive and a 6-gig FAT32 D drive.

Dirty secret #3: Never, ever, ever, ever, ever (unless someone’s holding a gun to your head) install Windows as an upgrade. You have a Windows 95 CD and a Windows 98 upgrade CD? So what. Install Windows 98 on the bare drive. Setup will find no Windows installation present and ask for your Windows 95 CD. You insert your Win95 CD, it investigates it to make sure it’s not a blank CD with win.com on it somewhere, then asks for your Win98 CD back. End result: a clean install. Even if you install Win95 immediately followed by Win98, you get extra garbage you don’t need. And it takes twice as long.

Windows took about 30 minutes to install. I tackled his applications. When I installed MS Office, I did a complete install with one exception. I drilled down into Office Tools, found Find Fast, and unchecked it. Find Fast is a resource hog and doesn’t do anything useful.

I installed Office to drive D.

He’d bought Norton Systemworks on sale one weekend, hoping it would help his performance. It didn’t. I showed him a trick. Rather than install Systemworks directly, I explored the CD, drilled into the Norton Utilities directory, and ran Setup from there. I intentionally left out almost everything. Speed Disk and Disk Doctor are the two superstars. I also kept the Optimization Wizard. I left out most of the rest, because the other stuff doesn’t do anything useful but it sure slows down your system. When it asked about running Disk Doctor at startup, I said no. It just slows down startup and doesn’t do anything useful. I did let it replace Scandisk with Disk Doctor. That way if you get an improper shutdown, Disk Doctor can clean up the mess before Windows starts and makes a bigger mess. But Disk Doctor should run when you need it. Not all the time.

Then I drilled down into the Norton Antivirus directory and installed it. Then I did the same for Ghost. I needn’t have done that. Just copying the Ghostpe.exe file out of that directory onto a boot floppy suffices. More on Ghost later.

I installed this stuff to drive D.

Next, I installed his scanner software, Lotus SmartSuite, and his DVD decoder.

I copied the data back over from his Orb disk, noticed his modem wasn’t working, and installed the device driver I found in the Drv directory I’d copied over to the Orb as an afterthought. (I’d much rather back up too much stuff than not enough.) Then I copied his AOL directory over to drive D and installed AOL 5.0 over the top of it. It picked up all his settings.

I cleaned up c:msdos.sys and rebooted, watching the time. It booted in about 45 seconds, including POST. I was happy. Rick was very happy.

I did the other standard Windows optimizations outlined in chapter 2 of Optimizing Windows. I cleared out his root directory on C. Then I ran Norton Speed Disk. I had it do the full file reordering and directory sorting bit (also described in Optimizing Windows). Clearing out the root directory makes disk access much more efficient, but only after Speed Disk discards the now-empty directory entries. Directory sorting makes disk access more efficient by putting the important files early in the list so Windows finds them faster. The results are marvelous.

Finally, I ran Ghost. I copied the Ghost executable to a boot floppy that contained the Castlewood device driver internal.sys, then booted from it and Ghosted his drive to the Orb drive. Fifteen minutes later, he had an image of his system, so he can return back to this state any time he wants.

End result: Rick’s P2-300 with an 8-gig Quantum Bigfoot drive (a notoriously slow hard drive) and 288 MB RAM received a new lease on life. Despite its slow processor and hard drive, it performs better than a lot of consumer-level PCs available today.

That was a good investment of 3 1/2 hours.

Another RISC platform for Linux

Vintage workstations. I’ve read two articles this past week about running Linux or another free Unix on vintage hardware.
http://www.debianplanet.org/article.php?sid=605
http://www.newsforge.com/article.pl?sid=02/02/19/049208&mode=thread

And while I can certainly appreciate the appeal of running a modern free Unix on a classic workstation from the likes of DEC or Sun or SGI, there’s another class of (nearly) workstation-quality hardware that didn’t get mentioned, and is much easier to come by.

Apple Power Macintoshes.

Don’t laugh. Apple has made some real dogs in the past, yes. But most of their machines are of excellent quality. And most of the appeal of a workstation-class machine also applies to an old Mac: RISC processor, SCSI disk drives, lots of memory slots. And since 7000-series and 9000-series Macs used PCI, you’ve got the advantage of being able to use cheap PC peripherals with them. So if you want to slap in a pair of 10,000-rpm hard drives and a modern SCSI controller, nothing’s stopping you.

There’s always a Mac fanatic out there somewhere willing to pay an exhorbinant amount of money for a six-year-old Mac, so you won’t always find a great deal. Thanks to the release of OS X (which Apple doesn’t support on anything prior to the Power Mac G3, and that includes older machines with G3 upgrade cards), the days of a 120 MHz Mac built in 1996 with a 500-meg HD and 32 megs of RAM selling for $500 are, fortunately, over. Those machines run Linux surprisingly well. Linux of course loves SCSI. And the PPC gives slightly higher performance than the comparable Pentium.

And if you’re lucky, sometimes you can find a Mac dirt-cheap before a Mac fanatic gets to it.

The biggest advantage of using a Mac over a workstation is the wealth of information available online about them. You can visit www.macgurus.com to get mainboard diagrams for virtually every Mac ever made. You can visit www.everymac.com for specs on all of them. And you can visit www.lowendmac.com for comprehensive write-ups on virtually every Mac ever made and learn the pitfalls inherent in them, as well as tips for cheap hardware upgrades to squeeze more speed out of them. I learned on lowendmac.com that adding video memory to a 7200 increases video performance substantially because it doubles the memory bandwidth. And on models like the 7300, 7500, and 7600, you can interleave the memory to gain performance.

Besides being better-built than many Intel-based boxes, another really big advantage of non-x86 hardware (be it PowerPC, Alpha, SPARC, MIPS, or something else) is obscurity. Many of the vulerabilities present in x86 Linux are likely to be present in the non-x86 versions as well. But in the case of buffer overflows, an exploit that would allow a hacker to gain root access on an Intel box will probably just crash the non-x86 box, because the machine language is different. And a would-be hacker may well run into big-endian/little-endian problems as well.

http://homepages.ihug.com.au/~aturner/7200boot.html

Cheap network hardware

Steve DeLassus reminded me that NICs are dirt-cheap at Buy.com right now. A Netgear FA311 runs $10.50 after rebate. (Hint: these cards use the NatSemi module in Linux, and yes, you have to have a pretty recent distribution to have that module, though you can certainly download the source and compile it if you want.)
A Netgear 4-port 100-meg hub runs about 35 bucks. A Netgear 5-port 10/100 switch runs about 40. Very nice. Pricing at mwave.com is very similar.

If you prefer a tier-1 NIC, you can pick up Intel cards for $19 at Directron.com. Or if $10.50 will break you, you can get a generic RealTek-based card from Directron for $9.50 (it uses the rtl8139 module; 8139too will work as well, but the prior module is better). Be aware that the RealTek 8139 is anything but a high-end chip; and generic 8139s ought to be considered tier-3 cards. But if you’re on a budget and need something that’ll work with Linux, no questions asked, it’ll do.

Cheap cables? Directron’s got 7-footers for 3 bucks. Your choice of a 14′ or 25′ is 5 bucks. Pricing at Newegg.com is even a little lower.

I built my first home network in late 1998. I bought a SOHOware kit that included a 4-port 10-meg hub, a pair of 25′ cables, and a pair of 10/100 PCI NICs with a DEC Tulip knockoff chipset. I was pretty proud of myself for finding it for less than $100. That hub fell over dead within a few months. Now for that price you can have first-tier stuff.

I’m out of here for a couple of days. I’ve sent Steve DeLassus some stuff that he can post while I’m gone, so things shouldn’t be too different around here. Unless Steve decides he wants to write something, that is, in which case you’ll just see a marked increase in quality that day…

Well, and you won’t see immediate responses to comments from me.

Time for some Pakistani justice

“Do you think Daniel Pearl is alive or dead?” my sister asked me last weekend.
“He’s probably dead,” I said. I’d read the reports that he’d been killed in late January trying to escape. To me, it sounded plausible. If he were still alive, wouldn’t his captors still be making demands? They had nothing to gain by staying silent, as long as they had him. Likewise, if they had killed him in accordance to their threats, they’d have said something too. They probably would have offered proof, and made another threat–such as to take another hostage. But they were silent.

Still, I held out hope. I like to be wrong about things like that.

Daniel Pearl was a high-profile case. There have been 11 other journalists killed since the undeclared war broke out. There have been a couple dozen military casualties on our side. I don’t think anybody knows how many Afghans–Taliban, al Queda, or innocent bystanders–have been killed. It’s just that a star reporter for a prominent newspaper with a wife pregnant with their first child makes for a dramatic story. And Daniel Pearl has come to symbolize everything that’s wrong with the present situation.

This isn’t a war. We have troops overseas, yes. We’re building weapons, yes. But the objective is vague. There is no declaration of war. Our way of life is undisturbed. That’s not how it needs to be. Our way of life needs to be disturbed. But temporarily.

What we have right now is a police operation. This is like us chasing Pancho Villa near the beginning of the last century. We talk about protecting American interests, protecting democracy, supporting our troops. That’s nice. What does it all mean? Ask your cubicle neighbor and post it here. I’ll bet your cubicle neighbor and my cubicle neighbor define all of those things differently.

Our presidents over the course of the last 60 years haven’t liked that constitutional provision that only Congress can declare war. It’s hard to get a majority of those 535 people to agree to something like that. So they use a loophole. That’s not a good thing. The Founding Fathers knew that it would be hard to get a large number of people to agree to drastic action, such as passing a law or waging war. That’s how it should be. But if a majority of those 535 people can agree to a set of objectives, it’s probably going to be something pretty worthwhile. We can be pretty certain that they won’t come back with something ridiculous like nuking the entire Middle East until it’s a big sheet of glass.

So. We need to figure out who we’re fighting. Can we wage war only on suspicion? Let Congress sort that out. We have to figure out what we want. We know we want Osama bin Laden’s head. Fine. Anything else? I’m sure there are lots of things. Let Congress sort those out too. Then our generals can come up with a plan to get what Congress decides it wants.

Most importantly, our current way of life, for all we know, is supporting our enemies. I’ve advocated buying more fuel-efficient cars in these pages before. I still stand by that. Do you think a formal statement like that coming from our leadership would rally some people to action? I think so.

The most important thing about figuring out what we want, declaring a war, then getting it over with is that at some point, it’s over. We can go back to something resembling how it was before. We don’t have that now. And we won’t.

All we’re doing now is sitting back, watching helplessly, hoping we’ll stumble across solutions one problem at a time. Sometimes we find three leaders standing outside a vehicle well within range of a missile. More often, we don’t find what we need on time. And someone we want dead gets away. Or someone we want to get away dies.

As long as our faceless enemy knows we’re not serious, nothing’s going to change.

They’ve disrupted our economic system. They’ve made us afraid to travel. We’ve voluntarily given up liberties we wouldn’t have thought of giving up a year ago. We’ve changed our way of life, permanently.

We gave them just what they wanted.

So, what about Danny Pearl?

Pakistan has said they’ll go after his captors. We should let them. Let them be subject to Pakistani justice. If Pakistan lets them go, then we can show them American justice. Our Special Forces are very good at quickly carrying out those kinds of things, without the need of a messy trial. The job of the State is to protect its citizens. Sometimes that means war. And sometimes that means deterring repeat events. So it’s very easy to justify such a position on moral grounds.

A kids’ game

The Philadelphia Phillies have one of the brightest futures in the National League. Sure, the Mets and the Braves grab all the attention. But look at them. They’re old. The Mets have Mo Vaughn and Roberto Alomar and Mike Piazza, and all of them are probably still in their prime, but they only have a couple more years of prime left. The Braves have Tom Glavine and Greg Maddux and Gary Sheffield, but that’s indicative of the same problem.
The Phillies are loaded with young stars. The Phillies once had a better third baseman than Scott Rolen. His name was Mike Schmidt. I can only think of two third basemen in the history of the game who deserve to be mentioned in the same breath as Schmidt. In about 15 years, Rolen looks to join them. And the Phillies have a great young catcher in Mike Lieberthal and a great young outfield in Doug Glanville and and Pat Burrell and Bobby Abreu. They also have one of the best young shortstops in the game in Jimmy Rollins.

The Phillies’ payroll is going to be $60 million this year. And Rolen, surrounded by these young stars, questions the Phillies’ ability or commitment to win. At the end of the year, he’s out of there.

The Phillies’ strategy should be really simple. Let these young stars get a little better, sign them to the longest-term contracts they’ll take, and play as hard as possible for two years, knowing they’ll probably finish in third place with a winning record, all the while waiting for the Mets and Braves to fall over. If everything were to stay the same, in three years the Phillies would no longer be the third-best team in their division. They’d cruise right past the gray-headed Mets and Braves.

But nobody really knows what the Phillies are going to do. In the past, when they’ve developed minor stars, they’ve frequently traded them. The last time they won anything was 1993, but that was an old team. It’s hard to look to that team for a precedent to suggest what they’ll do now, because keeping their aging stars in the mid-1990s didn’t make much sense. It’s hard to look at the way the Phillies handled players like Mickey Morandini as well. Morandini was a minor star who faded fast. Rolen and Lieberthal are superstars. Future Hall of Famers even, maybe.

In any other sport, there wouldn’t be any question what to do. They’d lock in their six young stars and tell their fans to get ready to enjoy a dynasty. But baseball isn’t any other sport. There’s very little revenue sharing. And Philadelphia’s not a major market. The Yankees are going to spend twice as much as the Phillies spend this year. It’s hard to imagine Philadelphia not being a major market, I know, but that’s how things have become in this sport.

Twenty years ago, players used to express amazement at signing six-figure salaries to play a kids’ game. Today, baseball’s still a kids’ game. And the players have the maturity of children. So do the owners and the commissioner.

There’s a solution to this madness. Bob Costas wrote a short book about it two years ago. It’s short and simple enough that even a moron like Bud Selig could understand it. Today, things have only gotten worse. Fans read Costas’ book in droves and took it to heart, but few of the owners seem to have done so.

If Selig gets his way, the Twins and the Expos will fold at the end of this season. That won’t do anything to stop the same teams from making the postseason again and again. It’ll be the Braves, Mets, Diamondbacks and Cardinals in the NL postseason again this year. And probably the year after.

The Phillies will find that without a salary cap to keep salaries from artificially rising and without revenue sharing to give them their fair share (The Mets have to have someone to play, so why doesn’t the visiting team get half the revenue?) they won’t be able to afford to keep their players. Scott Rolen will test the free-agent waters at the end of this season. I expect he’ll sign with the Braves or the Red Sox. If he signs with the Braves, the Phillies will almost certainly dismantle, because there’s little difference between finishing third and finishing fifth, and it’s a lot cheaper to finish fifth.

And people will wonder what if. Except for Bud Selig and his buddy Carl Pohlad, who got what they wanted. They can just keep counting their money and complaining about how unprofitable baseball is.

Big trouble

Getting in trouble. At work, we use a content-filtering application called Websense to keep people from visiting sports sites and porn sites and checking their stocks at work. Prior to its installation, one of the most commonly visited sites in our firewall logs was ESPN.com. Well, I set off Websense this afternoon:

Status: The Websense category "Sports" is filtered.

URL: http://www.symantec.com/sabu/ghost/compatible_drives.html

As you can pretty clearly see from the URL, I was wanting to see if the CD-R drive we have is compatible with Ghost 7.5. Websense didn’t see it that way.

I printed that message out and hung it on my cubicle wall. That’s what we do with bizarre and amusing Websense messages.

So I just had to do a little research. It would appear that Sabu is the name of a professional wrestler. I learn something new every day. But that raises the debate of whether professional wrestling is a sport. Websense and I disagree once again.

Hey, I never said I learn something useful every day…

And that leads me straight into this:

How I once almost accidentally stole a piano from some Mormons. It was my junior year of college, and I was living next door to the Lutheran church just off campus. I was walking out to my car, which was parked on the church parking lot, when a guy walked up to me.

“Can you get me into that church?” he asked, pointing over his shoulder with his thumb.

“Why do you need in the church?” I asked.

“I’m here to deliver a piano,” he said.

I had no idea what the church would want with a new piano, but seeing as I hadn’t set foot in the place all year, what did I know? I had a key for emergencies, and this seemed like one. “Hang on,” I said. “I’ll run in and get a key.”

So I came back out with a key, unlocked the door, and the guy wheeled the piano off his truck. “Any idea where they want this?” he asked as he wheeled it through the door.

Seeing as I didn’t even know they were getting a piano, I definitely didn’t know where they wanted it.

“We’ll just leave it here in the Narthex,” I said. “That way Pastor will see it first thing when he walks in, and he can move it where he wants it.” (That’d teach him for not being there when a piano was due to be delivered.)

“This is 305 S. College Avenue, isn’t it?”

I paused. I didn’t know the church’s address off the top of my head, but seeing as I lived next door at 206 S. College Ave., I knew the church’s address wasn’t an odd number. So I told him that.

“Where else is there a church on College Avenue?” he asked me.

There was none. I racked my brain for a minute. “Let me step outside and see what the building number is.” This was Columbia, after all. Maybe they did put even- and odd-numbered buildings on the same side of the street, for all I knew. They do everything else screwy in that town. Then a thought hit me out of the blue. “I wonder what the address of that Mormon thing across the street is?”

So I peered across the street at our squarish, utilitarian-styled neighbor. “Institute of Religion. Church of Jesus Christ of Latter-Day Saints,” the sign read. Then I looked for a building number. Indeed, it was the address the piano delivery guy was looking for.

He thanked me and wheeled the piano out the door and back into his truck.

I locked the door back up, then went back inside to put the key away. “Have I ever got a story for you,” I said to the first guy I spotted.

Trolling the web for nothing in particular

Yes, Brian, baseball will soon return. I hate the things Major League Baseball does (Bob Costas once likened choosing sides between the players and the owners to choosing sides between Iran and Iraq), but we’ve chosen to stay together for the kids. I’m sure everyone who cares (and some who don’t) can guess what I think of Bud Selig, but I’ll tell you anyway, soon enough.
In the meantime, I look like Ars Technica today. Oh well. I don’t do this very often.

Blogging. Wired News had its take on the phenomenon, and threw out some interesting stats.


In January alone, at least 41,000 people created new blogs using Blogger, and that number is always increasing, [Blogger founder Evan] Williams said. Some have put the total number of weblogs at more than 500,000.

Alongside the boom, however, there have recently been a few faint signs of backlash. As increasing hordes take on the task of trying to keep new sites looking nice, sounding original and free from banalities, more hordes just seem to fail.

Blog critic Dave Linabury offered a recipe for success:


“It really can take a lot of time,” he said. “I spend two hours a day on my weblog. Many people don’t realize this, they think it’s a quick way to get popular. And after awhile they get really discouraged and say, ‘he got 2,300 hits today, I got four.’ The bulk of people out there get less than two dozen hits.”

“I don’t want to be elitist,” Linabury added, “but all these people out there with popular weblogs, they’ve been doing it longer and they stick to their guns.”

I can attest to that. The people who get more traffic than I get almost all have been doing this longer. But I can tell you one thing: It’s never enough. Back when I was getting 80 visits a day I wanted 150. When I was getting 150 visits a day, I wanted 250. Now that I get about 500 visits a day, I’m awfully distressed to see people are getting 2,300. And by the time I reach 2,300, I’m sure there will be people getting 5,000 or even 10,000. (Note that visits are the number of unique visitors; hits are the number of files served up. Hit count is deceptive. I get 500 visits per day but closer to 1,000 or even 1,500 hits per day, due to people visiting, reading comments, and then often reading something from a previous week. And if they do a search, that’s at least two additional hits.)

Link

Another feather in Internet Explorer’s cap. To my knowledge, no new security vulnerabilities have been reported in Internet Explorer this week, but the newest security patch, released last week, contains a bug that can cause a VBscript directive that previously worked to crash the browser.

Microsoft says Webmasters need to modify their pages not to use the directive.

That’s nice (I don’t use VBscript on this site) but there are embedded devices, such as HP’s JetDirect card, that use the directive. So early adopters of this patch may find themselves unable to do their jobs.

Better webmaster recommendation: Don’t use VBscript or ActiveX or other Microsoft-owned languages in your Web pages at all. Better end-user recommendation: Use Mozilla or a derivative instead of Internet Explorer.

Link

Recompiling Debian for your hardware. This thread comes up every so often, and with the popularity of Linux From Scratch and Gentoo, the appeal of a compiled-from-scratch Debian is undeniable. But does the small speed improvement offset the increased difficulty and time in upgrading?

The consensus seems to be that recompiling gzip, bzip2, and gnupg with aggressive options makes sense, as does recompiling your kernel. Recompiling XFree86 may also make some sense. But expending time and energy in the perfectly optimized versions of ls and more is foolhardy. (Especially seeing as speed demons can just get assembly language versions of them from www.linuxassembly.org.)

Link

A Guide to Debian. This is a guide, still incomplete, that gives a number of tips for someone who’s just installed Debian. The tips are applicable to other many other Linux (and even Unix) flavors as well.

Link

Spam. A coworker walked into my cube today and asked me how he could keep web robots from harvesting e-mail addresses from his web site. I found myself referring once again to the definitive piece on the subject, from Brett Glass (who gets my nomination for the greatest computer columnist of all time, for what that’s worth).

Link

The RULE project. A project has emerged to bring Red Hat Linux back to its roots, and allow it to run on older, less-powerful hardware.

From their site:


This install option is meant to benefit primarily two classes of users:

* GNU/Linux newbies who cannot afford modern computers, but still need, to get started more easily, an up to date, well documented distribution.
* System administrators and power users who have no interest in eye candy, and want to run updated software on whatever hardware is available, to minimize costs, or just because it feels like the right thing to do.

I love their FAQ. Check this out:


1.0 Hardware is so cheap today, why bother?

1. This is a very limited and egoistic attitude. Eigthy per cent of the world population still has to work many months or years to afford a computer that can run decently the majority of modern, apparently “Free” software.
2. Many people who could afford a new computer every two years rightly prefer to buy something else, like vacations, for example…. Hardware should be changed only when it breaks, or when the user’s needs increase a lot (for example when one starts to do video editing). Not because “Free” Software requires more and more expensive hardware every year.

These guys have the right idea. I can only hope their work will influence other Linux distributions as well.

Link

Linux uptime. (Sure, a little original content.) When I was rearranging things months ago, I unplugged the keyboard and monitor from my webserver, then I never got around to plugging them back in because I didn’t have to do anything with it.

The other day, I had occasion to plug a keyboard and mouse back into it. I went in, did what I wanted to do, then out of curiosity I typed the uptime command. 255 days, it told me. In other words, I haven’t rebooted since last May, which, as I recall, was about when I put the machine into production.

Promise, not powerhouse

I went to a fund-raiser at St. John’s Lutheran Church in Ellisville, Mo., last night. St. John’s is known as the Lutheran Megachurch. Last year it made a list (I forget the source) of 200 outstanding Protestant churches in the United States.
St. John’s does just about everything my home church, Faith Lutheran in Oakville, Mo., does, but it generally does it bigger and better because it has more people and more money. This was the church where I received a quickie crash course in video training about a year ago.

They pretty much blew me away. We’ve got some outstanding musicians at Faith, but St. John’s has dozens of outstanding musicians. On very special occasions we’ll write our own material at Faith (I co-wrote a song a couple of years ago with our now-departed music director) but they do this kind of thing all the time.

“Some day, some day,” I muttered to myself and to the seminary student I went with.

Yeah, I was impressed, but I’m not going to defect. Every time the thought even crosses my mind, a few lines I wrote to someone about four years ago come back. “Sincerity once was everything, and loyalty was absolutely priceless. But you wanted powerhouse, not promise, so now they’re not worth anything.”

I’m not that kind of guy. I’d rather take part in the building of something cool than just have it fall in my lap. There’s something about being able to watch it develop. And when it’s reached powerhouse status, you get the satisfaction of knowing you played a role–however small–in it getting there. Besides, I absolutely hate Manchester Road, which is the street where St. John’s is located.

I need to spend more time at St. John’s, so I may even make a trek up there a monthly thing. We need to learn from them. We’ve worked together in the past, but we ought to do that more.

Oddity of the day

This from Gatermann:

Um, why is your book selling for $55 at ebay and also the normal price? I found this while doing a search for your book to see if they had used copies for sale at Amazon and this popped up.

Then, on my own, I found this.

Yikes! $72.50!? I guess someone really likes it?

And you know what they say, if something saves you a lot of money, then it ought to cost a lot of money as well…

But seriously, it would appear that for some reason, someone’s decided the UK version (or perhaps some variant of the UK version that I’m unaware of) of the book is collectible. Who knows why. Maybe there was a small run with a misprint that was quickly corrected. I can’t imagine anyone collecting O’Reilly books, but I guess if people are going to collect computer books, O’Reilly has more mystique than most publishers.

It kind of makes me wonder what one of the tech-review copies would sell for. After all, there were only a half-dozen or so of those in existence (and even I don’t have one of those–I had it in PDF form). While not substantially different from what ended up on the shelves, there were changes.

Paying two or three times the cover price of a book published in 1999 seems, well, odd. Especially seeing as the book is still available.

I’ve e-mailed the book dealer to ask why that is, because now I’m really curious. Not to mention amused.

More Linux tricks

OK, I gotta tell this joke.
Osama bin Laden gets taken out by a daisy cutter. He’s standing up there at the pearly gates, where he’s met by George Washington. “You tried to harm the country I birthed!” he said. And he sucker-punched him.

“You tried to take Americans’ liberty, so they gave you death!” screamed Patrick Henry, who popped out of nowhere. Then he threw an anvil at him.

Thomas Jefferson and James Madison came out and started tag-teaming him, followed by 68 more freedom-loving Americans wielding assorted large and heavy objects.

Finally, John Randolph decided he’d had enough, so he picked up this bloody pulp that used to be bin Laden, and threw him over to the gate for his fiery judgment.

Bin Laden looks up at an angel standing there. “This isn’t the least bit like what I was promised!” he cried.

“I told you there’d be 72 Virginians waiting for you when you got here!” the angel said. “What’d you think I said, genius?”

Let’s talk about some Unix/Linux tricks. Since yesterday’s mention of top drew some positive response, I might as well talk briefly about a few more tricks.

First, the shell itself. If you can’t remember a command, type the first letter or two and hit the tab key twice. You’ll see all the possible combinations. Tab completion also saves you keystrokes and works on filenames too. Let’s say I’m editing /etc/apache/httpd.conf, here’s the key sequence I’ll probably end up using:

na[tab]/e[tab]apa[tab]h[tab]

It saves me more than half the keystrokes. It also lets me be lazy–as long as I remember roughly where the file is and what letter it starts with, I’ll find it quickly.

Steve DeLassus asked me once a couple of years ago why I didn’t use that trick. I said because I’d get addicted to it and hate not having it in Windows. Out of necessity I started using it. I hate Windows command prompts now.

If you want to see your disk usage, or how much space you have free, use the du and df commands. (I never have problems remembering that last one for some reason.)

If you need to see what’s inside your computer, remember the /proc subdirectory. This is Linux-specific, because each Unix variant has its own nuances about /proc. By viewing the file /proc/pci, you’ll get detailed information on the PCI devices in your computer. By viewing /proc/interrupts, you’ll find out what IRQs are in use and what’s sharing what. The /proc/scsi and /proc/ide trees will give you information on the disk subsystems. By poking around inside /proc, you can find out more about a PC than the old standby Norton Diagnostics for DOS used to tell you. Your Linux installation CD can be a valuable diagnostic tool–just boot a troublesome PC with it and hit ALT-F2 (or CTRL-ALT-F2 if it’s a distribution that uses a GUI-based installer) to switch to a console. Or use a single-floppy Linux distribution.

And as for learning this stuff, the only thing I can recommend is total immersion. I asked Charlie, our Unix sysadmin at work, how he learned Emacs. “I just set my edit variables to emacs and lived with it,” he said. “And after about a month I liked it.”

I think I’ll stick with nano or pico or joe or ee, personally. I know enough vi to be able to use it in an emergency. But his approach works for all things Unix. Either dual-boot the PC you have or pick up a cheap second PC. It’s not difficult to find an old Pentium, complete, for under $100 and a price pressure from cheap LCDs has had the nice side-effect of pushing the price of conventional CRT monitors way down. There’s enough good free Linux software out there now that you can live in Linux for long periods of time and still get the same things done in Linux that you would in Windows while you gain valuable and marketable skills.

While you’re at it, eat lots of salmon and blueberries (not necessarily together). They’re supposed to be good brain food, and that can’t hurt.

Once you’re starting to feel like you know something, pay IBM developerWorks a visit. They’ve got a certification prep series up there. You may not wish to spend the time and money to get certification, but by reading the series, you’ll get a good idea of what you know and don’t know, and you’ll learn some more good stuff in the process.