Wooey is a simple web interface to run command line Python scripts. Think of it as an easy way to get your scripts up on the web for routine data analysis, file processing, or anything else. The project was inspired by how simply and powerfully sandman could expose users to ... Continue reading

Pelicans on Webfaction

As mentioned in the previous post, I recently migrated this site over to the very clever Pelican. Setting it up was relatively straightforward using a combination of the official docs, this post and linked github repo from Dominic Rodger. That said, there were a few things that I stumbled at and non-obvious decisions that I’ve documented below. Continue reading

Syntax highlighting with Django and Markdown

Syntax highlighting is more than just eye candy. It can turn a block of impenetrable code into a simple grok (although it has it’s limits). To boost the usability of our code guides on this site we wanted to implement nice clear syntax highlighting of our hacks. Code samples are already marked up with markdown syntax so an extension to this is the obvious choice. Continue reading

Django Threaded Comments

Django ships with it’s own comments contrib app that provides commenting on arbitrary models. However this is a flat-comment system which doesn’t allow replying to comments. An app called django-threadedcomments exists but has not been updated for a number of versions and is broken. Other alternatives are less flexible than the Django commenting system itself. Continue reading

Apache vs. the Slashdot Effect  linux

Increasing traffic is the measure of success for a website. More visitors equals more exposure which in turns generates more income. However, if you have hosted your site on a low-end package you could get hit by excess use charges just as your start celebrating your success. Here at mutube.com the combination of 4,625 visitors (8,531 hits) a month and popular free downloads quickly helped trip our 1Gb bandwidth limit. In this article I’ll look at how I’ve used the combined power of Apache Server and Coral Cache to distribute all kinds of requests away from your server transparently. Continue reading