<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>I Code, Therefore I Am</title>
	
	<link>http://blog.psychocoder.net</link>
	<description>while(!(succeed == try()));</description>
	<lastBuildDate>Mon, 29 Oct 2012 05:52:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PsychoCoder" /><feedburner:info uri="psychocoder" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Windows 8, my first impression</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/IZkl_AH_t7U/</link>
		<comments>http://blog.psychocoder.net/2012/10/28/windows-8-my-first-impression/#comments</comments>
		<pubDate>Mon, 29 Oct 2012 03:59:05 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[windows 8]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1271</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/10/28/windows-8-my-first-impression/" alt="Windows 8, my first impression"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2012/10/win8_startscreen-300x187.png" align="left" alt="Windows 8, my first impression" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;Two days ago I made the switch from Windows 7 to &lt;a title="Windows 8" href="http://windows.microsoft.com/en-US/windows/download-shop" target="_blank"&gt;Windows 8&lt;/a&gt;, and thus far I must say I'm impressed with the new OS. I like the Start Screen, and how you can customize every aspect of it, and how you can pin/unpin items/applications from the Start Screen.


&lt;strong&gt;Start Screen&lt;/strong&gt;

&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://blog.psychocoder.net/wp-content/uploads/2012/10/win8_startscreen.png"&gt; &lt;a href="http://blog.psychocoder.net/2012/10/28/windows-8-my-first-impression/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/IZkl_AH_t7U" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/10/28/windows-8-my-first-impression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/10/28/windows-8-my-first-impression/</feedburner:origLink></item>
		<item>
		<title>C# meet GeoLocation, GeoLocation meet C#</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/__FZmacAvm4/</link>
		<comments>http://blog.psychocoder.net/2012/08/26/c-meet-geolocation-geolocation-meet-c/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 01:59:00 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[google api]]></category>
		<category><![CDATA[reverse geocoding]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1253</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/08/26/c-meet-geolocation-geolocation-meet-c/" alt="C# meet GeoLocation, GeoLocation meet C#"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2011/12/Logo_CSharp2-150x150.png" align="left" alt="C# meet GeoLocation, GeoLocation meet C#" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;
Today we're going to be learning how to accomplish GeoLocation with C#. What is GeoLocation you ask, well according to Wikipedia it's:

Geolocation is the identification of the real-world geographic location of an object, such as a radar, mobile phone or an Internet-connected computer terminal. Geolocation may refer to the practice of assessing the location, or to the ac... &lt;a href="http://blog.psychocoder.net/2012/08/26/c-meet-geolocation-geolocation-meet-c/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/__FZmacAvm4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/08/26/c-meet-geolocation-geolocation-meet-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/08/26/c-meet-geolocation-geolocation-meet-c/</feedburner:origLink></item>
		<item>
		<title>Ten C# interview questions</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/qf7zF2ggvHA/</link>
		<comments>http://blog.psychocoder.net/2012/07/17/ten-c-interview-questions/#comments</comments>
		<pubDate>Tue, 17 Jul 2012 20:03:29 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[General Rantings]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1244</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/07/17/ten-c-interview-questions/" alt="Ten C# interview questions"&gt;&lt;img src="http://psychocoder.net/wp-content/uploads/2010/06/2572_1017445088835_1606354857_1427137_145795_s.jpg" align="left" alt="Ten C# interview questions" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;If you're hiring a developer, in this case a C# developer, it can be a daunting task to tell if they're as knowledgeable and good as they say they are. Here is a list of 10 interview questions that I think will help you decide if you're interviewing the right (talented) person (well it should show if the candidate knows what he/she is talking about):


	&lt;strong&gt;Why would you use a StringBuilder over a String?:&lt;/strong&gt; StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operate... &lt;a href="http://blog.psychocoder.net/2012/07/17/ten-c-interview-questions/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/qf7zF2ggvHA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/07/17/ten-c-interview-questions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/07/17/ten-c-interview-questions/</feedburner:origLink></item>
		<item>
		<title>Follow Friday =&gt; Friday July 6, 2012</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/CVUzONGTvjo/</link>
		<comments>http://blog.psychocoder.net/2012/07/06/follow-friday-friday-july-6-2012/#comments</comments>
		<pubDate>Fri, 06 Jul 2012 18:01:36 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[Follow Friday]]></category>
		<category><![CDATA[General Rantings]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1239</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/07/06/follow-friday-friday-july-6-2012/" alt="Follow Friday =&gt; Friday July 6, 2012"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2010/12/follow_friday7.png" align="left" alt="Follow Friday =&gt; Friday July 6, 2012" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;It's that time again, time for my Follow Friday list for July 6, 2012. For thos not acquanted with #FF this is where I give information about people you whould be following, so without further adieu here we go:


	&lt;a href="https://twitter.com/#!/gblock"&gt;Glenn Block&lt;/a&gt;: Got a need for MEF or REST then Glenn is your man. Glenn is always willing to help you, if you ask nicel... &lt;a href="http://blog.psychocoder.net/2012/07/06/follow-friday-friday-july-6-2012/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/CVUzONGTvjo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/07/06/follow-friday-friday-july-6-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/07/06/follow-friday-friday-july-6-2012/</feedburner:origLink></item>
		<item>
		<title>Retrieve your Windows product key with C#</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/R8agVTlsVEU/</link>
		<comments>http://blog.psychocoder.net/2012/07/04/retrieve-your-windows-product-key-with-csharp/#comments</comments>
		<pubDate>Wed, 04 Jul 2012 18:17:02 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[C# 4.0]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1231</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/07/04/retrieve-your-windows-product-key-with-csharp/" alt="Retrieve your Windows product key with C#"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2011/12/Logo_CSharp2-150x150.png" align="left" alt="Retrieve your Windows product key with C#" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;
I've seen this question asked many times on different forums and thought I'd develop a solution for retrieving your Windows product key. It's actually a little mnore indepth than I initially thought due to the fact that the key is encoded as a byte array in the registry, so we will have to decode it to get the actual key.

&lt;strong&gt;NOTE:&lt;/strong&gt; This is the first part of... &lt;a href="http://blog.psychocoder.net/2012/07/04/retrieve-your-windows-product-key-with-csharp/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/R8agVTlsVEU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/07/04/retrieve-your-windows-product-key-with-csharp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/07/04/retrieve-your-windows-product-key-with-csharp/</feedburner:origLink></item>
		<item>
		<title>I’m Back!</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/MkLnL_ZYcfY/</link>
		<comments>http://blog.psychocoder.net/2012/05/16/im-back/#comments</comments>
		<pubDate>Thu, 17 May 2012 06:37:45 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[General Rantings]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1226</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/05/16/im-back/" alt="I'm Back!"&gt;&lt;img src="http://psychocoder.net/wp-content/uploads/2010/06/2572_1017445088835_1606354857_1427137_145795_s.jpg" align="left" alt="I'm Back!" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;I've been away from my blog (since February) but am back now. I was recouperating from 7 different shoulder surgeries in the past 18 months, when they finally replaced the entire shoulder with titanium parts (called a total shoulder replacement) and that has taking a lot to heal from. I wouldnt wish that kind of pain on my worst enemy. I'm not at 100% yet but am hoping to get there soon so I can blog even more, and that's where my readers come in.

Feel free to let me know what topics you'd like to read about. You can leave comments on this entry with your ideas for quality blog p... &lt;a href="http://blog.psychocoder.net/2012/05/16/im-back/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/MkLnL_ZYcfY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/05/16/im-back/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/05/16/im-back/</feedburner:origLink></item>
		<item>
		<title>Follow Friday =&gt; Friday February 10, 2012</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/KhCwQ33tt34/</link>
		<comments>http://blog.psychocoder.net/2012/02/10/follow-friday-friday-february-10-2012/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 20:46:13 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[Follow Friday]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1219</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/02/10/follow-friday-friday-february-10-2012/" alt="Follow Friday =&gt; Friday February 10, 2012"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2010/12/follow_friday7.png" align="left" alt="Follow Friday =&gt; Friday February 10, 2012" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;Well it's Follow Friday time again, this will be the last one I do for a week or so since I go in for surgery on Monday. In case you're wondering why I'm doing this on my blog instead of in Twitter, Twitter only allows 140 characters and I need more.

So here we go on this weks follow Friday list:


	&lt;strong&gt;Jefferson Kirkland&lt;/strong&gt; ( &lt;a href="http://blog.psychocoder.net/2012/02/10/follow-friday-friday-february-10-2012/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/KhCwQ33tt34" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/02/10/follow-friday-friday-february-10-2012/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/02/10/follow-friday-friday-february-10-2012/</feedburner:origLink></item>
		<item>
		<title>Adding Aero Effect to your application with C# and Win32</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/6XzGMEoAcco/</link>
		<comments>http://blog.psychocoder.net/2012/01/27/adding-aero-effect-to-your-application-with-csharp-and-win32/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 18:55:05 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[P/Invoke]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1206</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/01/27/adding-aero-effect-to-your-application-with-csharp-and-win32/" alt="Adding Aero Effect to your application with C# and Win32"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2011/12/Logo_CSharp2-150x150.png" align="left" alt="Adding Aero Effect to your application with C# and Win32" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;Today we're going to look at using Aero in your WinForms applications. I've been asked this so many times that I figured this would be a good thing to blog about.

&lt;strong&gt;NOTE:&lt;/strong&gt; Requires Vista or Windows 7 with Aero enabled, so we'll need to check for that.

So let's get started, first we need to pick the Win32 API methods we'll be using, for this we'll be using:... &lt;a href="http://blog.psychocoder.net/2012/01/27/adding-aero-effect-to-your-application-with-csharp-and-win32/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/6XzGMEoAcco" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/01/27/adding-aero-effect-to-your-application-with-csharp-and-win32/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/01/27/adding-aero-effect-to-your-application-with-csharp-and-win32/</feedburner:origLink></item>
		<item>
		<title>Follow Friday =&gt; Friday January 27, 2012</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/QgsJctxYNlE/</link>
		<comments>http://blog.psychocoder.net/2012/01/27/follow-friday-friday-january-27-2012/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 17:27:38 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[Follow Friday]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1199</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/01/27/follow-friday-friday-january-27-2012/" alt="Follow Friday =&gt; Friday January 27, 2012"&gt;&lt;img src="http://blog.psychocoder.net/wp-content/uploads/2010/12/follow_friday7.png" align="left" alt="Follow Friday =&gt; Friday January 27, 2012" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;Once again it's time for my Follow Friday list, people you should definitely be following on Twitter. The people below are all great assets to out industry and you need them in your list. So let's get to the list:



&lt;strong&gt;Barry Dorrans&lt;/strong&gt; (&lt;a href="https://twitter.com/blowdart"&gt;@blowdart&lt;/a&gt;): Barry is defintely one to follow. He's an author, developer... &lt;a href="http://blog.psychocoder.net/2012/01/27/follow-friday-friday-january-27-2012/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/QgsJctxYNlE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/01/27/follow-friday-friday-january-27-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/01/27/follow-friday-friday-january-27-2012/</feedburner:origLink></item>
		<item>
		<title>OO Database connection with  PHP</title>
		<link>http://feedproxy.google.com/~r/PsychoCoder/~3/gMt5XorVdgg/</link>
		<comments>http://blog.psychocoder.net/2012/01/13/database-connection-with-oo-in-php/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 07:55:56 +0000</pubDate>
		<dc:creator>Richard McCutchen</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.psychocoder.net/?p=1194</guid>
		<description>&lt;a href="http://blog.psychocoder.net/2012/01/13/database-connection-with-oo-in-php/" alt="OO Database connection with  PHP"&gt;&lt;img src="http://psychocoder.net/wp-content/uploads/2010/06/2572_1017445088835_1606354857_1427137_145795_s.jpg" align="left" alt="OO Database connection with  PHP" hspace="5" vspace="5" border="0" /&gt;&lt;/a&gt;Recently the question of connecting to a MySql database in a OO way, so I thought I'd share what I came up with for using mysqli in an OO manner.

First I created a class named db_connection, which takes the host, username, password, and the db we wish to connect to. inside our function tries to connect with the values provided and sends an error message &amp; number back if there was an issue. So here's the class:

[php]
class db_connection extends mysqli 
{
    public function __construct($dbhost, $username, $password, $db) 
	{
        parent::__construct($dbhost, $username,... &lt;a href="http://blog.psychocoder.net/2012/01/13/database-connection-with-oo-in-php/"&gt;Full post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/PsychoCoder/~4/gMt5XorVdgg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://blog.psychocoder.net/2012/01/13/database-connection-with-oo-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.psychocoder.net/2012/01/13/database-connection-with-oo-in-php/</feedburner:origLink></item>
	</channel>
</rss>
