Archive for March, 2003

Programmer’s Block

Saturday, March 29th, 2003

Russell Beattie posted the other day about his tendency to procrastinate on programming projects. I think anyone who has worked on a serious, non-trivial application has to have struggled with this problem from time to time, and I am certainly no exception.

In fact, I’m personally going through a pretty dry period at the moment, in both my personal and work projects. I would liken it to writer’s block—it’s exactly the kind of thing songwriters talk about when they say “Every time I finish an album I’m afraid I’ll never be able to write a song again.” To me, “programmer’s block” is the best proof yet that software development is, contrary to popular perception, an emphatically creative discipline.

Part of my problem right now is that I’m in a bit of a quandry about how to proceed on my “personal” projects (PodWorks and my EXIF project). More broadly, though, I think I agree with Pascale Soleil, who commented on Russell’s post that “serious procrastination is actually a manifestation of depression” which often can be caused by “low self-esteem.”

In my case, it seems to be a self-perpetuating cycle. When I’m doing
well on a project, my self-esteem tends to increase as I marvel at my own
cleverness in solving problems. This glow continues after a release, as I
soak up positive href="http://www.versiontracker.com/dyn/moreinfo/macosx/17443">VersionTracker
feeback, href="http://www.oreillynet.com/cs/weblog/view/wlg/2484">mentions in the press, celebrity customers, and the like (none of this applies to my work projects, of course, but success there has different kinds of rewards).

After taking it easy and enjoying my accolades for a couple of weeks, however, I start to feel the need to get back to work. If getting back into the swing of things is easy, as it sometimes is, there is no problem. If, on the other hand, I have a hard time (say, because I can’t resolve how best to proceed), I start to get frustrated by my lack of progress. This frustration breeds low self-esteem, and ultimately, I think, leads to a sort of “mini-depression” (not the “I want to slash my wrists!” sort—just a kind of general melancholy). This depression makes it even harder for me to make any progress, which in turn breeds lower and lower self-esteem.

Just like the songwriters mentioned above, I always manage to break the cycle eventually. Invariably, I finally hit on the inspiration I need to overcome whatever quandry is slowing me down, and begin making progress (and experiencing the attendant surge in self-esteem) again. Still, as Russell says, “programmer’s block” can be a pretty stressful and terrifying thing to experience when you make your living as a developer!

Shock & Awe

Thursday, March 27th, 2003

So far I have haven’t commented on the war in Iraq—partly because a
recent programming project has been consuming most of my spare time and
partly because I have been struggling to formulate my own position on the
subject. I still plan to write more about anti-Americanism, as href="http://www.scifihifi.com/index.cgi/travel/AntiAmericanism.html">promised
(Why Do People Hate America? has become my
bedtime reading), and I will probably try to address my feelings about Iraq as part of that post.

One thing I do want to bring to everyone’s attention right away, however, is that John Lee Anderson has been doing some incredible reporting from Baghdad in the New Yorker. His piece in the March 31st issue—an account of the period from the beginning of the bombing to the onset of “shock and awe”—is beautifully written and very effective in conveying a sense of life during wartime. It’s journalism the way it used to be done. If, like me, you’re interested in the war but weary of cable news monotony, give this article a look!

O’Reilly Contest Is a Go

Thursday, March 20th, 2003

Looks like O’Reilly officially announced their Mac OS X Innovators Contest at some point while I was on vacation. As promised, my entry for PodWorks is already in…

Comments?

Thursday, March 20th, 2003

While I was in England, Matt Gemmell emailed me to suggest that I really needed to implement comments on my weblog. Now that I’m back in Denver and snowed in (the plows still haven’t reached my parents’ house), I decided that it might be a good opportunity to do just that. Many thanks to Matt for providing his handy revision (.tar.gz, 12Kb) of the Moveable Type comments CGI.

Now I guess we’ll really find out if anyone reads this stuff!

Blizzard!

Wednesday, March 19th, 2003

