Archive for November, 2007

flcl

flcl

this may just be the greatest anime of all time. the plot (if you can call it that) is based around a battle between a guitar-wielding alien hot chick and a faceless evil corporation for the fate of the earth. caught in the middle is a 13-year-old boy, who keeps having superweapons emerge spontaneously from his forehead, just in time to swing the battle from one side to another.

it’s about puberty, and japan’s obsession with american baseball and rock & roll. i think. it definitely kicks ass, regardless.

And so it begins…

[Ars Technica](http://arstechnica.com/) is running a really exciting bit of news: in short, [Verizon is planning to open access to their CDMA network](http://arstechnica.com/news.ars/post/20071127-verizon-opens-up-will-support-any-device-any-app-on-its-network.html) to any and all client devices. If this pans out, I will happily run down to the closest Verizon store and happily sign my name to a contract for access to said network, content in the knowledge that someone finally gets it.

This is the best possible reaction one of the major carriers could have to the dual threat of the iPhone and Google’s recent Android platform announcement. The iPhone is bound to AT&T’s network, while only T-Mobile and Sprint have announced support for Android, which leaves Verizon in the awkward position of owning a US-only CDMA network which doesn’t support the next generation of devices.

Rather than clamp down even more tightly on access to said network, though, they seem to have realized that the only way to save themselves is to move towards open access, and let the market innovate for them.

Imagine: Linux-based smartphones running a full, open development stack with unfettered access to a pervasive, high-speed wireless network. Access won’t be free (as in beer), but it will be open, which is far more important, especially since an open hardware market will inevitably mean support for WiFi and other free access methods in many devices.

Three turkeys (and two hams)

DSC_0033.jpg

We smoked two small heritage birds, and roasted another free-range one with our “traditional” Guinness-and-butter basting method. (The hams in question are Isaac and myself, of course.)

Country mouse

DSC_0028.jpg

Monkeypatching sometimes considered harmful

The very nice-seeming Gerry has posted an interesting question over on his blog. Basically, it boils down to whether it’s “okay” to add a `#[]` method to the `NilClass` class in the Ruby core, to avoid having to check for the return value of lookups in nested hashes.

His solution boils down to basically this:

class NilClass; def []; nil; end; end

This lets you arbitrarily nest failing lookups in hashes or arrays without a runtime error. It also changes the informal protocol of a core class (`NilClass`, in this case) and makes it “duck-type” much more like a collection.

Generally, I’m in favor of hacking up the core runtime, but in this case I think that monkeypatching `NilClass` to save yourself a few keystrokes is gonna hurt a lot more in the long run than just doing the extra check.

It actually kind of reminds me of a project I worked on once where the “lead engineer” was too lazy to check for null values in his C++ XML parsing code when doing deep tree traversals.

His solution was to trap `SIGSEGV`, then litter invocations of this godawful macro that called `setjmp` before doing any “risky” parsing calls. If the code segfaulted due to null references, he just `longjmp`’ed back to the point where the macro had been invoked, and hoped that any stale references in the heap got magically cleaned up on their own.

Personally, I tend to jump through the extra hoops, and write something like the following:

user = params[:user]
@name = user[:name] unless user.nil?

…which is longer, but makes the intent clear. I’m a much bigger fan of using explicit calls to `#nil?` instead of relying on the overloading of `nil` to mean boolean false.

Civilization

I’m currently sitting in the airport, sipping a Laurelwood Free Range Red, using the free WiFi to talk to a few friends before catching my flight east.

*Sigh.* So civilized. I can tell I’m going to miss Portland on this trip, and I haven’t even left yet.

*Addendum: oh yeah, and the beer was cheap, too.*

NKS

nks

I may be coming down with a cold the day before my vacation, but I have the coolest tech book ever to help make up for it.

Election night

DSC_0057.jpg

It wasn’t a sweep, but we won on the issue that really, really mattered. Measure 49 passed, and 50 was close enough to give me hope that a better-structured alternative will have a lot of popular support.

Good-byes

My friends have going-away parties refined to a science. Every six months or so, one of us gets the travel bug, makes some ambitious plan to start over elsewhere, and leaves town with a great showing of finality and determination. In about 95% of cases, that person comes back to Portland within three months, usually with a raft of complaints about how you just couldn’t find a decent bar, cup of coffee, or pinball machine anywhere else.

The last “leaving for good!” junket I had been a part of had lasted more than a week, and actually resulted in one of the friends who wasn’t even leaving losing his job after sleeping through one two many early-morning shifts. I had no interest in that kind of send-off, especially given that I didn’t actually have any final destination in mind.

The biggest challenge in freeing myself from ties to Stumptown had actually been avoiding my very-recently-ex-girlfriend Amy’s friends, and the constant evil eye directed my way when social orbits brought me into the same room as any of them. Amy herself had been pretty understanding, but the idea that I would choose some childish wanderlust over a girlfriend of over a year just rankled with a handful of formerly-mutual friends.

Personally, I was convinced that I was on a slow but steady march towards being one of those archetypal long-time Portland residents you see all over town. I already had the perpetual tired, pale look down, and a good start on the requisite supply of enigmatic tattoos and indie T-shirts. I figured it was only a matter of time before I bought a scooter and joined the intra-mural adult dodgeball league, thereby cementing my fate as a terminal misfit, unable to get by survive anywhere else on the planet.

When I told Amy about my decision to leave town, I explained that the trip was about becoming “well-rounded,” whatever that meant. She chewed me out, stormed out, and then phoned me a couple of days later to apologize. We went out for a much nicer dinner than we had in a long time the next night, had a great last night in the same bed, and then said our goodbyes.

Am I a jerk? Probably. Do I still think it was the right decision? Absolutely.

Departures

Leaving home is hard. So is staying put.