Viewing posts from July, 2014

FizzBuzz done right as a programming problem

FizzBuzz is a classic programming question often given at interview. The question goes like this:

Django can make cyclic python imports confusing

I've just had a horrible bug regarding import problems. I had a website migrated from another developer service running nicely so I tried to deploy it on my usual nginx/gunicorn set up. It raised an error telling me it could not import a middleware file that it imported perfectly happily in either the Django shell or when using Django's runserver command.

Upstart jobs that depend upon non upstart jobs

Upstart is wonderful. It is a clear, concise and robust way to ensure that processes get launched in the right way on a Linux server.

Faster SSH access

SSH is wonderful for easy login and communication between machines. It underpins the excellent rsync for quick file synchronisation and a number of other very useful tools including all manner of remote administration utilities.

Why governments need to fear IPv6

IPv6 is here but it is currently handled in much the same way as IPv4. IPv4 supports 4.3 billion distinct machines (strictly interface identifiers because a machine can, and often does, have more than one IPv4 address but it is easier to think of them as machines). IPv4 is running out more because of the way businesses have sliced and diced the numbers than because 4.3 billion is too small a number but it would have run out eventually anyway.

Australia: 07 3103 2894

International: +61 410 545 357


RSS / Atom