All in no particular order…

U2. I couldn’t help but notice during U2’s halftime performance yesterday how much Bono has aged. Now, granted, he’s 42 or 43 now, so he’s not going to look 22 anymore, but last night he didn’t look 42 to me. His voice didn’t seem terribly strong either, but that’s something he’s battled for more than 20 years. During their famous Sarajevo gig in 1997, Edge had to sing a few numbers (including Sunday Bloody Sunday) because Bono had lost his voice.
Above all else, it was a show. The band showed up on stage, sans Bono. He was walking through the crowd. They played one obvious song (Beautiful Day), then in a flash of showmanship, projected the names of 9/11 victims as they played an obscure song off The Unforgettable Fire, the haunting MLK (one of two tributes to Martin Luther King Jr. on that album) before segueing into Where the Streets Have No Name, with a few improvised lyrics (including a chorus from All You Need is Love, a nod to Paul McCartney).

Very typical U2. U2 fans undoubtedly loved it or at least enjoyed it; not-so-big fans probably weren’t so impressed (they sounded worse than, for instance, Mariah Carey, but a musician I work with is convinced she was lip-syncing) and U2 haters probably found something else to hate. I was impressed that they didn’t sell out by playing three songs off their current album. They played a hit from a year ago, then they played an obscure song, then they played a minor hit from 15 years ago, but it wasn’t one of the two huge hits off that album.

Heartbreak. That was what the game itself was. The Rams didn’t show up to play for the first three quarters. I have to wonder how badly Warner was hurting, because he definitely didn’t look 100% (and if I can notice a difference, there definitely is one). I have to wonder what if he hadn’t taken those hits late in the game three weeks ago against Green Bay…?

Security. I see from this story that Linux is less secure than Windows, based on counting reports at SecurityFocus.

SecurityFocus reported a total of 96 Linux vulnerabilities, versus 42 Windows NT/2000 vulnerabilityes (24 for Windows 2000 and 18 for NT4.0). Buried deeper in the article, you see that Mandrake Linux 7.2 notched up 33 vulnerabilities, Red Hat 7.0 suffered 28, Mandrake 7.1 had 27 and Debian 2.2 had 26.

So, first things first, James Middleton seems to think 2=4.

Now, math aside, those 26 Debian vulnerabilities were in all likelihood present in all the other distributions. So there’s a lot of triple- or even quadruple-counting here.

I remember a good number of those Linux vulnerabilities. Some of them were buffer overflows in utilities that would be difficult or impossible to exploit without shell access to the machine. Some of them were in daemons (services) that may or may not be running at any given time. Very few were in the kernel itself. Bottom line is, a typical Linux-based Web server sitting behind a firewall with only port 80 exposed probably didn’t have anything to worry about. The same goes for a typical Linux-based Samba server.

This isn’t like Windows, where you get the components Microsoft deems necessary, whether you want them or not, and you fear removing or disabling them because you don’t know what else will break and have no way of knowing. With Mandrake, you’ll get some services you don’t want, but you can disable them without breaking stuff. Red Hat has reformed and installs surprisingly little in its minimum installation these days. Debian installs even less.

So, the dirty little secret this article didn’t tell you: Not all the security problems affected any given Linux server. Chances are most of the security flaws affected any given Windows server.

I hate it when technology journalists blindly spit out numbers without having a clue what they mean.

I may publish again. I was mad enough to fire off a proposal to one of my former editors to see if he’d be interested in a few magazine articles. It’s time there was some stuff out there written by someone who has a clue what he’s talking about.

Useful link. For once I saw a banner ad that halfway interested me today. At LowerMyBills.com you can compare different utilities services available to you. Long-distance rates include both the interstate and intrastate rate (important if you’re like me and rarely call out-of-state). Alas, they don’t list local phone service providers, and their high-speed Internet listings aren’t complete, but it’s better than nothing. They also do listings for loans and debt relief, neither of which I need right now.

If the site’s useful to you, you’ll know.

Desktop Linux and the truth about forking

