Lost Cash Card

On the way to work this morning I stopped to get some cash from the hole in the wall at Ipswich Station. Unfortunately the machine decided to eat my card, instead I just got a bit of paper telling me to contact my bank. Apparently the fault code on the paper meant that there had been a jam, rather than me being insolvent (I’m guessing like a big printer there was a 20 pound note getting ripped in half somewhere inside!).

So when I got to the office I phoned the bank who were very apologetic and said they’d "rush" a new card out to me, how long will that be… you guessed it, 5 working days. So at best I won’t have a card until next Wednesday! In the meantime to get money I have to go into the bank and go through the rigmarole of queuing up and then proving who I am.

Luckily the security procedures are laughable so it doesn’t take long. When I went in at lunchtime all I had to do was provide the sort code and account number and my post code (that’s ZIP code for friends over the pond). There was no checking of my signature (which they have on file and I would assume is stored in a document management system online somewhere), or any "proper" security information such as mother’s maiden name etc. I think it actually ended up quicker using the counter system to get at my cash than to use the cash machine! A bit of a tip there for anyone with criminal tendencies, just get hold of a thrown out bank statement and you’ve got access to free cash with no hassles!

dojo.io.bind, File Attachments and other fun

Things are still quiet, I am still on a roll with my application development. As mentioned previously I am putting together a Domino and Dojo framework, it’s going well but slowly. Dojo is great but the documentation leaves a lot to be desired, I guess this is the downside of the bleeding edge. So I have spent quite some time getting file attachments / dojo.io.bind and Domino validation working together. I won’t try and explain how dojo.io.bind works but what it does is degrade gracefully. When you submit a form it will first of all try and submit using pure AJAX, but if your form has a file upload control on it the submit over AJAX will not work so Dojo degrades to use the old iframe model of submission. This will work but the struggle then is to use input validation formulae in Domino. Ultimately what I have discovered is that when you use @Failure the return string must be wrapped in a textarea tag. Dojo uses the first textarea returned as the response text when dealing with file attachments. So now my input validation formula will look like this:

@If(@ThisValue=””; @Failure(“<textarea>Please enter the value.</textarea>; @Success)

The text within the textarea tag will then be returned to the response handling javascript function.

I don’t suppose this makes much sense unless you have played with Dojo, if you haven’t then I’d definitely recommend it (or you could give it six months for the documentation to catch up to the capabilities). It’s always dangerous making predictions about the future of the internet but I can definitely see one of the AJAX frameworks becoming the default standard for future web application development. With the backing behind Dojo and the well thought out architecture the team has already put together I think I’ll be placing my allegiance with them.

On a totally different note, I have put my house on the market with a view to moving down to London. I tried this last year but didn’t get very far so I’m not holding my breath but if I can knock the commute on the head it will give me a lot more time to spend on this interesting geeky stuff!

West Wing Finale

Over here in the UK we have just had the last episodes of The West Wing over the weekend. I think everyone pretty much agrees that when Aaron Sorkin left the writing team (around season 4) that the quality began to drop and a long slow move towards soap story lines began. The 7th and final season was a minor improvement but I have to say I was really disappointed by the last episode.

There was such potential for a great and moving send off, by the time it was shot everyone already knew that the show had been cancelled so there was no need to worry about continuity into the next season. Instead we got a fairly bland inauguration day and uninteresting closure stories for all the characters bar CJ.

Even though I’m moaning I will definitely miss the show in the future, it was still one of the best things on television. Now we are left with only a few things that are actually worth watching…

My must watch list is now pretty short and includes The Shield, 24, Futurama (when it comes back) and Top Gear. What else can people recommend?

A weekend in Brighton

I’ve just got home from a weekend in Brighton catching up with some old friends. Not a huge amount of sleep but great to catch up with everyone and to meet some new people as well.

It’s pretty hard to get a hotel room in Brighton in the summer so I ended up in a very overpriced place right on the seafront, but I have to admit it was nice to have a wander along the seafront this morning to try and clear my head (in the end some paracetamol did a much better job).

Anyway, I did promise Lopa that I’d stick this photo of Phil up on Flickr just to prove what a trend setting DJ she married ;o)

Head Down

Sorry for the recent lack of posts, things are hugely busy here at the moment. I’ve had workmen in the house all week fitting a new bathroom. That’s all finished now and a massive improvement with a really nice shower in my ensuite. Much needed as well to try and cool down in this insane heat. For the last few days the temperatures have been in the 30s and now it’s got humid as well. I know that a lot of places get hotter than us but the UK is just not set up to handle this sort of weather, it’s been a great pleasure getting into the office in the morning to appreciate the air conditioning!

The other thing which is on a roll at the moment is one of my own side projects, I’ve been using Dojo to write a new Domino application, it’s a bit of a change in the way you think about web development but I’m really quite impressed. So far I’ve come to the conclusion that for the best integration with Domino is to go with a Web 1.5 type approach!

What does that mean? Well Dojo really pushes you away from any classic interaction with HTML forms and direct contact with the server, however I’ve managed to come up with an application framework within Domino where all the validation etc is done using the classic Input Validation formulae. So using dojo.io.FormBind I can submit the Domino form and then handle the response so that it looks like a Web 2.0 interface (i.e. few screen refreshes, lots of asynchronous activity) but is in fact still using classic Domino web techniques where they are useful.

