Projects & Stories

TomTom Rider and the GPS quest

photo_small I bought my TomTom a couple of years ago and still, I am very happy with it. The Rider was one of the first navigation systems with the so called function "Find a curvy stretch"! For a motorbike enthusiast this function will eliminate a huge amount of planning-time. I used this in several holidays without any complaints and great routes. But the post is actually about the only annoying thing I had since I bought it. A couple of days ago it just []

Prevent Spotify from "freezing" on Linux

photo_small I am a big fan of the Awesome-Windows-Manager for Linux but since a couple of weeks the Spotify-Client is freezing the X-Server for couple of seconds after a track change happened. I've already been thinking about that this has something to do with the track notification from spotify. After some research I discovered the option ui.track_notifications_enabled. After disabling the track notification, Spotify worked quite well again! It can be used []

Scala: Sum up values in a Map

photo_small Some addition to my previous code snippet post. scala> val m = Map("k1" -> 1.6, "k2" -> 2.2) m: scala.collection.immutable.Map[java.lang.String,Double] = Map(k1 -> 1.6, k2 -> 2.2) scala> m.foldLeft(0.0){ case (a, (k, v)) => a + v } res16: Double = 3.8000000000000003 Instead of pattern matching you can also use the underscore solution: scala> m.foldLeft(0.0)(_+_._2) res40: Double = 3.8000000000000003 The parameter []

Driving motorbike in Dezember

photo_small In November I thought about driving motorbike, but it was already too cold in Germany. My first idea was to put my bike on the train and leave the country to south, but to my surprise the car-train is a dead end. Most of the provider want to get rid of it cause most people don't use it. Well after that knowledege there was only one thing left. Fly to a different country and rent a bike. After reading through different reports I ended up with htt []

IMAP filtering for a remote mail server

Today I searched for a simple imap-filter-tool for my hosted mail server. I found following tool written in C: IMAPFilter is a mail filtering utility. It connects to remote mail servers using the Internet Message Access Protocol (IMAP), sends searching queries to the server and processes mailboxes based on the results. It can be used to delete, copy, move, flag, etc. messages residing in mailboxes at the same or different mail servers. The 4rev []