<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>G E B W E B</title>
	<atom:link href="http://gebweb.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://gebweb.net</link>
	<description>10 PRINT "GEB", 20 GOTO 10</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:23:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OptiMap version 4 is here</title>
		<link>http://gebweb.net/blogpost/2012/01/25/optimap-version-4-is-here/</link>
		<comments>http://gebweb.net/blogpost/2012/01/25/optimap-version-4-is-here/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 10:29:00 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Environment]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://gebweb.net/?p=98</guid>
		<description><![CDATA[Hold down shift while pressing reload to make sure the page fully reloads if OptiMap appears broken. The first thing you&#8217;ll notice is a complete makeover of the user interface. The functionality has grown considerably since I first posted OptiMap in 2007, and the controls were scattered randomly around. Now, they are organized into neat [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_99" class="wp-caption alignnone" style="width: 310px"><a href="http://www.gebweb.net/optimap"><img class="size-medium wp-image-99" title="Screen shot 2012-01-23 at 9.27.00 PM" src="http://gebweb.net/wp-content/uploads/2012/01/Screen-shot-2012-01-23-at-9.27.00-PM-300x226.png" alt="" width="300" height="226" /></a><p class="wp-caption-text">New user interface</p></div>
<p><em>Hold down shift while pressing reload to make sure the page fully reloads if <a href="http://www.gebweb.net/optimap">OptiMap</a> appears broken.</em></p>
<p>The first thing you&#8217;ll notice is a complete makeover of the user interface. The functionality has grown considerably since I first posted OptiMap in 2007, and the controls were scattered randomly around. Now, they are organized into neat little drawers on the left, in the order you are likely to be using them.</p>
<p>There is some new functionality as well. The &#8216;Edit Route&#8217; section gives you the chance to re-order the trip after it has been computed. Have to visit one client first? No problem, drag to the top. You can also delete stops from the itinerary here.</p>
<p>OptiMap 4 also has a more powerful TSP solver routine. The new solver kicks in when there are more than 15 stops, and produces better and more robust solutions than the old engine. It is guaranteed to perform better than before, and in some hard cases I&#8217;ve tested, it improved the solutions by as much as 6-7%. That means that if you spent 8 hours on the road before, you now get home half an hour earlier.</p>
<p>Support for Garmin GPS units is now added as well. Support is experimental, since I only had access to one Garmin device, which did not support routes. I&#8217;m interested to hear whether this works on your device if you have a Garmin GPS.</p>
<p>There are some bug fixes as well: When pasting data from Excel spreadsheets into the bulk add box, the cell delimiters were lost. This is fixed. The print function used to show half a page of unnecessary white space at the bottom, thus it sometimes would print blank pages at the end. This is fixed so you won&#8217;t be wasting paper needlessly any more.</p>
<p>As a bonus, you may now access the service from a shorter address: <a href="http://www.optimap.net">www.optimap.net</a> (the old address will continue to work, and the page will remain identical)</p>
<p>I hope you enjoy the update! Please post questions, feedback, bugs and suggestions here. I&#8217;m sure I broke something during the update&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2012/01/25/optimap-version-4-is-here/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Introducing SkyLib</title>
		<link>http://gebweb.net/blogpost/2011/11/04/introducing-skylib/</link>
		<comments>http://gebweb.net/blogpost/2011/11/04/introducing-skylib/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 15:19:10 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Environment]]></category>
		<category><![CDATA[SkyLib]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2011/11/04/introducing-skylib/</guid>
		<description><![CDATA[For a long time now, my mantra has been optimization. To make the most out of limited resources makes sense both economically and environmentally. OptiMap was an example of this. Driving too far is just stupid. Using OptiMap saves you time and money and it saves the environment too. There are many other wasteful behaviors we [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://gebweb.net/blogpost/2011/11/04/introducing-skylib/skylib-2/" title="SkyLib" rel="attachment wp-att-94"><img src="http://gebweb.net/wp-content/uploads/2011/11/skylib-logo-pro1.png" alt="SkyLib" /></a></p>
<p><a href="http://gebweb.net/blogpost/2011/11/04/introducing-skylib/skylib/" title="SkyLib" rel="attachment wp-att-93"></a>For a long time now, my mantra has been optimization. To make the most out of limited resources makes sense both economically and environmentally. <a href="http://www.gebweb.net/optimap">OptiMap</a> was an example of this. Driving too far is just stupid. Using OptiMap saves you time and money and it saves the environment too.</p>
<p>There are many other wasteful behaviors we need to address to optimize the usefulness (utility) of our planet&#8217;s finite resources. When I started to learn about <a href="http://gebweb.net/blogpost/2010/06/06/embodied-energy/">embodied energy</a>, I was shocked by how much energy is spent in the process of manufacturing the products we buy. <a href="http://www.isa.org.usyd.edu.au/education/documents/20090220_ISA-USyd_Pain-Free-Scope-3v_www-version.pdf">An average $20 book has an indirect footprint of 20 kg CO2</a>, mainly due to extraction of the raw materials needed and manufacture of the book itself. This is the equivalent of driving an average car more than 130 kilometers. Given the sheer number of things that most people own, these indirect emissions certainly add up.</p>
<p>How can we optimize this? First, we need to realize that in many cases, ownership of these items is not why we buy them. We want access to the features that the item can provide. You don&#8217;t buy the <a href="http://www.skylib.org/#show/id=48001">boardgame Axis &amp; Allies</a> because you want to be the proud owner of it. You buy it to play it. And it probably collects dust 364 days a year.</p>
<p>If someone has the item I need, and it collects dust most of the time, they wouldn&#8217;t mind lending it to me, right. And I would certainly return the favor some other day. But we need to survey the resources available. Then make that information searchable. So that when you need a <a href="http://www.skylib.org/#show/id=112001">power drill</a>, you can find the one closest to you. <a href="http://www.skylib.org">SkyLib.org</a> is my attempt at doing this. Yes, it&#8217;s beta and yes it lacks many features. Certainly rough around the edges. But you can start organizing your stuff and building your personal library today.</p>
<p>Some features that are not done yet but under development:</p>
<ul>
<li>Friends support, invites and import from other social networks</li>
<li>Buying and selling things</li>
<li>User ratings</li>
<li>Wanted-functionality (I need x)</li>
<li>Renting and deposits</li>
<li>Custom location search (Find item closest to me)</li>
<li>Facebook login</li>
<li>Embedding products on third-party websites</li>
<li>Intro-video</li>
</ul>
<p>Feedback is hugely appreciated! Please head over to <a href="http://www.skylib.org">www.skylib.org</a> and give it a try. I&#8217;m already sharing 120+ items with you as of this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2011/11/04/introducing-skylib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Dynamic Programming Algorithm for the Travelling Salesman Problem</title>
		<link>http://gebweb.net/blogpost/2011/06/24/the-dynamic-programming-algorithm-for-the-travelling-salesman-problem/</link>
		<comments>http://gebweb.net/blogpost/2011/06/24/the-dynamic-programming-algorithm-for-the-travelling-salesman-problem/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 09:52:00 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Google Maps]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2011/06/24/the-dynamic-programming-algorithm-for-the-travelling-salesman-problem/</guid>
		<description><![CDATA[A reader asked me for some information on how the dynamic programming algorithm for the TSP works. I was surprised to find that a Google search found no good resources. Wikipedia merely acknowledges its existence: &#8220;One of the earliest applications of dynamic programming is the Held–Karp algorithm that solves the problem in time O(n22n).&#8221; Consider the TSP problem with N+1 [...]]]></description>
			<content:encoded><![CDATA[<p>A reader asked me for some information on how the dynamic programming algorithm for the TSP works. I was surprised to find that a Google search found no good resources. Wikipedia merely acknowledges its existence: &#8220;One of the earliest applications of dynamic programming is the Held–Karp algorithm that solves the problem in time <em>O</em>(<em>n</em><sup style="line-height: 1em">2</sup>2<sup style="line-height: 1em"><em>n</em></sup>).&#8221;</p>
<p>Consider the TSP problem with <strong>N+1</strong> points labeled <strong>0, 1, &#8230;, N</strong>. We start at point 0. The distance from point <strong>i</strong> to point<strong> j</strong> is <strong>dist[i][j]</strong>.</p>
<p>In dynamic programming, we seek to solve a problem by first solving smaller instances of the same problem. We start by looking at the really trivial size problem: What is the best order to visit just one of the destinations?</p>
<p>Assume we have <strong>N</strong> destinations. There are <strong>N</strong> size-1 problems, one for each of the N destinations. The best way to visit each is the shortest path from node 0 to node <strong>N</strong>. We store the best solution to each of these problems in a table:</p>
<p><strong>best[subset][end] = dist[0][end]</strong></p>
<p>Here, subset represents which destinations have been visited. More specifically, <strong>subset</strong> is a bitmask: an integer where bit <strong>i</strong> is 1 if destination <strong>i</strong> has been visited and 0 otherwise. Also note that the stored solution is the solution to the A-Z TSP problem, so it does not include the cost to return to the origin. The variable <strong>end</strong> is the destination that this A-Z problem ends at.</p>
<p>Now, lets expand to all the A-Z TSP problems of size one larger:</p>
<p><strong>best[subset][end] = min(best[subset \ { end }][i] + dist[i][end])</strong></p>
<p>Here, <strong>i</strong> is an intermediary node that is 1 in <strong>subset</strong> and not equal to the <strong>end</strong> variable. Before we move on to the next size problem, we have to fill in all the possible subsets of the current size. Finding all of those subsets of size <strong>s</strong> is what the function <strong>nextSetOf(s)</strong> in <a href="http://gebweb.net/optimap/BpTspSolver.js" title="BpTspSolver.js">BpTspSolver.js</a> does. How do we justify this expansion? It does not matter to the distance of the larger problem in what order the intermediary destinations of the 1-size smaller problem ending at <strong>i</strong> was visited in, so we are safe to only store and look at the optimal such sub-solution.</p>
<p>Finally, when we reach the desired size where all the destinations are visited, we only need to look up the best solution to the A-Z TSP problem in the table:</p>
<p><strong>best[2^(N+1)-1][N]</strong></p>
<p>(2^(N+1)-1 is simply the integer with all the first N+1 bits set to 1). If we want to return to the origin, we instead take the min over all i of</p>
<p><strong>best[2^(N+1)-1][i] + dist[i][0]</strong></p>
<p>This then becomes the best solution to the roundtrip problem. It is important to note that while this solution may look fast, there are 2^(N+1) different subsets involved (really 2^N, because 0 is always visited). Also, each subset solution needs to be stored, causing high memory usage. However, O(2^N) is still much better than the brute force O(N!) solution. 10! is 3 628 800 while 2^10 is only 1024. With the brute force solution, <a href="http://gebweb.net/optimap" title="OptiMap">OptiMap</a> could solve optimally up to 9 destinations. The dynamic programming solution now allows <a href="http://gebweb.net/optimap" title="OptiMap">OptiMap</a> to solve optimally up to 15 locations.</p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2011/06/24/the-dynamic-programming-algorithm-for-the-travelling-salesman-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OptiMap for Google Maps v3 released</title>
		<link>http://gebweb.net/blogpost/2011/06/03/optimap-for-google-maps-v3-released/</link>
		<comments>http://gebweb.net/blogpost/2011/06/03/optimap-for-google-maps-v3-released/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 10:10:54 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2011/06/03/optimap-for-google-maps-v3-released/</guid>
		<description><![CDATA[After being &#8220;almost ready&#8221; for way too long, the next version of OptiMap, based on Google Maps API version 3, is now launched. While I have tested most aspects of the application, there are most likely bugs, since the update touched almost all areas of the code. There are some improvements too, however: More robust [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://gebweb.net/blogpost/2011/06/03/optimap-for-google-maps-v3-released/manhattan-with-100-destinations/" title="Manhattan with 100 destinations" rel="attachment wp-att-90"><img src="http://gebweb.net/wp-content/uploads/2011/06/screen-shot-2011-06-15-at-93851-am.png" alt="Manhattan with 100 destinations" /></a></p>
<p><a href="http://gebweb.net/blogpost/2011/06/03/optimap-for-google-maps-v3-released/manhattan-with-100-destinations/" title="Manhattan with 100 destinations" rel="attachment wp-att-90"></a>After being &#8220;almost ready&#8221; for way too long, the next version of OptiMap, based on Google Maps API version 3, is now launched. While I have tested most aspects of the application, there are most likely bugs, since the update touched almost all areas of the code. There are some improvements too, however:</p>
<ul>
<li>More robust address lookups (a lot of people experienced a &#8220;failed to geocode&#8221; error when entering many addresses. This was due to too many requests in a short period of time, and a queue-system has been added to avoid this from happening. The lookups may take slightly longer due to this.</li>
<li>Progress indicator for directions lookups. Because version 3 of the Google Maps API only allows 10 waypoints in a single request (down from 25 in the previous version), this part is now a bit slower, so a progress indicator is needed.</li>
<li>Tuning of the solver code based on faster browsers becoming more common. This should improve the quality of the solutions for cases with more than 15 locations.</li>
</ul>
<p>Please help me solve any bugs that you may encounter by posting a comment on this site. Information that will be helpful when locating the bug includes:</p>
<ul>
<li>Browser (with version if possible)</li>
<li>List of addresses or locations and a description of how to reproduce the bug</li>
<li>The output that you see (error message, why you think the solution is wrong etc.)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2011/06/03/optimap-for-google-maps-v3-released/feed/</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
		<item>
		<title>Japan Radiation Map</title>
		<link>http://gebweb.net/blogpost/2011/03/17/japan-radiation-map/</link>
		<comments>http://gebweb.net/blogpost/2011/03/17/japan-radiation-map/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 10:23:28 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Environment]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Japan Radiation]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2011/03/17/japan-radiation-map/</guid>
		<description><![CDATA[I&#8217;ve created a map which shows the measured radiation values in Japan (note that this map is no longer online &#8211; the rest of this post is out of date). The data is scraped (credits go to Marian Steinbach) every 10 minutes (hit refresh to get the newest data). You can also click on each measurement [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://gebweb.net/wp-content/uploads/2011/03/screen-shot-2011-03-17-at-110733-am.png" alt="Japan Radiation Map at 2011-03-17 18:40:00 Japan local time" /></p>
<p>I&#8217;ve created a map which shows the measured radiation values in Japan (note that this map is no longer online &#8211; the rest of this post is out of date). The data is scraped (credits go to <a href="http://www.sendung.de/japan-radiation-open-data/">Marian Steinbach</a>) every 10 minutes (hit refresh to get the newest data). You can also click on each measurement location to see a chart of the measurements from that station over time.</p>
<p><img src="http://gebweb.net/wp-content/uploads/2011/03/screen-shot-2011-03-17-at-112006-am.png" alt="Chart of historical values" /></p>
<p>Currently, there are about 200 measurement stations, but I&#8217;m having trouble finding the latitude and longitude of each measurement station. I&#8217;m sure someone who knows Japanese would have more luck&#8230;Anyway, I&#8217;m slowly working my way through the list of measurement stations, so more locations will be added continously. Any help with this would be much appreciated. Feedback and criticism is welcome, and should be added as comments to this page.</p>
<p>Update 2011-03-20: With the help of volunteer &#8220;hosoyamane&#8221;, a Japanese translation of the map is now available. It&#8217;s great to see volunteers pop up so fast!</p>
<p>Update 2011-03-20: A small spike in radiation is showing up in the stations in the Ibaraki prefecture around 10 am Japan local time this morning. However, the levels are still low (1000 nano-Gray is still 2000 times less than the average yearly dose of background radiation).</p>
<p>Update: The original radiation map I created is no longer maintained. Instead, users are redirected to a map created by the Institute of Information Design of Japan.</p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2011/03/17/japan-radiation-map/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>The Financial Crisis pt II</title>
		<link>http://gebweb.net/blogpost/2011/02/01/the-financial-crisis-pt-ii/</link>
		<comments>http://gebweb.net/blogpost/2011/02/01/the-financial-crisis-pt-ii/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 17:56:39 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Economy]]></category>
		<category><![CDATA[Great Depression II]]></category>
		<category><![CDATA[Peak Oil]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2011/02/01/the-financial-crisis-pt-ii/</guid>
		<description><![CDATA[It&#8217;s gearing up for the next round of financial crisis. While our so-called leaders have enjoyed their annual back-patting exercise at Davos, I have become exceedingly alarmed by what&#8217;s currently going on in the commodities markets. Food, energy and metals have all sky-rocketed during the last five or so months. While the financial markets have [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s gearing up for the next round of financial crisis. While our so-called leaders have enjoyed their annual back-patting exercise at Davos, I have become exceedingly alarmed by what&#8217;s currently going on in the commodities markets. Food, energy and metals have all sky-rocketed during the last five or so months. While the financial markets have seen a 20% increase during that period, and this is touted as &#8220;the crisis is over&#8221;, the prices of raw materials have increased 50-100%. These are the real inputs that the economy and indeed our lives depend on.</p>
<p>Let&#8217;s look at some numbers:<img src="http://gebweb.net/wp-content/uploads/2011/02/corn.gif" alt="Corn prices" /><img src="http://gebweb.net/wp-content/uploads/2011/02/copper.gif" alt="Copper prices" /><img src="http://gebweb.net/wp-content/uploads/2011/02/silver.gif" alt="Silver prices" /><img src="http://gebweb.net/wp-content/uploads/2011/02/soybeans.gif" alt="Soybean prices" /><img src="http://gebweb.net/wp-content/uploads/2011/02/sugar.gif" alt="Sugar prices" /><img src="http://gebweb.net/wp-content/uploads/2011/02/wheat.gif" alt="Wheat prices" /></p>
<p>And what has the S&amp;P done?</p>
<p><img src="http://gebweb.net/wp-content/uploads/2011/02/sp500.gif" alt="S&amp;P 500 index" /></p>
<p>This is looking to me like a very unhealthy market. It&#8217;s like the high commodities prices of the first half of 2008 all over again. Only this time, the economy is probably a lot less resilient towards high prices. If the economy tanks again, what instruments remain to bail it out? The &#8220;wealthy&#8221; nations of the world are already running close to 0% interest rates, and are up to their ears in debt. Printing money, as has already been done, is a surefire way to boost commodities even higher. Peak oil, the climate crisis (drought brought forth some of the high grain prices seen above) and general resource depletion are all converging to shake the foundations of our debt-based consumerist society.</p>
<p>The Davos growthsters have only one plan: Returning to the good old years of growth by &#8220;stimulating&#8221; the economy by ever more illusional money.</p>
<p>I have another idea: It&#8217;s time to question that old growth gospel and stop borrowing money and natural resources from our future.</p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2011/02/01/the-financial-crisis-pt-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embodied Energy</title>
		<link>http://gebweb.net/blogpost/2010/06/06/embodied-energy/</link>
		<comments>http://gebweb.net/blogpost/2010/06/06/embodied-energy/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 19:47:40 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Environment]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2010/06/06/embodied-energy/</guid>
		<description><![CDATA[Embodied energy is the amount of energy that goes into a product during its entire life-cycle. It includes the energy required to mine and refine materials, assemble these into the final product, transport it to the consumer, and dispose of it. An analysis that considers this entire process is called a life-cycle analysis. A 1-litre [...]]]></description>
			<content:encoded><![CDATA[<p>Embodied energy is the amount of energy that goes into a product during its entire life-cycle. It includes the energy required to mine and refine materials, assemble these into the final product, transport it to the consumer, and dispose of it. An analysis that considers this entire process is called a life-cycle analysis.</p>
<p>A 1-litre plastic (PET) bottle has an embodied energy of roughly 5.4 MJ. This is the same as leaving a 15 W lightbulb on for <strong>100 hours</strong> (1 kilowatt-hour is 3.6 MJ, a 15 W CFL lightbulb gives light equivalent to a 75 W incandescent light bulb). Aluminium cans are about 1.7x worse than plastic bottles in this respect.</p>
<p>Recycling changes the picture a little. Recycled PET has an embodied energy about 20-25% lower than virgin PET. Other types of plastic can achieve reductions in embodied energy of up to 50% by recycling.</p>
<p>While recycling can reduce the impact of disposables (<a href="http://www.ted.com/talks/capt_charles_moore_on_the_seas_of_plastic.html">and keeps the plastic out of landfills and nature</a>), the impact of recycled materials is still huge. Avoid disposables whenever possible!</p>
<p>Source: The ImpEE Project, The University of Cambridge, <a href="http://www-g.eng.cam.ac.uk/impee/topics/RecyclePlastics/files/Recycling%20Plastic%20v3%20PDF.pdf">Recycling Plastic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2010/06/06/embodied-energy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mutual fund fees cut your life savings in half!</title>
		<link>http://gebweb.net/blogpost/2010/02/13/mutual-fund-fees-cut-your-life-savings-in-half/</link>
		<comments>http://gebweb.net/blogpost/2010/02/13/mutual-fund-fees-cut-your-life-savings-in-half/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 17:31:01 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Economy]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2010/02/13/mutual-fund-fees-cut-your-life-savings-in-half/</guid>
		<description><![CDATA[Virtually all mutual funds (aksjefond in Norwegian), charge their customer some percentage of their total account balance at the end of each year. This annual fee is most likely in the 2 &#8211; 3% range. This may not sound much, but over the years, it does add up: 0.98^40 = 0.45 0.97^40 = 0.30 What [...]]]></description>
			<content:encoded><![CDATA[<p>Virtually all mutual funds (aksjefond in Norwegian), charge their customer some percentage of their total account balance at the end of each year. This annual fee is most likely in the 2 &#8211; 3% range. This may not sound much, but over the years, it does add up:</p>
<p><code><br />
0.98^40 = 0.45<br />
0.97^40 = 0.30<br />
</code></p>
<p>What this means is that if you start saving at age 27 and want to retire at age 67, a 2% annual fee will shave 55% off your retirement account. A 3% annual fee will take out more than 70% of your savings.</p>
<p>This model is too simplistic, since most people will save a certain amount each year and add to their retirement savings. These subsequent amounts are not subject to the fee as many times as the amount you put down in the first year, e.g the amount you save the 2nd year is only subject to the fee 39 times, the 3rd year 38 times etc.</p>
<p>The annual returns you get is another complicating factor. Given higher annual returns, these annual fees should matter less, right? Not so, it actually doesn&#8217;t matter at all what the underlying annual return on the investment is &#8211; the fees will cut the same percentage of your total life savings, since</p>
<p><code><br />
(1+p)^n / ((1+p)*(1-q))^n = 1 / (1-q)^n<br />
where<br />
p := annual base return on investment<br />
q := annual fee<br />
</code></p>
<p>I even created a more advanced model which takes into account inflation, increases in salary, various return rates on the investment etc. You can copy it and play with it from here: <a href="https://spreadsheets.google.com/ccc?key=0AnBpWJAbbMHFdHo4SkpMaS02OVBaNFNzVk1VMVVwWVE&amp;hl=en">Google Spreadsheets</a></p>
<p>The spreadsheet model shows that the 3% annual fee is not as bad as the initial calculations show, but still ends up eating half your savings under reasonable assumptions (income = 100000, tax rate = 33%, inflation = 2%, pay increase = 3%/year, spend = 50000 first year, then increasing 3%/year, return on savings = 7%)</p>
<p>Do managed mutual funds offer higher returns than passive index funds, which have much lower fees (typically 0.1% &#8211; 1%)? Various studies have tried to answer this. A survey of the existing literature is given in <a href="http://cisdm.som.umass.edu/research/pdffiles/performancepersistence.pdf">Performance Persistence for Mutual Funds: Academic Evidence</a>. The various papers quoted in this article show different results. At best, there is very weak evidence of some skill among the top fund managers, but no study found that the funds generated excess returns after fees were subtracted. It also shows that past performance is a very weak predictor of future performance &#8211; after two years, the is virtually no correlation at all. So if a fund performed great until now, there&#8217;s no reason to believe it will continue much longer into the future.</p>
<p>Let&#8217;s end with a few quotes:</p>
<blockquote><p>&#8220;A respect for evidence compels me to the hypothesis that most portfolio managers should go out of business. Even if this advice to drop dead is good advice, it obviously will not be eagerly followed. Few people will commit suicide without a push.&#8221;<br />
Paul Samuelson, Economist, Nobel Laureate</p></blockquote>
<blockquote><p>&#8220;If &#8220;active&#8221; and &#8220;passive&#8221; management styles are defined in sensible ways, it must be the case that, (1) before costs, the return on the average actively managed dollar will equal the return on the average passively managed dollar and, (2) after costs, the return on the average actively managed dollar will be less than the return on the average passively managed dollar. These assertions will hold for any time period. Moreover, they depend only on the laws of addition, subtraction, multiplication and division. Nothing else is required. &#8221;<br />
William F. Sharpe, Professor of Finance, Nobel Laureate</p></blockquote>
<p>Will you continue to let banks, traders and fund managers fleece you, to the tune of half your retirement savings, for a service which can be fulfilled just as well by a monkey throwing darts? Or will you change to passive index funds, and give these leeches what they deserve?</p>
<p>Here is an alternative, if you want some market exposure: In the US, the ticker SPY tracks the S&amp;P 500 index at an annual cost of 0.1%. In Norway, Handelsbanken offers its XACT OBX fund which tracks the main index at Oslo Børs for a fee of 0.3% a year. These trade like normal stocks.</p>
<p>I&#8217;m not saying this is a good time to get involved in the markets, but there&#8217;s never a good time to pay too much in fees!</p>
<p style="background-color: #ffffff"><script type="text/javascript" src="http://host1.easypolls.net/ext/scripts/emPoll.js?p=4639"></script><a class="OPP-powered-by" href="http://www.objectplanet.com/opinio/" style="text-decoration: none"></a></p>
<p style="background-color: #ffffff"><script type="text/javascript" src="http://host1.easypolls.net/ext/scripts/emPoll.js?p=4638"></script><a class="OPP-powered-by" href="http://www.objectplanet.com/opinio/" style="text-decoration: none"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2010/02/13/mutual-fund-fees-cut-your-life-savings-in-half/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Dysfunctional Banking System</title>
		<link>http://gebweb.net/blogpost/2010/01/30/a-dysfunctional-banking-system/</link>
		<comments>http://gebweb.net/blogpost/2010/01/30/a-dysfunctional-banking-system/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 18:06:23 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Economy]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2010/01/30/a-dysfunctional-banking-system/</guid>
		<description><![CDATA[As the debt-crisis reached its preliminary climax in the fall of 2008, we were promised the collapse of society if the banks were not rescued with public funds. Maybe that&#8217;s true, but now is the time to think about building a better banking and money infrastructure. My personal experience with banks was increased somewhat over [...]]]></description>
			<content:encoded><![CDATA[<p>As the debt-crisis reached its preliminary climax in the fall of 2008, we were promised the collapse of society if the banks were not rescued with public funds. Maybe that&#8217;s true, but now is the time to think about building a better banking and money infrastructure.</p>
<p>My personal experience with banks was increased somewhat over the last month, as I tried to wire transfer several thousand dollars from a bank account in Canada to one in Norway. The accounts are both owned by me. They are with large, respected entities in both countries. I have several receipts (thank God) that show that the account number (IBAN), SWIFT code, address, name etc. provided by me are correct.</p>
<p>The money did leave my bank account in Canada a few days after I requested the transfer. So far, so good. The problem is that that was in December 2009. After waiting for a week, I first contacted the sending bank in Canada. They gave me a nice looking &#8220;Payment Transmission Confirmation&#8221; showing the information I had entered and some other numbers. The transmission showed that the money had left my bank, then gone to an intermediary associated with my bank and had been sent on to Bank X (I know the name, but won&#8217;t post it here yet) in Great Britain, with instructions to send it on to my bank.</p>
<p>I gave my receipt to my bank in Norway, but they could not find any funds, not in my name, not to my account, not of that amount, not on that date, etc. Their intermediary is another Norwegian bank, so I tried calling them &#8211; no luck. They pointed me to DnB NOR, who is the intermediary they use. DnB NOR was also unable to find the money.</p>
<p>I requested more information from Canada. Another week went by, and all I got was this very detailed spreadsheet-looking SWIFT request from my contact in Canada. The first receipt had some numbers. This one had lots of numbers! I sent it on to my Norwegian bank, who didn&#8217;t quite understand it. While it certainly had numbers, it didn&#8217;t have the number they wanted (transaction reference number).</p>
<p>At this point, I directed a request for a formal investigation to the originating bank. It&#8217;s been a week since then. They are no doubt calling banks down a long chain of intermediaries now. What I know about the trace of my money is this: My Bank in Canada -&gt; Intermediary in Canada -&gt; Intermediary in Great Britain 1 -&gt; Intermediary in Great Britain 2 -&gt; unknown. After the unknown, the final part of the route should be: DnB NOR -&gt; Intermediary in Norway -&gt; My Bank in Norway.</p>
<p>If you think this looks a bit like how the internet (tried traceroute?) works, you&#8217;re absolutely right. The only difference is that this process is manual. Yes, you heard it right. What happens at each of these links, is that some peon in the sending bank faxes a document with instructions and numbers on it to the next bank in the path. This is done over a &#8220;secure&#8221; (physically separate from the normal telecommunications network) wire. (Thus the term wire transfer). Then some peon in the receiving bank will look at the instructions, type the info into their system, and if the destination is not yet reached, fax it on to some other bank. The woman I talked to at DnB NOR even suggested that at some point in the chain, they had failed to find a &#8220;path&#8221; (translated from Norwegian &#8220;sti&#8221;) towards the destination! The routing in SWIFT is completely ad-hoc you see.</p>
<p>Whenever you visit a major city (at least in Canada), you can bet that the tallest five buildings are banks (not counting the CN Tower of course). If you&#8217;ve ever wondered what the people in those 100-story glass palaces do, now you know: They are full of peons who form the human equivalent of CISCO routers in a giant human version of the internet. In 2010, I believe this meets the definition of Epic Fail. And yes, the banks have ways of making us pay for this largesse!</p>
<p style="background-color: #ffffff"><script src="http://host1.easypolls.net/ext/scripts/emPoll.js?p=3801" type="text/javascript"></script><a style="text-decoration: none" href="http://www.objectplanet.com/opinio/" class="OPP-powered-by"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2010/01/30/a-dysfunctional-banking-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My First CO2 Quota Purchase</title>
		<link>http://gebweb.net/blogpost/2009/12/20/my-first-co2-quota-purchase/</link>
		<comments>http://gebweb.net/blogpost/2009/12/20/my-first-co2-quota-purchase/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 18:34:48 +0000</pubDate>
		<dc:creator>geir</dc:creator>
				<category><![CDATA[Environment]]></category>

		<guid isPermaLink="false">http://gebweb.net/blogpost/2009/12/20/my-first-co2-quota-purchase/</guid>
		<description><![CDATA[I’ve just purchased 5.89 contracts on the European CO2 emissions market, worth roughly $150. They are now effectively deleted from the market. These are meant to offset two round-trip flights from Toronto to Oslo. An extra multiplier was applied to the raw quantities of CO2, because the emissions from flights happen at high altitude and [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve just purchased 5.89 contracts on the European CO2 emissions market, worth roughly $150. They are now effectively deleted from the market. These are meant to offset two round-trip flights from Toronto to Oslo. An extra multiplier was applied to the raw quantities of CO2, because the emissions from flights happen at high altitude and have been found to affect climate disproportionately.</p>
<p><a target="_blank" href="http://co2.sft.no/geirke">View the certificate</a></p>
<p>Looking forward to go back to Norway! I’m sufficiently alienated here in Canada that it’s good to return to a sane (relatively speaking) place once in a while. Hope to see some of you there!</p>
<p style="background-color: #ffffff"><script type="text/javascript" src="http://host1.easypolls.net/ext/scripts/emPoll.js?p=1845"></script><a class="OPP-powered-by" href="http://www.objectplanet.com/opinio/" style="text-decoration: none"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://gebweb.net/blogpost/2009/12/20/my-first-co2-quota-purchase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

