// motd.js 05Nov03 mkj
// used to display our querky MOTD
var months = new Array();
months[0] = "January";
months[1] = "February";
months[2] = "March";
months[3] = "April";
months[4] = "May";
months[5] = "June";
months[6] = "July";
months[7] = "August";
months[8] = "September";
months[9] = "October";
months[10] = "November";
months[11] = "December";
var msg = new Array();
var by = new Array();
msg[0] = "Make everything as simple as possible, but not simpler.";
by[0] = "- Albert Einstein";
msg[1] = "Make everything as simple as possible, but not simpler.";
by[1] = "- Albert Einstein";
msg[2] = "If A equals success, then the formula is A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut.";
by[2] = "- Albert Einstein";
msg[3] = "Genius doesn't work on an assembly line basis. You can't simply say, 'Today I will be brilliant.'";
by[3] = "- Captian Kirk,<BR>'The Ultimate Computer', stardate 4731.3";
msg[4] = "And remember, when you look into the pit, the pit looks back into you.";
by[4] = "- Anonymous INTERCAL hacker";
msg[5] = "Those programmers live beyond the physical world. They consider life absurd,  an accidental coincidence. They come and go without knowing limitations.  Without a care, they live only for their programs.";
by[5] = "- Geoffrey James,<BR>'The Tao of Programming'";
msg[6] = "Anyone can throw a brick through a church window. But it takes an artist to make that stained glass.";
by[6] = "- Nightstalker,<BR>on the difference between a Cracker and a Hacker";
msg[7] = "Hackers are simply technology-obsessed folks in love with the 'Eureka!' moment.";
by[7] = "- Steven Levy,<BR>'Hackers: Heroes of the Computer Revolution'";
msg[8] = "The Net interprets censorship as damage and routes around it.";
by[8] = "- John Gilmore,<BR>a co-founder of the Electronic Frontier Foundation";
msg[9] = "The nice thing about standards is that there are so many to choose from. And if you really don't like all the standards you just have to wait another year until the one arises you are looking for.";
by[9] = "- A. Tanenbaum,<BR>'Introduction to Computer Networks'";
msg[10] = "The wise man doesn't give the right answers, he poses the right questions.";
by[10] = "- Claude Levi-Strauss";
msg[11] = "I have often felt that programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.";
by[11] = "- Ed Nather,<BR>'The Story of Mel, a Real Programmer'<BR> originally posted to Usenet";
msg[12] = "You can learn a lot about an individual just by reading through his code, even in hexadecimal.";
by[12] = "- Ed Nather,<BR>'The Story of Mel, a Real Programmer'<BR> originally posted to Usenet";
msg[13] = "Let the programmers be many and the managers few then all will be productive.";
by[13] = "- Federico G. Schwindt (fgsch@openbsd.org)";
msg[14] = "Life`s not fair<BR>But the root password helps.";
by[14] = "- Anon";
msg[15] = "Foolproof systems don`t take into account the ingenuity of fools.";
by[15] = "- Gene Brown";
msg[16] = "In God we Trust -- all others must submit an X.509 certificate.";
by[16] = "- Charles Forsythe (forsythe@alum.mit.edu)";
msg[17] = "I am a strong believer in making sure that things we can do right inside the library are done inside the library so that application developers do not get unexplained behavior simply because they forgot to do something. ... Don't trust the application developer to know or understand everything that must be done.";
by[17] = "- Jeffrey Altman (jaltman@columbia.edu),<BR>on openssl-dev@openssl.org mailing list";
msg[18] = "Hardware, n.:<BR>The parts of a computer system that can be kicked.";
by[18] = "- Anon";
msg[19] = "The trouble with computers is that they do what you tell them to do, not what you want them to do.";
by[19] = "- Anon";
msg[20] = "I do not fear computers. I fear the lack of them.";
by[20] = "- Isaac Asimov";
msg[21] = "C makes it easy for you to shoot yourself in the foot. C++ makes that harder, but when you do, it blows away your whole leg.";
by[21] = "- Bjarne Stroustrup";
msg[22] = "You can have my Unix system when you pry it from my cold, dead fingers.";
by[22] = "- Cal Keegan";
msg[23] = "Cursor, n.:<BR>User whose program will not run.";
by[23] = "- Anon";
msg[24] = "Java grows on you. Psychologically programming in C++ feels like coding after staying up three days on a burn to get all the project details in your head. Java feels like coding after a bath and a  shave.";
by[24] = "- Roedy Green (http://mindprod.com)";
msg[25] = "I've concluded that being an NT sysadmin requires a level of cynicism so breathtaking that relatively few can achieve it.";
by[25] = "- Joyce Park,<BR>'Small Business Server Upgrade'<BR>(www.osopinion.com/Opinions/JoycePark/JoycePark2.html)";
msg[26] = "No, Linux should not be spelled Lignux. There's a lot of GNU code out there, but it should stand on its own instead of trying to get a free ride on the Linux name recognition. I _am_ very indebted to the gcc developers, who have made sure that there's a good high-quality compiler out there that everybody can use, but that doesn't really mean that they get to choose their own name for the system. Your midwife doesn't select the name of your babies...";
by[26] = "- Linus Torvalds,<BR>in ABCNEWS.com chat";
msg[27] = "Programming is the central focus of my life. And I make no excuses about it. There's always the time where you have people telling you to get a life, you know, 'Don't spend so much time on this, you should be broader based.' But being well balanced is overrated; I'm really, really good at what I do. I derive a lot of satisfaction from it. I'm able to push ahead on some new frontiers. And I'm completely happy with it, and I make no excuses for the fact that, yes, all of my life is wrapped around computer programming.";
by[27] = "- John Carmack";
msg[28] = "A project has to sit inside one person's head.";
by[28] = "- Linus Torvalds";
msg[29] = "On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.";
by[29] = "- Charles Babbage";
msg[30] = "The wireless telegraph is not difficult to understand. The ordinary telegraph is like a very long cat. You pull the tail in New York, and it meows in Los Angeles. The wireless is the same, only without the cat.";
by[30] = "- Albert Einstein";
msg[31] = "This 'telephone' has too many shortcomings to be seriously considered as a means of communication. The device is inherently of no value to us.";
by[31] = "- Western Union internal memo, 1876";
msg[32] = "Information is the currency of democracy.";
by[32] = "- Thomas Jefferson";
msg[33] = "Beware of bugs in the above code: I have only proved it correct, not tried it.";
by[33] = "- Donald Knuth";
msg[34] = "Avoid any book '* For Dummies', 'Learn * in * Days', '* Bible', or '* Unleashed'.  Real experts write books in series who's names are not included in the title of the book.";
by[34] = "- Dimitrios Souflis (dsouflis@ovrimos.com)";
msg[35] = "General Page Fault - not my fault";
by[35] = "- Anon";
msg[36] = "Better is the enemy of good.";
by[36] = "- Cliff Stoll - Author of The Cuckoo's Egg";
msg[37] = "Always do right - this will gratify some and astonish the rest.";
by[37] = "- Mark Twain";
msg[38] = "My interest is in the future because I am going to spend the rest of my life there.";
by[38] = "- Charles F. Kettering (1891-1958) American elecrical engineer and inventor";
msg[39] = "We don't need more until intellegence has increased so we can operate what we have.";
by[39] = "- Thomas Edison, 1926 at age 80 to the question 'What inventions does the world need most?'";
msg[40] = "If you really think that you can run a secure web server on Windows you've not understood security.";
by[40] = "- Ralf S. Engelschall, author of mod_ssl";
msg[41] = "I always tell people that as a consultant and author, if computers ever really become easy to use, I'm out of two jobs. I'm not worried.";
by[41] = "- James E. Gaskin";
msg[42] = "A lot of people want to polish it for 2.6. And the thing is, we don't want it polished. We want it solid as a rock. And it is okay to be scruffy-looking like a rock too. But it has to be solid.";
by[42] = "- Linus Torvalds, on the Linux 2.6 release";
msg[43] = "You can observe a lot just by watching.";
by[43] = "- Yogi Berra";
msg[44] = "An invasion of armies can be resisted, but not an idea whose time has come.";
by[44] = "- Victor Hugo";
msg[45] = "At first they ignore you, then they laugh at you, then they ridicule you, then they fight you, then you win.";
msg[45] = "- Mahatma Gandhi";

