On The Lighter Side...






Never Argue...

Never argue with an idiot. They drag you down to their level then beat you with experience.




Turkeys

A lady was picking through the frozen turkeys at the grocery store, but couldn't find one big enough for her family.

She asked a stock boy, "Do these turkeys get any bigger?"

The stock boy replied, . "No ma'am, they're dead."




Instructions

A farmer is giving his wife last-minute instructions before heading to town to do chores.

"That fellow from Sematol will be along this afternoon to inseminate one of the cows. I've hung a nail by the right stall so you'll know which one I want him to impregnate."

Satisfied that his wife could understand the instructions, the farmer left for town.

That afternoon, the 'Inseminator' arrives, and the wife dutifully takes him out to the barn and directly to the stall with the nail.

"This is the cow right here," she tells him.

"What's the nail for?" the guy asks.

She replies, "I guess it's to hang up your pants."




Ghost

Two men were walking home after a party and decided to take a shortcut through the cemetery just for laughs.

Right in the middle of the cemetery they were startled by a tap-tap-tapping noise coming from the misty shadows. Trembling with fear, they found an old man with a hammer and chisel, chipping away at one of the headstones.

"Holy cow, Mister," one of them said after catching his breath, "You scared us half to death -- we thought you were a ghost! What are you doing working here so late at night?"

"Those fools!" the old man grumbled. "They misspelled myname!"




Who am I?

It was the final examination for an introductory English course at the local university. The examination was two hours long, and exam booklets were provided. The professor was very strict and told the class that any exam that was not on his desk in exactly two hours would not be accepted and the student would fail.

A half hour into the exam, a student came rushing in and asked the professor for an exam booklet.

"You're not going to have time to finish this," the professor stated sarcastically as he handed the student a booklet.

"Yes I will," replied the student. He then took a seat and began writing.

After two hours, the professor called for the exams, and the students filed up and handed them in. All except the late student, who continued writing.

A half hour later, the last student came up to the professor who was sitting at his desk preparing for his next class. He attempted to put his exam on the stack of exam booklets already there.

"No you don't, I'm not going to accept that. It's late."

The student looked incredulous and angry. "Do you know WHO I am?", he asked?

"No, as a matter of fact I don't," replied the professor.

"DO YOU KNOW WHO I AM?" the student asked again.

"No, and I don't care!" replied the professor with an air of superiority.

"Good," replied the student, who quickly lifted the stack of completed exams, stuffed his in the middle, and walked out of the room.




Wizard of Oz

Long after Dorothy, Toto and the rest of the gang left the land of Oz, Good Witch Glenda of the North was horribly bored. She spent her days just
floating around in her little bubble gazing at the land of Oz, hoping for someone to help or inspire.

One day, while floating around in her bubble, she passed over a pond and saw a lonely little yellow toad perched on a lilly pad. He looked extremely depressed... She floated down to the toad and asked him what could be the matter.

"Oh Good Witch Glenda, you are right. I AM horribly depressed. I am completely colored yellow, whereas all the other little toads in the pond are green. Won't you please help me?"

Mustering up all of her kind heartedness and good will, she waved her magic wand over the toad, and his color changed to green. That is, all except his 'private parts.' They remained bright yellow.

"Good Witch Glenda! Thank you so much, but my lower extremities! They're still yellow, while the rest of me is green!"

"Oh, I'm sorry, dear little toad. My powers are strong, but apparently not strong enough. The only person who may be able to help you might be the Wizard, the Wizard of Oz."

So, in hopeful anticipation, he began hopping off toward the castle, where the Wizard of Oz resided...

Glenda the Good Witch continued her surveillance of the land of Oz, floating around in her bubble. As she was passing over a pasture, she looked down to spot a pink elephant who looked horribly depressed. She floated down to the elephant and asked him what could be the matter.

"Oh, Good Witch Glenda, you are right. I AM horribly depressed. I am completely colored pink, whereas all the other elephants in the pasture are gray. Won't you please help me?"

