rvm package install readline
rvm package install iconv
rvm install 1.9.2 -C --enable-shared,--with-iconv-dir=$HOME/.rvm/usr,\
--with-readline-dir=$HOME/.rvm/usr,--build=x86_64-apple-darwin10
Thursday, July 29, 2010
Installing Ruby 1.9.2 via rvm on OS X
Friday, June 18, 2010
OS X Screen Sharing over SSH
Thursday, June 3, 2010
Tuesday, May 18, 2010
Tuesday, May 11, 2010
Friday, May 7, 2010
Monday, March 22, 2010
Richard Feynman and The Connection Machine
I heart Feynman
Friday, March 19, 2010
Thursday, March 11, 2010
Friday, February 5, 2010
Thursday, February 4, 2010
Opera 10 Anchor Tag Rendering Bug
If you have an anchor (
<a>
) tag that contains block-level elements (which is technically not allowed, but all other browsers seem to be ok with it), such as <p>
or <div>
, the anchor will close itself before the elements it is supposed to contain. E.g.:
<a>
<p>hello</p>
</a>
Will render as:
<a> </a>
<p>hello</p>
If you give the anchor an href, though, even if it is just a blank string (
<a href="">...
), it renders fine.Here's a page that demonstrates the bug: http://footle.org/misc/opera-bug.html.
Anyway, I filed a bug with the Opera folks. Time for bed.
Friday, January 29, 2010
Tuesday, December 22, 2009
Better Dictionary: Wordnik
wordnik
Just drag that to your bookmarks bar, select a word or phrase on the page, and click. Happy bonus: just clicking on the bookmarklet without highlighting a word first will give you a random word (thanks to Wordnik, not me). Cool!
Tuesday, December 15, 2009
Chrome Frame's Shifty User-Agent
It was a compromise to keep code complexity down. In order to tag every request from IE...we have to have hooks in place at many more places (not to mention supporting the different things IE6, 7 and 8 do). So, as a compromise we decided to keep it down to only the single hook that allows us to tag top level requests.
This fix on our side was to just strip the chromeframe identifier from the user agent string, although it makes me wonder what other browser extensions cause similar issues and whether invalidating a session when the user agent changes is even a worthwhile security measure.
Friday, December 4, 2009
Google Dictionary Bookmarklet
It is set to use the English dictionary, but if you want to use it in a different language (or even translate between languages), just change the
langpair
parameter from en|en
to, say, fr|fr
for French, de|de
for German, etc. (try a search on the Google Dictionary site in the language you want and look to see what the langpair
parameter is in the url). Also, the hl
parameter controls the language of the results page, so if you want your results to be in that language as well (as opposed to English), change that accordingly.Here are a few to get you started:
gDefine (French)
gDefine (Spanish)
gDefine (German)
And translations:
gTranslate (French>English)
gTranslate (English>French)
Enjoy!
Thursday, November 12, 2009
Tuesday, November 10, 2009
Wanted: 7 Fearless Engineers! (via Rich Coad)

Wanted: 7 Fearless Engineers! (via Rich Coad)
cyoa
Impressive analysis of Choose Your Own Adventure books, a fixture of my childhood.
Thursday, October 29, 2009
Wednesday, October 28, 2009
We Could Use More of This
There’s a weekly Tuesday evening Ultimate Frisbee game at a field near my house (sadly, I haven’t gotten out to play in ages). Now that it’s getting dark early, they need the lights on in order to play. The city is usually pretty stingy with the lights, but this just came through on the mailing list:
So here’s the deal with the lights for the lower field….The lady (I forget her name) wants us to help out with getting supplies for their cooking class: taco stuff, corn dogs and fries (maybe potatoes), chicken and rice, stuff like that to teach cooking with. The reason is, the state is cutting back on funding and she asks us for donations of food to help out with the class. In turn she said we could have the field and lights as long as we turn off the lights when we’re done and if the soccer teams try to take over she will deal with them for us. Not a bad deal, plus we’re able to help the families and do a barter.
So: Bring food and play Tuesday night!
I love it.