to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
You've seen the clowns who run the Congress. You know that you could do a better job doing their jobs than they ever could. But there's still a nagging question whose answer is holding you back from really committing yourself to run for public office:
Should you?
The answer is that it depends. What if you have an skeleton in your closet like Alaska's Senator Ted Stevens? What if you're in 2008 Democratic presidential candidate John Edwards' alleged predicament? How might you know if now is your moment to run for office?
Sure, you could hire a political consultant who will charge way too much money to poll the public on the issue for you, but why bother with some lowlife polling hack when all you need is a tool you can anonymously use to evaluate your real chances of getting elected despite how you've lived your life?
Geek Logik's Garth Sundem summarizes the matter better than we can:
Your first consideration in choosing whether or not to run for public office should have nothing to do with your chances of actually winning. Of greater concern are the skeletons in your closet, which now may only occasionally rattle their chains but were you to run for office would burst forth to wander the night in search of human gray matter while moaning something about an "angry fix."
But how far back into your past should you go? Garth continues:
Along with your debauched exploits as an undergrad, other negative factors that should make the would-be candidate turn tail and run include: romantic partners that contradict your marital status; "creative" solutions to common financial burdens (e.g. taxes), drugs (oops! - I mean medications); and, time spent as a roadie for the Monsters of Rock tour.
Maybe you have these particular issues in your past, maybe you don't. Either way, Garth worked out the math behind these considerations for the tool below, which we're pleased to present in this political season. Just enter the indicated data to see if this is your moment or if you really shouldn't be seen anywhere near a public office. We'll have more comments below the tool....
The threshold for tipping the scales for when you should consider running for public office is a Candidate Index Factor of one or more. We provide this bit of insight so you can play with the tool to see what you might need to change in your life to qualify as a political candidate.
Speaking of which, Garth Sundem provides the final thoughts for doing this political calculus:
As we have all learned, despite a combination of such detracting factors it is still possible to hold event hte country's highest office. As long as your vices are balanced by charisma and connections, you too can tour the world reading teleprompters and vomiting on world leaders.
Indeed.
Labels: geek logik, politics, tool
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.