Dugan Chen's Homepage

Various Things

Django with Yahoo’s Geoplanet Database

Most web applications eventually need to provide the following user experience: select your country select your “administrative division” from a list appropriate for your country Where administrative division could be state, city, province, prefecture, or something else appropriate to your country. It goes without saying that to pull this off, you need a populated backend […]

The MPD Client Library Begins

This is a follow-up from a post made a couple of days ago: I’m starting to write a reactive MPD client library for PyQt. Well, I’ve started. There has been some soul-searching since then about just how far I would like to go with this. Do I want to limited it to idle() calls (which […]

I’m starting to write a reactive MPD client library for PyQt.

The Music Player Daemon commonly known as MPD targets Linux, runs as a daemon, requires you to set a port number, and allows clients to connect to it and send it commands. The commands are plain text: you can connect to the daemon via telnet and send it commands from there. Now, if you have […]