<?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>Caffeine Lab &#187; flock</title>
	<atom:link href="http://erwan.jp/tag/flock/feed/" rel="self" type="application/rss+xml" />
	<link>http://erwan.jp</link>
	<description>Really tasty technologies</description>
	<lastBuildDate>Wed, 07 Jul 2010 10:58:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<cloud domain='erwan.jp' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Flock switching to Chrome: opinion of an ex-Flocker</title>
		<link>http://erwan.jp/2009/03/05/flock-switching-to-chrome-opinion-of-an-ex-flocker/</link>
		<comments>http://erwan.jp/2009/03/05/flock-switching-to-chrome-opinion-of-an-ex-flocker/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 13:23:00 +0000</pubDate>
		<dc:creator>erwan</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[yoono]]></category>

		<guid isPermaLink="false">http://erwan.jp/?p=359</guid>
		<description><![CDATA[I&#8217;ve just read on Techcrunch that Flock was going to switch from Firefox to Chrome. This is not completely news to me because at the time I was still at Flock, one colleague (Chris Campbell) was doing experiments with Chrome to see the feasibility of the switch. I don&#8217;t know what&#8217;s going on inside Flock [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just read on Techcrunch that <a href="http://www.techcrunch.com/2009/03/02/flock-ditching-firefox-moving-to-google-chrome/">Flock was going to switch from Firefox to Chrome</a>. This is not completely news to me because at the time I was still at Flock, one colleague (Chris Campbell) was doing experiments with Chrome to see the feasibility of the switch. I don&#8217;t know what&#8217;s going on inside Flock now, so I don&#8217;t know if they&#8217;re still just playing with Chromium or seriously planning a switch.</p>
<h3>Gecko and Webkit&#8230; Or Firefox and Chrome?</h3>
<p>The supposed switch revived a <a href="http://browsing.justdiscourse.com/2009/03/04/the-browser-platform-wars/">recurring</a> <a href="http://ianloic.com/2009/03/04/mozilla-and-webkit-browser-platform-wars/">discussion</a> about how Gecko is a pain in the arse to embed, and how it&#8217;s a breeze to embed WebKit. Additionally WebKit is young, shiny and buzzy while Gecko is old and supposedly tired.</p>
<p>It is true that Gecko is much harder to embed that WebKit. It is also true that Mozilla is not spending a lot of time helping people who want to embed Gecko (their priority is Firefox), while embedding is the main purpose of WebKit. The natural consequence is that I don&#8217;t know any recent project choosing Gecko as their rendering engine.</p>
<p>But that&#8217;s not the point. Flock is not embedding a rendering engine, they are taking a full blown browser &#8211; currently Firefox &#8211; and tweaking it. Flock is not a browser based on Gecko, it is a browser <em>based on Firefox</em>. That explains a lot of similarities between the product, and that also explains why most Firefox extensions work in Flock.</p>
<p>That means that if Flock switches to Chrome (actually <em>Chromium</em>, the Open Source version of Google Chrome), it doesn&#8217;t matter how easy it is embed WebKit: what matters is how easy it is to hack Chromium. And it doesn&#8217;t matter how responsive and nice the WebKit community is: what really matters is how Google will deal with external contributors and patches from external contributors. And as Chromium is young, this is still unsure.</p>
<p>But even if Chromium appears to be open to contributors, how they would react to a company building an other browser based off Chromium is pretty unknown. It&#8217;s just like with Mozilla: they release their code under an Open Source license so they explicitly allow that kind of derivative work and can&#8217;t prevent it to happen. But whether they will see Flock with a better eye than Mozilla did is a different question.</p>
<h3>Would Flock benefit from a switch to Chrome?</h3>
<p>I can really see only one good reason for Flock to switch to Chrome: the &#8220;process-per-tag&#8221; system.</p>
<p>Flock have always suffered of Mozilla&#8217;s single thread, single process logic. For example, when you fetch the Facebook friends list of a <a href="http://www.willpate.org/">rockstar</a>, you have to merge lists of thousands of friends then refresh the UI to reflect that. This operation happening in the main thread (the only thread) it will literally block your browser. To workaround that, <a href="http://www.yosh.org">Yosh</a> wrote a simple <a href="http://svn-mirror.flock.com/trac/flock/browser/trunk/mozilla/flock/modules/FlockScheduler.jsm">Scheduler </a>that sets timer to yield to the UI once in a while. It&#8217;s really a hacky way to get threads-like things, and since we didn&#8217;t apply it everywhere there were still code that were freezing the browser. With Chromium, Flock&#8217;s sidebars or topbars would run in separate process and be less disruptive for usual browsing.</p>
<p>It&#8217;s hard for me to see how that single reason would outweigh the cost of switch for the team and for the users. This is going to be a completely different product with new bugs, features disappearing and alienated users. I do not know Flock&#8217;s current strategy but I can only assume they are seeing more benefits to the switch that I can&#8217;t see.</p>
<h3>Letting the user choose</h3>
<p>That kind of controversy about what Flock should use (or will use) as a &#8220;host browser&#8221; is pretty irrelevant for extensions companies. <a href="http://www.foxmarks.com">Foxmarks</a>, <a href="http://www.cooliris.com/">CoolIris</a> and the <a href="http://www.yoono.com">company I currently work for</a> are all examples of companies who provide a rich browser feature while letting the user choose his browser.</p>
<p>At its early days, Flock decided to be a browser instead of a set of extensions. This choice makes sense for Flock&#8217;s general strategy, but today I can&#8217;t help but think that if Flock was an extension company, it could just have released a Chrome version along with versions for other browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://erwan.jp/2009/03/05/flock-switching-to-chrome-opinion-of-an-ex-flocker/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Getting Started at Yoono</title>
		<link>http://erwan.jp/2009/02/23/getting-started-at-yoono/</link>
		<comments>http://erwan.jp/2009/02/23/getting-started-at-yoono/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 17:14:42 +0000</pubDate>
		<dc:creator>erwan</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[yoono]]></category>

		<guid isPermaLink="false">http://erwan.jp/?p=345</guid>
		<description><![CDATA[I am now well in my first month at Yoono, and you can already play with my work by installing the last version from AMO. I have been working mostly on the Facebook integration in the friends widget. Here are some of the features I added: Online presence and chat: no chat in the sidebar [...]]]></description>
			<content:encoded><![CDATA[<p>I am now well in my first month at <a title="Yoono" href="http://www.yoono.com">Yoono</a>, and you can already play with my work by installing the last version from <a href="https://addons.mozilla.org/en-US/firefox/addon/1833">AMO</a>. I have been working mostly on the <a href="http://www.facebook.com">Facebook</a> integration in the friends widget.</p>
<p>Here are some of the features I added:</p>
<ul>
<li>Online presence and chat: no chat in the sidebar yet, but you can already see who is online from the sidebar and initiate a chat from there.</li>
<li>Contact sorting: at least for Facebook and Twitter, contacts are now sorted by last updated first</li>
</ul>
<div id="attachment_348" class="wp-caption aligncenter" style="width: 136px"><img class="size-medium wp-image-348" title="Facebook Friends" src="http://erwan.jp/wp-content/uploads/2009/02/facebook-online-126x300.png" alt="Online status for Facebook friends in the Yoono sidebar" width="126" height="300" /><p class="wp-caption-text">Online status for Facebook friends in the Yoono sidebar</p></div>
<ul>
<li>New activity types, from the new <a href="http://developers.facebook.com/news.php?blog=1&amp;story=193">Facebook API</a>: you are now notified when your friends post new notes or share links. With the thumbnail:</li>
</ul>
<div id="attachment_349" class="wp-caption aligncenter" style="width: 242px"><img class="size-full wp-image-349" title="Shared Links" src="http://erwan.jp/wp-content/uploads/2009/02/story.png" alt="Shared Links" width="232" height="154" /><p class="wp-caption-text">Shared Links</p></div>
<p>There is much more coming for Yoono&#8217;s friends widget in the next version. I can&#8217;t tell anything for now (Yoono&#8217;s development is not open), but stay tuned for the 5.5.0!</p>
]]></content:encoded>
			<wfw:commentRss>http://erwan.jp/2009/02/23/getting-started-at-yoono/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting more media sites in Flock&#8217;s mediabar, with Media RSS</title>
		<link>http://erwan.jp/2008/07/17/flock-media-rss/</link>
		<comments>http://erwan.jp/2008/07/17/flock-media-rss/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 22:15:39 +0000</pubDate>
		<dc:creator>erwan</dc:creator>
				<category><![CDATA[flock]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[mrss]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://erwan.jp/?p=158</guid>
		<description><![CDATA[Flock 2.0 is on its way to the final release, and many of you have noticed that besides all the Firefox 3 goodness, the experience is pretty much the same as in Flock 1.2. Well, it&#8217;s pretty much the same, not exactly the same. One discreet feature is the recognition of Media RSS feeds for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flock.com/beta/download/">Flock 2.0</a> is on its way to the final release, and many of you have noticed that besides all the Firefox 3 goodness, the experience is pretty much the same as in Flock 1.2. Well, it&#8217;s <em>pretty much</em> the same, not <em>exactly</em> the same. One discreet feature is the recognition of <a href="http://search.yahoo.com/mrss">Media RSS</a> feeds for the mediabar.</p>
<div id="attachment_184" class="wp-caption aligncenter" style="width: 310px"><a href="http://erwan.jp/wp-content/uploads/2008/07/lemonde.png"><img class="size-medium wp-image-184" title="Media RSS on lemonde.fr" src="http://erwan.jp/wp-content/uploads/2008/07/lemonde-300x118.png" alt="" width="300" height="118" /></a><p class="wp-caption-text">Media RSS on the French website lemonde.fr</p></div>
<p>While Flock has been doing a lot of service-specific integration, it has never been the intent for the long term. We do service-specific because we have no choice, but we are eager to support open standards (and promote them) as they get available. Our blog editor had support for <a href="http://www.xmlrpc.com/metaWeblogApi">MetaWeblog</a> and <a href="http://www.atomenabled.org/developers/protocol/">ATOM Publishing Protocol</a> from the beginning, and now it&#8217;s the turn of the mediabar to get some open standard love.</p>
<h3>Media Discovery</h3>
<p>What does it mean for you, the user? Well, it means that besides the 7 supported services, you can consume content from any website that advertise an RSS feed. You can try it, in <a href="http://www.flock.com/beta/download/">Flock 2.0beta2</a>. Here is a selection of websites:</p>
<ul>
<li><a href="http://icanhascheezburger.com/">I can has cheezburger</a></li>
<li><a href="http://smugmug.com/">Smugmug</a></li>
<li><a href="http://www.lemonde.fr/">Le Monde</a> (if you can read French)</li>
<li>And many more! There are so many sites I can&#8217;t keep track of all of them.</li>
</ul>
<h3>Custom Search</h3>
<p>So when you visit a page with a media rss feed, you can see it in the mediabar and subscribe to it. It gives a experience similar to Flock&#8217;s news reader, but with an experience more tailored to media content (images and videos). But there is more. It&#8217;s really an advanced feature, but if a website provides a media rss feed for a given search result, you can use that to add search in the mediabar.</p>
<p><strong>Example</strong>: <a href="http://www.hulu.com">Hulu</a><br />
Hulu is a website with TV content from the major networks (FOX, NBS, PBS&#8230;) with limited advertisement. You can get search for it in Flock&#8217;s mediabar, again that&#8217;s for Flock 2.0beta2:</p>
<ol>
<li>Open the URL &#8220;about:config&#8221;</li>
<li>Search for &#8220;rssSearch&#8221;</li>
<li>Change the value of flock.photo.rssSearch to:<br />
<code>[{"hulu":{"id":"hulu","title":"Hulu Videos","url":"http://www.hulu.com/feed/search/%s","icon":"http://www.hulu.com/images/hulu.ico"}}]</code></li>
<li>Open the mediabar</li>
</ol>
<p>Voilà! You can now search for your favorite TV shows in the mediabar.</p>
<div id="attachment_159" class="wp-caption alignnone" style="width: 510px"><a href="http://erwan.jp/wp-content/uploads/2008/07/homer.png"><img class="size-full wp-image-159" title="Homer Simpsons on Hulu.com" src="http://erwan.jp/wp-content/uploads/2008/07/homer.png" alt="" width="500" height="199" /></a><p class="wp-caption-text">Search for &quot;Homer&quot; on Hulu.com</p></div>
<h3>Get support for your site</h3>
<p>If you have a feed with images or videos on your website/blog, you can get it in Flock&#8217;s mediabar pretty easily.</p>
<p>The easiest way is to pipe your feed through <a href="http://www.feedburner.com">Feedburner</a>, making sure you enable their <a href="http://blogs.feedburner.com/feedburner/archives/000812.html">SmartCast</a> feature. Feedburner will nicely add the required markup to your feed (and they have a lot of other features too).</p>
<p>If you&#8217;re tech savvy and you&#8217;d rather do it your way, there is <a href="http://developer.flock.com/wiki/Media_RSS">some documentation</a> that I wrote for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://erwan.jp/2008/07/17/flock-media-rss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flock on Firefox 3</title>
		<link>http://erwan.jp/2008/02/03/flock-on-firefox-3/</link>
		<comments>http://erwan.jp/2008/02/03/flock-on-firefox-3/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 22:52:04 +0000</pubDate>
		<dc:creator>erwan</dc:creator>
				<category><![CDATA[flock]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox3]]></category>

		<guid isPermaLink="false">http://erwan.jp/2008/02/03/154/</guid>
		<description><![CDATA[Update: a public beta of Flock 2.0 is available. In order to minimize the wait between the release of Firefox 3 and a Flock version based on it, Manish and me started to work on porting Flock to FF3. The current stable version of Flock is based on Firefox 2, the latest stable release from [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: a <a href="http://www.flock.com/beta/download/">public beta of Flock 2.0</a> is available.</strong></p>
<p>In order to minimize the wait between the release of Firefox 3 and a Flock version based on it, Manish and me started to work on porting Flock to FF3. The current stable version of Flock is based on Firefox 2, the latest stable release from Mozilla.</p>
<p>That&#8217;s today that we&#8217;re very glad to work on overlays, and keep our source modification away from Mozilla files as much as possible. Changes that were touching Mozilla files take way more time to merge/migrate. That&#8217;s also an opportunity for us to clean up some of our code. For example, the way we were changing entities in browser.xul was to replace the DTD file. Bad, because we were missing the new entities from Firefox 3. We fixed that to only override the entities we want to change (Firefox -> Flock, Bookmarks -> Favorites&#8230;)</p>
<p>So here is where we are after a few days.</p>
<h2>What works</h2>
<ul>
<li><strong>The datastorage layer</strong>. The data layer of Flock consists in an RDF datasource accessible through a Javascript object mapper (Coop) and serialized on the disk in a mozstorage (sqlite) database. I don&#8217;t know if Manish had to do anything to make it work in Firefox 3, but it seems to be working great.
</li>
<li><strong>The services backend</strong>. We had to migrate to the <a href="http://developer.mozilla.org/en/docs/Using_nsILoginManager">login manager</a> because the password manager is deprecated. So long nsIPassword, the time of nsILoginInfo has come.</li>
<li><strong>The web clipboard</strong>. Not really a surprise, it&#8217;s simple enough not to break. Cherry on the cake: now when you drag a picture or a snippet, the whole picture moves with your cursor. That really looks great and make drag&#8217;n drop very clear and easy to understand.</li>
<li><strong>The blog editor</strong>. Still some bugs, but the basic functionality is there. Almost no work required!</li>
<li><strong>The people sidebar</strong>. I&#8217;m really impressed. This is a big piece of code, but as soon as the service backend was fixed it just worked out-of-the-box. Everything seems to be working.</li>
<li><strong>The star button</strong>. That one was easy. Mozilla is introducing a one-click bookmarking star button (just like the one we&#8217;ve been having in Flock for 2 years). So all I had to do is drop our own star, move Mozilla&#8217;s one from the right to the left and theme it correctly. Tada! No online bookmark yet and it&#8217;s not clear whether we&#8217;ll stick with Firefox&#8217; behavior (that&#8217;s <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=414933">not yet clearly defined</a> anyway), but it&#8217;s a start.
</li>
</ul>
<h2>What&#8217;s broken</h2>
<ul>
<li><strong>The theme</strong>. I started to fix it, but there is still a lot of work to do. The background on toolbars is missing, tabs and the URL bar need to be styled&#8230;</li>
<li><strong>Full text history indexing</strong>. Manish did some work on the Lucene level, and I started to migrate from the History RDF to Places. Not quite working yet.</li>
<li><strong>The searchbar</strong>. I didn&#8217;t look at it yet, but as you can see on the screenshot it&#8217;s not pretty. Maybe it will just work after we fix the theme and the indexer?</li>
<li><strong>Online bookmarks</strong> (Delicious, Magnolia). They do get synchronized locally but don&#8217;t appear in the UI yet. With Places we&#8217;re basically throwing away most of our UI favorites code, but we need to reinject the code related to online bookmarks in the Places UI.</li>
<li><strong>Mediabar</strong>. It&#8217;s pretty much busted. We&#8217;ve been using hacks and non-standard techniques more than in any other modules; I suspect that most of the breakages are due to things we were not supposed to do even in Firefox 2, and we may have to redesign some pieces to do it &#8220;the right way&#8221;.
</li>
<li><strong>Notifications</strong>. I reverted that change because it was preventing the browser to start (&#8220;can&#8217;t find the XBL for browser&#8221;: hard to use it when the browser window doesn&#8217;t appear!). Manish is going to take care of it, and that&#8217;ll probably end up being a simple change.
</li>
</ul>
<p>I recommend to anyone coding on the Flock browser to have a look at Mozilla&#8217;s page about <a href="http://developer.mozilla.org/en/docs/Updating_extensions_for_Firefox_3">porting extensions to Firefox 3</a>. In particular, there are points about stuff that work in Firefox 2, but that we were not supposed to use and will stop working in Firefox&nbsp;3. For exemple, <code>event.preventBubble</code> deprecated in favor of <code>event.stopPropagation</code>. If we start to be careful about these points in Flock&#8217;s trunk, the migration to Firefox 3 will be much smoother.</p>
<p>And if you want to play with a broken browser&#8230; Feel free to <a href="http://developer.flock.com/wiki/FBuild#Using_a_branch">build</a> the branch <code>experimental/firefox3-merge</code>.</p>
<p><a href="http://erwan.jp/wp-content/uploads/2008/02/flock-ff3.png" title="Flock on Firefox 3"><img src="http://erwan.jp/wp-content/uploads/2008/02/flock-ff3.png" alt="Flock on Firefox 3" height="664" width="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://erwan.jp/2008/02/03/flock-on-firefox-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
