jaredpar's WebLog

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

    Ternary: Reducing code

    • 1 Comments
    I like my scripts to be readable and terse. They're scripts after all and I want to get the most done with the least amount of code. There's a lot to be said for having a readable script but I only value that when I intend to keep the script around for...
  • jaredpar's WebLog

    C# Lambda Type Inference

    • 1 Comments
    One of the limitations of C# type inference is that you cannot use it to infer the type of a lambda expression. For example, the following code will not compile var f = () => 4; Normally this is not too much of an issue because you can just explicitly...
  • jaredpar's WebLog

    Filtering get-psdrive to all Local Drives

    • 2 Comments
    Recently I needed to filter the return of get-psdrive to return all of my local hard drives. I didn't want to accidentally start operating on floppies, CDROM's and more importantly, network drives. There are a couple of ways to do this but I found the...
  • jaredpar's WebLog

    Types of Immutability

    • 3 Comments
    By definition, an immutable object in computer science is one that is not able to change. Parallel coding is becoming more necessary as the number of cores in a processor are increasing but not the overall speed. As such immutability is will become more...
  • jaredpar's WebLog

    Getting my Fortune

    • 1 Comments
    Fortune is a Unix command that gets a random message from a set of databases and displays it on the screen.  These messages have a wide variety but tend to be funny, quirky or famous quotes (most are indeed geeky).  Nearly all unix systems have...
  • jaredpar's WebLog

    ViEmu and Suites

    • 1 Comments
    ViEmu is a Visual Studio Package which adds Vim keybinding support into Visual Studio.  For former VI users this is huge benefit as I can use all of my cryptic key combinations inside of Visual Studio. For those unfamiliar, Vi is one of the original...
Page 1 of 1 (6 items)

December, 2007