Simon Willison’s Weblog

Newsletter
Atom feed

Blogmarks

Filters: Sorted by date

Data Scraping Wikipedia with Google Spreadsheets. I hadn’t played with =importHTML in Google spreadsheets, which lets you suck in data from an HTML table or list somewhere on the web. This tutorial takes it further, bringing Wikipedia, Yahoo! Pipes and KML in to the mix.

# 16th October 2008, 2:37 pm / google-docs, googlespreadsheet, importhtml, kml, mashups, scraping, wikipedia, yahoo-pipes

A Million-user Comet Application with Mochiweb, Part 1. Richard Jones explores Mochiweb, Erlang and linux kernel tuning for building a high performance comet server. Does this mean real-time web features are coming to last.fm?

# 16th October 2008, 2:16 pm / comet, erlang, lastfm, mochiweb, realtimeweb, richard-jones

Private Messages with cometD Chat. cometd-java (a Java servlet reference implementation of the Bayeux protocol) can be extended with BayeuxService subclasses that run within the server itself.

# 16th October 2008, 2:14 pm / bayeux, comet, cometd, cometdjava, java, javascript

View your FriendFeed in real-time. FriendFeed become the latest site to enable real-time updates using the long-polling variant of Comet. The real-time Web was something of a theme at this year’s FOWA, with talks on message queues, XMPP and scaling Comet at Meebo.

# 16th October 2008, 2:06 pm / comet, fowa2008, friendfeed, meebo, realtimeweb, xmpp

Page Inlink Analyzer (via) Here’s why I’m so keen on JSONP APIs—Eric Miraglia’s tool fires off dozens of cross-domain JSON requests to pull together information about inbound links to your site from Yahoo! Site Explorer and del.icio.us. I imagine it would have been uneconomic for him to provide the tool if it had to proxy every request through his own server.

# 15th October 2008, 5:23 pm / apis, delicious, eric-miraglia, javascript, json, jsonp

FOWA sketchnotes. Kai Chan Vong’s sketch notes from this year’s Future of Web Apps.

# 15th October 2008, 2:47 pm / fowa, fowa2008, future-of-web-apps, kaichanvong, sketchnotes

Announcing the New York Times Campaign Finance API (via) The New York Times have released their first data API, exposing campaign finance data from the Federal Election Commission.

# 15th October 2008, 2:05 pm / api, campaignfinance, new-york-times

Yahoo! Releases OpenID Research. Extremely valuable research, conducted with a group of typical Yahoo! users. OpenIDs usability remains bad, and if we don’t get it right soon something centralised like Facebook Connect will take over and the Web will stop being open.

# 14th October 2008, 4:59 pm / facebook, facebookconnect, openid, research, usability, yahoo

Minimal nginx conf to split get/post requests. Interesting idea for master-slave replication balancing where GET v.s. POST is load-balanced by nginx, presumably to different backend servers that are configured to talk to either a slave or a master. This won’t deal very will with replication lag though—you really want a user’s session to be bound to the master server for the next few GET requests after data is modified to ensure they see the effects of their updates. UPDATE: Amit fixed my complaint with a neat hack based around a cookie with a max age of 10 seconds.

# 14th October 2008, 4:33 pm / load-balancing, masterslave, mysql, nginx, replication

Browser Paint Events. The latest Firefox nightlies include a new MozAfterPaint event which fires after a portion of the page has been redrawn and provides co-ordinates of the affected rectangle. John Resig provides a neat bookmarklet that uses the new event to visualise repainting operations.

# 14th October 2008, 1:08 pm / firefox, javascript, john-resig, mozafterpaint, mozilla

asql—Apache SQL querying. Command line tool for loading web server log files in common log format in to a SQLite database, with a built-in interactive shell.

# 14th October 2008, 11:22 am / apache, asql, logs, sqlite

Versioning REST Web Services. Peter Williams suggests using a vendor MIME media type in the Accept header to specify a required API version, because embedding the API version in the URL itself leads to a single resource ending up with many different URLs, one for each API version.

# 13th October 2008, 12:45 pm / accept, contentnegotiation, http, peter-williams, rest, urls, versioning

Videos from FOWA 2008. The Carsonified team have a scarily fast turnaround on the videos from this year’s Future of Web Apps. Most of yesterday’s talks are already available to watch online, as a full talk or the edited highlight reel.

# 10th October 2008, 4:03 pm / carsonified, fowa2008, future-of-web-apps, video

Antisocial. Matt Westcott (a.k.a. Gasman) provides some technical background to his awesome Antisocial 3D canvas demo.

# 9th October 2008, 6:42 pm / 3d, canvas, demoscene, gasman, javascript, matt-westcott

