Monthly Archives: January 2010

Server Outages

It’s not my fault! Yes, I did kill a few sites last week, and I did choose not to recover all of them. But the issue with several of my sites (ccphillips.net, archcon.archlinux.ca, schwag.archlinux.ca) being out all weekend was not my fault. That was caused by a MySQL upgrade on my shared webhost. The Python… Read More »

Death of Arch Bounty

Last September I posted about Arch Bounty, a project I’d written to allow people to post ‘bounties’ to have specific ArchLinux bugs fixed. I didn’t promote it and interest faded quickly. I’ve been thinking of pulling the plug on it for a while now, but it happened unexpectedly yesterday when I accidentally killed half a… Read More »

Arch Linux Pens

I’d like to announce the arrival of Arch Linux Pens to the Schwag shop. These are nicer than I imagined, very opulent’ I’m very happy with them and hope you will be too. Pens are deep blue and gold with “Arch Linux” and “www.archlinux.org” engraved on them. They have a soft black grip and fine… Read More »

The Utility Of Python Coroutines

Coroutines are a mysterious aspect of the Python programming language that many programmers don’t understand. When the first came out I thought, “Cool, now you can send values into generators to reset the sequence… when would I use that?” The examples in most books and tutorials are academic and unhelpful. Last year, I attended David… Read More »

SimpleHTTPServer in Python 3

If you’ve been doing any testing of client code that uses urllib or httplib, you probably know about this command:

This starts a very simple server in the current working directory; it serves all files from that directory, and is, quite simply, the quickest way to get something set up if you want to… Read More »

Fixing Git Bash Completion

I didn’t know until yesterday about the __git_ps1 command. You can include it in your bash PS1 like this:

and whenever you’re in a git directory, it will include the current branch in your prompt, along with a few other goodies. I did this and it didn’t work. It just displayed __git_ps1 in my… Read More »

Intellectually Dispossessed

Ursula K. Le Guin is, or had been, one of my favourite authors. In 1974, she published an excellent thought experiment, set in a science fiction setting, titled, “The Dispossessed.” The book discusses a group of people who built a culture and society around the idea of non-possession; nothing belonged to anyone. People lived in… Read More »