rblog

Skat – yet another luxury yacht

Had to stop and take a picture of this yacht when going to work this morning. The yacht is the 64th-largest in the world with a length of 71 meters, read more about it at Wikipedia http://en.wikipedia.org/wiki/Skat_%28yacht%29

Go open source, down with Micro$oft, when all the bosses can afford such yachts, no wonder Window$ costs a lot

Blog upgraded

Now upgraded from 3.3.2 to 3.3.3, it has been out for nearly half a year, but I have just not noticed it. Just a few bug fixes, easy and simple upgrade – b2evolution rocks!!

Terrengsykkelrittet 2010

Yesterday I attended my first competition this year, which also was my first time trying Terrengsykkelrittet. Almost 60 kilometers hard core offroad biking in Østmarka. Manengen won using 2.55, I got more value for money and spent a bit more then one and a half hour more, which was expected. I’m pleased with the result, and also that I had no punctures or any other mechanical problems with the bike. Struggled hard with the brakes on Friday evening, but problem solved and it worked flawlessly for 4 and a half hour. Bit more problems with my own body, felt cramps several times, but luckily not anything bad, but very tired when finished.

The results for my class, Men 30-39, tow rounds can be viewed at Emit webpage

My legs and face when finished together with Espen showing his legs as well

From my training diary, kinda funny to see the red line at bottom right which is my pulse. Hard start and falling all the way

Creating my first Build Forge adaptor

This week I’m attending a two day course as an intro to Build Forge, followed up by a two day workshop on the use of RAFW. Between the lessons I have tried to create a simple adaptor to Build Forge which does nothing more than call a batch file and return the current date to the Bill of Materials. Not rocket science, but I need to start simple to learn it 🙂

I got the bat file from http://www.tech-recipes.com/rx/956/windows-batch-file-bat-to-get-current-date-in-mmddyyyy-format/ I just edited it a bit, making this the last line

echo Current date: %dd%.%mm%.%yyyy%

Calling a bat file like this might seem kinda stupid, but since adaptors are meant to enable you to call executables using command line, stupid is ok for now. The XML for the adaptor calling the bat file is like this

<?xml version="1.0"?>
<!DOCTYPE PROJECT_INTERFACE SYSTEM "interface.dtd">
<PROJECT_INTERFACE IFTYPE="Source" INSTANCE="7.02">
<template>
<env name="FILEPATH" value="path_to_file_with_ending_slash" />
<env name="FILENAME" value="name_of_bat_file_to_run" />

</template>
<interface name="ByDate">
<run command="command" params="$FILEPATH $FILENAME" server="$BF_SERVER" dir="/" timeout="360"/>
</interface>
<command name="command">
<execute>
$FILEPATH$FILENAME
</execute>
<resultsblock>
<match pattern="^Current date: (.*)">
<bom category="Result" section="CurrentDate">
<field name="currdate" text="$1"/>
</bom>
</match>
</resultsblock>
</command>
<bomformat category="Result" title="Current Date">
<section name="CurrentDate">
<field order="1" name="currdate" title="Date"/>
</section>
</bomformat>
</PROJECT_INTERFACE>


(Using Blogcrowds to escape the XML)

Note that you also need to create an environment in Build Forge containing the two variables in the template-section. The adaptor xml only describes them, it does not instantiates them. So create the environment and refer to it in your project or the step.

I would also recommend playing around with the bomformat-tag, which enables you to format the “Bill Of Material format”, creating headers, sections and fields.

Sheep rustling / Cattle rustling

I heard on the radio yesterday that farmers in England had started to worry about the rising of sheep rustling (Cattle rustling). The article they referred to on the radio was this one http://www.nrk.no/nyheter/verden/1.7125165. Did a further check on that one, and found this article on the BBC website. The last one is a bit more specific saying “Farmers raise Lothian and Borders sheep rustling fear”. So not a national plaque after all 🙂

Just do it!

Found this amazing clip when browsing Youtube – the Norwegian cross country national team back in 1961 preparing for the next season. First logging, then training, and to finish the day coffee and cards…

[video:youtube:sz30lTaKHDE]

Link

TLC for my bikes

Cleaning all my bikes when at Vestreng. Washed them, applied wax, took off all three chains and cleaned them using diesel, then I bent all the chain links one by one to remove as much dirt as possible. A few hours of quality time

Yesterdays bike ride – downtown Oslo

Had to take my camera to service at Foto Video, and what better to do than use my bike and not go the shortest way? I headed off to Ekebergsletta, then via Sjursøya to downtown Oslo. When finished at Foto Video I followed Akerselva up to Maridalsvannet and to Grefsenkollen. Surprised by the very good conditions riding my bike down the trails from the top down to Årvoll.

Picture taken above Sjursøya

See the route at Sportstracker