<?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>ball of lightning [dot] com</title>
	<atom:link href="http://balloflightning.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://balloflightning.com</link>
	<description>Hitting more home runs than Julio Lugo since 2002...</description>
	<lastBuildDate>Sun, 07 Mar 2010 01:47:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A beginner&#8217;s guide to atmospheric shortwaves</title>
		<link>http://balloflightning.com/2010/02/a-beginnerss-guide-to-atmospheric-shortwaves/</link>
		<comments>http://balloflightning.com/2010/02/a-beginnerss-guide-to-atmospheric-shortwaves/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:36:10 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Weather]]></category>
		<category><![CDATA[forecasting]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[shortwaves]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=69</guid>
		<description><![CDATA[My note:  This was originally written on Sons of Sam Horn on December 29th.  I have slightly modified it, but it still is rather raw.  It is not meant to be an exhaustive or textbook-level discussion of atmospheric shortwaves, but is intended for non-scientists who want a little more than what their [...]]]></description>
			<content:encoded><![CDATA[<p><em>My note:  This was originally written on <a href="http://www.sonsofsamhorn.net">Sons of Sam Horn</a> on December 29th.  I have slightly modified it, but it still is rather raw.  It is not meant to be an exhaustive or textbook-level discussion of atmospheric shortwaves, but is intended for non-scientists who want a little more than what their TV weatherman tells them.  That said, it&#8217;s always nice to have my work published on my domain so it&#8217;s now here for posterity.</em></p>
<p><strong>What&#8217;s an S/W?  Is that a shortwave?  What does a shortwave look like on one of the maps that get posted?</strong></p>
<p>We&#8217;ll start with the first question.  Yes, S/W (sometimes written SW&#8211; which is obviously confusing to those of us who also care about directions&#8211; which is, well, all mets) means &#8220;shortwave.&#8221;  A shortwave is essentially a &#8220;kink&#8221; in the large-scale upper level trough/ridge system.</p>
<p>For examples, I&#8217;ve pulled some output from the last 84-hr NAM run.  Below is the 300 mb map at 30-36-42 hours from model spin-up (18Z Wed, 00Z Thu, 06Z Thu) which is Wednesday afternoon through about 1 AM Thursday AM.  Color contours are wind speed, arrows are wind direction (length corresponds to magnitude) and the line contours are height contours (you can think of higher heights being higher pressure and lower heights being lower pressure&#8211; they are the height in geopotential meters that you find the 300 mb pressure level for a given X/Y (lat/lon) location).</p>
<p><img src="http://sox.balloflightning.com/images/soshwx/shortwave_nam_300.gif" alt="NAM 300mb animation" /></p>
<p>There are a couple prominent shortwaves in the trough.  One begins in ID and makes its way down to the NE/CO/WY border by the end of the run.  The one we&#8217;ll focus on begins in KS/OK and makes its way up through IL into IN by 42hr.</p>
<p>Here&#8217;s a better look; from now on we&#8217;ll freeze at 36hr (00Z Thursday).</p>
<p><img src="http://sox.balloflightning.com/images/soshwx/sw300.png" alt="NAM 300mb" /></p>
<p>You can see the counterclockwise kink in the white (height) contours very well in this picture.  You can see hints of it as far north as Minnesota and it almost parallels the Mississippi River all the way down to the gulf coast.  Shortwaves (like this one) are usually formed by cool pools aloft and upper level fronts.</p>
<p>There are phenomenon associated with shortwaves that are evident at all layers in the atmosphere.  Next is the 500mb map, which shows color contours of &#8220;vorticity.&#8221;  <a href="http://en.wikipedia.org/wiki/Vorticity">Vorticity</a> is essentially the amount of rotation an infinitesimal parcel of fluid has.</p>
<p><img src="http://sox.balloflightning.com/images/soshwx/sw500.png" alt="NAM 500 mb" /></p>
<p>We can see a brightly colored area right in the region of the most &#8220;kinkage.&#8221;  This is conceptually expected.  The smaller <a href="http://math.fullerton.edu/mathews/n2003/CurvatureMod.html">radius of curvature</a> at the bottom of the kink implies more vorticity since the an air parcel following the curved contours would need to rotate more than one following non-curved contours.  Also, from now on I will refer to <strong>positive</strong> and <strong>negative</strong> vorticity.  In this graph the &#8220;warmer&#8221; the colors (reds, oranges, and yellows) the more positive the vorticity.  The way I tell most people to keep it straight is (in the NH) positive vorticity = good for rising motion = exciting weather (storms) = cyclonic = counterclockwise.  On the downwind (eastern) side of the kink we get what is called &#8220;positive vorticity advection.&#8221;  For those not familiar with <a href="http://en.wikipedia.org/wiki/Advection">advection</a>, it is (essentially) the transport of a fluid property from location X to location Y.  Here, we see the wind is blowing from Kansas through Arkansas and up the Ohio River.  Positive vorticity advection is occurring around the Mississippi River (east of the big yellow bulls-eye) because the <b>highly positive vorticity is being transported (via wind)</b> eastward.  In simplistic terms, advection can be thought of as the derivative (d/dx) or gradient of a field.  If you have <b>no gradient</b>, you <b>have no advection</b> because you&#8217;ll just replace your parcel of air with another parcel of air with the same properties (vorticity, temperature, moisture, whatever property you want to advect).  However, if the <b>gradient is steep</b>, then you will notice rapid changes as air travels to and then through your location because you are transporting air that is very different than what was previously in the region (<b>high magnitude of advection</b>).</p>
<p>This kink also causes another type of advection.  Temperature advection.  Meteorologists typically like to look at the 850 mb map to see this.</p>
<p><img src="http://sox.balloflightning.com/images/soshwx/sw850.png" alt="NAM 850 mb" /></p>
<p>Here we same the same thing as vorticity.  The color contours are temperature (warm colors are higher) and the white arrows are wind.  In the black circle we see the wind &#8220;blowing&#8221; from warmer air to cold.  Therefore, in regions like Arkansas, warm air advection (WAA) is occurring due to the shortwave&#8211; it&#8217;s causing warm air to be transported into a region where cooler air previously existed.  Over time we expect to see temperatures rise.  You are also seeing cold air being advected BEHIND the kink (KS/OK).  This is called cold air advection (CAA).  The WAA and CAA are what cause the thermal gradients more commonly interpreted as &#8220;warm fronts&#8221; and &#8220;cold fronts.&#8221;</p>
<p>So why is this all important?  Well, in <em>very simple forecasting terms</em>, <strong>both WAA and positive vorticity advection (PVA) are associated with rising motion</strong> in the atmosphere (there are a lot of very complicated dynamical reasons this is the case; I have spent 6+ years learning all of this so it&#8217;s not something I can really delve into the &#8220;why&#8221; of on a blog).  Not surprisingly, our shortwave is associated with both of these lifting mechanisms&#8211; lifting implies latent heat release through condensation and we typically see precipitation.  Well do we?  I&#8217;ll show one last chart.  This is the surface map with QPF (precipitation) in color contours.</p>
<p><img src="http://sox.balloflightning.com/images/soshwx/sw1000.png" alt="NAM 1000 mb" /></p>
<p>Voila.  We have precipitation in the area of our shortwave!  Now there&#8217;s a couple small issues with this.  One, this precip is actually the accumulated rainfall over the past 6 hours (30hr-36hr).  For it to &#8220;line up better&#8221; with our other charts above we would have to average the &#8220;before&#8221; and &#8220;after&#8221; (36hr-42hr) QPF to get one centered on 36hr.  Two, the shortwave is part of a complicated system; it may the main driver, but it isn&#8217;t working alone and is always interacting with the atmosphere.  For instance; we see the heaviest precipitation a bit further south than we&#8217;d expect given the vorticity plots.  Well from just a quick glance at the maps (don&#8217;t worry&#8211; I didn&#8217;t point this out earlier so as not to confuse the topic at hand) there is some upper level jet divergence near the Gulf Coast which is enhancing the vertical motion (and hence rainfall).  We also expect QPF to be highest near the warm Gulf waters because there is a greater moisture flux from the surface to the atmosphere there (which means higher vapor pressures, more rapid condensation and more precipitation).</p>
<p>If all these features persist as the shortwave moves and they continue to work the way they need to; we increase <strong>baroclinic instability</strong>: instability driven by temperature gradients in the atmosphere (which is a result of the WAA/CAA as well as the rising motion induced by factors such as vorticity advection).  This creates an energy source that can intensify tiny shortwaves into powerful mid-latitude cyclones.  Now, this is an extremely simplified conceptual model; and isn&#8217;t EXACTLY how big nor&#8217;easters form (which is obviously more complicated; otherwise you could get a met degree in 6 weeks <img src='http://balloflightning.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ); but it should give everyone a broad understanding of the dynamics at play and how to spot a few of these features on either weather maps or model output.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/02/a-beginnerss-guide-to-atmospheric-shortwaves/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Excel 2007 chart hatching?</title>
		<link>http://balloflightning.com/2010/02/excel-2007-chart-hatching/</link>
		<comments>http://balloflightning.com/2010/02/excel-2007-chart-hatching/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 22:14:00 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[hatching]]></category>
		<category><![CDATA[pattern]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=65</guid>
		<description><![CDATA[For some reason, Microsoft stripped hatching support from Excel 2007 (and Mac&#8217;s Excel 2008).  You can no longer use &#8220;pattern fill&#8221; but only &#8220;picture fill.&#8221;
There are a solutions regarding using the object model floating around the web, but one easy way I figured was to actually draw a vertically-hatched pattern in a painting program [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, Microsoft stripped hatching support from Excel 2007 (and Mac&#8217;s Excel 2008).  You can no longer use &#8220;pattern fill&#8221; but only &#8220;picture fill.&#8221;</p>
<p>There are a solutions regarding <a href="http://blogs.msdn.com/excel/archive/2007/11/16/chart-pattern-fills.aspx">using the object model</a> floating <a href="http://www.andypope.info/charts/patternfills.htm">around the web</a>, but one easy way I figured was to actually draw a vertically-hatched pattern in a painting program and then use IT as the &#8220;picture fill.&#8221;</p>
<p>Directions?</p>
<p>1.) Save the four (they are <strong>four separate</strong>) pictures below (or, more easily, the <a href="/images/excelhatch.zip">zip file</a>) to your hard drive.  Unzip/save somewhere you&#8217;ll remember.<br />
2.) In Excel, create your chart; then right click on the bar/area you want filled with the hatching and click &#8220;format data point.&#8221;<br />
3.) Click on &#8220;Fill,&#8221; then &#8220;Picture or texture fill,&#8221; then &#8220;Insert from&#8230; File.&#8221;  Navigate to your file.  Click on it.<br />
4.) Voila, simple, easy, hatching.</p>
<p><img src="/images/purplehatch.png" alt="Purple Hatch" hspace="5" vspace="5" /><img src="/images/greenhatch.png" alt="Green Hatch" hspace="5" vspace="5" /><img src="/images/bluehatch.png" alt="Blue Hatch" hspace="5" vspace="5" /><img src="/images/redhatch.png" alt="Red Hatch" hspace="5" vspace="5" /></p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/02/excel-2007-chart-hatching/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatically sync KeePass passwords between a PC and Mac (or even Linux)</title>
		<link>http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/</link>
		<comments>http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:42:36 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[keepass]]></category>
		<category><![CDATA[keepassx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=62</guid>
		<description><![CDATA[For the last few months I&#8217;ve been investigating some of the eminent password storage software out there.  And encryption is really nice, but honestly, one of the most glaringly obvious uses would be so that I wouldn&#8217;t have to use the same passwords over and over again for websites that don&#8217;t store &#8220;critical data&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few months I&#8217;ve been investigating some of the eminent password storage software out there.  And encryption is really nice, but honestly, one of the most glaringly obvious uses would be so that I wouldn&#8217;t have to use the same passwords over and over again for websites that don&#8217;t store &#8220;critical data&#8221; (banking, identification, etc.) but require accounts to be set up for online use.</p>
<p>While I was enamored with 1Password (and still am) the biggest hurdle to it&#8217;s adoption is that I own a PC and a Mac (<a href="http://balloflightning.com/2009/02/dual-partition-a-usb-drive-for-time-machine-and-windows/">remember</a>?).  Syncing the password database between computers is therefore a necessity, and syncing across operating systems (XP/7 to OS X and vice versa) even moreso.  This was certainly doable with KeePass and KeePassX, although KeePassX didn&#8217;t support a global auto-type hotkey.  A password storage system is rendered virtually useless if every single time I have to log into a different web page I have to bring up the KeePassX window; copy my information to the clipboard, bring the focus back to FireFox, and type it in.  Well, good news!  An <a href="http://www.keepassx.org/forum/viewtopic.php?f=5&#038;t=1920">updated (albeit currently unsupported) version of KeePass (based on v0.4.1)</a> adds auto-type functionality!</p>
<p>So now that we have auto-type everywhere, how to sync so we can use our KeePass databases everywhere we go?  Well it&#8217;s very easy.</p>
<p>1.) If you aren&#8217;t using Dropbox yet, start.  Go to Dropbox, set up and account, download the software, and set it up so both (or however many you have) machines are synced.  Create a folder somewhere in your Dropbox scheme (by default under Documents -> My Dropbox) called &#8220;KeePass.&#8221;<br />
2.) Download and install KeePassX (Mac) <a href="http://www.keepassx.org/forum/viewtopic.php?f=5&#038;t=1920">here</a>.  Download and install KeePass <strong>Classic </strong>(Windows) <a href="http://keepass.info/download.html">here</a>.  <em>Note: We need to download the &#8220;classic&#8221; version because KeePassX still uses the old .kdb format instead of the new .kdbx.  While we can set triggers in the new Windows version to automatically pop out a .kdb version AND a .kdbx every time we edit a password on that computer, we can&#8217;t edit .kdb&#8217;s on the Mac and automatically import them into KeePass on the Windows box.  And that makes syncing unfun.</em><br />
3.) On the Windows box (you can do it the other direction, too, but I found the Windows KeePass interface to be a bit more intuitive) open KeePass and create a new database.  Set a &#8220;master password&#8221; and repeat.  Don&#8217;t let this password suck too much; after all, you&#8217;ll be MINIMIZING the number of passwords you have to remember&#8211; at the very least you can do a good job coming up with a solid password that gives access to&#8211; well&#8211; everything else.  Use a key file, too, if you&#8217;d like, but I find it unnecessary; it&#8217;s always something you can add later.<br />
4.) Click &#8220;save as&#8221; and save the .kdb file to the directory you previously created within your dropbox scheme.  Temporarily close KeePass on Windows and open KeePassX on the Mac.  Browse to the newly created (and synced) database file and click open.  Enter password.  Try creating a few keys.  Save.  Close.<br />
5.) Re-open the Windows version.  Now you should only be prompted for the password (no browsing needed) and you should see your KeePass passwords in Windows.  Congrats; you&#8217;ve done the heavy lifting!</p>
<p>A few notes; this will work between a PC/Linux or Linux/Mac as well.  The same general steps apply although you will need the KeePass <a href="http://www.keepassx.org/downloads">repo for your Linux flavor or you can compile from source</a>.  If you are a Linux user, I figure you probably don&#8217;t really need directions on how to do that.  Second, KeePass (and therefore KeePassX) don&#8217;t automatically update the database while the program is running.  Therefore, when you are adding keys be careful not to add different keys on different computers while both are still open.  Dropbox handles conflicts well but you will lose some keys depending on what was open and what was being edited at the time.  As a rule of thumb, when I first started migrating to KeePass I never had it running on more than one computer at a time.  Once you have a stable database, it&#8217;s fine to have multiple instances going at once (it will typically ask to open in &#8220;read-only&#8221; anyways).</p>
<p>You can turn auto-type on and off by doing the following:<br />
Windows:  Tools -> Options -> Advanced tab -> Auto-Type button (lower right).<br />
Mac:  KeePassX -> Preferences -> Advanced</p>
<p>Some final notes to get auto-type running flawlessly on your computer.  As a general practice, I had two lines to the comments of every key.</p>
<p>Auto-Type-Window: *balloflightning.com*</p>
<p>This aids KeePass/X in finding the window you want to auto-type in.  I&#8217;ve found great success with the Firefox add-on &#8220;<a href="https://addons.mozilla.org/en-US/firefox/addon/9231">Hostname</a>&#8221; which puts the domain name of the current web-site in the title bar.  It may add a bit of clutter to your windows, but it provides you a surefire way to make sure KeePass/X is only auto-typing in the proper Firefox window/tab.  The &#8216;*&#8217; are wildcards, signifying KeePass/X will find whatever window has XXXXX balloflightning.com XXXXX in it.  Obviously, you change the hostname between the &#8216;*&#8217; to whatever key you are storing (i.e., paypal.com, ebay.com, etc.)</p>
<p>Auto-Type: {USERNAME}{TAB}{PASSWORD}{ENTER}</p>
<p>This is the custom sequence for the target window.  {USERNAME} and {PASSWORD} are the stored username and password, {TAB} is&#8230; well&#8230; tab and {ENTER} is also self-explanatory.  In some cases you may be forced to modify this (for example, I have to add a {TAB} after {USERNAME} every once in a while because the websites have a &#8220;click here to remember me&#8221; form.</p>
<p><img src="/images/keepasssync1.png" alt="Example Keepass custom sequence and target window" /></p>
<p>Some people will find that in OS X, tabbing will result in certain portions of forms (checkboxes, radio buttons, dropdowns, etc.) being skipped.  This creates a bit of a problem here because the sequences will then not match between Windows and Mac.  Solution?</p>
<p>1.) Open System Preferences<br />
2.) Go to Keyboard &#038; Mouse<br />
3.) Select &#8220;All controls&#8221; for full keyboard access</p>
<p><img src="/images/keepasssync2.png" alt="Setting tabs in Firefox to include all forms" /></p>
<p>For a Firefox-only solution, you can also add / change the accessibility.tabfocus Firefox option via about:config to one of the following:  <strong>3</strong> to be able to tab to form controls or <strong>7</strong> to be able to tab to everything</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The dreaded &#8220;Gmail logout loop&#8221; and a painless workaround</title>
		<link>http://balloflightning.com/2009/12/the-dreaded-gmail-logout-loop-and-a-painless-workaround/</link>
		<comments>http://balloflightning.com/2009/12/the-dreaded-gmail-logout-loop-and-a-painless-workaround/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 20:31:39 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[loop]]></category>

		<guid isPermaLink="false">http://balloflightning.com/2009/12/the-dreaded-gmail-logout-loop-and-a-painless-workaround/</guid>
		<description><![CDATA[I have a couple Gmail accounts; one is essentially my go-to e-mail for both business and personal correspondence while the other is used for any purchases, newsletters or &#8220;you need to create an account before you read this!&#8221;  As such I am constantly logging in and out of both accounts to switch into one [...]]]></description>
			<content:encoded><![CDATA[<p>I have a couple Gmail accounts; one is essentially my go-to e-mail for both business and personal correspondence while the other is used for any purchases, newsletters or &#8220;you need to create an account before you read this!&#8221;  As such I am constantly logging in and out of both accounts to switch into one or the other.  Lately, I&#8217;ve been running into what people call the &#8220;Gmail logout loop.&#8221;  Some people claim they have also seen this on log-in, but thankfully I haven&#8217;t run into both problems (&#8230; yet).  You&#8217;ll see an endless string of &#8220;waiting for www.mail.google.com,&#8221; &#8220;connecting to www.mail.google.com,&#8221; &#8220;transferring data from www.mail.google.com.&#8221; ad nauseum.</p>
<p>Simply closing the browser doesn&#8217;t work.  In some cases deleting cookies doesn&#8217;t work.  Whatever the problem ACUALLY is, but browser illiterate self found a simple, painless workaround until Gmail figures out what the problem is.</p>
<p>1.) Navigate to www.google.com<br />
2.) Move cursor to top of page (this should cause the on-site toolbar to appear.<br />
3.) Click &#8220;log out&#8221;<br />
4.) Click &#8220;log in.&#8221;  Enter login info.<br />
5.) Click Gmail.</p>
<p>Voila.  So far the pesky loop only happens with the www.mail.google.com connection, not www.google.com.  Feel free to enlighten me as to why that is.  Seriously.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/12/the-dreaded-gmail-logout-loop-and-a-painless-workaround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GMail, IMAP, and Apple Mail = Slow?</title>
		<link>http://balloflightning.com/2009/12/gmail-imap-and-apple-mail-slow/</link>
		<comments>http://balloflightning.com/2009/12/gmail-imap-and-apple-mail-slow/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 00:17:50 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=55</guid>
		<description><![CDATA[I am finally getting around to getting GMail to play nice with Apple Mail on my Macbook, if only for the ability to work offline (i.e., when I&#8217;m 35,000 feet up) as well as have some form of coherent backup in the (hopefully unlikely) event that GMail kicks the bucket for an extended period of [...]]]></description>
			<content:encoded><![CDATA[<p>I am finally getting around to getting GMail to play nice with Apple Mail on my Macbook, if only for the ability to work offline (i.e., when I&#8217;m 35,000 feet up) as well as have some form of coherent backup in the (hopefully unlikely) event that GMail kicks the bucket for an extended period of time.</p>
<p>I had tried to sync my GMail account once-upon-a-time, but decided it wasn&#8217;t worth the potential hassle.  What hassle, I don&#8217;t remember&#8211; but in any event, I remember it was extremely easy to get it up and running using POP.  However, this time around I decided IMAP was the way to go.  Over the last few years I have slowly devolved into someone who uses GMail as my big e-mail cloud in the sky&#8211; that is, I want to be able to access an identical account (same inbox, sent, drafts, etc.) from anywhere (Macbook, PC, office, iPhone).  IMAP should give me that ability.</p>
<p>Well, once I set up Mail to play nice with my Google account I noticed signficant slowdowns.  I mean really, really slow.  Like sending an e-mail that said &#8220;hello world!&#8221; took five minutes as the Apple pinwheel spun frantically.  It seems like this a <a href="http://www.google.com/support/forum/p/gmail/thread?tid=4e4748ffb883febe&#038;hl=en">common occurrence</a> with Mail 3.x and Leopard/Snow Leopard but there seem to be very few answers.  I did end up finding one in the dusty corner of the internet.</p>
<p>It appears that Apple Mail has an issue with big attachments.  I mean really big attachments.  Like 20 MB big.  Get rid of them, and it solves the problem.  How do you do it?  Well, there are two ways&#8230;</p>
<p><strong>The easy way (tested by yours truly):</strong></p>
<p>1.)  Delete your IMAP account from within Mail by going to &#8220;Mail&#8221; -> &#8220;Preferences&#8221; and then clicking the little minus button below the account names.  NOTE:  I&#8217;m pretty sure this is foolproof with IMAP, but please, please make sure you are not deleting your e-mails from the server when you download them to your computer, because if you do that and then delete this account, well, you&#8217;ll lose your e-mails.</p>
<p>2.)  Go into finder and delete the folder ~/Library/Mail/IMAP&#8211;<mail_account_name>/ or thereabouts.  </p>
<p>3.)  Go back into Mail, click on &#8220;Mail&#8221; -> &#8220;Preferences&#8221; and then the plus icon.  Create your IMAP account as you did previously (make sure &#8220;create my account automatically&#8221; is unchecked or you will end up just creating a POP account with the default settings).  This time, unclick &#8220;bring this account online&#8221; at the end of the creation process.</p>
<p><img src="/images/mailimap1.png" alt="Don't check "bring this account online"" /></p>
<p>4.)  Go back into &#8220;Mail&#8221; -> &#8220;Preferences,&#8221; click on your GMail &#8211; IMAP account, then click on the advanced tab.  Uncheck &#8220;compact mailboxes automatically&#8221; and MOST IMPORTANTLY set the offline viewing preference to keep &#8220;all messages but omit attachments.&#8221;</p>
<p><img src="/images/mailimap2.png" alt="All messages, but omit attachments" /></p>
<p>5.)  Set account to &#8220;online&#8221; and Mail will re-download all your e-mails; however e-mails and e-mails alone&#8211; no attachments.  Everything should be running at Mach speed again.</p>
<p><em>Now, this way has one main drawback</em>.  You aren&#8217;t storing any attachments on your within Mail; if you want to download them, you have to do so as the e-mail comes in.  This isn&#8217;t a problem for me, since I download the attachments I feel are important to whatever folder they are needed in by default and therefore don&#8217;t need another copy clogging up my inbox.  However, if this is of crucial importance you can try the next step (at your own risk).</p>
<p><strong>The hard way (I haven&#8217;t confirmed this works, but this would allow you to keep most attachments offline; only the ones over 20 MB are deleted&#8211; courtesy of <a href="http://www.google.com/support/forum/p/gmail/thread?tid=6ff01bea5e484ff3&#038;hl=en">bebopper</a>):</strong></p>
<p>1.)  Quit Mail (Force quit if you have to)</p>
<p>2.)  In Finder, click &#8220;Go&#8221; -> &#8220;Go to Folder.&#8221;  Type the following folder path (replacing <mail_account_name> with your GMail User Name):  ~/Library/Mail/IMAP&#8211;<mail_account_name>/.OfflineCache</p>
<p>3.)  Look through the cached messages in this invisible folder and see if there is one or more larger than 20MB.</p>
<p>4.)  Drag the offending large messages to the Desktop or Trash. Restart Mail, and Mail should stop hating you.</p>
<p>Both of these are essentially band-aids, so hopefully Apple will get its act together and figure out exactly what is going on.  This seems to be a problem that has arisen in later incarnations of 10.5 and into 10.6, so it&#8217;s something that should be of pressing importance to the development team as we speak.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/12/gmail-imap-and-apple-mail-slow/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>&#8220;Use Printer Offline&#8221;</title>
		<link>http://balloflightning.com/2009/11/use-printer-offline/</link>
		<comments>http://balloflightning.com/2009/11/use-printer-offline/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 05:23:22 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=52</guid>
		<description><![CDATA[Lately, I have been unable to print from my old (yet rock solid) Brother MFC-210C.  The sequence of events is thus.
1.)  The printer is automatically selected to &#8220;use printer offline.&#8221;
2.)  Upon deselecting &#8220;use printer offline,&#8221; the print status of any documents in the queue is changed to &#8220;Error &#8211; printing&#8221; at which [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I have been unable to print from my old (yet rock solid) <a href="http://www.brother-usa.com/mfc/ModelDetail.aspx?ProductID=MFC210C">Brother MFC-210C</a>.  The sequence of events is thus.</p>
<p>1.)  The printer is automatically selected to &#8220;use printer offline.&#8221;<br />
2.)  Upon deselecting &#8220;use printer offline,&#8221; the print status of any documents in the queue is changed to &#8220;Error &#8211; printing&#8221; at which point anything in the queue will hang.<br />
3.)  The printer will reset itself to &#8220;use printer offline&#8221; upon power cycle or OS reboot, therefore leading to an endless cycle of 1, 2, and 3.</p>
<p>It turns out my issue was in the <a href="http://www.iogear.com/">IOGEAR</a> USB hub I use.  I&#8217;m not sure if Windows 7 is having trouble dealing with the drivers (it was working in XP about a week ago) or the hub is just flat-out fried.  Either way, I&#8217;ve seen a lot of threads on Google with the same problem but lack a resolution.  Here&#8217;s one more thing to try, even if it&#8217;s a &#8220;well, duh.&#8221;  If that doesn&#8217;t work, it can&#8217;t hurt to go with the always popular &#8220;reinstall the driver.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/11/use-printer-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;We are unable to create or save new files&#8230;&#8221;</title>
		<link>http://balloflightning.com/2009/10/we-are-unable-to-create-or-save-new-files-in-the-folder-in-which-this-application-was-downloaded/</link>
		<comments>http://balloflightning.com/2009/10/we-are-unable-to-create-or-save-new-files-in-the-folder-in-which-this-application-was-downloaded/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 06:00:52 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=40</guid>
		<description><![CDATA[Downloaded student discount Windows 7 upgrade tonight; upon trying to unpack the .exe that came down from Digital River.

&#8220;&#8221;We are unable to create or save new files in the folder in which this application was downloaded.&#8221;
Yeah.  Thanks Microsoft.  Here&#8217;s how to get around that.
Download oscdimg and then drop oscdimg.exe file into C:\Windows\System32.
Start -> [...]]]></description>
			<content:encoded><![CDATA[<p>Downloaded student discount <a href="http://en.wikipedia.org/wiki/Windows_7">Windows 7</a> upgrade tonight; upon trying to unpack the .exe that came down from Digital River.<br />
<em><br />
&#8220;&#8221;We are unable to create or save new files in the folder in which this application was downloaded.&#8221;</em></p>
<p>Yeah.  Thanks Microsoft.  Here&#8217;s how to get around that.</p>
<p>Download <a href="http://www.sevenforums.com/attachments/general-discussion/32382d1256189124-make-bootable-iso-student-d-l-oscdimg.zip">oscdimg</a> and then drop oscdimg.exe file into C:\Windows\System32.</p>
<p>Start -> Run -> type &#8220;cmd&#8221; to open a command window.</p>
<p>In the command window, type &#8220;<strong>oscdimg.exe -u2 -bC:\PATH\expandedSetup\boot\etfsboot.com -h C:\PATH\expandedSetup C:\PATH\Win7.iso</strong>&#8221; replacing C:\PATH\ with your actual path to the downloaded files.</p>
<p>You should now have an <a href="http://en.wikipedia.org/wiki/ISO_image">.iso</a> file in that directory; burn a DVD using your favorite software (I used <a href="http://cdburnerxp.se/">CDBurnerXP</a>, but it&#8217;s old).</p>
<p>Restart and boot from the CD (specific to individual motherboards, my Biostar is F9, some are F8, some are the &#8220;Del&#8221; key).  You should see something to the effect of &#8220;Press XX to select boot drive.&#8221;  Press and select your DVD drive and follow the Windows 7 installation from there.</p>
<p>Thanks <a href="http://www.sevenforums.com/tutorials/30470-make-bootable-iso-student-d-l.html">SIW2</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/10/we-are-unable-to-create-or-save-new-files-in-the-folder-in-which-this-application-was-downloaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 hanging at blue splash screen?</title>
		<link>http://balloflightning.com/2009/10/windows-7-hanging-at-blue-splash-screen/</link>
		<comments>http://balloflightning.com/2009/10/windows-7-hanging-at-blue-splash-screen/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 05:03:33 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=45</guid>
		<description><![CDATA[Windows 7 seemed to be stopping or hanging at the blue splash screen during installation this evening.  Here&#8217;s the solution I found.
Unplug all peripherals except PS/2 mouse and keyboard.
Go into BIOS.  Disable &#8220;USB controller.&#8221;
Remove/disable video card if you are bypassing the on-board graphics.
Boot the install disk.
Wait.
Wait.
Wait.  (Seriously, like 15 minutes).
Follow install.
Reset everything [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 7 seemed to be stopping or hanging at the blue splash screen during installation this evening.  Here&#8217;s the solution I found.</p>
<p>Unplug all peripherals except PS/2 mouse and keyboard.</p>
<p>Go into BIOS.  Disable &#8220;USB controller.&#8221;</p>
<p>Remove/disable video card if you are bypassing the on-board graphics.</p>
<p>Boot the install disk.</p>
<p>Wait.</p>
<p>Wait.</p>
<p>Wait.  (Seriously, like 15 minutes).</p>
<p>Follow install.</p>
<p>Reset everything back to &#8220;normal&#8221; following the installation.  Apparently Windows 7 is having trouble with the drivers during installation, but does a reasonably good job downloading them afterwards.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/10/windows-7-hanging-at-blue-splash-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What the iPhone knows about Derek Jeter</title>
		<link>http://balloflightning.com/2009/07/what-the-iphone-knows-about-derek-jeter/</link>
		<comments>http://balloflightning.com/2009/07/what-the-iphone-knows-about-derek-jeter/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 15:19:56 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Sports]]></category>
		<category><![CDATA[baseball]]></category>
		<category><![CDATA[derek jeter]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=38</guid>
		<description><![CDATA[Jeter?

Heterosexual.
]]></description>
			<content:encoded><![CDATA[<p>Jeter?</p>
<p><img src="/images/jeteriphone.jpg" alt="Deter Jeter is a Heterosexual" /></p>
<p>Heterosexual.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/07/what-the-iphone-knows-about-derek-jeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes error -4 and iPhone OS 3.0</title>
		<link>http://balloflightning.com/2009/06/itunes-error-4-and-iphone-os-30/</link>
		<comments>http://balloflightning.com/2009/06/itunes-error-4-and-iphone-os-30/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 22:31:27 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[store]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=35</guid>
		<description><![CDATA[Trying to update to the new iPhone OS v3.0 and was repeatedly getting this error message in iTunes.
We could not complete your iTunes Store request.
An unknown error occured (-4).
There was an error in the iTunes Store.  Please try again later.
Apparently, Rich Hauck has the solution.
1. Quit iTunes
2. Navigate to System/Library/Extensions and delete AppleMobileDevice.kext (you [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to update to the new iPhone OS v3.0 and was repeatedly getting this error message in iTunes.</p>
<p><strong>We could not complete your iTunes Store request.<br />
An unknown error occured (-4).</p>
<p>There was an error in the iTunes Store.  Please try again later.</strong></p>
<p>Apparently, <a href="http://blog.mandalatv.net/?p=693">Rich Hauck</a> has the solution.</p>
<blockquote><p>1. Quit iTunes<br />
2. Navigate to System/Library/Extensions and delete AppleMobileDevice.kext (you may be prompted to enter your admin information)<br />
3. Restart iTunes</p></blockquote>
<p>Directions are also official via <a href="http://support.apple.com/kb/HT1747?viewlocale=en_US">Apple Support</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2009/06/itunes-error-4-and-iphone-os-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
