Five Pounds of Flax

Every culture has a burrito.

Rails 1.22, RubyGems 0.9.1 fix

Saturday, February 24, 2007posted by Michael Rothwell @ 10:03 PM

The problem: RubyGems seems to be broken after updating to 0.9.1.

$ sudo gem update
Updating installed gems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #

The fix: Remove the source cache.

$ sudo rm /usr/local/lib/ruby/gems/1.8/source_cache

Cory Doctorow at UNC, Duke this evening

Thursday, February 22, 2007posted by Michael Rothwell @ 7:44 PM

Today, I went to UNC to see Cory Doctorow speak on copyrights and DRM at 2pm, and then to Duke to see him speak on privacy. He gives a nice lecture. He also has a cookie-monster laptop sleeve.

IMAP-IDLE 1.07 pre 2

Monday, February 19, 2007posted by Michael Rothwell @ 6:45 PM

IMAP-IDLE 1.07 pre 2 is available here. This version builds on 1.07 pre 1, providing:

  • bug fixes (more stability)
  • better recovery from loss of network
  • better wake-from-sleep behavior
It also has a currently-useless preference for "periodic mailbox sync". The idea is to make mail do a sync of each account's mailboxes on a custom schedule determined by you, the user. At the moment, poking mail to sync causes it to beachball, so I''ve not yet figured out how to properly use that part of the API. Thus, you can set the "sync" preference all you want, but it doesn't do anything.

I've been running this version on two Intel macs for a couple of days without incident.

Post issues in the comments!


Hex Fiend: Yay!

Friday, February 16, 2007posted by Michael Rothwell @ 10:18 AM

I have been using HexEdit for years. Until today, when I discovered Hex Fiend.

Work with huge files. Hex Fiend can handle as big a file as you're able to create. It's been tested on files as large as 118 GB.

Back to the future!

Tuesday, February 13, 2007posted by Michael Rothwell @ 6:45 AM

Claudio Procida emailed me about version 1.6.3 of MiniBatteryLogger, which fixes the "5 million years ago" bug. Go get it!

IMAP-IDLE 1.07-pre-1

Monday, February 12, 2007posted by Michael Rothwell @ 4:30 PM

I've uploaded version 1.07-pre-1. It is, as its name might imply, a pre-release version of what will be 1.07. It has a more-functional preference pane, and hopefully will work better for folks having a problem with 1.06.

Between 1.05 and 1.06, I completely rewrote the IMAP protocol and connection handler code. Obviously, there were some bugs in it that I didn't find while testing on my home Macs.

Give 1.07-pre-1 a shot (available here), and either comment on this thread about issues you're having with it, or email me.

My battery died 5.8 million years ago...

Sunday, February 11, 2007posted by Michael Rothwell @ 8:23 PM

I am using the utility (Mini Battery Logger) mentioned in the Macinhack article "Getting the most out of your battery". My battery has been through only 37 cycles, but my MBP seems to have a lower on-battery lifetime than I would expect -- only a little over an hour.

According to Mini Battery Logger, I have a capacity of 24% of new, and the estimated date of death is (was?)June 23 5,877,610 years ago, but the overall rating is "good". *cough*

I ordered one of the FastMac "High Capacity" batteries.


Thursday, February 08, 2007posted by Michael Rothwell @ 10:20 PM

I've released IMAP-IDLE 1.06. It's really an interim to the next version, to get bugfixes out to people using it. It has a Preference pane, but it doesn't do anything yet.

You can get it here:

  1. Bugfixes!
  2. New icon!
  3. Nascent preference pane!