Author: Girish Bharti

How to be functionally lazy with Monix Coeval?

Reading Time: 4 minutes Asynchroneous programming and is well known term these days. Most of the applications are using this concept. In the world of big data there are many frameworks and libraries that allows us to write asynchroneous applications. Monix is one of the very famous and widely used library that provide asynchroneous programing for Scala and Scala.js. In this blog we would be talking about how the Continue Reading

4 Easy steps to load configuration with pure-config

Reading Time: 3 minutes Configuration plays a very important role in application deployment. It is basicaly used to define environment variables and helps in deploying same code in different environment. In this blog we will be discussing 4 easy steps to load configuration with pure-config. Typically the configuration contains connection strings, connection details to external services and application settings etc. Typesafe config is one of the most popular library Continue Reading

What a dotty build looks like?

Reading Time: 3 minutes Dotty is one of the most awaited change for scala developers. As we know its different then the Scala 2 in many ways. The major goals of this change are as follows: Making programming language compatible with the dot calculas and use lessons leart from that work. Making scala easier and safer to use. Remove wart and puzzlers. Improve consistency and expresiveness of Scala language Continue Reading

Lagom: Lets Stream Kafka Messages And Process using Akka Actor

Reading Time: 5 minutes Lagom is an opensource framework for building reactive applications using Java or Scala and it is built on Akka and Play, which are well-known technologies performing in production in some of the most performance-centric and scalable application systems. The Lagom has been continuously proving itself as a user-friendly and convenient framework to design and develop scalable microservices. However, the microservices can either based on orchestration, Continue Reading

Ever Used Scala Views For Lazy Transformation?

Reading Time: 3 minutes We all know the power of lazy variables in Scala programming. If you are developing the application with huge data then you must have worked with the Scala collections. Some mostly used collections are List, Seq, Vector, etc. Similarly, you must be aware of the power of Streams. The streams are a very powerful tool for handling the infinite flow of data and streams are Continue Reading

Is Machine Learning In Banking Sector The Most Trending Thing Now?

Reading Time: 4 minutes Have you ever imagined a world without Banks? Just try it, and you will find it very difficult to live in a world without banks. Banks are one of the most important parts of the financial economy of any country. On the other hand Machine Learning and AI are one of the most trending technologies these days.  In this blog we will be discussing different Continue Reading

Streaming data from Cassandra using Alpakka

Reading Time: 7 minutes Alpakka project is an open-source initiative to implement stream aware and reactive pipelines using Java and Scala which is built on top of Akka streams and specially designed to provide a DSL for reactive and stream-oriented programming with built-in support for backpressure to avoid the flood of data. As a reference, Akka streams supports reactive streams and JDK 9+ compliant implementation and therefore fully interoperable Continue Reading

The Twelve-factor app principle with Lagom framework

Reading Time: 11 minutes Well, the Twelve-factor app principle is not new for software development. It was drafted by developers at Heroku and was first presented by Adam Wiggins circa 2011. It’s a methodology for building software as a service application and these best practices are designed to enable applications to be built with portability and resilience when deployed to the web. You can easily find a lot of blogs Continue Reading

Parsing XML into scala case classes using xtract

Reading Time: 5 minutes In computing, Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is one of the well-known data formats for transporting information from one system to another with reliability and convenience. It uses a tag-based format for composing data. In real-world data processing, we often come across XML data Continue Reading

MachineX: KNN algorithm using KSAI

Reading Time: 3 minutes Classification is a well-known area of machine learning. the K-Nearest neighbor algorithm is a simple algorithm that keeps all available cases and classifies new cases based on the similarity with existing cases. KNN has been used in pattern recognition as a non-parametric technique. in this algorithm, a case is classified by a majority of votes of its neighbors. if K=1 then the cases are assigned Continue Reading

Concept Learning: Find-S implementation with Scala

Reading Time: 5 minutes In our previous blog, we discussed the basic theory about concept learning with highlighting Find-S algorithm which is one of the basic algorithms of machine learning. In this blog, we are going to discuss how we can implement Find-S algorithm with one of the scalable and concurrent programming languages Scala. The machine learning algorithms can be implemented in several ways. The basic objective of this application is to Continue Reading

Concept Learning: The stepping stone towards Machine Learning with Find-S

Reading Time: 7 minutes From our previous blog, we came across what awesome stuff a machine can do with machine learning and what all math stuff is required before you take a deep dive into machine learning. Now we all know the prerequisites for machine learning, so let’s start the journey towards machine learning with small but effective steps towards awesomeness. Most of us always wonder how machines can Continue Reading

Finatra-swagger

Finatra-swagger: Making the api documentation awesome and easy

Reading Time: 3 minutes Apart from speed, high-performance, fault-tolerance and concurrency, one more most important feature for an api is a clean, precise, interactive and user friendly documentation. Documentation plays a very important role in a rest api. The interactive documentation makes api more easy and understandable. Finatra is fast, testable, Scala services built on Twitter-Server and Finagle, similarly Swagger is a well known api documentation framework. In this blog we are going Continue Reading