Truth beind Engineering

When you’re working with TBs and PBs of data you get some serious realizations. Beautifully put forth in the penultimate slide of this presentation.

All engineering solutions are transient.

Nothing’s perfect but some solutions are good enough for a while.

Scalability solutions aren’t magic. They involve partitioning, indexing and replication.

All data for real-time queries MUST be in memory.

Disk is for writes only.

Some problems can be solved by pre-computation, but a lot can’t.

Exploit locality where possible.

Source

Funny SMS 1 – ADULT :P

All of us (guys) get a shit-load of funny SMSs everyday … me too … I just now start to accumulate them and post them here ..

Warning: ADULT Material to follow .. IF you have problem with adult content DO NOT read beyond this line ..

  • Light chale jaane pe logon ka reaction : U.K. – Oh No!, U.S.A. – What is this !, Pakistan – Batti Chali gayi & U.P. – Lo fir maiyya chudwa li is Mayawati ne .. !
  • Garmi aa chuki hai, kripya apni girlfrnd k bra me barf k tukde rakhiye, kyuki garmi me doodh fat sakta hai. Purush kalyan samiti ki taraf se janhit mein jaari
  • [TRUE ONE] 1 bacha paida hote hi nurse se poochta hai – LIGHT hai kya ?? ; Nurse: No ; Bacha: Oh Shit!!  fir se M.P. mein paida ho gaya .. :(
  • Mickey Mouse comes home and says to Minnie Mouse ” I want a divorce!”, Minnie Mouse: “Are u fucking crazy??!”; Mickey Mouse: ” No, these days I’m fucking Daisy !!”
  • Call girl to old man- “Uncle lund sidha chut mein daalo, neeche slip hoke gand mein jaa rha hai” ; Old man: “Jane de.. madarchod ki kismat mein hi goo khana likha hai”
  • “I luv walking in the rain bcoz nobdy knows I’m crying” is OLD now !!!, Now latest is ” I luv walking in the FOG bcoz no1 can find I’m SMOKING!!”
  • “Main India chhod ke jaa rha hun, Kyuki Katrina pregnant hai or log mujhpe shak kar rhe hain.. Tu bhi nikal le .. suna hai uski kaamwaali bhi pregnant hai .. airport pe milte hain ” :P
  • Arz kiya hai .. Mohabbat k naam pe saza maine payi hai…Gaur farmaiye.. Mohabbat k naam pe saza maine payi hai … baaki ka sher baad mein padhunga .. abhi zor se potty aayi hai :P
  • Sholay ki team ne IPL mein part liya.. Gabbar k bowlers ne 20 overs mein 250 run de diye jinme 200 extra run the … btao kyu ???????? ……………… Qki wicket keeper Thakur tha :D
  • Zindagi aapko muh se lekar gand tak sukh samriddhi de, Koi bhosdika aapki jhant ka baal na ukhad sake. Aap safalta ki aisi maa chodo ki khushiyo se aapki gand fat jaye ..
  • Dost mere ..marne k baad mera janaaza uski gali mein ghuma dena … Agar vo dikh jaye to ek baar mera nikaal k HILA DENA ..
  • “1 scientist BRA banana chahta tha jisme running krte hue girls ke boobs na hile aur bheegne par nipple na dikhe … .. Tension mat le bhai .. mar diya madarchod ko ”  .. :P

Disclaimer: Copy, paste and distribute … Everything Open Source :P

All Black’s HAKA

Some time back a friend of mine suggested me to see a video on Youtube. The video was about the All Black’s Haka. Any sports enthusiast and passionate person, like me :D , would love this holy ritual (if you call it so). This video which I provide in this post has subtitles and explains the Haka lyrics too. When I saw it for the first time, I could feel the intensity and the condition of the opposition team :D . No wonder why the Kiwis are the Best at Rugby.

10 reasons why your computer is better than your girlfriend

This one gives me hope :D

1.) She doesn’t talk back to you. At best she beeps or gives you the silent treatment.

2.) She provides you with more information than your girlfriend will ever know.

3.) When you upgrade you know the costs up front.

4.) You can stare at tons of other girls and your computer will never get mad at you.

5.) You can shut her down whenever you get tired of her.

6.) Troubleshooting your computer is much easier than your GF.

7.) Your computer holds many valuable bits of information about your past and still likes you.

