Insights and perspectives to keep you updated.

Constructors vs Static factory methods

Reading Time: 4 minutes Instantiating the object of the class isn’t really the most difficult job in the world. Rather I’d say its one of the most basic things about any programming language. As you must’ve guessed it, I’m referring to a constructor. A constructor is a method whose name is the same as that of the class its part of, and which returns the instance of the class. Continue Reading

MachineX: AI in Manufacturing controlling Quality

Reading Time: 3 minutes Manufacturing is a very simple business. Here the owner buys the raw material or parts to manufacture a finished product. However, it’s a risky business in terms of selling the finished products. Supply too much and you flood the market, causing a drop in price and a drop in profits. By not meeting demand, the customer may go elsewhere with a drop in sales for Continue Reading

MachineX: Starts With Why ft. Convolutional Neural Network

Reading Time: 4 minutes If you are looking for a short answer, I would say real life image dataset are not small like MNIST to build a model with a fully connected neural network. But let’s produce some dopamine and explore the convolutional neural network a bit more in-depth. Our Visual Cortex focuses on certain areas to identify any image and similarly Convolutional Neural Network also focuses on the Continue Reading

Persistent Volumes and Persistent Volume Claims in Kubernetes – I

Reading Time: 5 minutes Kubernetes has a PersistentVolume subsystem that abstracts details of how storage is provisioned from how it is consumed. As a developer of the pod you wouldn’t want to worry about the actual network storage infrastructure available in the cluster, would you? Anything pertaining to the infrastructure should be the sole responsibility of the cluster administrator. If a developer requires 50 Gi of space, he should Continue Reading

Streaming data from Cassandra using Alpakka

Reading Time: 7 minutes Alpakka project is an open-source initiative to implement stream aware and reactive pipelines using Java and Scala which is built on top of Akka streams and specially designed to provide a DSL for reactive and stream-oriented programming with built-in support for backpressure to avoid the flood of data. As a reference, Akka streams supports reactive streams and JDK 9+ compliant implementation and therefore fully interoperable Continue Reading

Unit Testing with ScalaCheck

Reading Time: 5 minutes Unit testing is essential to writing good code. Unit testing allows us to capture bugs as they are created, not long after they are deployed. A little time spent writing unit tests can save a lot of time debugging. If unit testing is not done it can become increasing more difficult and time consuming to fix bugs as code complexity and size increases. However, in Continue Reading

SPARK: WORKING WITH PAIRED RDDS

Reading Time: 6 minutes When talking of working in Spark, Key/Value paired RDDs is intuitive. This blog is just going to demonstrate the working with Pair RDDs in Apache Spark. If you want to know more about the basic RDDs, you can read another blog having some basic understanding of RDDs. So, assuming that you have a fair idea about what Spark is and the basics of RDDs. Paired RDD is Continue Reading

Functional Java: How to use a List in a functional way vs the imperative way

Reading Time: 3 minutes In my previous blog, we discussed how we can traverse a list in a functional way. There, first, we saw how we can do it in an imperative way and then moved ahead by modifying the code to reach the functional way. In this blog, we will explore some more uses cases of a list in a functional way and will compare it with the Continue Reading

Functional Java: Practicality of programming with immutability

Reading Time: 4 minutes Whenever we have tried to learn about functional programming, these two terms have always gained our attention. The first one is pure functions and the second one is immutability. I have tried to explain what are pure functions in one of my previous blogs.  In this particular blog, we’ll discuss the practicality of programming with immutability. What does immutability mean? The definition that you can Continue Reading

RAP: Let’s discuss the architecture and technical details

Reading Time: 4 minutes In the previous blog, we discussed the journey and the features of RAP. In this blog, we will discuss the architecture and technical details. RAP Architecture: We have tried to follow the Domain-Driven Design and Reactive principles in designing RAP architecture. All RAP team members completed all the Reactive Architecture courses launched by Lightbend on cognitive classes to ensure adherence to reactive principles. These courses Continue Reading

Defining your workflow: Why Not Airflow?

Reading Time: 4 minutes What is Apache Airflow? Airflow is a platform to programmatically author, schedule & monitor workflows or data pipelines. These functions achieved with Directed Acyclic Graphs (DAG) of the tasks. It is an open-source and still in the incubator stage. It was initialized in 2014 under the umbrella of Airbnb since then it got an excellent reputation with approximately 800 contributors on GitHub and 13000 stars. Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!