Mustering up all of her kind heartedness and good will, she waved her magic wand over the elephant, and his color changed to gray... That is, all except his 'private parts.' They remained cheerfully pink.

"Good Witch Glenda! Thank you so much, but my lower extremities! They're so pink while the rest of me is gray!"

"Oh, I'm sorry, dear elephant. My powers are strong, but apparently not strong enough. The only person who may be able to help you might be the Wizard, the powerful Wizard of Oz."

"Well, that's fine and dandy, but where may I find this fabled 'Wizard of Oz?"... and Glenda, The Good Witch said:

"Just follow the yellow-pricked toad!"




Best Come - Back


A defense attorney was cross-examining a police officer during a felony trial -it went like this:

Q. Officer, did you see my client fleeing the scene?
A. No sir, but I subsequently observed a person matching the description of the offender running several blocks away.

Q. Officer, who provided this description?
A. The officer who responded to the scene.

Q. A fellow officer provided the description of this so- called offender. Do you trust your fellow officers?
A. Yes sir, with my life.

Q. With your life? Let me ask you this then officer - do you have a locker room in the police station - a room where you change your clothes in preparation for your daily duties?
A. Yes sir, we do.

Q. And do you have a locker in that room?
A. Yes sir, I do.

Q. And do you have a lock on your locker?
A. Yes sir.

Q. Now why is it, officer, if you trust your fellow officers with your life, that you find it necessary to lock your locker in a room you share with those same officers?
A. You see sir, we share the building with a court complex, and sometimes lawyers have been known to walk through that room.

With that, the courtroom erupted in laughter, and a prompt recess was called.
The officer on the stand has been nominated for this year's "Best come-back" line and we think he'll win.




Real Tech Support Calls


At 3:37 a.m. on a Sunday, I had just looked at the clock to determine my
annoyance level, when I received a frantic phone call from a new user of
a Macintosh Plus. She got her entire family out of the house and was
calling from her neighbor's. She had just received her first system
error and interpreted the picture of the bomb on the screen as a warning
that the computer was going to blow up.

-------------------

Tech Support: "I need you to right-click on the Open Desktop."
Customer: "OK."
Tech Support: "Did you get a pop-up menu?"
Customer: "No."
Tech Support: "OK. Right click again. Do you see a pop-up menu?"
Customer: "No."
Tech Support: "OK, sir. Can you tell me what you have done up until this
point?"
Customer: "Sure, you told me to write 'click' and I wrote 'click'." (At
this point I had to put the caller on hold to tell the rest of the tech
support staff what had happened. I couldn't, however, stop from giggling
when I got back to the call.)
Tech Support: "OK, did you type 'click' with the keyboard?"
Customer: "I have done something dumb, right?"

-------------------

One woman called Dell's toll-free line to ask how to install the batteries
in her laptop. When told that the directions were on the first page of the
manual the woman replied angrily, "I just paid $2,000 for this dang thing,
and I'm not going to read the book."

-------------------

Customer: "I received the software update you sent, but I am still getting
the same error message."
Tech Support: "Did you install the update?"
Customer: "No. Oh, am I supposed to install it to get it to work?"

-------------------

Customer: "I'm having trouble installing Microsoft Word."
Tech Support: "Tell me what you've done."
Customer: "I typed 'A:SETUP'."
Tech Support: "Ma'am, remove the disk and tell me what it says."
Customer: "It says '[PC manufacturer] Restore and Recovery disk'."
Tech Support: "Insert the MS Word setup disk."
Customer: "What?"
Tech Support: "Did you buy MS word?"
Customer "No..."

-------------------

Tech Support: "OK, in the bottom left hand side of the screen, can you
see the 'OK' button displayed?"
Customer: "Wow. How can you see my screen from there?"

-------------------

