Experiences of an OpenSource developer.. "Everyday trying to get closer to the metal".
Thursday, June 13, 2013
What is exponential growth ?
According to legend, the game of chess was invented by the Brahmin Sissa to amuse and teach his king.
Asked by the grateful monarch what he wanted in return, the wise
man requested that the king to place one grain of rice in the first square of the chessboard, two in the second, four in the third, and so on, doubling the amount of rice up to the 64th square.
The king agreed on the spot, and as a result he was the first person to learn the valuable (albeit humbling) lesson of exponential growth.
Sissa’s request amounted to 264 −1 = 18,446,744,073,709,551,615 grains of rice, enough rice to pave all of India several times over !
Thursday, March 21, 2013
Monday, April 18, 2011
Optical slash Visual illusions
The horizontal lines are parallel, even if they seem otherwise.
Can u see black (not white) dots at the intersections?
The two orange circles are the same size.
Duck or Rabbit ?
This is a flower vase (or is it a two-silhouette profile?)
Are they spinning or not ?
Thursday, April 7, 2011
Windows Embarassing itself
If the GUI can embarass itself that much what about the things u dont see ?
And dont forget u will never get any where close to its Source Code...
ATM asking for Windows Activation
Micro$oft Windows not trusting Internet Explorer
Error Messages that tell it all
The logical conclusion
Windows Sucks
This is Linux land. In silent nights you can hear the Windows machines rebooting.
2.
The box said "Windows 98 or better" - so I installed Linux
3.
Macs are for those who don't want to know why their computer works.
Linux is for those who want to know why their computer works.
DOS is for those who want to know why their computer doesn't work.
Windows is for those who don't want to know why their computer doesn't work.
4.
# Mouse not present - click twice to continue...
# Who the fuck is General Failure ? And why is he reading my harddisk ?
10.
# McAfee-Question: Is Windows a virus ?
No, Windows is not a virus. Here's what viruses do:
1. They replicate quickly - okay, Windows does that.
2. Viruses use up valuable system resources, slowing down the system as they do so - okay, Windows does that.
3. Viruses will, from time to time, trash your hard disk - okay, Windows does that too.
4. Viruses are usually carried, unknown to the user, along with valuable programs and systems. Sigh... Windows does that, too.
5. Viruses will occasionally make the user suspect their system is too slow (see 2.) and the user will buy new hardware. Yup, that's with Windows, too.
Until now it seems Windows is a virus but there are fundamental differences:
Viruses are well supported by their authors, are running on most systems, their program code is fast, compact and efficient and they tend to become more sophisticated as they mature.
So Windows is not a virus. It's a bug.
Various Math + Software
When there are five people in the room and seven are leaving, two will have to enter the room, so that it becomes empty.
2. Why did the chicken cross the road?
Chickens at rest tend to stay at rest. Chickens in motion tend to cross the road.
3. Werner Heisenberg, Kurt Godel and Noam Chomsky walk into a bar.
Heisenberg looks around the bar and says, "Because there are three of us and because this is a bar, it must be a joke. But the question remains, is it funny or not?"
And Godel thinks for a moment and says, "Well, because we're inside the joke, we can't tell whether it's funny. We'd have to be outside looking at it."
And Chomsky looks at both of them and says, "Of course it's funny. You're just telling it wrong."
5.
# In C we had to code our own bugs. In C++ we can inherit them.
# C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to.
# Unix is user friendly. It's just very particular about who it's friends are.
4. Real software engineers...
* Real software engineers don't write applications programs, they implement algorithms.
* Real software engineers don't debug programs, they verify correctness.
* Real software engineers like C's structured constructs, but they are suspicious of it because they have heard that it lets you get "close to the machine."
* Real software engineers work from 9 to 5, because that is the way the job is described in the formal spec. Working late would feel like using an undocumented external procedure.
You Might Be a Physicist if...
*
the water in your kettle is boiling at 373 Kelvin.
*
you know that the speed of light is 299,792.5 km/sec.
*
you know the direction the water swirls when you flush.
*
you've already calculated how much you earn per second.
*
you are sure that differential equations are a very useful tool.
*
you are at an air show and know how fast the skydivers are falling.
*
you know the size of the elctron, but don't know your own shirt size.
*
when you break a vase you blame the second law of thermodynamics.
*
you try to explain entropy to strangers at your table during casual dinner conversation.
*
you avoid stirring your coffee because you don't want to increase the entropy of the universe.
*
your three year old son asks why the sky is blue and you try to explain atmospheric absorption theory.
*
you're at a wine tasting event and find yourself paying more attention to the cork screws than the Chardonnay.
*
you carry on a one-hour debate over the expected results of an experiment that actually takes five minutes to run.
Physics Product Safety Campain
WARNING: Due to its heavy mass, this product warps the space surrounding it. No health hazards are yet known to be associated with effect.
NOTE: This product may actually be nine-dimensional but, if this is the case, functionality is not affected by the extra six dimensions.
HEALTH WARNING: This product (and every product of the Manufacturer) emits low-level nuclear radiation.
NOTE: A subatomic "glue" holds the fundamental constituents of this product together. Since the exact nature of this glue is not yet fully understood, its adhesive power cannot be guaranteed. To date, no known malfunction of the product has resulted from glue failure.
DISCLAIMER: Manufacturer is not responsible for loss should this product disappear into a wormhole.
LIMITED WARRANTY: Despite the efforts of the Manufacturer, the chaos in this package has increased since being shipped. If such chaos has rendered the product defective, Buyer shall not hold Manufacturer responsible. Claims in this regard should be aimed directly at the Shipper.
NOTE: Despite its appearance, this product is more than 99.99% empty space.
READ THIS BEFORE OPENING: According to quantum theory, this product may collapse into another state if directly observed.
HANDLE WITH CARE: This product contains countless, minute, electrically charged particles moving at extremely high speeds.
EXTREME CAUTION: This product has an energy-equivalent that, if exploded, could destroy a small town. Under no circumstance shall a User perform a mass-energy transformation on any of the contents in this package. In case of misuse, liability shall rest entirely with the User.
GUARANTEED RETURN CLAUSE: Because of the uncertainty principle, we have shipped this product with a limited speed notice. However, if shippers have disregarded our notice, we cannot guarantee that all the contents are in the box. If you discover missing components, please call the 1-800 number on the instruction sheet.
IMPORTANT: This product is composed of 100% matter: It is the responsibility of the User to make sure that it does not come in contact with antimatter. Under no circumstances will the Manufacturer be liable for User mishandling in this regard.
QUALITY STANDARD: The electrons, protons and neutrons are guaranteed to be of same quality as those used in other products of the Manufacturer.
DISAPPEARANCE EXCLUSION: Due to quantum tunneling, there is an extremely tiny chance that this product may suddenly disappear at any time (and reappear elsewhere). The Manufacturer will not be responsible for such mysterious disappearances.
AS REQUIRED BY LAW, we must inform you that any use of this product increases the amount of disorder in the universe. As of the date shipped, Congress has not passed any bills assigning a tax on disorder pollution.
USE LIMITATION: This product cannot be guaranteed to function normally near a black hole.
Wednesday, November 28, 2007
More Jokes
A businessman enters a tavern, sits down at the bar, and orders a double martini on the rocks. After he finishes the drink, he peeks inside his shirt pocket, then orders the bartender to prepare another double martini. After he finishes that it, he again peeks inside his shirt pocket and orders the bartender to bring another double martini. The bartender says, "Look, buddy, I'll bring ya' martinis all night long - but you gotta tell me why you look inside your shirt pocket before you order a refill." The customer replies, "I'm peeking at a photo of my wife. When she starts to look good, I know it's time to go home."
2.
A guy walks into a bar and orders a drink. After a few more he needs to go to the can. He doesn't want anyone to steal his drink so he puts a sign on it saying, "I spat in this beer, do not drink!". After a few minutes he returns and there is another sign next to his beer saying, "So did I!"
3.
There was once a man who was in a bar, terribly drunk. The bartender noticed this, and when he asked for another beer, the bartender politely told him that he was too drunk to be served another drink. The man leaves. He walks in the side door and asks the bartender for a beer. A little frustrated, the bartender repeats the answer he said before. The man leaves. He then comes in the other side door, walks to the bartender and asks for a beer. The bartender is annoyed, and tells the man he is too drunk and to get a ride home and leave his bar. He leaves. He then comes in the BACK door, comes the the bartender, and before he can say a word, the bartender explodes at him. "I told you already, you are way too drunk, you can not have another beer! Get out of my bar!" Disgruntled, the man looks at the bartender and asks, "Man, how many bars do you work at?"
4.
A local United Way office realized that the organization had never received a donation from the town's most successful lawyer. The person in charge of contributions called him to persuade him to contribute.
"Our research shows that out of a yearly income of at least $700,000, you give not a penny to charity. Wouldn't you like to give back to the community in some way?"
The lawyer mulled this over for a moment and replied, "First, did your research also show that my mother is dying after a long illness, and has medical bills that are several times her annual income?"
Embarrassed, the United Way rep mumbled, "Um ... no."
The lawyer interrupts, "or that my brother, a disabled veteran, is blind and confined to a wheelchair?"
The stricken United Way rep began to stammer out an apology, but was interrupted again.
"or that my sister's husband died in a traffic accident," the lawyer's voice rising in indignation, "leaving her penniless with three children?!"
The humiliated United Way rep, completely beaten, said simply, "I had no idea..."
On a roll, the lawyer cut him off once again, "So if I don't give any money to them, why should I give any to you?"
5.
A pick pocket was up in court for a series of petty crimes. The judge said "Mr. Banks you are hereby fined $100." The lawyer stood up and said "Thanks, my lord, however my client only has $75 on him at this time, but if you'd allow him a few minutes in the crowd. . ."
6.
One day, there was this lawyer who had just bought a new car, and he was eager to show it off to his colleagues, when all of a sudden an eighteen wheeler came out of nowhere and took of the driver's side door with him standing right there. "NOOO!" he screamed, because he knew that no matter how good a mechanic tried to fix it, it never would be the same. Finally, a cop came by, and the lawyer ran up to him yelling. "MY JAGUAR DOOR WAS JUST RUINED BY SOME FOOLISH DRIVER!!!" he exclaimed. "Your a lawyer aren't you?" asked the policeman. "Yes, I am, but what does this have to do with my car?!?!" the lawyer asked. "HA! Your lawyers are always so materialistic. All you care about is your possessions. I bet you didn't even notice that your left arm is missing did you?" the cop said. The lawyer looked down at his side and exclaimed "MY ROLEX!"
7.
A lawyer defending a man accused of burglary tried this creative defense: "My client merely inserted his arm into the window and removed a few trifling articles. His arm is not himself, and I fail to see how you can punish the whole individual for an offence committed by his limb."
"Well put," the judge replied. "Using your logic, I sentence the defendant's arm to one year's imprisonment. He can accompany it or not, as he chooses." The defendant smiled. With his lawyer's assistance he detached his artificial limb, laid it on the bench, and walked out.
8.
An engineer dies and reports to the pearly gates. St. Peter checks his dossier and says, "Ah, you're an engineer -- you're in the wrong place." So the engineer reports to the gates of hell and is admitted. Pretty soon, the engineer gets dissatisfied with the level of comfort in hell, and, as is the wont for engineers, starts designing and building improvements. After a while, they've got air conditioning and flush toilets and escalators, and the engineer is a pretty popular guy. One day God calls Satan up on the telephone and asks, "So how's it going down there in hell?"
Satan replies, "Hey things are going great. We've got air conditioning, flushing toilets and working escalators, and there's no telling what an engineer is going to come up with next." God replies, "What You've got an engineer? That's a mistake -- he should never have gotten down there; send him up here." Satan says, "No way. I like having an engineer on the staff, and I'm keeping him." God says, "Send him back up here or I'll sue." Satan laughs uproariously and answers, "Yeah right. And just where are you going to get a lawyer?"
9.
A doctor and a lawyer were talking at a party. Their conversation was constantly interrupted by people describing their ailments and asking the doctor for free medical advice. After an hour of this, the exasperated doctor asked the lawyer, "What do you do to stop people from asking you for legal advice when you're out of the office?"
"I give it to them," replied the lawyer, "and then I send them a bill." The doctor was shocked, but agreed to give it a try. The next day, still feeling slightly guilty, the doctor prepared the bills. When he went to place them in his mailbox, he found a bill from the lawyer.
More Jokes
A guy walks into a bar and orders a drink. After a few more he needs to go to the can. He doesn't want anyone to steal his drink so he puts a sign on it saying, "I spat in this beer, do not drink!". After a few minutes he returns and there is another sign next to his beer saying, "So did I!"
There was once a man who was in a bar, terribly drunk. The bartender noticed this, and when he asked for another beer, the bartender politely told him that he was too drunk to be served another drink. The man leaves. He walks in the side door and asks the bartender for a beer. A little frustrated, the bartender repeats the answer he said before. The man leaves. He then comes in the other side door, walks to the bartender and asks for a beer. The bartender is annoyed, and tells the man he is too drunk and to get a ride home and leave his bar. He leaves. He then comes in the BACK door, comes the the bartender, and before he can say a word, the bartender explodes at him. "I told you already, you are way too drunk, you can not have another beer! Get out of my bar!" Disgruntled, the man looks at the bartender and asks, "Man, how many bars do you work at?"
A man that was drinking all day goes into a bar. He demands a beer and is denied. Yet he keeps asking the bartender. Finally the bartender grabs him and throws him out. Another man is walking by and the man who was thrown out stops him. He says hey I'll bet you 100 dollars that I'm Jesus Christ. The man walking by laughs at him and says make it 500 dollars and you got yourself a bet. The man claiming to be Jesus says come with me into this bar and I'll prove it. So they walk in and sit down at the bar. Suddenly the bartender comes from the back of the bar and sees the man he threw out. Angrily the bartender looks toward the man he just threw out and says Jesus Christ I told you to stay out of here. The man walking by looks amazed and pays the man his 500 dollars.
A local United Way office realized that the organization had never received a donation from the town's most successful lawyer. The person in charge of contributions called him to persuade him to contribute.
"Our research shows that out of a yearly income of at least $700,000, you give not a penny to charity. Wouldn't you like to give back to the community in some way?"
The lawyer mulled this over for a moment and replied, "First, did your research also show that my mother is dying after a long illness, and has medical bills that are several times her annual income?"
Embarrassed, the United Way rep mumbled, "Um ... no."
The lawyer interrupts, "or that my brother, a disabled veteran, is blind and confined to a wheelchair?"
The stricken United Way rep began to stammer out an apology, but was interrupted again.
"or that my sister's husband died in a traffic accident," the lawyer's voice rising in indignation, "leaving her penniless with three children?!"
The humiliated United Way rep, completely beaten, said simply, "I had no idea..."
On a roll, the lawyer cut him off once again, "So if I don't give any money to them, why should I give any to you?"
A pick pocket was up in court for a series of petty crimes. The judge said "Mr. Banks you are hereby fined $100." The lawyer stood up and said "Thanks, my lord, however my client only has $75 on him at this time, but if you'd allow him a few minutes in the crowd. . ."
One day, there was this lawyer who had just bought a new car, and he was eager to show it off to his colleagues, when all of a sudden an eighteen wheeler came out of nowhere and took of the driver's side door with him standing right there. "NOOO!" he screamed, because he knew that no matter how good a mechanic tried to fix it, it never would be the same. Finally, a cop came by, and the lawyer ran up to him yelling. "MY JAGUAR DOOR WAS JUST RUINED BY SOME FOOLISH DRIVER!!!" he exclaimed. "Your a lawyer aren't you?" asked the policeman. "Yes, I am, but what does this have to do with my car?!?!" the lawyer asked. "HA! Your lawyers are always so materialistic. All you care about is your possessions. I bet you didn't even notice that your left arm is missing did you?" the cop said. The lawyer looked down at his side and exclaimed "MY ROLEX!"
A lawyer defending a man accused of burglary tried this creative defense: "My client merely inserted his arm into the window and removed a few trifling articles. His arm is not himself, and I fail to see how you can punish the whole individual for an offence committed by his limb."
"Well put," the judge replied. "Using your logic, I sentence the defendant's arm to one year's imprisonment. He can accompany it or not, as he chooses." The defendant smiled. With his lawyer's assistance he detached his artificial limb, laid it on the bench, and walked out.
An engineer dies and reports to the pearly gates. St. Peter checks his dossier and says, "Ah, you're an engineer -- you're in the wrong place." So the engineer reports to the gates of hell and is admitted. Pretty soon, the engineer gets dissatisfied with the level of comfort in hell, and, as is the wont for engineers, starts designing and building improvements. After a while, they've got air conditioning and flush toilets and escalators, and the engineer is a pretty popular guy. One day God calls Satan up on the telephone and asks, "So how's it going down there in hell?"
Satan replies, "Hey things are going great. We've got air conditioning, flushing toilets and working escalators, and there's no telling what an engineer is going to come up with next." God replies, "What You've got an engineer? That's a mistake -- he should never have gotten down there; send him up here." Satan says, "No way. I like having an engineer on the staff, and I'm keeping him." God says, "Send him back up here or I'll sue." Satan laughs uproariously and answers, "Yeah right. And just where are you going to get a lawyer?"
A doctor and a lawyer were talking at a party. Their conversation was constantly interrupted by people describing their ailments and asking the doctor for free medical advice. After an hour of this, the exasperated doctor asked the lawyer, "What do you do to stop people from asking you for legal advice when you're out of the office?"
"I give it to them," replied the lawyer, "and then I send them a bill." The doctor was shocked, but agreed to give it a try. The next day, still feeling slightly guilty, the doctor prepared the bills. When he went to place them in his mailbox, he found a bill from the lawyer.
Wednesday, May 16, 2007
Short Jokes 1
Innkeeper: The room is $15. a night. It's $5 if you make your own bed.
Guest: I'll make my own bed.
Innkeeper: Good. I'll get you some nails and wood.
In the first year of marriage, the man speaks and the woman listens. In the second year, the woman speaks and the man listens. In the third year, they both speak and the neighbors listen.
Love thy neighbor all through the day... but first make sure her husband's away.
A guy asks his waiter how they prepare their chicken. The waiter says that there's nothin' special... we just flat out tell' em they're gonna die...
Two Doughnuts were baking in an oven. One Doughnut turns to the other and says, "Holy Shit it's hot in here!" The other doughnut says, "Holy Shit... A talking doughnut!"
A reporter was interviewing a 104 year-old woman: "And what do you think is the best thing about being 104?" She simply replied, "No peer pressure."
Wednesday, May 2, 2007
Drunk Twins
One sunny day in Nairobi, two men were sitting in a bar, drinking some Guinness, when one turns to the other and says "You see that man over there? He looks just like me! I think I'm gonna go over there and talk to him." So, he goes over to the man and taps him on the shoulder. "Excuse me sir," he starts, "but I noticed you look just like me!" The second man turns around and says "Yeah, I noticed the same thing, where you from?", "I'm from Langata", second man stunned says, "Me too! What Estate do you live in?", "Akiba", second man replies, "Me too! What house number is it?", the first man announces, "162", second man shocked says, "Me too! What are your parents names?", first man replies, "Johnstone and Sharon", second man awestruck says, "Mine too! This is unbelievable!"
So, they buy some more Guinness and they're talking some more when the bartenders change shifts. The new bartender comes in and goes up to the other bartender and asks "What's new today?" "Oh, the Johnstone twins are drunk again."
Alcoblow Trick
The police officer was waiting for him. He stopped the driver, read him his rights and administered the Alcoblow (Breathalyzer test). The results showed a reading of 0.0. The puzzled officer demanded to know how that could be. The driver replied, "Tonight, I'm the Designated Decoy."