Asynchronously Preloaded LINQ Queries
As a rule of thumb, when presented with two independent blocking I/O operations on more than one independent devices, it’s best to use threads to create parallel operations, instead of waiting for a single synchronous operation to complete. That way, executing operations O1, …, On, each of which take T1, …, Tn will result in total time where T < T1 + … + Tn, instead of T = T1 + … + Tn…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it.
2008-07-29
1 min read
Extension Methods Roundup: Remove, Aggregate, At, AsIndexed and Friends
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:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2008-06-19
1 min read
Breadth Recursion – a yield Solution to Post’s Correspondence Problem
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:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2008-06-06
1 min read