Today I found out that there are simpler things than configuring an Apache virtual host for Bugzilla to live in. With a bit of URL rewriting magic, the basics are moderately difficult to solve. What drove me crazy, though, was that the CGI scripts stubbornly generated links to
/bugzilla3/skin/[...], instead of just
When I recently told someone that I often use awk when I write shell scripts, the comment, together with a raised eyebrow, was "So, anyone's still using this?!" I felt a bit old-fashioned, and when today I caught myself writing a one-liner in awk I decided to give Python a chance (yes, I know, there is also Perl, but I never give Perl another chance :-/).
The problem I wanted to solve was splitting a comma-separated list into a whitespace separated list of words that I could use for iteration in the shell. The awk one-liner I came up with after 1 minute was this:
You can grab the tar ball from the project page.
The main change is that version 0.2 of python-aprmd5 introduces an md5 type for regular MD5 hashing, instead of directly exposing functions in libaprutil. The hashlib module, which is part of the Python Standard Library, uses exactly the same approach (in fact I have copied the idiom from there).
Discovered today: http://triviaware.com/macprocess/all. Very nice if you have a question about one of those mysterious processes that run on your Mac. Such as: Why is "AirPort Base Station Agent.app" running on my desktop machine, even though that machine is not equipped with Wi-Fi/AirPort and, in fact, there is no AirPort base station in the entire household?
I have been fooling around a bit with Eclipse, Subclipse and the Fink package
svn-javahl, trying to get Subclipse to work together with
svn-javahl. Thanks to a fix by the package maintainer, Daniel Johnson, there is now a really easy solution available.
Note 1: You need
svn-javahl-1.6.5-2 or later for the solutions in this article to work. If you use an earlier version of the package, Eclipse is likely to crash at some point. Read the article for more details.
My LAN consists of a Linux server that, among other things, exports a few Samba shares, and a number of Mac OS X and Windows clients that mount those shares when needed. On Windows it is possible to tell the system that it should automatically re-mount a share on login, but on Mac OS X there is no such option. Because of this, up until now I had to manually mount my shares each time I logged in on any of my Mac OS X clients. Not anymore!