Desktop Linux! I wanna talk a little more about how Linux runs on a Micron Transport LT. I chose Debian 2.2r3, the “Potato” release, because Debian installs almost no extras. I like that. What you need to know to run Linux on a Micron LT: the 3Com miniPCI NIC uses the 3C59x kernel module. The video chipset uses the ATI Mach64 X server (in XFree86 3.36; if you upgrade to 4.1 you’ll use plain old ATI). Older Debian releases gave this laptop trouble, but 2.2r3 runs fine.
I immediately updated parts of it to Debian Unstable, because I wanted to run Galeon and Nautilus and Evolution. I haven’t played with any GNOME apps in a long time. A couple of years ago when I did it, I wasn’t impressed. KDE was much more polished. I didn’t see any point in GNOME; I wished they’d just pour their efforts into making KDE better. I still wish that, and today KDE is still more polished as a whole, but GNOME has lots of cool apps. Nautilus has the most polish of any non-Mac app I’ve ever seen, and if other Linux apps rip off some of its code, Microsoft’s going to have problems. It’s not gaudy and overboard like Mac OS X is; it’s just plain elegant.

Galeon is the best Web browser I’ve ever seen. Use its tabs feature (go to File, New Tab) and see for yourself. It’s small and fast like Opera, compatible like Netscape, and has features I haven’t seen anywhere else. It also puts features like freezing GIF animation and disabling Java/JavaScript out where they belong: In a menu, easily accessible. And you can turn them off permanently, not just at that moment.

Evolution is a lot like Outlook. Its icons look a little nicer–not as nice as Nautilus, but nice–and its equivalent of Outlook Today displays news headlines and weather. Nice touch. And you can tell it what cities interest you and what publications’ headlines you want. As a mail reader, it’s very much like Outlook. I can’t tell you much about its PIM features, because I don’t use those heavily in Outlook either.

The first time I showed it to an Outlook user at work, her reaction was, “And when are we switching to that?”

If you need a newsreader, Pan does virtually everything Forte Agent or Microplanet Gravity will do, plus a few tricks they won’t. It’s slick, small, and free too.

In short, if I wanted to build–as those hip young whippersnappers say–a pimp-ass Internet computer, this would be it. Those apps, plus the Pan newsreader, give you better functionality than you’ll get for free on Windows or a Mac. For that matter, you could buy $400 worth of software on another platform and not get as much functionality.

Linux development explained. There seems to be some confusion over Linux, and the kernel forking, and all this other stuff. Here’s the real dope.

First off, the kernel has always had forks. Linus Torvalds has his branch, which at certain points in history is the official one. When Torvalds has a branch, Alan Cox almost always has his own branch. Even when Cox’s branch isn’t the official one, many Linux distributions derive their kernels from Cox’s branch. (They generally don’t use the official one either.) Now, Cox and Torvalds had a widely publicized spat over the virtual memory subsystem recently. For a while, the official branch and the -ac branch had different VMs. Words were exchanged, and misinterpreted. Both agreed the original 2.4 VM was broken. Cox tried to fix it. Torvalds replaced it with something else. Cox called Torvalds’ approach the unofficial kernel 2.5. But Torvalds won out in the end–the new VM worked well.

Now you can expect to see some other sub-branches. Noted kernel hackers like Andrea Archangeli occasionally do a release. Now that Marcelo Tosatti is maintaining the official 2.4 tree, you might even see a -ac release again occasionally. More likely, Cox and Torvalds will pour their efforts into 2.5, which should be considered alpha-quality code. Some people believe there will be no Linux 2.6; that 2.5 will eventually become Linux 3.0. It’s hard to know. But 2.5 is where the new and wonderful and experimental bits will go.

There’s more forking than just that going on though. The 2.0 and 2.2 kernels are still being maintained, largely for security reasons. But not long ago, someone even released a bugfix for an ancient 0.-something kernel. That way you can still keep your copy of Red Hat 5.2 secure and not risk breaking any low-level kernel module device drivers you might be loading (to support proprietary, closed hardware, for example). Kernels are generally upward compatible, but you don’t want to risk anything on a production server, and the kernel maintainers recognize and respect that.

