Running varnish as unprivileged user

Since I haven't found any documentation on the topic of running varnish as non-root, I proudly present: how to run varnish as non-root. A warning ahead: this will require fiddling with init scripts, so make sure to keep backups. Also, scripts will be overwritten with each package update. Changes to /etc/init.d/varnish Ulimit calls are not … Continue reading Running varnish as unprivileged user

Tomcat/Scala: invalid byte tag in constant pool: 110

When deploying a Scala application on Tomcat 7 I got this weird error: invalid byte tag in constant pool: 110 from Tomcat's annotation scanning in the scala utils jar. There is this bug report that claims it's fixed, but it seems to still happen wit 7.0.53. Since the application doesn't rely on Tomcat's annotation scanning, … Continue reading Tomcat/Scala: invalid byte tag in constant pool: 110

When scala unitests won’t run in the Scala IDE with Maven

Stupid problem: scala unit tests / scalatest tests suddenly won't run after a failed maven build claiming with a ClassNotFoundException that the test class doesn't exist. I believe this to be a weird class loading issue where Eclipse doesn't include unit tests into the classpath. The very, very sad workaround is: run a successful maven … Continue reading When scala unitests won’t run in the Scala IDE with Maven

Using Blogger with a custom domain: the zonefile dot problem

A quick note to myself the next time I stumble over this: when you instruct Blogger to map the blog to a 3rd party (custom) domain it basically instructs you to add three entries to your domain's zone file: 1. a mapping from the domain to ghs.google.com 2. a mapping from some weird subdomain you'll … Continue reading Using Blogger with a custom domain: the zonefile dot problem

Running a website on ip6

I started quite a while ago moving a pet project to ip6. While it doesn't involve any programming per se, it turned out to be quite a complicated process involving multiple configuration steps. Thus, for your enjoyment I present: running a website on ip6 with Ubuntu 14.04 (older versions won't work because their kernel doesn't … Continue reading Running a website on ip6