Author: Shubham Verma

Monix : A Birds’ eye view

Reading Time: < 1 minute Hi folks hope you guys are doing, well recently we know we have a got a new release for Scala 3.0 which seems pretty exciting, also we started exploring some of the functional libraries one of them which I was exploring is Monix, a functional library a substitute cum extension to Monix, given which we organised a session with highlights major modules of it and Continue Reading

Monkey patching in NodeJS

Reading Time: 3 minutes Hey guys, I am back with another blog in my series of blogs on mocking in nodeJS, so if you have read my last blog, in which we looked over how we can use sinon for testing in nodeJS to effectively mock and stub behaviours, so in this blog we would look over the concept of monkey patching to make things more testable, so let’s Continue Reading

Kafka Timestamp Extractor

Reading Time: 3 minutes Hi folks, I hope you all’re doing well, so if you land up here you probably looking for Timestamp Extractor for kafka streams, so whats the buzz is all about? So in this blog we are going to look what it is and would explore it as well, so buckle up. The Timestamp Extractor As per docs, A timestamp extractor extracts a timestamp from an Continue Reading

Spies and Stubs in NodeJS

Reading Time: 3 minutes Hi folks, my last two blogs we discussed about how we can use monkey-patching to test complex code logic which could be difficult to test if it is not used, along with that we also looked over how can stub or mock behaviours of our dependencies using sinon, in this blog we would be exploring more utilities provided by sinon i.e; Spies and Stubs. Spies Continue Reading

Spark – Actions and Transformations

Reading Time: 4 minutes Hey guys, welcome to series of spark blogs, this blog being the first blog in this series we would try to keep things as crisp as possible, so let’s get started. So I recently get to start learning spark about believe me and now it has made me inquisitive about it, for a brief introduction of spark, I would say that it is a pretty Continue Reading

Custom DynamoDB Docker Instance

Reading Time: 3 minutes Hey guys, I hope you all are doing well, I am back with another blog on custom docker instances for databases. In my last blog we saw how we can have our custom docker instance for MySQL. Similarly, in this blog we would look how we can do the same with DynamoDB, so let’s get started. So just like the scenario in previous blog, I Continue Reading

Custom MySQL Docker Instance

Reading Time: 2 minutes Hi folks, I am back with another blog, have you ever been in a situation where you required to set up or mimic the current MySQL instance of any environment. Well recently I have been in such a situation and my use case was to test the overall services so I decided to use minikube for service deployment as a whole, now when I had Continue Reading

Dockerizing a NodeJS app with Redis

Reading Time: 2 minutes Hi folks, in this blog I would walk you through how can we seamlessly dockerize a NodeJS app along with redis, So as we know that docker is a pretty decent way of streamlining and making the process of deployment easier, efficient and pluggable, so let’s gets started but before that, the prerequisite for the blog is a basic understanding of docker

Store Git Credentials Encrypted

Reading Time: 3 minutes Hey folks in this blog post we would be looking over how we can store our git credentials in an encrypted format over linux remote servers, let’s first quickly have a look why we want to do it and what git provide us with as options. Git credentials helpers So git provide many types of credential helpers like Store The first and most basic type Continue Reading

Walkthrough Mocking in a NodeJS Application

Reading Time: 3 minutes Hi folks, in this blog we would be looking how to use the power of javascript moreover the javascript way of mocking for testcases, recently got chance to work on a project on NodeJS me being a JavaScript lover was very exciting for it, it was fun learning it and working on that but when it came for me to write test cases, so as Continue Reading

MachineX: A tour to KSAI – Neural Networks

Reading Time: 4 minutes In this blog we would look into how we can use KSAI; A machine learning library purely written in Scala using most of its feature and functional aspects of programming, you can read more about the library at KSAI Wiki, alternatively you can even fork the project from here, KSAI has a rich set of algorithms that address some of the vital problems in classification, Continue Reading

map(), flatMap() on Futures & Options in scala

Reading Time: 5 minutes In this blog, we would be looking at how map() and flatMap() operations work with Option and Future of scala, literally speaking both Futures and Options are very effective features of scala, A Future lets us have a value from some task on a differnt thread and Option provides us a hand from null of java as using null in scala is seen a very bad approach in Continue Reading

map and flatMap in Scala for collections

Reading Time: 4 minutes Through this blog, I would like to throw some light on the two most basic and most commonly used operations, map() and flatmap(), for collections in Scala. Since scala follows most aspects of functional programming hence map in scala might seem somewhat similar to Relation and Mapping in mathematics. As we know that in mathematics a function defined from a set A to set B Continue Reading