Thursday, May 07, 2009

Bloody Good


You get a new mug for every gallon of blood you donate. I think it's kind of funny to make a drinking vessel branded with a blood donation center's logo, but maybe that's just me. I think I'll take mine to work, mix some water, corn starch, and red food coloring in it, and leave it on my desk.

Wednesday, May 06, 2009

Medieval Times

I recently finished reading a couple of books that wound up complimenting each other pretty well. The first was Barbarians to Angels: The Dark Ages Reconsidered. I wanted to read a book about the middle ages and this one seemed well received. It's short and a quick read, but I didn't find it very enlightening. Part of the problem is that a lot of the book is dedicated to examining archaeological records, which can get really dry. My main problem with the book, however, is the author's assertion that the people of the middle ages shouldn't be considered less civilized than the Romans even though they were largely illiterate and their architectural, artistic, and engineering accomplishments paled in comparison to the Romans. I agree that these so-called barbarians have gotten something of a bad rap; their more civilized contemporaries and even their modern descendants were and are all to willing to commit acts of great brutality when it suits their purposes. That doesn't absolve them of their barbaric behavior, nor does it change the fact that they failed to achieve the level of sophistication of the Romans.

The second book, A Short History of Byzantium, is a condensed version of John Julius Norwich's three volume history of the Byzantine Empire. It covers the entire history of the Byzantine Empire, so it starts in roughly the same time period as the first book but continues all the way to the fall of Constantinople in the 15th century. It's a narrative, not an academic history, and Norwich is prone to making sensational statements without providing any real justification, but it's an interesting read. My only real complaint is that the condensed version goes for breadth instead of depth. It mentions ever single monarch to sit on the throne in Constantinople. Some of the lesser emperors only got a couple pages and the greats only got a chapter. It was difficult to follow all of the names as a casual reader. One of the few things that I remembered about the Byzantine Empire from history class was the great schism of 1054, so I naturally assumed it was a big deal. I was surprised to learn that it wasn't much different than one of the many previous doctrinal disputes between Rome and Constantinople. It's tempting to look at moments in history as sharp dividing lines where nothing in the world after that moment is the same as it was prior to it, but that's generally not how things happen.

Wednesday, April 29, 2009

Pear Tree Redux


April 29 | 7:22 pm | My Backyard

Saturday, April 25, 2009

Radio on the Big Screen

We went out to see This American Life - Live! on Thursday night. I got into TAL early into its run and over the past decade, I've bounced between listening to the show religiously to barely tuning in at all, but I've always enjoyed the show immensely. My listenership is currently back on the upswing thanks to podcasts.

We both really enjoyed the movie. I was surprised by how little the movie deviated from the radio show's format. I'm sure that part of the reason was so they can air a condensed version of the movie on the radio, but I'd like to think that it had more to do with giving the fans the experience of being in the studio when the show is being recorded. Like nearly every episode I've ever heard of the radio show, the movie ended before I was ready. There was a good crowd on hand, though I don't know why the only theater in RI that screened the movie was the Showcase in Warwick. I would've thought that at least one of the art house theaters in Providence or Newport would've been all over this. If you missed the movie, there's going to be a nationwide encore screening on May 7th.

Polenta Surprise

The weather was so nice today that grilling was a given. I pulled out my grilling bible and found a couple new recipes that I decided to modify and put together. Such culinary ingenuity can be a dangerous proposition, but it turned out really well today. The first recipe was for penne pasta and grilled duck breast with tomatoes and mushrooms. I took a lot of liberties with this one, substituting chicken thighs for the duck breast, nothing for the mushrooms, and the second recipe for the penne. The second recipe was for grilled parmesan polenta crostini. I did this one by the book, though I omitted the cheese since I didn't have any. This was my first time grilling polenta, and I was very impressed with the way it came out. The grilled polenta also made an excellent pasta substitute. The dish looked a little ridiculous, circular slices of grilled polenta on the bottom of the plate topped with a chunky tomato sauce and large pieces of grilled chicken thigh, but it tasted excellent.

Wednesday, April 22, 2009

Name Calling

Ever wonder how common your name is? Here's a list of the 1000 most common surnames in the US. The sum of the total occurrences of the top 1000 surnames in this list is just under 110,000,000, or about 36% of the total US population. I've pulled the list into a spreadsheet, in case you want to crunch the numbers for yourself.

(h/t: Hermano)

Sunday, April 19, 2009

The Little Engine That Could?

