So, I was gonna write some cool stuff this weekend…

But I gots a dead server. No, this server’s fine, but one of the servers at work is dying a horrible death. So I’ll be dealing with that this weekend, instead of writing cool stuff. Part of me wants to complain, but then another part of me reminds me that it’s because of emergencies like this that I have a nice house and a nice car and I’m ahead of schedule on paying off both of them, so that part of me shuts up pretty fast.

So anyway, I may not resurface for a few days, depending on how this goes.

Running ancient DOS games on modern Windows

So today I was one of at least two people trying to help Jerry Pournelle get the original Railroad Tycoon running under Windows XP. The secret is DOSBox, a cross-platform DOS emulator.DOSBox emulates a 386-class PC, with VGA and a SoundBlaster, under multiple operating systems–most notably, Linux and Win32. It’s pretty slick in a number of ways. Boot it up, and you’ve instantly got sound configured and 637K of conventional memory available, along with enough extended memory to round out 16 megs. All without messing around with arcane and archaic memory manager commands in config.sys. (Remember that?)

When Jerry last e-mailed me, the game was running but he was having difficulty getting the mouse to work, even when hitting ctrl-f10 to lock the mouse. I suspect it’s easier to get PS/2 mice to work with the emulator than USB mice, as under Windows USB is a different driver. But I’m not certain. I’m still trying to find my box of old DOS games so I can even test the emulator properly. Based on his site, it looks like he got it working, but didn’t elaborate on what it took. I don’t blame him–if I’d just gotten the original Railroad Tycoon running again, I think I’d have better things to do than write back a dozen people to say, “It works.”

Because DOSBox actually emulates everything and doesn’t rely on the hardware, you need a GHz-plus machine to get 486 speed out of it. That’s the price you pay for higher compatibility. The cardinal rule of emulation has always been that any machine can perfectly emulate any other machine as long as speed is not a factor. Fortunately, those aren’t especially rare or expensive these days.

I’m definitely going to keep looking for that box of old floppies. My 1.3 GHz Athlon ought to run that old DOS stuff pretty well, I would think. I’ve been wishing for about six or seven years that something like this would come along. Long enough that I wasn’t even ready for it when it appeared in a reasonably mature state…

Fixing a Marx 490 O27 toy locomotive

Note: Please don’t do what I did in this post. Chances are you’ll make things worse in the long run.  If you’re looking for information on fixing a Marx train that won’t run, go here for instructions on how to do that.

I fixed my Marx 490 locomotive this weekend. I used the tips in The All Gauge Model Railroading Marx Trains guide. Scroll down to the heading titled, “The Marx motor.”

I was skeptical because these instructions call for WD-40, and it seems I’ve read a hundred other places never to use WD-40 on any model train. But my Marx 490 wasn’t running well, and it would cost more to have it professionally repaired than it’s worth.But before I continue, let me interject something. If you’re here from Google because you just found a box of old trains that say “Mar” on them, the company is Marx, not Mar. And the trains look a lot like Lionel, but they’re not Lionel. In a few rare instances, Marx trains are very valuable. But in most cases, a Marx isn’t worth as much as the box a Lionel came in. Which is why I said it would cost more to repair my Marx than it was worth. I just had two Lionels repaired for $25 each, plus parts. You can usually get a Marx 490 with some cars on eBay for $25.

But that’s not to say Marxes don’t have charm. They certainly do.

There. I feel better now. Back to the story. Where was I? Oh yeah. WD-40. I didn’t use WD-40 on my Marx. I used Gunk Liquid Wrench instead. Two reasons: The main purpose behind WD-40 and similar oils is to clean, rather than lubricate. They leave a little bit of lubricant behind, but not a lot. Gunk Liquid Wrench, like WD-40, is primarily a solvent. But it has synthetic oil in it, whereas WD-40 has kerosene in it. In my mind, this makes Liquid Wrench a better choice for this purpose because what little lubricant it leaves behind when the solvent evaporates will be of higher quality and last longer than WD-40’s lubricant.

