<?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 on: Is that a Speedo in your pocket?</title>
	<atom:link href="http://www.thecssninja.com/javascript/pocket-speedo/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thecssninja.com/javascript/pocket-speedo</link>
	<description>All things CSS, JavaScript &#38; HTML</description>
	<lastBuildDate>Sat, 21 Jan 2012 04:46:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: The Css Ninja</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-2137</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Sat, 09 Oct 2010 01:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-2137</guid>
		<description>@Jim - The speed reading is very erractic on this web app as I&#039;m just outputting the speed attribute on the geolocation position. Like you said I would have to take that value and process it further so it isn&#039;t so erratic with it&#039;s readings. 

Thanks for using the web app. I plan to put it on github soonish so other people can improve on it.

&lt;blockquote&gt;For those of us too old, too mean or too AA (anti-Apple) to buy an iPhone, It would be a great candidate for a Firefox Prism application on a netbook.&lt;/blockquote&gt;

You certainly don&#039;t need an iPhone for this to work, it will work on most webkit based devices such as android or blackberry 6. With a few updates it will work on Mobile Firefox 4 and possibly Opera Mobile 10.</description>
		<content:encoded><![CDATA[<p>@Jim &#8211; The speed reading is very erractic on this web app as I&#8217;m just outputting the speed attribute on the geolocation position. Like you said I would have to take that value and process it further so it isn&#8217;t so erratic with it&#8217;s readings. </p>
<p>Thanks for using the web app. I plan to put it on github soonish so other people can improve on it.</p>
<blockquote><p>For those of us too old, too mean or too AA (anti-Apple) to buy an iPhone, It would be a great candidate for a Firefox Prism application on a netbook.</p></blockquote>
<p>You certainly don&#8217;t need an iPhone for this to work, it will work on most webkit based devices such as android or blackberry 6. With a few updates it will work on Mobile Firefox 4 and possibly Opera Mobile 10.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-2136</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sat, 09 Oct 2010 00:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-2136</guid>
		<description>Don&#039;t know if the problem with erratic reading when walking has already been sorted, but here&#039;s some info: 

Part of the problem is that, when you&#039;re walking, the GPS is moving not only in relation to the Earth but also in relation to your body, so it is calculating the speed in response to both movements. Using the app on a iPhone attached to the handlebars while riding a bike whould test if this eliminates the error. 

Probably the more important is the frequency of the speed calculation  - marine gps units, for example, have a damping factor built in to allow for the pitching and rocking of a boat which result in erratic speed readouts. A speed sampling routine which averages the speed over a few seconds when the speed is below 30km, for example, might be worthwhile. Another approach would be to ignore  speeds which are significantly different from the recent average speed.

This app rocks! For those of us too old, too mean or too AA (anti-Apple) to buy an iPhone, It would be a great candidate for a Firefox Prism application on a netbook.

How about adding in a little box underneath displaying elapsed mileage and a little reset button...</description>
		<content:encoded><![CDATA[<p>Don&#8217;t know if the problem with erratic reading when walking has already been sorted, but here&#8217;s some info: </p>
<p>Part of the problem is that, when you&#8217;re walking, the GPS is moving not only in relation to the Earth but also in relation to your body, so it is calculating the speed in response to both movements. Using the app on a iPhone attached to the handlebars while riding a bike whould test if this eliminates the error. </p>
<p>Probably the more important is the frequency of the speed calculation  &#8211; marine gps units, for example, have a damping factor built in to allow for the pitching and rocking of a boat which result in erratic speed readouts. A speed sampling routine which averages the speed over a few seconds when the speed is below 30km, for example, might be worthwhile. Another approach would be to ignore  speeds which are significantly different from the recent average speed.</p>
<p>This app rocks! For those of us too old, too mean or too AA (anti-Apple) to buy an iPhone, It would be a great candidate for a Firefox Prism application on a netbook.</p>
<p>How about adding in a little box underneath displaying elapsed mileage and a little reset button&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mogens Beltoft</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1669</link>
		<dc:creator>Mogens Beltoft</dc:creator>
		<pubDate>Thu, 08 Jul 2010 18:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1669</guid>
		<description>Actually - I guess I have solved it. I left a note from your contacts page, but the essense is seems to help to add options to the navigation calls:

&lt;pre lang=&quot;javascript&quot;&gt;
var options = {
  timeout: 10000,
  maximumAge: 20000,
  enableHighAccuracy: true
};

coordsListener = navigator.geolocation.watchPosition(TCNPS.updateStats, TCNPS.handleError, options);
&lt;/pre&gt;

and

&lt;pre lang=&quot;javascript&quot;&gt;
navigator.geolocation.getCurrentPosition(TCNPS.getSpeed, TCNPS.handleError, options);
&lt;/pre&gt;

/Mogens</description>
		<content:encoded><![CDATA[<p>Actually &#8211; I guess I have solved it. I left a note from your contacts page, but the essense is seems to help to add options to the navigation calls:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
  timeout<span style="color: #339933;">:</span> <span style="color: #CC0000;">10000</span><span style="color: #339933;">,</span>
  maximumAge<span style="color: #339933;">:</span> <span style="color: #CC0000;">20000</span><span style="color: #339933;">,</span>
  enableHighAccuracy<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span>
<span style="color: #009900;">&#125;</span>;
&nbsp;
coordsListener <span style="color: #339933;">=</span> navigator.<span style="color: #660066;">geolocation</span>.<span style="color: #660066;">watchPosition</span><span style="color: #009900;">&#40;</span>TCNPS.<span style="color: #660066;">updateStats</span><span style="color: #339933;">,</span> TCNPS.<span style="color: #660066;">handleError</span><span style="color: #339933;">,</span> options<span style="color: #009900;">&#41;</span>;</pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="javascript javascript" style="font-family:monospace;">navigator.<span style="color: #660066;">geolocation</span>.<span style="color: #660066;">getCurrentPosition</span><span style="color: #009900;">&#40;</span>TCNPS.<span style="color: #660066;">getSpeed</span><span style="color: #339933;">,</span> TCNPS.<span style="color: #660066;">handleError</span><span style="color: #339933;">,</span> options<span style="color: #009900;">&#41;</span>;</pre></div></div>

<p>/Mogens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Css Ninja</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1651</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Mon, 05 Jul 2010 03:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1651</guid>
		<description>@Mogens B - Hmm I&#039;ve been away on holidays for the past 2 months so I have to upgrade my phone will check them out when I do. 

Thanks for the heads up. If you figure out the issue in the mean time let me know.</description>
		<content:encoded><![CDATA[<p>@Mogens B &#8211; Hmm I&#8217;ve been away on holidays for the past 2 months so I have to upgrade my phone will check them out when I do. </p>
<p>Thanks for the heads up. If you figure out the issue in the mean time let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mogens Beltoft</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1620</link>
		<dc:creator>Mogens Beltoft</dc:creator>
		<pubDate>Fri, 18 Jun 2010 06:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1620</guid>
		<description>Hmmm.. your other GPS demo places me at Apple HQ, Infinity Loop, Cupertino.

/Mogens</description>
		<content:encoded><![CDATA[<p>Hmmm.. your other GPS demo places me at Apple HQ, Infinity Loop, Cupertino.</p>
<p>/Mogens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mogens Beltoft</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1619</link>
		<dc:creator>Mogens Beltoft</dc:creator>
		<pubDate>Fri, 18 Jun 2010 06:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1619</guid>
		<description>After upgrading my 3GS to iOS 4.0 I can&#039;t seem to get a reading on the speedo. I answered yes to all questions about allowing access to GPS when the WebApp i started from my Home Screen.

I&#039;ll try your other GPS demo.

/Mogens</description>
		<content:encoded><![CDATA[<p>After upgrading my 3GS to iOS 4.0 I can&#8217;t seem to get a reading on the speedo. I answered yes to all questions about allowing access to GPS when the WebApp i started from my Home Screen.</p>
<p>I&#8217;ll try your other GPS demo.</p>
<p>/Mogens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Attack Of Deliciously Colorful Code That Caused Me To Explode &#124; Tweeaks Design</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1367</link>
		<dc:creator>Attack Of Deliciously Colorful Code That Caused Me To Explode &#124; Tweeaks Design</dc:creator>
		<pubDate>Wed, 31 Mar 2010 03:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1367</guid>
		<description>[...]  iPhone Speedometer Kilometers/hr using geolocation API [...]</description>
		<content:encoded><![CDATA[<p>[...]  iPhone Speedometer Kilometers/hr using geolocation API [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1361</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Tue, 30 Mar 2010 17:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1361</guid>
		<description>My man! 
Just got a word from my friend on UK. He told me it didn&#039;t worked while he was at his home, but once he got outside and drove his car, the speedo start moving and it actually works!

So it only works if you ride a car / bus / train, which makes it perfect for what I wanted!

I love you! come close, let me man-kiss you!</description>
		<content:encoded><![CDATA[<p>My man!<br />
Just got a word from my friend on UK. He told me it didn&#8217;t worked while he was at his home, but once he got outside and drove his car, the speedo start moving and it actually works!</p>
<p>So it only works if you ride a car / bus / train, which makes it perfect for what I wanted!</p>
<p>I love you! come close, let me man-kiss you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Css Ninja</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1353</link>
		<dc:creator>The Css Ninja</dc:creator>
		<pubDate>Sun, 28 Mar 2010 01:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1353</guid>
		<description>@Javier - 

&lt;blockquote&gt;Now that I try it on my ipod touch, the needle does go to 180 and then to zero, and stays there.&lt;/blockquote&gt;

That&#039;s just a CSS3 animation that runs when you first rotate it to landscape. It&#039;s not getting that from the GPS.

&lt;blockquote&gt;I ran all over the office like an idiot (I run like idiots do, kinda like a chicken) and the needle didn’t went up again.&lt;/blockquote&gt;

Lol, for this to get a good reading you need to: have an iPhone 3G at least needs a GPS (iPod won&#039;t work) and be outside with a clear view of the sky. I can get it to read speeds while I&#039;m walking outside but it fluctuates between my actual speed and zero. To get consistant speed readings run it while you&#039;re in a car or train.

Get your friend with his iPhone to try my other &lt;a href=&quot;http://www.thecssninja.com/javascript/geolocation-iphone&quot; rel=&quot;nofollow&quot;&gt;GPS demo&lt;/a&gt; and see if that works. Both of these demo also prompt for access to my location in Firefox 3.6

&lt;blockquote&gt;If I leave it alone for a while it tells me the following in a message box: http://labs.thecssninja.com Something has gone wrong in getting your location.&lt;/blockquote&gt;

That alert message is attached to the geolocation error event so obviously something has gone wrong.

Get your friend with the iPhone to try my other &lt;a href=&quot;http://www.thecssninja.com/javascript/geolocation-iphone&quot; rel=&quot;nofollow&quot;&gt;GPS demo&lt;/a&gt;. All my GPS demo&#039;s should work in Firefox 3.6 it&#039;ll prompt you for access to your location.</description>
		<content:encoded><![CDATA[<p>@Javier &#8211; </p>
<blockquote><p>Now that I try it on my ipod touch, the needle does go to 180 and then to zero, and stays there.</p></blockquote>
<p>That&#8217;s just a CSS3 animation that runs when you first rotate it to landscape. It&#8217;s not getting that from the GPS.</p>
<blockquote><p>I ran all over the office like an idiot (I run like idiots do, kinda like a chicken) and the needle didn’t went up again.</p></blockquote>
<p>Lol, for this to get a good reading you need to: have an iPhone 3G at least needs a GPS (iPod won&#8217;t work) and be outside with a clear view of the sky. I can get it to read speeds while I&#8217;m walking outside but it fluctuates between my actual speed and zero. To get consistant speed readings run it while you&#8217;re in a car or train.</p>
<p>Get your friend with his iPhone to try my other <a href="http://www.thecssninja.com/javascript/geolocation-iphone" rel="nofollow">GPS demo</a> and see if that works. Both of these demo also prompt for access to my location in Firefox 3.6</p>
<blockquote><p>If I leave it alone for a while it tells me the following in a message box: <a href="http://labs.thecssninja.com" rel="nofollow">http://labs.thecssninja.com</a> Something has gone wrong in getting your location.</p></blockquote>
<p>That alert message is attached to the geolocation error event so obviously something has gone wrong.</p>
<p>Get your friend with the iPhone to try my other <a href="http://www.thecssninja.com/javascript/geolocation-iphone" rel="nofollow">GPS demo</a>. All my GPS demo&#8217;s should work in Firefox 3.6 it&#8217;ll prompt you for access to your location.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://www.thecssninja.com/javascript/pocket-speedo/comment-page-1#comment-1351</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Sat, 27 Mar 2010 20:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecssninja.com/?p=623#comment-1351</guid>
		<description>Dude, new info:

If I leave it alone for a while it tells me the following in a message box:
http://labs.thecssninja.com Something has gone wrong in getting your location.

I suspect that is because I have an iPod Touch instead of an iPhone. But now, why my friend with the iPhone can&#039;t see this with his Location services on?

And what is worst: it never ask him or me to share my location.

Just trying to test it! XD</description>
		<content:encoded><![CDATA[<p>Dude, new info:</p>
<p>If I leave it alone for a while it tells me the following in a message box:<br />
<a href="http://labs.thecssninja.com" rel="nofollow">http://labs.thecssninja.com</a> Something has gone wrong in getting your location.</p>
<p>I suspect that is because I have an iPod Touch instead of an iPhone. But now, why my friend with the iPhone can&#8217;t see this with his Location services on?</p>
<p>And what is worst: it never ask him or me to share my location.</p>
<p>Just trying to test it! XD</p>
]]></content:encoded>
	</item>
</channel>
</rss>

