Building notes, projects, and occasional rants


last update:

Apparently Trevor Squires found my Search in Project With ack TextMate command at the time it was 404, so he wrote is own. I haven't tried it yet, but from his description its a lot better than mine.

Will 10.5.3 win me over?

For the first time since 10.1.x, I didn't upgrade to the latest Mac OS X with the .1 release. Usually I wait for a .1 and "nuke and pave" my Mac, but this time, after almost 8 months after the 10.5.0 release, I'm still running 10.4, and reasonably happy with it. Sure, there is software out there that I would like to try but requires 10.5, only its nothing that I totally depend on, so 10.

git usage vs operating system

A small meaningless statistic (but interesting nonetheless) about the split of operating systems and git usage on github. I admit that the second place was a surprise to me. In a good way.

My keyboard shortcuts

Inside the "Keyboard & Mouse" preference pane of Mac OS X, you'll find a tab named "Keyboard Shortcuts". This is one of my first stops after any nuke and pave setup of my Macs. I don't have many shortcuts: The Take Rich Note and Append Rich Note integrate all applications with DevonThink. I select what I want to keep, and hit the proper sequence to save it in my default database.

Facebook gone XMPP?

Came across this just now: Using Facebook Chat via Jabber Thats a lot of new victim^H^H^H^H^H^Husers to the XMPP network. This, and the fact that my Google Alerts on XMPP is now showing about 10 hits per day (from less than 10 per week just 18 months ago), and I would say that XMPP is turning out to be one hot technology at the moment. Update: given that the news came up via the official Facebook developers site, some people have IM'ed me asking why the question mark in the subject.

Yada, yada, yada

From the quickies department, the Stubby exception generators (search for stubby) made it to Perl 5.


I was checking something in the Wordpress site: [email protected]:melo $ lwp-request -U -s -S -e -m HEAD HEAD User-Agent: lwp-request/2.08 HEAD --> 301 Moved Permanently HEAD --> 200 OK Connection: close Date: Thu, 08 May 2008 10:48:28 GMT Server: nginx/0.6.29 Vary: Cookie Content-Type: text/html; charset=UTF-8 Client-Date: Thu, 08 May 2008 10:48:36 GMT Client-Peer: Client-Response-Num: 1 Client-Transfer-Encoding: chunked X-Hacker: If you're reading this, you should visit automattic.

Async DBI

A big part of my work is doing non-blocking servers using the AnyEvent Perl module (I used to prefer POE, but AnyEvent beats POE both in terms of performance and simplicity). One recurring problem is using DBI inside a non-blocking server. The modules that you can find on CPAN that deal with this problem use slave processes to run the DBI code, and then a lightweight protocol to send the requests back to the master process.