<?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 Talk Nerdy To Me - Java, C#, .Net</title>
	<atom:link href="http://www.gavaghan.org/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gavaghan.org/blog</link>
	<description>Mike Gavaghan blogs on Java, C#, .Net, and the software industry</description>
	<lastBuildDate>Fri, 03 Sep 2010 16:52:29 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Intercepting Add and Remove of C# Event Delegates by Zachary</title>
		<link>http://www.gavaghan.org/blog/2007/07/25/intercepting-add-and-remove-of-c-event-delegates/comment-page-1/#comment-834</link>
		<dc:creator>Zachary</dc:creator>
		<pubDate>Fri, 03 Sep 2010 16:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/07/25/intercepting-add-and-remove-of-c-event-delegates/#comment-834</guid>
		<description>Echoing what Hank Hatch says below, using this direct wrap function enables you to wrap built in .NET classes like BackgroundWorker and abstract an Interface for testing purposes (ie generating mocks etc) and using the Decorator Pattern (ref Head First Design Patterns).

Hank Hatch Says: 

November 3rd, 2008 at 11:46 am 
Also it is more of a direct wrap to do it like this -&gt;

private StateMachineEventHandler canTransition;
public event StateMachineEventHandler CanTranistion
{
add { this.canTransition += value; }
remove { this.canTransition -= value; }
}

