Thursday, November 30, 2006

Can you read this?


If not, try squinting your eyes almost shut. Look at it from a distance of about 5 meters away from your computer.
I came across this while I was browsing something else :

http://www.google.com/intl/xx-hacker/why_use.html
http://www.google.com/intl/xx-hacker/
This one is strange, everything is in "hacker speak", and all the links work and keep that same encoding of the words...

http://www.google.com/3.html
This one is just old. It makes reference to indexing 3 billion pages. Rumor has it they are way passed that number.

http://www.google.com/lucky.html
Reminiscent of the old google, I'm not really sure what this one is.

http://www.google.com/default.reg
http://www.google.com/google_rsearch.reg
These two are just strange because they are registry files for internet explorer settings. I wouldn't expect to see that in the google root directory.

http://www.google.com/ig/currentcomm/current_links_module.html
This one is only interesting because of the reference to the online file backup account...

http://www.google.com/ig/current
there was news a while ago that google are allowing companies to make customized versions of the personalized home page for use by customers and employees
This is nothing more than a hosted home page for the employees/customers of http://www.currentgroup.com/ (an ISP specializing in BoPL)

http://www.google.com/imghp?hl=km&tab=di&ie=UTF-8
This is another interesting encoding of the google page

http://www.google.com/sitemap.xml
Maybe this isn't a big deal, but I was surprised to see this xml sitemap in their root.

http://www.google.com/mozilla/google.xul2
I have never seen this before, so I thought it was strange. Looks like it is for a mobile device or something...

http://www.google.com/ie_rsearch.html
This one looks like what shows up in the IE sidebar at times. Maybe thats what the above one was for too?

http://code.google.com/webstats/2005-12/elements.html
If you like numbers, I just thought this was an interesting break-down of the pages they index and elements of those pages.

http://www.google.com/moms/
http://www.google.com/moms01/
http://www.google.com/googlefriends/may1998.html
http://www.google.com/translate_t
http://www.google.com/googleviewer/loading.html
http://www.google.com/ig/resetprefs.html
http://www.google.com/pda
http://www.google.com/palm
http://www.google.com/pda
http://www.google.com/palm
These don't really do anything, just interesting or strange pages I found.

http://www.google.com/googlegulp/product_line.html
very odd.

here's another cool one:
googlex.jayssite.com
it's just a cool variation of google. it works basically the same


Here, have a search as follows :
http://www.google.com/search?hl=en&q=site%3Awww.google.com&btnG=Google+Search


here

How to Remove invalid entries in Add/Remove Programs in Window XP

Sometimes when you uninstall a program in win xp, you may encounter that removed program still exists in the Add / Remove Program lis. If this happen, you have to manually uninstall the invalid program entry in the Add/Remove. To remove the invalid program in Add/Remove program just follow the steps below:-


- Start -> Run -> type regedit and enter- Look for this key HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Uninstall- Look for the invalid entries branch, once you found it- backup the branch to a file- delete the branch

Under this HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Uninstall , there are a list of entries started with {GUIDs}, check the DisplayName in the entry if it’s the same as what you want to deleted. If yes, backup that entry and delete that {GUIDs} entry.


That invalid program should be removed by now :)

Removing Irritating "Undeleteable" Files !

How to delete those frustrating files that, when you drag them to the Recycle Bin, give you a frustrating message along the lines of: “Cannot delete file: It is being used by another person or program.”
Here’s the post, and here’s the simple first step from that post, outlining how to delete an “undeleleable” file:
* Open a Command Prompt window and leave it open. Close all open programs. (Click Start > Run and type CMD to open a command prompt.)
* Click Start, Run and enter TASKMGR.EXE. (Or just click Control-Alt-Delete to bring up the Task Manager.)
* Go to the Processes tab and click End Process on Explorer.exe. Leave Task Manager open.
* Go back to the Command Prompt window and use the CD command to get 2 the directory with the bad file.
* At the command prompt type DEL and where the file you wish to delete is.
* Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell. Close Task Manager.

Now this may not always work, but it should more often than not. The other option is a freeware application that can close the file for you. Unlocker is just such a beast. Install the application, then when you encounter one of those “file in use” errors, just right-click the file and select Unlocker. Click Unlock All and the files will be taken care of. No command line required. It’s definitely worth a download!

Definitely worth a download! – unlocker
McCafe virus Scan Gaurentees This As Virus free Software

Wednesday, November 29, 2006

Google Rotated... it's another way to look at search.

Google Rotated (blog.outer-court.com/rotated/) shows you the normal,actual Google (with all of its functionalities)... except that everything'srotated 180 °. Including the Google homepage, the search results, andeven the web pages you click on in the results. When people visitGoogle Rotated they're usually either trying to adjust their monitor, orbend their neck leftwards.

