Steve Pugh
07 July 2009 @ 11:45 am
Via Zeldman I learn that the W3C's XHTML working group is shutting up shop at the end of the year.

What does this mean for XHTML? In terms of standards, XHTML 2.0 is dead, and the only games in town are now the XHTML 1.x family and the XHTML syntax of HTML 5.

Which in practical terms means almost nothing at all. XHTML 2 wasn't gaining any support form browsers, authors or advocates. It wasn't backwards compatible, progress was glacially slow and nobody was talking about it. It was already dead. This move is just the W3C accepting reality.

I rather like the cheeky way that Mark says it in song.
Tags: , , , ,
 
 
Steve Pugh
28 June 2009 @ 09:41 pm
I spent this afternoon giving TanitaTikaram.net, one of my oldest websites, a makeover from this to this.

I decided to use WordPress and to lightly modify an existing theme rather than create my own. I still have a lot of content to migrate but so far the results are looking good. What do you think?
Tags: , ,
 
 
Steve Pugh
From the web site of a major high street retailer:

<ul>
    <li><a accesskey="c" href="#maincontent">
        Jump to main content [Access key 'C']
    </a></li>
    <li><a accesskey="n" href="#primarynav">
        Jump to primary navigation [Access key 'N']
    </a></li>
    <li><a accesskey="s" href="#maincontent">
        Skip navigation [Access key 'S']
    </a></li>
</ul>


What is the difference between "Jump to main content" and "Skip navigation"? Clearly nothing in this case as they both go to #maincontent. But for added points, there's no id=maincontent or name=maincontent anywhere in the page, so they both do nothing.

And trying to find a contact form to inform them of this error I instead find a "Generic System Error" page which contains this very user friendly message:
CMN3101E The system is unavailable due to "CMN0420E".


Some days I actually feel quite okay about the work I produce.
Tags:
 
 
Very True Mood: schadenfreude
 
 
Steve Pugh
20 March 2009 @ 08:59 am
Busy day yesterday. Google releases Street View for the UK so offices all over the country ground to a halt, Microsoft release IE8 and I do a pub quiz for the first time in ages. Came fourth out of thirteen teams (and the winners had twice as many people as we did).

In a moment of madness I decided to walk from the office to the pub. According to Google Maps it was 5.2 miles (the route) and they estimated it would take 1 hour 47 minutes - I ended up doing it in 1 hour 30 minutes and lost a couple of minutes when I turned the wrong way in Peckham. I always get lost in Peckham, I don't know why, it's just one of those things.

