<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Douglas F Shearer</title><generator>Tumblr (3.0; @douglasfshearer)</generator><link>http://blog.douglasfshearer.com/</link><item><title>SXC 2012 Round 1 - Kirroughtree</title><description>&lt;p&gt;The first round of the 2012&amp;#160;&lt;a href="http://sxc.org.uk"&gt;Scottish Cross Country&lt;/a&gt; took place at Kirroughtree. The course used parts from previous races there, but was an all-new arrangement. The usual singletrack and fireroad to start, followed by a long natural climb, into an undulating rocky section, then some fast natural descending before a forestry road drag. A few pieces of natural singletrack dropped you into the finish of the Red route, back to the arena to start it all again.&lt;/p&gt;
&lt;p&gt;There was a pretty good turnout for the first round, so the racing was going to be fast. On the first lap I tried not to go to wild chasing the elite guys, they were off to do their own battle. Weirdly on the first lap there were five elites up front, then the expert racers including myself fairly close together behind. It was at this point I realised I could have quite a good battle with Hamish Fletcher-Cooney, a fellow expert who I&amp;#8217;d raced against a few times last year.&lt;/p&gt;
&lt;p&gt;At the end of the first lap he had about 29 seconds on me, but I noticed as we did the first half of the lap that I could take him back fairly quickly on the climb and natural sections. I overtook on the natural climb, and pressed on a little bit to see what would happen. On the forestry road drag I lost some time, and we crossed the line at the end of the second lap with only a few seconds between us.&lt;/p&gt;
&lt;p&gt;This status-quo continued on the next lap, with the gap over the line again being only a few seconds. For the last lap I knew I had to put a big effort in on the climbs to make sure he couldn&amp;#8217;t close the gap on the flatter sections. I properly turned myself inside out on the first half of the course, then did my best to keep the speed up for the rest of the lap, resisting the temptation to look behind.&lt;/p&gt;
&lt;p&gt;I crossed the line in sixth position, first expert, and held Hamish off my 18s. The course really is well suited to differing types of rider, I&amp;#8217;m really looking forward to racing Kirroughtree again in June when the British XC Series finally comes back to Scotland.&lt;/p&gt;
&lt;p&gt;Thanks to the SXC and the girls at The Breakpad for the awesome course.&lt;/p&gt;
&lt;p&gt;Full results are available &lt;a href="http://www.theclaymoreproject.com/uploads/associate/81/file/2012%20-%20SXC%201%20-%20Kirroughtree%20Results.pdf"&gt;on the SXC website&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/25046868383</link><guid>http://blog.douglasfshearer.com/post/25046868383</guid><pubDate>Wed, 13 Jun 2012 22:48:22 +0100</pubDate></item><item><title>BMBS 2012 Round 1 - Sherwood Pines</title><description>&lt;p&gt;This year Sherwood had a mostly new course on offer for the first round of the British series. Unfortunately it was as flat as the old courses, with minimal technical sections to separate riders, resulting in some very close racing. After the race I was told there was caution arrows on some sections, I never saw these and still think my leg is being pulled.&lt;/p&gt;
&lt;p&gt;I was gridded first, so was in the front row with a good chance of staying out of any trouble. Unfortunately there was a big crash in the row behind as the barriers narrowed in the start straight, ending many people&amp;#8217;s races very early and resulting in Wheelbase&amp;#8217;s Joe Richards having a helicopter ride to the hospital to be checked out (he&amp;#8217;s OK, it was just precautionary).&lt;/p&gt;
&lt;p&gt;The first section of singletrack came pretty quickly, by which time I was probably down in about 20th due to my lack of power for the start. I sat steady, laughing at riders being too keen to make a pass in inappropriate places, and at those who were now regretting their seriously-slick tyre choices. Once the second lap came round I started to move up places, blasting past people on the one short-step climb on the course, and drafting riders on the forestry roads before sprinting past into the singletrack.&lt;/p&gt;
&lt;p&gt;On the last lap I was still making up places, but struggling with some of the elite back markers who were riding some sections a lot slower than I wanted to, especially frustrating with the narrow tree-lined singletrack that makes up the majority of the Sherwood course. The run-in to the finish was tight, with some rooty singletrack and right-angles to negotiate. I managed to pass some more elites on get on the back of a group of three other expert riders but I was outgunned in the sprint by all of them and came in for a rather pleasing tenth place. Not bad for a course that&amp;#8217;s not supposed to suit me.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/22903170049</link><guid>http://blog.douglasfshearer.com/post/22903170049</guid><pubDate>Sat, 12 May 2012 15:44:28 +0100</pubDate></item><item><title>Scottish Cyclocross Season Roundup</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lzbx7qOpzO1r4bwz6.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.scottishcyclocross.org.uk/"&gt;Scottish Cyclocross&lt;/a&gt; is now bigger than ever, some of the rounds had almost 300 people turning up. Great courses and great people, I look forward to more of this in 2012.&lt;/p&gt;
&lt;h3&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; Round 1 – Irvine&lt;/h3&gt;
&lt;p&gt;I’d never ridden the cyclocross course at Irvine before, despite it appearing twice in the past, once as an &lt;span class="caps"&gt;SCX&lt;/span&gt; round in 2009, and as the delayed 2010 champs in January 2011. Famous for it’s sand-trap, a long stretch in the dunes at the back of the beach, I was keen to see this was a gimmick or something worth using as part of the course.&lt;/p&gt;
&lt;p&gt;The course has two runups, one short up a set of steps, the other a 25m steep grass section. The sand-trap is about 100m long, and is an awesome addition to the course. It takes more grunt than skill to ride it, though things are much easier when you realise you can skirt along the margins out of the really soft stuff, though you risk getting stuck in some of the larger ruts.&lt;/p&gt;
&lt;p&gt;As for the racing, I had a horrible first couple of laps, going backwards after the initial fast start it took me a while to get into the swing of things. For the second half of the race I had Rapha’s James McCallum in sight, allowing me to keep my lap times sensible even though I was feeling a bit horrible. I put in a big effort on the last few laps, but didn’t make the catch by the end.&lt;/p&gt;
&lt;p&gt;13th place, an improvement on my first CX race last year. Full results on the &lt;a href="http://www.scottishcyclocross.org.uk/2011/10/irvine-quick-results.html"&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; Round 2 – Plean&lt;/h3&gt;
&lt;p&gt;A bit of a classic course remixed for 2011. Gone was the large climb at the back of the course, replaced with two new grassy sections. Loads of people complained about this course, but despite only having the one bike I had little issue with the bike clogging up. Definitely a course for the more powerful and skilled riders.&lt;/p&gt;
&lt;p&gt;I got into fourth wheel into the first singletrack, then had to stop because my brake hanger cable was rubbing on the tyre. Almost as soon as I remounted I jammed my too-short chain on the big-ring, big-sprocket combination. My fault, fixed that then remounted. I was down in about 30th at this point. My disaster lap continues as I go some course tape caught in my cassette.&lt;/p&gt;
&lt;p&gt;After this things started to come together, I was making up lots of places by riding sections others with running, and taking risks on some of the fast muddy descents. I did manage to drop my bike about halfway through as I hopped the hurdles, resulting in twisted bars and a bent &lt;span class="caps"&gt;STI&lt;/span&gt;. With no tools I just had to ride it like that.&lt;/p&gt;
&lt;p&gt;I ended up 10th, which I was very pleased with given the troubles I had. Full results on the &lt;a href="http://www.scottishcyclocross.org.uk/2011/10/quickie-update-round-2-plean-park.html"&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; Round 3 – Mugdock&lt;/h3&gt;
&lt;p&gt;Another classic course, this time without the crazy start of last year which resulted in lots of pileups. I got a good start and started to pick people off quite early. On the third lap I thought I felt my front tubeless tyre burping some air when I slammed it into some off-camber ruts. The next lap at the same point I was sure it was happening, and now had a very low front tyre. I kept riding it, hoping to make the pits where I could borrow a pump. Alas it burped the remaining air on a fast gravel corner, I luckily managed to step off the bike as it happened, with no injury. I ran round to the start-finish area to see what the time was like, then posted my &lt;span class="caps"&gt;DNF&lt;/span&gt;, my first of the year. Spectating was great fun after this, though I think some people were a little shocked by my enthusiastic heckling.&lt;/p&gt;
&lt;h3&gt;Hallocross&lt;/h3&gt;
&lt;p&gt;Organised by the &lt;a href="http://www.thetricentre.com/"&gt;Tri Centre&lt;/a&gt; on the same course as the Edinburgh 48 races, Hallocross was night-time cyclocross, in fancy dress, with cider. 60 people turned out for it, very impressive for a midweek event that required lights. Even knowing the course very well it was pretty frightening at times keeping the ’cross bike upright on the gravel corners and going over some of the blind drops. The racing was close and fast, with lots of mini battles to be had. Results were only down to third, due to the technical difficulties of reading numbers in the dark. I think I was seventh or eighth, but had fantastic fun whatever the result.&lt;/p&gt;
&lt;h3&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; Round 4 – Ballater&lt;/h3&gt;
&lt;p&gt;Ballater isn’t exactly close, but some nice weather meant the drive north of the Lecht was one to remember. The Ballater course was very non-traditional ’cross, with some fast rocky tracks interspersed with forestry road. A few technical sections, punchy climbs and a horrible set of steps made it a tough one though. My only issue with the course was a rocky burn crossing which was very hard to cross without kissing the rims against the rocks.&lt;/p&gt;
&lt;p&gt;I had a good start here too, and picked off places as people dropped chains and punctured due to the rocks. The climbs were really suiting me, with the descents allowing some recovery time.&lt;/p&gt;
&lt;p&gt;I ended up 6th, my best result so far. Full results on the &lt;a href="http://www.scottishcyclocross.org.uk/2011/11/round-4-ballater-results-quickie.html"&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; Round 5 – Strathclyde Country Park&lt;/h3&gt;
&lt;p&gt;One of my favourite courses from last year, it had been changed slightly with one of the grassy climbs replaced with hardpack, and one of the descents on a gravel path. It was super muddy, with the field section being calve-deep mud. More than 30 people sheared their rear mechs off due to the small stones on the descent getting dragged into the mech by the mud. I joined them on the third lap, my mech sheared clean through, with the hanger being left completely perfect. Bah. The chain needed replaced too, only having been on for three races prior.&lt;/p&gt;
&lt;h3&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; Round 6 – Meadowmill&lt;/h3&gt;
&lt;p&gt;Another redesigned course for 2011, with lots of flat out fast sections, the usual awesome singletrack, and some horrible headwind sections due to gale force winds all day. It was nice to race on a dry mud-free course after the previous round. The course wasn’t really for me, there was no rest on it so I had to ride at a pace I could sustain for the whole hour, rather than just a few minutes at a time.&lt;/p&gt;
&lt;p&gt;Despite this I really enjoyed the high pace all the way round, and the interesting technical sections. I had a near-miss with a spectator on the course, unfortunately Davie Lines didn’t manage to swerve and was on the ground and out of the race instantly.&lt;/p&gt;
&lt;p&gt;I ended up 15th. Full results on the &lt;a href="http://www.scottishcyclocross.org.uk/2011/11/round-6-meadowmill-results.html"&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Scottish Cyclo-Cross Championships&lt;/h3&gt;
&lt;p&gt;Made it to within a mile of this race when I crashed the car due to slippy conditions. No race! I don’t think I’ve actually ridden the champs since I won them as a junior in 2002. Will have to make it next year for the 10th anniversary.&lt;/p&gt;
&lt;h3&gt;Callendar Christmas Cross&lt;/h3&gt;
&lt;p&gt;A new event for 2011, run by Franco Porco and Davie lines around the spectacular venue of Callendar House and the &lt;a href="http://en.wikipedia.org/wiki/Antonine_Wall"&gt;Antonine Wall&lt;/a&gt;. The course was fantastic, with steep run-ups, long off-camber sections and slippy climbs. Those who were technically inclined had no running at all. It rained for almost the entire day before the race, meaning there was lots of sloppy mud to be had once the grass was chewed up. This was good, certainly better than the sticky mud we had seen at other venues.&lt;/p&gt;
&lt;p&gt;The start was along a fast section of tarmac. I hung back so as to avoid those weaving side-to-side as they tested their VO2 maxes. On the first steep run-up and muddy corner I went from 25th to 10th by virtue of riding it then going round the inside near the apex. I then stormed up the first climb to find myself in fourth position for the rest of the lap. Myself and the other mountainbikers were definitely at a big advantage on this course. I couldn’t hold my position on the flat sections of the following lap, and was riding round with Paul McInally and junior rider Calum Foster. I only made two mistakes the whole race, one being losing my line on a long off-camber section and losing about 20s, and the other crashing on an off-camber descent where I lost very little time.&lt;/p&gt;
&lt;p&gt;Calum started to make some mistakes about halfway through, and I took full-advantage of him losing his line on the section I lost time on, by putting the hammer down as soon as I saw him veer. Paul was yo-yoing back and forth, making lots of time up on the fast sections round the house and one muddy section that had become a run, and losing it as I took risks on the back-side of the course. On the last two laps I put in the big efforts on the climbs and the running section, eeking out enough of a gap to take 7th overall and 5th senior. Paul was 8th a few seconds back, and Calum finished an impressive ride to take 9th,&lt;/p&gt;
&lt;p&gt;A great result to end the year, especially after a few weeks of zone-2 riding and a complete lack of intervals in December.&lt;/p&gt;
&lt;p&gt;Full results on the &lt;a href="http://www.scottishcyclocross.org.uk/2011/12/callendar-christmas-cross.html"&gt;&lt;span class="caps"&gt;SCX&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547076919</link><guid>http://blog.douglasfshearer.com/post/17547076919</guid><pubDate>Sat, 31 Dec 2011 15:35:00 +0000</pubDate></item><item><title>No Fuss Tour De Ben Nevis 2011 </title><description>&lt;p&gt;I missed out on this event in 2010, a lack of enthusiasm at the end of the season meant I just wasn’t up for it though. &lt;a href="http://www.innerleithenmtbracing.com/"&gt;Innerleithen &lt;span class="caps"&gt;MTB&lt;/span&gt; Racing&lt;/a&gt; was well represented though, with &lt;a href="http://i-cycles.co.uk/"&gt;I-Cycles&lt;/a&gt; own Steve Deas just missing out on the podium, and taking No Fuss’ Best All-Round Mountainbiker prize. Steve raved about the event, adamant that I should do it in 2011.&lt;/p&gt;
&lt;p&gt;This year I was much more enthusiastic. Not racing for most of June and July, and not training properly in months meant I was mentally fresh and ready for this big day out in the hills.&lt;/p&gt;
&lt;p&gt;On the Friday night I stayed in a bunkhouse with Marty, Niall, Dave, Dave and Colin. Only some beer was drunk by me, and we were in bed by midnight. Up early, and at the start venue for 8:30, we had to wait for a while to dib in. While we were waiting in the road to start there were heavy showers which only lasted a few minutes at a time. This did not bode well for four plus hours in the big hills. We were led by a police car to the High Street, where the official start was to be. Pipers piped us down the high street at slow march, with us riding along very slowly behind (no dabs!). Once onto the main road we were off.&lt;/p&gt;
&lt;p&gt;Up the first climb I was in the first couple of riders, looking for James Shirley and Rauri Watt who had performed well last year. A couple of roadie-looking guys were pushing good pace, but I wasn’t wanting to blow myself up in the first couple of miles as I had no idea how fit I really was. Nic Smith slowly pulled away towards the top, and left a small group of us wondering whether to chase him or not on the rolling roads. I worked with James, Rauri and a few other guys on the road, then it was every man for himself on the first part of the West Highland Way.&lt;/p&gt;
&lt;p&gt;Rauri pulled out a little gap here, again I was content not to chase. After about ten miles we got to the Kinlochleven descent. Saddle down, dibbed in, and off! After only a few hundred yards a rock struck me on the shin, the pain rolling up and down my leg as I tried to keep the speed up. I didn’t know the descent to start with, and the pain wasn’t helping things. I got down in one piece, no punctures on the huge drainage channels due to following Steve’s advice and jumping them. I was 17th on this, the first, special stage.&lt;/p&gt;
&lt;p&gt;Up the climb to Mamore lodge I was caught Ben Arnott. He’d managed to land on his face during the descent, and had broken a finger. I rolled on, hoping to get a good result in this special stage. I almost caught James Shirley who had got a gap on me before the previous descent, and was struggling a little with his single ring. I was 4th on the climb.&lt;/p&gt;
&lt;p&gt;Next up we rolled along the side of some lochs, splashing through huge deep puddles. I made good pace along here, aware that there were a few people with me as we had bunched up after the previous special stage. Right before the river crossing I dismounted to avoid what looked like an especially deep puddle, only to discover the water at the sides was also waist deep. After that the river crossing was an anti-climax, being only knee deep at it’s deepest.&lt;/p&gt;
&lt;p&gt;At the other side the path was punctuated by ditches every few meters, so it was quicker to run. After about half a kilometer I met James coming the other way: we’d both missed the dibber after the river crossing. Rubbish. I ditched my bike and bag and joined James on the run back along the riverbank to the dibber, then back to the bikes. This special stage was pretty much a 40 minute walk/carry up a steep mountain path. We made good time up here, eventually dropping other riders who looked like they were making good pace on the bottom section. The end dibber was at the Lairig bothy. I was 6th on that stage.&lt;/p&gt;
&lt;p&gt;As I had been descending the section to the bothy I noticed that there was a rattling coming from the backend of the bike. I suspected it was loose bushings as I’d had them apart a few days before to clean them. After getting my allen keys out of my bag I realised it was the rear wheel that was loose in the frame, rattling in the dropouts. The skewer-nut was seized onto it’s thread, so there was no way for me to tighten it up. I left it out, confident that the wheel wouldn’t be pulled out even under heavy load.&lt;/p&gt;
&lt;p&gt;The descent down towards Spean Bridge is a cracker, full-on 30-40mph snaking forestry road for several miles. At the bottom James had a puncture, so I kept on trucking, hoping I might catch some of the four guys up ahead. I passed the 20km to go sign, feeling my legs weakening on the rather dull trails and forestry road we were faced with at this section. I necked my remaining gels, all three of them, within about 15 minutes. Shortly after I felt better again, knowing I just had to keep it rolling. As soon as I recognised some of the trails and knew where I was, it was like someone turning on the nitrous. I took a gulp from the bottle on my frame, then emptied the rest onto the ground as I knew I wouldn’t be needing it. I was flying up the final climb, knowing it well from many races in the past.&lt;/p&gt;
&lt;p&gt;The final descent was the Blue Crane down to the top of Nessie. I knew this descent well, so was confident of doing well. In my tiredness I made a mistake and lowered my saddle. This was great for the first section, but the middle section is a fast forestry road where you need to pedal all the time. Having the saddle down here was not good for my tired legs, but I wasn’t convinced I would make any more time up by stopping and raising the saddle. It was great fun anyway, especially as I hadn’t ridden these trails this year. I was 16th on this stage.&lt;/p&gt;
&lt;p&gt;The final little tarmac section to the start-finish was over pretty quickly, taking turns in front with James who had caught me up at the bottom of Nessie. My legs collapsed within sight of the end, and I finished in 6th, a few seconds down on James.&lt;/p&gt;
&lt;p&gt;Oddly at this event, the positions rather than time on the special stages were what mattered. This meant I was 4th, which was a pretty pleasing result all things considered. I am already looking forward to next year.&lt;/p&gt;
&lt;p&gt;Full results are available from &lt;a href="http://www.sportident.co.uk/results/2011/TourDeBenNevis/TourDeBenResults2011.pdf"&gt;Sportident&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547075729</link><guid>http://blog.douglasfshearer.com/post/17547075729</guid><pubDate>Thu, 13 Oct 2011 18:43:30 +0100</pubDate></item><item><title>Scottish MTB XC Championships 2011 </title><description>&lt;p&gt;Unlike previous years where the Championships were run as part of the &lt;a href="http://sxc.org.uk"&gt;&lt;span class="caps"&gt;SXC&lt;/span&gt;&lt;/a&gt; series, this year they were run as a stand-alone event. It was the first time since 2002 this has happened, and it’s good to see the Champs get to be their own headline. Having no series to contend for, means that everyone between 18 and 30 (and above if they choose) gets to race for the senior championship. So sport riders got to join expert and elite riders to see how they stack up. This results in quite a healthy field, unlike &lt;a href="http://douglasfshearer.com/blog/sxc-2011-round-5-perth"&gt;the last two rounds&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I managed to sort out my knee niggles about a week and a half before this event, and with only one interval session in three months, I wasn’t expecting much. Even though I normally make the trip down to Drumlanrig, the venue, on the Saturday for a pre-ride, I didn’t feel my fitness warrantied the extra effort involved in the preparation. I didn’t even bother with a proper pre-ride on the day, riding only the first and last kilometer or so of the course. This wasn’t a worry as I know the ins and outs of Drumlanrig pretty well after racing there for ten years.&lt;/p&gt;
&lt;p&gt;The gridding was a bit lacking, the commissaries just left us in whatever order we turned up in. This meant that &lt;a href="http://kinesismorvelo-rab-wardell.posterous.com/my-season-was-gathering-momentum-then"&gt;Rab Wardell&lt;/a&gt; was back on the third row. Luckily things got off pretty cleanly, and Rab was back up the front where he was supposed to be. I totally overcooked it on the first half lap, with a mega-high heart rate on the descents as well as the climbs. I told myself to settle down and lose a few places.&lt;/p&gt;
&lt;p&gt;The race was pretty uneventful, I was cruising the climbs and railing the descents with lots of confidence. After a few bad months it was nice just to be able to ride fast without pain. I was so chilled I even turned down &lt;a href="http://twitter.com/geeforce69"&gt;Gary Macrae’s&lt;/a&gt; offer to get past him on a descent after he caught me on the way to the vets win (thanks Gary).&lt;/p&gt;
&lt;p&gt;I eventually finished in 7th, in what turned out to be my longest XC race of the year at 2:19. Roll on next year!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://twitter.com/daviehenderson"&gt;Dave Henderson&lt;/a&gt; defended his title from last year, &lt;a href="http://twitter.com/GrantFerguson1"&gt;Grant Ferguson&lt;/a&gt; took the silver, and Rab the bronze.&lt;/p&gt;
&lt;p&gt;Full results are on the &lt;a href="http://www.theclaymoreproject.com/uploads/associate/81/file/SXC%20Round%206%20Results.pdf"&gt;&lt;span class="caps"&gt;SXC&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547075230</link><guid>http://blog.douglasfshearer.com/post/17547075230</guid><pubDate>Tue, 27 Sep 2011 21:55:08 +0100</pubDate></item><item><title>Arch Arm Linux on PogoPlug - Keeping Time </title><description>&lt;p&gt;I recently procured a &lt;a href="http://www.pogoplug.com/products-pogoplug.html"&gt;PogoPlug V2&lt;/a&gt; from Ebay, hoping to use it as a small linux server for various tasks. A PogoPlug is a small internet-enabled device that allows attached external hard drives to be accessed from anywhere, whether on the local network or on the wider internet, with minimal hassle.&lt;/p&gt;
&lt;p&gt;It’s architecture is open, and a flick of a checkbox allows you to &lt;span class="caps"&gt;SSH&lt;/span&gt; in. I decided to install &lt;a href="http://archlinuxarm.org/"&gt;Arch Linux for Arm&lt;/a&gt;, and found this to be pretty easy to do following their &lt;a href="http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray"&gt;installation guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unfortunately the PogoPlug does not have a hardware clock, and will consistently think it is 1st of January 1970 after reboots. Not very handy, especially as I was planning to use it to report measurements to external services, and this was time-sensitive.&lt;/p&gt;
&lt;p&gt;So, to set the time on each reboot, I installed and enabled the Network Time Protocol client, ntp. Here’s how to do that, and how to set your timezone correctly.&lt;/p&gt;
&lt;p&gt;First up, update the package manager to have the latest packages available. You may be asked if you want to update pacman itself, and a bunch of other stuff. In my case it grabbed the latest linux kernel version, and took a fair amount of time. Run this command a few times to make sure everything is the latest it can be.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pacman -Syu&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Next up, install ntp.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pacman -S ntp&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To enable ntp on startup, edit &lt;code&gt;/edit/rc.conf&lt;/code&gt;, adding &lt;code&gt;ntpd&lt;/code&gt; to the &lt;span class="caps"&gt;DAEMONS&lt;/span&gt; array, and removing &lt;code&gt;hwclock&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# before: DAEMONS=(hwclock syslog-ng network netfs crond sshd) DAEMONS=(syslog-ng network netfs crond sshd ntpd)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Next you should configure ntp by editing &lt;code&gt;/etc/ntp.conf&lt;/code&gt;. A list of local ntp servers can be found at &lt;a href="http://www.pool.ntp.org/"&gt;&lt;a href="http://www.pool.ntp.org/"&gt;http://www.pool.ntp.org/&lt;/a&gt;&lt;/a&gt;. I chose to use the UK servers.&lt;/p&gt;
&lt;p&gt;Comment out any existing lines that begin with ‘server’, and add in those you want to use. Append &lt;code&gt;iburst&lt;/code&gt; to the end, this specifies how the servers are polled.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;server 0.uk.pool.ntp.org iburst server 1.uk.pool.ntp.org iburst server 2.uk.pool.ntp.org iburst server 3.uk.pool.ntp.org iburst&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Next, set your timezone. A complete list of zones can be found in &lt;code&gt;/usr/share/zoneinfo&lt;/code&gt;. I went with &lt;code&gt;Europe/London&lt;/code&gt;. Edit the &lt;code&gt;TIMEZONE&lt;/code&gt; variable in &lt;code&gt;/etc/rc.conf&lt;/code&gt;, changing it to your chosen zone.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;TIMEZONE="Europe/London"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Now restart.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;reboot&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;That’s it! You should now have the correct time and timezone.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# date Fri Sep 16 19:58:09 BST 2011&lt;/code&gt;&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547073907</link><guid>http://blog.douglasfshearer.com/post/17547073907</guid><pubDate>Fri, 16 Sep 2011 19:00:00 +0100</pubDate></item><item><title>SXC 2011 Round 5 - Perth</title><description>&lt;p&gt;After &lt;a href="http://douglasfshearer.com/blog/glentress-seven-2011"&gt;partially rupturing a thumb ligament&lt;/a&gt; in June, I had several weeks off followed by several easy weeks on the bike. I rode 10 at Kirroughtree, but was suffering from thumb pain and cramp. The week after I started to feel niggles in my right knee, similar to my left knee earlier in the year. I rode the &lt;a href="http://douglasfshearer.com/tags/selkirk"&gt;Selkirk Marathon&lt;/a&gt; anyway, and despite a painful hour or so in the middle, I finished second senior and eighth overall.&lt;/p&gt;
&lt;p&gt;I planned to ride round the Perth &lt;span class="caps"&gt;SXC&lt;/span&gt; round, knowing it would likely involve lots of stops for stretching. Unfortunately the date I had in my calendar was still a provisional date, a week later than the actual event. 9pm on the Saturday night was very busy for me, giving the bike a quick wash and getting things together. Not ideal preparation, but then I wasn’t expecting much anyway.&lt;/p&gt;
&lt;p&gt;On race day I rode a practice lap with Eddie Addis and Megasmith. The course was awesome, as I remember it being last year (on that occasion I ended up not racing due to illness, watching other people race was torture). Lots of rooty singletrack, steep up and down, and multiple tough climbs made for a great loop. It was dry too, ignoring the huge muddy puddle near the end.&lt;/p&gt;
&lt;p&gt;On the start line it was just Rab Wardell, Chris Pedder and myself, not exactly the turnout of the year. Injuries had blighted the field, with Gareth having a broken collarbone, Dave a bad back, and Rob two broken wrists. Oh well.&lt;/p&gt;
&lt;p&gt;Off the start line it was Rab that took the lead. I followed Chris’ wheel before jumping him into the first singletrack to get a clean run at the rooty climb. Rab disappeared about half a lap in, out of sight for the rest of the race. I could see Chris behind me for the first two laps, catching me on the climbs, with me putting a little time in on the descents.&lt;/p&gt;
&lt;p&gt;By the third lap I couldn’t see Chris, so had to just plod round at my own pace, stopping on the fourth and fifth laps to stretch out my sciatic and ease the pain in my knee. I rolled in for a second place finish, Rab taking the win. Turns out Chris broke his rear mech, completing his clean run of DNFs at every &lt;span class="caps"&gt;SXC&lt;/span&gt; round.&lt;/p&gt;
&lt;p&gt;I was pleased with second, but after trying for seven years to get on the podium, sometimes coming very close, it wasn’t the way I wanted to do it. On a more positive note the result meant that I finished second overall in the series, with Gareth taking the win.&lt;/p&gt;
&lt;p&gt;Full results can be seen on the &lt;a href="http://www.theclaymoreproject.com/uploads/associate/81/file/SXC%20Round%205%20Results(1).pdf"&gt;&lt;span class="caps"&gt;SXC&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547071705</link><guid>http://blog.douglasfshearer.com/post/17547071705</guid><pubDate>Wed, 07 Sep 2011 15:47:12 +0100</pubDate></item><item><title>Glentress Seven 2011</title><description>&lt;p&gt;As part of the &lt;a href="http://tweedlove.com/"&gt;Tweedlove&lt;/a&gt; festival week, there was a seven hour endurance race held at Glentress. Two days before the race I decided to enter the solo class, otherwise known as the nae-pals category.&lt;/p&gt;
&lt;p&gt;To course was the best endurance course I’ve ever ridden. A fast smooth up to the Buzzards Nest car park, a small section of muddy descent at Pennel’s Vennel, followed by a huge climb back up to do blue velvet. A natural link took you into one of the old race links, then down a natural descent before the final off-camber descent to the transition area.&lt;/p&gt;
&lt;p&gt;On the first lap I stayed below threshold, knowing there was a lot of riding ahead. I was in the first couple of riders, and took the front on the second big climb without putting an effort in. I came through the transition area in first, so it looked likely that my goal of getting the fastest lap was already dealt with.&lt;/p&gt;
&lt;p&gt;On the second lap I sat with Iain Nimmo who was riding pairs, usual great banter from him on the way round. It started to rain on this lap, just lightly, but enough to grease things up a little. Unfortunately leaving the transition area for my third lap I slid-out on the first corner at fairly low speed. I got back up, and with encouragement from the likes of Martin Graham I got back on the bike and kept going. I had lost some skin from my knee and elbow, by hip and shoulder hurt, and for some reason the opposite thumb was agony.&lt;/p&gt;
&lt;p&gt;For the third, fourth and fifth laps I went round with Martin Graham. We were doing good pace, keeping &lt;a href="http://www.richyroth.com/what-a-week/"&gt;Rich Rothwell&lt;/a&gt; within striking distance. The rain continued, and things started to cool down. Before the sixth lap I stopped to put a Gilet on and take on more food than normal, so I lost touch with Martin. No problem, I was just riding to finish now.&lt;/p&gt;
&lt;p&gt;On the eighth lap I came across Martin in one of the feed stops, looking very cold and sore. He’d caught Rich, but then crashed on the final descent at the end of lap 7. Nasty. As I was talking to him I notice Barry Wilson riding by, but didn’t really pay that much attention to it. I continued on that lap, went out for a ninth, and finished in six hours and 51 minutes.&lt;/p&gt;
&lt;p&gt;Rich won the overall, and was first vet. Barry was second overall, first senior. I was third overall, second senior, plus I got the fastest lap.&lt;/p&gt;
&lt;p&gt;A great day out, I really hope they do it again next year as it is great antidote to all the dull endurance courses out there. I’ll definitely consider support next year, as having to stop on every lap to pick up food and the likes cost a fair amount of time over the whole race.&lt;/p&gt;
&lt;p&gt;The aftermath: The next morning I went to A&amp;amp;E to get my thumb checked out, nothing broken, but a partial-rupture of the ligament. Two weeks off the bike with a splint. I can ride again now, but certain situations make it pretty sort, I just have to be careful. Decided not to enter the British XC Champs as a result of this. These things happen.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://tweedlove.com/events/the-glentress-seven/glentress-seven-2011-results"&gt;Full results&lt;/a&gt;.&lt;br/&gt;
Photos from &lt;a href="http://www.ianlinton.com/"&gt;Ian Linton&lt;/a&gt; on &lt;a href="http://www.bbc.co.uk/news/uk-scotland-south-scotland-13776470"&gt;the &lt;span class="caps"&gt;BBC&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547070725</link><guid>http://blog.douglasfshearer.com/post/17547070725</guid><pubDate>Mon, 04 Jul 2011 17:44:05 +0100</pubDate></item><item><title>SXC 2011 Round 3 - Comrie Croft </title><description>&lt;p&gt;Round four of the &lt;span class="caps"&gt;SXC&lt;/span&gt; series was at the fantastic &lt;a href="http://www.comriecroft.com/"&gt;Comrie Croft&lt;/a&gt; trails, a trailcentre, but none of that gravelled mince. A steep double-track to start, onto some grassy switchbacks (more headwinds here, what is it with races this year!). Another steep double-track up, then down a little. Then the real stuff started, a steep switchback single-track with some great little exposed rock sections, a fast descent to a burn then back onto a muddy double-track with plenty of line choice needed to stay out of the mire. Down some steep rocky single-track, then a fast twisty moorland descent before a super steep double-track section back to the start-finish.&lt;/p&gt;
&lt;p&gt;I got a good start, slotting in behind Gareth, Dave and Rab (the return of Rabulous!). On the double-track climb I passed Rab, but Gareth and Dave were already pulling ahead by this point. In a similar manner to &lt;a href="http://douglasfshearer.com/blog/sxc-2011-round-2-aberfoyle"&gt;Aberfoyle&lt;/a&gt; I had the mince dialed high for the first two laps, as I was hitting every bad line on the descent. I pulled over to let Rab past, but he’d had a bit of an issue so I was letting Rob past instead, no problem, he was on good pace.&lt;/p&gt;
&lt;p&gt;Rab made it back on the climb, then I lost the pair of them when I unshipped a chain at the bottom of the single-track climb. More time lost as I crashed on the descent avoiding a backmarker, I was on my own from then on.&lt;/p&gt;
&lt;p&gt;The later laps went a lot better, the last being pretty tough as the course had taken it’s toll on me. I rolled in for fifth, nine minutes down on the winner, another solid result. Gareth took the win, a nightshift tired Dave second, Rab third, and Rob fourth.&lt;/p&gt;
&lt;p&gt;More at the &lt;a href="http://www.theclaymoreproject.com/uploads/associate/81/file/SXC%20Round%203%20Results%20Final.pdf"&gt;full results&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547069859</link><guid>http://blog.douglasfshearer.com/post/17547069859</guid><pubDate>Wed, 15 Jun 2011 19:32:58 +0100</pubDate></item><item><title>Nutcracker 2011 Round 2 - Aske </title><description>&lt;p&gt;The second round of the Nutcracker was held on the same course as is to be used for the 2011 British XC Championships, and is within a ten minute drive of Emma’s dad’s house, so accommodation was sorted.&lt;/p&gt;
&lt;p&gt;The course itself was pretty disappointing. A bumpy grassy start into a headwind, a small descent to a burn crossing, some fast flat grass, a steep grassy climb of about two minutes, followed by a fast descent on grass, through some fields, a few sections of wiggly, loamy singletrack, and a finish into the headwind. I hear there have been some changes for the champs course, but short of adding another climb or a few weeks of torrential rain, it’s going to be a course for the powerful boys.&lt;/p&gt;
&lt;p&gt;The expert and junior categories start together, a few minutes behind the elites. I got a decent start, sitting in about fifth before pushing to the front for the little descent. On the flat section I lost contact with two small groups that formed at the front. An ill Niall Frost followed me round on the first lap, filming for his &lt;a href="http://www.xcracer.com/viewblogpost.php?blog_id=164"&gt;XCRacer report&lt;/a&gt;, but sadly the camera was pointing the wrong way and the footage was a right-off.&lt;/p&gt;
&lt;p&gt;On the second lap I caught the second group containing Hamish Fletcher-Cooney [expert], Joe Home [junior] and my teammate Scott Lynsey [junior]. I thought Joe was riding expert, I’m sure he was wondering why I let him work lots into the headwind then jumped him into the singletrack. On the fourth lap I decided to really push on and try and catch the front runners, but this just resulted in Scott blowing his doors.&lt;/p&gt;
&lt;p&gt;On the final lap I popped a little at the end, and Joe put around 30 seconds into me. I finished 2nd expert, just over two minutes down on local lad Tom Stewart. I was pleased with the result, but a bit disappointed in the course.&lt;/p&gt;
&lt;p&gt;Thanks to Emma and her dad for the support.&lt;/p&gt;
&lt;p&gt;Full results are available on the &lt;a href="http://www.taptiming.com/results/tqxub/2/"&gt;Nutcracker site&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547069249</link><guid>http://blog.douglasfshearer.com/post/17547069249</guid><pubDate>Tue, 14 Jun 2011 18:50:06 +0100</pubDate></item><item><title>SXC 2011 Round 2 - Aberfoyle</title><description>&lt;p&gt;&lt;a href="http://douglasfshearer.com/tags/aberfoyle"&gt;Aberfoyle&lt;/a&gt; is a bit of a classic venue on the &lt;a href="http://sxc.org.uk/"&gt;&lt;span class="caps"&gt;SXC&lt;/span&gt;&lt;/a&gt; circuit, having seen a number of different courses on it’s steep hillside over the years. This year saw the return of the dreaded Heart Attack Hill (&lt;span class="caps"&gt;HAH&lt;/span&gt;), a steep bottom-gear climb of several minutes, mostly on slippy surfaces. Those of a weaker demeanour could opt-out, and take the forestry road itself, though this came with a small time penalty due to it’s distance.&lt;/p&gt;
&lt;p&gt;The first section of descent was down an off-camber technical loamy section, lots of roots and rocks to put the unwary offline. There was a short forestry road sprint after this, followed by a super-fast rutted descent, across the forestry road at the bottom, and onto a supremely hard off-camber traverse before joining the forestry road again. A minute of high-speed big-ring gentle descent took you to the last section of singletrack, being fast singletrack with some tight turns and plenty of line choices in it.&lt;/p&gt;
&lt;p&gt;At the start things went pretty steady, a group of six at the front; Gareth (&lt;a href="http://www.gtracinguk.com/"&gt;GT Racing UK&lt;/a&gt;), Rob Friel, &lt;a href="http://simonernest.blogspot.com/"&gt;Si Ernest&lt;/a&gt; (AW Cycles) [who I initially thought was Chris Pedder after a growth spurt], Niall Frost (&lt;a href="http://www.xcracer.com/"&gt;XC Racer&lt;/a&gt;) and James FM (&lt;a href="http://www.pedalpower.org.uk/"&gt;Pedal Power&lt;/a&gt;). On the first lap we were to avoid &lt;span class="caps"&gt;HAH&lt;/span&gt; and go round the forestry road. Once we got to the steep sections Gareth started to float away, with James and I giving some chase before Si finally engaged the after-burners and gave Gareth a proper chase.&lt;/p&gt;
&lt;p&gt;Down the first few descents James was apologising profusely for getting in the way, not that I was bothered as I for some reason had the mince dialled up high for the first two laps, before finally getting it together on the third lap. Niall came past me on the second lap, mentioning something about me getting him back on the climbs.&lt;/p&gt;
&lt;p&gt;By the fifth lap I could still see Niall, and could see he was having a bit of trouble on &lt;span class="caps"&gt;HAH&lt;/span&gt;, as he got off then managed (much respect for this) to get on and get going again. By the end of the lap I had caught him, had a bit of legsplosion related banter, then dropped him along the forestry road to the bottom of &lt;span class="caps"&gt;HAH&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Gareth took the win, Si was second, Rob third, James fourth, myself fifth and Niall sixth.&lt;/p&gt;
&lt;p&gt;Thanks to Emma for doing my bottles, and &lt;a href="http://i-cycles.co.uk/"&gt;I-Cycles&lt;/a&gt; and &lt;a href="http://www.innerleithenmtbracing.com/"&gt;Innerleithen &lt;span class="caps"&gt;MTB&lt;/span&gt; Racing&lt;/a&gt; for the help and support. Also thanks to Norman and the rest of the chaps at &lt;a href="http://www.squadraporcini.com/"&gt;Squadra Porcini&lt;/a&gt; for the great course, and the &lt;span class="caps"&gt;SXC&lt;/span&gt; volunteers for the great event.&lt;/p&gt;
&lt;p&gt;Full results are on the &lt;a href="http://www.theclaymoreproject.com/uploads/associate/81/file/SXC%20Round%202%20Results.pdf"&gt;&lt;span class="caps"&gt;SXC&lt;/span&gt; website&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Other reports can be had from &lt;a href="http://simonernest.blogspot.com/2011/04/scottish-xc-round-2-aberfoyle.html"&gt;Si&lt;/a&gt; and &lt;a href="http://www.xcracer.com/viewblogpost.php?blog_id=151"&gt;Niall&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Technical Aside: When building my new bike I had a lot of concern for two races on the calendar with respect to gearing; this one, and the &lt;a href="http://douglasfshearer.com/tags/selkirk"&gt;Selkirk Marathon&lt;/a&gt;. For as long as I’ve run 9 speed I used the standard 44-32-22 chainset and 11-32 cassette. Switching to a double limits both the top-end and the bottom end. The top-end isn’t a worry, but the bottom end is. &lt;span class="caps"&gt;HAH&lt;/span&gt; was only really doable for me in the granny ring last year, though I did manage it in practice using the middle ring, but decided it was too hard on my legs for six laps. I ended up going for a 40-28 chainset and a 11-34 cassette. This gave me a 21.41 inch gear as opposed to the 18.56 inch gear on the double. Turns out that this was more than low enough, worst fears averted. Much respect for Si Ernest who raced on a single ring, giving him a 36:36 lowest gear.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547066353</link><guid>http://blog.douglasfshearer.com/post/17547066353</guid><pubDate>Thu, 12 May 2011 12:48:34 +0100</pubDate></item><item><title>BMBS 2011 Round 2 - Dalby Forest</title><description>&lt;p&gt;I’m a big fan of the course at Dalby. If they made the descents actually technical rather than just scary-looking and bumpy, I’d be even more keen. Again the course followed the World Cup course, but with some shortening near the beginning of the lap, and missing out the pointless &lt;span class="caps"&gt;BMX&lt;/span&gt; track near the end. I believe it is going to get this way for the World Cup in May, in order to come under the &lt;span class="caps"&gt;UCI&lt;/span&gt; 6&amp;#160;km course length limit (Dalby just makes this, being 5.9&amp;#160;km).&lt;/p&gt;
&lt;p&gt;I was in the third row for the start, after my &lt;a href="http://douglasfshearer.com/blog/bmbs-2011-round-1-sherwood-pines"&gt;poor performance at Sherwood Pines&lt;/a&gt; a few weeks before. The rider directly in front of me missed his pedal, and stopped dead, so the entire field went past on the line. With some elbows out I managed to get back into the top 30.&lt;/p&gt;
&lt;p&gt;Down the first little descent a cheeky inside line saw me overtake Nick Evans (see Sherwood Pines post). Up the first climb I took another couple of riders, then took about 7-8 riders on the grassy section back past the feed zone. There’s a 8ft high steep rocky slab you ride up early on in the race, if you hit it with speed off the forestry road you get some air at the top. Some numpty cut up a group of riders in front of me, then failed to make it over the top, so it was a case of running up this for me due to the knot of riders. The climb out of Worry Gill (the first time) saw me make a few more places on the super-steep climb, then a surge at the top of the Medusa’s Drop climb saw me take another few riders.&lt;/p&gt;
&lt;p&gt;I settled down after this, though my second lap was the fastest just because there was no-one in the way. I cleaned the rocky steps out of Worry Gill (on the second time, going back to the arena) only on the third lap, every other time people running got in the way. Seriously, if you can’t ride it, take the chicken route. Your technical inferiority should not put me off when there are alternatives available.&lt;/p&gt;
&lt;p&gt;A few little battles later on in the race saw me on my own for the last lap, and I can in 8th, around 5 minutes down on the winner. Super happy with this result, definitely a sign that things are back on track. A lot of it is the course, it’s so easy to get my head in gear when the course is challenging and I know there is more than just pure horsepower at play.&lt;/p&gt;
&lt;p&gt;This was the second (third if you include the Pentlands Trailquest) outing for my 2011 race bike, the &lt;a href="http://www.flickr.com/photos/douglasfshearer/5558258979/in/set-72157626347455236/"&gt;Rocky Mountain Element &lt;span class="caps"&gt;RSL&lt;/span&gt;&lt;/a&gt;. On this course it was the business (&lt;a href="https://twitter.com/geoffkabush"&gt;Geoff Kabush&lt;/a&gt; won the senior race on a very similarily specced one), light and well-behaved enough for the climbs, and able to swallow up anything on the descents and flat sections. I’ll have a full post on this soon.&lt;/p&gt;
&lt;p&gt;Full results courtesy of &lt;a href="http://timelaps.co.uk/assets/uploads/BMBS%20Rd2.pdf"&gt;TimeLaps&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547065481</link><guid>http://blog.douglasfshearer.com/post/17547065481</guid><pubDate>Tue, 19 Apr 2011 09:12:19 +0100</pubDate></item><item><title>BMBS 2011 Round 1 - Sherwood Pines</title><description>&lt;p&gt;Due to knee issues in February, I was never going to repeat my &lt;a href="http://douglasfshearer.com/blog/bmbs-xc-2010-round-1-sherwood-pines"&gt;stellar result from 2010&lt;/a&gt;, but did hope to do at least get a top-10. The latest iteration of the popular Sherwood Pines course was shortened and had lost anything that you would call a climb. It was a pure dirt crit, all accelerations, with little on the course to benefit less strong, and more technically adept riders.&lt;/p&gt;
&lt;p&gt;I was gridded on the front row, but was losing places fast off the start. I tried to settle but was having a hard time winding things up on the forestry road sections. One amusement in the first lap was having someone pass me into one of the twisty-bombhole sections, and then slow right up. I shouted at them to get a move on, stopping short of making some sort of roadie-scum comment. They pulled over and let me past, result! Turns out they thought I was a junior, and couldn’t make out what I was actually shouting.&lt;/p&gt;
&lt;p&gt;I slowly faded throughout the race, not really feeling the love for the course. I knew I was having a bad day when on the fourth lap I was passed by Nick Evans, at this point, all enthusiasm was gone.&lt;/p&gt;
&lt;p&gt;I rolled in for 27th, 9 minutes down on winner Lee Westwood.&lt;/p&gt;
&lt;p&gt;Full results courtesy of &lt;a href="http://timelaps.co.uk/assets/uploads/BMBS%20Rd%201%2027-03-11.pdf"&gt;TimeLaps&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547064810</link><guid>http://blog.douglasfshearer.com/post/17547064810</guid><pubDate>Mon, 18 Apr 2011 11:58:09 +0100</pubDate></item><item><title>SXC 2011 Round 1 - Kirroughtree</title><description>&lt;p&gt;Arriving on the Saturday to pre-ride the course, we were met with dry and pleasant conditions. The course was bone dry, with the majority being man-made trails or forestry roads, with some natural linking sections. I found it pretty dull, and was not-so secretly hoping for rain overnight to spice things up a bit.&lt;/p&gt;
&lt;p&gt;I got my wish, it bucketed it down overnight, so much so the first singletrack climb was now a run, around 250m per lap. I missed my pedal at the start, but managed to get on the back of the pain train, &lt;span class="caps"&gt;AKA&lt;/span&gt; &lt;a href="http://twitter.com/gmontgomerie"&gt;Gareth Montgomerie&lt;/a&gt;, &lt;a href="http://twitter.com/daviehenderson"&gt;Dave Henderson&lt;/a&gt; and &lt;a href="http://twitter.com/kentagallagher"&gt;Kenta Gallagher&lt;/a&gt;. I only held them for about the first kilometer, and out of the top of the running section they shot off. Rob Friel came past about halfway through the lap, using his power on the forestry road sections after a slow start. I settled in for a long one.&lt;/p&gt;
&lt;p&gt;On the second lap I slid-out as I rejoined the forestry road after the running section, there was a lot of mud dragged out onto it, but only lost time and kept the impact on my side to a minimum. I dropped my bottle a bit further up, this lap was not going well. I was then with James Fraser-Moodie for the rest of the lap, before getting dropped by him the next time up the run on the third lap.&lt;/p&gt;
&lt;p&gt;By the time I got to the fifth and final lap I managed to pick things up a bit, cutting a minute off my previous lap time, even though I stopped to pick up my earlier dropped bottle. I rolled in for fifth, not bad considering my knee issues in February.&lt;/p&gt;
&lt;p&gt;Gareth took the win in an exciting sprint with Dave. James had overhauled Rob to take third. Full results on the &lt;a href="http://www.theclaymoreproject.com/uploads/associate/81/file/SXC%20R1%20results%20V2.pdf"&gt;&lt;span class="caps"&gt;SXC&lt;/span&gt; site&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547064026</link><guid>http://blog.douglasfshearer.com/post/17547064026</guid><pubDate>Thu, 31 Mar 2011 10:15:06 +0100</pubDate></item><item><title>Innerleithen MTB TT 2011</title><description>&lt;p&gt;The TT was the final round of the &lt;a href="http://www.innerleithenmtbracing.com/search/label/propermtb?max-result=100"&gt;Innerleithen &lt;span class="caps"&gt;MTB&lt;/span&gt; Racing&lt;/a&gt; &lt;a href="http://www.innerleithenmtbracing.com/search/label/propermtb?max-result=100"&gt;Proper Mountain Bike Series&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Year on year the course for this course has been progressed in terms of the level of demand it puts on competitors. This year it not only featured the first descent from the &lt;a href="http://douglasfshearer.com/blog/innerleithen-enduro-2011"&gt;Enduro&lt;/a&gt;, but also some fresh cut descents off Minch Moor, and a resulting 940m of climbing.&lt;/p&gt;
&lt;p&gt;I pre-rode on Saturday with &lt;a href="http://twitter.com/daviehenderson"&gt;Dave Henderson&lt;/a&gt;, and to make the course more difficult, we were treated to snow on the ground and constant rain for the two hours that it took us to go round. The course was great though, and I knew that it was going to be a smasher the next day.&lt;/p&gt;
&lt;p&gt;On sunday the weather was much warmer, so warm the jacket got ditched in favour of a gilet. I was off about 50th, and the snow was only on the sides of the trail higher up, so nothing to worry about there.&lt;/p&gt;
&lt;p&gt;I started hard, after having a good warmup. I pulled back about 20 seconds on my minute-man, Gary McCrae, within the first few minutes, finding I was quicker on the steeper sections, but wasn’t gaining any ground when it flattened out. On the top section of the pushup track my chain went over the top of the cassette, so I had to fix it then get going again on the 30% slope. Down the first descent I was behind Gary, then lost a bit of time by going off-piste for a while.&lt;/p&gt;
&lt;p&gt;Gary was gone, and by the time I got to the quarry section, I couldn’t see him at all, so suspected I may have passed him somehow. Turns out he’d missed some markings and bashed on up a fireroad for five minutes. I kept the hammer down, all the way up Minch Moor. The next section of descent of minch moor was pretty steep in places, and I felt like I was more skiing the bike than riding it down. I kept my feet up the whole time, unlike the day before when I was making some sort of human tripod.&lt;/p&gt;
&lt;p&gt;The climb out of the bottom was pretty brutal, with a steep section of the Southern Upland Way. Near the top of this at the crop-circles I got passed by &lt;a href="http://twitter.com/gmontgomerie"&gt;Gareth&lt;/a&gt;, who had caught me for almost ten minutes. I tried to hold onto his wheel on the flat muddy section, even following has rather off-piste line to avoid the mud, but could only hold him for about a minute.&lt;/p&gt;
&lt;p&gt;After this it was down through Plora Graig rock gardens, then out onto the uplift track. I motored up there, slowed a little bit to chat with Chris Herraghty over the top, then chased Dave as he passed us both. Just the last descent to go, and that was over pretty quickly.&lt;/p&gt;
&lt;p&gt;I ended up in third place in 1:32:08, 10 minutes down on Dave, with Gareth in first by 18 seconds. I was pretty pleased with my result considering the time off I had to take in February, though a ten minute gap to the next rider is huge.&lt;/p&gt;
&lt;p&gt;Thanks to Helen, Steve, Dan and their team of helpers and marshals for a great event.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innerleithenmtbracing.com/2011/03/mountain-time-trial-results.html"&gt;Full results&lt;/a&gt;.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547063234</link><guid>http://blog.douglasfshearer.com/post/17547063234</guid><pubDate>Wed, 16 Mar 2011 11:43:25 +0000</pubDate></item><item><title>Threadsafe File Consistency in Ruby</title><description>&lt;p&gt;A large part of the work in the 0.7.0 release of &lt;a href="http://github.com/dougal/acts_as_indexed"&gt;Acts As Indexed&lt;/a&gt; was in guaranteeing the consistency of the index files which may be written to by many processes. I shall split this into two halfs: atomic writes, and locking writes.&lt;/p&gt;
&lt;p&gt;I talk mostly of processes here, since most Rails hosting implementations at the moment employ multiple processes, though the same methodologies can be applied to threads.&lt;/p&gt;
&lt;h3&gt;Atomic Writes&lt;/h3&gt;
&lt;p&gt;An example: Say we have one process which writes to a file, and many processes which may be reading from that same file. If we do a simple write, it is possible that one of the reading processes may see a half-written file. While digging through the Rails source I discovered a monkey-patch on the Ruby &lt;code&gt;File&lt;/code&gt; class which added a method called &lt;code&gt;atomic_write&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The basic operation of this as is follows:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Write to a temporary file.&lt;/li&gt;
	&lt;li&gt;Move that temporary file to be the actual file we want to write to.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Since we are delegating the move operation to a system call, we can almost guarantee that any process reading the file will only see a fully written one, since all that is being changed during the move is a pointer to the file’s physical location on disk. A simple implementation of this would be thus:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;require 'fileutils'