Now that Google has added Java support to the App Engine, I decided to finally give it a try. I decided to go the Eclipse plug-in route since I already use Eclipse, but the plug-in didn't seem to include the development server (as the docs lead me to believe), so I couldn't test the sample application locally. Rather than try and figure out what was wrong, I downloaded the standalone App Engine SDK and installed that as well. I got a bunch of errors when I started the development server because it requires Java 6 and I'm running Mac OS X 10.4, which doesn't have an official Java 6 SDK (remind me again why I thought switching to Mac was a great idea for Java development?). I tried the ancient pre-release Java 6 JDK that Apple put out a few years ago but it failed with a bunch of weird XML parser errors, so I tried SoyLatte JDK 6 1.0.3 and that finally worked. I logged into App Engine to register my account (which can only be done via SMS) and entered my mobile #, but I have I yet to receive my activation code text message so I'm stuck for the time being. From what I've read, others appear to have had more luck with it, so as always YMMV.

Thursday, April 16, 2009

Cross Product

For those who weren't aware, the SXSW festival has been kind enough to take a ton of music from the artists who play at the festival and make it available for download (all gratis). Some kind souls have collected all of the downloads and packaged them into multi-gigabyte torrents for easy downloading. I've been slowly digesting the first torrent from this year. I was so impressed with one of the bands included in the torrent that I picked up their debut album and continue to be impressed by it. The band is Alberta Cross and they hail from Sweden and the UK. Those of you who have been burned by my music recommendations in the past take note, these guys are a serious blues rock outfit, not some kind of weird experimental noise unit. I've been making a conscious effort to listen to more accessible music recently because while I still like free improvised music, listening to it can be somewhat demanding and even I am not always in the mood to be challenged by the music I'm listening to. Check these guys out if you get a chance. They're slated to play at a number of festivals this year, including Coachella and Bonnaroo.

Wednesday, April 15, 2009

After the Gold Rush

A lot of people have been talking about what American's spending habits are going to look like when (if?) the economy starts to improve. Some think consumers are going to back to their old habits while others think that consumers are going to be a bit more thrifty. The most persuasive argument I've seen in favor of the latter is this recent piece from the Economist.

While consumer spending habits reached ridiculously unsustainable levels or the past five years or so, it seems like people have been talking about American's propensity for living beyond their means for much longer than that. Given this, it seems kind of strange to hear people characterizing a return to mid-1980s or even mid-1990s levels of personal spending and savings as a return to fiscal discipline. Still, while the Americans of 10-20 years ago weren't exactly pinching pennies, you could still argue that their consumption habits were still within the realm of fiscal sustainability.

The magnitude of the reset is going to be determined by how much wealth is ultimately destroyed and the kinds of new financial regulations that are enacted. If, as I write this, we're closer to the end of this mess than the beginning and some new controls are added to at least address the known causes of our current financial predicament, we'll probably see a modest return to thrift once the dust settles. It would probably take another great depression and world war to turn Americans into fanatical savers. Hopefully, we can avoid that scenario.

Tuesday, April 14, 2009

Unknown Legend

Rachel Getting Married is a movie that I never would have considered watching had I not read a bunch of great reviews. While I believe that truly great art is by definition accessible to almost everyone, there's a lot of good art that is only accessible to those equipped with the tools to truly understand it on multiple levels. Rachel Getting Married may fall into that category, or it may be a self-indulgent piece of trash, or it might just not be my kind of film. Roger Ebert's review, which I did not read until after watching the movie, is particularly interesting. He loved the movie, but his review barely even talks about the story. That may be because there isn't much of a story being told, and that was my biggest problem with the film. The viewers of the movie are essentially guests at Rachel's wedding weekend. We watch it unfold and get some details from the past through conversations that the characters have with each other, but that's about it.

I found it funny that B-movie legend Roger Corman played one of the guests at the wedding and that there was a thank you note to him in the credits, but after I reading his bio, I learned that in addition to making lots of cheesy movies, he also gave a ton of big-name Hollywood types their start in the show business, including Jonathan Demme, the director of Rachel Getting Married.

I also had no idea that the groom's character was played by the lead singer of the band TV on the Radio. I know little about the beyond beyond being aware of their existence, so it's not surprising that I didn't recognize their lead singer. This information does help explain his acapella rendition of Unknown Legend during the wedding vows (perhaps my favorite part of the movie). The funny thing is that had I not decided to log onto the internet and register my disgust, I never would have learned about Roger Corman's contributions to the more respectable side of Hollywood or Tunde Adebimpe's (the aforementioned groom) acting career, both of which made the appreciate the movie a little bit more.