As far as the end user is concerned, the kernel doesn’t do much. What 2.4 gave end users was better firewalling code and more filesystems and hopefully slightly better performance. As far as compatibility goes, the difference between an official kernel and an -ac kernel and an -aa kernel is minor. There’s more difference between Windows NT 4.0 SP2 and SP3 than there is between anyone’s Linux 2.4 kernel, and, for that matter, between 2.4 and any (as of Nov. 2001) 2.5 kernel. No one worries about Windows fragmenting, and when something Microsoft does breaks a some application, no one notices.

So recent events are much ado about nothing. The kernel will fragment, refragment, and reunite, just as it has always done, and eventually the best code will win. Maybe at some point a permanent fracture will happen, as happened in the BSD world. That won’t be an armageddon, even though Jesse Berst wants you to think it will be (he doesn’t have anything else to write about, after all, and he can’t be bothered with researching something non-Microsoft). OpenBSD and NetBSD are specialized distributions, and they know it. OpenBSD tries to be the most secure OS on the planet, period. Everything else is secondary. NetBSD tries to be the most portable OS on the planet, and everything else is secondary. If for some reason you need a Unix to run on an old router that’s no longer useful as a router and you’d like to turn it into a more general-purpose computer, NetBSD will probably run on it.

Linux will fragment if and when there is a need for a specialized fragment. And we’ll all be the better for it. Until someone comes up with a compelling reason to do so, history will just continue to repeat itself.

Webshots and Weatherbug, away with you!

The bane of the NT administrator’s existence banished. I had a problem last week with a user who was complaining about lockups. I went and looked at the system, and it turned out not to be lockups at all–the system was running out of CPU cycles, so it appeared to lock up, but if you let it sit long enough, it would recover. The system had so many user-installed toys, such as Webshots and Weatherbug and RealAudio and RealJukebox, that it didn’t have enough punch left to do real work. I disabled the toys, to many objections, and told the user to call me if the system had any more problems. I told her that yeah, the way I set up computers is drab and boring and utilitarian, but they work.
Supposedly Windows NT won’t allow regular users to install software. In reality, they can install a lot.

Here’s the trick. Open regedt32 (not regedit) and navigate to HKLMSoftwareMicrosoftWindowsCurrentVersionRun. Go to Security. The All Users group has special access. Change that to read-only access.

We did that at work on one machine, then logged in with a non-priveliged account, and we must have been the first people in history who had problems installing Webshots and Weatherbug.
Some programs may install anyway, though they fail to write the run key. But in order for them to start up, the user will have to drag the executable to their personal startup group. Most of the users who install this garbage don’t know how to do that.
Hard drive first aid. I had an external Mac SCSI hard drive that was acting up. I was able to get it to run once, for about 5 minutes. From then on, when you powered up, it would just seek incessantly. Stiction, I hoped–though it’s unusual for stiction to set in while a drive is actually running. I shut it down and let it rest. No improvement.

My normal cure for stiction is to blow-dry it to heat it up above operating temperature to loosen the oil. Lacking a blow dryer, I resorted to something I really don’t like to do. Well, since this was a Mac peripheral, I didn’t really care. And I made a pretty big show of it. I held the drive about six inches off the floor. “I’m gonna do it!” I said. My coworkers looked up. I released the drive, sending it hurtling to the floor. The force of the impact knocked the front of the enclosure loose.

“You’re recalibrating it?” someone asked.

I grinned, picked up the drive, snapped the front cover back on, and plugged it in. The drive ran. I copied the data off to another drive. It was a bit slow–this isn’t a healthy drive–but it copied. And the drive ran all day, to my amazement.

Incoming links: http://gsw.edu/~oiit/techsupp/software.html

Let the revolution begin…

