The Code Crunch

Name:
Location: Orange, CA, United States

Thursday, October 26, 2006

In an effort to determine the department which produces the most
intelligent graduates, a university president threw down a challenge to the
deans of the schools of science, engineering, and business. He asked each
to send him their brightest student from the current graduating class to
compete in solving a simple problem.

The next day, three students showed up at the university president's
office. He explained the problem as follows:

"I want you to determine the height of the university's newest residence
tower. I am giving each of you only three tools to work with: a stop
watch, a ruler and a ball of string. You are each to devise your own
solution to the problem and report back here by the end of the day.
Whoever has the most accurate answer wins."

The three students set off to the new residence tower. The science manor
went immediately to the roof of the building and dropped the ruler over the
side, carefully timing its descent with the stop watch. Factoring in the
aerodynamic properties of the ruler, the science major calculated the
height of the building within six inches.

Next the engineering major, still panting from running up all the stairs to
the roof, took his turn. He tied the stop watch onto the end of the ball
of string and gently lowered it until it just touched the ground. Reeling
the string back up, he measured it carefully with the ruler, making
adjustments for its elasticity under the weight of the stop watch, and
calculated the height of the building within two inches.

At that point, the science major turns to the engineering major and asks,
"What happened to the kid from the business school? I thought he was right
behind us."

They head back down to the building lobby and there, sitting comfortably in
an upholstered chair, is the business major.

"So, what are you going to do?" asks the science major.

"Oh, I'm done," says the business major, unfolding a piece of paper on
which is written the height of the building expressed to the last
one-eighth inch.

"How did you do that?" asks the engineering major.

"Simple," replies the student from the business school. "While you guys
were screwing around up on the roof, I went down to the basement and found
the building superintendant. I told him I'd give him a nice stop watch if
he'd let me look through the architectural plans for the building."


From: oldbear#NoSpam.arctos.com (The Old Bear)

Wednesday, October 25, 2006

That's why I love Mac, configurable BSODs:

http://osxbook.com/book/bonus/chapter5/panic/

Tuesday, October 24, 2006

A Software Engineer, a Hardware Engineer and a Departmental Manager were on their way to a meeting. They were driving down a steep mountain road when suddenly the brakes on their car failed. The car careened almost out of control down the road, bouncing off the crash barriers, until it miraculously ground to a halt scraping along the mountainside. The car's occupants, shaken but unhurt, now had a problem: they were stuck halfway down a mountain in a car with no brakes. What were they to do?

"I know," said the Departmental Manager, "Let's have a meeting, propose a Vision, formulate a Mission Statement, define some Goals, and by a process of Continuous Improvement find a solution to the Critical Problems, and we can be on our way."

"No, no," said the Hardware Engineer, "That will take far too long, and besides, that method has never worked before. I've got my Swiss Army knife with me, and in no time at all I can strip down the car's braking system, isolate the fault, fix it, and we can be on our way."

"Well," said the Software Engineer, "This thing is a freak'n maintenance nightmare - I'm going to rebuilt it from scratch - I'm TIRED of it, I don't care if the project manager says we're already late."

Monday, October 23, 2006

BASIC is to computer programming as "qwerty" is to typing.

Any sufficiently advanced bug is indistinguishable from a feature.

If you put garbage in a computer nothing comes out but garbage. But this garbage, having passed through a very expensive machine, is somehow enobled and none dare criticize it.

It is later than you think.

If a program is useful, it must be changed.
If a program is useless, it must be documented.

Your fault -- core dumped.

You still need the last file you removed.

How to program in "C"
---------------------
1] Use lots of global variables.
2] Give them cryptic names such as: X27, a_gcl, or Horace.
3] Put everything in one large .h file.
4] Implement the entire project at once.
5] Use macros and #defines to emulate Pascal.
6] Assume the compiler takes care of all the little details you didn't quite understand.

Programming is 10% science, 25% ingenuity and 65% getting the ingenuity to work with the science.

"Hardware: A product that if you play with it long enough, breaks."
"Software: A product that if you play with it long enough, it works."

As of next week, passwords will be entered in Morse code.

FORTRAN is not a language. It's a way of turning a multi-million dollar mainframe into a $50 programmable scientific calculator.

