Wednesday, March 11, 2009

Happy Holi

Its been almost two years after returning to India, feels like a long time as lot has changed not only in terms of regular life but in terms of overall market condition of the world
Wish you all a colorful and happy holi and days ahead

Wednesday, September 26, 2007

Leadership

"There's a Hole in my Sidewalk", by Portia Nelson

Chapter 1.
I walk down the street.
There is a deep hole in the sidewalk.
I fall in.
I am lost...
I am helpless.
It isn't my fault.
It takes forever to find a way out.
Chapter 2.
I walk down the same street.
There is a deep hole in the sidewalk.
I pretend I don't see it.
I fall in again.
I cant believe I am in this same place.
But it isn't my fault.
It still takes a long time to get out.
Chapter 3.
I walk down the same street.
There is a deep hole in the sidewalk.
I see it is there.
I still fall in... its a habit.
But, my eyes are open.
I know where I am.
It is my fault.
I get out immediately.
Chapter 4.
I walk down the same street.
There is a deep hole in the sidewalk.
I walk around it.
Chapter 5.
I walk down another street.

Tuesday, September 19, 2006

Internet penetration statistics

Read an interesting article on internet penetration statistics around the world which now amounts to 16%. Asia growing fast with China leading the way followed by Japan
Top 5 countries with highest number of internet users are

  • U.S.

  • China

  • Japan

  • India

  • Germany

Tuesday, August 22, 2006

Remote debugging with Eclipse and Tomcat on Windows

Having worked in Java mostly from GVIM, I felt very uneasy with the words like Remote Debugging in Eclipse integrated with Tomcat Running In Debug Mode, until I tried it out.
The procedure really is very very simple, and following writeup might help someone in similar situation.

  • Deploy your war file in Tomcat

  • Test the deployed application works in non-debug mode using web browser

  • Start Tomcat in debug mode by following steps mentioned below

    • Set the following paramters in environment

    • C:\Apps\Apache\Jakarta\Tomcat\bin>env | grep -i jpda
      JPDA_ADDRESS=8000
      JPDA_TRANSPORT=dt_socket
    • Start Tomcat as C:\Apps\Apache\Jakarta\Tomcat\bin>catalina.bat jpda start



  • In debug dialog create new 'Remote Java Application'.
  • Set host to where Tomcat is running and port to JPDA_ADDRESS
  • Set breakpoint whereever you need to and take action to execute that code path.
  • That's all there is to it.

Problems encountered:
For some reason, JPDA_ADDRESS value was ignored in startup, you can cross check that by the logging @startup of Tomcat

Monday, May 29, 2006

Picassa for Linux

Relieved to read that Google has released Picasa for Linux. Can't wait to give it a try.

Thursday, March 30, 2006

Testing Marathi Input

बारहा चे फ़ौन्ट वापरुन मराठि मध्ये टाइप करत आहे
माहित नव्हत कि हे इतक सिम्पल आहे :-)
This is a test using Baraha devnagari fonts. Didn't realise it's that simple :-)

Tuesday, March 21, 2006

Why should I learn Python ?

ps -ef | grep thoughts
Bitten hard !!! Actually the title is bit misleading, I have been looking into Python recently and am already a complete convert now. It is very difficult to convince your mind "Why learn yet another programming language ?". And Why Python ? Why not perl ?. I would recommend you to read Eric's article in previous link but in a nutshell
1> Python is not just a scripting language
2> It drastically increases programmer productivity
3> Difficult to write cryptic code like in perl
4> Programming becomes fun
Give it a try, you will love it