Entries
Filters: Sorted by date
Gecko beats IE!
I haven’t looked at the statistics for this site in a few months. It turns out I was in for a pleasant surprise:
[... 103 words]Eldred Act Reasoning
Lawrence Lessig explains why the proposed Eldred Act does not go further in its aims to reclaim the public domain.
IRC on your mobile
Russell Beattie has posted an enthusiastic description of a new IRC application for his mobile phone. It looks really neat, but what got me really interested was his post today about his new laptop:
[... 148 words]Origin of “list comprehension”
Via Jarno Virtanen, a comp.lang.python post explaining the origin of the term “list comprehension”, Python’s clever alternative syntax for filtering lists (see this chapter of Dive Into Python). The term comes from set theory; it’s nice to know that stuff was worth learning after all ;)
Python generators for database result sets
I’ve read several articles on Python generators now, and I had almost got my head around them, but then I read this: Iterators and Databases by Andy Todd, which demonstrates a simple but intuitive way of using generators to iterate through rows from a database query without having to load all of the rows in to a list in memory first. Brilliant.
[... 165 words]Accesskeys on ALA
Accesskeys: Unlocking Hidden Navigation is the first new technical article on A List Apart in months. I didn’t think there was much that could be said about accesskeys, but the tutorial has some nice ideas to help make them more obvious without being too intrusive. I think the approach demonstrated by the The Ontario Ministry of Energy site is the most appealing, with single letters corresponding to accesskeys underlined as they are in application menus.
Another MP Blogger
Fantastic! Tom Watson has now been joined by Richard Allan (Liberal Democrat MP for Sheffield Hallam) in the ranks of MPs with their own weblog. It looks like it’s going to be really good; Richard is something of a geek (he runs RedHat 8.0 at home) and in one of his first entries he takes advantage of his position as an MP to extract information from Tiscali about broadband pricing issues in the UK.
[... 123 words]Evangelism is WAR
Evangelism is WAR is a fascinating account (actually, the first chapter of an upcoming book) of the principles behind Technical Evangelism at Microsoft and the methods they use to establish their platforms as the dominant players. It’s author is James Plamondon, who worked at Microsoft as a Technical Evangelist for 8 years. It’s a great read, and it’s also entertaining to see developers and customers referred to as “pawns” throughout. Found via a link on the Mozilla Tech Evangelism site.
Further more...
By coincidence, Jeffrey Zeldman just posted something in a similar vein to my previous rant, looking at things from a different angle:
[... 181 words]Missing the point
The Register’s coverage of the end of development for IE on the Mac makes some worrying conclusions:
[... 506 words]Tim Bray on search
I love it when bloggers stick to their word. The other day, while describing a quick Perl hack that really impressed a major client a few years ago, Tim Bray mentioned the following:
[... 240 words]Improving label element discoverability
My good friend Andy is soliciting applications to be his other half via his blog. He’s a lovely guy, so go sign up! More importantly, the stylesheet for his romance test includes this gem:
[... 98 words]More practical benefits of web standards
D. Keith Robinson recently launched the redesigned website for the Washington State Drowning Prevention Network. He has written a fascinating account of the development process used for the site, which validates as XHTML 1.0 Transitional and uses CSS for layout. The following extract in particular caught my eye:
[... 199 words]Aha!
Well that explains an awful lot. I was getting a huge number of complaints about lost comments when people were told off by my comment HTML checker, so it’s nice to know that the problem wasn’t entirely my fault! I fixed the problem (and dramatically improved the usability of the system as a whole) a few days ago by adding a proper preview / re-serve the form ability to the comments system.
Javascript, the DOM and application/xhtml
One of the side-effects of switching my blog to serving pages as application/xhtml+xml to browsers that support it (mainly Gecko engine browsers) was that my blockquote citations script simply stopped working in those browsers. The reason this happened is touched upon by Mark Pilgrim in The Road to XHTML 2.0: MIME Types: essentially, when dealing with XML documents Gecko needs you to use document.createElementNS in place of document.createElement when manipulating the DOM.
Phil Ringnalda on Firebird extensions
Phil Ringnalda writes about Firebird extensions:
[... 188 words]More CSS Zen Garden submissions
The CSS Zen Garden is growing at a pretty impressive rate, with another three submissions since I last checked it a few days ago: Friendly Beaches, Calm & Smooth and Viridity. Also added recently is What Lies Beneath, which is unique in being the first horizontally rather than vertically oriented layout. It’s a shame there’s no automated way of tracking the garden (an RSS feed of new submissions for example) as I keep on forgetting to check back for new material.
Course management systems
Via EdTechDev, this report on the important characteristics of course management systems makes very interesting reading. I’ve been considering doing something along these lines for my final year project at University, but I hadn’t realised how much work had already been done in this field. It still looks like an area with a lot of space for improvement though.
time_since()
I’ve changed the date heading for each post to display the relative time since the entry was posted, rather than absolute the date and time. My main reason for doing this is that it solves the timezone problem; all times on this site are in GMT, but the majority of the site’s visitors are likely to be in different timezones. Showing the time elapsed since the entry was posted serves everyone regardless of their location.
[... 126 words]Small design tweak, big difference
I’ve changed from using the day as the principle heading on the front page to using the title of each post instead. This is quite a minor alteration, but I expect it to have a relatively large impact on my blogging habits. For the past year I have treated my blog as a daily endeavour, thanks almost entirely to the way the site was layed out. This was intentional; when I orginally launched blog I made the decision to keep each entry as part of an ongoing narrative, with no individual entry titles and permalinks to entries in the context of the day they were posted.
[... 270 words]The reason monopolies are a bad idea
I wasn’t planning to cover the recent AOL and Microsoft announcements as they’ve been covered to death elsewhere by people with far more insight than myself, but this third piece of news seems to bring things to a head: Microsoft have announced the end of development of Internet Explorer for the Mac. I’ve never really had access to this browser but I’ve read enough to know that it was the first full browser release to take web standards seriously, and as such plays a very important part in the history of the web standards movement. It’s sad to see it come to an end, but it also raises yet more questions about the direction Microsoft is taking with regards to the web.
[... 571 words]One year of blogging
Today marks the first anniversary of the start of my blog (and, by a slightly contrived coincidence, my thousandth blog entry). It’s been a fun year. Here are my highlights—if you can’t stand lengthy self-congratulatory bullet points, stop reading now.
[... 666 words]Official film sites almost always suck
Why do official film sites almost always suck? www.x2-movie.com is a prime example: 100% Flash, ridiculous loading times (and I’m on broadband), totally unintuitive interface, tedious, unnecessary animations every time you click on anything and when you finally get to the content (all I could find was the “Mutant Database”) it gives you hardly any information above what you get by watching the film! It looks pretty (pretty expensive at any rate) but really is nothing more than a glorified trailer.
[... 347 words]Safely consuming RSS: RegExps don’t cut it
Mark Pilgrim highlights the severe security issues introduced by RSS aggregators that display potentially unsafe HTML, often executing it in the “secure zone” generally reserved for trusted local documents. Mark suggests a number of dangerous tags and attributes that should be removed before display. Unsurprisingly, regular expressions have cropped up in the comments as the suggested solution. Jamie Zawinsky famously once posted the following to comp.lang.emacs:
[... 396 words]Structured content defined
Peter Van Djick: The structure of content and metadata, a glossary style overview of important concepts in structured content and website metadata. Peter also links to Victor Lombardi’s excellent Metadata Glossary.
Eric Meyer Redesigns
Eric Meyer has released a new selection of designs over on Meyerweb. The designs are inspiring, and Eric’s CSS is well worth perusing for style tips and insights in to reliable methods of creating relatively complex layouts.
Under the Iron
Under the Iron is a series of interviews with interesting people. The most recent three include one with Mark Pilgrim, which talks in part about Mark’s reasons for creating diveintoaccessibility:
[... 140 words]Authentication via POP3
Authenticating users through a third party POP3 server (Python sample code provided) is a really interesting idea, but one that I don’t think could ever be used in the wild. Firstly, I haven’t the slightest idea what my POP3 password is as I tend to save it in my mail application and forget about it. Secondly (and more importantly) is trust: how many web sites do I trust enough to give them my email password whenever I log in?
[... 133 words]