How to get your RSS/RDF feed working with Mozilla Firefox\’s Live Bookmarks

As soon as I upgraded to Mozilla Firefox 1.0, I started noticing that when I visited certain sites that had RSS/RDF feeds, a big orange “RSS” icon showed up in the lower right hand portion of the window.

That’s cool. Click on that, and you can instantly see that site’s current headlines, and know if the site has changed, just by looking in your bookmarks.

Except my site has an RSS feed and that icon didn’t show up. Here’s how I fixed it.At first I figured Firefox was looking for the standard “XML” icon everyone uses. So I added that. No go.

So I investigated. A Google search didn’t tell me anything useful. So I went to Slashdot’s page and viewed the source. Four lines down, I found my answer.

In your section, you need to add a line. In my case, since I run GeekLog, it was this:

LINK REL=”alternate” TITLE=”Silicon Underground RSS” HREF=”//dfarq.homeip.net/backend/siliconunderground.rdf” TYPE=”application/rss+xml”

Just substitute the URL for your RSS feed for mine. The two slashes at the beginning are necessary. The whole line has to be enclosed in , of course. (I can’t show them here because my blogging software is trying to protect me from myself.)

But since Geeklog doesn’t have an index.html file, and its index.php file is mostly programming logic, where do you add your code?

In your themes directory, in the file header.thtml, that’s where. I put mine right after the line that indicates the stylesheet.

The location for other blogging systems will vary, of course. But I notice some seem to do it automatically.

Now your readers can keep track of you without constantly refreshing your page (which they probably won’t do) and without having to run a separate RSS aggregator. Pretty cool, huh?

Will Firefox be Netscape’s revenge?

John C. Dvorak says the browser wars are still raging. He cites figures from his blog as evidence that IE only has 50% market share.Well, my logs have always indicated that IE accounts for somewhere between 50 and 60 percent of hits to my blog. The reason for that is pretty simple. This blog appeared in its first form about five years ago. Two months later, I published a computer book that, among other things, advocated using any browser but Internet Explorer and contained detailed instructions for removing Internet Explorer from Windows 95, 95B, and 98.

It’s pretty safe to say a large percentage of my early readership found out about my blog from my book, and the people who read my blog most likely read it because they read my book and liked it, and if they liked my book, they probably agreed with it and were therefore very highly likely to be running Netscape.

For a while I switched to IE, primarily because IE had better keyboard navigation than Netscape and I had repetitive stress injury. I said so. Around that time I saw IE usage increase. I don’t think it had much to do with me. Netscape’s market share was headed for single digits.

By the time Mozilla was approaching version 1.0, I was squarely back in the Mozilla camp and advocating it. Again, IE traffic started to drop. Did it have much to do with me? Something, surely. People who agree with me are more likely to visit again than people who disagree with me.

I think John C. Dvorak’s logs are more likely to reflect PC enthusiasts than mine, simply because he’s a PC Magazine columnist and I’m the author of a now obscure computer book who happens to enjoy blogging, and who blogs about baseball, Christianity and Lionel trains as often as computers these days. That’s opposed to a year ago, when I had a reputation for writing about baseball and Christianity as often as computers. So hey, my horizons are broadening.

Since more of my traffic comes from Google and other search engines than anywhere else, and often it’s people looking for ways to hook up DVD players to old TVs, ways to disable websense, or information on Lyman Bostock, I probably get a decent portion of the non-computer enthusiast crowd.

I think IE’s market share is somwhere between 60 and 75 percent.

I also think it’s going to drop. The last person I told about Firefox wasn’t so confident about it when I told him it was at version 0.93. Now that the magic 1.0 is near, it’s going to jump as early adopters who are nervous about beta software jump. When it hits version 1.1, it’s going to jump even more when people who have been sensitized by Microsoft dot-oh releases start switching.

So while I think Dvorak is wrong about IE’s market share, I think he’s right that it’s dropping and that the browser wars aren’t over.

VMWare is in Microsoft\’s sights

Microsoft has released its Virtual Server product, aimed at VMWare. Price is an aggressive $499.

I have mixed feelings about it.VMWare is expensive, with a list price of about 8 times as much. But I’m still not terribly impressed.

For one, with VMWware ESX Server, you get everything you need, including a host OS. With Microsoft Virtual Server, you have to provide Windows Server 2003. By the time you do that, Virtual Server is about half the price of VMWare.

