About the author

Steven Harmansteven harman :: makes sweet software with computers!

For recent posts and more about me, scroll to the bottom.

Sponsors

Subscribe

  • Subscribe to my feed. via RSS
  • Subscribe via email via email

November 2006 Entries

Problems at the Polls - It Happened to Me

Apparently there have already been several problems reported at the polls today - and no Robb, I'm not referring to the poll worker who smelled like mothballs down there in Florida. However, as I mentioned in a comment to Robb's post, I actually ran into some difficulties at the polls myself. How it happened. The poll workers in my district asked me for my ID, which I expected. They even found my name (with current address) in the registration book... where you sign your John Hancock to indicate that you are - well you. So I whipped out...

Get Around Database Locks with the NOLOCK Keyword

Tonight I was trying to debug a couple of failing unit tests for Subtext and I came across a common (though not exactly obvious) issue. These particular tests required access to a database, so I was using MBUnit's Rollback attribute to make sure that any changes made during execution of the test were rolled back when the test was finished. Essentially all the Rollback attribute is doing is wrapping the entire test in a SQL Transaction - smart! So what's wrong? As I was debugging one of the failing tests I realized that I was not getting the expected...