Commit Graph

884 Commits

Author SHA1 Message Date
Poul-Henning Kamp
4450c2b741 Fix typo 2005-10-19 06:37:39 +00:00
Poul-Henning Kamp
500ef691f8 Bruce Schneier is underrepresented in the fortune file. 2005-10-18 20:37:44 +00:00
Philip Paeps
170c211c42 Add a valuable piece of Usenet advice about storing passwords. :-)
Obtained from:	jpd on comp.unix.bsd.freebsd.misc
2005-10-17 14:27:37 +00:00
Jens Schweikhardt
4c163f4c32 Nuke duplicates found via fuzzy logic:
- typos
- different spelling, punctuation, whitespace
- phonetically similar names
- words rearranged ("was once" vs "once was" etc)

If a limerick appeared as a single one and as part of a
double or triple, the singleton was removed.

With a little help from: sort limerick|uniq -d
This still turns up 20 lines being repeated, but the respective
limericks are sufficiently unique to leave them in (i.e. most differ
in at least two lines).

Nuke spaces in front of colons while I'm here.
2005-09-28 18:18:29 +00:00
Kirill Ponomarev
099f27bbe8 Whitespaces cleanup.
PR:		conf/81926
Submitted by:	Gavin Atkinson <gavin.atkinson at ury dot york dot ac dot uk>
2005-09-23 12:15:52 +00:00
Doug Barton
86926e9850 Remove a fortune that is duplicated verbatim in fortunes2-o 2005-09-21 19:04:10 +00:00
Jens Schweikhardt
bbef66a9ae Remove a duplicate and fix a typo. 2005-09-10 08:27:07 +00:00
Wilko Bulte
e37345c1c6 Notable quote by Theodore Roosevelt.
MFC after: 3 days
2005-09-06 14:59:55 +00:00
Jens Schweikhardt
0a710f3b71 Punctuation corrections. 2005-08-30 16:33:39 +00:00
Wilko Bulte
73dcba4b4b About life 2005-08-24 17:45:09 +00:00
Greg Lehey
2fa636f5fe Add relationship between offence and beer.
Submitted by: philip
2005-08-22 06:03:40 +00:00
Wilko Bulte
7cd5160a0b -- storage engineer on the virtues of FC-AL 2005-08-19 17:29:43 +00:00
Murray Stokely
1d449dce78 Move the "yiddish cooking has killed more jews than Hitler" quote back
to the offensive file.

The other Hitler quotes/references stay in the unoffensive file, as
they offer more historical perspective than this one.

Approved by:	core
2005-08-19 16:23:01 +00:00
Wilko Bulte
2ab7d9960b wisdom about 'beachhead' 2005-08-15 18:15:19 +00:00
Wes Peters
40adebe8e5 Add the best quote evar! about XML. 2005-08-14 03:49:32 +00:00
Jens Schweikhardt
9ce79b6c70 Be a nice community member and honor the request for backout after
stirring the hornet's nest. This issue will be resolved by core.
2005-08-10 17:18:07 +00:00
Jens Schweikhardt
4e30e04c4d Move the Hitler quotes and some references to him to the "offensive" file.
I did not bother to sort them all. If you have a script, feel free.
2005-08-08 19:58:26 +00:00
Jens Schweikhardt
e818716b66 While I find the Hitler quotes extremely questionable, I'm enough
of a pedant to properly spell the monster's first name.
2005-08-08 18:38:30 +00:00
Kirill Ponomarev
b039a026d7 Fix locations of some links.
Word smithing.

PR:		conf/81923
Submitted by:	Gavin Atkinson <gavin dot atkinson at ury.york.ac.uk>
2005-08-06 18:13:30 +00:00
Andrey A. Chernov
f92c1adc15 My change, namely srandomdev() addition, was backed out even without
discussing with me, and I obviously disagree seeing that afterwards
(srandomdev() back out not fix any thing, it can only mask the problem).

So, back out the back out and return srandomdev().

People who have problems with repeated quotes should use -D fortune
option for debugging to see is the problem in (1) /dev/random initialization
or in (2) fortune code itself.

I will be glad to help, but I can't reproduce repeated quote situation
on my machine.

In either case found, (1) or (2) should be fixed instead of removing
srandomdev().
2005-07-23 18:24:47 +00:00
Greg Lehey
8af732d13c Use a random number to seed the random number generator. Goodby, Rush
Limbaugh.

This should have already worked properly if random(4) has been
initialized correctly, but it seems that this is frequently not the
case.  Instead, use the microsecond part of the current time as the
seed.
2005-07-23 01:46:50 +00:00
John Baldwin
59c2bcbae9 Correct an error in the previous revision. RAND_MAX is the maximum value
for rand(3), not random(3).  random(3) is defined to return values between
0 and 2^31-1, so add a local RANDOM_MAX constant to this file that is
defined as 2^31-1 and use that in place of RAND_MAX.

Reviewed by:	bde
Approved by:	re (dwhite)
MFC after:	1 week
2005-06-22 15:24:00 +00:00
Poul-Henning Kamp
6dded714b5 Snoopy in quality of life. 2005-06-10 08:58:44 +00:00
Ruslan Ermilov
73a1c67d03 Fix markup nits. 2005-06-07 21:43:16 +00:00
Joerg Wunsch
bc48d6e6c9 Add Farnsworth support to morse(6).
(For those interested: this is intented to extend the space between
characters to help people learning morse code by giving the brain some
extra time for acoustical pattern recognition.)