The stretch along Old Kent Road is a bit grim and there was a steep bit towards the end (the clue's in the name of Forest Hill Road). That's the problem of walking from central London outwards - it starts flat and then inevitably gets steeper.

But it certainly gave me a good thirst by the time I reached the pub.

 
 
Very True Mood: relaxed
 
 
Steve Pugh

Yesterday I did something that made me feel like a total plonker. I was using a social networking site (I won't say which one - though many of you will know by now) and as these sites do it has the feature to check your webmail address book for existing members and send invites to other people. I avoided the "Auto-invite" option and went to "Manually invite". The next screen presented me with the title "Find your friends who are already on XXXXX" and a button labelled "Next", and a list of addresses with a pre-ticked checkbox next to each (and no uncheck all option).

Oops. Pressing that Next button did not find which friends were already members. It sent invites to everyone.

I'm really sorry if I spammed you.

Usability lessons

  • Don't use "Next" as a label for the final step. To me, and I think to a sizeable number of others as well, "Next" implies that you'll be going onto the next step of a multi-step process. The final step that actually does something meaningful should have a more meaningful label.
  • Give every page or every step of a process a unique page heading.
  • Limit the number of emails a single user can generate at one time.
  • Provide tools to help users manipulate large sets of data (i.e. an uncheck all option).

User lessons

  • Don't assume that the people making the site have got the above right.
  • If you're even slightly confused as to what will happen, assume the worst rather than the best and act accordingly.

After this I had a look at my Gmail address book. It was full of rubbish. People I had emailed just once (all those unsubscribe@ or abuse@ addresses for example. Irony.); people who had left the companies and email addresses in question behind; lots of people I didn't recognise at all; at least six of my own email addresses.

How many of you ever manage your Gmail address book? There's a bunch of features in there for doing so, but one of the selling points of Gmail is that you never need to manage anything - there's enough storage and enough processing power on the Google servers to keep everything, forever.

We're trapped in a half-way world where the computing power allows us to never delete or manually manage anything but the interfaces and mashups only really work if you do.

Tags: , ,
 
 
Very True Mood: annoyed
 
 
Steve Pugh
30 November 2008 @ 06:41 pm

Picking up from my first attempt here's a more methodical approach. With somewhat more success this time.

Continue reading this Very True Thing

 
 
Very True Mood: geeky
Very True Music: Gang of Four - Damaged Goods
 
 
Steve Pugh
23 November 2008 @ 11:00 pm
That last post? Some of you may have noticed that it doesn't work very well.

The styles applied to the button and the button's parent element make a difference in how IE (and to a lesser extent Opera) handle the positioned elements.

My current line of attack is to use more jQuery to remove some styles from the button itself and apply them to the inserted span. For Opera, I'm looking at the SVG solution.

This time I may wait until I've finished testing before posting.



Tags: ,
 
 
Steve Pugh
19 November 2008 @ 08:38 pm
Today I decided to try and build rounded corners on a button that would work in both CSS 3 compliant browsers (Gecko and WebKit based browsers, i.e. Firefox, Camino, Safari, Chrome, etc.) and also in IE and Opera.

Continue reading this Very True Thing
 
 
Steve Pugh
09 November 2008 @ 11:21 pm
Last week I was introduced to Playfire - a social networking site for computer gamers. It got me wondering why there's no equivalent for wargamers.

There's BoardGameGeek but (a) the interface sucks and (b) its remit is so much wider than wargames. TMP and Frothers are fine places to come together and talk about games but that's all. Where's the site where I can catalogue the games I play and the miniatures I own and connect with other players?

A lot of the functionality that the knitters have on Ravelry would be great - a flexible but standardised way of listing "projects" - which minis, which paints, which TOE, WIP photos, etc.

Considering how geeky and techie a lot of wargamers are, why has no one created the site? Is it simply because the idea of social networking isn't really our thing?

Someone will now pop up in the comments and tell me about a site that I should have known about all along.

 
 
Steve Pugh
08 November 2008 @ 12:27 am

Mad cat based advertising on Facebook, again. This one is less strange and more just plain wrong. I presume that this is not the modelled by the same cat as the other day. Though if it is I can only presume that his "accident" was the other cats beating him up.

 
 
 
Steve Pugh
07 November 2008 @ 05:38 pm

I'm ill. :-(

So only a short post today. Opera have released more data from their MAMA survey, including this gem:

MAMA used a MySQL SMALLINT data type (max. value: 65,535) to store the quantity of comments on a page. Surprisingly, in the most extreme cases this was not big enough. Only 1 URL was found to exceed this in MAMA's URL set [...] http://genforum.genealogy.com/ny/all.html. MAMA stored its maximum value of 65,535, but a live analysis showed 146,376 comments in a 9.2MB HTML file!



Tags:
 
 
Very True Mood: sick
 
 
Steve Pugh
06 November 2008 @ 06:28 pm
This is probably the strangest advert I've seen on Facebook. In fact it may be the strangest advert I've seen anywhere. Anyone want to bid on a cat scab?
 
 
 
Very True Mood: confused
 
 
Steve Pugh
03 November 2008 @ 10:16 pm
This wasn't the post I was going to write tonight, but whilst double checking my facts (What? Come on, no on fact checks these days!) I discovered that the problem I wanted to write about was in fact limited to the one browser that I had been using to at the time - Opera.

I've been using Opera as my primary browser for a long time, since version 3 in early 1998. Back then it was like a breathe of fresh air compared to Netscape and Internet Explorer - so much faster, so more more secure, so many customisations possible. Subsequent releases added features that have gone on to be adopted by almost every other browser.

But in the last year or so, something has gone a bit wrong. I now find myself using Firefox to read Gmail at home (but, oddly, not at work) because neither of the two ajax powered interfaces work reliably in Opera. Likewise I post to this blog using Firefox because the plugin I use for crossposting to Live Journal breaks the 'write post' page interface in Opera. If I'm trying to geocode a batch of photos in Flickr then Opera will often hang or refuse to display the maps.

The problems are not consistent (as I said, I can use Gmail at work but not at home) and can't really be pinned down to a fault with either the browser itself, the coding on the sites or my set up. It's just a combination of all three which is making Opera increasingly unreliable when it comes to Rich Internet Applications (RIAs).

Look at the release notes for recent versions of every major and you'll see that performance, especially RIA performance, is a major goal at the moment. Opera is rightly famed for its overall performance and speed on normal web pages but it seems to me that the performance with ajax requests is lagging behind other browsers.

Will I switch to Firefox anytime soon? I doubt it. I have ten years worth of experience with Opera - I know its quirks and secrets and it has so much that I need available straight out of the box - how many Firefox addons would I need to do the same? Is there even an addon that replicates something as simple as Opera's "paste and go" function?

The fat lady isn't singing yet; but she is warming up, just in case.
 
 
Very True Mood: frustrated
 
 
Steve Pugh
02 November 2008 @ 07:40 pm
The death of Studs Terkel on Friday means that Paul moves up to joint second place in this year's deadpool game.

Annoyingly, I can't update the web site, or upload some changes I've made to the templates for this blog because FTP to both servers is broken. One reports an authentication error and the other a timeout error. :-(

 
 
Very True Mood: annoyed
Very True Music: Arctic Monkeys
 
 
Steve Pugh
15 October 2008 @ 01:40 pm
Opera Software have been busy (sadly not busy fixing the problems Opera browser has with Gmail) and have released the findings of MAMA - a huge study into what the web looks like at the code level. I love this sort of study, but I am a huge geek.

This made me laugh out loud, from the part of the survey looking at whether HTML validates:

Authoring feature usedCriteria used to matchQuantity validatingTotal quantity using technologyPercentage validating
IIS Web ServerDetection of "iis" string in HTTP header Server field24,743883,8542.80%
Apache Web ServerDetection of "apache" string in HTTP header Server field110,8342,347,3285.38%


Pages served from IIS are nearly half as likely to validate as pages served from Apache. Is anyone surprised by that finding? Is it due to the difficulty of making ASP (classic or .NET) output valid code or is it due to the mindset of the typical ASP developer?

Tags:
 
 
Very True Mood: cynical
 
 
Steve Pugh
04 October 2008 @ 12:39 pm

"At this time, support for is available only when running on Windows with the latest Firefox browser or Microsoft Internet Explorer 5.0 or greater."

I find it quite hard to believe that the service will work okay in IE 5.0 (released in 1999!) but not in nine years newer browsers like Opera 9.5 and Safari 3.

Has it been tested at all in Opera?

Depending on the response I get I may reveal which site the original message came from.



Tags: ,
 
 
Steve Pugh
01 September 2008 @ 09:00 pm
I came across a nice juicy bug in Internet Explorer today. New to me, but not to everyone else.

The short version is, if you change the useMap property of an img node then when the new map has fewer area nodes than the old one, IE will crash.

The good news is that it seems to be fixed in IE 8 beta 2. So we can stop worrying about this bug in ten years or so time...
 
 
Very True Mood: cynical
 
 
Steve Pugh
10 June 2008 @ 06:47 pm
I've been meaning to learn how to use a JavaScript library for some time. I first learnt JavaScript when it originally appeared in Netscape 2 and wasn't working with it much in the years when it was knocked into shape by some proper programmers, so a library seemed to be the best short cut to more modern coding styles.

Continue reading this Very True Thing
 
 
Very True Mood: chipper
 
 
Steve Pugh
06 June 2008 @ 07:29 am
@media 2008

Better late than never, what did I make of @media last week?

  • Number of talks that included LOL Cats: 1½
  • Number of talks that included Rick Rolling: 2
  • Number of talks that included comedy graphs: 2
  • Number of talks that included mention of Twitter being down all the time: I lost count, but at least 4

There are a few technical subjects (HTML 5, WAI ARIA, jQuery) that I hope to post more about later so here are a few impressions of each session:

Jeffrey Veen included some of my favourite charts in his talk (I have favourite charts/graphs/maps - what do you mean that you don't?). Indi Young made me think that every single project I'd ever worked on had been poorly planned. Drew McLellan says "everyone hates their CMS" and he's right. According to Stuart Langridge the fact that we use 410 responses on VisitLondon.com puts us in a very elite group. Nate Koechley explained why what I do is really very important. Richard Ishida baffled the audience with Unicode.

Good fun all round, roll on 2009.

Tags: , ,
 
 
Steve Pugh
27 April 2008 @ 06:26 pm

Found this in some third party JavaScript I had to incorporate into a site.

var today = new Date();
today.setTime(today.getTime());

The two lines are exactly as written, one after the other within the same function. Can anyone tell me a situation in which the second line is not completely redundent?

Tags:
 
 
Very True Mood: confused
Very True Music: XTc vs. Adama Ant - They Might Be Giants