Archives week 15 of 2014

April 14, 2014 - April 20, 2014

PyOpenGL test_core on 2.7, 3.3 and 3.4

I just finished doing a clean test run across those 3 releases of Python with each of the 8 major config flags on/off (i.e. 48 runs of the test suite). As expected, almost all of the failures were in Python 3.x, and mostly related to unicode, where COPY_ON_ERROR generated failures when a unicode string was ...

Continue reading

Create Dummy ALSA Devices (en mass)

Since this was a bit of a pain to track down, here's the process, on an Ubuntu Server 12.04 machine, to create many ALSA dummy devices:

$ cat /etc/modprobe.d/alsa-dummy.conf 
options snd-dummy enable=1,1,1,1,1,1,1,1,1,1,1,1 pcm_devs=4,4,4,4,4,4,4,4,4,4,4,4 fake_buffer=0,0,0,0,0,0,0,0,0,0,0,0
$ modprobe snd-dummy

That sample creates 48 dummy devices (on 12 cards), though that's likely more than you'll ever need.  The ...

Continue reading

Ubuntu Configuration for Inspiron 15r Running Hot

So you have a Dell Ubuntu 14.04 Laptop and it is running way too hot. You can configure it to run at a reasonable level using i8kmon. As with anything heat related, be careful. If you miss-configure the machine you are likely to wind up with a fried machine!

You create a file called /etc/i8kmon.conf and put the ...

Continue reading

Daily archives

Previous week

Week 14 of 2014

Next week

Week 16 of 2014