<?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>Schrep&#039;s Blog &#187; mozilla</title>
	<atom:link href="http://blog.mozilla.com/schrep/category/mozilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/schrep</link>
	<description>Schrep&#039;s random mumblings</description>
	<lastBuildDate>Sat, 23 Aug 2008 02:17:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What can you do when your browser is 7 times faster?</title>
		<link>http://blog.mozilla.com/schrep/2008/08/22/what-can-you-do-when-your-browser-is-7-times-faster/</link>
		<comments>http://blog.mozilla.com/schrep/2008/08/22/what-can-you-do-when-your-browser-is-7-times-faster/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 20:01:08 +0000</pubDate>
		<dc:creator>schrep</dc:creator>
				<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/schrep/?p=100</guid>
		<description><![CDATA[Andreas Gal, Brendan Eich, Dave Anderson, Mike Shaver,  and a whole host of other super-smart folks at Mozilla have been working hard to bring a Trace-tree based Just-in-time compiler to Firefox.  I was a little curious about what sort of things you could do with this new found speed &#8211; so I hacked [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://andreasgal.com/">Andreas Gal</a>, <a href="http://weblogs.mozillazine.org/roadmap/">Brendan Eich</a>, <a href="http://www.bailopan.net/blog/">Dave Anderson</a>, <a href="http://shaver.off.net/diary/">Mike Shaver</a>,  and a whole host of other super-smart folks at Mozilla have been working hard to bring a <a href="http://andreasgal.com/2008/06/02/trace-trees-faq/">Trace-tree</a> based <a href="http://en.wikipedia.org/wiki/Just-in-time_compilation">Just-in-time compiler</a> to Firefox.  I was a little curious about what sort of things you could do with this new found speed &#8211; so I hacked together a demo of some photo editing operations in the browser.  It runs about 7x faster using the JIT than Firefox 3. From what I understand there are some very straightforward optimizations for the tracing work (basically specializing for the fact that we are loading/storing ints into the array) that can probably speed this up around 2-4x very soon.</p>
<p>Click on the image below to watch a 1 minute screencast of it in action &#8211; or you can try it yourself <a href="http://people.mozilla.com/~schrep/image12.html">here</a> (I&#8217;d recommend you use the latest Firefox nightly with JIT turned on &#8211; but the demo works in Firefox 3 and Webkit nighties).</p>
<p><a href="http://people.mozilla.com/~schrep/tm-image-adjustment.swf"><img src="http://people.mozilla.com/~schrep/imageedit.jpg" alt="" /><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/schrep/2008/08/22/what-can-you-do-when-your-browser-is-7-times-faster/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Great performance improvements coming for Firefox 3.1</title>
		<link>http://blog.mozilla.com/schrep/2008/08/20/great-performance-improvements-coming-for-firefox-31/</link>
		<comments>http://blog.mozilla.com/schrep/2008/08/20/great-performance-improvements-coming-for-firefox-31/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 00:55:01 +0000</pubDate>
		<dc:creator>schrep</dc:creator>
				<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/schrep/?p=76</guid>
		<description><![CDATA[We know one of the things folks love about Firefox 3 is the huge performance improvements made over Firefox 2.  We knew we could do a whole lot more &#8211;  which is one of the reasons we decided to do a quick Firefox 3.1 release.
Boris Zbarsky landed support for querySelector[All] just before Firefox [...]]]></description>
			<content:encoded><![CDATA[<p>We know one of the things folks love about Firefox 3 is the huge <a href="http://lifehacker.com/392160/top-10-firefox-3-features">performance improvements</a> made over Firefox 2.  We knew we could do a whole lot more &#8211;  which is one of the reasons we decided to do a quick <a href="http://groups.google.com/group/mozilla.dev.planning/browse_thread/thread/3ad6529cca543bdc/23c550c6b5f008bd?lnk=gst&amp;q=***+DRAFT+PLAN+****+*******************+#23c550c6b5f008bd">Firefox 3.1</a> release.</p>
<p>Boris Zbarsky <a href="http://blog.mozilla.com/web-tech/2008/07/22/queryselectorall/">landed support</a> for querySelector[All] just before <a href="http://www.mozilla.org/projects/firefox/3.1a1/releasenotes/">Firefox 3.1 Alpha 1</a>.   Recently <a href="http://ejohn.org/">John Resig</a> and Mike Morgan took the <a href="http://mootools.net/slickspeed/">slickspeed selectors</a> test from the Mootools project and updated it with versions of most of the toolkits that support native querySelector. </p>
<p>The results are an impressive ~3-7x speedup!</p>
<p><a href="http://people.mozilla.com/~schrep/perf.002.png"><img src="http://people.mozilla.com/~schrep/perf.002.png" width=720 height=360 /></a></p>
<p>The raw times looks like thus:</p>
<p><a href="http://people.mozilla.com/~schrep/perf.001.png"><img src="http://people.mozilla.com/~schrep/perf.001.png" width=720 height=360 /></a></p>
<p>You can try it yourself <a href="http://native.khan.mozilla.org/">here</a> (make sure to use a Firefox 3.1 alpha or nightly build after July 22).  Since all major browsers will soon support this feature the entire web is about to get a pretty big performance boost.  </p>
<p>More great stuff is on the way for Firefox 3.1&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/schrep/2008/08/20/great-performance-improvements-coming-for-firefox-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building the world we want, not the one we have</title>
		<link>http://blog.mozilla.com/schrep/2008/08/08/building-the-world-we-want-not-the-one-we-have/</link>
		<comments>http://blog.mozilla.com/schrep/2008/08/08/building-the-world-we-want-not-the-one-we-have/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 17:30:47 +0000</pubDate>
		<dc:creator>schrep</dc:creator>
				<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/schrep/?p=75</guid>
		<description><![CDATA[Thanks to the hard work of Chris Double, Robert O&#8217;Callahan, Johnny Stenback, and many others the &#60;video&#62; and &#60;audio&#62; tags along with native support for Theora video and Vorbis audio are currently enabled in the Firefox nightly builds.   This will ship in Firefox 3.1 Beta 1 coming later this year.
This is not new news [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to the hard <a href="http://www.bluishcoder.co.nz/2008/07/theora-video-backend-for-firefox-landed.html">work</a> of <a href="http://www.bluishcoder.co.nz/">Chris Double</a>, <a href="http://weblogs.mozillazine.org/roc/">Robert O&#8217;Callahan</a>, Johnny Stenback, and many others the &lt;video&gt; and &lt;audio&gt; tags along with native support for Theora video and Vorbis audio are currently enabled in the Firefox <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">nightly builds</a>.   This will ship in Firefox 3.1 Beta 1 coming later this year.</p>
<p>This is not new news but I did want to provide my perspective on why this is important.</p>
<p>If you read the HTML1.0 specification from 1993 carefully you&#8217;ll notice it doesn&#8217;t specify the image format even though there are <a href="http://en.wikipedia.org/wiki/Graphics_file_format">dozens</a> of them. <a href="http://en.wikipedia.org/wiki/GIF">GIF</a> is excellent for logos, line drawings, etc but is limited to 256 colors and is thus non-ideal for photos.  <a href="http://en.wikipedia.org/wiki/JPEG">JPEG</a> is lossy-compressed and thus great for photos but less suitable for vector art and drawings.   <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">PNG</a> came later to work around some issues in GIF and wasn&#8217;t fully and properly supported in Internet Explorer until <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics#Web_browser_support_for_PNG">version 7</a>.  Before PNG was fully natively supported in all browsers there were <a href="http://www.libpng.org/pub/png/pngapbr.html">many plug-ins</a> to fill the gap.</p>
<p>A patent encumbered technology (GIF) critical to the web was replaced by a truly open and free format (PNG) first through plug-ins and then quickly after natively in browsers.  The HTML specifications did not specify a particular image format but a few became ubiquitous through common usage.</p>
<p>This is where I believe we are going with &lt;video&gt; and &lt;audio&gt; tags.  Right now hundreds of millions of users can view videos in their web browsers, but it requires one of several proprietary plug-ins which support proprietary formats to play.   This means if you build a website with flash/silverlight/WMV  video it will not work on millions of iPhones and other mobile browsers.  It may or may not work on Linux.  Getting it to work requires lawyers, money, and business agreements between multiple parties.</p>
<p>By shipping HTML5 &lt;video&gt; and &lt;audio&gt; with royalty free open source formats in Firefox we hope to make these formats ubiquitous through common usage.  Royalty free open source formats will allow all web-browser makers to enable native video and audio playback on all platforms, devices, and environments, without restrictions.  They will allow all open source products to embed native video and audio playback without fear.   They will allow web authors to use audio and video freely in their websites without worrying about whether a particular platform has a particular version of a particular plug-in installed.  As an end-user we soon won&#8217;t have to worry about whether we can watch video content from a particular website on our new phone, tablet, or PC because all systems can support open video standards.  Perhaps I&#8217;ll be able to watch the 2010 <a href="http://www.centernetworks.com/nbc-selects-microsoft-silverlight-for-olympics-video">Olympics</a> on my mobile phone.</p>
<p>True ubiquitous access to content.   This is the world we want.</p>
<p><strong>There&#8217;s not much content encoded in Theora/Vorbis at this time &#8211; what&#8217;s the point?</strong></p>
<p>Ten years ago there wasn&#8217;t any content in <a href="http://en.wikipedia.org/wiki/H.264">H.264</a> but it is fairly common now.  Until Flash video became common there wasn&#8217;t a ton of video content encoded in <a href="http://en.wikipedia.org/wiki/Flash_Video">VP6</a>.   New content is created all the time and <a href="http://en.wikipedia.org/wiki/Transcoding">transcoding</a> to Theora/Vorbis is quite simple.   Shortly after Firefox 3.1 ships there will be almost 200M desktops capable of playing this kind of video.  Content should follow quickly.</p>
<p><strong>I can already watch video using Flash, Quicktime, Sliverlight, etc so what&#8217;s the point?</strong></p>
<p>Having native video/audio support as part of HTML5 along with open source and royalty free formats means that every browser vendor, device, etc can support this format.  If adopted widely it means that web authors will soon be able to use one format to target all devices.  As a native web technology video can now be intermixed with all other advancements in the web as seen <a href="http://www.bluishcoder.co.nz/2008/07/video-bling.html">here</a>.</p>
<p><strong>Doesn&#8217;t Theora kill battery life and/or eat CPU time?</strong></p>
<p>Many systems today ship with some form of hardware acceleration for H.264, MPEG-2, and other formats which reduces their CPU usage and thus battery usage.   With adoption of the format we expect Theora to benefit from similar hardware acceleration in the near future.  In the meantime HD video at 5-6MBp playes smooth on modern system without any hardware assistance.</p>
<p><strong>Doesn&#8217;t the video quality of Theora suck?</strong></p>
<p>It is very watchable and getting better all the time with work such as <a href="http://web.mit.edu/xiphmont/Public/theora/demo5.html">this</a>.</p>
<p><strong>Are there any legal issues?</strong></p>
<p>We’ve done a careful legal analysis of all known issues and to the best of our knowledge Theora and Vorbis do not pose any patent risks. They&#8217;ve been around for a while with no issues; however, there is always the risk of what folks call submarine patents but this risk occurs for every software developer writing any kind of software.  There&#8217;s also always a risk someone asserts a claim, which doesn&#8217;t necessarily mean that the claim has any merit.  We believe there are no issues, but if push comes to shove we can: i) evaluate any claim and determine if its meritorious; ii) use the power of the web to gather relevant prior art to demonstrate invalidity; and iii) remove or disable the functionality quickly if necessary as a last resort.</p>
<p><strong>What about HD?</strong></p>
<p>Theora can play and encode HD content.  Based on current implementations the video quality is not <a href="http://www.osnews.com/story/19019/Theora-vs.-h.264">as good as H.264</a> but much can be improved.  In addition we&#8217;ve been talking to the fine folks behind <a href="http://diracvideo.org/">Dirac</a> and I&#8217;ve seen some very impressive looking 720P videos encoded in Dirac.   The good news is once we get the basic video/audio infrastructure into Firefox adding new codecs/formats will be relatively straightforward.  This is just the starting point to get baseline video capabilities ubiquitous.</p>
<p><strong>Why didn&#8217;t you just license H.264, VC-1, MPEG-2, or &lt;insert favorite codec here&gt;?</strong></p>
<p>We looked very carefully at this option and we could have very well done this for all &#8220;Official&#8221; Firefox binary releases at significant monetary cost to us.  But this had several issues:</p>
<ul>
<li> It would require the inclusion of close-sourced code into Firefox.</li>
<li>Any derivatives of Firefox or Mozilla code would *not* be able to ship it.</li>
<li>No other open source project would be able to use it.</li>
</ul>
<p>This would solve the problem solely for Firefox users. We are more interested in solving the problem for the entire web.</p>
<p><strong>Why not just use native Directshow/Quicktime/GStreamer on each platform?</strong></p>
<p>We are working on this as well as you can see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=422540">here</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=435298">here</a>, and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=435339">here</a>.  However, this approach has two major limitations: a) codec support varies dramatically from platform to platform and b) this does nothing for phones or other systems.  We wanted a baseline format that all web authors can count on in all environments.</p>
<p><strong>This is awesome, how do I help?</strong></p>
<p>Download a Firefox nightly build <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">here</a> and test it out <a href="http://www.double.co.nz/video_test/">here</a> or on <a href="http://commons.wikimedia.org/wiki/Category:Video">Wikimedia Commons</a>.  Produce native content in Theora/Vorbis.   Help transcode other formats to Theora.  Tell your friends.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/schrep/2008/08/08/building-the-world-we-want-not-the-one-we-have/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New Adventures</title>
		<link>http://blog.mozilla.com/schrep/2008/07/28/new-adventures/</link>
		<comments>http://blog.mozilla.com/schrep/2008/07/28/new-adventures/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:17:38 +0000</pubDate>
		<dc:creator>schrep</dc:creator>
				<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/schrep/?p=73</guid>
		<description><![CDATA[I&#8217;m moving on from my role at Mozilla Corporation to head up the front-end and platform development at Facebook.   I&#8217;ll be here for at least a few weeks after the summit so we&#8217;ll have plenty of time to catch-up before I go.
It really has been a singular honor to have been part of Mozilla and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m moving on from my role at Mozilla Corporation to head up the front-end and platform development at Facebook.   I&#8217;ll be here for at least a few weeks after the summit so we&#8217;ll have plenty of time to catch-up before I go.</p>
<p>It really has been a singular honor to have been part of Mozilla and I&#8217;m hugely proud of what we&#8217;ve been able to accomplish together. We&#8217;ve shipped Firefox 1.5, 2, and the amazing Firefox 3 together, taken the active users from tens of millions to &gt;185 million in almost 50 languages, achieved 50% market share in some countries, built a thriving Add-ons ecosystem, moved into mobile, scaled our operations across the globe, and most importantly of all continued to build a thriving, passionate, talented community that is a blast to be part of.  This is the first time I&#8217;ve decided to leave something I really truly love &#8211; I will dearly miss getting a chance to work with all of you every day. Everyone that I&#8217;ve met from the community has, and will continue to be, a huge inspiration to me.</p>
<p>I *know* that Mozilla will continue to kick butt without me &#8211; impossible to do otherwise with the strength, talent, and passion of the people here.</p>
<p>Rock on,</p>
<p>Schrep</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/schrep/2008/07/28/new-adventures/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Where are we with Firefox 3?</title>
		<link>http://blog.mozilla.com/schrep/2008/06/09/where-are-we-with-firefox-3/</link>
		<comments>http://blog.mozilla.com/schrep/2008/06/09/where-are-we-with-firefox-3/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 02:11:24 +0000</pubDate>
		<dc:creator>schrep</dc:creator>
				<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/schrep/?p=67</guid>
		<description><![CDATA[Thanks to the hard and dedicated work of the Mozilla community Firefox 3 Release Candiate 2 (RC2) shipped last week in an unbelievable 48 languages!   RC2 is 15th major milestone on the way to Firefox 3 final release:

At the beginning of 2007 we had approximately 25k daily users of the early FF3 builds, that number [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to the hard and dedicated work of the Mozilla community <a href="http://www.mozilla.com/en-US/firefox/all-rc.html">Firefox 3 Release Candiate 2</a> (RC2) shipped last week in an unbelievable 48 languages!   RC2 is 15th major milestone on the way to Firefox 3 final release:</p>
<p><img src="http://people.mozilla.com/~schrep/FF3.png" alt="Firefox 3 Usage" width="741" height="391" /></p>
<p>At the beginning of 2007 we had approximately 25k daily users of the early FF3 builds, that number grew to 50k as we approached Alpha 8 and last week there we over 2,000,000 daily users of Firefox 3.  The daily public builds, many many major milestones, and thousands to millions of testers are all part of our process to ensure that Firefox 3 is the best browser you&#8217;ve ever used.  We are still collecting feedback on RC2 and putting the final touches on the assoicated web sites around the Firefox 3 &#8211; but the final version is coming very soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/schrep/2008/06/09/where-are-we-with-firefox-3/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
