<?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, 14 Nov 2009 10:49:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Memory issues finally solved</title>
		<link>http://www.narnio.com/2009/10/24/memory-issues-finally-solved/</link>
		<comments>http://www.narnio.com/2009/10/24/memory-issues-finally-solved/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 11:13:11 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[dovecot]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=394</guid>
		<description><![CDATA[As I posted before in &#8216;Mysterious problems with my VPS&#8217;, I recently got an increasingly unstable VPS system hosting a lot of my and my customers sites. After a lot of digging I initially presumed that Dovecot (the mail server) was responsible for the issues, as you can read in &#8216;Dovecot causing memory issues&#8217;.
Last week [...]]]></description>
			<content:encoded><![CDATA[<p>As I posted before in <a title="View the post" href="http://www.narnio.com/2009/10/15/mysterious-problems-with-my-vps/">&#8216;Mysterious problems with my VPS&#8217;</a>, I recently got an increasingly unstable VPS system hosting a lot of my and my customers sites. After a lot of digging I initially presumed that Dovecot (the mail server) was responsible for the issues, as you can read in <a title="View the post" href="http://www.narnio.com/2009/10/18/dovecot-causing-memory-issues/">&#8216;Dovecot causing memory issues&#8217;</a>.</p>
<p>Last week I did a lot of debugging on the Debian server to try and find out what was the issue. And initially it was Dovecots memory usage. After disabling this tool for a couple of days the server was still running fine. However the day after I posted the article on Dovecot the server crashed again. So I had to restart my investigation.</p>
<p>First off I had to had to get a better memory management tool, so I installed <em>Htop</em> on the server <em>(apt-get htop</em>)<em>. </em>This shows the current memory usage of each running application. After installing this I enabled all services and applications again and started running stress tests. And though Dovecot was causing some peeks in memory usage it did not keep the high memory usage after the requests where done.</p>
<p>As it turns out for some reason Apache 2.2 was using a lot of memory during peak loads. But even more frustrating it didn&#8217;t seem to release any memory any more. Which was causing issues for services that only spawn when they are being accessed like Dovecot and Postfix, which explained why both of these services crashed when the server halted.</p>
<p>After tweaking the maximum amount of servers Apache is allowed to start and the maximum amount of client threads to handle the memory usage dropped dramatically. And I am very happy to report that the server has been running again for more then a week, without any glitches.</p>
<p>Still it doesn&#8217;t explain why all of this only happened after updating my server with the latest versions and patches. But I&#8217;m glad it&#8217;s solved for now.</p>
<hr/>Copyright &copy; 2010 <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/2009/10/24/memory-issues-finally-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dovecot causing memory issues?</title>
		<link>http://www.narnio.com/2009/10/18/dovecot-causing-memory-issues/</link>
		<comments>http://www.narnio.com/2009/10/18/dovecot-causing-memory-issues/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 18:19:49 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=392</guid>
		<description><![CDATA[In my previous post I mentioned that I had and still am having some serious issues with the stability of the VPS I&#8217;m running all of my websites on. Though I&#8217;m still a long way away from solving the issue, I have figured out that it is very likely caused by an upgrade of Dovecot.
Why [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post I mentioned that I had and still am having some serious issues with the stability of the VPS I&#8217;m running all of my websites on. Though I&#8217;m still a long way away from solving the issue, I have figured out that it is very likely caused by an upgrade of Dovecot.</p>
<p>Why I believe that dovecot is slowely over time eating up memory, well after I disabled it the VPS continued running without any issues. I already knew Apache 2, subversion and MySQL weren&#8217;t causing it. So I only had postfix and dovecot left to test.</p>
<p>What is truly amazing is that the website for Dovecot indicates it is low in memory consumption, hence it has no settings to limit the amount of memory allocated for Dovecot. So I still need to figure that part out, or alternatively change to a different IMAP server.</p>
<hr/>Copyright &copy; 2010 <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/2009/10/18/dovecot-causing-memory-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysterious problems with my VPS</title>
		<link>http://www.narnio.com/2009/10/15/mysterious-problems-with-my-vps/</link>
		<comments>http://www.narnio.com/2009/10/15/mysterious-problems-with-my-vps/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 16:32:01 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=390</guid>
		<description><![CDATA[I&#8217;ve heard a lot of people always say that you can&#8217;t crash/hang or break linux easily. Well then I guess I&#8217;m one of the lucky bastards that gets it done. Since a few days the VPS system I&#8217;m operating keeps hanging itself up.
Now off course it is not the fault of Linux  , but [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve heard a lot of people always say that you can&#8217;t <strong>crash/hang or break linux</strong> easily. Well then I guess I&#8217;m one of the lucky bastards that gets it done. Since a few days the VPS system I&#8217;m operating keeps hanging itself up.</p>
<p>Now off course it is not the fault of Linux <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> , but with my very lacking skill. I recently did an <em>apt-get upgrade</em> command on the VPS. To my suprise it started updating with Lenny packages, whilst I could have sworn I have Etch installed. Mystery on its own, but worse yet the server now keeps hanging and breaking.</p>
<p>I figured it was a memory issue at first cause some weird service was installed that was eating it alive. So I de-installed that and it ran fine for a few days. But allas, after 3 days of running the VPS hangs itself up again. When I say hangs-up I mean that I cannot connect using SSH, the mailserver goes down. MySQL and Apache keep running though, as does postfix. So I&#8217;m still guessing it is memory, but I have no idea why my configuration is no longer working after running an <em>apt-get upgrade</em> command. Something is really wrong <img src='http://www.narnio.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> .</p>
<hr/>Copyright &copy; 2010 <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/2009/10/15/mysterious-problems-with-my-vps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First Look On Windows 7</title>
		<link>http://www.narnio.com/2009/09/05/first-look-on-windows-7/</link>
		<comments>http://www.narnio.com/2009/09/05/first-look-on-windows-7/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 10:40:03 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[General Rant]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=380</guid>
		<description><![CDATA[I recently had the option to test Windows 7 the Release Candidate. So I thought it would be good to write a short post on my first thoughts on this latest version of Windows. Don&#8217;t expect a lengthy review in this article, I may write on later on though.
After downloading and burning the image I [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the option to test Windows 7 the Release Candidate. So I thought it would be good to write a short post on my first thoughts on this latest version of Windows. Don&#8217;t expect a lengthy review in this article, I may write on later on though.</p>
<p>After downloading and burning the image I got from Microsoft I quickly tried to install it on my HP TouchSmart PC. Why did I choose this computer rather then my laptop or mediacenter. Well I was honestly expecting a lot of trouble and my TouchSmart has a recovery disk to quickly revert to Windows Vista <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<h2>First look at the Windows 7</h2>
<p>The installation of windows was damn easy, I guess when you compare the installation it is very similar to Windows Vista. A graphical interface is loaded that will help you trough the various steps needed  to install Windows 7. So far so good, though it does take quite long to install. But then again who is expecting anything else from a bloated OS, which I still believe Windows is. After the installation most things on my computer are recognized and work fine. Why I say most things, well unfortunately none of the <em>special</em> buttons of my computer are working. So I can&#8217;t control the sound, media or the brightness of the screen. Which sucks, but then again I don&#8217;t think I can blame Microsoft for that. As HP does not have any support what so ever for Windows 7.</p>
<p>One cool thing I really liked is that after installing a multi touch driver my HP was able to recognize 2 pressure points on the screen at the same time. Which makes for some cool features that work. I really liked it, but keep in mind it is just some eye candy and won&#8217;t help you in the every day things you do on the computer <img src='http://www.narnio.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<h2>Some new neat features</h2>
<p>Some might have already heard about some of the new features included in Windows 7. Well I will try and summarize a few that I find useful and some of which I have serious doubts that they are any added value what so ever.</p>
<p><strong>More decent window grouping</strong><br />
Anyone who has used Windows XP or Vista knows about the feature that windows starts grouping similar windows when there are a lot of them open. Well in windows 7 this feature got extended. Now it groups the windows no matter how many are open. This on its own is not that bad. Because like in Windows Vista you get a small preview of the window when you hover over it. A new feature in this is that when you stay over a window for a longer period of time the window will be displayed on the screen and all other windows &#8216;disappear&#8217; to the background.</p>
<p>Though this is a pretty stable and nice feature I strongly dislike Windows for doing this same thing for every single tab in Internet Explorer. Which is pretty annoying to people like me who have several tabs open, as well as several instances of Internet Explorer. This causes it to become a bit crowded down in that small preview window.</p>
<p><strong>Better quicklaunch features<br />
</strong>One of the older features in windows is the quicklaunch bar in the taskbar. This allows you to quickly start up any program you pinned to it. Well Windows 7 is no stranger to this. It features this prominently and slightly changed. The icons are a lot bigger then before, and like before you can pin any application to the taskbar. One new thing is that if you click on an icon and drag up a quicklaunch window appears with the most used actions, or in case of the explorer the most opened folders.</p>
<h2>Speed compared to Vista</h2>
<p>A lot of people are comparing Windows 7 with Vista, which I guess is not that strange since they look very similar. One huge improvement is that Windows 7 appears to be a bit quicker and slimmer then Vista. I have not done extensive tests speed wise, but it looks like it boots up a bit quicker and closes quicker. As well as loading of applications this also appears to be slightly faster.</p>
<p>The eye-candy included in Windows 7 is a bit sluggish tough. It&#8217;s just that bit lagging behind on commands giving. Like dragging of applications seems to bit just a bit slow. It might have todo with my HP TouchSmart, but Vista runs on it beautifully so I would expect Windows 7 to do the same.</p>
<h2>Some related video&#8217;s</h2>
<p>Like all of you I like vid&#8217;s, so I added some nice reviews and feature video&#8217;s below. Enjoy them and until next time&#8230;</p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/6Jsx-gf-z2U&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/6Jsx-gf-z2U&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=6Jsx-gf-z2U&fmt=18"><img src="http://img.youtube.com/vi/6Jsx-gf-z2U/default.jpg" width="130" height="97" border=0></a></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/Wt9rnSWM25U&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/Wt9rnSWM25U&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=Wt9rnSWM25U&fmt=18"><img src="http://img.youtube.com/vi/Wt9rnSWM25U/default.jpg" width="130" height="97" border=0></a></p>
<hr/>Copyright &copy; 2010 <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/2009/09/05/first-look-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No HDCP using the Gigabyte MA69GM-S2H onboard card??</title>
		<link>http://www.narnio.com/2009/08/14/no-hdcp-using-the-gigabyte-ma69gm-s2h-onboard-card/</link>
		<comments>http://www.narnio.com/2009/08/14/no-hdcp-using-the-gigabyte-ma69gm-s2h-onboard-card/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 11:32:18 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blu-ray]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[HDCP]]></category>
		<category><![CDATA[htcp]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=377</guid>
		<description><![CDATA[Ok I recently got a very weird problem with my HTPC. Since a couple of days I&#8217;ve been unable to play any Blu-Ray disc. Even after updating my PowerDVD to the latest patched version.
Before this update of PowerDVD the weird behaviour was the disapearing of PowerDVD when playing discs. No message no error nothing, just [...]]]></description>
			<content:encoded><![CDATA[<p>Ok I recently got a very weird problem with my HTPC. Since a couple of days I&#8217;ve been unable to play any Blu-Ray disc. Even after updating my PowerDVD to the latest patched version.</p>
<p>Before this update of PowerDVD the weird behaviour was the disapearing of PowerDVD when playing discs. No message no error nothing, just gone! After the update the DVD player informed me that HDCP was not available and it could not play protected Blu-Ray discs.</p>
<p>This sounded weirdt to me since I have played them in the past, and I know the onboard graphics chip (the Ati Radeon X1250) supports it.</p>
<p>As it turns out, after a lot of digging, I had recently installed an updated version of the Catalyst Control Center. Which should not be anything strange, its recommended practice by a lot of software developers. However the graphics chipset on the motherboard appears to have some custom stuff, since after installing the latest version from the Ati site HDCP was no longer supported.</p>
<p>When I reinstalled the version of the Catalyst Control Center that came with the PC all my troubles went away. No more warnings / crashes or unable to play disc reports.</p>
<hr/>Copyright &copy; 2010 <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/2009/08/14/no-hdcp-using-the-gigabyte-ma69gm-s2h-onboard-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing around with my new HP TouchSmart IQ532</title>
		<link>http://www.narnio.com/2009/07/26/playing-around-with-my-new-hp-touchsmart-iq532/</link>
		<comments>http://www.narnio.com/2009/07/26/playing-around-with-my-new-hp-touchsmart-iq532/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 13:41:19 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gadget]]></category>
		<category><![CDATA[SmartTouch]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=374</guid>
		<description><![CDATA[I recently got very sick of having one of those bulky computers sitting next to my table, sucking in air all day and making a lot of noice with it. Yes as you may have guesst I don&#8217;t have the latest version of a PC. Well any way since a few weeks I was looking [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got very sick of having one of those bulky computers sitting next to my table, sucking in air all day and making a lot of noice with it. Yes as you may have guesst I don&#8217;t have the latest version of a PC. Well any way since a few weeks I was looking for a all in one PC. Which to me means no seperate monitor, no computer and if possible no mouse or keyboard. Wtf, you may think does such a thing exists!</p>
<p>You are not alone. I wasn&#8217;t even sure if such a thing exists either. Well the first part of the quest was very easy, find a computer that does not have a seperate casing for the actual computer. So an all in one system. Well these things actually exists, I mean look at the <a title="Official iMac site" href="http://www.apple.com/imac/" target="_blank">iMac</a>. So I know they are out there, I just don&#8217;t want an iMac because non of the software I use is available for it. And I&#8217;m not a big fan of the Apple company, but that&#8217;s a completely different story all together.</p>
<p><img class="alignright size-thumbnail wp-image-365" style="float: right;'" title="HP TouchSmart IQ532" src="http://www.narnio.com/wp-content/uploads/2009/07/hptouchsmart-iq532-150x150.jpg" alt="HP TouchSmart IQ532" width="150" height="150" />It was only a couple of days later that by accident I came accross a small poor quality video of the <a title="Official HP TouchSmart" href="http://h10010.www1.hp.com/wwpc/uk/en/ho/WF02a/12454-12454-3352963.html" target="_blank">HP TouchSmart series</a>. Which appearantly has been out ever since early 2007. These computers have everything build into the monitor, not just that but they are touch enabled. And I say touch enabled because they don&#8217;t have a touch screen in the traditional sense. The HP TouchSmart series has a shit load of LED&#8217;s build into the screen that detect where you press on the screen (and no you don&#8217;t even have to touch the screen for the LED&#8217;s to detect the touch).</p>
<p>Initially I was considering either a late model of the IQ500 series, which was brought out in 2008 or the IQ800 series which was brought out in 2009. The trouble with my little quest was that the 800 series is currently very hard to get. When I called several shops they could not get any computers in that series at all! So I ended up going for the IQ532, which was the best out of the IQ500 series currently available. And I can honestly say I like it, no more wires. And best of all you can choose to not use the mouse or keyboard. The touch part works pretty damn good, even with the onscreen keyboard that HP made for us as you can see in the screenshot below.</p>
<p style="text-align: center;"><img class="size-medium wp-image-371 aligncenter" title="Vista onscreen Keyboard" src="http://www.narnio.com/wp-content/uploads/2009/07/onscreen-keyboard-300x110.jpg" alt="Vista onscreen Keyboard" width="300" height="110" /></p>
<p>So I really like it, I mean the HP Touch application that is provided is pretty useless to me. But the idea of not needing anything and only having a single cable for your entire computer. Having bluetooth, WiFi and even a TV Tuner integrated is perfect for me. So just for you I have included some YouTube movies on the HP TouchSmart Series.</p>
<p><a href="http://www.youtube.com/watch?v=pc1PYc0pIzw"><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/pc1PYc0pIzw&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/pc1PYc0pIzw&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=pc1PYc0pIzw&fmt=18"><img src="http://img.youtube.com/vi/pc1PYc0pIzw/default.jpg" width="130" height="97" border=0></a></a></p>
<p> <a href="http://www.youtube.com/watch?v=CStZZrkc7Ck"><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/CStZZrkc7Ck&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/CStZZrkc7Ck&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=CStZZrkc7Ck&fmt=18"><img src="http://img.youtube.com/vi/CStZZrkc7Ck/default.jpg" width="130" height="97" border=0></a></a></p>
<hr/>Copyright &copy; 2010 <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/2009/07/26/playing-around-with-my-new-hp-touchsmart-iq532/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache 2 and SSL trouble</title>
		<link>http://www.narnio.com/2009/07/11/apache-2-and-ssl-trouble/</link>
		<comments>http://www.narnio.com/2009/07/11/apache-2-and-ssl-trouble/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 18:25:19 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[virtual host]]></category>

		<guid isPermaLink="false">http://www.narnio.com/2009/07/11/apache-2-and-ssl-trouble/</guid>
		<description><![CDATA[I&#8217;ve been playing around with a couple of corporate website&#8217;s lately. One of the things I&#8217;ve been trying to work out is creating more security for the management and webmail systems for my websites. This is also were I ran into some difficulty.
I have my own root certificate for all of my websites, so that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with a couple of corporate website&#8217;s lately. One of the things I&#8217;ve been trying to work out is creating more security for the management and webmail systems for my websites. This is also were I ran into some difficulty.</p>
<p>I have my own root certificate for all of my websites, so that I can sign my own certificates and use them all over the place. I only have to ask my clients to accept the root certificate and all is fine. This seems to work fine except when I tried to load them into Apache. Here&#8217;s what my problem is and was. I have multiple domains hosted on the same virtual server. Which basically means a lot of websites running under one IP-address.</p>
<p>In this setup I have several domains I want to add a SSL variant of. For example <em>webmail.domain.com</em> as well as <em>admin.domain.com</em>. And this is where it became problematic.</p>
<p>I configured this without any problems in apache. Setup a virtual host listening to port 443 and setup the listener instruction in apache. But for some reason all of my <strong>secure domains</strong> ended up using the <strong>same</strong> certificate. Which off course causes a lot of security warnings for the browsers <img src='http://www.narnio.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . And a lot of people are having the same issue, just read the thread on <a title="Thread on SSL multiple hosts" href="http://www.howtoforge.com/forums/archive/index.php/t-1585.html" target="_blank">howtoforge.com</a>.</p>
<p>As it turns out Apache is only able to host one secure virtual host per IP-address and port combination. Which is kinda obvious since Apache cannot read the domain name until it has decrypted the SSL information, something which it cannot do until the SSL handshake with the client has been done. Hence that only one set of certificates is allowed per IP and port.</p>
<p>Long story short I ended up setting the websites up with different ports since I don&#8217;t have multiple IP-addresses to host the websites on.</p>
<hr/>Copyright &copy; 2010 <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/2009/07/11/apache-2-and-ssl-trouble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some unexpected down-time</title>
		<link>http://www.narnio.com/2009/07/05/some-unexpected-down-time/</link>
		<comments>http://www.narnio.com/2009/07/05/some-unexpected-down-time/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 13:47:46 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=336</guid>
		<description><![CDATA[As you may have been able to notice over the past week or so my websites and those I am hosting for clients had some down-time last week. As such I&#8217;ve not been doing much other then trying to figure out what is going on, and haven&#8217;t had to much time to write something new.
Unfortunattely [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have been able to notice over the past week or so my websites and those I am hosting for clients had some down-time last week. As such I&#8217;ve not been doing much other then trying to figure out what is going on, and haven&#8217;t had to much time to write something new.</p>
<p>Unfortunattely for me and my clients the problem seems to be with the provider I have to rent my servers. After some digging I found out even their own servers where unreachable. (Could not even setup a SSH connection to my servers).</p>
<p>It seems to be fixed at the moment, so keep praying that it stays that way <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<hr/>Copyright &copy; 2010 <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/2009/07/05/some-unexpected-down-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP catching all function calls</title>
		<link>http://www.narnio.com/2009/06/15/php-catching-all-function-calls/</link>
		<comments>http://www.narnio.com/2009/06/15/php-catching-all-function-calls/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 11:50:59 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=332</guid>
		<description><![CDATA[Recently I came accross something really fancy that was introduced in PHP 5. It is appearantly possible for any class to catch all functions that are called on a class. So one function would catch $obj-&#62;callOne() as well as $obj-&#62;callTwo().
So why is this a nice feature to have, well because I am a very lazy [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came accross something really fancy that was introduced in PHP 5. It is appearantly possible for any class to catch all functions that are called on a class. So one function would catch $obj-&gt;callOne() as well as $obj-&gt;callTwo().</p>
<p>So why is this a nice feature to have, well because I am a very lazy progammer and this feature allows me to magically generate getters and setters. To do this I have the following setting for each class:</p>
<ol>
<li>The constructor method <a title="Documentation on constructors / desctructors" href="http://us3.php.net/manual/en/language.oop5.decon.php">__construct</a> initializes an array containing the names of all variables that we want to store. We also create a second array to save the values in for the variables.</li>
<li>We implement the __call function to catch all functions being called on the object, which is currently still undocumented by PHP.net</li>
</ol>
<p>So a basic class would look something similar to this:</p>
<pre class="brush: php">
class MyObject {
   private $my_vars = array();
   private $allowed_vars;

   function __construct() {
      $this-&gt;allowed_vars = array(&#039;var1&#039;, &#039;var2&#039;, &#039;var3&#039;);
   }

   function  __calls($function_name, $arguments) {
      $_variablename = substr($function_name, 3);
      if (array_search($_variablename, $this-&gt;allowed_vars) !== FALSE) {
         if (stripos($function_name, &#039;get&#039;) == 0 &amp;&amp; stripos($function_name, &#039;get&#039;) !== FALSE) {
            return $this-&gt;my_vars[$_variablename];
         } else if (stripos($function_name, &#039;set&#039;) == 0 &amp;&amp; stripos($function_name, &#039;set&#039;) !== FALSE) {
            $this-&gt;my_vars[$_variablename] = $arguments[0];
         }
      }
      else throw new Exception(&#039;Unkown function called on &#039;. __CLASS__);
  }
}
</pre>
<p>Which does exactly that which I described above. Mind you it&#8217;s just a very basic example but it shows the power of a catch all function. </p>
<hr/>Copyright &copy; 2010 <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/2009/06/15/php-catching-all-function-calls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A fresh start</title>
		<link>http://www.narnio.com/2009/06/13/a-fresh-start/</link>
		<comments>http://www.narnio.com/2009/06/13/a-fresh-start/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 18:48:55 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[General Rant]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=329</guid>
		<description><![CDATA[As you may have noticed by the lack of me posting new articles in the past couple of months I have been really busy on a lot of projects. This has caused me to focus on other things then blogging on Narnio (unfortunattely   ).
I will attempt to start posting somewhat more regularly from [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have noticed by the lack of me posting new articles in the past couple of months I have been really busy on a lot of projects. This has caused me to focus on other things then blogging on Narnio (unfortunattely <img src='http://www.narnio.com/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' />  ).</p>
<p>I will attempt to start posting somewhat more regularly from now on again, as I&#8217;ve sorta managed to get some stuff out of the way. One of them is my work on a complete overhaul of a part of the platform that the Zylom site is running on. Well enough of that!</p>
<p>Ok so what have I been up to that caused little posts. One of my new projects was a complete change of the <a title="Jong Soft Corporate Site" href="http://www.jong-soft.com">corporate website </a>I have been maintaining. It&#8217;s not live yet, but great things are comming for this website. Which also gets me into the next phase of my career, as I am now looking into starting my own company, and it is really a scary thought 8-O.</p>
<p>I will soon start writing some more posts on developing website platforms in both <a title="Official PHP site" href="http://www.php.net">PHP </a>and Java, as I&#8217;ve been learning a lot recently for each one of these two languages.</p>
<hr/>Copyright &copy; 2010 <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/2009/06/13/a-fresh-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
