Archive for the 'Chat' Category

Who is this man?

October 9th, 2008 by pyrat


Can you tell me who this is?

The Dog Story

September 28th, 2008 by pyrat

Written after some whisky so grammar isnt the best.


The following dog

Thonon to La Clusaz

September 5th, 2008 by pyrat

The Thunderstorm

About 7.5 hours cycling in torrential rain. Very different from the day before. It was raining hard when i woke. I hid in the hotel like someone sheltering from a bombing raid. I shouldnt have bothered.

Off i went out of thonon then 15 mins later realised I forgot my helmet. Take 2.

Up the first ascent of the day the col de …….. it was raining as hard as it can. Soaked to the skin by the top despite goretex then a bit cold in the wind. On the descent the rain was too much for the cyclecomputer and its died on me… no clock again.

Specialized sucks.

In the valley I was cold so barged into a restaurant and got changed into dryness. Two croisants as prep for the col de la columbiere at 1610 metres.

Easily the hardest ascent I have ever done on a bike. The torrential rain storms did not help. Made it to the top pretty tired and wet again but managed to blitz some of the supported buffties on the way up. (where you pay to have them carry your bag)

Then had coffee and crepes at the summit restaurant along with the rest of my food; Then a long descent in the rain..

I thought that it was all downhill to la clusaz but it turned out it way on the way up the next col!! Got to la clusaz and finished my water then found out that the youth hostel was even further up the next col.

Got there at 1910 hours, a pretty tough day; Food was ace although hostel was devoid of life; Went to bed exhausted; to the sounds of intensly violent thunderstorms.

Patching with Git

June 27th, 2008 by pyrat

Git is hard; but powerful. A wee bit of command porn for you for contributing with open source projects.

When sitting in a branch you have been working on for a new feature / bugfix which was created with the command:

git checkout -b cool_patch

To create a patch for the master branch which is a remote tracking branch for a read only git repo. Typically, this is an open source project which you cant push to therefore you need to patch.

  git format-patch master --stdout > ~/patches/patchname.diff

Now you can create a ticket on the open source project with your patch.

-||-

To load a patch, its good to do it in a new branch.

So a workflow to applying a patch is as follows

  git branch master
  git checkout -b new_patch
  cat ~/patches/patchname.diff | git am

You can then check you are happy and when you are. You can merge back into master by committing the branch changes then switching back to the master branch and merging your

  git add .
  git commit -a -v 
  git branch master
  git merge new_patch

Please correct me on any glaring errors you see. Im pretty much making it up as I go along.

Add users to groups

June 24th, 2008 by pyrat

  groups deploy
  sudo usermod -a -G www-data deploy

Summer Skiing

June 7th, 2008 by pyrat

My mate Per Arne Troset attempts to ski across a lake.

Apologies for the swear at the end. I am not normally like that.

Web Designers should do their own CSS

June 6th, 2008 by pyrat

Something I have believed for some time has been put into words by DHH. Last three posts have all be 37Signals related. Makes me look like a bit of a fanboy. Dont care tho, its good stuff.

Web Designers should do their own CSS

Dinnae Hammer ur Webserver for Movies

May 23rd, 2008 by pyrat

Samson.jpg

Ive recently got me a samson audio microphone complete with pop filter for recording screencasts for oentries. As a side note screencasting for the mac is pretty good for explaining how to make screencasts on the cheap.

After making your screencast, they are a considerable size. Theres no point hammering your wee vps or shared server delivering this content. Its a better plan to rely on Amazon S3 to do this for you.

A quick easy way to do this is to get the s3fox firefox extension to upload your media files. Its pretty good but still a bit flaky.

  • Create a new bucket (you need to do this through command line api)
  • Go into S3 Fox open the bucket and upload your files.
  • Right click on the files and set them to be publicly viewable.
  • They are now available on http://s3.amazonaws.com/[bucket_name]/

Now your app webserver can sleep happy and spend its time dealing with app requests.

Meetings

May 7th, 2008 by pyrat

Photo

From Seth Godins post

Ghetto Trondheim

May 6th, 2008 by pyrat

Howdy. Its now been 5 months since Helen and I moved to Trondheim in mid Norway. We made the move in the dead of winter then there was only about 5 hours of proper daylight each day. Opting to be able to take more stuff with car (2 bikes, 2 snowboards and a pair of skis on the roof) rather than flying we embarked on a 3 day nonstop journey. We had various challenges to overcome on the 22 hour nonstop overnight drive from Haugesund in the south to Trondheim a lot more north. Most of the challenges were snow related:

After we arrived in Trondheim we were happy to have made it. The we promptly left by train for a week in a ski resort in northern Sweden for new year with friends, snus and jagermeister.

The we finally started life in Trondheim. Thanks to the Glasgow city race, I had met a woman by the name of Turid Arnesen. She has sorted us out big time here, from lending us skis to teaching us Norwegian.

We have joined the local club Wing OK which is the elite club to join here. It also has a strong medlemmer (members) section. There are loads of trainings planned, almost everyday in the winter there was some sort of training on. This was totally different from Clyde in the UK where there would be at most 2 trainings in a week. However, in winter we live on the edge of a huge xc ski resort (which I never realised until we got here). It looks like this:

We live here (I always wanted to live on a map):

There is snow everywhere in winter, except for by the sea; so that is where the orienteering takes place. Its amazing having both mountainous snow terrain and the seaside within a few miles of each other. Its easier to ski in winter than orienteer (half of trondheim seem to ski) so I did a lot more of this than running training but still went to the orienteering training.

Coming from a science and engineering background, languages are not my strong point. Learning Norwegian has been a mind expanding experience and I would heartily recommend learning a second language if you havent already.

As with most things there are pro’s and con’s:

Cons
The food in supermarkets is rubbish and overpriced.
Flights are more expensive than the UK.
The car market is a joke, again super expensive.
There is nothing open on Sundays.

Pros
Real seasons – summer is totally different to winter.
Lack of people – overpopulation is not an issue here. If you want to build your own house, you still can.
Orienteering is like football here – well not quite, but there are loads more people doing it.
Quality of life – Norwegians believe in family time. They work set hours and spend the rest with their families. There are no points for staying late here. Also there seems to be loads of public holidays. The work ethic in the UK is unhealthy. The Norwegians have got it right.

Have a fun summer and hopefully I’ll see you at the Oringen!