Author Archives: J. D. Bartlett

Happy Birthday Sqizit!

Today is exactly 2 years since my first blog post on sqizit.bartletts.id.au. To celebrate, here’s some highlights and history from Sqizit. Highlights 4 posts on music, including sheet music of my piano composition For Mandie. Pretty swirls in Python. Some … Continue reading

Posted in short | Tagged , , , | 9 Comments

Something Fishy with Python ASTs

Ok, so far so good. Now comes the interesting bit.

When you parse an AST with a __future__ import, it looks as if it stores some hidden flags that suppress this error. These flags, if they exist, are … Continue reading

Posted in short | Tagged , , | 12 Comments

Twisted + Pygame the Easy Way

I’ve put together a Python package called fibre. It provides helpers to make it easy to write asynchronous applications. It uses Twisted under the hood. I’ve also made a package called fibre.ui. It adds user interface support using pygame. One … Continue reading

Posted in midlength | Tagged , , , , | Comments Off on Twisted + Pygame the Easy Way

Subclass ’em Functions

Quick Summary I’ve got a simple Python helper class, in the talljosh package, that lets you write things that behave as functions but can be extended by subclassing. But Why? Consider the following Python function, found in json/encoder.py in the … Continue reading

Posted in midlength | Tagged , , , | 1 Comment

Again: Broadcom Wireless BCM43224, Ubuntu

Update 2013-02-27: This solution on Ask Ubuntu is much better, because it includes properly packaged things that should update when you upgrade Ubuntu. Update 2012-10-24: The patch is no longer available on Broadcom’s website, but it can be found here. … Continue reading

Posted in short | Tagged , , , , | 4 Comments