Browsed by
Author: Ola Løvholm

An itinerary for visiting Norwegian fjords and Archipelago

An itinerary for visiting Norwegian fjords and Archipelago

This summer we did a trip around the Norwegian fjords and out to the islands at the North West coast of Norway. Here is our itinerary from this trip as well as some tips for you who either considers or already wants to visit the North West coast of Norway to see the famous fjords and sea landscapes. We started our trip in Oslo and planned to be out on the road for about one week. I’m fairly familiar with…

Read More Read More

Program Philips Hue

Program Philips Hue

Phillips’ smart light system Hue has for long been synonymous with smart IoT light bulbs, and although they recently have received competition from IKEA Trådfri and Osram Lightify (and many more), it’s still the dominant platform for smart lighting. Basically Phillips Hue consists of the light bulbs, lamps or light strips which can be either white, white ambience or full colour, as well as the Hue Hub. In addition Phillips also sells buttons and sensors that can be used with…

Read More Read More

Into the exclusion zone

Into the exclusion zone

I was born in 1986, and one of the names always being associated with this year is Chernobyl. Yesterday I had the ambivalent “pleasure” to visit parts of exclusion zone: the buffer zone, the Pripyat zone and the 10K zone in which the reactor is located. Towards the end of 2017 a new shelter, or sarcophagus, was put in place over the reactor. This, together with the old shelter and the work of 500.000 liquidators after the catastrophy, makes the…

Read More Read More

Polar adventure

Polar adventure

From a long weekend trip to Svalbard during June 2017. Pictures are from Longyearbyen and from travels to Russian mining town Pyramiden and across the Adventsfjord. 

Fem turer i nærheten av Oslo

Fem turer i nærheten av Oslo

Kongens utsikt En kort kjøretur fra Oslo, langs Tyrifjorden, finner du Kongens utsikt. En enkel, tilrettelagt gåtur på rundt 1,5 km fra parkeringsplassen ved Krokkleiva og fram til utsiktsplattformen. Ved utsiktsplattformen får man en fin utsikt over Tyrifjorden.  Hvordan komme seg dit? Ta E18 ut av Oslo i retning Kristiansand. Ved Sandvika, ta av i retning Hønefoss. Ta av ved Sundvollen og kjør opp til Kleivstua. Det poster per juli 2017 30 kroner i bompenger. Parker ved Kleivstua og følg…

Read More Read More

Load database from CSV with columns and tables read from file.

Load database from CSV with columns and tables read from file.

The issue at hand here is to load a database with CSV-files in a generic way without having to write separate script for each table. This short Groovy-script is working based on two conventions: The name of the CSV-file matches the name of the table in the database. The name of the CSV-header matches the name of the column in the table. The script requires the CSV-files to be read in the folder “to_digest”. The connection details is placed in…

Read More Read More

Lovholm.net back with new layout

Lovholm.net back with new layout

In recent years the activity on lovholm.net has decreased.. unfortunately. Hopefully, I will soon be able to kick-start some new articles, as I have picked up a few new things I want to share with the world over the last few years. As you may have noticed if you been visiting this page earlier, it does not look quite like it did a few months or five years ago. The last larger update of the page (WordPress engine updates excluded)…

Read More Read More

SQL: Setup a Learning Workbench with SQLite and SQuirreL

SQL: Setup a Learning Workbench with SQLite and SQuirreL

Install SQLite To download SQLite you only need to download a file from the project homepage of SQLite. Select download, and precompiled download for your prefered operating system. Unzip the folder with the binary, and place it in a folder that is accessible from your command line interface (The terminal on Mac/*nix systems and Powershell or cmd on Windows). This is a folder that is in the path variable. Here is how you can add a folder to the path…

Read More Read More

Bestille togreise i India

Bestille togreise i India

Å bestille en togreise i India kan være litt tricky, men er absolutt verdt å gjøre. Det er et enormt tognettverk mellom de forskjellige byene og regionene, og stor spennvidde i hvor god plass og service du får og hvor lang tid togene benytter. Ikke minst er det en flott måte å se landet mellom byene. Under vårt India-opphold benyttet vi Rajdhani (betyr hovedstad) mellom Mumbai og New Delhi og fikk på førsteklasse egen lugar, te, kaffe og tre-retters middag….

Read More Read More

A short script for testing writing many files to a folder

A short script for testing writing many files to a folder

The challenge: We want to see when the number of files in a folder decrease the performance on adding new files into the same folder. Two examples where we may need to do to this are: to get an overview of the performance of the file system node structure, or to test Windows function for 8dot3 format compatibility. The solution: We want to create a script that writes a large amount of files to the folder in question and is logging…

Read More Read More