Simon Willison’s Weblog

Subscribe
Atom feed

Blogmarks

Filters: Sorted by date

The Django Book: Version 2.0 (via) Adrian’s working on a new edition of the Django Book updated to cover version 1.0. As with the first edition, it will be available free online in addition to a published Apress paperback. The first three chapters are now available.

# 9th January 2009, 2:54 pm / adrian-holovaty, apress, books, django, python

Manage Amazon EC2 With New Web-Based AWS Management Console. Finally! I’m amazed it took Amazon so long to do this. Managing EC2 instances from a custom Firefox extension was pretty bizarre. It’s a very nice interface, built on top of YUI. Unfortunately you still have to manage your entire virtual server farm using a single shared Amazon account.

# 9th January 2009, 9:34 am / amazon, aws, cloud-computing, ec2, javascript, yui

How we use IRC at Last.fm. With IRCCat, an elegant Java IRC bot that accepts Twitter-like messages to a network port (generally sent using netcat) and directs them to a user or channel.

# 8th January 2009, 7:04 pm / irc, irccat, java, lastfm, nc, netcat, richard-jones

why’s potion. why’s latest project is a small, fast language (JIT to x86/x86-64) which seems to take ideas from Ruby, Lua, Python and who knows where else. Everything is based around objects, closures and mixins, with the delightful inclusion of scoped mixins so you can modify an object only within a certain module (hence avoiding Ruby’s action-at-a-distance problems).

# 8th January 2009, 6:37 pm / closures, jit, languages, lua, mixins, potion, programming, ruby, whytheluckystiff

Wetpaint no longer supports OpenID. I missed this, but they turned off their OpenID support in November due to low usage and high maintenance costs.

# 8th January 2009, 2:53 pm / openid, wetpaint

Gaza OpenStreetMap Update. “We’re looking into purchasing satellite imagery for the north or the entirety of Gaza. There’s actually B/W imagery available from yesterday!”

# 7th January 2009, 11:10 pm / gaza, mapping, mikel-maron, openstreetmap, satellite

Weak Password Brings “Happiness” to Twitter Hacker. The full story on the Twitter admin account hack. I bet there are a LOT of web applications out there that don’t track and rate-limit failed password attempts.

# 7th January 2009, 12:04 pm / hacking, passwords, security, twitter

The Twitter administrator hack was a dictionary attack. I quoted Blaine earlier suggesting that the recent Twitter mass-hack was due to a Twitter admin password being scooped up by a rogue third party application—this was not the case, as Alex Payne explains in a comment.

# 6th January 2009, 11:56 pm / alex-payne, blaine-cook, security, twitter

Update on the “antipatterns for sale” Twply auction (via) The collected username and password database is NOT included in the auction.

# 6th January 2009, 9:41 am / antipatterns, twitter, twply

MemcacheDB. A server that speaks the memcache protocol but uses Berkeley DB for reliable persistent storage. Speedy: 20,000 writes/second and 60,000+ reads/second. Includes a full replication mechanism (with custom memcache protocol commands) based on Berkeley DB’s.

# 5th January 2009, 12:37 pm / berkeleydb, keyvaluepairs, memcache, memcachedb, replication, scaling

Talking about OpenID. “So a relying party walks in to a bar...”

# 5th January 2009, 10:46 am / comic, jargon, openid, relyingparty

Wikipedia over DNS. Added to my ~/bin/ directory as dns-wikipedia.sh: host -t txt $1.wp.dg.cx

# 2nd January 2009, 11:29 am / dns, wikipedia

Antipatterns for sale. Twply collected over 800 Twitter usernames and passwords (OAuth can’t arrive soon enough) and was promptly auctioned off on SitePoint to the highest bidder.

# 2nd January 2009, 10:48 am / jeremy-keith, oauth, passwordantipattern, passwords, security, sitepoint, twitter

OSM 2008: A Year of Edits (via) Stunningly beautiful visualisation of the year in OpenStreetMap.

# 2nd January 2009, 10:34 am / mapping, openstreetmap, visualisation

Researchers Show How to Forge Site Certificates. Use an MD5 collision to create two certificates with the same hash, one for a domain you own and another for amazon.com. Get Equifax CA to sign your domain’s certificate using the outdated “MD5 with RSA” signing method. Copy that signature on to your home-made amazon.com certificate to create a fake certificate for Amazon that will be accepted by any browser.

