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

Using URL Rewrite in IIS7 to have all Requests Handled by a Script

In my post last year about setting up Mercurial on IIS, I left it as an exercise for the reader to allow it so that index.py could be left out of the URLs. As an example, we want to be able to write http://myserver/myrepo instead of http://myserver/index.py/myrepo. Enter URL Rewrite! The easiest way to get… Continue reading Using URL Rewrite in IIS7 to have all Requests Handled by a Script

Just Installing VS2012 Can Break VS2010 Websites

Last week, I installed Visual Studio 2012, to play around with new features. We’re probably not ready to move our production code to VS2012 yet, but I just wanted to see what’s new. I should probably have installed it in a virtual machine, but hey, this is a well tested, production ready Microsoft product …… Continue reading Just Installing VS2012 Can Break VS2010 Websites

Estimating Effort

A few years ago, a former manager of mine taught me a valuable lesson about estimating the time it will take to complete a task in order to best meet expectations. Having done a significant amount of estimation recently, it brought the thought to the forefront of my mind. The tl;dr version is: Guess how… Continue reading Estimating Effort

Accessing ASP.NET Session from ServiceStack

This content is based heavily upon an answer I posted on StackOverflow. Oh, ok then, it’s almost an exact copy. Recently, I’ve ripped WCF out of the heart of a project at work, and replaced it with ServiceStack. There were a couple of reasons for doing this.  Firstly, for the relatively simple API we wanted… Continue reading Accessing ASP.NET Session from ServiceStack

O2 Disclose Mobile Numbers to Websites

Yesterday lunchtime, Lewis Peckover (@lewispeckover) noticed that mobile browsers on O2’s UK network were sending the phone’s number to websites as an HTTP header, resulting in this information being available to the websites browsed.  This information is not present when browsing over WiFi, indicating that it is probably added in transit by O2. The story… Continue reading O2 Disclose Mobile Numbers to Websites

I’m British – SOPA Doesn’t Affect Me, Right?

Wrong! The wording of the proposed SOPA legislation means that a huge number of websites can be classed as “facilitating the commission of copyright infringement”.  For example: A blog which allows users to post comments An e-commerce site which allows shoppers to leave reviews Any other site which allows Internet users to upload content which… Continue reading I’m British – SOPA Doesn’t Affect Me, Right?

Steve Jobs, 1955-2011

Yesterday, the world lost a great visionary in Steve Jobs, who is synonymous with the Apple brand he co-founded. While reading reports of his death, I came across this great quote of his which I thought I’d share: No one wants to die. Even people who want to go to heaven don’t want to die… Continue reading Steve Jobs, 1955-2011