But there was a second reason. Liquid Wrench was on sale, so it was cheaper. I also thought long and hard about Marvel Mystery Oil in a spray can–it works in cars and airplanes something wonderful–but opted for Liquid Wrench because the instructions called for a penetrating lubricant, and I didn’t know if the Marvel would exhibit the same kinds of properties. I’m a journalist-turned-computer tech by trade, not a chemist.

But first, I tried omitting the WD-40 step and just cleaned it with Goo Gone and TV tuner cleaner. Like I said, every time I turn around I read somewhere that you shouldn’t go near a model train with WD-40. Between the TV tuner cleaner and the Goo Gone, the train looked brand new very quickly. I was impressed. It ran very nicely too, but the next day it didn’t run at all. Figuring that now I had nothing to lose, I broke out the Liquid Wrench.

After a spraydown with Liquid Wrench, it ran too well–it flew off the track and fell 4 feet to my concrete floor. Ouch. That left a mark. One corner of the cab busted off, and it took me a good 15 minutes to find it. After I’d let the locomotive run 20 minutes–with a big load this time, to slow it down and keep it on the track–I re-glued the broken corner with some Tenax-7R plastic welder. Tenax is great stuff–apply a small amount of it, hold the pieces together for a minute, and they’ll stay. It’ll take 8 hours for the joint to completely dry and reach full strength, but after just a minute, the joint is as strong as it would be with every other glue I’ve ever tried on plastic.

Lesson learned: Keep your test track on the floor. Or surround it with pillows. Or use a Marx transformer that can send just a couple of volts on its lowest setting, so slow actually means slow.

The next day, I ran my 490 the opposite direction on my track–the first time I’d ever run a locomotive that direction on the track. And guess what? I found a bad spot on the track. It derailed–again–and the piece I’d glued fell off in spite of the cushions I’d placed all around my table.

Then I remembered that Tenax is amazing stuff if your two pieces fit snugly, because unlike some glues, Tenax doesn’t fill in the gaps at all. The break must not have been clean enough to give the Tenax adequate surface area to create a very strong bond. So I re-glued with epoxy, since epoxy will fill gaps. It held this time.

So now Marxie has a battle scar and he’s probably worth half what he was worth a week ago, but he runs very well. It’s short on ability but long on heart–it struggles pulling loads that won’t make a Lionel break a sweat. But it’ll pull them, and you can see it working hard doing it. And where a Lionel will just give up on a grade with a curve with a long load of cars, the Marx just keeps spinning its wheels, ever faster, until something manages to catch and it propels on its way.

I think that’s what I like about it. It never gives up.

There are a few other things to like about them too. Like I said before, you can buy a Marx locomotive for less than the price of the box a Lionel locomotive came in. Marxes are easy to take apart–mine’s held together by four joints, easily pried apart with a small slotted screwdriver. And the motor is simpler than a Lionel, so it’s easier to understand. If you want to learn how to fix toy trains, Marxes are easy to learn on, and if you mess up, you ruin a $15 locomotive rather than a $100-$1,000 locomotive.

Today\’s focus on Christ\’s death is misplaced

I’ve been thinking about Mel Gibson’s upcoming The Passion of Christ. It’s hard not to, with all the publicity drummed up about it, and my church bought two showings of it on opening week and me finding out today that we’ve already sold all of our tickets.

I believe the controversy is misplaced, but I don’t want to dissuade the people who are up in arms about the movie. Keep talking about it. Keep drawing attention to it. That only means that more people will talk about it, and more people will see it. And talking about it and seeing it is exactly what Mel Gibson wants. And talking about Him is exactly what Jesus wanted.

The rest of this post is for the rest of you.This movie is controversial because it deals with the execution of Jesus Christ, which for some reason is always a controversial topic. In the past, it has been used to drum up anti-Semitism for questionable purposes. Christianity is not about anti-Semitism. Need I point out that Jesus was as Jewish as they come? And so were the 12 guys he ran around with for 3 years? So was Paul, the most prolific of the early missionaries.