This way to browse Google need the Internet Explorer browser, so skip this if you're using Firefox or any browser other than Internet Explorer.

Google Mini. Small, but fun!

Mini Google (blog.outer-court.com/mini.html), on the other hand, doesn'tmake you bend your neck. Then again, it may make you move yourface really, really close to the screen... `cause it's tiny. About the size ofyour thumbnail. Good luck searching for something with Mini Google,and good luck hitting on a search result page ­ as a bonus, if youmanaged to do that the page you clicked on will be mini too!
This way to browse Google need the InternetExplorer browser, so skip this if you're using Firefox or any browser other than Internet Explorer.

Tuesday, November 28, 2006

Find the "C"

THESE ARE TOUGH! At first you'll think the C in the first group and the 6 in the second group are not there, but I assure you they are. The same with finding the N in the third group. Have fun.Can you find the C?

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOCOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

you've found the C..........Find the 6!
999999999999999999999999999999
999999999999999999999999999999
999999999999999999999999999999
999999999999999999999999999999
999999999999999999999999999999
999999999999999999999999999999
999999999699999999999999999999
999999999999999999999999999999
999999999999999999999999999999
999999999999999999999999999999
999999999999999999999999999999

Once you've found the 6...Find the N! (it's hard!!)
MMMMMMMMMMMMM
MMMMMMMMMMMMM

MMMMMMMMMMMMM
MMMMMMMNMMMMM
MMMMMMMMMMMMM
MMMMMMMMMMMMM
MMMMMMMMMMMMM
MMMMMMMMMMMMM
MMMMMMMMMMMMM
MMMMMMMMMMMMM

Source: Email

How to acces the internet via your standard Microsoft Calculator ?

I came across with this while I was browsing the internet. It's quite interesting.


1. Open your MS Calculator. This is normally found in Start => All Programs => Accessories => Calculator.
2. Open the help-window by pressing the F1 key.
3. Click the top-left corner icon of the help window once (Standard is a Document with a Questionmark).
4. Select Go to URL-address.
5. Type your address into the avaliable field, but remember to type http://, and not just www. (or equivalent).
6. Have fun!

Hope you remember this in case all else should fail!

Monday, November 27, 2006

Anonymous Surfing

Have you ever wanted to surf the web anonymously? While surfing the web, you leave your information literally EVERYWHERE. I wanted to find a way to use the Internet and not give my information out to everyone. I did some research and came across this website. Basically what it does is cloak your IP address therefore cloaking you. It is very easy to use and is done fully within the website, no software downloads needed. This is also great for sites that you are unsure of their authenticity. Never take a chance of having these sites steal your information and sell it. The website is called the-cloak.com. So check it out and let me know if it works for you as well as it has worked for me.

Wednesday, November 15, 2006

Tuesday, November 14, 2006

Speech APJ Abdul Kalam

The President of India DR. A. P. J. Abdul Kalam's Speech in Hyderabad .

Why is the media here so negative?Why are we in India so embarrassed to recognize our own strengths, ourachievements? We are such a great nation. We have so many amazing successstories but we refuse to acknowledge them. Why?

We are the first in milk production.
We are number one in Remote sensing satellites.
We are the second largest producer of wheat.
We are the second largest producer of rice.L

ook at Dr. Sudarshan, he has transferred the tribal village into aself-sustaining, self-driving unit. There are millions of such achievementsbut our media is only obsessed in the bad news and failures and disasters.

I wasin Tel Aviv once and I was reading the Israeli newspaper. It was theday after a lot of attacks and bombardments and deaths had taken place. TheHamas had struck. But the front page of the newspaper had the picture of aJewish gentleman who in five years had transformed his desert into an orchid anda granary.It was this inspiring picture that everyone woke up to. The gory details ofkillings, bombardments, deaths, were inside in the newspaper, buried amongother news.

In India we only read about death, sickness, terrorism, crime. Why are we soNEGATIVE? Another question: Why are we, as a nation so obsessed withforeign things? We want foreign T. Vs, we want foreign shirts. We want foreigntechnology.Why this obsession with everything imported. Do we not realize that self-respectcomes with self-reliance?

I was in Hyderabad giving this lecture, when a 14 year old girl asked me for my autograph. I asked her what her goal in life is. She replied: I want to live in a developed India.For her, you and I will have to build this developed India. You must proclaim. India is not an under-developed nation; it is a highly developednation.

