Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Friday, July 31, 2009

Core Java Basics

Hi friends,
Today, I would like to note some points that freshers in JAVA should know.

1.Abstract class

For an abstract class, we can't create an object,

it's sole purpose is only to be extended.

If a Class is marked abstract and if any class is extending this Class then we will have to implement this method in that class too, or it will throw an error.

2.Final Keyword

Final Keyword is used before a class declaration and such a class cannot be extended.

3.Interface

An Interface is otherwise known as a 100% abstract class, consisting of abstract methods only. Suppose if you create any other methods other than abstract methods, then it will throw an error

Only an interface can extend another interface

A class can implement a interface but cannot extend it


4.Static

We can use static keyword either in front of a Class or a method

and suppose

If we are calling this method in another class, we need not create an instance/object for that class,we can straight away call the method with the help of the class name itself.

5.Method

A method should always be contained inside a class

6.Object

Objects are created with "new" keyword and are present in a memory known as heap.
Their scope ends with the end of execution of the Class.

7.Instance Variables

Instance Variables are created inside methods and are present in a memory known as stack.
Their scope ends with the end of execution of the method.

This is not all! We have lots more to discuss! We shall learn slowly one step at a time!

Thursday, July 30, 2009

Multiplicaton Table using Singleton Pattern

Hi friends,

Today I would like to present you a small JAVA Program to Display a Multiplication Table using Singleton Pattern in between two ranges.

Logic: Accept the table which you want to display, then get the upper and lower bounds to display and display the table.

Code:
package chandra.multiplicationTable;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Multiply {
private static Multiply chandraSample = null;
static int flag = 1;
static BufferedReader bufferedReader;

public static Multiply getInstance() throws IOException {
if (chandraSample == null) {
flag = 1;
chandraSample = new Multiply();
flag = 0;
}
else {
System.out.println("Error");
return chandraSample;
}
return chandraSample;
}

public Multiply() throws IOException {
System.out.println("Multiplication Table");
System.out.println("Enter the number for which you want to display");
try {
bufferedReader = new BufferedReader(
new InputStreamReader(System.in));
String st1 = bufferedReader.readLine();
double mulValue = Double.parseDouble(st1);

System.out.println("Enter the first range value:");
String st2 = bufferedReader.readLine();
double firstValue = Double.parseDouble(st2);

System.out.println("Enter the last range value:");
String st3 = bufferedReader.readLine();
double lastValue = Double.parseDouble(st3);
compute(mulValue, firstValue, lastValue);
}

catch (Exception e) {
System.out.println("Enter only numbers");
Multiply.getInstance();
}
}

public static void main(String[] args) throws IOException {
Multiply multiply = Multiply.getInstance();
}

public static int compute(double mvalue, double fvalue, double lvalue)
throws IOException {
double i;
double disp;
if ((fvalue < lvalue) || (fvalue == lvalue)) {
for (i = fvalue; i <= lvalue; i++) {

System.out.print(mvalue + " * " + (i) + " = ");
disp = i * mvalue;

System.out.println(disp);
}
System.out.println("Do u Want to Continue: yes/no");
String yn1 = bufferedReader.readLine();
if (yn1.equalsIgnoreCase("yes") || yn1.equalsIgnoreCase("y")) {
Multiply.getInstance();
}

else if (yn1.equalsIgnoreCase("no") || yn1.equalsIgnoreCase("n")) {
System.exit(0);
}

else {

System.out.println("Totally irrelevant input! System will exit!");
System.exit(0);
}
}

else {
System.out.println("Enter correct data!");
Multiply.getInstance();
}
return 1;
}
}

Output:

Multiplication Table
Enter the number for which you want to display
2
Enter the first range value:
3
Enter the last range value:
12
2.0 * 3.0 = 6.0
2.0 * 4.0 = 8.0
2.0 * 5.0 = 10.0
2.0 * 6.0 = 12.0
2.0 * 7.0 = 14.0
2.0 * 8.0 = 16.0
2.0 * 9.0 = 18.0
2.0 * 10.0 = 20.0
2.0 * 11.0 = 22.0
2.0 * 12.0 = 24.0
Do u Want to Continue: yes/no
yes
Multiplication Table
Enter the number for which you want to display
3
Enter the first range value:
0
Enter the last range value:
10
3.0 * 0.0 = 0.0
3.0 * 1.0 = 3.0
3.0 * 2.0 = 6.0
3.0 * 3.0 = 9.0
3.0 * 4.0 = 12.0
3.0 * 5.0 = 15.0
3.0 * 6.0 = 18.0
3.0 * 7.0 = 21.0
3.0 * 8.0 = 24.0
3.0 * 9.0 = 27.0
3.0 * 10.0 = 30.0
Do u Want to Continue: yes/no
no

Dear friends,
Kindly have a look at the program and report bugs. It will be helpful to readers as well as me. Thanks for your co-operation and support!

Wednesday, July 29, 2009

Sample Program Using JEP.

Hi friends,
Today I would like to share a program that uses Java Expressioin Parser(JEP).

Logic Of the program: Addition Of three numbers.

Code:

package jeptrial;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import com.singularsys.jep.Jep;

