Today while setting up a raspberry pi to be used as an airplay audio server I came across an error message which started,

unknown pcm cards.pcm.front

As I knew that the audio output was working fine normally I suspected a permissions issue.

In creating a new user under RPI Debian Wheezy, which I tend to do all the time for security reasons, the users is not add to the audio group, which is required.

So this command adds the user bob to the group audio,

sudo usermod -a -G audio bob

So if you have an audio problem that is fixed by running the application as sudo then checking the user is withing the audio group is a good starting place.

You can check what groups a user is in by just typing,

groups

Found this online [here][1] as a dirty way of getting synergy to boot on a debian rpi image at auto login.

/usr/bin/killall synergyc while [ $(pgrep -x synergyc) ]; do sleep 0.1; done /usr/bin/synergyc </blockquote> [1]: http://nixnote.blogspot.co.uk/2012/02/autostart-synergy-on-debian.html

After an overnight, with little sleep, in Stansted Airport I finally made it to the Live Code Festival in Karlsruhe. Enjoyed a stroll around the city and visit to the local museum, free on Happy Friday while enjoying the sunshine.

In the evening attend the two concerts of livecoding which displayed a typical mix of technical instrest and compositional concern though I suspect that my tiredness did not help.

Was great to get an opportunity to hear BenoƮt and the Mandelbrots and I enjoyed the beginning of the Cybernetic Orchestra set.

So due to the lull in PhD finishing actvities and in celebration of the Easter holiday I had the opportunity to enjoy a stroll and the southern end of the city of Manchester to take some photos.

Was a lot of fun and nice to get the camera back into use for fun before the work of the summer starts with weddings.

Here is a frame I was quite happy with, shot from the hip.

Tram in Manchester

24mm 1/500 f8 iso 100

So with Google having given notice on Reader it was time to look for a replacement and the first candidate to try was Tiny Tiny RSS.

The instructions are quite clear but thought it was worth just running through how I did the install on 1 and 1 shared hosting.

These instructions work with ssh access but you could use the web interfaces instead.

So

wget https://github.com/gothfox/Tiny-Tiny-RSS/archive/1.7.5.tar.gz

download the current version then

tar -zxvf 1.7.5.tar.gz

unpacks it for use.

At this point you can set up the sub-domain to resolve to the folder.

While in the 1 and 1 interface create a new SQL database and remember to take note of it name, username, password and location. Then load the schema from within the folder. (This command will ask for the database password.)

mysql -u db-username -D db-name -p -h db-host.com < schema/ttrss_schema_mysql.sql

Then it is time to setup Tiny Tiny RSS,

cp config.php-dist config.php nano config.php

Then fill in the top of the config file,

define('DB_TYPE', "mysql"); // or mysql
define('DB_HOST', "db-host.com"); // This must be set for 1and1 it cannot be left as localhost.
define('DB_USER', "db-username");
define('DB_NAME', "db-name");
define('DB_PASS', "db-password");

Also the simplest way to get Tiny Tiny RSS to update is by setting

define('SIMPLE_UPDATE_MODE', false);

to

define('SIMPLE_UPDATE_MODE', true);

Finally this gives a nice set of default plugins

define('PLUGINS', 'auth_remote, auth_internal, note, digest,');

Finally on 1and1 the default PHP version causes errors which can be resolved by changing the directory PHP version inside local PHP settings to 5.4.

This will get you a working ttrss install on shared 1and1 hosting, though it will not work on phones or mobile devices as the mobile section is redirecting by default.

More on the mobile setup to come.