Note: I slightly cleaned up the submitted patch for minor stylistic
issues, and changed the default for the new -c option to be identical
to -w.

Submitted by:	"Stephen P. Cravey" <cravey@gotbrains.org> N5UUU
MFC after:	2 weeks
PR:		bin/81831
2005-06-07 19:01:41 +00:00
Wilko Bulte
41fa5b81d2 When operating the diopter adjustment knob with your eye to the view-
finder, be careful not to put your fingers or fingernails in your eye.
                -- found in the users manual of the Nikon D2x camera,
                   a camera for professional photographers
%
2005-06-06 15:43:00 +00:00
Poul-Henning Kamp
98500a3693 Hand it to spaff, he knows how to say it:
Using encryption on the Internet is the equivalent of arranging
an armoured car to deliver credit card information from someone
living in a cardboard box to someone living on a park bench.
		-- Gene Spafford, Purdue University.
2005-05-29 19:29:19 +00:00
John Baldwin
b0a7bd8e88 Fix for 64-bit platforms. random() returns values between 0 and RAND_MAX,
and RAND_MAX != LONG_MAX on 64-bit platforms.

PR:		amd64/81279
Submitted by:	Vivek Khera vivek at khera dot org
Submitted by:	Adriaan de Groot groot at kde dot org
MFC after:	1 week
2005-05-27 15:29:01 +00:00
Poul-Henning Kamp
e1f74f27c1 Remove duplicate and attribute Weinbergs second law to the right weinberg. 2005-05-13 15:51:56 +00:00
Jens Schweikhardt
4f2795ff0e Nuke a corrupted duplicate.
Some white space and punctuation fixes.
2005-05-07 17:56:50 +00:00
Stefan Farfeleder
b484917d53 Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.
PR:	62456
2005-05-01 19:34:22 +00:00
Jens Schweikhardt
c770569c74 s/which/witch 2005-04-24 15:31:11 +00:00
Tom Rhodes
d5f93c9179 Enforce style.Makefile(5).
Glanced at by:	ru (some time ago).
2005-04-22 18:57:32 +00:00
Poul-Henning Kamp
e9a1a34366 Data is not information;
Information is not knowledge;
	Knowledge is not wisdom
			-- Gary Flake
2005-04-13 06:11:49 +00:00
Jens Schweikhardt
6f3997749c s/self-distruction/self-destruction 2005-04-10 10:53:26 +00:00
Poul-Henning Kamp
ebf3f2a194 He who receives ideas from me, receives instruction himself without
lessening mine; as he who lights his taper at mine receives light
without darkening me.
       -- Thomas Jefferson on patents on ideas.
2005-03-22 07:41:22 +00:00
Murray Stokely
7803a8a051 Typo.
PR:		conf/77178
Submitted by:	Andras Jako <jako.andras@eik.bme.hu>
MFC after:	1 week
2005-03-19 02:44:41 +00:00
Philip Paeps
f5ba17d43b These words, while not spoken about anything even slightly related, are very,
very applicable when waiting for world to compile *grin*

Impatience award to:	philip
2005-03-14 21:50:25 +00:00
Christian Brueffer
abe57788f7 Remove dublicate entries and correct apostrophe abuse.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
2005-03-13 13:20:07 +00:00
Yaroslav Tykhiy
f92907365d Add a story about confusing information theory with thermodynamics. 2005-03-07 06:05:14 +00:00
Poul-Henning Kamp
eabf308004 Another good Dijkstra quote. 2005-03-04 09:47:22 +00:00
Poul-Henning Kamp
ed4d64dbf7 Add missing quote. 2005-03-03 18:32:50 +00:00
Poul-Henning Kamp
52b9f7a5b1 Wisdom from 1972. 2005-03-03 18:07:23 +00:00
Yaroslav Tykhiy
53365f4b43 Give a better advice on how to convert DOS text to UNIX text.
The former tip used `col -bx', which would not only discard
CR's, but also expand TAB's and remove BS'en.  This effect is
not always wanted.

MFC after:	1 week
2005-02-28 17:05:00 +00:00
Yaroslav Tykhiy
02d5d57aba Add a neat remark on the popular belief that the universe is a safe
the man ought to break open and rob.
2005-02-26 12:49:03 +00:00
Ruslan Ermilov
423120f127 Fixed warnings and bump WARNS to 6. 2005-02-23 20:59:03 +00:00
Ruslan Ermilov
8b8984d523 Bump WARNS to 6. 2005-02-23 20:42:47 +00:00
Ruslan Ermilov
be2ff1d140 Make the on-disk format of .dat files produced by strfile(8)
architecture independent.  Besides the fixed-width types in
the header, the offsets are now stored as 64-bit off_t (also
in big endian format).

Tested on:	i386, amd64, sparc64, ia64
2005-02-17 18:06:37 +00:00
Ruslan Ermilov
36a142c455 Expand contractions. 2005-02-13 23:45:54 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00