Stephen Toub

.NET, MSDN Magazine, and other Adventures in Life

  • Stephen Toub

    MSDN Magazine in 7 languages!

    • 10 Comments
    Starting with the November 2006 issue, MSDN Magazine is now available online in seven languages! This includes English, French, Spanish, German, Russian, Brazilian Portuguese, and Simplified Chinese. Want to read the November issue in Russian ? How about...
  • Stephen Toub

    November 2006 MSDN Magazine now online

    • 0 Comments
    The November 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/11 . This includes the November installment of my favorite column, .NET Matters , available at http://msdn.microsoft.com/msdnmag/issues...
  • Stephen Toub

    October 2006 MSDN Magazine now online

    • 1 Comments
    The October 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/10 . Enjoy! Steve
  • Stephen Toub

    September 2006 MSDN Magazine now online

    • 0 Comments
    The September 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/09 . This includes the September installment of my favorite column, .NET Matters , available at http://msdn.microsoft.com/msdnmag/issues...
  • Stephen Toub

    Sudoku article in more languages

    • 0 Comments
    I previously posted about translations of my Sudoku article into French and Spanish . Today I found it in Chinese and German , too!
  • Stephen Toub

    Free MSDN Magazine subscription to MSDN Premium subscribers in the US

    • 11 Comments
    I was chatting with a few Microsoft folks last week, and they asked me if they could get a discounted rate on MSDN Magazine. (Not that it's expensive to begin with; at $35 if you buy it through the MSDN Magazine Web site, and at $25 if you buy it through...
  • Stephen Toub

    August 2006 MSDN Magazine now online

    • 2 Comments
    The August 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/08 . And for those of you on the go, a downloadable CHM file of the entire issue is available at http://msdn.microsoft.com/msdnmag/htmlhelp...
  • Stephen Toub

    Sudoku en español

    • 1 Comments
    I found out this morning that my Sudoku article on MSDN has been translated into Spanish: http://www.microsoft.com/spanish/msdn/articulos/archivo/160506/voices/tbconSudokuSampleFinal.mspx Cool! Kudos to David Carmona Salas and his team for undertaking...
  • Stephen Toub

    July 2006 MSDN Magazine now online

    • 1 Comments
    The July 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/07 . And for those of you on the go, a downloadable CHM file of the entire issue is available at http://msdn.microsoft.com/msdnmag/htmlhelp...
  • Stephen Toub

    30

    • 9 Comments
    With the June 2006 issue of MSDN Magazine online as of today, I now have 30 articles published on MSDN. I figure that's a good time for a recap. Here are the articles and the user-submitted ratings information for each (as of this morning). ...
  • Stephen Toub

    June 2006 MSDN Magazine now online

    • 0 Comments
    The June 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/06 . The June installment of my favorite column, .NET Matters , is available at http://msdn.microsoft.com/msdnmag/issues/06/06/NETMatters...
  • Stephen Toub

    Generic Levenshtein edit distance with C#

    • 11 Comments
    A friend of mine asked me about common algorithms for determining string similarity. One of the most well-known string similarity algorithms is the Levenshtein edit distance algorithm, possibly because it's frequently used in computer science algorithm...
  • Stephen Toub

    Low-Level Mouse Hook in C#

    • 66 Comments
    After my last post on implementing low-level keyboard hooks in C# , Soumitra asked if it was possible to implement a low-level mouse hook in C#, too. Sure. Here is an example that will print out the location of the mouse every time you press the left...
  • Stephen Toub

    Low-Level Keyboard Hook in C#

    • 210 Comments
    I answered a question today where someone asked for an example of setting a low-level keyboard hook with C#. I actually have an example of doing so in my May 2006 MSDN Magazine article on Managed Debugging Assistants , but the example is purposefully...
  • Stephen Toub

    VideoFrameReader

    • 8 Comments
    I'm enamored with the movie capabilities of my Canon Digital Elph. While I love taking pictures, sometimes I don't just want stills from an event, but would prefer to capture the whole thing in the form of a movie. As a result, I take short movies with...
  • Stephen Toub

    Sudoku en français

    • 0 Comments
    I just found out that my Sudoku article has been translated into French: http://www.microsoft.com/france/msdn/mobilite/sudoku-sur-tablet-PC.mspx Cool!
  • Stephen Toub

    Sudoku on a non-Tablet PC

    • 11 Comments
    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,...
  • Stephen Toub

    Bounded blocking queues

    • 3 Comments
    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...
  • Stephen Toub

    Blocking queues

    • 19 Comments
    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...
  • Stephen Toub

    "Urinetown: The Musical" in Chicago continues to please

    • 0 Comments
    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...
  • Stephen Toub

    May 2006 MSDN Magazine now online

    • 2 Comments
    The May 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/05 . Enjoy, Steve
  • Stephen Toub

    Randomness bugs

    • 4 Comments
    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...
  • Stephen Toub

    Solving Sudoku Puzzles from the Newspaper

    • 1 Comments
    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...
  • Stephen Toub

    Adding Skin Support to Sudoku

    • 11 Comments
    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...
  • Stephen Toub

    Beauty

    • 5 Comments
    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:
Page 2 of 6 (150 items) 12345»