Learning about scratchbuilding the hard way

Last Updated on March 8, 2021 by Dave Farquhar

I haven’t had a lot of free time the past couple of weeks, and as you’ve probably gathered, I haven’t been spending a lot of it in front of a computer. I’ve been in the basement, learning how to make stuff for the train.

Along the way, I’ve learned a few things, mostly from experience rather than from books. I still have a long way to go.Not all paints and finishes are compatible with one another. When I tried to spray one brand of glossy finish atop a different brand of black paint, the paint crinkled. Spraying paint thinner on it would have done less damage.

Aside from the hard lesson on paints, clones of the old 6-inch 4-wheel Marx train cars are very simple to build. That must have something to do with why they cost 59 cents when they were new.

The look of lithographed tin can be reasonably approximated by printing a design on, of all things, plain paper, then spraying it with the same glossy finish that ruined the paint job on the first car I built. Attach said paper with spray adhesive, and only the very observant will notice your car isn’t tin litho.

Styrene plastic is very easy to work with. You can build simple things from it very quickly, so long as you use an MEK-based solvent, rather than the cement that comes in tubes. Solvents give a stronger bond, and after holding the joined piece together for two minutes, you can continue to work with it.

Aluminum is essentially free, and can be cut with scissors, but joining it is a pain. Joining two pieces with solder is very difficult. Epoxy is easier, but it’s harder to work with than the plastic solvents.

Tin and brass are extremely easy to solder. I now know why so many hand-built metal models are made of brass. It’s strong, reasonably easy to form, and not terribly expensive.

Sheet metal is dirt cheap at onlinemetals.com, but the $3 worth of brass that it takes to make a train car will cost $10 to ship, even if you have them deliver it by stagecoach UPS ground.

It’s very easy to end up paying $12 for a rustbucket Marx train car on eBay, and it’s more satisfying, if you have the requisite ability, to watch cars you made yourself go around your track than to watch cars you sniped with four minutes left. (I’ve only done that once. The rest I bid the way nice people do.) So most of the time you’re better off with your $13 worth of brass, whether you bought it online or at the local hobby shop.

You can fabricate your own Lionel- and Marx-compatible axles using 3/32-inch brass rod from a craft or hobby shop, cut to 1 3/4 inches in length for Lionel, or 1 7/8 inches for Marx. Put a dab of solder or epoxy half an inch inside to keep the wheels from going in too far.

Two new things are working

I still haven’t fixed the calendar (I’m a slacker) but I’ve got two other important things working. For those of you who use RDF/RSS, my feed is working (the link’s in the lower right), and for those of you who use blo.gs to track your favorite blogs, I’ve got my blo.gs update working now too.

I need to use this for my e-mail signature line

I saw a great e-mail signature line today. Like all great lines, it summed up something that everyone has thought a million times in a single brilliant sentence.If you receive something that says ‘Send this to everyone you know,’
pretend you don’t know me.

If you haven’t thought that today, it’s probably because you haven’t opened your e-mail yet.

Salary cap? Baseball needs something

Last Updated on October 1, 2017 by Dave Farquhar

Funny how now that the New York Yankees have added the most expensive sports contract in history, Alex Rodriguez, to their already outrageously priced roster, suddenly the freespending Boston Red Sox, owner of the second-most expensive sports contract in history and the second-highest payroll in baseball, are calling for a salary cap.

Read more

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

Last Updated on October 2, 2010 by Dave Farquhar

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

Last Updated on December 2, 2015 by Dave Farquhar

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.

The DSL connection was down this morning

I think I vaguely recall Southwestern Bell was doing some maintenance this weekend. Sometimes my DSL connection survives interruptions and sometimes it doesn’t. Today it didn’t.

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.