Dragons in the Algorithm
Adventures in Programming
by Michael Chermside

Wrong SAAJ Version - a Spring bug

A few notes on a bug I had so next time I won't make the same mistake.

In spring-ws, in the class org.springframework.ws.soap.saaj.SaajSoapMessage, in the method getImplementation(), it uses SaajUtils.getSaajVersion(SOAPMessage) to determine the SAAJ version of this message. Unfortunately, that has a bug …

Read more

Posted Sun 08 May 2011 by mcherm in Programming

How Wierd Is That!

On reddit, I recently answered a question which I thought was rather interesting.

There are 8 cards to be drawn from. We are 5 players, each person picks a card randomly from this pile.

The first time around, everyone picked cards at random. After the game was over, we shuffled …

Read more

Posted Tue 03 May 2011 by mcherm in Math

Set Default Address Book in Outlook 2010

So, I got a new PC at work, and I moved to Outlook 2010. A great annoyance was that whenever I tried sending email, the entire global corporate address book popped up. After some time searching, I figured out how to change this setting, and thought I should record my …

Read more

Posted Fri 25 March 2011 by mcherm in Uncategorized

Election Guide, Nov 2010

Here is a description of all items that will be on my local ballot for this upcoming election, along with my own thoughts on the candidates.But it's late in the evening on the day before the election so I'll be brief.

Governor:

Dan Onorato

Not outstanding. For example, I …

Read more

Posted Mon 01 November 2010 by mcherm in Politics