There has also been some work to allow the interesting use of macro names. For example, if you wanted all of your "creat()" calls to include read permissions for everyone, you could say
I would recommend against this kind of thing in general, since it hides the changed semantics of "creat()" in a macro, potentially far away from its uses.
To allow this use of macros, the preprocessor uses a process that is worth describing, if for no other reason than that we get to use one of the more amusing terms introduced into the C lexicon. While a macro is being expanded, it is temporarily undefined, and any recurrence of the macro name is "painted blue" -- I kid you not, this is the official terminology -- so that in future scans of the text the macro will not be expanded recursively. (I do not know why the color blue was chosen; I'm sure it was the result of a long debate, spread over several meetings.)
-- From Ken Arnold's "C Advisor" column in Unix Review
- this post brought to you by the Automated Last Post Generator...
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.
-- Geoffrey James, "The Tao of Programming"
- this post brought to you by the Automated Last Post Generator...
The buffalo isn't as dangerous as everyone makes him out to be. Statistics prove that in the United States more Americans are killed in automobile accidents than are killed by buffalo.
-- Art Buchwald
- this post brought to you by the Automated Last Post Generator...
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 on."
-- Geoffrey James, "The Tao of Programming"
- this post brought to you by the Automated Last Post Generator...
Q: Why shouldn't I simply delete the stuff I never use, it's just taking up
space? A: This question is in the category of Famous Last Words..
-- From the Frequently Unasked Questions
- this post brought to you by the Automated Last Post Generator...
The King and his advisor are overlooking the battle field:
King: "How goes the battle plan?" Advisor: "See those little black specks running to the right?" K: "Yes." A: "Those are their guys. And all those little red specks running
to the left are our guys. Then when they collide we wait till
the dust clears." K: "And?" A: "If there are more red specks left than black specks, we win." K: "But what about the ^#!!$% battle plan?" A: "So far, it seems to be going according to specks."
- this post brought to you by the Automated Last Post Generator...
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."
-- Geoffrey James, "The Tao of Programming"
- this post brought to you by the Automated Last Post Generator...
High Priest: Armaments Chapter One, verses nine through twenty-seven: Bro. Maynard: And Saint Attila raised the Holy Hand Grenade up on high
saying, "Oh Lord, Bless us this Holy Hand Grenade, and with it
smash our enemies to tiny bits." And the Lord did grin, and the
people did feast upon the lambs, and stoats, and orangutans, and
breakfast cereals, and lima bean- High Priest: Skip a bit, brother. Bro. Maynard: And then the Lord spake, saying: "First, shalt thou take
out the holy pin. Then shalt thou count to three. No more, no less.
*Three* shall be the number of the counting, and the number of the
counting shall be three. *Four* shalt thou not count, and neither
count thou two, excepting that thou then goest on to three. Five is
RIGHT OUT. Once the number three, being the third number be reached,
then lobbest thou thy Holy Hand Grenade towards thy foe, who, being
naughty in my sight, shall snuff it. Amen. All: Amen.
-- Monty Python, "The Holy Hand Grenade"
- this post brought to you by the Automated Last Post Generator...
So as your consumer electronics adviser, I am advising you to donate your current VCR to a grate resident, who will laugh sardonically and hurl it into a dumpster. Then I want you to go out and purchase a vast array of 8-millimeter video equipment.... OK! Got everything? Well, *too bad, sucker*, because while you were gone the electronics industry came up with an even newer format that makes your 8-millimeter VCR look as technologically advanced as toenail dirt. This format is called "3.5 hectare" and it will not be made available until it is outmoded, sometime early next week, by a format called "Elroy", so *order yours now*.
-- Dave Barry, "No Surrender in the Electronics Revolution"
- this post brought to you by the Automated Last Post Generator...
In the beginning there was data. The data was without form and null, and darkness was upon the face of the console; and the Spirit of IBM was moving over the face of the market. And DEC said, "Let there be registers"; and there were registers. And DEC saw that they carried; and DEC separated the data from the instructions. DEC called the data Stack, and the instructions they called Code. And there was evening and there was morning, one interrupt.
-- Rico Tudor, "The Story of Creation or, The Myth of Urk"
- this post brought to you by the Automated Last Post Generator...
The day-to-day travails of the IBM programmer are so amusing to most of us who are fortunate enough never to have been one -- like watching Charlie Chaplin trying to cook a shoe.
- this post brought to you by the Automated Last Post Generator...
What the deuce is it to me? You say that we go around the sun. If we went around the moon it would not make a pennyworth of difference to me or my work.
-- Sherlock Holmes, "A Study in Scarlet"
- this post brought to you by the Automated Last Post Generator...
The salesman and the system analyst took off to spend a weekend in the forest, hunting bear. They'd rented a cabin, and, when they got there, took their backpacks off and put them inside. At which point the salesman turned to his friend, and said, "You unpack while I go and find us a bear."
Puzzled, the analyst finished unpacking and then went and sat down on the porch. Soon he could hear rustling noises in the forest. The noises got nearer -- and louder -- and suddenly there was the salesman, running like hell across the clearing toward the cabin, pursued by one of the largest and most ferocious grizzly bears the analyst had ever seen.
"Open the door!", screamed the salesman.
The analyst whipped open the door, and the salesman ran to the door, suddenly stopped, and stepped aside. The bear, unable to stop, continued through the door and into the cabin. The salesman slammed the door closed and grinned at his friend. "Got him!", he exclaimed, "now, you skin this one and I'll go rustle us up another!"
- this post brought to you by the Automated Last Post Generator...
Looks like the channel is back to normal:)
You mean it's not scrolling faster than anyone can read?:)
-- Seen on #Debian after the release of Debian 2.0
- this post brought to you by the Automated Last Post Generator...
* In anticipation of 2.10.02 release, updated to patchlevel
+ircu2.10.01+.config6-7.config7-8.lgline3.iwho.lim it.glibc.motdcache2.trace.whois1-2.config8-9.stats w.sprintf2-3.msgtree2.memleak1-2+.msgtree2-3.gline 8-9.gline9-10.invite2.rbr.stats.numclients.whisper.whisper1-2.stats1-2.nokick1-2.chroot.config9-11.s nomask7-8.limi+t1-3.userip1-3.userip3-4.config11-1 2.config12-13.umode2-3.akillsbt.who4-5.kn.kn1-2.fr eebsdcore2.msgtree3-5.y2k.glibc1-2.rmfunc.msgf+lag s2.who5-6.nickchange2.glibc2-3.modeless3
-- From the annoucement of ircd 2.10.01-3 for Debian GNU/Linux
- this post brought to you by the Automated Last Post Generator...
I asked the engineer who designed the communication terminal's keyboards why these were not manufactured in a central facility, in view of the small number needed [1 per month] in his factory. He explained that this would be contrary to the political concept of local self-sufficiency. Therefore, each factory needing keyboards, no matter how few, manufactures them completely, even molding the keypads.
-- Isaac Auerbach, IEEE "Computer", Nov. 1979
- this post brought to you by the Automated Last Post Generator...
... Linux und seine Programme sind damit so etwas wie ein real existierender Sozialismus der besseren Art...
-- Christian Seel in der Berliner Morgenpost v. 9.3.1997
- this post brought to you by the Automated Last Post Generator...
If for every rule there is an exception, then we have established that there is an exception to every rule. If we accept "For every rule there is an exception" as a rule, then we must concede that there may not be an exception after all, since the rule states that there is always the possibility of exception, and if we follow it to its logical end we must agree that there can be an exception to the rule that for every rule there is an exception.
-- Bill Boquist
- this post brought to you by the Automated Last Post Generator...
Niklaus Wirth has lamented that, whereas Europeans pronounce his name correctly (Ni-klows Virt), Americans invariably mangle it into (Nick-les Worth). Which is to say that Europeans call him by name, but Americans call him by value.
- this post brought to you by the Automated Last Post Generator...
Microsoft Corp., concerned by the growing popularity of the free 32-bit operating system for Intel systems, Linux, has employed a number of top programmers from the underground world of virus development. Bill Gates stated yesterday: "World domination, fast -- it's either us or Linus". Mr. Torvalds was unavailable for comment...
-- Robert Manners, rjm@swift.eng.ox.ac.uk, in comp.os.linux.setup
- this post brought to you by the Automated Last Post Generator...
Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.
- this post brought to you by the Automated Last Post Generator...
"For that matter, compare your pocket computer with the massive jobs of a thousand years ago. Why not, then, the last step of doing away with computers altogether?"
-- Jehan Shuman
- this post brought to you by the Automated Last Post Generator...
"We don't do a new version to fix bugs." - Bill Gates "The new version - it's not there to fix bugs." - Bill Gates
-- Retranslated from Focus 43/1995, pp. 206-212
- this post brought to you by the Automated Last Post Generator...
"I have examined Bogota," he said, "and the case is clearer to me. I think very probably he might be cured."
"That is what I have always hoped," said old Yacob.
"His brain is affected," said the blind doctor.
The elders murmured assent.
"Now, what affects it?"
"Ah!" said old Yacob.
"This," said the doctor, answering his own question. "Those queer things that are called the eyes, and which exist to make an agreeable soft depression in the face, are diseased, in the case of Bogota, in such a way as to affect his brain. They are greatly distended, he has eyelashes, and his eyelids move, and cosequently his brain is in a state of constant irritation and distraction."
"Yes?" said old Yacob. "Yes?"
"And I think I may say with reasonable certainty that, in order to cure him completely, all that we need do is a simple and easy surgical operation -- namely, to remove those irritant bodies."
"And then he will be sane?"
"Then he will be perfectly sane, and a quite admirable citizen."
"Thank heaven for science!" said old Yacob.
-- H.G. Wells, "The Country of the Blind"
- this post brought to you by the Automated Last Post Generator...
"It's easier said than done."... and if you don't believe it, try proving that it's easier done than said, and you'll see that "it's easier said that `it's easier done than said' than it is done", which really proves that "it's easier said than done".
- this post brought to you by the Automated Last Post Generator...
There has also been some work to allow the interesting use of macro names.
For example, if you wanted all of your "creat()" calls to include read
permissions for everyone, you could say
#define creat(file, mode) creat(file, mode | 0444)
I would recommend against this kind of thing in general, since it
hides the changed semantics of "creat()" in a macro, potentially far away
from its uses.
To allow this use of macros, the preprocessor uses a process that
is worth describing, if for no other reason than that we get to use one of
the more amusing terms introduced into the C lexicon. While a macro is
being expanded, it is temporarily undefined, and any recurrence of the macro
name is "painted blue" -- I kid you not, this is the official terminology
-- so that in future scans of the text the macro will not be expanded
recursively. (I do not know why the color blue was chosen; I'm sure it
was the result of a long debate, spread over several meetings.)
-- From Ken Arnold's "C Advisor" column in Unix Review
- this post brought to you by the Automated Last Post Generator...
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.
-- Geoffrey James, "The Tao of Programming"
- this post brought to you by the Automated Last Post Generator...
The buffalo isn't as dangerous as everyone makes him out to be.
Statistics prove that in the United States more Americans are killed in
automobile accidents than are killed by buffalo.
-- Art Buchwald
- this post brought to you by the Automated Last Post Generator...
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 on."
-- Geoffrey James, "The Tao of Programming"
- this post brought to you by the Automated Last Post Generator...
Q: Why shouldn't I simply delete the stuff I never use, it's just taking up
space?
A: This question is in the category of Famous Last Words..
-- From the Frequently Unasked Questions
- this post brought to you by the Automated Last Post Generator...
The King and his advisor are overlooking the battle field:
King: "How goes the battle plan?"
Advisor: "See those little black specks running to the right?"
K: "Yes."
A: "Those are their guys. And all those little red specks running
to the left are our guys. Then when they collide we wait till
the dust clears."
K: "And?"
A: "If there are more red specks left than black specks, we win."
K: "But what about the ^#!!$% battle plan?"
A: "So far, it seems to be going according to specks."
- this post brought to you by the Automated Last Post Generator...
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."
-- Geoffrey James, "The Tao of Programming"
- this post brought to you by the Automated Last Post Generator...
High Priest: Armaments Chapter One, verses nine through twenty-seven:
Bro. Maynard: And Saint Attila raised the Holy Hand Grenade up on high
saying, "Oh Lord, Bless us this Holy Hand Grenade, and with it
smash our enemies to tiny bits." And the Lord did grin, and the
people did feast upon the lambs, and stoats, and orangutans, and
breakfast cereals, and lima bean-
High Priest: Skip a bit, brother.
Bro. Maynard: And then the Lord spake, saying: "First, shalt thou take
out the holy pin. Then shalt thou count to three. No more, no less.
*Three* shall be the number of the counting, and the number of the
counting shall be three. *Four* shalt thou not count, and neither
count thou two, excepting that thou then goest on to three. Five is
RIGHT OUT. Once the number three, being the third number be reached,
then lobbest thou thy Holy Hand Grenade towards thy foe, who, being
naughty in my sight, shall snuff it. Amen.
All: Amen.
-- Monty Python, "The Holy Hand Grenade"
- this post brought to you by the Automated Last Post Generator...
So as your consumer electronics adviser, I am advising you to donate your ... OK! Got everything? Well, *too bad, sucker*, because while you were
current VCR to a grate resident, who will laugh sardonically and hurl it
into a dumpster. Then I want you to go out and purchase a vast array of
8-millimeter video equipment.
gone the electronics industry came up with an even newer format that makes
your 8-millimeter VCR look as technologically advanced as toenail dirt.
This format is called "3.5 hectare" and it will not be made available until
it is outmoded, sometime early next week, by a format called "Elroy", so
*order yours now*.
-- Dave Barry, "No Surrender in the Electronics Revolution"
- this post brought to you by the Automated Last Post Generator...
In the beginning there was data. The data was without form and
null, and darkness was upon the face of the console; and the Spirit of
IBM was moving over the face of the market. And DEC said, "Let there
be registers"; and there were registers. And DEC saw that they
carried; and DEC separated the data from the instructions. DEC called
the data Stack, and the instructions they called Code. And there was
evening and there was morning, one interrupt.
-- Rico Tudor, "The Story of Creation or, The Myth of Urk"
- this post brought to you by the Automated Last Post Generator...
The day-to-day travails of the IBM programmer are so amusing to most of
us who are fortunate enough never to have been one -- like watching
Charlie Chaplin trying to cook a shoe.
- this post brought to you by the Automated Last Post Generator...
What the deuce is it to me? You say that we go around the sun. If we went
around the moon it would not make a pennyworth of difference to me or my work.
-- Sherlock Holmes, "A Study in Scarlet"
- this post brought to you by the Automated Last Post Generator...
The salesman and the system analyst took off to spend a weekend in the
forest, hunting bear. They'd rented a cabin, and, when they got there, took
their backpacks off and put them inside. At which point the salesman turned
to his friend, and said, "You unpack while I go and find us a bear."
Puzzled, the analyst finished unpacking and then went and sat down
on the porch. Soon he could hear rustling noises in the forest. The noises
got nearer -- and louder -- and suddenly there was the salesman, running like
hell across the clearing toward the cabin, pursued by one of the largest and
most ferocious grizzly bears the analyst had ever seen.
"Open the door!", screamed the salesman.
The analyst whipped open the door, and the salesman ran to the door,
suddenly stopped, and stepped aside. The bear, unable to stop, continued
through the door and into the cabin. The salesman slammed the door closed
and grinned at his friend. "Got him!", he exclaimed, "now, you skin this
one and I'll go rustle us up another!"
- this post brought to you by the Automated Last Post Generator...
Looks like the channel is back to normal :) :)
You mean it's not scrolling faster than anyone can read?
-- Seen on #Debian after the release of Debian 2.0
- this post brought to you by the Automated Last Post Generator...
* In anticipation of 2.10.02 release, updated to patchlevelm it.glibc.motdcache2.trace.whois1-2.config8-9.stats w.sprintf2-3.msgtree2.memleak1-2+.msgtree2-3.gline 8-9.gline9-10.invite2.rbr.stats.numclients.whisper .whisper1-2.stats1-2.nokick1-2.chroot.config9-11.s nomask7-8.limi+t1-3.userip1-3.userip3-4.config11-1 2.config12-13.umode2-3.akillsbt.who4-5.kn.kn1-2.fr eebsdcore2.msgtree3-5.y2k.glibc1-2.rmfunc.msgf+lag s2.who5-6.nickchange2.glibc2-3.modeless3
+ircu2.10.01+.config6-7.config7-8.lgline3.iwho.li
-- From the annoucement of ircd 2.10.01-3 for Debian GNU/Linux
- this post brought to you by the Automated Last Post Generator...
I asked the engineer who designed the communication terminal's keyboards
why these were not manufactured in a central facility, in view of the
small number needed [1 per month] in his factory. He explained that this
would be contrary to the political concept of local self-sufficiency.
Therefore, each factory needing keyboards, no matter how few, manufactures
them completely, even molding the keypads.
-- Isaac Auerbach, IEEE "Computer", Nov. 1979
- this post brought to you by the Automated Last Post Generator...
... Linux und seine Programme sind damit so etwas wie ein real existierender ...
Sozialismus der besseren Art
-- Christian Seel in der Berliner Morgenpost v. 9.3.1997
- this post brought to you by the Automated Last Post Generator...
If for every rule there is an exception, then we have established that there
is an exception to every rule. If we accept "For every rule there is an
exception" as a rule, then we must concede that there may not be an exception
after all, since the rule states that there is always the possibility of
exception, and if we follow it to its logical end we must agree that there
can be an exception to the rule that for every rule there is an exception.
-- Bill Boquist
- this post brought to you by the Automated Last Post Generator...
Niklaus Wirth has lamented that, whereas Europeans pronounce his name correctly
(Ni-klows Virt), Americans invariably mangle it into (Nick-les Worth). Which
is to say that Europeans call him by name, but Americans call him by value.
- this post brought to you by the Automated Last Post Generator...
Microsoft Corp., concerned by the growing popularity of the free 32-bit ...
operating system for Intel systems, Linux, has employed a number of top
programmers from the underground world of virus development. Bill Gates stated
yesterday: "World domination, fast -- it's either us or Linus". Mr. Torvalds
was unavailable for comment
-- Robert Manners, rjm@swift.eng.ox.ac.uk, in comp.os.linux.setup
- this post brought to you by the Automated Last Post Generator...
BOFH excuse #361:
Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.
- this post brought to you by the Automated Last Post Generator...
"For that matter, compare your pocket computer with the massive jobs of
a thousand years ago. Why not, then, the last step of doing away with
computers altogether?"
-- Jehan Shuman
- this post brought to you by the Automated Last Post Generator...
"We don't do a new version to fix bugs." - Bill Gates
"The new version - it's not there to fix bugs." - Bill Gates
-- Retranslated from Focus 43/1995, pp. 206-212
- this post brought to you by the Automated Last Post Generator...
"I have examined Bogota," he said, "and the case is clearer to me.
I think very probably he might be cured."
"That is what I have always hoped," said old Yacob.
"His brain is affected," said the blind doctor.
The elders murmured assent.
"Now, what affects it?"
"Ah!" said old Yacob.
"This," said the doctor, answering his own question. "Those queer
things that are called the eyes, and which exist to make an agreeable soft
depression in the face, are diseased, in the case of Bogota, in such a way
as to affect his brain. They are greatly distended, he has eyelashes, and
his eyelids move, and cosequently his brain is in a state of constant
irritation and distraction."
"Yes?" said old Yacob. "Yes?"
"And I think I may say with reasonable certainty that, in order
to cure him completely, all that we need do is a simple and easy surgical
operation -- namely, to remove those irritant bodies."
"And then he will be sane?"
"Then he will be perfectly sane, and a quite admirable citizen."
"Thank heaven for science!" said old Yacob.
-- H.G. Wells, "The Country of the Blind"
- this post brought to you by the Automated Last Post Generator...
"It's easier said than done." ... and if you don't believe it, try proving that it's easier done than
said, and you'll see that "it's easier said that `it's easier done than
said' than it is done", which really proves that "it's easier said than
done".
- this post brought to you by the Automated Last Post Generator...