Functional Programming

Creating a DataFrame in Apache Spark from scratch

Reading Time: 3 minutes In Apache Spark, we have what’s called a DataFrame which is the primary abstraction that Spark provides for use. In this blog, we will learn how to create a DataFrame in Spark from scratch. Introduction In broad terms, a DataFrame(DF) is a distributed, table-like structure with rows and columns and has a well-defined schema. DataFrames can be constructed from a wide variety of sources such Continue Reading

Monix : A Birds’ eye view

Reading Time: < 1 minute Hi folks hope you guys are doing, well recently we know we have a got a new release for Scala 3.0 which seems pretty exciting, also we started exploring some of the functional libraries one of them which I was exploring is Monix, a functional library a substitute cum extension to Monix, given which we organised a session with highlights major modules of it and Continue Reading

Explore Id Monad in Cats

Reading Time: 3 minutes Today we are going to explore Id Monad in Cats. If you don’t know about Monad I’ll suggest you go through this blog and then read this for better understanding. What is Id Monad? According to the referenced book: Id is actually a type alias that turns an atomic type into a single-parameter type constructor. Ahan! So, did you understand something? Let me explain it Continue Reading

Supervising Actors in Akka

Reading Time: 3 minutes After going through the previous blogs, we are now familiar with Akka Actors, their implementation and the Ask pattern. In this blog, we are going to discuss about supervision and various supervision strategies. So, let’s begin. What is Supervision? In case of failure, rather than forcing it back on the caller(customer), we prefer to handle it internally. Within Akka, it is done using a technique Continue Reading

Bringing Securities to the Marketplace

Reading Time: 3 minutes Hello folks, in the previous blog, I had discussed about the role of securities market place in trading. In this blog, I am going to describe you about the process and structure of how to bring securities to the marketplace. In trading, the one of important thing we need to understand is workflow of securities marketplace and how securities are brought to the marketplace. On the Continue Reading

Pre-market Trading Strategies

Reading Time: 3 minutes It is a common saying, “What you do in early in the morning depicts the rest of your day”. So is true in the life of a trader. It is an extremely important task for traders to analyze the pre-market trading stock market even if they don’t intend to trade during those hours. This will help them to master the technique in order to get Continue Reading

Introduction to Pre-Market Trading

Reading Time: 2 minutes What is Pre-market Trading? Pre-market trading refers to activity in the stock market that happens before the regular market session opens. During the regular hours, many brokers find the stock market extremely crowded and hence, they prefer a less packed time to trade i.e. either during pre-market or post market. In this blog, we will learn all about the pre-market trading. A pre-market trade is Continue Reading

OS in Rust: Building kernel for custom target: Part-4

Reading Time: 4 minutes This series pertains to create a basic Operating System using Rust Programming Language. This series aims to learn and understand the basics of Operating System.Through this series, you will get some ideas about the internal components of Operating System and how they interact with each other. This article pertains to building a custom kernel for the custom target that we created in our previous post. To building our kernel we need Continue Reading

explore either in cats library

Explore Either in Cats Library

Reading Time: 4 minutes Hey everyone, I’m back with another blog in which we are going to explore Either in Cats Library. For an introduction to Either Monad in Cats and comparison between Either in standard Scala Library and Cats Library, you can have a look at my previous blog i.e Either in Cats vs Either in Scala. Also, if you don’t know what is a Monad you can Continue Reading

Diving into Scala Cats – Monoids

Reading Time: 2 minutes Today we are going to deep dive into the Scala Cats again to find out about Monoids. If you haven’t already read my post about Diving into Scala Cats – Semigroups I suggest you do so now. What are Monoids? The Monoid extends Semigroup and adds a default or fallback value for the given type. Monoid type class comes with two methods – one is the combine method of Semigroups, Continue Reading

Create runtime API of Substrate based 2D barcode scanner Pallet for Querying

Reading Time: 2 minutes In my previous post Integrate Substrate based 2D barcode scanner Pallet in your Substrate Runtime, I explained how to integrate Substrate pallet in your runtime.  Substrate runtime is its State Transition Function, which contains business logic of a Blockchain that determines how the state changes when a block is processed and defines its behaviour of the Blockchain. Substrate runtime can be accessed to outer node though an API, Continue Reading