What is Toluu?
Toluu is a free service for sharing the feeds you read and discovering new ones.
Get Invite

scie.nti.st - Home


A Pledgie for PledgieNovember 1

Pledgie is trying to go to the 2008 Philanthropy Midwest Conference.

But we need your help to get there!

We need to raise $500.00 over the next couple days to reserve a booth. We learned just yesterday that there was one last exhibitor booth available.

All the details are in our Pledgie 4 Plegie campaign.

Mark and I thank you for any support you can provide.

Click here to lend your support to: Send Pledgie to the 2008 Philanthropy Midwest Conference! and make a donation at www.pledgie.com !

scientist-home?i=f6rc6z

scientist-home?i=SCDBN scientist-home?i=FinUn
Get rxvt-unicode with 256 color support on UbuntuOctober 13

rxvt-unicode (commonly called urxvt) already has 88 color support, and for most things, this is fine. But I recently just found the CSApprox plugin for vim, which lets you use Gvim themes in console vim. CSApprox actually does a pretty good job interpolating for 88 colors too, but it is best at 256.

So here’s my build log of compiling rxvt-unicode with the 256 color patch on Ubuntu Hardy, and debianizing (packaging) it.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # I keep all custom deb's here, use any directory you want cd ~/debian-src # Make a place for rxvt-unicode mkdir rxvt-unicode cd rxvt-unicode/ # Get the source apt-get source rxvt-unicode cd rxvt-unicode-8.4/ # Apply 256 color patch, it's included with the source patch -p1 < doc/urxvt-8.2-256color.patch # Make sure you have all depdencies to build it sudo apt-get build-dep rxvt-unicode # Build it dpkg-buildpackage -us -uc -rfakeroot

This will actually build three separate packages:

  • rxvt-unicode
  • rxvt-unicode-lite
  • rxvt-unicode-ml

All I care about is rxvt-unicode, but you might want -lite or -ml. If someone more adept in Debian package building than I am can tell me how to just compile one of these versions, that’d be great. :)

Moving along:

1 2 3 4 5 6 # Install it! cd ~/debian-src/rxvt-unico
TextMate-like file navigation in VimOctober 11

I highly recommend the new fuzzyfinder_textmate Vim plugin.

In addition, this post which debuts the plugin, has a ton of other useful Vim tips and trick. If you’re a Vim user, I’ll bet you’ll learn something you didn’t know!

scientist-home?i=XHCDBo

scientist-home?i=jPcUM scientist-home?i=eud6m scientist-home?i=o3m3M scientist-home?i=C3iim
Hardy Xen domU doesn't show login prompt [fix]October 1

I have a Xen machine running Ubuntu Hardy (8.04.1). I created a guest that was also Hardy, with xen-tools. But after booting it up, the login prompt wouldn’t appear. It would get as far as:

1 2 3 4 5 6 ... * Starting OpenBSD Secure Shell server sshd [ OK ] * Running local boot scripts (/etc/rc.local) [ OK ]

And then just not show anything. The VM wasn’t hung, just the login prompt didin’t display.

After googling to no avail, I lucked out with button mashing some options in my <vm>.cfg file. Adding this to the end of my <vm>.cfg made it work:

extra = 'xencons=xvc console=xvc0'

scientist-home?i=XNgHsI

scientist-home?i=Su9uM scientist-home?i=TFrjm scientist-home?i=dUvlM
Update: Immutable, with exceptionsSeptember 21

This is an update to my previous article: Making methods immutable in Ruby.

By popular demand, I’ve made my Immutable module raise an exception, by default, if you try to override an immutable method.

So, the following:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 require 'rubygems' require 'immutable' module Foo include Immutable def foo :foo end immutable_method :foo end module Foo def foo :baz end end

Will raise an error:

Cannot override the immutable method: foo (Immutable::CannotOverrideMethod)

scientist-home?i=jqjIiS