<?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: A Stroke Of Luck</title>
	<atom:link href="http://www.red-sweater.com/blog/1150/a-stroke-of-luck/feed" rel="self" type="application/rss+xml" />
	<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck</link>
	<description>Mac &#38; Technology Writings by Daniel Jalkut</description>
	<lastBuildDate>Wed, 18 Jan 2012 18:10:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Jean-Daniel</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152796</link>
		<dc:creator>Jean-Daniel</dc:creator>
		<pubDate>Mon, 12 Apr 2010 21:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152796</guid>
		<description>&quot;So how long is ‘just long enough’ to open one new document but not more?&quot;

You can change this setting in Keyboard system preferences.

About the default value, I don&#039;t know how Apple determined it though.</description>
		<content:encoded><![CDATA[<p>&#8220;So how long is ‘just long enough’ to open one new document but not more?&#8221;</p>
<p>You can change this setting in Keyboard system preferences.</p>
<p>About the default value, I don&#8217;t know how Apple determined it though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ramsey</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152792</link>
		<dc:creator>James Ramsey</dc:creator>
		<pubDate>Mon, 12 Apr 2010 03:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152792</guid>
		<description>David,
The delay is customizable.  The Keyboard pane in System Preferences will allow you to control how the duration of the pause before it starts repeating, and then how quickly it repeats.</description>
		<content:encoded><![CDATA[<p>David,<br />
The delay is customizable.  The Keyboard pane in System Preferences will allow you to control how the duration of the pause before it starts repeating, and then how quickly it repeats.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bennett Ecards</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152790</link>
		<dc:creator>David Bennett Ecards</dc:creator>
		<pubDate>Sun, 11 Apr 2010 18:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152790</guid>
		<description>Daniel - Thank you for the reply, and yes, I see that it happens with Safari. I should have tried that first.

So how long is &#039;just long enough&#039; to open one new document but not more? 

Are these published figures?

Is there a lab with engineers measuring how long the slowest person in a sample takes before they lift their finger from the &#039;n&#039; key?</description>
		<content:encoded><![CDATA[<p>Daniel &#8211; Thank you for the reply, and yes, I see that it happens with Safari. I should have tried that first.</p>
<p>So how long is &#8216;just long enough&#8217; to open one new document but not more? </p>
<p>Are these published figures?</p>
<p>Is there a lab with engineers measuring how long the slowest person in a sample takes before they lift their finger from the &#8216;n&#8217; key?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152788</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Sun, 11 Apr 2010 14:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152788</guid>
		<description>Robby - I don&#039;t know. It&#039;s hard to speculate what lucky break you will get and where it will lead the mind. I definitely think the tool of AppleScript for automating and formalizing what I was testing helped me to think about the program more narrowly.</description>
		<content:encoded><![CDATA[<p>Robby &#8211; I don&#8217;t know. It&#8217;s hard to speculate what lucky break you will get and where it will lead the mind. I definitely think the tool of AppleScript for automating and formalizing what I was testing helped me to think about the program more narrowly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robby Grossman</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152786</link>
		<dc:creator>Robby Grossman</dc:creator>
		<pubDate>Sun, 11 Apr 2010 13:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152786</guid>
		<description>Good story and nice write-up. Do you think you ever would have thought to try the asymmetric key releasing if not for staring at the AppleScript code?</description>
		<content:encoded><![CDATA[<p>Good story and nice write-up. Do you think you ever would have thought to try the asymmetric key releasing if not for staring at the AppleScript code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152782</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Sun, 11 Apr 2010 00:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152782</guid>
		<description>BooneJS - about the unit testing question, I&#039;m not really an expert but generally speaking I would say that the particulars of the keyboard events and the scripting that led me to track down this bug are too large of scope to be permanently committed as unit tests. They are the particular details that led to an underlying bug in my application&#039;s code.  SO the underlying bug is what, philosophically, should have unit test alterations made to.</description>
		<content:encoded><![CDATA[<p>BooneJS &#8211; about the unit testing question, I&#8217;m not really an expert but generally speaking I would say that the particulars of the keyboard events and the scripting that led me to track down this bug are too large of scope to be permanently committed as unit tests. They are the particular details that led to an underlying bug in my application&#8217;s code.  SO the underlying bug is what, philosophically, should have unit test alterations made to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Adams</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152781</link>
		<dc:creator>Doug Adams</dc:creator>
		<pubDate>Sun, 11 Apr 2010 00:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152781</guid>
		<description>Try debugging an AppleScript app with AppleScript like that! Arrgghh! Loved the story though--been there.</description>
		<content:encoded><![CDATA[<p>Try debugging an AppleScript app with AppleScript like that! Arrgghh! Loved the story though&#8211;been there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152780</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Sat, 10 Apr 2010 22:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152780</guid>
		<description>Cameron - the problem is I don&#039;t know how I would have guessed to consider the events themselves, until after I had already solved the problem. It&#039;s one of those things where, sure in retrospecting knowing the order and types of events the user was sending would lead to the solution, but I was convinced it was some other reason he was seeing the bug and I wasn&#039;t.</description>
		<content:encoded><![CDATA[<p>Cameron &#8211; the problem is I don&#8217;t know how I would have guessed to consider the events themselves, until after I had already solved the problem. It&#8217;s one of those things where, sure in retrospecting knowing the order and types of events the user was sending would lead to the solution, but I was convinced it was some other reason he was seeing the bug and I wasn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron Hayne</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152779</link>
		<dc:creator>Cameron Hayne</dc:creator>
		<pubDate>Sat, 10 Apr 2010 22:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152779</guid>
		<description>It seems to me that this would have been easier to track down if there was an input event logging facility built into your app. Then you could have asked the user to enable this logging facility, reproduce the bug, then email you the log.
Maybe it&#039;s worth it to implement such a facility for all future apps?</description>
		<content:encoded><![CDATA[<p>It seems to me that this would have been easier to track down if there was an input event logging facility built into your app. Then you could have asked the user to enable this logging facility, reproduce the bug, then email you the log.<br />
Maybe it&#8217;s worth it to implement such a facility for all future apps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/1150/a-stroke-of-luck/comment-page-1#comment-152778</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Sat, 10 Apr 2010 17:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=1150#comment-152778</guid>
		<description>David - the article is slightly fictionalized because I don&#039;t want to share specifics that might give away details of a product I&#039;m working on.

That said, the &quot;rapid fire new windows&quot; behavior you observed is standard behavior for any app that creates new documents. Try it in Safari, for example. It&#039;s a behavior of the system to auto-repeat a keystroke if you hold down the key for a certain duration.

When I describe in the post the command key being lifted after the letter key, I&#039;m still talking about a process that takes a fraction of a second, so it&#039;s still short enough that you don&#039;t get the key repeat.</description>
		<content:encoded><![CDATA[<p>David &#8211; the article is slightly fictionalized because I don&#8217;t want to share specifics that might give away details of a product I&#8217;m working on.</p>
<p>That said, the &#8220;rapid fire new windows&#8221; behavior you observed is standard behavior for any app that creates new documents. Try it in Safari, for example. It&#8217;s a behavior of the system to auto-repeat a keystroke if you hold down the key for a certain duration.</p>
<p>When I describe in the post the command key being lifted after the letter key, I&#8217;m still talking about a process that takes a fraction of a second, so it&#8217;s still short enough that you don&#8217;t get the key repeat.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

