Archives
-
Optimizing regular expressions
We lispers generally look down our noses at regular expressions. Regular expressions are ugly. They are not expressive. However, they are a reality of programming. When used with care, they can express complex text patterns concisely. Submit article
Mar 26th, 2008 | Filed under TipsTags: regexp -
Psyco and Django
Psyco is a module that optimizes Python applications on the fly. Numerous resources online describe how to use psyco in a Django-powered application to speed it up. Submit article
Feb 15th, 2008 | Filed under Programming, Tips -
Per-user caching in Django
Django comes with an easy-to-use caching framework. With a few simple decorators, an application’s views are cached. Decorators can even be used to control upstream caches, such as those maintained by ISPs. Nevertheless, if a rendered view is customized with information individual to a user, these caching options cease to be useful. Submit article
Feb 12th, 2008 | Filed under Programming, Tips -
Dynamic URLs in Django
I long ago switched my company’s web applications from Code Igniter to Django. The main reasons were Django’s more powerful database API and Python’s maintainability and scalability over PHP. Submit article
Nov 12th, 2007 | Filed under Tips -
Art is rough
Why’s Poignant Guide claims that after learning Ruby you will write code so elegant it will make you cry. Paul Graham was not so dramatic, but he was closer to the mark. Lisp teaches you the elegance and grace of recursive and applicative programming. This creates beautiful and concise code. Submit article
Tags: newlisp







