<?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"
	>

<channel>
	<title>Gavin's blog</title>
	<atom:link href="http://www.gavinsharp.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gavinsharp.com/blog</link>
	<description>blog?</description>
	<pubDate>Sun, 03 Aug 2008 18:18:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Summit 2008</title>
		<link>http://www.gavinsharp.com/blog/2008/08/03/summit-2008/</link>
		<comments>http://www.gavinsharp.com/blog/2008/08/03/summit-2008/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 05:38:15 +0000</pubDate>
		<dc:creator>gavin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.gavinsharp.com/blog/?p=11</guid>
		<description><![CDATA[I&#8217;m in Ottawa now, after having survived the escape from Whistler. The summit was great fun. It was awesome to see such an amazing group all together in one place. The best part was having a chance to chat with several people I&#8217;d only ever interacted with on IRC or in Bugzilla (Neil, Matthew, Simon, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in Ottawa now, after having survived the escape from Whistler. The summit was great fun. It was awesome to see such an amazing group all together in one place. The best part was having a chance to chat with several people I&#8217;d only ever interacted with on IRC or in Bugzilla (<a href="http://neil.rashbrook.org/">Neil</a>, <a href="http://twitter.com/plasticmillion">Matthew</a>, <a href="http://www.zeniko.ch/">Simon</a>, <a href="http://www.kailiu.com/">Kai</a>, <a href="http://www.frenchmozilla.fr/">all of the frenchmozilla guys</a>, <a href="https://addons.mozilla.org/en-US/firefox/user/2017289">_FrnchFrgg_</a>, <a href="http://www.mozilla.gr.jp/~shimono/blog/">Shimono-san</a>, and others that I know I&#8217;m forgetting now).</p>
<p>I&#8217;ve posted some <a href="http://www.flickr.com/photos/gavinsharp/sets/72157606507765985/">pictures of the trip on flickr</a>, but Deb has a <a href="http://www.dria.org/wordpress/archives/2008/08/01/672/">great set of pictures of our journey home</a> specifically. The trip back started on Friday morning, when a bunch of us headed out to the floatplane dock at <a href="http://en.wikipedia.org/wiki/Green_Lake_(Whistler)">Green Lake</a> around 10am. After about an hour or so spent waiting at the dock, we were notified that our floatplane couldn&#8217;t land because of heavy fog, so we had to make alternate arrangements to fly out of <a href="http://en.wikipedia.org/wiki/Squamish">Squamish</a>, which is about a 50 minute drive south of Whistler. These delays meant that we&#8217;d all be missing our flights out of Vancouver, so we spent nearly an hour on the phone with Jane at Air Canada, who was really quite excellent, patiently managing to rebook us all on different flights at no cost to us.</p>
<p>We eventually made it to Squamish by bus, where we boarded a floatplane for a 10 minute ride to Vancouver. I was surprised at how pleasant the floatplane experience was. I was expecting the ride to be bumpy and the cabin to be cramped, but it was quite comfortable, and was a great experience overall (it might have helped that I was sitting in the front row). We landed at <a href="http://en.wikipedia.org/wiki/Vancouver_Harbour_Water_Airport">Vancouver Harbour Water Airport</a> in downtown Vancouver, and had to hurry to catch a cab to the airport. We just barely made it - thankfully our plane was delayed getting in so boarding was pushed back a little bit.</p>
<p>I was glad to be able to land in Toronto in time to head back home and get a little bit of rest before my flight to Ottawa this morning. I&#8217;m in Ottawa visiting friends and family this weekend, before heading back to Toronto on Monday night to prepare for a Tuesday morning flight to Las Vegas for <a href="http://www.blackhat.com/html/bh-usa-08/bh-us-08-main.html">Blackhat 2008</a>. After Blackhat, I&#8217;m going to be in Calgary for a week, visiting with family and attending my cousin&#8217;s wedding, and I&#8217;m considering taking a weekend trip to London near the end of August, so I think it&#8217;s going to be a busy travel month for me&#8230; but I couldn&#8217;t think of a better way to start it out than with an exciting adventure leaving Whistler! <img src='http://www.gavinsharp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinsharp.com/blog/2008/08/03/summit-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox 3 for theme developers</title>
		<link>http://www.gavinsharp.com/blog/2008/06/11/firefox-3-for-theme-developers/</link>
		<comments>http://www.gavinsharp.com/blog/2008/06/11/firefox-3-for-theme-developers/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 19:50:25 +0000</pubDate>
		<dc:creator>gavin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.gavinsharp.com/blog/?p=9</guid>
		<description><![CDATA[Firefox 3 is quickly nearing release, and shaver has prompted me to exercise my blog-posting muscles and post about changes relevant to Firefox theme developers. Alex Faaborg has already done a great job explaining the goals of the new default Firefox 3 themes (with screenshots!). I wanted to dive in a bit further into the [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 3 is quickly nearing release, and <a href="http://shaver.off.net/diary/">shaver</a> has prompted me to exercise my blog-posting muscles and post about changes relevant to Firefox theme developers. Alex Faaborg has already done a great job explaining the goals of the new default <a href="http://blog.mozilla.com/faaborg/2008/05/14/firefox-3-themes/">Firefox 3 themes</a> (with screenshots!). I wanted to dive in a bit further into the details of the platform changes relevant to theme developers looking to update or create new themes for Firefox 3.</p>
<p>A large part of Firefox 3 theme work on Windows was making it possible to give Firefox a platform native look on both Vista and XP. In order to allow a given Firefox build to change it&#8217;s appearance based on the version of Windows it was running on, changes were made to our chrome registration code to allow selecting different theme packages at run-time based on operating system version. This functionality is also available to theme developers, and isn&#8217;t specific to Windows - more details can be found on <a href="http://developer.mozilla.org/en/docs/Chrome_Registration#osversion">MDC&#8217;s chrome registration page</a>.</p>
<p>Windows theme developers might also want to make use of the new <a href="http://developer.mozilla.org/en/docs/CSS::-moz-system-metric(windows-default-theme)">::-moz-system-metric(windows-default-theme)</a> pseudo-class, which allows different styling based on whether the user is currently using one of the default Windows themes (Luna/Royale/Zune/Aero, not including Classic). This feature was added to allow the Firefox 3 themes to use hard-coded colors not available in the system color set, without negatively affecting third party system themes that might specify different clashing colors. This pseudo-class therefore allows a fallback to potentially less-appealing, but more compatible, system colors for non-default themes.</p>
<p>Firefox 3&#8217;s layout engine, Gecko 1.9, has also received many fixes that are likely to be useful for theme developers:</p>
<ul>
<li><a href="http://dbaron.org/">David Baron</a>&#8217;s patch in bug 401291 made several improvements to dynamic selector matching, which means that matching of selectors that include pseudo-classes like :first-child, :only-child, and :last-child will now be updated correctly when the DOM changes. Similar fixes were made to the :empty pseudo-class and the &#8220;+&#8221; combinator, and support was added for the &#8220;~&#8221; combinator (see <a href="http://www.w3.org/TR/css3-selectors/#general-sibling-combinators">CSS3</a> for more details).</li>
<li>Support was added for <a href="http://en.wikipedia.org/wiki/Animated_PNG">Animated PNG</a>, which allows animation with 8-bit transparency. The <a href="http://lxr.mozilla.org/seamonkey/source/toolkit/themes/winstripe/global/icons/loading_16.png">Firefox throbber</a> is an APNG image, for example.</li>
<li>Thanks to <a href="http://en.wikipedia.org/wiki/Cairo_(graphics)">Cairo</a>, Gecko 1.9 supports rgba and hsla colors in CSS, which allows specifying an alpha channel in CSS colors, to allow translucency. The Firefox themes use this in <a href="http://mxr.mozilla.org/mozilla/search?string=rgba&amp;find=css">several different places</a> for better integration with platform native colors.</li>
<li>Another win from Cairo is that border radii drawn using -moz-border-radius are now anti-aliased, which improves their appearance (bug 16380).</li>
<li>On Mac, Gecko now supports transparent windows, thanks to work from Colin Barrett and Håkan Waara (bug 307204). This brings Mac up to par with Windows (Linux still doesn&#8217;t support partial transparency).</li>
<li>On Windows, new -moz-appearance values have been introduced that map to Vista toolbar appearances (-moz-win-browsertabbar-toolbox, -moz-win-communications-toolbox, -moz-win-media-toolbox). Also new is support for system color values for &#8220;communications text&#8221; and &#8220;media text&#8221; (-moz-win-communicationstext, -moz-win-mediatext).</li>
</ul>
<p>Lastly, and perhaps most importantly, I wanted to encourage theme developers to check out <a href="http://developer.mozilla.org/en/docs/Theme_changes_in_Firefox_3">Themes changes in Firefox 3 on MDC</a>. It&#8217;s not a complete guide quite yet, but it already contains some great tips to help you update your theme for Firefox 3, and it&#8217;s a great place for theme developers to share information about common pitfalls.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinsharp.com/blog/2008/06/11/firefox-3-for-theme-developers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Confessions of a bugmail addict</title>
		<link>http://www.gavinsharp.com/blog/2008/03/03/confessions-of-a-bugmail-addict/</link>
		<comments>http://www.gavinsharp.com/blog/2008/03/03/confessions-of-a-bugmail-addict/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 10:46:36 +0000</pubDate>
		<dc:creator>gavin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.gavinsharp.com/blog/2008/03/03/confessions-of-a-bugmail-addict/</guid>
		<description><![CDATA[I&#8217;ve developed a little bit of a reputation, at least among irc.mozilla.org regulars, for being pretty familiar with the bugzilla.mozilla.org bug database. A little too familiar, perhaps.
I thought it would be interesting to do a little bit of analysis on the 1.2GB mbox file that holds all of the bugmail I&#8217;ve received since April 2004, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve developed a little bit of a reputation, at least among <a href="http://irc.mozilla.org">irc.mozilla.org</a> regulars, for being pretty familiar with the <a href="https://bugzilla.mozilla.org">bugzilla.mozilla.org</a> bug database. A little <a href="http://quotes.burntelectrons.org/search?query=tag%3Agavinbot">too familiar</a>, perhaps.</p>
<p>I thought it would be interesting to do a little bit of analysis on the 1.2GB mbox file that holds all of the bugmail I&#8217;ve received since April 2004, and to shed some light on the methods to my madness. Here&#8217;s graph that shows the number of messages per day, since April 2004 (each point is one day, the vertical axis is number of bugmail messages receieved on that day):</p>
<p><a href="http://www.gavinsharp.com/blog/wp-content/uploads/2008/03/bugmail-days.png" title="Bugmail per day"></a></p>
<p style="text-align: center"><a href="http://www.gavinsharp.com/blog/wp-content/uploads/2008/03/bugmail-days.png" title="Bugmail per day"><img src="http://www.gavinsharp.com/blog/wp-content/uploads/2008/03/bugmail-days.png" alt="Bugmail per day" /></a></p>
<p>This might be surprising to some people. It was a surprising to me, to be honest, when I received 1882 bugmail messages on January 29th. I&#8217;m not sure exactly what happened on that day, but most of the bugmail was probably generated by Gecko 1.9/Firefox 3 blocker and approval triage. I suspect it&#8217;s not completely out of proportion compared to some other heavy Bugzilla users, though. I would be interested in seeing bugmail graphs for <a href="http://beltzner.ca/mike/">beltzner</a> or <a href="http://steelgryphon.com/blog">mconnor</a> or <a href="http://weblogs.mozillazine.org/bz/">bz</a> or <a href="http://dbaron.org/">dbaron</a>, say.</p>
<p>Beyond the raw numbers, which I will attempt to rationalize later, there are a few things you might have noticed in the graph. The most obvious is that my bugmail volume has been increasing steadily since I first started receiving bugmail in 2004 (as far as I can tell, my first Bugzilla CC was on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=48037">bug 48037</a> on April 11, 2004) . You can see drops in volume during the year-end holidays in 2006 and 2007 - the drops are less visible in 2004 and 2005. Weekends are also visible as pairs of dots near the bottom of the range (not as easy to see in this horizontally compressed graph).</p>
<p>I also wanted to see how my bugmail frequency matched up to the Firefox release cycles. Here&#8217;s a chart with the messages grouped per month, with major Firefox releases shown on the graph:</p>
<p><a href="http://www.gavinsharp.com/blog/wp-content/uploads/2008/03/bugmail-months.png" title="Bugmail per month"></a></p>
<p style="text-align: center"><a href="http://www.gavinsharp.com/blog/wp-content/uploads/2008/03/bugmail-months.png" title="Bugmail per month"><img src="http://www.gavinsharp.com/blog/wp-content/uploads/2008/03/bugmail-months.png" alt="Bugmail per month" /></a></p>
<p>You can sort of see a pattern - a buildup of bugmail volume up until the release, with a drop right after the release. Obviously my involvement in Firefox releases has increased as time&#8217;s gone by - I had very little direct involvement in Firefox 1.0&#8217;s release, but I did quite a bit of work writing and landing patches for Firefox 2, and the bugmail volume reflects that.</p>
<h2>Frequently Asked Questions</h2>
<ul>
<li>Do you read all of your bugmail?
<ul>
<li>Yes, for some definition of &#8220;read&#8221;. A lot of the messages I receive are quick to skim - flag or dependency changes, comments I don&#8217;t need to reply to, bugs being resolved - it probably takes me only about a second or two to skim past these, and since Gmail groups messages for the same bug together, I can quickly flip through threads and see what&#8217;s changed without too much context switching. Messages that require a response or further action are usually queued up in tabs that I&#8217;ll go through later.</li>
</ul>
</li>
<li>How do you CC yourself on so many bugs? Do you have a script that crawls Bugzilla and CCs you?
<ul>
<li>Yes, I have a script. I call it MassCC, and I run it on Bugzilla twice a day. It CCs me on bugs where the sum of any 3 digits multiplied by any fourth digit is a Mersenne prime. (This algorithm means I end up only being CCed on bugs whose number contains a &#8220;1&#8243;, but this hasn&#8217;t proven to be a problem so far.)</li>
</ul>
</li>
<li>How do you keep track of so many bugs?
<ul>
<li>Most of my knowledge of currently-active and recently-fixed bugs comes from going through a &#8220;confirmed bugs filed in the past three days&#8221; query at least once every two days, moving bugs to the correct component, marking duplicates, CCing people who might be able to help fix the bug, and providing input if I know what the fix is. When I first started doing bug triage I would look at all bugs, but the number of UNCONFIRMED bugs quickly became overwhelming. A lot of other folks regularly do UNCONFIRMED bug triage, though, and I love them for it. I&#8217;ll also sometimes pay attention to the #bugs channel while when I&#8217;m on IRC, where firebot announces bug changes. If I see something interesting I&#8217;ll click over and CC myself. Having that channel&#8217;s scrollback easily available helps with quick bug lookups, when I know something happened in the past 2 or 3 days.</li>
</ul>
</li>
<li>I filed a bug 3 minutes ago and you&#8217;re already CCed. Are you watching me?
<ul>
<li>No, I am not watching you. <a href="http://www.ohloh.net/accounts/10448">Reed</a> is watching you, and I have a special arrangement with him.</li>
</ul>
</li>
<li>I&#8217;ve noticed gavin.bugzilla at gmail dot com always gets mail, no matter what I do in Bugzilla. What&#8217;s up with that?
<ul>
<li>That&#8217;s an address that&#8217;s been set up as a &#8220;global watcher&#8221;. It gets mail for every change on bugzilla.mozilla.org. I set it up a while ago when the global watcher capability was added to b.m.o, but nowadays I very rarely actually use it. It&#8217;s mailbox is currently 37% full (<span class="LaiJff">2427 MB of 6480 MB)</span>, with <span class="vZFPPc">287088 unread threads.</span><span class="vZFPPc"> If it wasn&#8217;t for the &#8220;New bug filed&#8221; notifications having a different subject line than the mail for changes to the bug itself, the unread count would reflect the number of bugs that have been modified since the account was created.</span></li>
</ul>
</li>
<li><span class="vZFPPc">Isn&#8217;t all this bugmail too much?</span>
<ul>
<li><span class="vZFPPc">It&#8217;s starting to be a little too much, yes. Things should get better as Firefox 3 is wrapped up, but I&#8217;ll probably adjust my bug watching habits anyways, to try and reduce the amount of mail I need to sort through. I currently have 49 addresses in my Bugzilla &#8220;watch list&#8221;, most of them generic QA contacts that let me receive bugmail for an entire <a href="https://bugzilla.mozilla.org/describecomponents.cgi?product=Firefox">Bugzilla component</a>. I can probably reduce my overall bugmail volume a fair bit without really diminishing my ability to &#8220;know what&#8217;s going on&#8221;. I want to be careful not to narrow my focus too much, though, since I do like being able to keep track of things happening in the Mozilla world that aren&#8217;t necessarily related to my job. </span></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinsharp.com/blog/2008/03/03/confessions-of-a-bugmail-addict/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hi</title>
		<link>http://www.gavinsharp.com/blog/2008/02/14/hi/</link>
		<comments>http://www.gavinsharp.com/blog/2008/02/14/hi/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 19:04:33 +0000</pubDate>
		<dc:creator>gavin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.gavinsharp.com/blog/2008/02/14/hi/</guid>
		<description><![CDATA[A few people have suggested that I get a blog, so I did. I don&#8217;t have any big plans for what I&#8217;ll be blogging about, but I suspect a significant number of posts will be about Mozilla. I might get into the habit of writing about stuff other than Mozilla; I guess we&#8217;ll see.
]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://shaver.off.net/diary">few</a> <a href="http://shaver.off.net/diary"></a><a href="http://www.allpeers.com/blog/about/">people</a> have suggested that I get a blog, so I did. I don&#8217;t have any big plans for what I&#8217;ll be blogging about, but I suspect a significant number of posts will be about Mozilla. I might get into the habit of writing about stuff other than Mozilla; I guess we&#8217;ll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinsharp.com/blog/2008/02/14/hi/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