8.) You can press your computers buttons without any worry of repercussions.

9.) Your computer won’t sleep with your best friend or cheat on you.

10.) Your computer will cost a lot less than any girlfriend!

Why some men prefer dogs over women

Got it from a blog.. worth sharing here :D

1. The later you are, the more excited your dogs are to see you.

2. Dogs don’t notice if you call them by another dog’s name.

3. Dogs like it if you leave a lot of things on the floor.

4. A dog’s parents never visit.

5. Dogs agree that you have to raise your voice to get your point across.

6. You never have to wait for a dog; they’re ready to go 24 hours a day.

7. Dogs find you amusing when you’re drunk.

8. Dogs like to go hunting and fishing.

9. A dog will not wake you up at night to ask, ‘If I died, would you get another dog?’

10. If a dog has babies, you can put an ad in the paper and give them away.

11. A dog will let you put a studded collar on it without calling you a pervert.

12. If a dog smells another dog on you, they don’t get mad. They just think it’s interesting.

13. Dogs like to ride in the back of a pickup truck.

And last, but not least:

14. If a dog leaves, it won’t take half of your stuff.

A Break

This is my 50th post on this blog :)

I’ve come a long way I guess :P , these 50 posts used up a lot of my time which is good coz I had a lot of it to waste :D . Anyways I see that this blog has more than 125 awesum programming and interview problems and now even my resources have kinda dried out .. so I’ll give the blog a break and get myself upto something else.. maybe I’ll start a new serial ( any suggestions are welcome :) ). I’ll be active towards the comments and feel free to ask for hints and solution confirmations. Also some of you have suggested to organize the blog, lemme see how much I can do in that regard :D .

I’ll try to get back soon..

Njoi

This is NOT the way to start ;)

Thankfully I got this pretty soon ;)

HE: I’m a photographer I’ve been looking for a face like yours!
SHE: I’m a plastic surgeon. I’ve been looking for a face like yours

HE: May I have the pleasure of this dance?
SHE: No, I’d like to have some pleasure too !

HE: How did you get to be so beautiful?
SHE: I must have been given your share !

HE: Will you come out with me this Saturday?
SHE: Sorry! I’m having a headache this weekend !

HE: Go on, don’t be shy. Ask me out!
SHE: Okay, get out!

HE: I think I could make you very happy
SHE: Why? Are you leaving?

HE: What would you say if I asked u to marry me?
SHE: Nothing. I can’t talk and laugh at the same time!

HE: Can I have your name?
SHE: Why, don’t you already have one?

HE: Shall we go and see a film?
SHE: I’ve already seen it!

HE: Do you think it was fate that brought us together?
SHE: Nah, it was plain bad luck !

HE: Where have you been all my life?
SHE: Hiding from you.

HE: Haven’t I seen you someplace before?
SHE: Yes, that’s why I don’t go there anymore.

HE: Is this seat empty?
SHE: Yes, and this one will be if you sit down .

HE: So, what do you do for a living?
SHE: I’m a female impersonator.

HE: Hey baby, what’s your sign?
SHE: Do not enter.

So, be aware next time when you go to any girl and try to impress her :)

100 Most Funny One-liners

Found these on a blog .. copied it down here :)

