Some Bits: Nelson's weblog

Tiger Tiger

Is it just me, or is it really weird that both the new Java and the new MacOS are named “Tiger”. And there are competing developer conferences for MacOS and Java this week, a block away from each other. And they’re competing for press. You should really coordinate better.

More on Mac Terminal

Since Nelson and I have both been grousing about Mac OS X’s Terminal.app, I did some more research. Command-doubleclick will open an URL in Terminal.app, but only if the URL is one line long. Here’s a better solution:
  1. Download and install iTerm.
  2. Edit “iTerm -> Preferences -> General -> Characters considered part of a word” to have the value:
    /*_-~+@%&.:;$,?=#
    
    Documentation of this step found here. I added a ‘%’ sign to the string.
Now Command-click in iTerm will open an URL, even if it wraps over several lines.

Update: I updated the suggested “word” line after finding a few holes and resorting to reading RFC 2396. I omitted ‘!’, “’”, “(“, and “)” because I think those would cause more parse errors than they would solve in this context.

Harz mountain steam train

One of the fun things we did in Germany is take a short excursion on the Harzer Schmalspur Bahn, a narrow gauge railroad running through the Harz Mountains. The tourist train is an hour and a half run up to Brocken, the highest point in the Harz mountains. The fun thing is you get to take one of their restored steam trains. It’s not often you see a fleet of 25 steam trains working every day. Other tourists liked the trains, too.
HSB GmbH seems quite serious. It’s not just a tourist rail - it’s also the most direct route through the Harz mountains, Deutsche Bahn doesn’t serve it. The mountains are beautiful, full of hiking trails and forests.

Propaganda experts

Wow, the new Bush/Hitler ad (WMV) is brilliant propaganda. The overt message is to discredit moveon.org and the Democrats by claiming they improperly compare Bush to Hitler. But the ad happily uses the juxtaposition of Hitler with images of Gore, Dean, Gephardt, Kerry to implicitly connect the Democrats to Nazis. It’s like Karl Rove was taking notes when he watched Oliver Stone’s JFK.

The ad also neuters the appropriate outrage of the Democrats. Frankly, this is the time for pessimism and rage. But the ad turns that on its head. Mean ol’ Kerry, wouldn’t you rather vote for nice piano music Bush?

And showing this video only on the web bypasses all sorts of pesky campaign laws. Because of the Hitler controversy this ad is now all over the mainstream media. It may be hypocritical, but it sure works.

MacOS survival notes

I got a Mac laptop (12″ powerbook), thought I’d try something different. Unix with a non-X interface, you have to like that. My favourite thing is the beautiful font renderer.

I asked some friends - Cory, Evan, Jason, Eric, and Raffi - for advice on what to install to make my Mac happy. Things I’ve found useful so far:

VersionTracker, MacUpdate, and Mac OSX hints
Useful websites. If you’re searching Google for Mac software, adding “macosx” to the search term usually gets you what you want.
QuickSilver
Program launcher. Like LaunchBar, only free.
Firefox
Web browser. Make the default via Safari preferences.
Fire or Adium X
Free multiprotocol instant messengers.
Enhanced Carbon Emacs
I’m going to be using Brain-Implant emacs in 2023.
Vera Sans Mono font
Good fixed width font. Apple’s Monaco and Andale are both acceptable, but Vera is best. Note: this looks awful in Terminal unless you enable anti-aliasing via Terminal / Window settings / Display.
MacPython
MacOSX 10.3 has Python, but it’s missing the IDE.
MacStumbler
For finding wireless networks.
Fink
Debian-like ports of traditional Unix apps to MacOSX. I haven’t used it yet, but it’s good to know it’s there.
X11 server
Looks like a good port
iPulse
Pretty system monitor
MacJanitor
Run cron jobs by hand. Useful for laptops.
SideTrack
Essential for laptops; replacement Trackpad driver. Lets you right-click, scroll, etc. Apple should buy this.
Some other things my friends recommended but I don’t need or want: BBEdit (text editor, a classic), Ecto (blog writing tool), Shrook (feed reader), iSeek (search tool), iOrganize (note taker), FTPeel or Transmit (ftp clients), VLC (multimedia player) Remote Desktop Connection (open your Windows desktop), SubEthaEdit (collaborative text editor).

The main thing I’m missing is a more convenient app for sshing. Terminal is OK, but it feels awkward when using remote hosts. And I can’t figure out how to click on a URL to open it. Command-doubleclick. Thanks, David and Steve. And is there a DQSD for Mac? iSeek or Butler.

Update: Thanks for all the email! See also Ted’s List. And Steve notes Brad Choate’s list.

MacOS X setup wizard

I just got a Mac laptop and turned it on to go through the setup wizard for the first time. What is with this thing? It’s asking me for my mailing address, the size of company I work for, what industry I’m in. And I have to answer these intrusive questions before I get to use the computer I bought: there’s no opt-out, no “skip this question”.

Isn’t Apple supposed to be the friendly computer?

The Fast and the Furious

I may be three years behind the times, but The Fast and the Furious is a pretty great movie. Cool cars, tight editing, and the kind of After School Special for Adults plot I love in action movies.

I’m impressed with Vin Diesel, too. I like action movie stars who do what they do well. His new Riddick Xbox game is great, does the video game tie-in better than anyone so far. Smart move forming Tigon Studios, his own game company.

Maybe one day Vin will be governor.

Florence on the Elbe

Dresden was the most surprising part of my trip, astonishingly beautiful. I only knew about the firebombing, followed by 40 years of communist architecture. What I didn’t know is that the city is truly beautiful, with a lovely waterfront on the Elbe. And the old center of Dresden, the showpiece palaces and promenades, has been completely rebuilt with a very traditional restoration.
The pride of Dresden’s reconstruction is the rebuilding of the Frauenkirche, the Baroque church that was left in complete ruin after the destruction in 1945. The restored building is beautiful, using the traditional stonework techniques. As you can see in my photo above, they reused the old (blackened) stones where they could.

Yesterday was the symbolic conclusion of the reconstruction, hoisting the cupola with a British-donated cross to crown the church. The cost is enormous: $175 million or more. Imagine the pride in this restoration, coming after reunification.

Quick tourist tips for Dresden: the Bülow Residenz is a great hotel, with a terrific Michelin-starred restaurant. And take a steamship tour on the Elbe.

Powerless

I fervently want Bush to not be president any more. The administration is truly terrible. It led our country to war on false pretenses, deliberatly sabotaged the Constitution with its imprisonment policies, and is systematically wrecking the US budget with irresponsible tax and expenditure policies. Oh yeah, and there’s the stated policy of torturing prisoners and hiding them from the Red Cross. Nice. And that’s just the worst stuff - I won’t even go into ANWAR, or gay marriage, or ...

But I feel powerless, disenfranchised. Sure, I can vote against Bush. But does voting even count? I truly believe the 2000 election was stolen. I could try to influence politics, get involved in the campaign. But personal action is sort of pointless; most of my friends already hate Bush too (and the others, well, we agree to disagree). Political influence seems to be entirely about money, not belief.

This is why I liked Dean. He made me believe that things could change. Kerry is uninspiring. MoveOn gives me some hope, but only a little.

Michelin Guide Rouge

I’m a food tourist. For finding restaurants in Europe, the Michelin Guide Rouge is information perfection. Complete data on a country’s good hotels and restaurants, the red guide is truly all you need.

Best as a book, it is also searchable online. The design is fantastically dense. The German guide, for instance, is 1500 onionskin pages in a handbook size. There’s a bit of information about each town, including excellent small maps for bigger towns and a line or two about major tourist destinations. Each restaurant or hotel then gets about 8 lines wherein you will find packed the name, location, contact information, hours, prices, and a couple of descriptive lines of text.

The most important thing is the listing’s icons. Restaurants get 1 to 5 forks. But it’s not just a 1-5 scale. If the forks are red then the place is a “pleasant restaurant”, a uniquely comfortable dining room. Rare places have the valuable Michelin stars that indicate excellent service and comfort. And there’s the “bib gourmand” for inexpensive places. That makes for four dimensions all for a quick scan.

The editorial quality of the reviews is fantastic (despite some recent controversy). Anything that’s even in the guide will be a good meal; to my American tastes 2 forks and up is a fine restaurant. These ratings are given by serious food people, much more useful than the crappy guidance from Fodor’s or Frommer’s.

My most fervent wish is we could have a Red Guide for the USA. Alas, I think we just don’t have the quality or culture to deserve it. Zagat is the closest we have, and it’s just not the same maturity. And so peculiarly democratic!

Cory at MSR on DRM

Cory Doctorow’s talk to Microsoft Research about digital rights management is hot. It’s the best single description of all the failures of DRM I’ve ever read. The time Cory has spent at the EFF has clearly honed his thinking.
DRM systems don’t work
DRM systems are bad for society
DRM systems are bad for business
DRM systems are bad for artists
DRM is a bad business-move for MSFT

But talking to MSR is preaching to the choir. The people who really need convincing are the Windows OS product strategy team, in particular the folks behind the Next-Generation Secure Computing Base for Windows (aka Palladium). Microsoft has already made the decision to destroy general purpose computing in order to protect copyright owners’ interests at the expense of users.

With the DRM core baked deep into the hardware and Microsoft getting to sign a whole new set of licensing contracts, I fear the “don’t work” and “bad business move” arguments will seem to have been overcome long enough for this hostile stuff to be status quo for awhile, setting everyone back.

Melatonin, the wonder hormone

Jet lag sucks. The only thing worse than falling asleep at 3pm is waking up at 4am, exhausted, and not being able to sleep.

Melatonin is a partial solution for jet lag. It’s a pineal hormone that triggers sleepy time. The problem with jet lag is your ordinary circadian rhythm is on a 24 hour cycle, so until you adjust you’re melatonin-deficient at your new local bedtime. But take a melatonin pill or two and bam, you’re asleep. Without a sedative.

Because of insane FDA laws melatonin is available without a prescription, but it has a very strong effect, at least on me. I don’t make a habit of taking it regularly.

I’m back

Hello everyone, I’m back! Many thanks to Marc for writing the guestblog while I was gone, lots of interesting things.
I took a two week vacation to the former East Germany. It was an excellent trip, very relaxing and interesting. I took some notes on the trip that I’ll play out here over the next while. The quick itinerary:

iPod/Car

Let me just state for the record that if Apple were to release a car stereo head unit, I would be first in line to buy it. I would even replace my old, 2G iPod with a shiny new iPod at whatever price they asked. Steering wheel controls would be nice, but really all I need is a head unit with an iPod socket and nice controls. Let’s call it the iDash.

The car/iPod interface has been the worst part of the iPod experience -- getting the iPod music playing out of the car speakers is ridiculously hard, and just finding a place to rest the iPod while it plays is comic. I’ve tried using cassette adapters, which fake out the tape deck into playing iPod tunes, but they have consistently died on me, either fraying at the cable that dangles out of the deck or frying in the heat (just like a real cassette!). I’ve tried using mini FM transmitters like the Griffin iTrip, but the sound quality is terrible and finding a free radio channel in the Bay Area is impossible. (I had one for a while, until some anti-enterprising San Franciscans launched a pirate radio station on it.) I’ve tried removing the CD changer and using an RCA adapter to wire the iPod in directly, which, modulo the cables trailing from the trunk to the front, was great for sound and stability -- until the damn thing shorted out and took the turn signals, gas gauge, and brake lights with it, a $600 repair. Now I’m back to the cassette adapter, and I pack it into my bag every day as I head out of the car. What a pain.

Too many head units don’t provide auxiliary input, and all the solutions on the market are half-assed and clunky. A fantastic Apple head unit would be an amazing tool for the iPod, and would really change the car stereo experience.

Microsoft wasted a bunch of money on car PCs a few years ago. Wouldn’t it be funny if the iDash gave Apple a entry point to automotive computing?

The Iowa Electronic Markets vs. Iowa Voters

Mark Frauenfelder blogged today about the Iowa Electronic Markets (IEM), a futures market run by the University of Iowa for studying predictions of political elections and other events. I love the idea of these markets and have been following them closely. While the Policy Analysis Market caught some well-deserved criticism last summer, I didn’t think it was a crazy idea, but that it was more poorly explained than poorly conceived.

I was following the IEM during the Democratic Presidential primaries, and was disappointed with the results of what I saw. These markets are sometimes claimed to “predict the future,” and rightly so in that they can expose upcoming events that are for whatever reason non-obvious by conventional wisdom. It was not obvious to me that Howard Dean would suffer such an upset in the Iowa Caucuses, placing behind Kerry and Edwards when all the polls were showing a different result. After the shoes had all fallen, I went back to the IEM to see if these futures markets -- based, after all, in Iowa -- had been able to predict what many of us had missed.

It seems they did not. Graphs of the market’s activity show Dean and Clark (who placed sixth, behind Kerry, Edwards, Dean, Gephardt, and Kucinich) leading right up until the day of the caucuses, January 19th. Edwards, who placed second, wasn’t even offered as a separate contract until after the caucuses were closed (he was included in the “rest of field” contract). I’ve created a detail graph of the end-of-day contract prices (drawn from here) for Dean, Kerry and Clark in the days leading up to the caucuses, and they don’t show any clue that Dean was headed for a fall.

No one has claimed predictive markets are perfect, nor that they can forecast everything -- just that they tend to outperform other predictive measures. I’ll be interested to see if this idea takes greater hold over time, and gains in effectiveness as it involves more participants.

Accenture in Bermuda

It’s interesting to read about Accenture and the award of the “Virtual Border” contract from the Department of Homeland Security. This Reuters article, like a recent NY Times article on the same topic, talks about the attempts by the House of Representatives to prevent Accenture receiving the contract, since Accenture’s corporate headquarters is not in the US -- it is in Bermuda.

What’s unfortunate about these articles is how obliquely they talk about the reason Accenture is based in Bermuda. According to Perfectly Legal by David Cay Johnston, the sole point of this is to reduce the corporate taxes Accenture pays -- they are essentially shopping for a nation with laws most favorable to their incorporation. In a chapter entitled “Profits Trump Patriotism,” Johnston talks about exactly this conflict between national security and awarding government contracts to quasi-foreign corporations -- including Accenture. It’s too bad the explanation of this issue isn’t more clear in the articles covering it -- especially since Johnston is a Times reporter.

I do think this is an interesting and important issue, and I’m glad to see the House taking some action on it.

Update: The article in Thursday’s Times has a somewhat better explanation of the issue.

Hostile Movie Theaters

I had a fine time watching the new Harry Potter movie last weekend -- you know it’s a better movie when it features a tree with more personality than some of the characters in the earlier episodes -- but was driven further down the road of hating movie theaters, which once I loved.

Movie theaters are increasingly hostile environments. At this one showing, we had:

  • about twenty minutes of ads, exclusive of the previews (which are of course ads in themselves);
  • a few minutes of live and recorded exhortations to keep quiet and turn off cell phones;
  • a full row of people behind us talking (sounded like a real-time Italian translation of the whole movie);
  • two people in front of us talking;
  • three cell phone calls, unanswered;
  • one cell phone call (directly behind us), answered (at least the Italian translation stopped for the duration of the call);
  • $4 for popcorn and $3.75 for a bottle of water;
  • $5 for parking;
  • $2 in Moviefone fees for two tickets (optional, but at this movie arguably not if you wanted to see it opening weekend); oh, and
  • $19 for two tickets to the movie.

It would certainly be cheaper to buy the movie on DVD and own it forever, than to watch it once for nearly twice the price; the popcorn would be better, cheaper, and faster, and could be topped with real butter instead of “topping”; the water would be tastier, colder, and available for $1.49 per 100 cubic feet; and the talking would be sanctioned or actionable. Plus, no ads. It’s no wonder home theater is booming.

One thing I didn’t see at this film was the increasingly common kill-thy-neighbor copyright warnings or maudlin pleas to spare Hollywood its looming, BitTorrential Napsterization. (I love hearing that downloading somehow affects the set painters but not the producers. Just once I’d like to see one of those trailers starring Jerry Bruckheimer or Michael Eisner: “If you download movies, we’ll never be able to make Batman XXIII -- and you don’t want that, do you?”) Instead of these tear-jerkers, the Potter producers instead deployed night-vision equipped Voldemort Special Forces -- but predictably, they couldn’t prevent Harry and his friends from making it online just after the end of the first showing. That’s been a consistent pattern for more than five years, now, and I don’t think it’s due to get better any time soon.

What the movie industry doesn’t seem to realize is that the hostility of the theatrical experience -- up to and including their copyright pablum and their Maginot militarization -- is exactly what will drive people to try downloading movies to their home theaters. They are creating greater incentives for the technologies they fear the most. If Hollywood wants to keep “butts in seats” (as the saying goes), their “only hope” is to make the experience of being in those seats better.

I loved going to movie theaters because the crowd experience can’t be matched by any home theater. What would my first showing of Star Wars have been like without the lines, the gasps, and the applause? How can you match the experience of watching the scenes between Daniel Day-Lewis and Emily Watson in The Boxer without a full theater of people holding their breath to see what will happen? It’s not the same, and I’d miss not going to the theaters at all; but the experience I had last weekend, as with many of late, just isn’t worth it.

The Deceivers

I’ve been reading a great book about World War II military intelligence -- one of those nonfiction books that makes you think no fiction writer will ever be up to the task. I was enjoying it as “pure” history (is there any such thing?), but today realized that it is incredibly useful for thinking about recent news regarding Ahmad Chalabi and Iranian intelligence, and the search for weapons of mass destruction (WMD) in Iraq generally.

The book is The Deceivers: Allied Military Deception in the Second World War, by Thaddeus Holt (just published). The author, a former Deputy Under Secretary of the Army, describes with precision and wit how first the British and then the American military learned to deceive Germany and Japan regarding the Allied force strength and intentions. It’s the sort of book I would send to a Hollywood producer buddy if only Hollywood had any shot at not screwing it up (*ahem*).

Holt describes how the British “A” Force, the group charged with deception, undertook to cause German forces to take actions favorable to the British:

The object of a deception is not to induce the enemy commander to think something, but to induce him to do something: To act as you want him to act ... Your target is the mind of the enemy commander. You must judge what estimate of the situation given to him by his intelligence services will induce him to act as you wish. Your customers are the enemy intelligence services. You need to know how they operate, and what information given to them will induce them to give their commander the estimate of the situation that will cause him to act as you want him to act.

(p. 50.) The early learning process, in 1940-41, showed the British deceivers how to construct a “story” that would produce the desired effect:

[T]he most effective deception is one that confirms what the enemy already wants to believe; ... [A deception] “story” can be based on an operation that had been considered and rejected[.]

(p. 51.) I was particularly struck when reading the chapter on “The Customers” -- that is, the people to whom deceptive stories were passed, in order to induce a desired action:

Intelligence people in all wars tend by nature to inflate order of battle figures [to play it safe]; savvy commanders know this and make allowances for it.

And:

“Deception can never be effective either in love or in war,” Sir Michael Howard has well said, “unless there is a certain willingness to be deceived.”

(Both quotes from p. 101.)

How does all this apply to Iraq, WMD, Chalabi, and Iran? Well, we know that the Bush Administration has cited WMD as the key reason to go to war in Iraq, and that to date no such weapons have been found in the country. Suppose for a moment -- and I think this is a reasonable supposition, supported by Bob Woodward’s recent Plan of Attack and other sources -- that the Bush Administration really believed WMD existed in Iraq. Suppose also -- again, I think this is more than reasonable at this point -- that their belief was completely mistaken. The question that follows for me is, how did they make such a mistake?

Assume that no one in the US willfully made up the WMD story themselves in order to accomplish other goals (a complete contrivance is a remote possibility, but I suspect by now one of the originators would have leaked). Did the intelligence community provide the Administration with enough supporting material to make the case plausible, both to themselves and others? (Certainly seems that way.) Was it really just the Administration pushing the intelligence community for the answer they wanted -- did they effectively lie to themselves by forcing bad interpretations of innocuous data? Or did the inclination in the Administration towards action against Hussein meet with a deliberate attempt to deceive the US into action?

Holt’s book, of course, gives me no way to say one way or another -- but what it does show, I believe, is that all the conditions necessary for a deception existed:

  • There was a “story” -- that Hussein had WMD;
  • The furtherance of the story accomplished a clear object, the removal of Hussein from power;
  • The story was based on real plans that Hussein seems to have abandoned;
  • The story was bolstered by information given or suggested to the US intelligence agencies (Holt points out that deception is most useful when military forces are not in direct engagement but instead are planning for action);
  • The story matched what the Bush Administration already wanted to believe about Iraq and Hussein;
  • The story was built up over a long period of time; and
  • The story was sufficient to prompt the US to take action.

If this was a planned deception -- and again, Holt makes it clear that much smaller-scale deceptions required tremendous planning efforts -- I wonder who planned it. Chalabi and his organization? That seems like it should not have succeeded since their interests were so clear and would have been so clear to everyone involved; plus, they seem unlikely to have been able to provide any logistical or physical support for the claims of defectors. Iran? I would have to say Iran is the primary suspect if a planned deception actually occurred: their interest in removing Hussein is clear; today’s Times article on the topic calls the Iranian spy service “one of the most sophisticated in the Middle East”; and they clearly had contact with Chalabi and could have fed him notional evidence to pass to the US. Others might suggest Israel, which would seem to have the sophistication but not, I suspect, any better access to Iraq than the US itself. I’d doubt even a very strong Israeli desire for Hussein’s removal could have produced this result by these means.

A few things don’t quite add up, here, suggesting that I’m taking my enjoyment of the book too far. If Iran was running a deception, and the US was reading Iranian intelligence traffic (see the NYT article), why didn’t we catch on earlier -- were they that careful? Why was Chalabi deliberately blown, and why did he tell the Iranians what he is accused of telling them? And finally -- why is this news coming out at all? Does the Bush Administration really hope the American public will forgive them for their mistaken war because they were lied to about WMD by Chalabi? That seems impossibly naive -- Mayberry Machiavellianism indeed!

In any case, the one thing more and more apparent to me, as I read further in Holt’s book, is that the Bush Administration decision-makers do not fall into the category of “savvy commanders” who make allowances for inflated intelligence estimates. It seems instead to have been the opposite -- that the intelligence estimates were not nearly enough to support the war effort, and they went ahead regardless. If they were systematically deceived, how much the deceivers must have celebrated at the enormity of their success, and the paltry effort needed to produce the action they desired.

Holt, by the way, is speaking this Friday in New York at City University of New York. I’d love to hear a report of what he says -- it would be interesting to see if he addresses this topic.

[A long first post! The next will be shorter and more amusing.]

-Marc