Showing posts from December, 2008

How to avoid Hijacking/Carjacking

Collected advice for avoiding hijacking / carjacking.

Code generation vs metaprogramming

The Active Record pattern is an "object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data". Metaprogramming in Lisp/Scheme, and to a limited extent Python and Ruby would generate a class library at run-time, for example to perform object-relational mapping with the ActiveRecord pattern. In Python at least, the only code you see is a the metaclass and decorators, with some custom logic added on.

Choosing my car insurance (South Africa)

I have finally decided to buy a car and called up several insurers. This post analyses my choice to go
with the "Santam Direct" third-party, fire & theft insurance.