Michael Heilemann.
If you have Dunstan's Time Since installed, this plugin uses it for the title="" attributes on the comments and posts. (For WordPress 1.5) Author: Brian Meidell Author URI: http://meidell.dk/ Version 1.5: Now works without LOCK TABLE and CREATE TEMPORARY TABLE priviledges. Version 1.5.1: Can't remember what I did here Version 1.5.2: Fixed count select statement to not include spammy comments Version 1.5.3: Properly excludes track- and pingbacks Version 1.5.4: Excludes posts that are not published, even if they have comments Version 1.5.5: Fade old comments, fixed bug that wreaked havoc with Time Since Version 1.5.6: Bugfix from Jonas Rabbe (http://www.jonas.rabbe.com/) pertaining to timesince Version 1.5.7: Bugfix so old colors can be darker than new colors (stupid oversight), thanks to http://spiri.dk for spotting it. Bugfix where single digit hex would cause invalid colors, thanks to http://www.wereldkeuken.be/ for the fix. Version 1.5.8: Updated to work with WordPress 2.1 alpha by M. Heilemann. */ function blc_latest_comments($num_posts = 5, $num_comments = 6, $hide_pingbacks_and_trackbacks = true, $prefix = "
  • ", $postfix = "
  • ", $fade_old = true, $range_in_days = 10, $new_col = "#444444", $old_col = "#cccccc") { global $wpdb; function clamp($min, $max, $val) { return max($min,min($max,$val)); } $usetimesince = function_exists('time_since'); // Work nicely with Dunstan's Time Since plugin (adapted by Michael Heilemann) // This is compensating for the lack of subqueries in mysql 3.x // The approach used in previous versions needed the user to // have database lock and create tmp table priviledges. // This uses more queries and manual DISTINCT code, but it works with just select privs. if(!$hide_pingbacks_and_trackbacks) $ping = ""; else $ping = "AND comment_type<>'pingback' AND comment_type<>'trackback'"; $posts = $wpdb->get_results("SELECT comment_post_ID, post_title FROM ($wpdb->comments LEFT JOIN $wpdb->posts ON (comment_post_ID = ID)) WHERE comment_approved = '1' AND $wpdb->posts.post_status='publish' $ping ORDER BY comment_date DESC;"); $seen = array(); $num = 0; if($fade_old) { $max_time = $range_in_days * 24 * 60 * 60 ; $r_new = hexdec(substr($new_col, 1, 2)); $r_old = hexdec(substr($old_col, 1, 2)); //$r_min = min($min, $max); //$r_max = max($min, $max); $r_range = ($r_old-$r_new); $g_new = hexdec(substr($new_col, 3, 2)); $g_old = hexdec(substr($old_col, 3, 2)); //$g_min = min($min, $max); //$g_max = max($min, $max); $g_range = ($g_old-$g_new); $b_new = hexdec(substr($new_col, 5, 2)); $b_old = hexdec(substr($old_col, 5, 2)); //$b_min = min($min, $max); //$b_max = max($min, $max); $b_range = ($b_old-$b_new); } // print "ranges: $r_range, $g_range, $b_range
    "; // print "r: ".(0.5*$r_range+$r_new)."
    "; foreach($posts as $post) { // The following 5 lines is a manual DISTINCT and LIMIT, // since mysql 3.x doesn't allow you to control which way a DISTINCT // select merges multiple entries. if(array_key_exists($post->comment_post_ID, $seen)) continue; $seen[$post->comment_post_ID] = true; if($num++ > $num_posts) break; $commenters = $wpdb->get_results("SELECT *, UNIX_TIMESTAMP(comment_date) AS unixdate FROM $wpdb->comments WHERE comment_approved = '1' AND comment_post_ID = '".$post->comment_post_ID."' $ping ORDER BY comment_date DESC LIMIT $num_comments;"); $count = $wpdb->get_var("SELECT COUNT(comment_ID) AS c FROM $wpdb->comments WHERE comment_post_ID = $post->comment_post_ID AND comment_approved = '1' ".$ping); $i = 0; $link = get_permalink($post->comment_post_ID); if($usetimesince) $title = " title=\"Last comment was ".time_since($comment->unixdate)." ago\""; else $title = ""; echo $prefix."".stripslashes($post->post_title). "  ".$count."
    \n"; foreach($commenters as $commenter) { if($usetimesince) $title = " title=\"Posted ".time_since($commenter->unixdate)." ago\""; if($fade_old) { $diff = time() - $commenter->unixdate; $r = round($diff/$max_time*($r_range))+$r_new; $r = clamp(min($r_new, $r_old), max($r_new, $r_old), $r); $g = round($diff/$max_time*($g_range))+$g_new; $g = clamp(min($g_new, $g_old), max($g_new, $g_old), $g); $b = round($diff/$max_time*($b_range))+$b_new; $b = clamp(min($b_new, $b_old), max($b_new, $b_old), $b); $r_hex = str_pad(dechex($r), 2, '0', STR_PAD_LEFT); $g_hex = str_pad(dechex($g), 2, '0', STR_PAD_LEFT); $b_hex = str_pad(dechex($r), 2, '0', STR_PAD_LEFT); $colstr = " style=\"color: #".$r_hex.$g_hex.$b_hex.";\""; } if($i++ > 0) echo ", "; echo "comment_ID."\"$title>".stripslashes($commenter->comment_author).""; } if($count > $num_comments) echo " [...]"; echo "".$postfix."\n"; } } ?> Economic Detox | Pluranomics.com

    Small silhouette of Doug Wolkon WELCOME TO PLURANOMICS, THE ECONOMICS OF MANY.

    Economic Detox

    So what is an Economic Detox? Raw green vegetables consumed through a straw is the food equivalent. Think diarrhea. I know what you are thinking, “yuk”. But as Wall Street has learned the hard way, we have no choice in the matter. Our economy is detoxing whether we like it or not; dropping our excess weight in order to regain our balance; flushing our obese corporate and government costs down the toilet in support of the long-term prosperity of the quicker, lighter, faster and more profitable Mom and Pop entrepreneurs.

    That doesn’t sound so bad now does it? I can assure you that just like there are certainly benefits to drinking raw green vegetables, an Economic Detox strengthens community, drives innovation, stabilizes trade and employment, provides essential economic education and slows down time, all out of economic necessity. However, a detox also requires discipline and some level of sacrifice in order to come out the other end leaner and meaner than before. 

    So what does that mean for the economy? Well, the same virus that has exposed the inefficient nature of our financial sector will soon inflict itself on our obese corporations with a domino like effect. These corporations were built to scale-up while increasing their fixed costs such as lease payments and debt levels every step of the way; without regard to ever having to scale down. Walmart, Monsanto and McKesson, to name a few, all operate on super risky 1-5% profit margins after consuming billions of dollars of revenues. In contrast to their more nimble Mom and Pop competitors, they can not get smaller, make less widgets or afford to take a strategic vacation. 

    And for better or for worse, these “so-called” monopolistic communities, symbiotically rise and fall together. For example, the recent failures of Linen N’ Things and Circuit City will negatively impact the buying and manufacturing power as well as the retail foot traffic of their closely tied corporate brethren, and one by one their big box retail neighbors (think struggling regional malls) and related raw produce suppliers (i.e. Dole and Tyson), transporters (i.e. Fedex) and manufacturers (think China) will also suffer losses and eventually fall as well. 

    As the deadly combination of lower sale prices and less volume eat their highly sensitive income statements alive, they will collectively lose their ability to buy and operate the only way they know how – on mass production scale. Land and labor prices will continue to deflate, yet the obese corporations will be unable to do anything about their huge fixed costs (that’s why they call them “fixed”); and with it the erosion of their slim profit margins (did I mention they were only 1-5%) will force them to close. In summary, the death of the corporate monopolies and birth of The New Game is coming soon to a small local theater near you (For now, I invite you to read the book).

    So what are the politicians to do? Nothing. They will be quick to bow to the dominating powers of the free markets as their hugely inefficient, bureaucratic, and socialistic operations, which have grown to be the largest employer and lender in the U.S., as well as the largest borrower in the world, will also prove too fat for the economy to digest. The deadly combination of falling income taxes (revenues) and rising interest payments (expenses) will erode the “non-profit” income statement of the big business of big government. The smartest politicians will wisely support the mom and pops by being ones themselves. 

    On that note, don’t be ashamed to go bankrupt since basically every country in the world that borrowed money internationally while ignoring their asset collateral (i.e. gold standard) will soon be unable to pay their global debts on a current basis (except maybe countries that are exclusively food exporters like some Caribbean Islands which may see the value of their asset collateral rise). 

    But don’t worry about credit, because if everyone has bad credit, its like no one has bad credit, right? The dollar as well as other closely related paper currencies will be much less valuable on an international trading level as an over supply of dollars flood the market to create the perfect inflationary storm. China, Russia, and the Middle East among other large holders of U.S. currency reserves will soon be forced to spend their large dollar savings to defend their own buckling economies at the same time that the U.S. is seeking to borrow trillions of dollars of new money to fund our ever growing socialistic activities. In other words, as supply of dollars will be increasing, demand for dollars will be decreasing. The net result is that interest rates will soar to 20%+ as the useless paper currencies will be worth less and less in relation to economic essentials such as food and electricity.

    You are probably asking, so where do I put my money during all of this change? Gold should be a stable currency due to its scarce nature; which is in direct contrast to easily manufactured paper currencies. However, this will be a short-term phenomenon as even gold will yield in value to more truly useful currencies such as electricity and food. In terms of prices, such essential items as food and electricity will rise dramatically; and luxury items (i.e. big homes and flat screen TVs) will surely be discounted again and again. 

    The real cost to transmit electricity over long distances will veer its ugly head as the central power plants (i.e coal) will also lose their ability to operate on scale and thus their costs per unit (i.e. kilowatt of electricity) will rise perpetually. We are already witnessing this. For as electricity demand is starting to falter, the utilities are being forced to raise rates to cover their huge fixed costs such as long distance transmission and maintenance thereof; which again were built to scale up, without regard to ever having to scale down.

    So now we come to the raw green vegetable part of the Economic Detox. For there must be something we can do to gain our economic balance back, right?

    First, Mom and Pop entrepreneurs must keep their heads down to weather the storm. For as the monopolies get taken out at the knees, the Mom and Pops should flourish (assuming they have minimum debts and relatively low rent in energy efficient locations) from less and less global competition and more and more local symbiotic competition. Yes, the local hardware store, suburban dairy farm and local fruit and vegetable stands are back; and with it a bit of pricing power over their landlords as well as their customers; and true sustainable communities built together from the bottom-up will emerge once again.

    But there must be another silver lining in the death of the monopoly. You know, a way for investors to ride the coat tails of the rising entrepreneurial communities, recent technological innovations, and most current economic education. Well, the combination of increases in electricity prices (numerator) and lower prices for renewable energy technology (denominator) make investing in renewable energy technology and its labor force the greatest returns for the lowest risk in The New Game.  

    “Decentralized Power” or “Distributed Generation” of renewable energy feeds our most competitive Mom and Pop entrepreneurs. And in return for the renewable energy utilities, these entrepreneurs provide stable and secure dividend payments to our starving retirement and pension funds, which naturally gravitate the majority of their investments towards the most conservative and “hottest” risk-free rate of the local sun. 

    Such an investment in renewable energy would not only be seeking relatively high returns, but also to lower our cost of living by stabilizing our future cost of energy; a strategy that our current economic system is so obviously missing. For what is a financial return without attacking the other half of the equation: the future cost of living? Our retirement funds are unfortunately finding out the answer: irrelevant.

    No longer are such branded terms like “Treasury” or “Money Market” enough to convince the new generation of savers to invest their hard earned money with people (i.e. banks) they never met in exchange for an “IOU” and no collateral. Due to our most recent hard financial lessons, we are now seasoned and experienced economists that are aware that the true risk-free rate of our new economic system, by definition, must be renewable (i.e. The Sun), and must be locally asset secured (i.e. solar panel), with a proven and trustworthy yield (i.e. 4 hours of sunshine a day). Yes, whatever the cost, which is decreasing, and whatever the yield, which is increasing, renewable energy is the the only true risk-free rate of any economy. 

    That being said, the auto industry must make a 90 degree turn towards the energy efficient consumer of tomorrow. Trains and renewable energy technology will be what’s popular in the future, not cars. I really hope I didn’t have to tell you that. With estimates of 1.2 cars per U.S. licensed driver and unused car inventories increasing every day, why in the world would we want to make any more cars? So if Detroit and other want-to-be manufacturing cities of tomorrow have any chance for survival, they will jump into these industries head first. The same goes for Wall Street, as renewable energy mortgages will be sure to revive Wall Street and what’s left of their ailing mortgage industry. The construction and steel industries among others must also follow suit; and we can all thank Silicon Valley for already being there ready to innovate. With skyrocketing electricity prices and lower renewable energy technology prices upon us, I am as psyched as you should be to be alive during what promises to be a renewable energy revolution (is there any other kind?).

    I don’t think I need to scare you, but just in case you think this economic crisis is going to just go away, realize that in a consumption driven economy, which ours’ certainly is, unemployment is contagious. To explain it, every time our number of unemployed increases, which is now happening, our consumption in turn decreases, which in turn forces a further increase in unemployment. And there is no monetary or fiscal “stimulus” to stop such a vicious cycle. 

    So are we finished with our Economic Detox? Can we flush the toilet now? Honestly, you can never be sure with such a bad case of diarrhea. And I can assure you that this diarrhea will continue unless we truly acknowledge what is good for us and act on it. For every time we think we are finished or at a “bottom”, we will soon be sprinting back to the toilet preying to make it in time, hoping the seat is down and worrying if there is enough toilet paper. 

    In short, let’s be sure to eat our raw green vegetables.


    Related Posts

    comment_status) && ('open' == $post->ping_status)) : // Comments and trackbacks open ?> comment_status) && ('open' == $post->ping_status)) : // Only trackbacks open ?> comment_status) && !('open' == $post->ping_status)) : // Only comments open ?> comment_status) && !('open' == $post->ping_status)) : // Comments and trackbacks closed ?> ", ""); ?>

    4 Comments so far      Post a Comment

    1. the fed came out with a statement in 03′ stating that their monetary system of perpetual debt would reach its b raking point in the next ten years. a brilliant sociological group is advancing the venus project which is to reclaim value and transfer to a resource based society. the venus project illustrates our current system wether it be capitalist, soci.alist or communist as being virtually the same thing- monetary based societies. a monetary society is rooted in corruption. for example; if you go to the doctor and he tells you your kidney needs to be removed, you can’t be sure if it needs removal or if he’s trying pay off a yacht. the only ethic in the monetary society is profit. this base has no room for trust. i pray your right doug. i pray we learn the value of sharing, like the hawaiians or the hopi indians, for them private property was unthinkable. if one has food, all has food. if the boats stop coming to hawaii, we will have mass starvation and chaos, and the reorganization of culture. its time to grow a garden! honolulu will be anarchy.

    2. Ben,
      Every economic “system”, monetary or not, is built on trust for one another. The money is only there to conduct trade more easily (to try to make trade more easily divisible into quantitative parts instead of whole things). You see, people don’t really understand why money even exists in the first place and it is that lack of economic education that we must address. That being said, the money is only as valuable as the trust (for trade purposes) that “is” or “lurks” behind it.

      Adam Smith dedicates the first section of the Wealth of Nations to metal coinage and exchange, including how and why such precious metals became currency. The main reasons 1.) scarce nature 2.) durability. Both reasons are in direct contrast to our “paper” dollar currency which can be 1.) supplied or printed on a moments notice or 2.) ripped or scorched in flames by chance. In other words, paper currencies are neither scarce nor durable. Taking it one step further, one might even call our present currency “digital”, since their is a fraction of actual “printed” paper dollars in relation to “digital” dollars which are in circulation in the economy; even though such circulating capital (i.e. cold cash) that we can all touch and feel is critical to the health of any economy as it keeps the goods and services flowing more timely (i.e. paying with cash is always faster than paying with credit). One of the most obvious challenges with our economy is that we desperately need more “cold cash” money in relation to “digital” money.

      On that note, I do not agree that a monetary society is rooted in corruption; although without the proper economic education any system is certainly unstable and prone to economic cycles. That being said, such unstable economic times are also times of great opportunity. For example, I would bet that Honolulu, through Dole and other export driven companies export most of the food that is produced on Honolulu (Oahu), while Honolulu imports the majority of the food they actually consume from far, far away places. Such an outrageously inefficient economic system of trade makes for great, great opportunity for Honolulu (see Dole being forced to sell underutilized land to more efficient users of such land at lower and lower prices). As national retailers like Dole become weaker and weaker, local distribution of the local produce will become more and more stable.

      The same goes for energy, as a land’s renewable energy value is quantified by the natural air (i.e. wind), water (i.e. hydro) & light (i.e. solar) production in relation to its land mass. As a result, Hawaii has the greatest natural resources for renewable energy production in the world, yet continues to import oil to make electricity, paying for it on a daily basis, instead of investing in it once for the long-term. That being said, because of its natural resources, Hawaii has the distinct opportunity, along with other tropical islands, to go 100% renewable in very little time (say 52 weeks). In other words, it is feasible for Hawaii to be 100% renewably powered in 2010 . The residents, through their taxes and savings, need to invest in the renewable energy more than anything else. That means no more same-old “spending” on imported cement bridges and roads; but rather strategic “investing” in windmills (wooden?) and solar panels! And once you get renewable, you go fishing.

      Or how about water? I would bet that the 2nd largest import by weight and of trash to Hawaii is bottled water (after oil). Now that is stupid and inefficient economics. In any case, if Hawaii better filtered and marketed its own beautiful water for drinking purposes, it would dramatically reduce the price and waste, while increasing the nutrition of its drinking water. What I am trying to say is that such profit opportunities readily exist to greatly improve our economy. Then everyone could go fishing and surfing.

    3. i love it…its true marx profecy..when hyper capitalist collapses…the value of local decentralized economies emerge…except or unless the centralized system elitists, namely the rothschilds, morgans, warbergs, rockefeler family banks like the fed, have a way of further funneling cash to themselves. if everyone is broke all over the world, WHERe DID ALL THE MONEY GO? Money isn’t destroyed- its transfered, so where did it go if everywhere is broke? The government and industry can artificially create supply and even demand to a certain extent thru advertising and artificial scarcity. economc education is crucial, and so is money creation education. how is money created? by whom for what reasons? what does the symbolism on the dollar represent? why the latin phrase that translates as “new world order”. What about the amero? the new currency that will replace the dollar to be used in mexico, canada and the u.s… nobodies talking about that, and it was already signed into law. and back to the topic of empowered communities producing locally….how will it happen when interest rates go through the roof? as central banks inherit loads of property…??? other than tha i love ur positive possibilites and i hope they come true. i only fear the mr. obama will send us in to an even worse situation

    4. also doug it is worth mentioning dependancy and vulnrability. i know you are an advocate of community empowerment through local production. And what is so hard about mass globalization? It deteriorates local economies and reduces them to specialization. like you laways said- detroit. so why, even with the increasing demand for local sustainability, do we feel crippled to accomplish these powerful community efforts? simply it is in the best interest of those at the top of the pyramid, to keep those at the bottom dependant on the top- thus a system of control is upheld…with decenralization comes the collapse of the pyramid structure- the pyramid a symbol on the dollar bill….

    Post a Comment

    Your email is never published nor shared.
    All comments are held for approval and will not appear immediately.
    Links and paragraphs are formatted automatically.
    Some HTML is allowed… <a>, <strong>

    (will not be published)
    (optional)

    Subscribe to Comments