A C & Python chained assignment gotcha

Date Tags Python / C++

Late last night I had a marathon debugging session where I discovered I had been burned by not fully understanding chaining assignment statements in Python. I was porting some C code to Python that had some chained assignment expressions. C and C++ programmers are well used to this idiom which ...

View comments.

more ...




Introducing weighmail

Recently my wife approached me and told me that Gmail was warning her that she was using 95% of her (free) quota. This was a bit surprising, but my wife does a lot of photography, and sends lots of photos through the mail to various people. So I began helping ...

View comments.

more ...

Fixed pages for Django

Date Tags Django

I have been using Django's flatpages app for some simple, static pages that were supposed to be temporary. I slapped a Javascript editor on the admin page and it has worked very well. However some of the pages have long outlived their "temporary" status, and I find myself needing ...

View comments.

more ...


Upgrading to Django 1.4

Date Tags Django

Django 1.4 came out recently, and I took a few hours to upgrade my first site yesterday. I thought it would be useful for my own reference to write down what I did. I hope it will be useful to others. I'd love to read what you had ...

View comments.

more ...