Functional Programming

How To Perform Operations on ZIO Fibers

Reading Time: 3 minutes In this blog post, we will discuss ZIO fibers and how we can use them. We will also get a quick overview of operations on ZIO fibers. Concurrency in ZIO ZIO is a highly concurrent framework powered by fibers, which are lightweight virtual threads that enable huge scalability when compared to threads, reinforced with resource-safe cancellation, which supports several features in ZIO. This robust concurrency Continue Reading

How To Quality-Check Python Code Using Pylint On CI?

Reading Time: 2 minutes In this article, we will talk about how to quality-check Python code using Pylint on CI. Code Quality Through CI As we know, code quality is an important aspect of any project. It is the responsibility of every developer to quality-check the code before pushing it to the repository. However, to enforce this and implement the concepts of Continuous Integration (CI), we need to have Continue Reading

Complete Guide to Single Layer Perceptron with Implementation

Reading Time: 4 minutes To understand the single-layer perceptron, it is important to understand the artificial neural network (ANN). An artificial neural network is an information processing system whose mechanism is inspired by the function of biological neural circuits. Artificial neural networks have many interconnected computing units. The schematic diagram of the artificial neural network is as follows. This figure shows that the hidden entity is communicating with the Continue Reading

Make better decisions with Google Cloud Document AI

Reading Time: 3 minutes Nearly all business processes today begin, include or end with a document. Most companies are sitting on the document goldmine. Thinking of which some are PDFs, emails, customer feedback, patents, contracts, technical documents, sensitive documents, HR files and the list goes on. These documents are only going to grow with time. Making sense of each document is difficult since a lot of these documents are Continue Reading

black and gray laptop computer turned on doing computer codes

How to create Statefulsets workloads Using Kubernetes Python Client

Reading Time: 3 minutes Hello Readers! In this blog we are going to see how we can create a Statefulsets using kubernetes python client . Kubectl is the primary tool for dealing with and managing your clusters from the command line. Through kubectl you can see the status of individual nodes, pods on those nodes, policies and much more besides. But In this blog we will see how we can use Continue Reading

Let’s learn about function composition in Scala

Reading Time: 3 minutes In this blog, we are going to learn about how a list of functions can be composed to create a single function, in the context of mapping a set of values using those functions. Introduction When we compose two functions, we create a new function which applies one function to the result of the other. If I have one function a -> b which takes an a and gives Continue Reading

What is Pure Function | Functional Programming in Scala

Reading Time: 2 minutes What is Functional Programming? Firstly, Functional programming is a programming paradigm in which everything is bound using pure mathematical functions. It’s a declarative programming approach. In contrast to an imperative style, which focuses on “how to solve,” it focuses on “what to solve.” Instead of statements, it uses expressions. A statement is executed to assign variables, but an expression is evaluated to create a value. Continue Reading

Hyperparameter Optimization and Tuning

Reading Time: 3 minutes A Machine Learning model is defined as a mathematical model with a number of parameters that need to be learned from the data. By training a model with existing data, we are able to fit the model parameters.However, there is another kind of parameters, known as Hyperparameters. Hyperparameters contain the data that govern the training process itself These parameters express important properties of the model such Continue Reading

Special Variables in Bash Scripting

Reading Time: 4 minutes Special variables are the variables that have a predefined meaning within a computer programming language. They are different in different languages but in this blog, we are going through the special variables in bash scripting. List of special shell variables These are the special shell variables that are set internally by the shell and which are available for the user: Variables Description $0 The filename Continue Reading

Triggers in Apache Airflow

Reading Time: 3 minutes The easiest concept to understand in Airflow is Trigger rules. Let’s understand the Trigger Rules in Apache Airflow. Why Trigger Rules? By default, Airflow will wait for all the parent/upstream tasks for successful completion before it runs that task. However, this is just the default behavior of the Airflow, and you can control it using the trigger_rule the argument to a Task.  Basically, a trigger_rule defines Continue Reading

Apache Airflow: Automate Email Alerts for Task Status

Reading Time: 4 minutes In this blog, we will learn how to Send Email Alerts to the user about the Task Status using Apache Airflow. Prerequisite: Airflow SMTP Configuration Step 1 Generate Google Application Password Visit this link and log in with your email Id and password. When you have successfully logged in, you will see the below window: You have to choose “Mail” as an app and select Continue Reading

Can we use Rust for Embedded Development?

Reading Time: 4 minutes Hi everyone, in the previous blog we have discussed the basics of the Embedded System using the Rust programming language. That was like the “Hello World” in the Embedded Development. We also discussed that how we can start working with the bare metal environment and we can build and run the application in such an environment. If you want to read more about it then Continue Reading

Advanced Types in Rust are quite helpful

Reading Time: 3 minutes In this blog, we will discuss the advanced types available in Rust. Creating Type Synonyms with Type Aliases Rust provides the ability to declare a type alias to give an existing type another name. For this, we use the type keyword. For example, we can create the alias Kilometers to i32 like so:  Values that have the type Kilometers will be treated the same as values of type i32: Because Kilometers and i32 are the same type, we can add Continue Reading