How I became interested in system optimization

I’ve talked system optimization a lot over the past week. I think I’m done for now, so I’ll talk about why you would want to do these things, and how I got interested in it.My first computer was a Commodore 64. With Commodores, all optimization was software. The hardware was all finely tuned and the timing was precise, so you couldn’t just ramp up the clock speed of the CPU to make the system go faster. But there were lots of things you could do in software to do things like improve the speed of the disk drive.

I moved to an Amiga in the early 1990s and I became interested in a project called ARP, short for AmigaDOS Replacement Project. The Amiga had a command line, and its command line tools were mostly ports of old tools from an obsolete operating system called Tripos, written in BCPL, a predecessor of C. ARP tools were written in either C or 68K assembler and gave the functionality of the originals, but they were smaller, so they loaded and ran faster. I always looked for ways to make my Amiga run faster and use less memory.

In 1994 I took a job selling PCs. My boss talked about how his 16 MHz 386sx felt more responsive than the 33 MHz 486s we sold so many of. So I started learning about PC optimization too. There was a lot you could do just in software.

So I’ve remained interested in this idea for probably 20 years.

Just this week I put an old Windows ME box through the regimen, and it’s definitely a lot peppier now.

I talked about registry optimization and file cleanup, defragmentation, antivirus, firewalls, and defragmentation again.

Do these things, and in most cases you can squeeze at least an extra year out of the life of a system. I squeeze more like five.

How to get a Commodore 64 for $20

In 2006, Radio Shack sold a Hummer racing game based on Jeri Ellsworth’s C64-on-a-chip design.

A number of people spent time figuring out how to turn the Radio Shack game into a full-blown C64. There is a FAQ available.One cool thing about these is that it’s very easy to add a PS/2 keyboard to them. Having a C-64 with an IBM Model M keyboard sure sounds nice…

I also found a forum dedicated to this and other Commodore-related topics.

Ah, memories…

Myspace and blogging isn’t inherently bad

I see some schools are blocking access to Myspace and other blogging tools. The blogosphere, some people seem to believe, is just a bunch of people looking to exploit teenaged girls.

Sure, blogs can be dangerous. So can cars and jobs. I think the Myspace phenomenon exposes weaknesses in upbringing more than anything else.Blogs have only been around for about 9 years so there haven’t been a lot of sociological studies of them–especially since blogging has only been hot for the last couple of years. But there are precedents.

I was very active in a lot of online communities as a teenager. Teens like me were a minority, but there were enough of us. I’m still friends with a couple of people I met online back in those days.

And I’ll tell you something straight up: I ran into a lot of women who were older than me. A lot of, um, lonely women who were older than me. A lot of them had the wrong idea about my age. One asked me where I went to college. But you see, I hadn’t gone yet, because I was only 14.

And in case you’re wondering, it didn’t go any further than that. I’d been taught right from wrong, and I carried myself that way, both online and in person, so the topic never came up.

There were other dark sides of this online world. Software piracy was usually the gateway. And yeah, I’ll admit I downloaded some software that I didn’t pay for. Mostly I stuck to things that were no longer commercially available. And without Amazon.com and Ebay, it was difficult to buy out-of-print stuff. So I wouldn’t have been able to buy the majority of it even if I’d wanted to. That didn’t make it legal, but to my teenaged mind, it sounded moral enough.

Of course most people were interested in the new stuff. And that could lead down a slippery slope. St. Louis wasn’t exactly a hotbed for the latest new releases, so to get the zero-day warez, you had to call long distance. But remember, most of us weren’t 16 yet, so we didn’t have jobs and we didn’t have a lot of money. So I knew an awful lot of people who got into phone fraud. And it often got worse from there. Phone fraud led to credit card fraud, and I heard stories of people who got caught, slapped with the huge bills they’d run up, and turned to dealing drugs to make the money to pay it back.

All so they could be the first one in St. Louis to have the Commodore 64 version of Grover’s Magic Numbers. Yes, there were people who risked all of that to have something that lame-sounding. And no, it didn’t sound any cooler then, but people did it.

I talked with a number of people who were caught up in that. There was a guy in Chicago who called me on a pretty regular basis for a little while. No, he didn’t dial 1-314, if you know what I mean. One day he quit calling, and not long after that, I heard the Feds caught up with him. There was a rumor that he ran away to Colorado after he got out of juvenile detention. Whatever the case, I never heard from him again.

