Simon Willison’s Weblog

Subscribe
Atom feed

Blogmarks

Filters: Sorted by date

The TimeToLead.eu technical stack: Django and Flex. Nice case study of a site using Django’s i18n support along with django-rosetta.

# 11th September 2008, 8:33 pm / django, flex, i18n, jp-stacey, python, rosetta, timetolead, torchbox

Prototype based programming in python. Neat implementation of JavaScript-style prototype inheritance in Python.

# 11th September 2008, 5:50 pm / javascript, prototypal-inheritance, python

The alt=“” attribute from Ian Hickson. In case you were wondering how it all ended, Hixie has a mammoth summary post explaining the facts and the potential alternatives.

# 11th September 2008, 5:45 pm / accessibility, alt-text, html5, ian-hickson

Interview with Ian Hickson about HTML5. Good questions, interesting answers, including an explanation and breakdown of the planned 2022 date for the final recommendation.

# 11th September 2008, 5:29 pm / html5, ian-hickson

Dromaeo: JavaScript Performance Testing (via) This is one classy benchmark. Run it in as many browsers as you like (each run is saved to the server and assigned a run ID), then compare the results by appending ?id=[run1],[run2]... to the URL.

# 11th September 2008, 4:06 pm / benchmarks, dromaeo, javascript, john-resig, performance

Hugely informative thread on multi-db support in Django. I brain-dumped some ideas for a Django multi-database connection API on the developer list, and got a ton of smart push-back from people who’ve been there and have the scars to prove it.

# 10th September 2008, 11:31 pm / databases, django, multidb

The web framework for ponies. At DjangoCon Cal Henderson suggested that Django should get a mascot with “magical powers”. Brian Veloso obliges.

# 9th September 2008, 11:59 pm / brian-veloso, cal-henderson, django, djangocon, ponies

django-html. A small project I’m working on to make Django behave better with regards to HTML v.s. XHTML.

# 9th September 2008, 11:59 pm / django, djangohtml, html, projects, python, xhtml

Django snippets: server with debugging backdoor. Six lines of code that uses spawning to fire up a Django server on port 8000 and a remote interactive interpreter backdoor on port 8001, so you can interogate the state of your server within the same process.

# 8th September 2008, 10:15 pm / debugging, django, python, spawning

Django tickets with keyword “djangocon”. Adrian and Jacob ran an “I want a pony” session during their closing keynote at DjangoCon—I’ve filed the feature requests as tickets tagged with the “djangocon” keyword.

# 8th September 2008, 3:02 am / adrian-holovaty, django, djangocon, djangocon08, iwantapony, jacob-kaplan-moss, python, tickets

Cappuccino Web Framework. Now open source (LGPL)—the Objective-C-in-JavaScript web application toolkit from 280 North, who are speaking at this year’s FOWA in October. Beautiful logo.

# 5th September 2008, 3:27 pm / cappuccino, javascript, lgpl, objective-c, objective-j, open-source

Think Wize crew celebrates the Django 1.0 release. With a trip to the Django Reinhardt museum at his birthplace in the village of Liberchies, Belgium.

# 5th September 2008, 1:55 pm / belgium, django, djangoreinhardt, thinkwize

The story behind Google Chrome. Superbly researched by Niall Kennedy—a detailed overview of the staff and acquisitions that went in to Google Chrome.

# 4th September 2008, 1:50 am / chrome, google, niall-kennedy

Django 1.0 release notes. What’s new in Django 1.0. Short answer: one heck of a lot.

# 4th September 2008, 1:10 am / django, python, releasenotes

Django 1.0 released! Outstanding. Massive thanks to everyone who contributed. We made it!

# 4th September 2008, 1:08 am / celebration, django, python, release

Low level hooks for multi-database support in Django. As discussed in this sub-thread on reddit: The internal Django Query class has a ’connection’ attribute which can be set by the constructor. This low level hook is the secret to talking to more than one database at once, but higher level APIs have not yet been defined. Jacob Kaplan-Moss: “As a matter of fact, at least a couple high-traffic Django sites are using the new hooks.”

