C Lambda Type Inference

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

Filtering Get Psdrive To All Local Drives

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 most straight forward is to combine the WMI data with get-psdrive.

Types Of Immutability

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 important because it is an important asset of multithreaded programming. Immutable objects are inherently thread safe.

Getting My Fortune

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).

Viemu And Suites

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.