Kurt StephensNerd Up! | ||||||||||||||
|
The only way to implement the future is to avoid having to predict it. -- Piumarta
Fighting entropy one day at a time... No Empathy 20th Anniversary Reunion Show!
Yes, it’s really happening! No Empathy recorded its second album in 1989 with the “modern” line-up of Marc Ruvolo, Martin Garrety, Chuck Uchida, Steve Gallup and myself. We are reuniting for one show April 4th, 2009 at the Abbey Pub in Chicago, with old-school label mates Not Rebecca. Tickets are limited and on-sale now.
Chumby PhotoFrame 2
I’ve hacked up the Chumby PhotoFrame source from http://www.discarded-ideas.org/chumby/photoframe by Wansti. http://github.com/kstephens/chumby_photoframe/tree/master Fixed a few bugs and created a USB image to enable http://localhost/image/ browsing on the Chumby. I’m working on an CGI to allow uploading of images directly to the Chumby. Please give me feedback. Chumby - A Hacker's Microcosm
I got a Chumby as a holiday gift; it’s really cool and really hackable. The good:
The bad:
Luxeed LED Keyboard Driver for Linux
Hardware ReviewThis is a really cool keyboard, except that the ESC and function keys do not light up and are strangely located and difficult to press. I also don’t understand why the spacebar does not light up; seems like it’s the most important key. The construction is not very good and the feel is a bit mushy. However, this keyboard is fun for hacking and could be really great for user training. Device Driver and Source CodeAfter much troubleshooting, I have created a simple C driver library for the Luxeed deTA 100/200 keyboard using libusb. This driver allows the LEDs under each key to be set from C from most Unix-like operating systems. This is my first attempt at reverse-engineering the protocol of a USB device. Ruby: Performance of Symbol Construction
Measurements of Symbol Constructor Expressions. n=10_000_000 ruby 1.8.6 (2008-08-08 patchlevel 286) [i686-linux]:
> /cnu/bin/ruby symbol_benchmark.rb
user system total real
Null Test 0.740000 0.000000 0.740000 ( 0.742914)
'foo_bar' 1.670000 0.000000 1.670000 ( 1.661374)
"foo_bar" 1.620000 0.000000 1.620000 ( 1.625221)
:foo_bar 0.890000 0.000000 0.890000 ( 0.886903)
:'foo_bar' 0.880000 0.000000 0.880000 ( 0.878555)
<br class="clear" />
How to duplicate DataMapper objects
How to create a deep clone of a DataMapper::Resource object so it can be stored in a different repository. This does not work:
obj = Foo.first
obj = obj.dup
repository(:other) { obj.save }
<br class="clear" />
|
||||||||||||||
Recent comments
14 weeks 15 hours ago
26 weeks 6 days ago
29 weeks 2 days ago
29 weeks 3 days ago
29 weeks 3 days ago
29 weeks 3 days ago
29 weeks 3 days ago
31 weeks 6 days ago
31 weeks 6 days ago
34 weeks 3 days ago