all that jazz

james' blog about scala and all that jazz

All posts for 2013

December 2013

Fun doesn't mean compromising scalability

Today I read an interesting piece on InfoWorld about Meteor Meteor aims to make JavaScript programming fun again It is an interview with Matt DeBergalis a co author of Meteor about Meteor and why a developer would choose it The…


August 2013

A practical solution to the BREACH vulnerability

Two weeks ago CERT released an advisory for a new vulnerability called BREACH In the advisory they say there is no practical solution to this vulnerability I believe that I've come up with a practical solution that we'll probably implement…


July 2013

100 Continue support in Play

The 100 Continue status code in the HTTP spec is one that most people know very little about You kind of read it don't really understand what it's talking about and then just skip over it I didn't know what…


June 2013

How to write a REST API in Play Framework

A very common question that we get on the Play mailing list is how do you write a REST API using Play Framework There's no explicit documentation on it you won't find a page in the Play documentation titled Writing…


Call response WebSockets in Play Framework

I got a question from a Play user about implementing call response WebSockets in Play Framework This is not something that comes up that often since it means using WebSockets to do basically what AJAX does for you so what's…


What is wrong with Monads?

Nothing is wrong with Monads What is wrong is how people communicate them There are people out there that learn abstract concepts first and then work out how to apply them to solving their every day problems Then there are…


May 2013

SBT per version global plugins

I'm an IntelliJ user so I have the SBT idea plugin permanently in my global SBT plugins This is fine until I start working across versions of SBT and particularly with milestone builds of unreleased SBT versions because in that…


Advanced routing in Play Framework

We frequently get questions about how to meet all sorts of different routing needs in Play Framework While the built in router is enough for most users sometimes you may encounter use cases where it's not enough Or maybe you…


March 2013

Java 8 Lambdas - The missing link to moving away from Java

I learnt functional programming but then I decided I liked imperative programming better so I switched back Nobody ever Moving from imperative programming to functional programming is a very common thing to do today Blog posts on the internet abound…


February 2013

Understanding the Play Filter API

With Play 2 1 hot off the press there have been a lot of people asking about the new Play filter API In actual fact the API is incredibly simple trait EssentialFilter def apply next EssentialAction EssentialAction Essentially a filter…


About

Hi! My name is James Roper, and I am a software developer with a particular interest in open source development and trying new things. I program in Scala, Java, Go, PHP, Python and Javascript, and I work for Lightbend as the architect of Kalix. I also have a full life outside the world of IT, enjoy playing a variety of musical instruments and sports, and currently I live in Canberra.