<?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>crowder's blog &#187; Mozilla</title>
	<atom:link href="http://blog.mozilla.com/bcrowder/category/mozilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/bcrowder</link>
	<description>what I'm doing, what I'm interested in, random junk</description>
	<lastBuildDate>Fri, 18 Feb 2011 16:59:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>decode-on-draw for Fennec</title>
		<link>http://blog.mozilla.com/bcrowder/2011/02/15/decode-on-draw-for-fennec/</link>
		<comments>http://blog.mozilla.com/bcrowder/2011/02/15/decode-on-draw-for-fennec/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 00:40:56 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[Fennec]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/?p=33</guid>
		<description><![CDATA[(this is not a feature I coded, but I&#8217;m excited about it for Fennec, so here&#8217;s the post!) One thing Fennec struggles with somewhat, especially on pr0nimage-heavy websites is that we can easily be overwhelmed on devices with limited memory by loading lots of large images, including images that aren&#8217;t even visible on your screen [...]]]></description>
			<content:encoded><![CDATA[<p>(this is not a feature I coded, but I&#8217;m excited about it for Fennec, so here&#8217;s the post!)</p>
<p>One thing Fennec struggles with somewhat, especially on <del>pr0n</del>image-heavy websites is that we can easily be overwhelmed on devices with limited memory by loading lots of large images, including images that aren&#8217;t even visible on your screen yet.  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=622470">Bug 622470</a> addresses this issue by adding some tunable parameters, which are still turned off for Fennec, but which you can experiment with on your own, to see if they help (or hurt) you in your day-to-day usage.</p>
<p>To enable decode-on-draw in Fennec, set the following config parameters in about:config:</p>
<p><code>image.mem.decodeondraw = true<br />
content.image.allow_locking = false<br />
image.mem.min_discard_timeout_ms = 20000</code></p>
<p>The final setting determines how long we will hold on to decoded images in memory if they are unused.</p>
<p>These preferences probably won&#8217;t be enabled until after beta 5 ships, so to see results, you&#8217;ll have to hand edit them as suggested here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2011/02/15/decode-on-draw-for-fennec/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IMAP filters</title>
		<link>http://blog.mozilla.com/bcrowder/2010/01/08/imap-filters/</link>
		<comments>http://blog.mozilla.com/bcrowder/2010/01/08/imap-filters/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 22:44:17 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/?p=30</guid>
		<description><![CDATA[Due to some mayhem at my email host, I&#8217;d been trying gmail anew for a few days. I&#8217;ve had an active account there for a very long time, but this was the first time I&#8217;d really used gmail in anger (as my bugzilla account). It turns out gmail and extended headers, such as those bugzilla [...]]]></description>
			<content:encoded><![CDATA[<p>Due to some mayhem at my email host, I&#8217;d been trying gmail anew for a few days.  I&#8217;ve had an active account there for a very long time, but this was the first time I&#8217;d really used gmail in anger (as my bugzilla account).</p>
<p>It turns out gmail and extended headers, such as those bugzilla delivers, don&#8217;t quite work together well, and the massive flood of emails I get from bugzilla is too firehose-like to be managed without those headers, so I quickly retreated to the safer ground of a Thunderbird nightly.</p>
<p>BUT, I have also become addicted to being able to use Google Sync (ala ActiveSync) with my phone for contacts, email, and calendar (no tasks! *pout*).  So I need to be able to check bugmail from my phone, but having extensive filtering there isn&#8217;t really necessary.  Having it at my desktop is critical.  But I still don&#8217;t want my phone to think I&#8217;ve got email every time bugzilla spams me.  So I set up a gmail filter to kick bugzilla mail off to my bugzilla folder.</p>
<p>Thunderbird, though, in its default configuration, does not perform additional filtering on any folder other than &#8220;Inbox&#8221;.  I wanted priority highlighting to work in Thunderbird without having to &#8220;Run Filters on Folder&#8221; every time I switched.  Here&#8217;s the trick:</p>
<p>In about:config for Tbird (Tools -> Options -> General -> Config Editor), add the following key:</p>
<p>mail.server.default.applyIncomingFilters = &#8220;true&#8221;</p>
<p>(It&#8217;s important that the key be a string), and you&#8217;ll get filtration in all of your IMAP folders.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2010/01/08/imap-filters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>extend this!</title>
		<link>http://blog.mozilla.com/bcrowder/2008/07/18/extend-this/</link>
		<comments>http://blog.mozilla.com/bcrowder/2008/07/18/extend-this/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 03:23:07 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/?p=18</guid>
		<description><![CDATA[I&#8217;ve been working on something fun for the last couple of days (in between patch-revs on other bugs I can&#8217;t talk about yet), and I thought I&#8217;d blog about it. It&#8217;s cool (at least to me) and useful: John Resig and others involved in the standardization process for the new ECMAScript language proposals have been [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=433351">been working on</a> something fun for the last couple of days (in between patch-revs on other bugs I can&#8217;t talk about yet), and I thought I&#8217;d blog about it.  It&#8217;s cool (at least to me) and useful:</p>
<p>John Resig and others involved in the standardization process for the new ECMAScript language proposals have been going back and forth lately over the design of a new language library feature, to facilitate copying properties of one object to another.  Object.extend() &#8212; essentially you pass an object (the one you mean to extend), and a series of objects (from which you want properties copied), and you get a new object with all the goodness of the others:</p>
<p>From the spidermonkey JS shell:<br />
<code>js&gt; var a = { get x () { print("foo"); return 3 } }<br />
js&gt; var b = [ 1, 2, 3 ]<br />
js&gt; var c = { foo: "bar" }<br />
js&gt; var result = Object.extend({}, a, b, c)<br />
js&gt; result.toSource()<br />
({get x () {print("foo");return 3;}, 0:1, 1:2, 2:3, foo:"bar"})</code><br />
Notice the getter itself is copied, not the result of its evaluation.</p>
<p>I hope this feature makes it into the standard(s), I think it&#8217;s a very powerful, useful, and flexible one.  So much so that many of the existing AJAX libraries already have a 5-or-10 line version of it included, under <a href="https://mail.mozilla.org/pipermail/es3.x-discuss/2008-July/000361.html">any of a number of names</a>, and with a few variations in semantics.  In my opinion, a number of the other features being discussed in lieu of it (like Object.clone) can be implemented trivially in terms of it).  A good, consistent semantic for a feature this convenient seems like a great thing for the &#8220;library&#8221; side of JS, to me.  I&#8217;d love to land this for 1.9.1, it seems like it would, at least, be handy for extension authors.  I hope it survives the committees!</p>
<p>Also, thanks to John for writing a nice test-suite for the feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2008/07/18/extend-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>stone soup</title>
		<link>http://blog.mozilla.com/bcrowder/2008/04/26/stone-soup/</link>
		<comments>http://blog.mozilla.com/bcrowder/2008/04/26/stone-soup/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 04:14:38 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[Free Beer]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/2008/04/26/stone-soup/</guid>
		<description><![CDATA[Perhaps everyone has encountered this story before me, but tonight was my first time. I found myself reading it to my sons and thinking a lot about how much it feels like what I do at work. The version I read was by a childrens&#8217; author named Jon J. Muth. If you get a chance [...]]]></description>
			<content:encoded><![CDATA[<p>Perhaps everyone has encountered this story before me, but tonight was my first time.  I found myself reading it to my sons and thinking a lot about how much it feels like what I do at work.  The <a href="http://www.amazon.com/Stone-Soup-Jon-J-Muth/dp/043933909X">version I read</a> was by a childrens&#8217; author named Jon J. Muth.  If you get a chance to read it, I highly recommend it.  There are a <a href="http://en.wikipedia.org/wiki/Stone_soup">couple</a> <a href="http://www.extremelinux.info/stonesoup/stonesoup.html">of</a> <a href="http://www.storybin.com/sponsor/sponsor116.shtml">online</a> <a href="http://www.storyresources.co.nz/shop/item.aspx?itemid=526">renditions</a> available, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2008/04/26/stone-soup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird Workaround for RSS</title>
		<link>http://blog.mozilla.com/bcrowder/2007/07/12/thunderbird-workaround-for-rss/</link>
		<comments>http://blog.mozilla.com/bcrowder/2007/07/12/thunderbird-workaround-for-rss/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 22:38:14 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/2007/07/12/thunderbird-workaround-for-rss/</guid>
		<description><![CDATA[I was hitting a bug with T-bird&#8217;s RSS reader, which I think I have now finally worked around. I have not been able to add new feeds for some time; and previously I had hit a bug where my feeds stopped updating. I fixed that by (wrongly) deleting the feeditems.rdf file from my T-bird profile. [...]]]></description>
			<content:encoded><![CDATA[<p>I was hitting a bug with T-bird&#8217;s RSS reader, which I think I have now finally worked around.  I have not been able to add new feeds for some time; and previously I had hit a bug where my feeds stopped updating.  I fixed <em>that</em> by (wrongly) deleting the feeditems.rdf file from my T-bird profile.  That seemed to cause other problems that I don&#8217;t officially claim to understand.</p>
<p>Today, I exported my feeds, created a new RSS account, imported my feeds to that, and then deleted my old RSS account.  This works brilliantly and I was able to add new feeds immediately to the new account.  (Including a feed that required HTTP Basic Authentication, which I hadn&#8217;t been able to use at all previously)</p>
<p>It&#8217;s worth mentioning that I had tried out ThunderBrowse as a way to work around the HTTP Auth problem I was having, but it seems not to handle HTTP Auth requests at all.  Too bad; ThunderBrowse could be really neat with a little bit of massaging; I hope it gets it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2007/07/12/thunderbird-workaround-for-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>why this crazy thing works</title>
		<link>http://blog.mozilla.com/bcrowder/2007/03/01/why-this-crazy-thing-works/</link>
		<comments>http://blog.mozilla.com/bcrowder/2007/03/01/why-this-crazy-thing-works/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 22:00:48 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/2007/03/01/why-this-crazy-thing-works/</guid>
		<description><![CDATA[It&#8217;s addictive. The high comes (or at least, the best hits are) when two conditions are met: 1) something you do benefits someone else, and 2) you know about it.  Today, for me, it happened to hit me when a random comment I made in a random bug more than a year old helped someone [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s addictive.</p>
<p>The high comes (or at least, the best hits are) when two conditions are met: 1) something you do benefits someone else, and 2) you know about it.  Today, for me, it happened to hit me when a random comment I made in a random bug more than a year old helped someone else fix the bug.  Yeah, that&#8217;s right:  I didn&#8217;t even actually fix the bug.  But I helped someone else do it.  And yeah, it&#8217;s not a bug the fixing of which will protect anyone&#8217;s credit-card numbers or identity, but somehow it&#8217;s still a pretty good high.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2007/03/01/why-this-crazy-thing-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kozilla</title>
		<link>http://blog.mozilla.com/bcrowder/2007/03/01/kozilla/</link>
		<comments>http://blog.mozilla.com/bcrowder/2007/03/01/kozilla/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 18:32:39 +0000</pubDate>
		<dc:creator>bcrowder</dc:creator>
				<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/bcrowder/2007/03/01/kozilla/</guid>
		<description><![CDATA[Reading Gen Kanai&#8217;s blog-post here makes me think we have a real opportunity in a market we haven&#8217;t cracked yet.  What do we need to do to make the Korean SEED Active-X control work in our browser without introducing all the other mayhem which comes with Active-X?  I looked at the source for the Active-X [...]]]></description>
			<content:encoded><![CDATA[<p>Reading Gen Kanai&#8217;s blog-post <a href="http://blog.mozilla.com/gen/2007/02/27/the-cost-of-monoculture/">here</a> makes me think we have a real opportunity in a market we haven&#8217;t cracked yet.  What do we need to do to make the Korean SEED Active-X control work in our browser without introducing all the other mayhem which comes with Active-X?  I looked at the source for the Active-X control in our tree and it looks as though some thought has been made for restricting (whitelisting/blacklisting) controls, but in my cursory examination I didn&#8217;t find the actual code that uses the preferences documented for this.  I&#8217;m not very familiar with this code.  Who is?  How good is our Korean localization, in general?  Am I wrong in thinking this is a very big, very obvious opportunity?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/bcrowder/2007/03/01/kozilla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

