Skip navigation.

Archives

Twittering away...

For anyone interested (not that I imagine a lot of you would be) I've been twittering away on twitter. So, if you want a hint at what I'm thinking about or just so bored any brief distraction will do, you can follow me on Twitter.

What will you find out there? Well, it's a bit like the teaser-trailer and deleted-scenes reel from my blog all rolled into one... Pointless facts are revealed like how my Expected Exceptions post came about while making a bacon sandwich or less pointless revelations like how I'm coming up with an (arguably) even better way of writing tests for exceptions and what it (almost) looks like... and you may even get a hint as to what other things interest me too.

My first Channel9 video (behind the camera)

Very exciting, I just published my first video on channel9. In the future, I’ll posting more interviews about researchers and projects that happens in our group in Redmond. Expect to get more videos on Pex, Code Contracts, CHESS, etc… over there.

http://channel9.msdn.com/posts/Peli/The-RiSE-of-Research-in-Software-Engineering/

"Wolf Fence" Debugging

I heard this term for the first time today, and realized it is a habit I usually follow rather than firing up a debugger and stepping through my code.

Defined by Dennis Lee Bieber here:
http://www.velocityreviews.com/forums/t356093-how-to-debug-python-code.html

"There's one wolf in Alaska, how do you find it? First build a fence down the middle of the state, wait for the wolf to howl, determine which side of the fence it is on. Repeat process on that side only, until you get to the point where you can see the wolf). In other words; put in a few "print" statements until you find the statement that is failing (then maybe work backwords from the "tracks" to find out where the wolf/bug comes from)."

The original term comes from "The Wolf Fence algorithm for debugging" (Edward J. Gauss, ACM - 1982)

Beware the Hero

The team in the WordCount simulation was floundering. We were midway through the third round and it looked to me like the team wasn’t even close to shipping.Most teams are able to produce a basic system that I’ll accept in my role as the Customer in the third round, or early in the fourth. That’s [...]