September 8, 2009 – 9:30 am UTC
Congratulations! Welcome to your mid-twenties!
You now believe that your greatness is only limited by your own flawed
being. For the next decade, your estimate of self-worth will oscillate
between fraud and failure.
These feelings will continue until you realize that they are one of
the common events of being a human being with the majority of its
needs cared for. [...]
May 4, 2008 – 5:13 am UTC
In the past few months, I’ve allowed myself to slip. I haven’t been making many public commits, nor discussing much where others can see. It has me feeling like a bodybuilder who hasn’t touched a set of weights in the same amount of time. My work and my writing has atrophied. My ability [...]
May 2, 2008 – 10:58 am UTC
Alright, it’s done. I’ve moved rFeedParser and rchardet to GitHub. Check out the rFeedParser and rchardet pages at GitHub and clone them with these URLs:
git://github.com/jmhodges/rfeedparser.git
git://github.com/jmhodges/rchardet.git
rFeedParser, of course, is a Ruby translation of the Universal Feed Parser in Python and passes 98.8% of its 3000+ unit tests. rchardet is a Ruby translation of chardet [...]
May 1, 2008 – 1:01 pm UTC
rFeedParser obviously has not gotten enough love from me. I intend to correct that.
The first order of business was to stop hosting its branches in bzr on this server. No one knew the repositories existed, they were sucking up tons of hard drive space, and, dammit, I’ve been digging git ever since [...]
January 2, 2008 – 2:17 am UTC
A thought: In the beginning, I wrote in Ruby because I liked using Ruby on Rails. But recently, I’m using Ruby on Rails because I like writing in Ruby.
I think it’s time to start looking at the options again.
October 12, 2007 – 8:30 am UTC
Found in lex.c of squint, the Unix implementation of Newsqueak (referenced from Rob Pike’s bio):
if(fd<0 && s[0]!=’/’ && s[0]!=’.'){
sprint(buf, “/usr/rob/src/squint/include/%s”, s);
fd=open(buf, 0);
}
That’s an hilariously awesome way to personalize your tools.
While I’m on the topic, trying to google up a copy of squint (or any implementation of Newsqueak) [...]
September 21, 2007 – 5:50 pm UTC
I, like Sam, *really* want to play with CouchDb. But I’m a MacOSX box that I barely understand after 3 months of ownership.
Install MacPorts and run:
sudo port install erlang icu subversion
Add these two lines to your .bash_profile (or .profile if you’re running tcsh).
export ERLANG_BIN_DIR=/opt/local/bin/
export ERLANG_INCLUDE_DIR=/opt/local/lib/erlang/usr/include/
Run those two commands in your current shell [...]
September 2, 2007 – 9:21 am UTC
I’ve been learning Erlang in fits and starts for a few months now, and trying to play with the C interface to it. Unfortunately, it wasn’t until tonight that I learned that the best documented interface, erl_interface, is deprecated in favor of ei. (That link is not all of the ei documentation. [...]
August 9, 2007 – 8:44 am UTC
I just went through my first earthquake, a breezy 4.5 (initial estimate), and it wasn’t so bad. I’ve never really heard a description of a “light” earthquake and certainly did not expect what happened. Hell, it took me until after the worst of it to realize what it might have been and even [...]
August 7, 2007 – 5:53 pm UTC
If you’ve needed the numeric HTTP status code from a connection created with either open-uri’s or rest-open-uri’s open method, you’ve probably noticed that OpenURI::HTTPError is raised on any thing other than a 2xx or 1xx status code and that the docs don’t really lay out how to get to the status code in that error. [...]