<?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"
	>

<channel>
	<title>bugfox blog</title>
	<atom:link href="http://bugfox.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://bugfox.net/blog</link>
	<description></description>
	<pubDate>Fri, 22 Aug 2008 14:09:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>BC31094 Error with MSBuild but not Visual Studio</title>
		<link>http://bugfox.net/blog/2008/08/22/bc31094-error-with-msbuild-but-not-visual-studio/</link>
		<comments>http://bugfox.net/blog/2008/08/22/bc31094-error-with-msbuild-but-not-visual-studio/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 14:09:29 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/?p=115</guid>
		<description><![CDATA[Here&#8217;s one of those things that &#8220;can&#8217;t possibly happen&#8221; but does. The project builds fine under the Visual Studio 2008 IDE, but if I run it directly under MSBuild.exe it fails with the error

error BC31094: Implementing class 'MMCLTSVCS.FooClass' for interface 'MMCLTSVCS.Foo' cannot be found.

The key is that the error involves calling a COM object. The [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s one of those things that &#8220;can&#8217;t possibly happen&#8221; but does. The project builds fine under the Visual Studio 2008 IDE, but if I run it directly under MSBuild.exe it fails with the error<br />
<code><br />
error BC31094: Implementing class 'MMCLTSVCS.FooClass' for interface 'MMCLTSVCS.Foo' cannot be found.<br />
</code></p>
<p>The key is that the error involves calling a COM object. The project contains a reference to the interop for that COM object: Interop.MMCLTSVCS.dll. However it does not contain a reference to the interop for one of the other COM objects that Interop.MMCLTSVCS.dll uses. Apparently this works fine under the IDE but fails with an obscure error message under MSBuild.</p>
<p>Visual Studio&#8217;s &#8220;Unused References&#8221; function provides an easy way to get this error. It will helpfully remove any references that are not used by your .NET code, without considering whether they are used by any of the referenced interops.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/08/22/bc31094-error-with-msbuild-but-not-visual-studio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ed Foster, 1949-2008</title>
		<link>http://bugfox.net/blog/2008/07/30/ed-foster-1949-2008/</link>
		<comments>http://bugfox.net/blog/2008/07/30/ed-foster-1949-2008/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 16:34:45 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/?p=114</guid>
		<description><![CDATA[Consumers of digital hardware, software and services lost their most tireless advocate last week when Ed Foster died of a heart attack.
EFF&#8217;s Fred von Lohmann provides an obituary:
In Memoriam: Ed Foster, 1949-2008
]]></description>
			<content:encoded><![CDATA[<p>Consumers of digital hardware, software and services lost their most tireless advocate last week when Ed Foster died of a heart attack.</p>
<p>EFF&#8217;s Fred von Lohmann provides an obituary:</p>
<p><a href="http://www.eff.org/deeplinks/2008/07/memoriam-ed-foster-1949-2008">In Memoriam: Ed Foster, 1949-2008</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/07/30/ed-foster-1949-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Application Configuration Error Converting to .NET Framwork 2.0</title>
		<link>http://bugfox.net/blog/2008/05/20/application-configuration-error-converting-to-net-framwork-20/</link>
		<comments>http://bugfox.net/blog/2008/05/20/application-configuration-error-converting-to-net-framwork-20/#comments</comments>
		<pubDate>Tue, 20 May 2008 20:49:37 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Dot-Net]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/?p=112</guid>
		<description><![CDATA[I converted an old console app from .NET Framework 1.1 to 2.0 using Visual Studio 2008. When I ran it I got the following helpful error message

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Looking in the Security Event Log I found the following messages:

Generate [...]]]></description>
			<content:encoded><![CDATA[<p>I converted an old console app from .NET Framework 1.1 to 2.0 using Visual Studio 2008. When I ran it I got the following helpful error message</p>
<blockquote><p>
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.</p></blockquote>
<p>Looking in the Security Event Log I found the following messages:</p>
<blockquote><p>
Generate Activation Context failed for C:\ParsII\bin\server\CCSWinService2.exe. Reference error message: The operation completed successfully.</p>
<p>Syntax error in manifest or policy file &#8220;C:\ParsII\bin\server\CCSWinService2.exe.Config&#8221; on line 1.
</p></blockquote>
<p>The last one was the key. In the app config file the first line was<br />
<code><br />
&lt;?xml version="1.0" encoding="Windows-1252"?&gt;<br />
</code></p>
<p>That should be perfectly legal for an XML file, but deleting it caused everything to work perfectly.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/05/20/application-configuration-error-converting-to-net-framwork-20/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flashing the Windows Taskbar Button Forever</title>
		<link>http://bugfox.net/blog/2008/05/12/flashing-the-windows-taskbar-button-forever/</link>
		<comments>http://bugfox.net/blog/2008/05/12/flashing-the-windows-taskbar-button-forever/#comments</comments>
		<pubDate>Mon, 12 May 2008 16:24:06 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/?p=111</guid>
		<description><![CDATA[Raymond Chen explains in detail how to be a jerk.
]]></description>
			<content:encoded><![CDATA[<p>Raymond Chen explains in detail <a href="http://blogs.msdn.com/oldnewthing/archive/2008/05/12/8490184.aspx">how to be a jerk</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/05/12/flashing-the-windows-taskbar-button-forever/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Freedom in China vs the US</title>
		<link>http://bugfox.net/blog/2008/04/25/freedom-in-china-vs-the-us/</link>
		<comments>http://bugfox.net/blog/2008/04/25/freedom-in-china-vs-the-us/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 21:00:26 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Politics]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/2008/04/25/freedom-in-china-vs-the-us/</guid>
		<description><![CDATA[Elliotte Rusty Harold has just returned from China and posts this disturbing comment:

Reflecting back on my recent trip to Beijing&#8230;one of the most striking things was the contrast between personal, day-to-day freedom in Beijing and the United States (especially NYC/Los Angeles/Orange County). I’m not talking about political representation or freedom to read whatever I felt [...]]]></description>
			<content:encoded><![CDATA[<p>Elliotte Rusty Harold has just returned from China and posts this disturbing comment:</p>
<blockquote><p>
Reflecting back on my recent trip to Beijing&#8230;one of the most striking things was the contrast between personal, day-to-day freedom in Beijing and the United States (especially NYC/Los Angeles/Orange County). I’m not talking about political representation or freedom to read whatever I felt like, but just the simple ability to go whereever I felt like going without being hassled. To my surprise, by that measure Beijing came off way better than the United States does these days, and that doesn’t speak well for the U.S.<br />
&#8230;<br />
Somehow I thought a one-party, authoritarian state would be more oppressive than this. At least in the capital, Beijing compares favorably to major U.S. cities. To be honest, that doesn’t speak well for the U.S. If we can’t be less of a police state than a one-party, nominally Communist nation like China, then something has gone seriously wrong.
</p></blockquote>
<p><a href="http://www.elharo.com/blog/travel/2008/04/25/beijing-freedom-and-security/">(Read the whole thing)</a></p>
<p>Back during the Cold War, right-wing types used to make a big distinction between &#8220;totalitarian states&#8221; (bad) and &#8220;authoritarian states&#8221; (not so bad.)</p>
<p>A totalitarian state (Russia, China or Nazi Germany) would try to monitor everything its citizens did and demanded constant declarations of effusive loyalty. An authoritarian state (Franco&#8217;s Spain) would generally leave people alone if they kept quiet and stayed out of politics.</p>
<p>By this definition China has clearly become an authoritarian state. But if America is becoming more of a police state than China (in terms of surveillance, etc.) then what does that make us?<br />
<span id="more-110"></span><br />
Well, for one thing I suspect that Harold is much more sensitive than the average American to the amount of monitoring that our government does, and much less sensitive than the average Chinese to the extent to which their government monitors them.</p>
<p>In any case, America still has the strongest protections for free speech in the world. With very limited exceptions you can say anything you want, regardless of whom it offends. As long as that remains true we can&#8217;t be called either authoritarian or totalitarian.</p>
<p>On the other hand, public support for free speech does not run very deep. (Most people, after all, don&#8217;t like to be offended.) It is easy to imagine free speech being abolished overnight in a national emergency. Even more likely, it might be gradually eaten away under the demands of a horde of special interests, each wanting to impose their own &#8220;reasonable limits.&#8221;</p>
<p>If that happens, we really will be less free than the Chinese.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/04/25/freedom-in-china-vs-the-us/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The FBI Wants to Monitor Your Web Browsing</title>
		<link>http://bugfox.net/blog/2008/04/25/the-fbi-wants-to-monitor-your-web-browsing/</link>
		<comments>http://bugfox.net/blog/2008/04/25/the-fbi-wants-to-monitor-your-web-browsing/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 20:37:07 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Intellectual Property]]></category>

		<category><![CDATA[Politics]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/2008/04/25/the-fbi-wants-to-monitor-your-web-browsing/</guid>
		<description><![CDATA[Declan McCullagh has a detailed analysis of FBI Director Robert Mueller&#8217;s recent Congressional testimony in which he asked for greatly expanded surveillance powers. Currently the FBI has the technical ability to monitor just about everything that goes over the Internet, but they need to get a warrant (or a secret National Security Letter) in order [...]]]></description>
			<content:encoded><![CDATA[<p>Declan McCullagh has a <a href="http://www.news.com/8301-13578_3-9929085-38.html">detailed analysis </a>of FBI Director Robert Mueller&#8217;s recent Congressional testimony in which he asked for greatly expanded surveillance powers. Currently the FBI has the technical ability to monitor just about everything that goes over the Internet, but they need to get a warrant (or a secret National Security Letter) in order to do so.</p>
<p>Mueller wants to convince the Internet Service Providers to change they Terms of Service to force their customers to &#8220;consent&#8221; to having the FBI monitor everything they do without a warrant. If the ISPs refuse (as they probably would for fear of lawsuits) then he wants Congress to pass legislation requiring it.</p>
<p>He justifies this by invoking the usual suspects (terrorism and cyberattacks) but of course the surveillance would be quickly extended to cover lesser crimes like copyright violation. It is amusing to imagine the FBI locking up millions of file sharers, but probably they would just prosecute a small number of people to serve as examples.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/04/25/the-fbi-wants-to-monitor-your-web-browsing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bruce Schneier&#8217;s Twisted Mind</title>
		<link>http://bugfox.net/blog/2008/03/24/bruce-schneiers-twisted-mind/</link>
		<comments>http://bugfox.net/blog/2008/03/24/bruce-schneiers-twisted-mind/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 14:28:55 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/2008/03/24/bruce-schneiers-twisted-mind/</guid>
		<description><![CDATA[
SmartWater is a liquid with a unique identifier linked to a particular owner. &#8220;The idea is for me to paint this stuff on my valuables as proof of ownership,&#8221; I wrote when I first learned about the idea. &#8220;I think a better idea would be for me to paint it on your valuables, and then [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
SmartWater is a liquid with a unique identifier linked to a particular owner. &#8220;The idea is for me to paint this stuff on my valuables as proof of ownership,&#8221; I wrote when I first learned about the idea. &#8220;I think a better idea would be for me to paint it on your valuables, and then call the police.&#8221;<br />
&#8230;<br />
If more people had a security mindset, services that compromise privacy wouldn&#8217;t have such a sizable market share &#8212; and Facebook would be totally different. Laptops wouldn&#8217;t be lost with millions of unencrypted Social Security numbers on them, and we&#8217;d all learn a lot fewer security lessons the hard way. The power grid would be more secure. Identity theft would go way down. Medical records would be more private. If people had the security mindset, they wouldn&#8217;t have tried to look at Britney Spears&#8217; medical records, since they would have realized that they would be caught. </p>
<div style="text-align: right;">
Bruce Schneier&#8211;<a href="http://www.wired.com/politics/security/commentary/securitymatters/2008/03/securitymatters_0320">Inside the Twisted Mind of the Security Professional</a> (<a href="http://www.cafeaulait.org/">via</a>)
</div>
</blockquote>
<p>This seems a little grim, but it would be a useful counterbalance to the general tendency to enthusiastly embrace any plausible-sounding proposal without thinking through the consequences.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/03/24/bruce-schneiers-twisted-mind/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stylesheet Changes</title>
		<link>http://bugfox.net/blog/2008/03/23/stylesheet-changes/</link>
		<comments>http://bugfox.net/blog/2008/03/23/stylesheet-changes/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 19:01:22 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/2008/03/23/stylesheet-changes/</guid>
		<description><![CDATA[After testing the site with Safari for the first time I ended up making some massive, long-overdue changes to the stylesheet, which hopefully will allow things to display better in more browsers and screen resolutions.
In particular I eliminated the use of pixel metrics, replacing it with logical sizes (inches and points.) I also reduced the [...]]]></description>
			<content:encoded><![CDATA[<p>After testing the site with <a href="http://www.apple.com/safari/">Safari</a> for the first time I ended up making some massive, long-overdue changes to the stylesheet, which hopefully will allow things to display better in more browsers and screen resolutions.</p>
<p>In particular I eliminated the use of pixel metrics, replacing it with logical sizes (inches and points.) I also reduced the dependence on bitmap images for formatting and fixed some malformed relative URLs, which Firefox and IE handled correctly but Safari didn&#8217;t like.</p>
<p>If the site now looks WORSE in your browser, let me know what your configuration is and I&#8217;ll see what I can do.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/03/23/stylesheet-changes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>E-voting vendor blocks security audit with legal threats</title>
		<link>http://bugfox.net/blog/2008/03/20/e-voting-vendor-blocks-security-audit-with-legal-threats/</link>
		<comments>http://bugfox.net/blog/2008/03/20/e-voting-vendor-blocks-security-audit-with-legal-threats/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 15:37:08 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Intellectual Property]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/2008/03/20/e-voting-vendor-blocks-security-audit-with-legal-threats/</guid>
		<description><![CDATA[Problem: the voting machines report numbers that don&#8217;t add up.
Attempted solution: local authorites commision an independent audit of the machines to determine the source of the problem.
Checkmate: the vendor prevents the audit by threatening to sue to protect its &#8220;Intellectual Property.&#8221;
Story on Ars Technica.
This is exactly why all voting machines should be required to use [...]]]></description>
			<content:encoded><![CDATA[<p>Problem: the voting machines report numbers that don&#8217;t add up.</p>
<p>Attempted solution: local authorites commision an independent audit of the machines to determine the source of the problem.</p>
<p>Checkmate: the vendor prevents the audit by threatening to sue to protect its &#8220;Intellectual Property.&#8221;</p>
<p><a href="http://arstechnica.com/news.ars/post/20080320-e-voting-blocks-e-voting-security-audit-with-legal-threat.html">Story on Ars Technica</a>.</p>
<p>This is exactly why all voting machines should be required to use open source software throughout: to make sure that effective audits will always be possible. Of course no commercially available voting machines actually do this. As always the industry&#8217;s motto is &#8220;Trust us. Shut up. Just trust us.&#8221;</p>
<p>UPDATE: <a href="http://arstechnica.com/news.ars/post/20080429-review-of-nj-e-voting-approved-wont-be-in-time-for-election.html">A judge orders the review to proceed</a>, although the report won&#8217;t be available in time to do anything about it before the November elections.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/03/20/e-voting-vendor-blocks-security-audit-with-legal-threats/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Grace Hopper&#8217;s &#8220;Bug&#8221;</title>
		<link>http://bugfox.net/blog/2008/03/14/grace-hoppers-bug/</link>
		<comments>http://bugfox.net/blog/2008/03/14/grace-hoppers-bug/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 19:25:43 +0000</pubDate>
		<dc:creator>Jonathan Tappan</dc:creator>
		
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://bugfox.net/blog/2008/03/14/grace-hoppers-bug/</guid>
		<description><![CDATA[&#8220;Robert X. Cringely&#8221; (Mark Stephens) repeats and debunks the story the Admiral Grace Hopper invented the term &#8220;bug&#8221; (refering to computer problems.)
Actually I&#8217;m pretty sure that she never intended to claim that she invented the term. That is a misunderstanding imposed by others. She just said that she found &#8220;the first genuine computer bug,&#8221; meaning [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Robert X. Cringely&#8221; (Mark Stephens) <a href="http://www.pbs.org/cringely/pulpit/2008/pulpit_20080314_004511.html">repeats and debunks</a> the story the Admiral Grace Hopper invented the term &#8220;bug&#8221; (refering to computer problems.)</p>
<p>Actually I&#8217;m pretty sure that she never intended to claim that she invented the term. That is a misunderstanding imposed by others. She just said that she found &#8220;the first genuine computer bug,&#8221; meaning the first bug that was actually an insect.</p>
]]></content:encoded>
			<wfw:commentRss>http://bugfox.net/blog/2008/03/14/grace-hoppers-bug/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
