<?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>Double Parity &#187; Uncategorized</title>
	<atom:link href="http://doubleparity.net/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://doubleparity.net</link>
	<description></description>
	<lastBuildDate>Wed, 24 Jun 2009 20:13:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Skip Tip for Windows 7 Media Center</title>
		<link>http://doubleparity.net/2009/06/skip-tip-fo-windows-7-media-center-dvd</link>
		<comments>http://doubleparity.net/2009/06/skip-tip-fo-windows-7-media-center-dvd#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:13:28 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=125</guid>
		<description><![CDATA[One of the most useful features on a Tivo is the 30 seconds &#8220;commercial skip&#8221; button. When I had a Tivo, this feature had to be unlocked on the remote by a sequence of button presses. On Windows Media Center, this functionality is available without any shenanigans, but it only works for recorded shows. So [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most useful features on a Tivo is the 30 seconds &#8220;commercial skip&#8221; button.  When I had a Tivo, this feature had to be unlocked on the remote by a sequence of button presses.  On Windows Media Center, this functionality is available without any shenanigans, but it only works for recorded shows.  So if you&#8217;re watching a DVD with poorly placed chapter markers, you&#8217;re forced to rely on the extremely temperamental fast forward and rewind controls to scan through video segments.</p>
<p>Last night, just through random chance, I discovered that the channel up and channel down buttons perform the 30 second skip and it&#8217;s 8 second replay counterpart in Windows 7.  Very pleasantly surprised, I dug a little deeper and found that Microsoft even added some customization options (Settings -> DVD -> Remote Control Options).</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3658148620/" title="Windows 7 Media Center Remote Options by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3604/3658148620_b7c4d4eced_o.png" width="363" height="367" alt="Windows 7 Media Center Remote Options" /></a></p>
<p>You can now customize the Skip, Replay, Channel Up, and Channel Down buttons of your remote!  Skipping forward and backward with DVDs is not quite as snappy as with recorded TV, but it&#8217;s still great for skipping title sequences and replaying that last little bit of audio you couldn&#8217;t quite hear.</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2009/06/skip-tip-fo-windows-7-media-center-dvd/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 RC Won&#8217;t Sleep!</title>
		<link>http://doubleparity.net/2009/05/windows-7-rc-wont-sleep</link>
		<comments>http://doubleparity.net/2009/05/windows-7-rc-wont-sleep#comments</comments>
		<pubDate>Mon, 11 May 2009 19:20:29 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=117</guid>
		<description><![CDATA[I&#8217;m really digging Windows 7. It seems to have a much leaner resource footprint than Vista and performance, particularly network performance, seems much improved. That said, there are still some issues. For me, one of the issues is that with Windows 7, my PC won&#8217;t stay asleep. It will go into power saving mode and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m really digging Windows 7. It seems to have a much leaner resource footprint than Vista and performance, particularly network performance, seems much improved. That said, there are still some issues.</p>
<p>For me, one of the issues is that with Windows 7, my PC won&#8217;t stay asleep. It will go into power saving mode and then promptly wake up again. Tweaking various settings in the Power Options control panel had no effect.  After some hunting, however, I was able to get to the root of the problem. What I needed to do was to adjust the power management settings for my network adapter. Once I did that, sleep mode worked as expected.</p>
<p>First, to figure out which device was waking the PC from sleep mode, I opened a command prompt and ran &#8220;powercfg -lastwake&#8221;.  The output indicated that my network adapter was the cause.</p>
<p>Next, I opened the Device Manager control panel, right-clicked on my network adapter, and clicked on Properties.  This opened my adapter properties.  I selected the Power Management tab and got the following window:</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3522410445/" title="NIC Device Power Management by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3355/3522410445_e74e33cf56_o.png" width="414" height="461" alt="NIC Device Power Management" /></a></p>
<p>Because I do want to be able to wake up my PC via the network, I checked the box to &#8220;Only allow a magic packet to wake the computer&#8221;. This means that the PC will still respond to Wake-On-Lan packets, but other network traffic should be ignored.</p>
<p>And voilà, my PC now stays asleep! One thing I&#8217;m not sure of is whether the PC will stay awake during really long downloads.  This generally isn&#8217;t an issue for me, but it may turn into one.</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2009/05/windows-7-rc-wont-sleep/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Apple TV 2.3: Third Party Remotes</title>
		<link>http://doubleparity.net/2008/11/apple-tv-23-third-party-remotes</link>
		<comments>http://doubleparity.net/2008/11/apple-tv-23-third-party-remotes#comments</comments>
		<pubDate>Fri, 21 Nov 2008 09:42:11 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=105</guid>
		<description><![CDATA[Apple quietly updated its Apple TV software to version 2.3 a couple days ago. The [release notes][1] are spare, but the _Third-party Remote Controls_ feature did catch my eye. Programming universal remotes is a universally bad experience, but with Apple TV 2.3, Apple has turned convention on its head. Instead of trying to program new [...]]]></description>
			<content:encoded><![CDATA[<p>Apple quietly updated its Apple TV software to version 2.3 a couple days ago.  The [release notes][1] are spare, but the _Third-party Remote Controls_ feature did catch my eye.  Programming universal remotes is a universally bad experience, but with Apple TV 2.3, Apple has turned convention on its head.  Instead of trying to program new codes into a remote control, Apple&#8217;s answer is to program new codes into the Apple TV.  This may seem like a subtle distinction, but it makes programming remotes worlds simpler.</p>
<p>The new *Learn Remote* option can be found in Settings >> General >> Remotes.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3046513061/" title="Learn Remote Option by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3252/3046513061_4e7e55725a.jpg" width="500" height="334" alt="Learn Remote Option" /></a></p>
<p><a href="http://www.flickr.com/photos/doubleparity/3046513685/" title="Start Learning by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3059/3046513685_9edff769af.jpg" width="500" height="334" alt="Start Learning" /></a></p>
<p>Once you start the learning process, the Apple TV presents you with a page showing the six buttons found in the miniature Apple Remote in a single row.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3047349408/" title="Basic Buttons by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3237/3047349408_2c809b70c6.jpg" width="500" height="333" alt="Basic Buttons" /></a></p>
<p>Learning an infrared code from a non-Apple remote is super simple.  Just press and hold the button on the remote.  The progress bar on the screen will quickly fill up and once it&#8217;s done, you get a brief confirmation message and the Apple TV automatically progresses to the next button.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3046514993/" title="Learning by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3209/3046514993_6cd6d84f8e.jpg" width="500" height="334" alt="Learning" /></a></p>
<p>After these six buttons are done, you are presented with an option to set up &#8220;Playback Buttons.&#8221;</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3047350776/" title="Basic Setup Complete by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3169/3047350776_b328f0a09c.jpg" width="500" height="334" alt="Basic Setup Complete" /></a></p>
<p>There are a total of nine playback buttons.  Play, pause, and stop seem out of place since they overlap with some of the buttons from the basic setup.  However, I was happy to see that fast forward and next chapter could be mapped to different buttons.  To activate fast forward with the Apple Remote, I had to hold down the next chapter button.  But held buttons weren&#8217;t always reliably detected by the Apple TV.  Often, the device would skip to the next chapter rather than fast forward.  This becomes tiresome very quickly.  Separating these controls makes fast forward much more reliable.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3046516227/" title="More Buttons by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3281/3046516227_ba126c74cc.jpg" width="500" height="333" alt="More Buttons" /></a></p>
<p>I was also happy to note that I could assign dedicated buttons to Skip Back and Skip Forward.  With an Apple Remote, I had to [pause the video first][2], then hit fast-forward or rewind to skip around, and then hit play to resume playback.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3047352196/" title="Skip Forward &amp; Back by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3149/3047352196_d467cba817.jpg" width="500" height="334" alt="Skip Forward &amp; Back" /></a></p>
<p>Unfortunately, skipping still only occurs in 10-second increments, both forwards and backwards.  I much prefer the Tivo and Windows Media Center increments of 30-seconds forward and 5-seconds back.</p>
<p>Also, Apple TV 2.3 kills XBMC and Boxee.  As of this writing, there&#8217;s no fix or easy workaround, but [something may be coming soon][3].</p>
<p>All that aside, I find the Learning Remote interface in Apple TV 2.3 to be excellent.  And it&#8217;s just a wish, but hopefully it will make its way into OS X.  My mind runs wild with the possibilities&#8230;</p>
<p><a href="http://www.amazon.com/gp/product/B000RQHAUA?ie=UTF8&#038;tag=doubleparity-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000RQHAUA">Apple TV, 160GB Hard Drive (Amazon)</a></p>
<p>[1]: http://support.apple.com/kb/HT3187<br />
[2]: http://support.apple.com/kb/HT3176<br />
[3]: http://forum.boxee.tv/showthread.php?t=2064</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2008/11/apple-tv-23-third-party-remotes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lost in Time Machine: Missing Backups</title>
		<link>http://doubleparity.net/2008/11/lost-in-time-machine-missing-backups</link>
		<comments>http://doubleparity.net/2008/11/lost-in-time-machine-missing-backups#comments</comments>
		<pubDate>Wed, 19 Nov 2008 20:27:03 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=93</guid>
		<description><![CDATA[Yesterday morning, I launched Time Machine to undo some changes I had just made to a file. But when I tried to jump back an hour, I noticed that all backups since Nov. 10 were missing. That was pretty strange since I had seen the Time Machine icon spinning in my menu bar at regular [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/doubleparity/3044356242/" title="Time Machine Background by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3162/3044356242_5a4531368d.jpg" width="500" height="331" alt="Time Machine Background" /></a></p>
<p>Yesterday morning, I launched Time Machine to undo some changes I had just made to a file.  But when I tried to jump back an hour, I noticed that all backups since Nov. 10 were missing.  That was pretty strange since I had seen the Time Machine icon spinning in my menu bar at regular intervals all throughout the week.</p>
<p>Looking into the Backups.backupdb folder on my Time Machine drive, I was surprised to see two folders.  One was the name of my Mac (let&#8217;s call it &#8220;doubleparity&#8221;) and held all backups prior to Nov. 10.  The other was named &#8220;doubleparity 254&#8243; and contained all backups since Nov. 10.  As you&#8217;ve probably guessed, the solution to restoring my missing backups was to merge these two folders.  But whenever I tried to copy or move the contents of either folder, I got a &#8220;Operation not permitted&#8221; error.</p>
<p>After a bit of Googling, I discovered that I had to disable Access Control Lists.  Here&#8217;s a list of all the steps taken to get things working properly again:</p>
<p>1. Disable Time Machine</p>
<p>2. Backup Time Machine volume.</p>
<p>   Admittedly it&#8217;s rather ironic to have to backup a backup, but it&#8217;s a precaution that should be taken to keep your data safe.  My Mac backs up to a ZFS filesystem on a DIY [OpenSolaris][1] server so backing up simply consists of creating a filesystem snapshot &#8211; [a single command in OpenSolaris][2].  Without ZFS, this is a considerably more complicated task.</p>
<p>3. Open Terminal</p>
<p>4. Disable ACLs</p>
<p>   `sudo fsaclctl -p /Volumes/<Time Machine Backup>/ -d`</p>
<p>5. Merge folder contents</p>
<p>   `cd /Volumes/<Time Machine Backup>/Backups.backupdb/`</p>
<p>   `sudo mv doubleparity/* doubleparity\ 254/`</p>
<p>   Here, I got an &#8220;Operation not permitted&#8221; error on the &#8220;Latest&#8221; symlink.  I initially ignored it since I didn&#8217;t need the link anymore.  However, I couldn&#8217;t delete the &#8220;doubleparity&#8221; folder since it wasn&#8217;t empty and all attempts to delete &#8220;Latest&#8221; gave me the same &#8220;Operation not permitted&#8221; error.  I had to unmount the Time Machine volume and remount it.  After that, I was able to delete the folder with no problems.</p>
<p>   `sudo rm -rf doubleparity`</p>
<p>   `sudo mv doubleparity\ 254/ doubleparity`</p>
<p>6. Re-enable ACLs</p>
<p>   `sudo fsaclctl -p /Volumes/<Time Machine Backup>/ -e`</p>
<p>7. Re-enable Time Machine</p>
<p>As far as I can tell, my missing backups are available and Time Machine is working normally.  I still don&#8217;t know why backups suddenly started going into a second folder.  If anyone out there has had a similar experience or any ideas, drop a line in comments.</p>
<p>[1]: &#8220;http://www.opensolaris.com&#8221;<br />
[2]: &#8220;http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Using_ZFS_Snapshots&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2008/11/lost-in-time-machine-missing-backups/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Testing RAM on a Mac</title>
		<link>http://doubleparity.net/2007/12/testing-ram-on-a-mac</link>
		<comments>http://doubleparity.net/2007/12/testing-ram-on-a-mac#comments</comments>
		<pubDate>Fri, 21 Dec 2007 08:29:38 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=10</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my Macbook Pro to 4GBs of RAM.  My previous Apple laptop &#8211; a Powerbook &#8211; was notoriously finicky with non-Apple RAM, so I&#8217;m conditioned to thoroughly test my system after a memory upgrade, to make sure the system is fully functional and stable.</p>
<p>On PCs, my preferred test software is an open-source application called [Memtest86+][m].  It&#8217;s easy to put a copy of the application on a bootable flash drive or CD, restart the system, and let it run.  On the Mac, it&#8217;s not quite as simple.  Memtest86+ has been ported to OS X, but even though Memtest86+ is free, the [MemtestOSX][mx] developer charges US$1.39 per download.</p>
<p>[m]: http://www.memtest.org/<br />
[mx]: http://memtestosx.org/</p>
<p>Now, I know that US$1.39 is pretty meager, but I still found it distasteful.  Initially, I thought this was a violation of the GPL, but each download includes the MemtestOSX source code, so I believe the GPL is satisfied.  Also, while I realize that bandwidth does cost money, there are plenty of places (Google Code, SourceForge, etc.) where the developer could host his project for free.  Needless to say, I could not bring myself to fork over the cash.</p>
<p>Fortunately, there is another alternative.  Kelley Computing has an application called [Rember][r] &#8211; a front-end GUI for the command-line based MemtestOSX.  But it also includes MemtestOSX itself!  It&#8217;s not quite the latest version, but it is fairly up-to-date.  You have to dig a little to find it, but it&#8217;s there and freely available.</p>
<p>[r]: http://www.kelleycomputing.net/rember/</p>
<p>The trick with testing RAM is that you want to test as much of the RAM as possible.  If you have OS X running and applications open, you are not going to be able to test a significant portion of your memory.  The best option is to restart your computer into single-user mode by holding down command-s during startup.  This brings the computer into a minimal console environment.  It is so minimal that power management is not even enabled, so it&#8217;s likely that your system fans will be spinning pretty loudly.  No worries&#8230;start MemtestOSX and let it test away.</p>
<p>$ ./Applications/Rember.app/Contents/Resources/memtest all 3</p>
<p>On my 4GB system, it took a little over 3 hours to run a 3-pass test.</p>
<p>Note: When I ran memtest, it grabbed most of, but not all of the available memory.  So I just canceled the run, and restarted it in the background.</p>
<p>$ ./Applications/Rember.app/Contents/Resources/memtest all 3 &#038;</p>
<p>Then I launched a second instance of memtest, which grabbed and tested the remaining memory.</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/12/testing-ram-on-a-mac/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safer Surfing on Untrusted Networks (Mac Edition)</title>
		<link>http://doubleparity.net/2007/09/safer-surfing-on-untrusted-networks-mac-edition</link>
		<comments>http://doubleparity.net/2007/09/safer-surfing-on-untrusted-networks-mac-edition#comments</comments>
		<pubDate>Thu, 27 Sep 2007 11:07:15 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=9</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>1. [The Case for SSH Proxies](#case_for_proxies)<br />
2. [SSH Setup](#ssh_setup)<br />
3. [Basic Mac Setup](#mac_setup)<br />
4. [Adding Automation](#automation)</p>
<h2 id="case_for_proxies">1. The Case for SSH Proxies</h2>
<p>The rise of [Web 2.0][web20] and the increasing availability of Wi-Fi access now means that you can do more than ever away from your home or office.  But there is an associated risk.  Using someone else&#8217;s network makes you highly vulnerable to information theft.  You may not realize it, but the vast majority of data transmitted across the web (including email) is unencrypted.  Sure, most websites protect your password and some may even protect your username; but once you&#8217;ve logged in, odds are that everything else is transmitted in the clear.  Consequently, when you&#8217;re on an untrusted network, your personal data is at risk.</p>
<p>[web20]: http://www.oreilly.com/pub/a/oreilly/tim/news/2005/09/30/what-is-web-20.html</p>
<p>This may not be an issue for many people.  More and more, people are willing to post what once were considered private thoughts on public forums.  But on an untrusted network, there are other greater dangers.</p>
<p>Many of you have probably received [phishing][phish] emails.  They look like they&#8217;re from some popular website or financial institution; and unlike most spam, they try to get you to reveal your username, password, account number or other sensitive private data.  The obvious ones ask you to reply to the email directly.  The more devious efforts include links which at first glance may seem legitimate, but in reality transport you to forged websites.  Yet despite this increase in sophistication, the solution is pretty simple.  Never click on a link in suspicious email.  If you truly suspect problems with an account, either contact customer support by phone or directly navigate to the institution&#8217;s website by manually typing in the proper URL.</p>
<p>[phish]: http://en.wikipedia.org/wiki/Phishing</p>
<p>When you&#8217;re on an untrusted network, however, even this last step is not safe.  Networks can be configured relatively easily to send you to website forgeries even if you manually key in the proper URL.  So is there any hope at all?  Do we surf the internet in fear every time we are away from the home or office? Fortunately, along with exercising increased caution and suspicion, there are technologies you can employ to help you deal with untrusted networks.</p>
<p>Medium to large companies deploy [VPNs][vpn], secure ID cards, fingerprint scanners, authenticated certificates, and more to protect their confidential data.  Most of these technologies are too complicated and/or too expensive for individuals, but SSH Proxies are a relatively simple and accessible solution for the tech-savvy.</p>
<p>[vpn]: http://en.wikipedia.org/wiki/Virtual_Private_Network</p>
<p>A proxy is nothing more than a trusted computer.  It can be your home computer, your web host, or a server provided by your ISP.  The [SSH][ssh] utility allows you to form an encrypted connection, or tunnel, to the proxy.  All network activity can then be routed through that tunnel to the proxy.  So, for example, if you want to check your email, your proxy is the device that communicates directly with the email server and then sends the data back to your laptop over the SSH-encrypted tunnel.  At no point does unencrypted data travel across the untrusted network.</p>
<p>[ssh]: http://www.openssh.com/</p>
<p>Furthermore, SSH verifies that you&#8217;re actually connected to your proxy and not some substitute or forgery.  If it can&#8217;t verify the identity of the proxy, it informs you and lets you assess the situation.</p>
<h2 id="ssh_setup">2. SSH Setup</h2>
<p>With that said, hopefully I&#8217;ve convinced you an SSH Proxy is a good idea, so let&#8217;s go about setting it up on your Mac.  Lifehacker has an excellent article on using [SSH proxies to encrypt your web browsing][lh].  It&#8217;s the starting point for my Mac-specific tips, so if you haven&#8217;t read it already, please go read it now.  And then remember to come back!</p>
<p>[lh]: http://lifehacker.com/software/ssh/geek-to-live&#8211;encrypt-your-web-browsing-session-with-an-ssh-socks-proxy-237227.php &#8220;Encrypt your web browsing session (with an SSH SOCKS proxy)&#8221;</p>
<h2 id="mac_setup">3. Basic Mac Setup</h2>
<p>Gina gave you a great how-to for creating an SSH tunnel and configuring Firefox to use that tunnel.  But what if you use [Safari][saf]?  Or [Camino][cam]?  Or [OmniWeb][omn]?  And what about all your other apps, like email and RSS?  Nearly every desktop application today has some sort of network connectivity built in.  How do you configure all of them to route their traffic through the SSH tunnel?</p>
<p>[saf]: http://www.apple.com/safari/<br />
[cam]: http://caminobrowser.org/<br />
[omn]: http://www.omnigroup.com/applications/omniweb/</p>
<p>The answer lies in System Preferences.  First, go to the Network preference pane and create a new location.  In my case, I&#8217;ve named the location &#8220;Untrusted&#8221;.  Then, for both the Airport and Built-in Ethernet devices, click on **Proxies** and enable the **SOCKS Proxy** checkbox.  Finally, fill in &#8220;localhost&#8221; for the server and &#8220;9999&#8243; for the port and save the changes.</p>
<div class="center">
<img src="/media/2007/09/airport_proxy.jpg" />
</div>
<p>Now, whenever you are on an untrusted network, there are just two things to do:</p>
<p>1. Open Terminal and issue the ssh tunnel command (*ssh -ND 9999 user@example.com*)<br />
2. Open the Network System Preference pane and change the location to Untrusted.</p>
<p>This will configure nearly every Cocoa/WebKit-based application to route their network traffic through your SSH proxy.  However, you&#8217;re probably only 95% covered because not every application uses the System Preferences.  Some applications have their own proxy settings.  Firefox is probably the biggest one and the Lifehacker article shows you what you need to do.  <del>For me, iChat and Adium are the other two common apps.  If you look into each app&#8217;s preferences, you&#8217;ll find options for configuring iChat and Adium to use proxies.</del></p>
<p>*Note: I have not successfully gotten iChat to work with proxies.  There are a number of threads discussing this issue on the Apple Support forums but I didn&#8217;t find any definitive answers.*</p>
<h2 id="automation">4. Adding Automation</h2>
<p>Now that you&#8217;ve reconfigured all the applications that don&#8217;t rely on System Preferences to use proxies, you&#8217;re probably thinking how painful it will be to do this every time you hop onto an unknown network.  I definitely share your sentiments.  Fortunately, there are ways to automate the process.  I use an inexpensive application called [rooSwitch][roo] to help out.</p>
<p>[roo]: http://www.roobasoft.com/rooSwitch/</p>
<p>A great little utility, rooSwitch allows you to easily create and manage multiple profiles for each application.  You may know that Firefox allows you to create multiple identities, each with different settings and configuration options.  RooSwitch gives you the ability to create multiple identities for every application on your system.</p>
<div class="center">
<img src="/media/2007/09/rooswitch_firefox.png" />
</div>
<p>What I&#8217;ve done on my system is I&#8217;ve created &#8220;untrusted&#8221; profiles for both Firefox and Adium.  In these profiles, I&#8217;ve configured the application settings to use a SOCKS proxy on port 9999.</p>
<p>Technically, you don&#8217;t need rooSwitch to create these profiles.  You could manually generate and manage multiple identities by duplicating and shuffling the appropriate files and folders in *~/Library/Application Support/*, *~/Library/Caches/*, and *~/Library/Preferences/*.  This is what rooSwitch does underneath the hood, but it&#8217;s interface makes the whole process so much easier, so it&#8217;s what I prefer.  Plus, rooSwitch has [AppleScript][as] support, so it&#8217;s easy to automate.</p>
<p>[as]: http://www.apple.com/macosx/features/applescript/</p>
<p>Here&#8217;s my AppleScript for switching to the &#8220;untrusted&#8221; profile:</p>
<p>tell application &#8220;rooSwitch&#8221;<br />
tell document &#8220;Firefox.rooSwitch&#8221;<br />
tell profile &#8220;untrusted&#8221; to make active with allow quit<br />
end tell<br />
tell document &#8220;Adium.rooSwitch&#8221;<br />
tell profile &#8220;untrusted&#8221; to make active with allow quit<br />
end tell<br />
end tell<br />
tell application &#8220;rooSwitch&#8221; to quit</p>
<p>If raw AppleScript is not your cup of tea, rooSwitch also provides a &#8220;Switch Profile&#8221; [Automator][am] action.  Check out the [screencast][s] for more details.</p>
<p>[am]: http://www.apple.com/macosx/features/automator/<br />
[s]: http://www.roobasoft.com/rooSwitch/view_movie.php?movie=whatsNew.mov</p>
<p>This simplifies the SSH proxy process down to (1) switching rooSwitch profiles, (2) switching to the Untrusted location, and (3) creating the SSH tunnel.  We can combine these steps with a little shell script and the help of **scselect** and **osascript**.  The **scselect** program allows you to switch locations from the command-line.  Similarly, **osascript** allows you to execute AppleScript from the command-line.</p>
<p>Here&#8217;s what the end result looks like:</p>
<p>#!/bin/bash<br />
scselect Untrusted<br />
osascript switch_to_untrusted.scpt<br />
ssh -ND 9999 user@example.com</p>
<p>If you save this script with a *.command* extension, then you can run it by double-clicking on the icon in the Finder like a regular application.  When it runs, it will change the location, switch your profile, and start up the SSH tunnel.  Enter your password and off you go!</p>
<p>It&#8217;s also a good idea to create a script for switching your location and profiles back to the default.  I&#8217;ll leave it for you to do.  Enjoy and safe surfing!</p>
<p>*Parting tip*: This is mentioned in the Lifehacker article, but it&#8217;s worth reiterating.  If you happen to be on a very slow untrusted network, adding the -C option to the ssh command may speed things up.  The -C option compresses all data send through the SSH tunnel, in effect trading CPU cycles for increased bandwidth.  The speedup isn&#8217;t really noticeable on faster connections, but can be quite significant on slower networks.</p>
<p>**UPDATE:** *I crossed out the portion where I claim that iChat and Adium cannot use the proxy settings specified through System Preferences.  Sorry about that&#8230;not sure what I was thinking.  Also, I fixed a few typos and grammatical errors.  Hopefully the article reads better than a 3rd grade level now.*</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/09/safer-surfing-on-untrusted-networks-mac-edition/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Keyboards, Buttons, and the Mac</title>
		<link>http://doubleparity.net/2007/09/keyboards-buttons-and-the-mac</link>
		<comments>http://doubleparity.net/2007/09/keyboards-buttons-and-the-mac#comments</comments>
		<pubDate>Fri, 21 Sep 2007 08:13:00 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=8</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>If you come from a Windows world, then you&#8217;ve almost definitely seen a window or a menu with standard gray buttons and a single highlighted button.  And you probably know that hitting the Enter key is a convenient alternative to positioning and clicking the mouse on that highlighted button.</p>
<p>The same behavior exists on a Mac as well, but with a slight twist:</p>
<div class="center">
<img src="/media/2007/09/buttons.png" />
</div>
<p>Notice in the image above how both buttons are highlighted &#8211; one in complete blue and the other in a blue halo.  The completely blue button responds to the Enter key as Windows users would expect.  What&#8217;s more interesting, though, is that the haloed button responds to the Spacebar.</p>
<p>The two types of button highlights may not be something you notice; I went months without even realizing the haloed form existed.  But now that I now what it&#8217;s for, I love it (I really dig keyboard shortcuts&#8230;what can I say?).  Both forms don&#8217;t always show up in every dialog box, but when they do, they can save you some typing.  The best is when you can avoid the dreaded Shift+Tab hand contortion for cycling the button focus to the previous UI element.</p>
<p>This may seem a bit trivial, but in the fight against [RSI][rsi], every little bit counts.</p>
<p>[rsi]: http://en.wikipedia.org/wiki/Repetitive_strain_injury</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/09/keyboards-buttons-and-the-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovering Off-screen Windows</title>
		<link>http://doubleparity.net/2007/09/recovering-off-screen-windows</link>
		<comments>http://doubleparity.net/2007/09/recovering-off-screen-windows#comments</comments>
		<pubDate>Thu, 20 Sep 2007 00:24:33 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=7</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Earlier today, I installed the [Pidgin IM client][im] on Vista.  When I ran the program for the first time, the upper half of the contact list was off the top of my screen!  I wish I had taken a screenshot, but I didn&#8217;t, so hopefully my verbal description suffices.</p>
<p>[im]: http://pidgin.im</p>
<p>Anyway, with the upper half of the window missing, I couldn&#8217;t drag the window back into view.  After being frustrated for a bit, I stumbled onto the rather obvious solution.  Simply right-click on the program&#8217;s tab in the taskbar and select *Move*.  Now, you can use the keyboard&#8217;s arrow keys to move the window.  Furthermore, after the first keypress, the mouse cursor automatically binds itself to the application&#8217;s title bar.  So you can switch back to the mouse to drag, rather than holding down the arrow keys.  Clicking a mouse button releases the window.</p>
<p>Though I&#8217;ve never had this happen to me on a Mac, both Windows and OS X limit window dragging to the title bar, so it&#8217;s a potential issue in both environments.  Using the taskbar, the Windows solution is simple and, in retrospect, obvious.  I looked around for a way to move windows via the keyboard in OS X, but didn&#8217;t find one.  Google did provide an alternative solution &#8211; an AppleScript snippet by [Marc Abramowitz][ma] that relocates the window to the top-left corner of the screen.  If anyone discovers a simpler solution, please let me know.  Otherwise, we&#8217;ll have to chalk this up as one of the rare instances where Windows bests OS X.</p>
<p>[ma]: http://marc-abramowitz.com/archives/2007/04/16/applescript-to-get-control-over-off-screen-windows/</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/09/recovering-off-screen-windows/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Two Recent Web Tips for the Mac</title>
		<link>http://doubleparity.net/2007/09/two-recent-web-tips-for-the-mac</link>
		<comments>http://doubleparity.net/2007/09/two-recent-web-tips-for-the-mac#comments</comments>
		<pubDate>Sat, 15 Sep 2007 09:26:43 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=6</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>##1. Safari</p>
<p>Many Mac users prefer Safari to Firefox and I don&#8217;t blame them.  Even after the switch to Intel, Firefox runs more sluggishly on a Mac relative to Windows.  But while Safari is pretty fast, it is also pretty bare-bones &#8211; no extensions, no keywords.  Thank goodness for Input Managers.</p>
<p>Input Managers are a feature of OS X that allows users to extend the features of applications at runtime.  Because Safari lacks a plug-in architecture, many developers instead use Input Managers to add features to the Apple browser.</p>
<p>Of particular significance for us is [Sogudi][so] by Kitzel Hoover.  Sogudi adds keywords to Safari, allowing you to construct Recent Search shortcuts like the one described in my [previous post][pp].  The only difference is that the &#8220;%s&#8221; in the url is replaced by &#8220;@@@&#8221;.</p>
<p>[so]: http://www.kitzkikz.com/Sogudi<br />
[pp]: http://doubleparity.net/2007/09/googling-the-recent-web</p>
<div class="center">
<img src="/media/images/sogudi.png" />
</div>
<p>Sogudi comes with a number of pre-installed shortcuts, including ones for Google Image Search, Wikipedia,  and IMDB.  It&#8217;s a fantastic utility.  Sadly, there are strong rumors that Input Managers will be disabled in Leopard, potentially orphaning a number of useful tools.</p>
<p>##2. Quicksilver</p>
<p>While Sogudi saves you a couple of steps, you need to have Safari open.  If it&#8217;s not, you must first launch Safari before entering your search terms.  Wouldn&#8217;t it be nice if there were some way to open Safari and run a search all in one step?  Well, with [Quicksilver][qs] there is!</p>
<p>[qs]: http://quicksilver.blacktree.com/</p>
<p>For this shortcut to work, you need to first enable the *Safari Module* and the *Web Search Module* plug-ins in Quicksilver.  Then, in Safari, bookmark the Recent Search URL, but replace &#8220;%s&#8221; with &#8220;\*\*\*&#8221; (3 asterisks).</p>
<p>Give the bookmark a short name and now it&#8217;s available from Quicksilver.  Just activate Quicksilver, type the bookmark name, hit tab twice, and enter in your search terms:</p>
<div class="center">
<img src="/media/images/qs_web_search.jpg" />
</div>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/09/two-recent-web-tips-for-the-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Googling the Recent Web</title>
		<link>http://doubleparity.net/2007/09/googling-the-recent-web</link>
		<comments>http://doubleparity.net/2007/09/googling-the-recent-web#comments</comments>
		<pubDate>Sun, 02 Sep 2007 05:46:12 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=5</guid>
		<description><![CDATA[More and more, I find that I only want fresh results when Googling. For general or historical information, Wikipedia is my preferred starting point. For current developments, however, Google is the better tool. More specifically, [Google's Advanced Search][as] is a better tool. The Advanced Search options give me the ability to filter results by date. [...]]]></description>
			<content:encoded><![CDATA[<p>More and more, I find that I only want fresh results when Googling.  For general or historical information, Wikipedia is my preferred starting point.  For current developments, however, Google is the better tool.  More specifically, [Google's Advanced Search][as] is a better tool.  The Advanced Search options give me the ability to filter results by date.  So I can just see the relevant links from the last month, week, or even 24 hours.</p>
<p>[as]: http://www.google.com/advanced_search?hl=en</p>
<p>Unfortunately, unlike Google&#8217;s [advanced search operators][so], the date filter cannot be specified in the search string.  Having to manually click and choose the date from the pull-down menu each time is a real pain.  Thankfully, because the search options are encoded into the URL, we can use Firefox&#8217;s keyword feature to set up a nice &#8220;Search Recent&#8221; shortcut.</p>
<p>[so]: http://www.google.com/help/operators.html</p>
<p>If you run an advanced search and look at the resulting URL, you&#8217;ll see that there are a bunch of options you can specify.  For limiting the date range, the option we want is *as_qdr* (query date range?).  So I go to my Firefox Bookmarks Manager and create a new bookmark, open its properties, and fill in the various fields.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3005464665/" title="Recent Searches with Firefox by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3149/3005464665_b31791911a_o.png" width="393" height="288" alt="Recent Searches with Firefox" /></a></p>
<p>The image above shows my bookmark for searches limited to the last week.  Here&#8217;s the full URL of the bookmark:</p>
<p>http://www.google.com/search?as_q=%s&#038;hl=en&#038;num=50&#038;as_qdr=w&#038;safe=off</p>
<p>Through Firefox&#8217;s keyword feature, I can access this search by typing &#8220;gw search-terms&#8221; in the browser&#8217;s address bar.  So to find out the latest BioShock news, for example, I simply enter &#8220;gw BioShock&#8221; into the address bar.  All text following the keyword (&#8220;gw&#8221;) replaces the %s in the bookmark URL.</p>
<p>To change the date range to the last day, month, or year, replace the argument of as_qdr with &#8220;d&#8221;, &#8220;m&#8221;, or &#8220;y&#8221; respectively.  To get results from the last 3 months, use &#8220;m3&#8243;.  For the last 3 days, use &#8220;d3&#8243;.  I think you get the idea.</p>
<p>Note that I&#8217;ve included two extra options in the bookmark.  The &#8220;num=50&#8243; option specifies that I want 50 results per page.  The &#8220;safe=off&#8221; bit disables any filtering of the search results.</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/09/googling-the-recent-web/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>BioShock: No Sound?</title>
		<link>http://doubleparity.net/2007/08/bioshock-no-sound</link>
		<comments>http://doubleparity.net/2007/08/bioshock-no-sound#comments</comments>
		<pubDate>Mon, 27 Aug 2007 07:28:00 +0000</pubDate>
		<dc:creator>Double Parity</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doubleparity.net/?p=4</guid>
		<description><![CDATA[If you&#8217;re playing BioShock on Vista, you might run into the same problem I did &#8211; no sound. One thing you can try that worked for me is to run the game in Windows XP compatibility mode. You can enable compatibility mode by right-clicking on the executable, selecting Properties, clicking on the Compatibility tab in [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re playing BioShock on Vista, you might run into the same problem I did &#8211; no sound.  One thing you can try that worked for me is to run the game in Windows XP compatibility mode.  You can enable compatibility mode by right-clicking on the executable, selecting Properties, clicking on the Compatibility tab in the resulting window, and checking the compatibility mode box shown below.</p>
<p><a href="http://www.flickr.com/photos/doubleparity/3005430769/" title="Bioshock Compatibility Mode by doubleparity, on Flickr"><img src="http://farm4.static.flickr.com/3274/3005430769_1155861ccd_o.png" width="414" height="227" alt="Bioshock Compatibility Mode" /></a></p>
<p>Note that you have to do this on the executable itself.  Enabling compatibility mode via the desktop shortcut did not work for me.</p>
<p>As a sidenote &#8211; what&#8217;s the deal with the corporate logos that can&#8217;t be bypassed?  By my watch, there are 23 seconds worth of logos that *I can&#8217;t skip* each time I start the game.  Maybe it&#8217;s not such a big deal, but it sure was annoying when I was trying to figure out how to get sound going.</p>
]]></content:encoded>
			<wfw:commentRss>http://doubleparity.net/2007/08/bioshock-no-sound/feed</wfw:commentRss>
		<slash:comments>116</slash:comments>
		</item>
	</channel>
</rss>
