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
Presidential candidate wife Elizabeth Edwards apparently loves tangerines, but fears the destruction of the environment that comes from bringing them from where they're grown to her home. Because of that fear, she claims to have given up tangerines and instead will only buy locally grown produce.
The only problem we see with that is that the Edwards' continuing rape of the Earth will only be greater as a result.
We've previously dealt with some of the really dumb things environmentalists demand of others on a number of occasions, and we've even dealt specifically with this one, as the demand to "Buy Local" was included in a list of 10 things "you" can do to reduce climate change back on Earth Day 2006. Here's what we wrote then:
7. Buy Local. According to Yahoo!, produce grown in the U.S. travels 1500 miles, on average, to reach your grocery store. Yahoo! goes on to say that you can "save on fuel by buying from local growers," or by creating "your own community garden." This suggestion shows why Yahoo!'s climate change reducing suggestion Number 2 doesn't compute. Even if it travels 1500 miles, produce travels by the foodstuff equivalent of public transportation. Replacing this transportation with the thousands of trips that the fellow members of your community would need to make to support local growers really doesn't make a whole bunch of sense - especially when you multiply those thousands by thousands of communities. Plus, you need to consider that all of you are getting city mileage instead of eco-friendly highway mileage! Unless, that is, you're driving that hybrid from suggestion Number 4....
Will buying local reduce climate change? No. At least, not in any measurable way.
As it happens, David Foster did the math and put numbers to our observations about the efficiency of foodstuff transportation. (HT: Newmark's Door, William Polley, voluntaryXchange, Marginal Revolution.) What's more, he's created a brand new measure of the relative fuel efficiency of various means of transporting food, the Tangerines per Gallon parameter, which states how many tangerines can be transported for each gallon of fuel consumed for the sake of bringing them to market by the modes of shipping used.
If you're a regular reader of Political Calculations, you already know where we're headed with this! The tool below will find out how many Tangerines per Gallon, or for that matter, Items per Gallon, each method of transport can deliver to you either separately or in combination. What's more, we'll also find out how much fuel per tangerine is consumed by the transportation process, as well as how much it costs, both total and per tangerine!
In the tool above, the Cargo Ton Miles per Gallon represents the combination of cargo that can be carried and distance that can be traveled for each gallon of fuel consumed for each transport method, with the default values being the back-of-the-envelope estimates provided by David Foster.
Using the default values, we find that shipping tangerines by rail cross-country from Florida to North Carolina, including transport by truck to and from the railheads, gets about 300 cargo ton miles to the gallon, burning 3.0 gallons of fuel at a total cost of $8.64. That works out to 2666.7 tangerines per gallon, or 0.000375 gallons of fuel per tangerine, which adds some $0.003240 to the cost of each.
Now, if we say that the tangerines are grown locally in a greenhouse and that the farmer transports them to a farmer's market near the Edwards' palatial estate by a 20 mile-per-gallon pickup truck, covering a total distance of 60 miles to and from the market, we find that we get the exact same figures we did by shipping 900 miles by the combination of rail and tractor-trailer.
And if we have just 3 people in the Edwards' community bypass the farmer's market to buy direct from the grower by traveling to the tangerine greenhouse in their eco-friendly, fuel-efficient, 60 mile-per-gallon-getting hybrid cars, covering 60 miles each (or 180 miles total), we find that they burn exactly the same amount of fuel as does shipping the tangerines by rail and truck 900 miles from Florida!
The latter analysis also assumes that our three hybrid drivers are hauling off roughly 889 tangerines each. If they buy and transport any less than that, they're really screwing over the Earth.
Do environmentalists who encourage people to only "buy local," and the politicians who pander to them, really care about the environment? Even a little?
Labels: environment, 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:
This year, we'll be experimenting with a number of apps to bring more of a current events focus to Political Calculations - we're test driving the app(s) below!
The S&P 500 at Your Fingertips
The Distribution of Income for 2010: Individuals
Should You Trade in Your Gas Guzzler?
What Are the Chances Your Marriage Will Last?
Tipping Around the World
What's Your Body Fat Percentage?
The Odds of Dying, Again!
Gas Prices, the Unemployment Rate, and Desperation
Hauser's Law
The Real Story Behind "Rising" U.S. Income Inequality
First Time Visitor to Political Calculations?
On the Moneyed Midways
A Lot, But Not All, of Our Tools
Political Calculations' U.S. GDP Temperature Gauge provides a means to quickly evaluate the growth rate of the U.S. economy against the backdrop of how the economy has performed since 1980, with the "temperature" color spectrum ranging from a recessionary "cold" (purple) through an expansionary "hot" (red).
The GDP Temperature Gauge presents both the annualized GDP growth rate as reported by the U.S. Bureau of Economic Analysis reports for a one-quarter period and also as averaged over a two quarter period, which smooths out the volatility seen in the one-quarter data and provides a better indication of the relative strength of the U.S. economy over time.
This site is primarily powered by:
Visitors since December 6, 2004:
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.
ZunZun - Exceptional regression analysis tool.
Wolfram Integrator - Solve integrals. Do calculus!
Create a Graph - Easy-to-use basic graph-making tool.
Many Eyes - Data visualization extraordinaire!
Wolfram Alpha - Computational knowledge engine.
Khan Academy - Math & science video mini-lectures!
Picasion - Animate images.
Bloodhoundblog
Budgets Are Sexy
Cafe Hayek
Carpe Diem
Core77
Coyote Blog
Craig Harper
Darwin's Finance
Digerati Life, The
Division of Labour
Dough Roller, The
Eclectecon
Econlog
Economics Roundtable
EconomicsUK
Environmental Economics
Escape from Cubicle Nation
Execupundit
FiscalGeek
Get Rich Slowly
Gongol
Good Financial Cents
HR Bartender
Hot Air
i4cp Productivity
Innocent Bystanders
Innovation and Growth
Instapundit
Intangible Economy
I've Paid Twice for This Already
Joanne Jacobs
Kaus Files
Len Penzo dot Com
Making Ripples
Market Power
Mechonomics
Mighty Bargain Hunter
Monevator
My Dollar Plan
New Economist
Newmark's Door
Nina Simosko
Physorg
Private Sector Development
Real Clear Politics
Richard Fernandez
Roger L. Simon
Rowan Manahan
Sound Politics
SOX First
Sports Economist, The
squawkfox
Three Star Leadership
Tim Worstall
Townhall
Trusted Advisor
Uncommon Misperceptions
voluntaryXchange
WILLisms
Winterspeak
Big Picture, The
Crackerjack Finance
CXO Advisory Group
Disciplined Approach to Investing
Dividend Guy, The
Doug Short
Evidence Investing
Fat Pitch Financials
FX Investment Strategies
Oilprice
American Red Cross
Children's Heart Foundation
Salvation Army
SMA Foundation
Kindle Paperwhite 3G - Best e-reader!
Angel in the Whirlwind
Bailout Nation
Cartoon Guide to Statistics
A Comprehensive Guide to the Peloponnesian War
The Complete Personal Memoirs of Ulysses S. Grant
The Count of Monte Cristo
Ender's Game
Gardner's Art Through the Ages
Empire of Wealth
How to Make Presentations to Councils and Boards
Juran's Quality Handbook
Marks' Standard Handbook
The Second World War
Stocks for the Long Run
Why Smart Executives Fail
The Tudors: The Complete Series
Kindle Fire HD 8.9" 4G LTE Wireless 32 GB
Snap Circuits Jr. SC-100
Nerf Vortex Praxis
Sony BRAVIA 40" LED HDTV
2540 Series Docking Station
New Balance MX623
Dunham Men's Waterproof Oxford
TN360 Black Toner Cartridge
The Dangerous Book for Boys
Air Swimmer Remote Control Inflatable Flying Shark
Fisher-Price Little People Lil Pirate Ship