Customer: "Uhh...I need help unpacking my new PC."
Tech Support: "What exactly is the problem?"
Customer: "I can't open the box."
Tech Support: "Well, I'd remove the tape holding the box closed and go
from there."
Customer: "Uhhhh...ok, thanks...."

-------------------

Customer: "I'm having a problem installing your software. I've got a
fairly old computer, and when I type 'INSTALL', all it says is 'Bad
command or file name'."
Tech Support: "OK, check the directory of the A: drive-go to A:\and
type 'dir'."
Customer reads off a list of file names, including 'INSTALL.EXE'.
Tech Support: "All right, the correct file is there. Type 'INSTALL'
again."
Customer: "OK." (pause) "Still says 'Bad command or file name'."
Tech Support: "Hmmm. The file's there in the correct place, it can't
help but do something. Are you sure you're typing I-N-S-T-A-L-L and
hitting the Enter key?"
Customer: "Yes, let me try it again." (pause) "Nope, still 'Bad command
or file name'."
Tech Support: (now really confused) "Are you sure you're typing
I-N-S-T-A-L-L and hitting the key that says 'Enter'?"
Customer: "Well, yeah. Although my 'N' key is stuck, so I'm using the
'M' key...does that matter?

-------------------

At our company we have asset numbers on the front of everything. They
give the location, name, and everything else just by scanning the
computer's asset barcode or using the number beneath the bars.
Customer: "Hello. I can't get on the network."
Tech Support: "OK. Just read me your asset number so we can open an outage."
Customer: "What is that?"
Tech Support: "That little barcode on the front of your computer."
Customer: "OK. Big bar, little bar, big bar, big bar . . .

-------------------

And the best for last!!!!

Customer: "I got this problem. You people sent me this install disk, and
now my A: drive won't work."
Tech Support: "Your A drive won't work?"
Customer: "That's what I said. You sent me a bad disk, it got stuck in
my drive, now it won't work at all."
Tech Support: "Did it not install properly? What kind of error messages
did you get?"
Customer: "I didn't get any error message. The disk got stuck in the
drive and wouldn't come out. So I got these pliers and tried to get it
out. That didn't work either."
Tech Support: "You did what, sir?"
Customer: "I got these pliers, and tried to get the disk out, but it
wouldn't budge. I just ended up cracking the plastic stuff a bit."
Tech Support: "I don't understand sir, did you push the eject button?"
Customer: "No. So then I got a stick of butter and melted it and used a
turkey baster and put the butter in the drive, around the disk, and that
got it loose. Then I used the pliers and it came out fine. I can't
believe you would send me a disk that was broke and defective."
Tech Support: "Let me get this clear. You put melted butter in your A:
drive and used pliers to pull the disk out?"
At this point, I put the call on the speaker phone and motioned at the
other techs to listen in.
Tech Support: "Just so I am absolutely clear on this, can you repeat
what you just said?"
Customer: "I said I put butter in my A: drive to get your stupid disk
out, then I had to use pliers to pull it out."
Tech Support: "Did you push that little button that was sticking out
when the disk was in the drive, you know, the thing called the disk
eject button?"
Silence.
Tech Support: "Sir?"
Customer: "Yes."
Tech Support: "Sir, did you push the eject button?"
Customer: "No, but you people are going to fix my computer, or I am
going to sue you for breaking my computer?"
Tech Support: "Let me get this straight. You are going to sue our
company because you put the disk in the A: drive, didn't follow the
instructions we sent you, didn't actually seek professional advice,
didn't consult your user's manual on how to use your computer properly,
instead proceeding to pour butter into the drive and physically rip the
disk out?"
Customer: "Ummmm."
Tech Support: "Do you really think you stand a chance, since we do
record every call and have it on tape?"
Customer: (now rather humbled) "But you're supposed to help!"
Tech Support: "I am sorry sir, but there is nothing we can do for you.
Have a nice day."




The Tao Of Programming

Translated By Geoffrey James Transcribed By Seth Robertson