# 30th December 2008, 3:27 pm / collisions, ed-felten, equifaxca, hashes, md5, security, ssl

Oakland crime maps XI: how close, and how bad? Michal Migurski’s experiments with heat maps for Oakland Crimespotting, using OpenStreetMap data as that allows him to position his heat map layer underneath the street labels, keeping them legible.

# 30th December 2008, 10:16 am / heatmaps, mapping, michal-migurski, oaklandcrimespotting, openstreetmap

Represent. Andrei Scheinkman and Derek Willis describe how they built the NYTimes Represent feature using GeoDjango and PostGIS.

# 29th December 2008, 10:10 pm / andrei-scheinkman, derek-willis, django, geodjango, gis, new-york-times, postgis, postgresql, python

Blocks in Objective-C. Closures are coming soon to Objective-C - interesting syntax, a regular curly brace block preceded by a caret ^{ ... }.

# 29th December 2008, 7:38 pm / blocks, closures, objectivec, programming, syntax

ReferenceError: console is not defined. Since Firebug 1.2 you need to call window.loadFirebugConsole() in order for console.log and friends to work.

# 23rd December 2008, 10:22 pm / debugging, firebug, firefox, javascript

Merb gets merged into Rails 3! Huge news. Of particular interest is the new focus on “framework agnosticism”, whereby Rails will aim to play well with people wishing to use alternative ORMs, template mechanisms and so forth. Rails has previously suffered from a reputation for getting in your way if you deviate from its opinions.

# 23rd December 2008, 8:32 pm / frameworks, merb, rails, rails3, ruby

How to launch a new product. Jason Calacanis explains how they launched Mahalo Answers, including tips or running your own PR (Jason used to be a reporter so he’s played both sides of that fence).

# 23rd December 2008, 1:10 pm / jason-calacanis, launch, mahalo, mahaloanswers

Using SVG on the Web. I’ve been having a lot of fun playing with SVG recently. Here are some useful tips for including SVG images in HTML and XHTML documents.

# 23rd December 2008, 1 pm / benjamin-smedberg, html, svg, xhtml

Quickchoice—a Speed Dial clone (via) Lovely demonstration of the CSS transform property, as supported by modern browsers. The magic is all in the iframe { transform: scale(0.25, 0.25) translate(-1200px, -900px) }

# 23rd December 2008, 12:49 pm / css, csstransform, iframes, javascript, speeddial

jQuery: Changeset 5990. “Added a new liveQuery/event delegation hybrid method”. Lets you add events that continue to work as new elements are dynamically appended to the DOM, e.g. $(’div p.foo’).live(’click’, fn). Works by adding an event handler to the root document element itself and relying on event bubbling. I have to admit I preferred the earlier proposal of $(’div’).delegate(’p.foo’..), which feels like it should have much better performance—anyone know of a good plugin that supports this?

# 23rd December 2008, 12:22 pm / delegate, events, javascript, jquery, livequery

pygooglechart. I tried a bunch of Python wrappers for Google Charts and liked this one best.

# 22nd December 2008, 11:43 am / google-charts, python

Motorway map of England, Scotland and Wales (via) In the style of Harry Beck’s London Tube map.

# 22nd December 2008, 11:36 am / maps, motorways, tubemap

jQuery changeset 5985 (via) jQuery trunk has ditched browser sniffing in favour of feature testing, where a small suite of unit-test-like code blocks is used to detect whether a browser supports specific idioms. If the tests fail jQuery still makes assumptions about what the fix is, but it’s not hard to imagine the library eventually using code tests to ensure the fix will work as well.

# 22nd December 2008, 10:58 am / feature-testing, javascript, jquery

Represent and GeoDjango. The NYTimes new Represent application is built on GeoDjango.

# 20th December 2008, 9:07 pm / derek-willis, django, geodjango, new-york-times, python, represent

Represent—NYTimes.com. Superb new application from the NYTimes—a sort of cross between TheyWorkForYou and a news archive search. Enter your address in New York and it tells you your local representatives and shows both their votes and their mentions in the newspaper.

# 19th December 2008, 4:22 pm / new-york, new-york-times, represent

Years

Tags