ListExtensions
I prefer to use the abstract IList<T> interface in my public APIs, rather than passing around concrete List<T> implementations. However, the one thing I’ve always missed was the awesome...
I prefer to use the abstract IList<T> interface in my public APIs, rather than passing around concrete List<T> implementations. However, the one thing I’ve always missed was the awesome...
I was doing some testing on a javascript abstraction that we created earlier. In order to test that the validation was being properly called, I wanted to drop in a new target javascript and then us...
I installed cucumber last night and began trying to get some of the scenarios to work. One thing that kept plaguing me was the error message that kept coming up about using an old version of libxml...
So, the other day I was trying to debug a problem with one of our web applications. I had gone through the steps of making the appropriate changes to my IIS configuration for this application, so t...
Saw this from codesqueeze earlier today… Hilarious stuff. :) When Chuck Norris throws exceptions, it’s across the room. All arrays Chuck Norris declares are of infinite size, because Chuck No...
Not long ago, we noticed some degradation in performance after we upgraded to .NET 2.0 and migrated to the XslCompiledTransform class from the now obsolete XslTransform class. Our implementation wa...
I was TDDing a new website that I’ve been working on last night and got caught in the interesting predicament where the tests failed, but the production code worked. For the life of me, I could not...
I discovered something a bit peculiar about the puts and print methods in Ruby. puts seems to flush immediately, and therefore shows up on $stdout right away. Take the code example below: 5.times ...
Earlier, I was working on creating a script that would iterate a set of folders and execute a chunk of code against that file when it was found. The script itself is easy enough to write with strai...
I recently found myself in a situation where I wanted to make sure that the current year is always displayed in the copyright statement at the bottom of a Rails application. At first glance, this i...