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 Tips
    Tags:
  • Extending Python with (almost) anything

    Among the various methods of extending Python about which I have written, Python 2.5’s ctypes module is possibly the easiest.

    Submit article

    Mar 24th, 2008 | Filed under Software
    Tags: , ,
  • newLISP-mode updated

    Tim Johnson has updated his emacs newLISP-mode. I’ve added a few customizations and posted them in projects.
    Changelog for 0.25

    Added functions for sexp-cursor movement: newlisp-indent-and-move-next, newlisp-indent-and-move-back, newlisp-prev-opening-parens, newlisp-next-opening-parens
    Improved newlisp-next-function, newlisp-previous-function

    I made a few changes to his mode to make it suit me more:

    Changed the symbol color from magenta to plum. I hate [...]

    Mar 12th, 2008 | Filed under Software
    Tags: ,
  • Threading in Django

    Profitable use of threading in web development is rare, particularly when contending with Python’s global interpreter lock. There are a few notable exceptions to this.

    Submit article

    Mar 7th, 2008 | Filed under Software
Archive for March, 2008