Thursday, September 28, 2006

Block Site Visit

It is very easy to block visiting to a particular site, for example if you want to block visiting www.hotmail.com you can add an dummy ip entry in hosts file which is located in the folder C:\WINDOWS\system32\drivers\etc

127.0.0.1 www.hotmail.com

Windows uses what is called a hosts file to do domain lookups. If any domain name is configured in this file, it takes precendence over any other normal DNS lookup. Whenever your computer contacts 127.0.0.1 it is actually contacting itself (hence the name loopback IP).

Wednesday, September 20, 2006

HUMAN METRICS

Jung Typology Test

Today my manager asked all team members to take this personality assessment test and here are my results. It says I am

moderately expressed introvert
distinctively expressed intuitive personality
moderately expressed feeling personality
distinctively expressed judging personality

Type is INFJ Strength of the preferences %
Introverted Intuitive Feeling Judging
44 62 50 67

INFJ type description by D.Keirsey
INFJ type description by J. Butt and M.M. Heiss

If anybody want to take this test and see what type you are then
click here.

Add Image in the Browser Address bar

Today I learned how to add an Icon/GIF image on the browser address bar. Just add the following LINK tag in the html/jsp/xsl presentation layer.
LINK href="logo.gif" rel="SHORTCUT ICON"

When you access the URL using firefox browser the logo appears in the address bar, where as in Internet Explorer(IE) the logo don't appear unless we bookmark the link. The icon looks good to view when x,y coordinates (height/width) are same.

Creating an image using RAD
I remember many years back I created a application logo using Visual Studio C++ IDE. Today I was wondering how to do that in RAD and figured it. Open J2EE perspective go to File->New->Web->Image File.
Its a cool way to create custom images using RAD.

Monday, September 18, 2006

14 things to learn from the Google story


The Google Story

1. Connections - human, computer, biology - are everything. Life = networks.
2. Never compromise your ideals because someone said it’s impossible, stupid, or a waste of time.
3. Do focus on changing the world, don’t focus on the money. If you provide value, the money will come.
4. Have a healthy disregard for the impossible. If someone hasn’t done it yet, that doesn’t mean it’s impossible.
5. Money is a problem, not a solution. Money cannot solve your problems, but your solutions can solve the money problem.
6. Value creativity, not money. View creativity as your company’s true bottom-line, or your company will stop growing and die.
7. Go against the grain. Don’t believe in other people’s visions for you, believe in your own.
8. Speed is more important than looking good. A shiny, beautiful car isn’t impressive when it gets overtaken by an old jalopy; the same applies to software.
9. Organic growth is best. Only grow as fast as you need to, don’t waste money on advertising a product you won’t want your mom to use.
10. Focus on users above all else, e.g. don’t do something that might annoy your users just to make more money, they won’t forget.
11. Never betray users’ trust, or anyone else’s.
12. Spend 20% of your time on blue-sky ideas without worrying about how they will make a profit. If it might change the world for the better, it needs to be done, even if it can’t make money.
13. Don’t make enemies of your competitors to stay driven. Be driven by your own values and mission.
14. Beat your own path through the wilderness.

Monday, September 11, 2006

Management Lessons

Today I found this funny management lessons....

Lesson No.1
A crow was sitting on a tree, doing nothing all day.A small rabbit saw the crow, and asked him, "Can I also sit like you and do nothing all day long?"

The crow answered: " Sure, why not."

So, the rabbit sat on the ground below the crow, and rested. All of a sudden, a fox appeared, jumped on the rabbit and ate it.

Management Lesson:
To be sitting and doing nothing, you must be sitting very, very high up.

Lesson No.2

A turkey was chatting with a bull. "I would love to be able to get to the top of that tree," sighed the turkey, "but I haven't got the energy." "Well, why don't you nibble on some of my droppings?" replied the bull. "They're packed with nutrients." The turkey pecked at a lump of dung and found that it actually gave him enough strength to reach the first branch of the tree.The next day, after eating some more dung, he reached the second branch. Finally after a fortnight, there he was proudly perched at the top of the tree.

Soon he was promptly spotted by a farmer, who shot the turkey out of the tree.

Management Lesson:
Bullshit might get you to the top, but it won't keep you there.

Lesson No.3

When the body was first made, all the parts wanted to be Boss. The brain said, "I should be Boss because I control the whole body's responses and functions." The feet said, " We should be Boss as we carry the brain about and get him to where he wants to go." The hands said, "We should be the Boss because we do all the work and earn all the money." And so it went on and on with the heart, the lungs and the eyes until finally the asshole spoke up. All the parts laughed at the idea of the asshole being the Boss. So the asshole went on strike, blocked itself up and refused to work. Within a short time the eyes became crossed, the hands clenched, the feet twitched, the heart and lungs began to panic and the brain fevered.Eventually they all decided that the asshole should be the Boss.

Management Lesson:
You don't need brains to be a Boss - any asshole will do.

Lesson No.4

A little bird was flying south for the winter. It was so cold, the bird froze and fell to the ground in a large field. While it was lying there, a cow came by and dropped some dung on it. As the frozen bird lay there in the pile of cow dung,it began to realize how warm it was. The dung was actually thawing him out! He lay there all warm and happy, and soon began to sing for joy. A passing cat heard the bird singing and came to investigate. Following the sound, the cat discovered the bird under the pile of cow dung, and promptly dug him out and ate him!

Management Lesson:
1) Not everyone who drops shit on you is your enemy.
2) Not everyone who gets you out of shit is your friend.
3) And when you're in deep shit, keep your mouth shut!

Thursday, September 07, 2006

How BitTorrent Works ?

BitTorrent is a protocol that enables fast downloading of large files using minimum Internet bandwidth.

Unlike other download methods, BitTorrent maximizes transfer speed by gathering pieces of the file you want and downloading these pieces simultaneously from people who already have them.

Courtesy:
howstuffworks.com

Maps

Following are few maps that i use quite often

Google Maps
Yahoo Maps
Windows Live Local
Map Quest

Following are few comparisons between the maps

Try this for a 2 way comparison(Google vs. Yahoo):
sergeychernyshev.com

Try this for a 3 way comparison(Google vs. Yahoo vs. Windows Live Local):
maps.idelix.com

Try this for a 4 way comparison(Google vs. Yahoo vs. Virtual Earth vs. Terraserver):
ocarto.com

What is RSS ?

RSS ("Really Simple Syndication") technology is getting popular due to bloggers. There are already millions of blogs floating around, of course its difficult to keep track of interesting blogs regularly in our busy schedule. This technology helps people to keep track of blogs that interests them most.

RSS is basically an XML file which follow RSS specification standards. Say you publish a new page or article in your blog, this can be added as an item in the RSS file and they are called RSS feeds. These can be read by RSS readers or aggregators at specified intervals. Few email client tools and browsers like Firefox has this capability. There are also tools to generate RSS file. There are many Portals like Yahoo which broadcasts various interesting news that the users can subscribe them.

With RSS feeds coming straight to your My Yahoo!, there's no need to visit multiple sites to get the content you want. The summaries you care about are delivered right to you and updated regularly.

* Timely information on your page when you need it
* Consolidated headlines from the sources you care about
* Display sources in order of importance with the latest news on top
* Avoid the information overload of newsletter subscriptions and bookmarks

RSS FAQ