<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for in two places at once</title>
	<atom:link href="http://intwoplacesatonce.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://intwoplacesatonce.com</link>
	<description>instead of a rewrite</description>
	<lastBuildDate>Fri, 02 Sep 2011 15:19:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on the other thing about &#8220;using&#8221; blocks by DCam</title>
		<link>http://intwoplacesatonce.com/2011/09/the-other-thing-about-using-blocks/comment-page-1/#comment-2259</link>
		<dc:creator>DCam</dc:creator>
		<pubDate>Fri, 02 Sep 2011 15:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=145#comment-2259</guid>
		<description>@Teevus: You&#039;re right. I try to speak to anonymous scopes in the very last example, but yes, they can be free standing as well. I wouldn&#039;t want to use a &quot;using&quot; statement only to produce a scope, because an anonymous scope would do the same job more simply. Even when I am tempted to use an anonymous scope to limit some variable, I try to think up a good name for the scope and turn it in to a method.</description>
		<content:encoded><![CDATA[<p>@Teevus: You&#8217;re right. I try to speak to anonymous scopes in the very last example, but yes, they can be free standing as well. I wouldn&#8217;t want to use a &#8220;using&#8221; statement only to produce a scope, because an anonymous scope would do the same job more simply. Even when I am tempted to use an anonymous scope to limit some variable, I try to think up a good name for the scope and turn it in to a method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on the other thing about &#8220;using&#8221; blocks by Teevus</title>
		<link>http://intwoplacesatonce.com/2011/09/the-other-thing-about-using-blocks/comment-page-1/#comment-2256</link>
		<dc:creator>Teevus</dc:creator>
		<pubDate>Thu, 01 Sep 2011 08:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=145#comment-2256</guid>
		<description>Or you can just enclose the variable declaration and usage in a pair of curly brases (also works for non-IDisposable variables):

{
  var f = File.OpenText(&quot;/path/ro/file&quot;);
  contents = f.ReadToEnd();
}
f.ReadToEnd(); // Unknown identifier at compile time</description>
		<content:encoded><![CDATA[<p>Or you can just enclose the variable declaration and usage in a pair of curly brases (also works for non-IDisposable variables):</p>
<p>{<br />
  var f = File.OpenText(&#8220;/path/ro/file&#8221;);<br />
  contents = f.ReadToEnd();<br />
}<br />
f.ReadToEnd(); // Unknown identifier at compile time</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on the other thing about &#8220;using&#8221; blocks by ross</title>
		<link>http://intwoplacesatonce.com/2011/09/the-other-thing-about-using-blocks/comment-page-1/#comment-2254</link>
		<dc:creator>ross</dc:creator>
		<pubDate>Thu, 01 Sep 2011 05:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=145#comment-2254</guid>
		<description>good point.</description>
		<content:encoded><![CDATA[<p>good point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on remote desktop connection to localhost: a regression in Windows 7? by Eric</title>
		<link>http://intwoplacesatonce.com/2010/01/remote-desktop-connection-to-localhost-a-regression-in-windows-7/comment-page-1/#comment-2024</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 18 Jul 2011 13:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=101#comment-2024</guid>
		<description>Confirming, you do not need to enable &quot;Local ports accept connections from other hosts&quot;. Just change the IP as above to 127.0.0.2 and continue to use as normal.

Very happy, thanks for this!</description>
		<content:encoded><![CDATA[<p>Confirming, you do not need to enable &#8220;Local ports accept connections from other hosts&#8221;. Just change the IP as above to 127.0.0.2 and continue to use as normal.</p>
<p>Very happy, thanks for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on remote desktop connection to localhost: a regression in Windows 7? by Fred</title>
		<link>http://intwoplacesatonce.com/2010/01/remote-desktop-connection-to-localhost-a-regression-in-windows-7/comment-page-1/#comment-1224</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Tue, 29 Mar 2011 19:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=101#comment-1224</guid>
		<description>Thank you!  Very helpful indeed.</description>
		<content:encoded><![CDATA[<p>Thank you!  Very helpful indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on remote desktop connection to localhost: a regression in Windows 7? by John R</title>
		<link>http://intwoplacesatonce.com/2010/01/remote-desktop-connection-to-localhost-a-regression-in-windows-7/comment-page-1/#comment-575</link>
		<dc:creator>John R</dc:creator>
		<pubDate>Thu, 25 Nov 2010 03:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=101#comment-575</guid>
		<description>Thanks for sharing! Nice to see I wasn&#039;t the only one having this problem and happy you took the time to post the solution. Great job!</description>
		<content:encoded><![CDATA[<p>Thanks for sharing! Nice to see I wasn&#8217;t the only one having this problem and happy you took the time to post the solution. Great job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on restoring recovered files identity by DCam</title>
		<link>http://intwoplacesatonce.com/2010/10/restoring-recovered-files-identity/comment-page-1/#comment-497</link>
		<dc:creator>DCam</dc:creator>
		<pubDate>Fri, 05 Nov 2010 14:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=118#comment-497</guid>
		<description>@Adam: Does TestDisk recover the filenames too?</description>
		<content:encoded><![CDATA[<p>@Adam: Does TestDisk recover the filenames too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on objective-c test doubles on the cheap with brutal cast by DCam</title>
		<link>http://intwoplacesatonce.com/2010/09/objective-c-test-doubles-on-the-cheap-with-brutal-cast/comment-page-1/#comment-496</link>
		<dc:creator>DCam</dc:creator>
		<pubDate>Fri, 05 Nov 2010 14:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=113#comment-496</guid>
		<description>I like the &quot;id&quot; syntax. It is much cleaner than using a cast.

Unfortunately, the code base I was using this on was configured so that any use of id was a compile time error. We had to use casts there. On other code bases I&#039;ll use id.</description>
		<content:encoded><![CDATA[<p>I like the &#8220;id&#8221; syntax. It is much cleaner than using a cast.</p>
<p>Unfortunately, the code base I was using this on was configured so that any use of id was a compile time error. We had to use casts there. On other code bases I&#8217;ll use id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on objective-c test doubles on the cheap with brutal cast by Giles</title>
		<link>http://intwoplacesatonce.com/2010/09/objective-c-test-doubles-on-the-cheap-with-brutal-cast/comment-page-1/#comment-493</link>
		<dc:creator>Giles</dc:creator>
		<pubDate>Wed, 03 Nov 2010 13:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=113#comment-493</guid>
		<description>Personally, I try to avoid casts wherever possible. The C syntax for them is really hard to search for if you ever decide to change something. In this case you can use the Obj-C id type to avoid the need for the cast:

id stubLogger = [[[PretendLogger alloc] init] autorelease];

id can be used as a reference to any Obj-C type, and can be used wherever any Obj-C type is required.</description>
		<content:encoded><![CDATA[<p>Personally, I try to avoid casts wherever possible. The C syntax for them is really hard to search for if you ever decide to change something. In this case you can use the Obj-C id type to avoid the need for the cast:</p>
<p>id stubLogger = [[[PretendLogger alloc] init] autorelease];</p>
<p>id can be used as a reference to any Obj-C type, and can be used wherever any Obj-C type is required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on restoring recovered files identity by DCam</title>
		<link>http://intwoplacesatonce.com/2010/10/restoring-recovered-files-identity/comment-page-1/#comment-465</link>
		<dc:creator>DCam</dc:creator>
		<pubDate>Mon, 25 Oct 2010 02:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://intwoplacesatonce.com/?p=118#comment-465</guid>
		<description>@Bill: Unfortunately I&#039;m grepping the output of a command -- the file command. I don&#039;t think there&#039;s a way to use -H or -n in this case.

@Andy: I moved to HFS+ right after this happened. I use mediafour&#039;s MacDrive to read the drives from Windows. At the time I wasn&#039;t that confident in the open-source NTFS drivers. I don&#039;t remember exactly how I converted the filesystem over, but I think I used Coriolis&#039;s iPartition to resize partitions during the process.</description>
		<content:encoded><![CDATA[<p>@Bill: Unfortunately I&#8217;m grepping the output of a command &#8212; the file command. I don&#8217;t think there&#8217;s a way to use -H or -n in this case.</p>
<p>@Andy: I moved to HFS+ right after this happened. I use mediafour&#8217;s MacDrive to read the drives from Windows. At the time I wasn&#8217;t that confident in the open-source NTFS drivers. I don&#8217;t remember exactly how I converted the filesystem over, but I think I used Coriolis&#8217;s iPartition to resize partitions during the process.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

