Why accordion-style flexible drain pipe is against code

flexible drain pipe
An example of a flexible coupling

From time to time I see accordion-style flexible drain pipe (also sometimes called flexible waste pipe) in use, much like the one on the right. St. Louis County inspectors take an exceptionally dim view of these, and I always wondered what the big deal was, since literally every hardware and home-improvement store in St. Louis County sells them. Why would they sell something if it isn’t okay to use it? Read more

How to make an LG LD301EL dehumidifier drain the water out of a hose instead of the bucket

I recently came into possession of an LG LD301EL dehumidifier. It was supposed to be draining out of the hose, but it wasn’t. I figured out why.

If you have one of these or a similar dehumidifier, chances are you have the same problem. The instructions on the back of the dehumidifier aren’t as clear as they could be and the diagrams are tiny. The manual doesn’t quite seem to explain it either. If you don’t have the manual and don’t want to download one from a dodgy web site–and as a computer security professional I recommend that you don’t (more on that at the end)–here’s how to get it done.

Read more

The Internet is at war. Please read this if you run a DNS server.

A Dutch ISP that acts as a spam haven is DDOSing Spamhaus, and they’re using DNS to do it. The attack is using spoofed DNS queries to create, basically, a smurf-like attack. And the sheer volume of traffic is likely to affect the Internet as a whole.

That might explain why my recruiters were complaining that it was taking forever to look up job postings today. (Yes, I can publicly admit that I’m talking to recruiters. That’s another story.)

But basically, if you run a DNS server, you need to check your configuration to keep lowlives from using your DNS as a weapon. Here is a useful page for those of you running BIND, the one of the most popular DNS servers.

This was the most common type of attack in 2012; it looks like some people are trying to up the ante in 2013. We can make it stop, but every sysadmin running a DNS server is going to have to pitch in to help.

Hey! That’s your teammate.

I don’t remember much about playing baseball in the fifth grade. I was an outfielder, but I don’t remember if I played left or right field that year. I don’t remember if I hit at the top of the order, or if I hit sixth.

My main memory of that year is one specific incident. I don’t remember the context, but either during or after a game, one of the players was hassling another player.

“Hey!” I heard my dad’s booming voice yell. “He’s your teammate.” Dad didn’t have to add the words, “cut it out,” because the bully understood. Dad’s stern rebuke, plus the glares from the coaches put an end to it.

Read more

If you need a deal on a Nook Simple Touch, they’re on sale

Sears has the Nook Simple Touch on sale for $70. That’s about a 30% discount. (Thanks Dealnews!)

I guess I’ve had mine for about six weeks, and I like it. It’s the #2 e-reader, and I’ve run into problems in the past buying the #2 just on the basis of technical superiority (Amiga, anyone?), but if being able to load books on an SD card and the availability of free public domain e-books isn’t enough, you can root the device, load the Kindle Android app, and turn it into a Kindle.

Read more

Recapturing the charm of someone else’s dad’s American Flyer train

My buddy Todd brought over his dad’s American Flyer train today. It had been a gift from his dad on his first Christmas. It was from 1938.

That was a peculiar year, because it was the first year that A.C. Gilbert, of Erector fame, built American Flyer trains. Previously American Flyer had been an independent company in Chicago.

This model was a Gilbert design, and at most produced from 1938 to 1941.Late last year, Todd had asked our mutual friend Tom about how to go about getting the train repaired. Tom referred Todd to me, since 3-rail O gauge isn’t Tom’s specialty. Of course Tom knew the answer: Marty Glass, of Marty’s Model Railroads in Affton.

So Todd took it to Marty earlier this year, once the Christmas rush had died down. Todd called me yesterday and said Marty had finished it. He brought it over.

I wasn’t sure what to expect, but he brought out an intricate 4-6-4 Pacific. It had far more detail than anything Marx ever made, and far more detail than any O27 locomotive Lionel ever made too. It had an intricate set of linkages, which turned out to be its downfall because they got bound up on us once. Marty had run the train for Todd when he picked it up–I suggested Todd have him do that, since 68-year-old trains always need some adjustments after they’ve been repaired. It ran fine on Marty’s layout.

Before we ran the train, I fixed the light in the Pullman car Todd brought over. He hadn’t taken that to Marty. The wire had come loose from the pickup on the underside of the car, and the light bulb was rattling around inside. I fished the bulb out, examined it (it looked fine; the old light bulbs in these trains is almost always fine, even after being shipped across the country), put the bulb in the socket, and re-soldered the wire to the pickup. I solder like a plumber, but judging from the pickup on that train, so did the Gilbert employee who built it.

