<?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>a.rnaud</title>
	<atom:link href="http://www.a.rnaud.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.a.rnaud.net</link>
	<description>un ilôt de texte</description>
	<lastBuildDate>Tue, 20 Mar 2012 15:46:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Day One</title>
		<link>http://www.a.rnaud.net/2012/03/day-one/</link>
		<comments>http://www.a.rnaud.net/2012/03/day-one/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 15:46:20 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[My Stuff]]></category>
		<category><![CDATA[Quelques lignes]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1659</guid>
		<description><![CDATA[3 repas dans l&#8217;avion, 3 blocages à la douane, 5 passages de checkpoints et un joli scanner corporel. 5 films d&#8217;Adam Sandler, 1 ticket pour Mission et un unlimited plan. 10 annonces cragislist, 1 premier connard, un petit budget. 500m² de locaux incroyables, 2 iced-teas maison, et une pizza chicken parmigiana épinards. Nous venons d&#8217;arriver [...]]]></description>
			<content:encoded><![CDATA[<p>3 repas dans l&#8217;avion, 3 blocages à la douane, 5 passages de checkpoints et un joli scanner corporel.<br />
5 films d&#8217;Adam Sandler, 1 ticket pour Mission et un unlimited plan.<br />
10 annonces cragislist, 1 premier connard, un petit budget.<br />
500m² de locaux incroyables, 2 iced-teas maison, et une pizza chicken parmigiana épinards.</p>
<p>Nous venons d&#8217;arriver à San Francisco.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2012/03/day-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Un sourire</title>
		<link>http://www.a.rnaud.net/2011/11/un-sourire/</link>
		<comments>http://www.a.rnaud.net/2011/11/un-sourire/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 17:22:05 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[My Stuff]]></category>
		<category><![CDATA[Quelques lignes]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1646</guid>
		<description><![CDATA[Garlone, en temps de crise je reviens au problème initial. J&#8217;ai toujours été la montagne, la béquille hivernale. Une réponse contient un absolu, un mensonge qui rassure, Donc je distille à qui veut l&#8217;entendre des histoires bleu azur. Garlone, par méprise je me suis enfermé dans une vie diététique. Je manque d&#8217;empathie, j&#8217;apréhende la vie [...]]]></description>
			<content:encoded><![CDATA[<p>Garlone, en temps de crise je reviens au problème initial.<br />
J&#8217;ai toujours été la montagne, la béquille hivernale.<br />
Une réponse contient un absolu, un mensonge qui rassure,<br />
Donc je distille à qui veut l&#8217;entendre des histoires bleu azur.</p>
<p>Garlone, par méprise je me suis enfermé dans une vie diététique.<br />
Je manque d&#8217;empathie, j&#8217;apréhende la vie comme un problème mathématique.<br />
Pour trouver la vérité, je dois clarifier les prémisces,<br />
Je range dans des cases le méritant, le dérisoire, la bonté et le vice.</p>
<p>Garlone en temps de brise partons ensemble à l&#8217;aventure.<br />
A mettre la vie en équation j&#8217;ai fait quelques ratures.<br />
Tes mots ont gommé ce qui chez moi allait de travers.<br />
Je n&#8217;ai plus rien d&#8217;amer au coté de cette fille particulière.</p>
<p>Garlone nous ne sommes pas la reprise d&#8217;une histoire antérieure.<br />
Nous sommes la promesse de quelque chose de beau et de meilleur.<br />
A portée de main réside une boule de bonheur, je te la dois,<br />
Voila pourquoi je souris lorsque mes yeux se posent sur toi.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/11/un-sourire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix &#171;&#160;invalid byte sequence in US-ASCII&#160;&#187; in bundler installation</title>
		<link>http://www.a.rnaud.net/2011/10/how-to-fix-invalid-byte-sequence-in-us-ascii-in-bundler-installation/</link>
		<comments>http://www.a.rnaud.net/2011/10/how-to-fix-invalid-byte-sequence-in-us-ascii-in-bundler-installation/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 09:27:37 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[My Stuff]]></category>
		<category><![CDATA[Projets]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1643</guid>
		<description><![CDATA[When trying to push to Heroku I came accross this nasty bug : Basically it is saying that one of the Gemspec of one of my gems in containing UTF8 characters and so the slug compilation can&#8217;t go forward. Even by adding LANG = &#171;&#160;en_US.UTF-8&#8243; to the heroku config vars. What did the trick was [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to push to Heroku I came accross this nasty bug : </p>
<pre class="brush: ruby; title: ; notranslate">
   /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/specification.rb:519:in `normalize_yaml_input': invalid byte sequence in US-ASCII (ArgumentError)
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/specification.rb:479:in `from_yaml'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_input.rb:183:in `load_gemspec'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_input.rb:51:in `block in initialize'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:64:in `block in each'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:55:in `loop'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:55:in `each'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_input.rb:32:in `initialize'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_input.rb:17:in `new'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package/tar_input.rb:17:in `open'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/package.rb:58:in `open'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/format.rb:63:in `from_io'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/format.rb:51:in `block in from_file_by_path'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/open-uri.rb:35:in `open'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/open-uri.rb:35:in `open'
    from /usr/ruby1.9.2/lib/ruby/1.9.1/rubygems/format.rb:50:in `from_file_by_path'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/source.rb:72:in `fetch'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/installer.rb:45:in `block in run'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `block in each'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/installer.rb:44:in `run'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/installer.rb:8:in `install'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/cli.rb:225:in `install'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor/task.rb:22:in `run'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor.rb:246:in `dispatch'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor/base.rb:389:in `start'
    from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/bin/bundle:13:in `&lt;top (required)&gt;'
    from /usr/ruby1.9.2/bin/bundle:19:in `load'
    from /usr/ruby1.9.2/bin/bundle:19:in `&lt;main&gt;'
</pre>
<p>Basically it is saying that one of the Gemspec of one of my gems in containing UTF8 characters and so the slug compilation can&#8217;t go forward. Even by adding LANG = &laquo;&nbsp;en_US.UTF-8&#8243; to the heroku config vars.</p>
<p>What did the trick was to add these two lines to the Gemfile : </p>
<pre class="brush: ruby; title: ; notranslate">LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;</pre>
<p>I didn&#8217;t know that a Gemfile could contain ruby code and get evaluated, there you go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/10/how-to-fix-invalid-byte-sequence-in-us-ascii-in-bundler-installation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Serializeable with rails, real world use.</title>
		<link>http://www.a.rnaud.net/2011/09/serializeable-with-rails-real-world-use/</link>
		<comments>http://www.a.rnaud.net/2011/09/serializeable-with-rails-real-world-use/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 13:46:58 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[My Stuff]]></category>
		<category><![CDATA[Projets]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1639</guid>
		<description><![CDATA[I&#8217;ve been using the serialize extension from greg moreno for a few weeks now. But I&#8217;ve always been thrown of by the way the initialization of values is done. Let&#8217;s say I create a User model with a :settings hash, containing :notify_mail => true as a default value. All the new created users are going [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the <a href="http://gregmoreno.ca/preventing-model-explosion-via-rails-serialization/">serialize extension</a> from greg moreno for a few weeks now. But I&#8217;ve always been thrown of by the way the initialization of values is done. </p>
<p>Let&#8217;s say I create a User model with a :settings hash, containing :notify_mail => true as a default value. All the new created users are going to have the notify_mail value set. Now if I had another attr say :invites_count => 10. All users created afterwards are going to inherit from the two attributes, but what about all the previously created users ? They are still stuck with the only one attribute.</p>
<p>Since I didn&#8217;t want to have to refresh all the values for everyone every time I added another attribute to the :settings Hash, I modified the AttributeSerializer to make the setter return the default value if nothing is set.</p>
<p>Here is the gist :<br />
<script src="https://gist.github.com/1209590.js?file=attribute_serializer.rb"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/09/serializeable-with-rails-real-world-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shooting Sarah</title>
		<link>http://www.a.rnaud.net/2011/08/shooting-sarah/</link>
		<comments>http://www.a.rnaud.net/2011/08/shooting-sarah/#comments</comments>
		<pubDate>Sun, 21 Aug 2011 01:12:29 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/2011/08/shooting-sarah/</guid>
		<description><![CDATA[Shooting Sarah, a set on Flickr. Un samedi aprem avec Sarah.]]></description>
			<content:encoded><![CDATA[<div style="padding: 0; overflow: hidden; margin: 0; width: 500px;"><a style="text-decoration: none;" title="IMG_1749" href="http://www.flickr.com/photos/cetras/6063884846/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6067/6063884846_c72d94e97f_s.jpg" alt="IMG_1749" /></a><a style="text-decoration: none;" title="IMG_1533" href="http://www.flickr.com/photos/cetras/6063322453/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6088/6063322453_d89ae55a86_s.jpg" alt="IMG_1533" /></a><a style="text-decoration: none;" title="IMG_1546" href="http://www.flickr.com/photos/cetras/6063323681/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6063/6063323681_146854c69d_s.jpg" alt="IMG_1546" /></a><a style="text-decoration: none;" title="IMG_1555" href="http://www.flickr.com/photos/cetras/6063872662/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6079/6063872662_22d2d42c73_s.jpg" alt="IMG_1555" /></a><a style="text-decoration: none;" title="IMG_1578" href="http://www.flickr.com/photos/cetras/6063873810/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6068/6063873810_7bb09b5553_s.jpg" alt="IMG_1578" /></a><a style="text-decoration: none;" title="IMG_1583" href="http://www.flickr.com/photos/cetras/6063875098/in/set-72157627479937388/"><img style="padding: 0 0 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6202/6063875098_3350d464fc_s.jpg" alt="IMG_1583" /></a><br clear="all" /><a style="text-decoration: none;" title="IMG_1587" href="http://www.flickr.com/photos/cetras/6063876354/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6192/6063876354_bc55c9af80_s.jpg" alt="IMG_1587" /></a><a style="text-decoration: none;" title="IMG_1668" href="http://www.flickr.com/photos/cetras/6063329537/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6088/6063329537_0e59d2da5c_s.jpg" alt="IMG_1668" /></a><a style="text-decoration: none;" title="IMG_1672 copie" href="http://www.flickr.com/photos/cetras/6063880176/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6189/6063880176_6fbfed0931_s.jpg" alt="IMG_1672 copie" /></a><a style="text-decoration: none;" title="IMG_1678" href="http://www.flickr.com/photos/cetras/6063883638/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6070/6063883638_2425fce457_s.jpg" alt="IMG_1678" /></a><a style="text-decoration: none;" title="IMG_1765 copie" href="http://www.flickr.com/photos/cetras/6063338603/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6209/6063338603_df5bd2fa41_s.jpg" alt="IMG_1765 copie" /></a><a style="text-decoration: none;" title="IMG_1858" href="http://www.flickr.com/photos/cetras/6063339709/in/set-72157627479937388/"><img style="padding: 0 0 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6201/6063339709_1410ff62f5_s.jpg" alt="IMG_1858" /></a><br clear="all" /><a style="text-decoration: none;" title="IMG_1864" href="http://www.flickr.com/photos/cetras/6063341271/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6202/6063341271_d61a8b2d26_s.jpg" alt="IMG_1864" /></a><a style="text-decoration: none;" title="IMG_1907" href="http://www.flickr.com/photos/cetras/6063890456/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6079/6063890456_7747fe0b35_s.jpg" alt="IMG_1907" /></a><a style="text-decoration: none;" title="IMG_1952" href="http://www.flickr.com/photos/cetras/6063891954/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6189/6063891954_90e9a315b2_s.jpg" alt="IMG_1952" /></a><a style="text-decoration: none;" title="IMG_1973" href="http://www.flickr.com/photos/cetras/6063345527/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6191/6063345527_7c65ba215c_s.jpg" alt="IMG_1973" /></a><a style="text-decoration: none;" title="IMG_2013" href="http://www.flickr.com/photos/cetras/6063894714/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6078/6063894714_06e261403a_s.jpg" alt="IMG_2013" /></a><a style="text-decoration: none;" title="IMG_2021" href="http://www.flickr.com/photos/cetras/6063348637/in/set-72157627479937388/"><img style="padding: 0 0 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6199/6063348637_41d603479b_s.jpg" alt="IMG_2021" /></a><br clear="all" /><a style="text-decoration: none;" title="IMG_2025" href="http://www.flickr.com/photos/cetras/6063350311/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6083/6063350311_c128e6db75_s.jpg" alt="IMG_2025" /></a><a style="text-decoration: none;" title="IMG_2028" href="http://www.flickr.com/photos/cetras/6063351679/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6184/6063351679_39b35081f8_s.jpg" alt="IMG_2028" /></a><a style="text-decoration: none;" title="IMG_2031" href="http://www.flickr.com/photos/cetras/6063353479/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6181/6063353479_624e2d28f7_s.jpg" alt="IMG_2031" /></a><a style="text-decoration: none;" title="IMG_2036" href="http://www.flickr.com/photos/cetras/6063902658/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6072/6063902658_50ca1115fd_s.jpg" alt="IMG_2036" /></a><a style="text-decoration: none;" title="IMG_2042" href="http://www.flickr.com/photos/cetras/6063904008/in/set-72157627479937388/"><img style="padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6083/6063904008_cd0e4958d7_s.jpg" alt="IMG_2042" /></a><a style="text-decoration: none;" title="IMG_2046" href="http://www.flickr.com/photos/cetras/6063905378/in/set-72157627479937388/"><img style="padding: 0 0 10px 0; width: 75px; height: 75px; float: left;" src="http://farm7.static.flickr.com/6200/6063905378_0fce0a4535_s.jpg" alt="IMG_2046" /></a></div>
<div style="font-size: 0.8em; margin-top: 0px; margin-bottom: 5px;">
<p><a href="http://www.flickr.com/photos/cetras/sets/72157627479937388/">Shooting Sarah</a>, a set on Flickr.</p>
</div>
<p>Un samedi aprem avec Sarah.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/08/shooting-sarah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android GridView, CursorAdapter and Imageview sizing.</title>
		<link>http://www.a.rnaud.net/2011/05/android-gridview-cursoradapter-and-imageview-sizing/</link>
		<comments>http://www.a.rnaud.net/2011/05/android-gridview-cursoradapter-and-imageview-sizing/#comments</comments>
		<pubDate>Sun, 08 May 2011 17:52:10 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[My Stuff]]></category>
		<category><![CDATA[Projets]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1625</guid>
		<description><![CDATA[Alright, a geeky post for today, and in English so it might be useful to someone, maybe. I had a problem with my GridView content jumping around, and here is how I fixed it : Basically you need to set the layout params in the newView, and not in the bindView, otherwise the previous content [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, a geeky post for today, and in English so it might be useful to someone, maybe.</p>
<p>I had a problem with my GridView content jumping around, and here is how I fixed it :</p>
<pre class="brush: java; title: ; notranslate">
public class PhotosGridAdapter extends CursorAdapter {

	public PhotosGridAdapter(Context context, Cursor c) {
		super(context, c);
	}

	@Override
	public void bindView(View view, Context context, Cursor cursor) {

		ImageView photo = (ImageView) view;
        String url_medium = cursor.getString(cursor.getColumnIndex(KarmaDbAdapter.PHOTO_URL_MEDIUM));
        ImageCache.download(url_medium, photo);

	}

	@Override
	public View newView(Context context, Cursor cursor, ViewGroup parent) {
		ImageView v = new ImageView(context);
		v.setLayoutParams(new GridView.LayoutParams(100, 100));
		v.setScaleType(ImageView.ScaleType.FIT_CENTER);
		bindView(v, context, cursor);
		return v;
	}
}
</pre>
<p>Basically you need to set the layout params in the newView, and not in the bindView, otherwise the previous content get shrank down.</p>
<p>There you go, I&#8217;m going back to my nexus.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/05/android-gridview-cursoradapter-and-imageview-sizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gainsbourg draft</title>
		<link>http://www.a.rnaud.net/2011/03/gainsbourg-draft/</link>
		<comments>http://www.a.rnaud.net/2011/03/gainsbourg-draft/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 20:36:55 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[J'aime]]></category>
		<category><![CDATA[Vidéos]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1613</guid>
		<description><![CDATA[et la suite]]></description>
			<content:encoded><![CDATA[<p><iframe title="YouTube video player" width="425" height="349" src="http://www.youtube.com/embed/l4tNWxa7F_U?rel=0" frameborder="0" ></iframe><br />
et <a href="http://www.youtube.com/watch?v=fXaKPp747lk">la suite</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/03/gainsbourg-draft/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kubrick on Life</title>
		<link>http://www.a.rnaud.net/2011/02/kubrick-on-life/</link>
		<comments>http://www.a.rnaud.net/2011/02/kubrick-on-life/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 00:12:47 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[J'aime]]></category>
		<category><![CDATA[Textes]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1606</guid>
		<description><![CDATA[Playboy: If life is so purposeless, do you feel its worth living? Kubrick: Yes, for those who manage somehow to cope with our mortality. The very meaninglessness of life forces a man to create his own meaning. Children, of course, begin life with an untarnished sense of wonder, a capacity to experience total joy at [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Playboy:</strong> If life is so purposeless, do you feel its worth living? </em></p>
<p><strong>Kubrick:</strong> Yes, for those who manage somehow to cope with our mortality. The very meaninglessness of life forces a man to create his own meaning. Children, of course, begin life with an untarnished sense of wonder, a capacity to experience total joy at something as simple as the greenness of a leaf; but as they grow older, the awareness of death and decay begins to impinge on their consciousness and subtly erode their joie de vivre (a keen enjoyment of living), their idealism &#8211; and their assumption of immortality. </p>
<p>As a child matures, he sees death and pain everywhere about him, and begins to lose faith in the ultimate goodness of man. But if he’s reasonably strong &#8211; and lucky &#8211; he can emerge from this twilight of the soul into a rebirth of life’s élan (enthusiastic and assured vigour and liveliness). </p>
<p>Both because of and in spite of his awareness of the meaninglessness of life, he can forge a fresh sense of purpose and affirmation. He may not recapture the same pure sense of wonder he was born with, but he can shape something far more enduring and sustaining. </p>
<p>The most terrifying fact about the universe is not that it is hostile but that it is indifferent; but if we can come to terms with this indifference and accept the challenges of life within the boundaries of death &#8211; however mutable man may be able to make them &#8211; our existence as a species can have genuine meaning and fulfilment. However vast the darkness, we must supply our own light.</p>
<p>— Stanley Kubrick in interview for Playboy, Stanley Kubrick Interviews, University Press of Mississippi, 2001, p.73<br />
trouvé <a href="http://ellga.tumblr.com/post/3188447903">chez Ellga</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/02/kubrick-on-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Games vs. Real Life</title>
		<link>http://www.a.rnaud.net/2011/01/games-vs-real-life/</link>
		<comments>http://www.a.rnaud.net/2011/01/games-vs-real-life/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 13:51:15 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[J'aime]]></category>
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1599</guid>
		<description><![CDATA[source]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.a.rnaud.net/wp-content/uploads/2011/01/link.jpg"><img src="http://www.a.rnaud.net/wp-content/uploads/2011/01/link.jpg" alt="" title="link" width="500" height="500" class="alignnone size-full wp-image-1600" /></a><br />
<a href="http://www.a.rnaud.net/wp-content/uploads/2011/01/street-fighter.jpg"><img src="http://www.a.rnaud.net/wp-content/uploads/2011/01/street-fighter.jpg" alt="" title="street-fighter" width="500" height="500" class="alignnone size-full wp-image-1602" /></a><br />
<a href="http://www.a.rnaud.net/wp-content/uploads/2011/01/fighters.jpg"><img src="http://www.a.rnaud.net/wp-content/uploads/2011/01/fighters.jpg" alt="" title="fighters" width="500" height="500" class="alignnone size-full wp-image-1601" /></a></p>
<p><a href="http://www.flickr.com/photos/35699504@N00/sets/72157625718212273/with/5362205242/">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/01/games-vs-real-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ricky Gervais, Golden Globes openning monologue</title>
		<link>http://www.a.rnaud.net/2011/01/ricky-gervais-golden-globes-openning-monologue/</link>
		<comments>http://www.a.rnaud.net/2011/01/ricky-gervais-golden-globes-openning-monologue/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 09:47:20 +0000</pubDate>
		<dc:creator>Arnaud</dc:creator>
				<category><![CDATA[J'aime]]></category>
		<category><![CDATA[Vidéos]]></category>

		<guid isPermaLink="false">http://www.a.rnaud.net/?p=1593</guid>
		<description><![CDATA[Les dents grincent, j&#8217;adore ce mec.]]></description>
			<content:encoded><![CDATA[<p>Les dents grincent, j&#8217;adore ce mec.</p>
<p><object type="application/x-shockwave-flash" style="width:640px; height:385px;" data="http://www.youtube.com/v/BvHXzP2SpLA"><param name="movie" value="http://www.youtube.com/v/BvHXzP2SpLA" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.a.rnaud.net/2011/01/ricky-gervais-golden-globes-openning-monologue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

