Archives
-
Updated Json module for newLISP
Thanks to Andrew Pennebaker for pointing out where the decoder was broken. This update includes a complete rewrite of the JSON decoder. It is now slightly more forgiving and much more accurate. You can download it here or upgrade using nl-install. Submit article
May 22nd, 2009 | Filed under Programming, Software -
An alternative to large multi-selects
HTML has no useful, built-in form widget for selecting from a large number of options. Some libraries offer Javascript-powered alternatives, but few of these are built to deal with more than a few hundred options. Submit article
Sep 12th, 2008 | Filed under Programming -
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