Category Archives: Python

When Agile goes wrong

I just received this message from customer support for a product I pay a subscription for (Oh, why not: this is Todoist.com): Unfortunately we don’t have a roadmap for future features. To stay flexible and add features based on requests, we work on a few options, implement them and then decide what’s next so unfortunately […]

Announcing MediGuest: Free Management software for Social Welfare Hostels

I’ve just released MediGuest. It’s a web-based, open-source application for the management of welfare hostels. Think of drug rehab centers, centers for alcoholics, or anywhere that may admit guests, but also supervise them in some way. Previously commercial, I’m making this available to all organisations that can benefit from it, entirely free of charge… because, […]

C++, it’s time to go

I’ve been studying a lot of languages lately, looking for a modern, parallel language which is a deserving successor to C/C++/Python as my main, go-to language for Getting Things Done.  Someone on Reddit was specifically asking why C++ isn’t ideal any more, and I wrote up this response based on my research.  So, I thought […]

Projects, old and new

NOTE: See my GitHub page, for a complete list of public projects. I’ve recently taken a few projects out of storage (literally: the mountpoint is called “storage” :), and posted them on GitHub.  So, I thought I’d take a moment to point out each one.  I’m also going to get into some current projects, which […]

Game complexity, and the art of programming

Someone asked on reddit: “How lines of text (coding) can turn into beautiful, complex environments in games?” I wrote up a quick reply, which I liked enough to post here instead.  I should really take the time to write it more carefully, building the explanations, evidence, etc.  That could be a powerful read, or maybe […]

Tuning a webserver to avoid swapping

A lot of people run into a problem when they first setup a webserver — perhaps in a VPS or other small system — using default settings: the system will run fine at first, but when under load, probably when the owner isn’t around, it will grind to a halt. The owner comes back, tries […]

PyPy vs. CPython: Speed and memory usage benchmarks

Following on from part 1 of this article, I’d like to take you through some PyPy vs. CPython benchmarks. Benchmarks: Many Objects Note: in all benchmarks, I’m measuring total memory use for the entire interpreter run, but only measuring time taken across the code I’m actually interested in testing. There’s a subtle (depending on your […]

On the virtues of PyPy as your default interpreter

I get a lot of use out of PyPy. In fact, it’s become my default python interpreter, replacing CPython, at least for Python 2.x code. Python 3.x support in PyPy is coming real soon now; most of the tests are passing, so the next release will probably make it happen. So, I wanted to write […]