Never knowingly knowing narwhals

Monthly Archives: November, 2007

PostgreSQL, SQLAlchemy, Dropping all tables and sequences

I’ve been working in deployment scripts for my current project and sometimes I need to drop all the tables and sequences from the database so I can create everything from scratch. I had been doing a   DROP SCHEMA public CASCADE; CREATE SCHEMA public AUTHORIZATION bob; GRANT ALL ON SCHEMA public TO bob;   This [...]

workingenv, easy_install, ez_setup… hmmm

Working with TurboGears is usually a breeze. But when it comes to installation thing never seem to go too well. Firstly do you run the tg_setup.py the project provides or easy_install TurboGears it? Why do you need to run the installer twice sometimes? There are answers in the mailing list to these questions but the [...]

Persuading Atheists

It’s really early in the morning so I’m a little cranky. While clicking around on my del.icio.us feed this article appeared: How to Persuade an Atheist to Become a Christian. Now normally I’m a pretty angry kind of guy and after only a few hours sleep and a single coffee I’m not the kind of [...]