With the car ready to go, I put it and the locomotive and tender on the track. We quickly found that the oddball American Flyer link and pin couplers didn’t line up right. Time for some more adjustments. I finally got the coupler heights adjusted correctly, then I hit the power, expecting since it had run in the store, it would run just fine on my layout.

Not so much. It ran for a few feet, then stopped in a shower of blue sparks, leaving a buzzing sound on the layout that I’ve come to associate with a short circuit.

The handrails were the biggest problem. There are two holes in the cowcatcher assembly that the handrails are supposed to slide into. Had I been doing the design, I would have made the rails longer, so they could be bent further underneath. But that’s irrelevant now. With the handrails not in the holes, they were pushing the cowcatcher down low, there it could short out the third rail. S gaugers can gloat that this wouldn’t be a problem on 2-rail S gauge track, but they really ought to respect their elders.

So I fixed the rails, and put a dab of solder on the underside to hold them in place (solder won’t stick to the zamac boiler). I noted the Phillips head screws Marty used to put it all back together. I’ll have to give him a hard time about that the next time I see him. Phillips screws didn’t come into widespread use on toys until the ’50s.

With that problem taken care of, it ran, but then it locked up hard. I gave it another thorough examination, and found that some of the intricacies on the drive rods had come misaligned, causing it all to bind up. I had to take it apart to free up enough space to realign everything. I took off the front truck, then the cowcatcher, guided everything where it was supposed to go, and reassembled everything.

And what do you know… It ran. It was a bit herky-jerky at first, but in my experience, old motors are always that way when they’ve been sitting for decades. They seem to need to get some running time in before they get used to running smoothly again. Todd told me that Marty said the motor was fine; the only problems he found were structural. From the sound of the motor, Marty obviously had lubed it–they tend to squeal a lot after 50 years, let alone 68, and this motor sounded like new–but I guess that’s all it had needed.

I found out the hard way that this locomotive (an American Flyer 531) really hates O27 curves. It derails every time, even on curves where you lead into the O27 and back out with a wider curve. So we moved it from my inner loop to my outer loop, which is mostly O42 except in one corner, where I had to do O34 to make everything fit. It made me nervous on O34 curves, but it did manage to stay on the track. It was much happier on the O42, which makes sense, because American Flyer O gauge track was 40 inches in diameter, just like its S gauge track.

Once we were confident it was running, we packed it back up. Todd was going to go surprise his dad with it. It’s been a long time since its last run. I hope he’ll enjoy seeing it roam the rails again.

Now that I’ve seen some of the late prewar 3/16 scale American Flyer up close and personal, I have a new admiration for it. I own a number of the Flyer freight cars from that period, but none of the locomotives. The detail is very good, and they run smooth and are geared low, so they have plenty of pulling power.

I’m sure Todd’s dad will be happy to see it running again. I know I sure enjoyed fine-tuning it.

Excuse me while I go check eBay…

First impressions of VMWare

I’ve been setting up VMWare ESX Server at work, and it’s quirky, but I like it. I shut it down improperly once (logging into the console on its Linux-based host OS and doing a shutdown -h now resulted in a system that wouldn’t boot anymore) so I’m afraid of what may happen. The upside is since every virtual machine is just a collection of files, disaster recovery is dirt simple: Build a VMWare box, restore those files from backup, point the VMs at them, and you’re back in business. No more need to worry about locating identical or close-enough-to-identical hardware. For that reason alone, I’d advocate running all of my Windows servers in production environments on VMWare, since Windows isn’t like a real OS that will allow you use a disk or image on dissimilar hardware with minor adjustments. We get some other benefits too, like allowing us to put all the toy servers in one box with RAID to protect us in a disk crash. We’ve lost far too much to disk failures on desktop PCs recast as someone’s pet-project server.
It also appears to try to only allocate to machines the amount of memory they’re actually using, so theoretically, if you were doing server consolidation and had, say, four servers with 256 MB of RAM, you could potentially get away with putting them on a VMWare host with less than 1 GB of memory.

I also like VMWare for tasks you don’t like to dedicate a single machine to. For instance, DNS on NT is totally brain-dead. It’s slow to propogate. It works about 99.9% of the time, but that .1% of the time that it feeds wrong answers will infuriate somebody, who will holler at you, and the struggle to fix the problem will infuriate you worse.

If you want DNS that works, your best bet is to load Linux or BSD with BIND on something and use it. But if you don’t already have a production Linux server somewhere and you don’t have a machine you trust to give the job, carve out a server on a VMWare box. Allocate 16 megs of RAM and a couple hundred megs of disk space to it, and give it a thin slice of processor time. DNS lookups don’t take a lot of power, so it won’t detract noticeably from the other hosted servers.

It ain’t cheap (the price isn’t listed on the web site for a reason), but software’s cheaper than hardware.

Recovery fluff

