Archives
-
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 -
What is FOOP?
FOOP is the concept of functional object oriented programming in newLISP. It originated in a thread on the newLISP forum and was officially added to the interpreter for newLISP 9.3. Submit article
Feb 5th, 2008 | Filed under Programming, Software -
Working with XML in newLISP
Version 9.3 of newLISP has been released and has new functions to facilitate working with XML. newLISP has had the ability to parse XML data into an association list since version 6.10. 9.3 adds the ability to more easily traverse a parsed document and edit its contents. Submit article
Feb 5th, 2008 | Filed under Programming, Software -
Partial application and currying
Currying, known in Python land as partial application, is a technique in which a function taking multiple arguments composes a function that takes fewer arguments (in most languages, reducing to one, although this is not the case in Python) by partially applying it to given parameters. For example, a function, sum, might be used to [...]
Dec 4th, 2007 | Filed under Programming