rblog

What caused my svn checksum mismatch problem

@Update: See post 2011/01/17/what-really-caused-my-svn-checksum-mismatch-problem for final solution

Have been struggling with svn checksum mismatch problem which is annoying, but no show stopper due to the problem being possible to solve by workarounds as described in this blogpost glob.bushi.net.nz/…/subversion-checksum-mismatch-easy-workaround/

But still, I needed to figure out what the root cause was, and it turned out that the Perl search/replace was the sinner.
Issuing the command

perl -pi -e ‘s#ojdbc14_10.2.0.2.jar#ojdbc6_11.1.0.7.0.jar#g’ `find . | grep jdbc.xml`

then verifying the change by looking at the file using VI. But when issuing

svn status

svn was not able to see any changes. Then I added a xml-comment describing the change, saving and then svn commit I got the checksum error. After doing the workaround and then editing the file all manually, not issuing the Perl-command…voila, no problem. Have not been able yet to figure out why svn don’t like Perl search/replace changing the file…not sure if the -pi -e could be causing the problem, but I’m quite sure it has been accepted before.

The Dirt: Confessions of the World’s Most Notorious Rock Band

My latest book, the story of Mötley Crüe from the early days via their world wide success to their downfall. I expected an endless story of sex, drugs and rock’n roll…and of course it was, but most of all it is a sad story of sex, drugs and rock’n roll. How the enormous amount of girls and dope inflected on their music and friendship. We also get to know their personal life behind the headlines in the newspapers, Vince who drove the car while being drunk and causing the death of his friend, divorces and breakups and such. So not the happy book I did expect, but still a very good book, I would really recommend it!

YES!!! I’m back!! Using my bike to work

Today it is exactly two months since I fractured my scapula, and finally I’m now back. Enjoyed my way to work in perfect conditions, just below -10. Need a day or two to get back in my old routines again, but it is good to be back!! No more bus and subway…

Things at Fornebu to report from this week

First, the Christmas tree fell down, wonder if someone had done it on purpose, because the tree did not look _that_ good when standing up. Do think it was fixed Friday afternoon, so it will be Christmas this year as well.

Walked back a bus stop when leaving work on Friday, just to make sure I got a seat in the bus. Saw this sign at Aker Solutions. WTF??? Slippery??? It is ….snow….with sand…slippery??? Also, note – there are still people walking on the lawn outside of the tape, you can see the new track have been made 🙂

NRK on Apple Tv (v1) using XBMC 10.0

Last week I had some struggle trying to enable NRK Nett-TV. The patchstick I had used installed XBMC 9.11, and I found the plugin described in this thread on freak.no. Could not get it to work, suspecting the mplayer-version causing the problem.

So I restored the box using factory restore, then created a patchstick by using the magical piece of software created by the guys behind atvusb-creator. A lot of cursing at first, since none of my usb-sticks would load (Kingston 8Gb), and also another stick of unknown make. Got to borrow a stick from Lars Tormod, one of many of a unknown make he had been handed at some event – but it did the trick. Patch booted, and now I’m running XBMC 10.0. In the list of video addons there is an addon named NRK…installed it and now out the box, we have NRK Nett-TV on our tv using the Apple-TV.

Also – remember to install Nito TV, then goto Settings –> Install Software –> Smart Installer. Thanks to http://www.todaywasawesome.com/enable-usb-on-the-apple-tv/ for reminding me by providing the post found when desperatly searching for help when my usb hard drive was not found. Note, you do not need to download up front, Smart Installer fixes that for you.

Bradley Manning

Thank you for signing the declaration “We Stand with Bradley Manning!”
Volunteers will soon send letters on your behalf in support of PFC Manning
to US Army officials requesting that the charges be dropped.

I must admit that currently I’m not sure whether or not I fully support the demand to free him, to do that I need to know more about his case. But what I what I know is that I find the treatment he gets to be very wrong. He does not deserve to be isolated for 23 hours each day, in a cell without even a blanket. Assuming that this information is true, why should I not, just take a look at Guantanamo, I stand behind the demand to free him, he deserves better!!

Edit: Here is a description of his day
http://www.armycourtmartialdefense.info/2010/12/typical-day-for-pfc-bradley-manning.html
He can have a blanket, but no pillow or sheets…crazy mofo rules!!!

Find text between double brackets using regex

Just needed to post this one as a reminder to myself. Once in a while I need to update text between double brackets, often values of parameters like the case now

password="thepassword"
...
password="yetanotherpassoword"

Having a lot of this makes it annoying to update it manually, but by using Notepad++ which also have a regex-search-replace option it is easy

password=".*"

did the trick for me.

To many choices

Så hva skal en gjørra
Skal en legge seg ned
Eller slå ut håret
Og stikke ut et sted

Elin is out partying, I did not lay down, but close…

Despite of what Ølbloggen did review Grans Juleøl (throwing the dice to just 1) I did enjoy my beer! Better review here http://www.klikk.no/mat/drikke/article518942.ece

Jokke, live playing “To Fulle Menn”….two drunk men http://www.youtube.com/watch?v=O-Nc4ZyzlvU