I did not feel good this morning, and it didn’t get much better during the day. By lunch, it felt like someone had crammed a tennis ball down my throat and it didn’t seem to matter how many cough drops I sucked down.
I stumbled home, took an ibuprofen, and slept for an hour. When I woke up I felt a lot better. The swelling had subsided and my throat felt almost normal.

I got up and fixed dinner and bound a book–Democracy in America, Vol. 1 by Alexis de Tocqueville. It looks so good to finally have that book on my shelf. It’ll be even better when the glue has dried on the spine and I’ll be able to read it.

After doing a Japanese punch-bind, I glued a strip of paper with the title onto the spine for extra strength and to make the book look more like a commercial paperback. Normally you want to show off the punch-binding, but this early effort is nothing to look at. It needed to be covered.

My what-I-did-tonight piece

I hate to do a boring this-is-what-I-did-tonight post, but I figure the occasional one of those is better than silence from my direction.
I’m sick again. I think this is some kind of record. This pattern of five-day breaks between illnesses really better not last much longer.

So I went out to stock up on sick supplies. You know the drill: chicken soup, zinc lozenges, vitamins. I went in to get my vitamins, then found myself blocked in, so I continued down the aisle and found the first vacant aisle to cut through. Of course it was the make-up section. I felt especially manly cutting through the make-up section, especially considering my next stop was… the sewing section. I needed a needle and thread, for two reasons. I’ve got two shirts with buttons popped off, and I learned a cool way to bind books, but you need a drill (which I have) and a needle and thread (which I didn’t) in order to do it.

So I picked up a couple different colors of thread, then wandered aimlessly for a while until I stumbled across the needles. I found a 25-pack for 64 cents. Good deal.

I really, really hope I looked as lost as I felt.

So when I got home I bound a short book. The idea is this: You drill holes a quarter inch from the top and the bottom, then drill two more holes spaced two inches apart. Cut a length of thread about four times as long as the book is high. You can get the sewing technique from this PDF file. Traditionally, you use Japanese stab binding for short books of drawings, poetry, or journals. But I found it works just fine for everyday stuff. I recently printed a few public domain texts from Project Gutenberg, and this provides me with an easy and extremely cheap way to bind them.

I was trying unsuccessfully to sew on a button when my phone rang. It was my girlfriend. She asked what I was doing. I told her I was making a fool of myself trying to remember how to sew on a button. She described a technique to me, and when I got off the phone with her, I gave it another try. I think I ended up using a combination of her technique and my mom’s, but it worked. The button’s not going anywhere.

Something she said gave me my masculinity back. She asked how I was at threading needles. I said I had some trouble doing it. She said part of the reason sewing is traditionally a women’s thing is because women have smaller hands, which are more adept to the fine movements that sewing requires. My hands aren’t huge, but they’re bigger than most women’s. She said threading a needle requires good vision, concentration, and a steady hand. I’ve got good vision and concentration. But every time I tried to do something that required a steady hand, my dad just shook his head and said, “You’ll never be a surgeon.” And they’ve only gotten worse with age.

And before all this, I spent some time writing up a piece talking about all the lovely things Microsoft did to DR DOS in the late 1980s. This is in response to some mudslinging that happened over at my recent anti-Microsoft piece. Normally I’d just ignore a troll who doesn’t even have enough guts to put his name on his taunts–all I know about him is his IP address is 12.209.152.69, which tells me he’s using a cable modem attached to AT&T’s network, he lives in or around Salt Lake City, Utah, and at this moment he’s not online–but I think this story needs to be told anyway. Depth is good. Sources are good. And there’s a wealth of information in the legal filings from Caldera. And those filings prove that my memory of these events–I remember reading about the dirty tricks in the early 1990s on local St. Louis BBSs–was pretty accurate.

I’m not surprised. I have a knack for remembering this stuff, and I had occasion to meet an awful lot of really knowledgeable people back then.

If I can still remember that Commodore’s single-sided 170K 5.25″ drive was the 1541, its double-sided 340K drive was the 1571, and its 800K 3.5″ drive was the 1581 and I remember the command to make the 1571 emulate the 1541, and why you would want to emulate a 1541, I can probably just as easily remember what you had to do to get Windows 3.1 running under DR DOS and what the reasons were for jumping through those hoops. That history is more recent, and at this stage in my life, I’m a lot more likely to have occasion to use it.

Not that I’m trying to brag. I can remember the names of the DR DOS system files, and I can remember George Brett’s batting average in 1983, but at the end of a five-minute conversation with someone I just met, I’ll probably struggle to remember a name. Or if you send me to the store, you’d better give me a list, because I’m good at forgetting that kind of stuff.

I suspect the DR DOS piece is half done. I might just get it posted this week.