Work at paulcarvill.com, the home of Paul Carvill on the web

link: paulcarvill at flickr

paulcarvill.com

Hi, I'm Paul Carvill and I'm a web developer. I am Head of Interface Development at LBi, Europe's largest digital agency.

I also like walking, cooking, Bollywood and rock 'n' roll.

Archive for the ‘Work’ Category

What people are saying about the Guardian’s Open Platform

Wednesday, March 11th, 2009

I’ve collected together some of the recent articles and blogposts about yesterday’s announcement of the Guardian’s Open Platform strategy and, below, some of the first apps that people have built:

And here are some of the first apps that people have built using the Open Platform API:

Guardian Open Platform

Wednesday, March 11th, 2009

There was exciting news yesterday morning, when we announced the next stage of the Guardian’s stated strategy to be the world’s leading liberal voice. The Guardian is opening out — making our content available for other people to use — and also opening in — allowing developers to build on our platform and deploy applications which extend its functionality.

So, the headlines from the announcement are:

  • Open Platform API
    • search, query, filter and discover content, keywords and tags from the Guardian’s archive
    • contains full textual content of all Guardian articles going back to 1999
    • currently in private beta (apply for a key)
    • free for the first 5000 queries per day
    • can be used for commercial purposes (you can make money by running ads with it)
    • it will at some point in the future be ad-supported on pages using the full content
  • Data Store
    • a curated collection of data sets
    • researched, verified and attributed to its source
    • hosted on Google Docs and free to use
    • covering subjects such as diverse as US economic data, environmental statistics, crime figures and religious information
  • Data Blog
    • accompanies the Data Store
    • will provide information around the raw data: how we sourced it, why we use that particular data set, what the information might mean

This constitutes a wealth of information to announce in one go, and it may take people some time to digest it all. The really exciting thing about this move is that we’re putting the full content of our articles out there for people to use. The implications for data mining, linguistic research and deep textual comparisons are endless, and I’m really looking forward to seeing what people come up with. Having context to the data is really important, so people can do much, much more than just link back to our site using a headline or an excerpt.

The Data Store is also a really bold move. Simon Rogers, one of our News Editors, and the journalists here put amazing amounts of effort into research, and here we are returning the fruit of their labour into the community. Of course, we use that research to report and editorialise, but here we give you the opportunity to derive your own patterns and meaning from the same data. The fact that this stuff has been manually sourced, collated and published makes it mean so much more, and I’m sure people, including other journalists, will find it an increasingly useful source of information for years to come.

I’ve collected some useful links here which are specifically related to the Open Platform:

I’ve also collected some of the news coverage and blogposts about the announcement here:

New Horizons Youth Centre film screening

Friday, February 27th, 2009

I was lucky enough to be invited to watch a screening of the short film In The Pod by the New Horizons Youth Centre, a charity based in King’s Cross who I will be working with as we develop their website.

The film is on the subject of gang culture and knife crime, and was created by young people from the Youth Centre itself, using broadcast quality equipment provided by them.

The film is moving, enlightening, funny, sad and shocking.  One of New Horizon’s patrons, Channel 4 news anchor Jon Snow, features in the film, and was also in attendance at the screening, having cycled to The Scala directly after reading the news that evening.

The film covers subjects such as how safe people feel on the streets, if they would ever carry a knife or other weapon, what they understand by Postcode Wars, and how we might go about stopping young people killing each other on the streets.  One of the most poignant moments in the film comes when a man dressed like a pearly king, looking back on his life of crime and gangs, says,

“You don’t need guns!  You don’t need knives!  In my day it was just these,”

and holds up his two clenched fists, to much loud laughter around the room.

Also on display at The Scala, who had donated the venue free for the evening, was the original pod, a painted, wooden construction made by the Women’s Group a the Centre, and a photographic collection made by the Men’s Group.

New Horizons will be using their film as an educational tool, taking it around schools and colleges.

You’ll miss me when I’m gone: IE6, cross-browser consistency and device independence

Saturday, February 14th, 2009

A flurry of IE6 related activity on the web this week coincided with a discussion we are having at The Guardian on the same subject. We have been talking about the relative benefits of keeping website performance in IE6 consistent with that of other browsers, and the disproportionate amount of work this requires on the parts of developers and the QA team. We’ve been trying to figure out better processes to reduce the number of styling bugs in IE6, while not compromising the user experience or the hard work put in by our design team.

