« March 2004 | Main | May 2004 »

Notable Links

Posted by: David Carroll

Notable Links

Posted by: David Carroll

Forms of Government

Posted by: David Carroll

Socialism: You have two cows. You keep one and give one to your neighbor.

Communism: You have two cows. The government takes them both and provides you with some milk.

Fascism: You have two cows. The government takes them both and sells you the milk.

Anarchism: You have two cows. You keep both of the cows, shoot the government agent and steal another cow.

Nazism: You have two cows. The government shoots you and takes both cows.

Bureaucracy: You have two cows. The government takes them both, shoots one, milks the other, pays you for the milk, and then pours it down the drain.

Capitalism: You have two cows. You sell one and buy a Bull.

Corporate: You have two cows. You sell one, force the other to produce the milk of four cows and then act surprised when it drops dead.

Democracy: You have two cows. The government taxes you to the point that you must first milk the cows, convert the milk to cheese, then sell all the cheese to pay taxes, then sell them both in order to support a man in a foreign country who has only one cow, which was a gift from your government.

via: http://www.upliftingjokesandstuff.com/definitions3.htm

Prayer is not for getting things done

Posted by: David Carroll

Prayer is not primarily a means of getting things done. It should never be a pragmatic exercise. Prayer is our means of meeting God - of entering into deep intimacy with Him. The life of prayer is born out of an overwhelming hunger for God - a desire that says, “I must have God or I die.” (via Imago Veritatis)

Show Progress for Long Running ASP.NET page

Posted by: David Carroll

<%@ Import Namespace="System.Threading" %>
<%@Page Language="VB" %>

<html>
<%
Response.Write("<div id='mydiv'>Loading</div>")
Response.Write("<script language=javascript>;")
Response.Write("var dots=0;var dotmax=10;function ShowWait()")
Response.Write("{var output;output='Loading';dots++;if(dots>=dotmax)dots=1;")
Response.Write("for(var x=0;x<dots;x++)output+='.';mydiv.innerText= output;}")
Response.Write("function StartShowWait(){window.setInterval('ShowWait()',1000);}")
Response.Write("function HideWait(){mydiv.style.display='none';window.clearInterval();}")
Response.Write("StartShowWait();</script>")
Response.Flush()
Thread.Sleep(10000)
%>
<head>
<script>HideWait();</script>
</head>
<body>
<h1>Loaded</h1>
</body>
</html>