1 I asked God for a bike, but I know God doesn’t work that way. So I stole a bike and asked for forgiveness.
2 Do not argue with an idiot. He will drag you down to his level and beat you with experience.
3 I want to die peacefully in my sleep, like my grandfather.. Not screaming and yelling like the passengers in his car.
4 The last thing I want to do is hurt you. But it’s still on the list.
5 Sex is not the answer. Sex is the question. “Yes” is the answer.
6 Women might be able to fake orgasms. But men can fake a whole relationship.
7 We live in a society where pizza gets to your house before the police.
8 Having sex is like playing bridge. If you don’t have a good partner, you’d better have a good hand.
9 We never really grow up, we only learn how to act in public.
10 Men have two emotions: Hungry and Horny. If you see him without an erection, make him a sandwich.
11 Light travels faster than sound. This is why some people appear bright until you hear them speak.
12 War does not determine who is right – only who is left.
13 If I agreed with you we’d both be wrong.
14 The early bird might get the worm, but the second mouse gets the cheese.
15 Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
16 Children: You spend the first 2 years of their life teaching them to walk and talk. Then you spend the next 16 years telling them to sit down and shut-up.
17 If sex is a pain in the ass, then you’re doing it wrong…
18 Knowledge is knowing a tomato is a fruit; Wisdom is not putting it in a fruit salad.
19 Evening news is where they begin with ‘Good evening’, and then proceed to tell you why it isn’t.
20 A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station..
21 My mother never saw the irony in calling me a son-of-a-bitch.
22 I didn’t fight my way to the top of the food chain to be a vegetarian
23 If you think nobody cares if you’re alive, try missing a couple of payments.
24 I thought I wanted a career, turns out I just wanted paychecks.
25 If God is watching us, the least we can do is be entertaining.
26 Better to remain silent and be thought a fool, than to speak and remove all doubt.
27 If 4 out of 5 people SUFFER from diarrhea… does that mean that one enjoys it?
28 Some people are like Slinkies … not really good for anything, but you can’t help smiling when you see one tumble down the stairs.
29 How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?
30 Did you know that dolphins are so smart that within a few weeks of captivity, they can train people to stand on the very edge of the pool and throw them fish?
31 A bank is a place that will lend you money, if you can prove that you don’t need it.
32 Going to church doesn’t make you a Christian any more than standing in a garage makes you a car.
33 Never, under any circumstances, take a sleeping pill and a laxative on the same night.
34 To steal ideas from one person is plagiarism. To steal from many is research.
35 A computer once beat me at chess, but it was no match for me at kick boxing.
36 I saw a woman wearing a sweat shirt with “Guess” on it…so I said “Implants?”
37 Why does someone believe you when you say there are four billion stars, but check when you say the paint is wet?
38 A clear conscience is usually the sign of a bad memory.
39 The voices in my head may not be real, but they have some good ideas!
40 Good girls are bad girls that never get caught.
41 Women will never be equal to men until they can walk down the street with a bald head and a beer gut, and still think they are sexy.
42 Laugh at your problems, everybody else does.
43 The shinbone is a device for finding furniture in a dark room.
44 Whenever I fill out an application, in the part that says “If an emergency, notify:” I put “DOCTOR”. What’s my mother going to do?
45 He who smiles in a crisis has found someone to blame.
46 The main reason Santa is so jolly is because he knows where all the bad girls live.
47 I didn’t say it was your fault, I said I was blaming you.
48 Artificial intelligence is no match for natural stupidity.
49 God must love stupid people. He made SO many.
50 Behind every successful man is his woman. Behind the fall of a successful man is usually another woman.
51 The sole purpose of a child’s middle name, is so he can tell when he’s really in trouble.
52 Never get into fights with ugly people, they have nothing to lose.
53 Always borrow money from a pessimist. He won’t expect it back.
54 Never hit a man with glasses. Hit him with a baseball bat.
55 My opinions may have changed, but not the fact that I am right.
56 Some people say “If you can’t beat them, join them”. I say “If you can’t beat them, beat them”, because they will be expecting you to join them, so you will have the element of surprise.
57 Some cause happiness wherever they go. Others whenever they go.
58 It’s not the fall that kills you; it’s the sudden stop at the end.
59 Crowded elevators smell different to midgets.
60 Hospitality: making your guests feel like they’re at home, even if you wish they were.
61 You do not need a parachute to skydive. You only need a parachute to skydive twice.
62 Nostalgia isn’t what it used to be.
63 I discovered I scream the same way whether I’m about to be devoured by a great white shark or if a piece of seaweed touches my foot.
64 A bargain is something you don’t need at a price you can’t resist.
65 My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you’re ugly too.
66 I intend to live forever. So far, so good.
67 Money can’t buy happiness, but it sure makes misery easier to live with.
68 A diplomat is someone who can tell you to go to hell in such a way that you will look forward to the trip.
69 We have enough gun control. What we need is idiot control.
70 You’re never too old to learn something stupid.
71 I should’ve known it wasn’t going to work out between my ex-wife and me. After all, I’m a Libra and she’s a bitch.
72 A little boy asked his father, “Daddy, how much does it cost to get married?” Father replied, “I don’t know son, I’m still paying.”
73 With sufficient thrust, pigs fly just fine.
74 Women may not hit harder, but they hit lower.
75 Knowledge is power, and power corrupts. So study hard and be evil.
76 There’s a fine line between cuddling and holding someone down so they can’t get away.
77 I don’t trust anything that bleeds for five days and doesn’t die.
78 Worrying works! 90% of the things I worry about never happen.
79 Why do Americans choose from just two people to run for president and 50 for Miss America?
80 I always take life with a grain of salt, …plus a slice of lemon, …and a shot of tequila.
81 If at first you don’t succeed, skydiving is not for you!
82 I used to be indecisive. Now I’m not sure.
83 When in doubt, mumble.
84 I like work. It fascinates me. I sit and look at it for hours.
85 To be sure of hitting the target, shoot first and call whatever you hit the target.
86 Jesus loves you, but everyone else thinks you’re an asshole.
87 A bus is a vehicle that runs twice as fast when you are after it as when you are in it.
88 A TV can insult your intelligence, but nothing rubs it in like a computer.
89 Just remember…if the world didn’t suck, we’d all fall off.
90 I got in a fight one time with a really big guy, and he said, “I’m going to mop the floor with your face.” I said, “You’ll be sorry.” He said, “Oh, yeah? Why?” I said, “Well, you won’t be able to get into the corners very well.”
91 Some people hear voices.. Some see invisible people.. Others have no imagination whatsoever.
92 You are such a good friend that if we were on a sinking ship together and there was only one life jacket… I’d miss you heaps and think of you often.
93 When tempted to fight fire with fire, remember that the Fire Department usually uses water.
94 Hallmark Card: “I’m so miserable without you, it’s almost like you’re still here.”
95 Virginity is like a soapbubble, one prick and it is gone.
96 Change is inevitable, except from a vending machine.
97 If winning isn’t everything why do they keep score?
98 If you keep your feet firmly on the ground, you’ll have trouble putting on your pants.
99 If you are supposed to learn from your mistakes, why do some people have more than one child.
100 Whoever coined the phrase “Quiet as a mouse” has never stepped on one.