def atomic_write(path, temp_path, content)
  File.open(temp_path, 'w+') do |f|
    f.write(content)
  end

  FileUtils.mv(temp_path, path)
end&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The &lt;a href="https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/file/atomic.rb"&gt;Rails implementation&lt;/a&gt; goes a lot further than this, creating a tempfile in the OS mandated location, and making sure the newly written file has the same permissions as the original file.&lt;/p&gt;
&lt;h3&gt;Locking Writes&lt;/h3&gt;
&lt;p&gt;Another example: We have many processes, all of which can write to the same file. Our processes first read the file, and then make some change to it. A race condition for this looks as follows.&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Process A reads the file.&lt;/li&gt;
	&lt;li&gt;Process B reads the file.&lt;/li&gt;
	&lt;li&gt;A makes changes and writes these.&lt;/li&gt;
	&lt;li&gt;B makes changes and writes these.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;In this example, changes made by A are lost. The solution to this is to use locks, which are provided by the Ruby &lt;code&gt;File&lt;/code&gt; class via the &lt;code&gt;flock&lt;/code&gt; method.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;def lock(path)
  # We need to check the file exists before we lock it.
  if File.exist?(path)
    File.open(path).flock(File::LOCK_EX)
  end

  # Carry out the operations.
  yield

  # Unlock the file.
  File.open(path).flock(File::LOCK_UN)