which is pretty darn simple considering the power it can give you.</description>
		<content:encoded><![CDATA[<p>Echoing what Hank Hatch says below, using this direct wrap function enables you to wrap built in .NET classes like BackgroundWorker and abstract an Interface for testing purposes (ie generating mocks etc) and using the Decorator Pattern (ref Head First Design Patterns).</p>
<p>Hank Hatch Says: </p>
<p>November 3rd, 2008 at 11:46 am<br />
Also it is more of a direct wrap to do it like this -&gt;</p>
<p>private StateMachineEventHandler canTransition;<br />
public event StateMachineEventHandler CanTranistion<br />
{<br />
add { this.canTransition += value; }<br />
remove { this.canTransition -= value; }<br />
}</p>
<p>which is pretty darn simple considering the power it can give you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C#, GPS Receivers, and Geocaching: Vincenty&#8217;s Formula by steve</title>
		<link>http://www.gavaghan.org/blog/2007/08/06/c-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-833</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Mon, 23 Aug 2010 09:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/08/06/c-gps-receivers-and-geocaching-vincentys-formula/#comment-833</guid>
		<description>Hi Mike,

Just wanted to say thanks for ur c# implementation of Vincenty’s formula, 

cheers,
 steve</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Just wanted to say thanks for ur c# implementation of Vincenty’s formula, </p>
<p>cheers,<br />
 steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C#, GPS Receivers, and Geocaching: Vincenty&#8217;s Formula by Aharon Levine</title>
		<link>http://www.gavaghan.org/blog/2007/08/06/c-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-832</link>
		<dc:creator>Aharon Levine</dc:creator>
		<pubDate>Tue, 10 Aug 2010 09:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/08/06/c-gps-receivers-and-geocaching-vincentys-formula/#comment-832</guid>
		<description>Hi Mike

Thanks so much for sharing this brilliant code, it has proved invaluable to me in several projects.
I would like to propose a small change which made the code more robust for real applications:
The function GeodeticCalculator.calculateEndingGlobalCoordinates(...) goes into an infinite loop if its distance parameter is given as 0.
I added these lines to the beginning of the function:

if (distance == 0)
{
	 return new GlobalCoordinates(start.getLatitude(), start.getLongitude());
}

Thanks again
Aharon</description>
		<content:encoded><![CDATA[<p>Hi Mike</p>
<p>Thanks so much for sharing this brilliant code, it has proved invaluable to me in several projects.<br />
I would like to propose a small change which made the code more robust for real applications:<br />
The function GeodeticCalculator.calculateEndingGlobalCoordinates(&#8230;) goes into an infinite loop if its distance parameter is given as 0.<br />
I added these lines to the beginning of the function:</p>
<p>if (distance == 0)<br />
{<br />
	 return new GlobalCoordinates(start.getLatitude(), start.getLongitude());<br />
}</p>
<p>Thanks again<br />
Aharon</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Got Requirements?  If Not, You&#8217;re Doomed by CS</title>
		<link>http://www.gavaghan.org/blog/2008/03/31/got-requirements-if-not-youre-doomed/comment-page-1/#comment-831</link>
		<dc:creator>CS</dc:creator>
		<pubDate>Wed, 14 Jul 2010 17:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2008/03/31/got-requirements-if-not-youre-doomed/#comment-831</guid>
		<description>NO MMS!!!!! (This is the best article that I have ever read )</description>
		<content:encoded><![CDATA[<p>NO MMS!!!!! (This is the best article that I have ever read )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java, GPS Receivers, and Geocaching: Vincenty’s Formula by rick</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-830</link>
		<dc:creator>rick</dc:creator>
		<pubDate>Fri, 07 May 2010 12:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-830</guid>
		<description>That makes perfect sense - thanks. 

rick</description>
		<content:encoded><![CDATA[<p>That makes perfect sense &#8211; thanks. </p>
<p>rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java, GPS Receivers, and Geocaching: Vincenty’s Formula by Mike Gavaghan</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-829</link>
		<dc:creator>Mike Gavaghan</dc:creator>
		<pubDate>Thu, 06 May 2010 19:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-829</guid>
		<description>Hi Rick,

The reason is because the shortest path between two points at the same latitude doesn&#039;t follow the latitudinal line (unless you&#039;re on the equator).  If you&#039;re not on the equator, the shortest path will bow out toward the nearest pole.

Try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, 101, 0.0).  Because these points are very close, the azimuth is 89.65 (very nearly 90).

Now, try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, -75, 0.0).  These two points are on nearly opposite sides.  The azimuth is 3.53.  In order words, the shortest path takes you right by the north pole.

Make sense?

--Mike</description>
		<content:encoded><![CDATA[<p>Hi Rick,</p>
<p>The reason is because the shortest path between two points at the same latitude doesn&#8217;t follow the latitudinal line (unless you&#8217;re on the equator).  If you&#8217;re not on the equator, the shortest path will bow out toward the nearest pole.</p>
<p>Try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, 101, 0.0).  Because these points are very close, the azimuth is 89.65 (very nearly 90).</p>
<p>Now, try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, -75, 0.0).  These two points are on nearly opposite sides.  The azimuth is 3.53.  In order words, the shortest path takes you right by the north pole.</p>
<p>Make sense?</p>
<p>&#8211;Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java, GPS Receivers, and Geocaching: Vincenty’s Formula by rick</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-828</link>
		<dc:creator>rick</dc:creator>
		<pubDate>Thu, 06 May 2010 01:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-828</guid>
		<description>I used the Geodetic Calculator to determine the azimuth given 2 points at the same latitude using the WGS84 ellipsoid:
GlobalPosition(45, 100, 0.0);
GlobalPosition(45, 140, 0.0); 

However, the azimuth returned was not 90 degrees as I expected, but about 75 degrees. As I change the longitude, I get different angles for the azimuth. Maybe I don&#039;t understand this correctly, but the answer seems counter-intuitive. Could someone explain?

thanks

rick</description>
		<content:encoded><![CDATA[<p>I used the Geodetic Calculator to determine the azimuth given 2 points at the same latitude using the WGS84 ellipsoid:<br />
GlobalPosition(45, 100, 0.0);<br />
GlobalPosition(45, 140, 0.0); </p>
<p>However, the azimuth returned was not 90 degrees as I expected, but about 75 degrees. As I change the longitude, I get different angles for the azimuth. Maybe I don&#8217;t understand this correctly, but the answer seems counter-intuitive. Could someone explain?</p>
<p>thanks</p>
<p>rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Understanding SSL – Part 1: Certificates and Keys by Sunder Tatta</title>
		<link>http://www.gavaghan.org/blog/2009/10/14/understanding-ssl-%e2%80%93-part-1-certificates-and-keys/comment-page-1/#comment-827</link>
		<dc:creator>Sunder Tatta</dc:creator>
		<pubDate>Mon, 26 Apr 2010 18:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2009/10/14/understanding-ssl-%e2%80%93-part-1-certificates-and-keys/#comment-827</guid>
		<description>A very nice explanation of the SSL concepts. Well done Sir!</description>
		<content:encoded><![CDATA[<p>A very nice explanation of the SSL concepts. Well done Sir!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
