Thursday, 3 May 2007

Flips and Flops

In computing, "flop" is often used to mean "[fl]oating point [op]erations". The speed of computing systems can be measured in TeraFlops and so forth.

If this is the case, does that mean then, that we could call [str]ing [op]erations "strops"?

If so, would string operations performed by small children become TerrorStrops?

Tuesday, 1 May 2007

Composite (Web) Controls and INamingContainer

When creating a .NET 2.0, composite, web control - if you wish to handle events within your control (e.g. table with a built in "next page" button), remember to implement INamingContainer.

There are no methods to implement - just the interface itself, which notifies the runtime that it should enable the control to handle events itself (rather than simply defining event handlers to bubble them out to listeners).

Failure to do so results in 3.5 hours of stupifying, pointless, wasted investigation.

D'oh.

Sunday, 29 April 2007

The Hogfather - Part One

Just watched the first part of the TV rendition of Terry Pratchett's Hogfather.

I was cynical about it.

I was wrong.

It's blummin marvelous.

Ho Ho Ho.

Saturday, 28 April 2007

Novatech - the fall from grace

I used to hold "Novatech", the computer/etc retailer in very high regard.

However, things change.

Today I ordered a keyboard and some blank DVD media for "Fast-Track" collection. I paid. Everything was in stock. I received an email telling me to come and pick up my order in 30 minutes time.

I drove there (luckily it isn't far or I would probably still be there, fuming).

The keyboard wasn't in stock.

"But.. your website said 'one in stock', and told me to come and collect it. This suggests that you have one."

"Yeah. We do. But its assigned to another order."

Bunch of nobbers.

Wednesday, 25 April 2007

Gosh. Its been ages.

I haven't blogged anything for ages. Although if you actually read this, you might be grateful for that! It's not that nothing blogworthy has happened - its just that I've been busy and ill.

Avoid Gastric Acid Reflux. It's very nasty. Currently on my 2nd bout in the last six months, and have lost a stone in the last week - it DOES seem to be an efficient way to slim down!

According to today's Sun, Gordon Brown has admitted that he is no good at maths.

We could never have guessed.

His budgets are usually such logical masterpieces that.. oh.. no.. wait.. I meant deceptive masterpieces...

Wednesday, 31 January 2007

NCover and TestDriven.Net on Windows XP64

Just wanted to share this with any of you having the same pain.

If you are using TestDriven.NET and/or NCover on Win XP 64, and get this error in the event log:

.NET Runtime version 2.0.50727.42 - Failed to CoCreate profiler.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Along with "Failed to CoCreate Profiler" in the VS2005 output window, when trying to "Test with.. coverage", the best fix I have at the moment appears to be to set your test assembly (e.g. Project.Test, rather than the actual project itself) to be a 32bit assembly, via the Properties->Build section. This seems to be a bug in NCover, and will hopefully go away soon.

Tim Anderson talks a little about this here, and this link provides some more technical info.

Friday, 26 January 2007

They joys of local city councils

Yay. I have to deal with the council again.

I need to update my residents parking permit, because I have a new car. Currently I am paying £10 a week for 7-day temporary permits, and soon I won't be able to buy any more, because I will have exceeded my "quota" for this period.

Now that I've got my V5, I can do this. Of course, I don't know what else I need to take with me (e.g. do I need the new permit? I don't want a SECOND one, because I'd have to pay for that).

I'll phone and ask.

Of course not. They're only open when I'm at work, they have no answerphone and don't seem to be able to reply to their email. Sorry, I pay council tax for......? occasional rubbish collection?