Macros

A common point of confusion for lisp beginners is the macro. Few lispers can resist the opportunity to expound the beauty and elegance of the macro. However, as with many lisp concepts, most explanations are outside the range of the hobbyist’s experience. Read more…

May 23rd, 2007 | Filed under Programming
Tags: ,

Utilizing PHP’s strengths

PHP is a procedural language. This is not a criticism. PHP revolutionized CGI by being half-scripting language, half templating system. It is, in fact, about the most powerful templating system around. The fact that object oriented syntax was even able to be bolted on is a testament to that. Read more…

May 21st, 2007 | Filed under Soap box
Tags:

Contextual programming

PHP is a procedural language. This is not a criticism. PHP revolutionized CGI by being half-scripting language, half templating system. It is, in fact, about the most powerful templating system around. The fact that object oriented syntax was even able to be bolted on is a testament to that. Read more…

May 15th, 2007 | Filed under Programming
Tags: , ,

Sequential permutations in Python

I recently needed the functionality in Python to take a series of lists and find all possible combinations of one item from each list. Read more…

May 14th, 2007 | Filed under Programming
Tags:

Lisp: where to start

When I first set out to learn lisp, I was faced with an intimidating number of choices. Which implementation of lisp should I choose? Common lisp? Scheme? I went with common lisp. Which common lisp? SBCL? MCL? Gnu clisp? Yeesh. This is enough to scare most lisp rookies off. Here is some advice: start off with Gnu clisp. It’s available for most architectures, it’s free, it has decent documentation online, and it’s easy to install. Read more…

May 13th, 2007 | Filed under Tips
Tags: ,