evansweb.info

That's Numberwang!

Getting Things Done

Posted by Jon Evans 11/01/2006 at 05h36

I bought a book called “Getting Things Done” by David Allen. It arrived on Monday.

I haven’t had time to read past the prologue yet.

Happy New Year, by the way.

Posted in | no comments |

Fix Ruby on Mac OS X 10.4

Posted by Jon Evans 01/12/2005 at 05h39

Mac OS X 10.4 comes with ruby 1.8.2, it seems to have a problem with OpenSSL which causes switchtower to hang when trying to connect to your server.

You can download the source code to Ruby 1.8.3, compile it and install it, but you’ll start getting weird errors in gem when you try to install some libraries.

The solution turned out to be to compile Ruby slightly differently. You need to pass some flags to configure:

./configure --enable-shared --enable-pthread

After configuring it, makeing it, and running sudo make install, I had what seemed to be a working Ruby installation. It installs to /usr/local/bin which is already in my path. Executing hash -r causes bash to re-scan the path, after which executing ruby -v correctly reports

ruby 1.8.3 (2005-09-21) [powerpc-darwin8.3.0]

After that I installed RubyGems-0.8.11 and the rails and switchtower gems, including all dependencies. The installation worked fine, and so did switchtower when I tested it.

I didn’t even need to remove Apple’s Ruby install.

If you do want to remove Apple’s installation of Ruby, you’ll want to back up and delete the following files and directories:

/usr/bin/erb
/usr/bin/irb
/usr/bin/rdoc
/usr/bin/ri
/usr/bin/ruby
/usr/bin/testrb
/usr/bin/gem
/usr/bin/gem_server
/usr/bin/gemwhich
/usr/bin/rake

/usr/lib/ruby/
/usr/lib/libruby.1.dylib
/usr/lib/libruby.dylib

/usr/share/ri/

Posted in , | no comments |

Glasses Direct review

Posted by Jon Evans 25/11/2005 at 22h03

I’ve got some new glasses! I had my eyes tested in August, and the prescription had changed so little I didn’t fancy spending £200 to replace my old glasses (which I’d had for nearly 3 years). Then about 3 weeks ago, I was using my PowerBook in bed (calm down at the back there! I was designing a website…) and I realised I’d misplaced my glasses. I found them under the PowerBook, with the lenses scratching against the underside. The left lens picked up a big circular scratch almost exactly aligned with the centre of my eye.

Posted in , | no comments |

Daddy the chef

Posted by Jon Evans 19/11/2005 at 13h35

Conversation at our house earlier today:

Heidi: I’m just going to buy some milk from the shop over the road
James: Why?
Heidi: Because daddy’s going to do some cooking
Matthew: What’s he making?
Heidi: Well, what’s the only thing he knows how to cook?
James: Pancakes!
Matthew: Tea!
Me: What? Cheeky little… I have a bigger cooking repertoire than just pancakes and tea!
James: [after a perfect comedic pause] …coffee…

Posted in | no comments |

Fertility problems?

Posted by Jon Evans 17/11/2005 at 04h08

This unfortunate yet hilarious typo was received by a colleague. He’d reported a bug to one of the developers of some software that we use. Her emailed reply was simply:

I have testes and I cannot reproduce.

This is now our standard in-house response to any bug reports.

Posted in | no comments |