November 2008
8 posts
The Escape Gem, and connecting dots
CodeNice!, the little merb app unagi-san and i have embarked upon is coming along nice! But, unfortunately the state of ruby syntax highlighting libraries is pretty sad.  Besides the fact that you have to get oniguruma running (again a non-trivial task), ultraviolet has some internal FAIL that you have to hack around to get working as a callable lib. So, we’re gonna use pygments instead. ...
Nov 30th
Ultraviolet Syntax Highlighting on OS X —... →
Getting oniguruma working for ultraviolet is non-trivial. :|
Nov 29th
Han's Corollary: The Ruby Corollary to Godwin's...
I came up with a corollary to Godwin’s Law for the Ruby community.  Anytime someone goes on a rant about Ruby and/or its community, the probability of a comparison to Zed Shaw (and/or his departure from the community) approaches 100% the longer the discussion proceeds. I dunno about a pithy name.  Should i just demand it be called Han’s Corollary?
Nov 27th
Everything is Miscellaneous, yes, even you. (Part...
A few weeks ago i went to see David Weinberger speak his alma mater the University of Toronto (video here). Weinberger is the author of Everything is Miscellaneous (EiM), and professor at the Harvard Law School’s Berkman Center For Internet and Society. His talk at UofT highlighted a particular conclusion of his thesis in Everything is Miscellaneous, so let me go over that really quickly. EiM’s...
Nov 22nd
Michael Mukasey Stars in..
Alex Han: ANyway, my guess is that they're saying he's fine to avoid Ashcroft 2: Torture Boogaloo.
Ted Han: lol
Ted Han: but i thought he was all "yay let's not prosecute torturers"
Alex Han: Right, but who knows how pliable he'd be in a hospital bed, possibly doped up?
Alex Han: "Whunh? 'S fine... Cheney c'n eat all the babies he wan's..."
Alex Han: "'S a VP's extraconstitutional right..."
Nov 21st
Localization in Merb w/ merb_babel →
angryamoeba expressed his interested in porting a lib we have built into videojuicer to do localization (or localisation as he puts it :P ) to merb.  Since i talked to the merb guys last week at RubyConf2008 i dropped mattetti a line to find out what they intend for merb localization and what they’ve already done. It turns out that mattetti and wycats already have some hooks in the api to...
Nov 12th
The Units Pipe Dream →
Nov 9th
Statements about testing, paraphrased from Yehuda...
If a patch for a bug fix is longer than the code it replaces, a detailed explanation must be supplied. Patches for bug fixes should more or less delete as many lines as it adds.  Failure to do so will require a detailed explanation. Mocks are only allowed for APIs that are well defined, and external to your code.  And tests should run w/ mocks turned off and real world objects in their...
Nov 9th