<?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>Wise on Tech &#187; Jonathan Wise</title>
	<atom:link href="http://www.wiseontech.com/author/jonwise/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiseontech.com</link>
	<description>Hacks, scripts and ideas for the refined geek.</description>
	<lastBuildDate>Thu, 22 Jul 2010 14:48:15 +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>Bought an HD-DVD Player</title>
		<link>http://www.wiseontech.com/toys/bought-an-hd-dvd-player</link>
		<comments>http://www.wiseontech.com/toys/bought-an-hd-dvd-player#comments</comments>
		<pubDate>Fri, 29 Feb 2008 20:17:38 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Toys]]></category>
		<category><![CDATA[HD-DVD]]></category>
		<category><![CDATA[XBox 360]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/toys/bought-an-hd-dvd-player</guid>
		<description><![CDATA[So I bought an HD-DVD player. I know, I know, HD-DVD lost the war, stopped production and all the movie studios dropped out, but... it was $50, came with 6 free movies (5 of them after a mail-in), the remote control for the XBox360, and it functions as a bootable USB optical drive for most [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.wiseontech.com/wp-content/uploads/2008/02/stnhddvdnew002.jpg' alt='' align="left"/>So I bought an HD-DVD player. I know, I know, HD-DVD lost the war, stopped production and all the movie studios dropped out, but... it was $50, came with 6 free movies (5 of them after a mail-in), the remote control for the XBox360, <i>and</i> it functions as a bootable USB optical drive for most computers. How could I say no?</p>
<p><img src='http://www.wiseontech.com/wp-content/uploads/2008/02/hd-dvd.jpg' alt='' align="right"/>Seriously though, I will go Blu eventually, but right now the players cost way too much, the spec implementation hasn't matured, and neither of those huge problems is looking to be solved this year. I'm frankly surprised and dismayed that HD-DVD lost. Every decision Toshiba made was pro-consumer: they drove the price down fast, they had a solid and stable spec, they had good hardware from good partners, and... well, they're not Sony.</p>
<p>At any rate, I'll enjoy my 6 HD movies, and maybe pick up a couple more when the media goes on clearance, just to tide me over until Blu-ray gets affordable and functional. Personally I'm a big supporter of VoD, having had good experiences with iTunes and the XBox Live Marketplace, but realistically downloaded "HD" isn't quite as nice as what comes off a physical disc -- not yet anyway.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=48" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=48&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/toys/bought-an-hd-dvd-player/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drobo Looks Good</title>
		<link>http://www.wiseontech.com/review/drobo-looks-good</link>
		<comments>http://www.wiseontech.com/review/drobo-looks-good#comments</comments>
		<pubDate>Tue, 19 Feb 2008 16:54:49 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/review/drobo-looks-good</guid>
		<description><![CDATA[This thing solves all of RAID's problems, while maintain all the redundancy. If it had built-in NAS, instead of the add-on module that works by disabling local access, I'd buy one today. Even with that caveat, Drobo is how external disc storage should work. Watch the demo to see all its features.]]></description>
			<content:encoded><![CDATA[<p>This thing solves all of RAID's problems, while maintain all the redundancy. If it had built-in NAS, instead of the add-on module that works by disabling local access, I'd buy one today. Even with that caveat, Drobo is how external disc storage should work.</p>
<ul>
<li><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kcm9iby5jb20vcHJvZHVjdHNfZGVtby5hc3B4">Watch the demo</a> to see all its features.</li>
</ul>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=44" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=44&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/review/drobo-looks-good/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handy RAID Calculator</title>
		<link>http://www.wiseontech.com/link/handy-raid-calculator</link>
		<comments>http://www.wiseontech.com/link/handy-raid-calculator#comments</comments>
		<pubDate>Fri, 15 Feb 2008 20:32:46 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/link/handy-raid-calculator</guid>
		<description><![CDATA[Have trouble remembering which RAID does which? I sure do! I mean, really a numeric naming system doesn't suggest that much information about which type does what? Fortunately, iBeast provides this handy RAID Calculator. Redhat's online documentation provides a good refresher as well.]]></description>
			<content:encoded><![CDATA[<p>Have trouble remembering which RAID does which? I sure do! I mean, really a numeric naming system doesn't suggest that much information about which type does what?</p>
<p>Fortunately, iBeast provides this handy <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pYmVhc3QuY29tL2NvbnRlbnQvdG9vbHMvUmFpZENhbGMvUmFpZENhbGMuYXNwIA==" target=\"_blank\">RAID Calculator</a>.</p>
<p>Redhat's <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5yZWRoYXQuY29tL2RvY3MvbWFudWFscy9saW51eC9SSEwtNi4yLU1hbnVhbC9yZWYtZ3VpZGUvY2gtcmFpZC5odG1s">online documentation</a> provides a good refresher as well.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=43" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=43&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/link/handy-raid-calculator/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clean up Google Mail Folder Structure on your iPhone</title>
		<link>http://www.wiseontech.com/hack/clean-up-google-mail-folder-structure-on-your-iphone</link>
		<comments>http://www.wiseontech.com/hack/clean-up-google-mail-folder-structure-on-your-iphone#comments</comments>
		<pubDate>Thu, 31 Jan 2008 15:55:26 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[GMail]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/clean-up-google-mail-folder-structure-on-your-iphone</guid>
		<description><![CDATA[If you use GMail, or Google Apps for Your Domain on your iPhone, you've probably noticed an odd folder structure, with most of your folders being found under [Gmail]. This looks ugly, and it turns out, is easy to fix: In your "Advanced" Mail account settings, set the IMAP Path Prefix to "[Gmail]/" (The trailing [...]]]></description>
			<content:encoded><![CDATA[<p>If you use GMail, or Google Apps for Your Domain on your iPhone, you've probably noticed an odd folder structure, with most of your folders being found under [Gmail]. This looks ugly, and it turns out, is easy to fix:</p>
<ul>
<li>In your "Advanced" Mail account settings, set the IMAP Path Prefix to "[Gmail]/"</li>
<li>(The trailing / is added automatically)</li>
</ul>
<p>Now your folders will look flatter and <i>much</i> prettier. This works in Mail.app on your desktop Mac too! And don't worry -- it'll still be able to find the Inbox on its own.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=42" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=42&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/clean-up-google-mail-folder-structure-on-your-iphone/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using Mail.app with multiple users — using AppleScript: Part 2</title>
		<link>http://www.wiseontech.com/hack/using-mailapp-with-multiple-users-%e2%80%94-using-applescript-part-2</link>
		<comments>http://www.wiseontech.com/hack/using-mailapp-with-multiple-users-%e2%80%94-using-applescript-part-2#comments</comments>
		<pubDate>Mon, 28 Jan 2008 00:21:04 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/using-mailapp-with-multiple-users-%e2%80%94-using-applescript-part-2</guid>
		<description><![CDATA[The previous post, about hacking multi-user support into Mail.app, seems to have struck a chord, and there have been lots of great questions about how to extend the script, or customize its behavior or appearance. Things tend to get lost in the comments, so I figured I'd create a part 2 to answer some of [...]]]></description>
			<content:encoded><![CDATA[<p>The previous post, about <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL3VzaW5nLW1haWxhcHAtd2l0aC1tdWx0aXBsZS11c2Vycy11c2luZy1hcHBsZXNjcmlwdA==">hacking multi-user support into Mail.app</a>, seems to have struck a chord, and there have been lots of great questions about how to extend the script, or customize its behavior or appearance. Things tend to get lost in the comments, so I figured I'd create a part 2 to answer some of the questions that have popped up. If you haven't already, <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL3VzaW5nLW1haWxhcHAtd2l0aC1tdWx0aXBsZS11c2Vycy11c2luZy1hcHBsZXNjcmlwdA==">check out part 1</a> to get caught up.</p>
<p>Some of these might seem a little basic to long-time users, but lets remember that not everyone has been using a Mac since OS 7 (or earlier!) and cut the newly Mac-faithful some slack...</p>
<p><strong>Evan asks: Absolutely perfect, exactly what I was looking for. Well, almost. How about adding a 3rd account?</strong></p>
<div style="border-top: 1px solid #c0c0c0; padding-top: 8px; margin-bottom: 12px; margin-left: 6px;">A third account is done very easily by modifying the script slightly. (<strong>Update</strong>: If you'd like to do more than 3 accounts, see the solution in the comments which changes our user interface to a listbox)</p>
<p>The first thing you'll want to do is update our crude little user interface to ask about the third account. This line here decides what options show up in the dialog box:</p>
<p><code>display dialog "Choose the Mail account to use" buttons {"Jonathan", "Nicole"} default button 1 with icon note</code></p>
<p>You can add <span style="text-decoration: line-through;">as many</span> up to 3 options <span style="text-decoration: line-through;">as you want</span>, just by comma seperating them, so instead of {"Jonathan", "Elizabeth"} you could have {"Jonathan", "Elizabeth", "David"}<br />
Then you need to modify the "if" statement to support each individual referred to. In the original we said:</p>
<p><code>if the button returned of the result is "Jonathan" then<br />
-- do stuff to change account to Jonathan<br />
else<br />
-- do stuff to change account to Elizabeth<br />
end if</code></p>
<p>The <em>else</em> is a problem now because it assumes only two conditions. Instead of an <em>else</em>, we can do an <em>else if</em> -- one for each individual we want to switch between:</p>
<p><code>if the button returned of the result is "Jonathan" then<br />
-- do stuff to change account to Jonathan<br />
else if the button returned of the result is "Elizabeth" then<br />
-- do stuff to change account to Elizabeth<br />
else if the button returned of the result is "David" then<br />
-- do stuff to change account to David<br />
end if</code></p>
<p>Inside each condition you'll need to disable all the other accounts (<code>set enabled to account X to false</code>) and then enable the account they've chosen.</div>
<p><strong>Eric asks: I would like to attach to the script the mail icon or a similar icon. Then when I added it to the dock, it is more obvious to click it to run.</strong></p>
<div style="border-top: 1px solid #c0c0c0; padding-top: 8px; margin-bottom: 12px; margin-left: 6px;">This is one of those tricks that long time Mac users will know well, but is not very obvious for newer converts. You can copy and paste any icon from any application/document/folder to any other in the finder. Just click on the icon you want to "borrow" from and hit Apple + I for "Get Info." In the info dialog, click on the icon and hit Apple + C to copy the icon to the clipboard. Now find your target icon (such as the script you just made) and "Get Info" on it, click the icon in the dialog and this time hit Apple + P to paste. Now you have a pretty icon!</p>
<p>Note: This will be limited by permissions, so if your user doesn't have permission to 'write' to the target object, you won't be able to paste.</p></div>
<p><strong>Eric, having figured out the above on his own, then asks: My 2 problems are: 1, I can not add the script to the dock. 2, when I click the script icon, it take me to the editor where I then have to click RUN.</strong></p>
<div style="border-top: 1px solid #c0c0c0; padding-top: 8px; margin-bottom: 12px; margin-left: 6px;">A script, by itself is just a document. In order to make it into a runable application, you have to save it as such in Script Editor. From the File / Save As... dialog <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOC8wMS9zYXZlYXMucG5n" target=\"_blank\">change the File Format</a> to "application."</div>
<p>Under most circumstances you won't want to check the box for 'Run Only' because once you do, you cannot edit it in Script Editor again. Also, uncheck the box for 'Startup Screen' to make it run a little more gracefully.</p>
<p><img src="http://www.wiseontech.com/wp-content/uploads/2008/01/scriptmenu.png" alt="" align="right" />You may also find that the Dock is not the best place for your script -- since it will essentially give you two Mail icons. What I did instead was to enable the AppleScript menu and use that for all my common scripts.</p>
<p>If you want to do this, open the Application <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOC8wMS9zY3JpcHR1dGlsaXR5LnBuZw==" target=\"_blank\">AppleScript Utility</a> in the AppleScript folder and check the box for 'Show Script Menu in the menu bar.' You may also want to uncheck the box for "Show Library scripts" to hide the example scripts Apple includes to make your menu shorter.</p>
<p>Note: For scripts to show up in this menu you'll have to save them where your Mac expects your scripts to be: In your <em>user's</em> Library folder you'll find a folder called "Scripts." Put them, or an alias to them, in there.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=37" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=37&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/using-mailapp-with-multiple-users-%e2%80%94-using-applescript-part-2/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Tunneling For Security &#8211; Problems with a Proxy</title>
		<link>http://www.wiseontech.com/hack/tunneling-for-security-problems-with-a-proxy</link>
		<comments>http://www.wiseontech.com/hack/tunneling-for-security-problems-with-a-proxy#comments</comments>
		<pubDate>Thu, 24 Jan 2008 17:36:27 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/tunneling-for-security-problems-with-a-proxy</guid>
		<description><![CDATA[Here's the problem I'm currently working on. I don't have it solved yet, but I'm close -- blocked from educating myself further by the very system I'm trying to escape. At any rate, here's what I've got so far... For purposes of security, I want to tunnel my traffic through SSH... on a Mac... behind [...]]]></description>
			<content:encoded><![CDATA[<p>Here's the problem I'm currently working on. I don't have it solved yet, but I'm close -- blocked from educating myself further by the very system I'm trying to escape. At any rate, here's what I've got so far...</p>
<p>For purposes of security, I want to tunnel my traffic through SSH... on a Mac... behind a Proxy.</p>
<p>You'll find lots of webpages when you search for "ssh through proxy" that tell you how to use SSH as a proxy server. But I already know how to do that. I want to put that to use, but behind an existing proxy which limits Internet access. This isn't nearly as well documented.</p>
<p>For starters, on Windows you can use <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jaGlhcmsuZ3JlZW5lbmQub3JnLnVrL35zZ3RhdGhhbS9wdXR0eS8=">Putty</a>, or the excellent app <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5iaXR2aXNlLmNvbS90dW5uZWxpZXI=">Tunnelier</a> to establish an SSH tunnel to your home server, even behind a Proxy. You simply need to provide the proxy settings.<br />
This is very useful because if you're in a coffee shop, or somewhere else with open and exposed WiFi, it might be important to you that your passwords or online banking are encrypted.</p>
<p>On the Mac, there's a decent app called <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYWN1cGRhdGUuY29tL2luZm8ucGhwL2lkLzEwMTI4">SSH Tunnel Manager</a> that provides a UI for connecting to a tunnel. Its not much easier to use than a command line, but it does make things simpler. The only problem is, its not proxy aware either. It only works on an already unfettered Internet connection.</p>
<p>So we're back to the command line, trying to teach SSH how to use a Proxy server for its 'Net connection. What I've learned:</p>
<ul>
<li>SSH does not natively know about Proxy servers, but it does provide extensibility so that you can configure it to get help from another program</li>
<li>You configure this by editing the /etc/ssh_config file using a text editor</li>
<li>man ssh_config reveals that the parameter you want to add is called: ProxyCommand</li>
<li>A *nix app called Corkscrew provides this functionality for other flavours</li>
<li>The app has been ported to Mac via the Darwin Ports project</li>
<li>You can download DarwinPorts and make it work like apt_get by syncing it with its server</li>
<li>Then you can tell it to install Corkscrew for you</li>
<li>The DarwinPorts app uses rsync to get the latest sources to install on your computer</li>
<li>rsync does not natively know about Proxy servers, so the sync will fail and you won't be able to get Corkscrew...</li>
</ul>
<p>I'll try to get Corkscrew installed when I'm not stuck behind a Proxy and see if I can't figure out how to <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5rdmFlcy5iZS91bml4LWxpbnV4L3NzaC10dW5uZWwtdGhydS1odHRwLXByb3h5Lw==">edit the ssh_config file to make it use a proxy server</a>. What's frustrating is that the Mac has the Network System Preference that claims to be global, but that none of the command line apps they provided in their BSD flavour respect that configuration...</p>
<p>I'll post more if I figure this out.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=36" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=36&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/tunneling-for-security-problems-with-a-proxy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XBox360 + Connect360 + Linksys WRT54g (firmware hacked)</title>
		<link>http://www.wiseontech.com/hack/xbox360-connect360-linksys-wrt54g-firmware-hacked</link>
		<comments>http://www.wiseontech.com/hack/xbox360-connect360-linksys-wrt54g-firmware-hacked#comments</comments>
		<pubDate>Tue, 08 Jan 2008 13:49:55 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[XBox 360]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/xbox360-connect360-linksys-wrt54g-firmware-hacked</guid>
		<description><![CDATA[Nullriver's Connect360 is a fantastic little app that you can run on your Mac that will fool your XBox 360 into thinking its talking to a PC, allowing you to share your iTunes, iPhoto and video libraries with the 360 dashboard. The video transcoding is a little lossy, but for SD applications it works exactly [...]]]></description>
			<content:encoded><![CDATA[<p>Nullriver's <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5udWxscml2ZXIuY29tL2luZGV4L3Byb2R1Y3RzL2Nvbm5lY3QzNjA=">Connect360</a> is a <strong>fantastic </strong>little app that you can run on your Mac that will fool your XBox 360 into thinking its talking to a PC, allowing you to share your iTunes, iPhoto and video libraries with the 360 dashboard. The video transcoding is a little lossy, but for SD applications it works exactly as advertised. Well worth the $20 they're asking.</p>
<p>According to the <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5udWxscml2ZXIuY29tL2luZGV4L3N1cHBvcnQvY29ubmVjdDM2MA==" target=\"_blank\">Connect360 Support website</a>, you can't use Connect360 on your Mac to connect to your XBox 360 if your network uses a Linksys WRT54g with homebrew firmware on it. They're right -- it doesn't work.<img src="http://www.wiseontech.com/wp-content/uploads/2008/01/network.png" align="right" /></p>
<p>The solution is pretty simple, however. Abstract the Mac and the XBox from the router using a <em>good* </em>network switch. The switch will allow the two devices to communicate (via broadcast) with each other without having to go through the router, and all will work as expected.</p>
<p><em>*Note</em>: The Connect360 site also warns that some switches may cause a similar problem. I'm using a <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5uZXRnZWFyLmNvbS9Qcm9kdWN0cy9Td2l0Y2hlcy9EZXNrdG9wU3dpdGNoZXMvR1M2MDUuYXNweA==">NetGear Gigabit Switch</a> to accomplish this, and it works perfectly. YMMV.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=34" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=34&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/xbox360-connect360-linksys-wrt54g-firmware-hacked/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using Mail.app with multiple users &#8212; using AppleScript!</title>
		<link>http://www.wiseontech.com/hack/using-mailapp-with-multiple-users-using-applescript</link>
		<comments>http://www.wiseontech.com/hack/using-mailapp-with-multiple-users-using-applescript#comments</comments>
		<pubDate>Sun, 06 Jan 2008 19:15:07 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/using-mailapp-with-multiple-users-using-applescript</guid>
		<description><![CDATA[OK, this is pretty brilliant -- and SO simple. Here's the setup: my wife and I share a Mac at home. For memory reasons, among others, I don't want to use Fast User Switching, and because of my automated tasks, I don't want the primary account to ever be logged out. So all many of [...]]]></description>
			<content:encoded><![CDATA[<p>OK, this is pretty brilliant -- and SO simple.</p>
<p>Here's the setup: my wife and I share a Mac at home. For memory reasons, among others, I don't want to use Fast User Switching, and because of my automated tasks, I don't want the primary account to ever be logged out. So all many of our programs need to be set-up for two different users. Firefox has user profiles, that once configured, works perfect. Mail.app has no such thing. What I decided to then, was write an AppleScript that would switch Mail.app between users for us. This example is for two users, but it could be edited for more. Here's how to use it:</p>
<ul>
<li>Setup Mail accounts for each user</li>
<li>Modify the script to prompt for each user you have, and reference their account name</li>
<li>Replace your Mail.app dock icon with a link to your AppleScript (you can even give it the Mail.app icon)</li>
<li>Whenever you launch Mail, you'll be asked which user you want to use</li>
<li>Even better than that, you can switch users just by clicking the Mail icon in your dock again. You don't even have to close down Mail!</li>
</ul>
<p>The result looks like this whenever you invoke the script, and launches/reconfigures Mail within two seconds. Set the delay to longer if Mail.app takes longer to start on your Mac.</p>
<p><img class="size-medium wp-image-268" title="mailprompt" src="http://www.wiseontech.com/wp-content/uploads/2008/01/mailprompt1-300x94.png" alt="" /></p>
<p>The code is dead simple, and took me only moments to put together. Note that the delays and the order in which things are done is important so that it doesn't hang waiting for Mail to start if its not already open.<br />
<code><br />
-- Mail Account Chooser, by Jonathan Wise<br />
-- Add user profiles to Mail.app<br />
display dialog "Choose the Mail account to use" buttons {"Jonathan", "Elizabeth"} default button 1 with icon note<br />
if the button returned of the result is "Jonathan" then<br />
  tell application "Mail"<br />
    activate<br />
    delay 2<br />
    set enabled of account "Elizabeth Home" to false<br />
    set enabled of account "Jonathan Home" to true<br />
  end tell<br />
else<br />
  tell application "Mail"<br />
    activate<br />
    delay 2<br />
    set enabled of account "Jonathan Home" to false<br />
    set enabled of account "Elizabeth Home" to true<br />
  end tell<br />
end if<br />
</code></p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=32" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=32&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/using-mailapp-with-multiple-users-using-applescript/feed</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Using the Mouse Wheel in VB6</title>
		<link>http://www.wiseontech.com/hack/using-the-mouse-wheel-in-vb6</link>
		<comments>http://www.wiseontech.com/hack/using-the-mouse-wheel-in-vb6#comments</comments>
		<pubDate>Thu, 03 Jan 2008 20:38:59 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[VisualStudio]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/using-the-mouse-wheel-in-vb6</guid>
		<description><![CDATA[I'm embarrassed to say that I'm using VB6 at work right now. I haven't used VB since college, and it feels pretty old school. One minor annoyance, besides the sheer age of the language/environment is that you can't use the mouse wheel to scroll through your pages and pages of hard-to-read code. Fortunately, there's a [...]]]></description>
			<content:encoded><![CDATA[<p>I'm embarrassed to say that I'm using VB6 at work right now. I haven't used VB since college, and it feels pretty old school. One minor annoyance, besides the sheer age of the language/environment is that you can't use the mouse wheel to scroll through your pages and pages of hard-to-read code. Fortunately, there's a fix:</p>
<ul>
<li><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3N1cHBvcnQubWljcm9zb2Z0LmNvbS8/aWQ9ODM3OTEw" target=\"_blank\">Mouse Wheel Fix for VB6</a></li>
</ul>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=31" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=31&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/using-the-mouse-wheel-in-vb6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Question From A Reader: Mirroring an iTunes Library</title>
		<link>http://www.wiseontech.com/hack/question-from-a-reader-mirroring-an-itunes-library</link>
		<comments>http://www.wiseontech.com/hack/question-from-a-reader-mirroring-an-itunes-library#comments</comments>
		<pubDate>Fri, 21 Dec 2007 01:53:39 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Home Theater]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/hack/question-from-a-reader-mirroring-an-itunes-library</guid>
		<description><![CDATA[Shawn writes... …i’m looking all over these internets, and I have a feeling you can point me in the right direction. Short short version: how can I mirror/sync the itunes database file (just the database, not the song files themselves) between two macs on the same home network, so that any changes made on one [...]]]></description>
			<content:encoded><![CDATA[<p><em>Shawn writes...</em></p>
<p>…i’m looking all over these internets, and I have a feeling you can point me in the right direction.</p>
<p><strong>Short short version: how can I mirror/sync the itunes database file (just the database, not the song files themselves) between two macs on the same home network, so that any changes made on one mac will show up when itunes is opened on the other mac? Foldershare doesn’t seem to be working…</strong></p>
<p>I’m looking to:</p>
<ul>
<li>Store my itunes library (the files) on my mac mini, storing no mp3’s on my macbook pro (this is done, easily, by sharing the mini’s itunes folder and pointing the mbp to it…got that done already…it’s the sharing of the database file that I’m having trouble with)</li>
<li>Either NAS or external fw/usb drives for saving music/movies/photos attached to mini (raid 1 or 5…I’d love to hear suggestions of why a NAS or external would be a better bet…I’m leery about capability of NAS to stream high quality handbrake rips through my elcheapo linksys wrt54g router…would love to get lacie Ethernet RAID, but I don’t think it will cut it)</li>
<li>Use that repository of files on the mini/nas/external drive whenever i’m on my home network…rip a cd on the mbp, consolidate, it shoots over to the mac mini, and occasionally clean off the mbp so it’s got no MP3’s stored on it</li>
<li>Reference either the same library database file or have a mirrored library file on my macbook that updates/syncs regularly, so I can access the library (add new podcasts, new music from cd’s, etc.) even if I’m not on my home network</li>
</ul>
<p>Advantages:</p>
<ul>
<li>if i’m out and about, and add a cd to the mbp, or a podcast, I can still sync my ipod…the easiest solution of just pointing the MBP to the itunes library database on the mini is problematic, because if I’m off the network, I can’t use that library database, and I’ll get a blank itunes library, and not be able to sync the ipod. If, however, I set it up like I’m wanting to, whenever I’m out and open up itunes, I’ll just get the ‘grey exclamation point’ by all of the songs (because the actual files are still housed on the mini/external drive). Then, when I get back home and onto the home network, any changes I made to the itunes library (playcounts, playlists, etc.) would be mirrored back to the mini…and vice versa, if I happened to change the playlists on the mini…though I’m not so worried about changes from the mini being mirrored back to the MBP…that won’t happen all that often.</li>
</ul>
<p>Problems:</p>
<ul>
<li>I can’t get the damned itunes database file to mirror. I’ve tried foldershare to link folders between the two computers, and it *will* copy the itunes database over into each folder, but it loses some file information along the way: somehow, whenever it’s copied, the itunes database “turns into” a ‘unix executable file’, and is no longer recognized by itunes as a valid database file…I’ve looked at rsyncx (for about 15 minutes), but couldn’t figure out how to use it to do what I needed automatically.</li>
</ul>
<p><em>Great question, Shawn. As you've found, this is much harder than it should be. I do have some tips you might try, but I never got all the way to a solution myself, and eventually settled with a one-way solution. I've posted everything I've discovered in the comments below. I'd love to keep this discussion going and see if we can't find a way to get this done right... </em></p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=30" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=30&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/question-from-a-reader-mirroring-an-itunes-library/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
