ServiceStack JSON Deserialization vs DataContractJsonSerializer

I used to have this horrid piece of code to deserialize a license stored as JSON: Along came ServiceStack.Text, and now I have this beautiful one-liner: Or using an extension method ServiceStack provides results in even clearer code: The simplicity and elegance of this just blows me away. What were Microsoft thinking when they came up… Continue reading ServiceStack JSON Deserialization vs DataContractJsonSerializer

Act While the Window is Open

An eloquent way of saying ”carpe diem” … The lessons of history would suggest that civilisations move in cycles. You can track that back quite far – the Babylonians, the Sumerians, followed by the Egyptians, the Romans, China. We’re obviously in a very upward cycle right now and hopefully that remains the case. But it… Continue reading Act While the Window is Open

Published
Categorized as Non-IT

jQuery Event Binding – OMG What Happened to live()?

One idle Tuesday, I decided to update jQuery from version 1.8.2 to the latest version, v1.9.1. I love new shiny things, and the jQuery team do a consistently awesome job of bringing new performance improvements with every release. So, just change 1.8.2 for 1.9.1 in the CDN’s URL, and I’m good to go, right? NOOOOOOOOOOO!!!!!… Continue reading jQuery Event Binding – OMG What Happened to live()?

Investigating How MongoDB’s “Majority” Write Concern Works

Introduction I’ve recently been studying an online MongoDB course from 10gen, the developers of MongoDB. MongoDB is a NoSQL database which offers a ton of features, including replica sets with automatic failover. This isn’t a beginner’s HOWTO on MongoDB; for that, head over to mongodb.org and hit the “Try It Out” button. Instead, the article… Continue reading Investigating How MongoDB’s “Majority” Write Concern Works

Why Diaspora is so Important to Social Networking

I’m a huge fan of social networking, and post regularly on Facebook, and on Twitter under the handle @yeurch. I think Facebook is a great tool for keeping up to date with people I know (or knew) in real life, while I find Twitter invaluable in finding out what’s new and innovative in software development.… Continue reading Why Diaspora is so Important to Social Networking