Archives
-
Custom session storage with newLISP Web
The Web module’s default session storage engine uses serialized contexts in the /tmp directory. The advantage of this method is that, apart from the directory (which is customizable), it is reasonably platform independent and has low overhead. The disadvantages of this are numerous. Files are stored unencrypted, so anyone with access to the server may view them. It is therefor advantageous to design a custom storage module for sessions.
May 29th, 2009 | Filed under Programming -
A better newLISP web library
One problem from which newLISP suffers is the lack of a really useful library for web-based applications. The official CGI module has serious enough problems to justify an entirely new library. After some thought, I decided moreover that the request and response modules that I designed were neither practical nor sufficient. To that end, I have designed a new, monolithic library to provide the essential functionality required for web programming
May 29th, 2009 | Filed under Programming, Software -
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 -
A module manager for newlisp
nl-install is a basic module manager for newlisp. With this first release, I have set up a repository for the Artful Code modules and included it in the default settings for the application.
Feb 18th, 2009 | Filed under Programming, SoftwareTags: newlisp -
Multiprocessing utilities for newLisp
newLisp’s Cilk API simplifies the task for forking new processes and retrieving the results of child processes’ calculations a breeze. Some patterns remain complex, particularly when dealing with shared state or managing access to resources. To formalize some of the more common patterns of usage with the Cilk API, semaphores, and shared memory, I have written a multiprocessing library for newLisp.
Jan 29th, 2009 | Filed under Programming, Software







