onperl

SSHFS on Mac

If you do much work with Perl and web applications then you likely spend a lot of time on Linux. If you're serious about Linux then you probably spend a lot of time typing obscure and arcane command snippets into a terminal window. If you don't love the command line, you soon learn to at least live with it.

Get Fired

I once swore I would never program in client-side JavaScript again. This was about the time that IE was first starting to take over the world, and Microsoft were promoting rubbish like JScript. Actually I swore a lot back then, but now we have a new age of JavaScript enlightenment, with Ajax, Web 2.0 and FireFox brightening the JavaScript world. Bless you, FireFox.

Of course, I never really stopped writing client-side JavaScript. It's unavoidable. Lately I'm working on a framework to query imported XML objects, in a xpath-like way. Which, it turns out is complicated enough to require some debugging effort. But how much does it suck to have to alert()nine-hundred times? I can tell you it sucks a lot. Haven't things improved any more than that in all these years?

Well, things have improved. A lot. I just discovered a little miracle called FireBug and the only swearing I've done since installing it is of the "Holy $!@ this is good!" variety. More evidence that the future of client-side JavaScript is looking very bright indeed.

Sucking Even Less

A while ago I wrote about TextMate and how it compared to BBEdit. I need to update that comparison now, because BareBones has just released a better BBEdit: version 8.5. Okay, it's still BBEdit, they haven't gone and done anything radical. What have done however is yet another incremental improvement, further proof that BareBones is listening to their users.

Among the least sucking new features is code-folding (at last!), a code clippings menu, better svn support and yes -- finally -- an application icon that doesn't look like it came from 1999. I'd like to see a much cleaner interface overall, and maybe version 9.0 will include such a makeover, but for the time being a rock solid application just got a little bit more solid.

Of Perl and Platypuses

Apple's OS X is an amalgamation of several technologies, including the Unix-based Darwin OS. So it isn't surprising that a platypus named Hexley was chosen as the mascot. I recently happened across another platypus on my Mac, this time with a heart of perl.

Sveinbjorn Thordarson has created an open source tool called Platypus which allows scripting languages, such as Perl, to run as native desktop applications. It's very slick, and works like a treat. If you've ever wanted to use perl in desktop applications on a Mac, you should be running to give this tool a try.

TextMate: Is it Time to Switch?

If, like me, you write code on a Mac, you have a history of working with BBEdit. I'm somehow embarrassed to admit my personal history of working with BBEdit goes back almost a decade. Hey, what can I say? I like things that are simple and work. I've tried other editors, but none hit the same sweet-spot of plain old get-it-done-edness. Then I heard about TextMate.