jaredpar's WebLog

Code, rants and ramblings of a programmer.
  • jaredpar's WebLog

    Extension Methods and ByRef targets

    One of the seldom used, and often unknown, features of VB extension methods is that the argument of the extension method (the first parameter) can be passed by reference.  This gives extension methods the power to change the reference that was used...
  • jaredpar's WebLog

    NotImplementedException vs. NotSupportedException

    In responding to a recent blog post , one of the readers, Jeremy Gray, noted that I was using a NotImplementedException where I should have been using a NotSupportedException .  At first I did not agree.  There was a method on an interface which...
  • jaredpar's WebLog

    Immutable Collections and Compatibility with Existing Frameworks

    When developing my immutable collections library , I spent a lot of time on usability. After all, if a library is not useful then what’s the point? A big portion of usability is being able to work with existing frameworks and technologies. For .Net...
  • jaredpar's WebLog

    Mapping LINQ to F#

    In my projects with F#, I often find that I know exactly what type of sequence transformation I want to run, yet I spend all of my time trying to find it!!!  The problem is I’m used to query comprehensions in LINQ terminology.  Select, Where...
  • jaredpar's WebLog

    Sorting out Binary Files

    I constantly get tripped up in my powershell scripts/commands because I run them against a binary file.  In particular when I’m searching through a directory structure looking for a particular string or regex.  I’ve found the simplest way to...
  • jaredpar's WebLog


    With all of the great built-in commands for processing pipelines the absence of a good command to count the number of elements in a pipeline seems to stand out.  The best built-in way to count the number of objects in a pipeline is to convert the...
Page 1 of 1 (6 items)

December, 2008