<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>QA Hates You &#187; Forensic QA</title>
	<atom:link href="http://qahatesyou.com/wordpress/category/forensic-qa/feed/" rel="self" type="application/rss+xml" />
	<link>http://qahatesyou.com/wordpress</link>
	<description>You suspected it.  Now you know it.</description>
	<lastBuildDate>Wed, 23 May 2012 17:16:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Parse Your Own Exception, User</title>
		<link>http://qahatesyou.com/wordpress/2009/12/parse-your-own-exception-user/</link>
		<comments>http://qahatesyou.com/wordpress/2009/12/parse-your-own-exception-user/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 13:20:56 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Failed Web sites]]></category>
		<category><![CDATA[Forensic QA]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/2009/12/22/parse-your-own-exception-user/</guid>
		<description><![CDATA[An Amazon.com blog passes through an exception from one of its subcontent providers: Click for full size I&#8217;ll leave it to you to play QA Quincy, MD, and figure out why this is popping up in a JavaScript alert box.  Personally, I suspect it&#8217;s debug code in production.]]></description>
			<content:encoded><![CDATA[<p>An Amazon.com blog passes through an exception from one of its subcontent providers:</p>
<p align="center"><a href="http://qahatesyou.com/images/carlust.jpg" target="_blank"><img src="http://qahatesyou.com/images/carlust.jpg" title="Hey, users are XML-consuming applications, too!" alt="Hey, users are XML-consuming applications, too!" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">I&#8217;ll leave it to you to play QA Quincy, MD, and figure out why this is popping up in a JavaScript alert box.  Personally, I suspect it&#8217;s debug code in production.</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2009/12/parse-your-own-exception-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forensic QA: The Cat Power Case</title>
		<link>http://qahatesyou.com/wordpress/2008/08/i-dont-know-what-theyre-doing-but-theyre-doing-it-wrong/</link>
		<comments>http://qahatesyou.com/wordpress/2008/08/i-dont-know-what-theyre-doing-but-theyre-doing-it-wrong/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 10:03:13 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Failed Web sites]]></category>
		<category><![CDATA[Forensic QA]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/2008/08/08/i-dont-know-what-theyre-doing-but-theyre-doing-it-wrong/</guid>
		<description><![CDATA[Isarian sends in this screenshot to the Yahoo! Music page for a band called Cat Power and asks, &#8220;See the &#8220;{$&#8221; at the very end of the Biography section. Looks like they were trying to insert a string?&#8221; Click for full size First of all, the question I have is Does Isarian actually listen to [...]]]></description>
			<content:encoded><![CDATA[<p>Isarian sends in this screenshot to the Yahoo! Music page for a band called <a href="http://music.yahoo.com/ar-298666---Cat-Power" target="_blank">Cat Power</a> and asks, &#8220;See the &#8220;{$&#8221; at the very end of the Biography section. Looks like they were trying to insert a string?&#8221;</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoomusicyes0.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoomusicyes0.jpg" title="Cat Powers include random tag markers or something" alt="Cat Powers include random tag markers or something" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">First of all, the question I have is <em>Does Isarian actually listen to a band named Cat Power?</em>  Brother, if you want to really get into QA, you&#8217;ve got to listen to real music.  Heavy metal.  Like <a href="http://www.youtube.com/watch?v=dhgjEObtrWE" target="_blank">Tragedy</a>.</p>
<p align="left">Aside from that, let&#8217;s delve into the problem he notes.  It&#8217;s a little game I like to call <em>forensic QA.</em> <span id="more-362"></span>It&#8217;s definitely an intriguing problem.  I don&#8217;t know that they&#8217;re trying to insert a string here.  I assumed it would be the remnants of some internal database metadata tag or placeholder for a link.  I say this because you don&#8217;t get them when the word breaks cleanly, like the entry for the band <a href="http://music.yahoo.com/ar-275968---Camera-Obscura" target="_blank">Camera Obscura</a>:</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoomusicno2.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoomusicno2.jpg" title="The last word in the section is unbroken" alt="The last word in the section is unbroken" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">It doesn&#8217;t occur when it breaks cleanly after a person&#8217;s name, such as in the entry for <a href="http://music.yahoo.com/ar-269852---Blonde-Redhead" target="_blank">Blonde Redhead</a>:</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoomusicno1.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoomusicno1.jpg" title="The strange characters are missing" alt="The strange characters are missing" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">But it does break in the middle of the word in a band name, such as <a href="http://music.yahoo.com/ar-263398---Belle--Sebastian" target="_blank">Belle &amp; Sebastian</a>:</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoomusicyes3.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoomusicyes3.jpg" title="Belle and Sebastian and bad characters" alt="Belle and Sebastian and bad characters" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">Or in the middle of the name of one of the band members, such as on the <a href="http://music.yahoo.com/ar-282489---The-New-Pornographers" target="_blank">New Pornographers</a>:</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoomusicyes1.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoomusicyes1.jpg" title="The drummer should have stuck with one strange symbol like Prince did" alt="The drummer should have stuck with one strange symbol like Prince did" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">Meanwhile, you don&#8217;t get the strange breaks in the complete biographies on Yahoo!, such as this <a href="http://music.yahoo.com/ar-282489-bio--The-New-Pornographers" target="_blank">complete bio for the New Pornographers</a>:</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoonp2.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoonp2.jpg" title="The New Pornographers' bio before the tribulations to be detailled on a future Before the Music episode" alt="The New Pornographers' bio before the tribulations to be detailled on a future Before the Music episode" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">But wait a minute: what does that say at the bottom?</p>
<blockquote>
<p align="left"><em>Written by Heather Phares &amp; MacKenzie</em></p>
</blockquote>
<p align="left">No, no, that&#8217;s a completely different issue with Yahoo!  Above that:</p>
<blockquote>
<p align="left">Heather Phares &amp; MacKenzie Wilson, All Music Guide</p>
</blockquote>
<p align="left">So what does it look like on <a href="http://www.allmusic.com/cg/amg.dll?p=amg&amp;searchlink=NEW|PORNOGRAPHERS&amp;sql=11:0cfoxqykldae~T0" target="_blank">All Music Guide</a>?</p>
<p align="center"><a href="http://qahatesyou.com/images/yahoonp3.jpg" target="_blank"><img src="http://qahatesyou.com/images/yahoonp3.jpg" title="Eureka!" alt="Eureka!" width="400" /><br />
<em>Click for full size</em></a></p>
<p align="left">Those band names and whatnot with the stray characters are hyperlinks in the original source on All Music Guide.  Yahoo! is failing to scrub them correctly in the miniature biography but does so on the complete biography page.</p>
<p align="left">I will even go so far as to suspect that the application uses two methods here: the first, call it removeHyperlinks, goes in and removes the enclosing brackets that tell All Music Guide to insert a hyperlink, but removeHyperlinks only recognizes hyperlink notation that includes both an {$ and its closing counterpart.  The second method, call it truncateBiography, grabs a number of characters for the mini bio blurb and truncates after a certain number of characters.  However, the page calls truncateBiography before it calls removeHyperlinks, which means that it will truncate the biography and then look for hyperlinks, but in certain cases, such as where the biography is truncated in the middle of a link, removeHyperlinks won&#8217;t see the last thing as a hyperlink because the ending bracket has been lopped off.</p>
<p align="left">The greater lesson here lies in a common mistake.  Obviously, Yahoo! has fallen into the common mistake of not knowing where the output displays in all cases and only handling it in some places correctly.  Friends, you need to know where all the input comes from and validate it in all cases <em>and</em> you need to know where all the output goes and make sure it displays correctly there.  Otherwise, in my eyes anyway, you&#8217;re just another Yahoo!</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2008/08/i-dont-know-what-theyre-doing-but-theyre-doing-it-wrong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