and now... Opera. Jon Hicks is joining Opera as Senior Designer. I absolutely cannot wait to see what he comes up with there.

# 9th October 2008, 6:39 pm / browsers, design, jon-hicks, opera

Antisocial: a Javascript demo by Gasman. The demo is cool (3D on top of canvas); the “demotool” editor is simply amazing.

# 8th October 2008, 3 pm / 3d, antisocial, canvas, demo, demotool, gasman, javascript, matt-westcott

Places to see in London (for geeks). My geek-oriented guide to London attractions that you may not hear about otherwise, updated for this year’s overseas FOWA attendees. Suggestions for additions welcome.

# 8th October 2008, 2:54 pm / fowa2008, geeks, googlemymaps, london, maps

XHTML—myths and reality. Useful overview of XHTML from Tina Holmboe of the W3C’s XHTML Working Group, which suggests considering HTML 4.01 strict unless you need mixed namespaces for things like MathML. I’ve been storing this blog’s content as XHTML but serving as HTML for several years now.

# 7th October 2008, 4:56 pm / html, mathml, namespaces, tinaholmboe, w3c, xhtml

Giving Dabble DB a time machine. More innovation from Dabble DB—the service now offers a UI to their backup snapshots, letting you roll your own instance back to a specific point in time to recover accidentally deleted data.

# 7th October 2008, 12:55 pm / dabbledb, revert, snapshots

Clickjacking and NoScript (via) NoScript CAN protect against clickjacking, but only if you enable the “Plugins|Forbid IFRAME” option.

# 7th October 2008, 11:05 am / clickjacking, noscript, security

Dealing with UI redress vulnerabilities inherent to the current web (via) The best explanation of clickjacking I’ve seen yet, complete with discussion of a number of non-ideal potential solutions. It looks like frame busting JavaScript will defeat it, but only for users who have JavaScript enabled—which means that in this case extensions like NoScript actually make you less safe. UPDATE: NoScript is smarter than I thought; see the comments.

# 7th October 2008, 9:59 am / clickjacking, javascript, noscript, security

Tracking your Cat with GPS. Alex Lee strapped a GPS to his cat.

# 6th October 2008, 9:16 pm / alex-lee, cats, gps, location

FOWA pre-interview: Andrew Turner. I’ve started to post pre-interviews with speakers to the FOWA blog, in advance of the conference next week. First up is Andrew Turner of Mapufacture.

# 4th October 2008, 9:44 am / andrew-turner, fowa, interviews, mapufacture

The Flickr Panda. Reminds me of the prime number shitting bear.

# 4th October 2008, 9:42 am / flickr, funny, panda, primenumbershittingbear

Why Google App Engine is broken and what Google must do to fix it. Aral Balkan describes a number of critical issues with App Engine. If you’re considering building something serious on it you need to read this article; I’ve run in to several of these problems myself just running toy projects on the platform. Here’s hoping they get addressed in the near future.

# 3rd October 2008, 10 pm / aral-balkan, google, google-app-engine, scalability

Obama ’08 for iPhone (via) Slick app, impressive for a three week turnaround. I’m guessing it uses the phone number area codes in your address book to arrange your friends by state for the “call your friends” feature, which is an ingeniously simple hack.

# 2nd October 2008, 6:13 pm / barack-obama, iphone, politics, ravenzachary

Tweetersation. Nat and my latest side project: a JSONP API powered tool to more easily follow conversations between people on Twitter, by combining their tweets in to a single timeline.

# 2nd October 2008, 5:08 pm / api, javascript, jsonp, natalie-downe, projects, tweetersation, twitter

FB App Canvas Pages: I Think I’d Use IFrames. Facebook’s Charlie Cheever explains the difference between FBML canvas pages, iframe pages and XFBML when building Facebook apps. I’m always surprised at APIs that load untrusted content in an iframe, as it seems like an invitation for frame-busting phishing attacks.

# 2nd October 2008, 2:39 pm / charlie-cheever, facebook, facebookapi, fbml, framebusting, iframes, phishing, security, xfbml

Google’s Wikipedia and Panoramio layers are now available in the API. I really like their use of reverse domain style identifiers for the layer IDs: map.addOverlay(new GLayer(“org.wikipedia”));

# 2nd October 2008, 11:59 am / glayer, google-maps, javascript, panoramio, wikipedia

What’s New in Python 2.6 (via) Python 2.6 final has been released (the last 2.x version before 3.0). multiprocessing and simplejson (as json) are now in the standard library, any backwards compatible 3.0 features have been added and the official docs are now powered by Sphinx (used by Django 1.0 as well). There’s plenty more.

# 2nd October 2008, 11:47 am / django, json, multiprocessing, python, releases, simplejson, sphinx-docs

Years

Tags