Addictive Software

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

Tag: dev

  1. 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( == true).sortBy(- _.score).take(5) .foreach(p => println(s"…

    dev, scala, code-coverage

  2. 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.…

    dev, methodology, scalable

  3. 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…

    dev, tip, nodejs, proxy, apache

  4. 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…

    sbt, dev, scala, tip

  5. 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…

    dev, tip, python

  6. 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…

    dev, scala, tridion, smarttarget, play, adf