Well, it’s official—the healthy, ongoing snowstorm here in Colorado has metastasized into a full-blown blizzard (one of the largest in state history), and has brought the city of Denver to its knees. I got stuck trying to get my car out of the parking lot at work yesterday, and was forced, very reluctantly, to leave it behind. Thankfully a co-worker with a 4 wheel drive vehicle was able to give me a ride back to my apartment. Since I currently lack Internet access, cable TV, or even anything but the most basic food at home, though, I wasn’t really looking forward to spending several days snowed in there. So I decided to try taking a taxi out to my parents’ house. The driver was only able to take me as far as the entrance to my parents’ development, however, meaning that I had to slog three or four blocks through a truly surreal amount of snow to get to the house!

At this point, it is still snowing and the plows are nowhere in sight, so we could well be in for a long haul. Oh well—it’s nice having the time out of the office, and this is certainly a great opportunity to sit at home and watch the war situation develop. At least I know we won’t have to go out and shovel the driveway again for awhile—with six foot snowbanks on either side, there wouldn’t be anywhere to put the stuff!

Six foot snowbanks surround the Andersen house.

Wilco, the family dachshund, explores the newly foreign territory in his backyard.

Snow dominates the backyard.

Lost In The New Yorker

Sunday, March 16th, 2003

Crossing the Atlantic again. According to the plane’s little video map, I’m somewhere over Newfoundland, with just over 3 and a half hours to Denver. All I can say is God bless aisle seats and God bless The New Yorker! I’ve read the March 10 issue nearly cover to cover at this point, and so I thought to further pass the time, I might provide a summary of a few of the more interesting tidbits, along with my own commentary:

“Lost in the Jihad”

The article about John Walker Lindh is a bit distressing, unfortunately—especially to the extent that it details the government’s borderline coercion of a confession from Lindh, and then goes on to reveal that the FBI withheld some very important information from him in Pakistan (namely that his parents had retained counsel for him back in the US), ignored the advice of their own internal ethics watchdogs, and essentially engaged in a cover-up by hiding emails from a federal judge. To me, the government’s behaviour in this case has really smacked of In the Name of the Father—which I guess just shows what a grave threat terrorism (domestic or international) poses to civil liberties.

I certainly think that there is a case against Lindh—he did, as the article points out, voluntarily remain at the training camp in Afghanistan even after being offered a “martyr” missions attacking American and Israeli civilian targets. Though he declined them, the fact that he knew about them proves that he was aware of his association with terrorists. He was definitely caught aiding enemies of the United States (even if his more specific goal was to simply to fight the Northern Alliance and thereby futher the cause of Islamic fundamentalist government in Afghanistan), and I think that that constitutes treason. I just wish the US could have been a little more American and a little less Taliban in dealing with the “poor fellow” (as President Bush called him).

“Empire of the Obscene”

An amusing story about a porn king (Reuben Sturman) and his refusal to concede defeat to the US government. As a piece on the First Amendment and obscenity it doesn’t really cover any ground that hasn’t already been well-trodden by the likes of The People vs. Larry Flynt, but it works well as a portrait of an ideosyncratic businessman and his Quixotic battle with the Feds. After years of playing cat and mouse with the government, continually beating obscenity raps while constantly restructing his maze of holding companies to obscure their real ownership, Sturman was finally nailed by an ambitious young agent. The charge? Tax evasion, of course (I know—how cliché)!

Not to be defeated, however, he hatched several ridiculous schemes to avoid prison: to bribe a judge, have his young wife seduce a juror, and, finally, to escape from his minimum security prison in Boron, CA (the last of which was not so ridiculous, I suppose, because it actually worked). As an added bonus, the article provides some interesting background on the techniques involved in money laundering (did you know, for example, that you can hide your purchases from prying eyes by getting a Visa card issued by as Swiss bank?), which was interesting.

“Teen Spirit”

