Skip to main content

Posts

Showing posts from 2014

Another weekend project

It takes quite a lot of energy to finish watching the entire five seasons of Breaking Bad. To finish it strong, this weekend I decided to try something that I haven't done for almost 18 years.

Gitcon, runtime configuration via a Git repo

This weekend, aside from taking kid to football game and various classes, changing diapers and watching "Breaking bad", I've been working on an new small open source library, Gitcon , which allows Java application to decouple some configuration into a standalone source repository so that software owner can modify configuration without deploying application for every modification. It is a cheap approach to dynamic configuration. By the way, I was very surprise to find out that the term "Gitcon" has not been reserved for "Git conference" so far. Requirements What led me to this project was a set of requirements: As a start, the configuration means properties file As a start, only Git source repository needs to be supported As a start, it only needs to gets configuration for once when application starts. The configuration is used to populate Spring application context where beans are mostly singletons. Software owner needs to restart applica...

Picture worths a thousand words

The longest week

A week ago I came out from a surgery room in Memorial hospital in South Bend and had one of my most painful moments in life. In the following week, pain pill and IV were my friends. Now after a week of recovery, I finally got back to my sanity and sit in front of my computer. Feb 25th noon, I fell down on an icy drive way on my way to the car. It wasn't a light fall. When it happened I heard a sharp pop and saw my right foot bent up. This is something I have only seen on YouTube. Fortunately my wife was with me, it could be a whole lot worse without her. At the very second I fall on the ground many things passed my mind. My pregnant wife, my daughter whom I read story to, my travel plan in next month, my job in Chicago, and the fact that my son will grow up with a cripple daddy who probably can't hold him. Then came the pain, which confirmed what happened is real. For the second time in life, an ambulance took me to hospital. A nurse looked at CT scan in hospital and said,...