Entries
Filters: Sorted by date
The return of the Spong Monkeys
Via Eric Meyer, at least I’m not the only one selling out. Joel Veitch’s infamous Spong Monkeys can now be seen in two TV ads for Quiznos sandwhiches: We love the subs and Take a buck off (Quicktime movies). It’s nice to see such awesome and uniquely British talent recognised at a global level.
I’ve sold out!
What can I say—the lure of the mighty dollar proved too much. I’ve just made my first post to my new client-side scripting blog over at SitePoint, as a paid columnist.
[... 244 words]No more usernames in URLs
This one could get very interesting. Microsoft have announced that an upcoming update to Internet Explorer will remove the ability to include usernames in URLs completely. This is in response to the growing problem of so called “phishing” scams, which use trick URLs to con important information such as passwords and credit card details out of unsuspecting browser users.
[... 730 words]Iterating over a sequence in reverse
At work today we stumbled across a situation where we needed to display a list of items in reverse order. The decision to show them in reverse is made in the presentation layer, so altering the code that generates the list in the application logic layer would add coupling between the layers that we would rather avoid. Python’s reverse() function acts on a data structure in place, which we would rather avoid as well. Then we realised that Python’s generators could be used to create a proxy around the sequence allowing us to cycle through it in reverse without altering the sequence itself. Here’s the code:
[... 242 words]Solving comment spam
There are two main schools of thought concerning comment spam: the optimists and the defeatists. Optimists believe that comment spam can be beaten with technology; defeatists (maybe I should call them pessimists) believe that comments are as doomed as email and we’re all going to hell in a hand basket.
[... 967 words]Simple tricks for more usable forms
My second article for SitePoint has been published: Simple tricks for more usable forms. It examines a whole bunch of CSS and Javascript tricks for improving the usability of web based forms without impairing their accessibility to clients that don’t support those technologies. The article has already had some useful feedback on the forums, including the valuable observation that auto-selecting the contents of a form field when it receives the focus can have a negative effect on the usability of Unix browsers, where mouse buttons are frequently used for coping and pasting.
Defending web applications against dictionary attacks
Over at Reflective Surface, Ronaldo M. Ferraz discusses the usability of an authentication system that locks down an account for a certain period of time after three failed login attempts. Ronaldo sees this as a trade off between usability and security, but I see it more as an added security issue in that it allows malicious third parties to lock other user’s accounts armed only with their username.
[... 398 words]Moveable Type now kills PageRank on comment links
This is pretty cool: Moveable Type 2.661 is out and includes a whole bunch of comment spam fighting features, including one inspired by my own anti-spam measure of disabling PageRank on links from comments by sending them through a redirect. This is great news for me as the redirect acts as a deterrent, and deterrents are only worthwhile if people know about them in the first place. With the most popular blogging system (at least amongst comment spammers) now featuring the same deterrent hopefully SEO spammers will start to get the message.
You mean there IS an IE team?
Robert Scoble went to lunch with the head of the Internet Explorer team—yes, they still exist, despite having released nothing but security patches for over two years.
[... 220 words]Doing more with the iSight
The iSight came close to being the biggest disappointments of my new Mac experience. It looks gorgeous and appears to integrate seamlessly with iChat AV, although as I don’t currently have any contacts with an iSight I haven’t been able to try video conferencing yet. The dissapointment is that there was no clear way of using it to capture video directly—a feature that I reasonably expected from iMovie. Apple’s knowledge base knocks the point home pretty clearly:
[... 206 words]Backseat driving
Just one of the many gems to be found in Greg Knauss’ Devil’s Dictionary.
[... 46 words]Mac-tastic
Sorry for the radio silence; I’ve been playing with my new Mac. It’s been an almost entirely positive experience—it’s certainly the most enjoyable computer I’ve ever owned. I’ve also only crashed an application once so far—bizarrely it was the Terminal while accidentally pasting in a whole bunch of junk. Other than that the system stability and performance is excellent—and it’s only running on 256 MB of RAM while I try and find one of those tiny screwdrivers to install the upgrade.
[... 801 words]A hacker’s introduction to OS X
What is Max OS X by Amit Singh is hands down the best introduction to that operating system I’ve ever come across. It’s aimed at a technical audience, does a very good job of keeping a fair balance balanced when comparing OS X with other operating systems and has taught me a whole bunch of interesting things about the system.
[... 294 words]PaWS 2004
Here’s an interesting topic for a conference: PHP and Web Standards, to be held in Manchester from February 20th to the 24th. I’ve devoted a lot of time and energy to combining the two for this blog—it’s a shame I’ll be out of the country when the conference rolls around. I should be able to make it to SXSW this year though.
Decentralised social networking
I know I’m late to the party, but my recent experiments with LinkedIn and Friendster have got me all interested in the potential of software that bulids on top of people’s own social networks. There’s just one thing that’s been bugging me, best explained by this quote from Om Malik:
[... 258 words]Targets for 2004
Looking back on 2003, one thing really stuck out for me: I didn’t learn a new programming language. The Pragmatic Programmers recommend learning at least one new language every year, and I’ve heard similar advice from other notable authorities; Ruby’s Matz made a similar point in an article published just the other day.
[... 208 words]Happy New Year!
Happy New Year to all my friends back in the UK. Of course, here in Kansas it’s only 6pm. Gotta love those time zones (Second worst idea ever. (See DaylightSavingTime) A nightmare from which we can never escape. Think JetLag is bad? TimeZones are worse, because we all have it, and they won’t go away after a few oddly timed naps.
)
Installing psycopg on Red Hat 9
Adrian Holovaty and I spent some time today figuring out how to get the psycopg Postgres module to install on Red Hat 9. It took a while, but eventually we tweaked the spec file and used it to compile our own RPM. I’ve posted our modified spec file to the psycopg mailing list. More for my own record than anything else, the arcane incantations needed to create the RPM went roughly as follows:
[... 151 words]Professional social software
Via D. Keith Robinson, LinkedIn is a social software system that works kind of like Friendster but is targetted at professionals. You sign up, create a profile that includes your industry and geographical area and it provides you with a number of tools to find other people with similar interests. More importantly, it lets you build up a network of contacts through which you can access other people. If nothing else, it’s a great way of maintaining your CV.
[... 178 words]Javascript from Python
In a way I’m disappointed to see python-spidermonkey released. It’s a Python wrapper around the Mozilla project’s SpiderMonkey Javascript engine which allows Python scripts to execute Javascript code in a rock-solid, battle-tested embedded interpreter.
[... 187 words]A belated Merry Christmas
I’m back to work after enjoying that most precious of things: a holiday without computers. Comment spam has been deleted, email spam has been saved in a special folder (for rapid training of bayesian classifiers in the future) and the few emails of actual importance have all been flagged for follow up. Oh, and my Mac’s shipping date has slipped to the 2nd of January. If haven’t received it by Macworld and Apple drop the price I’ll be understandably upset.
Nielsen watch 2003
Jakob Nielsen’s Top Ten Web Design Mistakes of 2003 make interesting reading this year, covering topics including undated content, incomprehensible thumbnails and overly specific forms. In previous years Jakob’s complaints tended to center around far more obvious problems such as horizontal scroll bars and fixed size fonts. Either the field of web usability has matured to the point where the common issues are less glaringly obvious or Jakob is running out of low-hanging fruit.
XML highlights for PHP 5
XML in PHP5: An in-depth look into advanced XML features (via Keith) does exactly what it says on the tin. Here are the bits that caught my eye:
[... 155 words]I’ve ordered my PowerBook
Thanks to everyone who provided advice on buying a Mac—it provide incredibly helpful in making my selection. I placed my order this afternoon for a 15" 1 GHz PowerBook with a SuperDrive, backlit keyboard and 60 GB of Hard Disk space. I went with the minimum possible memory (256 MB) and plan to buy an extra 512 MB from Crucial (for less than half the price Apple charge) in a few weeks time.
[... 184 words]Atom autodiscovery test suite
Mark Pilgrim has released the Atom autodiscovery test suite, comprising 148 tests:
[... 130 words]Open Mosix
I can’t remember how I stumbled across it, but Open Mosix looks like a really interesting project. It’s a Linux kernel extension that makes creating a Linux cluster is as simple as installing a kernel module on a number of machines and supplying each one with a shared config file.
[... 310 words]