I think you can make up the rest of that difference very quickly on TCO. VMWare’s professional server products run on a Linux base that requires about 256 MB of overhead. Ever seen Windows Server 2003 on 256 megs of RAM? The CPU overhead of the VMWare host is also very low. When you size a VMWare server, you can pretty much go on a 1:1 basis. Add up the CPU speed and memory of the servers you’re consolidating, buy a server that size, put VMWare on it, and then move your servers to it. They’ll perform as well, if not a little bit better since at peak times they can steal some resources from an idle server.

Knowing Microsoft, I’d want to give myself at least half gig of RAM and at least half a gigahertz of CPU time for system overhead, minimum. Twice that is probably more realistic.

Like it or not, Linux is a reality these days. Linux is an outstanding choice for a lot of infrastructure-type servers like DHCP, DNS, Web services, mail services, spam filtering, and others, even if you want to maintain a mixed Linux/Windows environment. While Linux will run on MS Virtual Server’s virtual hardware and it’s only a matter of time before adjustments are made to Linux to make it run even better, there’s no official support for it. So PHBs will be more comfortable running their Linux-based VMs under VMWare than under Virtual Server 2003. (There’s always User-Mode Linux for Linux virtual hosts, but that will certainly be an under-the-radar installation in a lot of shops.)

While there have been a number of vulnerabilities in VMWare’s Linux host this year, the number is still lower than Windows 2003. I’d rather take my virtual host server down once a quarter for patching than once a month.

I wouldn’t put either host OS on a public Internet address though. Either one needs to be protected behind a firewall, with its host IP address on a private network, to protect the host as much as possible. Remember, if the host is compromised, you stand to lose all of the servers on it.

The biggest place where Microsoft gives a price advantage is on the migration of existing servers. Microsoft’s migration tool is still in beta, but it’s free–at least for now. VMWare’s P2V Assistant costs a fortune. I was quoted $2,000 for the software and $8,000 for mandatory training, and that was to migrate 25 servers.

If your goal is to get those NT4 servers whose hardware is rapidly approaching the teenage years onto newer hardware with minimal disruption–every organization has those–then Virtual Server is a no-brainer. Buy a copy of Virtual Server and new, reliable server hardware, migrate those aging machines, and save a fortune on your maintenance contract.

I’m glad to see VMWare get some competition. I’ve found it to be a stable product once it’s set up, but the user interface leaves something to be desired. When I build or change a new virtual server, I find myself scratching my head whether certain options are under “Hardware” or under “Memory and Processors”. So it probably takes me twice as long to set up a virtual server as it ought to, but that’s still less time than it takes to spec and order a server, or, for that matter, to unbox a new physical server when it arrives.

On the other hand, I’ve seen what happens to Microsoft products once they feel like they have no real competition. Notice how quickly new, improved versions of Internet Explorer come out? And while Windows XP mostly works, when it fails, it usually fails spectacularly. And don’t even get me started on Office.

The pricing won’t stay the same either. While the price of hardware has come down, the price of Microsoft software hasn’t come down nearly as quickly, and in some cases has increased. That’s not because Microsoft is inherently ruthless or even evil (that’s another discussion), it’s because that’s what monopolies have to do to keep earnings at the level necessary to keep stockholders and the SEC happy. When you can’t grow your revenues by increasing your market share, you have to grow your revenues by raising prices. Watch Wal-Mart. Their behavior over the next couple of decades will closely monitor Microsoft’s. Since they have a bigger industry, they move more slowly. But that’s another discussion too.

The industry can’t afford to hand Microsoft another monopoly.

Some people will buy this product just because it’s from Microsoft. Others will buy it just because it’s cheaper. Since VMWare’s been around a good long while and is mature and stable and established as an industry standard, I hope that means it’ll stick around a while too, and come down in price.

But if you had told me 10 years ago that Novell Netware would have single-digit marketshare now, I wouldn’t have believed you. Then again, the market’s different in 2004 than it was in 1994.

I hope it’s different enough.

Converting Bachmann On30 cars to O or O27?

There’s always a discussion about the cost of O gauge/O scale somewhere, mostly because it’s hard to find new locomotives for less than $500 and new train cars for under $75. You’d think this was a hobby for trial lawyers and brain surgeons.

One guy pointed out how much bang for the buck he’s getting when he buys On30.

Now, a bit of terminology here. O scale is 1:48 scale. One quarter inch on the model is equal to a foot on the real-world equivalent. O27, the cheaper brother of O scale, is actually 1:64 scale, though it runs on the same track. “Serious” hobbyists often look down on O27, but the nice thing about O27 is it lets you pack a lot more into a smaller space.

So what’s this On30 stuff and what’s the difference between it and regular O or O27 scale?

I’m glad you asked.

