Brian's Waste of Time

Mon, 14 Jan 2008

My Current Pen Hack

It came up in a different context, so thought I would post :-) If you trim a tiny smidge from the butt end of a uni-ball Signo 207 refill it fits very nicely into the Pilot G2 Pro body. The G2 Pro body is my favorite everyday pen body, but the G2 cartridges (what do you call them when they include the ball, anyway?) tend to be uneven and even blotchy on me compared to the 207s. So, a couple seconds with a pocketknife and I have the best of both worlds!

1 writebacks [/stuff] permanent link

Nu is Sweet!

Ran across Nu today in a reference from Brandon Warner. Nu is an interpreted lisp dialect with close ties to ruby and objective-c. Really :-)

The best way to illustrate this is probably to look at a snippet, in this case from the nuke tool bundled with Nu:

(unless @prefix
        (set @prefix 
             "#{((((NSProcessInfo processInfo) arguments) 0) dirName)}.."))

(unless @icon_files 
        (set @icon_files 
             (array "#{@prefix}/share/nu/resources/nu.icns")))

I won't point out the objc and ruby bits therein, as if you know one or both, you see them. It looks weird in places, but if you want to hack around on cocoa stuff, wowzers, it rocks. Check the converted form of ye olde currency converter (the first bit of cocoa programming for a lot of folks, myself included).

0 writebacks [/src] permanent link