<?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: One Unit Test should have Prevented Google from Categorizing the Entire Internet as Malware</title>
	<atom:link href="http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/feed/" rel="self" type="application/rss+xml" />
	<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/</link>
	<description>Jonathan Andrew Wolter</description>
	<lastBuildDate>Wed, 04 Jan 2012 06:55:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave C</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1061</link>
		<dc:creator>Dave C</dc:creator>
		<pubDate>Wed, 04 Feb 2009 04:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1061</guid>
		<description>You crazy unit testing bastard. Why don&#039;t you go work for Google if you&#039;re so smart!</description>
		<content:encoded><![CDATA[<p>You crazy unit testing bastard. Why don&#8217;t you go work for Google if you&#8217;re so smart!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Kuijjer</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1060</link>
		<dc:creator>Casper Kuijjer</dc:creator>
		<pubDate>Tue, 03 Feb 2009 21:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1060</guid>
		<description>I agree with @Jerry, using information that Google has about the web, such as a whitelist of trusted sites, would be more useful than trying to validate the filter by manually writing test cases.</description>
		<content:encoded><![CDATA[<p>I agree with @Jerry, using information that Google has about the web, such as a whitelist of trusted sites, would be more useful than trying to validate the filter by manually writing test cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1059</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 02 Feb 2009 23:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1059</guid>
		<description>&quot;One Unit Test should have Prevented Google from Categorizing the Entire Internet as Malware&quot;

And a company of engineers, a distributed database, a web crawler, PageRank, a monetization system to fund it, and a bunch of datacenters is all that prevented us armchair TDD quarterbacks from having a hit search engine.  :P

They obviously do a bunch of testing already.  Maybe if they&#039;d spent any more effort doing testing early on, some butterfly-hurricane chain would have caused them never to gotten so big so fast.

It&#039;s easy to criticize.  But we wouldn&#039;t have anything to criticize if they hadn&#039;t first built the one website that basically directs the entire web today.  Why aren&#039;t we praising the little-fish search engines for winning the battle but losing the war?</description>
		<content:encoded><![CDATA[<p>&#8220;One Unit Test should have Prevented Google from Categorizing the Entire Internet as Malware&#8221;</p>
<p>And a company of engineers, a distributed database, a web crawler, PageRank, a monetization system to fund it, and a bunch of datacenters is all that prevented us armchair TDD quarterbacks from having a hit search engine.  :P</p>
<p>They obviously do a bunch of testing already.  Maybe if they&#8217;d spent any more effort doing testing early on, some butterfly-hurricane chain would have caused them never to gotten so big so fast.</p>
<p>It&#8217;s easy to criticize.  But we wouldn&#8217;t have anything to criticize if they hadn&#8217;t first built the one website that basically directs the entire web today.  Why aren&#8217;t we praising the little-fish search engines for winning the battle but losing the war?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1057</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Mon, 02 Feb 2009 21:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1057</guid>
		<description>The &#039;/&#039; case is extremely obscure, and I would not blame anyone for failing to test for it. In fact, I&#039;m pretty sure there are other string combos in the system that will go nuts.

A test that would make more sense is to run a list of trusted sites (e.g. google.com itself) through the filter. If any sites fail then there is likely a major problem in the classification code. It&#039;s not foolproof, but would go a long way to detect the sort of catastrophic failure we saw.</description>
		<content:encoded><![CDATA[<p>The &#8216;/&#8217; case is extremely obscure, and I would not blame anyone for failing to test for it. In fact, I&#8217;m pretty sure there are other string combos in the system that will go nuts.</p>
<p>A test that would make more sense is to run a list of trusted sites (e.g. google.com itself) through the filter. If any sites fail then there is likely a major problem in the classification code. It&#8217;s not foolproof, but would go a long way to detect the sort of catastrophic failure we saw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emily</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1056</link>
		<dc:creator>Emily</dc:creator>
		<pubDate>Mon, 02 Feb 2009 21:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1056</guid>
		<description>It is very easy to look at the result and say they should do this and do that.

To define a good testing cases for all the possibility is not easy. People and company are learning from mistake. Let hope that they will do better. However, what I don&#039;t like is Google&#039;s monopoly power. Somebody need to do something so we will NOT depend on google alone.</description>
		<content:encoded><![CDATA[<p>It is very easy to look at the result and say they should do this and do that.</p>
<p>To define a good testing cases for all the possibility is not easy. People and company are learning from mistake. Let hope that they will do better. However, what I don&#8217;t like is Google&#8217;s monopoly power. Somebody need to do something so we will NOT depend on google alone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Simpson</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1055</link>
		<dc:creator>Julian Simpson</dc:creator>
		<pubDate>Mon, 02 Feb 2009 16:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1055</guid>
		<description>I&#039;ll be a monkey&#039;s uncle if Google don&#039;t already do some validations of their configuration files. That&#039;s a kind of testing that I haven&#039;t seem many teams do.  I guaruntee that there&#039;s been some additional test tests written for that file now.

How many other teams validate production configuration before they deploy it?</description>
		<content:encoded><![CDATA[<p>I&#8217;ll be a monkey&#8217;s uncle if Google don&#8217;t already do some validations of their configuration files. That&#8217;s a kind of testing that I haven&#8217;t seem many teams do.  I guaruntee that there&#8217;s been some additional test tests written for that file now.</p>
<p>How many other teams validate production configuration before they deploy it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rishi</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1054</link>
		<dc:creator>rishi</dc:creator>
		<pubDate>Sun, 01 Feb 2009 18:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1054</guid>
		<description>accidents happen.  You can&#039;t test everything even when you are one of the biggest companies like Google.</description>
		<content:encoded><![CDATA[<p>accidents happen.  You can&#8217;t test everything even when you are one of the biggest companies like Google.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1053</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 01 Feb 2009 02:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1053</guid>
		<description>@Robert,

Good point. But if the post from Marissa Mayer indicates that google manages very important things such as this with a file checked in... then I think the team should feel compelled to be paranoid. 

For me, testing replaces Fear with Boredom.


@Sebastien,
 
Great to hear some passion in the comments! In my experience a well tested codebase is much more flexible. Code that just works magically and only is observed in a full integration test, or by starting it up and using it is very brittle. Big code always needs refactoring, sooner or later. Tests give us the power to actually refactor.

It is interesting that a text file is used to list these sites. You would be expecting something like a database with associated controls and tests around what can possibly be valid data, right? Well, if you built a whole app to do it -- I think tests would be sensible. Just because it is a simple text file does not mean it should not be tested. 

There is a complexity branch on every one of the urls in that list. We could think of this data as highly complex, and warranting extensive testing. Especially if there isn&#039;t another application on top of it all (which would probably have tests around the models).</description>
		<content:encoded><![CDATA[<p>@Robert,</p>
<p>Good point. But if the post from Marissa Mayer indicates that google manages very important things such as this with a file checked in&#8230; then I think the team should feel compelled to be paranoid. </p>
<p>For me, testing replaces Fear with Boredom.</p>
<p>@Sebastien,</p>
<p>Great to hear some passion in the comments! In my experience a well tested codebase is much more flexible. Code that just works magically and only is observed in a full integration test, or by starting it up and using it is very brittle. Big code always needs refactoring, sooner or later. Tests give us the power to actually refactor.</p>
<p>It is interesting that a text file is used to list these sites. You would be expecting something like a database with associated controls and tests around what can possibly be valid data, right? Well, if you built a whole app to do it &#8212; I think tests would be sensible. Just because it is a simple text file does not mean it should not be tested. </p>
<p>There is a complexity branch on every one of the urls in that list. We could think of this data as highly complex, and warranting extensive testing. Especially if there isn&#8217;t another application on top of it all (which would probably have tests around the models).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien Arbogast</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1052</link>
		<dc:creator>Sebastien Arbogast</dc:creator>
		<pubDate>Sun, 01 Feb 2009 01:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1052</guid>
		<description>Yes, and unit testing should have prevented 9/11 too! Come on! You testing zealots are driving me nuts. I am certain that testing has literally CAUSED many disasters in complex systems, because of the false sense of security that it gives to poor developers using poor technologies. I say let’s use this as a publicity moment for humility and technologies that minimize human intervention and error. I can&#039;t believe they&#039;re editing a typo-ready text file to list malware sites!</description>
		<content:encoded><![CDATA[<p>Yes, and unit testing should have prevented 9/11 too! Come on! You testing zealots are driving me nuts. I am certain that testing has literally CAUSED many disasters in complex systems, because of the false sense of security that it gives to poor developers using poor technologies. I say let’s use this as a publicity moment for humility and technologies that minimize human intervention and error. I can&#8217;t believe they&#8217;re editing a typo-ready text file to list malware sites!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://jawspeak.com/2009/01/31/one-unit-test-should-have-prevented-google-from-categorizing-the-entire-internet-as-malware/comment-page-1/#comment-1051</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sun, 01 Feb 2009 00:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://jawspeak.com/?p=69#comment-1051</guid>
		<description>The question is - even with a TDD approach, would this have been considered &quot;something to test&#039;?

TDD says to stop testing when you can&#039;t think of anything more to test. Humans aren&#039;t perfect; we make mistakes and sometimes we don&#039;t think of every possibility.</description>
		<content:encoded><![CDATA[<p>The question is &#8211; even with a TDD approach, would this have been considered &#8220;something to test&#8217;?</p>
<p>TDD says to stop testing when you can&#8217;t think of anything more to test. Humans aren&#8217;t perfect; we make mistakes and sometimes we don&#8217;t think of every possibility.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