Table of Contents

Book 1 -- The Silent Void

Book 2 -- The Ancient Masters

Book 3 -- Design

Book 4 -- Coding

Book 5 -- Maintenance

Book 6 -- Management

Book 7 -- Corporate Wisdom

Book 8 -- Hardware and Software

Book 9 -- Epilogue

The Silent Void
Book One

Thus spake the master programmer:

"When you have learned to snatch the error code from the trap frame, it will be time for you to leave."

1.1

Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming.

If the Tao is great, then the operating system is great. If the operating system is great, then the compiler is great. If the compiler is greater, then the applications is great. The user is pleased and there is harmony in the world.

The Tao of Programming flows far away and returns on the wind of morning.

1.2

The Tao gave birth to machine language. Machine language gave birth to the assembler.

The assembler gave birth to the compiler. Now there are ten thousand languages.

Each language has its purpose, however humble. Each language expresses the Yin and Yang of software. Each language has its place within the Tao.

But do not program in COBOL if you can avoid it.

1.3

In the beginning was the Tao. The Tao gave birth to Space and Time. Therefore, Space and Time are the Yin and Yang of programming.

Programmers that do not comprehend the Tao are always running out of time and space for their programs. Programmers that comprehend the Tao always have enough time and space to accomplish their goals.

How could it be otherwise?

1.4

The wise programmer is told about the Tao and follows it. The average programmer is told about the Tao and searches for it. The foolish programmer is told about the Tao and laughs at it.

If it were not for laughter, there would be no Tao.

The highest sounds are the hardest to hear. Going forward is a way to retreat. Greater talent shows itself late in life. Even a perfect program still has bugs.

The Ancient Masters
Book Two

Thus spake the master programmer:

"After three days without programming, life becomes meaningless."

2.1

The programmers of old were mysterious and profound. We cannot fathom their thoughts, so all we do is describe their appearance.

Aware, like a fox crossing the water. Alert, like a general on the battlefield. Kind, like a hostess greeting her guests. Simple, like uncarved blocks of wood. Opaque, like black pools in darkened caves.

Who can tell the secrets of their hearts and minds?

The answer exists only in the Tao.

2.2

Grand Master Turing once dreamed that he was a machine. When he awoke he exclaimed:

"I don't know whether I am Turing dreaming that I am a machine, or a machine dreaming that I am Turing!"

2.3

A programmer from a very large computer company went to a software conference and then returned to report to his manager, saying: "What sort of programmers work for other companies? They behaved badly and were unconcerned with appearances. Their hair was long and unkempt and their clothes were wrinkled and old. They crashed out hospitality suites and they made rude noises during my presentation."

The manager said: "I should have never sent you to the conference. Those programmers live beyond the physical world. They consider life absurd, an accidental coincidence. They come and go without knowing limitations. Without a care, they live only for their programs. Why should they bother with social conventions?"

"They are alive within the Tao."

2.4

A novice asked the Master: "Here is a programmer that never designs, documents, or tests his programs. Yet all who know him consider him one of the best programmers in the world. Why is this?" The Master replies: "That programmer has mastered the Tao. He has gone beyond the need for design; he does not become angry when the system crashes, but accepts the universe without concern. He has gone beyond the need for documentation; he no longer cares if anyone else sees his code. He has gone beyond the need for testing; each of his programs are perfect within themselves, serene and elegant, their purpose self-evident. Truly, he has entered the mystery of the Tao."

Design
Book Three

Thus spake the master programmer:

"When program is being tested, it is too late to make design changes."

3.1

There once was a man who went to a computer trade show. Each day as he entered, the man told the guard at the door:

"I am a great thief, renowned for my feats of shoplifting. Be forewarned, for this trade show shall not escape unplundered."

This speech disturbed the guard greatly, because there were millions of dollars of computer equipment inside, so he watched the man carefully. But the man merely wandered from booth to booth, humming quietly to himself. When the man left, the guard took him aside and searched his clothes, but nothing was to be found.

