Simon Willison blogs at http://simon.incutio.com/ xml

RubyForge: Starling

11/01/2008 @ 23:00 UTC

Simon Willison : RubyForge: Starling - RubyForge: Starling. “Starling is a light-weight persistent queue server that speaks the MemCache protocol. It was built to drive Twitter’s backend, and is in production across Twitter’s cluster.?

nelson : Starling - Open source release of an interesting piece of technology that Twitter has build; message queuing, lightweight

Is your Rails app XSS safe?

10/01/2008 @ 20:00 UTC

Simon Willison : Is your Rails app XSS safe? - Is your Rails app XSS safe?. SafeErb is an interesting take on auto-escaping for Rails: it throws an exception if you try to render a string that hasn’t been untainted yet.

Cross-Site XMLHttpRequest

10/01/2008 @ 01:00 UTC

Simon Willison : Cross-Site XMLHttpRequest - Cross-Site XMLHttpRequest. “Firefox 3 implements the W3C Access Control working draft, which gives you the ability to do XMLHttpRequests to other web sites?—you can mark a document as available for cross-domain requests using either an Access-Cont [via]

pysolr

9/01/2008 @ 22:00 UTC

Simon Willison : pysolr - pysolr. Python wrapper for Solr, the search web service wrapper for Lucene. One thing I’m not clear on: do you need to configure Solr with the fields you’ll be indexing in advance, or can Solr create new fields on the fly to match the data you send

Good architectural layering, and Bzr 1.1

9/01/2008 @ 16:00 UTC

Simon Willison : Good architectural layering, and Bzr 1.1 - Good architectural layering, and Bzr 1.1. Mark Shuttleworth on the growing importance of plug-in architectures as an open source project evolves, as they allow new developers to release their own components without needing commit access to the project.

$.comet

9/01/2008 @ 10:00 UTC

Simon Willison : $.comet - $.comet. The first Comet (with Bayeux) plugin I’ve seen for jQuery—currently only handles long-polling over XMLHttpRequest, but still a promising start.  [via]

daemon.py

8/01/2008 @ 23:00 UTC

Simon Willison : daemon.py - daemon.py. Neat little Python module for daemonizing a process; handles logging and pid files out of the box.  [via]

Why we switched to Jetty

8/01/2008 @ 07:00 UTC

Simon Willison : Why we switched to Jetty - Why we switched to Jetty. Zimbra (recently acquired by Yahoo!) are using Jetty for Comet. It sounds like they are using Bayeux as well.

Flickr to Authenticate OpenID

8/01/2008 @ 00:00 UTC

Simon Willison : Flickr to Authenticate OpenID - Flickr to Authenticate OpenID. Flickr /photos/username/ pages are now (almost) OpenIDs—they point at a new Yahoo!-wide OpenID server, but it hasn’t been switched on yet. It’s OpenID 2 only, presumably so Yahoo! can protect their users’ privacy b

Google apps for your newsroom

7/01/2008 @ 23:00 UTC

Simon Willison : Google apps for your newsroom - Google apps for your newsroom. How the LJ World team use online tools like Google Spreadsheet, Swivel, ManyEyes and Google MyMaps to collaborate with the newsroom and build data-heavy applications even faster.

Announcing StaticGenerator for Django

7/01/2008 @ 23:00 UTC

Simon Willison : Announcing StaticGenerator for Django - Announcing StaticGenerator for Django. Simple but powerful static file generator for Django applications—just tell it about your model instances and it will create an entire static site based on calling get_absolute_url() on each one. Uses signals to

Job: Django developer in London

7/01/2008 @ 23:00 UTC

Simon Willison : Job: Django developer in London - Job: Django developer in London. I’m consulting with GCap Media at the moment, who are looking to hire full-time Django developers in London for some really interesting projects. Please feel free to contact me directly with questions.

Bunnie on OLPC XO-1

7/01/2008 @ 20:01 UTC

nelson : Bunnie on OLPC XO-1 - Nice breakdown from an expert dissassembler

deusx : bunnie’s blog » Blog Archive » OLPC XO-1 - "If I were to make one general comment about the OLPC XO-1, it’s that its mechanical design is brilliant. It’s a fairly clean-sheet redesign of traditional notebook PC mechanics around the goal of survivability, serviceability, and robustness&quo

