Building simplicidade.org: notes, projects, and ocasional rants

Notes

last update:

It's dead, Jim...

So after 6+ years of faithful service, my TiBook died just now, with a buzzing sound (not hard drive, somewhere in the upper right-hand corner of the logic board under the keyboard). I'll have to search around to see if this is something recoverable or not. I didn't have any important data on it, but he was the box that powered my third screen, as described previously. Must... Resist... Buy.

Catalyst Advent Calendar

It's back! The new and improved 2007 Catalyst Advent Calendar. (Un)Fortunately its not a swim-suit edition yet. The entry for today is about using the Open Flash Chart component, my favorite Flash-based chart component. It also uses the recent OFC::Chart module. I just wish that the Calendar had a title attribute on each daily link. Finding the correct article can be painful without that.

http://host/file.txt#line=10

URI Fragment Identifiers for the text/plain Media Type: hope this gets approved. It would make source-code linking easy.

Favorite Leopard feature

If I had to choose one, it would be the support for message: URIs in Mail.app. It allows you to: send a link to a message to a friend: if he also got that message but "lost" it somehow, he can just click and let Mail.app find it;you can store URIs to important messages on any other Mac application, and in a Cocoa app, just right-click to jump to it;it allows interesting integration between web applications and your local mail client: it should be pretty simple for someone to write a "Open in Mail.

Git vs Mercurial

I've been talking about Git in the last posts, and Bär asked if I tried Mercurial. I did try Mercurial, but very superficially. I used it with a project shared with Rui, who uses Mercurial and he seems to be very happy with it. Whatever you choose, I would stick with either Mercurial or Git. CVS is dead, and Subversion is not good enough. And right now, all non-personal projects I work on use Subversion, so I have some experience with it.

Git vs Mercurial

I've been talking about Git in the last posts, and Bär asked if I tried Mercurial. I did try Mercurial, but very superficially. I used it with a project shared with Rui, who uses Mercurial and he seems to be very happy with it. Whatever you choose, I would stick with either Mercurial or Git. CVS is dead, and Subversion is not good enough. And right now, all non-personal projects I work on use Subversion, so I have some experience with it.

hunk-based commit with git-gui

I've being using git as a front-end to Subversion using git-svn (more on this later). A cool feature that you just get for free is hunk-based commit. For those who haven't using Darcs, hunk-based commit allows you to select which parts of the diff you want to include. It allows for a much cleaner commit history. With git, I've started using git-gui to create my commits. It's really useful. Inside, you can select a modified file, and then right-click the hunk you want to stage.

Importing HTML table into numbers?

I'm researching video cameras to buy one for Christmas. One of the requirements is support for iLife, and in particular, iMovie. So I googled to see if I could find a compatibility list, and sure enough, we have technical article 306171. The next step was filtering the table for HDD-based cameras. I copied the HTML table, fire up Numbers, and pasted it, and... WTF?? A single column of data? I fired up Excel and sure enough, pasting a HTML table produces a decent Excel worksheet, one that I can then AutoFilter and work with.

Perl preforce-to-git conversion

Very cool job by Sam, the current status of the Perl preforce-to-git conversion. Preforce was indeed very advanced ten years ago.