<?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>Atoomnet</title>
	<atom:link href="http://atoomnet.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://atoomnet.net</link>
	<description>Just a site about electronics, software and things.</description>
	<lastBuildDate>Tue, 08 May 2012 18:41:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP 5.4.3 for Linux Centos 6.2</title>
		<link>http://atoomnet.net/2012/05/08/php-5-4-3-for-linux-centos-6-2/</link>
		<comments>http://atoomnet.net/2012/05/08/php-5-4-3-for-linux-centos-6-2/#comments</comments>
		<pubDate>Tue, 08 May 2012 18:41:52 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=324</guid>
		<description><![CDATA[I have updated the PHP rpms to 5.4.3. Click here to download the rpms.]]></description>
			<content:encoded><![CDATA[<p>I have updated the PHP rpms to 5.4.3. <a title="Centos 6.2 updated PHP 5.4.3 and Centos 5.7 updated PHP 5.2.17 x86_64 rpm’s" href="http://atoomnet.net/software/centos-updated-php-rpms/">Click here to download the rpms.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/05/08/php-5-4-3-for-linux-centos-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.4.2 for Linux Centos 6.2</title>
		<link>http://atoomnet.net/2012/05/04/php-5-4-2-for-linux-centos-6-2/</link>
		<comments>http://atoomnet.net/2012/05/04/php-5-4-2-for-linux-centos-6-2/#comments</comments>
		<pubDate>Fri, 04 May 2012 16:34:30 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=310</guid>
		<description><![CDATA[I have updated the PHP rpms to 5.4.2. Click here to download the rpms.]]></description>
			<content:encoded><![CDATA[<p>I have updated the PHP rpms to 5.4.2. <a title="Centos 6.2 updated PHP 5.4.2 and Centos 5.7 updated PHP 5.2.17 x86_64 rpm’s" href="http://atoomnet.net/software/centos-updated-php-rpms/">Click here to download the rpms.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/05/04/php-5-4-2-for-linux-centos-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto calculate Swatch internet time using PHP</title>
		<link>http://atoomnet.net/2012/04/30/howto-calculate-swatch-internet-time-using-php/</link>
		<comments>http://atoomnet.net/2012/04/30/howto-calculate-swatch-internet-time-using-php/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 11:02:21 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=301</guid>
		<description><![CDATA[Further reading: http://www.swatch.com/zz_en/internettime/]]></description>
			<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
date_default_timezone_set(&quot;UTC&quot;);

function internetMicrotime($get_as_float = false)
{
  //Calculate Swatch internet time

  //Get unix timestamp for the beginning of the this day
  //With 1 hour offset for the Swatch internet timezone
  //(Biel Meantime (BMT): UTC+1 without DST)
  $beginningOfDay = mktime(-1, 0, 0);

  //Calulate total SI seconds in a day
  $totalSIsecondsInDay = 60 * 60 * 24;

  //Define how many beats there are in a day
  $totalBeatsInDay = 1000;

  //SI seconds elapsed since the beginning of the day
  $secondsElapsed = microtime(true) - $beginningOfDay;

  //Calculate factor on how far this day has elapsed
  $factor = $secondsElapsed / $totalSIsecondsInDay;

  //Now calulate the decimal time using
  //the total decimal seconds and the factor
  $internetTime = $totalBeatsInDay *  $factor;

  if ($get_as_float)
    return $internetTime;
  else
    return floor($internetTime);
}

print internetMicrotime(true).&quot;\n&quot;;  //495.81894635326
print internetMicrotime(false).&quot;\n&quot;; //495
print date(&quot;H:i:s&quot;).&quot;\n&quot;;            //10:53:58
</pre>
<p>Further reading: <a title="Official Swatch Website" href="http://www.swatch.com/zz_en/internettime/" target="_blank">http://www.swatch.com/zz_en/internettime/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/04/30/howto-calculate-swatch-internet-time-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto calculate local hexadecimal time using PHP</title>
		<link>http://atoomnet.net/2012/04/30/howto-calculate-local-hexadecimal-time-using-php/</link>
		<comments>http://atoomnet.net/2012/04/30/howto-calculate-local-hexadecimal-time-using-php/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 10:40:40 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=297</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
date_default_timezone_set(&quot;Europe/Amsterdam&quot;);

function hexadecimalTime()
{
  //Calculate hexadecimal local time

  //Get unix timestamp for the beginning of this day
  $beginningOfDay = mktime(0, 0, 0);

  //Calculate total SI seconds in a day
  $totalSIsecondsInDay = 60 * 60 * 24;

  //Define how many hexadecimal seconds there are in a day
  $totalHexadecimalSecondsInDay = 0xFFFF;

  //SI seconds elapsed since the beginning of the day
  $secondsElapsed = microtime(true) - $beginningOfDay;

  //Calculate factor on how far this day has elapsed
  $factor = $secondsElapsed / $totalSIsecondsInDay;

  //Now calculate the hexadecimal time using
  //the total hexadecimal seconds and the factor
  $hexadecimalTime = $totalHexadecimalSecondsInDay *  $factor;

  return dechex(floor($hexadecimalTime));
}

print hexadecimalTime().&quot;\n&quot;; //85fc
print date(&quot;H:i:s&quot;).&quot;\n&quot;;     //12:33:41
</pre>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/04/30/howto-calculate-local-hexadecimal-time-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto calculate local decimal time using PHP</title>
		<link>http://atoomnet.net/2012/04/29/howto-calculate-local-decimal-time-using-php/</link>
		<comments>http://atoomnet.net/2012/04/29/howto-calculate-local-decimal-time-using-php/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 19:47:38 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=272</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
date_default_timezone_set(&quot;Europe/Amsterdam&quot;);

function decimalMicrotime($get_as_float = false)
{
  //Calculate decimal local microtime

  //Get unix timestamp for the beginning of this day
  $beginningOfDay = mktime(0, 0, 0);

  //Calculate total SI seconds in a day
  $totalSIsecondsInDay = 60 * 60 * 24;

  //Define how many decimal seconds there are in a day
  $totalDecimalSecondsInDay = 100000;

  //SI seconds elapsed since the beginning of the day
  $secondsElapsed = microtime(true) - $beginningOfDay;

  //Calculate factor on how far this day has elapsed
  $factor = $secondsElapsed / $totalSIsecondsInDay;

  //Now calculate the decimal time using
  //the total decimal seconds and the factor
  $decimalTime = $totalDecimalSecondsInDay *  $factor;

  if ($get_as_float)
    return $decimalTime;
  else
    return floor($decimalTime);
}

print decimalMicrotime(true);  //89580.109306784
print decimalMicrotime(false); //89580
print date(&quot;H:i:s&quot;);           //21:29:57
</pre>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/04/29/howto-calculate-local-decimal-time-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP 5.4.1 for Linux Centos 6.2</title>
		<link>http://atoomnet.net/2012/04/27/php-5-4-1-for-linux-centos-6-2/</link>
		<comments>http://atoomnet.net/2012/04/27/php-5-4-1-for-linux-centos-6-2/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 17:31:06 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=265</guid>
		<description><![CDATA[I have updated the PHP rpms to 5.4.1. Click here to download the rpms.]]></description>
			<content:encoded><![CDATA[<p>I have updated the PHP rpms to 5.4.1. <a title="Centos 6.2 updated PHP 5.4.1 and Centos 5.7 updated PHP 5.2.17 x86_64 rpm’s" href="http://atoomnet.net/software/centos-updated-php-rpms/">Click here to download the rpms.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/04/27/php-5-4-1-for-linux-centos-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated the top 1M ipv6 list.</title>
		<link>http://atoomnet.net/2012/04/22/updated-the-top-1m-ipv6-list-2/</link>
		<comments>http://atoomnet.net/2012/04/22/updated-the-top-1m-ipv6-list-2/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 08:11:45 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[ipv6]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=258</guid>
		<description><![CDATA[The list has been updated. Out of the 990350 tested websites only 13040 have one or more IPv6 addresses. That is 1.32%. Out of the 26089 IPv6 addresses 23493 are connectable. That is 90.05%. Go to the list.]]></description>
			<content:encoded><![CDATA[<p>The list has been updated.</p>
<p>Out of the 990350 tested websites only 13040 have one or more IPv6 addresses. That is 1.32%.<br />
Out of the 26089 IPv6 addresses 23493 are connectable. That is 90.05%.</p>
<p><a title="IPv6 enabled TOP 1000000 websites" href="http://atoomnet.net/ipv6/ipv6-enabled-top-1m-websites/">Go to the list.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/04/22/updated-the-top-1m-ipv6-list-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Epoch 7-segment led clock.</title>
		<link>http://atoomnet.net/2012/04/19/unix-epoch-7-segment-led-clock/</link>
		<comments>http://atoomnet.net/2012/04/19/unix-epoch-7-segment-led-clock/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 19:19:35 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=253</guid>
		<description><![CDATA[I am busy testing a modular 7-segment led clock. Each module can contain up to 3 pieces of 7-segment led displays driven by a 74HC595D shift register. Modules can be combined into larger strings. In the video the modules are &#8230; <a href="http://atoomnet.net/2012/04/19/unix-epoch-7-segment-led-clock/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://www.youtube.com/embed/V6D0L1c6zN4" frameborder="0" width="560" height="315"></iframe></p>
<p>I am busy testing a modular 7-segment led clock. Each module can contain up to 3 pieces of 7-segment led displays driven by a 74HC595D shift register. Modules can be combined into larger strings.</p>
<p>In the video the modules are driven by an Arduino Nano 3.0 using the SPI interface. The Arduino is connected using USB to a computer which is running a C# program that instructs the Arduino to display a certain number at a specified position. In the video the UNIX time is displayed.</p>
<p>The goal is to connect the display modules to a server which is connected to the GPS atomic clock and display the exact time.</p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/04/19/unix-epoch-7-segment-led-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tiny DCC decoder for leds</title>
		<link>http://atoomnet.net/2012/03/19/tiny-dcc-decoder-for-leds/</link>
		<comments>http://atoomnet.net/2012/03/19/tiny-dcc-decoder-for-leds/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 21:29:37 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[circuit]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=245</guid>
		<description><![CDATA[A Tiny DCC decoder for leds has been added to the circuit section.]]></description>
			<content:encoded><![CDATA[<p>A <a title="Tiny DCC decoder for leds" href="http://atoomnet.net/circuits/tiny-dcc-decoder-for-leds/">Tiny DCC decoder for leds</a> has been added to the circuit section.</p>
<p><a href="http://atoomnet.net/wp-content/uploads/2012/03/IMG_8724-edit2.jpg" rel="lightbox[245]"><img class="alignnone size-full wp-image-231" title="Tiny dcc decoder pcb" src="http://atoomnet.net/wp-content/uploads/2012/03/IMG_8724-edit2.jpg" alt="" width="1024" height="497" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/03/19/tiny-dcc-decoder-for-leds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.4.0 for Centos 6.2</title>
		<link>http://atoomnet.net/2012/03/03/php-5-4-0-for-centos-6-2/</link>
		<comments>http://atoomnet.net/2012/03/03/php-5-4-0-for-centos-6-2/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 22:18:01 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://atoomnet.net/?p=221</guid>
		<description><![CDATA[I have updated the PHP rpms to 5.4.0. Click here to download the rpms. Release notes: http://www.php.net/archive/2012.php#id2012-03-01-1 The key features of PHP 5.4.0 include: New language syntax including Traits, shortened array syntax and more Improved performance and reduced memory consumption &#8230; <a href="http://atoomnet.net/2012/03/03/php-5-4-0-for-centos-6-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have updated the PHP rpms to 5.4.0. <a title="Centos updated PHP x86_64 rpm’s" href="http://atoomnet.net/software/centos-updated-php-rpms/">Click here to download the rpms.</a></p>
<p>Release notes: <a href="http://www.php.net/archive/2012.php#id2012-03-01-1" target="_blank">http://www.php.net/archive/2012.php#id2012-03-01-1</a></p>
<p><strong>The key features of PHP 5.4.0 include:</strong></p>
<ul>
<li>New language syntax including <a href="http://php.net/traits">Traits</a>, <a href="http://docs.php.net/manual/language.types.array.php">shortened array syntax</a> and <a href="http://docs.php.net/manual/migration54.new-features.php">more</a></li>
<li>Improved performance and reduced memory consumption</li>
<li>Support for multibyte languages now available in all builds of PHP at the flip of a runtime switch</li>
<li><a href="http://php.net/manual/features.commandline.webserver.php"> Built-in webserver</a> in CLI mode to simplify development workflows and testing</li>
<li>Cleaner code base thanks to the removal of multiple deprecated language features</li>
<li>Many more improvements and fixes</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://atoomnet.net/2012/03/03/php-5-4-0-for-centos-6-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