end&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;We can combine this with the atomic_write method as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;lock('my_file') do
  atomic_write('my_file', 'my_file.tmp', 'Hello, World!')
end&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Rails’ file store has a &lt;a href="https://github.com/rails/rails/blob/master/activesupport/lib/active_support/cache/file_store.rb#L121"&gt;great implementation&lt;/a&gt; of this pattern, which automatically unlocks the file again in case of an exception while the lock is applied.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547062422</link><guid>http://blog.douglasfshearer.com/post/17547062422</guid><pubDate>Sun, 13 Feb 2011 16:11:46 +0000</pubDate></item><item><title>Innerleithen Enduro 2011</title><description>&lt;p&gt;&lt;a href="http://www.innerleithenmtbracing.com/"&gt;Innerleithen &lt;span class="caps"&gt;MTB&lt;/span&gt; Racing&lt;/a&gt; are for 2011 putting on the &lt;a href="http://www.innerleithenmtbracing.com/search/label/propermtb?max-result=100"&gt;Proper Mountain Bike Series&lt;/a&gt;. It features an enduro, a push-up downhill and the traditional Alistair Lees Memorial TT.&lt;/p&gt;
&lt;p&gt;First up was the enduro. The basic idea of this is timed descents from the highest point of the downhill tracks, riding back to the top. There is a time limit on the total time, but I doubt you’d have problems with that even on a DH bike.&lt;/p&gt;
&lt;p&gt;I entered, and only having the one &lt;span class="caps"&gt;MTB&lt;/span&gt; at the moment, I used a XC race hardtail with 100mm SIDs on it. Most other people were on 5-6&amp;#8221; travel bikes, probably the ideal machine.&lt;/p&gt;
&lt;p&gt;The first stage had a rough start followed my a more mellow second half. The second stage was flat to begin with, went through the Plora Craig rock gardens, then finished on the super steep ‘Classic’ section. The third was down some of the easier DH runs.&lt;/p&gt;
&lt;p&gt;I went very early, and posted a time just under 27 minutes. The fastest chaps were doing it in 18 minutes, and fellow XCers on more appropriate bikes were doing it in around 20. I was a little disappointed with the result, but had to be objective about it given the handicap the bike provided.&lt;/p&gt;
&lt;p&gt;On the other hand, it was possibly one of the best &lt;span class="caps"&gt;MTB&lt;/span&gt; events I have ever taken part in. The atmosphere and banter with other competitors was spot on, the riding (including the climbs) was fantastic, and the organisation was clockwork.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547061762</link><guid>http://blog.douglasfshearer.com/post/17547061762</guid><pubDate>Sun, 06 Feb 2011 16:12:53 +0000</pubDate></item><item><title>Using Bundler With Rails 1.2</title><description>&lt;p&gt;&lt;a href="http://gembundler.com/"&gt;Bundler&lt;/a&gt; has truly been a revolution in how dependencies for Ruby projects are managed. The Bundler site provides a guide for using it with &lt;a href="http://gembundler.com/rails23.html"&gt;Rails 2.3&lt;/a&gt; and &lt;a href="http://gembundler.com/rails3.html"&gt;Rails 3&lt;/a&gt;, but not Rails 1.2.&lt;/p&gt;
&lt;p&gt;This won’t matter for most people, but if you have clients on older Rails versions, it can be nice to manage dependencies in the same manner across all installations.&lt;/p&gt;
&lt;p&gt;So here’s how you do it:&lt;/p&gt;
&lt;p&gt;1. Create a new Rails 2.x app, and copy it’s &lt;code&gt;config/boot.rb&lt;/code&gt; across to your 1.2 app.&lt;/p&gt;
&lt;p&gt;2. Make the &lt;code&gt;VendorBoot#load_initializer()&lt;/code&gt; method look like the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;class VendorBoot &lt;/code&gt;&lt;/pre&gt;&lt;p&gt;3. Follow the &lt;a href="http://gembundler.com/rails23.html"&gt;Rails 2.3 Bundler guide&lt;/a&gt; for the rest.&lt;/p&gt;
&lt;p&gt;I’ve only tested this setup with Webrick, Mongrel and Passenger, using Rails 1.2.6, so your mileage may vary.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547061244</link><guid>http://blog.douglasfshearer.com/post/17547061244</guid><pubDate>Thu, 03 Feb 2011 12:39:45 +0000</pubDate></item><item><title>Prevent EC2 Instance Termination</title><description>&lt;p&gt;Ever accidentally deleted an EC2 instance? Save yourself a lot of trouble and use the following &lt;span class="caps"&gt;API&lt;/span&gt; tools command:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ec2-modify-instance-attribute --disable-api-termination true i-01d3e23b&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Swap in your own instance ID for best effect.&lt;/p&gt;
&lt;p&gt;Run the same command again with the boolean switched to false to allow deletion.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547060762</link><guid>http://blog.douglasfshearer.com/post/17547060762</guid><pubDate>Thu, 13 Jan 2011 15:17:10 +0000</pubDate></item><item><title>2010 Racing Wrapup</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lzbx8mb0Re1r4bwz6.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;I’ve not posted since May. Since then I have started many event reports, but never got round to finishing them. Hence I have here a quick summary of the year’s highlights, together with some thanks to all the great folks that have helped me out.&lt;/p&gt;
&lt;p&gt;I had some good results this year, especially at the beginning of the year where I managed to train properly:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;I had a second place at the &lt;a href="http://douglasfshearer.com/blog/bmbs-xc-2010-round-1-sherwood-pines"&gt;Sherwood Pines &lt;span class="caps"&gt;BMBS&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In May, Jack Richards an I rode ourselves into the ground for third place at &lt;a href="http://www.nofussevents.co.uk/event/10-Under-The-Ben/1039/"&gt;Ten Under the Ben&lt;/a&gt;. Some more endurance work, and probably setting a less fearsome pace, might have seen us hold onto the lead.&lt;/li&gt;
&lt;li&gt;July saw me riding for the Glencroft Rabble to the &lt;a href="http://www.facebook.com/note.php?note_id=143701982335059"&gt;win at Twentyfour12&lt;/a&gt; in the 24 hour senior category. Jack Richards, Ewan Thorburn, Gavin Shirley and Jamie Maxwell were incredible teammates. Special thanks to Gav and Ewan for sharing the 20 hours of driving to Plymouth and back.&lt;/li&gt;
&lt;li&gt;In August I took the win at the 4th round of the &lt;a href="http://www.nutcrackermtb.co.uk/"&gt;Nutcracker &lt;span class="caps"&gt;MTB&lt;/span&gt; series&lt;/a&gt;. After a start straight tangle with the lane-rope I got up and rode the legs off myself to catch and pass everyone but Tom Bell who unfortunately broke his front mech and had to withdraw. The cramp in the last km was not enjoyable.&lt;/li&gt;
&lt;li&gt;Also in August I had my best ever ride at the &lt;a href="http://douglasfshearer.com/tags/selkirk"&gt;Selkirk Marathon&lt;/a&gt;. Top 10, 4h 15min and some great company on the way round in the form of Martin Graham, Greig Walker, John McCaffery and Roy Hunt.&lt;/li&gt;
&lt;li&gt;Second place in the inaugural &lt;a href="http://www.edinburghrc.co.uk/forums/index.php?topic=12549.0"&gt;Edinburgh 48&lt;/a&gt; race was quite pleasing. Was just like the old days, with Rab Wardell taking the win.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Huge thanks to my sponsors:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Steve at &lt;a href="http://www.i-cycles.co.uk/"&gt;i-Cycles&lt;/a&gt; in Innerleithen. Great coffee is served hourly.&lt;/li&gt;
&lt;li&gt;Helen at &lt;a href="http://www.innerleithenmtbracing.com/"&gt;Innerleithen &lt;span class="caps"&gt;MTB&lt;/span&gt; racing&lt;/a&gt;. I hear she’s making a comeback in 2011.&lt;/li&gt;
&lt;li&gt;Steve Parr at &lt;span class="caps"&gt;MSC&lt;/span&gt; UK for the pit support at &lt;span class="caps"&gt;BMBS&lt;/span&gt; races.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Many thanks go to Emma for putting up with my pre-race anxiety, and my folks for the support at races. Also Becks for doing my bottles at Sherwood, and Paul Newnham for running to the second feed zone to hand up a bottle I missed.&lt;/p&gt;
&lt;p&gt;Finally thanks to all the people who come to, organise, and support racing.&lt;/p&gt;
&lt;p&gt;Here’s to the 2011 season.&lt;/p&gt;</description><link>http://blog.douglasfshearer.com/post/17547059834</link><guid>http://blog.douglasfshearer.com/post/17547059834</guid><pubDate>Thu, 30 Dec 2010 12:40:00 +0000</pubDate></item></channel></rss>
