scala

man in white shirt using macbook pro

Concept of UDF in Spark: User-Defined Function

Reading Time: 3 minutes As we all know, Spark contains a whole variety of inbuilt functions through which you can do any sort of transformation in your data frame and achieve your desired output, but sometimes you may find that you don’t require them. Then What? In that case, you can define your own function, known as UDFs (User Defined Functions) which makes it possible to write your own Continue Reading

How to migrate Scala 2.13 project to Scala 3?

Reading Time: 9 minutes Are you a Scala developer looking to migrate your existing Scala 2.13 projects to the latest version of the language? If so, you’ll be happy to know that Scala 3 is now available and comes with a range of new features and improvements. With its streamlined syntax, improved performance, and better compatibility with Java 8 and above, Scala 3 offers a host of benefits for Continue Reading

woman using a computer

Zio Effects

Reading Time: 5 minutes What are Functional effects? Functional effects refer to the changes or modifications in the state of a program or system as a result of executing a specific function. These effects can include updating variables, creating or destroying objects, modifying data structures, or triggering external events such as sending messages or making HTTP requests. They are an important aspect of functional programming, as they allow developers Continue Reading

three woman in front of laptop computer

Knoldus Accelerators: One Stop for Learning and Faster Development

Reading Time: 2 minutes I am glad and happy to announce our new version and a new portal for Accelerators is up and live. Knoldus Accelerators –  https://accelerator.prod.go1percent.com/ We have divided our accelerator into 3 parts – Learning Accelerators These are your one-step solution providing curated templates in more than 22 technologies and languages. It’s a repository of templates to accelerate all your development requirements. Kickstart your development with Continue Reading

woman holding macbook

How Scala met Dotty?

Reading Time: 2 minutes It all began in 2012 when the first commit for Scala 3 was made and it was decided to base Scala 3 on DOT. What is DOT? Before we go further into the story, let’s get to know about DOT. DOT, an abbreviation for Dependent Object Types, is a new type-theoretic calculus which models path-dependent types, abstract type members, and it creates a mixture of Continue Reading

low angle photo of four high rise curtain wall buildings under white clouds and blue sky

Build Enterprise Data Lake with AWS Cloud

Reading Time: 4 minutes Data Lake A Data Lake is a place to store enterprise data in one common place. This data can be further accessed by data wranglers with analytical needs. However, a data lake is different from a normal database. As a data lake can store current and historical data for different systems in its raw form for analysis. And, a database stores current updated data for Continue Reading

3D’s of Architecture & Development: Domain Driven Design

Reading Time: 4 minutes Domain Driven Design Crafting a software from interpretation of business terminologies aka. domain in turn leads to better processes for coding/development. This reflects true software craftsmanship. Abstracting software helps to create domain models. These models can bridge the gap between complex business requirements and developer’s code. The term DDD was coined by Eric Evans in his book, also an Interesting read for DDD: With DDD the structure, design Continue Reading

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

What is LRU cache and how to implement it in scala?

Reading Time: 2 minutes In this blog, we are going to know about LRU Cache and how to implement it in Scala Language. What is LRU Cache? Least Recently Used Cache is an algorithm used for cache eviction. As the name is suggesting Least Recently Used item will be evicted here. Basically, it removes the least recently used page/frame when the capacity or size of the cache is full Continue Reading

Metaverse digital Avatar, Metaverse Presence, digital technology, cyber world, virtual reality

Introduction to ZIO Fibers and Fiber Data Type

Reading Time: 3 minutes In this blog post, we will discuss fibers in ZIO, and how are they different from threads. Introduction ZIO is a highly concurrent framework powered by fibers that are lightweight virtual threads. They enable tremendous scalability compared to threads and are reinforced with resource-safe cancellation, which supports several features in ZIO. What are Fibers? Fibers are lightweight equivalents of OS threads which represent an ongoing Continue Reading

Kalix.io – Platform-as-a-Service: Server less, Database less

Reading Time: 2 minutes Lightbend, comes with the new product that will meet the current developer problems and reduce the efforts while coding. Kalix.io comes with the advanced features that will compete the feature problems we face while developing Applications. Kalix combines the scalability and cost benefits of serverless infrastructure with the data management and responsiveness of stateful services. This adds up to one managed, cloud-based environment. By bringing Server, Continue Reading

What are Zio Effect Constructors?

Reading Time: 3 minutes In this blog post, we will discuss about ZIO effect constructors and how we can use them. Then we’ll take a look at Effect constructors for pure computations and side-effecting computations. Zio Effect Constructors A functional effect is a template for a concurrent workflow. The template which is mostly descriptive in nature, used to test for any side effects. Such as database interaction, logging, data Continue Reading

Experimenting with recursion and ZIO

Reading Time: 4 minutes If you’re already comfortable with recursion, you can skip the first part introducing tail-recursion and go directly to the ZIO section. Introduction: recursion and functional programming Recursion is one of the main techniques used in functional programming to replace an iterative loop. One of the most common examples is the Fibonacci computation or factorial computation. For this experiment, we will focus on an even simpler Continue Reading