A bad random number generator: 1, 1, 1, 1, 1, 4.33e+67, 1, 1, 1

Remember the good old days, when CPU was singular?

System going down at 5 pm to install scheduler bug.

One picture is worth 128K words.

Science is to computer science as hydrodynamics is to plumbing.

Congratulations! You are the one-millionth user to log into our system.

Hardware: The parts of a computer system that can be kicked.

We don't really understand it, so we'll give it to the programmers.

You might have mail.

Computer interfaces and user interfaces are as different as night and 1.

The fortune '$ rm -r $HOME' could be extremely unsettling!!

Computers are a more fun way to do the same work you'd have to do without them.

Maybe Computer Science should be in the College of Theology.

The human mind ordinarily operates at only ten per cent of its capacity - the rest is overhead for the operating system.

If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.

A computer scientist is someone who fixes things that aren't broken.

And on the seventh day, God wrote documentation. (Docs stored in the Ark of the Covenant.)

To err is human; to really foul things up requires a computer.

Road to hell is paved with NAND gates.

Nice computers don't go down.

Trying to establish voice contact--please yell into keyboard.

Bug? That's not a bug, that's a feature.

Profanity is the one language all programmers know best.

The computer is mightier than the pen, the sword, and usually, the programmer.

I think I've got the hang of it now .... :w :q :wq :wq! ^d X exit X Q :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz ^[ZZZZZZ ^H ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d ^C ^c help exit ?Quit ?q

Never trust a computer you can't lift.

Base 8 is just like base 10, if you are missing two fingers.

Unprecedented performance: Nothing ever ran this slow before.

What this country needs is a good five-cent microcomputer.

Life would be so much easier if we could just look at the source code.

There is always one more bug.

The world will end in 5 minutes. Please log out.

PROGRAMMER--Red eyed, mumbling mammal capable of conversing with inanimate monsters.

To iterate is human; to recurse, divine.

Programming is an art form that fights back.

You are an insult to my intelligence! I demand that you log off immediately.

Disc space -- the final frontier!

Congratulations! You have now used up another 250 hours of CPU time.

Binary, adj.: Possessing the ability to have friends of both sexes.

After a number of decimal places, nobody gives a damn.

"If you were plowing a field, what would you rather use? 2 strong oxen or 1024 chickens?"
-Seymour Cray

Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.

Systems programmers are the high priests of a low cult.

PASCAL is not a language. It was an experiment combining the flexibilty of C with that of a drug-crazed penguin. It is also the 'language' of choice of many CS professors who aren't up to handling REAL programming. Hence, it is not a language.

C is almost a real language. (see assembler) Even the name sounds like it's gone through an optimizing compiler. Get rid of all of those stupid brackets and we'll talk. (see LISP)

Person 1: How ya gonna do it?
Person 2: I'm Gonna PS/2 it!!!
Person 1: But that's only half a computer!
Person 2: That's ok! OS/2 is only half an operating system!

This program posts news to thousands of machines throughout the entire civilized world. Your message will cost the net hundreds if not thousands of dollars to send everywhere. Please be sure you know what you are doing.

This program posts news to billions of machines throughout the galaxy. Your message will cost the net enough to bankrupt your entire planet. As a result your species will be sold into slavery. Be sure you know what you are doing. Are you absolutely sure you want to do this? [yn] y

"Virtual" means never knowing where your next byte is coming from.

"Note to DOS users: UNIX is a lot more FUN" - Peter Norton

Any program that runs right is obsolete.

You know it is going to be a bad day when you forget your new password.

MIPS: Meaningless Indicator of Processor Speed.

The best way to accelerate an IBM is at 9.8 m/s/s.

DEBUGGING--Removing the needles from the haystack.

If at first you don't succeed, you must be a programmer.


How to debug a "C" program.
---------------------------
1] If at all possible, don't. Let someone else do it.
2] Change majors.
3] Insert/remove blank lines at random spots, re-compile, and excecute.
4] Throw holy water on the terminal.
5] Dial 911 and scream.
6] There is rumour that "printf" is useful, but this is probably unfounded.
7] Port everything to CP/M.
8] If it still doesn't work, re-write it in assembler. This won't fix the bug, but it will make sure no one else finds it and makes you look bad.


