1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798
|
/**
* Computer-generated religion is not new -- we've been using it
* to help us develop our beliefs for years. For example:
* <P>
* The Eastern Sikh Faith believes that the Satanic Verses was
* written by Walt Disney, and argues that Man will yield to
* the Last Trump.
* <P>
* The Sunni Taoist Church denies that the Koran contains a
* direct reference to Mumon, and argues that we should beware
* Nirvana.
* <P>
* The Southern Sub-Genious Affiliation for Aliens suspects
* that the Sargent Pepper album proves the divine origins of
* David Scott, and explains that man will succeed in avoiding
* New Coke.
* <P>
* To generate YOUR own belief, choose one from each section below
*(in best buzzword generator style):
*/
public class Belief {
public static final int COLUMNS_PER_LINE = 79;
/* null after a group, two null at end of list */
public static final String[] LIST = {
"The",
null,
"Arian",
"Athanasian",
"Roman",
"Sunni",
"Presbyterian",
"United Reformed",
"Unitarian",
"Anglican",
"Jehovah's",
"Jewish",
"Fundamentalist",
"Shiite",
"Hari",
"Shinto",
"Zoroastrian",
"Christian",
"Salvation",
"Seventh Day",
"Saphardic",
"Zen",
"Hebraic",
"Palestinian",
"Galilean",
"New Age",
"Reformed",
"Orthodox",
"Southern",
"Northern",
"Eastern",
"Western",
"Universal",
/* MCA */
"Bavarian",
"Allied",
"Brotherhood of the",
"Greek",
"Golden",
"Silver",
"Hindu",
"Ancient",
"Illuminated",
"Renown",
"Mongol",
"Hermetic",
"Rockin'",
"Aztec",
"True",
"Asian",
"Zombie",
"Converted",
"Gidean",
"American",
"New",
"Alien",
"Rhode Island",
"Alaskan",
"New York",
"Native American",
"Young",
"",
null,
"Catholic",
"Baptist",
"Protestant",
"Muslim",
"Moonie",
"Mormon",
"Witnesses",
"Sikh",
"Buddhist",
"Krishna",
"Methodist",
"Fire-worshipper",
"Parsee",
"Theosophist",
"Adventist",
"Confucianist",
"Shamanist",
"Taoist",
"Atheist",
"Rosicrusian",
"Sub-Genius",
"Episcopalian",
"Secular Humanist",
"Revisionist",
"Masonic",
"Shriner",
"Pentecostal",
"Charismatic",
"Thetan",
"Odd Fellow",
"PreClear",
"Satanic",
"Twelve Step",
"Druid",
"Lutheran",
"Four Square",
"Bible Thumpers",
"Flat-Earth",
"Whole-Earth",
/* MCA */
"Paved-Earth",
"Star",
"Generation X",
"Christian",
"Thelemite",
"Liberation",
"John Birch",
"Elder Thing",
"Trekker's",
"Illuminati",
"Science",
"Discoridan",
"Baccus",
"Republican",
"Democratic",
"Libertarian",
"Communist",
"Socialist",
null,
"Church",
"Faith",
"Sect",
"Heresy",
"Liberation Front",
"Elder Council",
"Lodge",
"Society",
"Temple",
"Army",
"Congregation",
"Sunday School",
"Cult",
"Fellowship",
/* MCA */
"Scientists",
"Revolution",
"Foundation",
"Order",
"Militia",
"Fan Club",
"Affiliation",
"Movement",
null,
/* MCA */
"for a Better Tomorrow",
"for a Better Today",
"of Latter Day Saints",
"for a Better Yesterday",
"for Women",
"for Men",
"for Aliens",
"for Lesbians",
"for Gay Men",
"for Bisexuals",
"from Tulsa, Oklahoma,",
"of Ohio",
"from Wisconson",
"of Mexico",
"for Eunics",
"of Germany",
"of Russia",
"for a Unified Europe",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
null,
"believes that",
"denies that",
"is strongly divided over whether",
"rejects the notion that",
"posits that",
"preaches that",
"insists that",
"professes that",
"proclaims that",
"suspects that",
"theorises that",
"concludes that",
"announces that",
"refutes that",
"is confused over whether",
"agrees that",
null,
"the Bible",
"the Koran",
"the Magna Carta",
"the Kama Sutra",
"the Bagavad Gita",
"the Talmud",
"the Torah",
"the Satanic Verses",
"the Mosaic Law",
"the book of Revelation",
"the collection of predictions of Nostradamus",
"every Norse saga",
"the new, controversial eleventh Commandment",
"the Apocrypha",
"the Sargent Pepper album",
"the Athanasian creed",
"the Rosetta Stone",
"chapter thirteen of Dianetics",
"a transcript of the very first Ramtha channeling",
"The Writ of Common Wisdom",
"a certain part of \"The Last Temptation of Christ\"",
"\"The Prophet\", by Kahlil Gibran,",
"\"The Profit\", by Kehlog Albran,",
"a secret document hidden in Fawn Hall's underwear",
"one of the lesser known Dead Sea Scrolls",
"Marquis de Sade's \"Bedroom Etiquette\"",
"a cryptic notation on the back of the bar tab from the Last Supper",
"Darwin's \"Origin of Species\"",
"a particularly crude example of poetry from the men's room wall",
"Elvis's Will",
"The Pentagon Papers",
"Shirley McLaine's \"Out on a Limb\"",
"an inscription found on the basement wall in the Temple of Karnak",
"\"The Life of Brian\"",
"a certain scrap of MVS source code from 1971",
"an IBM punch card found on the machine room floor in 1978",
"the private diary of Marcia Brady",
"the Book of Mormon (with introduction by Charlton Heston),",
"grafitti once found on the A-train to Far Rockaway in 1969",
"a certain limerick containing a reference to \"Nantucket\"",
"Randy Travis' Copenhagen ring",
"a mysterious pattern of cat box scratchings",
"\"The Yosemite\" by John Muir",
"\"No Bad Dogs\", by Barbara Woodhouse",
"\"Atlas Shrugged\", by Ayn Rand",
"a certain cryptic coding construct of Richard Stallman",
"Cher's secret tattoo",
"the bumps on the skull of Thomas \"Tip\" O'Neill (if interpreted as braille)",
"a particularly obscure pattern of crop circles",
"scene II, act V of \"The Search for Spock\"",
"a forgotten screenplay by Sidney Sheldon",
"the pattern of crows feet around Nancy Reagan's eyes (as interpreted by her astrologist),",
"a certain old \"Leave it to Beaver\" script",
"Nancy Reagan's \"My Turn\"",
/* MCA */
"Windows '95 document files",
"the Necronomicon",
"the Principia Discordia",
"The Egyptian Book of the Dead",
"The Tibetan Book of the Dead",
"MS-DOS 3.3 user's guide",
"Bill Gate's income tax form",
"OS/2's original source code",
"a never used function in Word",
"a large lump of Spam, moulded in the form of Elvis",
"\"Common Sense\" by Adam Smith",
"the script to \"Pulp Fiction\"",
"Frank Herbert's last, unpublished \"Dune\" novel",
"Aleister Crowley's \"The Book of the Law\"",
"the pimples on Ronald Reagan's ass (if interpreted as braille)",
"\"The Joy of Lesbian Sex\", chapter six",
"that greasy stuff Spam is canned with",
"Gram Hill's odd birthmark",
"the scripts to all of Elvis' movies",
"Einstein's tupee",
"an old stop sign shot by a buckshot shotgun (if interpreted as braille)",
"\"How to Win Friends and Influence People\"",
"The Gospel According to Bob",
"an abandoned and neglected Mac Classic",
"all the world's Giddian Bibles",
"a certain Sunday edition of The Family Circus",
"the Constitution of the Iriqois Nations",
"The Mr. Bill Show",
"Gene Simon's chest hair",
"the stained blue dress",
null,
/* MCA */
", if read backwards,",
", if held up to strong light,",
", when pasted together in the correct order,",
", when translated from the original Turkish,",
", when played backwards,",
", if rearranged via the I Ching,",
", if spat upon by thousands of green yaks,",
", if decrypted using Jesus's original PGP public key,",
", in reality,",
", if cut apart then reassembled in a certain order,",
", if spoken by James Earl Jones,",
", when arranged in a specific order,",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
null,
"predicts the eventual supremacy of",
"contains a direct reference to",
"has been misunderstood by",
"proclaims the divinity of",
"can be read as denouncing the divinity of",
"is an insult to",
"is a heretical misinterpretation of scripture by",
"was inspired by",
"denies the existence of",
"contains coded messages from the Inner Child of",
"was dictated by",
"encodes the personal opinions of",
"can be deduced from the writings of",
"implies the divinity of",
"justifies worshipping the sandals of",
"explains the holy writings of",
"can be interpreted as the memoirs of",
"reveals cryptic messages from",
"reveals a message from",
"follows the teachings of",
/* MCA */
"was comprehended by",
"divines a New Testament by",
"was revealed by",
"was divined to",
"sheds new light into the life of",
"proves the divine origins of",
"predicts the divine birth of",
"proclaims the Word of",
"suggests the divinity of",
"justifies the worshiping of",
"conceals the teachings of",
null,
"Salman Rushdie,",
"the Ayatollah,",
"Thomas Aquinas,",
"Billy Graham,",
"J. Z. Knight,",
"Elijah,",
"Elvis,",
"Elvis Costello,",
"Elvira, Mistress of the Dark,",
"Jesus' little known brother Tony,",
"the Reverend Al Sharpton,",
"Louisiana State Senator Merle Jacobs,",
"John Lennon,",
"Buddy Holly,",
"Andrew Lloyd Weber,",
"a certain bombastic revivalist preacher,",
"the creature from the Black Lagoon,",
"a particular White-Supremacist from Hayden Lake,",
"Jerry Lee Lewis,",
"a twelve year old stigmatic from Lubbock, Texas,",
"Zeus,",
"King Tut,",
"Ernest Hemingway,",
"Mariel Hemingway,",
"Ernest Borgnine,",
"Ernest P. Worrell,",
"Ernest P. Worrell's love-child,",
"\"Jake the Snake\",",
"Ann Landers,",
"Bess Truman,",
"a fire-and-brimstone street preacher from Provo,",
"the last living Baghwan Shree-Rajneesh loyalist,",
"a certain white-shoed car salesman,",
"Crazy Eddie,",
"Howard Stern,",
"a certain Australian footballer named Bubba,",
"Father Guido Sarducci,",
"the last practicing medicine man of the Mohicans,",
"James Randi,",
"Our Lady of the White Go-Go Boot,",
"Verleen, The patron saint of Big Hair,",
"Helga, the patron saint of Unseasoned Food,",
"Randy, the patron saint of Big Pickup Trucks,",
"Maxine, the patron saint of Press-on Nails,",
"Tina, the patron saint of Polyester Stretch Pants,",
"Boopsie, the patron saint of Large Dangly Earrings,",
"Mahomet,",
"Walt Disney,",
"Ezekiel,",
"Dan Quayle,",
"Murphy Brown,",
"George Bush,",
"Oliver North,",
"Thomas Merton",
"Leo Buscaglia,",
"Marilyn Quayle,",
"Ernest Angsley,",
"Odin and Thor,",
"Adolf Hitler,",
"Linus Pauling,",
"Pope John-Paul II,",
"Bishop Spong,",
"Mumon,",
"Martin Scorcese,",
"Bill Gates,",
"Abraham Lincoln",
"Daryl Gates,",
"Robert Gates,",
"Robert DeNiro",
"the Mormon Tabernacle Choir,",
"Jim Bakker,",
"Tammy-Faye Bakker,",
"Jimmy Swaggart,",
"Susanne Somers,",
"Richard Simmons,",
"Richard Lewis,",
"Cardinal Richelieu,",
"Charles Manson,",
"James Taylor,",
"Tipper Gore,",
"Hillary Clinton,",
"Dolly Parton,",
"Jerry Falwell,",
"Robert Bly,",
"Joseph Campbell,",
"Zig Zeigler,",
"L. Ron Hubbard,",
"Captain Al Hubbard,",
"Jesse Helms,",
"Jesse Jackson,",
"Jimi Hendrix,",
"The Juice Man (tm),",
"Clarence Thomas,",
"Long Dong Silver,",
"a certain paunchy, ex-Chippendale dancer,",
"the shadowy leader of a certain gang of biker nuns,",
"a spaced out, pot smoking crystal worshipper,",
"a certain swarthy wild-eyed, Eastern European anarchist,",
"a certain middle-aged bag lady with a personality disorder,",
"a certain pornography-addicted TV preacher,",
"a certain washed up TV actor that's now doing infomercials on cable,",
"a certain philandering, saxophone-playing Southern Governor,",
"a certain flamboyant, gender-bending rock star,",
"a certain female talk show pop-psychologist,",
"a certain truck stop waitress from Cocolalla, Idaho,",
"a certain small town sheriff from North Carolina,",
"an avowed heterosexual female tennis player,",
"a certain absent-minded, father figure ex-President,",
"a certain blonde, pointy-bra wearing pop singer,",
"David Duke,",
"Robert Mapplethorpe,",
"Wilheim Reich,",
"Kreskin,",
"Mahatma Gandhi,",
"Abbie Hoffman,",
"Timothy Leary,",
"Jack Kerouac,",
"Allen Ginsberg",
"Paul Krassner,",
"Marlin Fitzwater,",
"Ken Kesey,",
"Helen Gurley Brown,",
"Tina Brown,",
"David Geffen,",
"Howard Cosell,",
"Cy Sperling,",
"Andy Warhol,",
"Ferdie \"The Fight Doctor\" Pacheco,",
"Madonna,",
"The Beatles,",
/* MCA */
"Anton S. LeVay,",
"Gautama Buddha,",
"Kali, destroyer of worlds,",
"Ed Wood,",
"David Koresh,",
"Aleister Crowley,",
"Les Claypool,",
"Ben Hur,",
"Michael Eisner,",
"Erwin Schrodinger,",
"William S. Burrows,",
"H. P. Lovecraft,",
"a gigantic, shiny, red button,",
"Frank Zappa,",
"the aliens from Alpha Centauri IV,",
"Alice Cooper's snake,",
"Terrence McKinna,",
"Great Cthulu,",
"Eris Discordia,",
"David Scott,",
"Robert Anton Wilson,",
"J. R. \"Bob\" Dobbs,",
"the face on Mars,",
"Adam Wiesaupt,",
"William Shatner,",
"SUPERMONSTER GAMARA,",
"Andrew \"Dice\" Clay,",
"Dr. Van Van Mojo,",
"John Miller,",
"Peyote Woman,",
"Yog S'thoth,",
"Monica Luinsky,",
"Stanley Kubrick,",
"Pac-Man,",
"George Washington",
"The Amazing Randy",
null,
"and",
"but",
"yet",
"and likewise",
null,
"says",
"explains",
"claims",
"believes",
"argues",
"insists",
"refutes",
"denies",
"professes",
"preaches",
"suggests",
null,
"that",
"that soon",
"that after the second coming of Christ",
"that ultimately",
"that inevitably",
"that if we are true and faithful servants,",
null,
"we should strive for",
"the world will end with",
"we should beware",
"we shall see",
"the ungodly are about to experience",
"only the faithful will achieve",
"the chosen people will soon experience",
"men will yield to",
"women will yield to",
"mankind will yield to",
"man will succeed in avoiding",
"woman will succeed in avoiding",
"mankind will succeed in avoiding",
"the Seventh Sign will be avoided by",
"only the born-again will actually enjoy",
"only the chosen people will experience",
"the chosen people will be spared by",
/* MCA */
"the doom of humanity shall be",
"the fall of humanity shall be",
"the world shall be consumed by",
"a rebirth of spiritualism will come about through",
null,
"reincarnation.",
"Judgement Day.",
"the Apocalypse.",
"\"Apocalypse Now\".",
"Oral Robert's prayer tower.",
"nirvana.",
"Nirvana (the band).",
"Mount Olympus.",
"martyrdom.",
"the Second Coming.",
"the Second Cuming.",
"the sound of one hand clapping.",
"birth control.",
"better living through chemistry.",
"human sacrifices.",
"cherry pie and damn fine coffee.",
"damnation.",
"Papal Infallability.",
"enlightenment.",
"the \"666\" mysteriously found tattooed on your head.",
"pinball heaven.",
"phallic idoltry.",
"pubic hair on your Coke.",
"a guilt-free afterlife.",
"guilt-free sex.",
"guilt-free bingo.",
"government, by the people, and for the people.",
"remorse for their crimes.",
"\"Crimes Against Nature\" (at least in some Southern states).",
"the Turin Shroud.",
"purgatory.",
"premarital sex.",
"a feeling of oneness with nature.",
"that oh-so-fresh feeling.",
"that not-so-fresh feeling.",
"shiatsu massage.",
"chiropractic treatment.",
"ESO.",
"tetrahydrocannabinol.",
"lysergic acid diethylamide.",
"psilocybin.",
"quinuclidinyl benzilate.",
"phenylpropanolamine.",
"Xanax addiction.",
"Prozac addiction.",
"a life made livable with clozapine.",
"colonic irrigation, twice a day.",
"self abuse.",
"real tears from Michelangelo's \"Pieta\".",
"the face of Jesus in a bowl of spaghetti.",
"one man, one vote.",
"a resurgence of tribbles.",
"a Popeil pocket fisherman.",
"\"from each according to their ability, to each according to their need\".",
"the upcoming Vernal Equinox.",
"Buddha Nature.",
"the upcoming Summer Solstice.",
"trout fishing.",
"rolfing.",
"engrams.",
"utopia.",
"the ThighMaster.",
"bliss.",
"the monolith in 2001 A Space Odessy.",
"the writings of Douglas Hofsteader.",
"the end of the world.",
"the eventual domination of world.",
"backward masking.",
"megadoses of vitamin C.",
/* MCA */
"fire.",
"\"liqui-gels\".",
"\"2001: A Space Odessy\".",
"assault-style weapons.",
"anarchy.",
"lemon-scented sprays.",
"the Rocky Horror Picture Show.",
"Spam.",
"a plastic imitation foreskin.",
"sex with Ted Kennedy.",
"smokin' Dope with the Pope.",
"trendy papsmears.",
"removal of that dangly thing in the back of your mouth.",
"New Coke.",
"the death of Bob Dole.",
"watching all of Oliver Stone's films, back to back.",
"the ATF.",
null,
null /* and one last null to end the whole list */
};
public static void main( String args[] )
{
int i = 0, l = 1;
if (args.length > 0)
try {
l = Integer.parseInt( args[0] );
} catch (NumberFormatException nfe) { l = 1; }
for (; i < l; i++)
{
printRandomSelection( LIST );
System.out.println("");
}
}
public static void printRandomSelection( String list[] )
{
int i = 0, j, cnt;
String buff = "";
for (; list[i] != null; i++) {
/* how many in the current list? */
cnt = 0;
for (j = i; list[j] != null; j++) {
cnt++;
}
/* pick a random string */
j = (int)(Math.random() * cnt);
buff = cat( buff, list[i + j] );
i += cnt;
}
/* print it out, breaking lines */
printLines( buff );
}
protected static String cat( String s1, String s2 )
{
int l1 = s1.length(), l2 = s2.length();
char c, c2;
if (l2 <= 0) return s1;
if (l1 <= 0) return s2;
c = s1.charAt( l1 - 1 );
c2 = s2.charAt(0);
if ( (!Character.isLetterOrDigit(c)) && c == c2 )
{
s2 = s2.substring(1);
c2 = s2.charAt(0);
}
if (c != ' ' && c2 != ',')
return s1 + " " + s2;
return s1 + s2;
}
protected static void printLines( String text )
{
String tmp;
int cnt = 0, j;
boolean firstOnLine = true;
while (true) {
j = text.indexOf( ' ' );
if (j < 0)
{
j = text.length();
if (cnt+j+1 < COLUMNS_PER_LINE)
System.out.println( " "+text );
else
System.out.println( "\n"+text );
return;
}
tmp = text.substring( 0, j );
text = text.substring( j+1 );
if (cnt + j < COLUMNS_PER_LINE) {
cnt += j + 1;
System.out.print( " " + tmp );
} else {
cnt = tmp.length();
System.out.print( "\n" + tmp );
}
}
}
}
/*
--
Selected by Brad Templeton. MAIL your joke (jokes ONLY) to funny@clarinet.com.
Attribute the joke's source if at all possible. A Daemon will auto-reply.
If you don't need an auto-reply, submit to rhf@clarinet.com instead.
*/
|