“The problem with Janeway is I cannot suspend my disbelief that she wasn’t thrown out an airlock twice an episode.”

— leyonhjelm@freespeechextremist.com

Not Smart


The teaser trailer for the new Get Smart movie should have spent a lot less time on Max, and a lot more time on 99 (Anne Hathaway). Or 23 (The Rock). Or the Chief (Alan Arkin). Or even the empty phone booth (uncredited), because the actor they cast for Max just doesn’t have it.

Making it bigger


The 250GB drive for my MacBook arrived, and with two fresh backups in hand (plus a third on the old drive), I quickly installed it. It was completely painless to migrate my Mac environment over. You can do it half a dozen different way for free; I chose SuperDuper.

But I also have a Vista partition on this machine, and Vista (if you bought the right version) includes a Complete PC Restore tool that’s designed specifically for moving a complete, working installation onto a new disk… as long as you don’t mind the risk of spending half an hour on the phone reading authorization codes to someone in India to reactivate it.

The old disk had 124GB for Mac, 25GB for Vista. The new disk had 185GB for Mac, and 47GB for Vista. After finishing the Vista restore, both partitions booted correctly, so I went ahead and activated. Then I checked the free space, and found that Vista was still only using 25GB.

No problem, thought I. It’s trivial to extend an NTFS partition into the remaining free space, so I opened up the relevant tool, and found the original partition sizes, with an empty 80GB partition at the end of the disk.

fsck and chkdsk both insisted that the volumes were valid from their respective OS’s, but on the Mac side, it thought the Vista partition had a lot less files in it than it should have. Not good. Very, very not good.

Not being an idiot, I started over, rebuilding the disk from scratch again. Since it’s a Mac, I just booted the old drive from an external FireWire enclosure and ran SuperDuper again. This time, though, I didn’t bother using the Vista restore tool; I just dd’d the old partition over and ran the repair tools from the install CD. I still need to do an upgrade install to clean up the boot files, resize the filesystem to fill the new partition, and then reactivate again, but it should work this time.

There’s actually a checkbox in the Vista Restore process that theoretically allows you to restore onto an existing partition without trashing your new disk, but it was grayed out, and clumsily worded. Net result: one of the features you pay extra for in certain Vista versions is not only useless, but dangerous.

In a rare example of good sense, though, you can get at all of the data in the backup; it’s a disk image in VHD format.

"It's here, it's here, the movie of the year!"


No, not that one. Or that one. Or, well, anything you were planning to see this summer.

I mean this one, with an HD trailer that’s so far away from the original teaser that they must have spent weeks assembling it from spare footage.

"This... is wrong tool. Never use this."


Some dolt is spamming Japanese-study forums with a link to their online test site, emanabu (no link from me!). The sample tests are riddled with errors, and many of the sentences are just painful. I particularly liked the question where they thought “amari samuku arimasen” meant the same thing as “totemo atsui desu”.

DIV-hunting


Restoring Chizumatic‘s sidebar to its rightful place was a task worth pursuing, but since the Minx templates generate tag soup, standard validation tools produced too many errors to help much (W3C’s produced ~700 errors, compared to this page’s 16, 14 of which are parser errors in Amazon search URLs).

So I tried a different approach:

#!/usr/bin/perl
while (<STDIN>) {
    chomp;
    next unless /<\/?div/i;
    if (@x = /<div/gi) {
        print "[$l] $. ",@x+0," $_\n";
        $l += @x;
    }
    if (@x = /<\/div/gi) {
        print "[$l] $. ",@x+0," $_\n";
        $l -= @x;
    }
}
print "[$l]\n";

Skimming through the output, I saw that the inline comments started at level 6, until I reached comment 8 in the “Shingu 20” entry, which started at level 7. Sure enough, what should have been a (pardon my french) <tt></div></p></div></tt> in the previous comment was just a <tt></p></div></tt>.

[Update: fixing one bad Amazon URL removed 14 of the 16 validation errors on this page, and correcting a Movable Type auto-formatting error got rid of the other two. See, validation is easy! :-)]

It's all about the fan-service...