On the next day of the trade show, the man returned and chided the guard saying: "I escaped with a vast booty yesterday, but today will be even better." So the guard watched him ever more closely, but to no avail.

On the final day of the trade show, the guard could restrain his curiosity no longer. "Sir Thief," he said, "I am so perplexed, I cannot live in peace. Please enlighten me. What is it that you are stealing?"

The man smiled. "I am stealing ideas," he said.

3.2

There once was a master programmer who wrote unstructured programs. A novice programmer, seeking to imitate him, also began to write unstructured programs. When the novice asked the master to evaluate his progress, the master criticized him for writing unstructured programs, saying: "What is appropriate for the master is not appropriate for the novice. You must understand the Tao before transcending structure."

3.3

There was once a programmer who was attached to the court of the warlord of Wu. The warlord asked the programmer: "Which is easier to design: an accounting package or an operating system?"

"An operating system," replied the programmer.

The warlord uttered an exclamation of disbelief. "Surely an accounting package is trivial next to the complexity of an operating system," he said.

"Not so," said the programmer, "when designing an accounting package, the programmer operates as a mediator between people having different ideas: how it must operate, how its reports must appear, and how it must conform to the tax laws. By contrast, an operating system is not limited my outside appearances. When designing an operating system, the programmer seeks the simplest harmony between machine and ideas. This is why an operating system is easier to design."

The warlord of Wu nodded and smiled. "That is all good and well, but which is easier to debug?"

The programmer made no reply.

3.4

A manager went to the master programmer and showed him the requirements document for a new application. The manager asked the master: "How long will it take to design this system if I assign five programmers to it?"

"It will take one year," said the master promptly.

"But we need this system immediately or even sooner! How long will it take it I assign ten programmers to it?"

The master programmer frowned. "In that case, it will take two years."

"And what if I assign a hundred programmers to it?"

The master programmer shrugged. "Then the design will never be completed," he said.

Coding
Book Four

Thus spake the master programmer:

"A well-written program is its own heaven; a poorly-written program is its own hell."

4.1

A program should be light and agile, its subroutines connected like a strings of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little nor too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity.

A program should follow the 'Law of Least Astonishment'. What is this law? It is simply that the program should always respond to the user in the way that astonishes him least.

A program, no matter how complex, should act as a single unit. The program should be directed by the logic within rather than by outward appearances.

If the program fails in these requirements, it will be in a state of disorder and confusion. The only way to correct this is to rewrite the program.

4.2

A novice asked the master: "I have a program that sometimes runs and sometimes aborts. I have followed the rules of programming, yet I am totally baffled. What is the reason for this?"

The master replied: "You are confused because you do not understand the Tao. Only a fool expects rational behavior from his fellow humans. Why do you expect it from a machine that humans have constructed? Computers simulate determinism; only the Tao is perfect.

The rules of programming are transitory; only the Tao is eternal. Therefore you must contemplate the Tao before you receive enlightenment."

"But how will I know when I have received enlightenment?" asked the novice.

"Your program will then run correctly," replied the master.

4.3

A master was explaining the nature of the Tao to one of his novices, "The Tao is embodied in all software -- regardless of how insignificant," said the master.

"Is the Tao in a hand-held calculator?" asked the novice.

"It is," came the reply.

"Is the Tao in a video game?" continued the novice.

"It is even in a video game," said the master.

"And is the Tao in the DOS for a personal computer?"

The master coughed and shifted his position slightly. "The lesson is over for today," he said.

4.4

Price Wang's programmer was coding software. His fingers danced upon the keyboard. The program compiled without an error message, and the program ran like a gentle wind.

Excellent!" the Price exclaimed, "Your technique is faultless!"