It turns out people have surprisingly strong views on cross-browser consistency. For some, IE6 represents much more than just ‘a browser’. It also represents, variously: a large market share; an important group of corporate users; a user’s freedom to choose whichever device she wishes to browse the web. Once you start dropping a browser for technological reasons, the argument goes, you might as well arbitrarily drop support for anything which you consider below par – mobile browsers, text browsers, people with small monitors.

The opposing view says that IE6 is many years old and two versions out of date, a huge security risk and a drain on resources. We shouldn’t be pandering to slow or paranoid IT departments who refuse to upgrade their systems. Anyway no one chooses to use IE6, it is forced upon them by said IT departments.

I’m loath to branch the code to produce a separate version of the site for any reason, be it a device or a browser. But I also see the amount of pain IE6 causes developers, especially when they’re trying to do something fancy with JavaScript, and even more especially trying to do so without using a standard library which might easily provide you with cross-browser methods for doing stuff.

I support IE because I have to. But I do also believe strongly in wide accessibility, through as many devices as possible. We should assume nothing — nothing — about how our users access the web. But I don’t think this is the point here. The point here is adhering web standards, which apply to both code and content. Remember, the content itself — the information — usually isn’t broken. It’s what you’re trying to do with it that’s broken. The CSS and the JavaScript. Go back to Tim Berners-Lee’s 2002 document on universality and device independence for a lesson in what putting stuff on the web is all about. Work with the web, not against it. It’s really good at presenting and sharing text and pictures. But it’s not a magazine layout. Berners-Lee once said,

“Anyone who slaps a ‘this page is best viewed with Browser X’ label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network.”

We can infer from this that a site isn’t ‘best viewed in’ anything: it’s just ‘viewed’, however it might end up. So, yes, your site might look lovely, but if getting it there is so complex that it breaks browsers, or takes up 50% of your development time, then you’re plainly doing something wrong.

Try taking your page back to basics, get rid of the awful advertisement JavaScript and the three different kinds of page tracking, and start paying more than just lip-service to web standards and accessibility. That XHTML doctype declaration you’re using, trying adhering to it. There, it probably works a lot better now, yes?

But ultimately, and as usual, I think the whole issue comes down to a business decision: how much time/money are we spending on development versus how much money that development brings in. It’s a brave person who decides to cut off 25% of their users.

Some points that came up as part of our ongoing discussion:

  1. Should the design be 100% consistent across all browsers, or would our designers be happy to sacrifice certain style elements? We currently stop a code release if something looks bad in IE6, although we have already made one or two decisions to remove an element from IE6 in order to expedite a code release. In both cases we ran things past the Guardian’s Creative Editor, Mark Porter, before doing so.
  2. If you want to drop suport for IE6, you have to completely and utterly drop support for it. And in all likelihood never look at it again. Because the next time you do, it will be horrifically broken. Stopping development on that browser doesn’t just mean it won’t get cool new features. It still gets the features, but they won’t be tailored to it, and will break it. That smart Javascript widget you just wrote? That breaks the page in IE6. Some new element you put in with a fixed width and margins? That breaks the page in IE6. You have to cut the cord. Be strong, give it a firm handshake and say goodbye.
  3. Turns out Microsoft haven’t quite cut the cord yet, though. Microsoft support Windows XP Service Pack 3 as a current product (it shipped in April 2008), and will retire support for it 2 years after the next service pack is released, or at the end of the Windows XP product lifecycle, whichever comes first. IE6, which shipped as a component of XPSP3, continues to have Mainstream Support as part of that product:
  4. Our current browser usage figures look like this:
    • IE 7: 35%
    • IE 6: 25%
    • Firefox 3: 25%
    • Safari: 7%
    • Firefox 2: 3%
    • Google Chrome: 1.5%
    • Opera: 0.5%
  5. We currently have a problem even testing in IE6, because the corporate build on the PCs we use doesn’t contain it, it has IE7 as standard. And you can’t run IE7 and IE6 concurrently. Ironically, our technical infrastructure is sufficiently advanced that we have difficulty supporting old technology.

That flurry of activity in full:

Forking hell! OSX, PHP, GD, Freetype problems? Read this…

Sunday, November 16th, 2008

So, I was trying to make a set of Moo cards, using the MOO API, as part of The Guardian’s first ever Hack Day. It’s very easy and fun to use, and I enjoyed the learning process of formatting the images and data and submitting the constructed XML to MOO to print the cards. But…

But, the formats available from MOO are quite restrictive. This is understandable, as they want to retain some control over quality and their own branding, which is held in high esteem. For example, you can only ever put an image on the front of the card, and text on the back. I wanted image and text on the front.

