Oh, the irony ...

February 14th, 2018

Sold at "Coolstuff"...,

Using Google translate since I'm lazy

Golf, just above the cheesedoodles and just under smoking heroin on the list of addictive things. For the embedded golfer there is no reason that could not be better with some golf involved. A rainy day sunday morning around half past seven? Golf. Late night in November? Golf (with headlamp). Sister's wedding day ... yes, you see. Every second is a good second to work out on putter. But there are occasions where even the most fanatical golfer must stop and sit down. Or maybe you should say there existed. We have - as the name of this product clearly shows - solved that problem now.

Now you can spend the maximum time and fine-tune your pit on time and expire while doing other necessary needs.

Larry is online!!

January 25th, 2018

Remember Larry?

Remembering the snow

January 23rd, 2018

Tomorrow the weather forecast says rain, so just to remember how much snow it has been the past weeks I did create this post. Actually the amount of snow is making it a hard time for the tractor to get through it, almost like sugar it just spins - no traction.

Memories - almost no Xmas at home in 2017

January 23rd, 2018

Close call on the 23'rd of December 2017, luckily we had another set of lights as well

Stuck on the road

January 23rd, 2018

Saw this one a while ago when out running...not able to pick it up, that's for sure

Not your everyday first aid kit

January 19th, 2018

After last weekend, running for three days has its drawbacks, damaged toe nails is one of them, and this time I had to use a first aid kit I have not used before. Actually the valentines present I gave Elin a year or two back - the Bosch gsr 10 8-2-li

A bit of warning, but maybe to late anyhow, but Elin felt sick after I had shown her my nail. The 2mm drill made a perfect little hole which let out a lot of pressure, now the nail ain't that painfull anymore.

The nail to the left was damaged last year when doing Icebug Xperience

Python - gzip has no attribute open

January 19th, 2018

Did try the following

import gzip
f = gzip.open('myfile.gz','rb')

But then got the error

AttributeError: 'module' object has no attribute 'open'

What I really should have done was to read the whole error stack

Traceback (most recent call last):
  File "gzip.py", line 1, in module
    import gzip
  File "d:\test-py\gzip.py", line 13, in 
    fileHandler = gzip.open(pathToGzFile)
AttributeError: 'module' object has no attribute 'open'module

While testing I had named my file


causing Python to believe that I meant "import the script I am testing". Renamed the file to testgzip.py and it all works fine (name can be whatever, but do not name the file the same as a module you are importing)

During this I found a nice way to pretty print (pprint) the attributes of a module/object in Python, see StackOverflow

Snowy at home

January 18th, 2018

A lot of snow the past few days, have spent many hours snowplowing - but now done and happy with the result

The snow bank is almost 4 meters high

Sandsjöbacka Trail 2018

January 18th, 2018

Last weekend me and my friend Bendik did participate in the three day sprint tripple run - http://sandsjobackatrail.se/. I have published a run report here https://www.hiul.no/sandsjobacka-trail-en-kickstart-pa-lopesesongen-2018/

Reboot required?

January 4th, 2018

Info screen at Lillestrøm showing just the station codes, not the name of the stations