<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Neil Dickson's Blog</title>
	<atom:link href="http://ndickson.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ndickson.wordpress.com</link>
	<description>Inventor IDE, PwnOS, and most everything else I'm up to</description>
	<lastBuildDate>Thu, 10 Dec 2009 08:33:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ndickson.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/39425d5e6fd805e583ea209d05d9fdf7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Neil Dickson's Blog</title>
		<link>http://ndickson.wordpress.com</link>
	</image>
			<item>
		<title>Quantum Progress You Can Help With</title>
		<link>http://ndickson.wordpress.com/2009/12/10/quantum-progress-you-can-help-with/</link>
		<comments>http://ndickson.wordpress.com/2009/12/10/quantum-progress-you-can-help-with/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 08:33:04 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[D-Wave]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=243</guid>
		<description><![CDATA[As some of you may have seen, Google has used D-Wave&#8217;s chips to help train a binary classifier to identify cars in images. Sure enough, it seems to beat the incumbent classifier training software, Adaboost&#8230; partly unintentionally, but that&#8217;s a story whose details I don&#8217;t know, since I wasn&#8217;t directly involved in the demo.
What I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=243&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As some of you may have seen, <a href="http://googleresearch.blogspot.com/2009/12/machine-learning-with-quantum.html">Google has used D-Wave&#8217;s chips to help train a binary classifier to identify cars in images.</a> Sure enough, it seems to beat the incumbent classifier training software, Adaboost&#8230; partly unintentionally, but that&#8217;s a story whose details I don&#8217;t know, since I wasn&#8217;t directly involved in the demo.</p>
<p>What I am currently involved in is related to a sentence in the Google blog post:</p>
<blockquote><p>Unfortunately, it is not easy to demonstrate that a multi-qubit system such as the D-Wave chip indeed exhibits the desired quantum behavior and experimental physicists from various institutions are still in the process of characterizing the chip.</p></blockquote>
<p>There are several quantum models to predict different behaviours we should see with a quantum chip, but to rigorously show that something is a quantum computer, one needs to compare against classical models too to see whether there is a measurable difference between the expected quantum and classical results.  For some quantum systems, this is quite easy (e.g. the double-slit experiment), for some, this is much less obvious how to do.</p>
<p>To give an analogy for what&#8217;s needed, a model describing a 200 gram rocket might suggest that it can go at 20m/s.  Supposing we have something that&#8217;s 200 grams and moves at 20m/s, that means that a lot of things it could have been have been ruled out, and a rocket isn&#8217;t ruled out, but maybe a 200 gram arrow could also go at 20m/s.  Without data on how a 200 gram arrow should behave, we can&#8217;t rule out that we have an arrow instead of a rocket.  We need to find cases where a rocket and an arrow would behave quite differently (e.g. throw it into a fire) and observe the results on our object.</p>
<p><a href="http://aqua.dwavesys.com/">AQUA@Home</a> lets you help out by volunteering your spare CPU time with <a href="http://boinc.berkeley.edu/download.php">BOINC</a> (note that version 6.10.18 may or may not work properly, but newer and older ones should).  We&#8217;re taking a brief break from our regular quantum simulations to do fine-grained classical simulations, i.e. if a chip with specific parameters was operating classically, how would it behave?  In a week or two, we&#8217;ll be back to mostly quantum simulations, but with both our regular app and an experimental app looking at more elaborate quantum algorithms that should drive a much larger wedge between quantum and classical.  It&#8217;ll let us try out these algorithms before we have hardware that&#8217;ll support them.</p>
<p>The hope is to get enough of this data solidly enough to have clear results soon.  I know I&#8217;m hoping to get my quantum algorithms paper ready for early January.  I had hoped to have it ready by now, but it needs way more computation time than 4 quad-cores can manage.  It wouldn&#8217;t be possible without the help of thousands of volunteers on BOINC, and we can always use more help.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=243&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/12/10/quantum-progress-you-can-help-with/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s the 21st Century! &#8211; Paper</title>
		<link>http://ndickson.wordpress.com/2009/09/26/its-the-21st-century-paper/</link>
		<comments>http://ndickson.wordpress.com/2009/09/26/its-the-21st-century-paper/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 06:04:48 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=237</guid>
		<description><![CDATA[It&#8217;s no secret that I&#8217;m rather disappointed with humanity&#8217;s overall lack of technological progress over the last decade, and some things in particular stand as an embarrassment to people everywhere.  Every once in a while, when one of these makes me particularly frustrated, I&#8217;ll post about it, and hopefully someone out there with the right [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=237&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s no secret that I&#8217;m rather disappointed with humanity&#8217;s overall lack of technological progress over the last decade, and some things in particular stand as an embarrassment to people everywhere.  Every once in a while, when one of these makes me particularly frustrated, I&#8217;ll post about it, and hopefully someone out there with the right connections will be inspired to do something about it.</p>
<p>Today&#8217;s chosen humiliation of humanity is paper.  It is 2009.  There is no reason for medium-large companies or governments to use paper for forms.  This sort of ridiculous, unnecessary waste goes way beyond being more aggravating and more time consuming for all parties.  I would go so far as to say that wasting paper and physically mailing it <em>defiles</em> modern society.</p>
<p>Don&#8217;t get me wrong; I still often use paper for jotting down notes and diagrams, since touchscreen technology is still insanely overpriced, but that&#8217;s a matter for another time.  What I&#8217;m talking about is the kind of duplicity exhibited by the system to apply for Ontario Graduate Scholarships, OGS.  It purports to have an online application system.  After &#8220;completing&#8221; the &#8220;online application&#8221;, it tells you that this is, in fact, just one small part of eight (nine if you&#8217;ve attended more than one post-secondary institution).   More insultingly, <em>all parts,</em> <em>including the supposed online application</em>, must be printed and signed, mailed to your current university department, processed physically, then mailed to the OGS organizing group, who then mail some parts to other universities for professors to review, who then mail reviews back.  At no stage will OGS accept even a form that has been faxed, let alone an emailed PDF.</p>
<p>I can see no possible reasons for this other than that the people managing OGS are incompetent or they enjoy knowing that they are wasting people&#8217;s time, money, and planet.  Why do I think that there&#8217;s no excuse?  Many thousands of the students applying for OGS could, in a week or two, single-handedly create a web application that manages the entire process with no paper, no waiting for the postal system to finish wasting so much fuel on your behalf, and no hassle of dealing with physically processing forms.  There&#8217;d be none of the pointless duplication of data on the forms either.  How many times do I need to tell you that my name is Neil Dickson and I&#8217;ll be studying in the field of Computer Science?</p>
<p>Everybody would win.  Fix it.  Now.  No paper.  No excuses.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=237&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/09/26/its-the-21st-century-paper/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>iTunes+QuickTime = Malicious Software</title>
		<link>http://ndickson.wordpress.com/2009/09/20/itunesquicktime-malicious-software/</link>
		<comments>http://ndickson.wordpress.com/2009/09/20/itunesquicktime-malicious-software/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 09:31:58 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=234</guid>
		<description><![CDATA[I&#8217;m sure I&#8217;m not the only one who&#8217;s realized this, but iTunes and QuickTime are about as close to malware as you can get without being automatically removed by anti-virus software.
The malware-like behaviour started long before iTunes, with QuickTime and its blatant lying that you have the option of not having it start on boot.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=234&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m sure I&#8217;m not the only one who&#8217;s realized this, but iTunes and QuickTime are about as close to malware as you can get without being automatically removed by anti-virus software.</p>
<p>The malware-like behaviour started long before iTunes, with QuickTime and its blatant lying that you have the option of not having it start on boot.  I rarely used QuickTime, but it&#8217;d be sitting in the background taking up a non-negligible amount of memory, so I&#8217;d close it, but whenever I&#8217;d restart it&#8217;d be there again.  Checking in the Task Manager, sometimes when I&#8217;d supposedly closed it, it was still running, but it no longer had a tray icon or any other UI components.  I eventually found the checkbox hidden amongst other options to unclick to have it not start on boot.  However, on the occasions I&#8217;d happen to use QuickTime, it&#8217;d CHANGE THE SETTING BACK without telling me, putting itself back in the list of programs to run on boot.  This, of course, is exactly what a malicious program would do to maximize the complete destruction of your computer&#8217;s usability.  Even Spybot Search &amp; Destroy&#8217;s features to disable programs from running on boot didn&#8217;t work; QuickTime would add duplicate entries in the startup list to force the system to run it on startup.  That&#8217;s about when I uninstalled QuickTime and refused to reinstall it, regardless of what it was that anyone had posted online in .mov format.</p>
<p>I was free of QuickTime for several years, and fully intended never to experience it again.  However, it got reinstalled a couple of years ago, without my knowledge, by another program on my system.  Yes, I am of course talking of iTunes.  The only things I use iTunes for are watching TED Talks, (which I&#8217;ll probably now do <a href="http://www.ted.com/">on the TED website</a>), and listening to internet radio stations, (which can also be done from their particular sites.)  Apple started admitting that iTunes had installed QuickTime, (who knows how long it was there before), when they started calling the program &#8220;iTunes+QuickTime&#8221; in its updates.  This is around the time when they started the fiasco of listing Safari as an &#8220;update&#8221; to iTunes.  That&#8217;s a sentence that&#8217;s so dumb-founding that I even typed it with the rhythm in which William Shatner would say it.</p>
<p>So, I then knew I had QuickTime on my system once again, without my permission.  However, that wasn&#8217;t all that iTunes had installed without my permission.  I got an error message one day saying something vaguely along the lines of &#8220;Bonjour was unable to access the internet.&#8221;  My immediate reaction was &#8220;WTF is Bonjour, and why is it on my computer, trying to access the internet?&#8221;  Sure enough, Bonjour is a piece of software to find other computers and devices on the local network, so my first thought was &#8220;Oh crap, I really do have some sort of malware on my system.&#8221;  As it turned out, this piece of software was installed by iTunes without asking, and it has no relevance to how I use iTunes; quite frankly it shouldn&#8217;t have any relevance to any feature of iTunes.  It was also running on startup without asking.</p>
<p>However, I chose to overlook this malicious behaviour, as they hadn&#8217;t caused any data loss, only negligibly slower responsiveness&#8230; and possibly sending my personal info to other computers on the network.  This was not to be the end, though.  I disliked that Apple wanted me to download from scratch and install a new version of iTunes+QuickTime every few days, so I had put it off for a while, and it seems I had good reason to.  The next time I installed an update, completely inexplicably, it one-by-one closed each of my Firefox tabs, then closed Firefox.  I have not known any other program to do this, and I can&#8217;t possibly imagine why iTunes+QuickTime would need to do such a stupid thing.  This DID cause me data loss, as a tab or two had unsaved text, and I use Firefox tabs like a todo list, so it had wiped out that text and my todo list, for no logical reason, without ever asking.</p>
<p>Months passed and I eventually forgave again, and today I noticed that iTunes+QuickTime 9.0.0 is the version it&#8217;s telling me to update to now.  I thought &#8220;Surely they&#8217;ve fixed the massive UI design flaws and stopped writing malicious update software by now.&#8221;  I was wrong.  The updater still closes Firefox without asking, it still has Safari listed as an update, and updates for Bonjour too.  That&#8217;s not to mention the two hours for which it made my computer completely unusable by thrashing the harddrive non-stop.  Mind you, it has improved slightly: instead of closing the Firefox tabs one-by-one, it simply closes Firefox normally, so the tabs were still there when it restarted (though that doesn&#8217;t always work), and Safari is now listed as recommended software instead of strictly an update to iTunes+QuickTime.  It also now admits the existence of Bonjour instead of <em>completely</em> hiding the fact that it was secretly probing the network for other computers and devices.</p>
<p>For the record, a few of the massive UI design flaws are still there.  If you click on a video in a podcast and press play, the user expects the video to play.  Instead, iTunes+QuickTime plays the PREVIOUS video I watched, which is one of the dumbest design decisions ever, if anyone even bothered to think about what the play button is supposed to do.  To get a different video to play, you have to double-click it.  At least they fixed that their UI was completely unresponsive to clicks whenever it wasn&#8217;t the last window selected.  You had to click it somewhere first, then click the pause button, for example.  Talk about UI design failure.</p>
<p>I&#8217;m going to try to eliminate iTunes+QuickTime+Bonjour+whatever from my system before the growing parasite installs anything else to destroy my computer.  As much as I admire the idea of the iTunes store, I suggest that others do the same if they can reasonably do so.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=234&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/09/20/itunesquicktime-malicious-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>More Tutorial Videos!</title>
		<link>http://ndickson.wordpress.com/2009/09/07/more-tutorial-videos/</link>
		<comments>http://ndickson.wordpress.com/2009/09/07/more-tutorial-videos/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 07:22:09 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Carleton]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=224</guid>
		<description><![CDATA[Now that my honours project is over, I&#8217;ve been busy catching up on other things, including the Assembly Language Video Tutorial and a new Performance Optimization Tutorial.  The assembly tutorial now has two more videos, one showing how to do a 3&#215;3 Gaussian blur in a very simple way, and one showing how to identify [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=224&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Now that my honours project is over, I&#8217;ve been busy catching up on other things, including the <a href="http://showmedo.com/videotutorials/series?name=qdrYRTz8Z">Assembly Language Video Tutorial</a> and a new <a href="http://showmedo.com/videotutorials/series?name=8qejp9FWe">Performance Optimization Tutorial</a>.  The assembly tutorial now has two more videos, <a href="http://showmedo.com/videotutorials/video?name=3200050&amp;fromSeriesID=320">one showing how to do a 3&#215;3 Gaussian blur</a> in a very simple way, and <a href="http://showmedo.com/videotutorials/video?name=3200060&amp;fromSeriesID=320">one showing how to identify red and orange</a> in the image.</p>
<div id="attachment_225" class="wp-caption aligncenter" style="width: 410px"><a href="http://ndickson.files.wordpress.com/2009/09/input.png"><img class="size-full wp-image-225" title="Photo of a Map of the Carleton University Tunnels" src="http://ndickson.files.wordpress.com/2009/09/input.png?w=400&#038;h=475" alt="Input Image: Map of the Carleton University Tunnels" width="400" height="475" /></a><p class="wp-caption-text">Input Image: Map of the Carleton University Tunnels</p></div>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 410px"><a href="http://ndickson.files.wordpress.com/2009/09/output.png"><img class="size-full wp-image-226" title="Blurred Tunnel Map Photo" src="http://ndickson.files.wordpress.com/2009/09/output.png?w=400&#038;h=475" alt="Output of Episode 4: Map Photo Blurred to Reduce Noise" width="400" height="475" /></a><p class="wp-caption-text">Output of Episode 4: Map Photo Blurred to Reduce Noise</p></div>
<div id="attachment_227" class="wp-caption aligncenter" style="width: 410px"><a href="http://ndickson.files.wordpress.com/2009/09/output2.png"><img class="size-full wp-image-227" title="Thresholded Tunnel Map Photo" src="http://ndickson.files.wordpress.com/2009/09/output2.png?w=400&#038;h=475" alt="Output of Episode 4: Red and Orange Thresholds to Identify Tunnels and &quot;You Are Here&quot; Sign" width="400" height="475" /></a><p class="wp-caption-text">Output of Episode 5: Red and Orange Thresholds to Identify Tunnels and &quot;You Are Here&quot; Sign</p></div>
<p>In the next few videos, we&#8217;ll be finding which red blob is the &#8220;You are here&#8221; sign, finding where it&#8217;s pointing, finding the farthest emergency telephone symbol from it, and finding the shortest path there.  The premise is that you&#8217;re running from zombies and want to warn campus security from as safe a position as possible, but you&#8217;re out of minutes on your cell phone. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>The Performance Optimization Tutorial is something that I&#8217;ve been meaning to get underway for some time, and my co-workers encouraged me to start it after getting an unexpected 10x-20x speedup on the <a href="http://aqua.dwavesys.com/">AQUA@Home</a> simulation code.  It&#8217;s going to be a much larger tutorial, so it&#8217;ll take a while to get into stuff like vectorization, but it&#8217;s very important to get a solid grounding in the fundamentals, so after the first two videos, there&#8217;ll be 4-6 videos on how common operations on different data types work at the bit level.  There&#8217;s a ton of stuff that can be exploited about the nature of these operations, some of which can make the difference between something being vectorizable and not vectorizable.  The hope is that almost any dedicated programmer should be able to get big speedups where it counts. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Edit:</strong> There&#8217;s a second video of the optimization tutorial out now.  I&#8217;m hoping to make this a weekly thing, or at least releasing a video in one of the tutorials each week.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=224&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/09/07/more-tutorial-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>

		<media:content url="http://ndickson.files.wordpress.com/2009/09/input.png" medium="image">
			<media:title type="html">Photo of a Map of the Carleton University Tunnels</media:title>
		</media:content>

		<media:content url="http://ndickson.files.wordpress.com/2009/09/output.png" medium="image">
			<media:title type="html">Blurred Tunnel Map Photo</media:title>
		</media:content>

		<media:content url="http://ndickson.files.wordpress.com/2009/09/output2.png" medium="image">
			<media:title type="html">Thresholded Tunnel Map Photo</media:title>
		</media:content>
	</item>
		<item>
		<title>Roots of Two and the Median of the Minimum</title>
		<link>http://ndickson.wordpress.com/2009/08/31/roots-of-two-and-the-median-of-the-minimum/</link>
		<comments>http://ndickson.wordpress.com/2009/08/31/roots-of-two-and-the-median-of-the-minimum/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 07:24:04 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=214</guid>
		<description><![CDATA[Yet another weird math observation.  As k becomes large (like k=1000 has less than 0.034% relative error):

I haven&#8217;t actually looked into why this is, but it means that:

So why am I looking at this?  Well, I&#8217;m really looking at the finding the median of the minimum of k independent, identically-distributed random varaibles.  With k such [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=214&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Yet another weird math observation.  As <em>k</em> becomes large (like <em>k</em>=1000 has less than 0.034% relative error):</p>
<p><img src='http://l.wordpress.com/latex.php?latex=1-%5Cfrac%7B1%7D%7B%5Csqrt%5Bk%5D%7B2%7D%7D%5Capprox%5Cfrac%7B%5Cln+2%7D%7Bk%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='1-\frac{1}{\sqrt[k]{2}}\approx\frac{\ln 2}{k}' title='1-\frac{1}{\sqrt[k]{2}}\approx\frac{\ln 2}{k}' class='latex' /></p>
<p>I haven&#8217;t actually looked into why this is, but it means that:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Csqrt%5Bk%5D%7B2%7D%5Capprox%5Cfrac%7Bk%7D%7Bk-%5Cln+2%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sqrt[k]{2}\approx\frac{k}{k-\ln 2}' title='\sqrt[k]{2}\approx\frac{k}{k-\ln 2}' class='latex' /></p>
<p>So why am I looking at this?  Well, I&#8217;m really looking at the finding the median of the minimum of <em>k</em> independent, identically-distributed random varaibles.  With <em>k</em> such variables:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=P%28%5Cmin%28X_1%2C...%2CX_k%29%3Ca%29+%3D+1-P%28X_1%5Cge+a+%5Cwedge+X_2%5Cge+a+%5Cwedge+...+%5Cwedge+X_k%5Cge+a%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='P(\min(X_1,...,X_k)&lt;a) = 1-P(X_1\ge a \wedge X_2\ge a \wedge ... \wedge X_k\ge a)' title='P(\min(X_1,...,X_k)&lt;a) = 1-P(X_1\ge a \wedge X_2\ge a \wedge ... \wedge X_k\ge a)' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+1-P%28X_1%5Cge+a%29%5Ek&#038;bg=161410&#038;fg=999999&#038;s=0' alt='= 1-P(X_1\ge a)^k' title='= 1-P(X_1\ge a)^k' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+1-%281-P%28X_1+%3C+a%29%29%5Ek&#038;bg=161410&#038;fg=999999&#038;s=0' alt='= 1-(1-P(X_1 &lt; a))^k' title='= 1-(1-P(X_1 &lt; a))^k' class='latex' /></p>
<p>The question is, what value <em>a</em> is the median of the minimum?  Let&#8217;s define <img src='http://l.wordpress.com/latex.php?latex=p%3DP%28X_1+%3C+a%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='p=P(X_1 &lt; a)' title='p=P(X_1 &lt; a)' class='latex' /> and solve for it:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%3D1-%281-p%29%5Ek&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\frac{1}{2}=1-(1-p)^k' title='\frac{1}{2}=1-(1-p)^k' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%281-p%29%5Ek%3D%5Cfrac%7B1%7D%7B2%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='(1-p)^k=\frac{1}{2}' title='(1-p)^k=\frac{1}{2}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=p+%3D+1-%5Cfrac%7B1%7D%7B%5Csqrt%5Bk%5D%7B2%7D%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='p = 1-\frac{1}{\sqrt[k]{2}}' title='p = 1-\frac{1}{\sqrt[k]{2}}' class='latex' /></p>
<p>If it&#8217;s the minimum of many independent variables, it&#8217;s then <img src='http://l.wordpress.com/latex.php?latex=%5Capprox%5Cfrac%7B%5Cln+2%7D%7Bk%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\approx\frac{\ln 2}{k}' title='\approx\frac{\ln 2}{k}' class='latex' />.  So, as long as we can find the value <em>a</em> at percentile <em>p</em> of the original distribution, we&#8217;ve found the median of this distribution of the minimum.  Weird stuff.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=214&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/08/31/roots-of-two-and-the-median-of-the-minimum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Inventor IDE Alpha 5b Released, but&#8230;</title>
		<link>http://ndickson.wordpress.com/2009/08/24/inventor-ide-alpha-5b-released-but/</link>
		<comments>http://ndickson.wordpress.com/2009/08/24/inventor-ide-alpha-5b-released-but/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 09:51:54 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[PwnIDE]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=210</guid>
		<description><![CDATA[So technically Inventor IDE Alpha 5b is now released on codecortex.com; the problem is that nobody can access codecortex.com right now, even though the bill got paid in time thanks to my father.  Well, I&#8217;ll just hope that it gets resolved soon and say a bit about this release.
This release finally lets users create 64-bit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=210&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So technically Inventor IDE Alpha 5b is now released on codecortex.com; the problem is that nobody can access codecortex.com right now, even though the bill got paid in time thanks to my father.  Well, I&#8217;ll just hope that it gets resolved soon and say a bit about this release.</p>
<p>This release finally lets users create 64-bit applications and operating system images by selecting them in the new project options dialog:</p>
<div id="attachment_211" class="wp-caption aligncenter" style="width: 506px"><a href="http://ndickson.files.wordpress.com/2009/08/projectoptions.png"><img class="size-full wp-image-211" title="ProjectOptions" src="http://ndickson.files.wordpress.com/2009/08/projectoptions.png?w=496&#038;h=235" alt="Project Options Dialog Box" width="496" height="235" /></a><p class="wp-caption-text">Project Options Dialog Box</p></div>
<p>There are also many user interface improvements that probably nobody else will notice, but that will come in handy in the next videos of the tutorial I&#8217;ll be continuing again soon.  One that people may notice is one that I&#8217;d wanted to avoid, but there is now a progress bar for loading.  Personally, I wanted the loading performance to be improved to the point there that wasn&#8217;t needed, but that&#8217;ll have to wait for the Beta version.</p>
<p>There are some encoding bugs fixed, mostly for the support for 64-bit code, inline functions, and not-yet-released performance test functions.  As an example it turns out that general registers r12 and r13 need some undocumented encodings that I hadn&#8217;t supported until today.</p>
<p>The next things potentially on the agenda for Alpha 6 releases are:</p>
<ul>
<li>Find/replace bar, a twist on the classic find bar</li>
<li>Find all references</li>
<li>Unit/performance testing system</li>
<li>Exports &amp; relocations, to really support making libraries</li>
<li>Listing files (a request from Prof. Reichstein for COMP 2003, and something that&#8217;d help debugging operating system code)</li>
<li>Navigation side strip, for quick navigation within a file, especially for errors</li>
<li>Output formats: OBJ, LIB, ELF, and Mach-O, to support Windows, Linux, and Mac with the same source code</li>
<li>Input OBJs or LIBs</li>
</ul>
<p>Things higher up are currently more likely to come sooner, but if people have any requests, please let me know.  The most likely is that only a few will get implemented for Alpha 6, and the rest will be put off for when Inventor IDE has been ported to C/C++.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=210&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/08/24/inventor-ide-alpha-5b-released-but/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>

		<media:content url="http://ndickson.files.wordpress.com/2009/08/projectoptions.png" medium="image">
			<media:title type="html">ProjectOptions</media:title>
		</media:content>
	</item>
		<item>
		<title>Possible Downtime and More Random Math</title>
		<link>http://ndickson.wordpress.com/2009/08/22/possible-downtime-and-more-random-math/</link>
		<comments>http://ndickson.wordpress.com/2009/08/22/possible-downtime-and-more-random-math/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 11:14:01 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=194</guid>
		<description><![CDATA[www.neildickson.com and www.codecortex.com may or may not be down on Sunday or Monday.  If they are, I blame Scotiabank for:

 needing 6-8 business days to make a simple transaction that can be made in less than half a second because of two little things I like to call: the internet and the 21st century
sending two [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=194&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>www.neildickson.com and www.codecortex.com may or may not be down on Sunday or Monday.  If they are, I blame Scotiabank for:</p>
<ul>
<li> needing 6-8 business days to make a simple transaction that can be made in less than half a second because of two little things I like to call: the internet and the 21st century</li>
<li>sending two versions of a credit card within a week or two where activating the wrong one makes them both not work</li>
<li>needing over a week to make and send a new credit card instead of just creating one on the spot in about 30 seconds as they easily could (just need a punch for the numbers and a magnetic strip writer)</li>
<li>charging me an outrageous $54 annual fee for the privilege of carrying a piece of plastic around that didn&#8217;t work anyway</li>
<li>charing a record high 30% interest rate on the credit card even though I&#8217;ve never missed a payment</li>
<li>paying a record low 0.25% interest rate on my savings account, and even then only on amounts over $5,000; less than 1/3 of what RBC pays, and less than 1/4 of what HSBC pays</li>
<li>working only 9:30am-4:00pm to avoid dealing with customers who have jobs</li>
</ul>
<p>Anyway, hopefully the sites don&#8217;t go down, and here&#8217;s some more random math-ish stuff.  Suppose you have a function in terms of its Taylor series about zero (it&#8217;s Maclauren series):</p>
<p><img src='http://l.wordpress.com/latex.php?latex=f%28x%29+%3D+%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+a_i+x%5Ei+&#038;bg=161410&#038;fg=999999&#038;s=0' alt='f(x) = \displaystyle\sum_{i=0}^{\infty} a_i x^i ' title='f(x) = \displaystyle\sum_{i=0}^{\infty} a_i x^i ' class='latex' /></p>
<p>How can you find the square of the function?  In hind sight, it should have been obvious, but it&#8217;s:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%28f%28x%29%29%5E2+%3D+%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+%5Cleft%28%5Cdisplaystyle%5Csum_%7Bj%3D0%7D%5E%7Bi%7D+a_j+a_%7Bi-j%7D%5Cright%29+x%5Ei&#038;bg=161410&#038;fg=999999&#038;s=0' alt='(f(x))^2 = \displaystyle\sum_{i=0}^{\infty} \left(\displaystyle\sum_{j=0}^{i} a_j a_{i-j}\right) x^i' title='(f(x))^2 = \displaystyle\sum_{i=0}^{\infty} \left(\displaystyle\sum_{j=0}^{i} a_j a_{i-j}\right) x^i' class='latex' /></p>
<p>In fact, more generally, if we also have <img src='http://l.wordpress.com/latex.php?latex=g%28x%29+%3D+%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+b_i+x%5Ei+&#038;bg=161410&#038;fg=999999&#038;s=0' alt='g(x) = \sum_{i=0}^{\infty} b_i x^i ' title='g(x) = \sum_{i=0}^{\infty} b_i x^i ' class='latex' />:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=f%28x%29g%28x%29+%3D+%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+%5Cleft%28%5Cdisplaystyle%5Csum_%7Bj%3D0%7D%5E%7Bi%7D+a_j+b_%7Bi-j%7D%5Cright%29+x%5Ei&#038;bg=161410&#038;fg=999999&#038;s=0' alt='f(x)g(x) = \displaystyle\sum_{i=0}^{\infty} \left(\displaystyle\sum_{j=0}^{i} a_j b_{i-j}\right) x^i' title='f(x)g(x) = \displaystyle\sum_{i=0}^{\infty} \left(\displaystyle\sum_{j=0}^{i} a_j b_{i-j}\right) x^i' class='latex' /></p>
<p>You can also calculate <img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle%5Cfrac%7Bf%28x%29%7D%7Bg%28x%29%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\displaystyle\frac{f(x)}{g(x)}' title='\displaystyle\frac{f(x)}{g(x)}' class='latex' /> fairly simply:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle%5Cfrac%7Bf%28x%29%7D%7Bg%28x%29%7D+%3D+%5Cfrac%7B%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+a_i+x%5Ei%7D%7B%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+b_i+x%5Ei%7D+%3D+%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+c_i+x%5Ei&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\displaystyle\frac{f(x)}{g(x)} = \frac{\displaystyle\sum_{i=0}^{\infty} a_i x^i}{\displaystyle\sum_{i=0}^{\infty} b_i x^i} = \displaystyle\sum_{i=0}^{\infty} c_i x^i' title='\displaystyle\frac{f(x)}{g(x)} = \frac{\displaystyle\sum_{i=0}^{\infty} a_i x^i}{\displaystyle\sum_{i=0}^{\infty} b_i x^i} = \displaystyle\sum_{i=0}^{\infty} c_i x^i' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+a_i+x%5Ei+%3D+%5Cleft%28%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+b_i+x%5Ei%5Cright%29%5Cleft%28%5Cdisplaystyle%5Csum_%7Bi%3D0%7D%5E%7B%5Cinfty%7D+c_i+x%5Ei%5Cright%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\displaystyle\sum_{i=0}^{\infty} a_i x^i = \left(\displaystyle\sum_{i=0}^{\infty} b_i x^i\right)\left(\displaystyle\sum_{i=0}^{\infty} c_i x^i\right)' title='\displaystyle\sum_{i=0}^{\infty} a_i x^i = \left(\displaystyle\sum_{i=0}^{\infty} b_i x^i\right)\left(\displaystyle\sum_{i=0}^{\infty} c_i x^i\right)' class='latex' /></p>
<p><img src='http://l.wordpress.com/latex.php?latex=a_0+%3D+b_0+c_0&#038;bg=161410&#038;fg=999999&#038;s=0' alt='a_0 = b_0 c_0' title='a_0 = b_0 c_0' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=a_1+%3D+b_1+c_0+%2B+b_0+c_1&#038;bg=161410&#038;fg=999999&#038;s=0' alt='a_1 = b_1 c_0 + b_0 c_1' title='a_1 = b_1 c_0 + b_0 c_1' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=a_2+%3D+b_2+c_0+%2B+b_1+c_1+%2B+b_0+c_2&#038;bg=161410&#038;fg=999999&#038;s=0' alt='a_2 = b_2 c_0 + b_1 c_1 + b_0 c_2' title='a_2 = b_2 c_0 + b_1 c_1 + b_0 c_2' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=a_3+%3D+b_3+c_0+%2B+b_2+c_1+%2B+b_1+c_2+%2B+b_0+c_3&#038;bg=161410&#038;fg=999999&#038;s=0' alt='a_3 = b_3 c_0 + b_2 c_1 + b_1 c_2 + b_0 c_3' title='a_3 = b_3 c_0 + b_2 c_1 + b_1 c_2 + b_0 c_3' class='latex' /></p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Ccdots&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\cdots' title='\cdots' class='latex' /></p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D+b_0+%26+0+%26+0+%26+0+%26+%5Ccdots+%5C%5C+b_1+%26+b_0+%26+0+%26+0+%26+%5Ccdots+%5C%5C+b_2+%26+b_1+%26+b_0+%26+0+%26+%5Ccdots+%5C%5C+b_3+%26+b_2+%26+b_1+%26+b_0+%26+%5Ccdots+%5C%5C+%5Cvdots+%26+%5Cvdots+%26+%5Cvdots+%26+%5Cvdots+%26+%5Cddots+%5Cend%7Bbmatrix%7D+%5Cbegin%7Bbmatrix%7D+c_0+%5C%5C+c_1+%5C%5C+c_2+%5C%5C+c_3+%5C%5C+%5Cvdots+%5Cend%7Bbmatrix%7D+%3D+%5Cbegin%7Bbmatrix%7D+a_0+%5C%5C+a_1+%5C%5C+a_2+%5C%5C+a_3+%5C%5C+%5Cvdots+%5Cend%7Bbmatrix%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\begin{bmatrix} b_0 &amp; 0 &amp; 0 &amp; 0 &amp; \cdots \\ b_1 &amp; b_0 &amp; 0 &amp; 0 &amp; \cdots \\ b_2 &amp; b_1 &amp; b_0 &amp; 0 &amp; \cdots \\ b_3 &amp; b_2 &amp; b_1 &amp; b_0 &amp; \cdots \\ \vdots &amp; \vdots &amp; \vdots &amp; \vdots &amp; \ddots \end{bmatrix} \begin{bmatrix} c_0 \\ c_1 \\ c_2 \\ c_3 \\ \vdots \end{bmatrix} = \begin{bmatrix} a_0 \\ a_1 \\ a_2 \\ a_3 \\ \vdots \end{bmatrix}' title='\begin{bmatrix} b_0 &amp; 0 &amp; 0 &amp; 0 &amp; \cdots \\ b_1 &amp; b_0 &amp; 0 &amp; 0 &amp; \cdots \\ b_2 &amp; b_1 &amp; b_0 &amp; 0 &amp; \cdots \\ b_3 &amp; b_2 &amp; b_1 &amp; b_0 &amp; \cdots \\ \vdots &amp; \vdots &amp; \vdots &amp; \vdots &amp; \ddots \end{bmatrix} \begin{bmatrix} c_0 \\ c_1 \\ c_2 \\ c_3 \\ \vdots \end{bmatrix} = \begin{bmatrix} a_0 \\ a_1 \\ a_2 \\ a_3 \\ \vdots \end{bmatrix}' class='latex' /></p>
<p>Simply use <a href="http://en.wikipedia.org/wiki/Triangular_matrix#Forward_and_Back_Substitution">forward substitution</a> to solve for the values of <img src='http://l.wordpress.com/latex.php?latex=c_i&#038;bg=161410&#038;fg=999999&#038;s=0' alt='c_i' title='c_i' class='latex' />.</p>
<p>It&#8217;s much harder to work out what non-integer powers of the Taylor series are, though.  The pattern for <img src='http://l.wordpress.com/latex.php?latex=%5Csqrt%7Bf%28x%29%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sqrt{f(x)}' title='\sqrt{f(x)}' class='latex' /> seems too complex to figure out from 5 terms.  What&#8217;d be really cool is to get the series for <img src='http://l.wordpress.com/latex.php?latex=f%28g%28x%29%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='f(g(x))' title='f(g(x))' class='latex' />, since then most anything else would be pretty easy to figure out.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=194&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/08/22/possible-downtime-and-more-random-math/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>The Harmonic Series and Beyond</title>
		<link>http://ndickson.wordpress.com/2009/08/19/the-harmonic-series-and-beyond/</link>
		<comments>http://ndickson.wordpress.com/2009/08/19/the-harmonic-series-and-beyond/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 06:06:29 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=185</guid>
		<description><![CDATA[I was going to write a post about AQUA@Home, the cool quantum simulation system you can help with that I&#8217;ve been working on at D-Wave, but I&#8217;ll leave that for a couple of days and talk about one of the miscellaneous things that I&#8217;ve thought about at random.
I&#8217;ve known for quite some time that  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=185&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was going to write a post about <a href="http://aqua.dwavesys.com/">AQUA@Home</a>, the cool quantum simulation system you can help with that I&#8217;ve been working on at D-Wave, but I&#8217;ll leave that for a couple of days and talk about one of the miscellaneous things that I&#8217;ve thought about at random.</p>
<p>I&#8217;ve known for quite some time that <img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En+%5Cfrac%7B1%7D%7Bi%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=1}^n \frac{1}{i}' title='\sum_{i=1}^n \frac{1}{i}' class='latex' /> (the harmonic series) divergesas n approaches infinity, and more recently, that it scales as <img src='http://l.wordpress.com/latex.php?latex=%5CTheta%28%5Clog+n%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\Theta(\log n)' title='\Theta(\log n)' class='latex' />.  However, <img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En+%5Cfrac%7B1%7D%7Bi%5E2%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=1}^n \frac{1}{i^2}' title='\sum_{i=1}^n \frac{1}{i^2}' class='latex' /> converges, along with any other positive function <img src='http://l.wordpress.com/latex.php?latex=O%28%5Cfrac%7B1%7D%7Bi%5E2%7D%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='O(\frac{1}{i^2})' title='O(\frac{1}{i^2})' class='latex' /> being summed.  For a while I had assumed that any function <img src='http://l.wordpress.com/latex.php?latex=o%28%5Cfrac%7B1%7D%7Bi%7D%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='o(\frac{1}{i})' title='o(\frac{1}{i})' class='latex' /> would converge, but I learned in my second calculus course at Carleton that <img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D2%7D%5En+%5Cfrac%7B1%7D%7Bi+%5Clog+i%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=2}^n \frac{1}{i \log i}' title='\sum_{i=2}^n \frac{1}{i \log i}' class='latex' /> also diverges.</p>
<p>Several weeks ago, I was curious where the true bound between converging and diverging is, and I seem to have found it.</p>
<p>I started by finding a simple proof of the scaling of the harmonic series, and it goes something like the following.  Let&#8217;s assume that n is a power of two:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B1%7D%2B%5Cfrac%7B1%7D%7B2%7D%2B%5Cfrac%7B1%7D%7B3%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B5%7D%2B%5Cfrac%7B1%7D%7B6%7D%2B%5Cfrac%7B1%7D%7B7%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B9%7D%2B%5Cfrac%7B1%7D%7B10%7D%2B...%2B%5Cfrac%7B1%7D%7Bn%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\frac{1}{6}+\frac{1}{7}+\frac{1}{8}+\frac{1}{9}+\frac{1}{10}+...+\frac{1}{n}' title='\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\frac{1}{6}+\frac{1}{7}+\frac{1}{8}+\frac{1}{9}+\frac{1}{10}+...+\frac{1}{n}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3E%5Cfrac%7B1%7D%7B1%7D%2B%5Cfrac%7B1%7D%7B2%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B16%7D%2B%5Cfrac%7B1%7D%7B16%7D%2B...%2B%5Cfrac%7B1%7D%7Bn%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='&gt;\frac{1}{1}+\frac{1}{2}+\frac{1}{4}+\frac{1}{4}+\frac{1}{8}+\frac{1}{8}+\frac{1}{8}+\frac{1}{8}+\frac{1}{16}+\frac{1}{16}+...+\frac{1}{n}' title='&gt;\frac{1}{1}+\frac{1}{2}+\frac{1}{4}+\frac{1}{4}+\frac{1}{8}+\frac{1}{8}+\frac{1}{8}+\frac{1}{8}+\frac{1}{16}+\frac{1}{16}+...+\frac{1}{n}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D%5Cfrac%7B1%7D%7B1%7D%2B%5Cfrac%7B1%7D%7B2%7D%2B2%28%5Cfrac%7B1%7D%7B4%7D%29%2B4%28%5Cfrac%7B1%7D%7B8%7D%29%2B8%28%5Cfrac%7B1%7D%7B16%7D%29%2B...%2B%5Cfrac%7Bn%7D%7B2%7D%28%5Cfrac%7B1%7D%7Bn%7D%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='=\frac{1}{1}+\frac{1}{2}+2(\frac{1}{4})+4(\frac{1}{8})+8(\frac{1}{16})+...+\frac{n}{2}(\frac{1}{n})' title='=\frac{1}{1}+\frac{1}{2}+2(\frac{1}{4})+4(\frac{1}{8})+8(\frac{1}{16})+...+\frac{n}{2}(\frac{1}{n})' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+1+%2B+%5Csum_%7Bj%3D1%7D%5E%7B%5Clog+n%7D+%5Cfrac%7B1%7D%7B2%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='= 1 + \sum_{j=1}^{\log n} \frac{1}{2}' title='= 1 + \sum_{j=1}^{\log n} \frac{1}{2}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+1+%2B+%5Cfrac%7B1%7D%7B2%7D%5Clog+n&#038;bg=161410&#038;fg=999999&#038;s=0' alt='= 1 + \frac{1}{2}\log n' title='= 1 + \frac{1}{2}\log n' class='latex' /></p>
<p>and:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B1%7D%2B%5Cfrac%7B1%7D%7B2%7D%2B%5Cfrac%7B1%7D%7B3%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B5%7D%2B%5Cfrac%7B1%7D%7B6%7D%2B%5Cfrac%7B1%7D%7B7%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B9%7D%2B%5Cfrac%7B1%7D%7B10%7D%2B...%2B%5Cfrac%7B1%7D%7Bn%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\frac{1}{6}+\frac{1}{7}+\frac{1}{8}+\frac{1}{9}+\frac{1}{10}+...+\frac{1}{n}' title='\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\frac{1}{6}+\frac{1}{7}+\frac{1}{8}+\frac{1}{9}+\frac{1}{10}+...+\frac{1}{n}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3C%5Cfrac%7B1%7D%7B1%7D%2B%5Cfrac%7B1%7D%7B2%7D%2B%5Cfrac%7B1%7D%7B2%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B4%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B%5Cfrac%7B1%7D%7B8%7D%2B...%2B%5Cfrac%7B1%7D%7Bn%2F2%7D%2B%5Cfrac%7B1%7D%7Bn%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='&lt;\frac{1}{1}+\frac{1}{2}+\frac{1}{2}+\frac{1}{4}+\frac{1}{4}+\frac{1}{4}+\frac{1}{4}+\frac{1}{8}+\frac{1}{8}+\frac{1}{8}+...+\frac{1}{n/2}+\frac{1}{n}' title='&lt;\frac{1}{1}+\frac{1}{2}+\frac{1}{2}+\frac{1}{4}+\frac{1}{4}+\frac{1}{4}+\frac{1}{4}+\frac{1}{8}+\frac{1}{8}+\frac{1}{8}+...+\frac{1}{n/2}+\frac{1}{n}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D%5Cfrac%7B1%7D%7B1%7D%2B2%28%5Cfrac%7B1%7D%7B2%7D%29%2B4%28%5Cfrac%7B1%7D%7B4%7D%29%2B8%28%5Cfrac%7B1%7D%7B8%7D%29%2B16%28%5Cfrac%7B1%7D%7B16%7D%29%2B...%2B%5Cfrac%7Bn%7D%7B2%7D%28%5Cfrac%7B1%7D%7Bn%2F2%7D%29%2B%5Cfrac%7B1%7D%7Bn%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='=\frac{1}{1}+2(\frac{1}{2})+4(\frac{1}{4})+8(\frac{1}{8})+16(\frac{1}{16})+...+\frac{n}{2}(\frac{1}{n/2})+\frac{1}{n}' title='=\frac{1}{1}+2(\frac{1}{2})+4(\frac{1}{4})+8(\frac{1}{8})+16(\frac{1}{16})+...+\frac{n}{2}(\frac{1}{n/2})+\frac{1}{n}' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D%5Cfrac%7B1%7D%7Bn%7D+%2B+%5Csum_%7Bj%3D0%7D%5E%7B%5Clog+n+-+1%7D+1&#038;bg=161410&#038;fg=999999&#038;s=0' alt='=\frac{1}{n} + \sum_{j=0}^{\log n - 1} 1' title='=\frac{1}{n} + \sum_{j=0}^{\log n - 1} 1' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+%5Clog+n+%2B+%5Cfrac%7B1%7D%7Bn%7D&#038;bg=161410&#038;fg=999999&#038;s=0' alt='= \log n + \frac{1}{n}' title='= \log n + \frac{1}{n}' class='latex' /></p>
<p>Therefore, <img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En+%5Cfrac%7B1%7D%7Bi%7D+%5Cin+%5CTheta%28%5Clog+n%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=1}^n \frac{1}{i} \in \Theta(\log n)' title='\sum_{i=1}^n \frac{1}{i} \in \Theta(\log n)' class='latex' />.  Using a similar approach, one can show that <img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D2%7D%5En+%5Cfrac%7B1%7D%7Bi+%5Clog+i%7D+%5Cin+%5CTheta%28%5Clog+%5Clog+n%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=2}^n \frac{1}{i \log i} \in \Theta(\log \log n)' title='\sum_{i=2}^n \frac{1}{i \log i} \in \Theta(\log \log n)' class='latex' />.  Doing this again can show that <img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D4%7D%5En+%5Cfrac%7B1%7D%7Bi+%5Clog+i+%5Clog+%5Clog+i%7D+%5Cin+%5CTheta%28%5Clog+%5Clog+%5Clog+n%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=4}^n \frac{1}{i \log i \log \log i} \in \Theta(\log \log \log n)' title='\sum_{i=4}^n \frac{1}{i \log i \log \log i} \in \Theta(\log \log \log n)' class='latex' />, and a pattern emerges allowing each one to be expressed in terms of the previous.</p>
<p>The final conclusion:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D2%5Ek%7D%5En+%5Cfrac%7B1%7D%7Bi+%5Clog+i+%5Clog+%5Clog+i+%5Clog+%5Clog+%5Clog+i+...+%5Clog...%5Clog+i%7D+%5Cin+%5CTheta%28%5Clog...%5Clog+n%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\sum_{i=2^k}^n \frac{1}{i \log i \log \log i \log \log \log i ... \log...\log i} \in \Theta(\log...\log n)' title='\sum_{i=2^k}^n \frac{1}{i \log i \log \log i \log \log \log i ... \log...\log i} \in \Theta(\log...\log n)' class='latex' /></p>
<p>where the number of logs in the last factor and in the scaling is <em>k</em>.  Note that the <img src='http://l.wordpress.com/latex.php?latex=2%5Ek&#038;bg=161410&#038;fg=999999&#038;s=0' alt='2^k' title='2^k' class='latex' /> is just to prevent any of the logarithms from going to zero, so assume <img src='http://l.wordpress.com/latex.php?latex=n+%3E%3E+2%5Ek&#038;bg=161410&#038;fg=999999&#038;s=0' alt='n &gt;&gt; 2^k' title='n &gt;&gt; 2^k' class='latex' />.  If any one of the logarithmic factors in the sum has a power greater than one, the series converges, but with them all equal to or less than one, the series still diverges.  In effect, the scaling can get arbitrarily close to <img src='http://l.wordpress.com/latex.php?latex=%5CTheta%281%29&#038;bg=161410&#038;fg=999999&#038;s=0' alt='\Theta(1)' title='\Theta(1)' class='latex' />, so this appears to be the very brink of divergence.  Some may argue that having a finite <em>k</em> makes it insufficient, since there are theoretically slower-growing functions, but that&#8217;s really splitting hairs.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=185&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/08/19/the-harmonic-series-and-beyond/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Biking Directions</title>
		<link>http://ndickson.wordpress.com/2009/08/01/biking-directions/</link>
		<comments>http://ndickson.wordpress.com/2009/08/01/biking-directions/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 06:05:11 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=180</guid>
		<description><![CDATA[As much as my land lady is quite kind, she&#8217;s unintentionally given me humourously bad biking directions two out of two times now.  As an example, last night, she suggested I take a shorter route to work today.  The route I normally take to work is:

Bike west along Kingsway to Willingdon Avenue
Bike north down the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=180&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As much as my land lady is quite kind, she&#8217;s unintentionally given me humourously bad biking directions two out of two times now.  As an example, last night, she suggested I take a shorter route to work today.  The route I normally take to work is:</p>
<ol>
<li>Bike west along Kingsway to Willingdon Avenue</li>
<li>Bike north down the huge hill on Willingdon Avenue to Still Creek Drive</li>
</ol>
<p>It&#8217;s about 6.8km total, and it takes around 30 minutes total (at least in this heat wave).  Her suggested route:</p>
<ol>
<li>Bike west along Imperial Street to Gilley Avenue</li>
<li>Bike north down Gilley Avenue to Deer Lake Parkway</li>
<li>Bike west along Deer Lake Parkway to Willingdon Avenue</li>
<li>Bike north down Willingdon Avenue to Still Creek Drive</li>
</ol>
<p>Unfortunately, the valid set of directions closest to that is:</p>
<ol>
<li>Bike west along Imperial Street to Gilley Avenue</li>
<li>Bike north down Gilley Avenue to <em><strong><span style="text-decoration:underline;">Deer Lake</span></strong></em></li>
<li><em><strong><span style="text-decoration:underline;">Swim across Deer Lake to Deer Lake Parkway</span></strong></em> (actually illegal, but that&#8217;s another matter)</li>
<li>Bike west along Deer Lake Parkway to Willingdon Avenue</li>
<li>Bike north down Willingdon Avenue to Still Creek Drive</li>
</ol>
<p>What I actually had to do was:</p>
<ol>
<li>Bike west along Imperial Street to Gilley Avenue</li>
<li>Bike north down the big hill on Gilley Avenue to Oakland Street, where Gilley Avenue ends.</li>
<li>Bike <em><strong><span style="text-decoration:underline;">back up the big hill</span></strong></em> on Oakland until Royal Oak Avenue</li>
<li>Bike down the huge hill on Royal Oak Avenue to Deer Lake Parkway</li>
<li>Bike west along Deer Lake Parkway to Willingdon Avenue</li>
<li>Bike north down Willingdon Avenue to Still Creek Drive</li>
</ol>
<p>Even if I cut out going back up the hill by going to Royal Oak first, it&#8217;s the same distance as my original route, and contains more uphill parts on Deer Lake Parkway because the hill on Royal Oak is even larger than the hill on Willingdon.  (I wish I could find topographic maps for the area to give an idea of the scale of these hills, but all the programs online I&#8217;ve tried failed or didn&#8217;t have data in sufficient detail.)  I&#8217;ll probably just stick to Kingsway and Willingdon, even though they&#8217;re very busy roads.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=180&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/08/01/biking-directions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Striking During a Recession</title>
		<link>http://ndickson.wordpress.com/2009/07/25/striking-during-a-recession/</link>
		<comments>http://ndickson.wordpress.com/2009/07/25/striking-during-a-recession/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 21:39:35 +0000</pubDate>
		<dc:creator>Neil Dickson</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Jobs]]></category>

		<guid isPermaLink="false">http://ndickson.wordpress.com/?p=176</guid>
		<description><![CDATA[Let me start by saying that I&#8217;ve got absolutely nothing against unions as a whole, and I think that they&#8217;re necessary for modern society.  That said, I can think of few things that are more cruel and immoral than flaunting your job security and financial stability while so many people are losing their jobs and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=176&subd=ndickson&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Let me start by saying that I&#8217;ve got absolutely nothing against unions as a whole, and I think that they&#8217;re necessary for modern society.  That said, I can think of few things that are more cruel and immoral than flaunting your job security and financial stability while so many people are losing their jobs and going bankrupt.</p>
<p>The Canadian unemployment rate is currently 8.6% and the US unemployment rate is 9.5%, but with the way that so many unions are going on strike now, you&#8217;d think that nobody was desperate for work.  It&#8217;s no wonder that people have been protesting against the striking workers in Toronto&#8217;s garbage strike.  It&#8217;s so absurd that I can&#8217;t even fit all of the reasons in one breath, so here they are as a bulleted list:</p>
<ul>
<li>I&#8217;d conjecture that most people can&#8217;t afford to simply choose not to work for weeks on end.</li>
<li>Most people need to do their job much better in order to get paid much better, instead of refusing to do their job until they get paid much better.</li>
<li>Demanding huge pay raises when your employer has much less money than before is not exactly the greatest strategy.  Many people are having to take pay cuts to keep their jobs, or risk having their entire company go under.</li>
<li>The purpose of a union is to make it such that if one worker is fired for striking, they&#8217;d all quit, which normally would be a big bargaining chip against unreasonable companies.  With unemployment this high, many employers, e.g. the city of Toronto, <em>could</em> fire all striking workers and hire new workers who evidently want to work more than the current union does.  In that case, all of the striking workers would be out of work, which is probably not what they want, but considering the contempt they have for the rest of us, more and more people are beginning to think that it&#8217;s what they deserve.</li>
</ul>
<p>I&#8217;m all for strikes when we were and when we will be back in economic stability, but striking now is like punching the general public in the gut, laughing at us, and then asking us for our lunch money in exchange for them no longer punching us in the gut.</p>
<p>The Toronto garbage strike is getting heated, but it&#8217;s at least not as dire as the Ottawa transit strike this past winter.  Many people lost their jobs because of the transit workers on strike demanding an insane 9% pay raise.  That raise was ripped right from the flesh of those other workers.  The fact that they want a raise in the first place when they do their job so poorly seems ludicrous to me (e.g. it should not be common for a bus to be 30 minutes late when it&#8217;s supposed to come every 20 minutes).  The Vancouver transit system is an <em>incredible</em> amount better, partly because of the automated SkyTrain, but the bus drivers also do a much better job, and they haven&#8217;t been on strike since 2001!</p>
<p>I realize that I&#8217;m fortunate to have a job in this rough economic period, and I think it&#8217;s about time that these few unions that want to screw the rest of us for their own benefit start realizing it too.  I recommend, to any employer that can manage it, that any union currently striking without legitimate cause should be fired outright, as long as there are enough unemployed people to fill the positions, as there probably are in Toronto for the sanitation workers.  These unions should learn that they&#8217;re not invincible and that they can&#8217;t hold everybody hostage whenever they become more greedy.  They make a mockery of the union system and of modern society, and we shouldn&#8217;t stand by and let them.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ndickson.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ndickson.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ndickson.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ndickson.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ndickson.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ndickson.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ndickson.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ndickson.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ndickson.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ndickson.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ndickson.wordpress.com&blog=1158540&post=176&subd=ndickson&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ndickson.wordpress.com/2009/07/25/striking-during-a-recession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/accf49d59449b71b817ca3c4f2c739f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neil Dickson</media:title>
		</media:content>
	</item>
	</channel>
</rss>