Sunday, April 12, 2009

Back in the Saddle

I biked to work for the first time this year on Friday. It turned out to be a great day to bike to work since it was sunny and relatively warm (low 40s) in the morning and there was no traffic since it was Good Friday. The ride home wasn't quite as nice since it was threatening to rain the whole way, but I made it back without getting wet. My goal for this year is to bike the equivalent of 1000 driving miles to and from work. My round-trip commute is 13.6 miles by car, but it's a bit longer by bike (between 16.5 and 17.5 miles), so I'll need to bike about 1250 miles to cover the equivalent of 1000 driving miles. It's doable, but it's a pretty aggressive goal.

Tuesday, March 31, 2009

All the Tea in China

As you may know, I tend to read food labels fairly thoroughly. Recently, I've come across some highly suspicious information on some food packages. For starters, I was reading the description on a box of Trader Joe's Earl Gray tea and read the following

The earliest recorded evidence of the cultivation of tea plants comes from China in the 14th century...

This is, of course, completely wrong. Tea has been an important part of Chinese culture for millenia. According to Wikipedia, records of tea consumption in China date back to the 10th century BC. The earliest record I could find for recorded evidence of tea cultivation, not just consumption, is a work from the late 8th century called The Classic of Tea by Lu Yu, so Trader Joe's is off by at least 500 years.

Keeping with the China theme, I was standing in line at my local Chinese grocery store when I noticed some good-sized bags of whole black and white peppercorns. I knew we were running low, I grabbed one of each. At $2.50 for a 7oz bag, it's at least 4 times cheaper than pepper at the regular grocery store. When I got home and cracked into one of bags, I noticed something strange on the nutrition facts label.


According to the label, one serving of pepper contains 12.3% of your daily fat allowance! I read the label a little closer and noticed that the serving size is 3.5 oz. I know the Chinese like their food a little spicier than Americans, but 3.5 oz is more than an entire grocery store-sized spice container (the bottle of Spice Islands whole white pepper that this package replaced is 2.7 oz). As if that wasn't bad enough, the 7 oz package lists that it contains four 3.5 oz servings. Still, you can't beat those prices.

Sunday, March 29, 2009

Vegging Out

We dined at the Garden Grille [warning - audio link] for the first time on Friday. I was quite impressed with my meal, the Mixed Grille. I've had dinners that were entirely comprised of meat and I once had a dinner in Kyoto that was comprised almost entirely of tofu, but I think Friday was the first time I've ever had a dinner that was entirely comprised of vegetables. I had a plate asparagus, eggplant, sweet potato, onions, peppers, squash, and mushrooms all grilled to perfection. Highly recommended.

Wednesday, March 25, 2009

All Aboard the Dictatorship

It turns out that I was wrong, Parade Magazine did publish their annual survey of the world's worst dictators this year. This is, of course, the first worst dictators survey of the Obama administration. The whole enterprise of ranking the world's worst tyrants in a general interest newspaper insert magazine seemed to make a modicum of sense during the Bush years. I can't say that I would be surprised if it is eventually revealed that the former President used the survey when making key foreign policy decisions. We'll see if this enterprise continues as the US hopefully returns to a more nuanced approach to foreign policy.

While much has changed in Washington, not much has changed in the annual dictator rankings. Zimbabwe's Robert Mugabe rocketed up to the top spot from sixth place last year. My money was on Sudan's Omar al-Bashir capturing the top spot on the strength of his recent ICC arrest warrant, but he had to settle for second place once again. The only newcomers to the top 10 list this year were Libya's Muammar Qaddafi, who moved from 11th place to 10th, and Turkmenistan's Gurbanguly Berdymuhammedov, who debuted on the list in 9th place this year.

Parade cited Zimbabwe's hyperinflation, cholera epidemic, and ZANU-PF thuggery as the reasons for Mugabe's rise to the top of the list. With the exception of the cholera epidemic, all of those things were true last year when Mugabe was deemed only the sixth-worst dictator in the world (and I'm guessing that Zimbabwe was hardly a public health success story even before the cholera epidemic). If anything, Mugabe improved his behavior in 2008 by agreeing in principle to a power-sharing government (though, as Parade correctly points out, he has not honored either the spirit or the letter of the agreement).

The inclusion of Berdymuhammedov is another head-scratcher. You may remember that he took over power in 2006 after the death of Saparmurat Niazov, a fixture on any survey of the world's worst dictators. Berdymuhammedov has been in power for only a couple of years and while Turkmenistan has not become a beacon of peace and freedom in Central Asia, I can't imagine why he would be ranked higher than some of his neighbors, including Uzbekistan's Islam Karimov (11th place in this year's survey).