"Technique?" said the programmer, turning from his terminal, "What I follow is the Tao -- beyond all technique. When I first began to program I would see before me the whole program in one mass. After three years I no longer saw this mass. Instead, I used subroutines. But now I see nothing. My whole being exists in a formless void. My senses are idle. My spirit, free to work without a plan, follows its own instinct. In short, my program writes itself. True, sometimes there are difficult problems. I see them coming, I slow down, I watch silently. Then I change a single line of code and the difficulties vanish like puffs of idle smoke. I then compile the program. I sit still and let the joy of the work fill my being. I close my eyes for a moment and then log off."

Price Wang said, "Would that all of my programmers were as wise!"

Maintenance
Book Five

Thus spake the master programmer:

"Though a program be but three lines long, someday it will have to be maintained."

5.1

A well-used door needs no oil on its hinges. A swift-flowing steam does no grow stagnant. Neither sound nor thoughts can travel through a vacuum. Software rots if not used.

These are great mysteries.

5.2

A manager asked a programmer how long it would take him to finish the program on which he was working. "I will be finished tomorrow," the programmer promptly replied.

"I think you are being unrealistic," said the manager. "Truthfully, how long will it take?"

The programmer thought for a moment. "I have some features that I wish to add. This will take at least two weeks," he finally said.

"Even that is too much to expect," insisted the manager, "I will be satisfied if you simply tell me when the program is complete."

The programmer agreed to this.

Several years slated, the manager retired. On the way to his retirement lunch, he discovered the programmer asleep at his terminal. He had been programming all night.

5.3

A novice programmer was once assigned to code a simple financial package.

The novice worked furiously for many days, but when his master reviewed his program, he discovered that it contained a screen editor, a set of generalized graphics routines, and artificial intelligence interface, but not the slightest mention of anything financial.

When the master asked about this, the novice became indignant. "Don't be so impatient," he said, "I'll put the financial stuff in eventually."

5.4

Does a good farmer neglect a crop he has planted? Does a good teacher overlook even the most humble student? Does a good father allow a single child to starve? Does a good programmer refuse to maintain his code?

Management
Book Six

Thus spake the master programmer:

"Let the programmer be many and the managers few -- then all will be
productive."

6.1

When managers hold endless meetings, the programmers write games. When accountants talk of quarterly profits, the development budget is about to be cut. When senior scientists talk blue sky, the clouds are about to roll
in.

Truly, this is not the Tao of Programming.

When managers make commitments, game programs are ignored. When accountants make long-range plans, harmony and order are about to be restored. When senior scientists address the problems at hand, the problems will soon be solved.

Truly, this is the Tao of Programming.

6.2



Why are programmers non-productive? Because their time is wasted in meetings.

Why are programmers rebellious? Because the management interferes too much.

Why are the programmers resigning one by one? Because they are burnt out. Having worked for poor management, they no longer value their jobs.

6.3

A manager was about to be fired, but a programmer who worked for him invented a new program that became popular and sold well. As a result, the manager retained his job.

The manager tried to give the programmer a bonus, but the programmer refused it, saying, "I wrote the program because I though it was an interesting concept, and thus I expect no reward."

The manager, upon hearing this, remarked, "This programmer, though he holds a position of small esteem, understands well the proper duty of an employee. Lets promote him to the exalted position of management consultant!"

But when told this, the programmer once more refused, saying, "I exist so that I can program. If I were promoted, I would do nothing but waste everyone's time. Can I go now? I have a program that I'm working one."

6.4

A manager went to his programmers and told them: "As regards to your work hours: you are going to have to come in at nine in the morning and leave at five in the afternoon." At this, all of them became angry and several resigned on the spot.

So the manager said: "All right, in that case you may set your own working hours, as long as you finish your projects on schedule." The programmers, now satisfied, began to come in a noon and work to the wee hours of the morning.

Corporate Wisdom
Book Seven

Thus spake the master programmer:

"You can demonstrate a program for a corporate executive, but you can't make him computer literate."

7.1