I was called in to an emergency meeting yesterday morning. I was up to my eyebrows in alligators, but my boss was insistent. I had to be there. So I went. When we sat down, the tone was somber and slightly meandering. The guy who called the meeting just didn’t want to get to the point. Finally it hit me: Layoffs. That’s what this has to be about. So… Who’s gone? I’m not the highest-paid guy in my group, I’m probably the most versatile, and I’m not the most recent hire, so I’m probably safe. I was right about layoffs, or, more accurately, one layoff, followed by a restructuring. And the layoff wasn’t me.
I think we’re a better fit in our new structure (under our old organization we were married to a group that really didn’t like my group, or at least they didn’t like me, and now we’re married to a group that does, for the most part, like my group), and my boss’ new boss is so busy we shouldn’t have to worry about him messing with much. But I don’t like change, and my Scottish clan’s motto, “Fide et Fortitudine” loosely translates into “loyalty and guts” today. The loyalty side of me has some problems with what happened yesterday, but looking at it strictly from a business standpoint, I sure can’t argue with it.

Meanwhile, I needed about three minutes’ worth of quality time with that indignant hard drive to get the data I so desperately wanted. I got it. Next struggle: Getting Windows NT to work properly with eighth-rate hardware. This PC has a generic RealTek 8139-based card (so we’re talking a generic clone of a Linksys or D-Link card here… A clone of a clone), Trident Blade 3D video, ESS 1868 sound, and an AOpen 56K modem (at least it wasn’t a Winmodem). The AOpen modem is, by a longshot, the best component in the machine outside of the Gigabyte motherboard and Pentium II-450 CPU. I’ll say one thing for brand-name hardware. Drivers are easy to come by and they generally install correctly the first time, every time. It took me an hour to track down Blade 3D drivers that work, then it took me a good 30-45 minutes to get those working. The Realtek drivers at least worked the first time. I never did get the ESS drivers working. The AOpen modem driver went off without a hitch, mostly because it’s actually a controller-based modem. I stand by my assertion that you can buy $10 components and spend $100 worth of time trying to get each of them working right, or you can buy $50-$75 components from a reputable maker and make them work the first time. Seeing as the more expensive components will probably work well together too and give better performance, it’s a no-brainer for me. Gimme Creative or Guillemot video and sound cards and pair that up with a 3Com or Intel NIC and I’ll be a happy camper.

Tomorrow I’ll talk about my bookstore adventures. I want to go read for a while.

OK, I’m back for a second. I can’t resist. Not quite four years ago, I had a conversation with another Journalism major/history minor (one who, unlike me, actually finished his history minor, if I recall correctly). Over dinner with my then-significant other, he told me all about his theory of generations, as she looked on, entranced. The nasty breakup that soon followed that conversation overshadowed it, and I didn’t think of it again until last night, when I spotted the book Generations, by William Strauss and Neil Howe, on the shelf of a used bookstore. Curious, I looked at it, and sure enough, this was where that guy got his ideas. It was marked six bucks. I bought it, started reading, and gained some insight on myself. Why do I go ga-ga over the writings of F. Scott Fitzgerald, and get chills whenever I read about his personal life because it all feels so familiar? He and I are from parallel generational cycles. His generation thought like mine does, so we grew up in similar peer environments. Why do I understand people 10 years older than me so much better than people 10 years younger than me? I was born 7 years before the end of my generational cycle.

Tough day yesterday.

Yesterday was tough. Upon arrival at work, a nasty Mac problem hit–a totally dead machine that wouldn’t boot. I dinked around with that for a couple of hours. And when my boss saw me, he told me I’d be working out of another building for the next week. On a normal week I wouldn’t have any problem with that. Last week and next week don’t look to be normal weeks.
The Mac problem ended up being an extremely corrupt system folder. The drive was perfectly readable, but wouldn’t boot (and the drive made a lot of unpleasant noises while trying). I copied the contents to another drive and it did the very same thing. Hopefully this user has learned not to screw around, but I doubt it. That’s a huge advantage of Windows NT: The user is much more limited in what’s permitted. At a couple of points during this fiasco I exclaimed, “Get a real computer!” One of the people in the department said, “Bind and gag that man!”

But the statistics back me up. The people in that department running NT have a small percentage of the number of problems the people with overdesigned, overpriced, unreliable Mac boxes have. There are times when I’ll give someone a PC, then I never hear from them again until it’s time for the machine to be replaced or a mandatory upgrade goes around. But if a Mac doesn’t get intense monthly maintenance, you can forget about the thing ever being reliable.

