<?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 jaimerios.com</title>
	<atom:link href="http://www.jaimerios.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.jaimerios.com</link>
	<description>My thoughts saved in UTF8</description>
	<lastBuildDate>Tue, 03 Aug 2010 20:03:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Funniest Video Ever by Jaime</title>
		<link>http://www.jaimerios.com/?p=248&#038;cpage=1#comment-4229</link>
		<dc:creator>Jaime</dc:creator>
		<pubDate>Tue, 03 Aug 2010 20:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaimerios.com/?p=248#comment-4229</guid>
		<description>August 03, 2010: Oh man... Why would they delete this video?</description>
		<content:encoded><![CDATA[<p>August 03, 2010: Oh man&#8230; Why would they delete this video?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculating distance between 2 points on Earth using the Haversine formula by David Cary</title>
		<link>http://www.jaimerios.com/?p=39&#038;cpage=1#comment-3677</link>
		<dc:creator>David Cary</dc:creator>
		<pubDate>Tue, 13 Jul 2010 04:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://jaimerios.com/?p=39#comment-3677</guid>
		<description>As Bob points out, using the actual haversine formula makes things a little simpler: you can replace

  double nA = pow ( sin(nDLat/2), 2 ) + cos(nLat1) * cos(nLat2) * pow ( sin(nDLon/2), 2 );
  double nC = 2 * atan2( sqrt(nA), sqrt( 1 - nA ));

with the slightly simpler

  double nA = haversin(nDLat) + cos(nLat1) * cos(nLat2) * haversin(nDLon);
  double nC = 2 * asin( sqrt(nA) );

I have no idea what Kiichi is talking about.
The Wikipedia: Earth radius article points out that the radius various from 6,357 km to 6,378 km, and suggests that if you must choose one particular value, &quot;6371 km&quot; is a good mean value.</description>
		<content:encoded><![CDATA[<p>As Bob points out, using the actual haversine formula makes things a little simpler: you can replace</p>
<p>  double nA = pow ( sin(nDLat/2), 2 ) + cos(nLat1) * cos(nLat2) * pow ( sin(nDLon/2), 2 );<br />
  double nC = 2 * atan2( sqrt(nA), sqrt( 1 &#8211; nA ));</p>
<p>with the slightly simpler</p>
<p>  double nA = haversin(nDLat) + cos(nLat1) * cos(nLat2) * haversin(nDLon);<br />
  double nC = 2 * asin( sqrt(nA) );</p>
<p>I have no idea what Kiichi is talking about.<br />
The Wikipedia: Earth radius article points out that the radius various from 6,357 km to 6,378 km, and suggests that if you must choose one particular value, &#8220;6371 km&#8221; is a good mean value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Xcode 3.1 and Perforce by Bob Sander-Cederlof</title>
		<link>http://www.jaimerios.com/?p=136&#038;cpage=1#comment-3425</link>
		<dc:creator>Bob Sander-Cederlof</dc:creator>
		<pubDate>Fri, 02 Jul 2010 16:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaimerios.com/?p=136#comment-3425</guid>
		<description>I am using something similar, but going directly to bash:

#!/bin/bash
# This script depends on a file named p4config being in the &quot;root&quot; directory
# For example, /Code/Flash/main/p4config has the following content:
#	P4ROOT=/Code/Flash/main
#	P4PORT=my.server.name:1666
#	P4CLIENT=myclient
#	P4USER=me
#	P4PASSWD=mypassword
# Here is what the Perforce docs say about p4config:
#Contains a file name without a path. The file(s) it points to are used to store other Perforce environment or registry variables. The current working directory (returned by PWD) and its parents are searched for the file. If the file exists, then the variable settings within the file are used.

export P4CONFIG=&quot;p4config&quot;

# The next two lines get a path that resolves any ../ elements
# because p4 cannot handle them.
FILE=%%%{PBXFilePath}%%%
ABS_FILE=`pwd`/${FILE##*/}

/usr/local/bin/p4 edit $ABS_FILE

# If success, swap to Finder and back so Xcode notices the file is unlocked
if [ $? = 0 ]; then
	open -a Finder
	open -a Xcode $ABS_FILE
fi</description>
		<content:encoded><![CDATA[<p>I am using something similar, but going directly to bash:</p>
<p>#!/bin/bash<br />
# This script depends on a file named p4config being in the &#8220;root&#8221; directory<br />
# For example, /Code/Flash/main/p4config has the following content:<br />
#	P4ROOT=/Code/Flash/main<br />
#	P4PORT=my.server.name:1666<br />
#	P4CLIENT=myclient<br />
#	P4USER=me<br />
#	P4PASSWD=mypassword<br />
# Here is what the Perforce docs say about p4config:<br />
#Contains a file name without a path. The file(s) it points to are used to store other Perforce environment or registry variables. The current working directory (returned by PWD) and its parents are searched for the file. If the file exists, then the variable settings within the file are used.</p>
<p>export P4CONFIG=&#8221;p4config&#8221;</p>
<p># The next two lines get a path that resolves any ../ elements<br />
# because p4 cannot handle them.<br />
FILE=%%%{PBXFilePath}%%%<br />
ABS_FILE=`pwd`/${FILE##*/}</p>
<p>/usr/local/bin/p4 edit $ABS_FILE</p>
<p># If success, swap to Finder and back so Xcode notices the file is unlocked<br />
if [ $? = 0 ]; then<br />
	open -a Finder<br />
	open -a Xcode $ABS_FILE<br />
fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculating distance between 2 points on Earth using the Haversine formula by bob</title>
		<link>http://www.jaimerios.com/?p=39&#038;cpage=1#comment-2840</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Fri, 16 Apr 2010 07:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://jaimerios.com/?p=39#comment-2840</guid>
		<description>&quot;2.atan2(?a, ?(1?a))&quot; can be written simpler (for all arguments) as &quot;2.asin(?a)&quot;</description>
		<content:encoded><![CDATA[<p>&#8220;2.atan2(?a, ?(1?a))&#8221; can be written simpler (for all arguments) as &#8220;2.asin(?a)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using regex to replace a path by Jaime</title>
		<link>http://www.jaimerios.com/?p=240&#038;cpage=1#comment-2262</link>
		<dc:creator>Jaime</dc:creator>
		<pubDate>Tue, 09 Feb 2010 16:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaimerios.com/?p=240#comment-2262</guid>
		<description>Now what&#039;s the fun of having a SCM if you don&#039;t mess up files occasionally? ... Kidding ... Kidding!

Actually, my co-worker warned me of that already. Thankfully, the project I was working with, or I should say projects, were all non-production stuff, each one which had at least 5 targets... 

So, you see I had motivation to use the nasty approach instead of the click-click-double-click-times-300 approach.</description>
		<content:encoded><![CDATA[<p>Now what&#8217;s the fun of having a SCM if you don&#8217;t mess up files occasionally? &#8230; Kidding &#8230; Kidding!</p>
<p>Actually, my co-worker warned me of that already. Thankfully, the project I was working with, or I should say projects, were all non-production stuff, each one which had at least 5 targets&#8230; </p>
<p>So, you see I had motivation to use the nasty approach instead of the click-click-double-click-times-300 approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using regex to replace a path by zack</title>
		<link>http://www.jaimerios.com/?p=240&#038;cpage=1#comment-2258</link>
		<dc:creator>zack</dc:creator>
		<pubDate>Tue, 09 Feb 2010 12:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaimerios.com/?p=240#comment-2258</guid>
		<description>Editing the project file is asking for trouble.  Why not just use Xcode&#039;s built in search to find the strings in the project build settings?</description>
		<content:encoded><![CDATA[<p>Editing the project file is asking for trouble.  Why not just use Xcode&#8217;s built in search to find the strings in the project build settings?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculating distance between 2 points on Earth using the Haversine formula by Jaime</title>
		<link>http://www.jaimerios.com/?p=39&#038;cpage=1#comment-2084</link>
		<dc:creator>Jaime</dc:creator>
		<pubDate>Thu, 31 Dec 2009 13:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://jaimerios.com/?p=39#comment-2084</guid>
		<description>You&#039;re welcome! It took me a while to put this together but it was definitely worth it.</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome! It took me a while to put this together but it was definitely worth it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculating distance between 2 points on Earth using the Haversine formula by Paul</title>
		<link>http://www.jaimerios.com/?p=39&#038;cpage=1#comment-2079</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 30 Dec 2009 23:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://jaimerios.com/?p=39#comment-2079</guid>
		<description>Thanks for taking the time to publish this.
Paul K.</description>
		<content:encoded><![CDATA[<p>Thanks for taking the time to publish this.<br />
Paul K.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weird EXC_BAD_ACCESS error with NSPopAutoreleasePool by NSAutoreleasePool with a chance of EXC_BAD_ACCESS &#171; ep.iPhone.y</title>
		<link>http://www.jaimerios.com/?p=122&#038;cpage=1#comment-2012</link>
		<dc:creator>NSAutoreleasePool with a chance of EXC_BAD_ACCESS &#171; ep.iPhone.y</dc:creator>
		<pubDate>Fri, 11 Dec 2009 17:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaimerios.com/?p=122#comment-2012</guid>
		<description>[...] I stepped through the code and was surprised to find that the EXC_BAD_ACCESS was actually happening on the NSLog(@&quot;Error: %@&quot;, [error localizedDescription]); statement. I wasn&#8217;t sure if I wasn&#8217;t retaining the error like I should so I added retain and release statements around the log statement&#8230; no luck. I searched the web and found next to nothing that would work for me&#8230; except http://www.jaimerios.com/?p=122. [...]</description>
		<content:encoded><![CDATA[<p>[...] I stepped through the code and was surprised to find that the EXC_BAD_ACCESS was actually happening on the NSLog(@&quot;Error: %@&quot;, [error localizedDescription]); statement. I wasn&#8217;t sure if I wasn&#8217;t retaining the error like I should so I added retain and release statements around the log statement&#8230; no luck. I searched the web and found next to nothing that would work for me&#8230; except <a href="http://www.jaimerios.com/?p=122" rel="nofollow">http://www.jaimerios.com/?p=122</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculating distance between 2 points on Earth using the Haversine formula by Kiichi</title>
		<link>http://www.jaimerios.com/?p=39&#038;cpage=1#comment-1652</link>
		<dc:creator>Kiichi</dc:creator>
		<pubDate>Wed, 23 Sep 2009 16:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://jaimerios.com/?p=39#comment-1652</guid>
		<description>Just for your information,

 Earth&#039;s radius in Kilometers
 6372.797


for better precision.</description>
		<content:encoded><![CDATA[<p>Just for your information,</p>
<p> Earth&#8217;s radius in Kilometers<br />
 6372.797</p>
<p>for better precision.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
