<?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>Narnio</title>
	<atom:link href="http://www.narnio.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.narnio.com</link>
	<description>A day in the life of a software engineer</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:31:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Working on Ajax integration with WordPress</title>
		<link>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/</link>
		<comments>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 18:31:54 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=627</guid>
		<description><![CDATA[As part of the new theme I&#8217;ve been developing I&#8217;m including some richer user features. Like on the spot loading of comments and better mobile device support. One of the things I need to figure out during the development is how to use Ajax in WordPress, preferably native support. I know it should be possible, [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the new theme I&#8217;ve been developing I&#8217;m including some richer user features. Like on the spot loading of comments and better mobile device support. One of the things I need to figure out during the development is how to use Ajax in <a  href="http://www.wordpress.org" target="_blank">WordPress</a>, preferably native support. I know it should be possible, but have yet been unsuccessful to get it working.</p>
<p>So what I&#8217;ve been doing is setting up a new action using <a  title="Reference page" href="http://codex.wordpress.org/Function_Reference/add_action" target="_blank">add_action </a>for the following two action types:</p>
<ul>
<li>wp_ajax_&lt;myaction&gt;</li>
<li>wp_ajax_nopriv_&lt;myaction&gt;</li>
</ul>
<p>According to the documentation that should generate a hook to support both registered users (wp_ajax_&lt;myaction&gt;) and unregistered users (wp_ajax_nopriv_&lt;myaction&gt;). Which sounds great, since my theme should work for both type of users <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>On the front-end I&#8217;ve created a Javascript method that should call the ajax command using the <em>&#8216;wp-admin/admin-ajax.php&#8217;</em>. With as <strong>action</strong> parameter the name of my ajax method. So in theory I should be setup correctly to handle ajax, but this is where the theory and actual situation start to differ.</p>
<p>To test my new theme I&#8217;ve been using the preview mode of WordPress, after all I don&#8217;t want to kill any existing feature or activate the theme before it is done. But for some reason my nicely setup Ajax hooks aren&#8217;t working as advertised.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strike against SOPA</title>
		<link>http://www.narnio.com/2012/01/17/strike-against-sopa/</link>
		<comments>http://www.narnio.com/2012/01/17/strike-against-sopa/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 10:10:24 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=625</guid>
		<description><![CDATA[Just like many other website&#8217;s Narnio will go black on the 18th to protest against SOPA. For those that don&#8217;t now about it SOPA is Amerika&#8217;s way to oppress the free Internet as well as completely legal websites. Here are some of the reasons why SOPA sucks: SOPA Gives the Power to Censor the Internet to [...]]]></description>
			<content:encoded><![CDATA[<p>Just like many other website&#8217;s Narnio will go black on the 18th to protest against SOPA. For those that don&#8217;t now about it SOPA is Amerika&#8217;s way to oppress the free Internet as well as completely legal websites. Here are some of the reasons why SOPA sucks:</p>
<ol>
<li><strong>SOPA Gives the Power to Censor the Internet to the Entertainment Industry</strong></li>
<li><strong>SOPA Curbs Internet Freedom And Online Freedom of Speech</strong></li>
<li><strong>SOPA Kills Jobs, Thwarts Entrepreneurial Growth</strong></li>
<li><strong>SOPA Doesn’t Curb Piracy, It Merely Makes Pirated Content Less Accessible</strong></li>
<li><strong>SOPA Is A Threat To Open Source Too</strong></li>
</ol>
<p>A lot of big Internet sites are opposing SOPA, including:</p>
<ul>
<li>Google</li>
<li>Bungie</li>
<li>Wikipedia</li>
<li>Mozilla Foundation</li>
<li>Tucows</li>
<li><a  href="http://blogs.nvidia.com/2012/01/nvidia-does-not-support-sopa/">NVIDIA </a></li>
</ul>
<p>Below is a quote from the <a  href="http://www.sopastrike.com/">SOPA Strike</a>.</p>
<blockquote><p>On <strong>January 18th, 2012</strong> the internet is going on strike to stop <a  title="The Protect Internet Privacy Act" href="http://fightforthefuture.org/pipa">the web censorship bills in Congress!</a>  Now is our moment— we need you to do everything you can, whether you have a website or not.</p></blockquote>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2012/01/17/strike-against-sopa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New MP3 players with huge storage capacity</title>
		<link>http://www.narnio.com/2012/01/12/new-mp3-players-with-huge-storage-capacity/</link>
		<comments>http://www.narnio.com/2012/01/12/new-mp3-players-with-huge-storage-capacity/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 08:18:58 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>
		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=618</guid>
		<description><![CDATA[I never thought I would see the day that I could buy a MP3 player with more storage available then 16GB. But what they are offering at the MyCom at the moment is unbelievable.  The claim to have MP3 players with 8192 GB of storage. Where can I sign up for one of those???? Click [...]]]></description>
			<content:encoded><![CDATA[<p>I never thought I would see the day that I could buy a MP3 player with more storage available then 16GB. But what they are offering at the MyCom at the moment is unbelievable.  The claim to have MP3 players with 8192 GB of storage. Where can I sign up for one of those????</p>
<p><center></p>
<p style="text-align: center;"><a  href="http://www.narnio.com/wp-content/uploads/2012/01/huge-mp3-players.png" class="thickbox no_icon" rel="gallery-618" title="Huge amount of storage for MP3 players"><img class="aligncenter size-medium wp-image-619" title="Huge amount of storage for MP3 players" src="http://www.narnio.com/wp-content/uploads/2012/01/huge-mp3-players-300x198.png" alt="" width="409" height="237" /></a></p>
<p style="text-align: center;">Click the image for a larger version.</p>
<p></center></p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2012/01/12/new-mp3-players-with-huge-storage-capacity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cold visitors on LinkedIn</title>
		<link>http://www.narnio.com/2011/12/22/cold-visitors-on-linkedin/</link>
		<comments>http://www.narnio.com/2011/12/22/cold-visitors-on-linkedin/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 09:03:07 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=612</guid>
		<description><![CDATA[I just happened to look over my LinkedIn visitor stats today and noticed something very, very strange. I had a visit from the most unlikely of places. One of the coldest places, being the North Pole. I guess someone at the LinkedIn offices was having a wonderfull day off and generating some nice stats . [...]]]></description>
			<content:encoded><![CDATA[<p>I just happened to look over my LinkedIn visitor stats today and noticed something very, very strange. I had a visit from the most unlikely of places. One of the coldest places, being the North Pole.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-613" title="Weird LinkedIn visitor" src="http://www.narnio.com/wp-content/uploads/2011/12/visit.png" alt="" width="500" height="242" /></p>
<p>I guess someone at the LinkedIn offices was having a wonderfull day off and generating some nice stats <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/12/22/cold-visitors-on-linkedin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first steps into Android development</title>
		<link>http://www.narnio.com/2011/10/30/my-first-steps-into-android-development/</link>
		<comments>http://www.narnio.com/2011/10/30/my-first-steps-into-android-development/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 16:00:44 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=606</guid>
		<description><![CDATA[After owning an Android phone for over an year, and using it on daily base, I thought it might be time to look into how easy it would be to start developing for the Android OS. As any good developer I first started reading a bit on how to develop for it, and what requirement&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>After owning an Android phone for over an year, and using it on daily base, I thought it might be time to look into how easy it would be to start developing for the <a  title="The official Android website" href="http://www.android.com/" target="_blank">Android OS</a>. As any good developer I first started reading a bit on how to develop for it, and what requirement&#8217;s I would have to meet.</p>
<p>Now I&#8217;m not going to be boring you with all kinds of tutorials on how to develop on Android, or give you any other clues on this subject. I just don&#8217;t know anything about Android development, well not yet anyhow. But some good reading material to get you on the right path might be:</p>
<ul>
<li><a  title="Official developers guide by android" href="http://developer.android.com/guide/topics/fundamentals.html" target="_blank">The Android development guide</a>, all you ever will need to know about Android development (bit technical though)</li>
<li><a  href="http://www.sitepoint.com/writing-your-first-android-app-2/" target="_blank">Writing your first Android app</a>, good tutorial to get started in Android</li>
</ul>
<p>The only thing I have learned so far is that I don&#8217;t really like the way of designing a UI for the Android. It&#8217;s just way to basic with XML files describing how the UI should look like. Feels like going back to 1990 when designing a UI was done in code rather then with a UI design tool.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/10/30/my-first-steps-into-android-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on the new UI for this blog</title>
		<link>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/</link>
		<comments>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 17:38:12 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=603</guid>
		<description><![CDATA[About a month ago I wrote something on creating a new UI for this blog. One that would be lightweight and a lot quicker then the current one. It might seem that I&#8217;ve given up on this new UI, but the opposite is true. It&#8217;s been a rather busy couple of weeks since my last [...]]]></description>
			<content:encoded><![CDATA[<p>About a month ago I wrote something on creating a new UI for this blog. One that would be lightweight and a lot quicker then the current one. It might seem that I&#8217;ve given up on this new UI, but the opposite is true.</p>
<p>It&#8217;s been a rather busy couple of weeks since my last update, but work is slowly progressing. So far I designed most of the UI elements, but I ended up in some trouble with the browser compatibility. As any web developer will know it&#8217;s a hell to make a website compatible with older browsers, especially the older Internet Explorer versions. And as this is supposed to be a lightweight theme it means I&#8217;ll have to rely on as much of CSS3 as possible. Which also means making separate sylesheets for the older browsers to display the content the same way.</p>
<p>So far I&#8217;ve built the following features in the new WordPress Theme:</p>
<ul>
<li>Support of the social networks</li>
<li>Browser detection to better enable CSS2 / CSS3 features or mobile version</li>
<li>Various hooks into the WordPress system to change behaviour of WordPress</li>
<li>Design of the various elements of WordPress, being posts / pages and categories</li>
</ul>
<p>Now I still have a long way to go before the new theme is ready for deployment, but I&#8217;m slowly continuing the work on the new theme. Just to give you some insight on how the final version of the theme will look I&#8217;ve included some screen-shots of the latest development release.</p>
<div id="attachment_604" class="wp-caption aligncenter" style="width: 310px"><a  href="http://www.narnio.com/wp-content/uploads/2011/09/Narnio2.0-post.png" class="thickbox no_icon" rel="gallery-603" title="Narnio new post layout"><img class="size-medium wp-image-604" title="Narnio new post layout" src="http://www.narnio.com/wp-content/uploads/2011/09/Narnio2.0-post-300x135.png" alt="" width="300" height="135" /></a><p class="wp-caption-text">Screenshot of new layout</p></div>
<p style="text-align: center;">
<p>Even when all the design stuff is done I&#8217;ll still have to do some integration of analytics software and the capabilities to show ads. As well as hooking back in all the various plug-ins I&#8217;ve been using for WordPress for the past couple of years.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The hunt for a tablet</title>
		<link>http://www.narnio.com/2011/09/03/the-hunt-for-a-tablet/</link>
		<comments>http://www.narnio.com/2011/09/03/the-hunt-for-a-tablet/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 17:01:00 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[tablets]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=590</guid>
		<description><![CDATA[A couple of months ago I decided it was time to finally take the plunge and purchase a tablet, but which one. There are so many to choose from. My wishes where simple, it had to have a decent battery live and affordable. Decent battery live and build quality means most of the 300$ and [...]]]></description>
			<content:encoded><![CDATA[<p><a  href="http://www.narnio.com/wp-content/uploads/2011/09/Tablet-War.jpg" class="thickbox no_icon" rel="gallery-590" title="Tablet-War"><img class="alignright size-medium wp-image-591" style="border: 1px solid black;" title="Tablet-War" src="http://www.narnio.com/wp-content/uploads/2011/09/Tablet-War-300x224.jpg" alt="" width="300" height="224" /></a>A couple of months ago I decided it was time to finally take the plunge and purchase a tablet, but which one. There are so many to choose from. My wishes where simple, it had to have a decent battery live and affordable.</p>
<p>Decent battery live and build quality means most of the 300$ and less models are out of the question. These type of tablets are nice if you don&#8217;t expect to get many features, longevity or power out of the tablet. So for me those type of tablets where just not good enough.</p>
<p>On the other end of the scale you have tablets like the <a  href="http:///www.apple.com/ipad" target="_blank">iPad</a> and <a  href="http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Tablets/MOTOROLA-XOOM-with-WiFi-US-EN" target="_blank">Motorola Xoom</a>, both are decent and have plenty of features. But both cost an arm and a leg and I can&#8217;t justify the price for the amount of features they have.</p>
<p>This left the mid-range devices, like the <a  href="http://www.asus.com/product.aspx?P_ID=gHh4q7I8dvWJzhdV" target="_blank">Asus Transformer</a> and the <a  href="http://acer.us/ac/en/US/content/iconia-tab-a500" target="_blank">Acer Iconia A500</a> series. Both of these are good tablets, and both cost roughly the same. So it would have to come down to features and what I wanted to do. The hardware of both devices is almost identical. Both are running on the following:</p>
<ul>
<li>Android based tablet</li>
<li><a  href="http://www.nvidia.com/object/tegra-2.html" target="_blank">nVidia Tegra 2</a> CPU/GPU</li>
<li>32 and 64 GB models</li>
<li>Bluetooth  / Wifi B,G,N</li>
<li>3G option (the Iconia A501)</li>
</ul>
<p>The only thing that separates them feature wise is that the Transformer has a far superior display with its <a  href="http://en.wikipedia.org/wiki/IPS_panel" target="_blank">IPS</a> technology. So far for the specs, since both of them are almost identical I had to give both a try in the store. I was unpleasantly surprised that my favorite, the Transformer, didn&#8217;t feel all that sturdy. In fact it felt as if the device was rushed out of the factory. The case can be pushed and flexes way to much. It makes me worry its gonna get seriously damaged if I carry it in a bag.</p>
<p>So the Iconia A500 became the tablet of choice and now that I&#8217;ve had it for a couple of months I feel that I can write a decent review on this device. Below is a small overview of tablet and who they would serve best.</p>
<p>Please note that the feature difference between the mid-range and the hight end is minimal, especially for the Android tablets. You will mostly be paying extra for the brand name and the designer looks. If you have any devices you would like to see added to the list leave a comment and I&#8217;ll update the post.</p>
<table width="100%">
<colgroup>
<col width="33%" align="left" valign="top" />
<col width="33%" align="left" valign="top" />
<col width="33%" align="left" valign="top" /></colgroup>
<tbody>
<tr style="border-bottom: solid 1px black;">
<td>
<table width="100%">
<tbody>
<tr>
<td width="50%"><strong>Budget</strong></td>
<td style="text-align: right;"><strong> &lt; 350$</strong></td>
</tr>
</tbody>
</table>
</td>
<td>
<table width="100%">
<tbody>
<tr>
<td width="50%"><strong>Mid-Range</strong></td>
<td style="text-align: right;"><strong> 350-450$</strong></td>
</tr>
</tbody>
</table>
</td>
<td>
<table width="100%">
<tbody>
<tr>
<td width="50%"><strong>High end</strong></td>
<td style="text-align: right;"><strong>&gt; 450$</strong></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top">
<ul style="margin: 0px; padding-left: 5px; list-style-position: inside;">
<li>Point of View 7&#8243; MOBII Gen II</li>
<li>HeroTab C8</li>
</ul>
</td>
<td valign="top">
<ul style="margin: 0px; padding-left: 5px; list-style-position: inside;">
<li>Asus Transformer</li>
<li>Acer Iconia A500</li>
</ul>
</td>
<td valign="top">
<ul style="margin: 0px; padding-left: 5px; list-style-position: inside;">
<li>Apple iPad</li>
<li>Motorola Xoom</li>
<li>Samsung Galaxy Tab 10.1</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p><strong>Update 2 nov 2011:</strong> Fixed some broken links in the article</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/09/03/the-hunt-for-a-tablet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching in TFS history, made easy by Microsoft</title>
		<link>http://www.narnio.com/2011/07/28/searching-in-tfs-history-made-easy-by-microsoft/</link>
		<comments>http://www.narnio.com/2011/07/28/searching-in-tfs-history-made-easy-by-microsoft/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 11:47:03 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=585</guid>
		<description><![CDATA[One of the greatest things about version control systems is the ability to keep track of changes. Or is it? Well Microsoft certainly has a unique look on this. Team Foundation Server (TFS), also known as the Team Failure Server, has a very unique way of keeping track of changes. To be honest the tracking [...]]]></description>
			<content:encoded><![CDATA[<p>One of the greatest things about <a  title="More on version control" href="http://en.wikipedia.org/wiki/Revision_control" target="_blank">version control </a>systems is the ability to keep track of changes. Or is it? Well Microsoft certainly has a unique look on this. <strong><a  href="http://en.wikipedia.org/wiki/Team_Foundation_Server" target="_blank">Team Foundation Server </a></strong>(TFS), also known as the Team Failure Server, has a very unique way of keeping track of changes.</p>
<p>To be honest the tracking of changes works fine, for the most part. But what happens when you made a change sometime in the past, you know roughly what you did but not which files were affected or which branch was used. Yes I sometimes don&#8217;t know what version (branch) of the software a fix was made in. In any normal version control system you would open up the history log and start searching for a comment you entered. That would result in some result popping up, and with any luck the change-set you were looking for.</p>
<p>Alas Microsoft in all its wisdom decided that searching is overrated and not needed for a version control system. After all you can read through the entire history log to find the change-set can&#8217;t you. Ah you can&#8217;t, silly you!</p>
<p>Here is a quick work around for this <strong>&#8216;missing&#8217;</strong> feature:</p>
<ul>
<li>Open up the History view on the ROOT of the TFS server</li>
<li>Scroll all the way down, in most systems that will be just a few thousand change-sets</li>
<li>Select all and copy</li>
<li>Open Excel and paste</li>
</ul>
<p>Voila now you can search. At least Excel offers a way to search your Team Foundation Server history.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/07/28/searching-in-tfs-history-made-easy-by-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and browser detection</title>
		<link>http://www.narnio.com/2011/07/22/php-and-browser-detection/</link>
		<comments>http://www.narnio.com/2011/07/22/php-and-browser-detection/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 20:28:46 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=580</guid>
		<description><![CDATA[One of the things you might encounter as a web developer is detection of the browser that a visitor is using. In my specific case this was needed since I wanted to use some CSS3 styling, but only if the browser was capable. In all other cases the visitor had to see the CSS2 optimized [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things you might encounter as a web developer is detection of the browser that a visitor is using. In my specific case this was needed since I wanted to use some CSS3 styling, but only if the browser was capable. In all other cases the visitor had to see the CSS2 optimized page.</p>
<p>So I started looking into a way to let my web application determine what browser was visiting and what capabilities it had. Since this was for the new WordPress theme I&#8217;m developing it had to be in PHP and be sorta light-weight.</p>
<p>First thing was to figure out the basic browser that was visiting. This can be done by doing a simple <a  title="strpos documentation" href="http://www.php.net/manual/en/function.strpos.php" target="_blank">strpos</a> call in PHP on the user agent property. Having a list of the various user agents helped, I found just such a list at <a  title="User Agent Strings" href="http://www.useragentstring.com/pages/useragentstring.php" target="_blank">UserAgentString</a>. A brief summary for some common browsers is below.</p>
<pre class="brush: php">  $user_agent = $_SERVER['HTTP_USER_AGENT'];
  $IE        = strpos($this-&gt;_user_agent, 'MSIE') &gt; -1;
  $IPad      = strpos($this-&gt;_user_agent, 'iPad') &gt; -1;
  $Firefox   = strpos($this-&gt;_user_agent, 'Firefox/') &gt; -1;
  $Chrome    = strpos($this-&gt;_user_agent, 'Chrome/') &gt; -1;
  $Opera     = strpos($this-&gt;_user_agent, 'Opera/') &gt; -1;
  $Android = strpos($this-&gt;_user_agent, 'Android') &gt; -1;</pre>
<p>As you can see determining the basic browser type is pretty simple. But to be able to determine if CSS3 is supported you will also need to locate the version of the browser. Keeping in mind that IE9+, Firefox 4+, Opera 10+ and Chrome are the only versions that support CSS3. The check for this is slightly different for each version. But you can do it easily with a regular expresion.</p>
<pre class="brush: php"> // For all non IE browsers
 $locator;
 if ($Firefox) $locator = "Firefox\/";
 if ($Android) $locator = "Android\s";
 if ($Chrome) $locator = "Chrome\/";
 if ($Opera) $locator = "Version\/";
 preg_match('/'.$locator.'([0-9]{1,4}(.[0-9]{1,3})+)/', $user_agent, $version);

 // For IE
 preg_match('/MSIE\s([0-9]{1,2}.[0-9]{1,2})/', $user_agent, $version);
 if (count($version) &gt; 1) $version = $version[1];
 else $version = 0;</pre>
<p>Having the version and the type of browser allows us to do all kinds of fancy browser specific stuff. Mostly introduce hacks for IE7 (yes many are needed), or add CSS3 support.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/07/22/php-and-browser-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Team Foundation Server is useless for Java</title>
		<link>http://www.narnio.com/2011/06/29/why-team-foundation-server-is-useless-for-java/</link>
		<comments>http://www.narnio.com/2011/06/29/why-team-foundation-server-is-useless-for-java/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 11:27:37 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[Team Foundation Server]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=576</guid>
		<description><![CDATA[In the company I&#8217;m currently working for we are using the Team Foundation Server as a version control system. No for developers of C# or any other Microsoft related programming language this is probably fine. However being a Java developer TFS is less then perfect. In fact it is a near nightmare. We are using [...]]]></description>
			<content:encoded><![CDATA[<p>In the company I&#8217;m currently working for we are using the <a  href="http://en.wikipedia.org/wiki/Team_Foundation_Server">Team Foundation Server </a>as a version control system. No for developers of C# or any other Microsoft related programming language this is probably fine. However being a Java developer TFS is less then perfect. In fact it is a near nightmare.</p>
<p>We are using various IDE&#8217;s for editing our Java projects, meanly because different developers like different IDE&#8217;s. Personally I&#8217;m using Netbeans, which has perfect Subversion, Git, CVS and Perforce support. Some other developers use IntelliJ from Netbrains. Which is sorta expensive and the version we are using has no support for TFS at all.</p>
<p>So when I want to edit a simple file I first locate it in my IDE, which takes me about 5 seconds. Then I need to look up its location on disk, followed by opening the completely useless <a  href="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/team-explorer-everywhere">Team Exporer</a>. Then I again need to look up the file in TE, followed by a check-out. The whole process to the point that the file is checked out and ready to go takes probably about 1 minute, each and every time.</p>
<p>On an average day I probably waste <strong>up to an hour </strong>checking out files, and commiting them back into the version control system.</p>
<p>To ease the burden a bit I&#8217;ve tried the SvnBridge tool to link my IDE&#8217;s Subversion system with TFS, but this tool has many flaws. Just a few of which are:</p>
<ul>
<li>No longer appears to be developed</li>
<li>A merge in TE causes all updates to fail, you need to do a clean checkout again</li>
<li>Random update failures due to commits of other developers</li>
</ul>
<p>So for now I&#8217;m stuck. Really, really, really stuck.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/06/29/why-team-foundation-server-is-useless-for-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

