Roughly 3 weeks ago on the 5th of October, I had an MTB bike accident and in the process I ended up injuring my left knee. I was actually attempting to Manual during which I realized that I was about to lose my balance. I wanted to bail out from the Manual, so I tried to pull the bike completely to the front with me …
Read MoreGoing behind Scala's recursion
Sep 18, 2018 · 4 min readThere are times when we might want to call a function which calls itself repeatedly n number of times. In my career programming with Java so far, I have not written any single recursive functions, the main reason being that writing recursion was hard with Java. Java is best suited for an iterative approach. Sometimes a …
Read MoreList of useful tech links
Aug 22, 2018 · 1 min readMath Topic Source Simple Linear Regression Basics about doing Linear Regression Probability Bayes Theorem Basics about Bayes theorem in Probability Binomial Distribution Understanding basics behind Binomial distribution Doing Gradient Descent Understanding basics on Gradient Descent Essence of Calculus Series on …
Read MoreLists of useful books
Aug 20, 2018 · 1 min readMath & ML Title Source Deep Learning Deep Learning MIT Press Neural Networks Make Your Own Neural Network Statistics Basics Head First Statistics Statistics for ML Introduction to Statistical Learning Programming Topic Source Algorithms Grokking Algorithms C++ C++ Primer Go Effective Go Kubernetes Kubernetes …
Read MoreSome time ago I managed to set up a 4 node K8s cluster on a set of Raspberry Pi's that were lying idle at my home. In case it interests you, please have a look here for the complete setup, the required components and on how to get it up and running
Read Moreblockchain-documentation This is a summary of the concepts around Blockchain technology! There are two types of Software architectures exists - Centralized & Distributed A Hybrid architecture is also possible Centrally Distributed architectures Blockchain simply put is a tool to maintain Trust & Integrity in a …
Read MoreIf you are in the Energy & utilities industry, you might have probably heard about a concept called Virtual Power Plant. The idea is not new, but it is gaining importance as more and more power producing units (also power consuming units) gets distributed. What does it mean? It just means that the internet offers …
Read MoreVoid NullPointerException with Scala Option
May 22, 2017 · 3 min readIf you tell me that in your programming career, you have never been inflicted at-least once with a NullPointerException, you were simply the best programmer out there. During the early days of my career. I can remember times and times again, I ended up hitting NullPointerException's until I really made it a point to …
Read MoreTest private methods with Scala Test
Apr 26, 2017 · 2 min readI will not debate upon whether writing private methods are a code smell or not but rather just show how a private method can be unit tested using the Scala Test framework Here is our test class where we would write a unit test which tests a private method called myPrivateMethod in a class called MyClass 1class …
Read MoreScala's Dynamic Proxy
Mar 23, 2017 · 2 min readOne of the coolest features since Scala 2.10.3 are the Scala dynamic types. Let's look at what they are! A dynamic type is a type with which we can dynamically add fields / methods to an existing type. This is better explained with some examples Assume that we have a scala class as defined below: 1 class MyClass { 2 …
Read More