<?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>dev/n0ll</title>
	<atom:link href="http://dev.n0ll.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.n0ll.com</link>
	<description>All Your Base Are Belong To /dev/n0ll</description>
	<lastBuildDate>Sun, 20 May 2012 19:52:44 +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>php5-extensions fails to upgrade</title>
		<link>http://dev.n0ll.com/2012/05/php5-extensions-fails-to-upgrade/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php5-extensions-fails-to-upgrade</link>
		<comments>http://dev.n0ll.com/2012/05/php5-extensions-fails-to-upgrade/#comments</comments>
		<pubDate>Sun, 20 May 2012 19:52:44 +0000</pubDate>
		<dc:creator>Lars-Georg Paulsen</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[php5-extensions]]></category>
		<category><![CDATA[php5-extensions-1.6]]></category>
		<category><![CDATA[php5-extensions-1.7]]></category>
		<category><![CDATA[php5-sqlite]]></category>
		<category><![CDATA[portupgrade]]></category>

		<guid isPermaLink="false">http://dev.n0ll.com/?p=1298</guid>
		<description><![CDATA[Got a problem updating php5-extensions via portupgrade? There is a dependency that shouldn&#8217;t be there, that is messing up the automatic upgrade of php5-extensions. php5-sqlite is the sinner! #pkg_deinstall php5-sqlite -f &#8212;> Deinstalling &#8216;php5-sqlite-5.3.13&#8242; pkg_delete: package &#8216;php5-sqlite-5.3.13&#8242; is required by these other packages and may not be deinstalled (but I&#8217;ll delete it anyway): php5-extensions-1.6 #pkgdb [...]]]></description>
			<content:encoded><![CDATA[<p>Got a problem updating php5-extensions via portupgrade? </p>
<p>There is a dependency that shouldn&#8217;t be there, that is messing up the automatic upgrade of php5-extensions.<br />
php5-sqlite is the sinner!</p>
<p><strong>#pkg_deinstall php5-sqlite -f</strong></p>
<blockquote><p>&#8212;>  Deinstalling &#8216;php5-sqlite-5.3.13&#8242;<br />
pkg_delete: package &#8216;php5-sqlite-5.3.13&#8242; is required by these other packages<br />
and may not be deinstalled (but I&#8217;ll delete it anyway):<br />
php5-extensions-1.6</p></blockquote>
<p><strong>#pkgdb -F</strong></p>
<blockquote><p>&#8212;>  Checking the package registry database<br />
Stale dependency: php5-extensions-1.6 -> php5-sqlite-5.3.13 (databases/php5-sqlite):<br />
-> Deleted. (irrelevant)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dev.n0ll.com/2012/05/php5-extensions-fails-to-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 on FreeBSD VPS</title>
		<link>http://dev.n0ll.com/2012/05/ipv6-on-freebsd-vps/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ipv6-on-freebsd-vps</link>
		<comments>http://dev.n0ll.com/2012/05/ipv6-on-freebsd-vps/#comments</comments>
		<pubDate>Wed, 16 May 2012 20:58:22 +0000</pubDate>
		<dc:creator>Lars-Georg Paulsen</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[IPv6]]></category>

		<guid isPermaLink="false">http://dev.n0ll.com/?p=1281</guid>
		<description><![CDATA[My current hosting provider has kindly provided me with a /64 IPv6 Net. Time to get connected! The normal wiki entry doesn&#8217;t include a FreeBSD setup, and after a couple tries, and google on my side is still couldn&#8217;t get it working. A couple of emails later to support asking for help, they kindly informed [...]]]></description>
			<content:encoded><![CDATA[<p>My current hosting provider has kindly provided me with a /64 IPv6 Net. Time to get connected!<br />
The normal wiki entry doesn&#8217;t include a FreeBSD setup, and after a couple tries, and google on my side is still couldn&#8217;t get it working.<br />
A couple of emails later to support asking for help, they kindly informed me that they had given me the wrong net&#8230;..</p>
<p>Changed my Net, and I was running IPv6.. Yeah!</p>
<p>So what did I do to get a working IPv6 connectivity when your have been given a /64 net, and your default gw is on another subnet.</p>
<p>Edit the following files, and add some information.<br />
I used the following example information<br />
My Network: <strong>2001:DB8:100:1</strong><br />
My Gateway: <strong>2001:DB8::1 </strong></p>
<p><strong>/etc/rc.conf  ==&gt;</strong></p>
<pre>#IPv6
ipv6_enable="YES"
ipv6_ifconfig_re0="2001:DB8:100:1"
ipv6_static_routes="gwNet gwHost"
ipv6_route_gwNet="2001:DB8::1/128 -iface re0"
ipv6_route_gwHost="2001::/3 2001:DB8::1 -iface re0"
ipv6_default_interface="re0"</pre>
<p><strong><br />
</strong></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.n0ll.com/2012/05/ipv6-on-freebsd-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP framework &#8211; What to choose?</title>
		<link>http://dev.n0ll.com/2012/03/php-framework-what-to-choose/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-framework-what-to-choose</link>
		<comments>http://dev.n0ll.com/2012/03/php-framework-what-to-choose/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 13:09:48 +0000</pubDate>
		<dc:creator>Lars-Georg Paulsen</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[kohana]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[yii]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://dev.n0ll.com/?p=1262</guid>
		<description><![CDATA[I&#8217;m taking my php skils to the next level&#8230; Writing good php application from the bottom is to much work, and what do programmers do best? They reuse code.. My initial thought was, get something I can build on top. But in my research I came across a lot of php framework that really looked [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m taking my php skils to the next level&#8230; Writing good php application from the bottom is to much work, and what do programmers do best? They reuse code.. My initial thought was, get something I can build on top. But in my research I came across a lot of php framework that really looked promising. Some basic testing and the mandatory &#8220;hello world&#8221; -app, and too much reading of review on the web, my conlusion has come to this rating. Best on the top.</p>
<p><a href="http://www.yiiframework.com/"><br />
</a></p>
<ol>
<li><a href="http://www.yiiframework.com/"><img title="Yii" src="http://dev.n0ll.com/wp-content/uploads/2012/05/logo.png" alt="" width="284" height="64" /></a></li>
<li><a href="http://codeigniter.com/">CodeIgniter </a></li>
<li><a href="http://kohanaframework.org">Kohana </a></li>
<li><a href="http://framework.zend.com/">Zend Framework</a></li>
<li><a href="http://cakephp.org/">CakePHP</a></li>
<li><a href="http://www.symfony-project.org/">Symfony</a></li>
</ol>
<p>This is as subjective as it can get&#8230;. It all depends on what kind of background skills you have and what type of projects your are going to develop. My choice was Yii,  not sure if it&#8217;s gonna be your choice.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.n0ll.com/2012/03/php-framework-what-to-choose/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strange network behavior</title>
		<link>http://dev.n0ll.com/2012/01/strange-network-behavior/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=strange-network-behavior</link>
		<comments>http://dev.n0ll.com/2012/01/strange-network-behavior/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 13:05:31 +0000</pubDate>
		<dc:creator>Lars-Georg Paulsen</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://dev.n0ll.com/?p=1258</guid>
		<description><![CDATA[Some network services (e.g., ntop) only listen on their IPv6 interface by default. This may be verified with sockstat: # sockstat USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS www httpd 49809 16 tcp4 *:443 *:* www httpd 49809 17 tcp4 *:80 *:* nobody ntop 47832 0 tcp6 *:3000 *:* Use sysctl net.inet6.ip6.v6only=0 to [...]]]></description>
			<content:encoded><![CDATA[<p>Some network services (e.g., ntop) only listen on their IPv6 interface by default. This may be verified with sockstat:</p>
<blockquote><p># sockstat<br />
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS<br />
www      httpd      49809 16 tcp4   *:443                 *:*<br />
www      httpd      49809 17 tcp4   *:80                  *:*<br />
nobody   ntop       47832 0  tcp6   *:3000                *:*</p></blockquote>
<p>Use <strong>sysctl net.inet6.ip6.v6only=0</strong> to change this behaviour temporarily,<br />
or add <strong>net.inet6.ip6.v6only=0</strong> to /etc/sysctl.conf to make it permanent</p>
<p>Source: http://www.security-guy.de/freebsd.html</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dev.n0ll.com/2012/01/strange-network-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Armatura Borealis &amp; SPOT tracking</title>
		<link>http://dev.n0ll.com/2011/08/armatura-borealis-spot-tracking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=armatura-borealis-spot-tracking</link>
		<comments>http://dev.n0ll.com/2011/08/armatura-borealis-spot-tracking/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 09:01:18 +0000</pubDate>
		<dc:creator>Lars-Georg Paulsen</dc:creator>
				<category><![CDATA[Tech Net]]></category>
		<category><![CDATA[Armatura Borealis]]></category>
		<category><![CDATA[findmespot]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[satellite]]></category>
		<category><![CDATA[SPOT]]></category>
		<category><![CDATA[tracker]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://dev.n0ll.com/?p=1169</guid>
		<description><![CDATA[One of my good friends has started on a big adventure. Travling around the world with a sailboat. With 3 friends he set sail from Arendal. And where do I come into the picture? Well, I&#8217;ve been helping them building a webpage/blog, with some cool features. And that&#8217;s what I&#8217;m gonna talk about now! SPOT-Tracker [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bluewatersailing.no/"><img class="aligncenter size-full wp-image-1185" title="Blue Water Sailing" src="http://dev.n0ll.com/wp-content/uploads/2011/08/Header.png" alt="Blue Water Sailing" width="750" /></a></p>
<p>One of my good friends has started on a big adventure. Travling around the world with a sailboat. With 3 friends he set sail from Arendal. And where do I come into the picture? Well, I&#8217;ve been helping them building a webpage/blog, with some cool features. And that&#8217;s what I&#8217;m gonna talk about now!</p>
<p><a href="http://international.findmespot.com/"><img class="alignleft size-full wp-image-1174" title="spot_logo_int" src="http://dev.n0ll.com/wp-content/uploads/2011/08/spot_logo_int.png" alt="" width="131" height="88" /></a><strong>SPOT-Tracker</strong><br />
On board they have a satellite <a title="http://international.findmespot.com/" href="http://international.findmespot.com/">SPOT tracker</a>.Witch gather and send GPS location to a SPOT service. They make the data available through some interfaces, a pre-made widget and raw XML data. The pre build stuff sux! Sorry, but this should be a lot better so that the &#8220;man in the street&#8221; can actually get something useful out of it. But for the geek, they also provide <a title="XML data from SPOT" href="http://www.findmespot.eu/en/index.php?cid=1700" target="_blank">XML data</a>. Witch you can do a lot of fun with&#8230;.</p>
<p><strong>Satellite Tracer</strong><br />
First of, I need to build a widget that would display their whereabouts. Since <a href="http://international.findmespot.com/">SPOT </a>provides XML data, it shouldn&#8217;t be huge issue. Using PHP&#8217;s <a title="PHP:SimpleXML" href="http://php.net/manual/en/book.simplexml.php" target="_blank">SimpleXML</a> the task was done quite fast. (After learning about PHP and XML&#8230;.). When I finished I thought, this is quite good, maybe somebody else would like to use this as well. So I sent an email to SPOT, to see if they would like to publish it on their site. Still no answer from them&#8230;</p>
<p>Nothing fancy, and can probably be written better, but it&#8217;s clean, small and it works:<br />
<strong>File:</strong> <a title="SPOT.phps" href="http://dev.n0ll.com/dev/TechNet/SPOT.phps">SPOT.phps</a></p>
<p><strong>Collection historical data</strong><br />
SPOT only save position for a certain time. I think it only save the last 7 days. And that&#8217;s no good if you going on a longer trip! So my first though was to just &#8216;<a title="wget" href="http://en.wikipedia.org/wiki/Wget">wget</a>&#8216; the XML file and save it locally. But I quickly found out that this would be a big mess if you wanna use the data on a later stage. Time to write a XML Data Collector!</p>
<p>Using what I&#8217;ve learn from when I built the satellite tracker, and googled my way to add children to an existing XML file, I had the idea, and it was time for some coding.</p>
<p>Due to the add_children function in PHP, you can only add to the end, not append to the top. I had to reverse my xml, so that the latest &#8220;message&#8221; was saved at the bottom.<br />
<strong>File:</strong> <a title="XMLDumper" href="http://dev.n0ll.com/dev/TechNet/XMLDumper.phps">XMLDumper.phps</a></p>
<p>And when you do all this, you&#8217;ve learn PHP and XML handling, I couldn&#8217;t just let it be with this. I had to use my newly created XML files for something useful! Using google API, I could created a map that would show their route from the start too their current posision. Check out <a title="TravelMap" href="http://www.bluewatersailing.no/?page_id=638">Blue Water Sailing &#8211; Travle Map</a><br />
If you wanna see how the widget works. Take a look at <a title="BlueWaterSailing" href="http://www.bluewatersailing.no/">http://www.bluewatersailing.no/</a></p>
<p><span style="color: #ff0000;"><strong>**Update:</strong></span><br />
Playing around with xml/php and google MAP API, I&#8217;ve now upgraded TravelMap to include &#8220;traveled route&#8221;, and with a planed route. The planed route is made i Google Maps, and is controlled by the guys how is sailing. It means that they can put what ever they want onto the map, and it&#8217;s automatically updated on the website. Long live KML data! <img src='http://dev.n0ll.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Updated map:</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.n0ll.com/2011/08/armatura-borealis-spot-tracking/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

