Wordpress - benbiddington.wordpress.com - Ben Biddington

Latest News:

RSpec — common base specs 6 Nov 2010 | 11:37 am

Sometimes I am fond of creating inheritance chains for tests, which is easy in Java or C# say, but not quite as obvious in rspec. Define and register a base class It just needs to inherit from Spec:...

Test driving and test coverage 7 Oct 2010 | 12:37 pm

Yesterday I enabled rcov on my current project and was surprised that it had 100 per cent unit test coverage. But perhaps I should not have been surprised. After all, if you are truly test driving, h...

Refactoring Example — Fat Controllers 10 Aug 2010 | 12:37 am

We have an MVC controller that takes some input from a user, finds a file in a particular MP3 flavour, and then calculates the hash of the MP3 frames in that file. Here’s what it looked like to begin...

SSH, cygwin and domain users 5 Aug 2010 | 12:37 am

Yes you can log in to your local computer via ssh with a domain account. If it seems you can’t (i.e., your password is rejected) then you  most likely need to export your user accounts and groups so ...

Why can’t I hang an extension method on a type? 4 Aug 2010 | 08:15 pm

My brother asked me this. And while I don’t know, I did discover some interesting things along the way. An extension method is nothing more than a compiler trick. It is simply a static method that ta...

FTP command line fu 4 Aug 2010 | 12:37 am

The Windows FTP utility can be easily automated, but if you want to record the output from a session it appears you need to do things in a particular way. Redirection It appears this does not work a...

Outside-in development taken too far 4 Aug 2010 | 12:37 am

You may feel someone is taking things too far when you receive a set of scenarios like this: Scenario 1: Warm Teapot Given a Kettle of Boiling Water When Boiling Water is poured in to the Teapot T...

How to host a website from home 5 May 2010 | 12:37 am

My weekend project for the last couple of weeks has been to find out how to expose a website from my home computer. And after doing so, it appears there are two requirements: Instructing firewall to...

Whose leg do I have to hump to get a Facebook developers forum account? 30 Apr 2010 | 12:37 am

How does one go about registering for the Facebook developer forum? Filling out the form Produces “Could not open socket” error in Chrome and Firefox. Facebook Connect On the register screen there...

2010-04-04 — new signature 29 Apr 2010 | 12:37 am

My customary signature has officially changed from: to: Many thanks and kind regards. Tagged: and_that, dorky, family, max

Recently parsed news:

Recent searches: