Friday, May 23, 2008

For Three Minutes, China stopped

On Monday, May 19th 14:28pm, exactly one week after Sichuan Earthquake, a quarter of world's population stopped to mourn for the wictims.

What can record this better than the number of searches processed by search engine?

Monday, May 19, 2008

A Moment of Silence

Three days of national mourning for more than 30,000 victims of 5.12 Sichuan Earthquake.

Sunday, May 11, 2008

Municipal Bond Credit Derivative Index

MarkIt MCDX (Municipal Bond Credit Derivative) Index has started trading on last Tuesday, May 6th.

MCDX, like its CDX and ABX counter parts, is an index of 50 municipal bond credit default swaps. The blog post here has a good deal of information on MCDX...

Friday, May 2, 2008

Java v.s. C#: enum

Here is one thing that's done better in Java than C#: enum

The enum types in Java 1.5 is far more flexible than its C# counterpart. Instead of defining it as a "value type", or primitive that has limited room for extensibility, it's defined as a normal class with a list of static final memebers. You can choose to define your own constructor, memeber fields and methods.

Both C# and Java provide many basic utility functions for enums, such as converting back and forth between enum type and strings, etc.

Here is an excellent article on the implementation of enum in Java.