November 4, 2009 by ShriKant Vashishtha
If you are running a Java program and your classpath is in UNIX separator style (‘/’ instead of ‘\’), you may be in trouble as java.exe is Windows specific executable which understands Windows separator and not UNIX style separator. To circumvent this issue in your shell script you can use the following:
java -cp `cygpath -wp $CLASSPATH`
instead of
java -cp $CLASSPATH
Tags: cygwin java
Posted in Uncategorized | Leave a Comment »
October 11, 2009 by ShriKant Vashishtha
Quite a few of my colleagues use Ubuntu as OS for development purposes. For all these years, though I have been working on Linux and UNIX, I haven’t migrated to full-fledged Linux because of many reasons. As working with command line provides a lot of efficiency I use cygwin. However though cygwin works with DOS based “cmd”, I never liked using “cmd” in all these years just because it doesn’t look good compared to putty or similar softwares. With quite a few research I found puttycyg which is a putty extension of cygwin. For this to work, you should already have cygwin installed. After downloading it from http://code.google.com/p/puttycyg/ you need to create a shortcut on your desktop with following target:
$PATH_TO_PUTTYCYG\puttycyg-20090811\putty.exe -cygterm -
Posted in Uncategorized | Leave a Comment »
August 13, 2009 by ShriKant Vashishtha
After working for around an year in Flex, I moved back to Java platform again. While building the project I am working on, I saw the following error:
[INFO] ————————————————————————
[ERROR] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
javac: invalid target release: 1.6
Usage: javac
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
Logically I changed my PATH environment variable to make JDK bin folder point to JDK version 1.6. Even after making changes, it still didn’t work. It took me a quite a lot of time to figure out that maven uses JAVA_HOME variable for executing the build which was pointing to the obvious, i.e. JDK 1.5. I changed it and it worked like a glove.
Posted in Java | Leave a Comment »
August 22, 2008 by ShriKant Vashishtha
As I have been working with a developer group responsible for maintaining softwares using Agile methodology and XP practices, I am writing some blogs at my employer’s blog site based on the experience we got while working with some maintenance projects. If you are interested, please take a look at Agile Maintenance|Xebia Blog
Posted in Uncategorized | Leave a Comment »
June 17, 2008 by ShriKant Vashishtha
I hope it’s not any hidden fact anymore to realize the real value of Jim Coplien’s work on “Organization Patterns of Agile Software Development“. It talks about some of the very important factors other than pure technical for the software success. They are also intrinsic part of software development and we can never underestimate them. To begin with we need to accept them.
Read the rest of this entry »
Posted in Organizational Patterns | Leave a Comment »
June 11, 2008 by ShriKant Vashishtha
Sometimes we really look for what kind of caching algorithm we should use in what situations. By default we use LFU. But many times we would like to know which one to use when. Here is a summary of the issues we face with different caching algorithms.
Least frequently Used (LFU) – LFU implicitly works based on the principle of number of times you access a particular key. At the face of it, it looks cool but as soon as you think about doing processing for each thread to count the number of times it is accessed, you’re implicitly inviting performance issues and handling concurrency issues. For high load, these issues really make a big difference.
Read the rest of this entry »
Posted in Java, caching | Leave a Comment »
June 10, 2008 by ShriKant Vashishtha
Indian IT companies have been on recruitment spree for quite sometime. Because of global recession, may be recruitment has become a little bit slow but how about thinking a target of recruiting 25000 people in one year. You will go nuts…
Some of the biggest Indian software companies have been getting the huge contracts which span years of the relationship and say a billion dollar contract with the customer. IT offshoring has remained a biggest buzz for many of the multi-national companies as part of cost-cutting or to reduce their IT spending.
Read the rest of this entry »
Posted in Agile, Java, Organizational Patterns | Leave a Comment »
June 6, 2008 by ShriKant Vashishtha
I have been thinking about this problem for quite a long time now. The problem may be more evident in Indian software companies. I am not sure if it exist in other countries also but for sure, it does exist in Indian IT scenario.
Many Indian IT are companies are on hiring spree for quite sometime because of off-shoring boom. Some of the companies have a target of hiring 25000 people in a year. That’s a lot! It leads to resource crunch. You may not find as many good people as you want.
Read the rest of this entry »
Posted in Organizational Patterns | 1 Comment »
May 12, 2008 by ShriKant Vashishtha
As discussed in my earlier JavaWorld article Agility meets the waterfall, there are various practices in Agile world which can be used in traditional projects also.
One of the best practice I came to know is the practice of stand-ups in Scrum based Agile project. A stand-up is all about having a 10-20 minutes meeting with all the team members of a Scrum team. In this meeting each member talks about what he did in the last day, what he’s supposed to do today and if there any impediments in his working. No detailed discussions are allowed in this meeting . In case you require them, they can be taken offline with the concerned stake-holders. However in this meeting you can discuss the need of that offline discussion.
Read the rest of this entry »
Posted in Agile, Traditional IT | Leave a Comment »
October 4, 2006 by ShriKant Vashishtha
Things in software world are changing rapidly. But, what’s hidden in coming future leads to a lot of curiosity. Almost 20-25 years back, low level programming languages were introduced. It was a kind of revelation for the entire world as one could think that some computational work involving business logic could be done by machines. After a while some high level programming languages such as C and C++ got introduced. They provided a lot of power to software developers as now programming languages could be used for creating real time business softwares. However C and C++ came along with a lot of complexities. One had to think about complex language issues before using the language for implementing business logic.
Read the rest of this entry »
Posted in Opinion | 4 Comments »