rblog

Spring tide in Oslofjorden yesterday

Pictures are kinda bad, taken with the Nokia N81 I borrow while my phone is being fixed (they have spent almost three weeks now), but still you get the point. The first picture is taken at Skøyen, or to be more accurate along Bestumkilen. As you see people had to walk and cycle on the lawn due to sea water flooding the walkway.

Alongside Frognerstranda, care for some Coca Cola?

Handyman in action yet again

Yesterday helping Vegard out carrying roof tiles just to realize today that riding the bike 5 days a week does not build muscles. Luckily Vegard is a hard core handyman, he has even built his own truck using an old tractor and parts from an actual truck, how cool is that? So we only had to spread them out on the roof, good thing we did not have to carry them up the ladder as well.

WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it

Spent hours struggling with the stupid error “WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it”. I have two XML-documents one, which I need to copy a given node from and the other file where I first needed to remove the matching node then copy it from source to the target file. Trick is to use importNode, not just cloneNode


def copyOfSource = sourceProviders[0].cloneNode(true)
targetRoot.appendChild(targetDoc.importNode(copyOfSource, true))

Hours of work solved in few minutes just refining my Google search. Was about to post a question on http://stackoverflow.com and while preparing the question I needed some more background information. Tada…

In memory of – my bike never used

Yesterday I spent about two hours providing TLC for my new used bike. I moved parts from my other two bikes in order to get a fully functional commuter bike. Foot pedals from my Kona bike, have already bought new ones for it. And light, mud protection and such from my old commuter.

Really enjoyed my own invention, the “double rear mud protection”, and was looking forward to be using it to work this morning. But, when in the garage this morning I did not find it…the bike trolley was stolen. F¤#%!!! Will be getting most of the money worth back on the insurance, but most of all it is really annoying!

So this is the only thing I have left of the bike…a picture…and a posting to be found here terrengsykkel.no/ubb/

Hjem