On30, On3, and the like refer to “narrow gauge.” Most train track in the United States has its rails 4 feet 8 inches (or 8 1/2 inches) apart. That’s “Standard gauge.” Occasionally, a railroad would lay its track 3 feet apart, or 30 inches apart, or some other measurement narrower than 4’8.5″. This was especially common out west in regions where they had to deal with a lot of mountains. On30 refers to 1:48 scale models of 30-inch gauge trains. On3 refers to 1:48 scale models of 3-foot gauge trains. On2 refers to 1:48 scale models of 2-foot gauge trains. And so on. I’ve talked more about On30 here if you want to know more.

Now it just so happens that the distance between the rails on regular old HO scale track measures out to 31.3 inches in O scale. For most people, that’s certainly close enough. O scalers have been living with track that’s 5 scale feet wide ever since we decided that O scale was 1:48, back in the 1930s or so.

So Bachmann, the makers of the cheap HO and N scale train sets you see in big box stores, decided to take advantage of this convenient accident, make some 1:48 scale cars, put narrow trucks on them, bundle some HO scale track and commercialize On30. So now it’s actually easier in some regions to get a Bachmann On30 train set than it is to get a Lionel O train set.

I found this page on converting Bachmann On30 cars to S scale. What the author did was remove the Bachmann trucks and couplers and substitute American Flyers. Since S scale stuff is even more scarce than regular O scale, this is a slick trick. And, as you can see from the pictures, for the most part the stuff still looks right. Rivet counters won’t like it, but if you’re a rivet counter you’re probably not reading this page anyway. For people starved for inexpensive trains, or for trains, period, they’re fine.

Well, I like my Lionels. I’m not going to convert to On30. But I don’t like Lionel prices. So I build some of my own stuff, and the stuff I do buy, I buy used. So I’ve amassed a pretty sizeable collection, even though I’ve spent a lot less than most hobbyists will spend on a single locomotive.

But I’m always looking for something new and different.

A K-Line passenger car costs $117. A Bachmann passenger car costs $28.

A pair of K-Line freight trucks costs $8. Are you thinking what I’m thinking?

You can’t put freight trucks on a passenger car. That’s what I’m thinking. Freight trucks are different from passenger trucks for some reason. Something about people wanting a smoother ride than cows.

But you get the idea. $36 is a lot less than $117.

K-Line passenger trucks are $25 apiece. That’s more than the car. But $78 is still less than $117, though I’d just live with using freight trucks, myself.

If the S scalers can do it, why can’t we?

Sick.. AGAIN.

I’m sick again, so I’m back on the Numotizine Cataplasm, which is Dr. Farquhar’s secret weapon against a cough. No, I’m not playing doctor. My dad and his dad were, and it was what they used.

Use at the first sign of a cough. You won’t regret it.I’m also using Zicam-branded zinc spray and cheapy generic zinc lozenges. And I’m taking my sister’s anti-cold vitamin *censored*tail three times a day: 3 grams of vitamin C, 1,200 IU of vitamin E, 150 mg of zinc (but only 50 mg in the morning–bad things happen if you take too much zinc early in the morning), three echinacea tablets, and some vitamin A. Vitamin A is lethal in large doses, so I’m not comfortable saying how much I take. Lawsuits and all.

That’s a lot to remember, so I like to buy bottles of 400 IU caplets of vitamin E, 50 mg tablets of Zinc, and 1,000 mg tablets of vitamin C to make it easy on myself. Three of each, three times a day, for three days.

After three days, back off to three of each once a day for another seven days.

There are people who claim that certain brands of vitamins are better than others, and while it’s true that some brands give better absorption than the rest, the cheapie vitamins from Kmart have done just fine for me.

None of these things will cure a cold, although those vitamins seem to be able to knock one out if you manage to catch it early enough. Any one of them has the potential to severely cut down on the symptoms, and together, they’re even better.

Your mileage will vary. I’m not a doctor. Talk to your doctor first. I’m not responsible for what happens. And all other standard disclaimers apply.

Lean, mean Linux

LinuxToday linked to a story today about Building a lo-fat Linux desktop. Basically it’s a list of applications you can run on a 233 MHz machine without feeling like you’re standing in line at the bank.

Most of the apps are things I’ve mentioned here before, but never in one place, at least not as a list of apps that run superfast. The closest I ever came was that last link. So I’m glad someone else did.

One nice thing: That last link was from 2002. Two and a half years-plus later, not much has changed. I think that’s good. It means things are stable.

Here’s a general principle to follow: KDE gives a nice, integrated environment and lots of apps that play well together, but the price is overhead. If you want something that reminds you of Windows and a Mac, run KDE. But don’t complain if Linux is slow on anything less than a cutting-edge machine, because it will be.