A novice asked the master: "In the east there is a great tree-structure that men call 'Corporate Headquarters'. It is bloated out of shape with vice-presidents and accountants. It issues a multitude of memos, each saying 'Go, Hence!' or 'Go, Hither!' and nobody knows what is meant. Every year new names are put onto the branches, but all to no avail. How can such an unnatural entity exist?"

The master replies: "You perceive this immense structure and are disturbed that it has no rational purpose. Can you not take amusement from its endless gyrations? Do you not enjoy the untroubled ease of programming beneath its sheltering branches? Why are you bothered by its uselessness?"

7.2

In the east there is a shark which is larger than all other fish. It changes into a bird whose winds are like clouds filling the sky. When this bird moves across the land, it brings a message from Corporate
Headquarters. This message it drops into the midst of the programmers, like a seagull making its mark upon the beach. Then the bird mounts on the wind and, with the blue sky at its back, returns home.

The novice programmer stares in wonder at the bird, for he understands it not. The average programmer dreads the coming of the bird, for he fears its message. The master programmer continues to work at his terminal, for he does not know that the bird has come and gone.

7.3

The Magician of the Ivory Tower brought his latest invention for the master programmer to examine. The magician wheeled a large black box into the master's office while the master waited in silence.

"This is an integrated, distributed, general-purpose workstation," began the magician, "ergonomically designed with a proprietary operating system, sixth generation languages, and multiple state of the art user interfaces. It took my assistants several hundred man years to construct. Is it not amazing?"

The master raised his eyebrows slightly. "It is indeed amazing," he said.

"Corporate Headquarters has commanded," continued the magician, "that everyone use this workstation as a platform for new programs. Do you agree to this?"

"Certainly," replied the master, "I will have it transported to the data center immediately!" And the magician returned to his tower, well pleased.

Several days later, a novice wandered into the office of the master programmer and said, "I cannot find the listing for my new program. Do you know where it might be?"

"Yes," replied the master, "the listings are stacked on the platform in the data center."

7.4

The master programmer moves from program to program without fear. No change in management can harm him. He will not be fired, even if the project is canceled. Why is this? He is filled with the Tao.

Hardware and Software
Book Eight

Thus spake the master programmer:

"Without the wind, the grass does not move. Without software, hardware is useless."

8.1

A novice asked the master: "I perceive that one computer company is much larger than all others. It towers above its competition like a giant among dwarfs. Any one of its divisions could comprise an entire business. Why is this so?"

The master replied, "Why do you ask such foolish questions? That company is large because it is so large. If it only made hardware, nobody would buy it. If it only maintained systems, people would treat it like a servant. But because it combines all of these things, people think it one of the gods! By not seeking to strive, it conquers without effort."

8.2

A master programmer passed a novice programmer one day. The master noted the novice's preoccupation with a hand-held computer game. "Excuse me", he said, "may I examine it?"

The novice bolted to attention and handed the device to the master. "I see that the device claims to have three levels of play: Easy, Medium, and Hard", said the master. "Yet every such device has another level of play, where the device seeks not to conquer the human, nor to be conquered by the human."

"Pray, great master," implored the novice, "how does one find this mysterious setting?"

The master dropped the device to the ground and crushed it under foot. And suddenly the novice was enlightened.

8.3

There was once a programmer who worked upon microprocessors. "Look at how well off I am here," he said to a mainframe programmer who came to visit, "I have my own operating system and file storage device. I do not have to share my resources with anyone. The software is self-consistent and easy-to-use. Why do you not quit your present job and join me here?"

The mainframe programmer then began to describe his system to his friend, saying: "The mainframe sits like an ancient sage meditating in the midst of the data center. Its disk drives lie end-to-end like a great ocean of machinery. The software is a multi-faceted as a diamond and as convoluted as a primeval jungle. The programs, each unique, move through the system like a swift-flowing river. That is why I am happy where I am."

The microcomputer programmer, upon hearing this, fell silent. But the two programmers remained friends until the end of their days.