msg[46] = "While Edison was developing the light bulb, he was asked him why he hadn't made any progress he is reported to have said, 'Results! Why, man, I have gotten a lot of results. I know several thousand things that won't work.'";
by[46] = "- Thomas Edison";
msg[47] = "Opportunity is missed by most people because it is dressed in overalls, and looks like work.";
by[47] = "- Thomas Edison";
msg[48] = "Restlessness and discontent are the first necessities of progress.";
by[48] = "- Thomas Edison";
msg[49] = " The moment you commit and quit holding back, all sorts of unforseen incidents, meetings and material assistance will rise up to help you. The simple act of commitment is a powerful magnet for help.";
by[49] = "- Napoleon Hill";
msg[50] = "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.";
by[50] = "- Donald Knuth";
msg[51] = "A good memory does not equal pale ink.";
by[51] = "- Matthew Wlazlo, Tuxia Labs Australia";
msg[52] = "Never attribute to malice that which is adequately explained by stupidity.  Stupidity has no limits, genius does.";
by[52] = "- Hanlon's Razor";
msg[53] = "Plan to throw the first version away. You will anyway.";
by[53] = "- Fred Brooks in 'The Mythical Man Month'";
msg[54] = "IMHO a lot security problems are located between chair and keyboard, but that's another issue...";
by[54] = "- Paulo Matos <pjsm@fct.unl.pt>";
msg[55] = "I have no special gift. I am only passionately curious.";
by[54] = "- A. Einstein";