This series appears to be a pure fan-service vehicle, with only the flimsiest excuse for a plot, and likely no depth to the characters at all… :-)

[and I’m too lazy to plug in the scanner right now, so you get a cropped snap from a digicam]

more...

Claws Mail doesn't appear to suck


My friends keep whining about certain behaviors in Apple’s Mail.app. Specifically, the inept way it wraps URLs in allegedly plaintext email, which simply don’t work in most other mailers. I can’t really defend its behavior, because I think that Mail.app’s concept of “plain text” is pure shit and violently anti-WYSIWYG, obviously only tested against itself. [note: don’t bother complaining to Apple, the bug will be closed with “working as intended”]

Claws Mail seems to be much more sensible, and at this point I’d cheerfully send some cash to support a native port to Mac OS X. The X11 port works, but it’s a bit clumsy to use (especially for Japanese; Apple’s X11 server doesn’t support their own Kotoeri input method, so you have to use an external editor), and like virtually all Open Source applications, it’s in desperate need of user interface design. I need to poke around some more and see how it handles some of the features I rely on in Mail.app (particularly SpamSieve), but the initial experience is pretty good, and it sends honest-to-gosh plain text.

There’s a native Windows port available, but it hasn’t been updated in quite a while (2.4, current is 2.10).

[Update: Tip for the day: don’t open an IMAP folder containing 17,167 messages. Claws locks up until it finishes downloading and processing all of their headers, and then (at least on Mac OS X) the X server locks up for a few minutes when you try to scroll through the massive message list too quickly.

Mind you, until today I didn’t know that I had an IMAP folder with 17,167 messages in it (it was a trash folder full of spam, on a server I’d only been reading via POP), so I really can’t blame Claws Mail for being a bit overwhelmed. And to its credit, it recovered perfectly when the X server came back, and the memory footprint was still nice and lean.

It doesn’t look like the Mac port includes any plugins right now, so I need to keep something else around to handle spam. The account I most want to get mail from is of course the one with the most spam, so I need to continue processing it through SpamSieve for now. Most likely, what I’ll do is leave Mail.app running with SpamSieve on one of my machines, but turn off all of the other filtering rules and port those to Claws.]

Perhaps I should have stopped here...


Recently I picked up a new battery on Amazon for my ancient Sony VAIO XG-19. I used to use it to VPN into Microsoft to work from home, but that meant running XP Pro, which is not terribly pleasant with 256MB of RAM. So, I could either use the original restore CDs to put Windows 98 back on, or I could free it from the chains of Microsoft (and complete hardware compatibility, but who needs all those ports and drivers anyway…).

First up was OpenBSD 4.1, which I’m quite fond of for firewalls and hostile-universe-facing servers. I didn’t expect much, and certainly the manual package retrieval and dependency tracking is a pain in the ass when configuring it as a desktop, but it worked, and I only had to tweak one line in the supplied xorg.conf to get it running. VLC wasn’t terribly happy about my limited video memory and pathetic CPU, but I wasn’t really expecting a multimedia powerhouse. There’s only so much you can do with a 650MHz Pentium III.

Fedora 7 blew chunks.

Fedora7 installing on a Sony VAIO XG19

It actually made it all the way through if I forced it to install in text mode, but the same DVD I installed the OS from couldn’t be mounted after the install finished (to add Emacs, of all things, which was inexplicably missing from the selected packages), and the first reboot after the install locked up good and hard after loading the Sony JogDial driver.

I have no desire to ever look at Ubuntu again, so I suppose I’ll give the latest Debian a try before going back to a BSD variant.

[Update: Debian 4.0 installed just fine, and after tracking down the magic to get the synaptics driver to stop accepting taps as double-clicks (blech), setting the right options for the neomagic video driver, and locating the libdvdcss2 package, it’s running fairly well. DVDs actually look pretty good, and the drive is old enough not to require a region-unlocking firmware update. The downside: modern Linux distributions install more crapware than Sony does. Oh, and I still needed to install Emacs myself…]

“Need a clue, take a clue,
 got a clue, leave a clue”