<?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>AR Creative</title>
	<atom:link href="http://www.arcreative.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arcreative.net/blog</link>
	<description>IT, Design, and Technology</description>
	<lastBuildDate>Thu, 18 Oct 2012 06:38:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Converting Seconds to H:M:S in PHP the Easiest Way</title>
		<link>http://www.arcreative.net/blog/2011/09/converting-seconds-to-hms-in-php-the-easiest-way/</link>
		<comments>http://www.arcreative.net/blog/2011/09/converting-seconds-to-hms-in-php-the-easiest-way/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 07:53:33 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.arcreative.net/blog/?p=53</guid>
		<description><![CDATA[While feeling lazy tonight at the end of a coding run, I discovered the easiest time conversion trick yet. After finding a number of scripts longer than my arm to accomplish something I consider trivial, I dare say I&#8217;ve come up with the easiest way to do this all by myself. &#60;?php $hms = gmdate('H:i:s',$seconds); [...]]]></description>
				<content:encoded><![CDATA[<p>While feeling lazy tonight at the end of a coding run, I discovered the easiest time conversion trick yet. After finding a number of scripts longer than my arm to accomplish something I consider trivial, I dare say I&#8217;ve come up with the easiest way to do this all by myself.</p>
<pre>&lt;?php $hms = gmdate('H:i:s',$seconds); ?&gt;</pre>
<p>Pretty sweet, no? The trick here is to tell PHP your date is in reference to the Unix epoch, and make sure you do it in GMT (a la gmdate) so it doesn&#8217;t try to take your time zone into account.  This example works for up to 24 hours, so if you need more than that, consider the following two examples:</p>
<p><strong>Allowing the function to display days:</strong></p>
<pre>&lt;?php $hms = gmdate('d:H:i:s',$seconds); ?&gt;</pre>
<p><strong>Allowing the function to display more than 24 hours:</strong></p>
<pre>&lt;?php $hms = floor($seconds/3600).gmdate(':i:s',$seconds); ?&gt;</pre>
<p>You can change the format as well, per the normal php date() function&#8217;s format.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arcreative.net/blog/2011/09/converting-seconds-to-hms-in-php-the-easiest-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>It&#8217;s ON! AT&amp;T vs. Verizon iPhone Stats</title>
		<link>http://www.arcreative.net/blog/2011/02/its-on-att-vs-verizon-iphone-stats/</link>
		<comments>http://www.arcreative.net/blog/2011/02/its-on-att-vs-verizon-iphone-stats/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 20:24:49 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Verizon]]></category>

		<guid isPermaLink="false">http://www.arcreative.net/blog/?p=35</guid>
		<description><![CDATA[Wooo, look at those numbers!  A live tracking page provided by Chitika Insights has pitted the iPhones&#8217; usage of their advertising network by carrier, and the results are pretty inspiring.   To avoid appearing reactionary with this post, I&#8217;ll offer a disclaimer and point out that these statistics rely on a great number of factors, including [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://c419089.r89.cf2.rackcdn.com/2011/02/chitika-iphone-verizon-att.jpg"><img class="size-medium wp-image-36 alignleft" title="iPhone Battle - Verizon vs. AT&amp;T" src="http://c419089.r89.cf2.rackcdn.com/2011/02/chitika-iphone-verizon-att-300x142.jpg" alt="iPhone Battle - Verizon vs. AT&amp;T" width="300" height="142" /></a>Wooo, look at those numbers!  A live tracking page provided by <a href="http://insights.chitika.com/" target="_blank">Chitika Insights</a> has pitted the iPhones&#8217; usage of their advertising network by carrier, and the results are pretty inspiring.   To avoid appearing reactionary with this post, I&#8217;ll offer a disclaimer and point out that these statistics rely on a great number of factors, including the fact that AT&amp;T users have had their phones for a while, and new Verizon users are likely pecking away feverishly and their new Apple monoliths.  This also illustrates a ratio and not true numbers, so there&#8217;s no insight into whether or not AT&amp;T is <em>losing</em> customers, or if big red is just picking up customers that were waiting for the Verizon network&#8211;for 3.5 years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arcreative.net/blog/2011/02/its-on-att-vs-verizon-iphone-stats/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft Being Dishonest about IE9 Beta Performance?</title>
		<link>http://www.arcreative.net/blog/2011/02/microsoft-being-dishonest-about-ie9-beta-performance/</link>
		<comments>http://www.arcreative.net/blog/2011/02/microsoft-being-dishonest-about-ie9-beta-performance/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 22:10:10 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Benchmarks]]></category>
		<category><![CDATA[Big Business]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[hardware acceleration]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[misleading]]></category>

		<guid isPermaLink="false">http://www.arcreative.net/blog/?p=5</guid>
		<description><![CDATA[IE9 Beta: New Look, Same Terrible Taste While tooling around on Gizmodo, I came across a  large banner ad for Internet Explorer that boasted its HTML5 performance over its able-bodied counterparts.  From my extensive experience, I knew there was something a bit FishIE right off the bat.  For once, I clicked on the ad and [...]]]></description>
				<content:encoded><![CDATA[<p>IE9 Beta: New Look, Same Terrible Taste</p>
<p>While tooling around on <a title="Gizmodo, the Gadget Guide" href="http://www.gizmodo.com/" target="_blank">Gizmodo</a>, I came across a  large banner ad for Internet Explorer that boasted its HTML5 performance over its able-bodied counterparts.  From my extensive experience, I knew there was something a bit FishIE right off the bat.  For once, I clicked on the ad and headed to their site for further investigation.  What resulted angered me and sent me on a day-long tangent to expose MS for their dishonesty and their continuing vendetta against every user of the internet.<br />
<span id="more-5"></span><br />
The site in question was <a title="Internet Exploder 9 --1994 reinvented." href="http://ie.microsoft.com/testdrive/" target="_blank">a set of Microsoft-designed examples</a> designed to prove why HTML5 and IE9 beta were a beautiful pairing, and coaxed me to download the beta and &#8220;become a part of the future&#8221;.  Sounds great, I&#8217;m game.  After the 30-minute download, install, restart, upgrade, upgrade, and two restarts, I was finally presented with the most&#8211;WTF?? Microsoft&#8217;s version of Chrome?  Surely they jest&#8230;.however that&#8217;s not the point of this article.</p>
<p>What really upset me was the performance of IE9 versus my dear Chrome 8 Stable in the HTML5 tests.  As we&#8217;ve come to accept almost unequivocably, is that every facet of Chrome&#8217;s performance exceeds IE9&#8242;s, and generally by a large margin. The numbers don&#8217;t lie&#8211;I compiled the stats for Microsoft&#8217;s tests into the following table (see system specs below):</p>
<table class="results" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th width="140"></th>
<th width="75" align="right">IE9 64-bit</th>
<th width="75" align="right">IE9 32-bit</th>
<th width="85" align="right">FF 4 beta 10</th>
<th width="75" align="right">Chrome 8</th>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/Performance/SantasWorkshop/Default.html" target="_blank">Santa&#8217;s    Workshop</a></td>
<td align="right"><span style="color: #33cc66;"><strong>84</strong></span></td>
<td align="right">37</td>
<td align="right"><span style="color: #ff0000;"><strong>13</strong></span></td>
<td align="right">15</td>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/Performance/FishIETank/Default.html" target="_blank">FishIE    (1000 Fish)</a></td>
<td align="right"><strong><span style="color: #33cc66;">36</span></strong></td>
<td align="right">34</td>
<td align="right">35</td>
<td align="right"><span style="color: #ff0000;"><strong>10</strong></span></td>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/HTML5/Blizzard/Default.html" target="_blank">Snowflake</a></td>
<td align="right"><strong><span style="color: #33cc66;">1177</span></strong></td>
<td align="right">1134</td>
<td align="right">318</td>
<td align="right"><strong><span style="color: #ff0000;">3</span></strong></td>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/Performance/Galactic/Default.html" target="_blank">Galactic</a></td>
<td align="right"><strong><span style="color: #33cc66;">319.46</span></strong></td>
<td align="right">395.87</td>
<td align="right">224.2</td>
<td align="right"><strong><span style="color: #ff0000;">85.96</span></strong></td>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/Performance/SpeedReading/Default.html" target="_blank">Speed Reading</a> (secs)</td>
<td align="right"><span style="color: #33cc66;"><strong>11</strong></span></td>
<td align="right">12</td>
<td align="right">529</td>
<td align="right"><strong><span style="color: #ff0000;">1646</span></strong></td>
</tr>
</tbody>
</table>
<p>Now an advantage to IE9 is not to be unexpected, since these pages were specifically designed to offer IE an advantage in speed and stability. The problem, however, is that Chrome not only didn&#8217;t win, it was <em>the absolute slowest across the board</em>.  Not only is IE faster in this example, it&#8217;s between 4 and 150 times faster.  Where the test really started to look dubious to me was in the following metrics for the Speed Reading Frame Rates and Redraws:</p>
<table class="results" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th width="140"></th>
<th width="75" align="right">IE9 64-bit</th>
<th width="75" align="right">IE9 32-bit</th>
<th width="85" align="right">FF 4 beta 10</th>
<th width="75" align="right">Chrome 8</th>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/Performance/SpeedReading/Default.html" target="_blank">Speed    Reading</a> (fps)</td>
<td align="right">60</td>
<td align="right">60</td>
<td align="right">40</td>
<td align="right"><strong><span style="color: #ff0000;">10</span></strong></td>
</tr>
<tr>
<td><a href="http://ie.microsoft.com/testdrive/Performance/SpeedReading/Default.html" target="_blank">Speed    Reading</a> (redraws)</td>
<td align="right">916</td>
<td align="right">934</td>
<td align="right">16880</td>
<td align="right">16874</td>
</tr>
</tbody>
</table>
<p>The redraws, as annotated by the example, show that Chrome and Firefox 4, despite their lower framerates, are rendering over 18 times as many frames as IE.  Veeeeery suspicious.  In addition to this, I captured the following screenshot of the test while it was running:</p>
<div id="attachment_10" class="wp-caption aligncenter" style="width: 310px"><a href="http://c419089.r89.cf2.rackcdn.com/2011/02/speedread-ie9beta-x64.jpg"><img class="size-medium wp-image-10 lightbox" title="IE9 64-bit Speed Read HTML5 Test" src="http://c419089.r89.cf2.rackcdn.com/2011/02/speedread-ie9beta-x64-300x239.jpg" alt="" width="300" height="239" /></a><p class="wp-caption-text">IE9 64-bit Speed Read HTML5 TestClick to enlarge.</p></div>
<p>Now no browser that I have ever seen has had the ability to actually fade/motion blur different image elements into each other unless it&#8217;s specifically programmed to do so, and this behavior was most definitely not exhibited by any of the other browsers for this test.  I&#8217;m not sure if some sort of logic was included to enable this feature, but in two very large ways, Internet Explorer is behaving differently from both Chrome and Firefox.  If anyone can offer some insight into this, I would appreciate hearing about it.</p>
<p>Moving on.  For the sake of academics, I ran a few common compliance tests and benchmarks found around the internet:</p>
<table class="results" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th width="140"></th>
<th width="75" align="right">IE9 64-bit</th>
<th width="75" align="right">IE9 32-bit</th>
<th width="85" align="right">FF 4 beta 10</th>
<th width="75" align="right">Chrome 8</th>
</tr>
<tr>
<td><a href="http://widgetpad.com/67/" target="_blank">QuadraticCurve Fill</a></td>
<td align="right"><span style="color: #ff0000;"><strong>61</strong></span></td>
<td align="right">62</td>
<td align="right">101</td>
<td align="right"><span style="color: #33cc66;"><strong>227</strong></span></td>
</tr>
<tr>
<td><a href="https://clubcompy.com/rwBench.jsp" target="_blank">ClubCompy</a></td>
<td align="right"><span style="color: #ff0000;"><strong>3961</strong></span></td>
<td align="right">5556</td>
<td align="right">6155</td>
<td align="right"><span style="color: #33cc66;"><strong>7931</strong></span></td>
</tr>
<tr>
<td><a href="http://clients.futuremark.com/peacekeeper/index.action" target="_blank">Peacekeeper</a></td>
<td align="right"><span style="color: #ff0000;"><strong>2201</strong></span></td>
<td align="right">2509</td>
<td align="right">4135</td>
<td align="right"><span style="color: #33cc66;"><strong>7266</strong></span></td>
</tr>
<tr>
<td><a href="http://html5test.com/" target="_blank">html5test.com</a></td>
<td align="right"><span style="color: #ff0000;"><strong>96</strong></span></td>
<td align="right"><strong><span style="color: #ff0000;">96</span></strong></td>
<td align="right">197</td>
<td align="right"><span style="color: #33cc66;"><strong>231</strong></span></td>
</tr>
<tr>
<td><a href="http://acid3.acidtests.org/" target="_blank">Acid3</a></td>
<td align="right"><span style="color: #ff0000;"><strong>95</strong></span></td>
<td align="right"><span style="color: #ff0000;"><strong>95</strong></span></td>
<td align="right">97</td>
<td align="right"><span style="color: #33cc66;"><strong>100</strong></span></td>
</tr>
</tbody>
</table>
<p>Ah, now that&#8217;s more like it&#8230; The only thing surprising here is that IE9 64-bit appears to be slower than its x86 counterpart&#8230;</p>
<p><strong>EDIT:</strong> as it was pointed out, Microsoft, for some reason has only implemented a native 32-bit JS interpreter, which is kiiiinda stupid.  DOM parsing/rendering is not so fast that JS performance becomes insignificant, so I&#8217;m not sure what they were thinking there.</p>
<p>Regardless, Chrome is between 100% and 300% faster in the performance-based benchmarks.  All tests were performed on the same Intel Core2 Quad Q6600 @ 2.70GHz, 4GB DDR2 RAM, ATi Radeon 2600XT with a maximized window running at 1280&#215;1024, so there was no system advantage across tests.</p>
<p>What&#8217;s my point??  It seems a bit strange how all Microsofts HTML5 speed tests seem to be cases of selectively inefficient scripting.  If they were done properly, simple examples like the Santa&#8217;s helper test wouldn&#8217;t be so incredibly dissonant.  All that IE9 seems to have going for it is purely the hardware acceleration for heavy canvas graphics crunching.  It clearly has the advantage with alpha-blending, but this really isn&#8217;t a fair fight, considering it&#8217;s using hardware acceleration while the other two are not.  In practice though, Chrome and FF still blow IE9 away as far is performance is concerned.  They also have that unique advantage of being able to render webpages correctly, which probably shouldn&#8217;t be ignored.</p>
<p>I plan on looking into the scripting to find out why the results are so incredibly different, so stay tuned for a follow-up post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arcreative.net/blog/2011/02/microsoft-being-dishonest-about-ie9-beta-performance/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 3/26 queries in 0.006 seconds using disk: basic
Object Caching 411/490 objects using disk: basic

Served from: www.arcreative.net @ 2013-05-19 15:56:09 -->