• Enter Slide 1 Title Here

    This is slide 1 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

  • Enter Slide 2 Title Here

    This is slide 2 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

  • Enter Slide 3 Title Here

    This is slide 3 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

Friday, April 6, 2007

Cricket: Sri Lanka won by two runs over England in World Cup 2007


Sri Lanka vs England super 8 match was on 2007-04-04. They played an amazing match, it was the best game so far in this World Cup. Even that was one of the greatest matches I ever had watched.

Sri Lankans were all out for just 235 runs causing many discussions to calculate how many runs should have been added to make it a winnable score. Then England started batting, but they were 12/2 after 6 overs.

Over 20: Englands were in a comfortable situation, 100/2 with a RRR(required run rate) of 5.4. But this was easily reachable as Pietersen was batting impressively putting Sri Lankans under pressure.

Over 34: Pressure on Englands. They were 134/6, with a RRR of 6.4. And Sri Lankans needed only one wicket two celebrate the tail enders' fun. And England fans were dead silent.

Over 46: But that required wicket didn't fell and England batsman were rotating the strike well and they were 217/6 with a RRR of 9.5. But this was easily reachable as both the batsman were well established. It was just 19 runs from 12 balls.

Sri Lankans were under huge pressure, two more overs to go. Who should ball the late two overs?

Over 49: Lasith Malinga called for the 49th over. Big task for young Malinga.
1 1 0 1 W 4
This is a fantastic over. Malinga got the needed break through, but the last ball went for a four.

Over 50: Last over, 6 balls more to go, needs 12 runs. Who should ball the last 6 balls? Chaminda Vaas had two more overs, Sanath Jayasuriya had two more... No no it was Dilhara Fernando to ball the last over.
49.1 - 1 run
49.2 - 4 runs
49.3 - 2
49.4 - 1
49.5 - 1

Just 3 runs from the last ball, the well set batsman Bopara was facing. Dilhara came to ball the last ball, but stopped at the last second. Crowd get confused!!! He came back again, and balled him!
Oh! Dilhara balled him! Can you believe it? Sri Lanka won the match just by 2 runs.

What a fantastic game? You should have watched it.

Congratulations Sri Lanka.

Wednesday, March 28, 2007

Yahoo! Mail provides unlimited storage

Yahoo has made a big announcement. They are going to provide unlimited storage for Yahoo Mail!!! This huge feature will go live from May 2007. Can you believe it? Are they really going to achieve this or is this going to be an April Fool's Day Joke? Can't be. Today is 28th of March.

In April 2004, Google launched GMail, with a 1GB which made all of us shocked, while Yahoo Mail providing 100MB storage. This caused the huge popularity of GMail. So many people switched to GMail from Yahoo and MSN (including me). In fact Google came up with a nice concept of expanding the user's storage limit every second and showing it in GMail home page. Currently it shows 2833.807851 on my machine.

Yahoo Mail expanded in following fashion.
1997: 4MB
2004: 100MB
2005: 1GB
2007: Unlimited storage
But I really don't think that people love GMail just because it provides 2GM+ storage, but because of the features that it provides. So while providing huge capacities, Yahoo Mail will have to provide great and new features to fight the battle. And also users (like me) are not looking for unlimited storage as it tends to become more harder to find some of the important mails from the millions of emails in the mail box. So better to come up with new useful features to win the battle.

Now Yahoo Mail has announced the big event and it's up to them to keep their word. I don't think it'll be easy for them to provide infinite storage, as within 2-3 years the total storage requirement would be huge in number. They will have to come up with some strategy to limit the storage capacity for individual users.

[JSTL] According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Error Message: According to TLD or attribute directive in tag file, attribute items does not accept any expressions. When working on a J2EE (Java Enterprise Edition) web application with JSTL (JSP Standard Tag Library), this is a pretty common error.

Reason for this error is version incompatibility between JSP, Servlet and JSTL. Matching versions are listed below.
  • JSP 1.2 , Servlet 2.3 , JSTL 1.0
  • JSP 2.0 , Servlet 2.4 , JSTL 1.1

Check the web.xml to see whether it uses the Servlet 2.3 DTD or Servlet 2.4 Schema.

If it uses Servlet 2.3 DTD, it will have the following text.
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
.....
</web-app>

For Servlet 2.4 Schema, it will look like below.
<web-app version="2.4" 
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
.....
</web-app>

When you change the versions correctly, no such errors will pop-up. Hope this will help you.

Wednesday, March 21, 2007

A child born, two years after his father's death

According to your maths, above subject would not be correct. But that has happened in Texas. As CNN reports, the little boy's name is Benton Smith and his brave and courageous mom is Kathleen Smith while father was Brian.

Brian, who was a solder in US army has gone for Iraq in 2004, and died there in July - 2004. But his wife has given birth to a boy in July, 2006. This has happened because Brian had donated his sperm so Kathleen could keep trying to have a baby while he was in Iraq.

