|Linux Computers: 502 of 1023|
n = ((n >> 1) & 0x55555555) | ((n << 1) & 0xaaaaaaaa);
n = ((n >> 2) & 0x33333333) | ((n << 2) & 0xcccccccc);
n = ((n >> 4) & 0x0f0f0f0f) | ((n << 4) & 0xf0f0f0f0);
n = ((n >> 8) & 0x00ff00ff) | ((n << 8) & 0xff00ff00);
n = ((n >> 16) & 0x0000ffff) | ((n << 16) & 0xffff0000);
-- C code which reverses the bits in a word.
|Linux Computers: 503 of 1023|
Nearly every complex solution to a programming problem that I
have looked at carefully has turned out to be wrong.
-- Brent Welch
|Linux Computers: 504 of 1023|
Never make anything simple and efficient when a way can be found to
make it complex and wonderful.
|Linux Computers: 505 of 1023|
Never put off till run-time what you can do at compile-time.
-- D. Gries
|Linux Computers: 506 of 1023|
Never test for an error condition you don't know how to handle.
|Linux Computers: 507 of 1023|
Never trust a computer you can't repair yourself.
|Linux Computers: 508 of 1023|
Never trust an operating system.
|Linux Computers: 509 of 1023|
Never try to explain computers to a layman. It's easier to explain
sex to a virgin.
-- Robert Heinlein
(Note, however, that virgins tend to know a lot about computers.)
|Linux Computers: 510 of 1023|
Never underestimate the bandwidth of a station wagon full of tapes.
-- Dr. Warren Jackson, Director, UTCS
|Linux Computers: 511 of 1023|
New crypt. See /usr/news/crypt.