public class MainClass {
public MainClass() throws IOException {
Jep jep = new Jep();
Object o = null;
System.out.println("Enter value for a,b and c");
BufferedReader bufferedReader = new BufferedReader(
new InputStreamReader(System.in));
String st1 = bufferedReader.readLine();
int a = Integer.parseInt(st1);
String st2 = bufferedReader.readLine();
int b = Integer.parseInt(st2);
String st3 = bufferedReader.readLine();
int c = Integer.parseInt(st3);
try {
jep.addVariable("value1", a);
jep.addVariable("value2", b);
jep.addVariable("value3", c);

jep.parse("value1+value2+value3");
o = jep.evaluate();
System.out.println("The sum of the three numbers is " + o);
} catch (Exception e) {
// TODO: handle exception
System.out.println("Exception :" + e);
}

}

public static void main(String[] args) throws IOException {
MainClass mainClass = new MainClass();
}
}

Output:

Enter value for a,b and c
1
2
3
The sum of the three numbers is 6.0

Monday, July 27, 2009

Quick Sort program in JAVA

Hi Friends,
Today I would like to give a program for Quick Sort.

package Quick_Sort;
import java.io.*;
import java.util.*;

public class quick_Sort {
static Scanner sc = new Scanner(System.in);
static int NodeValue = 0;
static int arrsize = 0;


static int getTotalElement(String str) {
System.out.println(str);
NodeValue = sc.nextInt();
return NodeValue;
}

static int getElement(String str) {
System.out.println(str);
int ret = sc.nextInt();
return ret;
}

static int putElement() {
return NodeValue;
}

public static void main(String[] args) {
int no_Elements = 0;
int i = 0;

no_Elements = getTotalElement("Enter the total number of elements :");
Element element1 = new Element();
int[] OriginalArray= element1.Elementarray;

for (i = 0; i < no_Elements; i++) {
int value = getElement("Enter the element " + i + " :");
element1.getElementId(value, i);
}
element1.getquicksort(OriginalArray,0,no_Elements-1);
element1.display();
}
}

