Archive for the ‘Python’ Category

The day the Robot attacked

Thursday, September 4th, 2008

On the 4th of September just before noon (two hours before writing this) my BlackBerry received an email, nothing particularly unusual. Just before I got to check it, I got another and another and this kept on going. Great I thought, probably spam emails that slipped through.
Not quite, on my website I have a contact [...]

Django 1.0 Release Imminent

Tuesday, September 2nd, 2008

If all goes well today then Django 1.0 should be with us soon! This is an exciting time for the fantastic framework.
I look forward to seeing code stability and allowing myself to stop running from the latest SVN dev version!
Well done to everybody involved!
I’m also happy to hear that the Django team is [...]

Multiple websites in the same Django project

Tuesday, August 12th, 2008

Want to run two websites from the same Django project? It took me a white to find this one out so I thought I’d post it up here.
Basically you need a couple of steps… First add django.contrib.sites to the installed apps in your settings.py file. Then run a syncdb to create the new tables [...]

Python - Some syntactic sugar

Monday, August 4th, 2008

I’ve been playing with Python for a while now and basically I love it. This post is going to be a very quick overview of some of Pythons features that might be new or a bit odd to a developer from a different background. I’ll be refering to Java, PHP and JavaScript in particular… This [...]

Lambda Functions - Does your language support it?

Sunday, May 18th, 2008

What are Lambda functions? Basically lambdas are functions that can be treated as anonymous or as objects. It depends on the language that is being used. They are very useful and at the core of the Functional Programming paradigm. So what languages can you create lambas in? Here is a few;
JavaScript

var foo = function(x, y){

  [...]