Latest posts

Patrick Snape

Conda GLIBC_2.15 Error

If, when using conda (Anaconda or Miniconda), you experience an error that is something like the following:

ImportError: /home/pts08/miniconda/envs/_test/bin/../lib/libm.so.6: version `GLIBC_2.15' not found (required by /home/pts08/miniconda/envs/_test/lib/python2.7/site-packages/cyffld2/../../../libfftw3f.so.3)

You can ...

Patrick Snape

Matlab Ubuntu Unity Launcher

I was having some trouble getting Matlab to play nicely with the Unity launcher in Ubuntu. It seems as though Matlab requires you to pass the -desktop flag on Linux. The default behaviour seems to be something along the lines of show the splash screen and then close. Therefore, in ...

Patrick Snape

Making __git_ps1 and virtualenvwrapper play nicely

I had to reinstall my ubuntu installation today after I completely broke it upgrading from 13.04 to 14.04. This meant that one of my first tasks was to reconfigure my shell how I liked it. Upon searching around, I found that the way I had been including the ...

Patrick Snape

Offscreen Rendering In Linux

One of the techniques that I've been investigating recently, called Morphable Models, involves optimising the position and appearance of a 3D model in relation to a single image. In particular, the model must be rasterized in to the scene to allow for optimising over the accuracy of the fitting ...