Archives week 13 of 2012
March 26, 2012 - April 1, 2012
Research in Action 2012
Written by
on
in
Snaking.
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 to work ...
Make your nginx-proxied Django site detect SSL (HTTPS)
Written by
on
in
Snaking.
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 *always* setting a ...
Control Default ALSA Device via Environment Variable
Written by
on
in
Tuxedo.
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 ...