class Element {
quick_Sort qs = new quick_Sort();
private int val = qs.putElement();
public int[] Elementarray = new int[val];

public void getElementId(int value, int val1) {
Elementarray[val1] = value;
}

public void getquicksort(int Elementarray[],int first,int last){
if (first {
int pivot=Elementarray[first];
int i=first;
int j=last;
while(i while(Elementarray[i]<=pivot && i i++;
while(Elementarray[j] >= pivot && j>first)
j--;
if(i swap(Elementarray,i,j);

}
swap(Elementarray,first,j);
getquicksort(Elementarray,first,j-1);
getquicksort(Elementarray,j+1,last);

}
}
void swap(int Elementarray[],int i,int j)
{
int temp;
temp=Elementarray[i];
Elementarray[i]=Elementarray[j];
Elementarray[j]=temp;
}
void display(){
System.out.println("The sorted list is :");
for(int i=0;i System.out.println(Elementarray[i]);
}
}

This program runs on jdk 1.5
versions less than jdk 1.5 are not compatible.
Hope my program was useful to you, please post your valuable feedback!
And your problems too. I hope to be of help when required.

Friday, July 24, 2009

10 Most Dangerous Places For Shark Attacks

Hi Friends,

If you've seen the 1975 film "Jaws" then you might think that a little New England town called Amity Island is the most dangerous place for shark attacks.
While Amity Island isn't a real place, the events of the movie and book were likely based on some real-life attacks that occurred in 1916. In just 12 days, a shark killed four people and mauled seven others along the coast of New Jersey. People were in a panic; just a year earlier, the New York Times had said that sharks didn't seem to be dangerous in U.S. waters . In the absence of Roy Schneider and Richard Dreyfuss, U.S. President Woodrow Wilson had to handle the crisis. Wilson held special meetings with his Cabinet and dispatched the U.S. Navy and the U.S. Coast Guard to get rid of these menaces of the sea.
­­So before you load up the car for a beach trip, take a look at this list of places that rank high for shark attacks.

10. Papua New Guinea
Papua New Guinea is the eastern half of the island of New Guinea, the world's largest tropical island. Located in the Pacific Ocean, Papua New Guinea has logged 49 shark attacks and 25 fatalities since 1925. These numbers just edge out New Zealand, which has seen 47 attacks and 9 fatalities since 1852. However, New Zealand has 9,404 miles (15,134 kilometers) of shoreline, while Papua New Guinea has but 3,201 miles (5,152 kilometers) of coast.
The waters of Papua New Guinea contain a wide array of marine environments, so divers from all over the world come to the island to see the immense variety of aquatic life, with shark dives one of the popular options. It's not clear if Papua New Guinea's shark attacks stem from divers and other tourists, or if the attacks stem from the local habit of fishing for sharks. Fisheries in Papua New Guinea exported $1.2 million in shark fin products in 1999

9. South Carolina
­Since 1837, 61 shark attacks and two fatalities have occurred in South Carolina. Though they occur all along the state's coastline, the majority have occurred in Horry County, home to popular Myrtle Beach. As this list will reveal, more people in the water generally increases the chance of a shark attack.
Almost 40 species of shark are indigenous to South Carolina's waters. The species are generally mild, including the sandbar and bonnethead sharks, but more aggressive species, including the tiger and the bull shark have been spotted. South Carolina's offshore estuaries provide good birthing and feeding grounds for these sharks.
Several factors keep South Carolina from being as dangerous a place as, say, Florida. At North Myrtle Beach, the continental shelf, where sharks find many fish to feast on, is located 50 miles (80.5 kilometers) out from the coastline. In Florida, that shelf can come within a mile of the shore. We'll have much more on Florida later, but as another comparison, the waves are generally milder at beaches such as Myrtle, so fish aren't being thrown inshore with sharks in hot pursuit.
It should be noted that escaping to the other Carolina won't eliminate the threat of sharks. North Carolina is no slouch in the shark attack department either, with 32 attacks and 3 fatalities.

8. California
­ When Dave Martin was mauled to death by a shark in San Diego in 2008, it surprised some shark researchers. Since 1926, San Diego has only had 10 attacks and one fatality. Shark attacks in California are much more likely to occur farther north, in the infamous Red Triangle.
About 90 miles (145 kilometers) of Northern California coastline between Point Reyes and Monterey Bay form one side of the Red Triangle; from those two points, lines extend to meet just past the Farallon Islands, to the west of San Francisco. These waters are home to lots of seals, which in turn attract lots of great white sharks.
But within the Red Triangle are many beaches that are attract surfers, including Bolinas Beach and Stinson Beach. One tour guide operator deemed Stinson "The granddaddy of all shark beaches". While the Red Triangle is known for the great whites, the rest of the state's coastline also holds the possibility of attack. Since 1926, 96 attacks and 7 fatalities have occurred in this state

7. Brazil
­­ When you look at the whole continent of South America, 101 attacks and 23 fatalities have occurred since 1931. But look closer, and you'll see that 89 of those attacks and 21 of those fatalities have occurred just in Brazil. What's bringing all these sharks to Brazil? A tiny beach town named Recife, which has had some unfortunate luck in attracting sharks to its coastline.
The trouble started in the 1980s, when Porto Suape was constructed to the south of Recife. The construction sealed off two freshwater estuaries, which had served as the birthing waters for many bull sharks. When the estuaries were closed, the sharks went to the next estuary, which happens to discharge right into Recife's waters. A nearby channel used by surfers became these sharks' new feeding grounds. The sharks may have been driven even closer to Recife's shore by a slaughterhouse, which was disposing of blood in nearby tributaries.
Since these events, Recife's 12.5-mile (20-kilometer) coastline has become an extremely dangerous place, with a higher proportion of attacks resulting in death. One in three shark attacks that occur in Recife are fatal

6. Brevard County, Fla.
­ Of the 71 attacks that occurred in the world in 2007, 32 of them happened in Florida. Florida has so many attacks that it warrants two spots on this list, the first being the beaches that make up Brevard County. In the waters off Brevard County, 90 attacks and one fatality have occurred since 1882.
Florida has a lot of shark attacks simply because it has a lot of tourists, and Brevard County is an easy hour-long drive for those already in the area to see Mickey at Disney World in Orlando. The county is home to the famed "Space Coast" 70 miles (113 kilometers) of coastline named for the space center at Cape Canaveral. In addition to the Canaveral National Seashore, visitors can also enjoy Cocoa Beach and Melbourne Beach.
While the shark attacks are nothing to sneeze at, Brevard County is dangerous for a few other reasons as well. In 2008, Forbes named Brevard County beaches the most dangerous place for rip current drowning. In 2007, 10 people drowned because of the rip currents, a rate that's higher than any other county in the United States. Parts of this coastline also fall into Florida's "Lightning Alley" an area that has the most lightning in the United States. So when you're not worrying about sharks, worry about the forecast.

5. Queensland, Australia
In 2006, Sarah Kate Whitley was swimming near Brisbane in water no higher than her waist when she was attacked by three bull sharks, which tore off both of her arms while biting her stomach and legs. Her death is just one of Queensland's 38 fatalities and 103 attacks since 1700.

4. Hawaii
­ What's a trip to Hawaii without a stop in Oahu or Maui? Almost half of Hawaii's 113 shark attacks since 1882 have occurred off the coasts of these two islands, with 36 attacks and three fatalities occurring in Maui and 34 attacks and six fatalities in Oahu. Other islands aren't safe either, with 19 attacks occurring off Kauai and 12 off the big island of Hawaii.
This total is fairly low when you consider the millions of tourists who visit each year, but you should still be on the lookout for the approximately 40 species of shark that call Hawaii home. One of these species is the dangerous tiger shark, responsible for the most attacks on humans after the great white.
Hawaii has a mixed record when it comes to dealing with sharks. On the one hand, a 1959 fatal attack led to a decades-long shark eradication program sponsored by the government. On the other hand, some native Hawaiians call the tiger shark aumakua, or guardian spirit.

3. New South Wales, Australia
­ Like its neighbor to the north, Queensland, New South Wales along Australia's eastern coast is home to some beautiful beaches, which in turn are home to quite a lot of sharks. New South Wales has seen 140 attacks and 61 fatalities since 1700, according to the International Shark Attack File.
Some recent attacks as of press time also helped this sunny locale rank so high on our list. In 2008, a 16-year-old surfer was mauled to death by a bull shark while bodyboarding, just a few months after an incident in which divers were held hostage at a shipwreck by a circling shark, and another instance where a woman was knocked off her surfski by a white pointer shark. Prior to the 16-year-old's fatal attack, it had been 15 years since a shark-related death occurred in New South Wales.
Still, Queensland's numbers have likely been kept low by protective measures taken at beaches near Sydney. In 1937, nets and mesh were installed in the waters, and the program was expanded in the early 1960s after a spate of fatal attacks. As of 2006, 84 beaches were protected by these nets or by drumlines, baited hooks intended to attract the sharks. These measures have caused a dramatic dip in the number of attacks and also in the number of sharks.
However, these nets are controversial among conservationists, as we mentioned in the Queensland entry. These conservationists argue that the nets trap and kill endangered species, while not always stopping sharks. For these reasons, the environmentalists favor building caged enclosures for swimmers.
Speaking of cages, our next location is famous for people using them to go swimming with sharks. Turn the page to find out about shark diving.

2. South Africa
­ You might think that 214 shark attacks and 42 fatalities in the past 100 years would keep folks away from the waters of South Africa, but that doesn't seem to be the case. More and more people are flocking to South African waters to dive with sharks.
There's plenty of them to find! South Africa was the first countries to formally protect great white sharks, so their populations have grown. You can see mako, ragged tooth, tiger, hammerhead, bull and blacktip sharks, just to name a few. Near Kosi Bay you'll find tenacious bull sharks known locally as Zambezi. Dyer Island, near Capetown, has earned the nickname "Shark Alley" for the many species of sharks in the water, particularly a high number of great white sharks. These great whites spend their time stalking Geyser Rock, home to more than 50,000 seals.
While shark diving may provide thrills galore, the industry is extremely controversial. Some blame shark diving, a somewhat haphazardly regulated industry, for recent shark attacks, because it encourages sharks to come closer to shore than they normally do. Proponents say it's safe and provides a way to learn more about sharks in their natural environment. One tour guide has claimed that he doesn't even bother with the cage when diving with sharks.
On the flip side, however, another tour guide was injured because his foot was hanging over the side of the boat as he baited the waters to draw the great whites closer. Chumming the water, or putting a mix of fish blood and guts into the water, could change a shark's natural behavior. With each new attack, some worry that the sight of humans may become linked to the promise of food, increasing the danger for unsuspecting divers who have no food to offer.

1. Volusia County, Fla.
­ It may seem strange for the No. 2 dangerous spot to outrank the No. 1 most dangerous spot in number of attacks; South Africa, as we mentioned, boasts 214 attacks and 42 fatalities, while Volusia County, Florida ranks just behind with 210 attacks since 1882, none of them fatal. Yet what's worth remembering here is that South Africa's attacks occurred over 2,798 miles (4,503 kilometers) of coastline, while these 210 attacks occurred in a single county.
Indeed, at New Smyrna Beach, located in Volusia, there are more incidents per square mile than on any other beach in the world. If you've been swimming at New Smyrna, you've probably been within 10 feet (3 meters) of a shark. These distinctions have earned New Smyrna Beach the nickname "Shark Attack Capital of the World."
Are the people swimming at New Smyrna Beach particularly delicious? Are the sharks hungrier here? While the area is home to many baitfish, a common prey for these sharks, the real reason for the high number of attacks is simply the number of people in the water. Swimmers and fishermen flock to these waters, and the beaches in this county are some of the most popular in the state for surfing.
Being known as the "shark attack capital of the world" doesn't seem to dissuade surfers and swimmers, though. In fact, the deputy beach chief reported that when he closes the beaches following shark sightings and attacks, he receives angry voice mail messages. That may be because attacks in Volusia County are fairly mild and are usually just minor bites. Some shark attack victims even drive themselves to the hospital.

So friends, Hope this information was useful to you. Please give your valuable suggestions! Have a Good Day!

Wednesday, July 22, 2009

Some Notorious Art Thefts

Hi Friends,

Some people just can't keep their hands off other people's things , even the world's greatest art. Art thieves take their loot from museums, places of worship, and private residences. Because they would have trouble selling the fruits of their labor on the open market as auction houses and galleries tend to avoid stolen works , art burglars often either keep the art for themselves or try to ransom the hot property back to the original owner.

Today I would like to post the daring thefts of very expensive art from the major robberies in the past hundred years (values estimated at the time of the theft).

* Boston, March 1990: $300 million

Two men dressed as police officers visited the Isabella Stewart Gardner Museum in the wee hours of the morning. After overpowering two guards and grabbing the security system's surveillance tape, they collected Rembrandt's only seascape, Storm on the Sea of Galilee, as well as Vermeer's The Concert, Manet's Chez Tortoni, and several other works. Authorities have yet to find the criminals despite investigating everyone from the Irish Republican Army to a Boston mob boss!

* Oslo, August 2004: $120 million

Two armed and masked thieves threatened workers at the Munch Museum during a daring daylight theft. They stole a pair of Edvard Munch paintings, The Scream and The Madonna, estimated at a combined value of 100 million euros. In May 2006, authorities convicted three men who received between four and eight years in jail. The paintings were recovered three months later.

* Paris, August 1911: $100 million

In the world's most notorious art theft to date, Vincenzo Peruggia, an employee of the Louvre, stole Leonardo da Vinci's Mona Lisa from the storied museum in the heart of Paris. Peruggia simply hid in a closet, grabbed the painting once alone in the room, hid it under his long smock, and walked out of the famed museum after it had closed. The theft turned the moderately popular Mona Lisa into the best-known painting in the world. Police questioned Pablo Picasso and French poet Guillaume Apollinaire about the crime, but they found the real thief and the Mona Lisa two years later when Peruggia tried to sell it to an art dealer in Florence.

* Oslo, February 1994: $60-75 million

The Scream has been a popular target for thieves in Norway. On the day the 1994 Winter Olympics began in Lillehammer, a different version of Munch's famous work (he painted four) was taken from Oslo's National Art Museum. In less than one minute, the crooks came in through a window, cut the wires holding up the painting, and left through the same window. They attempted to ransom the painting to the Norwegian government, but they had left a piece of the frame at a bus stop, a clue that helped authorities recover the painting within a few months. Four men were convicted of the crime in January 1996.

* Scotland, August 2003: $65 million

Blending in apparently has its advantages for art thieves. Two men joined a tour of Scotland's Drumlanrig Castle, subdued a guard, and made off with Leonardo da Vinci's Madonna with the Yarnwinder. Alarms around the art were not set during the day, and the thieves dissuaded tourists from intervening, reportedly telling them: "Don't worry . . . we're the police. This is just practice." Escaping in a white Volkswagen Golf, the perpetrators have never been identified! and the painting remains missing.

* Stockholm, December 2000: $30 million

Caught! Eight criminals each got up to six and half years behind bars for conspiring to take a Rembrandt and two Renoirs thankfully all of them eventually recovered from Stockholm's National Museum. You have to give the three masked men who actually grabbed the paintings credit for a dramatic exit. In a scene reminiscent of an action movie, they fled the scene by motorboat. Police unraveled the plot after recovering one of the paintings during an unrelated drug investigation four months after the theft.

* Amsterdam, December 2002: $30 million

Robbers used a ladder to get onto the roof of the Van Gogh Museum, then broke in and stole two of the Dutch master's paintings, View of the Sea at Scheveningen and Congregation Leaving the Reformed Church in Nuenen, together worth $30 million. Police told the press that the thieves worked so quickly that, despite setting off the museum's alarms, they had disappeared before police could get there. Authorities in the Netherlands arrested two men in 2003, based on DNA from hair inside two hats left at the scene, but they have been unable to recover the paintings, which the men deny taking.

So friends, Hope you had a nice time reading this article! Please give me your valuable suggestions and comments!They are always welcome!

Monday, July 20, 2009

Some Outrageous Lawsuits

Hi friends,

One of the benefits of living in a democratic country with a well-established judicial system is the opportunity to use the courts to achieve justice and set wrongs right. But there is also a drawback! Some folks go to court about things that make most of us shake our heads.

Can't beleive it? Let's see what we have today!

Today I would like to post some very Hilarious and Outrageous Lawsuits.Read and Enjoy!

* All Toys Are Not Equal
Jodee Berry, a Hooter's waitress in Florida, won the restaurant's sales contest and thought she'd just won the new Toyota that her bosses said the champion would get. The prize was actually a toy Yoda, not a Toyota, so she left her job and sued the franchisee for breach of contract and fraudulent misrepresentation. The force was with Berry: The out-of-court settlement in May 2002 allowed her to pick out any Toyota car she wanted.

* No Good Deed Goes Unpunished
In July 2004, two teenage girls in Colorado baked cookies and delivered them to their neighbors. But the door-knocking apparently scared Wanita Young, who had an anxiety attack, went to the hospital, and sued the girls' families. A local judge awarded Young almost $900 for medical expenses but denied her half-baked demand for nearly $3,000 in itemized expenses, including lost wages and new motion-sensor lights for her porch.

* Bubbles Aren't Always Fun
Early on the morning of July 7, 2001, a prankster dumped detergent into a public park fountain in Duluth, Minnesota, creating a mountain of bubbles. A few hours later, passerby Kathy Kelly fell down and suffered several injuries. She sued the city because it had not cleaned up the suds (on Saturday morning) or posted warnings to citizens urging them not to walk through the slippery wall of bubbles. A jury in March 2004 found the city 70 percent responsible for Kelly's injuries leaving her with only 30 percent of the blame and thus awarded her $125,000.

* Sue the Pants Off Them
In 2005, in one of the most outrageous lawsuits of recent times, Roy Pearson, a Washington, D.C. judge, sued a small mom-and-pop dry cleaner for $54 million for misplacing his pants. The shop's owners, Jin and Soo Chung, returned the pants a week later, but Pearson refused them, saying they were not his $800 trousers but a cheap imitation. He also sued the Chungs and their son $1,500 each, per day for more than a year, claiming that the store's signs, which read "Satisfaction Guaranteed" and "Same Day Service," were fraudulent. In 2007, a judge ruled in favor of the Chungs and ordered Pearson to pay the couple's court costs, and possibly their attorney fees as well.

* Trespass at the Owner's Risk
Let's say you're illegally sneaking onto a railroad's property so you can get a view from the top of a boxcar -- and then an electrical wire above the car electrocutes you. What do you do? Obviously, you sue the railroad! In October 2006, a jury awarded more than $24 million to two young men who were severely burned while atop a parked railroad car in Lancaster, Pennsylvania, in 2002.
The jury said that, although they were trespassing, the 17-year-old boys bore no responsibility. Instead the blame fell entirely on Amtrak and Norfolk Southern for failing to post signs warning of the danger from the electrified wires that power locomotives. For medical costs, pain and suffering, and "loss of life pleasures," one boy received $17.3 million and the other $6.8 million.

* School Responsible for Bad Break-Up
In February 2004, a New York court ordered a school district to pay a former student $375,000 when his two-year affair with a school secretary ended. The young basketball star claimed that the break-up brought "emotional and psychological trauma," ruining any prospects for a professional hard-court career. The jury determined that the school was culpable for failing to supervise the secretary properly. It also ordered the secretary to pay the student another $375,000 -- even though she had not been named in the lawsuit.

* Fingered as a Scam
In March 2005, Ann Ayala filed a claim against a Wendy's franchise owner, asserting that she had found a fingertip in a bowl of chili. But authorities found no evidence of missing fingers at the accused restaurant. Suspicion turned on Ayala, who dropped the suit when reporters discovered that she had previously accused several other companies of wrongdoing.

* Spilling the (Coffee) Beans
This list can only end with the most notorious of lawsuits: Stella Liebeck, of Albuquerque, sued McDonald's in 1992 after spilling a cup of the restaurant's coffee, which burned her lap severely and hospitalized her for a week. Two years later, a jury awarded her $160,000 in direct damages and $2.7 million in punitive damages, which a court later reduced to $480,000. Both parties appealed, and they eventually settled out of court for an undisclosed amount surely enough for her to buy McDonald's coffee for the rest of her life. Liebeck inspired the creation of the Stella Awards, which highlight particularly "wild, outrageous, or ridiculous lawsuits."

So friends, today we had a hilarious moment and let us know if you too have come across some hilarious moments as this!
Please comment! Your comments are Welcome!

Saturday, July 18, 2009

Information On How To Buy A Scanner

Hi Friends,

Today I would like to share some points in a technical aspect. When we need to buy a desktop, we are aware of what configuration we needed, etc. But not many of us know as to which type of Scanner suits our requirements best.
So in this article, I would like to focus on the various Scanners you need to know to fulfill your requirements.

* Identify The Requirement Of The Scanner

*I would advice you to buy a low-resolution scanner if you will use it just to scan text.

* If you don't plan to scan from books or magazines, consider a sheet-fed unit, which takes up far less desk space than a flatbed scanner.

* You can Use A Flatbed scanner in case you want to scan books.

* Purchase a low-resolution or medium-resolution scanner if you plan to scan photographs to use on the Internet, as the resolution of Web graphics is low anyway.

* Buy a High-resolution scanner if you plan to scan photographs to print and you have a high-resolution printer (greater than 600-by-600 dots per inch, or dpi).

* Buy a model with 36-bit color depth if you plan to scan photographs or color graphics.

* I would prefer you to buy a Parallel-port scanner if you don't expect to use the scanner often or work with large files.

* Scanners that cost less than $100 will provide a good picture of 600-by-1,200-dpi resolution. Scanners priced between $150 and $250 usually provide 1,200-by-1,200-dpi resolution.

* Last but definitely not the least, Please know that speed is the biggest factor in pricing. Parallel-port scanners, which use your existing printer port, are the cheapest and slowest. USB scanners, which require that your computer have a USB port, are faster and cost more. SCSI-card scanners are the fastest and most expensive. You need to install a SCSI card in your computer if it does not have one.

Hope my article was useful! Please give me suggestions that might add to the content for better satisfaction of the readers.
Your Feedbacks are welcome!
Have A Nice Day Folks!

Thursday, July 16, 2009

Tips To Manage Time

Hi friends,

From the past few weeks, I have seen some of my friends complaining that they don't have time. I felt that, they felt so because of their inability to manage time!
So today,I would like to share some tips to manage time efficiently and effectively.

* Write Down Your Tasks
Yes my friends, that indeed in necessary. Imagine the amount of time you save, by this method as you dont have to think each time as to what all have you missed. Not to mention what all you need to complete. It can be anything from small errands, homework assignments or paying a bill.But not doing it forces you to rush at the last minute.

* Organize Your List
Organize the list in which task is due.
For example,
Math homework: Due Tuesday,
Water Bill: Due the 20th,
Groceries: This Week.
This list sorted in the order of your priority will even give information as to which work is to be done immediately and which can wait.

* This method also helps you to finish jobs sooner if you select the time period of each task carefully. Select a time peroid for a task and complete it as soon as you can within the time. The sum of all the time you save is your success.

* Work On Tasks One At A Time
Dont do Multi-Tasking(Many works at the same time! You might end up confused!)
Doing so will reduce your stress too!

* We Are All Humans!
What ever it may be, we are all humans! So please take some break and continue your work with new Vigour!

Hope my points were useful to you! Your recommendations are welcome!
All the Best to folks who try to implement my points!

Monday, July 13, 2009

Tips To Reduce Pressure

Hi friends,
High blood pressure, also called hypertension, is a common problem and needs regular monitoring. Doctors identify high blood pressure when the Sphygmomanometer reading is 140/90 mmHg or more. This can lead to kidney failure, heart attacks and other draining health conditions. So I would like to write some points on lowering blood pressure.

* Find Out What Your Reading Says:
Find out the exact reading on the Sphygmomanometer by visiting a doctor at least once every month.

* Make Changes In Your Diet:
Get ready to make changes in your diet and lifestyle. Follow the advice of your doctor and take the prescribed medicines.

* Avoid Tobacco:
Avoid smoking or inhaling any tobacco products. Please Know that tobacco contracts your blood vessels and makes the heart beat faster resulting in the increasing of your blood pressure.
* Exercise A Lot:
Exercise regularly and lose weight in case you are obese and overweight.

Practice relaxation techniques such as proper breathing and meditation as these are proven stress-busters. Perform them at least once a day.

* Stop Consuming Fatty Foods:
Avoid fatty foods, especially non-vegetarian items. Eat plenty of fruits and green vegetables.

* Limit Your Intake Of Salt:
Limit your daily sodium intake(common salt intake) as it increases blood pressure.

* Get Feedback:
Get biofeedback from certified trainers. You may contact reliable trainers who are located closer to your home.

Friday, July 10, 2009

Hiring A Contractor

Hiring a contractor can be similar to acquiring a brother in-law,
except that when it comes to a contractor, you're the one who gets to do the choosing and not your little sister. This family aspect implies the fact that you'll probably be expecting quite a lot from your contractor, depending on the size of the project and you need to find out as to who'll do the job right.
­
In order to make a sound choice, there are several key questions you should pose to potential contractors and I will help you get those questions as follows.

* Know The Business History
When you're first getting into the process of hiring a contractor, you'll want to dig deep to get an idea of his or her business history. This means requesting and duly verifying proof that he or she is currently state licensed, paying employees legally and carrying worker's compensation, property damage and liability insurance. Membership with a reputable professional association is also a good sign.

Also find out if the contractor's ever declared bankruptcy or if anyone's ever taken legal action against him or her. You should also find out how their business is structured and where it's physically based.

* The Supervision Of Work
­It's important to ascertain during the course of the interview how the contractor plans on handling site supervision and subcontractors. For starters, a lot of the questions concerning licensing, payroll, liability insurance and workers' comp are inquiries you'll need to put to any subcontractors as well.Everyone on-site must be covered fully.

Further key questions center around work site presence. How much time does the contractor propose to spend on your project each week, and how many other jobs is he or she completing in tandem to yours? Does the contractor plan on doing any of the actual labor, or is he or she mainly performing in a supervisory role? How often will the contractor be on-site, and who'll be supervising during times when he or she isn't there?
During the project, you'll probably want to check in once in a while to see how every thing's coming along. A trustworthy and accountable presence should be on hand at all times.

* The Schedule For Project Completion
­Before you hire a contractor, you should ask them if he or she can provide you with a fixed start date and a completion date including any cleanup duties. These dates should be included in the formal written agreement, along with a timetable of the work that'll be done and a material list of everything that'll be needed. It's also smart to address how change orders will affect the project's time line in the contract.

* Make Sure You Have Everything You Want
Like the per payment lien releases we discussed on a previous page, warranties are a smart way to make sure you'll leave the table happy. In addition to these measures, it's a good general rule of thumb to hold off signing a contract until it includes everything you want and that you understand all the terms and conditions. You'll also want to keep up to date records of all payments and invoices in case a dispute needs to be settled.

On a similar note, make sure the contractor guarantees he or she will complete all the necessary homework and obtain all the required approvals during the process. Without this precaution, some contractors might might cheat you and you could find yourself uncovering a huge legal mess the minute the door closes behind them.

* Last, But Not The Least
­Along with the other top questions you want to ask during the process of hiring a contractor, you should also request itemized price estimates from each candidate. After you receive these, it's best to examine each one carefully, paying particular attention to any that seem too high as well as too low. Estimates that fall in the shallow end of the pool can be a red flag for a hasty job that won't leave you with a quality finished product. If an estimate seems a good deal pricier than others, that could mean the other contractors were missing some core obstacle involved in completing the project and therefore didn't set a high enough estimate for a proper job.

Don't sign that last check until you're completely happy with the completed project.

If you've made it this far and have gotten all your signs in a row, it's possible you've found the contractor for you.

Wednesday, July 8, 2009

Tips for Staying on Budget

Hello friends,

Its high time people started knowing how to stay in their budget.We need to learn to plan and maintain our budget.For those, who need a simple answer as to how to maintain,I hereby give some tips.

* Focus on Savings
You know how much money­ you have.Determine the amount of your budget that you can afford to save each month. Have it direct-deposited to your savings account, or to your mutual fund. Wherever you decide to keep your savings, make sure you put money into it every month. That savings will make a big difference for you later.­

* Use Cash and not Card
Take out enough cash to last one week at a time. Make up your mind that the cash you have is all you get for your expenses each week. It's much easier to turn down a $60 pair of shoes by this method, than it is when you just have to swipe a credit card.

* Reduce Bad Habits and Cut Them Off Soon
Try to reduce smoking and drinking, and put the beer/cigarette money toward your other expenses. It's difficult! I agree,but I assure you, that You'll see your bills come down and not to mention, your health will improve too!. As you'll save on health care expenses down the road, you may become eligible for lower insurance premiums which of course is a boon.

* Share the Responsibility With Your Family
Make sure you're not the only member of your household concerned about your budget. If you're working hard to save money, but your spouse is out spending you into debt, you're fighting a losing battle. Sit down together and make a plan to determine how much ­spending money you should each have. Then, check in every week to see how well you're doing.If the entire family shares the responsibility for the budget, everyone can cut back just a little and make a big difference.

* Keep Your Receipts To Check Yourself
You probably monitored your expenses for several weeks to make a budget. Once the budget is made, though, it can be tempting to stop keeping up with every little expense. But keeping track really can help you stick to your budget. Save yo­ur receipts, and write down the places you spend money. You'll be less likely to overspend if you realize how much money has actually gone through your hands.

* Analyze Your Spending In Your Budget
Look through your budget and all your receipts. Can you find an expense that can be cut? Maybe you could bring your lunch to work twice a week, or set up a carpool with a friend. Just c­utting out restaurant and gas costs can help increase the amount of money you have available for savings and purchases.

* Deposit Your Savings At A Bank
­If you find that you keep reaching into your savings, set up a CD(Certificates Of Deposit) or other acc­ount with early withdrawal penalties. Banks and other institutions pay more interest if you'll agree to let them use your money for a longer amount of time. Putting your savings into a yearly CD will yield more than a three-month note would.Friends from India, I would prefer you to put FDin banks /Schemes in Post Office like NSS,etc.

* Be A Little Lenient With Yourself At Times
Remember that life is unpredictable, and things happen that are out of our control. When­ you make a budget, try to allow some extra money for variable expenses. And, be gentle with yourself if you go over your budget sometimes. It can be hard to get back on track ­if you let yourself get too frustrated over a mistake or two.

Dear friends,Follow­ing these tips can help you stick to your budget. You can prepare for a major purchase without having to borrow more than is absolutely necessary, and you can feel good about keeping your finances under control.

Hope my tips were useful.I would gladly accept your comments/recommendations.

Monday, July 6, 2009

Tips For Effective PowerPoint Presentations

Hello friends,
Taking a look at some seminars I had attended,I find them not so equipped in their PowerPoint Presentations(PPT for short), as they are.
So, emphasizing on this I would like to present some tips on Creating Effective PowerPoint Presentations.

* The focus should be on the presenter and on the compelling story that he has to tell
PowerPoint is most effective at providing supplementary information, like simple, colorful graphs, but should never be the main source of information.
In short, It should not look af if a person can just read on from the screen. People hate it!

* Use More Diagrams
Usage of more diagrams, charts, models, graphs, etc help the person to get an in depth knowledge of the presentation.Remember friends, Actions Speak Louder Than Words!

* Make It Look Like A Story
The goal of any presentation is to sell the audience on an idea. It could be a new technology, a plan for reconstruction of the project to make it faster. For the audience to understand the presentation, it needs to be told as a story. Presentations must explain the people as to
•Where we are now
•Where we want to end up
•How are we going to get there

* Keep It As Short As Possible
A Presentation must not be more than 20 minutes.
If its more, then, I assure you my friends,even the most active person in the hall would feel drowsy!

Hope you find it useful! Kindly share your views/information regarding the topic.
I would appreciate it!

Saturday, July 4, 2009

Building A Good Reference List

Hi friends,

In this period of recession, many jobs need a good reference.
So now, In this post, I would like to emphasize on how to build a good reference list.

My points, will work wonders for you, my friends!

* Make sure the people you name as references are aware of it and are comfortable speaking on your behalf.It should not come as a surprise for them.

Before you submit a reference list to a employer, provide each contact with an updated copy of your resume and describe the company and position you've applied for.

* Consider which of your references can best discuss the qualities you possess that directly relate to the job.

Such individuals won't necessarily possess the most impressive job titles,but they might be the best to discuss your details.

* Tell the truth while you talk in your interview and also to your reference.Please remember, it will not take much time for them to analyze your information.

* Even if a reference doesn't end up speaking on your behalf, thank that person and keep him/her updated on the status of your search.

If you are hired, be sure to send a thank-you note or even a small gift to your references. Also remember to not to loose the relationships.

Keeping in touch with your references, even after you've settled into a new job, can help you maintain a solid network of professionals who can assist you in various ways throughout your career.

All the best Folks!

Wednesday, July 1, 2009

Information Regarding Depression

Depression is one of the disorders of our time.

Many people are affected by depression in their lives due to their personal problems. Depression affects our physical body, emotions and behavior. Depression makes an individual to become sad, angry, and at times even frustrated and this makes them to take negative decisions.

HOW DOES A PERSON KNOW IF HE/SHE IS DEPRESSED:

* People having no hope in what they do are in state of depression.

* People who think that someone has to step forward to solve their problems, instead of giving one more try are said to be depression.

* People who expect too much of care without understanding what others think are the ones in depression.

* People who are lazy tend to become depressed.

* Finally, if you really wanted to know if you are depressed, you would not accept at least one point that I have mentioned above.

Apply it to your lives, you can easily judge yourself.

HOW TO KEEP ONESELF WHEN DEPRESSED:

* What ever your position may be, THINK POSITIVE! That would remove your depression with in no time. You will never encounter a word as “YOU CAN'T”

* If in case you are not able to think positive, try out the following.

* Its really easy my friends to stay away from depression. Keeping oneself always busy with some interesting work, will avoid depression.

* Its better to be left alone at these times in case it might cause tension that might even lead to physical injury.

* For people who feel depressed that no one cares about them, A good advice would be, to Pay attention to ourselves, which in turn sends the message internally, that we care about ourselves.

* Meditation will help immensely to reduce the in built feelings that make you mad.

* If you are a fan of any musician, better listen to his music. Nothing soothes a mind better than music. I would prefer A.R.RAHMAN's melodies.

* If you're truly depressed, it's very difficult and should consult psychiatrist.

* Try to read self-help books and focus on the things that you are passionate about in life

* Avoid alcohol and drugs. They will only aggravate your condition.

* As a last option, Share your feelings to people close to you or to a psychiatrist, so that u feel mind free and your burden will be reduced.


EVERY ONE IS DEPRESSED AT SOME POINT TO TIME, IF THEY REALIZE WHAT TO DO, THEY SUCCEED IN LIFE!!!