Simon Willison’s Weblog

Subscribe
Atom feed

Blogmarks

Filters: Sorted by date

On packaging. James Bennett discusses the problems with setuptools (and ruby gems), and recommends Ian Bicking’s pip as a setuptools replacement.

# 14th December 2008, 4:57 pm / gems, ian-bicking, james-bennett, pip, python, ruby, setuptools

Showers and UI design. UI issues aside, why is it so hard to build a shower where the settings for freezing cold and scaldingly hot are more than a couple of millimeters apart?

# 14th December 2008, 8:21 am / matthew-garrett, showers, ui, usability

ZooBorns. Best blog idea ever: news and photos of baby animals born in zoos around the world. Nicely categorised as well.

# 13th December 2008, 10:18 pm / animals, babyanimals, blogs, cute, zooborns, zoos

Scaling memcached at Facebook. Fascinating techie details on how Facebook forked memcache to use UDP and increase performance from 50,000 requests a second to 200,000. Now running on 800 servers with 28 TB of memory, and their code is on GitHub. (They may scale like crazy, but they can’t put their blog entry title in the title element?)

# 13th December 2008, 10:08 am / facebook, memcached, scaling, udp

ETags And Modification Times In Django. Part of Malcolm’s series of tutorials on implementing advanced HTTP concepts in Django.

# 13th December 2008, 9:49 am / caching, django, etags, http, malcolm-tredinnick

Yahoo! Query Language Console. Neat developer tool for playing around with YQL.

# 13th December 2008, 9:39 am / console, yahoo, yql

YQL—converting the web to JSON with mock SQL. YQL just got a whole lot more interesting to me—I had no idea they were exposing an HTML and RSS scraping tool over a JSONP API in addition to all of the Yahoo! web service methods.

# 13th December 2008, 9:39 am / html, json, jsonp, scraping, sql, yahoo, yql

Freebase Sets (via) Give it some topics and it will tell you what they have in common and show further topics matching the same rules. Kind of like the old Google Labs sets tool but this one shows its workings.

# 13th December 2008, 9:26 am / freebase, freebasesets, sets

Extending jQuery’s selector capabilities. I already knew this was possible, but the examples James Padolsey provides are eye-opening—I especially like his clever :data selector extension which lets you write CSS selectors that query against jQuery’s custom “data” DOM element storage in a manner similar to CSS2 attribute selectors.

# 12th December 2008, 6:05 pm / css, james-padolsey, jquery, selectors

Facebook’s new signup process. It looks like they’ve dropped the “enter your password twice” pattern. Is this really a good idea? I suppose if people mis-type it they can always use forgotten password to set a new one.

# 12th December 2008, 11:43 am / facebook, passwords, usability

lxml: an underappreciated web scraping library. I just wish I could get the wretched thing to install on OS X Leopard without resorting to MacPorts.

# 11th December 2008, 9:54 am / ian-bicking, lxml, macports, python, scraping

Spock Proxy. A MySQL Proxy fork (no Lua) that concentrates solely on sharding, by parsing incoming SQL statements and redirecting them across multiple databases. There are some limitations on the SQL that can be handled (no nested queries, joins across a maximum of two tables) but generally it looks pretty impressive.

# 11th December 2008, 9:49 am / databases, mysql, scaling, sharding, spockproxy

Visual Event. External code loading bookmarklet that visualises the JavaScript events hooked up to the current page, and lets you view the source code of the event handling function for each one. Only works for events added by jQuery, YUI or MooTools since those libraries maintain a cache of event handlers that they add, to work around the standard DOM’s omission of handler introspection.

# 10th December 2008, 3:38 pm / allan-jardine, bookmarklets, dom, events, javascript, jquery, mootools, visualevent, yui

Conern over London parks vote. London is allocating 4 million pounds to improve parks around the city based on the results of an internet vote. Tom Steinberg: “Anyone in my team could knock up a script to vote with plausible looking data thousands of times, in about 30 minutes.”

# 9th December 2008, 1:25 pm / edemocracy, londonparks, tom-steinberg, voting

BBC Programmes iPhone webapp experiment. More clever BBC hackery from Duncan Robertson, a really classy iPhone web app for viewing the BBC’s TV schedules, built against the BBC Programmes API with source code available.

# 8th December 2008, 6:21 pm / bbc, bbcprogrammes, duncan-robertson, iphone

Noncontiguous area cartograms. a.k.a. really funky data visualisation maps. Includes lots of examples, plus ActionScript 3 source code.

# 8th December 2008, 6:03 pm / as3, cartograms, flash, maps, visualisation

ptth (Reverse HTTP) implementation in a browser using Long Poll COMET. Donovan Preston experiments with the cleverly named idea of ptth, where servers send HTTP requests to clients.

# 8th December 2008, 5:22 pm / comet, donovanpreston, http, ptth

Kapow SMS Gateway. Looks like a solid provider for sending and receiving SMS messages, with APIs provided over both e-mail and HTTP in both directions.

# 8th December 2008, 5:05 pm / kapow, mobile, sms

OurDelta Builds for MySQL (via) A community supported “alternative distro” of MySQL, incorporating new features from Google and other sources by maintaining a clean set of patches against the MySQL source tree (which I guess is why it’s not considered a fork). I recognise some of the patches from the excellent “High Performance MySQL, 2nd Edition”.

# 8th December 2008, 4:20 pm / google, highperformancemysql, mysql, open-source, ourdelta, patches

How I Use TextMate. “Ack in Project” is a brilliant replacement for TextMate’s disappointing single threaded “Find in Project” feature.

# 6th December 2008, 10:32 am / ack, alex-payne, textmate

pyquery. “A jQuery-like library for Python”—implemented on top of lxml, providing jQuery style methods for manipulating an HTML or XML document.

# 6th December 2008, 9:53 am / jquery, lxml, pyquery, python, xml

Warcraft account security. Apparently Blizzard have been selling two factor authentication key fobs for World of Warcraft for about six months.

# 6th December 2008, 9:52 am / blizzard, nelson-minar, security, twofactor, worldofwarcraft

Python 3.0. “We are pleased to announce the release of Python 3.0 (final), a new production-ready release, on December 3rd, 2008.”

# 4th December 2008, 12:38 pm / python, python3, releases

Secret Geek A-Team Hacks Back, Defends Worldwide Web. Wired’s take on the story of Dan Kaminsky’s breaking-the-internet DNS vulnerability. Horrible headline.

# 3rd December 2008, 11:10 am / dan-kaminsky, dns, security, wired

Getting OpenID Into the Browser. David Recordon makes the case for online identity management as a key browser feature (I like the “your browser is currently locked” concept), and argues that Gears is in a great position to deliver it.

# 3rd December 2008, 10 am / browsers, david-recordon, gears, identity, openid

24 ways: User Styling. The web geek advent calendar is up and running again this year, with a striking new design.

# 3rd December 2008, 9:08 am / 24-ways, css, design, jon-hicks, userstyles

Internet explorer mystery #1376. IE executes function definitions inside an “if (0)” block. That frightens me.

# 3rd December 2008, 9:04 am / internet-explorer, javascript, ned-batchelder

Amazon SimpleDB a complete flop? Terry asks if anyone is actually using SimpleDB (related Google searches indicate not, and I’ve personally not heard of anyone using it despite plenty of usage of S3 and EC2). One factor might be that lock-in to EC2 and S3 is pretty small, but if you rely on SimpleDB you’ll need to rewrite your entire application to escape.

# 2nd December 2008, 10:17 am / amazon-web-services, cloud, ec2, lockin, s3, simpledb, terry-jones

Years

Tags