I got the Mac running by installing a new copy of the OS and dragging all the preferences over from the corrupt system folder. I left the extensions behind since it was well past 5, I had to be somewhere at 5:30, and I didn’t cause this problem.

On top of all that, I had a laptop from the field come in. It had been giving the user problems for a while (he didn’t say how long), and the symptoms he described sounded to me like the hard drive was failing. I asked if he had a recent backup. He did not. He sent me the laptop. I powered it up, and it’s no longer capable of booting. It tries but never gets far. I pulled the drive and put it in another machine so I could try to recover the data. Linux won’t even mount the drive, it’s in such bad shape. NT won’t read it because it’s formatted FAT32 (that’s it–this next build for deployed users is using FAT16 so I can recover their data with whatever OS I want, seeing as I’ll have to do a lot of it since they refuse to make backups), so I’m spending my Saturday building a Win98 box so I can read the drive and hopefully get some data back. Good thing I get time and a half…

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.

03/23/2001

I’m looking for inspiration and having a terrible time finding any. That’s what happens when you only do one or two things all week. I’ve beaten Squid to death. There seems to be no incantation I can recite to make Office 4.2.1 run under Mac OS 9. And that pretty much sums up my week.

AMD released 1.3 and 1.33 GHz Athlons this week. They’re priced at around $320 and $350. For software development they’d be great. For video editing they’d be great. For emulating Amigas at wicked speed they’d be great. But what else would you do with that kind of processing power?

For me, the best thing about this chip is it means fewer people will want 800 MHz CPUs, so I’ll be able to get an 800 cheaper. That’s still insanely fast.

Reactions on the hardware sites are mostly predictable. The biggest surprise I saw was Tom Pabst over at Tom’s Hardware, once the most outspoken critic of the P4, is now calling it “certainly no bad product whatsoever.” Last year he made it sound like the spawn of Satan. But he still likes the 1.33 GHz Athlon better.

One nice thing about the hardware sites: when they overclock, you get a nice preview of what future CPU speeds will give you. The Athlon at 1.466 GHz severely outperforms the 1.5 GHz P4, not that most people will be able to tell a difference.

Apple releases OS X tomorrow. It will get mixed reviews. Finally there’s an Apple OS that has a prayer of being stable. Software compatibility is likely to be lousy. There are capabilities that are missing, such as DVD support–and wasn’t Apple the one who’s been saying DVD is so important all along that they made it next to impossible to buy a Mac without a DVD drive?

Chances are I’ll end up running it on a machine at work, and I’m sure I’ll like it better than OS 9. Whether I’ll like it better than Windows NT or Linux, I have no idea.

Historically, it’s always been better to wait for Apple’s dot-one releases. System 7 was an atrocity, while 7.1 was actually a decent OS for its day. OS 8 was promising but buggy, while 8.1 is probably the best version of the old-style Mac OS ever released. I never found anything to like about OS 9. I don’t have a whole lot of experience with 9.1 yet–we’ve still got a lot of machines running 8.6 at work because there wasn’t ever any reason to move them, and once I managed to get 9 working decently the last thing I wanted to do was go back in and change things.

I suspect OS X won’t come into its own until the dot-one release, or possibly even dot-five. This is a much, much bigger change than System 7 or OS 8 were.

03/19/2001

