These are my links for March 10th through March 11th:
Bookmarks for March 9th through March 10th
These are my links for March 9th through March 10th:
Bookmarks for March 7th through March 8th
These are my links for March 7th through March 8th:
Facebook Chat Now XMPP
Well, it took them long enough. Facebook Chat now uses XMPP technology.
XMPP (Extensible Messaging and Presence Protocol) is an open-standard messaging protocol, used by many different internet messaging services and many different programs. In other words, you now can chat via Facebook with all of your friends contacts on a separate internet messaging program, without being forced to browse their website.
For your chat program, I personally use and recommend Pidgin. Pidgin is a free, open-source chat program, which works on multiple operating systems and with multiple chat networks. You can set it up to work with AIM, ICQ, Google Talk, Yahoo Messenger, Windows Live (MSN) Messenger, and more.
And now Pidgin works with Facebook Chat also. Instructions for setting up Pidgin for Facebook Chat can be found here.
Enjoy.
Economics in One Lesson
Economics in One Lesson: The Shortest and Surest Way to Understand Basic Economics by Henry Hazlitt
This book should be required reading for all elected officials and government policy-makers. It is also highly recommended for all voters, taxpayers, and citizens. Basic economics is presented as simply and clearly as possible. The numbers/statistics are used sparingly. It should not be too difficult to comprehend for most idiot legislators.
The “one lesson” is explained in the five pages of the first chapter. Every act or policy has consequences: not only immediate effects, but also long-term effects; and not only effects on one particular group, but also on all other groups. The remaining two-hundred pages contain applications of this lesson on a variety of topics, where a particular policy was enacted without realizing all eventual consequences. Topics include public works, taxes, imports/exports, price-fixing, unions, and inflation.
Governments are making the same egregious errors today as they were when the first edition of this book was published over sixty years ago. Hopefully, we can fix this. Start by sending a copy of this book to your elected representatives today.
Phrases I Hope Catch On
Here are a few slangy phrases that I hope catch on in the near future:
- Brining the turkey.
This phrase is in honor of the recent Thanksgiving holiday; it should refer to getting drunk. Instead of soaking a large bird in a salty solution, you are soaking yourself in alcohol. And you are a turkey. This phrase would also make a good name for a bar. (Hat tip to my Thanksgiving dinner companions for the discussion.) - Sweating like a bear.
I use this phrase regularly when describing my own profuse sweating. I know nothing about bear sweat glands, but I also know nothing about any other animal sweat glands. I chose the bear simply because I am a large, hairy, cuddly man. - Farting like a banshee.
I first heard this phrase spoken by an old college roommate, describing my prolific flatulence at the time. (Thankfully, this is no longer the case.) I thought it was a clever play on the more familiar “screaming like a banshee” phrase.
Diversity Statement
The following is a diversity statement I wrote as part of a community college teaching application. I considered lying about my true beliefs and composing a fruity statement about the wonders of diversity, but I am too honest to pretend that it is anything other than a crock.
Many people consider the diversity of its people to be a foundation of the success and innovation of the State of California and the United States of America.
I am not one of these people.
I believe people should be treated as individuals, not as groups. I am committed to teach each individual person to the best of my ability, paying no heed to their academic, socioeconomic, cultural, disabled or ethnic background.
Only by inciting each individual student to perform to the best of their ability, and by not crippling their development with collective expectations, will we maximize the success and innovation of all mankind.
Obama Bows to Japanese Emperor
Here’s a photo I saw today on the Los Angeles Times web site. How low will he go? Obama gives Japan’s Emperor Akihito a wow bow.
This disgusts me. President Obama (D) was photographed and videotaped bowing to Japanese Emperor Akihito and Empress Michiko. This is the second time Obama has been photographed bowing to a foreign monarch. The first, of course was in April to Saudi Arabian King Abdullah.
Here is a YouTube video of Obama’s bow:
The American president should never bow to any king. The first forty-three Presidents bowed to a grand total of ZERO foreign rulers.
Anybody want to bet me on the first foreign leader Obama will be photographed fellating? My money is on Vladimir Putin.

