Category: Scala

Posts

17 May 2017 / / Scala / Akka / Java
We all know the classic Consumer-producer programming exercise. There is even an entire wiki page available for it. In this article, I start out with the classic implementation that is used in the Java land. Although there is nothing wrong with this approach, some issues can arise when using this implementation. What happens if we do not have control over the producer and want him to wait with sending new data to use (Backpressure), Errors during the processing (Fault tolerance)
In general, I do not repost articles written by others, but this one got my attention. Sean Toner write this nice article about Functional programming and the notion of Pure functions. Have a read on DZone: Functional Programming Is Not What You (Probably) Think
This week Smart Technologies organized a Hackathon. The allotted time to solve the challenge is 5 hours. Unfortunate we (Casper Koning and myself) came in second. But according to the jury the first three placed teams performed equal. (The winning team implemented a “nicer” concept.) ##The Problem The Dutch railways are looking into a solution for counting the passengers in the cabin of trains. This information is used in multiple ways, one of them is a indicator on the platform.
Video of code & comedy Recently Casper Koning and myself did a presentation about machine learning and motion sensors titled: Are you doing it the right way. The presentation explains the steps we have taken on how to utilize a motion detector and machine learning to predict the execution of an exercise. The general idea behind it is that when a subject does a exercise a feedback is required in order to do it efficiently and correctly.