8.4

Hardware met Software on the road to Changtse. Software said: "You are the Yin and I am the Yang. If we travel together we will become famous and earn vast sums of money." And so the pair set forth together, thinking to conquer the world.

Presently, they met Firmware, who was dressed in tattered rags, and hobbled along propped on a thorny stick. Firmware said to them: "The Tao lies beyond Yin and Yang. It is silent and still like a pool of water. It does not seek fame, therefore nobody knows its presence. It does not seeks fortune, for it is complete within itself. It exists beyond space and time."

Software and Hardware, ashamed, returned to their homes.

Epilogue
Book Nine

Thus spake the master programmer:

"Time for you to leave."




Physics

Height Measurement Algorithms
(The following concerns a question in a physics degree exam at the University of Copenhagen):

"Describe how to determine the height of a skyscraper with a barometer."

One student replied:

"You tie a long piece of string to the neck of the barometer, then lower the barometer from the roof of the skyscraper to the ground. The length of the string plus the length of the barometer will equal the height of the building."

This highly original answer so incensed the examiner that the student was failed immediately. The student appealed on the grounds that his answer was indisputably correct, and the university appointed an independent arbiter to decide the case. The arbiter judged that the answer was indeed correct, but did not display any noticeable knowledge of physics. To resolve the problem it was decided to call the student in and allow him six minutes in which to provide a verbal answer which showed at least a minimal familiarity with the basic principles of physics.

For five minutes the student sat in silence, forehead creased in thought. The arbiter reminded him that time was running out, to which the student replied that he had several extremely relevant answers, but couldn't make up his mind which to use. On being advised to hurry up the student replied as follows:

"Firstly, you could take the barometer up to the roof of the skyscraper, drop it over the edge, and measure the time it takes to reach the ground. The height of the building can then be worked out from the formula H = 0.5g x t squared. But bad luck on the barometer."

"Or if the sun is shining you could measure the height of the barometer, then set it on end and measure the length of its shadow. Then you measure the length of the skyscraper's shadow, and thereafter it is a simple matter of proportional arithmetic to work out the height of the skyscraper."

"But if you wanted to be highly scientific about it, you could tie a short piece of string to the barometer and swing it like a pendulum, first at ground level and then on the roof of the skyscraper. The height is worked out by the difference in the gravitational restoring force T = 2 pi sqr root(l / g)."

"Or if the skyscraper has an outside emergency staircase, it would be easier to walk up it and mark off the height of the skyscraper in barometer lengths, then add them up."

"If you merely wanted to be boring and orthodox about it, of course, you could use the barometer to measure the air pressure on the roof of the skyscraper and on the ground, and convert the difference in millibars into feet to give the height of the building."

"But since we are constantly being exhorted to exercise independence of mind and apply scientific methods, undoubtedly the best way would be to knock on the janitor's door and say to him 'If you would like a nice new barometer, I will give you this one if you tell me the height of this skyscraper'."

The student was Niels Bohr, the only Dane to win the Nobel prize for Physics.




Redheads

A man is dining in a fancy restaurant and there is a gorgeous redhead sitting at the next table. He has been checking her out since he sat down, but lacks the nerve to talk with her. Suddenly she sneezes and her glass eye comes flying out of its socket towards the man. He reflexively reaches out, grabs it out of the air, and hands it back.

"Oh my, I am sooo sorry," the woman says as she pops her eye back in place. "Let me buy your dinner to make it up to you."

They enjoy a wonderful dinner together, and afterwards the woman invites him to the theater followed by drinks. After paying for everything, she asks him if he would like to come to her place for a nightcap...and stay for breakfast the next morning.

The next morning, she cooks a gourmet meal with all the trimmings.

The guy is amazed! Everything had been incredible!

"You know," he said, "you are the perfect woman. Are you this nice to every guy you meet?" "No," she replies...

"You just happened to catch my eye."