Sunday, March 22, 2009

Cover Story


Today's Providence Journal ran a story about Rhode Island's quest to grow its knowledge-based economy and included a photo of yours truly from last week's Providence Geeks meeting on the front page. This marks the second time that my picture has shown up in a geeks-related news story. So far, I've managed to avoid letting all of this fame go to my head, but I can't guarantee that I won't turn into an insufferable prima donna if this keeps up.

Wednesday, March 18, 2009

Flirting with Disaster

This is a really old story, but I heard about it for the first time at tonight's geek night and thought it was interesting. It's about how young Saudi's use bluetooth discovery on their mobile devices to flirt without running afoul of the religious police. Yet another example of how technologies get used in ways their creators never dreamed of.

Friday, March 13, 2009

Baby, You Got a Stew Goin'!

I've been doing a lot of cooking this week. I made another batch of Ming Tsai's Red Rendang so I had to use it up. One of the dishes that I used it on was a lamb stew that I did in a slow cooker. When I opened up the cooker after letting it stew, I was overwhelmed by the smell of lemongrass. The lemongrass flavor was barely noticeable in the paste and I wasn't overwhelmed by it while eating the stew, only while smelling it. Lemongrass and fish sauce, both Southeast Asian standbys, are ingredients that I find tasty but can't really stand the smell of when they get too strong. I'm told that even people who enjoy the taste of the durian feel the same way about it, so maybe it's just a characteristic of Southeast Asian food.

I've also been enjoying some Trader Joe's English Cheddar with Caramelized Onions. Some friends of ours introduced us to it recently. It's probably something I never would have picked out on my own, but the two tastes go together so well that I'm surprised all cheddar cheeses (and possibly, all cheeses) aren't alloyed with caramelized onions.

Thursday, March 12, 2009

Block Expressions

I discovered a weird Java collection initialization idiom whilst reading this post a couple days ago.


List<String> l = new ArrayList<String>() {{
add("A");
add("B");
add("C");
}};


It took me a minute to figure out what was going on. For those who haven't seen this before, the first and last curly brace define an anonymous inner class. The inner curly braces and the code therein comprise an instance initialization block for the anonymous inner class. So this code effectively create a subclass of ArrayList that adds three elements ("A", "B", and "C") to itself upon creation. It's kind of interesting, but I'm not sure how useful it is. The only place I could see using something like this would be in a class that needs a wrapped static final collection. Using this pattern would eliminate the need to build and populate a temporary collection in a static initializer and then wrap it and assign it to the static final member.

As it turns out, one of the proposals on the table for Java 7 is something called Block Expressions, which would allow you to define temporary local variables within expressions. One of the use case given for this feature is identical to the use case I outlined above.


public static final Map<Integer,Integer> primes = (
Map<Integer,Integer> t = new HashMap<Integer,Integer>();
t.put(1, 2);
t.put(2, 3);
t.put(3, 5);
t.put(4, 7);
Collections.UnmodifiableMap(t));


Block expressions have other uses beyond this so it may be a good idea to add them to the language, but I'm actually partial to the anonymous inner class with instance initializer approach in this situation.


public static final Map<Integer,Integer> primes = Collections.unmodifiableMap(
new HashMap<Integer,Integer>() {{
put(1,2);
put(2,3);
put(3,5);
put(4,7);
}});

Wednesday, March 11, 2009

The Falun Gong Show

We caught the Divine Performing Arts show when it came to Providence last week. It's billed as a celebration of Chinese cultural heritage through music and dance. What's not mentioned is the Falun Gong proselytization that pervades most of the show. While I don't support the Chinese government's suppression of Falun Gong practitioners, I also don't like how the Divine Performing Arts troupe isn't upfront about their ties to Falun Gong in their promotional materials. Of course, even if you stripped all of the Falun Gong material out of the show, I still wouldn't have enjoyed it very much. The music was bland and the sets were awful. The entire show was performed in front of a giant screen that had cheesy renderings of Chinese landscapes projected onto it. The format was incredibly tedious as well, with the emcees coming on stage between every single number and talking about the next one.

Wednesday, March 04, 2009

America's Finest Editorial Cartoons

How is it possible that I just found out about The Onion's weekly editorial cartoon today? Here are some of my favorites.