Obama Countdown Clock Code
Some of you have remarked that you like the Obama Countdown Clock on my home page. For those of you who would like to create your own, I give you the necessary code. These code snippets will print the time remaining in the Obama administration in the format: “1460d 23h 59m 59s”.
Note that the Obama failure will end with the inauguration of the next president, which is scheduled to occur on January 20, 2013, at 12 Noon, Eastern Standard Time. In computer system time, this is 1,358,701,200 (seconds since Jan 1, 1970, 00:00:00 UTC).
The first option, if you would like a static clock, is to create it using PHP. This clock is calculated by the web server, and will only be updated whenever the web page is reloaded.
<?php
$datearray=getdate();
$sectot=1358701200-$datearray[0];
$seconds=$sectot%60;
$mintot=floor($sectot/60);
$minutes=$mintot%60;
$hourtot=floor($mintot/60);
$hours=$hourtot%24;
$days=floor($hourtot/24);
echo($days);
echo("d ");
if ($hours<10) echo("0");
echo($hours);
echo("h ");
if ($minutes<10) echo("0");
echo($minutes);
echo("m ");
if ($seconds<10) echo("0");
echo($seconds);
echo("s");
?>
The second option, for a dynamic clock, is to create it using Javascript. This clock is calculated by the web browsing computing, and it will update the clock once per second.
First step, create a file called “obamacountdownclock.js”, containing the following function:
function obamaCountdownClock()
{
var now = new Date();
var tnow = now.getTime();
var msectot = 1358701200000-tnow;
var sectot = Math.ceil(msectot/1000);
var mintot = Math.floor(sectot/60);
var seconds = sectot%60;
var hourtot = Math.floor(mintot/60);
var minutes = mintot%60;
var days = Math.floor(hourtot/24);
var hours = hourtot%24;
if (hours<10) {hours="0"+hours};
if (minutes<10) {minutes="0"+minutes};
if (seconds<10) {seconds="0"+seconds};
document.getElementById('obamaclock').innerHTML = days+"d "+hours+"h "+minutes+"m "+seconds+"s";
t=setTimeout('obamaCountdownClock()',1000);
}
Next, in the head section of your html code, add the following line to load the previous javascript file:
<script type="text/javascript" src="obamacountdownclock.js"></script>
Finally, add the following text inside your html code, where you would like the clock to appear:
<span id="obamaclock"></span> <script type="text/javascript">obamaCountdownClock()</script>
Enjoy!
Pet Peeve: Best viewed with Internet Explorer
As I was filling out an online job application recently, I read the following words:
Note: If you are viewing this page through a different browser (i.e. AOL, Mozilla Firefox, Netscape, Safari, Opera), please close it out and reopen through Internet Explorer or all features of this application will not work.
Also, recently, I was required to complete an online orientation course for a college where I currently teach. (I will not mention the college name here, although you could probably figure it out if you view my resume.) I attempted to access the course with Mozilla Firefox, my usual browser. No good. Next, I tried Opera. No good either. By now, I was irritated. I tried both Apple’s Safari and Google’s Chrome out of spite. As expected, their website failed again. Finally, I turned to Internet Explorer and was able to access the course. Later, I found the system requirements page for their website, and Internet Explorer is listed as a requirement.
Now the scary part: This college offers an associate degree program in Web Development!
This aggravates me. Not everybody uses Microsoft’s Internet Explorer. Depending on who you ask, anywhere from 50% to 80% of people browse the web with Internet Explorer. Or, alternately, 20% to 50% of people use a different browser; this is a significant number of people.
I’ve seen this before. Do you remember the old “Best viewed with Netscape” and “Best viewed with Internet Explorer” buttons that commonly appeared on most websites a decade ago? It was a nightmare. Half of the websites did not work properly with your preferred browser. I thought we were past these “browser wars”.
This is why we have web standards.
One of the major issues on the web is making sites available to all people, whatever their hardware and software. Presently, all modern web browsers possess decent support for web standards. Is it not reasonable to expect web sites and applications to conform to these standards?
There is no good excuse to not adopt web standards in your web development work. At the very least, you should check that your web sites and applications work properly in the five major browsers: IE, Firefox, Opera, Chrome, and Safari.