Simon Willison : bunnie's blog: OLPC XO-1 - bunnie’s blog: OLPC XO-1. Bunnie Huang critiques the hardware design of the OLPC XO-1.  [via]

Naming twins in Python and Perl

7/01/2008 @ 13:00 UTC

Simon Willison : Naming twins in Python and Perl - Naming twins in Python and Perl. Simple anagram problem solved in Perl and Python, with a bunch more solutions in the comments. The C# solution provides an interesting example of LINQ in action.

FUD and TurboGears

7/01/2008 @ 11:00 UTC

Simon Willison : FUD and TurboGears - FUD and TurboGears. Not cool: the TurboGears guys have been targeted by some (hopefully not deliberate) FUD along the lines of “the author of the TurboGears book is using Django now?, based on Mark posting about his research in to other frameworks.

20,000 Reasons Why Comet Scales

7/01/2008 @ 10:00 UTC

Simon Willison : 20,000 Reasons Why Comet Scales - 20,000 Reasons Why Comet Scales. Greg Wilkins coaxes Jetty and Bayeux in to supporting 20,000 simultaneous users per server while maintaining sub-second latency, using Amazon EC2 to run the benchmark.

IE7.js version 2.0 (beta)

7/01/2008 @ 01:00 UTC

Simon Willison : IE7.js version 2.0 (beta) - IE7.js version 2.0 (beta). Dean Edwards has updated IE7, shifting enhancements that weren’t fixed by the real IE7 in to a new script called IE8. You can also now hotlink the library directly from Google’s servers, though I don’t know how intended

Django Tip: Complex Forms

7/01/2008 @ 00:00 UTC

Simon Willison : Django Tip: Complex Forms - Django Tip: Complex Forms. Malcolm demonstrates some advanced tricks with newforms.

Filtering foreign key choices in newforms-admin

6/01/2008 @ 22:00 UTC

Simon Willison : Filtering foreign key choices in newforms-admin - Filtering foreign key choices in newforms-admin. A nice introduction to the Django newform-admin branch, including an example of how to easily implement row-level permissions.

XSS Vulnerabilities in Common Shockwave Flash Files

6/01/2008 @ 11:00 UTC

Simon Willison : XSS Vulnerabilities in Common Shockwave Flash Files - XSS Vulnerabilities in Common Shockwave Flash Files. Is the word “shockwave? still relevant to Flash? Regardless, it turns out Flash can be a serious vector for XSS attacks, and many commonly used components have recently fixed holes (and hence shou

Encoded Polyline Algorithm Format

4/01/2008 @ 18:00 UTC

Simon Willison : Encoded Polyline Algorithm Format - Encoded Polyline Algorithm Format. Google Maps does some pretty crazy bit mangling to create compressed versions of lat/long pairs.

nelson : Polyline encoding - Complex 5 bit ascii encoding for geographic features

Django on Jython

4/01/2008 @ 14:00 UTC

Simon Willison : Django on Jython - Django on Jython. Outstanding work from Jim Baker and the Jython team: Django now runs on the modern branch of Jython, with a couple of patches and some failed doctests due to dictionary order (a problem with Django’s test suite).  [via]

The Dark Side Of The Moon

4/01/2008 @ 14:00 UTC

Simon Willison : The Dark Side Of The Moon - The Dark Side Of The Moon. Robert O’Callahan believes that Moonlight is a strategic mistake, because it gives credibility to Microsoft’s entry to a new market which they will use to “keep the competition on a treadmill?; Moonlight can also never [via]

HTTP Cache Channels

4/01/2008 @ 14:00 UTC

Simon Willison : HTTP Cache Channels - HTTP Cache Channels. Interesting extension to the HTTP caching model by Mark Nottingham: caches can be told to subscribe to an Atom feed which alerts them to cached data that has gone stale. Group invalidation is also supported.  [via]

Do not treat Flickr photo IDs as integers

4/01/2008 @ 00:00 UTC

Simon Willison : Do not treat Flickr photo IDs as integers - Do not treat Flickr photo IDs as integers. “The good news is, Flickr reached photo number 2147483647 yesterday. Go Flickr! The bad news is that number 2147483647 is the limit for signed integer data type.?  [via]

nelson : 2 billion photos is bad - Flickr rolls over 2^31 and a bunch of software breaks

xml
Upian.