Functional Programming

How to Execute Commands in Scala?

Reading Time: 3 minutes Hey everyone, recently in my project, a need arises where I have to run an external command. In my code on a specific request, I wanted to start a node process. This made me ponder about “How to Execute Commands in Scala?”. 🤔 And I found something useful in Scala Library, so here I’m sharing what I learnt.

Generate logical plan in Calcite

Reading Time: 2 minutes Hello everyone! in the previous blog of Apache Calcite we discussed how Apache Calcite helps you to parse the database query and some basics. In this blog, we will discuss how to generate the logical plan of the database query you have written. What is logical plan A logical plan is a relational expression with only a logical operator. Logical algebra has no implementation of the relational operator and therefore Continue Reading

Introduction to Scala.js

Reading Time: 4 minutes A safer way to build robust front-end web applications! http://www.scala-js.org/ In this blog, we are gonna utilizing a whole lot of features of Scala to build a simple front-end application using Scala.js. So, let’s get it started- Step-1: – Creating an sbt project Create a folder named scala-js-example and inside it create a build.sbt. build.sbt Now, create a new folder named as a project inside Continue Reading

Scala-3-Survey- Results

Scala 3 Survey: The Conclusion

Reading Time: 3 minutes Scala 3 community build is here, and we are too excited about it. At Knoldus, we are actively exploring Scala 3, and we have been enjoying it a lot. Therefore, we thought why not to get a community perspective about the new and exciting features of Scala 3. We reached out to the community with a survey in December 2020, which we ran for a Continue Reading

Scala3 Vlog: Enumerations

Reading Time: < 1 minute Hello folks, We have released another video on Scala3 series which talks about Enums, short for Enumerations. Enums in Scala3 are more powerful as compared with Scala2. The reasons are: Scala3 enums are compatible with Java Enums. Pattern matching on Scala3 Enums is exhaustive. With Scala3 Enums, you can also create your ADTs in more lighter way. Watch out the video on Scala3 Enums to get Continue Reading

Simple Build Tool | Getting with SBT | Setting Up | Running

Reading Time: 5 minutes Before setting up the SBT (Simple Build Tool) in your LINUX or UBUNTU. Let’s quickly go through the SBT and the Scala Language. Scala ….What is it ? SBT…. What is it ? SBT is an initialism of Simple Build Tool which is an open source source build tool for Scala and Java projects, similar to Maven or Ant. It helps us in managing dependencies Continue Reading

ANOTHER LOOK INTO UNIT TESTING AND INTEGRATION TESTING

Reading Time: 3 minutes Software testing is the process of verifying and validating , the developed software that works according to expectations or not. We already know that no code is perfect and completely bug-free. Also, in this fast-changing era every now and then various features are added which only increases the chances of getting bugs. Hence, the code is changed and improvised regularly to minimise the bugs, add Continue Reading

Jobs and CronJobs in Kubernetes

Reading Time: 3 minutes A Job creates one or more Pods and ensures that a specified number of them successfully terminate. Kubernetes Jobs are created to run pods for a short period of time which are running for completion as opposed to different objects in Kubernetes like Replicasets, Replication Controllers, Demonesets, which is run continuously. In Kubernetes , we have two types of jobs: Run to completion Cronjobs Run Continue Reading

What is Open Class in Scala 3?

Reading Time: 2 minutes At Knoldus, we are pursuing to learn and share Scala 3 features with the community. In that quest, I am writing this blog to talk about a new feature being introduced in Scala 3 – Open Class. You can read about our other blogs on Scala3 here. Story till Scala2? In Scala 2, all classes are by default available for extensions, and we need to Continue Reading

Campus-Hiring-Knoldus

An era that grows with you – Campus Hiring @ Knoldus

Reading Time: 7 minutes When we think of Scala, we often think of Knoldus. Since its inception in 2010-11, it has grown from its humble beginnings into a fast growing Scala Spark Product Engineering organisation. Now with a base of over 200+  engineers, career hopefuls are scrambling to join the ranks of the friendly, down-to-earth, Toronto headquartered company with its development labs in Chicago, Singapore, Amsterdam, Noida & Pune.  Continue Reading

Cloudstate with Java (Part 1): Getting Started with Java

Reading Time: 2 minutes In today’s world, serverless computing has evolved a lot. And with this concept of serverless computing, Lightbend has come up with an amazing framework known as Cloudstate.  Cloudstate is a specification, protocol, and reference implementation for providing distributed state management patterns suitable for Serverless computing. – cloudstate.io To know more about Cloudstate please go through the blog series: Cloudstate – What is it ? Cloudstate Continue Reading

Linux banner

Small Peek into Bash

Reading Time: 8 minutes What is Bash ? or what’s that Black screen that normally appears in Linux as Terminal. Thats what is Bash and we are going to have a peek of it in this Blog. Bash is a Unix shell written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. It was released in 1989 and has been distributed as Continue Reading