NDC NancyFX Talk

I was lucky enough to be invited back to speak about Nancy at NDC Oslo this year and this time it was being filmed. I was, however, unlucky enough to get a cold the day before :(. So albeit not my best performance here is: An Introduction to Nancy from NDC Conferences on Vimeo. (I particularly like the bit around 45mins where you see me walk to front of the stage and slump over :D)…

Read More

Passing an object to a generic method

There's nothing complicated about this. But for some reason the solution escaped me. You know how it is. You have an idea in your mind and it just gets more and more complicated. Then somebody comes along and shows you something really simple. So you may know how to do this. You might not. But I found it interesting enough to blog about. Imagine you want to invoke a method defined as below: public void Execute<T> Generic(T foo) where T : class { var bar = new SomethingElse<T>(foo); .... } Except you don't know the object type…

Read More

"The fastest way to remove crap from your system… Is to put no crap in your system"

This is a quote from a talk by Alberto Brandolini that I've just watched. It isn't a new message and I'm certainly not the first person to say it. However I think it’s a point that’s important enough that it’s worth re-iterating every once in a while. So often the path of least resistance in software development is just to say yes to every request, yes to every deadline and to treat every bug as an emergency. But these are some of the quickest ways to end up with a monstrosity of a codebase that's unmanageable and…

Read More

Entities should look after their own events

I've been playing with CQRS and ES a lot recently and to be fair I should have started blogging about my experiences before now. But better late than never. This week I've been looking more carefully at how to manage the events that get applied to an entity within my aggregate root. When you first start your journery into CQRS/DDD/ES it won't be long before you come across the term aggregate. To quote Martin Fowler: A DDD aggregate is a cluster of domain objects that can be treated as a single unit. An example may be an order…

Read More

My Reading List

This is a list of all the blogs I check on a daily basis. I use Feedly for this (although I'm not the biggest fan): Design Best Web Gallery Cool Infographics UX Magazine whatanicepost [Owltastic](http://owltastic.com/feed/" htmlUrl="http://owltastic.com) [Sarah Parmenter](http://feeds.feedburner.com/sarahparmenter" htmlUrl="http://www.sazzy.co.uk) Development Brock Allen Rob Conery MSDN Magazine ScottGu Jon Skeet Coding Horror The Morning Brew Roysvork you've been HAACKED JP Toto Fabulous Adventures In Coding Thursday Night Jimmy Bogard Signal vs. Noise Data Chomp Iris Classon Brad Wilson Rob Ashton…

Read More

I've Forgotten how to Read (kind of)

I've Forgotten how to Read (kind of)

Ok, this may be a little over the top. I've not actually forgotten otherwise I wouldn't be able to write this post now. However a couple of months ago I realised that no written word could hold my attention for more than a few minutes. It used to be that I could sit and read a book for hours upon end, both fiction and non-fiction. I haven't read a book or manual in a while and I seem to have gotten out of the habit. So why has this happened? I'm not sure really but I can speculate as to…

Read More

Moving to Ghost from Jekyll

I really like Jekyll. Its a nice simple blog engine, but it does have some drawbacks. Because it's a static blog generator you have to compile it on your local machine before uploading it. There is no backend tool so it can sometimes be a pain to sort things like images and previewing. And probably the most annoying is needing to have everything installed on your PC in order to edit a post. With this in mind I decided I'd try moving to Ghost. It's a new blog engine that seems to be gathering a lot of traction. Its got…

Read More

Chocolatey: The schema version is incompatible

I love Chocolatey. It's a machine package manager for windows and I use it to install all my applications now. However, every once in a while I come across this error. There may be a better way to fix it, but this works for me. Sometimes when I try to install a new application I get the following error: C:\> cinst spotify Chocolatey (v0.9.8.20) is installing spotify and dependencies. By installing you accept the license for spotify and each dependency you are installing. The schema version of 'SimpleAuthentication.Mvc4' is incompatible with version 2.1.31022.…

Read More