It’s all a bit of a tease talking about applications and then not giving any details, well this is one of my own personal projects which I’ve been working on in one form or another for a few months now, hopefully it will see the light of day but I’m not going to release something which will embarass me so don’t expect anything too soon. If / when it does come out then you can be sure that I’ll bore the pants off you talking about it then so just be grateful for the moment!

Now, onto something completely different. I guess this is fairly common but I am in the zone at the moment. Most developers know what the zone is, when you have a period where you can truly concentrate and get huge amounts of good work done, probably not even being aware of the passing of time. Well I have two different types of zone, what I just described is a period of a few hours during a day when everything goes well. But I have long periods of time where everything seems to come together and I just get loads of work done. I’ve learned over the years that when I enter one of these periods I have to make the most of it because in this two or three week timeframe I can make real progress on whatever project I concentrate on. I don’t know, maybe this is just me, or does everyone experience this?

Custom Login Form with Subforms

OK, time for me to admit my total dumb-ass-ness. I just spent a couple of hours trying to work out why my custom login form was breaking every time I entered an invalid username or password. The style sheet was still being loaded but the majority of the navigation was disappearing.

Of course you know where I went wrong already, but just for my own records… don’t forget to make your subforms "Available to Public Access Users" as well as the main form itself otherwise they will not load.

That’s a couple of hours of my life I won’t get back!

Impressed with FeedBurner

After switching my feeds over to FeedBurner at the weekend I am so far very impressed. I guess a lot of you will have seen a couple of changes come through the feed, such as my Flickr photos and del.icio.us feeds. Maybe less obvious are the links to Email This, post to del.icio.us and search the Spere. All relatively useful and just added by default (if you want them).

From my point of view as the "publisher" the stats are interesting as well. There seem to be far more people than I realised who are subscribed, (I had thought maybe 50 or 60 people but FeedBurner reckons it’s about 160!). There is a subscription service which I haven’t signed up to which gives you further detail but I am happy with what I have so far.

The Domino configuration was very easy as well, just had to create a redirection rule for the website configuration in Domino Administrator so that all of the old rss requests are now forwarded on to FeedBurner. The only problem I can anticipate is if/when I move the site to a new location and you haven’t manually switched your RSS feed to the new URL, but hopefully I’ll be able to handle that with further URL redirections on the new server.

In short I’d definitely recommend switching your feed(s) across to FeedBurner.

New RSS Setup

If you don’t use an RSS reader then you can just ignore this post.

Taking a cue from Greyhawk I have re-organised my RSS feeds to use new FeedBurner urls instead:

http://feeds.feedburner.com/11tmr/stories
http://feeds.feedburner.com/11tmr/comments

Going forward, the reason for this change is that I am having to think about getting the site hosted elsewhere due to bandwidth issues. For a while now I have been reaching or just exceeding my monthly 40gb allowance and it’s mainly because of this site, so the choice is either to change ISP or to move to a Domino hosting company again. Either way it will mean some down time so I thought I’d try and manage it a little better by getting everyone across to Feedburner.

So please do switch off the feed you’re using at the moment (assuming you are using RSS) and use the new URL instead. Here are a few useful icons for your particular aggregator:

Subscribe in NewsGator Online

Add to Google

Subscribe in Bloglines

A modern classic of an excuse

Since starting the new job I am back on the daily commute from Ipswich to the City, I try not to mention it as it’s boring for everyone but this morning we had a journey which could turn into a modern classic.

The train broke down at Colchester, annoying but not that unusual, I guess it happens 4 or 5 times a year (for some reason always at Colchester, never anywhere else, go figure). But this morning was slightly different. Usually what happens is that everyone piles off the train and just waits on the platform for the next one to come along before squeezing onto it. Today what happened was that we all rolled off the train moaning and grumbling about bloody One, couldn’t organise a piss up in a brewery, all the usual. But the broken down train didn’t move. After a while an announcement cam eover the tannoy… “The train at platform 3 cannot move until the people in the buffet car have finished their breakfast.”. Cue several hundred people on the platform bursting into laughter at the absurdity of the situation, we were all being held up for 10 people to have their morning fry-up.

Needless to say, when they heard the announcement they began to file off the train rather sheepishly. In the end we were only delayed by about 45 minutes, but you’ve got to love commuting in England haven’t you!

Good Web Site Design Source

Now that I’m settled into the new job and have a bit of a routine going I am able to get back to my own work. It’s one of those ongoing projects that you hack away at for ages with some vague idea that it will turn into the next big thing on the internet. Even if it doesn’t I enjoy playing with it. Anyway it is getting to the point where I am putting the UI together. This is not one of my strong points, I know what a good site looks like, I just struggle to bring it into reality when writing the CSS myself.

So I was looking around today and found Template Monster, a site which sells the basis of numerous site designs. You can either by a non exclusive copy or the outright version of the design. I have gone for a relatively simple design but nicely put together and all for the grand sum of $42. Not a bad investment I hope. I suppose that will become clear if/when the project sees the light of day.