<?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>David Huby's Blog &#187; Programming</title>
	<atom:link href="http://blog.davidhuby.com/index.php/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davidhuby.com</link>
	<description>Technical and business stuff</description>
	<lastBuildDate>Wed, 07 Dec 2011 08:42:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Knowledgebase 5th December</title>
		<link>http://blog.davidhuby.com/index.php/2011/12/knowledgebase-5th-december/</link>
		<comments>http://blog.davidhuby.com/index.php/2011/12/knowledgebase-5th-december/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 06:34:49 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/?p=189</guid>
		<description><![CDATA[I've decided to put together a post of links I recommend or find useful this week
Metrics on the value of "Social Proof" http://techcrunch.com/2011/11/27/social-proof-why-people-like-to-follow-the-crowd/
Zero email policy - finding tools moire suitable than email http://news.yahoo.com/tech-firm-implements-employee-zero-email-policy-165311050.html
]]></description>
			<content:encoded><![CDATA[<p>I've decided to put together a post of links I recommend or find useful this week</p>
<p>Metrics on the value of "Social Proof" <a href="http://techcrunch.com/2011/11/27/social-proof-why-people-like-to-follow-the-crowd/">http://techcrunch.com/2011/11/27/social-proof-why-people-like-to-follow-the-crowd/</a></p>
<p>Zero email policy - finding tools moire suitable than email <a href="http://news.yahoo.com/tech-firm-implements-employee-zero-email-policy-165311050.html">http://news.yahoo.com/tech-firm-implements-employee-zero-email-policy-165311050.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2011/12/knowledgebase-5th-december/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Development &#8211; ADT Eclipse error</title>
		<link>http://blog.davidhuby.com/index.php/2010/08/android-development-adt-eclipse-error/</link>
		<comments>http://blog.davidhuby.com/index.php/2010/08/android-development-adt-eclipse-error/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 06:09:49 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/?p=171</guid>
		<description><![CDATA[I got Hello World working without any problems, but when getting the LunarLander example I ran into a bit of an issue ... "The project cannot be built until build path errors are resolved"
I found the solution at http://code.google.com/p/android/issues/detail?id=5509 (by Philip Lowman)
1. Right click in Package Explorer and choose Import
2. Choose "Existing project into workspace" [...]]]></description>
			<content:encoded><![CDATA[<p>I got Hello World working without any problems, but when getting the LunarLander example I ran into a bit of an issue ... "The project cannot be built until build path errors are resolved"</p>
<p>I found the solution at http://code.google.com/p/android/issues/detail?id=5509 (by Philip Lowman)</p>
<p>1. Right click in Package Explorer and choose Import<br />
2. Choose "Existing project into workspace" under General<br />
3. Click Browse next to "Select root directory"<br />
4. Select the following folder in your android SDK directory:<br />
samples/android-8/ApiDemos<br />
5. Check the "Copy projects into workspace" box<br />
6. Click Finish<br />
7. The project should now build successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2010/08/android-development-adt-eclipse-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get started learning PHP</title>
		<link>http://blog.davidhuby.com/index.php/2010/08/get-started-learning-php/</link>
		<comments>http://blog.davidhuby.com/index.php/2010/08/get-started-learning-php/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 03:51:17 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/index.php/2010/08/get-started-learning-php/</guid>
		<description><![CDATA[Someone I met the other day asked me how they could get started with PHP - should they do a course?
I don't think a course is the best way to start PHP - with so many good resources online you can get started and start writing practical PHP, and come back and use a book [...]]]></description>
			<content:encoded><![CDATA[<p>Someone I met the other day asked me how they could get started with PHP - should they do a course?</p>
<p>I don't think a course is the best way to start PHP - with so many good resources online you can get started and start writing practical PHP, and come back and use a book or do a course once you've already grasped the basics.</p>
<h3>Tips</h3>
<p>Make sure you understand </p>
<ul>
<li>the control structures like if, while, the difference between for and foreach</li>
<li>most of the string manipulation functions</li>
<li>print and echo and the difference between them</li>
<li>some of the array manipulation functions</li>
</ul>
<p>You will also want a really good grasp of how arrays work, it's a pretty long article but I'd read through the whole thing php.net/array . I think the biggest strength of PHP is its very flexible array implementation and understanding it well will give you a great deal of the benfits of PHP.</p>
<p>Once you have that covered move on to understanding the object oriented functionality that was introduced in PHP5.</p>
<h3>Resources</h3>
<h4>Stackoverflow.com</h4>
<p>This is a great resource for a number of languages. One of the cool things about having people who know all these different languages is they can look at something like PHP from a bunch of different perspectives. A lot of people say PHP is terrible, and they have their reasons ... But I also think that there are many cases where PHP is the best or most economically viable solution</p>
<p>http://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible</p>
<p>Some really good responses on this thread. This will give you more of a feel for the language at a bit of a higher level than the nuts and bolts of this or that function.</p>
<p>You can look at all the PHP threads here</p>
<p>http://stackoverflow.com/questions/tagged/php</p>
<h4>php.net</h4>
<p>Thisis the official resource. One handy thing about php.net is if you want to search for how to use strlen (string length) for example, just navigate to php.net/strlen and you will be redirected to that manual page. In the left hand column there will be a bunch of other similar functions to the one you just looked up - in this case string manipulation</p>
<h4>phpclasses.org</h4>
<p>This is sometimes good sometimes bad. they have a lot of resources on there but I've found some of the submitted code is unpolished. On the other hand I've used some email and graphing libraries from there and they have been fantastic. </p>
<p>So if you want to find a library to do something that you think might have been done before, sign up and check out this site, try things and be aware the first thing you download might not be the right tool for the job.</p>
<p>From time to time they also have great newsletter articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2010/08/get-started-learning-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Single sign on in Sitecore</title>
		<link>http://blog.davidhuby.com/index.php/2010/03/single-sign-on-in-sitecore/</link>
		<comments>http://blog.davidhuby.com/index.php/2010/03/single-sign-on-in-sitecore/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 22:28:57 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[sitecore 6.2]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/?p=149</guid>
		<description><![CDATA[Even after going through the Active Directory and Custom Providers documentation with a fine toothed comb, there was still an issue with Single Sign On. Every time I hit sitecore/admin/LDAPLogin.aspx - the 'configuration test' for SSO, which had anonymous authentication disabled and Windows Integrated authentication turned on, I was presented with a pop up login [...]]]></description>
			<content:encoded><![CDATA[<p>Even after going through the <a href="http://sdn.sitecore.net/Products/AD/Documentation.aspx">Active Directory and Custom Providers documentation</a> with a fine toothed comb, there was still an issue with Single Sign On. Every time I hit sitecore/admin/LDAPLogin.aspx - the 'configuration test' for SSO, which had anonymous authentication disabled and Windows Integrated authentication turned on, I was presented with a pop up login box. After several failures using login details I knew to be correct, I was presented with a 401.1 Error Page.</p>
<p>It turns out this is due to <a href="http://sdn.sitecore.net/scrapbook/401,-d-,1%20error.aspx">custom host headers being used on a local site</a>. You can read about this in more detail here at <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;896861">Microsoft support</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2010/03/single-sign-on-in-sitecore/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sitecore tip of the day &#8211; Rebuild Lucene Search Index</title>
		<link>http://blog.davidhuby.com/index.php/2010/02/sitecore-tip-of-the-day-rebuild-lucene-search-index/</link>
		<comments>http://blog.davidhuby.com/index.php/2010/02/sitecore-tip-of-the-day-rebuild-lucene-search-index/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:04:08 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[sitecore 6.2]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/?p=127</guid>
		<description><![CDATA[How do I rebuild a Lucene Search Index in Sitecore?

Log in to the Sitecore desktop at http://yoursite/sitecore/
Click the Sitecore button and open the Control Panel
Click on the Database group
Click Rebuild the Search Index
Select the indexes you wish to rebuild and click the Rebuild button

]]></description>
			<content:encoded><![CDATA[<p>How do I rebuild a Lucene Search Index in Sitecore?</p>
<ul>
<li>Log in to the Sitecore desktop at http://yoursite/sitecore/</li>
<li>Click the Sitecore button and open the Control Panel</li>
<li>Click on the Database group</li>
<li>Click Rebuild the Search Index</li>
<li>Select the indexes you wish to rebuild and click the Rebuild button</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2010/02/sitecore-tip-of-the-day-rebuild-lucene-search-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TortoiseSVN icons not working in Windows 7</title>
		<link>http://blog.davidhuby.com/index.php/2010/02/tortoisesvn-icons-not-working-in-windows-7/</link>
		<comments>http://blog.davidhuby.com/index.php/2010/02/tortoisesvn-icons-not-working-in-windows-7/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 05:50:02 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/?p=117</guid>
		<description><![CDATA[I have been having a problem where Tortoise SVN icons have not been appearing in Windows 7, and this seemed to fix my problem.
http://stackoverflow.com/questions/1057734/tortoisesvn-icons-not-showing-up-under-windows-7
]]></description>
			<content:encoded><![CDATA[<p>I have been having a problem where Tortoise SVN icons have not been appearing in Windows 7, and this seemed to fix my problem.</p>
<p>http://stackoverflow.com/questions/1057734/tortoisesvn-icons-not-showing-up-under-windows-7</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2010/02/tortoisesvn-icons-not-working-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tool for duplicate code detection</title>
		<link>http://blog.davidhuby.com/index.php/2009/11/tool-for-duplicate-code-detection/</link>
		<comments>http://blog.davidhuby.com/index.php/2009/11/tool-for-duplicate-code-detection/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 05:08:55 +0000</pubDate>
		<dc:creator>David Huby</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://blog.davidhuby.com/?p=103</guid>
		<description><![CDATA[I have spent some time evaluating freeware tools which can identify  duplicate code.
I had mixed success with PMD/CPD, phpcpd, and others, until finally I came across Duplicate Code Finder. This is a visual tool compiled into a single 33KB exe, and seems to work perfectly.
Download link - http://www.gaijin.at/en/dldupcodefind.php
Only one downside - all the labels [...]]]></description>
			<content:encoded><![CDATA[<p>I have spent some time evaluating freeware tools which can identify <a href="http://en.wikipedia.org/wiki/Duplicate_code"> duplicate code</a>.</p>
<p>I had mixed success with PMD/CPD, phpcpd, and others, until finally I came across Duplicate Code Finder. This is a visual tool compiled into a single 33KB exe, and seems to work perfectly.</p>
<p><a href="http://www.gaijin.at/en/dldupcodefind.php">Download link - http://www.gaijin.at/en/dldupcodefind.php</a></p>
<p>Only one downside - all the labels in the tool are in German, so you might need to keep a Google translate window open while you're using it...</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhuby.com/index.php/2009/11/tool-for-duplicate-code-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

