Archives
-
Variable-arity functions in Lisp
One of the handier features of modern functional languages like Erlang and OCaml is the use of unification to match arity against function definitions. The ability to define a function in terms of the type and number of arguments passed is both expressive and useful.
Submit article
Feb 27th, 2008 | Filed under Programming -
newLISP Template System
The template module was inspired largely by the Django template system. I firmly believe that separating complex logic from the template itself leads to both cleaner code and, much more importantly, a simpler system for non-programmers. A content producer should not be required to know lisp to write a simple template.
Submit article
Feb 26th, 2008 | Filed under Programming, SoftwareTags: newlisp -
Request and Response modules for newLISP
Together, these two modules form a coherent replacement for the newLISP CGI module. They can be found here.
Submit article
Feb 22nd, 2008 | Filed under Programming, Software -
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. [...]
Feb 12th, 2008 | Filed under Programming, Tips







