<?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>The Angry Programmer</title>
	<atom:link href="http://tap-source.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tap-source.com</link>
	<description>Progamming Blog</description>
	<lastBuildDate>Wed, 06 Jun 2012 20:31:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Leaked-in</title>
		<link>http://tap-source.com/leaked-in/</link>
		<comments>http://tap-source.com/leaked-in/#comments</comments>
		<pubDate>Wed, 06 Jun 2012 20:31:56 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=364</guid>
		<description><![CDATA[Well, those idiots over at linked-in have let 6 million passwords loose on the internet. And what&#8217;s their advice? To simply change your password. What the hell are they on about? Given that people use passwords across multiple sites and maybe even their banks, this is poor advice. What they really mean is change your [&#8230;] <a class="more-link" href="http://tap-source.com/leaked-in/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Well, those idiots over at linked-in have let 6 million passwords loose on the internet.  And what&#8217;s their advice?  To simply change your password.  What the hell are they on about?  Given that people use passwords across multiple sites and maybe even their banks, this is poor advice.  What they really mean is change your password everywhere.  That&#8217;s if you can remember everywhere you&#8217;ve used the password.</p>
<p>Of course, stupid us should be using a different password for every site, as if we don&#8217;t have enough to remember, particularly when they enforce silly rules about the passwords.</p>
<p>If any of my data gets leaked or breached, I shall be suing them for any ensuing loses.</p>
<p>If could be a matter of deleting the account instead of changing the password, this will help with any future breaches to their security and I won&#8217;t have to read the inane ramblings about changing your password.</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/leaked-in/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/leaked-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Spy</title>
		<link>http://tap-source.com/i-spy/</link>
		<comments>http://tap-source.com/i-spy/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 21:30:07 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=356</guid>
		<description><![CDATA[Well, I don’t, but the government certainly thinks it has the right to.&#160; They’re about to pass laws that lets them monitor all internet and email traffic in real-time. I would be worried, but for the fact that the government is notoriously bad at anything to do with IT.&#160; I mean, look at all the [&#8230;] <a class="more-link" href="http://tap-source.com/i-spy/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Well, I don’t, but the government certainly thinks it has the right to.&#160; They’re about to pass laws that lets them monitor all internet and email traffic in real-time.</p>
<p>I would be worried, but for the fact that the government is notoriously bad at anything to do with IT.&#160; I mean, look at all the botched NHS projects, national id cards etc.</p>
<p>This looks like another waste of tax payers money and what do they think they’ll achieve with this?&#160; Knowledge is money as they say, and I can only think they’ll try to monetise this somehow.</p>
<p>I also doubt they have the expertise to pull this off, so they’ll no doubt outsource this to one of their crony third-party tech companies that have hardly shown great skills in the past.</p>
<p>Lets now wait for all the false arrests, police, politicians et al abusing the system and the whole thing being scrapped a few years down the line.</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/i-spy/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/i-spy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The meek shall inherit&#8230;</title>
		<link>http://tap-source.com/the-meek-shall-inherit/</link>
		<comments>http://tap-source.com/the-meek-shall-inherit/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 18:10:32 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=346</guid>
		<description><![CDATA[But the rest of us shall do it properly. I am, of course, talking about the evil that is inheritance. Time after time, this has tripped up many a seasoned developer, including myself. I changed my attitude to inheritance about 6 years ago and opted for the much more convenient and flexible route of composition. [&#8230;] <a class="more-link" href="http://tap-source.com/the-meek-shall-inherit/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>But the rest of us shall do it properly.</p>
<p>I am, of course, talking about the evil that is inheritance.  Time after time, this has tripped up many a seasoned developer, including myself.</p>
<p>I changed my attitude to inheritance about 6 years ago and opted for the much more convenient and flexible route of composition.  I guess being a former C++ developer, inheritance had been drummed into me and there was nothing else in the world.  As software projects became larger, the more complex object models became and the promise of reuse became a distant memory.</p>
<p>It was then that I thought that this had to change.  Instead of building all the functionality into the object models themselves, we should be building specific classes that do the work for us.  To work across our object model and update it as it sees fit.</p>
<p>This then came into its own with dependency injection and being able to inject different behaviours instead of having to build more and more complex object models.  Reuse was back with a vengeance and so was my fervour.</p>
<p>Anyone still singing the virtues of inheritance….your wrong, so wrong!  Mind you, maybe you&#8217;re happy being meek.</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/the-meek-shall-inherit/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/the-meek-shall-inherit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going loco using my POCO</title>
		<link>http://tap-source.com/going-loco-using-my-poco/</link>
		<comments>http://tap-source.com/going-loco-using-my-poco/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 18:04:50 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=344</guid>
		<description><![CDATA[I never realised until recently, that the binding mechanism can bind to a POCO. Now, don&#8217;t get me wrong, I knew that it could read the properties, but I never realised that it listened for updates as well. Normally I merrily derive from INotifyPropertyChanged (or some suitable base class), call the PropertyChanged event and let [&#8230;] <a class="more-link" href="http://tap-source.com/going-loco-using-my-poco/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>I never realised until recently, that the binding mechanism can bind to a POCO.  Now, don&#8217;t get me wrong, I knew that it could read the properties, but I never realised that it listened for updates as well.</p>
<p>Normally I merrily derive from INotifyPropertyChanged (or some suitable base class), call the PropertyChanged event and let the whole thing just work.  The same is true of a dependency object.</p>
<p>If the WPF binding mechanism discovers that it&#8217;s not one of these objects, it sticks its own listeners onto the object to deal with the changes.  Unfortunately, these are never removed, as it doesn&#8217;t have a clear understanding of the lifetime of the object.  This can cause memory leaks.</p>
<p>You live and learn&#8230;</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/going-loco-using-my-poco/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/going-loco-using-my-poco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eye Pad?</title>
		<link>http://tap-source.com/eye-pad/</link>
		<comments>http://tap-source.com/eye-pad/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 21:49:40 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=340</guid>
		<description><![CDATA[Those crazy guys over at tobii have a gadget to help track your eyes when using a laptop. It&#8217;s an infrared projector and receiver that tracks where your eyes are looking. In demonstrations, they&#8217;ve shown it switching between word documents, depending on which one your looking at. Now, we reckon couple that with voice control [&#8230;] <a class="more-link" href="http://tap-source.com/eye-pad/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Those crazy guys over at <a href="http://www.tobii.com" title="tobii">tobii</a> have a gadget to help track your eyes when using a laptop.  It&#8217;s an infrared projector and receiver that tracks where your eyes are looking.</p>
<p>In demonstrations, they&#8217;ve shown it switching between word documents, depending on which one your looking at.</p>
<p>Now, we reckon couple that with voice control and you could have a pretty nifty setup.  Especially for the disabled.</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/eye-pad/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/eye-pad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do you want chips with that?</title>
		<link>http://tap-source.com/do-you-want-chips-with-that/</link>
		<comments>http://tap-source.com/do-you-want-chips-with-that/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 19:54:12 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=338</guid>
		<description><![CDATA[New smart pills containing microchips are imminent on the high street. These are designed to tell when a patient is taking their medication, but other uses will probably not be far behind. We could probably envisage a time when this is measuring other internals of the body, like temperature, blood pressure, how long you&#8217;ve been [&#8230;] <a class="more-link" href="http://tap-source.com/do-you-want-chips-with-that/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>New smart pills containing microchips are imminent on the high street.  These are designed to tell when a patient is taking their medication, but other uses will probably not be far behind.</p>
<p>We could probably envisage a time when this is measuring other internals of the body, like temperature, blood pressure, how long you&#8217;ve been awake, the list could go on.</p>
<p>This smart little pill uses the stomach&#8217;s acid to create a voltage and so power itself.</p>
<p>All this information could then be relayed back to your favourite smartphone, giving instant access to you health check, as well as uploading it for historical information for your doctor.</p>
<p>Hmmm, I feel an app coming on <img src='http://tap-source.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/do-you-want-chips-with-that/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/do-you-want-chips-with-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MVVM TabControl</title>
		<link>http://tap-source.com/mvvm-tabcontrol/</link>
		<comments>http://tap-source.com/mvvm-tabcontrol/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 23:22:46 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[tap-source]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=307</guid>
		<description><![CDATA[This is a quick demonstration of how to use the standard WPF TabControl inside MVVM. First of all, I&#8217;ve just set up some very basic ViewModels: This ones for each item (Tab) in the TabControl: And this one is the main view model that contains the items: Here you can see an ObservableCollection of the [&#8230;] <a class="more-link" href="http://tap-source.com/mvvm-tabcontrol/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>This is a quick demonstration of how to use the standard WPF TabControl inside MVVM.</p>
<p>First of all, I&#8217;ve just set up some very basic ViewModels:</p>
<p>This ones for each item (Tab) in the TabControl:</p>
<pre class="brush: csharp; title: ; notranslate">
public class ItemViewModel : ViewModelBase
    {
        private string name;

        public ItemViewModel(string tabName)
        {
            TabName = tabName;
        }

        public string TabName
        {
            get;
            private set;
        }

        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                if (name != value)
                {
                    name = value;
                    OnPropertyChanged(&quot;Name&quot;);
                }
            }
        }
    }
</pre>
<p>And this one is the main view model that contains the items:</p>
<pre class="brush: csharp; title: ; notranslate">
    public class MainViewModel : ViewModelBase
    {
        private ObservableCollection&lt;ItemViewModel&gt; items = new ObservableCollection&lt;ItemViewModel&gt;();

        public ObservableCollection&lt;ItemViewModel&gt; Items
        {
            get
            {
                return items;
            }
        }
    }
</pre>
<p>Here you can see an ObservableCollection of the items exposed.  This is what will be bound to our TabControl via its ItemsSource property.  This will look like the XAML below.</p>
<pre class="brush: xml; title: ; notranslate">
        &lt;TabControl
            ItemsSource=&quot;{Binding Items}&quot;&gt;
            &lt;TabControl.ItemTemplate&gt;
                &lt;DataTemplate&gt;
                    &lt;TextBlock Text=&quot;{Binding TabName}&quot;/&gt;
                &lt;/DataTemplate&gt;
            &lt;/TabControl.ItemTemplate&gt;
            &lt;TabControl.ContentTemplate&gt;
                &lt;DataTemplate&gt;
                    &lt;views:ItemView/&gt;
                &lt;/DataTemplate&gt;
            &lt;/TabControl.ContentTemplate&gt;
        &lt;/TabControl&gt;
</pre>
<p>Here, the ItemTemplate is what&#8217;s used to display in the header of each tab and we&#8217;ve bound this to the TabName property from the ItemViewModel.</p>
<p>The ContentTemplate specifies the view that will be used.  The ItemView instance will automatically inherit the ItemViewModel as its DataContext.  Therefore all binding inside that view will be based on an ItemViewModel.</p>
<p>We set the DataContext on the MainWindow to the MainViewModel and add some items like so:</p>
<pre class="brush: csharp; title: ; notranslate">
            var mainViewModel = new MainViewModel();
            mainViewModel.Items.Add(new ItemViewModel(&quot;Tab 1&quot;));
            mainViewModel.Items.Add(new ItemViewModel(&quot;Tab 2&quot;));

            this.DataContext = mainViewModel;
</pre>
<p>Hopefully that was fairly straight forward to follow and you can download the entire solution from <a href='http://tap-source.com/mvvm-tabcontrol/tabcontrolmvvm/' rel='attachment wp-att-320'>here</a>.</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/mvvm-tabcontrol/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/mvvm-tabcontrol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On me &#8216;ead son</title>
		<link>http://tap-source.com/on-me-ead-son/</link>
		<comments>http://tap-source.com/on-me-ead-son/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 13:09:18 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=305</guid>
		<description><![CDATA[Not content with flooding the market with Android phones, Google now wants to get us all wearing glasses on our heads (well, faces anyway). It&#8217;s rumoured that they will be releasing Augmented Reality glasses by the end of the year. They&#8217;ll be using a 3G/4G data connection to retrieve information about their surroundings through GPS [&#8230;] <a class="more-link" href="http://tap-source.com/on-me-ead-son/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Not content with flooding the market with Android phones, Google now wants to get us all wearing glasses on our heads (well, faces anyway).</p>
<p>It&#8217;s rumoured that they will be releasing Augmented Reality glasses by the end of the year.</p>
<p>They&#8217;ll be using a 3G/4G data connection to retrieve information about their surroundings through GPS and several other sensors to display on the image in front of you.</p>
<p>Costing is reckoned to be around the price of a smart phone, but whether that&#8217;s the top-end or low-end remains to be seen.  Probably the top-end with a statement like that.</p>
<p>So, get ready for the new must have accessory and don those glasses like they geeks you know we are!!!</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/on-me-ead-son/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/on-me-ead-son/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hasta la Vita</title>
		<link>http://tap-source.com/hasta-la-vita/</link>
		<comments>http://tap-source.com/hasta-la-vita/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 15:23:34 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=295</guid>
		<description><![CDATA[Well, Sony have done it again. They&#8217;re shooting themselves in the foot. They&#8217;re about to launch the new PS Vita in Europe. My only question is why? For a start it&#8217;s going to be a whopping £229. That&#8217;s beyond Xbox 360 and PS3 territory. Then, who is is really aimed at? Well, these guys reckon [&#8230;] <a class="more-link" href="http://tap-source.com/hasta-la-vita/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>Well, Sony have done it again.  They&#8217;re shooting themselves in the foot.  They&#8217;re about to launch the new PS Vita in Europe.</p>
<p>My only question is why?  For a start it&#8217;s going to be a whopping £229.  That&#8217;s beyond Xbox 360 and PS3 territory.  Then, who is is really aimed at?  Well, these guys reckon the hardcore gaming community.  Hmmm, aren&#8217;t they already playing on their consoles and PCs?</p>
<p>And then, Sony being Sony, they&#8217;re going to release games on a (nother) proprietary format card.  Presumably to stop those naughty hardcore games from copying them.  When will Sony learn that all their DRM efforts are ultimately damaging their business?</p>
<p>Well, at least there&#8217;s going to be lots of games to choose from.  Er&#8230;.no.  It looks like it&#8217;s going to be release with a huge 30 game repository.</p>
<p>So, all in all, I&#8217;d stick with your consoles, PCs, smartphones, DS, iPod touches or any other myriad of devices you can play games on.</p>
<p>Good luck Sony and&#8230;</p>
<p>Hasta la vista Vita.</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/hasta-la-vita/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/hasta-la-vita/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just how boring will they get?</title>
		<link>http://tap-source.com/just-how-boring-will-they-get/</link>
		<comments>http://tap-source.com/just-how-boring-will-they-get/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 11:59:49 +0000</pubDate>
		<dc:creator>The Angry Programmer</dc:creator>
				<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://tap-source.com/?p=287</guid>
		<description><![CDATA[Well, it looks like this is the new Windows 8 logo. Looks a bit bland, looks a bit like the Shetland Island&#8217;s flag. Maybe they&#8217;re feeling a bit left out in the in cold. Ok, so they&#8217;re continuing with the Metro UI concept of keep it simple, but are they dumbing down too much? I [&#8230;] <a class="more-link" href="http://tap-source.com/just-how-boring-will-they-get/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_288" class="wp-caption alignnone" style="width: 310px"><a href="http://tap-source.com/wp-content/uploads/2012/02/Win8Logo.jpg"><img src="http://tap-source.com/wp-content/uploads/2012/02/Win8Logo-300x63.jpg" alt="Windows 8 Logo" title="Win8Logo" width="300" height="63" class="size-medium wp-image-288" /></a><p class="wp-caption-text">Windows 8 Logo</p></div>
<p>Well, it looks like this is the new Windows 8 logo.  Looks a bit bland, looks a bit like the Shetland Island&#8217;s flag.  Maybe they&#8217;re feeling a bit left out in the in cold.</p>
<p>Ok, so they&#8217;re continuing with the Metro UI concept of keep it simple, but are they dumbing down too much?</p>
<p>I mean, take a look at Apple&#8217;s stuff, all nice and curvy, shadows in the right places, the kind of stuff people crave after.</p>
<p>It clearly means to resemble the tile screen that is the landing page of both the new Windows desktop and the Windows Phone 7, but then make it in line with that properly and a little more colourful or with some subtle shadows.</p>
<p>Makes us feel cool and not all done up in a business suit and tie!!!</p>
<span class="facebook-like"><fb:like layout="box_count" show_faces="false" width="45" href="http://tap-source.com/just-how-boring-will-they-get/"></fb:like></span>]]></content:encoded>
			<wfw:commentRss>http://tap-source.com/just-how-boring-will-they-get/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
