Scala is a general-purpose programming language providing support for functional programming and a strong static type system. Designed to be concise, many of Scala's design decisions aimed to address criticisms of Java.



Dive into Jenkins Roles

Concept of Roles in Jenkins. A role in Jenkins basically refers to a user that can has access to Jenkins. A user can be an administrator or any non-admin privileged entity.

Netflix’s Polynote is a New Open Source Framework

The new notebook environment provides substantial improvements to streamline experimentation in machine learning workflows.

How to Run Apache Airflow DAG with Docker

In this post, we are going to run the sample dynamic DAG using docker. Before that, let's get a quick idea about the airflow and some of its terms. What i

WTF is Corecursion? What is Corecursion?

Recursion is a concept that often used in programming. Usually, when people said the problem could be solved recursively — they meant the problem could be broken down into.

A Simulation Using Sequential and Parallel Collections in Scala 2.13

Satellite systems track fighter jets. In comparing data, would a single- or multi-threaded algorithm perform better?

Running Spring boot application as Native Image

In the last post on GraalVm we saw how polyglot functionality works when we are working with GraalVm. We saw how multiple languages can be tied together in a single application.

Cloudflare Workers Announces Broad Language Support

Today, we’re excited to announce support for Python, Scala, Kotlin, Reason and Dart. You can build applications on Cloudflare Workers using your favorite language starting today. We initially launched Cloudflare Workers with support for JavaScript and languages that compile to WebAssembly, such as Rust, C, and C++. Since then, Cloudflare and the community have improved the usability of Typescript on Workers. But we haven't talked much about the many other popular languages that compile to JavaScript. Today, we’re excited to announce support for Python, Scala, Kotlin, Reason and Dart.

Functional Effect System in Kotlin

A few weeks ago my friend Dmitry Karlinsky wrote an article about “Demystifying functional effect systems in Scala”, which was a fascinating read.

Working With Akka Quartz Scheduler

In this blog, I am going to discuss how you can schedule tasks with the help of akka quartz scheduler. Also, we can use akka scheduler to execute tasks but akka

The Virtual Internship: My Experience

Team building by video and coding with Scala and Spark.In this blog, we will explore the Bots in DAML, we will start with basic introduction about Bots than we move to why do we need it and how we can implements Bots in our DAML Application. Before moving forward, I assume that you know basic of DAML if not then please read this blog.

Wondering how to upgrade your skills in the pandemic? Here's a simple way you can do it.

Corona Virus Pandemic has brought the world to a standstill. Countries are on a major lockdown. Schools, colleges, theatres, gym, clubs, and all other public

Spark Testing Base : ScalaTest + ScalaCheck

Apache Spark is a large scale distributed computing framework used for analytics and BigData processing. Distributed computing programs are tricky to test in your local or with smaller dataset. Testing a Spark code is made easy with few base classes provided by Holden Karau : Spark Testing Base Spark Testing Base The library uses property based testing philosophy to produce the fuzziness in Spark RDD, DataFrame and DataSets among other common base classes. Base classes which are handy: SharedSparkContext : Provides a SparkContext for each test case RDDComparisons : Base class to provide functions to compare the RDD RDDGenerator : Generator for RDD object DataFrameGenerator : Generator for DataFrame object DataSetGenerator : Generator for DataSet object

Simple CI/CD Pipeline Using Jenkins

In this blog we gone a see creating a CI/CD Pipeline using Jenkins. Some pre-requisites to create a CI/CD pipeline using Jenkins are Open-JDK-8, Jenkins installed on our system. At the very first we see a little bit introduction of Jenkins and why we need Jenkins Pipeline. Some pre-requisites to create a CI/CD pipeline using Jenkins are. Open-JDK-8Je

Going Polyglot with GraalVm

In this blog we will see how we can do polyglot implementations with GraalVm. The pre-requisites for this are: Understanding of GraalVm. Knowledge of features GraalVm provides. Local Setup of GraalVm. A bit of java and python(Optional).

Dotty – Intersection Types

Dotty is the new Scala compiler that is written in Scala 2 and it will be future Scala i.e Scala 3.0. The current version of Dotty is 0.24.0-RC1 and very soon the first stable version will be launched in the market. Dotty is completely open source and it is available on GitHub. With this blog, I am going to share you one of New Types that Dotty is coming up with: Intersection Type

Railway Oriented Programming in Scala

Adapting the Railway Oriented Programming constructs to Scala.A few years ago, a coworker introduced me to [Railway Oriented Programming (ROP)]( At the time we were using Ruby, and while the ideas in ROP made a ton of sense, I didn’t really find a way to apply them to what I was working on. The lack of types made it pretty hard to go beyond “I just read a blog post and I’m gonna pollute our codebase with it, because I can” and _actually_ improve things. We all pretty much moved on. Later on, I switched to a different project, using Scala, and ended up using the `Either` type a lot, to organize what we described at the time as a "pipeline of operations", or maybe, something that one could describe as a … "railway"?! Anyway, we ended up using a bunch of similar constructs, but I never _really_ took the time to see how the actual, concrete elements of ROP could be used in Scala. I don’t even work there anymore, and I haven’t been paid to write Scala in about a year, but this is long overdue. ## Translating F# to Scala Most, if not all, of this post is translating the code examples in the original ROP articles and presentations to Scala. I have never written F#, not even “for fun”, so it took me a while to get used to the syntax. It apparently uses a syntax similar to Haskell, another language I don’t know much about, but I’ve started playing with Elm recently, also influenced by Haskell. Maybe that will help me decipher it.

Scala: Field And Method

In this blog, we will discuss about Scala fields and methods. As we know that fields in any language used to store the information and methods are use to define the behavior of the object. Let’s discuss more about both of them in detail.

Scala journals- error handling

Travel break with a hint of Scala. Read along as I order my knowledge — what’s up with error handling?Let’s talk about error handling. In functional programming we don’t like side effects. Errors are exactly that — things that can (and will!) go wrong. How to handle errors in Scala in a functional way?

Unfolding foldLeft and foldRight in Scala

The fold method is a Higher Order Function in Scala and it has two variant namely, i. foldLeft ii. foldRight In this blog, we will look into them in detail and try to understand how they work. Before moving ahead, I want to clarify that the fold method is just a wrapper to foldLeft, i.e. the fold method internally invokes the foldLeft method. So, now let’s get started.