Hey! Looks like you are familiar with Scala. And I believe you even develop some apps locally using it. A main mission of the code is to help people to solve their problems. But how your apps can do this, if they are running locally on the laptop? In this post I want to show the easiest way to deploy a Scala application.
If you work with Akka HTTP for a while, you should definitely know that it has multiple ways for model validation. I talk about http request body validation. Probably in 99% of cases you would like to ensure that user send something meaningful to the server. So exactly for this purpose Akka HTTP provides validation mechanisms. But what if you want to send back to the client side information about all invalid fields?
Have you ever heard about a median? I'm talking about that thing from mathematician statistics, which represents a "middle" value of a data set. If you are reading this, I bet you hear about it. Moreover you want to know how to implement a median function in Scala. So I'll show you how it can be done.
So as you already know, I've enrolled to Functional Programming in Scala Specialization on Coursera. Currently I'm passing through the 4th course of the series "Big Data Analysis with Scala and Spark". If to be more precise, two days ago I completed an assignment for weeks #2 and #3. As usually I'm going to share my experience.
So this week is an official start of 4th course from Scala Specialization on Coursera. I mean Spark course. This is an outstanding event, because so many students have been waited for this almost 1 year :) What does it mean for me? Firstly I need to keep focused on video lectures and assignments. Secondly, I decided to share my impressions about the course here.