Studio-Scala

A quick overview of Scrum and Extreme Programming for the beginners

Reading Time: 3 minutes If you are working on an agile based project, you would hear some terms like “Scrum” and “Extreme Programming“. And then some questions arises in your mind such that how these terms are related to “Agile“, are they similar or is there any difference between them as both of them being the most important methodologies of Agile? Should I use XP or scrum? etc. I will try Continue Reading

Ethereum Networks

Introducing Infura: Connecting DApps with Ethereum Network without setting up Ethereum Nodes

Reading Time: 3 minutes   If you’ve been working on Decentralized applications based on Ethereum, you might have come across setting up the Local Ethereum Node or your own private Ethereum node to test your application. In my case, Setting up Ethereum nodes and connecting dApps with it has been a problem for me for the following reasons: If I use any of the Ethereum clients (geth or parity) Continue Reading

Scala 2.13 release – The Updated Collection library

Reading Time: 2 minutes Scala 2.13.0-M5 has been released recently. With this release, the collection library has been updated to simplify the usage. In this blog, I’ll be discussing the notable changes in the collection library that are introduced in this version. Major collection library changes that we have in the new release are listed below:

Extracting values using Regular Expressions

Reading Time: 2 minutes Regular expression is a sequence of characters that define a search pattern. Regular expressions are used to find particular sequences in a string or is used to extract value from a string. Fields of application range from validation to parsing/replacing strings, passing through translating data to other formats and web scraping.

Introduction To Lagom Framework

Migrating to Lagom 1.4.x?

Reading Time: 2 minutes Hi, In this blog we will discuss some of the challenges we faced while migrating lagom version from 1.3.x to 1.4.x that can be helpful if you are thinking to migrate your lagom version. But firstly we will see the versions we should have for Scala, Play and Akka. Play and Akka Versions While migrating Play and Akka version too needs to upgrade. With Lagom Continue Reading

HIGHER ORDER FUNCTIONS IN SCALA

Reading Time: 2 minutes In this blog, I’m going to explain higher-order functions. A higher order function takes other function as a parameter or return a function as a result. This is possible because functions are first-class value in scala. What does that mean? It means that functions can be passed as arguments to other functions and functions can return other function. The map function is a classic example Continue Reading

Trying to use form field and file upload directive together in Akka-Http?

Reading Time: 2 minutes If you are reading this then probably you have encountered the issue that comes while accessing fields with uploading a file, and if not then let me first tell you what’s the situation that I’m talking about here, Let’s see the code where we try to use fileUpload directive and formFields together

How to use Custom Annotation in Java

Reading Time: 4 minutes This article will take you on a journey of annotation. A brief description of annotation and their usage. A simple example of custom annotation and how to validate the custom annotation. What is Annotation? Annotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Continue Reading

Getting Started with RxJava

Reading Time: 2 minutes In this blog, we will learn about the basics of RxJava and its building blocks. RxJava is the open-source implementation of ReactiveX in Java. What is RX? RX stands for the Reactive Extension which is used for creating the asynchronous and event-based programs. It is a powerful tool that provides the various benefits. Some of the benefits are it is Composable (RX operators can be combined Continue Reading

Spark Structured Streaming with Elasticsearch

Reading Time: 3 minutes There’s been a lot of time we have been working on streaming data. Using Apache Spark for that can be much convenient. Spark provides two APIs for streaming data one is Spark Streaming which is a separate library provided by Spark. Another one is Structured Streaming which is built upon the Spark-SQL library. We will discuss the trade-offs and differences between these two libraries in Continue Reading

Ethereum Networks

Ethereum Networks – Part II: Setting up Private Testnet on the local machine

Reading Time: 2 minutes In the previous blog: Understanding the different kinds of Ethereum Networks, we talked about what are the different kinds of Ethereum Networks and how to choose a specific network when starting the development with Ethereum. In this blog, we will provide you a cheat sheet of Linux commands which you can refer to quickly set up the private network on your machine without going through Continue Reading

Knoldus now associated with Tech Triveni

Reading Time: 2 minutes Knoldus is proud to announce that it is now closely associated with the Tech Triveni as a Platinum Sponsor. Tech Triveni is the incredible international technical conference being organized at India International Centre, New Delhi, India on the 18th November 2018. The conference domain spans across – Reactive,  Big data and Functional programming; from development to operations. Knoldus has joined the initiative as a sponsor Continue Reading

MachineX: NAIVE BAYES CLASSIFIER with KSAI

Reading Time: 4 minutes Naive Bayes is a simple technique for constructing classifiers: models that assign class labels to problem instances, represented as vectors of feature values, where the class labels are drawn from some finite set. Naive Bayes classifier is a straightforward and powerful algorithm for the classification task. Even if we are working on a data set with millions of records with some attributes, it is suggested to try Continue Reading