Simon Willison’s Weblog

Newsletter
Atom feed

Blogmarks

Filters: Sorted by date

Implementing a syntax-higlighting JavaScript editor in JavaScript. Appropriately subtitled “a brutal odyssey to the dark side of the DOM tree”. Some seriously clever trickery going on here.

# 4th April 2008, 8:27 am / dom, javascript, syntaxhighlighting

i am near (via) Inspired by wikinear.com and powered by FireEagle, currently just showing nearby pubs from OpenStreetMap but with more stuff planned. I love the URL scheme—pubs.iamnear.net.

# 4th April 2008, 7:53 am / fireeagle, iamnear, openstreetmap, pubs, tom-taylor, urls, wikinear

Advanced JavaScript Debugging Techniques. There’s more to JavaScript debugging than just Firebug.

# 4th April 2008, 7:51 am / debugging, firebug, javascript, sitepen

The Royal Mint: The New Designs Revealed. Matthew Dent’s design for the new UK coinage is inspired—absolutely beautiful. Can’t wait to get my hands on some of these.

# 4th April 2008, 7:42 am / coins, design, matthew-dent, mint, royalmint, uk

Brendan Eich: Popularity. I never knew that Brendan went to Netscape on the promise of “doing Scheme in the browser”.

# 4th April 2008, 7:30 am / brendan-eich, javascript, netscape, scheme

London Connections. Marvellously obsessive blog about the vagaries of London transport, including some really nice custom created maps. I love detailed maps of tube stations; anyone know a good place to find them?

# 2nd April 2008, 8:53 pm / london, londonconnections, mapping, maps, transport

Firefox 3’s password remembering. I’m loving Firefox 3, and the way it does password remembering (with a non-modal toolbar so you can tell if your password worked before deciding to save it) is just one of the major improvements. Opera gets this right as well.

# 2nd April 2008, 8:24 pm / firefox, firefox3, mozilla, nelson-minar, opera, passwordsaving

CSS Compatibility and Internet Explorer (via) Official Microsoft guide to which CSS properties are supported by which versions of IE. This is the kind of documentation browser vendors should be providing as a matter of course.

# 2nd April 2008, 8:05 pm / css, documentation, internet-explorer, microsoft, standards

OpenID and Spam. Matt Mullenweg: “OpenID has a ton of promise for the web—let’s not hurt it by setting people up for disappointment by telling them it’s a spam blocker when it’s not.” True for the case of general registration, but I still believe whitelisting known OpenIDs could be a powerful tool for fighting spam on personal sites.

# 2nd April 2008, 7:33 pm / matt-mullenweg, openid, social-whitelisting, spam, whitelisting

Python-by-example. “This guide aims to show examples of use of all Python Library Reference functions, methods and classes”, thus addressing my number one complaint about Python’s standard library documentation.

# 2nd April 2008, 3:42 pm / documentation, python, stdlib

What’s New in Edge Rails: Easier Timezones (via) Time zones can be a nightmare to get right—if this works well it’s going to make a lot of people’s lives a whole bunch easier.

# 2nd April 2008, 3:39 pm / rails, timezones

Welcome to Game Neverending. It really is back! Hot tip: start by taking the survey, then sell the five pieces of blue paper at the bank with the pig on the roof.

# 1st April 2008, 9:15 pm / flickr, fun, gameneverending, gne

Classy Query. Beautifully implemented parody of class-based JavaScript and verbose namespacing as a jQuery extension, from John Resig. The source code has some neat tricks in it, in particular the buildClass() function.

# 1st April 2008, 9:48 am / aprilfools, funny, javascript, john-resig, jquery, namespacing, parody

Find Your Friends. Flickr have added a characteristically classy friend import feature, pulling from Gmail, Yahoo! and Hotmail address books without any unhygienic password sharing. It’s a crying shame that the Yahoo! contacts API they are using isn’t available outside the company.

# 1st April 2008, 1:01 am / flickr, gmail, hotmail, passwordantipattern, portablesocialnetworks, yahoo

Sharing My Location Just the Way I Like It. Fire Eagle gets a great write-up from Brady Forrest over on the O’Reilly Radar.