Congratulations Kathleen. You are a great mom and a great wife.

Read more at CNN.com

Monday, March 19, 2007

[Cricket] World record - Six sixes in one over

Herschelle Gibbs, 34 yrs South African right hand batsman made a big record on 2007-03-16. He did this against a leg-spinner, Daan van Bunge of Netherlands in the 30th over.

This is where those bullets went.
29.1 : long on
29.2 : long off
29.3 : long on
29.4 : deep midwicket
29.5 : wide long off
29.6 : deep midwicket
Gibbs got 72 off 40 balls with 7 sixes before Van Bunge caught him in the next over at long on.

West Indies great Sir Garfield Sobers and India's Ravi Shastri had done this six sixes in one over during first-class matches. But this is the first time in an international match.

Congratulations Gibbs.

Related:
World record test cricket partnership

Friday, March 16, 2007

Decipher the code to check your eyes

Try to read the following code. Even though this image looks like an ordinary one, it has a hidden message. But you won't be able to read it if you have good eyes.


Couldn't you read that? You can see the answer below but try it again if you could not. Don't directly go and see the answer. Don't show that you have bad eyes. Try again.

To see the answer click here.


Tuesday, March 13, 2007

Cartridge World operations automated using NetSuite - With my implementations

Today is a pretty happy day in my life as one of the projects implemented by me has received a good reputation with this article by Yahoo! Finance.

Basically the requirement was to integrate two systems, so that Cartridge World can use the full blown features of NetSuite. This integration is implemented by me with the coordination and help of my CEO and other members at Celigo Technologies. I'm proud to be part of a success story.

Cartridge World, is a world's fastest growing ink refilling retailer in printer cartridge industry. NetSuite, is a leader in on-demand business software suites. Cartridge World wanted to use NetSuite system to automate their e-commerce operations and it is implemented throw integrations with Java. The article shows how far the project succeeded.

Tuesday, January 9, 2007

Eclipse - cvc-elt.1: Cannot find the declaration of element error

When working with XML files in Eclipse, a common error developers encounter is;
cvc-elt.1: Cannot find the declaration of element "some-element-name".


The error message gives a clue on which file the error exists by pointing to the element name, but does not give any information on why this error is shown or how it could be fixed. Given error is generated if parser could not find any specification on the given elements when Eclipse tries to parse the XML file using Xerces XML parser. To over come the error, XML file must be provided with a specification (a schema file or a DTD file).

Examples of such files may look like below.
<!DOCTYPE mule-configuration PUBLIC "-//Comp //DTD configuration XML V1.0//EN" 
"http://www.comp.com/dtds/proj/project-configuration.dtd">

or

<element 
xmlns="http://www.comp.com/schema/element"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.comp.com/schema/element
http://www.comp.com/schema/element/elements-1.0.xsd">

Hope this tip would help you.

Wednesday, January 3, 2007

Patent damages tripled in 2006


Trend of Patent lawsuits are increasing drametically. According to sources, the total amount awarded in 2006 is $1 billion. Compared to $379 million which was awarded in 2005, this is almost a threefold increase.

The top winner of the year was Rambus who won the case over Hynix Semiconductor with $307 million. Rambus has a ton of patents on their list.

Even though there are pros/cons on having the patent concept, it seems companies are willing to goto courts to protect their technologies while few companies do it for the sake of grabbing some money from a company who misuses a technology or concept.

Tuesday, January 2, 2007

Gmail hacked? All contacts and messages deleted in some accounts

Recently some gmail users made complains saying all their mails and contacts were automatically deleted from their mail accounts.


And this was first reported on 19-12-2006 saying "Lost Everything in My Account..email,contacts,sent mail..". It further explained the issue as;
Found my account clean..nothing in Inbox, contacts ,sent mail..How can all these information residing in different folders disappear? ..How to write to gmail help team to restore the account..is it possible? ..Where to report this abuse?.

This message received so many replies saying others also faced the issue. But one important point came up there was that they were using Firefox 2.0.

Another user pointed out that the following message was left after deleting all the mails.
"This is not a mistake. All your emails and contacts have been deleted
on purpose. This was a malicious attack and not an error. Have a nice
day. =)"


People who got attacked had kept the Gmail opened under Firefox 2.0. I was also used to keep my Gmail opened under Firefox 1.5 (not 2.0) and fortunately I was not caught to the attack.

Monday, January 1, 2007

Blessings for a very happy new year 2007



I wish you Health...
So you may enjoy each day in comfort.

I wish you the Love of friends and family...
And Peace within your heart.

I wish you the Beauty of nature...
That you may enjoy the work of God.

I wish you Wisdom to choose priorities...
For those things that really matter in life.

I wish you Generousity so you may share...
All good things that come to you.

I wish you Happiness and Joy...
And Blessings for the New Year.

I wish you the best of everything...
That you so well deserve.

Happy New Year!


(Author unknown, if you do let me know).