Websockets, AngularJS, RabbitMQ, C++ in Spring 4
Post showing Spring Framework 4-based application that makes the most of WebSockets, RabbitMQ, and OpenCV to implement a simple computer vision application. It counts coins that an iOS application...
View ArticleCake is Hiring – Software Tester Required – Leeds, UK
Cake are looking for a passionate and skilled software tester for an exciting opportunity in Leeds. The 1 month project requires the developer to write automated test scripts and subsequently you will...
View ArticleCake is Hiring – UIX Developer Required – Leeds, UK
Cake are looking for a passionate and skilled UIX front end developer for an exciting opportunity in Leeds. The 1 month project will involve working with numerous GUI’s for a project within the betting...
View ArticleCake is Hiring – Software Engineer Required – Leeds, UK
Cake are looking for a passionate and skilled software engineer for an exciting opportunity in Leeds. The role will involve working on a proof of concept project within the betting industry. To give...
View ArticleDebugging Scala Macros
println is the golden hammer of debugging, but when it comes to debugging your Scala Macros, I find it useful to be able to set a breakpoint at the point of the macro expansion. In this post, I’ll show...
View ArticleMonitoring Akka
In this post, I will show you how to monitor your Akka application in Datadog. The code is now available in the latest snapshot of our monitoring project; you can include it in your Akka applications...
View ArticleEngineers wanted
I am looking for Scala / modern Java and devops engineers to join the Cake Solutions team as soon as possible. What to expect You can expect a lively and challenging environment with very interesting...
View ArticleStreaming Twitter API in Akka and Spray
In this tutorial, I am going to use the Spray Client, Akka IO and core Akka to build an application that streams tweets and then performs trivial analysis of the received data. It shows you how to...
View ArticleActivator tutorials in Markdown
I find writing HTML rather inconvenient; a fact made even worse by wanting to re-use the same content for the Typesafe Activator and for this blog. Because of that, I wrote a simple Sbt plugin that...
View ArticleNew & cool in Spray 1.2.0 (part I)
In my Scala Days 2013 talk, I showed a computer vision application that sent chunks of the H.264 or MJPEG stream to my Scala application using chunked HTTP post. Naturally, I used Spray for the HTTP...
View ArticleNew & cool in Spray 1.2.0 (part II)
In the previous post, I showed you the improvements to the chunked request handling. Unfortunately, I had to deal with uri.path.toString(), which I hope you too found rather unsatisfactory. Let me...
View ArticleTypeclases in Scala & Haskell
Typeclass is a concept in Scala and Haskell (and in some other strongly-typed languages). The best way to think about a typeclass is that it is an interface, which defines functions. Great. Typically,...
View ArticleRandomness
In my strongly-typed FP workshop, I show examples of the collection API in Scala by generating random Person instance. I use List.fill(100000) { Person(randomString, randomString, randomInt) }, where...
View ArticleMonad transformers
Let’s expand our random Person generator to include keep track of the count of people generated and to write out some values during the generating process. For motivation, let’s say we want to see not...
View ArticleThis year in Scala (2013)
In place of the traditional This week in Scala, I give you This year in Scala. It is my take on what has happened in the Scala and the wider JVM world, and I will even throw in some of … Read more →
View ArticleHaskell, WebSockets and D3.js
This is the first in the series of posts where I will explore a simple application that allows you to analyse and present data in interesting ways. I will be writing a nice AngularJS client, with the...
View ArticleHaskell, WebSockets and D3.js II
In this post, I will add the support for generating expressions to the Haskell, WebSockets and D3.js codebase. The users will submit expressions such as evendistr 20 [0..100] 100 times every 500ms; our...
View ArticleThis week in #Scala (03/02/2014)
Welcome to another edition of #ThisWeekInScala! Lets catch-up on the latest Scala happenings … New Stuff Scala 2.11.0-M8, the final milestone release of Scala 2.11.0 is now available Akka 2.3.0-RC2...
View ArticleCMSampleBufferRef from CGImageRef
Taking a detour from the usual Scala / FP code, I want to post a quick solution to a problem I was facing in an iOS codebase. The task was to convert CGImageRef to CMSampleBufferRef. I needed this code...
View ArticleThis week in #Scala (10/03/2014)
Welcome to another edition of #ThisWeekInScala! Functional Programming Principles in Scala, the course by Martin Odersky on coursera will have a new session starting on April 25, registration is open!...
View Article