The latest in a series of “Russia is Dead” stories that have been appearing in American publications (the Atlantic had one awhile back). OK, I suppose this one isn’t quite that severe—the author’s declared intention is to see, in the wake of Tatu’s invasion of first the British and then the American pop charts, if there are signs of cultural life amid the oft lamented decay of Russian society.

His answer is pretty indeterminate. He spends about half the article talking about (and to) Tatu, and, while you cartainly won’t hear any complaining about that here, I’m not sure a couple of hypersexed, teen, lesbian, pop singers represent anything more than an interesting anomaly on the international pop music scene (honestly, I find it very difficult to take seriously all of the pundits who profess astonishment at Tatu’s popularity—the appeal is pretty obvious to me!). On the other hand, I suppose they do represent the “New Russia” pretty well: young, materialistic, utterly self-absorbed, and completely myopic. Or so I have read…

On a lighter note, only the product a good Marxist education could maintain a straight face, as Tatu’s manager does, while suggesting that his pop group is “the result of historical processes.” The guy’s obviously smart, though, and you can’t argue with success—can it be long before the works of Hegel replace the copies of Billboard on the desks of American record execs?

“Eyes on the Prize”

Not a whole lot to say here—the article is mainly a comparison of the various proposed designs for the World Trade Center site, as well as a discussion of why Libeskind won. The only big revelation for me was that there are really three interests at play in the rebuilding process: the Lower Manhattan Development Corporation (which sponsored the competition), the Port Authority, and Larry Silverstein (the owner of the WTC lease). This means that, as ballyhooed as the competition was, it may well have been meaningless, since it is only really officially recognized by the LMDC.

Still, it looks like a major reason Libeskind was chose was the fact that his design was most likely to appeal to all of the interested parties, so maybe it will still get built without excessive alteration. Personally I wasn’t overly thrilled with any of the competition proposals, but I do think Libeskind has the best ideas about the memorial (though architecture critics seem to think it’s a bit too cute, I like his idea of a Stonehenge-like “wedge of light” that will be visible every September 11th).

“Connecting the Dots”

This article, which discusses the problem of intelligence failure, is probably one of the most informative pieces in the whole issue. It certainly changed my opinion about the government’s inability to anticipate the events of September 11th.

Essentially, it argues that it is easy, in the aftermath of a surprise attack, to construct a story showing why the authorities should have been ready. This is essentially what post-mortems like The Cell: Inside the 9/11 Plot, and Why the FBI and CIA Failed to Stop It have done. It turns out, however, that it is a lot more difficult is to construct the same convenient narrative going forwards. This is mainly due to a “signal to noise” problem—it is very difficult for intelligence agencies to separate one piece of good intelligence from the sea of bad intelligence they receive. Unfortunately the failure of September 11th had less to do with myopia or infighting between America’s intelligence agencies, as people have frequently suggested, than with limitations of the intelligence business itself.

A Day In the Country

Saturday, March 15th, 2003

I must say, my longer-than-planned stay in London has really started to give me the feeling of living here—right down to the sort of abject exhaustion and exasperation that rush hour on the Circle Line can give you. Like good Londoners, DeLynn and I decided that the only thing for it was a weekend away from the rat race, so we resolved to head down to Waterloo Station Saturday morning to take a train out to Salisbury.

Much of the impetus for this decision came from Bill Bryson’s excellent book Notes From A Small Island, in which he writes:

There is no doubt in my mind that Salisbury Cathedral is the
single most beautiful structure in England and the close around it the most beautiful space. Every stone, every wall, every shrub is just right. It is as if every person who has touched it for the last 700 years has only improved it.

This raving endorsement, combined with Salisbury’s proximity to two major National Trust sites (Stonehenge and Old Sarum) and the fact that the town is a mere hour and a half from London by train, made it pretty attractive for a casual daytrip.

