Charlie Stross has the best how I came to write this story post ever over on his blog.  Check out "A Man Walks Into a Bar" here.