Barack Obama: the open-source candidate?

Now we’re speaking close to my heart. Granted, I’m a freeloader in the open source world. I have yet to contribute a single line of code to an open source project. (OK, I guess that’s not entirely true: I did write a WordPress plugin. Sweet. I’m in the club! Sort of.) But I have wholly embraced open source software in my work. PHP FTW, baby! (Uh yeah… whatever.)

These days the only thing I’m a more enthusiastic and outspoken proponent of than open source software is Barack Obama. So I’m surprised it took me so long to research what he’s running his website on.

Linux PWS/1.3.28

*Whew* Glad to see it’s Linux. But what the heck is PWS? I was at a loss. Then I found this blog talking about the very same issue. And suddenly it made sense why I didn’t recognize the acronym. I never would have considered Microsoft’s Personal Web Server to be the web server of choice running on a Linux server. I am still scratching my head at it. The whole VM thing seems the only logical explanation, except that there’s no logic to explain it. At least it’s not so transparently ass-backwards as John McCain’s configuration:

Linux Microsoft-IIS/6.0

And the inexplicable:

Linux ECAcc (lhr)

Interestingly, though, a Google search for “ECAcc (lhr)” reveals a link to a Digg post entitled John McCain Owns VoteForTheMILF.com. Stay classy, San Diego.

Let’s be clear: I think the idea of running a web site under Windows in a virtual machine on a Linux box is the most incomprehensible, mind-bogglingly stupid arrangement you’d ever bother with. I’d have to guess that the sites were developed to run in a Windows environment, but when it came time to deal with practical server and network capacity issues, load balancing and whatnot, some sysadmin made the (probably prudent) decision to load balance on Linux boxes instead of Windows, but since the site was tied to some feeble Windows technology, they couldn’t just move it over to Linux wholesale.

But let’s take this a step further. Back in late spring I received an email from Barack Obama’s IT director soliciting applicants for web developer positions with the campaign. Even though the job was in Boston, I figured it would be insane not to apply, so I submitted my resume. (I never heard back, for what it’s worth.) And it’s from this that I happen to know that the campaign was specifically seeking PHP developers. Rock on.

With that in mind, the whole Windows-on-Linux-through-VM arrangement made even less sense. Why would they develop the site in PHP, run it on a Windows server (definitely not the optimal arrangement for a PHP-based app, though it certainly will work), and then VM that Windows environment on a Linux box, instead of just gearing the PHP app for a Linux server in the first place? And that’s when I remembered that just earlier in the day I had been looking at taxcut.barackobama.com. Of course! Separate third-level domains are all over Obama’s site. Let’s check the configuration on that domain. Now that’s much better:

Linux Apache/1.3.34 (Debian) mod_gzip/1.3.26.1a AuthMySQL/4.3.9-2 PHP/5.2.0-8+etch10

And I think it explains a lot. Campaigns start off small. Obama had to register barackobama.com and put something up there ages ago, long before he was the Democratic nominee and the hugely successful fundraiser he became along the way. So that original site, www.barackobama.com, was probably developed on a Windows box in someone’s proverbial basement, probably when was running for the U.S. Senate or maybe even the Illinois Senate. But as the campaign has grown, its websites (plural) have grown as well, and in a decidedly open-source direction. There’s some good stuff in there. Debian (which could mean Ubuntu, too… I haven’t checked the signature on Ubuntu’s Apache package to see if it’s split from its Debian roots), PHP (and a reasonably up-to-date version at that), MySQL, etc.

It’s kind of fun to do this kind of research, as long as you don’t mind being distracted along the way, because there are plenty of weird sources of distraction.

Aside from the aforementioned MILF site (classy), and the somewhat interesting fact that searching on “PWS/1.3.28” brings back as its first result a reference to Obama’s hosting, I discovered that for some reason the page title on John McCain’s official store is “Independent Online Stores.” OK. No one looks at title bars. And even fewer web developers look at <title> tags. I know that from experience. But of course that’s just a transitional landing page, announcing that McCain wares are not actually sold by the campaign, but by independent, for-profit companies, and buying these items doesn’t translate into money going back into the campaign. Huh. I can’t quite wrap my brain around that, but I’m a lifelong, union-loving Democrat, so I guess I wasn’t meant to. The only thing that comes to mind is that maybe it has to be that way, legally, now that he’s accepted public campaign financing. Anyway, the first McCain store link I found, which as they state is apparently an independent operation not affiliated with the campaign, is, not surprisingly, running:

Windows Server 2008 Microsoft-IIS/7.0

I also found that the company that hosts some of Obama’s pages also hosts a site for the American Model Yachting Association. Really? Model yachting? That exists?

Speechless? Obviously not.

I’ve been on a big Ubuntu kick lately. Ubuntu is the Linux distribution (derived from Debian) that is finally within sight of the elusive goal of producing a “desktop Linux for the masses” as they say. The latest version just came out last week. I’m so impressed with it that it’s distracted me significantly from the upcoming release of the next version Mac OS X. (OK, I do still remember that it’s coming up this Friday, and yes I probably will be queuing up outside the Apple Store this Friday.)

Anyway, I’ve also spent a lot of time reading everything I can pertaining to the new Ubuntu release, including, with great relish, articles wherein longtime Windows users profess their star-crossed love for this newest Linux release. Often the comments are as interesting (or more) than the article itself. Such was the case with this article from the UK branch of ZDNet. A comment there was so funny that I feel I must simply share it here in its entirety:

Microsoft’s now promoting Vista with a campaign called “100 reasons why everyone’s so speechless”.

I looked. #23 is “Because it’s like a digital candy store.”

Puh-leeze. Bring up the Adept Manager in Ubuntu. Now _that’s_ a digital candy store. Over 20000 applications for doing almost anything you can imagine, and quite a few things you can’t. Running Vista is like being in a candy store that only sells black liquorice (I _hate_ black liquorice) at exorbitant prices. Oh, and you’re only allowed to eat the candy in the store. Plus each individual piece is really small and is wrapped in seven layers of cellophane, and the store won’t let you throw the wrappers away. You have to take them with you and throw them away at home. Plus they set off a grenade in the chocolate store across the street in the middle of the night and mugged the proprietors of the penny candy stand. Oh, and Microsoft are the ones behind the urban legend that red M&Ms cause cancer. That’s the kind of candy store Vista is.

The Microsoft page in question, 100 Reasons You’ll Be Speechless, is pretty ridiculous. I have yet to encounter in my day-to-day life a single person who has even acknowledged using Vista, much less anyone who’s actually impressed with it. But as I perused the first dozen or so “reasons,” I could find nothing that isn’t already more-or-less present in Mac OS X, Ubuntu, or some readily available specialty device (like AppleTV) that interfaces easily with one or both of those OSes. And I won’t even get started on the usual litany of complaints about Windows. But the “100 Reasons” probably still makes for an entertaining read… if you’re really desperate for entertainment. (Then again, you probably have plenty of other, superior sources of entertainment at your disposal at this very moment, so why not choose them instead?)