Big Ship, Many GeeksArticle and photos by Tim Bray
The ship is big and white. Really big. It has over a thousand passengers, about half that many staff (and we learn on the bridge tour that it takes only five people to drive), 18 bars, three restaurants, two swimming pools, a casino, a spa, lots of shops -- you get the picture.
Larry Wall and Tom Christiansen on the cruise. (Click on photos for larger views)
- Connectivity's poor. You can get Internet access of a sort for $3.95/e-mail or 60 cents a minute. Telephone calls are $7.95/minute (that's not a misprint). Cellphones don't work. Pay phones and Internet cafes in the Alaskan ports of call are mobbed by geeks and boat staffers alike.
- The latest Perl (5.6) has real file-handle variables, just like every other programming language in the world. You can open a file and get a scalar variable (with a $ on it) and pass it to a subroutine:
open($fh, "<foo"); $l = readline($fh); # like <> &mySub($fh);
- You could, if you wanted, spend your entire time on the cruise ship eating. Weirdly enough, something about being in a boat makes you (well, me, anyhow) hungry all the time.
- Perl is making a heroic effort to Do The Right Thing with Unicode, while at the same time allowing people who want to use their primitive native encodings (examples include 11-bit ones-complement Malayalam and US-ASCII) to ignore it. So far, it seems not only to work but have good performance.
- They say that cruising is a pastime of the elderly. This is not entirely fair; while many gray hairs are to be seen, there are a substantial number of young people who are not Perl geeks.
- Apache 2.0 is introducing new and non-backwards-compatible internal APIs for C-language modules. Much gnashing of teeth is expected.
- This ship (the MS Volendam, and MS doesn't stand for anything in Redmond) is part of the Holland America Line, so the officers are (mostly) Dutch, while the bulk of the staff are Filipino and Indonesian. There seem to be some rules in place that divide the jobs between those done by Filipinos and those done by Indonesians. We don't know what they are, but the staff are awfully nice.
- Perl 5.6, which seems like generally a very good thing, currently doesn't work in a mod_perl (i.e., Apache) context. This is a big problem for some people.
- Alaska's snow-capped mountains shout ecstatic white against the bright-blue sky; no cruise-ship paint will ever approach it. We're told it rains a lot here, but as far as we can tell, this is a pack of lies put out by Alaskans trying to deter cruiser-trash; we see nothing but sunshine and balmy warmth.
- On the subject of phenomena that defy conventional wisdom, it should be noted that there is apparently coherent logic, and even real utility, behind Perl's dreaded globs and typeglobs. You want two names for the same datum? No problem! This doesn't mean I'm going anywhere near them.
- Whales, bears, and eagles appear obligingly to entertain the geeks; Randal Schwartz's Web-publishing talk is greatly disrupted by a gleaming black whale (an orca I thought, but others say a bowhead), breaching and caracoling gaily down the side of the ship.
- The XML dump of the Open Directory (see http://dmoz.org/rdf.html), 580 meg in size (this week), contains about 275,000 topics whose names add up to about 19 megabytes. With Perl 5.6, on a 64-meg Win98 laptop, you can not only load these into an array and sort it, you can even use them to key a hash (the values are offsets, of course) without totally wiping out Windows. Not half bad at all.
- Irritatingly, XML::Parser, which brings James Clark's formidable and speedy expat into Perl's ambit, runs slow. Too slow, in fact, to be useful on things like the Open Directory data. For things of that scale, you need to use the good old regexp engine. This should be fixed.
- You sit at the same table for dinner each evening in the main restaurant. We were fortunate enough to end up sharing with some amusing linguistics pedants (barbs such as "mere folk etymology!" are hurled freely), so that was fine. I guess if you ended up with weenies, you could eat at one of the many other eateries.
- If you think it's nice that brute-force hashing of Open Directory topic names works, but are worried about this scaling as the data keeps growing, there's a trick where you can (in Perl) retrieve the contents of any topic in under a second, with an index that requires only 4 overhead bytes per topic. The implementation is left as an exercise for those readers not fortunate enough to have been along on the cruise.
- This must be important or real or something. There's a writer from Wired here, a whiff of saturnine/ursine SanFran style among the geeks and the cruisers.
White snow against blue sky in Glacier Bay.
Larry in one of his aggressively-styled tuxedos.
Pages: 1, 2