# 3rd September 2008, 11:33 pm / django, jacob-kaplan-moss, multidb, python, query, reddit

dmigrations thread on Django Nashville. The Django Nashville Google Group is currently hosting the most interesting discussion of dmigrations.

# 3rd September 2008, 10:36 pm / django, dmigrations, google-groups, nashville, python

We haven’t changed the name of the conference to “Over Quota”. Aral is having intermittent App Engine quota problems, which are proving impossible to debug. I had a similar problem with an App Engine app a while ago—the quota / debugging story really needs fixing.

# 3rd September 2008, 1:37 pm / aral-balkan, google, google-app-engine

Django: Security fix released. The Django admin used to save partially-submitted forms if your session expired, and continue the submission when you logged in. It turns out that’s actually an unblockable CSRF exploit and is hence broken as designed, so it’s now been removed. Thanks Ed Eliot and other GCap colleagues for helping me flesh out the potential attack.

# 3rd September 2008, 12:14 am / csrf, django, django-admin, ed-eliot, exploit, gcap, security

V8 Design Elements. High level design details of Google’s V8 JavaScript engine, including how it uses “hidden classes” to optimise object property lookups and a bit of information on the machine code generation and garbage collection.

# 2nd September 2008, 11:58 pm / chrome, google, javascript, v8

Chromium. Google Chrome is out! Here’s the open source project, including the code for the new V8 JavaScript virtual machine.

# 2nd September 2008, 9:06 pm / browsers, chrome, chromium, google, javascript, open-source, v8

What’s New in Python 2.6. The new multiprocessing package looks pretty useful, especially as it provides a way to work around Python’s GIL.

# 1st September 2008, 9:03 pm / gil, multiprocessing, python

Google Chrome, the comic book (via) Google have finally announced a browser project, though it’s currently vapourware (or rather comicware), existing only as a Scott McCloud comic. Still, it looks fascinating—entirely open source, WebKit with a brand new JavaScript VM, every tab running in a separate process for smarter memory usage and some new UI concepts and anti-pishing measures thrown in as well.

# 1st September 2008, 7:45 pm / antiphishing, chrome, google, googlebrowser, javascript, phishing, scott-mccloud, usability, webkit

Preparing to rescue Hubble. The Big Picture has pictures of the preparations for next month’s Space Shuttle Atlantis mission to repair the Hubble Space Telescope for the last time, including a photo of astronauts practicing underwater.

# 1st September 2008, 1:54 pm / hubblespacetelescope, nasa, photography, space, spaceshuttle, thebigpicture

Google’s undocumented favicon to png convertor (via) Showing the favicon of a domain next to a link is a really nice trick, but it’s slightly tricky to achieve as IE won’t display a .ico file if you link to it from an img element, so you need to convert the images server-side. This undocumented Google API does that for you, meaning it’s much easier to add favicons as a feature to your site.

# 30th August 2008, 8:40 pm / apis, favicons, google, png, undocumented

addSizes.js: Snazzy automatic link file-size generation. Posted to Nat’s snazzy new blog: a script that uses my json-head API to grab the file size of linked documents on a page and insert those sizes in to the document.

# 30th August 2008, 10:39 am / addsizes, javascript, json, jsonhead, jsonp, natalie-downe

cascadenik: cascading sheets of style for mapnik. Great idea. Mapnik (the open source tile rendering system used by OpenStreetMap and others) has a complex style configuration based on XML. Michal Migurski has build a CSS-style equivalent which compiles down to XML, hopefully making it much quicker and easier to get started with Mapnik customisation.

# 30th August 2008, 10:04 am / cascadenik, css, mapnik, mapping, michal-migurski, openstreetmap, xml

WolfenFlickr 3D—An unlikely mashup. Brilliant: Wolfenstein 3D style raycasting in JavaScript with images on the walls that have been pulled in using Flickr’s JSONP API.

# 29th August 2008, 10:24 am / flickr, javascript, jsonp, ray-tracing, wolfenflickr, wolfenstein3d

Years

Tags