Omer van Kloeten's .NET ZenProgramming is life, the rest is mere detailsExtension Methods Roundup: Remove, Aggregate, At, AsIndexed and Friends- June 19, 2008 Hey hey hey! It's time for another Extension Methods Roundup! Here are some of the extension methods I've written since the last one: Dictionary's Missing Remove Methods public static void Remove<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TValue value) Check to see that dictionary is not null if (dictionary == null) throw new ArgumentNullException("dictionary"); foreach (var key in (from pair in dictionary where...http://weblogs.asp.net/okloeten/archive/2008/06/19/6296904.aspx Breadth Recursion - a yield Solution to Post's Correspondence Problem- June 6, 2008 Post's Correspondence Problem (the other PCP) is a computer science problem, in which you have (and I simplify matters) a set of tiles, each having any number of letters on them from a preset group. For instance, you may have the tiles: The idea is to create a sequence of tiles (when you can use an infinite amount of tiles from each kind) to get the exact same combination of letters both on the top row and the bottom one. One such combination would be aaaabab, where you would...http://weblogs.asp.net/okloeten/archive/2008/06/06/6254343.aspx Mechsonomy: Machine Assisted Folksonomy- June 6, 2008 Yesterday, in front of the staff and students at my college, I presented my final project for my C.S. B.Sc.. Once I complete it and it gets reviewed this September, I will have completed my duties for the degree.The project is a research I'm doing for nuconomy and I'll release the code once it's complete. It uses the .NET Framework 3.5 (with C 3.0) and SQL Server 2005 Integration Services' NLP engine. The following is the abstract and you can also download the short presentation. Abstract The..http://weblogs.asp.net/okloeten/archive/2008/06/06/6252921.aspx Quick Blurb: Test Tools Toolbar in Visual Studio and Useless Icons- June 2, 2008 Let's play a little game. To the left of this text are the five central icons from the Test Tools Toolbar in Visual Studio. Their commands are, in an unordered manner: Test List Editor, Test Runs, Test View, Code Coverage Results and Test Results. Connect the icon to the appropriate command, without checking Visual Studio. The purpose of this game To show that whenever you don't think about your icons enough, they're meaningless and therefore useless. There may be a certain logic behind this...http://weblogs.asp.net/okloeten/archive/2008/06/02/6242235.aspx |