But I never made any fraudulent long-distance calls. I had a 3.6 grade-point average, was in National Honors Society, and I was in Who’s Who Among American High School Students all four years. And I sold my first magazine article before I got my driver’s license. I wasn’t going to throw all that away just so I could make long-distance phone calls on someone else’s dime.

So why was I having anything to do with those people? Simple. We talked programming. Nothing I learned from those guys is remotely useful to me today, but it was interesting then. Sure, those guys made a lot of mistakes, and yeah, they sure did break a lot of laws, but they weren’t entirely bad.

I’m sure if my parents had known everything that was going on, they’d have gotten rid of the modem or at least severely limited what I could do with it. But they couldn’t stand over my shoulder all the time.

And besides, there wasn’t any need to worry. They’d taught me right from wrong, and what I had to lose if I stepped too far out of bounds. Sure I pushed the limits, but that’s being a teenager for you. Come to think of it, I still push the limits sometimes now, even at 31.

The primitive online communities that existed in the late 1980s and early 1990s were social communities. The only difference between that and the mall was distance. The computer took away the geographical boundaries. In that regard they’re the same as Myspace and other online communities today.

There’s potential for problems today, just like there was 17 years ago. But looking back now, there’s no question why I went online back then. It helped me deal with being a teenager. I could talk with other teenagers who were like me–there were only one or two others like me at my school, and one of them was a major-league jerk. And I could get advice from adults who were further removed from the situation and could give me advice without conflicts of interest. Whether the struggle of the day involved a soldering iron or a girl, I knew at least one person who knew the answer.

I can think of lots of things I’d change if I could go back, but that isn’t among them. So I don’t believe isolating kids today from online communities solves anything. Kids will be kids. Hopefully they know right from wrong and what they can lose if they choose wrong.

Blocking those who would choose wrong doesn’t solve a lot. They’ll find another way to choose wrong.

Denying an important resource to those who would choose right is a greater loss. It’s much easier to find another way to choose wrong than it is to find another way to get wise counsel.

Should you edit your boss’ Wikipedia article?

The IP block associated with congressional offices has been banned off and on from editing Wikipedia, due to a large percentage of dubious edits that attempt to clean up a Congressperson’s image, or smear political opponents.

This has raised a question: Should people with vested interests edit articles?

Absolutely not. And lack of a foolproof way to keep them from doing that is one reason it’s not a reliable source.

Read more

Speeding up Openoffice

This week the usual sources were flooded with stories about how slow and bloated Openoffice is. I guess this came on the heels of the release of version 2.0; it’s never been much of a secret that Openoffice was big and slow. It’s descended from Staroffice, after all, and it was big and slow too.

Speedup tips ensued.

Read more

Finally! A $60 RAMdisk on a PCI card

PC World: Taiwanese hardware maker Gigabyte Technology has stumbled upon a faster way to boot up PCs based on Microsoft’s Windows XP operating system.

Please allow me to quote something I penned back in 1999: “I’d love to see someone design and release a battery-backed hardware RAM disk for PCs… Such devices existed in the early 1990s for the Commodore 64/128 and the Apple IIgs and permitted these systems to boot their graphical operating systems before the PCs of their day had managed to bring up a C: prompt. A similar device for today’s PCs would do more to boost system performance than any other innovation I see coming down the pipeline any time soon.”You can find the paragraph, in context, on page 214 of Optimizing Windows for Games, Graphics and Multimedia.

Enough self-congratulation. I’m glad someone finally made this device, which is called the Gigabyte i-Ram PCI ramdisk. And here’s the great news: The device is going to cost about $60 without RAM. 512-meg DIMMs can be expensive or cheap. A quick scan turns up some that I’d be willing to trust for $41 from Newegg.com.

It plugs into a PCI slot but it only uses the slot for power. Data itself is transferred via a serial ATA cable. This improves compatibility, I suppose, but I would have liked to have seen the serial ATA hardware integrated onto the board. But that would have increased costs, and arguably most of the people who will want this already have serial ATA. At least the target market does. I don’t know if this is going to prove more popular with people who want to hot rod their Pentium 4s, or people who want to increase the life expectancy of an older PC. This thing would do wonders for Mom’s PC, or my sister’s PC, and their primary interests are word processing and e-mail. They would love the speed and the quiet.

