<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anything Geek Related &#187; Uncategorized</title>
	<atom:link href="http://debounce.wordpress.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://debounce.wordpress.com</link>
	<description>Anything to do with Dev</description>
	<lastBuildDate>Mon, 26 Jul 2010 01:07:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='debounce.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/475c7a4c8c16c61439ebfd02a6e0e03d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Anything Geek Related &#187; Uncategorized</title>
		<link>http://debounce.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://debounce.wordpress.com/osd.xml" title="Anything Geek Related" />
	<atom:link rel='hub' href='http://debounce.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How not to display fault exception messages</title>
		<link>http://debounce.wordpress.com/2010/07/26/how-not-to-display-fault-exception-messages/</link>
		<comments>http://debounce.wordpress.com/2010/07/26/how-not-to-display-fault-exception-messages/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 01:07:07 +0000</pubDate>
		<dc:creator>debounce</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone4]]></category>
		<category><![CDATA[optus]]></category>

		<guid isPermaLink="false">http://debounce.org/?p=79</guid>
		<description><![CDATA[With the imminent release of the iPhone 4 in Australia, I received an email from Optus to pre-register for the lineup outside the Optus stores. Unfortunately, when I visit the link: Optus pre-registration I get the following error message: Hypersite with URL 'https://optusiphone4.com/content/launch?elq=97148e61ae704842868620d3dcf34102' could not be found (Fault Type: System.ServiceModel.FaultException) - (Fault Code: System.ServiceModel.FaultCode) This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=79&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the imminent release of the iPhone 4 in Australia, I received an email from Optus to pre-register for the lineup outside the Optus stores.</p>
<p>Unfortunately, when I visit the link: <a href="https://optusiphone4.com/content/launch?elq=97148e61ae704842868620d3dcf34102">Optus pre-registration</a> I get the following error message:</p>
<pre>Hypersite with URL 'https://optusiphone4.com/content/launch?elq=97148e61ae704842868620d3dcf34102' could not be found  (<span style="color:#0000ff;">Fault Type: System.ServiceModel.FaultException</span>) - (<span style="color:#0000ff;">Fault Code: System.ServiceModel.FaultCode</span>)</pre>
<p>This is a SOAP exception error and indicates this site uses M$ ASP.NET.I am dumbfounded that this error message is not more properly handled (as indicated by <a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.faultexception.aspx">MSDN FaultException</a> better fault handling should occur via using a FaultContractAttribute) and a more intuitive web page is provided e.g. a web page with &#8220;Thankyou for your interest but currently we are overloaded. Please try again later&#8221; or even cooler a Twitter version of a Fail Whale will suffice , though I suspect they did not expect this level of interest for the release of the iPhone 4 in Australia.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/debounce.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/debounce.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/debounce.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/debounce.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/debounce.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/debounce.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/debounce.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/debounce.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=79&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://debounce.wordpress.com/2010/07/26/how-not-to-display-fault-exception-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/069913f0f676e5cc5427b9f91c85e45e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">debounce</media:title>
		</media:content>
	</item>
		<item>
		<title>Quirks of PHPUnit &amp; Xdebug setup in Ubuntu 9.10 (Karmic Koala)</title>
		<link>http://debounce.wordpress.com/2010/07/07/quirks-of-phpunit-xdebug-setup-ubuntu-karmic-koala/</link>
		<comments>http://debounce.wordpress.com/2010/07/07/quirks-of-phpunit-xdebug-setup-ubuntu-karmic-koala/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 04:25:25 +0000</pubDate>
		<dc:creator>debounce</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://debounce.org/?p=68</guid>
		<description><![CDATA[PHPUnit is a good Unit Testing framework for PHP and works well with the Zend framework. Setup Quirks for PHPUnit &#38; Xdebug It is especially easy (installing &#38; configuring via PEAR &#8211; PHP equivalent of CPAN for Perl) [thank you Sebastian for the update]: &#62;sudo apt-get install php-pear &#62;sudo pear upgrade-all PEAR &#62;sudo pear channel-update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=68&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PHPUnit is a good Unit Testing framework for PHP and works well with the Zend framework.</p>
<h3>Setup Quirks for PHPUnit &amp; Xdebug</h3>
<p>It is especially easy (installing &amp; configuring via PEAR &#8211; PHP equivalent of CPAN for Perl) [thank you Sebastian for the update]:</p>
<pre>&gt;sudo apt-get install php-pear</pre>
<pre>&gt;sudo pear upgrade-all PEAR</pre>
<pre>&gt;sudo pear channel-update PEAR</pre>
<pre>&gt;sudo pear channel-discover pear.phpunit.de</pre>
<pre>&gt;sudo pear install pear.phpunit.de/phpunit</pre>
<p>Install the xdebug libraries as well:</p>
<pre>&gt;sudo apt-get install php5-dev</pre>
<pre>&gt;sudo pecl install xdebug</pre>
<p>Edit the file /etc/php5/apache2/php.ini and add the following two lines to the bottom of the file:</p>
<pre>[xdebug]</pre>
<pre>zend_extension="/usr/lib/php5/20060613+lfs/xdebug.so"</pre>
<p>(Note that the xdebug.so file might be located in a different directory. Please double check this).</p>
<h3>PHPUnit Code Coverage Memory Quirk</h3>
<p>Another quirk is a memory hog issue that exists with the code coverage reporting done by PHPUnit.</p>
<p>As PHPUnit is run from the command line, you will need to modify the &#8216;cli&#8217; version of the php.ini file than rather apache2 directory version.</p>
<pre>&gt; vim /etc/php5/cli/php.ini</pre>
<p>And look for the memory_limit variable and set it to 512 Mb (Yes, it does take a lot memory!!).</p>
<pre>&gt;memory_limit = 512 M</pre>
<p>This is recommended by <a href="http://jeffreysambells.com/posts/2010/04/08/reporting-code-coverage-with-phpunit-and-xdebug/">Jeffrey Sambells </a></p>
<h3>PHPUnit erroneous package Quirk</h3>
<p>It appears that PHPUnit uses YUI for the javascript even though t is disabled in /usr/share/PHPUnit/TextUI/TestRunner.php ($arguments['reportYUI'] = FALSE;)</p>
<p>The error message being reported is the same as reported on <a href="https://bugs.launchpad.net/ubuntu/+source/phpunit/+bug/534376">Ubuntu launchpad</a>:</p>
<pre># phpunit --coverage-html coverage-html application
 PHPUnit 3.3.16 by Sebastian Bergmann.</pre>
<pre>Time: 0 seconds</pre>
<pre>OK (0 tests, 0 assertions)</pre>
<pre>Generating code coverage report, this may take a moment.
 Warning: copy(/usr/share/php/PHPUnit/Util/Report/Template/container-min.js): failed to open stream: No such file or directory in /usr/share/php/PHPUnit/Util/Report.php on line 242</pre>
<pre>Call Stack:
 0.0008      95544   1. {main}() /usr/bin/phpunit:0
 0.4147    6243128   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:52
 5.0970    6249232   3. PHPUnit_TextUI_TestRunner-&gt;doRun() /usr/share/php/PHPUnit/TextUI/Command.php:128
 5.0979    6263480   4. PHPUnit_Util_Report::render() /usr/share/php/PHPUnit/TextUI/TestRunner.php:424
 5.0989    6268848   5. PHPUnit_Util_Report::copyFiles() /usr/share/php/PHPUnit/Util/Report.php:115
 5.1511    6272616   6. copy() /usr/share/php/PHPUnit/Util/Report.php:242</pre>
<pre>Warning: copy(/usr/share/php/PHPUnit/Util/Report/Template/yahoo-dom-event.js): failed to open stream: No such file or directory in /usr/share/php/PHPUnit/Util/Report.php on line 242</pre>
<pre>Call Stack:
 0.0008      95544   1. {main}() /usr/bin/phpunit:0
 0.4147    6243128   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:52
 5.0970    6249232   3. PHPUnit_TextUI_TestRunner-&gt;doRun() /usr/share/php/PHPUnit/TextUI/Command.php:128
 5.0979    6263480   4. PHPUnit_Util_Report::render() /usr/share/php/PHPUnit/TextUI/TestRunner.php:424
 5.0989    6268848   5. PHPUnit_Util_Report::copyFiles() /usr/share/php/PHPUnit/Util/Report.php:115
 5.1743    6272616   6. copy() /usr/share/php/PHPUnit/Util/Report.php:242"</pre>
<p>The fix for this is relatively straightforward, though having an updated package should alleviate this. Doing a bit of googling showed there is a <a href="https://patches.ubuntu.com/by-release/extracted/debian/p/phpunit/3.3.17+repack-2/">patch</a>. Looking at the patch it was a simple case of editing /usr/share/php/PHPUnit/Util/Report.php and removing the offending javascript lines from the php script:</p>
<pre>-- /usr/share/php/PHPUnit/PHPUnit/Util/Report.php
+++ /usr/share/php/PHPUnit/PHPUnit/Util/Report.php
@@ -230,12 +230,10 @@
 'chameleon.png',
 'close12_1.gif',
 'container.css',
-          'container-min.js',
 'glass.png',
 'scarlet_red.png',
 'snow.png',
 'style.css',
-          'yahoo-dom-event.js'
 );</pre>
<p>Hope this helps whoever comes across the same quirks when setting up PHPUnit.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/debounce.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/debounce.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/debounce.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/debounce.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/debounce.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/debounce.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/debounce.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/debounce.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=68&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://debounce.wordpress.com/2010/07/07/quirks-of-phpunit-xdebug-setup-ubuntu-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/069913f0f676e5cc5427b9f91c85e45e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">debounce</media:title>
		</media:content>
	</item>
		<item>
		<title>Website Name Change</title>
		<link>http://debounce.wordpress.com/2009/04/29/website-name-change/</link>
		<comments>http://debounce.wordpress.com/2009/04/29/website-name-change/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 13:21:28 +0000</pubDate>
		<dc:creator>debounce</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://debounce.wordpress.com/?p=5</guid>
		<description><![CDATA[Finally, I have had time &#38; success in changing the domain name to debounce.org Didn&#8217;t take much work. All it really required was buying 10 credits ($10USD) and changing the domain nameservers via my domain host provider. Sweet! I will be conducting some restructuring of the site to &#8216;synergise&#8217; my social networks so that it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=5&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally, I have had time &amp; success in changing the domain name to debounce.org </p>
<p>Didn&#8217;t take much work. All it really required was buying 10 credits ($10USD) and changing the domain nameservers via my domain host provider. Sweet!</p>
<p>I will be conducting some restructuring of the site to &#8216;synergise&#8217; my social networks so that it can be accessed from the one location. </p>
<p>There will be a section on photography, with my first DSLR (Canon 1000D) takin centre stage, with the help of flickr, and the forays of a geek trying to get better at taking shots. </p>
<p>A section will be dedicated to iPhone dev and the angst and pros of developing on the platform (esp. with the upcoming iPhone 3.0)</p>
<p>Also, this site will try to be the one-stop shop for tech events or trends happening in Sydney (and possibly around the world!) </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/debounce.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/debounce.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/debounce.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/debounce.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/debounce.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/debounce.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/debounce.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/debounce.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=5&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://debounce.wordpress.com/2009/04/29/website-name-change/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/069913f0f676e5cc5427b9f91c85e45e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">debounce</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world from the iphone</title>
		<link>http://debounce.wordpress.com/2009/01/13/hello-world/</link>
		<comments>http://debounce.wordpress.com/2009/01/13/hello-world/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 21:41:25 +0000</pubDate>
		<dc:creator>debounce</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Trying out wordpress iPhone app. It seems to be quite intuitive thought it lacks certain features.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=1&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Trying out wordpress iPhone app.<br />
It seems to be quite intuitive thought it lacks certain features. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/debounce.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/debounce.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/debounce.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/debounce.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/debounce.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/debounce.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/debounce.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/debounce.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=debounce.wordpress.com&#038;blog=6162417&#038;post=1&#038;subd=debounce&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://debounce.wordpress.com/2009/01/13/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/069913f0f676e5cc5427b9f91c85e45e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">debounce</media:title>
		</media:content>
	</item>
	</channel>
</rss>
