Comment

Comments

ODear, no iPhone

It took me a while to spot my email from O2 this morning admittedly. The chance to pre-order a 3G iPhone for delivery on launch day on Friday. A perfect opportunity to avoid queuing for nothing before work. I was all excited and started to fill out the forms convinced that as I’d added a [...]


Comments

NMock Out Parameters

I’ve often thought that NMock is under-documented. The way I’ve started to learn how to use this extremely useful library is through the well-formatted examples that Ian has left around. Practical examples often show you far more than a glossary of terms or a list of available methods.
This week Andy and Drew were wanting to [...]


Comments

NaNT .build file Intellisense

If you want to get some limited Intellisense when you’re editing or creating NaNT .build files then you can try the following:

Copy the nant.xsd file from inside your NaNt schema directory.
Paste it into your Visual Studio XML Schemas directory (e.g. C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\
Restart Visual Studio

When you next load up an existing .build file, [...]


Comments

TryParseExact and UTC DateTime

I’m in the midst of SIP-land at the moment and looking at the expiry time of requests. After discovering a subtle difference in the parsing of DateTime strings between my development machine and the production servers, we’re now using the DateTime.TryParseExact() method to specify exactly what the service should expect to see.
One of the parameters [...]


Comments

New iPhones ahoy?

The recent news that the 8Gb version of the iPhone was discounted wasn’t a huge shock with rumours of a pending 3G / Business flavoured iPhone in the distance.  However, today sees MacRumours reporting that O2 have stopped selling ANY iPhones, 8Gb or 16Gb.
Sales might have been lighter than they anticipated, due to the lack [...]


Comments

SourceSafe: “Only one database connection at a time is supported.”

I’ve been having intermittent problems with Visual Studio 2005 and SourceSafe 2005 occasionally complaining that “Only one database connection at a time is supported” when I load up solutions with multiple projects in them.
A Microsoft Knowledge-base article pointed me to the potential problem. Looking in the mssccprj.scc files for  both .csproj files loaded in [...]


Comments

Log4View

I just wanted to personally recommend a log view utility I’ve had the luck of finding recently, actually thanks to Ian again. Around October time, Ian contacted the logging.apache.org group asking :
“Does anyone know of an application that is capable of loading a log file that has been written to using the RollingFileAppender?”
He was answered [...]


Comments

When clothing and gadgets shouldn’t mix

It’s long been said that soon we’ll all have interconnected clothing, maybe even internet-enabled clothing, so that we become able to charge, plug in and head towards becoming bionic?
Well Gizmodo has posted details of a jeans and keyboard combination which I have to agree with them, looks wrong in so many ways.
Have a look yourself [...]


Comments

New look

As I’m finding myself actually using this blog a lot more than I have done in the past, I decided an updated look was needed. A bit of spring cleaning, so to speak.
For any of you using Wordpress (and 2.5 represents a nice milestone release, job well done to everyone involved), there’s a great free [...]


Comments

Making a Mockery

Thanks to some example code by Ian I’ve completed my first Mockery. NMock allows you to instantiate mock objects based on interface declarations alone.
It’s already saved me a potential chicken and egg scenario where to get an instance of the normal object that’s inputting into the method I was testing I’d have had to include [...]