Have very less time to memorize all of them :P

Some Adult Pic Jokes

I was browsing through the pictures stored on my laptop and got hold of some of these interesting and hilarious adult pic jokes. I don’t mean any offence to the reader/viewers, I just happen to find them funny enough to share. Besides, I don’t think I have any female visitors, so it’s safe too :P .

I would strongly encourage you guys to also read the names of the image files they make the pics even more hilarious :P

If there happen to be any American/New Yorker passing by, would you please tell me why is this pic hilarious. I just couldn’t get the punch of it :(

Let me know if this was annoying or funny :)

Why did you take computer science

Funny things happen in life everyday. In my campus interview, the guy who was taking my technical interview was very impressed with me, so he promptly asked me Why did you take up Computer Science. I have already said it in an earlier post that sometimes our mind works too fast for us to believe it. Same thing happened to me after he asked that question, I tried to recall why did I take up computer science and after analysing my entire life and all my encounters with computers prior to my joining my college, I could not find one motivating instance which drove me crazy about computers. The only answer I could manage to think was because on my counseling date everybody around me was filling the Computer Science of the same college and even my dad asked me to do so. But this would not impress my interviewer, I figured, so I transformed the answer into I was interested in computers from childhood Actually I first saw a computer when I was in class 8th and touched it in class 10th and in 11th and 12th only heard music and saw movies on it. I even said I was always into mathematics and solving programming problems alongwith finding efficient solutions. This was somewhat true but I was never a problem solving person, in fact I hated mathematics and always scored the least in it. Besides, I have a strict policy Conserve the brain :) . I always used to say to my friends, ” .. yaar kuch bhi karunga par zindagi main computer science kabhi nhi padhunga.. kaisa boor subject hai yaar… aur sala bas computer k samne baithe rho …ch**tia ki tarah..“. But now I had to somehow make this guy to believe that I was born to be a programmer and that given a choice between a hottie and a laptop, I would die for a laptop. Funny na .. we find chameleons attractive and amazing in childhood but as we grow we develop into a chameleon ourselves. :) I was laughing inside while I gave that answer but I am a nice actor, I put up a good show and even he believed that I was made for computers and programming was my religion. Mission Successful.

Hope the one who interviewed me never visits this post :)

Follow

Get every new post delivered to your Inbox.

Join 111 other followers