<?xml version="1.0"?>
<rss version="2.0">

<channel>
	<title>Planet LittleChina</title>
	<link>http://planet.littlechina.org/</link>
	<language>en</language>
	<description>Planet LittleChina - http://planet.littlechina.org/</description>
	<copyright>Copyright: Check license from each individual blogger.</copyright>

<item>
	<title>helder2: Dynamic Error Pages in Rails 3 with Goalie</title>
	<guid>http://helderribeiro.net/?p=366</guid>
	<link>http://feedproxy.google.com/~r/HelderRibeiro/~3/IjOgqJMutXw/</link>
	<description>&lt;p&gt;As part of my work on &lt;a href=&quot;http://shapado.com&quot;&gt;Shapado&lt;/a&gt; in the &lt;a href=&quot;http://helderribeiro.net/?p=338&quot;&gt;Google Summer of Code&lt;/a&gt;, I just released a Rails3-compatible little gem (called &lt;a href=&quot;http://github.com/obvio171/goalie&quot;&gt;Goalie&lt;/a&gt;) that makes it easy to have custom error pages with dynamic content. It is still very early-stages and I would like your feedback. Here&amp;#8217;s the release README. Enjoy!&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;
Goalie&lt;br /&gt;
&lt;/h2&gt;
&lt;p&gt; Goalie is a flexible dynamic error response renderer for&lt;br /&gt;
Rails built on Rack and Rails Engines. It provides the same&lt;br /&gt;
default error pages as Rails, but allows you to easily customize&lt;br /&gt;
them with &lt;em&gt; dynamic &lt;/em&gt; content. This means you can use your&lt;br /&gt;
application layout, have different error pages for different&lt;br /&gt;
subdomains, and do all sorts nice things.  &lt;/p&gt;
&lt;h2&gt;
Installation&lt;br /&gt;
&lt;/h2&gt;
&lt;p&gt; WARNING: at this point, Goalie is highly experimental and&lt;br /&gt;
should not be used in production!! Everything can and probably&lt;br /&gt;
will change before it is ready for production. Install it only if&lt;br /&gt;
you want to play with and/or contribute to it.  &lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
gem install goalie
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt; After you install it and add it to your &lt;code&gt; Gemfile&lt;br /&gt;
&lt;/code&gt; , you have to require it together with Rails&amp;#8217; frameworks&lt;br /&gt;
at the top of your &lt;code&gt; config/application.rb &lt;/code&gt; file:
&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
require 'goalie/rails'
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;
This will remove Rails&amp;#8217; default exception renderer middleware&lt;br /&gt;
( &lt;code&gt; ShowExceptions &lt;/code&gt; ) and use Goalie&amp;#8217;s&lt;br /&gt;
instead. Unless you have custom static pages in your &lt;code&gt;&lt;br /&gt;
public &lt;/code&gt; directory (which we plan to support later), this&lt;br /&gt;
will be a drop-in replacement.  &lt;/p&gt;
&lt;h2&gt;
Customization&lt;br /&gt;
&lt;/h2&gt;
&lt;h3&gt;
Controllers&lt;br /&gt;
&lt;/h3&gt;
&lt;p&gt; The public (production) rescuing of errors is done by the&lt;br /&gt;
&lt;code&gt; PublicErrorsController &lt;/code&gt; found in Goalie&amp;#8217;s &lt;code&gt;&lt;br /&gt;
app/controllers &lt;/code&gt; directory. If you create a controller&lt;br /&gt;
with the same name, it will automatically be used instead of&lt;br /&gt;
Goalie&amp;#8217;s. All it needs to do is support the following actions:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt; internal_server_error &lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt;not_found &lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt; unprocessable_entity &lt;/code&gt;&lt;/li&gt;
&lt;li&gt; &lt;code&gt; conflict &lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt;method_not_allowed &lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt; not_implemented&lt;/code&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; If you don&amp;#8217;t actually need a separate action for each of&lt;br /&gt;
these errors, you can redirect them to others, for example, with:
&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
def unprocessable_entity
  render :action =&amp;gt; 'internal_server_error'
