When I'm looking at a new open source project one of the first questions I ask is "how good is this software?". Unless you know something about the reputation of the author or the code it can be remarkably difficult to tell whether something is good or crap. Caveat codor.
This is another reason why unit tests are so important. They're like a badge of quality. The fact that there are tests at all is a good sign. Run them, do they pass? Scan through the test code; does the coverage look good? The tests are usually a handy API example, too.
For the bad side of this see the tests for pywebsvcs. Many of the tests don't work last I looked. It's not clear which tests are even useful. I don't mean to slag the pywebsvcs developers — they're doing great work — but I'd sure feel better about the code if it had a test suite I understood.
I was all excited to relax a bit this weekend playing Far Cry, a clever new first person shooter. I made a special trip to buy it on the way home and everything. But instead of installing the game and enjoying virtual battle I first have to have a real-world battle with my computer. Or, as the box says in tiny print:
Notice: This game contains technology intended to prevent copying that may conflict with some disc and virtual drives.
I use Alcohol 120% to create virtual CD drives. It's great for saving the trouble of finding the actual CD and it's able to emulate a bunch of the crap that copy protection schemes look for. Ubisoft has decided to punish their paying customers by refusing to run if you have Alcohol installed. It's almost enough to make me join the 12,938 other people who are downloading a fixed version of the game off of BitTorrent. I'm not even trying to run the game with an emulated CD; just having Alcohol installed is enough to break Far Cry.
Fortunately the software engineers aren't any smarter than the decision makers at Ubisoft and upgrading from Alcohol 1.4.3 to 1.4.8 fixed my problem. But I had to waste an hour of my life figuring that out.
Palladium, the uber-DRM system Microsoft is pushing, will make it impossible for me to work around crap like copy protection. With "Trusted Computing" Ubisoft will have more power over what my computer does than I will.
See also this customer discussion
Valuable listening: Terry Gross interviews the man whose job it was to protect America from terrorists. Clarke says George W. Bush ignored his urging to protect the US from Al Qaeda in favour of attacking Iraq. There's a lot of discussion of Clarke's book now, hear the center of the argument direct from the source.
Looking for a nice weekend vacation in the wine country of California? Forget Napa; too crowded. Sonoma County is a good alternative; more rustic than Napa, more laid back. But still quite cultured and beautiful with great wine.
I spent most of the weekend in Healdsburg, CA, about an hour and a half north of San Francisco just off 101. It's a cute little town with an upscale tourist infrastructure but still relaxed. The Hotel Healdsburg was pleasant (but not perfect). The real highlight was Charlie Palmer's Dry Creek Kitchen, a fantastic restaurant concentrating deeply on local food and wine. Healdsburg is full of good looking restaurants: Bistro Ralph, Madrona Manor, Zin, etc.
As for wine, the guide you need is the Russian River Wine Road, particularly the maps. We concentrated on Dry Creek valley, a long narrow valley with a great little road on the west side. Lambert Bridge is an old favourite there. This time we dropped in on Raymond Burr and Yoakim Bridge, both small wineries that only sell direct. Excellent wines, very full flavoured with some refinement.
The best wine of the weekend was at the restaurant sommelier's recommendation, a Hafner Vineyard's 1993 Alexander Valley Cabernet. The elegance of a proper aged Bordeaux at a price that wasn't wacko.
Alas, the housing prices are wacko: nice homes in Healdsburg are $700,000 and up, and a little 1800 square foot vacation home in the hills with a few acres of land is $1.5M or so. So much for the fantasy of a weekend place.
As I sit here listening to a bootleg rip of the soundtrack for Rez I find myself pining to play it again. Rez is one of those games that is hugely exciting to anyone who's ever seen it, yet such a commercial failure that it never got proper distribution and has no hope of living on. Worse, it's in the netherzone between obsolete hardware and contemporary emulator capabilities, so unless you have a PS2 or the actual Dreamcast with the funky grey market disc to let you play PAL games you can't play it.
The gameplay itself is unremarkable, a simple linear shooter. But the hallucinogenic graphics and fantastic mellow techno soundtrack make this a fantastically engrossing game. The cleverest thing is the way that reactive sounds (shots fired, explosions) are looped in sync into the soundtrack. The graphics are astoundingly beautiful and innovative and the trance vibrator is rumoured to please all the senses.
My favourite thing about Rez is the way the game is like a journey, a relaxing trip that has a bit of challenge but isn't too demanding. I wish there were more games like that.
I'm thinking about getting some proper web hosting via User-mode Linux. UML is a cheap virtual server system, like IBM VM or VMWare only lower tech. Each user has their own virtual system image with full root access, but it's only $20/month instead of $50/month or more. Also known as Virtual Private Server (vps). The downside is you share CPU and RAM, although the numbers below are worst-case scenarios.
Here's what $20/month gets you on a few hosting sites:
Way back in 1994 I wrote an undergraduate thesis for my math degree at Reed College. It was a fun project, studying a discrete dynamic system that was an extension of the Ising model. Sort of cellular automata meets statistical mechanics. It's the only significant thing I've written that's not online (too lazy).
A few years ago my colleagues from the Santa Fe Institute wrote a preprint from that work, Vortex Dynamics and Entropic Coulomb Forces in Ising and Potts Antiferromagnets and Ice Models. They were kind enough to list me as an author even though I barely understand half the paper! I do have the pretty pictures, though, plus a healthy appreciation of the complexity of discrete systems.
I've never met one of the co-authors, Cosma Shalizi. But thanks to his having a weblog I now know more about him than the other guys.
The months after Christmas are the doldrums of the PC game industry, but we're just about to emerge in the light. Three things I'm looking forward to:
Kim Stanley Robinson has a thoughtful article in today's NYT about the interplay between science fiction and science in our conception of Mars. From the humanistic civilizations of earth 20th century writings to Robinson's own terraforming trilogy, Mars science informs scifi writers which in turn inspires science.
Habeas thought they had a clever idea: copyright a little haiku, consider any mail that has the haiku to be not spam, then sue any spammer who violates their copyright.
What a dumb idea! The problem is spamassassin treats this mark as strong evidence of not-spam (-8.0: +5.0 required to be spam). So of course a bunch of spammers are including it to slip past spam filters. My carefully tuned spam filters started failing recently because of this. Sure, some day maybe a copyright lawsuit will bring some relief, but that's years away.
I'm not the only one with this problem: Anders Jacobsen, no such weblog, truerwords, uncle dirtae, etc. The problem is that spam is an arms race: as soon as the spam filters impolement a technique the spammers find an exploit. 'Test for this magic string' is awfully easy to exploit.
Solution? score HABEAS_SWE 0.0.
Update 2004-03-15: a spamassassin developer contacted me. They are working on a fix that sounds good.
In today's NYT, an article about people speculating on the Martha Stewart verdict. Apparently they guessed wrong. The interesting part of this story is how the NYSE specialist intervened to slow trading in MSO; the more automated markets just let the price fluctuate wildly on rumours. Compare to the story on spraying NASDAQ. Floyd Norris fan club. The market is a complex and surprising system; Norris' articles covering it are consistently interesting, insightful, and innovative.
Following on the controversy around the Grey Album, a shadowy group of people have released the Jay-Z Construction Set that includes all you need to make your own remixes. It has the original Black Album, the vocal tracks, 14 remix albums, and all the old school samples and high-larious clipart you need to build your own project.
I love the optimism in construction sets, the idea that if you give ordinary people some raw material they'll produce art. In computer games, Bill Budge's Pinball Construction Set set the standard.
As seen on MetaFilter
Jose Padilla met with his lawyers for the first time since being locked up without charges in June 2002. His lawyers, Andrew Patel and Donna Newman, met for about three hours at the Navy brig in Charleston with Mr. Padilla, who is accused of plotting with Al Qaeda to detonate a radioactive "dirty bomb." Mr. Patel said they mainly gave Mr. Padilla news of his family and did not discuss his case because the government was closely monitoring the meeting.
Does this sound like America?
The blog world today is full of links to Edward Tufte's sparklines, a design element to display time series data in text. Read the article, it's interesting.
I occasionally worship at the Church of Tufte and have taken a lot of inspiration from his emphasis on simple and clean design. But many of his ideas seem awfully hard to apply well. A particular frustration is that many of Tufte's design elements rely heavily on 1200dpi multi-colour printing on fine paper. That's great, but these days all of my design is for 100dpi computer screens.
Tufte has written amazing and comprehensible books that have had a good influence on everyday design. But often when people cite Tufte it's just "oooh, pretty" without really thinking about where the ideas are applicable.