Do you have 10 minutes? Allow me to come back with a vengeance.Got 10 minutes for your country? If yes, then read; otherwise, choice is yours.
YOU say that our government is inefficient.
YOU say that our laws are too old.
YOU say that the municipality does not pick up the garbage.
YOU say that the phones don't work, the railways are a joke,The airline is the worst in the world, mails never reach their destination.
YOU say that our country has been fed to the dogs and is the absolute pits.
YOU say, say and say.
What do YOU do about it?Take a person on his way to Singapore . Give him a name - YOURS. Give him a face- YOURS.
YOU walk out of the airport and you are at your Internationalbest. In Singapore you don't throw cigarette butts on the roads or eat in thestores.
YOU are as proud of their Underground links as they are.

Youpay $5 (approx. Rs. 60) to drive through Orchard Road (equivalent of MahimCauseway or Pedder Road) between 5 PM and 8 PM.
YOU come back to theparking lot to punch your parking ticket if you have over stayed in a restaurantor a shopping mall irrespective of your status identity... InSingapore you don't say anything, DO YOU?

YOU wouldn't dare to eat in publicduring Ramadan, in Dubai.
YOU would not dare to go out without yourhead covered in Jeddah.
YOU would not dare to buy an employee of the telephoneexchange in London at 10 pounds ( Rs.650) a month to, 'see to itthat my STD and ISD calls are billed to someone else.'YOU would not dare tospeed beyond 55 mph (88 km/h) in Washington and then tell the traffic cop,'Jaanta hai main kaun hoon (Do you know who I am?). I am so and so's son.Take your two bucks and get lost.'
YOU wouldn't chuck an empty coconut shellanywhere other than the garbage pail on the beaches in Australia andNew Zealand .
Why don't YOU spit Paan on the streets of Tokyo ?
Why don't YOU use examinationjockeys or buy fake certificates in Boston???
We are stilltalking of the same YOU.
YOU who can respect and conform to a foreign system inother countries but cannot in your own.

You who will throw papersand cigarettes on the road the moment you touch Indian ground. If you can be aninvolved and appreciative citizen in an alien country, why cannot yoube the same here in India?Once in an interview, the famous Ex-municipal commissioner of Bombay, Mr.Tinaikar, had a point to make. 'Rich people's dogs are walked on thestreets to leave their affluent droppings all over the place,' he said. 'Andthen the same people turn around to criticize and blame theauthorities for inefficiency and dirty pavements. What do they expect theofficers to do? Go down with a broom every time their dog feels thepressure in his bowels?In America every dog owner has to clean up after his pet has done the job. Samein Japan .

Will the Indian citizen do that here?' He's right. We go to the polls to choose a government and after that forfeit all responsibility. We sit back wanting to be pampered and expect the government to doeverything for us whilst our contribution is totally negative. We expect thegovernment to clean up but we are not going to stop chucking garbageall over the place nor are we going to stop to pick a up a stray piece of paperand throw it in the bin. We expect the railways to provide cleanbathrooms but we are not going to learn the proper use of bathrooms.We want Indian Airlines and Air India to provide the best of food and toiletriesbut we are not going to stop pilfering at the least opportunity.

This applies even to the staff who is known not to pass on the service to thepublic. When it comes to burning social issues like those related towomen, dowry, girl child! and others, we make loud drawing room protestations and continue to do the reverse at home.
Our excuse? 'It's thewhole system which has to change, how will it matter if I alone forego my sons'rights to a dowry.' So who's going to change the system?What does a system consist of ? Very conveniently for us it consists of ourneighbours, other households, other cities, other communities and thegovernment. But definitely not me and YOU.

When it comes to us actually making apositive contribution to the system we lock ourselves along withour families into a safe cocoon and look into the distance at countries far awayand wait for a Mr.Clean to come along & work miracles for us with amajestic sweep of his hand or we leave the country and run away.Like lazy cowards hounded by our fears we run to America to bask in their gloryand praise their system.

When New York becomes insecure we run to England. When England experiences unemployment, we take the next flight out tothe Gulf. When the Gulf is war struck, we demand to be rescued andbrought home by the Indian government. Everybody is out to abuse and rape thecountry. Nobody thinks of feeding the system. Our conscience ismortgaged to money.Dear Indians, The article is highly thought inductive, calls for a great deal ofintrospection and pricks one's conscience too....

I am echoing J.F. Kennedy's words to his fellow Americans to relate to Indians.....'ASK WHAT WE CAN DO FOR INDIAAND DO WHAT HAS TO BE DONE TO MAKE INDIAWHAT AMERICA AND OTHER WESTERN COUNTRIES ARE TODAY'Lets do what India needs from us.


Thank you,
Dr. Abdul Kalaam
(PRESIDENT OF INDIA)

Monday, November 13, 2006

“Well, what do you know about babies?”


A 1950s Johnson’s Baby Oil and Powder ad - Great headline question that pulls you into reading the rest of the ad.

Nice story

