Archive for the ‘WWW’ Category

Latest storm in a teacup over at LiveJournal is worth a few notes.

Much of the functionality in the latest release is good or at least inoffensive (pingbacks, cross-post posts to Twitter and Facebook, add Facebook Connect alongside OpenID for non-LJ users to log in and post comments). But one item, the ability to cross-post comments to Facebook and Twitter has caused a bit of a fuss (understatement, this is LiveJournal so toys have been ejected from perambulators with great vigour).

It seems like a dumb idea, badly implemented.

  1. Context
    Why cross-post a comment out of context from the post it is commenting on (and indeed out of context of an any comments it may be in reply to, LJ having a decent threading system for comments unlike some other blogging systems)? It seems pointless.
  2. Privacy
    The fact that the choice to cross-post is entirely at the hands of the commenter and ignores the privacy settings of the original post has caused the biggest fuss and rightly so. If someone posts a friends only post to their blog, then should their friends be able to share their (out of context) comments on that post with everyone on Twitter or Facebook? Well, at least you’ll find out who your real friends aren’t…
  3. Poor User Interface
    The positioning of the checkboxes for cross-posting between the comments field and the comments submit button is likely to lead to accidents. And considering the context and privacy issues such accidents will be at best nonsensical and at worst deeply intrusive.

I would never have gotten beyond the context issue if someone had brought this up in a brain storm with me. The sheer pointlessness of this function means it should never have been developed, and now that people have expressed almost entirely unfavourable opinions because of the privacy and UI issues, should mean that it gets removed rather than “fixed”.

I hope that the cross-posting of comments, and only the cross-posting of comments, is removed soon, as it threatens to overshadow the other features in this release which offer useful functionality that can enrich the LiveJournal experience for users who use it as a general blogging platform rather than a private, anonymous, slash-fiction, walled garden.

BTW, this post was created in the WordPress blog on my personal site; cross-posted to LiveJournal; syndicated via RSS; a notification tweeted; and Facebook notes will pick it up from the RSS in a couple of days. Your comments and replies will only appear in the place they were made however, unless you use (on purpose or by accident) this misguided feature on the LiveJournal version of this site.

Very True Mood: (contemplative) contemplative

  1. Reply to this post and I’ll assign you a letter.
  2. List (and upload, if you feel like it) five songs that start with that letter.
  3. Post them to your journal with these instructions.

[info]ggreig gave me the letter “W”, well he gave me “Z” first but with only eight Z-tracks in my iTunes that would have been somewhat limited so we mutually agreed to go with the second choice.

Argh! That was hard. I had a long list of about 25 and a short list of ten but getting it down to five took all evening.


What is Gordon Brown’s legacy? is a rather damning silence from the BBC.

Or if they’ve fixed it by the time you read this:

Very True Mood: (amused) amused
Tags: ,

My local candidates, assessed on the quality of their web sites.

Tessa Jowell, Labour

http://www.tessajowell.net/

IA and Design: Nice use of YouTube and Google Maps (don’t re-invent the wheel, use the market leaders where suitable). Two equal width content columns means the user doesn’t know which piece of content is more important. Labour Party banner ad at the top looks like a banner ad. Accessibility and Privacy links go to labour.org.uk so how can we tell whether they apply to this site?

Technical: Claims to be XHTML 1.0 Transitional, has 10 validation errors. Layout breaks in Opera 10.53. Email sign up things doo.doo is a valid domain name and dfsfsfd a valid postcode. JavaScript for TinyMCE and something call admin-interface.tao are loaded on every page – maybe these should only be loaded on admin screens?

Kemi Adegoke, Conservatives

http://kemi.adegoke.com/

IA and Design: Best looking site, not much else to say about it – simple but efficient.

Technical: Based on WordPress. Claims to be XHTML 1.0 Strict, has 85 validation errors. Kemi claims to “enjoy web development and writing the occasional bit of code”. Layout breaks very slightly in Opera.

Jonathan Mitchell, Liberal Democrats

http://www.jonathanmitchellsblog.com/

IA and Design: It’s a Blogger blog – with commenting disabled. Only been blogging since February apparently. Black text on a mid-green background. All the text is in bold.

Technical: It’s a Blogger blog – claims to be XHTML 1.0 Strict, has 363 (!) validation errors.

Shane Collins, Green Party

Couldn’t find an individual site, so http://www.greensarecoming.org.uk/ShaneCollins

IA and Design: Video should probably be instead of mugshot instead of tucked away at the bottom. Otherwise clean and efficient, if a bit basic.

Technical: Claims to be XHTML 1.0 Transitional, has 41 validation errors.

Elizabeth Jones, UKIP

Couldn’t find an individual site, so http://candidates.ukip.org/index.php?pg=show&eid=578

IA and Design: Photo looks like it came from MySpace. Nice use of UGC in the Q&A section (but … how can blood sports be “a matter for the individual to decide”?)

Technical: Claims to be XHTML 1.0 Transitional, has 131 validation errors. URL is terrible from an SEO perspective.


So, we’ve learnt that the big parties spend more on web sites than the little ones; that no candidate can make a site that actually validates; that XHTML is hands down winner over ye olde HTML 4 or bright shiny new HTML5. Not much help in actually deciding to vote for. :-(

Tags:

I always enjoy Peter-Paul Koch’s blog posts even though currently I’m only on the very distant edge of the mobile world (as a user I use my phone for making the occasional phone call and nothing much else, as a developer I’m dipping my toes in the world of mobile web and couldn’t care less about apps). Today’s seems to sum up the situation with Apple perfectly:

Is it a good idea for Apple to go to war against several major players and piss off developers all at the same time?


This week I converted a site from XHTML 1 to HTML5, and as part of this I moved the ARIA landmark role attributes from generic div elements to various new elements. And I got to wondering whether this could have unforeseen consequences.

I know from feedback that the ARIA landmark roles have proved useful for some users of this site, so it would be a bad move if this stopped working because their screen readers didn’t recognise the role attributes on “unknown” elements.

<div role="banner"> vs <header role="banner">

I guess what this boils down to, are there any user agents that (a) support the role attribute and (b) use the DOM as generated by a browser engine that fails to recognise HTML5 elements?

Firefox 2 and Internet Explorer won’t style HTML5 elements (though IE will after applying a little JavaScript magic) but styling isn’t the same as recognised at a basic level.

This seems like an edge case, as most of the reports I’ve found whilst searching have indicated that HTML5+ARIA is a good thing and works, but most of the reports don’t specify versions of user agents used. Does anyone have any links to first hand research into this issue?

Very True Mood: (curious) curious

As a follow-up to Desert Island Discs, the team at work have been doing our top ten films, and this week was my turn. The only condition was that one of the ten had to be set in London. Once again, I’ll be buggered if I’m writing all this lot up and not turning it into a blog post.
My Top Ten Films... )


Via [info]lonemagpie

Your result for The Steampunk Style Test…

The Citizen

25% Elegant, 17% Technological, 67% Historical, 56% Adventurous and 29% Playful!

more... )

Try our other Steampunk test here.

Take The Steampunk Style Test at HelloQuizzy


I’ve started using Google Closure Compiler instead of JSMin to reduce the size of my JavaScript files. It’s an obsessive piece of software, finding savings such as replacing the number 1000 with the one byte more compact form 1E3. But those bytes all add up as it’s reduced an 80Kb file to 44kB compared with 51Kb from JSMin.


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