sjh - mountain biking running linux vegan geek spice - mtb / vegan / running / linux / canberra / cycling / etc

Steven Hanley hackergotchi picture Steven
Hanley

About

email: sjh@svana.org

web: http://svana.org/sjh
twitter: http://twitter.com/sjhmtb
instagram: http://instagram.com/sjhmtb

Other online diaries:

Aaron Broughton,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Jeremy Kerr,
Martijn van Oosterhout,
Michael Carden,
Michael Davies,
Michael Still,
Tim Potter,
Tony Breeds,

Links:

Linux Weekly News,
XKCD,
Girl Genius,
Planet Linux Australia,
Bilbys,
CORC,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

April
Mon Tue Wed Thu Fri Sat Sun
   
     

2009
Months
Apr

Categories:

Archive by month:

Sat, 25 Apr 2009

Anzac Day Epic 2009 - 22:09
I missed the ADE last year, due to a broken collar bone and being up in northern NSW for Matt and Amanda's wedding on Anzac weekend. However in past years it has been a really enjoyable ride (I did not take photos in 2004). So today I was again happy to join in the fun that was the ADE.

My GPS trace from today is a nice 71km, I have not yet uploaded any photos, however Morgs has some online to show off the cold and wet and the fun too.

Turnout was reasonable considering the conditions, though the lack of Crash and JJJim was strange. People there were

Matt - Ibis carbon goodness
JJ - Ibis carbon goodness
Chris W - Ibis car...you get it
Sim - GT Dually
Steve - Steel hardtail
Deathmarch - Steel hardtail
McCook - Reign
McD - Epic of carboness
Adam, EHCW - Trance
Morgs - Nomad.

Fun was had.

[/mtb] link

Thu, 23 Apr 2009

How many problems are ignored - 12:29
So I just opened a tub of soy life soy yoghurt and found a large chunk of mold inside the sealed container, the tub is still well inside the used by date. However it would require so much effort to return it to place of purchase or send it in to the company that either produces (in this case) or imports it that I have chucked it in the bin and ignored the issue.

I do wonder how many people tend to do this, unless you get a repeat failure from some brand a few times it is far easier to simply go on with life and not spend the time making a customer complaint with such a small value item. It is only as the value of a failed item increases or the ease of making the complaint decreases that you would make the effort. Of course everyone will have a different graph of where these things go and the area under which you would make the effort.

[/leisure/food] link

Tue, 21 Apr 2009

Another change to cache_timestamps for perl 5.10 - 11:28
Upgrading this server to lenny I finally have perl 5.10 on the system, this caused a problem with my blosxom plugin cache_timestamps. Using File::Find I previously had a sub routine wanted defined inside a scope with some variables available in that scope. However on upgrading to 5.10 this no longer worked.

It used to be something like this

{
   my (%h1,%h2);
   sub wanted {
      $h1{$File::Find::name} = "someval";
   }
   find (&wanted, "topdir");
}

However when I changed to perl 5.10 though the assignment seemed to work (blosxom runs without -w or use strict enabled) if I tried to display %h1 inside wanted or tried to use it like a hash I got a weird error "Bizarre copy of HASH in refgen" at the line of code I tried to use the variable as a hash. Looking at other uses of File::Find it seems everyone used anonymous subroutines from the call to find. I have changed the code to do the following.

{
   my (%h1,%h2);
   find (sub {
      $h1{$File::Find::name} = "someval";
   }, "topdir");
}

And now the hashes are in scope and not some so called Bizarre copy any more. The code for the cache_timestamps plugin can be found here and details about cache_timestamps are in my comp/blosxom category.

Update: found some details, rather than searching for the error message I started searching for variable scope changes in 5.10. Found this page talking about state variables being available in 5.10 as my variables are not persistent across scope changes.

[/comp/blosxom] link

Sun, 19 Apr 2009

Morning run in Sydney - 09:14
So because I am in Sydney for the weekend and still wanted to do some exercise I asked my friend Zoe if she was keen on a run somewhere over the weekend. She said she was keen to head out with the Sydney Striders for their Iron Cove Bolter run and cut it short to have a 20 km run. This sounded good so we headed over there this morning for the 6am start.

Starting with the slow group we had a pleasant 20.7km of running at 5:40 pace chatting with the people there and enjoying the cool nice running conditions the morning had dished up for us. Now for the rest of the day in Sydney after some good morning exercise.

[/mtb/events] link

Sat, 18 Apr 2009

Some Sydney food - 19:17
As it was Jane's birthday recently I thought I would find the first weekend I could and head up to Sydney to hang out with her for a weekend. As Jane is a big fan of breakfast out and as I liked the chance to find some more Vegan friendly eating while up here we have eaten out for breakfast and lunch today.

First off we headed to a place in Newtown called Macro Cafe, the coffee was alright, although it was not a Vegetarian place they did have scrambled tofu for breakfast. Jane had a mushroom dish which had goat cheese and some other stuff, according to her it was remarkably not good for the ingredients. My scrambled tofu was alright but something was off about the spice or way it was served and it was not as good as I come to expect in many Melbourne Cafes.

Lunch on the other hand was had in Glebe at Iku Wholefood on Glebe Point road, a chain of stores around Sydney (10 all up), they are a Vegan cafe, with a whole variety of interesting and yummy mains and desserts ("cheesecake" made vegan with tofu and other yummy ingredients for example). I had a rather yummy tofu pocket and a pasta based fritata. Jane had a bean and rice dish with two different flavoured pinto bean dishes, the sweet potato and arame was really good and the pinto bean tomato casserole was also enjoyable. Yummmmmmm.

I wonder what we will do for breakfast tomorrow...

[/leisure/food] link

Mon, 06 Apr 2009

First 24 hour race since February 2006 - 11:12
Well that was interesting, due to being involved with organising CORC events and generally only travelling long distances for Adventure Races or the Gravity 12 hour, I had not competed in a 24 hour mountain bike race since February 2006 (when I raced in the NZ0 24 Hour race in Rotorua, NZ). So this weekend I lined up to compete in the 24 hour race out at Sparrow hill that had nothing to do with CORC.

I was in a 4 person team with Marea (with whom I have competed in Polaris many times), Ian (Marea's partner, who has raced the Scott 24 hour solo and other such things) and an ex Canberra now Brisbane mtber Ged. All was going fairly well until Ian after doing 1 lap on Saturday decided he just could not get his head around the idea of racing 24 hour races any more and wanted to simply do other riding, thus he was not keen to ride any more. This left us as a 3 person team.

I headed out for my 4th and 5th night laps doing a double at around 10pm with our new race plan to do doubles until around 4:30am then singles until dawn and maybe get a friend, Dave A, to ride some laps on Ian's bike in the daylight. However while I was doing my double lap Marea and Ged decided we should rest overnight. I was not incredibly keen on many more night laps so we all went to sleep for a few hours. In the end I rode 6 laps, a total riding time of around 5h40m and felt alright afterwards, though a little bit flat and energy drained today.

Paul set a fantastic course and the rain dump on Friday night was perfectly timed, there was no dust all weekend and the course was tacky and cornering was fast and secure the whole race. I rode one lap on the single speed, however with the chain coming off three times I discovered I needed to take a link out of the chain to get enough tension into it, I did not feel like doing that so rode the geared bike the rest of the time at the race. I was reminded that a duallie would have been faster as you can keep full power down the whole time over bumpy terrain, however it was one of the best hardtail courses around anyway especially with good line choice.

[/mtb/events] link


home, email, rss, rss2.0, atom