9 Lessons from PyConAU 2013
A summary of what I learned at PyCon AU in Hobart in 2013. (Click here for 2014.) 1. In 2005, Django helped make it possible for a team of ONE to make a commercial web app Building web apps with Django...
View ArticleGet started with Python on a Mac
Here are the steps I recommend for getting started with python on a Mac (OS X), particularly if you are fairly new to the language. The Mac comes with python installed, and you can run this directly...
View ArticleSolve this puzzle – @memo and dynamic programming
Here’s the situation. You have a puzzle with 15 round coloured plates arranged in an equilateral triangle, and 14 coloured pebbles on top of them. One plate does not have a pebble – it is called the...
View ArticleServe datatables with ajax from Django
Datatables is an amazing resource which lets you quickly display lots of data in tables, with sorting, searching and pagination all built in. The simplest way to use it is to populate the table when...
View ArticleMonte Carlo Business Case Analysis in Python with pandas
I recently gave a talk at the Australian Python Convention arguing that for big decisions, it can be risky to rely on business case analysis prepared on spreadsheets, and that one alternative is to use...
View Article9 Lessons from PyConAU 2014
A summary of what I learned at PyCon AU in Brisbane this year. (Videos of the talks are here.) 1. PyCon’s code of conduct Basically, “Be nice to people. Please.” I once had a boss who told me he saw...
View ArticleHarness your Python style to write good Javascript
Python encourages you to write good code. Javascript does not. How can you harness your Python style to write good Javascript? Classes Let’s try to write this Python code in Javascript. Not obvious?...
View ArticleDjango & Angular overview
“Angular is what HTML would have been if it had been designed for building web applications” What problem does Angular solve? It separates your javascript models, views and controllers – just like...
View ArticleInside Class Cruncher
You’ll find here the concepts used to create Class Cruncher, a handy webapp for school administrators. The problem How should you deploy a certain number of teachers across your school’s classes, given...
View Article