Archive

Archive for August, 2007

java.util.regex.PatternSyntaxException: Dangling meta character ‘*’ near index 0

August 23rd, 2007 Arun Manivannan 8 comments

The same error comes when the regex is “+”

Here is the solution.

Enclose your * and + within square brackets.

Here is my code.

public static final String [] wildCards={"[*]","%","@","&","[+]"};

public static void main(String[] args) {
String s="!@#$%^&*()";
s=stripWild(s, wildCards);
System.out.println(s);
}

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Vista’s another WOW !!!

August 13th, 2007 Arun Manivannan No comments

Pic says it all

Apply what changes???

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: vista bug Tags:

10 things your IT guy wants you to know

August 10th, 2007 Arun Manivannan No comments

This is just funny as hell.

10 things your IT guy wants you to know 

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags:

Tutorials from Google — Text and Video

August 9th, 2007 Arun Manivannan No comments

This is a site hosted by Google for educators.  As of today, Ajax and Distributed computing tutorials are available.

Google tutorials

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: , , ,

Whining from a “cheap” Indian developer

August 9th, 2007 Arun Manivannan 2 comments

It really pains to find posts in sun.com like this. And the reactionary blog posts like this. Look at the code flaws that the blogger has pointed out. These flaws are not supposed to be made even by a JSP first-timer. I wonder what book the developer went through before writing something like this. Fortunately, the bloggers, Tim O’Brien and Jamie Flournoy, have not indulged into rude criticism against the JSP question by a Wipro employee.

I have personally experienced the swapping of “rockstars” and “newbies” happening in one of the projects of mine when a portion of it was outsourced (tips for outsourcing). Managers are just anxious about their immediate victories in getting the contract for a project, but sooner or later, the client loses the trust that it initially had. “The best advertisement is a satisfied customer”. The client will, in future, not only look upon alternatives to the company for outsourcing, but also may create an aversion towards outsourcing.

And, it is my humble request to my fellow developers to learn things before they actually put them into use in the project. Of course, we get projects just because our labour is cheap. But again, we are paid on par or even more than any other profession in the country. The cream of the population wants to immigrate to a richer country. Please do remember that the Indian GDP growth rate went up from 7% to 9% in the last few years. It is not because of those immigrants. The bulk of foreign exchange is earned by the Indian companies which got the outsourced projects. Loss of project means lots to the country. Bad quality of work will only result in immediate gains. No point in earning money for yourself without laying a foundation for your future and the future of your children. Indian labour has till date earned the name of “cheap” labour. This is just becoming “poor quality” labour day by day.

If you are moved to a project with a completely new technology, learnt it before you put that into work. We, fortunately, have a rich collection of Indian edition books which are also available for lesser cost. Only that extra mile is going to save us and our country.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: , ,

Evil fun with Java ;-)

August 9th, 2007 Arun Manivannan No comments

btw, who said that there could not be that evil laughter when you are writing Java?

http://evil.hackademix.net/fullscreen/applet.html

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: ,

Casual picks

August 9th, 2007 Arun Manivannan 1 comment

1. FileStuff provides information on over 5,000 file extensions. Use this site to find out which application a particular file type/file extension belongs to or to find out the default file extensions used by specific software.

http://www.filestuff.co.uk/

Filestuff

2. BitTorrent goes Closed Source. However, the protocol doesn’t. You are well off using Azureus.

3. The Mac crack, hack and software site, http://www.macserialjunkie.com/ goes down. Hope its just temporary.

4. The iWork ‘08 released a couple of days back is already available on the torrent network ;-)
5. Visit profit42.com if you are interested to dual boot Mac OS X on your Intel PC. (I am not responsible for the legal trouble you might face as a result of this action).

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: , , , , , ,

del.icio.us search

August 9th, 2007 Arun Manivannan No comments

Using del.icio.us at home and office, i find it difficult to synchronize the bookmarks. Meaning, when i tag something at office, I am not able to view those links in the “Recently Bookmarked” tab. What i do to overcome this is either go to http://del.icio.us/arunodhaya80 or just Logout and Login for synching. Looks like del.icio.us is already working on the sync part.

Interestingly, i discovered another feature in the latest firefox del.icio.us add-on. Here is the screenshot.

Search that is really delicious.

Want more on synchronizing bookmarks? Lifehacker helps.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags:

Innovation happens everywhere

August 9th, 2007 Arun Manivannan No comments

Pic says it all.

Father killed by Ninjas

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags:

The new iMac — Will they ever allow me to save some money?

August 9th, 2007 Arun Manivannan No comments

Couldn’t resist the temptation to post this even though this has come up in the digg top list. Have a look at this comparison between the Apple iMac and the Dell XPS.

iMac and Dell

One guy quotes “I have an iMac, and i have…. One cord? One to the power”

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: ,