The archives.

Code, discoveries, detours. Collected over the years.

2015

2014

Deploying #Liftweb .war files on #Jetty in 2015

If you’re running Liftweb Applications in production, you might either be using Tomcat or Jetty. If you’re using Jetty, you’ve probably stumbled across David Pollak’s jetty.tgz (i don’t find the link anymore). While it is a nice…

#Liftweb and #SOLR, slashem with write-support

I like foursquare‘s libs. If you’re using liftweb a lot (and there is no reason you shouldn’t), then you’ve probably discovered the trove of treasures foursquare is managing in their repositories on GitHub. If you haven’t used Rogue,…

2013

My new working-day schedule

So i’ve been super busy for the past few months. You might have noticed since i didn’t blog. So i’ve been doing a lot of Netty 4 related work. One project amongst those is the Liftweb Netty Integration where David Whittaker and me are…

#Netty Channels with #Scala Implicits

Today i just want to share a quick Scala goodie. We all know that i love Netty and Scala, so i wanted to write a little Goodie with Scala’s implicits. With Implicits we can wrap transparently around an Object (such as…

#Scala Try error handling without StackTraces

After reading this excellent Blogpost about the new Scala Try, i was thinking of how this would come in handy for “flow-control”, but without the StackTrace overhead. The ProblemFlowException(msg: String) extends Exception(msg)1val myE…

2012

netflow.io - #Scala/#Netty NetFlow Collector

As promised on my last Talk in London, i’ve finally outdone myself with our newest piece of code called: The project aims to provide an extensible flow collector written in Scala, using Netty as IO Framework as well as Akka as Messaging…

Scala Utils with IP Subnet Matching

Good evening everyone, so you thought i stopped blogging, but i didn’t. What i did do? Well, i wrote some amazing Scala stuff. Apart from my Liftweb, Netty and Akka Talk at SkillsMatter, London, i was busy coding some awesome stuff for…

#Xen 4 dynamic VLANs through VIF-script

So last night i got really bored, so i tried to integrate VLANs in my existing Xen4 setup. While googling for solutions, i only found things where i’d have to statically allocate VLANs for every customer on every host through…

Hector-Client #Scala Wrapper for Cassandra

A few days ago i had to use Cassandra for my special project, so i went on to search for usable clients. First i tried Cascal, which felt a bit clunky, so i decided to try Cassie (Twitter) which couldn’t create Keyspaces in code. So i…