This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Links for 2009-01-07 [del.icio.us]
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Writing your own expression language in Ruby
James: "The last few days, I’ve been writing Consent, a tool for writing declarative firewalls for Rails apps. I thought it would be interesting to dig into its implementation now that the code’s settled down, as it’s one of the more complicated DSLs I’ve written, and certainly the first one that makes decent use of Ruby’s features. Turns out method_missing and operator overloading can get you a ton of expressive power for writing your own mini-languages."
openid-selector - Google Code
"This is a simple Javascript OpenID selector. It has been designed so that users do not even need to know what OpenID is to use it, they simply select their account by a recognisable logo."
HTML 5 Canvas Lessons: Zooming and Reusing
"My first thought was that it would be due to fractional coordinates. I have years of experience with drawing APIs that force integer coordinates, so I’m used to relying whacking off the fractional part of a coordinate and making up the difference when necessary in a second pass. Canvas, on the other hand, supports fractional coordinates, which I’m told is the fancy thing to do these days. (How the fraction is converted to an actual pixel is depenendent on whatever drawing system is doing the heavy lifting somewhere down the stack.) When your coordinates are fractional, you can get this kind of fuzziness."
iWork / iLife ‘09 UI Roundup
"Of course, I watched the Macworld SF keynote yesterday, and apart from noticing the iWork.com icon, I also saw all sorts of nice UI changes and icons. I skimmed through Apple’s new online guided tours and walkthroughs and I’ve compiled a (far from exhaustive) roundup of all the fancy new UI stuff in the iWork and iLife ‘09."
Scott Adams Blog: Sign of the End Time 01/06/2009
"I wonder what people mean when they say the economy will recover in 2010. The only way that can happen is if another irrational bubble forms thus creating an illusion of wealth similar to our previous illusions. If you take illusions out of the equation, there isn't anything to get "back" to. The wealth was never there in the first place.
I said before that I think we're on the cusp of a change as fundamental as the industrial revolution. But this time the change will be on the consumption side, not the production side. As a society we have dabbled with recycling and such, but it has always been fairly optional. There was no real penalty for waste.
The coming consumption revolution won't be strictly for the benefit of the environment. It will be an economic necessity, driven largely by the huge numbers of retired poor. There simply won't be enough stuff for everyone if waste is allowed."