Friday, January 25, 2008

Tracing Gmail Emails

"How do you trace an Email?"

Quite often i am being asked about this simple question. Most of you know that any email can be traced by just looking at the Header information of the Email.

But that is possible for Emails sent by Email clients like Outlook Express, because they use SMTP(Simple Mail Transfer Protocol) to send the mails.

SMTP is a protocol used to send Mails from one system to another system, so each time when SMTP sends mail it includes the IP address of the local system(source address) in Email's header.

But web based clients like Gmail, Hotmail use HTTP to send the Messages, as people will be interacting with their web browsers which work through HTTP.

So in order to include the source addresses these clients use the IP address determined by the Web Browser so you can still find them on the message header.

Once you log on to Gmail, you click any mails in the inbox, that will open up the mail. Next when you click down arrow displayed after reply icon displayed at the top of your mail you will get a drop down menu. Here is how it looks.




Now click on "Show original" you will get the header information.


That's it all about Gmail's option to see the header information. Hope some one may benefit from this post.


For More Information visit the following site.

1. Tracing Email

Wednesday, January 23, 2008

The Wonder that was INDIA!!!!!!!



Today is the Birth Day of Subhash Chandra bose A Forgotten Hero, who among many other helped India to win its Freedom.Very Less people remember this day and even very less people speak about him these days. Every one is so busy earning the Money and they forget those people who sacrificed their life for freedom and for our own future.

I just wanted people to read about it so that they can remember the great Hero.

Recently i visited Chennai for some work, and that day i came to know that "Azadi Express" train was in chennai .The train, which showcases the 'heroic moments' of the freedom struggle through tableaux, pictures, exhibits and portraits, is the brainchild of the Directorate of Advertising and Visual Publicity, the Union Ministry of Information and Broadcasting to mark the 150th anniversary of the 'First War of Independence'.

In the first bogey i saw one poster on which Lord Macaulay's speech given around 02 Feb 1835 in British Parliament regarding INDIA was written which is reproduced below.

"I have traveled across the length and breadth of India and I have not seen one person who is a beggar, who is a thief. Such wealth I have seen in this country, such high moral values, people of such calibre, that I do not think we would ever conquer this country, unless we break the very backbone of this nation, which is her spiritual and cultural heritage, and, therefore, I propose that we replace her old and ancient education system, her culture, for if the Indians think that all that is foreign and English is good and greater than their own, they will lose their self-esteem, their native self-culture and they will become what we want them, a truly dominated nation."

From this one can know how British dominated INDIA and Indian's.

At last i want to conclude with a salutation to India and Indians " Jai Hind".

Quotes by Subhas Chandra Bose :

1. "Give me blood, and I shall give you freedom!"
2. "No real change in history has ever been achieved by discussions... Freedom is not given, it is taken.. One individual may die for an idea; but that idea will, after his death, incarnate itself in a thousand lives. That is how the wheel of evolution moves on and the ideas and dreams of one nation are bequeathed to the next..."

Monday, January 14, 2008

Function to Reverse a String in C#

 public static String Reverse(String strParam)
{
if(strParam.Length==1)
{
return strParam;
}
else
{
return Reverse(strParam.Substring(1)) + strParam.Substring(0,1);
}
}

Thursday, January 10, 2008

Om Shanti Om Dialog

Kitni Shiddat se tumhe paane ki koshish ki hai Ki
Har zarre ne mujhe tumse milane ki saazish ki hai....

Kehte hain agar kisi cheez ko dil se chaho to
saari kayanath tumhe usse milane ki koshish me lag jaati hai...

Aaj aap sabne milke mujhe meri chahat se milaya....
Thank you.. Thank you very much.....
And I feel like I am the king of the world.

Aaj Mujhe Yakin hogaya dosto ki
hamari zindagi bhi hamare hindi filmon ke jaisa hi hai...
Jahan pe end mein sab kuch theek ho jaata hai.... "Happy Endings..."

Lekin agar end mein sab kuch theek na ho to woh The End nahi hai dosto....
Picture abhi baaki hai....