And the trip was indeed worth it! The Cathedral is lovely, with with exactly the kind of quiet elegance and warmth I have always loved about the English countryside. Its Chapter House happens to contain the best preserved copy of the Magna Carta, which was very exciting to me (I love that sort of thing). Best of all, the weather was sunny (if a bit chilly) and we arrived at the Cathedral (after paying visits to Stonehenge and Old Sarum) just in time for the “magic hour.” After a whole trip spent bemoaning the flat, gray, late winter weather the sudden opportunity to blow through four rolls of film was welcome indeed!

The West Facade of Salisbury Cathedral

Transatlantic Near Death Experience

Tuesday, March 4th, 2003

As I write this, I am on a very crowded plane crossing the Atlantic. British Airways heavily overbooked my flight, and my friends and I checked in near the cutoff, so the check-in person had to scramble to find us seats. She was successful in averting the catastrophe of our being upgraded to business class, and all she had to do was split up our party’s seats! There isn’t an aisle seat among us, sadly, and I have the additional misfortune of being unable to stow my backpack beneath the seat in front of me (due to a very unfortunately placed metal box).

Unfortunately, the trip got off to a fairly glum start earlier when Josh was paged at the airport only to find out that his beloved (but elderly) cat had gone into a coma. On the spot, Josh made the only agonizing decision he could: to put her to sleep. Later, disaster was narrowly averted after I boarded the plane, only to realize that I had forgotten my camera bag and the bag containing my headphones and iPod. The airline personnel would not allow me to leave the boarding area to retrieve them, and instead went looking for them themselves. I just about had a heart attack when they came back with my iPod and headphones, but no camera! Fortunately, I really pushed the issue, and they checked again, only to find that some other airline employees had found it and were holding onto it at the gate.

To pass the time on the flight, I’ve done a little bit of work on a Perl-based EXIF parser I’ve been wanting to write for some time. So far it is successfully reading the initial header data, but I’m afraid I’m going to need additional information about the EXIF data format to get much further. How did people ever program without the Internet as a reference?

The lights are out, so reading the copy of the New Yorker I brought is out of the question. My only distraction is Harry Potter & The Chamber of Secrets, which the flight attendants are showing at the special request of some precocious children on the flight. To be honest, it’s a better movie than I had expected—I think what the Harry Potter movies really have going for them is not their stories (which seem to me fairly pedestrian), but rather the marvelous atmosphere they cultivate. The flying Ford Anglia was also a nice touch.

My PowerBook battery is getting low, so I’d better knock off and try to get some sleep. Only five hours to London…

PodWorks 2.0 Released

Saturday, March 1st, 2003

After nearly a week of torturous all-nighters, I am thrilled to say I finally have PodWorks 2.0 out the door. As the version number would suggest, this new version is the first major release of PodWorks since its debut, and it addresses what are probably the most frequently requested features.

  • Playlist support: This is an addition I’m particularly proud of, since it is not only a useful feature, but also evidence of PodWorks’s uniqueness as the only “standalone” iPod utility capable of reading directly from the iPod’s internal database. PodWorks can now display your iPod’s playlists as easily as it can display the main song list, and allows copying of entire playlists with a single drag!
  • Additional metadata: The display of song “metadata” is another area where PodWorks’s knowledge of the iPod database format comes in handy, since it facilitates the display of information not contained in ID3 tags. PodWorks 2, for example, introduces song table columns for “Date Added” and “Date Modified.” Like the “Play Count” column introduced in PodWorks 1.3, these columns display data only available through Apple’s proprietary iTunes/iPod database format. As such, you’re not likely to see them in other iPod song transfer utilities any time soon.

In addition to all of this, PodWorks 2 marks the debut of a stunning new application icon designed by the incomparable Dave Brasgala (of the IconFactory—you may remember him from such application icons as Transmit and Candybar). Dave’s a very busy man these days (who knew there so many patrons of the icon arts out there?), and I sincerely appreciate his willingness to take my work on. Now that PodWorks has a “real” icon (and not just something I slapped together using CanCombineIcons), I feel PodWorks has finally become the polished application I’ve always wanted it to be!