Computer programmers know how to use their hardware.

ASSEMBLER is a language. Any language that can take a half-dozen keystrokes and compile it down to one byte of code is all right in my books. Though for the REAL programmer, assembler is a waste of time. Why use a compiler when you can code directly into memory through a front panel.

System going down at 1:45 this afternoon for disk crashing.

Every woman's a 10. It just depends upon which base you're counting in.

Real Programmers use C since it's the easiest language to spell.

Futuristic: It will only run on a next generation supercomputer.

Real Programmers are surprised when the odometers in their cars don't turn from 99999 to A0000.

CChheecckk yyoouurr dduupplleexx sswwiittcchh..

BASIC is not a language. It's a plot to sucker poor unsuspecting consumers into believing that they should buy a computer because ANYONE can learn how to program.

You have junk mail.

Real Programmers don't use BASIC. In fact, *no* programmers use BASIC after reaching puberty.

"It's 5:50 a.m., Do you know where your stack pointer is?"

Computers are not intelligent. They only think they are.

LOGO is not a language. It's a way to simulate 'skid marks' made by turtles with serious bowel control problems.

If God had intended Man to program, we would be born with serial I/O ports.

recursion (re - cur' - zhun) n. 1. (see recursion)

There are two ways to write error-free programs; only the third one works.

You are connected t&%&ibp*l an error free line.

You never finish a program, you just stop working on it.

MS-DOS:
Maybe SomeDay an Operating System

MACINTOSH:
Machine Always Crashes - If Not The Operating System Hangs

IBM:
It's Better Manually

A software verifier read in the Bible that God protects all fools, and decided to test it empirically. He jumped out of the window and broke a leg. There he lies, writhing in pain, and happily thinks: "I never really considered myself a fool, but I never knew I was THAT clever!"

The Programmer Song

Of course I never wanted to be a Lumberjack; I wanted to be a

* * * P R O G R A M M E R * * *

...Writing line after line as they compile within the mighty CPU of the
CRAY-1; the giant CDC 7600, the 370, the mighty 68040...with my pocket
protector in my side pocket...we'd sing...sing...sing....

Oh, I'm a programmer and I'm O.K.
I work all night and I sleep all day

(chorus) He's a programmer and he's O.K.
He works all night and he sleeps all day

I type in code, I read my dumps, I take them to the lavatory,
On Wednesdays I finish debugging and write thirteen lines of C

(chorus) He types in code, he prints his dumps, he takes them to the
lavatory,
On Wednesdays he finishes debugging and writes thirteen lines
of C

He's a programmer and he's O.K.
He works all night and he sleeps all day

I type in code, I branch and jump, I press the reset button
I write modules in COBOL that don't do nothin'

(chorus) He types in code, he branches and jumps, he presses the
reset button
He writes modules in COBOL that don't do nothin'!?! Yeecch!

He's a programmer and he's O.K.
He works all night and he sleeps all day

I type in code, I spill tape reels, punchcards, and cola
I wish I'd been an ME, just like my dear mama!

(chorus) He types in code, he spills tape reels, punchcards,
and...COLA!?!


(chorus) He's a programmer and he's O.K.
He works all night and he sleeps all day....


-----------------------------------------------------------------------
The Unnatural Enquirer, (C) 1990 by Trygve Lode (tlode@nyx.cs.du.edu)
May be reproduced and distributed freely in unmodified form on a
noncommercial basis provided that this notice remains intact.
-----------------------------------------------------------------------

Thursday, October 12, 2006

Customer: My keyboard is not working anymore.
Helpdesk: Are you sure it's plugged into the computer?
Customer: No. I can't get behind the computer.
Helpdesk: Pick up your keyboard and walk 10 paces back.
Customer: OK
Helpdesk: Did the keyboard come with you?
Customer: Yes
Helpdesk: That means the keyboard is not plugged in. Is there another keyboard?
Customer: Yes, there's another one here. Ah...that one does work!

Tuesday, October 10, 2006

(from http://www-users.cs.york.ac.uk/susan/joke/timetrav.htm)

I received this as spam email. I loathe spam with a fierce, glowing hatred, and delete it all unread. But in this case something compelled me to read beyond the header. I reproduce the contents here because it is simply a classic. It is all wonderful, and I especially love the P.S.!

Interestingly, I received it a few days after I had put up my review of Tips for Time Travellers. Coincidence?

Being spam, it has no attribution. If you know it, could you email it to me for inclusion? Thanks.


Time travelers PLEASE HELP!!!!!!

If you are a time traveler or alien disguised as human and or have the technology to travel physically through time I need your help!

My life has been severely tampered with and cursed!!
I have suffered tremendously and am now dying!

I need to be able to:

  • Travel back in time.
  • Rewind my life including my age back to 4.
  • Be able to remember what I know now so that I can prevent my life from being tampered with again after I go back.

I am in very great danger and need this immediately!

I am aware that there are many types of time travel, and that humans do not do well through certain types.

I need as close to temporal reversion as possible, as safely as possible. To be able to rewind the hands of time in such a way that the universe of now will cease to exist. I know that there are some very powerful people out there with alien or government equipment capable of doing just that.

If you can help me I will pay for your teleport or trip down here, Along with hotel stay, food and all expenses. I will pay top dollar for the equipment. Proof must be provided.

Please be advised that any temporal device that you may employ must account for X, Y, and Z coordinates as well as the temporal location. I have a time machine now, but it has limited abilitys and is useless without a vortex. If you can provide information on how to create vortex generator or where I can get some of the blue glowing moon crystals this would also be helpful.

Also if you are one of the very, very, few beings with the ability to edit the universe PLEASE REPLY!!!

Only if you have this technology and can help me please send me a (SEPARATE) email to:

Robby0809@aol.com

Please do not reply if your an evil alien!
Thanks


After I had decided to put this up on my Web site, I did a quick Google to find any other recipients who thought it good enough to mention. There are a few other sites, but the best one is at Joey deVilla's Hall of Shame, which includes the following beautiful "reply" (enhanced by its links)


I'm thinking about using this as a reply:

Well, here were are again. You have no idea who I am, don't you?

Not only am I capable of helping you, but I've done so twice already.

I can meet all your requirements except one -- the one where you retain your memories of everything's that happened to you up until now. Normally, it would be possible for you to remember the present (and all events leading up to it) when you go back into the past, but you kept insisting that you also want your aging to be reversed. I can only do that by reverting you to your past state, which means that events leading up to what you call "the present" wouldn't have happened. Which means you'd have nothing to remember. See the problem?

I was willing to let things slide when things went horribly wrong the first time. Initially, it looked as though you were going to live a long and happy life: you had a successful business, you were in the best shape of your life, and you had just married one of the supporting actresses from American Pie. However, you blew it big time when during your honeymoon in Honduras, you caught a butterfly. That butterfly's wings were supposed to trigger a hurricane that would have devastated the coastline of El Salvador, including the coastal village of La Libertad. Instead, the village was never destroyed, and as a result, a troubled and overindulged little boy grew up to become the Hitler of the 21st century. He managed to turn the eastern seaboard and much of Europe into the world's largest smouldering graveyards before he was finally stopped. I managed to retrieve you from that timeline -- you were under a pile of rubble and half-mad. I decided to try and send you back in time again.

While the course of your life has not been so catastrophic for the rest of the world this time around, you have still managed to make a mess of it for yourself. And this time, you're resorting to spamming in order to find a time traveller like me. That's really low.

The biggest shame of it all (and more so because you don't remember) is that your life wasn't as bad as you thought when you first came to me for help. You said you wanted to undo your so-called "terrible, terrible mistake". In retrospect, I should never have honoured your request. Yes, it was an embarassing situation, but "the incident", as you liked to call it, would have been forgotten soon enough. It's nothing that a public apology and a little plastic surgery couldn't have fixed. Besides, while that kind of thing was taboo once, it would have become socially acceptable a few short years later.

I am truly sorry, but I feel that you're one of those people who will do the same kind of thing over and over, no matter what circumstances they find themselves in. Please do not contact me anymore. If you see me on the street, please do not approach me or speak to me. I will claim not to know you. I cannot be bribed; you will not be able to buy your way into the past again.

In closing, all I can do is provide some advice:

1. Please try to think before you act.
2. If you don't do something about that haircut, you and many innocent people will regret it. It may seem trivial, but believe me, I know better.

-- Joey

Monday, October 09, 2006

A linguistics professor was lecturing to his class one day. "In English," he said, "a double negative forms a positive. In some languages though, such as Russian, a double negative is still a negative. However," he pointed out, "there is no language wherein a double positive can form a negative."
A voice from the back of the room piped up, "Yeah. Right."

Sunday, October 08, 2006

A businessman needed to employ a quantitative type person.
He wasn't sure if he should get a mathematician, an engineer,
or an applied mathematician. As it happened, all the
applicants were male. The businessman devised a test.
The mathematician came first. Miss How, the administrative
assistant took him into the hall. At the end of the hall,
lounging on a couch, was a beautiful woman. Miss How said,
"You may only go half the distance at a time. When you
reach the end, you may kiss our model."
The mathematician explained how he would never get there in
a finite number of iterations and politely excused himself.
Then came the engineer. He quickly bounded halfway down the
hall, then halfway again, and so on. Soon he declared he was
well within accepted error tolerance and grabbed the beautiful
woman and kissed her.
Finally it was the applied mathematician's turn. Miss How
explained the rules. The applied mathematician listened
politely, then grabbed Miss How and gave her a big smooch.
"What was that about?" she cried.
"Well, you see I'm an applied mathematician. If I can't
solve the problem, I change it!"

So a mathematician, an engineer, and a physicist are out hunting
together. They spy a deer(*) in the woods.

The physicist calculates the velocity of the deer and the effect of
gravity on the bullet, aims his rifle and fires. Alas, he misses; the
bullet passes three feet behind the deer. The deer bolts some yards,
but comes to a halt, still within sight of the trio.

"Shame you missed," comments the engineer, "but of course with an
ordinary gun, one would expect that." He then levels his special
deer-hunting gun, which he rigged together from an ordinary rifle, a
sextant, a compass, a barometer, and a bunch of flashing lights which
don't do anything but impress onlookers, and fires. Alas, his bullet
passes three feet in front of the deer, who by this time wises up and
vanishes for good.

"Well," says the physicist, "your contraption didn't get it either."

"What do you mean?" pipes up the mathematician. "Between the two of
you, that was a perfect shot!"

(*) How they knew it was a deer:

The physicist observed that it behaved in a deer-like manner, so it
must be a deer.

The mathematician asked the physicist what it was, thereby reducing it
to a previously solved problem.

The engineer was in the woods to hunt deer, therefore it was a deer.

Saturday, October 07, 2006

The following are new Windows messages that are under consideration for the next version of Windows.
1. Smash forehead on keyboard to continue.
2. Enter any 11-digit prime number to continue.
3. Press any key to continue or any other key to quit.
4. Press any key except... no, No, NO, NOT THAT ONE!!!!
5. Press Ctrl-Alt-Del now for IQ Test.
6. Close your eyes and press escape three times.
7. Bad command or file name! Go stand in the corner.
8. This will end your Windows session. Do you want to play another game?
9. Windows message: "Error saving file! Format drive now? (Y/Y)"
10. This is a message from God Gates: "Rebooting the world. Please log off."
11. To "shut down" the system, type WIN.
12. BREAKFAST.SYS halted...Cereal port not responding.
13. COFFEE.SYS missing...Insert cup in cup holder and press any key.
14. CONGRESS.SYS corrupted...Re-boot Washington D.C.? (Y/N)
15. File not found. Should I fake it? (Y/N)
16. Bad or missing mouse. Spank the cat? (Y/N)
17. Runtime Error 6D at 417A:32CF: Incompetent User.
18. Error reading FAT record: Try the SKINNY one? (Y/N)
19. WinErr 16547: LPT1 not found. Use backup. (PAPER&PENCIL.SYS)
20. User Error: replace user.
21. Windows VirusScan 1.0 - "Windows found: Remove it? (Y/N)"
22. Welcome to Microsoft's World - Your Mortgage is Past Due...
23. If you are an artist, you should know that Bill Gates owns you and all your future creations. Doesn't it feel nice to have security?
24. Your hard drive has been scanned and all stolen software titles have been deleted. The police are on the way.