Archive for the ‘Life’ Category
Running CruiseControl on Gentoo
If you are trying to run CruiseControl on Gentoo Linux, you may find that you get an error similar to the following.
line 109: /bin/java: No such file or directory
There is due to the Java path. You can find it using the following command.
whereis java
You can then create a symlink to it.
ln -s /usr/bin/java /bin/java
Try running the command again and it should work.
If you are trying to run CruiseControl on Gentoo Linux, you may find that you get an error similar to the following.
line 109: /bin/java: No such file or directory
There is due to the Java path. You can find it using the following command.
whereis java
You can then create a symlink to it.
ln -s /usr/bin/java /bin/java
Try running the command again and it should work.
Birthday meal
Monday, November 5th, 2012 | Life

At my birthday meal, we managed to eat our way through £557.54 worth of meat :D.

At my birthday meal, we managed to eat our way through £557.54 worth of meat :D.
Waxy candles
Saturday, October 27th, 2012 | Life
Recently, we dined at Kendalls Bistro, a French restaurant on St Peter’s Square. They had long candles in wine bottles, where the way had all hugely overflown and run down the bottle, to the level where you can only assume it is some kind of art.

Unfortunately, I don’t have a photo of it, or could find a uncopyrighted photo that looked anything like it, but it looked something like this. Anyway, you can read my review of Kendalls Bistro over on Know Leeds.
Recently, we dined at Kendalls Bistro, a French restaurant on St Peter’s Square. They had long candles in wine bottles, where the way had all hugely overflown and run down the bottle, to the level where you can only assume it is some kind of art.

Unfortunately, I don’t have a photo of it, or could find a uncopyrighted photo that looked anything like it, but it looked something like this. Anyway, you can read my review of Kendalls Bistro over on Know Leeds.
Getting old
Friday, October 26th, 2012 | Life

Today marks the first anniversary of my 25th birthday. Thanks to the spread bet I placed, that means £100 in my pocket, and an additional £100 for each year after that I survive.

Today marks the first anniversary of my 25th birthday. Thanks to the spread bet I placed, that means £100 in my pocket, and an additional £100 for each year after that I survive.
Command not found on updatedb on Mac OSX Lion
If you’re running Mac OSX Lion and trying to update your locate db, you may get the following error message.
-bash: updatedb: command not found
You can call updatedb by using its full path instead.
/usr/libexec/locate.updatedb
You could also create a symlink in your bin directory which would then allow you to just call updatedb as normal.
If you’re running Mac OSX Lion and trying to update your locate db, you may get the following error message.
-bash: updatedb: command not found
You can call updatedb by using its full path instead.
/usr/libexec/locate.updatedb
You could also create a symlink in your bin directory which would then allow you to just call updatedb as normal.
PHPNW12
As part of my push to attend more conferences this year, and get out into the real world, I recently attended PHPNW12, a PHP developer conference that took place in Manchester.
I arrived on the Friday night and checked into the hotel across the road from the conference, the Britannia. With it’s sweeping balconied staircases it felt like I was in a 70s horror movie. The floors creaked and the light in the corridor outside my room flickered on and off constantly – indeed, it rather ruined the mood when they fixed it.
The Friday night featured a hackathon, though not feeling too well due to the tail end of a cold, I spent about 20 minutes hacking, then ate my pizza while I checked my emails for an hour and headed to bed, not to emerge until 12 noon the next day when I felt a bit better.
The talks were on the whole good – there was a real range in there, some had really interesting topics but due to their lack of experience presenting talks, where rather dull. Others were confident and entertaining speakers who despite presenting quite dull topics (caching is not going to be mega interesting) presented brilliant talks. On balance, I would certainly prefer them to focus more on speaker quality over topics next year.
On the Saturday night there was a social including dinner, at which I spent quite a bit of time getting to know some of the other people at Sky – I didn’t realise they were going as I hadn’t gone with Sky, but it was great to see some familiar faces there.
Overall, I found I learned a lot from it. If I can bring back just a few ideas to my own business then it will have been worth the expense.
Staircases in the hotel. I also tried the new panorama function on iOS6, on it’s side:
As part of my push to attend more conferences this year, and get out into the real world, I recently attended PHPNW12, a PHP developer conference that took place in Manchester.
I arrived on the Friday night and checked into the hotel across the road from the conference, the Britannia. With it’s sweeping balconied staircases it felt like I was in a 70s horror movie. The floors creaked and the light in the corridor outside my room flickered on and off constantly – indeed, it rather ruined the mood when they fixed it.
The Friday night featured a hackathon, though not feeling too well due to the tail end of a cold, I spent about 20 minutes hacking, then ate my pizza while I checked my emails for an hour and headed to bed, not to emerge until 12 noon the next day when I felt a bit better.
The talks were on the whole good – there was a real range in there, some had really interesting topics but due to their lack of experience presenting talks, where rather dull. Others were confident and entertaining speakers who despite presenting quite dull topics (caching is not going to be mega interesting) presented brilliant talks. On balance, I would certainly prefer them to focus more on speaker quality over topics next year.
On the Saturday night there was a social including dinner, at which I spent quite a bit of time getting to know some of the other people at Sky – I didn’t realise they were going as I hadn’t gone with Sky, but it was great to see some familiar faces there.
Overall, I found I learned a lot from it. If I can bring back just a few ideas to my own business then it will have been worth the expense.
Staircases in the hotel. I also tried the new panorama function on iOS6, on it’s side:
Install Go Server on CentOS with OpenJDK
If you’re trying to install ThoughtWorks’ Go Server on CentOS (or indeed any Linux variety), you might run into a problem where it says you need JDK installed. Indeed, even if you have OpenJDK installed it may continue to complain.
This is because they have not officially approved OpenJDK yet, so your two options are to a) installed the actual JDK or b) to install OpenJDK to at least the version required (1.6 at time of writing) and then force the installer to ignore dependences. This can be done using the following command.
rpm -i --nodeps go-server.rpm
Providing you already have OpenJDK installed, this should work fine.
If you’re trying to install ThoughtWorks’ Go Server on CentOS (or indeed any Linux variety), you might run into a problem where it says you need JDK installed. Indeed, even if you have OpenJDK installed it may continue to complain.
This is because they have not officially approved OpenJDK yet, so your two options are to a) installed the actual JDK or b) to install OpenJDK to at least the version required (1.6 at time of writing) and then force the installer to ignore dependences. This can be done using the following command.
rpm -i --nodeps go-server.rpm
Providing you already have OpenJDK installed, this should work fine.
FATAL: no pg_hba.conf entry for host ::1
If you’re getting an error trying to connect to Postgres on localhost, the problem is probably that your system is configured for ipv6 but your Postgres isn’t. You can change this however.
First off, you need to find the pg_hba.conf file.
locate pg_hba.conf
Edit it and find the line which defines the localhost.
hosts all all md5
Below it, add the following line.
host all all ::1/128 trust
Finally, restart Postgres.
If you’re getting an error trying to connect to Postgres on localhost, the problem is probably that your system is configured for ipv6 but your Postgres isn’t. You can change this however.
First off, you need to find the pg_hba.conf file.
locate pg_hba.conf
Edit it and find the line which defines the localhost.
hosts all all md5
Below it, add the following line.
host all all ::1/128 trust
Finally, restart Postgres.














