Archives March 2012

Research in Action 2012

Spent the afternoon at Research in Action (at University of Toronto).  Highlights:

  • big classical (i.e. right out of the textbook) neural network used for road detection in satellite imagery; okay results, huge amounts of computing power involved; not sure it's really all that much better than a hand-coded solution, but it did seem ...

Continue reading

Make your nginx-proxied Django site detect SSL (HTTPS)

One of the nice new features in Django 1.4 is that it allows you to (easily) detect an upstream server's use of ssl using request.is_secure().  This means that your nginx configuration can use http or https on the same server and your Django site can detect it.  The magic is accomplished by ...

Continue reading

Control Default ALSA Device via Environment Variable

Say you want to target audio to one of N (virtual) devices in ALSA for a tree of processes.  That is, you want to say "hey, all you lot, play out channels 2 and 3 of the sound card as though they were a separate card" and then tell another set of processes to do ...

Continue reading

Any LibreOffice/OpenOffice/PyUno Gurus in the House?

I'm trying to code up a service that needs to auto-play presentations (mostly Powerpoint).  Users (who may not be at all technically savvy) need to be able to upload the files and have them advance regardless of whether they have properly specified auto-play settings (if they *have* set the advance properly, we want to ...

Continue reading

Build PIL on a custom Python2.6 on recent Ubuntu

If you need PIL in your custom Python 2.6 build (your build needs to be custom if you want to target LTS Ubuntu Server's default Python while working on a more recent Ubuntu), you will likely find your PIL build doesn't work (because, of course, you have a 64-bit build of Ubuntu ...

Continue reading

Daily archives

Previous month

February 2012

Next month

April 2012

Archives