<?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 &#187; Technology</title>
	<atom:link href="http://balloflightning.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://balloflightning.com</link>
	<description>Hitting more home runs than Julio Lugo since 2002...</description>
	<lastBuildDate>Tue, 08 Nov 2011 03:41:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Paint equivalent for OS X</title>
		<link>http://balloflightning.com/2011/06/paint-equivalent-for-os-x/</link>
		<comments>http://balloflightning.com/2011/06/paint-equivalent-for-os-x/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 21:30:02 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[paint]]></category>
		<category><![CDATA[paintbrush]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=149</guid>
		<description><![CDATA[Now that I have essentially become a fully-converted Mac user, I&#8217;ve pretty much smoothed out all the &#8220;transitional&#8221; kinks going from Windows to OS X. This involved making sure my computer could do everything that I had asked of it before. One thing that was a hinderance for the longest time was being unable to [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I have essentially become a fully-converted Mac user, I&#8217;ve pretty much smoothed out all the &#8220;transitional&#8221; kinks going from Windows to OS X. This involved making sure my computer could do everything that I had asked of it before.</p>
<p>One thing that was a hinderance for the longest time was being unable to find a simple graphics editor to approximate Microsoft Paint (which ships with the OS). While OS X ships with basic utilities (e.g., TextEdit), it shocked me that there was this &#8220;hole&#8221; in the provided base apps. I need to emphasize, that I was not looking for a Photoshop equivalent, but merely needed something that would allow me to edit images quickly, typically before uploading them online.</p>
<p>Enter <a href="http://paintbrush.sourceforge.net/">Paintbrush</a>. Now I can quickly take a screenshot, use Paintbrush to circle/underline material for emphasis, resize, and save a file ready for rapid upload to my server. I can open, use, and be done with Paintbrush in the same time it takes Gimp or Photoshop to boot up. </p>
<p>For those that need quick edits for use in the fast-paced world of media like Twitter, you&#8217;re welcome. For future Colin who might have forgotten this software exists, shame on you.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2011/06/paint-equivalent-for-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sync any folder with Dropbox, now with Win/Mac GUIs!</title>
		<link>http://balloflightning.com/2011/02/sync-any-folder-with-dropbox-now-with-winmac-guis/</link>
		<comments>http://balloflightning.com/2011/02/sync-any-folder-with-dropbox-now-with-winmac-guis/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 21:31:02 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[symlinks]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=151</guid>
		<description><![CDATA[One of my most visited posts is the discussion of using Dropbox to sync things across multiple computers and multiple platforms like Keepass. For some software, I also wrote that in many cases it is easier to create symbolic links to the original data structure rather than trying to convince the software to look in [...]]]></description>
			<content:encoded><![CDATA[<p>One of my most visited posts is the discussion of using <a href="http://db.tt/WR2MzbB">Dropbox</a> to <a href="index.php?p=62">sync things across multiple computers and multiple platforms like Keepass</a>. For some software, I also wrote that in many cases it is <a href="index.php?p=128">easier to create symbolic links</a> to the original data structure rather than trying to convince the software to look in your <a href="http://db.tt/WR2MzbB">Dropbox</a> folder. Unfortunately, this requires a bit of terminal hacking, which, let&#8217;s be honest, some people just don&#8217;t want to mess with.</p>
<p>Never fear! Two pieces of software&#8211; <a href="http://wiki.dropbox.com/DropboxAddons/MacDropAny"><strong>MacDropAny</strong></a> for OS X and <a href="http://wiki.dropbox.com/DropboxAddons/DropboxFolderSync"><strong>DropboxFolderSync</strong></a> for Windows&#8211; can link up any directory on your computer to your <a href="http://db.tt/WR2MzbB">Dropbox</a> account!</p>
<p>The dirty little secret is that both of these programs are just graphical interfaces which perform the command line hacks <a href="index.php?p=128">discussed previously</a>. However, they can be a much-needed asset to the the not-terminally inclined or those prone to frequent, frequent typos.</p>
<p>Hattip, <a href="http://lifehacker.com/#!5756226/macdropany-syncs-local-folders-with-your-dropbox-account">Lifehacker</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2011/02/sync-any-folder-with-dropbox-now-with-winmac-guis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox Dropquest! 1GB of bonus space!</title>
		<link>http://balloflightning.com/2011/01/dropbox-dropquest-1gb-of-bonus-space/</link>
		<comments>http://balloflightning.com/2011/01/dropbox-dropquest-1gb-of-bonus-space/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 19:55:36 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[dropquest]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=141</guid>
		<description><![CDATA[Dropbox is doing a special promotion called &#8220;Dropquest,&#8221; which is essentially a puzzle game created by some of the employees of the companies. It consists of ~25 clues and for each challenge you successfully complete you get a parcel of bonus space on their server&#8211; it totals 1 GB in the end. The challenge is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://db.tt/WR2MzbB">Dropbox</a> is doing a special promotion called &#8220;Dropquest,&#8221; which is essentially a puzzle game created by some of the employees of the companies. It consists of ~25 clues and for each challenge you successfully complete you get a parcel of bonus space on their server&#8211; it totals 1 GB in the end. The challenge is rather difficult, so if you get stuck, feel free to Google &#8220;Dropquest hints&#8221; or something to that effect&#8211; there are loads of forum posts around the web that should help you move on.</p>
<p>If you don&#8217;t have Dropbox, you can sign up for free <a href="http://db.tt/WR2MzbB">here</a>. Dropbox is a web-based system that uses cloud computing to enable users to store and share files and folders with others across the Internet using file synchronization.</p>
<p>I use it for doing clever things like <a href="http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/">syncing my Keepass database</a>, sharing presentation files after I give a seminar, and other miscellaneous tasks that require file use between my three computers and iPhone (and it allows me to access these files in a pinch through a web browser somewhere else), but other individuals also use it purely for off-site backup in the event something goes horribly, horribly wrong inside her laptop (since Dropbox syncs with the cloud it preserves a copy of your files on their servers&#8211; these files can be restored in the event of a hard drive failure).</p>
<p>New or existing Dropbox users can also increase their space <a href="https://www.dropbox.com/free">here</a> and <a href="https://www.dropbox.com/gs">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2011/01/dropbox-dropquest-1gb-of-bonus-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symbolic links (symlinks) in Windows 7 or Vista</title>
		<link>http://balloflightning.com/2011/01/symbolic-links-symlinks-in-windows-7-or-vista/</link>
		<comments>http://balloflightning.com/2011/01/symbolic-links-symlinks-in-windows-7-or-vista/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 02:55:43 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[symlinks]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=128</guid>
		<description><![CDATA[One feature that was notoriously absent from Windows until recently was the ability to create symbolic links. A symbolic link is merely a small piece of code that is put in some physical location (DIR1) which tells the operating system to move somewhere else (DIR2) when software attempts to access DIR1. I use this feature [...]]]></description>
			<content:encoded><![CDATA[<p>One feature that was notoriously absent from Windows until recently was the ability to create <a href="http://en.wikipedia.org/wiki/Symbolic_link">symbolic links</a>. A symbolic link is merely a small piece of code that is put in some physical location (DIR1) which tells the operating system to move somewhere else (DIR2) when software attempts to access DIR1. I use this feature regularly in OS X or other Linux distributions, mainly as a way to sync files through <a href="http://db.tt/WR2MzbB">Dropbox</a> without having to messily move where my software stores my files, although I also like shortening the absolute path to various directories that look like they were named by a scientist having too much fun with alphabet magnets on the fridge.</p>
<p>In Unix speak, this is quite easy&#8211; open up a terminal window and type:</p>
<p><code>ln -s /PATHTO/DIR2/ /PATHTO/DIR1/</code></p>
<p>This has finally been added in Windows Vista and Windows 7, but remains somewhat sloppy and confusing. Here is a very brief reference for those trying to do a similar thing in Windows, with emphasis on the flags.</p>
<p><code>mklink \PATHTO\DIR1\file.txt \PATHTO\DIR2\file.txt</code></p>
<p>You will be returned with:</p>
<p><code>symbolic link created for \PATHTO\DIR1\file.txt <<===>> /PATHTO\DIR2\file.txt</code></p>
<p>This is the most basic entry for creating a symlink between <em>files</em>. The one issues? This creates a <em>soft link</em> (essentially the same as creating a shortcut in Windows Explorer). If I am doing something like <a href="index.php?p=62">syncing my Keepass database</a>, I will actually break this symlink because the software will not be forwarded to the file on a basic level&#8211; it will merely sit in the folder and go &#8220;where the hell is my database?&#8221; and either create a blank one or give some other error message.</p>
<p>To solve this problem we need to use the <strong>/H</strong> flag which tells Windows to create a <em>hard link</em>. A hard link physically points to the secondary location. You’ll want to use this option if you are trying to trick an application into looking for a different directory. For me, <em>most of the time.</em></p>
<p><code>mklink <strong>/H</strong> \PATHTO\DIR1\file.txt \PATHTO\DIR2\file.txt</code></p>
<p>Now that&#8217;s how to symlink <em>files</em>&#8211; you need additional flags for <em>directories</em>. <strong>/D</strong> tells Windows that you are creating directory links, not file links. If you only use /D you will create a soft link. <strong>/J</strong> instructs the OS to create a &#8220;junction&#8221; which is (functionally) the equivalent of the hard links discussed above. In most cases I find myself using /D and /J before the link and target.</p>
<p><code>mklink <strong>/D /J</strong> \PATHTO\DIR1\ \PATHTO\DIR2\</code></p>
<p>Also remember, if you type &#8220;mklnk&#8221; at the command prompt, you will be returned with basic instructions for using the functions described above:</p>
<p><code>C:\Users\balloflightning>mklink<br />
MKLINK [[/D] | [/H] | [/J]] Link Target</p>
<p>        /D      Creates a directory symbolic link.  Default is a file<br />
                symbolic link.<br />
        /H      Creates a hard link instead of a symbolic link.<br />
        /J      Creates a Directory Junction.<br />
        Link    specifies the new symbolic link name.<br />
        Target  specifies the path (relative or absolute) that the new link<br />
                refers to.</code></p>
<p>Hopefully the above helps demystify the procedure a bit, however.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2011/01/symbolic-links-symlinks-in-windows-7-or-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone data + iPad wifi = heaven!</title>
		<link>http://balloflightning.com/2011/01/iphone-data-ipad-wifi-heaven/</link>
		<comments>http://balloflightning.com/2011/01/iphone-data-ipad-wifi-heaven/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 16:03:51 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[miwi]]></category>
		<category><![CDATA[tethering]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=123</guid>
		<description><![CDATA[I haven&#8217;t quite wrangled up the necessary funds to purchase an iPad yet&#8211; it seems that it&#8217;s not quite a niche that needs filling given I&#8217;m toting around an iPhone and a 13&#8243; Macbook Pro wherever I go. However, one of the most discussed topics I see regarding the iPad is from novice Apple users [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t quite wrangled up the necessary funds to purchase an iPad yet&#8211; it seems that it&#8217;s not quite a niche that needs filling given I&#8217;m toting around an iPhone and a 13&#8243; Macbook Pro wherever I go. However, one of the most discussed topics I see regarding the iPad is from novice Apple users who question as to whether or not it is worth paying for two cellular data plans; one for their iPhone, and one for their iPad.</p>
<p>There is a solution for some users if they are willing to take a few risks and modify the stock Apple OS. You can theoretically <strong>jailbreak your iPhone</strong> (if not already) and <strong>wirelessly tether the iPhone&#8217;s 3G connection</strong> so you can use surf on the iPad through the phone.</p>
<p><a href="http://www.intelliborn.com/mywi.html">MiWi</a> is an app (downloaded through Cydia for a one-time $20 fee, they also offer a free 3-day trial) that can setup your iPhone as a network access point (it will create a new &#8220;wireless device&#8221; that is available when you are using an iPad, laptop, etc.). <a href="http://www.wired.com/gadgetlab/2010/05/miwi-jailbreak-app/">Here&#8217;s a Wired article detailing the functionality of this &#8220;hack&#8221;</a> (ironically the first thing that popped up on Google when I was trying to get to the MiWi <em>home</em> site). Now when you surf on your iPad, it routes the data transfer signal through your iPhone. Speed does not appear to be significantly degraded&#8211; you can easily still get up to 1 M/s download, so even streaming music or videos shouldn&#8217;t be a problem provided you have a strong connection to a tower (and you&#8217;re not in a location where 50,000 people might be trying to <em>access</em> that tower!)</p>
<p>If you go this route you just have to be careful about data transfer. MiWi keeps track of it for you, and you have a couple of options for visualizing it. Data transfer is key because new iPhone customers are likely on a tiered data pay structure&#8211; they have monthly transfer caps of either 200 MB ($15) or 2 GB ($25). I (and I assume many early iPhone adopters) am grandfathered in with an &#8220;unlimited&#8221; AT&#038;T plan (which will eventually turn out to be like <a href="http://consumerist.com/2010/03/comcast-unlimited-usage-doesnt-mean-unlimited-usage.html">Comcast&#8217;s version of &#8220;unlimited&#8221;</a> but for now you can&#8217;t beat it)&#8211; these individuals should be salivating at this post by now. Regardless of plan, you can obviously run up a few hundred megabytes very, very quickly browsing, so you might want to up your iPhone data transfer cap if you are at the bottom end their plans. However, this $10 bump would still be much cheaper than buying a whole new data plan for the iPad.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2011/01/iphone-data-ipad-wifi-heaven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I/O Error? OS X Hard Drive Failing&#8230;</title>
		<link>http://balloflightning.com/2010/12/io-error-os-x-hard-drive-failing/</link>
		<comments>http://balloflightning.com/2010/12/io-error-os-x-hard-drive-failing/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 17:34:17 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[data recovery]]></category>
		<category><![CDATA[failing hard drive]]></category>
		<category><![CDATA[fsck]]></category>
		<category><![CDATA[i/o error]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=109</guid>
		<description><![CDATA[My Macbook (late 2008 Unibody) turned two years old a few days before Christmas. The day after it&#8217;s birthday (the only reason I know this is because I was checking where it fell in terms of warranty, but AppleCare is only one year, not two from purchase date so this was pretty irrelevant anyways) I [...]]]></description>
			<content:encoded><![CDATA[<p>My Macbook (late 2008 Unibody) turned two years old a few days before Christmas. The day after it&#8217;s birthday (the only reason I know this is because I was checking where it fell in terms of warranty, but AppleCare is only one year, not two from purchase date so this was pretty irrelevant anyways) I started to suffer from a myriad of issues during use. Beachballing. Bouncing programs in the dock. Random freezes in Firefox when browsing. Connection dropouts. The works. I initially thought this was the work of an outdated program failing to play nice with the newest version of <a href="http://en.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard">Snow Leopard</a> (10.6.5) which I had installed days before. I began turning off plugins in Firefox and ditching programs from the startup menu to attempt to cure whatever sickness had taken over my laptop. Every reboot cycle gave me the same problem&#8211; the computer would run for about 30 seconds, but then any use and it started beachballing. Finally, it just didn&#8217;t reboot. The computer <a href="http://support.apple.com/kb/TS2570">hung at the grey screen</a> with the Apple logo and the spinning ball.</p>
<p><img src="/images/20101227/osxgrayboot.jpg" alt="Hanging gray Apple boot screen" /></p>
<p>No peripherals (external hard drive, USB mouse, etc.) were attached so that was immediately ruled out. To attempt to diagnose the problem, I <a href="http://support.apple.com/kb/HT1455">attempted to boot into safe mode</a>. Not happening. Tried <a href="http://support.apple.com/kb/HT1379">resetting the PRAM and NVRAM</a>. Nada. Finally, the next series of steps allowed me to salvage my hard drive and let my Macbook live to see another day (minus a $700 data recovery charge).</p>
<p>Boot into <strong>single-user mode</strong> (sometimes called <strong>verbose mode</strong>) (hold down <strong>Control-V</strong> as soon as the Mac chime sounds after pressing the power button). You should now be in an environment that looks like this:</p>
<p><a href="http://balloflightning.com/images/20101227/singleusermode.jpg"><img src="/images/20101227/singleusermode.jpg" alt="Single-user mode environment" border="0" width="425" height="244" /></a></p>
<p>At the command line type:<br />
<code>/sbin/fsck -fy</code><br />
and press <strong>Return</strong>.</p>
<p>You will receive messages about the disks use and fragmentation as fsck will now go through five phases of disk utility. If you get:<br />
<code>disk0s3: I/O Error</code><br />
then you have a problem with bad sectors on the hard drive.</p>
<p>Eventually, fsck will probably tell you:<br />
<code>***** FILE SYSTEM WAS MODIFIED *****</code><br />
Repeat the <strong>fsck</strong> process above.</p>
<p>Keep repeating the above process until<br />
<code>***** FILE SYSTEM WAS MODIFIED *****</code><br />
<strong>does not appear.</strong><br />
Even after this message disappears, repeat one more time. If this message doesn&#8217;t disappear, and you continue to get <code>disk0s3: I/O Error</code> or similar errors, it might be time to think about punting the hard drive (or visiting a data recovery specialist if you don&#8217;t have a backup).</p>
<p>Type <code>reboot</code> at the prompt.</p>
<p>You should be able to boot (hopefully). If you can, find an empty external hard drive. If it&#8217;s big enough (more than 2x the size of your internal drive, which most on the market nowadays should be), I highly recommend doing three things (you can partition it into 2 OS X Journaled drives for total safety, although this should work.</p>
<p>1.) (optional) Run <a href="http://en.wikipedia.org/wiki/OnyX">Onyx</a> maintenance scripts<br />
2.) Clone the internal hard drive with <a href="http://www.bombich.com/">Carbon Copy Cloner</a>.<br />
3.) Do a brand-new, full backup using Time Machine.</p>
<p>This may seem redundant (backing up your now-functioning hard drive at it&#8217;s present state twice), but there have been <a href="http://hints.macworld.com/article.php?story=20080129063748614">sporadic issues reported in the past with Time Machine backups having issues backing up drives with I/O errors</a>. Secondly, CCC will provide you with a bootable copy of your hard drive. Why is this important? Well, if you had I/O errors during this ordeal, it&#8217;s extremely likely that your hard drive is on the way out. You may have salvaged it for now, but with 2.5&#8243; HDD prices being under $100 these days (even their SSD cousins are coming down) you might as well drop the coin and upgrade the hard drive.</p>
<p>Hard drives for Macbooks are simple to replace (<a href="http://www.ifixit.com/">iFixit</a> will walk you through the steps). You can then either restore your Macbook via Time Machine and the OS X install disk, or, more preferably, boot onto your external partition (hold down <strong>Option</strong> right after the Mac chime sounds during bootup, select external hard drive) and then clone that partition over to your newly installed hard drive using CCC (essentially the same but reverse as you did before).</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/12/io-error-os-x-hard-drive-failing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timed shutdown in Windows?</title>
		<link>http://balloflightning.com/2010/05/timed-shutdown-in-windows/</link>
		<comments>http://balloflightning.com/2010/05/timed-shutdown-in-windows/#comments</comments>
		<pubDate>Sun, 23 May 2010 03:53:56 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[shut]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[timed]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=81</guid>
		<description><![CDATA[I recently came across the issue where I was syncing a large number of files to my Dropbox computer at my office&#8211; unfortunately, I had an appointment I needed to get to and couldn&#8217;t spend an hour waiting for 4,000 files to get uploaded. My options were to shut the computer down (and not have [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across the issue where I was syncing a large number of files to my <a href="http://www.dropbox.com">Dropbox</a> computer at my office&#8211; unfortunately, I had an appointment I needed to get to and couldn&#8217;t spend an hour waiting for 4,000 files to get uploaded.  My options were to shut the computer down (and not have access to the files until the next day) or leave the computer running all night (with logged in credentials).  Or were they?  Few people know that Windows actually has a <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shutdown.mspx?mfr=true">built in shutdown timer</a> within the DOS prompt.</p>
<p><a title="In case you REALLY need help, here's a link!" href="http://commandwindows.com/runline.htm">Press the start button, click on Run, and type &#8220;cmd.&#8221;</a> Press enter.</p>
<p>The shutdown flag allows you to shut down (or restart) either a local or remote machine.  Used without parameters it merely logs the user off.  However you can add&#8230;</p>
<p><strong>-l</strong><strong> </strong><strong>: </strong>Logs off the current user, this is also the defualt. -m <em>ComputerName</em> takes precedence.</p>
<p><strong>-s </strong><strong>: </strong>Shuts down the local computer.</p>
<p><strong>-r</strong><strong> </strong><strong>: </strong>Reboots after shutdown.</p>
<p><strong>-a</strong><strong> </strong><strong>: </strong>Aborts shutdown. Ignores other parameters, except <strong>-l</strong> and <em>ComputerName</em>. You can only use <strong>-a</strong> during the time-out period.</p>
<p><strong>-f</strong><strong> </strong><strong>: </strong>Forces running applications to close.</p>
<p><strong>-m </strong><strong>[</strong><strong>\\</strong><strong><em>ComputerName</em></strong><strong>] </strong><strong>: </strong>Specifies the computer that you want to shut down.</p>
<p><strong>-t</strong><strong> </strong><strong><em>xx</em></strong><strong> </strong><strong>: </strong>Sets the timer for system shutdown in <em>xx</em> seconds. The default is 20 seconds.</p>
<p><strong>-c</strong><strong> </strong><strong>&#8220;</strong><strong><em>message</em></strong><strong>&#8220;</strong><strong> </strong><strong>: </strong>Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.</p>
<p><strong>-d</strong><strong> [</strong><strong>u</strong><strong>][</strong><strong>p</strong><strong>]</strong><strong>:</strong><strong><em>xx</em></strong><strong>:</strong><strong><em>yy</em></strong><strong> </strong><strong>: </strong>Lists the reason code for the shutdown. The following table lists the different values.</p>
<p>For example, when you use the command window and type&#8230;</p>
<p>shutdown -s -f -t 3600</p>
<p>&#8230; it shuts down the machine (-s) while forcing applications to close (-f) in one hour (-t 3600).  Helpful for situations like the one I outlined above or when you are streaming a movie to an external monitor and don&#8217;t feel like getting out of bed after realizing &#8220;Jeez, even <em>pirating</em> <a title="Couples Retreat - Wikipedia" href="http://en.wikipedia.org/wiki/Couples_Retreat">Couples Retreat</a> was a huge waste of time.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/05/timed-shutdown-in-windows/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>6</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 point [...]]]></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. [...]]]></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>
	</channel>
</rss>

