Better Exception Handling in Java 8 Streams Using Javaslang

In this post, I will provide tips for better exception handling in Java 8 streams using Functional Java library Javaslang.


To illustrate with an example, let’s say we want to print day of the week for given stream date strings in format MM/dd/YYYY.

Continue reading...

Nikola Tesla : Greatest genius who invented the Electrical Age

Nikola Tesla is a greatest genius who invented the electrical age of twentieth century. His inventions, patents, and theoretical work formed the basis of modern Alternating Current (AC) electricity, and contributed to the development of radio, television and many electrical inventions. I feel his story is important for anyone interested in history of invention and hence this blog post.

Continue reading...

Groovy - Dynamic properties in Config Slurper

In this post I will provide quick tip on how to use dynamic properties in Groovy Config Slurper. Groovy provides a nice utility ConfigSlurper for reading configuration files where settings can be overridden to different values for different environments.

Continue reading...

Explaining programming to kids at great american teach-in

I got wonderful opportunity to volunteer for great american teach-in at Morgan woods elementary school, Tampa. I did presentation on explaining programming to 3rd to 5th grade students. In this post, I will share by experiences on talking to kids about programming and conversations I had with them.


The invitation letter from school suggested “share with students something about your career, your experiences, your hobby, or yourself”.

Continue reading...

How can we deal with influences of past karma?

We have heard about law of karma or cause and effect. Every action we do generates a force of energy that returns to us in kind. If we had committed bad actions in past (or in previous birth) inevitably that will bring bad consequences in present life.

My brother wrote an article about Astrology and Theory of Karma. This is follow up to that article providing spiritual answer to how to deal with influences of bad karma based on my learnings from Bhagavad Gita and Seven Spiritual Laws of Success Book

How can we deal with influences of past Karma?

There are three things you can do about past karma.

Continue reading...