<?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 Jonathan Sampson&#039;s Blog</title>
	<atom:link href="http://sampsonblog.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://sampsonblog.com</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 06:31:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Crushing Code and Shaving Chars by Rakesh Juyal</title>
		<link>http://sampsonblog.com/268/crushing-code-and-shaving-chars#comment-5268</link>
		<dc:creator>Rakesh Juyal</dc:creator>
		<pubDate>Thu, 17 May 2012 06:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=268#comment-5268</guid>
		<description>Now I see how you answer in SO in shortest possible way, and my answer goes may be double or triple in length.</description>
		<content:encoded><![CDATA[<p>Now I see how you answer in SO in shortest possible way, and my answer goes may be double or triple in length.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Crushing Code and Shaving Chars by Jonathan Sampson</title>
		<link>http://sampsonblog.com/268/crushing-code-and-shaving-chars#comment-4915</link>
		<dc:creator>Jonathan Sampson</dc:creator>
		<pubDate>Fri, 27 Apr 2012 02:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=268#comment-4915</guid>
		<description>Awesome link! Definitely going to spend some time crawling through the many examples contained within.</description>
		<content:encoded><![CDATA[<p>Awesome link! Definitely going to spend some time crawling through the many examples contained within.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Crushing Code and Shaving Chars by Eli Perelman</title>
		<link>http://sampsonblog.com/268/crushing-code-and-shaving-chars#comment-4914</link>
		<dc:creator>Eli Perelman</dc:creator>
		<pubDate>Fri, 27 Apr 2012 02:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=268#comment-4914</guid>
		<description>I love code golfing for fun, but obviously not for production-worthy code. This is the reference I use when trying to remember those byte-saving techniques:

https://github.com/jed/140bytes/wiki/Byte-saving-techniques</description>
		<content:encoded><![CDATA[<p>I love code golfing for fun, but obviously not for production-worthy code. This is the reference I use when trying to remember those byte-saving techniques:</p>
<p><a href="https://github.com/jed/140bytes/wiki/Byte-saving-techniques" rel="nofollow">https://github.com/jed/140bytes/wiki/Byte-saving-techniques</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8220;Windows 8 is too hard to turn off&#8221; by Jonathan Sampson</title>
		<link>http://sampsonblog.com/239/windows-8-is-too-hard-to-turn-off#comment-4243</link>
		<dc:creator>Jonathan Sampson</dc:creator>
		<pubDate>Wed, 21 Mar 2012 01:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=239#comment-4243</guid>
		<description>I appreciate your feedback. I understand the frustration of coming to a foreign system and not knowing &quot;how it works,&quot; I&#039;ve been there. In fact, I recall my first computer in high school being a bit confusing. I was trying to save a science paper to my floppy disk, so I inserted it, went to File, and clicked &quot;Save&quot;. It asked for a filename, so I provided one. It wasn&#039;t until I tried printing from the disk the next day in class that I learned the file was not saved to the disk. Are these real problems? Absolutely. But they&#039;re not the type of issues we need to be complaining about.

If engineers and UX designers never deviated from familiar conventions, we wouldn&#039;t have the spin-wheel of the old iPods, or even a mouse. In fact, most of the great interfaces we have today are the result of deviating from that which is familiar. I remember when my old iPod first froze up - how do I shut it off, or restart it? There&#039;s no power button, no tiny pin-hole to jam a needle into, nothing. It took a trip online to figure out how to restart one, but that didn&#039;t damage the device&#039;s reputation. Even today, iPads aren&#039;t super easy to shut off - they require pressing multiple buttons simultaneously and swiping controls - but again, who is complaining? Adam Kinney has more to share on the Windows 8, and the proverbial Mother&#039;s experience: http://adamkinney.com/blog/2012/03/15/my-mom-wont-care-about-the-windows-8-start-button/

With regards to the &quot;shutdown button&quot; being &quot;one-click,&quot; it is. Granted, once you see that button,  you have to select which action you want it to perform, which another click. I&#039;m sorry for any confusion, but I only meant to suggest that this buttons reach isn&#039;t far. I agree though, it&#039;s shrouded in mystery, being hidden in the charms which aren&#039;t immediately visible themselves without knowing which screen region to place your mouse, or knowing which side of the tablet to swipe in from. But I sincerely don&#039;t think this will be a problem - look at the types of people who use iPads, Kindles, and more. It takes one curious question to a friend or child, &quot;How do I turn it off?&quot; In most devices, you won&#039;t need to. But once somebody shows you (especially on a tablet), shutting down Windows 8 will be a breeze.

Thank you again for writing!</description>
		<content:encoded><![CDATA[<p>I appreciate your feedback. I understand the frustration of coming to a foreign system and not knowing &#8220;how it works,&#8221; I&#8217;ve been there. In fact, I recall my first computer in high school being a bit confusing. I was trying to save a science paper to my floppy disk, so I inserted it, went to File, and clicked &#8220;Save&#8221;. It asked for a filename, so I provided one. It wasn&#8217;t until I tried printing from the disk the next day in class that I learned the file was not saved to the disk. Are these real problems? Absolutely. But they&#8217;re not the type of issues we need to be complaining about.</p>
<p>If engineers and UX designers never deviated from familiar conventions, we wouldn&#8217;t have the spin-wheel of the old iPods, or even a mouse. In fact, most of the great interfaces we have today are the result of deviating from that which is familiar. I remember when my old iPod first froze up &#8211; how do I shut it off, or restart it? There&#8217;s no power button, no tiny pin-hole to jam a needle into, nothing. It took a trip online to figure out how to restart one, but that didn&#8217;t damage the device&#8217;s reputation. Even today, iPads aren&#8217;t super easy to shut off &#8211; they require pressing multiple buttons simultaneously and swiping controls &#8211; but again, who is complaining? Adam Kinney has more to share on the Windows 8, and the proverbial Mother&#8217;s experience: <a href="http://adamkinney.com/blog/2012/03/15/my-mom-wont-care-about-the-windows-8-start-button/" rel="nofollow">http://adamkinney.com/blog/2012/03/15/my-mom-wont-care-about-the-windows-8-start-button/</a></p>
<p>With regards to the &#8220;shutdown button&#8221; being &#8220;one-click,&#8221; it is. Granted, once you see that button,  you have to select which action you want it to perform, which another click. I&#8217;m sorry for any confusion, but I only meant to suggest that this buttons reach isn&#8217;t far. I agree though, it&#8217;s shrouded in mystery, being hidden in the charms which aren&#8217;t immediately visible themselves without knowing which screen region to place your mouse, or knowing which side of the tablet to swipe in from. But I sincerely don&#8217;t think this will be a problem &#8211; look at the types of people who use iPads, Kindles, and more. It takes one curious question to a friend or child, &#8220;How do I turn it off?&#8221; In most devices, you won&#8217;t need to. But once somebody shows you (especially on a tablet), shutting down Windows 8 will be a breeze.</p>
<p>Thank you again for writing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8220;Windows 8 is too hard to turn off&#8221; by Zimzat</title>
		<link>http://sampsonblog.com/239/windows-8-is-too-hard-to-turn-off#comment-4242</link>
		<dc:creator>Zimzat</dc:creator>
		<pubDate>Wed, 21 Mar 2012 01:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=239#comment-4242</guid>
		<description>I can understand where Steven J. Vaughan-Nichols is coming from, especially given his references to Gnome 3 (and invariably Unity). When I first tried to use Unity and Gnome 3 I had a similar reaction. To make matters worse lately I&#039;ve seen a lot of interfaces doing this (Apple, Google, etc).

When it comes to UI design there has to be a visual hint as to how to do things. If you&#039;ve never used a particular system then you don&#039;t know that sliding your finger to the right causes a settings pane to show up, or hovering your mouse over something for two seconds causes extra options to appear, or moving your mouse to a particular part of the screen causes the system menu to appear. Without some point of reference, a tutorial, an easy-access help file, or someone to show you what to do, it may as well not exist.

Once you know what the options are and they&#039;ve become ingrained you don&#039;t even give it a second thought, and may even make the conclusion that anyone else who doesn&#039;t get it is dumb. Take for example this story a game UI tester had: They tried everything in the book to open the player&#039;s inventory, double clicking, pressing I, going through the menu, etc, until they asked a developer who said &quot;Oh, you just have to triple click your character&quot;. To the developer it made perfect sense because that&#039;s just the way things always were, but to the new-comer (and potential gamer) it was a complete curve ball.

I tried to use an iPhone once and, through much trial and error, I found what I was looking for by pulling back the corner of the page, swiping this other thing, etc. Even Android does this when you have to long-press on menu items to pull up their options as there is no GUI hint when it&#039;s an option and when it&#039;s not. I&#039;m especially annoyed by Google Contact&#039;s interface, as you have to mouse over text or areas of the interface to make it look like it&#039;s editable. These are real-world examples of common interfaces doing things differently and requiring prior knowledge or trial and error. When you do things differently you have to make it intuitive or educate your users.

PS: Saying the &quot;shutdown button is literally one-click&quot; is very misleading, and inaccurate (according to the article linked). The steps to shutdown are actually:
1. Move mouse to the bottom corner.
2. Wait for menu to appear.
3. Move mouse over &#039;Power&#039; button.
5. Click.
4. Move mouse over &#039;Shutdown&#039; button.
6. Click.

PPS: Yes, that&#039;s a minor exaggeration of the amount of effort.</description>
		<content:encoded><![CDATA[<p>I can understand where Steven J. Vaughan-Nichols is coming from, especially given his references to Gnome 3 (and invariably Unity). When I first tried to use Unity and Gnome 3 I had a similar reaction. To make matters worse lately I&#8217;ve seen a lot of interfaces doing this (Apple, Google, etc).</p>
<p>When it comes to UI design there has to be a visual hint as to how to do things. If you&#8217;ve never used a particular system then you don&#8217;t know that sliding your finger to the right causes a settings pane to show up, or hovering your mouse over something for two seconds causes extra options to appear, or moving your mouse to a particular part of the screen causes the system menu to appear. Without some point of reference, a tutorial, an easy-access help file, or someone to show you what to do, it may as well not exist.</p>
<p>Once you know what the options are and they&#8217;ve become ingrained you don&#8217;t even give it a second thought, and may even make the conclusion that anyone else who doesn&#8217;t get it is dumb. Take for example this story a game UI tester had: They tried everything in the book to open the player&#8217;s inventory, double clicking, pressing I, going through the menu, etc, until they asked a developer who said &#8220;Oh, you just have to triple click your character&#8221;. To the developer it made perfect sense because that&#8217;s just the way things always were, but to the new-comer (and potential gamer) it was a complete curve ball.</p>
<p>I tried to use an iPhone once and, through much trial and error, I found what I was looking for by pulling back the corner of the page, swiping this other thing, etc. Even Android does this when you have to long-press on menu items to pull up their options as there is no GUI hint when it&#8217;s an option and when it&#8217;s not. I&#8217;m especially annoyed by Google Contact&#8217;s interface, as you have to mouse over text or areas of the interface to make it look like it&#8217;s editable. These are real-world examples of common interfaces doing things differently and requiring prior knowledge or trial and error. When you do things differently you have to make it intuitive or educate your users.</p>
<p>PS: Saying the &#8220;shutdown button is literally one-click&#8221; is very misleading, and inaccurate (according to the article linked). The steps to shutdown are actually:<br />
1. Move mouse to the bottom corner.<br />
2. Wait for menu to appear.<br />
3. Move mouse over &#8216;Power&#8217; button.<br />
5. Click.<br />
4. Move mouse over &#8216;Shutdown&#8217; button.<br />
6. Click.</p>
<p>PPS: Yes, that&#8217;s a minor exaggeration of the amount of effort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sometimes jQuery is (not) the Answer by Shidhin</title>
		<link>http://sampsonblog.com/159/sometimes-jquery-is-not-the-answer#comment-2028</link>
		<dc:creator>Shidhin</dc:creator>
		<pubDate>Wed, 23 Nov 2011 14:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=159#comment-2028</guid>
		<description>Nice catch ..  Most of times we are too lazy to check the performance and instead depended on frameworks / libraries..</description>
		<content:encoded><![CDATA[<p>Nice catch ..  Most of times we are too lazy to check the performance and instead depended on frameworks / libraries..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Shorter Ternary Operator in PHP 5.3 by Jonathan Sampson</title>
		<link>http://sampsonblog.com/58/a-shorter-ternary-operator-in-php-5-3#comment-1766</link>
		<dc:creator>Jonathan Sampson</dc:creator>
		<pubDate>Sun, 30 Oct 2011 05:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=58#comment-1766</guid>
		<description>In the case of booleans, yes.</description>
		<content:encoded><![CDATA[<p>In the case of booleans, yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Shorter Ternary Operator in PHP 5.3 by PHP</title>
		<link>http://sampsonblog.com/58/a-shorter-ternary-operator-in-php-5-3#comment-1576</link>
		<dc:creator>PHP</dc:creator>
		<pubDate>Fri, 14 Oct 2011 10:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=58#comment-1576</guid>
		<description>Actually you just want:

$can_drink = ( $age &gt;= 21 );</description>
		<content:encoded><![CDATA[<p>Actually you just want:</p>
<p>$can_drink = ( $age &gt;= 21 );</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Todays WTF Moment with CodeIgniter, MySQL and PHP by Nigel Berkeley</title>
		<link>http://sampsonblog.com/153/todays-wtf-moment-with-codeigniter-mysql-and-php#comment-472</link>
		<dc:creator>Nigel Berkeley</dc:creator>
		<pubDate>Thu, 30 Jun 2011 12:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=153#comment-472</guid>
		<description>Excellent. Hope you posted a bug report. Unless the PHP team are blaming it on Windows for some weird reason.</description>
		<content:encoded><![CDATA[<p>Excellent. Hope you posted a bug report. Unless the PHP team are blaming it on Windows for some weird reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Quickly Adding Thumbnails to WordPress Archives by Jonathan Sampson</title>
		<link>http://sampsonblog.com/37/quickly-adding-thumbnails-to-wordpress-twentyten-theme#comment-386</link>
		<dc:creator>Jonathan Sampson</dc:creator>
		<pubDate>Sat, 11 Jun 2011 19:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://sampsonblog.com/?p=37#comment-386</guid>
		<description>Hello, Steve.  If you view the contents of category.php you will see that it attempts to load the following:

&lt;code&gt;get_template_part( &#039;loop&#039;, &#039;category&#039; );&lt;/code&gt;

What this essentially does is looks for a file called loop-category.php to load in, and if that file is not present it falls back on loop.php.

If you wish to style only the results on the category page, and not those on the front page, create a copy of loop.php and name it loop-category.php. Then, make your changes.

Keep in mind that you may need to change some style declarations around to make up for the changes.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hello, Steve.  If you view the contents of category.php you will see that it attempts to load the following:</p>
<p><code>get_template_part( 'loop', 'category' );</code></p>
<p>What this essentially does is looks for a file called loop-category.php to load in, and if that file is not present it falls back on loop.php.</p>
<p>If you wish to style only the results on the category page, and not those on the front page, create a copy of loop.php and name it loop-category.php. Then, make your changes.</p>
<p>Keep in mind that you may need to change some style declarations around to make up for the changes.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

