DEEn Dictionary De - En
DeEs De - Es
DePt De - Pt
 Vocabulary trainer

Spec. subjects Grammar Abbreviations Random search Preferences
Search in Sprachauswahl
define
Search for:
Mini search box
 
Proverbs, aphorisms, quotations (English) by Linux fortune

While he was in New York on location for _Bronco Billy_ (1980), Clint
Eastwood agreed to a television interview.  His host, somewhat hostile,
began by defining a Clint Eastwood picture as a violent, ruthless,
lawless, and bloody piece of mayhem, and then asked Eastwood himself to
define a Clint Eastwood picture.  "To me," said Eastwood calmly, "what
a Clint Eastwood picture is, is one that I'm in."
                -- Boller and Davis, "Hollywood Anecdotes"
#define BITCOUNT(x)        (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
#define  BX_(x)                ((x) - (((x)>>1)&0x77777777)                        \
                             - (((x)>>2)&0x33333333)                        \
                             - (((x)>>3)&0x11111111))

                -- really weird C code to count the number of bits in a word
        THE LESSER-KNOWN PROGRAMMING LANGUAGES #17: SARTRE

Named after the late existential philosopher, SARTRE is an extremely
unstructured language.  Statements in SARTRE have no purpose; they just are.
Thus SARTRE programs are left to define their own functions. SARTRE
programmers tend to be boring and depressed, and are no fun at parties.
... there are about 5,000 people who are part of that committee.  These guys
have a hard time sorting out what day to meet, and whether to eat croissants
or doughnuts for breakfast -- let alone how to define how all these complex
layers that are going to be agreed upon.
                -- Craig Burton of Novell, Network World
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
#define BITCOUNT(x)        (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
#define  BX_(x)                ((x) - (((x)>>1)&0x77777777)                        \
                             - (((x)>>2)&0x33333333)                        \
                             - (((x)>>3)&0x11111111))

-- really weird C code to count the number of bits in a word
Chapter 2:  Newtonian Growth and Decay

        The growth-decay formulas were developed in the trivial fashion by
Isaac Newton's famous brother Phigg.  His idea was to provide an equation
that would describe a quantity that would dwindle and dwindle, but never
quite reach zero.  Historically, he was merely trying to work out his
mortgage.  Another versatile equation also emerged, one which would define
a function that would continue to grow, but never reach unity.  This equation
can be applied to charging capacitors, over-damped springs, and the human
race in general.
When users see one GUI as beautiful,
other user interfaces become ugly.
When users see some programs as winners,
other programs become lossage.

Pointers and NULLs reference each other.
High level and assembler depend on each other.
Double and float cast to each other.
High-endian and low-endian define each other.
While and until follow each other.

Therefore the Guru
programs without doing anything
and teaches without saying anything.
Warnings arise and he lets them come;
processes are swapped and he lets them go.
He has but doesn't possess,
acts but doesn't expect.
When his work is done, he deletes it.
That is why it lasts forever.
  The good oxymoron, to define it by a self-illustration, must be a
  planned inadvertency. -Wilson Follett
Trying to define yourself is like trying to bite your own teeth.
                -- Alan Watts
<klak> I need some help, I upgraded my kernel and on a reboot I get this error
          message kmod: failed to exec /sbin/modprobe -s -k binfmt-464c, errno
          = 8 can anyone help?
<spinoli> from /usr/include/asm/errno.h
<spinoli> #define ENOEXEC          8      /* Exec format error */
<spinoli> not that that necessarily tells you much ;)

        - from #kernelnewbies
#define JFFS2_MAGIC_BITMASK 0x1985
#define KSAMTIB_CIGAM_2SFFJ 0x5981 /* For detecting wrong-endian fs */

        - from include/linux/jffs2.h
(But Intel has redefined the memory ordering so many times that they might
redefine it in the future too and say that dependent loads are ok. I
suspect most of the definitions are of the type "Oh, it used to be ok in
the implementation even though it wasn't defined, and it turns out that
Windows doesn't work if we change it, so we'll define darkness to be the
new standard"..)

        - Linus Torvalds
indent does _not_ solve the problem of:
        * buggers who define a function with 42 arguments and body being
        return (foo == bar) ? TRUE : FALSE;

        - Alexander Viro on coding style
<|Rain|> #define struct union /* great space saver */
There is no comfort without pain; thus we define salvation through suffering.
                -- Cato
#define FALSE   0               /* This is the naked Truth */
#define TRUE    1               /* and this is the Light */
        -- mailto.c
#ifdef __SMP__
#error "Me no hablo Alpha SMP"
#else
#define irq_enter(cpu, irq)     (++local_irq_count[cpu])
#define irq_exit(cpu, irq)      (--local_irq_count[cpu])
#endif
        -- from kernel 2.1.90, arch/alpha/kernel/irc.c
#define NULL 0           /* silly thing is, we don't even use this */
             -- Larry Wall in perl.c from the perl source code
#define SIGILL 6         /* blech */
             -- Larry Wall in perl.c from the perl source code
If you're going to define a shortcut, then make it the base [sic] darn
shortcut you can.
             -- Larry Wall in <199709241628.JAA08908@wall.org>
Depends on how you define "always".  :-)
             -- Larry Wall in <199710211647.JAA17957@wall.org>
No guarantee of accuracy or completeness!
©TU Chemnitz, 2006-2024
Your feedback:
Ad partners