Thursday, November 09, 2006

Hasteraho !!!!

Anil
1. Sardar comes back 2 his car & finds a note saying "Parking Fine" He writes a note and sticks it 2 pole "Thanks 4 d complement"
2 .How do you recognize a Sardar in School? He is the one who erases the notes from the book when the teacher erases the board.
3. Once a Sardar was walking and had a glove on one hand and not on other so the man asked him why did he do so? He replied that the weather forecast announced that on one hand it would be cold and on the other hand it would be hot.
4. Sardarji bought a brand new Maruti and decided to drive down from Amritsar , where he lived, to Jalandar to meet his friend. He reached there in a few hours. After spending a few days there, he decided to return, and called up his mother to expect him in the evening. But he didn't reach in the evening and not the next day either. When he finally reached home on the third day, his distraught mother ran and asked
Arre Puttar, ki hoya?" The Sardarji got out, obviously very tired from a long journey, and said, "Oy, ye Marutti wale pagal hain, agge jaane
waaste chaar gear banaate hain, aur pichche jaane waaste sirf ik?"
5. Teacher: Can you tell me something about Raja Ram Mohan Roy?
Saradji: They were 4 best friends..! 6. Sardar to Shopkeeper: - Mujhe India Ka Flag Dikhao, Shopkeeper ne Flag Dikhaya, Sardar: - Isme aur Colour Dikhao.
7. How can a Sardar Kill a Lion? Sardarji thinks N thinks hard & comes to a conclusion: I'll drink poison n let lion eat me. O' bolo ta ra ra.
9. Sardar : Sitting on The Top of the Mountain and Studying.... When a Person asked what he was doing.... He replied... Oye!! Higher Studies Yaar...!!! 10. Sardar with a new mobile called everyone from his Phone Book & said "My MobileNo. has changed Earlier it was Nokia 3310 Now it is 6610"
11. Sardar falls in Love with Nurse. He writes a Love letter to her, " I LOVE U SISTER." 12. What is Common between: Krishna , Ram, Gandhi ji & Jesus..?
Sardarji Replied: All are born on Government Holidays.
13. Santa : That Cow is a Lovely Colour, Farmer : Yes, it's a Jersey
Santa: Oh, I thought it was its Skin...!!!
14. Sardar Son: O God! Please make New York the capital of Punjab.
Sardar: Why are you praying for that?
Sardar Son: That is what I have written in my exam.

Wednesday, November 01, 2006

FW:Be careful While Eating

Thursday, October 19, 2006

Outer<-----Join----->Inner

Anil
Blogging after a long time....
I find people often get confused (in fact me also) between all the join flavours.
Let me give you an example to see how it works but the syntax may vary depending on the database vendor this works for mysql.

Names
-------------------------
No | Name | Interests |
------------------------
1201 |Anil|jokes |
-------------------------
1220 |Ravi |kodi |
-------------------------
1209 |Lax |E.G.Dt.paper|
-------------------------
1209|Lax |kodi |
-------------------------
1220|Ravi |jokes |
-------------------------
1211|Pinak |G.F.'s |
-------------------------
1201|anil |Blogging |
-------------------------
1220|Ravi |Blogging |
-------------------------
1236|Ramana |Casino |
-------------------------
1238|Vineetha |Sliding colleges|
-------------------------------

contacts
------------------
No | city| |
------------------
1201 |Eluru City |
-------------------
1220 |Pakki |
-------------------
1209 |Modekurru |
-------------------
1211 |Mandapeta |
-------------------
8888 |Kandriga |
-------------------
5555 |Pulletikurru|
-------------------
1111 |Irusumanda |
-------------------

If I do a regular JOIN (with none of the keywords INNER, OUTER, LEFT or RIGHT), then I get all records that match in the appropriate way in the two tables,
and records in both incoming tables that do not match are not reported:
mysql>select name, interests,city from names join contacts on names.no = contacts.no

