Hurricane Rita

Hurricane Rita hit us. It’s now raining very hard, although the wind isn’t too strong. We’re not getting a direct hit – this is one of the outer bands.

My Netgear wireless router is a piece of crap

I finally got disgusted with my Netgear WGR614v3 and ordered a Linksys WRT54G, which I should have bought in the first place. I was reluctant to get the Linksys at first because of their reputation, even though every Linksys product I bought was rock solid.

First I got a D-Link DI-624, which had overheating problems. It would randomly freeze up and would need to be turned off for several minutes before it would work again. I replaced it with the Netgear & tolerated its annoyances. The major problem is transferring large files would sometimes cause it to freeze up. It also has several bugs, most notably assigning fixed IP addresses for a machine won’t work. It also lacks some basic features, such as the ability to map an external port to a different internal port number. It’s also seriously lacking in firewall capabilities.

Here we go again!

Tropical Storm Rita is heading towards us, with the worst expected to hit tomorrow. We’ve already been getting some rain today.

Mail Meltdown

I’m still recovering from my mail meltdown. I’ve migrated all of Mail.app’s local mail to a local IMAP server, with a Maildir in my home directory. I was using Courier-imap but I had lots of trouble with it. This morning I installed Dovecot, which works a lot better. I first tried to install bincimap, which is available from DarwinPorts, but it wouldn’t build with either GCC 3.3 or 4.0.

I tried several email apps, including Entourage, PowerMail, and Mulberry and found that they all suck worse than Mail.app. Thunderbird isn’t too bad, but I’d prefer better integration with OS X’s addressbook.

Mail trouble

I’ve had a lot of trouble with Tiger’s Mail.app freezing for the last few days. I’m thinking of switching to Thunderbird, and as a first step in that direction I’m now migrating all of the email stored in local mailboxes to courier-imap running on my Mac.

What I learned

I’ve been on a coding streak for the last day, which is why I haven’t written anything here. I discovered a few interesting things.

  1. The easiest way to open the default browser and go to a URL is with /usr/bin/open. Rather than using the Launch Services API or InternetConfig, simply do system("/usr/bin/open some_url"). It will do the right thing.
  2. Safari is a huge pain. I was able to get something working in every browser EXCEPT Safari. Safari’s very aggressive caching causes the wrong page to display, even when I add cache control headers. Safari also insists on sending POST requests for some javascript navigation buttons rather than GET requests which every other browser sends.
  3. MFC is ugly (I already knew this). Porting MFC code to the Mac is even uglier.

Blackout in Los Angeles

This site, as well as my other sites and everything else at DreamHost, was down for a few hours due to the blackout in Los Angeles. DreamHost’s backup power also failed.

Categories Web