I’ve got all sorts of ideas for this thing. The article says it’ll be out in July. I want one BAD.

What kinds of ideas? For one, I’d love to eliminate the biggest source of latency in my PCs. I tend not to hit the CPU all that hard most of the time, but I sure do hit my disks hard. I’d love to eliminate the last mechanical piece in the system. Let’s face it: Hard drives crash. This thing gets wiped out if it loses power for 12 hours, but how often does that really happen? And if you’ve got a UPS and you shut the system down, shouldn’t it last indefinitely? Backing the data up to a real hard drive on the network somewhere, or onto a memory stick will solve that issue. Between that and a Ghost image of the system partition, you can recover from a power outage fast.

And who doesn’t want an ultra-quiet PC? Get a cool-running CPU and video card, and maybe, just maybe, your PC can survive on its case fan alone again. With this on a mini-ITX board with an external power supply, a completely fanless, ultra-quick PC might be possible.

And I can see all sorts of applications for this thing for my new employer.

I’m as excited as a puppy when company comes over bearing dog biscuits.

What happens when you overclock

I’ve never been a big fan of overclocking. I overclocked for a couple of weeks back in my Pentium-75 days but quit when my system started acting goofy. I did it again five years ago when I was writing my book, because, well, everyone expected me to talk about overclocking in it. So I overclocked again, and tried to use that overclocked machine in the process of writing a book. This foray only lasted a little while longer.

Read more

A compelling toy train layout with animations done on the cheap

Layouts featuring Lionel, American Flyer, and other O or S gauge trains don’t have to be expensive. Joe Rampola has lots of ideas for creating a good-looking layout with lots of animation (aside from the trains) using mostly inexpensive items. His site has lots of pictures and video clips.

His work has been featured in both Classic Toy Trains and O Gauge Railroading magazines.Among his better ideas: Lay a loop of HO gauge track, then put 0-4-0 mechanisms from cheap HO scale locomotives in the frames of 1:43 scale die-cast cars and make streets for the layout. This is a similar approach to K-Line’s new Superstreets, but Rampola did it years earlier, and his approach is a lot less expensive for those who can live without instant gratification. His approach also allows you to use any vehicle you want, so long as you’re willing to modify it.

He also has plans and instructions posted for lots of inexpensive animations he did using the cheap unpainted (and unfortunately, discontinued) K-Line figures from the classic Marx molds of the 1950s. Sometimes you can still get lucky and find a box of unpainted K-Line figures hiding on hobby shop shelves.

He even has his animations controlled by an old Timex Sinclair 1000 computer. He gives enough detail that I suspect someone good with homebrew circuits could adapt his circuit and his program to another computer, such as an Apple or Commodore. Even a 3.5K unexpanded VIC-20 ought to be up to the task, let alone a behemoth Commodore 64.

I’ve always bristled at the thought of adding electronics to my traditional layout, because my trains are my escape from computers. But using a real computer–real men only need 8 bits–to control parts of a layout does have some appeal to me.

The Commodore 64 Direct to TV is out

It’s out, and the entire inventory of 250K units was bought by QVC.

So much for getting one of these at Kmart. Anyway, it’s a C64 in a joystick enclosure with 30 games built in, similar to the Atari 2600 and Intellivision units you see in stores.The game selection is a bit disappointing, with an awful lot of obscure titles and, aside from the included Epyx titles, very few big hits. According to the designer, the problem is tracking down the copyright holders of some of these 20-year-old titles in order to get permission to use them.

Two of my all-time favorites are on there: Jumpman Jr. and Pitstop 2. But, alas, no Seven Cities of Gold, no Dig Dug, no Pirates!, no Giana Sisters…

I’d think about getting one, but I’m sure the main appeal would be turning it into a full C64, which is supposed to be possible.

Determining the age of electronic equipment

Determining the age of electronic equipment is fairly easy to do. There’s actually a secret code that allows one to do this and gain other insights into the history of such devices. This works for computers, of course, but also for most any other device that contains computer chips.

You just need to know how to read the code. Read more