Saturday, October 4, 2008

ConcurrentLinkedHashMap as In-Memory Cache

For my work, I was looking for a thread-safe equivalent of LinkedHashMap that would work well as the basis for an in-memory cache.  I was hoping that such a class might be showing up in the JSR166y project, but 'twas not to be.  After that, I tried googling for ConcurrentLinkedHashMap (my previous search had been for "concurrent LinkedHashMap" [minus the quotes]) and stumbled upon a small project at Google Code devoted to exactly what I was looking for: ConcurrentLinkedHashMap.  I've been looking over the code.  It seems pretty good and I might be helping out with it, but I'm not an expert with concurrency and the Java Memory Model to the extent really needed.  I'm in touch with the main author, who seems very amenable to suggestions and corrections.  We'll see how it works out.

Saturday, August 16, 2008

Amazing Research in Image Processing and Presentation

I recently stumbled upon a very interesting pair of research projects that started at the University of Washington.

The first is titled, Using Photographs to Enhance Videos of a Static Scene. The video toward the bottom of the screen demonstrates using still images to automatically enhance the resolution, lighting, and color of videos, along with the ability to mask sections of scene and replace them with substitute images.

The second project has been picked up by Microsoft Labs and further developed into Photosynth (unfortunately requiring a Windows-only browser plug-in). It allows you to view a set of images of the same subject in a 3-D browser. See this very cool video for several examples.

Friday, August 1, 2008

Odaiko New England Community Membership

Wow, I have a big back-log of potential blog entries! I'll start with a quick one.

My wife and I recently became community members of Odaiko New England, a wonderful Taiko (Japanese drumming) group. Being a community member isn't quite as exciting or as much of an honor as becoming a performing member, but we're still very proud of our achievement. Taiko is a wonderful activity combining music, exercise, and energy. If you'd like to try it out, there will be a free beginner class next Tuesday (August 5th). If you can't make that one, you can contact Mark to ask when the next class open to new students will be happening. I hope you'll give it a try. It's awesome!

Wednesday, July 23, 2008

Great Douglas Adams Quote

I came upon this quote linked to from another blog and loved it. What a shame that he died so young!
I love deadlines. I like the whooshing sound they make as they fly by.
Douglas Adams
English humorist & science fiction novelist (1952 - 2001)