<?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>tail -f findings.out &#187; Desktop</title>
	<atom:link href="http://dancingpenguinsoflight.com/category/desktop/feed/" rel="self" type="application/rss+xml" />
	<link>http://dancingpenguinsoflight.com</link>
	<description></description>
	<lastBuildDate>Fri, 20 Apr 2012 03:24:17 +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>Transfering Google-synced iPad Notes between accounts</title>
		<link>http://dancingpenguinsoflight.com/2012/04/transfering-google-synced-ipad-notes-between-accounts/</link>
		<comments>http://dancingpenguinsoflight.com/2012/04/transfering-google-synced-ipad-notes-between-accounts/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 03:24:17 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=2042</guid>
		<description><![CDATA[The short path to transferring iPad Notes between Google accounts: Create a Notes label in your new Gmail Connect the old and new Gmail to a mail client that allows multiple accounts and transferring messages between them Transfer all messages &#8230; <a href="http://dancingpenguinsoflight.com/2012/04/transfering-google-synced-ipad-notes-between-accounts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3><strong>The short path to transferring iPad Notes between Google accounts:</strong></h3>
<ol>
<li>Create a Notes label in your new Gmail</li>
<li>Connect the old and new Gmail to a mail client that allows multiple accounts and transferring messages between them</li>
<li>Transfer all messages in the old Gmail&#8217;s Notes folder to the new Gmail&#8217;s Notes folder (Gmail labels are manifested as folders in Evolution)</li>
<li>Turn off Notes sync with the old Google account on the iPad</li>
<li>Turn on Notes sync with the new Google account</li>
</ol>
<h3><strong>The longer tale<br />
</strong></h3>
<p>The iPad Notes application has the ability to sync your notes to Google, Yahoo and other accounts, along with iCloud. While dealing with the ramifications of changing to a new primary Google account, I needed to get all my notes moved over. During this process, I learned some interesting things about Notes and Gmail in particular.</p>
<div id="attachment_2045" class="wp-caption alignright" style="width: 187px"><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2012/04/diff.png"><img class=" wp-image-2045 " title="diff" src="http://dancingpenguinsoflight.com/wp-content/uploads/2012/04/diff.png" alt="" width="177" height="166" /></a><p class="wp-caption-text">Line-wise diffs only</p></div>
<p>When you sync your iPad notes with a Google account, notes appear as email messages with a newly created label applied called &#8220;Notes&#8221;. While the view on the iPad is a continuous document, modifications to notes actually show up as new messages in the same conversation under the Notes label. This provides the perk of a primitive diff view for your notes since the changes are shown in a different color.</p>
<p>Update: After some additional testing, I cannot discern the pattern of how these notes are updated as messages in Gmail. I have several that definitely show diffs and threaded conversations as evidenced by the image above (purple text was the first form; black was the most recent update). But this next test shows no such markup or evidence of what were definitely multiple messages:</p>
<div id="attachment_2048" class="wp-caption aligncenter" style="width: 505px"><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2012/04/testnotes.png"><img class="size-full wp-image-2048" title="testnotes" src="http://dancingpenguinsoflight.com/wp-content/uploads/2012/04/testnotes.png" alt="" width="495" height="200" /></a><p class="wp-caption-text">Test synced note showing no signs of diffs or multiple messages despite the disparate update times...</p></div>
<p>Nice-to-have optional features aside, seeing as these notes are nothing more than emails with an intuitive label, transferring them to a new Google account got pretty simple. First though, I was unhappily reminded that Gmail does not allow you to forward more than one message at a time. To get around this, I set up both Gmail accounts within the desktop Evolution client. Then it was simply a matter of going to the old Notes folder, selecting all, Copy to Folder, navigate to the new account&#8217;s Notes folder, done. Be aware that you should first create a Notes label in the new Gmail account since it won&#8217;t exist before you sync notes from an iPad with the account. (And while we are on that topic, be aware that you have to quit and restart Evolution for it to pick up new folders.)</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2012/04/transfering-google-synced-ipad-notes-between-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handy Excel Tip: Open workbook in new instance</title>
		<link>http://dancingpenguinsoflight.com/2011/05/handy-excel-tip-open-workbook-in-new-instance/</link>
		<comments>http://dancingpenguinsoflight.com/2011/05/handy-excel-tip-open-workbook-in-new-instance/#comments</comments>
		<pubDate>Sun, 29 May 2011 21:04:50 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1924</guid>
		<description><![CDATA[I&#8217;ve written before about using Excel for some remote data collection and analysis tasks. One thing that often annoyed me in such situations was the inability to utilize multiple monitors. Whenever I wanted to break out a sheet, or especially &#8230; <a href="http://dancingpenguinsoflight.com/2011/05/handy-excel-tip-open-workbook-in-new-instance/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve <a title="Web data in Excel" href="http://dancingpenguinsoflight.com/2009/07/pulling-data-into-excel-from-web-queries/" target="_blank">written</a> <a title="Web queries with dynamic parameters in Excel" href="http://dancingpenguinsoflight.com/2010/07/excel-web-query-urls-with-dynamic-parameters/" target="_blank">before</a> about using Excel for some remote data collection and analysis tasks. One thing that often annoyed me in such situations was the inability to utilize multiple monitors. Whenever I wanted to break out a sheet, or especially when opening a new workbook, I found there is no way in default Excel to open the item in a new instance. It would always open in the same window, severely limiting potentially useful layout arrangements.</p>
<p>As is unfortunately common with Windows improvements&#8230; there&#8217;s a registry modification to solve it. All credit goes to OnlineTechTips: <a target="_blank" title="How a new instance of Excel 2007 workbooks" href="http://www.online-tech-tips.com/ms-office-tips/how-to-open-a-new-instance-of-excel-2007-workbooks/">this article</a> got me fixed up quickly.</p>
<p>Basically you just download <a target="_blank" href="http://www.online-tech-tips.com/wp-content/uploads/Excel_New_Instance.zip">a zip file</a>, extract the contents, and rename the file whose title indicates the behavior you&#8217;d like in place. After this you just double click to run the file. This is a very convenient way to provide a fix, much easier than following descriptions of where in the registry tree to find what entries and what values to set them as. One of them even adds the option to open in a new Excel window to the right click context menu.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2011/05/handy-excel-tip-open-workbook-in-new-instance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fast and easy bluetooth management on Ubuntu</title>
		<link>http://dancingpenguinsoflight.com/2011/02/fast-and-easy-bluetooth-management-on-ubuntu/</link>
		<comments>http://dancingpenguinsoflight.com/2011/02/fast-and-easy-bluetooth-management-on-ubuntu/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 22:16:21 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1908</guid>
		<description><![CDATA[I wanted to connect the conveniently svelte Apple wireless keyboard and mouse to my Ubuntu media server. I don&#8217;t often have issues connecting peripherals to my Ubuntu systems these days, so I naively assumed this would be a walk in &#8230; <a href="http://dancingpenguinsoflight.com/2011/02/fast-and-easy-bluetooth-management-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to connect the conveniently svelte <a target="_blank" title="Apple wireless keyboard" href="http://www.apple.com/keyboard/">Apple wireless keyboard</a> and mouse to my Ubuntu media server. I don&#8217;t often have issues connecting peripherals to my Ubuntu systems these days, so I naively assumed this would be a walk in park. Well, it could have been, but I did not find the royal road on my first attempt. <a target="_blank" title="Installing blueman" href="http://www.siamnet.org/Wiki/Ubuntu-AppleBluetoothKeyboard">Here&#8217;s the right way</a>.<br />
<span id="more-1908"></span><br />
Install blueman (assumes you are on 10.04):</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;echo 'deb http://ppa.launchpad.net/blueman/ppa/ubuntu lucid main' &gt;&gt; /etc/apt/sources.list&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-key adv</span> <span style="color: #660033;">--keyserver</span> keyserver.ubuntu.com <span style="color: #660033;">--recv-keys</span> 951DC1E2<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get update</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> blueman</div></td></tr></tbody></table></div>
<p>Now go to System -> Preferences -> Bluetooth Manager. This should bring up a handy utility:<br />
<a href="http://dancingpenguinsoflight.com/wp-content/uploads/2011/02/bluetooth-manager.png"><img src="http://dancingpenguinsoflight.com/wp-content/uploads/2011/02/bluetooth-manager.png" alt="" title="bluetooth-manager" width="502" height="382" class="aligncenter size-full wp-image-1910" /></a><br />
For the mouse:</p>
<ul>
<li>Right click on entry</li>
<li>Select Pair, passcode by default is &#8220;0000&#8243;</li>
<li>Once paired, right click again and select Connect to Input Service</li>
</ul>
<p>And keyboard:</p>
<ul>
<li>Right click on entry</li>
<li>Select Pair, didn&#8217;t ask for a passcode</li>
<li>Once paired, right click again and select Connect to Input Service</li>
</ul>
<p>After these easy steps both devices started working flawlessly. As it should be.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2011/02/fast-and-easy-bluetooth-management-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spruce up your desktop with the National Geographic Photo of the Day</title>
		<link>http://dancingpenguinsoflight.com/2011/02/spruce-up-your-desktop-with-the-national-geographic-photo-of-the-day/</link>
		<comments>http://dancingpenguinsoflight.com/2011/02/spruce-up-your-desktop-with-the-national-geographic-photo-of-the-day/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 21:54:45 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1877</guid>
		<description><![CDATA[[Update, 2011-02-24] Reader Jason Coombs kindly made the necessary changes to get this working on Windows 7! Now I might be shamed into getting it working for Mac OS X as well His changes are here. I&#8217;ve updated my script &#8230; <a href="http://dancingpenguinsoflight.com/2011/02/spruce-up-your-desktop-with-the-national-geographic-photo-of-the-day/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>[Update, 2011-02-24] Reader Jason Coombs kindly made the necessary changes to get this working on Windows 7! Now I might be shamed into getting it working for Mac OS X as well <img src='http://dancingpenguinsoflight.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  His <a target="_blank" href="https://bitbucket.org/jaraco/jaraco.util/changeset/7cfc6de94873">changes are here</a>. I&#8217;ve updated my script linked below as well. I&#8217;ll add some nicer instructions for Windows users soon .[/Update]</em></p>
<p>I love checking the <a title="NatGeo Photo of the day site" target="_blank" href="http://photography.nationalgeographic.com/photography/photo-of-the-day">National Geographic Photo of the Day page</a> to see what wonderful slice of nature or mankind some intrepid soul has captured and shared. Often a wallpaper-sized image download is provided. I wanted to automate the process of checking the page for a wallpaper link, downloading the file, putting it somewhere appropriate, and setting it as my background. The result is <a target="_blank" title="Background script on GitHub" href="https://github.com/shuckins/sph_code/blob/master/misc-scripts/nat-geo_background-setter.py">this script</a>, which does all that and even:</p>
<ul>
<li>Verifies you have at least 25% free disk space before continuing</li>
<li>Renames the image to the title shown on the page</li>
<li>Creates a dir to hold these images if it doesn&#8217;t exist</li>
</ul>
<p><span id="more-1877"></span></p>
<h2>Windows users</h2>
<p>Download that script and double click assuming Python is installed. </p>
<h2>Linux users</h2>
<p>Download it, set it to be executable (chmod u+x nat-geo_background-setter.py), put it somewhere like /opt. You could add an alias to run it whenever you fancy:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Update path to where you placed the script:</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">newbg</span>=<span style="color: #ff0000;">&quot;/opt/USER/nat-geo_background-setter.py&quot;</span></div></td></tr></tbody></table></div>
<p>If you want it to run every day on Linux you could add a crontab entry:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">crontab <span style="color: #660033;">-e</span><br />
<span style="color: #666666; font-style: italic;"># Inside your crontab:</span><br />
<span style="color: #666666; font-style: italic;"># Set BG to picture of the day</span><br />
<span style="color: #000000;">0</span> <span style="color: #000000;">6</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>USER<span style="color: #000000; font-weight: bold;">/</span>nat-geo_background-setter.py</div></td></tr></tbody></table></div>
<p>Enjoy a bit of nature on your desktop!</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2011/02/spruce-up-your-desktop-with-the-national-geographic-photo-of-the-day/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Amazon MP3 Downloader on 64-bit Ubuntu</title>
		<link>http://dancingpenguinsoflight.com/2010/12/amazon-mp3-downloader-on-64-bit-ubuntu/</link>
		<comments>http://dancingpenguinsoflight.com/2010/12/amazon-mp3-downloader-on-64-bit-ubuntu/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 18:16:30 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1828</guid>
		<description><![CDATA[We were in need of some additional holiday tunes and wanted to download this splendid album from Amazon. As it happens, I had my newly set up 64-bit Ubuntu system running 10.10, Maverick Meerkat. I&#8217;ve used the Amazon MP3 Downloader &#8230; <a href="http://dancingpenguinsoflight.com/2010/12/amazon-mp3-downloader-on-64-bit-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We were in need of some additional holiday tunes and wanted to download <a target="_blank" title="Classic Soul Christmas" href="http://www.amazon.com/gp/product/B00122RQQ6/ref=dm_ty_alb?ie=UTF8&#038;qid=1293380613&#038;sr=1-1">this splendid album</a> from Amazon. As it happens, I had my newly set up 64-bit Ubuntu system running 10.10, Maverick Meerkat. I&#8217;ve used the <a target="_blank" title="Amazon MP3 Downloader" href="http://www.amazon.com/gp/help/customer/display.html?nodeId=200154260">Amazon MP3 Downloader</a> on 32-bit Ubuntu systems without a problem. But when I tried to install the deb labelled for &#8220;Ubuntu 9.04&#8243; it complained about it being for the wrong architecture.</p>
<p>I came across <a target="_blank" title="David Heffelfinger post" href="http://www.ensode.net/roller/dheffelfinger/entry/installing_amazon_mp3_downloader_under">this post</a>, and then <a target="_blank" title="Martin Webster post" href="http://martinwebster.info/2009/07/10/install-amazon-mp3-downloader-on-ubuntu-9-04-x86-64/">this post</a> after it still wasn&#8217;t working. Here&#8217;s what ended up being the right process. </p>
<p>First you need to install getlibs, which as reader Adam thankfully pointed out, is not in the Ubuntu repos. <a target="_blank" title="getlibs forum" href="http://ubuntuforums.org/showthread.php?t=474790">This</a> is the main post about it, but unfortunately the download link that worked for me before is down now. <a  target="_blank" title="post on getlibs and apt-fast" href="http://www.dedoimedo.com/computers/ubuntu-utils.html">This post</a> has information on it getlibs general use if you are interested.</p>
<p>Next download the Ubuntu 9.04 deb from <a target="_blank" title="Amazon MP3 Downloader page" href="http://www.amazon.com/gp/dmusic/help/amd.html">this page</a>. Then in your favorite terminal navigate to the folder you downloaded the deb to. Next up:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># getlibs allows you to grab 32-bit libraries for </span><br />
<span style="color: #666666; font-style: italic;"># packages on 64-bit systems:</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> getlibs<br />
<span style="color: #666666; font-style: italic;"># Now install the deb ignoring the architecture issue:</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">--force-architecture</span> amazonmp3.deb <br />
<span style="color: #666666; font-style: italic;"># And grab the missing libraries:</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> getlibs <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>amazonmp3</div></td></tr></tbody></table></div>
<p>If you try to run amazonmp3 now you will get an error: &#8220;Error: Dependency is not satisfiable: libboost-filesystem1.34.1&#8243;. Let&#8217;s fix that:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> old_boost<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> old_boost<br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">26959932</span><span style="color: #000000; font-weight: bold;">/</span>libboost-signals1.34.1_1.34.1-16ubuntu1_i386.deb https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">26959936</span><span style="color: #000000; font-weight: bold;">/</span>libboost-thread1.34.1_1.34.1-16ubuntu1_i386.deb https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">26959922</span><span style="color: #000000; font-weight: bold;">/</span>libboost-iostreams1.34.1_1.34.1-16ubuntu1_i386.deb https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">26959918</span><span style="color: #000000; font-weight: bold;">/</span>libboost-filesystem1.34.1_1.34.1-16ubuntu1_i386.deb https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">26959916</span><span style="color: #000000; font-weight: bold;">/</span>libboost-date-time1.34.1_1.34.1-16ubuntu1_i386.deb https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">26959928</span><span style="color: #000000; font-weight: bold;">/</span>libboost-regex1.34.1_1.34.1-16ubuntu1_i386.deb https:<span style="color: #000000; font-weight: bold;">//</span>launchpadlibrarian.net<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">34165098</span><span style="color: #000000; font-weight: bold;">/</span>libicu40_4.0.1-2ubuntu2_i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">--force-architecture</span> <span style="color: #000000; font-weight: bold;">*</span>.deb<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> ..<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> old_boost</div></td></tr></tbody></table></div>
<p>Almost done.</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># For good measure:</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> getlibs <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>amazonmp3<br />
<span style="color: #666666; font-style: italic;"># Start it up</span><br />
amazonmp3</div></td></tr></tbody></table></div>
<p>If all is well it should look like this:<br />
<a href="http://dancingpenguinsoflight.com/wp-content/uploads/2010/12/amazon-mp3-downloader.png"><img src="http://dancingpenguinsoflight.com/wp-content/uploads/2010/12/amazon-mp3-downloader.png" alt="" title="amazon-mp3-downloader" width="507" height="370" class="aligncenter size-full wp-image-1835" /></a><br />
After this point I was able to download the album from Amazon without a hitch! Note that you don&#8217;t have to start it from the command line, that was just as a test. You can also launch it from Applications -> Internet in the Gnome menu, or just launch it from the link on Amazon when buying a song.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2010/12/amazon-mp3-downloader-on-64-bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Adobe AIR on 64 bit Ubuntu: install easily at last!</title>
		<link>http://dancingpenguinsoflight.com/2010/12/adobe-air-on-64-bit-ubuntu-install-easily-at-last/</link>
		<comments>http://dancingpenguinsoflight.com/2010/12/adobe-air-on-64-bit-ubuntu-install-easily-at-last/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 06:26:41 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1822</guid>
		<description><![CDATA[Consider this an extra Christmas present, at least I considered it as such Back in this post I discussed various issues with 64-bit Ubuntu systems after an upgrade. And now 15 months later I upgraded a laptop that had been &#8230; <a href="http://dancingpenguinsoflight.com/2010/12/adobe-air-on-64-bit-ubuntu-install-easily-at-last/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Consider this an extra Christmas present, at least I considered it as such <img src='http://dancingpenguinsoflight.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Back in <a title="64-bit Ubuntu review" target="_blank" href="http://dancingpenguinsoflight.com/2009/09/64-bit-ubuntu-not-a-problem/">this post</a> I discussed various issues with 64-bit Ubuntu systems after an upgrade. And now 15 months later I upgraded a laptop that had been running 32-bit Ubuntu for some time. As I went through my checklist of upgrade tasks, I cringed when Adobe AIR came up. I love Pandora One, and I love TweetDeck, but installing AIR on a 64-bit Linux system&#8230; pretty much no love there. I mean come on, look at <a title="Adobe's wretched steps to get AIR running on 64-bit Ubuntu" target="_blank" href="http://kb2.adobe.com/cps/408/kb408084.html#main_INSTALLING_AIR_1_5_ON_64_BIT_UBUNTU_7_10__8_04_AND_9_04">these instructions</a>. After a few steps (several of which fail or act pretty differently than shown when on Ubuntu 10.10, I might add), you have to ask if you really care that much. </p>
<p>But thankfully I decided to try a bit more Googling and came across <a target="_blank" title="James Ward's post on AIR on 64-bit Ubuntu" href="http://www.jamesward.com/2010/10/14/install-adobe-air-on-64-bit-ubuntu-10-10/">this lifesaver post</a>. First of all, I&#8217;d like to say I think his solution is pretty damned sweet. He takes the 32-bit AIR deb package, pulls out certain pieces, changes the architecture specified, then repackages it. Then you can just install it like it&#8217;s a 64-bit package and no one need be the wiser. </p>
<p>I&#8217;ve confirmed this process works without a hitch on Ubuntu 10.10 running 2.6.35-24-generic kernel. Afterwards I installed Pandora One and TweetDeck, which ran without issue.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2010/12/adobe-air-on-64-bit-ubuntu-install-easily-at-last/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get Flash working on Ubuntu 64-bit</title>
		<link>http://dancingpenguinsoflight.com/2010/09/get-flash-working-on-ubuntu-64-bit/</link>
		<comments>http://dancingpenguinsoflight.com/2010/09/get-flash-working-on-ubuntu-64-bit/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 02:25:01 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1664</guid>
		<description><![CDATA[If you use Ubuntu, and you happen to like to visit more than a handful of webpages, you might have encountered an issue or two with Flash. If you aren&#8217;t sure if Flash is working properly on your machine, check &#8230; <a href="http://dancingpenguinsoflight.com/2010/09/get-flash-working-on-ubuntu-64-bit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you use Ubuntu, and you happen to like to visit more than a handful of webpages, you might have encountered an issue or two with Flash. If you aren&#8217;t sure if Flash is working properly on your machine, check <a href="http://www.adobe.com/software/flash/about" target="_blank">the Adobe test page</a> out. I&#8217;ve had some machines with few or no issues at all, while on others Flash has been partially or fully broken quite often. I then end up going down the dank rabbit hole of switching out packages and versions (which is the last thing I want to be doing when I planned on watching Family Guy on Hulu), perhaps finding a solution, perhaps not. This got especially bad when <a href="http://www.theregister.co.uk/2010/06/11/64_bit_flash_for_linux_dead/" target="_blank">Adobe decided</a> not to release a new version of Linux Flash for 64-bit systems.</p>
<p>That&#8217;s why <a href="http://ubuntuforums.org/showthread.php?t=1358591&amp;highlight=howto+64+bit+flash" target="_blank">this forum post</a> made me one happy penguin. The steps are simple, and they work. I&#8217;ve mashed them all into this <a href="http://samuelhuckins.com/temp/flash-fixer.sh" target="_blank">one script</a> to make it more convenient:<br />
<span id="more-1664"></span></p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #666666; font-style: italic;">#===============================================================================</span><br />
<span style="color: #666666; font-style: italic;"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FILE: &nbsp;flash-fixer.sh</span><br />
<span style="color: #666666; font-style: italic;"># </span><br />
<span style="color: #666666; font-style: italic;"># &nbsp; &nbsp; &nbsp; &nbsp; USAGE: &nbsp;./flash-fixer.sh </span><br />
<span style="color: #666666; font-style: italic;"># </span><br />
<span style="color: #666666; font-style: italic;"># &nbsp; DESCRIPTION: &nbsp;Removes many known Flash packages and files on Ubuntu,</span><br />
<span style="color: #666666; font-style: italic;"># &nbsp; replaces with a good installer package.</span><br />
<span style="color: #666666; font-style: italic;"># </span><br />
<span style="color: #666666; font-style: italic;">#===============================================================================</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;------------------<span style="color: #000099; font-weight: bold;">\n</span>Removing all traces of Flash packages...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get purge</span> flashplugin-installer<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get purge</span> flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash <br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get purge</span> iceweasel-flashplugin mozilla-flashplugin firefox-flashplugin <br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get purge</span> swfdec-mozilla libflashsupport nspluginwrapper iceape-flashplugin <br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get purge</span> xulrunner-flashplugin midbrowser-flashplugin xulrunner-addons-flashplugin<br />
<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;------------------<span style="color: #000099; font-weight: bold;">\n</span>Removing Flash-related files...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> ~<span style="color: #000000; font-weight: bold;">/</span>.mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/*</span>flash<span style="color: #000000; font-weight: bold;">*</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>firefox-addons<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/*</span>flash<span style="color: #000000; font-weight: bold;">*</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>firefox<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/*</span>flash<span style="color: #000000; font-weight: bold;">*</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>iceape<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>flashplugin-alternative.so<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>iceweasel<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>flashplugin-alternative.so<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>iceweasel<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>npwrapper.libflashplayer.so<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>midbrowser<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>flashplugin-alternative.so<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/*</span>flash<span style="color: #000000; font-weight: bold;">*</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>xulrunner-addons<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>flashplugin-alternative.so<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>xulrunner<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>flashplugin-alternative.so<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>flashplugin-nonfree<span style="color: #000000; font-weight: bold;">/</span>npwrapper.libflashplayer.so<br />
<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;------------------<span style="color: #000099; font-weight: bold;">\n</span>Flash be gone! Now installing the good Flash... <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> flashplugin-installer<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;------------------<span style="color: #000099; font-weight: bold;">\n</span>Install complete! Dance and sing!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;------------------<span style="color: #000099; font-weight: bold;">\n</span>Close all browsers! Are they all closed? (y/n)<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-e</span> CONT<br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$CONT</span>&quot;</span> == <span style="color: #ff0000;">&quot;y&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;------------------<span style="color: #000099; font-weight: bold;">\n</span>Testing Flash version and exiting...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />
&nbsp; &nbsp; firefox http:<span style="color: #000000; font-weight: bold;">//</span>www.adobe.com<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>flash<span style="color: #000000; font-weight: bold;">/</span>about<br />
<span style="color: #000000; font-weight: bold;">else</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Exiting.&quot;</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">exit</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">exit</span></div></td></tr></tbody></table></div>
<p>So all you need to do is <a href="http://samuelhuckins.com/temp/flash-fixer.sh" target="_blank">download that here</a>, run it as &#8220;./flash-fixer.sh&#8221;, and start smiling.</p>
<p>Once Flash is working, if you need a sample video to test out the goodies I recommend <a href="http://www.youtube.com/watch?v=ixiYZ9DPk8o" target="_blank">this one</a>.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2010/09/get-flash-working-on-ubuntu-64-bit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Excel web query URLs with dynamic parameters</title>
		<link>http://dancingpenguinsoflight.com/2010/07/excel-web-query-urls-with-dynamic-parameters/</link>
		<comments>http://dancingpenguinsoflight.com/2010/07/excel-web-query-urls-with-dynamic-parameters/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 01:01:32 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Dataviz]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1476</guid>
		<description><![CDATA[Last year I wrote about the ease and utility of pulling data into Excel via web queries. This mechanism has served me well in the interim and has proven to be an effective tool in collecting data for certain kinds &#8230; <a href="http://dancingpenguinsoflight.com/2010/07/excel-web-query-urls-with-dynamic-parameters/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last year I wrote about the ease and utility of <a title="Pulling data into Excel from web queries" href="http://dancingpenguinsoflight.com/2009/07/pulling-data-into-excel-from-web-queries/" target="_blank">pulling data into Excel via web queries</a>. This mechanism has served me well in the interim and has proven to be an effective tool in collecting data for certain kinds of analysis. It&#8217;s not suited for every application, but if the data you are interested in consists of thousands to tens of thousands of rows, it&#8217;s a simple and workable option.</p>
<p>In a recent effort to pull data into an  Excel spreadsheet for further analysis, I needed more flexibility than a static report URL could  provide. The back end could accept parameterized values (e.g. the  desired date range) in the report URLs. I just needed to be able to set these values (initially or through user input) from within the  spreadsheet, then request the needed data. Seems generally simple and useful enough, so I&#8217;ll share what I did.<br />
<span id="more-1476"></span></p>
<h2>Sample Report</h2>
<p>Ignoring most of the particularities of the reporting back end, say the report in question consists of an SQL query:</p>
<div class="codecolorer-container sql blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">/* Use defaults if no params sent */</span><br />
<span style="color: #993333; font-weight: bold;">SET</span> @beginmonth <span style="color: #66cc66;">=</span> IFNULL<span style="color: #66cc66;">&#40;</span>@begin_month<span style="color: #66cc66;">,</span> <span style="color: #ff0000;">&quot;2000-01-01&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #993333; font-weight: bold;">SET</span> @endmonth <span style="color: #66cc66;">=</span> IFNULL<span style="color: #66cc66;">&#40;</span>@end_month<span style="color: #66cc66;">,</span> <span style="color: #ff0000;">&quot;2010-12-31&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #993333; font-weight: bold;">SELECT</span> date_format<span style="color: #66cc66;">&#40;</span>date_entered<span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'%Y-%m'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">DATE</span><span style="color: #66cc66;">,</span> profit_dollars<br />
<span style="color: #993333; font-weight: bold;">FROM</span> main_db<span style="color: #66cc66;">.</span>monthly_profits<br />
<span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #993333; font-weight: bold;">DATE</span><span style="color: #66cc66;">&#40;</span>date_entered<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">BETWEEN</span> @beginmonth <span style="color: #993333; font-weight: bold;">AND</span> @endmonth<br />
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #993333; font-weight: bold;">DATE</span> <span style="color: #993333; font-weight: bold;">DESC</span>;</div></td></tr></tbody></table></div>
<p>The URL to access it is http://initech.com/reports/total_profits. Using the query above, this would return data from the beginning of 2000 to the end of 2010. To pass in values for the start and end date parameters you would use the URL http://initech.com/reports/total_profits?begin_month=2000-03-01&amp;end_month=2000-06-31. This would limit the data returned to the second quarter of 2000.</p>
<h2>Use in Excel</h2>
<p>So what if you want to use dynamic parameters like these when pulling data into Excel? Let&#8217;s assume you have a spreadsheet already pulling data from the static report URL and displaying results. If you run into trouble, check out <a title="Pulling data into Excel from web queries" href="http://dancingpenguinsoflight.com/2009/07/pulling-data-into-excel-from-web-queries/" target="_blank">my earlier article on the subject</a>. Once that&#8217;s working, right-click the resultant data table in Excel, select Edit Query, and add the parameter names and values in the format ["FieldName"]:</p>
<p><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2010/05/params.png"><img class="aligncenter size-full wp-image-1631" title="params" src="http://dancingpenguinsoflight.com/wp-content/uploads/2010/05/params.png" alt="" width="359" height="304" /></a></p>
<p>FieldName in this case can be whatever you want to call the variable for the user&#8217;s convenience. This format is recognized by Excel and you&#8217;ll be prompted to enter a value. You can enter it yourself of course, or you can select a cell from which to pull the value. You can also specify whether to use the cell for future data refreshes and whether to refresh automatically. These features are key for our intended use. You can set a parameter value in a single cell and have it effect any number of web  queries, across various sheets!</p>
<p><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2010/05/params-selected.png"><img class="aligncenter size-full wp-image-1632" title="params-selected" src="http://dancingpenguinsoflight.com/wp-content/uploads/2010/05/params-selected.png" alt="" width="283" height="166" /></a></p>
<p>Note: This last feature only partially works in Mac Office 2008. A cell&#8217;s value can be selected as a parameter value but after updating it you have to manually refresh all related web queries. In Windows Office 2007, updating the specified cell updates all queries that have this property set, which is great for easing administrative load caused by having to update reports!</p>
<h2>Date format annoyance</h2>
<p>Your backend reporting system might likely expect dates in proper ISO format (YYYY-MM-DD). Excel, in its infinite wisdom, allows &#8220;Date&#8221; typed fields to be one of a myriad of formats, not one of which is proper ISO. So you need to make your date fields Text type and enter the dates as ISO format yourself.</p>
<p><a title="Artlcle on Excel web queries" href="http://www.jkp-ads.com/Articles/WebQuery.asp" target="_blank">This article </a>has additional information on the above approach as well as more screenshots of the various steps.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2010/07/excel-web-query-urls-with-dynamic-parameters/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Osmos: beautiful, relaxing, and cross-platform ambient game</title>
		<link>http://dancingpenguinsoflight.com/2010/06/osmos-beautiful-relaxing-and-cross-platform-ambient-game/</link>
		<comments>http://dancingpenguinsoflight.com/2010/06/osmos-beautiful-relaxing-and-cross-platform-ambient-game/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 04:13:30 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1571</guid>
		<description><![CDATA[I came across a game called Osmos by Hemisphere Games from this story posted on Slashdot. Their experience of porting the game Osmos to Linux and the sales they had witnessed thereafter was what interested me initially. They had found &#8230; <a href="http://dancingpenguinsoflight.com/2010/06/osmos-beautiful-relaxing-and-cross-platform-ambient-game/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I came across a game called <a title="Osmos home" href="http://www.hemispheregames.com/osmos/" target="_blank">Osmos by Hemisphere Games</a> from <a title="Osmos Linux sales numbers" href="http://www.hemispheregames.com/2010/06/23/linux-the-numbers/" target="_blank">this story</a> posted on Slashdot. Their experience of porting the game Osmos to Linux and the sales they had witnessed thereafter was what interested me initially. They had found the decision to be a profitable one. I was pleased and a bit surprised at this. Then I saw there was demo for the game running on Linux. It installed quickly, worked perfectly, and had stunning visuals, along with a wonderfully chill soundtrack. Often gaming on Linux is manifested through Wine, workarounds, resignation to VMs running other OSes, or simply putting up with games that aren&#8217;t really that attractive.</p>
<p><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2010/06/zoomed-in_ambient-welcome.png"><img class="alignleft size-full wp-image-1574" style="float: left; margin: 10px;" title="sm-zoomed-in_ambient-welcome" src="http://dancingpenguinsoflight.com/wp-content/uploads/2010/06/sm-zoomed-in_ambient-welcome.png" alt="sm-zoomed-in_ambient-welcome" width="300" height="208" /></a>Osmos is a wonderfully fun and good-looking game. I was so impressed by the demo (a game that starts off with Newton in Latin deserves my attention) that I purchased the full game. I might add this is only $10 and allows you access to DRM-free versions on Windows, Mac, and Linux, as well as a download of an ambient album used in the game! Quite a deal for a game that can provide many hours of enjoyment. It&#8217;s like a simpler version of the first stage of Spore, with more interesting novel elements and music reminiscent of Blade Runner. <a href="http://dancingpenguinsoflight.com/wp-content/uploads/2010/06/full-screen_force-reception.png">Full size screenshot here</a>.</p>
<p>Go check it out, it&#8217;s a lot of fun. And if you are on Linux and want to see more great games for a great platform, consider buying the game!</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2010/06/osmos-beautiful-relaxing-and-cross-platform-ambient-game/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Skip the distractions: Focus on web page content with Readability</title>
		<link>http://dancingpenguinsoflight.com/2010/06/skip-the-distractions-focus-on-web-page-content-with-readability/</link>
		<comments>http://dancingpenguinsoflight.com/2010/06/skip-the-distractions-focus-on-web-page-content-with-readability/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 22:38:36 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1502</guid>
		<description><![CDATA[Often when trying to catch up on the news or just researching something online, I come across article pages filled with distractions. Ads before the article, ads around the article, ads below the article, ads in the article, obscene sidebars &#8230; <a href="http://dancingpenguinsoflight.com/2010/06/skip-the-distractions-focus-on-web-page-content-with-readability/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img style="float: right; " title="stupid-ads" src="http://dancingpenguinsoflight.com/wp-content/uploads/2010/06/stupid-ads.png" alt="stupid-ads" width="246" height="236" />Often when trying to catch up on the news or just researching something online, I come across article pages filled with distractions. Ads before the article, ads around the article, ads below the article, ads in the article, obscene sidebars with three or four columns, animated neon dancing bears trying to sell me railroad testing equipment at a Ruby on Rails site, you get the idea. Sure, you could use something like <a title="FlashBlock add-on page" href="https://addons.mozilla.org/en-US/firefox/addon/433/" target="_blank">FlashBlock</a> and get the worst of these out of the way. But often you&#8217;re still left with a misshapen mass of text whose designer might have had a number of priorities before getting to clarity of presentation.</p>
<p>Enter <a title="Readability homepage" href="http://lab.arc90.com/experiments/readability/" target="_blank">Readability</a>:</p>
<blockquote><p><em>Readability</em> is a simple tool that makes reading on the Web more enjoyable by removing the clutter around what you&#8217;re reading.</p></blockquote>
<p>Huzzah! Simply go to the <a title="Readability homepage" href="http://lab.arc90.com/experiments/readability/" target="_blank">Readability site</a> and try out the different options for how you want rendered pages to look. You can change things like font size and style, as well as margin. You can even make the colors inverted if you prefer a dark background. Then drag the indicated button to your bookmark toolbar and click it whenever you are on a page you want to be more readable. After discovering Readability, I&#8217;ve been using it every day.</p>
<p>I was interested to see that the new version of Safari released today (version 5) added a feature called <a title="Safari Reader info" href="http://www.apple.com/safari/whats-new.html#reader" target="_blank">Safari Reader</a>. This serves the same purpose as Readability, just built into the browser&#8217;s address bar. It doesn&#8217;t appear that Safari Reader allows you to set more advanced options like the appearance of the font, but it does have the added benefit of remembering your zoom level.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2010/06/skip-the-distractions-focus-on-web-page-content-with-readability/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

