Welcome to MSDN Blogs Sign in | Join | Help

April 2006 - Posts

Sudoku on a non-Tablet PC

I've received a bunch of emails over the past week from people asking if I have a version of Sudoku.exe that runs on non-Tablet PCs. I tell them yes, and I tell them that they do, too :) Sudoku.exe references and uses types from Microsoft.Ink.dll, a .NET
Posted by toub | 9 Comments
Filed under: ,

Bounded blocking queues

In my last post , I took a look at implementing blocking queues in .NET using semaphores (both System.Threading.Semaphore and a managed semaphore implementation). I defined a blocking queue as one that blocked on a dequeue operation until an item could
Posted by toub | 3 Comments
Filed under: ,

Blocking queues

In many concurrent systems, one thread performs some work, the result of which another thread consumes. This producer/consumer pattern is frequently implemented on top of blocking queues. If you examine the behavior of System.Collections.Queue and System.Collections.Generic.Queue<T>,
Posted by toub | 8 Comments
Filed under: ,

"Urinetown: The Musical" in Chicago continues to please

I posted a couple of weeks ago with some reviews of the production of "Urinetown: The Musical" running in Chicago. It continues to receive rave reviews from the Chicago area press, and I've kept that blog post up-to-date with all of the reviews I know
Posted by toub | 0 Comments
Filed under:

May 2006 MSDN Magazine now online

The May 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/05 . Enjoy, Steve
Posted by toub | 2 Comments
Filed under:

Randomness bugs

Some of the hardest bugs to discover are those involved in features that contain intentionally random behavior. Sudoku was originally written using System.Random as its source of randomness. As is described in the article about its development, this randomness
Posted by toub | 4 Comments
Filed under: , ,

Solving Sudoku Puzzles from the Newspaper

A few people have asked me if it's possible to use Microsoft Sudoku to solve puzzles other than the ones it creates, such as the ones in daily newspapers. Yes, it is! (However, a few lines of code are required to enable this feature.) The code you can
Posted by toub | 0 Comments
Filed under: ,

Adding Skin Support to Sudoku

With the source code for Microsoft Sudoku released on MSDN at http://msdn.microsoft.com/library/en-us/dntablet/html/tbconSudokuSampleFinal.asp , you can take the code and modify it to your liking, adding features, putting a new UI on the game for different
Posted by toub | 8 Comments
Filed under: ,

Beauty

I know this will be extremely short lived, but I experience this phenomenon so rarely that I felt compelled to share its beauty with the world:
Posted by toub | 2 Comments
Filed under:

My Least Favorite Day of the Year

I’m an honest person. I value truth, sincerity, and candor. I appreciate people who are honest with me and honest with others. And I’m pretty sure that most people in this world feel the same way. Why is it, then, that it’s considered acceptable by the
Posted by toub | 8 Comments
Filed under:
 
Page view tracker