Christians should know (and I hope they do) that who killed Jesus is irrelevant. Jesus had to die, period. He had to die because that was what God sent Him to do.

But let’s say, for the sake of argument, that it is relevant. I’ll play the game.

Technically speaking, it wasn’t even the Jews of the day who killed Him. They couldn’t. By law, they didn’t have that right. They encouraged the Romans to kill Him, but it was Pilate, the Roman governor, who gave the order, because only Pilate had the right to order the death penalty. It’s no different from someone who hires a hit man to kill somebody. Both the hit man and the person who hired the hit man are guilty.

The Rome of Jesus’ day doesn’t exist anymore, politically speaking. But its tradition, its form of law, and its very philosophy of life lives on in modern Europeans. I’m of European descent, and if you’re reading this, chances are you are too. If the Jew down the street from you is responsible for Jesus’ death, then you are no less guilty.

And that leads us very nicely into where our focus should be. Our focus should not be on who killed Jesus, but rather, why did God send Him to die in the first place?

The reason is very simple. Sin.

Here’s an exercise that I’ve had people do from time to time. I want you to picture the person who has grieved you more than anyone else in life. Remember the pain that person caused you. Now, put that person on trial for what she or he did. The judge hands down the verdict: Death. A horrible death. Crucifixion, to be exact.

So that person who grieved you gets flogged 39 times (40 would kill you), then they strap a big piece of lumber to his/her back and begin the march up the hill. You go along, because you’re going to drive the first nail. About halfway there, the beaten and tired executionee falls. Someone grabs the closest man out of the crowd and makes him carry it the rest of the way. He does so willingly.

And once they get up that hill, just as the executionee is about to have an ugly face-to-face meeting with fate, that man from the crowd cries out, “Wait! I’ll go instead.” And pushing everyone out of the way, He lays down, willingly, on that cross.

That executionee, in some people’s minds I’m sure, is me. In someone else’s mind, that executionee is you. Or my neighbor. Or your neighbor. Because we’ve all hurt somebody, regardless of our intentions or anything else. We’re all guilty.

Jesus died so that you and I wouldn’t have to. And then He drove the point home by coming back from the dead three days later. And Jesus didn’t really focus on His death after coming back. Instead, He talked more about His life, and what His surviving followers were supposed to do next.

Our attitude about Jesus’ death should be like that of Joseph. See Genesis 45. Joseph was the son of Jacob who was sold by his brothers into slavery in Egypt. The brothers faked his death and sold him as a slave to some traveling Arabs, who in turn sold Joseph in Egypt. Joseph gained favor through the years, and eventually found himself in a position of high power. There was a serious famine, but the shrewd Joseph had been stockpiling food, so during the famine, Egypt was the only country who had anything. Then one day, guess who shows up wanting to buy food from Joseph? His brothers. And guess what Joseph had to say to them?

“God sent me here to save your lives… So it wasn’t you who sent me here, but God.” (my paraphrase of Genesis 45:7-8.)

Just as God meant the horrible thing that happened to Joseph for good, God meant that horrible thing that happened to Jesus for good.

Specifically, for your good and mine.

Buy, don\’t build, enterprise servers

Steve sent me some questionable advice he found online–basically, someone advocating that you build your high-end servers rather than buying them, but admitting that it’s difficult for someone to build a $20,000 server and still be able to afford to maintain the thing.

There’s a solution: Buy it.This is the opposite of the best advice for desktops (although I increasingly tell people to just buy their computers because you don’t really save any money by building), but there are lots of very good reasons for it.

First and foremost is maintainability. The last time something went wrong with one of the HP servers at work, an LED on the front case came on before the problem became critical. Pop open the case, and an internal LED next to the failing component is lit up. Does your off-the-shelf motherboard have that feature? It may or it may not.

How does hot-spare memory sound? It’s kind of like RAID. You buy identical DIMMs to put in the system, but you buy one extra one, which goes into a specially designated slot. When a DIMM starts to fail, the system switches over to the hot spare. In the case of the mid-range HP servers, you can even open the case up, remove the failing module, and replace it, without powering down.