----- ----------------------------
No | | Name | Interests | city
----- -----------------------------
1201 |Anil |jokes | Eluru City
----- ------------------------------
1220 |Ravi |kodi | Pakki
----- ------------------------------
1209 |Lax |E.G.Dt.paper | Modekurru
----- ------------------------------
1209 |Lax |kodi | Modekurru
----- -------------------------------
1220 |Ravi |jokes | Pakki
----- ------------------------------
1211 |Pinak |Movies | Mandapeta
----- -----------------------------
1201 |anil |Blogging | Eluru City
----- ------------------------------
1220 |Ravi |Blogging | Pakki
----- -------------------------------

If I do a LEFT JOIN, I get all records that match in the same way and IN ADDITION I get an extra record for each unmatched record in the left table of the join - thus ensuring (in my example) that every PERSON gets a mention
mysql>select no,name, Interests,city from names left join contacts on names.no = contacts.no;

----- ----------------------------
No | | Name | Interests | city
----- -----------------------------
1201 |Anil |jokes | Eluru City
----- ------------------------------
1220 |Ravi |kodi | Pakki
----- ------------------------------
1209 |Lax |E.G.Dt.paper | Modekurru
----- ------------------------------
1209 |Lax |kodi | Modekurru
----- -------------------------------
1220 |Ravi |jokes | Pakki
----- ------------------------------
1211 |Pinak |Movies | Mandapeta
----- -----------------------------
1201 |anil |Blogging | Eluru City
----- ------------------------------
1220 |Ravi |Blogging | Pakki
----- ----------------------------------
1236|Ramana |Casino |NULL
-----------------------------------------
1238|Vineetha |Sliding colleges|NULL
----------------------------------------

If I do a RIGHT JOIN, I get all the records that match and IN ADDITION I get an extra record for each unmatched record in the right table of the join - im my example, that means that each property gets a mention
Observe 1236,1238 were not included in the set But 8888,5555,1111 are
mysql>select no,name, Interests,city from names right join contacts on names.no = contacts.no;

---------------------------------
No | | Name | Interests | city
----- -----------------------------
1201 |Anil |jokes | Eluru City
----- ------------------------------
1220 |Ravi |kodi | Pakki
----- ------------------------------
1209 |Lax |E.G.Dt.paper | Modekurru
----- ------------------------------
1209 |Lax |kodi | Modekurru
----- -------------------------------
1220 |Ravi |jokes | Pakki
----- ------------------------------
1211 |Pinak |Movies | Mandapeta
----- ------------------------------------
1201 |anil |Blogging | Eluru City
----- -------------------------------------
8888 |NULL |NULL | Kandriga
-------------------------------------------
5555 |NULL |NULL | Pulletikurru
----------------------------------------
1111 |NULL |NULL | Irusumanda
-------------------------------------------

An INNER JOIN does a full join, just like the first example, and the word OUTER may be added after the word LEFT or RIGHT in the last two examples - it's provided for ODBC compatability and doesn't add an extra capabilities.

Tuesday, September 26, 2006

Set of (poor) jokes!!

Anil
Q - In a pond there are 10 fish, one of them dies, and the water level of the pond increases. How?

A - The other 9 fish are crying.................

Once 5 CHIPKALIs (house lizards) : Phulwa, RaamPyaari,
RaamDulari,RaamPuri and RaamChuri were crawling on the wall when all of a sudden, Phulwa started to sing a song. The moment Phulwa stopped singing the song, RaamPyaari,RaamDulari, RaamPuri and RaamChuri
fell down from the wall !!!... WHY ???

coz, they all started clapping !!!!

What wud u call a Gal who never laughs....?
- ...and the Answer is..........
HASINA !!!!!

Whatz a PJ ?
Obviously "a poor joke"
Whatz a (P + i J)?
- A "complex poor joke"

Why don't people laugh on a "complex poor joke" ?
- Bcoz the joke part of it is imaginary

