Archive for January, 2006

House Rules

Tuesday, January 10th, 2006

One rule we have in our house is that we always put the toilet seat down after using it. This is something I inflicted on the wife, and now she does it as though it’s second nature. However, we both realized over the holidays that neither of our families does this behavior. I’m not sure where it originated from within me.

Do you have any special rules at your house?

Jealous?

Wednesday, January 4th, 2006

Yeah, I got a new Motorola RAZR yesterday. It was really a matter of being in the right place at the right time, but my current phone, some cheap freebie with contract, really sucked inside of our big (aluminum sided) building. Also, the old phone had the vibrate mode button on the outside, which meant that the longer it jiggled in your pocket, the more likely it would go to vibrate mode. Not real bad in it self, until you set the phone down on the counter and never hear it ring.

It’s definitely a very sweet phone. Too bad I don’t take picture and movies and download ringtones.

My favorite part is that the charger port/data port is just a USB plug, which means there’s no special cables required. Furthermore, it recharges from the USB, so plugging it into any computer also recharges it.

This phone is what saved Motorola from a gloomy fate. I can see why.

Gentoo Ruby updates

Monday, January 2nd, 2006

I added a hack to rubygems-0.8.11-r1 which added the RUBYOPT=”-rubygems” environment variable to a user’s profile. The reason for this is that when installing packages via gem (which more and more of our packages do), a normal Ruby ‘require’ doesn’t find it, unless you’ve loaded rubygems first. This hack helped remedy that.

Except it broke for people running Ruby 1.9, because rubygems wasn’t explicitly installed for them. And we can’t make it install for them, because it doesn’t install cleanly (at least for now).

So, instead I’ve tried out a new approach. I modified dev-ruby/ruby-config (to version 0.3.2) to allow for more characters in a configurable Ruby version, and added a rubygems-0.8.11-r3 which installs a /usr/bin/ruby18_with_gems, that does this:

RUBYOPT=”-rubygems” /usr/bin/ruby18 “$@”

After installing rubygems it prompts you to run ruby-config and set your new Ruby version to “ruby18_with_gems”. Doing so will automatically get rubygems loaded and you don’t have to worry about it when doing a ‘require’.

As always, feedback via bugs.gentoo.org is appreciated.

QtRuby update

Sunday, January 1st, 2006

I’ve uploaded a QtRuby 1.0.11 to RubyForge, which should bring the whole thing up to date with all of the changes that have taken place in the past few months. Since there seemed to be some issues with 1.0.10, I used 1.0.9 as a basis for the update - hence, there shouldn’t be any issues with it. Please let me know if there are. I’ll update korundum later as well, but I can’t get it checked out of the subversion tree right now for some reason.

For the OS X folks out there, Reuben Grinberg has put together his steps for getting it installed - in case that proves helpful.

Still not using QtRuby? You should make it your new year’s resolution to learn! I hear that the Prag Progs have a great tutorial on it.

TT: , , .

Unusual Street Sign

Sunday, January 1st, 2006