Musings Of An Idiot

  • SSD Swap

    No Comments October 19, 2016

    My son recently expressed his desire to build his own desktop PC, so I've been putting together a selection of components to go along with a new motherboard, CPU, memory and PSU combination - you … more

  • Pastures New

    No Comments February 9, 2015

    I'm currently sitting in a coffee shop across the road from my new offices, nervous as hell, waiting for the moment to walk over and introduce myself to my new work colleagues. Before I do, it seems … more

  • TypeScript, RequireJS and jQuery

    7 Comments November 26, 2014

    A while ago I spent ages trying to find the best way of using RequireJS and jQuery within a TypeScript project; given that a colleague of mine was complaining how difficult it was to find coherent … more

  • I Followed a Link To A Newspaper Article. What Happened Next Will Shock You!

    No Comments November 26, 2014

    OK, that's it - I've had enough. I'm fed up to the back teeth with invasive online advertising and as a result I'm going to start doing something I've never actively done before - I'm now going to … more

  • Software Architect 2014 Revisited

    No Comments October 18, 2014

    So, the Software Architect conference is over for another year and it's had it's highs and lows. First of all, the conference itself was great - the keynotes from Neal Ford and Allen Hollub were … more

  • Test Argument

    2 Comments October 2, 2014

    So this post is more of an invitation for comment than anything else; a recent, and somewhat heated, difference of opinion arose during a code review. The specific argument was around a unit test … more

  • Migrate old development system to Hyper-V

    No Comments September 17, 2014

    The time has come to migrate my work development system to a brand new shiny machine; larger spinning rust drives, SSD for the OS and faster processor - lovely. Most of the work I've got will check … more

  • Non-Zero Thread Latch

    No Comments July 24, 2014

    Isn't it great when something you wrote years ago suddenly becomes useful again... If you're in a situation, as a colleague of mine was this morning, where you are spinning up a number of threads to … more

  • New Keyboard Different to Old Keyboard Shocker

    No Comments July 22, 2014

    Microsoft, what have you done? I'm not referring to Windows 8.x (I'll admit that I've never been bothered by The Interface Formally Known As Metro) - I'm referring to the best keyboard in existence, … more

  • Orchard Update

    No Comments July 18, 2014

    I like using Orchard CMS, I really do; it may be overkill for a personal site, but it's fairly easy to use once it's set up - plus it works with the best blog editing tool ever. It has to be said … more

  • Are Developer Conferences Worth The Money?

    No Comments July 16, 2014

    I had the following conversation with a fellow west-country C# developer this evening: Looking forward to @SoftArchConf #SA2014 in October http://t.co/mEVlN7buq4 — Ed Courtenay (@edcourtenay) … more

  • Repurpose, Reuse, Recycle

    No Comments November 16, 2013

    I’m a huge believer in reusing and repurposing technology until it finally dies rather than simply throwing stuff out because it’s old (much to the dismay of my wife who’s … more

  • List referenced Nuget Packages from the Package Manager Console

    No Comments October 21, 2013

    For reasons I won’t bore you with, I needed to work out what packages were installed in the solution I was working on, across all the component projects. This can be done with minimum fuss from the … more

  • Returning Sequences from Moq

    No Comments August 8, 2013

    I was asked earlier today about how to setup a mock object using Moq so that multiple calls to a method return different values. For example, given the following interface definition: public … more

  • Processing Multiple Threads with Unique Keys

    No Comments July 29, 2013

    A requirement cropped up the other day that required a way of allowing multiple processes to run at the same time, but only one instance of a given key at any time. In other words, if four processes … more

  • Unit Test Invocation On A Different Thread

    No Comments March 1, 2013

    A colleague nabbed me yesterday with a problem he needed some help with; he had a block of code that (in a vastly simplified form) looked like this: public interface IFoo { void ExecuteTask( … more

  • Tribute

    No Comments February 3, 2013

    We should be ashamed of ourselves; no really, we should… more

  • Video Killed The Radio Star

    No Comments January 28, 2013

    The Bell, 8th December 2012 Ahh, alcohol – where would my non-existent vocal skills be without your copious influence? more

  • Fake Java enum implementation revisited

    No Comments December 2, 2012

    A while ago, I blogged about a fake Java style enum using C# using extension methods. As I initially suspected, I’ve ended up using this pattern on a fairly frequent basis. An updated version of the … more

  • Lazy binding with Ninject

    1 Comment November 23, 2012

    There may well be a much more elegant way of achieving the same goal, but this is what I’ve come up with. Now, I know that I will probably be denounced by those with far better Inversion of Control … more