function writeMotd() {
	i = Math.floor(Math.random() * 54);

	document.writeln("<TABLE CELLSPACING=0 WIDTH=\"400\"");
	document.writeln(" CELLPADDING=\"0\" BORDER=\"0\">");
	document.writeln("<TR bgcolor=\"#CC7733\">");
	document.writeln("<TD>&nbsp;<B>");
	document.writeln("<FONT FACE=\"Arial,Helvetica\">");
	document.writeln("Pearls of Wisdom for:");

	//document.write(Date()+".");
	Stamp = new Date();
	day = Stamp.getDate();
	imonth = Stamp.getMonth();
	year = Stamp.getYear();
	// now need year check and possible fix because ...
	// IE 5.5 returns year = 2000 but
	// Netscape 4.7X returns year = 100 <- Y2K!!
	if (year < 1900)
	{
		year += 1900;
	}
	document.write(day+" "+months[imonth]+" "+year);
	document.writeln("</FONT></B></TD></TR>");
	document.writeln("<TR bgcolor=\"#CC9933\">");
	document.writeln("<TD align=\"left\">");
	document.writeln("<FONT FACE=\"Arial,Helvetica\">");
	document.writeln("<FONT SIZE=\"-1\">");
 
	document.write(msg[i]);
	document.writeln("</FONT></FONT></TD></TR>");

	document.writeln("<TR bgcolor=\"#CC9933\">");
	document.writeln("<TD align=\"right\">");
	document.writeln("<FONT FACE=\"Arial,Helvetica\">");
	document.writeln("<FONT SIZE=\"-1\">");
	document.write(by[i]);
	document.writeln("</FONT></FONT></TD></TR>");
	document.writeln("</TABLE>");
}

// eof motd.js

