Author Archives: admin

django :: implementing reCAPTCHA in 5 easy steps

It turns out reCAPTCHA is very easy to implement Step #1: install the Python client: Step #2: obtain public and private keys here: http://recaptcha.net/whyrecaptcha.html. Step #3: Then create a small helper module, mycaptcha.py, for convenience and to keep your keys … Continue reading

Posted in django | Leave a comment

emacs :: autocompletion and code-commenting

I’m a believing member in the church of emacs, and in honor of the new release I went looking for solutions to a couple of outstanding issues I’ve had with my emacs installation. Today’s first emacs find is M-; which, … Continue reading

Posted in emacs, Python | Leave a comment

OpenID

I was checking out a number of 37signals’ webapps today (Highrise, Basecamp, and a few others… well worth a look). When I discovered I could sign in with OpenID. After a little googling and watching an excellent screencast over at … Continue reading

Posted in it | Leave a comment

Python :: property set

It looks like Python is getting tuples with named members in 2.6 (http://www.oluyede.org/blog/2007/03/11/updates-from-python-svn-part-2/ and http://docs.python.org/dev/lib/named-tuple-factory.html). I suspect many of us have implemented similar functionality ourselves, e.g. Shannon -jj Behrens describes how he sometimes uses dictionaries to return composite polymorphic values … Continue reading

Posted in Python | Leave a comment