Quantcast
Channel: Cake Solutions Team Blog » Jan’s Blog
Browsing all 45 articles
Browse latest View live

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 Article



Merry 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 Article

Coming 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 Article

Akka 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 Article

Neo4j 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 Article


Akka 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 Article

JasperReports 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 Article

Control-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 Article


Dictionary 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 Article


TPH – 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 Article

SBT, 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 Article

Spray 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 Article

Full-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 Article


Akka & 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 Article

Akka 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 Article


AngularJS 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 Article

Version 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 Article


AspectJ 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 Article

Cake 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 Article

Cake 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
Browsing all 45 articles
Browse latest View live




Latest Images