Archive for January, 2010

On Wednesday night I attended the preview of a new exhibition, Dinosaurs Unleashed, on Oxford Street. It’s a slightly surreal experience seeing life size animatronic dinosaurs backdropped by the office blocks and department stores of central London.

I’ve already written about it on the Visit London blog and you can see more photos on Flickr. And, in a isn’t the internet cool moment, this morning I was added as a Flickr contact by the workshop who produced the dinosaurs and you can see behind the scenes photos of them being made.


  • Ah, so Heroes has moved on from the X-Men and is now riffing off Umbrella Academy. #
  • Damn YouTube clips – now want to rewatch both Babylon 5 and The West Wing. #fb #
  • My plan for the weekend is quality time at home with my wife. Cook some good food, watch some good DVDs, try to relax. #
  • Marmite Cheddar Bites http://bit.ly/3bLJc9 – should be so wrong, in many ways are, but I love them… #fb #
  • Sending old cover discs to recycling, if I haven't bothered to put it in the drive in 3 years, I'm not likely to do so now, am I? #
  • Dinosaurs were cool. Photos not the best but some okay ones. A teaser: http://bit.ly/bXmUd0 #fb #
  • Okay, so tonight is dinosaur night! #
  • Silly me, dinosaurs are tomorrow night. Tonight is the ice age (in our flat). #fb #
  • Hoping to see some dinosaurs tonight. #fb #
Share This Thing:
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • StumbleUpon
  • Google Bookmarks
  Comments Off

A couple of dinosaurs, but where ... ?

More to come…


  • Thanks to Croydon planning web site, I now have the details on what the house I looked at this morning should have looked like… #fb #
Share This Thing:
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • StumbleUpon
  • Google Bookmarks
  Comments Off

  • When the manual says defrost the freezer every 6 months, it really means every 6 years, right? There were mammoths frozen in the ice! #fb #
  • Any recommendations for good free/cheap OCR software for Windows? I'm liking http://bit.ly/4m2Dy7 so far but is there something better? #
Share This Thing:
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • StumbleUpon
  • Google Bookmarks
  Comments Off

I’ve been writing JavaScript for almost as long as the language has existed. My first “script” was a simple onMouseOver="window.status='Hello World'" affair back in the days of Netscape 2. I spent the dot.com years writing popup windows and hover images and scrolling boxes and other basic stuff. Then I took a break from doing much JavaScript – this almost exactly coincided with the years that some “proper” programmers took a a look at the language and applied a bit of rigour to it. So when I got back into JavaScript a few years ago I was way behind the curve.

I’ve managed to catch up a little and by using the jQuery library plus a few plugins I’ve done some quite cool things despite not having the sort of knowledge that real JavaScript pros have these days.

I’m a front end engineer, I’m not a “proper” programmer, I don’t come from a programming background and have had close to zero formal training. I only vaguely understand the principles behind object oriented programming and design patterns and so on and I think that I think that they are good things, but I have no real idea of how to apply them to my code.

Speaking of which, unminified it’s 70Kb, 1500 lines and growing. There’s a big refactoring job that needs doing there before it becomes impossible to maintain. But how to start?

Bookwise, I have Jon Resig’s Pro JavaScript Techniques and Douglas Crockford’s JavaScript: The Good Parts and a few others. Are there any others that I should be looking at? What about training? Web sites? Blogs I should be following? Where do I go from here?

Very True Mood: (cranky) cranky

Today I …

  • Had my photo used in a (gay) mockup of a what our Valentine’s Day homepage could look like.
  • Had lots of fun combining Ajax, JSON, RSS, JSP and jQuery in various combinations.
  • Moved the breadcrumb trail from just inside the main content area to just before it … in many, many templates.
  • Wondered whether any of the ARIA landmark roles was suitable for a block that contained a breadcrumb trail, a print button and an RSS feed button. contentinfo or nothing seem to be the options.
  • Told my boss that I needed to refactor all the JavasScript (that I had written in the first place) on the whole site.
  • Wasn’t ill enough to go home to bed, maybe tomorrow. (Damn this really quite good immune system!)
  • Boggled at the photos of Ben Dalby in a straight jacket!
  • Spent most of Survivors thinking about the benefits of CGI vs something actually decent looking when it came to collapsing buildings.

  • Very impressive: http://bit.ly/6jiIoJ but it's not all that much snow really. My Amazon parcel had better arrive tomorrow… #fb #
  • Okay, let's see what's out there. Snow (and fingers crossed train) here we come… #fb #
  • "A near normal service is planned" WTF does that mean? How near to normal? Which trains aren't actually running? #
  • Southern – you're website is as shit as your trains. #
  • I think I'll wait until it's warmer before I get a haircut. #
  • Cheeky. Just found that my ISP was offering 2.5x the usage for £4 less pre month and hadn't told me about this new plan. Switched at once. #
  • The snow has reached south London. I'm working from home tomorrow anyway for other reasons. #
  • New Year resolutions broken already? Good for you. #fb #
Share This Thing:
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • StumbleUpon
  • Google Bookmarks
  Comments Off

A few of you may remember this sterling piece of work from last year. Well today I found a very similar case on another site.

<a href="#mainsection" class="skip">skip to content</a>
<a href="#topnav" class="skip">skip to main navigation</a>
<a href="#topnav" class="skip">skip to main navigation</a>

  1. “skip to main navigation” is repeated twice…
  2. but does nothing as “topnav” is not present anywhere on the page
  3. The skip links aren’t wrapped in any form of structure (thus also requiring the class=”skip” on each link)

The site claims to be XHTML 1.0 Transitional but has 76 validation errors, including a character encoding mismatch between the HTTP header and the meta tag. It calls in 8 external CSS files and 23 external JavaScript files and contains large chunks of commented out HTML (so it will be slow as well as inaccessible).

Compared with this, some of my stuff is not so bad after all.


  • Oh Yes! That was a truly splendid piece of fanwank nonsense. Loved it! #doctorwho #
  • Five minutes to Doctor Who… #
  • My Twitter account is worth $24! What's yours worth? http://WhatsMyTwitterAccountWorth.com … (that's 0.004% of a @stephenfry) #
  • That's a lot of comics… #
  • According to my LibraryThing records I've read 141 books this year: 26 novels, 7 non-fiction, 102 graphic novels and 6 'other'. #fb #
  • End of the year means picking people for next year's deadpool game. As no one on my list died this year I don't have to think too hard. #
  • It's so quiet in the office today. Going slightly (but quietly) nuts… #
  • RSI time: setting up 39 folders, 39 navons, 39 auto indices, 39 landing pages – a new year's worth of structure in our @Percussion #CMS #
  • Back to work :-( #fb #
  • Ooops. Take mince from freezer and defrost… except (a) diced beef not mince and (b) packet has silly metal tag that blows up in microwave #
Share This Thing:
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • StumbleUpon
  • Google Bookmarks
  Comments Off