dpaste

dpaste.com spot check

Paul Bissex
Once in a while I look at a sampling of recent dpaste activity. Partly I do it so I’m not totally out of touch with what my site contains. Partly I do it because it’s just interesting. And I do it to confirm that the site is actually used by people who want to share code snippets, not just spambots who fire their cannons into every porthole. I just sampled 10 random items from the last week.

The story of dpaste.com 2.0

Paul Bissex
Eight years ago, I launched a simple pastebin site written in Django. In those early Django days I spent a lot of time in the #django IRC channel. I thought we should have a pastebin that knew how to correctly colorize our code, and which was written in our framework to boot. So I wrote one. Eventually its URL ended up in the channel topic, then in the Django source code itself.

A tiny little dpaste.com API

Paul Bissex
When I created dpaste, I tried to make it both a simple browser-based tool and a simple RESTful API. With very little work you could write a script that created a new paste item with a single POST. Over the life of the site a few people have discovered and played with that “secret” API. I’ve now made it a bit more official. The new API has its own URL (versioned, even!

A Mercurial mirror of Django's Subversion repository

Paul Bissex
Update: The mirror described in this post has been retired. Django source now lives on GitHub. Just wanted to post a quick note that I’m now publishing an experimental Mercurial mirror of the Django source code repository, including all tags and branches and even the djangoproject.com website source itself. Tom Tobin at The Onion has been maintaining a similar mirror of Django trunk for a while (and very helpfully answered some of my questions in IRC), but I wanted to do the whole tree.

Twittered

Paul Bissex
You know, I have yet to actually try Twitter, but if this is the kind of thing people say on Twitter then it’s OK with me!