# 31st March 2008, 8:34 pm / brady-forrest, fireeagle, location, oreilly, oreillyradar, wikinear

Happy Run Some Old Web Browsers Day! jwz has recreated home.mcom.com, the original home of the Mosaic Communications Corporation, using a snapshot from 21st October 1994 and a domain borrowed from current owner AOL. Also includes instructions on running 1994 Mosaic Netscape binaries under a modern Linux distro.

# 31st March 2008, 5:54 pm / aol, browsers, history, jwz, linux, mosaic, netscape

Django Development with Djblets. The Review Board team have extracted a library of useful Django utilities from their application. The first to be documented are helpers for reducing boilerplate in custom template tags.

# 31st March 2008, 1:19 pm / django, djblets, python, reviewboard, templatetags

Graphication. Andrew Godwin’s Python graphing library, based on Cairo. Responsible for the very handsome graphs on The Carbon Account.

# 30th March 2008, 7:05 pm / andrew-godwin, cairo, graphication, graphing, python, thecarbonaccount

The Carbon Account. The carbon calculator project I contributed to at Torchbox last year has launched, and they’ve made the code available as open source.

# 30th March 2008, 7:04 pm / open-source, thecarbonaccount, torchbox

Interviewing Simon Willison about OpenID. I sat down with Vikram Kumar at Webstock to talk about OpenID, and the video is now online.

# 30th March 2008, 6:40 pm / openid, vikramkumar, webstock, webstock08

hash. Douglas Crockford: “Any HTML tag that accepts a src= or href= attribute should also be allowed to take a hash= attribute”—to protect against file tampering and (more importantly) provide a truly robust caching mechanism.

# 30th March 2008, 6:34 pm / caching, douglas-crockford, hash, html, sha1

Exposing calendar events using iCalendar in Django. A simple abstraction around the vobject Python library.

# 30th March 2008, 6:31 pm / django, icalendar, python, vobject

Google’s excanvas only works in quirks mode for IE8. IE8 in act-as-IE8 mode disables VML but doesn’t implement canvas, so there’s currently no 2D drawing method for that browser. UPDATE: The problem is Google’s excanvas library, not IE8 disabling VML; see comments.

# 30th March 2008, 6:24 pm / burningbird, canvas, excanvas, ie8

god—process and task monitoring done right. I have a long running animosity towards every process monitoring tool currently in existence; I’ll have to put this one through its paces and see if it sucks less.

# 29th March 2008, 10:20 pm / god, monitoring, processes, ruby, sysadmin

xPyUnit: Uniting in Python with XML reporting. Should be just the ticket for integrating Django’s testing framework with Cruise Control.

# 27th March 2008, 12:35 pm / cruisecontrol, django, python, pyunit, testing, xpyunit

EC2: Introducing Elastic IP Addresses and Availability Zones. Big news from Amazon: EC2 can now provide static IP addresses which you can dynamically map to one of your instances, along with “availability zones” so you can specify that instances run in different data centres. Hosting an entire application on EC2 just got a whole lot more practical.

# 27th March 2008, 10:33 am / amazon, ec2, virtualization

Opera and the Acid3 Test. Screenshot shows 100/100 (live code or it didn’t happen!)—Opera’s codebase must be in extremely good shape to fix so many issues so quickly.

# 26th March 2008, 10:47 pm / acid3, browsers, opera, web-standards

The real roadblocks to data portability on social networks. A bunch of smart questions posed by Facebook’s Dave Morin. This is why I think data portability is the wrong framing—moving data between sites is really hard. Importing social relationships between sites is much more viable (hence my interest in social network portability). Also, the complaints about systems sharing e-mail addresses are neatly addressed by using OpenID as the GUID for a user instead. OpenIDs can’t be spammed.

# 26th March 2008, 7:53 pm / data-portability, dave-morin, facebook, guid, openid, portablesocialnetworks, robert-scoble

Setup mod_wsgi for Django and Shared Hosting. Tutorial by David Cramer; attached are useful comments from mod_wsgi author Graham Dumpleton.

# 26th March 2008, 2:42 pm / david-cramer, django, graham-dumpleton, hosting, modwsgi, python, wsgi

Years

Tags