February 2010
2 posts
trival backgrounding with scala actors
A simple backgrounding object: object BackgroundOperation { def apply(f: => Unit) = { BackgroundActor ! BackgroundJob(() => f) } case class BackgroundJob(f: () => Unit) object BackgroundActor extends LiftActor { protected def messageHandler = { case BackgroundJob(f) => f() } } } Then you can do this whenever you want: BackgroundOperation { ...
Feb 24th
3 notes
“Why does Buzz even exist? Is it because Google wants to make my life better in...”
– - Daniel Lyons from Newsweek http://blog.newsweek.com/blogs/techtonicshifts/archive/2010/02/10/google-buzz-more-like-buzz-kill.aspx (via dpstyles)
Feb 11th
23 notes