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...

Setting up your blog using Jekyll and hosting it on github

I wrote about my journey that led to choosing Jekyll based Poole framework as blogging platform for this site in my previous post . I have kept skeleton of my site in a separate foundation branch for others to easily use. You are free to fork mine to use for your own site.

In this post I will provide instructions on how to setup your own blog by using my jekyll project as foundation.


Continue reading...

Blogging platform for hackers - Octopress vs Docpad vs Poole

In this post I will walk through my journey of discovering right blogging platform for my site, share my experiences and findings along the way.

When I decided to blog, I researched on next generation blogging platforms for hackers. Mainstream blogging platforms like wordpress, blogger, tumblr are designed for naive users and aren’t best for developers. Because those platforms doesn’t support features programmers would want like code syntax highlighting, theming using frond end frameworks, Markdown language support, integration with source control repositories, etc.

Static site generators:


Continue reading...

How Children Succeed?

This post is about my reflections on the book How Children Succeed which I recently read.

What matters most in a child’s development for them to succeed in life?

We mostly think that intelligent and smart people succeed, i.e success comes to those who score highest in school, college or competitive exams like SAT, GMAT etc. But in How Children Succeed, Paul Tough argues that the qualities that matter more for success are have to do with the character.

In a child’s development, what matters most is not how much information we can stuff into his/her brain in the first few years. But, instead is whether we are able to help him/her develop a very different set of qualities like persistence, self-control, curiosity, conscientiousness, grit, and self-confidence. Infact, possessing these qualities helps a child to get high scores in exams consistently than intelligence alone.

Economists refer to these as noncognitive skills, psychologists call them personality traits, and the rest of us sometimes think of them as character.


Continue reading...

Log4j - Separating log lines to multiple log files.

It’s generally good practise to partition the log lines of your java application into different log files based on functionality/module etc.

For eg. In a web application, we would want application log lines to be logged in to server.log, whereas information about remote user who made the requests to be logged into request.log.

This can be done by defining two appenders in log4j properties and configuring them to output to two different log files.

Here is the example log4j properties.

We have defined two appenders, fileAppender to output to server.log and requestAppender to output to requests.log. Only fileAppender is added to rootLogger, so any Logger instances created by passing java class will be logged to server.log.

Example code snippets showing how to log to server.log.

To log to requests.log the Logger instance should be created passing requestLogger as logger name.

Example code snippets showing how to log to request.log.


If you would like to embed code examples your blog like in this article, Try Doculet.


Continue reading...