<?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>Aaron Lerch &#187; mac</title>
	<atom:link href="http://www.aaronlerch.com/blog/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronlerch.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 12:45:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Writing web apps for the iPhone</title>
		<link>http://www.aaronlerch.com/blog/2007/10/27/writing-web-apps-for-the-iphone/</link>
		<comments>http://www.aaronlerch.com/blog/2007/10/27/writing-web-apps-for-the-iphone/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 04:01:21 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/10/27/writing-web-apps-for-the-iphone/</guid>
		<description><![CDATA[I&#8217;ve been working on a web app for the iPhone the last few days. It&#8217;s been a little while since I&#8217;ve done ASP.NET (I miss it!) so it&#8217;s fun to jump back in. I came across iUI &#8211; a very well done, lightweight and visually beautiful &#8220;mini-framework&#8221; for creating web sites that behave just like [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a web app for the iPhone the last few days. It&#8217;s been a little while since I&#8217;ve done ASP.NET (I miss it!) so it&#8217;s fun to jump back in. I came across <a href="http://code.google.com/p/iui/">iUI</a> &#8211; a very well done, lightweight and visually beautiful &#8220;mini-framework&#8221; for creating web sites that behave just like native iPhone applications. Digg.com used an early version of iUI to create their <a href="http://digg.com/iphone">iPhone interface</a>.</p>
<p>Unfortunately, to use the HTML structure and navigation paradigm that iUI supports out of the box, I feel more like I&#8217;m coding in classic ASP, not ASP.NET. iUI (as it currently stands) is all about replacing the current page fragment with one returned from the server via an Ajax call. Sort of like a bunch of UpdatePanel&#8217;s that keep replacing each other&#8211;except that the last instance isn&#8217;t removed, just hidden. So if you navigate to a &#8220;sub page&#8221; (or sub menu) and perform an action that causes a state change such that an already-loaded higher level menu should be updated, it won&#8217;t be. It&#8217;s cached.</p>
<p>Alas, these are the issues I&#8217;m working around. I&#8217;m working on some possible tweaks to iUI to help support some of this functionality. I&#8217;ll probably post something when my app is done with a quick tutorial on how to use the toolkit from ASP.NET&#8211;assuming I figure it out. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Has anybody out there used iUI and have advice for me? I&#8217;m interested! I&#8217;ll pay big bucks&#8230; I&#8217;ll take you out for a fancy fast-food meal. How can you pass that up??</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8623fa52-93ba-4381-9cf9-d95f3150ba7d" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/iPhone" rel="tag">iPhone</a>, <a href="http://technorati.com/tags/iUI" rel="tag">iUI</a>, <a href="http://technorati.com/tags/ASP.NET" rel="tag">ASP.NET</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/10/27/writing-web-apps-for-the-iphone/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using Synergy to Link Computers</title>
		<link>http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/</link>
		<comments>http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 17:02:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/</guid>
		<description><![CDATA[If you haven&#8217;t heard of the open-source project called Synergy, and use more than one computer side-by-side, you need to check it out.  In a nutshell, it unifies individual (and often disparate) computers; connecting monitors, keyboards, mice, and &#8220;clipboards&#8221; via the network.
It claims to support practically any version of Windows (from 95 to XP, [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard of the open-source project called <a href="http://synergy2.sourceforge.net/">Synergy</a>, and use more than one computer side-by-side, you need to check it out.  In a nutshell, it unifies individual (and often disparate) computers; connecting monitors, keyboards, mice, and &#8220;clipboards&#8221; via the network.</p>
<p>It claims to support practically any version of Windows (from 95 to XP, and I&#8217;m personally running it on Vista), as well as Mac OS X 10.2+ and *nix (primarily tested on Linux).</p>
<p><a href="http://www.flickr.com/photos/31828990@N00/1140197942/" title="View on Flickr (has notes with hotspots)" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/MyOfficeRig.jpg" style="border: 0px none " alt="My Office Rig" align="right" border="0" height="143" width="190" /></a>When I <a href="http://www.aaronlerch.com/blog/2007/08/office.html">posted about my office setup</a>, I included a picture of my 3 monitor setup, plus my MacBook Pro.  Thanks to Synergy, I essentially have <em>four</em> monitors.  Moving my mouse off the left edge of my Windows desktop instantly transfers it to the right edge of my Mac&#8217;s desktop, along with my keyboard focus and clipboard.  It only supports plain-text clipboard contents for Windows &lt;-&gt; Mac, but 9 times out of 10 that&#8217;s sufficient. (Submit a patch with the fix, if you feel brave!)</p>
<p>One thing is that configuring Synergy <a href="http://www.aaronlerch.com/blog/2007/08/decision-making-and-ui-design.html">sucks</a>.  On the Mac (and *nix) you have to know how to edit a .conf text file.  In Windows, it&#8217;s hardly better.  You have to reference your computers by hostname, which causes me grief when I connect my Mac via VPN and sometimes get an arbitrary hostname assigned to me.  Also, in Vista, you must always run the application as an administrator, or else no dice.</p>
<p>Here&#8217;s a handy guide to configuring Synergy 1.3.1&#8211;focused on my particular setup, and assuming you keep most of the defaults. We won&#8217;t get too &#8220;fancy&#8221; here. If you want more advanced information, check out the links under the Documentation section on <a href="http://synergy2.sourceforge.net/">the SourceForge page</a>.</p>
<h5>Windows (Running Synergy as a server)</h5>
<p>Start Synergy, and select &#8220;Share this computer&#8217;s keyboard and mouse (server)&#8221;, then click &#8220;Configure&#8221;<br />
<img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/image.png" style="border: 0px none " alt="Synergy server" border="0" height="70" width="444" /></p>
<p>The first step is to define your &#8220;screens&#8221;. A screen is really just &#8220;a computer&#8221;. In my case, a single PC has 3 monitors &#8211; that&#8217;s one &#8220;screen&#8221;. Click the super-fancy-awesome plus sign button (&#8220;+&#8221;) under the &#8220;Screens:&#8221; list box to add a new screen. Synergy recommends you use the computer name as the screen name, unless you&#8217;ve got a good reason not to, I agree with them&#8211;but for the server setup it doesn&#8217;t really matter. As far as I can tell, though, it&#8217;s purely cosmetic since you can use the &#8220;aliases&#8221; to map hostnames to a friendly name. Enter the screen name (your computer&#8217;s hostname) and optionally any aliases. It&#8217;s important to reiterate that both &#8220;screen name&#8221; and &#8220;aliases&#8221; are used to identify remote computers via the incoming/outgoing network connection.<br />
<img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/image_3.png" style="border: 0px none " alt="image" border="0" height="113" width="298" /><br />
I left all the other options as default (just to get something going). But essentially you can control which modifier keys are also sent over the network (or not), as well as &#8220;dead zones&#8221; on the screen that shouldn&#8217;t swap the mouse out.</p>
<p>Each computer needs to know about every other computer, so you&#8217;ll have to add a new &#8220;screen&#8221; for every box you want to hook up. Go ahead and do that, I&#8217;ll wait. Ready? Wishing they had some sort of &#8220;auto-discovery&#8221;? Me too. The next step is to &#8220;link up&#8221; your screens. You basically have to tell Synergy how they are positioned/connected. In my case, my laptop is directly to the left (and a little below) my main PC &#8220;screen&#8221; (remember, all 3 count as one to Synergy&#8211;it&#8217;s about &#8220;desktops&#8221; really).</p>
<p>Click &#8220;[New Link]&#8221; in the &#8220;Links&#8221; listbox and enter your information (explained in a sec) &#8212; then click the &#8220;+&#8221; button (genius!) to add it. Wash, rinse, and repeat until you&#8217;ve got it all set up.</p>
<p><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/image_4.png" style="border: 0px none " alt="image" border="0" width="500" /></p>
<p>The reason this is so complex is that you can configure portions of screens that link to portions of other screens. In the above example, I&#8217;m configuring the entire left side of my work PC (0-100%) to map to the entire edge of my Mac (0-100%) &#8212; on the Mac I configure which edge (left/right/etc) lines up with my work PC. Why would I want anything different? Consider the following extreme configuration:</p>
<p><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/screenlayout_thumb.gif" alt="screen layout" border="0" /></p>
<p>In this &#8220;screen&#8221; layout, I would map:</p>
<ul>
<li>0-50% of the left of Screen 3 to 0-100% of Screen 1</li>
<li>50-100% of the left of Screen 3 to 0-100% of Screen 2</li>
<li>0-100% of the bottom of Screen 2 to 0-60% of Screen 4</li>
<li>etc.</li>
</ul>
<p>Make sense? I hope so, because it&#8217;s a real pain to configure. And each &#8220;screen&#8221; has to be configured to match &#8212; so on Screen 1&#8217;s configuration, 0-100% of the left side goes to 0-50% of Screen 3. So much can be done here in terms of auto-config, it&#8217;s not even funny.</p>
<p>The good news is that you&#8217;re basically done. You can test your configuration by clicking &#8220;Test&#8221; in the main dialog, which simply starts the server allowing you to cancel it. I recommend using the &#8220;Test&#8221; mode until you&#8217;ve got it all set up, because otherwise it runs in the background and there&#8217;s no way to change the configuration without restarting the application. (Fun.) You can also configure some advanced options (like network port numbers, and auto-start options).</p>
<h5>Mac (Running Synergy as a client)</h5>
<p>This is the fun part. The UI on Windows at least abstracts out the configuration file describing the screens&#8211;no such luck on a Mac. And on a Mac, of all places! Synergy on the Mac includes a sample .conf file, which really helps. Here&#8217;s an example .conf file &#8211; it gets more advanced than this, but for basic stuff you don&#8217;t need anything more. Notice that I&#8217;m not specifying any percentages because they&#8217;re all 0-100%. If you want to get more complicated, I recommend reading the documentation. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>section: screens<br />
LERCHWORKPC:<br />
maclerch.local:<br />
end</p>
<p>section: links<br />
# lerchworkpc is to the right of maclerch.local<br />
maclerch.local:<br />
right = LERCHWORKPC<br />
LERCHWORKPC:<br />
left = maclerch.local<br />
end</p>
<p>Basically I&#8217;m identifying all the screens involved: LERCHWORKPC and maclerch.local. Then I&#8217;m associating them: to the right of maclerch.local is LERCHWORKPC, and to the left of LERCHWORKPC is maclerch.local. Nuff said.</p>
<p>To run Synergy in client mode, bring up Terminal (the Mac&#8217;s saving grace: a command-prompt), and drag-and-drop &#8220;synergyc&#8221; from the install location (by install I mean &#8220;where you unpackaged the files&#8221;) onto Terminal. Add &#8220;-f&#8221; and the name of the computer running the Synergy server, and press Return.</p>
<p>Drag &#8220;synergyc&#8221; from here&#8230; (assuming you installed it here)<br />
<a href="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture2.png" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture2_thumb.png" style="border: 0px none " alt="Applications (Mac)" border="0" width="500" /></a></p>
<p>&#8230; to here.  So your command looks something like this:<a href="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture1.png" atomicselection="true"><br />
<img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture1_thumb.png" style="border: 0px none " alt="Terminal (Mac)" border="0" width="500" /></a></p>
<p>The -f option tells Synergy not to run as a daemon. I prefer it because I can minimize Terminal and forget about it &#8211; but bring it back up to view the output or kill the app with CTRL+C easily if I want to. You can leave off &#8220;-f&#8221; to run it as a daemon and stop the process later, if you like.</p>
<p>That&#8217;s it, run the synergy client app and you&#8217;re all set up. Well I should rephrase. <em>I&#8217;m</em> all set up. Everybody has different configurations, so hopefully this will be a good stepping stone for you to get yours working.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mac: Parallels or Fusion?</title>
		<link>http://www.aaronlerch.com/blog/2007/07/09/mac-parallels-or-fusion/</link>
		<comments>http://www.aaronlerch.com/blog/2007/07/09/mac-parallels-or-fusion/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 22:50:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/07/09/mac-parallels-or-fusion/</guid>
		<description><![CDATA[I recently purchased a MacBook Pro.  So far, I&#8217;m really enjoying my experience.  The first computer I used was a Mac &#8211; my dad bought a Mac Plus when it first came out (and has never used a windows machine since), and I have fond memories of the two of us sitting at [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased a <a href="http://www.apple.com/macbookpro/">MacBook Pro</a>.  So far, I&#8217;m really enjoying my experience.  The first computer I used was a Mac &#8211; my dad bought a <a href="http://lowendmac.com/compact/plus.shtml">Mac Plus</a> when it first came out (and has never used a windows machine since), and I have fond memories of the two of us sitting at the kitchen table going through the &#8220;how to use a mouse&#8221; tutorial.  Ahhh, good times.</p>
<p>So, where was I? Oh yeah, the reasons I pulled the trigger to buy a Mac are because I can run Windows on it, the hardware is superb, and I want to get used to a Mac again (for no particular reason).  My dad, if he were reading this, probably just disowned me for putting Windows on it! <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   A key desire of mine was to use <a href="http://www.apple.com/macosx/bootcamp/">Boot Camp</a> for the speed of running Windows natively, but also to use VM software to access that same Boot Camp partition on the hard drive from within Mac OS X.  I thought only <a href="http://www.vmware.com/mac">VMWare&#8217;s Fusion</a> (now available as a Release Candidate &#8212; GA in August) would support that, but after listening to <a href="http://www.hanselminutes.com/default.aspx?showID=84">Hanselminutes #67</a> (&#8220;Hanselminutae-four&#8221;) I found out that <a href="http://www.parallels.com/products/desktop">Parallels</a>&#8211;the current &#8220;industry standard&#8221;&#8211;does indeed support it.</p>
<p>So I ask you &#8212; which is better? Parallels or Fusion? I&#8217;ve installed them both, run them both, and here&#8217;s my current pro/con list:</p>
<table>
<tr>
<th class="first" colspan="2" width="50%">Pros</th>
<th colspan="2" width="50%">Cons</th>
</tr>
</table>
<p>So far Parallels is on top, but I know I&#8217;m not considering all the facts. What do you think? Have any advice, or anything for me to add to the pros/cons list? I&#8217;ll update the table based on comments. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/07/09/mac-parallels-or-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