Of course you want your server to have RAID, and use hot-pluggable drives, so a failed disk doesn’t mean downtime. All but the very cheapest commercially-built servers have that feature from the factory.

But if you really have a budget of $20,000 per server, you shouldn’t even mess around with local storage. Buy some kind of a Storage Area Network instead. Basically, it’s a large bank of disks that connects to any number of servers. Some use a Fibre Channel connection, while others just use an Ethernet connection. Then you buy disks, slap them in the SAN, and configure the SAN to split the storage up between the servers. Ever run into a situation where you need 40 gigs of storage, and one server has 10 gigs free and one has 30 gigs free, but there isn’t much of anything you can move around to consolidate that free space? The SAN eliminates that. You can add one monster 300-gig disk to an array and split that storage up however you want. And one hot spare protects the entire array–no more need to buy one hot spare for every server on your network. On a big network (40 servers), that alone can pay for the SAN.

Finally, as far as spare parts go, a company ought to keep a couple of spare hard drives around for the times when a disk in a RAID array or SAN fails. But you put the servers on a maintenance agreement with someone like HP, IBM, or EDS, so that when anything else fails, that company comes out and replaces parts with its inventory. Outsource your server organ donor bank. You’ll save money, not just on the parts themselves, but also on physical storage space.

When I can get all of these features (except for the SAN) in an HP Proliant server that costs about $3,000, there’s no point in my employer wasting time building its own servers.

Wikipedia hits 200,000

Over the weekend, Wikipedia reached the milestone of 200,000 entries in its free encyclopedia. Dan Gillmor praised it in his syndicated column.As usual, Slashdot got wind of it, and as usual, people who’ve never even seen the thing started spouting off about how something that anyone can change can’t possibly be accurate or useful. (Wonder how many of those people run Linux?) At least one person ran over there and vandalized some pages to demonstrate his point. And I’m sure the edit got reversed within a few minutes when someone noticed a change in a watchlist. I, for one, visit occasionally and whenever a change pops up in my watchlist, I look at it out of curiosity. Sometimes I learn something and sometimes I find defacement, which I can then fix.

But I guess if Slashdot discussions were the only thing I ever read, then I wouldn’t have that high of an opinion of something written by random people at will, either.

A more valid criticism is that Wikipedia, by its very nature, can never be accepted as a source for scholarly work. But then I thought back to the papers I wrote in college, and I don’t believe I ever used an entry out of any encyclopedia as a source in any paper that I wrote. And being a journalism major who was 3 credit hours away from a history minor and who filled most of his electives with English and political science classes, I wrote a lot of papers in college. When I wrote my paper on the influence of William Randolph Hearst on the William McKinley administration, I may have looked up both Hearst and McKinley in an encyclopedia to get background information, but I doubt it. Why use an encyclopedia when there are so many good, specialized texts available?

There is still valid use for questionable sources in scholarly work anyway. One professor actually encouraged us to look in Mother Jones and American Spectator when possible, just to get the views from two extremes on the topic at hand. And Wikipedia can give you leads to follow, even if you don’t end up citing it in your bibliography. The material in Wikipedia came from somewhere, after all.

I’ve had a love-hate relationship with Wikipedia for the past year or so. I left it entirely when I got tired of an overzealous editor deleting my additions. I guess I wasn’t the only one who complained about her; she’s since disappeared. I used to look at the day in history and try to fill in the gaps; for example, I noticed on one of Jesse James’ anniversaries that he didn’t have an entry, so I put one together. Unfortunately, high-profile stuff seems to be what attracts both vandals and overzealous editors.

So when I came back, I decided to concentrate on things like baseball, obscure old computers, and things that have connections to Missouri, particularly Kansas City and St. Louis. Those are more my areas of expertise anyway, which makes writing them a lot less work, and the topics are obscure enough that I’ve been mostly left alone. Those edits that do pop up usually are true improvements, rather than someone going on a power trip. My entries get linked much less frequently on the front page now, but I’m happier.

