Errors, failures: I’m a teapot
Imagine you want to use the HTTP status codes to indicate failures in your Akka & Spray application. You receive a (JSON) request that maps to known route and can be unmarshalled into an instance...
View ArticleMerry Christmas
Another year has passed, and so it is time to have a new Christmas tree. In this post, I will show you the improvements of last year’s code–the aim was to use the same ASCII art, but to make it … Read...
View ArticleComing in 2013
Let me close our very successful 2012 by saying thank you to our teams, our clients and everyone who follows our mad ramblings. With less than 60 hours of 2012 left, let me write a short post about the...
View ArticleAkka client, C++ server through RabbitMQ
Here’s… (ehm) Jan! Did you miss me? Over the next few weeks, I will tell you about all the discoveries I made in the project storm that made me skip blogging for three weeks. And today, we begin with...
View ArticleNeo4j and Spray JSON
The title of this post may be a bit confusing–what does Neo4j have to do with Spray JSON? (I know that they both run on the JVM, don’t try to be a smart ar*e.) Neo4j is a graph database and … Read more →
View ArticleAkka and CUDA
Let’s continue our discussion of native components that react to messages from Akka. We will wire in actual image processing to our C++ code. To make the matters even more interesting, I’ll show you...
View ArticleJasperReports and Scala
Reporting. The ungrateful tasks usually left to the peasants of programming teams. In this post, I’ll try to make it more bearable, even interesting; showing you how to use JasperReports. JasperReports...
View ArticleControl-Allow-Origin in Spray
It is 2013, we have modern browsers. And these browsers do not like to load resources from origin that’s different from the resource being displayed. So, if you have a page at http://www.foo.com and...
View ArticleDictionary of functional programming
Last year, I gave you the terrifying Truth about Scala. But that was just a small piece of the functional programming world. Our horizons have expanded. I welcome Clojure, Haskell, F#, OCaml, even Coq....
View ArticleTPH – Episode 1, JSON
Ready for some JSON and for some Haskell? If so, join me in the first episode of The Pragmatic Haskeller called “JSON” I’ve decided to do something which has been on the cards for a long time, namely...
View ArticleSBT, Sonatype & friends with full Scala syntax
I have an exciting (sad, I know, but I do find this sort of thing exciting) description of multi-module SBT build, complete with publishing to Sonatype, dependency graphs and other goodies. Head over...
View ArticleSpray Client and the new Akka 2.2.0 IO
It just so happens that the [@akkateam](https://twitter.com/akkateam) [released Akka 2.2](http://akka.io). Akka 2.2 includes, amongst others, the new IO. In this post, I will show how to use the 1.2...
View ArticleFull-fat SBT projects
Akka Extras use the full .scala SBT syntax. This is different from the .sbt syntax, so let us explore how to construct the Scala syntax build, including publishing to Sonatype. We will explore this on...
View ArticleAkka & Cassandra Activator
Akka and Cassandra In this tutorial, I am going to use the Spray-Client, DataStacks Cassandra driver and Akka to build an application that downloads tweets and then stores their id, text, name and date...
View ArticleAkka and Spray
This application shows how to build Akka application with Spray API. In this tutorial, I am going to use Spray’s spray-can, spray-httpx, spray-json artefacts with the Akka artefacts to build an...
View ArticleAngularJS in Akka and Spray
This post follows up on the Akka and Spray post, and it extends it by adding a file upload handler. This allows us to upload images to the user’s account. (Note that, as usual, the Akka code does...
View ArticleVersion checker
I am really excited to give you first glimpse of a project I have been working on. It is an automatic dependency version checker. We are rolling it out internally to keep on top of our projects at Cake...
View ArticleAspectJ with Akka, Scala
Imagine that you need to find out how your actors are performing, but without using the Typesafe Console. (You don’t actually want to use this code in production, but it is an interesting project to...
View ArticleCake is Hiring – Software Engineer Required – London, UK
Cake are looking for a passionate and skilled software engineer for an exciting opportunity in London. The 12 week project will deliver a prototype application which is capable of gathering data about...
View ArticleCake is Hiring – Software Engineer Required – Leeds, UK
Cake are looking for a passionate and skilled Java software engineer for an exciting opportunity in Leeds. The 1 to 3 month project is dedicated to the creation of a PoC system on automated build,...
View Article