If you’ve heard that Linux runs fast even on ancient hardware and you want to live up to that expectation, Gnome apps are faster.

Sylpheed is a nice e-mail client if what you need is an e-mail client and not an all-out PIM. When I’m running Linux it’s what I like to use.

Dillo is a minimalist web browser. That has its advantages. Popups? Flash? Blinky ads? What are those? It’s a great choice for slower machines, and even for fast machines if what you’re wanting to do is get the information on the web without distractions and then get out.

Icewm is my default desktop no matter what machine I’m running. If I had a quad-CPU 3.4 GHz P4, I’d still run Icewm.

I haven’t used a newsreader since Google bought Dejanews, but back when I frequented newsgroups and ran my own client, Pan was tops. Pan did things that the for-pay newsreaders like Microplanet Gravity wouldn’t do. And that was something like five years ago. I’m sure it’s better now. Not only was it full-featured, it was fast.

I hadn’t heard of the picture viewers the article mentions. I’m not sure that I have a picture viewer installed on my current Linux desktop. I guess I just haven’t needed one. Hmm. But as I recall, GTKSee was reasonably quick, and its user interface was familiar, since ACDSee is a very popular program.

As far as links to the apps, I don’t provide them because you’ll need packages specific to your distribution, assuming your distribution didn’t already come with them (which it may very well have). Do a Google search on the app name and your distribution–“Sylpheed Mandrake” “Sylpheed Fedora” or what have you.

It’s a good article that I recommend reading, as is the follow-up, linked at the bottom.

A first look at Inkscape

I’ve been playing with the Windows version of Inkscape, which bills itself as an open-source SVG editor. It doesn’t bill itself as an Illustrator/Corel Draw/Freehand killer, but as a simple vector drawing program, it works.

It takes getting used to. But I think I like it.I’ve talked before about free Windows graphics software but I didn’t mention Inkscape because the Windows port did not yet exist.

I don’t try to draw scaleable pictures of people. I draw objects, typically boxy objects. It works for that.

The ability to draw and finely position polygons and curves is there and obvious. The ability to do fills using patterns is there, though its use is a bit less obvious. (I did find an Inkscape pattern tutorial, but haven’t tried it yet.) The ability to group and ungroup objects is there and obvious. As is the ability to change an object’s dimensions using the keyboard, so you can get an object to be exactly 2.5 inches long if need be.

It also has the ability to simplify a shape you select. This is good if you have a shaky hand and couldn’t quite get something straight but came close. It can also bring an artsy feel to something, since simpler objects often appear more pleasing.

My biggest gripe is the grid. I don’t know what it’s measuring or where its origin is. It doesn’t line up with the ruler, so if I want something offset by a quarter-inch relative to another object, it’s difficult to do. I found myself drawing a lot of lines the length of the offset I wanted and using those to position objects, and just using the grid to get me in the right neighborhood.

But it’s a promising piece of software. I’ll use it because the price is right (free) versus the alternatives (hundreds of dollars). And if it’s anything like other pieces of open source software, it’ll steadily improve. It’s only on version 0.39 right now. Mozilla had some rough edges at version 0.3x too.

The key to drawing, which my art-teacher girlfriend told me and I’d never heard anywhere else, is not to look at the whole, but break the object you’re drawing into the simplest shapes you can. Draw and arrange those shapes, and you get a whole drawing.

If you can think like that, you can use Inkscape. If you can’t, it’ll frustrate you. (But most drawing programs probably will.)

Is there hope in Kansas City for baseball?

I spent some time in Kansas City this weekend. If I had any doubts this season, where the Royals went from favorites to win the division to worst team in the league in a matter of about a week, had eroded fan support, that doubt is gone now.

So now what?First, there’s the question of what went wrong. To me, the biggest thing that went wrong was Juan Gonzalez. Gonzalez proved a lethal replacement for Manny Ramirez in Cleveland not so long ago, so there was reason to believe he could be the big booming bat in the cleanup spot the Royals have never had.

The question was whether you got the healthy Gonzalez or the Gonzalez who’s more injury prone than George Brett and Fred Lynn combined.

They got the latter, and thus a waste of almost enough money to keep Carlos Beltran.

Ah, Beltran. The guy who someday would have broken the Royals’ record for number of home runs hit and bases stolen in the same season. The most underrated defensive center fielder in the game. The Scott Boras client.