Another useful hidden utility. If you’ve never used Sysmon.exe, remember it. With Windows 98 and newer, you can use it to track CPU usage, memory usage, and disk throughput (usunted information, I always searched the Web. When I wanted useful information, I hit DejaNews. Sure, there was a lot of junk out there, but 50% of it was good stuff, and most of that never made it onto the Web. I never did find any useful information on the Asus SP97V motherboard on the Web, because the hardware sites weren’t into it. I found out what I wanted to know about it from DejaNews. When I wanted to know how to get Windows NT Workstation machines to authenticate against an OS/2 domain, I found out how on DejaNews. When I needed information about XTs and ATs for some insane reason, I hit DejaNews.

I spent a little time in the comp.sys.ibm.pc.hardware hierarchy for old time’s sake yesterday. I’m sure I’ll get a ton of spam now because I probably didn’t spam-filter all of my e-mail addresses, but that’s OK. It was pretty fun. I’ll have to do it again someday soon. It’s the closest thing I can find to an old-style BBS that still exists and has a sizable community. The scary thing is, some of the old WWIVnet message boards had a bigger community than comp.sys.ibm.pc.hardware seems to have. The questions I answered were hardly difficult ones, and some of them had been sitting for a couple of days, which never would have happened on WWIVnet. And I know WWIVnet wasn’t even the biggest of the BBS networks, it just happened to have a lock on the St. Louis market in the late 1980s and early 1990s. I wonder where all those wizards went?

I ought to install a text-based newsreader on my Linux box to give myself a more authentic atmosphere though. This stuff just doesn’t look right when it’s running in a GUI. Not to me at least–back when I was dialing up BBSs, nobody ever ran Windows. At the very least, it should be running in a terminal window. Hmm. Maybe next time…

Even if the community is smaller, Usenet does have one big advantage over the old-school BBS though: No busy signals.

Rare DOS disk utilities

Mailbag:

RAM disk; Your book; Mobos; Monitors; Net folders

I’ve been doing a bunch of work in DOS the past few days, and I’ve found some useful disk tools. A lot of people use the shareware WinImage or GRDUW to create images of floppy disks. That’s with good reason, seeing as floppies are so unreliable–this way, you’ve got a backup on a hard drive or CD-ROM drive, and it’s so much more convenient when you need a particular disk to just grab a blank, make a fresh copy from an image, and go do your thing. But I found some DOS utilities, some recent and others oldies but goodies, that give you the functionality of these shareware utilities but with the advantage of being free, smaller, faster, and in most cases running on a wider variety of operating systems–all good things. So they don’t have a nice clicky mousey interface… I don’t like using a mouse anyway. Maybe you’re like me, or maybe you like powerful utilities and don’t mind giving up the mouse to be able to use them.

So here goes.

Creating disk images. My favorite is  Diskwarez DF — of course I like this utility, seeing as it bears my initials. DF is a short and sweet utility for creating and writing disk images compatible with Rawrite and the Unix dd utility. Runs under DOS and under Windows 9x and NT in a command window. There are dozens of DOS disk imaging utilities out there, but this one has the advantage of being compatible with a very common cross-platform standard. Check out the Diskwarez site, as it’s got tons of info on disk programming, as well as some other utilities like free disk editors. Despite the name, it’s not a pirate site–Diskwarez software is distributed under a free license somewhat similar to the GPL.

If you prefer self-extracting images, you can use the similarly named DOSDF to create them.

Bigger, faster, better floppies. The other feature of GRDUW is to format high-capacity floppy disks and floppies that give faster access than disks formatted with Windows Explorer or the DOS format utility. Enter FDFORMAT . You can do that and plenty of other cool things with this utility. You can gain more usable space on a 1.44-meg floppy without resorting to weird disk formats just by reserving fewer root directory entries. For example, FDFORMAT A: /D:16 gives you the maximum available space on a 1.44-meg floppy by reserving just 16 root directory entries (if you’re storing large files you don’t need more than 16 anyway, probably).

For extra speed, use Sector Sliding: FDFORMAT A: /X:2 /Y:3 speeds up the disk by 50-100 percent by arranging the tracks in a more optimal order. Supposedly you can gain even more speed by playing around with the gap length, but the author says disks are less reliable when you do this. If you’re more interested in speed than in reliability, add the /G:32 switch to the command listed above.

And by default, the boot sector on disks formatted by FDFORMAT automatically try to boot to the hard drive rather than giving you the dreaded “Non-system disk or disk error” message. Why couldn’t Microsoft think of that?

And of course you can also format high-capacity disks. Use the /F168 option to format a 1.68-MB floppy, and the /F172 option to format a 1.72-meg floppy. These switches can be combined with the others as well. Keep in mind that extra-capacity disks aren’t bootable.

FDFORMAT’s downside is it won’t run from inside Windows NT or Windows 9x. The best thing to do with it is to format a disk with it on a PC booted into DOS (DOS mode from Windows 9x’s boot menu is sufficient), then take that disk and use the aforementioned DF or DOSDF utilities to make an image of that disk, then when you need to format a new high-speed disk or a new disk that won’t give you errors when you leave it in the drive, use the image.

Formatting bad disks. And finally, for those dreaded Track 0 Bad errors that render a disk unusable, there’s FR , which uses workarounds to try to make the disk usable again. Typically I get rid of floppies with bad sectors pretty quickly, but if it’s an emergency, this program might bail you out. I used to get around Track 0 errors by formatting the disk in my Amiga–for some reason the disk always worked after that–but seeing as I usually don’t have my Amiga set up, this is an alternative.

And wouldn’t you know it, as soon as I wrote that I found a better way. SmartFormat also does Track 0 workarounds, uses the date and time to create unique disk serial numbers (instead of Microsoft’s license-plate method), provides a fast format that’s up to 60% faster than Microsoft’s method, and can optionally format 1.72-meg disks. SmartFormat runs within Windows, usually.

Mailbag:

RAM disk; Your book; Mobos; Monitors; Net folders

Optimizing BIOSes and optimizing DOS

Optimizing the BIOS. Dustin Cook sent in a link to Adrian’s Rojak Pot, at www.adriansrojakpot.com , which includes a BIOS tweaking guide. It’s an absolute must-read. I have a few minor quibbles with a couple of the things he says, particularly about shadowing and caching your ROMs with Windows 9x. He says you shouldn’t do it. He’s right. He says you shouldn’t do it because Microsoft says not to do it with Windows NT, and Windows 9x “shares the same Win32 architecture.” It does and it doesn’t, but that’s flawed logic. Shadowing ROMs isn’t always a bad thing; on some systems that eats up some usable memory and on others it doesn’t, depending on the chipset and BIOS it uses. But it’s pointless because Windows doesn’t use the BIOS for anything, unless you’re in safe mode. Caching ROMs makes very little sense; there’s only so much caching bandwidth to go around so you should spend it on caching memory that’s actually being used for something productive. So who cares about architecture, you shouldn’t cache and shadow your ROMs because Windows will ignore it one way or the other, so those facilities are better spent elsewhere. The same thing is true of Linux.

Still, in spite of this minor flaw I found in a couple of different spots, this is an invaluable guide. Perfect BIOS settings won’t make a Pentium-90 run like a Pentium III, but poor BIOS settings certainly can make a Pentium III run more like a 386DX-40. Chances are your BIOS settings aren’t that bad, but they can probably use some improvement. So if you want the best possible performance from your modern PC, visit Adrian’s. If you want to optimize your 386 or 486 or low-end Pentium, visit the site I mentioned yesterday.

Actually, it wouldn’t be a half-bad idea to take the downloadable versions of both guides, print them, and stick them in a binder for future reference. You’ll never know when you might want to take them with you.

Optimizing DOS again. An awful lot of system speed is psychological. I’d say maybe 75% of it is pure psychology. It doesn’t matter so much whether the system really is fast, just as long as it feels fast. I mentioned yesterday keyboard and screen accelerators. Keyboard accelerators are great for people like me who spend a lot of time in long text files, because you can scroll through them so much faster. A keyboard accelerator makes a big difference in how an old DOS system feels, and it can improve the responsiveness of some DOS games. (Now I got your attention I’m sure.)

Screen accelerators are a bit more of a stretch. Screen accelerators intercept the BIOS calls that write to the screen and replace them with faster, more efficient code. I’d estimate the speedup is anywhere from 10 to 50 percent, depending on how inefficient the PC’s BIOS is and whether it’s shadowing the BIOS into RAM. They don’t speed up graphics at all, just text mode, and then, only those programs that are using the BIOS–some programs already have their own high-speed text routines they use instead. Software compatibility is potentially an issue, but PC power users have been using these things since at least 1985, if not longer, so most of the compatibility issues have long since been fixed.

They only take a couple of kilobytes of memory, and they provide enough of a boost for programs that use the BIOS that they’re more than worth it. With keyboard and screen accelerators loaded in autoexec.bat, that old DEC 386SX/20 feels an awful lot faster. If I had a copy of a DOS version of Microsoft Word, I could use it for writing and it wouldn’t cramp my style much.