end
&lt;/code&gt;
&lt;/pre&gt;
&lt;h3&gt;
Views&lt;br /&gt;
&lt;/h3&gt;
&lt;p&gt; You can also customize only the views and use Goalie&amp;#8217;s&lt;br /&gt;
default controller. All you need is to have inside &lt;code&gt;&lt;br /&gt;
app/views/public_errors &lt;/code&gt; views with the same names as the&lt;br /&gt;
actions listed above. Besides the standard stuff that Rails makes&lt;br /&gt;
available to views, you will also have access to the following&lt;br /&gt;
instance variables: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt; &lt;code&gt; @&lt;a href=&quot;http://twitter.com/request&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;View request's Twitter Profile&quot;&gt;request&lt;/a&gt; &lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt; @&lt;a href=&quot;http://twitter.com/exception&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;View exception's Twitter Profile&quot;&gt;exception&lt;/a&gt;&lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt; @&lt;a href=&quot;http://twitter.com/application_trace&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;View application_trace's Twitter Profile&quot;&gt;application_trace&lt;/a&gt; &lt;/code&gt; &lt;/li&gt;
&lt;li&gt;&lt;code&gt; @&lt;a href=&quot;http://twitter.com/framework_trace&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;View framework_trace's Twitter Profile&quot;&gt;framework_trace&lt;/a&gt; &lt;/code&gt; &lt;/li&gt;
&lt;li&gt; &lt;code&gt; @&lt;a href=&quot;http://twitter.com/full_trace&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;View full_trace's Twitter Profile&quot;&gt;full_trace&lt;/a&gt;&lt;/code&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; Be VERY careful when using this in production, as you could&lt;br /&gt;
expose sensitive information inside the request and&lt;br /&gt;
exception. Generally, you probably shouldn&amp;#8217;t use these variables&lt;br /&gt;
at all. The only place it makes sense is to have a more detailed&lt;br /&gt;
error screen for admins or other high-level users.  &lt;/p&gt;
&lt;h2&gt;
Credit&lt;br /&gt;
&lt;/h2&gt;
&lt;p&gt;
Goalie copies a lot of code and ideas from:&lt;/p&gt;
&lt;p&gt; * Rails&amp;#8217; &lt;code&gt;ShowExceptions&lt;/code&gt; middleware&lt;br /&gt;
 * Rails&amp;#8217; default error views&lt;br /&gt;
 * Rails&amp;#8217; exception_notification plugin
&lt;/p&gt;
&lt;p&gt; Which are mostly the work of &lt;a href=&quot;http://joshpeek.com&quot;&gt;&lt;br /&gt;
Joshua Peek &lt;/a&gt; , with help from various contributors. We&amp;#8217;re&lt;br /&gt;
highly indebted to them and thank them a lot for their work.
&lt;/p&gt;
&lt;h2&gt;
Contributions&lt;br /&gt;
&lt;/h2&gt;
&lt;p&gt; Any form of feedback, patches, issues, and documentation are&lt;br /&gt;
highly appreciated.  &lt;/p&gt;
&lt;h2&gt;
License&lt;br /&gt;
&lt;/h2&gt;
&lt;p&gt; MIT license. Copyright 2010 &lt;a href=&quot;http://helderribeiro.net&quot;&gt; Helder Ribeiro&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save&quot;&gt;&lt;img alt=&quot;Share/Bookmark&quot; height=&quot;16&quot; src=&quot;http://helderribeiro.net/wp-content/plugins/add-to-any/share_save_171_16.png&quot; width=&quot;171&quot; /&gt;&lt;/a&gt; &lt;/p&gt;&lt;img height=&quot;1&quot; src=&quot;http://feeds.feedburner.com/~r/HelderRibeiro/~4/IjOgqJMutXw&quot; width=&quot;1&quot; /&gt;</description>
	<pubDate>Mon, 09 Aug 2010 13:57:00 +0000</pubDate>
</item>
<item>
	<title>mbelluzzo: Desbugando o Planet Littlechina</title>
	<guid>tag:blogger.com,1999:blog-5319647901023451726.post-451062284019679790</guid>
	<link>http://mbelluzzo.blogspot.com/2010/08/desbugando-o-planet-littlechina.html</link>
	<description>Because I'm awesome. (ou não)&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_TLddjbBmmY0/TFgd0v4QOMI/AAAAAAAABB8/w-HZQZyQYDI/s1600/superstar.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5501179736875874498&quot; src=&quot;http://1.bp.blogspot.com/_TLddjbBmmY0/TFgd0v4QOMI/AAAAAAAABB8/w-HZQZyQYDI/s320/superstar.jpg&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;https://blogger.googleusercontent.com/tracker/5319647901023451726-451062284019679790?l=mbelluzzo.blogspot.com&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;</description>
	<pubDate>Tue, 03 Aug 2010 13:47:24 +0000</pubDate>
	<author>noreply@blogger.com (belluzzo)</author>
