Monthly Archives: December 2009

Bring your own boxes

The other day, I was looking through the code of the .NET framework code for EqualityComparer<T> in Reflector. This type contains some rather interesting code for constructing a Default instance for each generic instantiation, and it took a while to dig out … Continue reading

Posted in Computers and Internet | Leave a comment

Can’t go under it and can’t go over it

There’s a great trick in Real World Functional Programming for getting construction of generic classes to work without the need for explicitly giving the types. If we have a class like the following:   class MyType<TX, TY>{  TX m_X;  TY m_Y;  … Continue reading

Posted in Computers and Internet | Leave a comment

Attack is the best defense

The art of computer virus research and Defense by Peter Szor   I was in Cambridge public library when I noticed this book, and I’m glad I took it out. Funnily enough, it also mentioned John H Conway, with reference … Continue reading

Posted in Books | Leave a comment

The eagle has landed

Finding Moonshine by Marcus Du Sautoy   Another book on symmetry, leading into group theory and progressing up to groups like the Monster. That side of the material is also covered by books such as Symmetry and the Monster. The … Continue reading

Posted in Books | Leave a comment