In a microservices environment we can run multiple instances of a service for resilience and scalability. In a cloud environment these instances can go up and down arbitrarily. So …
[Read more]
How to set up a local spring cloud config server
From the official documentation,
Spring Cloud Config provides server and client-side support for externalized configuration in a distributed system. With the Config Server you have …
[Read more]
Building with Gradle
Gradle is a popular build tool to manage Java projects. Gradle’s build scripts are written in Groovy. The design of Gradle is aimed to be used as a language, not as a rigid …
[Read more]
Tail Recursion
Tail recursion is one of those functional programming concepts that are likely to be unknown to someone coming from a Java background, like me. I encountered this term while …
[Read more]
How unit testing leads to improved code
In Test Driven Development, the purpose of unit testing is to help us design our classes and not just to validate the correctness of our code. In this article I want to demonstrate …
[Read more]
Scheming with the Little Schemer
From a very long time, I have been an admirer of Lisp, an often praised but seldom used programming language. Common consensus about Lisp is that it is the kind of language you …
[Read more]
RIP Yahoo! Pipes
Yahoo has announced it will shut down its web mashup application Pipes on September of this year. Pipes was a pretty useful application to combine web feeds from multiple sources. …
[Read more]
Closures in JavaScript
A good understanding of closures is a must-have skill for any JavaScript programmer. So let’s take a look at how they work with two simple examples.
In JavaScript, functions …
[Read more]
Dependency Injection in AngularJS 1.x
AngularJS Dependency Injection works like magic! You pass a service name in your controller constructor function and angular runtime promptly provides you with a suitable object. …
[Read more]