A railway station beggar meets another beggar.
A software engineer meets another software engineer.
Both of them ask the same question to each other.
What is the question?
"So, which platform are you working on?"

Question: Two hairs on a bald man's head fall in love with each other and want to get married, but cannot.
Why?
Ans: Because under Indian laws, "baal vivaah" is llegal

Friday, August 18, 2006

Google Finance: Ajax in real world

Anil
I was pleasantly surprised to see ajax in the real world. I am sure you have gone through stock search challenges in various finance portals... check out Google Finance simplified usability feature.

Yep... once again ajax. It won't be a exaggerating if i say... you just can't live without ajax these days -))

Will the web become the computing platform? Google Spreadsheets, Google Video, what next... Google Powerpoint, Google Office, Google Personal Database on the web... if you think outside the box...-))

Thursday, July 06, 2006

ఈ దొంగ శ్రీవేంకటేశుని చూసారా

Anil
సాక్షాత్ శ్రీవేంకటేశుని, శేషశయన విష్ణుమూర్తిని దూషించగలమా చెప్పండి..!? ఈ గోలేమిటంటున్నారా..!!!!! అయితే మీరు ఈటీవీ చూడరాండీ..!? చూస్తే, అందులో కాసెట్లమ్ముకునే ఎడ్వర్టైజ్‌మెంట్లు చూసేఉండాలే! చిరునవ్వుతో, బూరెబుగ్గలతో, అపార వినయ విధేయతల బరువువలన కొద్దిగా వంగిన వీపుతో, చిరుబొజ్జతో, ముద్దపప్పులా, మొద్దబ్బాయిలా, ఎం..థో సరళంగా కనిపించే ఈ వెంకటేశ్వర స్వామిని గాని లేదా విష్ణుమూర్తిని గాని చూసిఉండేవారే! ఆయన్ని చూస్తుంటే, నాకెందుకో ఈటీవీ అధినేత సుమన్ గుర్తొస్తూ ఉంటాడు. సుమన్ కు వెంకటేశ్వరుడికి ఇంత దగ్గరి పోలికలా..! లేక సుమనే వెంకటేశుడా..లేక సుమన్ భగవంతుడి పదకొండో అవతారమా..? ఏమో...!


ఇక్కడో చిన్న విషయం..ఎవరి మీద పాటలు రాసినా పరవాలేదు గానీ, రుద్రభూపతియైన శివుడిపై మాత్రం పాటలు రాయవద్దని "శ్రీమాన్ సుమన్ స్వామి"కి నా విజ్ఞప్తి. మొలకో చర్మం చుట్టుకుని, బూడిద పూసుకున్న సుమన్ని చూడలేమేమోనని నా ఉద్దేశ్యం, అంతే! మన వేడుకోలును ఆయన పట్టించుకోక (పట్టించుకుంటాడనే నమ్మకం నాకు లేదు. ఛానెలు ఆయనదే కదా. పైగా, అసలు చిక్కల్లా అదేనాయె) అలాంటిదే జరిగితే, ఆ కాసెట్టుకు ఎడ్వర్టైజ్‌మెంటు విడుదల చేసేలోపే, మొత్తం కాసెట్లన్నిటినీ కొని 'పారెయ్యడానికి' యావదాంధ్రదేశం సిద్ధంగా ఉండాలని పిలుపునిస్తున్నాను.

Friday, June 30, 2006

NewtonsLaws to the Software World

Law - 1. Every Software Engineer continues his state of chatting or forwarding mails unless he is assigned work by external unbalanced manager.

Law - 2. The rate of change in the software is directly proportional to the payment received from client and takes place at the quick rate as when deadline force is applied.

Law - 3. For every Use Case Manifestation there is an equal but opposite Software Implementation.

Bonus Law - 4. Bugs can neither be created nor be removed from software by a developer. It can only be converted from one form to another. The total number of bugs in the software always remains constant.