Another thing that I’ve taken to doing is to always check Wikipedia whenever I’m researching something. Sometimes Wikipedia has good information, but may be missing some detail I found elsewhere. Sometimes it has very little information. In either case, I try to enter the information I found. I recently created entries for Lionel Corporation, American Flyer, and Louis Marx and Company. Of course I got interested in them because of my recent renewed interest in toy trains, and during the time period I’m interested in, those companies were the big three in the United States. Some of the information about those companies is difficult to find online. Or it was. Now it’s in Wikipedia, which makes it easier to track down.

According to Wikipedia’s records, I’ve contributed to 323 entries. Most of those are pretty minor. There are lots of people who’ve contributed a whole lot more than me.

But I often notice a domino effect on my entries. Soon after writing the Lionel entry, I wrote one for O gauge model railroading in particular, and made an addition or two to the main model railroading article. Soon, other people were making their additions to specific gauges and scales, or creating them when entries didn’t exist. Within a few days, Wikipedia had some good information on the topic. It’s anything but exhaustive, but I’ll put it up against any other encyclopedia’s offering.

One difference that I have definitely noticed about Wikipedia, as opposed to conventional encyclopedias: Wikipedia has a much better pulse on pop culture. I’ve often lamented that people who have entries in the more traditional encyclopedias don’t have entries in Wikipedia, but every teenybopper band that’s come along in the past couple of years has an entry. But I guess ultimately that’s going to prove to be Wikipedia’s strength. In 30 years, it’ll be possible to go to Wikipedia to find out what the hubbub about Justin Timberlake was about. And in 30 years it may be the only place. (One can only hope.)

And in 30 years, those people who deserve more attention undoubtedly will have gotten their entries as well.

I definitely encourage people to look up their topics of interest over there and think about adding some of their knowledge.

Registrations aren’t working for everyone

It’s come to my attention that registrations aren’t working for everyone. It appears that some mail servers don’t like mail from my system. A peek at the mail headers explains why–I have to admit, it does look a bit suspicious. So if you’ve registered and never received confirmation e-mail, that’s why.

I’m going to try to fix it this week. In the meantime, I need to go through and find the people who’ve registered but never logged in and contact them. I may be able to do this as soon as tonight. So please, bear with me and hang in there.

Make Linux look like Windows XP

I can’t say I discovered this–I saw a reference to it in User Friendly this past week–but there’s now an XP-lookalike window manager for Linux called XPDE.

A quick look at the screenshots shows it’s a pretty convincing clone. But is it legal?The authors maintain its legality, because it uses no Microsoft code, mentions no Microsoft trademarks, and uses no Microsoft icons. I wish them well, but there is precedent for a copyright infringement anyway.

Some 20 years ago, the best-selling spreadsheet (and perhaps best-known piece of software in the world) was Lotus 1-2-3. It was expensive. In 1985, microcomputer pioneer Adam Osborne began predicting the emergence of Lotus 1-2-3 clones priced under $100. The theory was, if one could clone the IBM PC and undercut IBM’s price, why couldn’t the same technique be used to clone expensive software and undercut it in price as well?

Osborne had insider knowledge, being the president of his own software company. He released a Lotus 1-2-3 clone himself, and in 1987, Lotus sued him. Borland also incorporated Lotus 1-2-3’s menu structure into its own spreadsheet product, Quattro Pro. Lotus won its case against Osborne’s Paperback Software, with a court finding Paperback in violation of Lotus’ copyright, and Osborne disappeared into obscurity in disgust. Borland was more successful, winning its case against Lotus on appeal. But it took six years to do it, during which both companies’ products were eclipsed in the marketplace by Microsoft Excel.

So while XPDE may technically be legal, if I were involved in the project, I would be afraid of being litigated into oblivion.

But in the meantime, if you want or need a Windows-like interface for your Linux box, you can download XPDE.