Trading Beltran was the only thing the Royals could do. Scott Boras is going to ship Beltran to the team willing to pay the most money for him. Can the Royals afford to give $18 million to one player? Doesn’t matter. George Steinbrenner will top the Royals’ best offer, because he’s got Bernie Williams and Kenny Lofton in center field.

I find it very encouraging that none of the Royals’ high draft picks this year was a Scott Boras client.

The fear in KC right now is that the Royals will never keep any good players they develop, because they look back at Carlos Beltran, Johnny Damon, and Jermaine Dye. Beltran and Damon were Boras clients. They couldn’t keep them. I won’t try to explain the Jermaine Dye trade, other than to say they didn’t think they’d be able to re-sign Rey Sanchez and they felt like it was easier to find outfielders than shortstops, and they thought Neifi Perez could hit his weight outside of Colorado.

Judging from the production they’ve had out of left field this year, I think they were even wrong about that bit about outfielders being easier to find than shortstops. But at least they’ve learned.

I see upside out of this year. I really do. David DeJesus is turning out to be a fine center fielder. It would be nice if he could steal more bases, but he’s a good defensive center fielder and he can hit, and he has good speed, even if he doesn’t know how to use that speed to steal bases. Ideally he should be a #2 hitter, but even still, he’s the best leadoff hitter the Royals have had since Johnny Damon left.

Abraham Nuñez is turning out to be a steal. He may or may not be a superstar, but he’s a good defensive outfielder with respectable speed, good power, looks like he’ll be able to hit .270 or better, and can play center field when you have the need to rest DeJesus. He’s an affordable Jermaine Dye.

I haven’t seen John Buck play since his first series in the majors, but he has managed to pop some homers even if his batting average is still below .220. Still, he got off to a tremendously slow start, so hitting .220 indicates he’s making progress. But an even-up John Buck for Carlos Beltran would be a better trade than Jermaine Dye for Neifi Perez turned out to be. Buck is already a better hitter than Perez, and the Royals didn’t have much in the way of catching prospects before Buck.

Angel Berroa has been a disappointment this season, but he’s in his second year and he watched the team implode around him. Of course he’s going to be jittery.

Zack Greinke looks like the best young pitcher the Royals have developed since its amazing Class of ’84 (Bret Saberhagen, Danny Jackson and Mark Gubicza). If Runnelvys Hernandez comes back from Tommy John surgery and pitches like he did in 2003, and if Jose Bautista lives up to expectations (he’s Pedro Martinez’s cousin, so hopefully that counts for something), the Royals might have fearsome pitching again for the first time in a decade. Jeremy Affeldt could come back from the bullpen and start if Mike MacDougal is healthy, and suddenly the pitching rotation looks awfully good.

I don’t know what the Royals will do in left field or at second base. But with Gonzalez gone, that leaves them some money to go after a better-than-average player for one or both positions. Or maybe they can swing a trade in the offseason for a prospect.

As hard as it may be to believe, they do seem to be getting smarter. They seem to have learned a lot from this season. Which is really all you can ask.

Any Unix gurus care to help me with mod_rewrite?

I’ve watched my search engine traffic decrease steadily for the past few months since I changed blogging software. It seems most engines don’t care much for the super-long arguments this software passes in its URLs.

The solution is mod_rewrite, and I think my syntax looks correct, but it’s not working for me.The goal is to fake out search engines to make them think they’re looking at static files. Search engines are reluctant to index database-driven sites for fear of overloading the site. Since I can’t tell them not to worry about it, I have to make the site look like a static site.

To that end, I created a section at the end of my httpd.conf file:

# rewrites for GL

RewriteEngine on
RewriteRule ^/article/([0-9]+)$ /article.php?id=$1 [NC,L]

This line should make the software respond to Thursday’s entry (https://dfarq.homeip.net/article.php?story=20040902200759738) if it’s addressed as https://dfarq.homeip.net/article/20040902200759738.

Once mod_rewrite is working, in theory I can modify the software to generate its links using that format and watch the search engines take more of a liking to me again. But I’ve got to get mod_rewrite going first, and I’m stumped.

Any expert advice out there?

Thanks in advance.

I\’ll try to check in later this weekend.

It’s a long weekend, and it’s going to be a busy one.

In the meantime, for those of you who like old trains, here’s a link: Standard Gauge Blog. Primarily it’s dedicated to the old Lionel 2 1/8-inch “Standard Gauge” (there wasn’t anything standard about it, in reality). But if you want to talk about showstopper trains, the biggest showstoppers were this style.

I like this guy because he acknowledges there’s more to the world than MTH (and MTH isn’t even the center of the universe!), he talks to experts, and once he even showed how these things were/are made. Worth checking out.