dConstructing

Using Jinja2 with CherryPy 3.2

I set up a simple web site using the CherryPy framework (version 3.2). It was just serving simple text. Then I modified it a bit to serve a simple "Hello World" Jinga template. Then I decided it was time to render some simple text as page content and load that into the Jinja template.

I wanted to have the template loaded in one place rather than in every single PageHandler (which is the class that generates the page data), and the best way to do that Read in full

Ecasound and Python 2.6

I recently started working on a project that involved recording audio. Basically, a microphone would be plugged into a computer, and I needed a way to record any sound the microphone picked up. I didn’t want to record hours of silence, so the software would have to sit dormant and record on it’s own without any user intervention (basically, sound-activated recording).

Oh, this also had to be done in linux, and preferably through the command line.

Finding the Program

I tried as many different search terms as I could think of, but couldn’t come up with very many linux projects that involved sound-activated recording...

Read in full