Mon 11 January 2016

Filed under Howto

Tags Linux Development DSP

Fedora 23 (the current release at the time of writing) ships an outdated version of SciPy that doesn't include the spectrogram function. Installing the latest Scipy was kind-of a pain, so I thought I'd record some instructions for future-me and share it with you.

These instructions install dependencies, set up a python virtualenv container and then install the latest matplotlib, SciPy and Numpy on Fedora 23

Dependencies:

  • python-virtualenv

  • libpng-devel freetype-devel pygobject2-devel

  • redhat-rpm-config

  • gcc-gfortran gcc-c++

  • atlas-devel lapack-devel

Install these from Fedora repositories:

sudo dnf install python-virtualenv libpng-devel freetype-devel pygobject2-devel redhat-rpm-config gcc-gfortran gcc-c++ atlas-devel lapack-devel

And then the python packages:

virtualenv env
source env/bin/activate

pip install -U pip &&
pip install numpy &&
pip install matplotlib &&
pip install scipy

Installing numpy, matplotlib and scipy simultaneously fails. Thanks, pip.


Thu 02 April 2015

Filed under Howto

Tags Linux Containers Development systemd

It was the year of 2015 and people were still developing new applications in PHP... but for those who could no longer accept the idea of installing a system-wide LAMP stack, there was a new-old fassionable thing: Containers!

This is a quick howto for creating a throw-away container for messing …

Read More

Wed 01 April 2015

Filed under Howto

Tags Linux Networking

Sometimes there is good reason to talk to yourself. You might be doing a sound check, for example.

Likewise, it can be useful to route IP packets between two interfaces on the same machine using an external path. One reason to do this is to test other network devices like …

Read More

rationali.st © Andrew Cooks