One day, a poor boy who was selling goods from door to door to pay, for his hungry stomach, decided he would ask for a meal at the next house. On the way through school, he found he had only one thin dime left and he was very hungry. However, he lost his nerve when a lovely young woman opened the door. Instead of a meal he asked for a drink of water The woman thought he looked hungry, so brought him a large glass of milk.He drank it slowly, and then asked, "How much do I owe you?" "You don't owe me anything," she replied. "Mother has taught us, never to accept pay for a kindness." He said..."Then I thank you from my heart." Year's later that young woman became critically ill. The local doctors were baffled. They finally sent her to the big city, where they called in specialists to study her rare disease. Dr. Howard Kelly was called in for the consultation. When he heard the name of the town she came from, a strange light filled his eyes. Immediately he rose and went down the hall of the hospital to her room. Dressed in his doctor's gown he went in to see her. He recognized her at once. He went back to the consultation room determined to do his best to save her life, from that day he gave special attention to the case. After a long struggle, the battle was won. Dr. Kelly requested the business office to pass the final bill to him for approval. He looked at it, then wrote something on the edge and the bill was sent to her room. The woman feared opening it, for she was sure it would take the rest of her life to pay for it all.Finally she looked, and something caught her attention on the side of the bill. She read these words..."Paid in full with one glass of milk." Signed, Dr.Howard Kelly.Tears of joy flooded her eyes as her happy heart prayed: Thank You, God, that Your love has spread abroad through human hearts and hands."

Tuesday, November 07, 2006

Find the nth element from the back of a singly linked list

This is most ever question asked by many top companies.

The question goes as follows :
How would you find the nth element from the back of a singly linked list?

And the following might be a solution:
1) have two ptrs. F_Ptr & S_Ptr.
2) Let the ptrs point to the START.
3) Take n as the offset.
4) Start traversing the S_Ptr after the F_Ptr after n.

Suppose u want to find 5th element from the last of the list, then
1) n = 5 // 5th element from the last

2) check atleast this many elements are there in the list before begining

// traverse the F_Ptr offsetfor(;n!=0;n--,F_Ptr->next);
// now set the S_Ptr to trail the F_Ptr
S_Ptr = F_Ptr;
for(;F_Ptr!=NULL; S_Ptr=F_Ptr; F_Ptr=F_Ptr->next)

Now when F_Ptr = Null, S_Ptr is just trailing behind right! it will be pointing to the n'th element from the last.

When F_Ptr reaches end (i.e., F_Ptr is NULL)S_Ptr points to the 5th element from the last.

Monday, November 06, 2006

Mathematics Magic

The following in maths is awesome :)


1 x 8 + 1 = 9
12 x 8 + 2 = 98
123 x 8 + 3 = 987
1234 x 8 + 4 = 9876
12345 x 8 + 5 = 98765
123456 x 8 + 6 = 987654
1234567 x 8 + 7 = 9876543
12345678 x 8 + 8 = 98765432
123456789 x 8 + 9 = 987654321

1 x 9 + 2 = 11
12 x 9 + 3 = 111
123 x 9 + 4 = 1111
1234 x 9 + 5 = 11111
12345 x 9 + 6 = 111111
123456 x 9 + 7 = 1111111
1234567 x 9 + 8 = 11111111
12345678 x 9 + 9 = 111111111
123456789 x 9 +10= 1111111111

9 x 9 + 7 = 88
98 x 9 + 6 = 888
987 x 9 + 5 = 8888
9876 x 9 + 4 = 88888
98765 x 9 + 3 = 888888
987654 x 9 + 2 = 8888888
9876543 x 9 + 1 = 88888888
98765432 x 9 + 0 = 888888888

1 x 1 = 1
11 x 11 = 121
111 x 111 = 12321
1111 x 1111 = 1234321
11111 x 11111 = 123454321
111111 x 111111 = 12345654321
1111111 x 1111111 = 1234567654321
11111111 x 11111111 = 123456787654321
111111111 x 111111111=12345678987654321


Marvellous, right?

Sunday, November 05, 2006

Avoiding Unnecessary Bugs

A typo often made by even the most experienced programmers is placing an if (a = 1) statement where an if (a == 1) is meant. Instead of checking whether the value of variable a equals 1, the first statement will assign the value 1 to a, and the if will always be true. These kinds of bugs can be very hard to find but are easily avoided by simply adopting a different coding style. When you train yourself to turn around the elements of which the expressions are made up, the compiler will 'warn'you when you make this kind of typo.
if (1 == a)
if (NULL == fp)
. . .
By placing the constant first, the compiler will complain about you trying to assign a value to a constant as soon as you forget the second =.

Friday, November 03, 2006

First Post

This is my first blog and my first post. I hope I can come out with many ideas that may be to useful anyone anywhere in the world.