</item>
<item>
	<title>mbelluzzo: Relatividade</title>
	<guid>tag:blogger.com,1999:blog-5319647901023451726.post-8404195431826009896</guid>
	<link>http://mbelluzzo.blogspot.com/2008/04/relatividade.html</link>
	<description>Eu definitivamente não consigo entender essa desgraça.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;https://blogger.googleusercontent.com/tracker/5319647901023451726-8404195431826009896?l=mbelluzzo.blogspot.com&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;</description>
	<pubDate>Tue, 03 Aug 2010 13:11:35 +0000</pubDate>
	<author>noreply@blogger.com (belluzzo)</author>
</item>
<item>
	<title>lfelipe: Canolas new release</title>
	<guid>http://www.libertatia.org/blog/?p=80</guid>
	<link>http://www.libertatia.org/blog/?p=80</link>
	<description>&lt;p&gt;After working on Canola for the past couple of months, finally we get to see it released. Hopefully people will like this new version, which is both faster and more stable (or less stable, I&amp;#8217;m never quite sure which one we picked). We&amp;#8217;re now back following the latest revision of the Enlightenment Foundation Libraries, which allowed us to make the UI experience alot smoother (check it out by going to the Photos section). Also there are a bunch of new features and lots of bugs fixed, so try it out yourself and tell us what you think. Hopefully now development of Canola will get back to more regular releases, and we&amp;#8217;ll start seeing more external plugins being developed (such as the flickr plugin being done by Thomas Schimdt, available &lt;a href=&quot;https://garage.maemo.org/projects/canola-flickr/&quot;&gt;here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;For this release we went above and beyond the call of duty, doing tests that no one had ever done before (at least to our knowledge). That&amp;#8217;s why we can say, with much confidence, that Canola works perfectly while drinking in Buenos Aires:&lt;/p&gt;
&lt;div class=&quot;wp-caption aligncenter&quot;&gt;&lt;a href=&quot;http://www.littlechina.org/~lfelipe/canuela.jpg&quot;&gt;&lt;img alt=&quot;Canola in Buenos Aires&quot; class=&quot; &quot; height=&quot;369&quot; src=&quot;http://www.littlechina.org/~lfelipe/canuela.jpg&quot; title=&quot;canuela.jpg&quot; width=&quot;491&quot; /&gt;&lt;/a&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;Canola in Buenos Aires&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Testing in other capitals will ensue. Cheers !!!&lt;/p&gt;</description>
	<pubDate>Wed, 28 Jul 2010 16:40:52 +0000</pubDate>
</item>
<item>
	<title>helder2: Seeing production error pages in Rails 3 on local machine</title>
	<guid>http://helderribeiro.net/?p=357</guid>
	<link>http://feedproxy.google.com/~r/HelderRibeiro/~3/wjEjQYxyQv0/</link>
	<description>&lt;p&gt;So you&amp;#8217;re programming on Rails 3 and you want to see how your 404 or 500 error page looks like to the end user. You think &amp;#8220;that&amp;#8217;s easy, all I have to do is run in production mode&amp;#8221;, right? Yo do that, run to your browser, type in a bogus address and &lt;em&gt;voilà&lt;/em&gt;&amp;#8230; A &lt;strong&gt;stack trace&lt;/strong&gt;! Wha..? I thought I was in production mode, shouldn&amp;#8217;t I see the red default error page that comes with Rails (or your custom one)? Well, you are, and yes, you should. But that&amp;#8217;s not how things work right now.&lt;/p&gt;
&lt;p&gt;What happens is that, even in production mode, Rails shows you the stack trace if it sees that the request is coming from localhost. Previously, on Rails 2.x, this was decide by the method &lt;code&gt;local_request?&lt;/code&gt; which lived in &lt;code&gt;ActionController::Base&lt;/code&gt;, so all you had to do (according to the &lt;a href=&quot;http://api.rubyonrails.org/classes/ActionController/Rescue.html#M000218&quot;&gt;docs&lt;/a&gt;) to fix that was to override it on your application controller with something like:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
def local_request?(*args)
  RAILS_ENV == 'production' ? false : true
end
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;But on Rails 3 (since &lt;a href=&quot;http://gist.github.com/rails/rails/commit/11af089cee0a0e744e267d32becfe2c66a586d31&quot;&gt;this commit&lt;/a&gt;), exception handling isn&amp;#8217;t done inside the controller anymore, it&amp;#8217;s Rack-based, and so is the &lt;code&gt;local_request?&lt;/code&gt; method. That means you can&amp;#8217;t override it from inside your application controller anymore. And there isn&amp;#8217;t properly-exposed API or documentation for how to work around this, so you&amp;#8217;re screwed!&lt;/p&gt;
&lt;p&gt;Oh wait, it&amp;#8217;s Ruby, right? What&amp;#8217;s another monkey-patch anyway?&lt;/p&gt;
&lt;p&gt;So here it goes:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
# Put this at the end of config/environments/production.rb

class ActionDispatch::ShowExceptions
  def local_request?(*args)
    false
  end
end
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;Hopefully this will be more properly configurable in the future.&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;a2a_dd addtoany_share_save&quot; href=&quot;http://www.addtoany.com/share_save&quot;&gt;&lt;img alt=&quot;Share/Bookmark&quot; height=&quot;16&quot; src=&quot;http://helderribeiro.net/wp-content/plugins/add-to-any/share_save_171_16.png&quot; width=&quot;171&quot; /&gt;&lt;/a&gt; &lt;/p&gt;&lt;img height=&quot;1&quot; src=&quot;http://feeds.feedburner.com/~r/HelderRibeiro/~4/wjEjQYxyQv0&quot; width=&quot;1&quot; /&gt;</description>
	<pubDate>Mon, 26 Jul 2010 01:43:25 +0000</pubDate>
</item>
<item>
	<title>padovan: ProFUSION on the kernel development statistics for 2.6.35</title>
	<guid>http://padovan.org/blog/?p=187</guid>
	<link>http://padovan.org/blog/2010/07/profusion-on-the-kernel-development-statistics-for-2-6-35/</link>
	<description>&lt;p&gt;A recent &lt;a href=&quot;http://lwn.net/Articles/395458/&quot; target=&quot;_blank&quot;&gt;article&lt;/a&gt; from &lt;a href=&quot;http://lwn.net&quot;&gt;lwn.net&lt;/a&gt; shows ProFUSION in the most active employers for networking stuff in the 2.6.35 release cycle.  That was due to the work we did in the Bluetooth stack implementing the L2CAP Extended Features (see older post in this blog to learn about L2CAP Extended Features).  Nice!&lt;/p&gt;</description>
	<pubDate>Fri, 23 Jul 2010 22:30:07 +0000</pubDate>
</item>
<item>
	<title>lfelipe: Enlightenment running on an Efika MX</title>
	<guid>http://www.libertatia.org/blog/?p=253</guid>
	<link>http://www.libertatia.org/blog/?p=253</link>
	<description>&lt;p&gt;As part of the &lt;a href=&quot;http://www.powerdeveloper.org/&quot;&gt;Power Developer&lt;/a&gt; developer&amp;#8217;s program, I received from Genesi one of their amazing Efika MX nettops. Other people have already posted about the unboxing process (for example &lt;a href=&quot;http://blog.jolexa.net/2009/12/03/gentoo-genesi-efika-mx-unboxing-and-first-impressions/&quot;&gt;darkside&lt;/a&gt; or &lt;a href=&quot;http://www.brunocardoso.cc/blog/?p=67&quot;&gt;brunocardoso&lt;/a&gt;), but I still want to throw a few screenshots to show it.&lt;/p&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_254&quot;&gt;&lt;a href=&quot;http://www.libertatia.org/blog/wp-content/uploads/2010/07/efika_boot.jpg&quot;&gt;&lt;img alt=&quot;Look how tiny it is compared to even the keyboard (it is the small black box next to the monitor)&quot; class=&quot;size-full wp-image-254 &quot; height=&quot;384&quot; src=&quot;http://www.libertatia.org/blog/wp-content/uploads/2010/07/efika_boot.jpg&quot; title=&quot;efika_boot&quot; width=&quot;512&quot; /&gt;&lt;/a&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;Efika booting&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Recently there were big &lt;a href=&quot;http://trac.enlightenment.org/e/changeset/48733&quot;&gt;improvements&lt;/a&gt; made to the EFL on ARM platforms, but even without those optimizations and running on a 1680&amp;#215;1050 screen, E17 is running perfectly fine. Here are a couple of screenshots I made (the second one was taken with a camera phone, so it&amp;#8217;s slightly worse to look at, I&amp;#8217;ll try to put a video showing how well it&amp;#8217;s performing on youtube later):&lt;/p&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_255&quot;&gt;&lt;a href=&quot;http://www.libertatia.org/blog/wp-content/uploads/2010/07/efika_e17.jpg&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-full wp-image-255  &quot; height=&quot;384&quot; src=&quot;http://www.libertatia.org/blog/wp-content/uploads/2010/07/efika_e17.jpg&quot; title=&quot;efika_e17&quot; width=&quot;512&quot; /&gt;&lt;/a&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;One of the initial versions of the Efenniht theme, with the obligatory Flame/Penguins/Snow modules enabled&lt;/p&gt;&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_256&quot;&gt;&lt;a href=&quot;http://www.libertatia.org/blog/wp-content/uploads/2010/07/efika_efenniht.jpg&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-full wp-image-256 &quot; height=&quot;384&quot; src=&quot;http://www.libertatia.org/blog/wp-content/uploads/2010/07/efika_efenniht.jpg&quot; title=&quot;efika_efenniht&quot; width=&quot;512&quot; /&gt;&lt;/a&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;Latest Efenniht version, with the Everything module on the center&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;I&amp;#8217;m going to setup daily builds of the EFL running on it (plus weekly Ubuntu packages) so that it can help out stabilizing the arm port. The static analysis runs with clang of the EFL code that I&amp;#8217;ve been doing are now on a new &lt;a href=&quot;http://people.profusion.mobi/~lfelipe/static_analysis/efl/&quot;&gt;location&lt;/a&gt;, and I&amp;#8217;ll also be running them directly from the Efika.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ll soon update the blog with more cool stuff I&amp;#8217;ll be doing here (got an OE build for it about half done), but for now I just want to thank the folks at Genesi for this opportunity, and I&amp;#8217;m eagerly waiting to try out the Aura firmware they are working on.&lt;/p&gt;</description>
	<pubDate>Thu, 22 Jul 2010 15:44:18 +0000</pubDate>
</item>
<item>
	<title>brunocardoso: EfikaMX impressions!</title>
	<guid>http://www.brunocardoso.cc/blog/?p=67</guid>
	<link>http://www.brunocardoso.cc/blog/?p=67</link>
	<description>&lt;p&gt;Hey everyone, it&amp;#8217;s being a while since my last post. On 5th March 2009, I submitted a &lt;a href=&quot;http://projects.powerdeveloper.org/project/imx515/759&quot;&gt;proposal to Power Developers&lt;/a&gt; to actually improve the ARM Cortex A8 support into the LLVM Compiler. The proposal was accepted in 24th August 2009, and the board arrived in late December.&lt;/p&gt;
&lt;div class=&quot;wp-caption aligncenter&quot;&gt;&lt;img alt=&quot;Fresh new EfikaMX board&quot; class=&quot; &quot; height=&quot;288&quot; src=&quot;http://lh5.ggpht.com/_iZgORgI2XHI/S7AE75htwQI/AAAAAAAANWE/4hdt-Q0GnP8/DSC04422.JPG&quot; title=&quot;Fresh new EfikaMX board&quot; width=&quot;512&quot; /&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;Fresh new Fedex shipment with a EfikaMX board&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;After opening the Fedex box, this is what we found:&lt;/p&gt;
&lt;div class=&quot;wp-caption aligncenter&quot;&gt;&lt;img alt=&quot;Unpacked efika board&quot; class=&quot; &quot; height=&quot;288&quot; src=&quot;http://lh4.ggpht.com/_iZgORgI2XHI/S7AFTr0ZBJI/AAAAAAAANWE/oAACEI21p34/DSC04424.JPG&quot; title=&quot;Unpacked efika board&quot; width=&quot;512&quot; /&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;Unpacked efika board&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;The surprising news here, is that when I received the board all the improvements I had in mind and proposed to the Power Developers had &lt;a href=&quot;http://llvm.org/releases/2.7/docs/ReleaseNotes.html&quot; target=&quot;_blank&quot;&gt;already been implemented&lt;/a&gt; by other LLVM developers. Things not always go in the way we want to, but looking into the bright side I had a new shinning board to play with, and compiler backends always have room for small improvements.&lt;/p&gt;
&lt;p&gt;So, first of all, lets look how this beautiful toy looks like. The &amp;#8220;genesi&amp;#8221; name actually reminds me of my good old sega genesis (good old times), but getting back to what matters, here is how it looks attached to an external monitor (using the HDMI port) and booting linux.&lt;/p&gt;
&lt;div class=&quot;wp-caption aligncenter&quot;&gt;&lt;img alt=&quot;Attached to an external monitor&quot; class=&quot; &quot; height=&quot;288&quot; src=&quot;http://lh3.ggpht.com/_iZgORgI2XHI/S7AFpYU9z-I/AAAAAAAANWE/H_03rF_p7v0/DSC04430.JPG&quot; title=&quot;Attached to an external monitor&quot; width=&quot;512&quot; /&gt;&lt;p class=&quot;wp-caption-text&quot;&gt;Attached to an external monitor&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;After booting up and gathering information about the system, I installed gnome and did play with some applications to see how efficient it was. It surprised me, it was faster than I expected, even without the proprietary drivers needed to use the video decoding processor. &lt;a href=&quot;http://picasaweb.google.com/bruno.cardoso/EfikaMX&quot; target=&quot;_blank&quot;&gt;This is an album&lt;/a&gt; with all pictures I took from EfikaMX, they were all taken in the day I received the board back in 9 December 2009.&lt;/p&gt;
&lt;p&gt;Before talking about what my current plans are I do have some greetings to do: Thanks very much to &lt;strong&gt;&lt;a href=&quot;http://www.genesi-usa.com/corporate&quot; target=&quot;_blank&quot;&gt;Genesi U.S.A.&lt;/a&gt;&lt;/strong&gt;, Inc and to &lt;strong&gt;Raquel and Bill &lt;/strong&gt;@ Genesi, to being so kind providing a board and making llvm developers happier. Also I would like to apologize to them by the time I took to give them a feedback, &lt;strong&gt;sorry for taking so long&lt;/strong&gt; &lt;img alt=&quot;:)&quot; class=&quot;wp-smiley&quot; src=&quot;http://www.brunocardoso.cc/blog/wp-includes/images/smilies/icon_smile.gif&quot; /&gt; &lt;/p&gt;
&lt;p&gt;I&amp;#8217;m currently in the USA doing a summer internship and my board is at Brazil right now, so until October I don&amp;#8217;t have any way to give it attention, but at the EfikaMX/llvm/ARM side of things, these are future plans:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set-up EfikaMX as a linux ARM backend test machine, so we can run llvm test suite on it and be sure it gets working for linux (we don&amp;#8217;t have that for linux in the moment)&lt;/li&gt;
&lt;li&gt;Consider the possibility to implement random small optimizations aimed to ARM/linux, as for example &lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43129&quot; target=&quot;_blank&quot;&gt;this gcc bug&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;</description>
	<pubDate>Tue, 20 Jul 2010 02:34:47 +0000</pubDate>
</item>
<item>
	<title>padovan: L2CAP Enhanced Retransmission Mode getting stable</title>
	<guid>http://padovan.org/blog/?p=183</guid>
	<link>http://padovan.org/blog/2010/07/l2cap-enhanced-retransmission-mode-getting-stable/</link>
	<description>&lt;p&gt;After more than 4 months working daily at ERTM, here at ProFUSION, we have now a functional and much more stable implementation. Several potential crashes have been fixed, and missing features were added. Also the code was checked against the Profile Tuning Suite(PTS) test software. That software is the official test software from Bluetooth SIG to qualify Bluetooth stacks and the result is that right now we are also passing all PTS tests.&lt;/p&gt;
&lt;p&gt;On the bug fixes front, beside the kernel crash fixes, a lot of ERTM behavior bugs have been found and fixed. Some of them made ERTM flow crazy, but we have been able to discover and fix them all. Obviously there might be other bugs in the code, but I haven&amp;#8217;t found them yet. ;)&lt;/p&gt;
&lt;p&gt;New code added: All missing events and actions from the ERTM spec were implemented, they should be working properly now. Among them we have the Local Busy handling, Invalid Frame detection, etc.&lt;/p&gt;
&lt;p&gt;The PTS software helped a lot with the ERTM development, I&amp;#8217;m sure that we are much more compatible with others stacks now after fixing L2CAP to pass all tests for Enhanced Retransmission Mode, Streaming Mode and FCS.&lt;/p&gt;
&lt;p&gt;Now I&amp;#8217;m aiming at make the code base even more stable looking on the mainlining of this new part of the L2CAP code inside the Linux stack.  All the code should be available and enabled by default on the 2.6.36 release. If you wanna help testing use the for-next branch of my git tree:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-testing.git&quot; target=&quot;_blank&quot;&gt;http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-testing.git&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;</description>
	<pubDate>Thu, 15 Jul 2010 23:47:26 +0000</pubDate>
</item>

</channel>
</rss>