I was using PHP to create the XML to postto MOO, so now I needed to learn how to use ImageMagick to merge some text into the image I was using. Unfortunately I’m not a command line geek, so I tend to get stuck when someone tells me to compile PHP. Luckily, someone was on hand to help me install GD, which is considerably easier to use.

I used GD to merge text into the image using imagestring. But I wasn’t able to successfully specify the fonts to use – every image was rendered with the default system font. GD wouldn’t work. Then I tried using imagettftext. This resulted in a blank page. I was using GD 2.3.5 on PHP 5. Eventually I found a link which explains a problem with Apple’s default implementation of Freetype in GD that crashes GD if you try and specify a font.

The result? I installed Macports, and updated PHP and Apache that way, resulting in a new install with GD 2.3.7

And it’s all working now! Now I’ve gone over the problems, I’ll post a bit more about actually creating the cards next.

The Internet Fridge delusion

Thursday, October 23rd, 2008

I sat through a debate on Tuesday night that was more interesting for its audience and positioning than it was for its addressing of the motion — ‘the internet needs magazines more than magazines need the internet.’

The debate was held at the London College of Fashion just off Regent Street, and was organised by the British Society of Magazine Editors and editorialdesign.org. The audience was evidently a non-technical one, keen on understanding how the whole magazine/internet crossover thing might work. My colleague, a designer, later commented that the room was full of fear, fear that everyone’s hard won Quark or InDesign layout skills would prove insufficient for the brave new technological world. And rightly so.

The panel was made up of a variety of figures from the print world, some of whom had made forays into the web. It became obvious that we were in a decidedly nontechnical audience for whom the internet was an unknown quantity and whose main concern was replicating the magazine experience in web form.

Straight talking David Hepworth, the esteemed editor of The Word magazine and co-founder of such titles as Mixmag, Smash Hits, and The Face, nailed the argument with the night’s opening statement. Do not attempt to reproduce the magazine experience in web form. The printed word is glossy, definitive and final. The web is none of these things. To work on the web, said Hepworth, your offering must have humility, economy and personality. At least two of those things can be said to be absent from the UK’s magazine culture, with the third possibly endangered in the vast majority of the output.

Then at one point the discussion descended into one of gender politics stemming from the unfortunately all male panel.

The most glaring misjudgment, however, was uttered by Paul Kurzeja — creative director at Redwood, the world’s biggest customer publishing agency. Declaring the future to be one of technological revolution and infinitely diverse media, Kurzeja invoked that most misguided of delusions — YOU WILL HAVE THE INTERNET ON YOUR FRIDGE.

Why does this crazed obsession with the assumed permeation of technology into every area of our lives persist? I suggest it’s more an allusion to the quotidian nature of the fridge, the kitchen and its intrinsic presence in our life. It also assumes that we all have a huge, family-sized tank of a fridge, big enough to fit a screen on as well as an ice-crusher, smoothie-maker and little Rupert’s simply darling hamfisted scribbles supposedly meant to be Mummy and Daddy. But, really, I think the ‘empty bottle of milk’ is a perfectly adequate graphical model for the average consumer to reference when considering whether or not to buy more cow juice. Don’t you?

I’m watching you

Wednesday, July 16th, 2008

Weird, but very cool – doing user testing for the Guardian website. We hide behind a mirrored window while they use our website. You will find out things you know, things you don’t know, and things you don’t know you don’t know.

User testing for the Guardian

Web 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.31, 2.0.32, 2.0.4…

Wednesday, June 14th, 2006

putty_window_thumb.gif UpMyStreet has given me my first experience of working within a version control system for developing code, and it hasn’t been a happy one.

(more…)

Employment

Wednesday, May 31st, 2006

I’ve just conducted a few interviews (the first I’ve ever done, actually) for a CSS contractor position at USwitch, the parent company of UpMyStreet. I have to say I was shocked at the sheer audacity of some of the candidates, some of whom appeared to have only the merest grasp of the technical aspects of CSS coding.

(more…)

On the move

Tuesday, February 28th, 2006

upmystreetlogo.gifSome very exciting news – I have a new job! In a couple of weeks I start work with UpMyStreet.com.

UpMyStreet.com lets you search and compare information localized to specific postcodes, towns or other geographic regions. They can help you choose new places to live, save time and money in and around your home, and find local shops and services. Most importantly they are independent and impartial, which means they don’t artificially weight search results or give priority for payola.

(more…)