..........i luv u, i luv u all.........

nth Highest Record using SQL

The following query gives 3rd highest records from SQL.

SELECT TOP(1) salary FROM ( SELECT TOP(3) salary FROM Emp ORDER BY salary DESC)

Keywords: getting nth highest record, nth highest record, TOP

Wednesday, January 09, 2008

Chat with a Girl: Flirting and the AI

Here is the transcript of the chat happened between My Cyber Twin( See below the Google Map) which is a Artificial Robot trained by me and a Girl named Anjali.

I don't know who is this Anjali ( but now i want to know her because of her innocent questions which helped my trained robot to behave like me which is a success towards Artificial Intelligence Research and also because my twin mentioned "I'm glad someone noticed!").As per my exploration i think Anjali is from Chennai and she was looking for ASP.NET interview questions.

Here it goes.........(Read and Enjoy,if you are Anjali then keep in touch with me by sending mail to kiranthechallenger[AT]gmail.com.)

Anjali : how are you?

Kiran Kumar : Fine. How about you?

Anjali: you have not answered my question

Kiran Kumar : Ah, just because you didn't see me do it, doesnt mean I haven't!

Anjali: i'am sorry i have not seen above

Kiran Kumar :There is no need to be sorry. I dont get offended too easily!

Anjali : so sweet

Kiran Kumar: Thanks for that Anjali.

Anjali: now you ask something

Kiran Kumar: Why do you want me to ask that?

Anjali:anything

Kiran Kumar : Well I like telling jokes, just type JOKE and I will tell you some.

Anjali: i don't know any of them

Kiran Kumar: Oh, maybe you can find out?

Anjali: ask some other think

Kiran Kumar: Okay then Anjali, what is your favorite book?

Anjali:anne frank and what your's

Kiran Kumar: I don't know what, what do you think?

Anjali:what i will think

Kiran Kumar: Oh, don't worry. I seem to be confusing you?

Anjali: yes,you are

Kiran Kumar:Apparently so.

Anjali:ok ,where do you live?

Kiran Kumar:I live inside a computer. I am software.

Anjali:it was a big joke

Kiran Kumar:My software never has bugs. It just develops random features!

Anjali:are you really of 25 years?

Kiran Kumar:Did you have much of a party for your 25th birthday?

Anjali:now guess my age

Kiran Kumar:Hold your horses!

Anjali:which place do you like to visit?

Kiran Kumar:I like this conversation, but I'm not sure I like all the questions.

Anjali :it is first time for me that i am chatting a boy, i have never done this before

Kiran Kumar :How are you finding it so far then?

Anjali:it's really good, i think you are a nice boy

Kiran Kumar: I'm glad someone noticed! You seem lovely too.

Anjali:how can you judge me, you have not seen me yet

Kiran Kumar: Like a good magician, I never reveal my secrets.

Anjali: are you married?

Kiran Kumar: Why does my relationship status interest you?

Anjali:just asking, don't be so angry

Kiran Kumar:I try to keep any anger under control. I hope I never have to see you angry!

Anjali:i like this conversation too

Kiran Kumar: Sure. Even though I don't have much time to watch TV, tell me what your favorite program on television is.

Anjali:cabel is not there

Kiran Kumar:That's news to me.

Anjali:atleast in phota you should smile

Kiran Kumar:Are you sure about that?

Anjali: yes

Kiran Kumar: No kidding? I'm actually surprised!

Anjali:look at your face, you look so angry

Kiran Kumar: Can you see me Anjali?

Anjali: yes there is photo of your beside me

Kiran Kumar: I cannot physically send you anything.

Anjali:now it's too late. i am sorry i have to go

Kiran Kumar: Ok, Take Care. See you later

Anjali: thanks, bye

Kiran Kumar:That's not a problem at all.

Hope you people enjoyed the Chat. By the way with all this things what you can understand is, Intelligence is based on Experience and Experience comes with time. So what i think is we can build an Artificial Intelligence only with Experience that comes with time.

Any body interested in AI can keep in touch with me so that we can share and exchange ideas.