Addictive Software


var me = Random.shuffle(List("Developer", "Cook", "Geek", "Nerd", "Boyfriend", "Musiclover", "Engineer"))


  1. Executable Scala scripts on Linux/Mac

    As most developers are also DevOps nowadays, we're not only writing code, but are also at least partly responsible for getting/keeping it running. That often means writing scripts that have to run on servers. The SBT install when done with Conscript adds two scripts that make maintaining servers with…


  2. Rijksmuseum API

    I really like the innovative approach of the Rijksmuseum in Amsterdam. I just found out that they put high-resolution pictures of their entire collection online. and the even provide an API to query it. I'm thinking: Random paintings in virtual reality environments When using "lorum ispum" for text why not…

    on innovation, api, art, tips

  3. IBAN calculation in scala

    Curiosity led me to the question: "how is the control number for an IBAN number calculated?" I found the answer on (how could it not) wikipedia 10 minutes later i had written a small scala function that calculates it def createIBAN(bank:String, country:String, accountNr:String) = { //translate letters to…

    on dev, scala, iban

  4. Code coverage in scala

    Most code coverage tools check lines of codes and branches (which part of the if/then/else is covered) For scala this is not a very useful metric, i'll let the following example speak for itself Players.filter(_.active == true).sortBy(- _.score).take(5) .foreach(p => println(s…

    on dev, scala, code-coverage

  5. The 12 factors in building apps in any language

    Good website on how to build scalable and maintainable apps. About building stateless apps that are the same on dev, test and production environments, and therefor scale really well both up and out. http://12factor.net…

    on dev, methodology, scalable

  6. Using apache webserver as a frontend for a node.js website

    As I moved my blog from wordpress to node.js I ofcourse wanted to run it on port 80, as I already have apache running on my server using that as a frontend was obvious. To get it running I needed to enable the proxy and the http handler for…

    on dev, tip, nodejs, proxy, apache

  7. New blog patform

    Hi, i've switched from using wordpress to the Ghost blogging platform. which is markdown based And although it doesn't (yet) have the all features that wordpress has, it is very powerfull already, and i'm curious to see where it will go The Theme i'm using is a modified version of…

    on general, blog

  8. Debugging SBT

    I found that the simplest way to debugging sbt project’s is to add a standard remote debugging configuration to (in my case) intellij and remember the port the debugger is listening for (default 5005) and then in a terminal window start sbt as follows: sbt -jvm-debug 5005 If you…

    on sbt, dev, scala, tip

  9. Simple Http Server

    If you ever just need a simple http server to serve up some html/javascript, because for instance access to local filesystem, camera, microphone etc is disabled when using the file:// protocol just install Python 3.x and run python -m http.server 8000 from the command line and voila…

    on dev, tip, python

  10. SmartTarget, Render Engine Language and the Ambient Data Framework

    The next major release of SmartTarget will among other things include support for REL (Render Engine Language). One of the major use cases we wanted to support is Have a website in a technology that isn't covered by our Content Delivery platform and show a webpage by: Rendering the page…

    on dev, scala, tridion, smarttarget, play, adf