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