<?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>Silveira Neto &#187; english</title>
	<atom:link href="http://silveiraneto.net/category/english/feed/" rel="self" type="application/rss+xml" />
	<link>http://silveiraneto.net</link>
	<description>the world is a pixel</description>
	<lastBuildDate>Sun, 08 Jan 2012 05:17:57 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>1</title>
		<link>http://silveiraneto.net/2012/01/08/1/</link>
		<comments>http://silveiraneto.net/2012/01/08/1/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 05:17:57 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[1 year]]></category>
		<category><![CDATA[Pixelart]]></category>
		<category><![CDATA[Silveira]]></category>
		<category><![CDATA[suyane]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=4018</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-4019" title="1 ano" src="http://silveiraneto.net/wp-content/uploads/2012/01/1ano.png" alt="" width="592" height="1400" /></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2012/01/08/1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merry Christmas</title>
		<link>http://silveiraneto.net/2011/12/21/merry-christmas/</link>
		<comments>http://silveiraneto.net/2011/12/21/merry-christmas/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 00:43:03 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Henrique]]></category>
		<category><![CDATA[Jivago]]></category>
		<category><![CDATA[Lucas]]></category>
		<category><![CDATA[natal]]></category>
		<category><![CDATA[serious]]></category>
		<category><![CDATA[Silveira]]></category>
		<category><![CDATA[xmas]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=4014</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://silveiraneto.net/wp-content/uploads/2011/12/411809_10150534650452792_569142791_10526874_1267184287_o.jpg"><img class="alignnone size-medium wp-image-4015" title="a serious Merry Christmas " src="http://silveiraneto.net/wp-content/uploads/2011/12/411809_10150534650452792_569142791_10526874_1267184287_o-500x345.jpg" alt="" width="500" height="345" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/12/21/merry-christmas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# class properties example</title>
		<link>http://silveiraneto.net/2011/12/15/c-class-properties-example/</link>
		<comments>http://silveiraneto.net/2011/12/15/c-class-properties-example/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 15:26:31 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[C-Sharp]]></category>
		<category><![CDATA[celsius]]></category>
		<category><![CDATA[fahrenheit]]></category>
		<category><![CDATA[kelvin]]></category>
		<category><![CDATA[temperature]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=4000</guid>
		<description><![CDATA[A example of use of C# class properties to convert temperatures in Celsius, Fahrenheit or Kelvin. The temperature is encapsulated and stored in a internal representation, in this example, in Celcius (private double c). Each conversion is accessible by getting or setting a property. using System; &#160; public class Temperature &#123; private double c; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>A example of use of C# class properties to convert temperatures in Celsius, Fahrenheit or Kelvin. The temperature is encapsulated and stored in a internal representation, in this example, in Celcius (private double c). Each conversion is accessible by getting or setting a property.</p>
<div class="wp_syntax">
<div class="code">
<pre class="csharp csharp" style="font-family:monospace;"><span style="color: #0600FF;">using</span> <span style="color: #008080;">System</span>;
&nbsp;
<span style="color: #0600FF;">public</span> <span style="color: #FF0000;">class</span> Temperature <span style="color: #000000;">&#123;</span>
	<span style="color: #0600FF;">private</span> <span style="color: #FF0000;">double</span> c;
&nbsp;
	<span style="color: #0600FF;">public</span> <span style="color: #FF0000;">double</span> celsius <span style="color: #000000;">&#123;</span>
		get <span style="color: #000000;">&#123;</span>
			<span style="color: #0600FF;">return</span> c;
		<span style="color: #000000;">&#125;</span>
		set <span style="color: #000000;">&#123;</span>
			c <span style="color: #008000;">=</span> value;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
&nbsp;
	<span style="color: #0600FF;">public</span> <span style="color: #FF0000;">double</span> fahrenheit <span style="color: #000000;">&#123;</span>
		get <span style="color: #000000;">&#123;</span>
			<span style="color: #0600FF;">return</span> <span style="color: #000000;">&#40;</span>c <span style="color: #008000;">*</span> <span style="color: #FF0000;">9</span> <span style="color: #008000;">/</span> <span style="color: #FF0000;">5</span><span style="color: #000000;">&#41;</span> <span style="color: #008000;">+</span> <span style="color: #FF0000;">32</span>;
		<span style="color: #000000;">&#125;</span>
		set <span style="color: #000000;">&#123;</span>
			c <span style="color: #008000;">=</span> <span style="color: #000000;">&#40;</span>value <span style="color: #008000;">-</span> <span style="color: #FF0000;">32</span><span style="color: #000000;">&#41;</span> <span style="color: #008000;">*</span> <span style="color: #FF0000;">5</span> <span style="color: #008000;">/</span> <span style="color: #FF0000;">9</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
&nbsp;
	<span style="color: #0600FF;">public</span> <span style="color: #FF0000;">double</span> kelvin <span style="color: #000000;">&#123;</span>
		get <span style="color: #000000;">&#123;</span>
			<span style="color: #0600FF;">return</span> c <span style="color: #008000;">+</span> <span style="color: #FF0000;">273.15</span>;
		<span style="color: #000000;">&#125;</span>
		set <span style="color: #000000;">&#123;</span>
			c <span style="color: #008000;">=</span> value <span style="color: #008000;">-</span> <span style="color: #FF0000;">273.15</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0600FF;">public</span> <span style="color: #FF0000;">class</span> TemperatureExample <span style="color: #000000;">&#123;</span>
	<span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> Main<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> args<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
		Temperature fortaleza <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Temperature<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		fortaleza.<span style="color: #0000FF;">celsius</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">26</span>;
&nbsp;
		Temperature washington <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Temperature<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		washington.<span style="color: #0000FF;">fahrenheit</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">32</span>;
&nbsp;
		Temperature sun <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Temperature<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		sun.<span style="color: #0000FF;">kelvin</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">5778</span>;
&nbsp;
		Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Fortaleza {0}°C / {1}°F / {2} K&quot;</span>,
			fortaleza.<span style="color: #0000FF;">celsius</span>, fortaleza.<span style="color: #0000FF;">fahrenheit</span>, fortaleza.<span style="color: #0000FF;">kelvin</span><span style="color: #000000;">&#41;</span>;
		Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Washington {0}°C / {1}°F / {2} K&quot;</span>,
			washington.<span style="color: #0000FF;">celsius</span>, washington.<span style="color: #0000FF;">fahrenheit</span>, washington.<span style="color: #0000FF;">kelvin</span><span style="color: #000000;">&#41;</span>;
		Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Sun {0}°C / {1}°F / {2} K&quot;</span>,
			sun.<span style="color: #0000FF;">celsius</span>, sun.<span style="color: #0000FF;">fahrenheit</span>, sun.<span style="color: #0000FF;">kelvin</span><span style="color: #000000;">&#41;</span>;
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre>
</div>
</div>
<p>Output:</p>
<pre>Fortaleza 26°C / 78.8°F / 299.15 K
Washington 0°C / 32°F / 273.15 K
Sun 5504.85°C / 9940.73°F / 5778 K
</pre>
<p>There is some good examples of C# class properties at <a href="http://msdn.microsoft.com/en-us/library/w86s7x04.aspx">Using Properties (C# Programming Guide) at MSDN</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/12/15/c-class-properties-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Halloween Costume 2011</title>
		<link>http://silveiraneto.net/2011/10/29/halloween-costume-2011/</link>
		<comments>http://silveiraneto.net/2011/10/29/halloween-costume-2011/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 21:04:46 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[costume]]></category>
		<category><![CDATA[gas mask]]></category>
		<category><![CDATA[halloween]]></category>
		<category><![CDATA[October]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3973</guid>
		<description><![CDATA[And again, this year people got more scared than I was expecting. It looks like Sandman (Wesley Dodds) or Spy vs. Spy. My idea was get some stuff from wardrobe and spend a little on a special item that after the Halloween would not be completely useless. :) The costume items: A classic trench coat from Men&#8217;s Wearhouse (actually [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://silveiraneto.net/wp-content/uploads/2011/10/fantasia_halloween_2011.jpg"><img class="alignnone size-full wp-image-3975" src="http://silveiraneto.net/wp-content/uploads/2011/10/fantasia_halloween_2011_thumb.jpg" alt="" width="600" height="589" /></a></p>
<p><a href="http://silveiraneto.net/wp-content/uploads/2011/10/fantasia_halloween_20111.jpg"><img class="alignnone size-full wp-image-3980" title="fantasia halloween 2011 gas mask" src="http://silveiraneto.net/wp-content/uploads/2011/10/02_fantasia_halloween_2011_thumb.jpg" alt="" width="600" height="715" /></a></p>
<p>And again, this year people got more scared than I was expecting. It looks like <a href="http://en.wikipedia.org/wiki/Sandman_%28Wesley_Dodds%29">Sandman (Wesley Dodds)</a> or <a href="http://en.wikipedia.org/wiki/Spy_vs._Spy">Spy vs. Spy</a>.</p>
<p>My idea was get some stuff from wardrobe and spend a little on a special item that after the Halloween would not be completely useless. :)</p>
<p>The costume items:</p>
<ul>
<li>A <a href="http://www.menswearhouse.com/webapp/wcs/stores/servlet/ProductDisplay_10051_10051_10601_149223_-1__TAN%20SOLID_10051_?cm_vc=10051">classic trench coat from Men&#8217;s Wearhouse</a> (actually is a great coat for rain, cold weather or snow, water resistant and it has an inner layer removable when not so cold. It is a kinda common coat in DC).</li>
<li>A gray fedora hat from Filene&#8217;s Basement. It was not really matching but worked.</li>
<li>Black leather gloves from last winter.</li>
<li>Snow boots from my hiking in Colorado last year.</li>
<li>An <a href="http://www.amazon.com/gp/product/B0002XJ2OU/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;tag=eupotama-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399369&amp;creativeASIN=B0002XJ2OU">Israeli Civilian Gas Mask</a>. The only thing I had to buy. From the product description:<br />
<blockquote><p>This is the gas mask issued to Israeli civilians when threatened with chemical attack by Saddam&#8217;s Iraq. It has full NBC (neuclear, biological, chemical) protection, and comes with one sealed filter.</p></blockquote>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/10/29/halloween-costume-2011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Silicon Alley 500</title>
		<link>http://silveiraneto.net/2011/10/17/silicon-alley-500/</link>
		<comments>http://silveiraneto.net/2011/10/17/silicon-alley-500/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 03:03:47 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[New York Stock Exchange]]></category>
		<category><![CDATA[SA500]]></category>
		<category><![CDATA[Silicon Alley 500]]></category>
		<category><![CDATA[Wall Street]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3951</guid>
		<description><![CDATA[I was friday night and I received an invitation to the SA500 in New York. I think I read about the event on Twitter and I filled the forms. &#8220;Well, I have no plans for this Saturdays&#8230; I could go to New York take a look on the protests in Wall Street and go to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-3952 aligncenter" title="P1060223" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060223-500x375.jpg" alt="" width="500" height="375" /></p>
<p>I was friday night and I received an invitation to the <a href="http://www.nextjump.com/sa500">SA500</a> in New York. I think I read about the event on Twitter and I filled the forms. &#8220;Well, I have no plans for this Saturdays&#8230; I could go to New York take a look on the protests in Wall Street and go to this SA500 and maybe meet some developers from the companies I love&#8221;. So I took the first flight I could and left Washington DC.</p>
<p>One thing that I didn&#8217;t initially realize was that the event has going to be held inside the New York Stock Exchange in Wall Street. The same day a global protest was erupting from the Liberty Square in Manhattan&#8217;s financial district at the Occupy Wall Street camping. The city was in turmoil. Paradoxically (or not), in the center of all this a group of <a title="full list" href="http://www.nextjump.com/sa500/leaders">50 selected creative startups</a> and 500 students and IT graduates were gathering to know more about each other.</p>
<p>I could talk with several CEOs and developers and here are some impressions I had.</p>
<p style="text-align: center;"><img class="size-medium wp-image-3956 aligncenter" title="NYSE" src="http://silveiraneto.net/wp-content/uploads/2011/10/P10602601-500x375.jpg" alt="" width="500" height="375" /></p>
<p><strong>Language agnostic environment</strong></p>
<p>Almost all companies I talked have a very plural and multicultural language agnostic environment. When you have a problem that can be better solved in Ruby, you do it in Ruby. When you have a problem better solved in Java, you do it in Java, and so on. The efforts to integrate different technologies are by far eclipsed with the benefits of having a broad range of solutions. It is the good and old  &#8221;don&#8217;t put all one&#8217;s eggs in one basket&#8221; that sometimes companies try to forget.</p>
<p>Of course that not all companies uses all languages available but the normal I could see was about 3 or 4 languages platforms in every company.</p>
<p style="text-align: center;"><img class="size-medium wp-image-3957 aligncenter" title="NYSE" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060264-500x375.jpg" alt="" width="500" height="375" /></p>
<p><strong>Python Rocks</strong></p>
<p>If you look into my blog maybe you realize that despite I program in some languages I have a favorite. At SA500 I saw that Python is much more stronger in the startups than I could imagine. The majority of companies use some Python on the front-end or back-end and a lot of them use Django.</p>
<p>For a while I thought that Python did not have a good market share for me in the market I&#8217;m looking for but I saw that I was fortunately wrong.</p>
<p style="text-align: center;"><strong><img class="size-medium wp-image-3960 aligncenter" title="NYSE NY SA500" src="http://silveiraneto.net/wp-content/uploads/2011/10/P10602302-500x375.jpg" alt="" width="500" height="375" /></strong></p>
<p><strong><strong>Small is Bigger</strong></strong></p>
<p>Looking some of the products that those companies created you may think that there is a huge development team working on them. Actually, no.</p>
<p>Mostly of the companies have a small team of motivated engineers with the right methodologies and tools in hands. Most of those companies have from 5 to 15 developers only. Is not rate to the CEO himself be also a developer, developed the initial product and still be coding.</p>
<p style="text-align: center;"><img class="size-medium wp-image-3961 aligncenter" title="NYSE SA500" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060241-500x375.jpg" alt="" width="500" height="375" /></p>
<p><strong>Context Aware Content</strong></p>
<p>Many of the products from the 50 startups at the SA500 were  context aware applications. They gather information about the user preferences and geolocation to delivery a more specific and rich content to the user. For example, knowing that the user is in a restaurant and it is a sunny day show him that there is an event in a park one block from there. And it is not just about geolocation, many of those applications even when without an user profile can retrieve meaningful content based on his last searches or browsing.</p>
<p>It is not a new idea but now with more powerful smartphones is much more applicable one. Despite been a very simple concept it is full of challenges and possibilities.</p>
<p style="text-align: center;"><img class="size-medium wp-image-3963 aligncenter" title="NYSE SA500" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060226-500x375.jpg" alt="" width="500" height="375" /></p>
<p><strong>The &#8220;Netflix business model&#8221;</strong></p>
<p>Rent something through a powerful yet simple web interface, quickly delivered in your door. At <a title="Rent a dress" href="http://renttherunway.com">Renttherunway.com</a> you can rent luxury designer dresses! At <a href="http://www.artsicle.com/">Artsicle.com</a> you can rent pieces of art!</p>
<p>I can see this &#8220;Netflix&#8221; model been expanded and mixed  with so many others.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/GiGi7CdOlb4?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://www.youtube.com/v/GiGi7CdOlb4?version=3&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>Through the Open Source. To the Open Source</strong></p>
<p>Of course all those companies use many Open and Free Source. They are <a href="http://en.wikipedia.org/wiki/Lean_Startup">lean</a>. Nowadays this is the commonplace in software development. But also, many of them go beyond and create open source products and  a vibrant community around. Just to cite some examples, <a href="http://www.10gen.com/">10gen</a> create <a href="http://www.mongodb.org/">MongoDB</a>, my favorite NoSQL database and used by a lot of the companies at SA500. <a href="http://www.longtailvideo.com/">Long Tail Video</a> have the <a href="http://www.longtailvideo.com/players/">JW Player</a> that I already used here in the blog and so did so many others.</p>
<p style="text-align: center;"><img class="size-medium wp-image-3966 aligncenter" title="SA500 at NYSE" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060270-500x375.jpg" alt="" width="500" height="375" /></p>
<p><strong>Videos are hot. Ads are hot.</strong></p>
<p>Wow. So many companies working on products related to video or advertisement and sometimes even both. There is a race out there and I wonder what will come out.</p>
<p><img class="size-medium wp-image-3954 aligncenter" title="gifts from Silicon Alley 500" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060347-500x375.jpg" alt="" width="500" height="375" /></p>
<p style="text-align: center;"><strong><br />
</strong></p>
<p><strong>I love gits! </strong></p>
<p>And now I don&#8217;t have to buy new t-shirts for awhile. :3</p>
<p style="text-align: center;"><img class="size-medium wp-image-3967 aligncenter" title="Silveira at SA500 hosted in the NYSE" src="http://silveiraneto.net/wp-content/uploads/2011/10/P1060269-500x375.jpg" alt="" width="500" height="375" /></p>
<p>SA500 was amazing. I could talk with people that created products I love and use everyday as <a title="Venmo" href="http://venmo.com/">Venmo</a> and <a href="www.meetup.com">Meetup</a>. In fact, thank you for all, specially <a href="http://www.nextjump.com/">nextjump.com</a>, for organizing this event.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/10/17/silicon-alley-500/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>my medieval me</title>
		<link>http://silveiraneto.net/2011/10/10/my-medieval-me/</link>
		<comments>http://silveiraneto.net/2011/10/10/my-medieval-me/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 02:57:28 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3943</guid>
		<description><![CDATA[http://silveiraneto.net/downloads/medieval.svg]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-3944" title="eu medieval cartoon" src="http://silveiraneto.net/wp-content/uploads/2011/10/eu_medieval.png" alt="" width="540" height="598" /></p>
<p><a href="http://silveiraneto.net/downloads/medieval.svg">http://silveiraneto.net/downloads/medieval.svg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/10/10/my-medieval-me/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>what I feel when I see someone using JPG when he should be using a PNG</title>
		<link>http://silveiraneto.net/2011/10/09/what-i-feel-when-i-see-someone-using-jpg-when-he-should-be-using-a-png/</link>
		<comments>http://silveiraneto.net/2011/10/09/what-i-feel-when-i-see-someone-using-jpg-when-he-should-be-using-a-png/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 02:04:20 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[capitão nascimento]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3936</guid>
		<description><![CDATA[Seriously, is that hard? To discovery which file type you have to use for your image just follow these simple instructions in following priority order: Have text? Use PNG. Is a piece of art like a draw, a painting or a webcomic? Use PNG. It is&#8230; moving! Use GIF. Is a photo? Use JPG. Is not exactly a photo but [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-3937 aligncenter" title="capitao nascimento tapa na cara" src="http://silveiraneto.net/wp-content/uploads/2011/10/capitao_nascimento_tapa_na_cara.gif" alt="" width="280" height="160" /></p>
<p>Seriously, is that hard?</p>
<p>To discovery which file type you have to use for your image just follow these simple instructions in following priority order:</p>
<ol>
<li>Have text? <strong>Use PNG.</strong></li>
<li>Is a piece of art like a draw, a painting or a webcomic? <strong>Use PNG.</strong></li>
<li>It is&#8230; moving! <strong>Use GIF.</strong></li>
<li>Is a photo? Use <strong>JPG</strong>.</li>
<li>Is not exactly a photo but contains photos (like people. trees and landscapes)? <strong>Use JPG.</strong></li>
<li>Is not a photo, does not contain a photo but I remain concerned about the size of my file despite the breakthrough in telecommunication speeds.<strong> Try PNG with indexed palette and Floyd–Steinberg color dithering.</strong></li>
<li>Nah, man. <strong>Use JPG but with all lower compression or higher quality options you may find.</strong></li>
<li>It&#8217;s nothing listed above! <strong>Sir, your problem is far away from the scope of these instructions.</strong></li>
</ol>
<p>Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/10/09/what-i-feel-when-i-see-someone-using-jpg-when-he-should-be-using-a-png/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Python, flatten a list</title>
		<link>http://silveiraneto.net/2011/10/08/python-flatten-a-list/</link>
		<comments>http://silveiraneto.net/2011/10/08/python-flatten-a-list/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 21:38:07 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[flatten]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3929</guid>
		<description><![CDATA[Surprisingly python doesn&#8217;t have a shortcut for flatten a list (more generally a list of lists of lists of&#8230;). I made a simple implementation that doesn&#8217;t use recursion and tries to be written clearly. I get a element from a &#8220;bad&#8221; list (a list that can have another lists). If the element is not a [...]]]></description>
			<content:encoded><![CDATA[<p>Surprisingly python doesn&#8217;t have a shortcut for flatten a list (more generally a list of lists of lists of&#8230;).</p>
<p>I made a simple implementation that doesn&#8217;t use recursion and tries to be written clearly.</p>
<p><script src="https://gist.github.com/1229108.js?file=flatten"></script></p>
<p>I get a element from a &#8220;bad&#8221; list (a list that can have another lists). If the element is not a list we store in our flat list. If the element is still a list we deal with him later. The flat list always have elements that are not a list.<br />
To preserve the original order we reverse the elements at the end.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/10/08/python-flatten-a-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Fall (2006), Tarsem Singh</title>
		<link>http://silveiraneto.net/2011/10/08/the-fall-2006-tarsem-singh/</link>
		<comments>http://silveiraneto.net/2011/10/08/the-fall-2006-tarsem-singh/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 19:02:45 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[Catinca Untaru]]></category>
		<category><![CDATA[cinema]]></category>
		<category><![CDATA[fantasy]]></category>
		<category><![CDATA[Lee Pace]]></category>
		<category><![CDATA[Tarsem Singh]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3908</guid>
		<description><![CDATA[Cinema is about the ancient art of telling stories. Is about breaking the chains that hold our minds. Entertainment is good but is not good enough. We can do more and we can do better. The Fall (2006), from Tarsem Singh, is a movie that knows this. This is my kind of movie. Roy Walker (Lee Pace) and Alexandria (Catinca Untaru) The [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="The Fall 2006 - screenshot - Chand Baori" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-screenshot-Chand-Baori.png" alt="" width="584" height="308" /></p>
<p>Cinema is about the ancient art of telling stories. Is about breaking the chains that hold our minds. Entertainment is good but is not good enough. We can do more and we can do better. The Fall (2006), from <a title="Tarsem Singh" href="http://en.wikipedia.org/wiki/Tarsem_Singh">Tarsem Singh</a>, is a movie that knows this. This is my kind of movie.</p>
<p style="text-align: center;"><img class="size-full wp-image-3911 aligncenter" title="The Fall 2006 -  Roy Walker (Lee Pace) and Alexandria (Catinca Untaru)" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-Roy-Walker-Lee-Pace-and-Alexandria-Catinca-Untaru.png" alt="" width="584" height="308" /><small>Roy Walker (Lee Pace) and Alexandria (Catinca Untaru)</small></p>
<p>The plot is about Alexandria, a injured girl recovering in the hospital when she meets another patient, Roy Walker, and he tells her fantasy histories. The difference of age between them creates a language gap that is very interesting and well explored in the movie as it uses a lot of symbolism. Going deeper in the language issue some dialogues between them were improvised and had an impact in the original history giving a layer of authenticity to the movie.</p>
<p>In terms of photography, every frame of the movie is a piece of art by itself. Here are some of them:</p>
<p style="text-align: center;"><img class="size-full wp-image-3910 aligncenter" title="The Fall 2006 - tree lake dune" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-tree-lake-dune.png" alt="" width="584" height="308" />﻿This is what I&#8217;m talking about</p>
<p style="text-align: center;"><img class="size-full wp-image-3913 aligncenter" title="The Fall 2006 soliders and flag" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-soliders-and-flag.png" alt="" width="584" height="308" />Faceless evil soldiers.</p>
<p style="text-align: center;"><img class="size-full wp-image-3914 aligncenter" title="The Fall 2006 indian and golden door" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-indian-and-golden-door.png" alt="" width="584" height="308" />Colors and composition.</p>
<p style="text-align: center;"><img class="size-full wp-image-3915 aligncenter" title="The Fall 2006 - elephant swimming" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-elephant-swimming.png" alt="" width="584" height="308" />A perfectly good excuse for filming a elephant swimming.</p>
<p style="text-align: center;"><img class="size-full wp-image-3912 aligncenter" title="The Fall 2006 teeth oranges" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-teeth-oranges.png" alt="" width="584" height="308" />Subtle tribute to Godfather. One of many tributes in the movie.</p>
<p style="text-align: center;"><img class="size-full wp-image-3916 aligncenter" title="The Fall 2006 tribe" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-tribe.png" alt="" width="584" height="308" />This scene reminded me of the Balinese monkey chant from Baraka (1992). Bonus: Avatar (2009) also did it.</p>
<p style="text-align: center;"><img class="size-full wp-image-3912 aligncenter" title="The Fall 2006 stop motion scene" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-stop-motion-scene.png" alt="" width="584" height="308" />A stop motion scene.</p>
<p style="text-align: center;"><img class="size-full wp-image-3912 aligncenter" title="The Fall 2006 hard to do scene" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-hard-to-do-scene.png" alt="" width="584" height="308" />Almost every scene is breathtaking and probably was really hard to film.</p>
<p style="text-align: center;"><img class="size-full wp-image-3923 aligncenter" title="The Fall 2006 city" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-city.png" alt="" width="584" height="308" />Seems that they used &#8230;</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3924" title="The Fall 2006 blue wall" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-blue-wall.png" alt="" width="584" height="308" />&#8230; a lot of blue ink.</p>
<p style="text-align: center;"><img class="size-full wp-image-3925 aligncenter" title="The Fall 2006 scene lake mountains" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-scene-lake-mountains.png" alt="" width="584" height="308" />One of the many amazing scenes that lasted less than 1 second!</p>
<p style="text-align: center;"><img class="size-full wp-image-3926 aligncenter" title="The Fall 2006 wide shot" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-wide-shot.png" alt="" width="584" height="308" />Wide shot.</p>
<p>In summary, it have all the ingredients to make a movie that I love:</p>
<ul>
<li>Amazing photography.</li>
<li>A non-trivial plot. Doesn&#8217;t need to be really complex (though I like complex). In this case was a plot inside the plot.</li>
<li>Language and symbolism.</li>
<li>The struggle for (pick as many as you want): life, identity, purpose, love, and freedom.</li>
<li>Do not underestimate the mind and the imagination,</li>
<li>Good actors, good interpretation and when possible some improvisation.</li>
<li>Subtle references as an icing on the cake.</li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-3922 aligncenter" title="The Fall 2006 Cinema" src="http://silveiraneto.net/wp-content/uploads/2011/10/The-Fall-2006-Cinema.png" alt="" width="584" height="308" />Cinema!</p>
<p>Go see this movie.</p>
<p><strong>If you liked <em>The Fall</em> you may also like</strong></p>
<ul>
<li>I would say <a href="http://en.wikipedia.org/wiki/The_Imaginarium_of_Doctor_Parnassus">The Imaginarium of Doctor Parnassus</a> (2009) but just saying watch everything from  <a href="http://en.wikipedia.org/wiki/Terry_Gilliam">Terry Gilliam</a> is more appropriate.</li>
<li>Everything from <a title="Spike Jonze" href="http://en.wikipedia.org/wiki/Spike_Jonze">Spike Jonze</a> and <a title="Charlie Kaufman" href="http://en.wikipedia.org/wiki/Charlie_Kaufman">Charlie Kaufman</a>.</li>
<li><a title="Wikipedia" href="http://en.wikipedia.org/wiki/The_Cell">The Cell</a> (2006), also from Tarsem Singh.</li>
<li>Cinema Paradiso (1988), <a title="Giuseppe Tornatore" href="http://en.wikipedia.org/wiki/Giuseppe_Tornatore">Giuseppe Tornatore</a>.</li>
<li>I could say many others but if you take a look into <a href="http://en.wikipedia.org/wiki/Psychological_thriller">psychological thrillers</a> is enough.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/10/08/the-fall-2006-tarsem-singh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heroku on Ubuntu 11.04 (Natty Narwhal)</title>
		<link>http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/</link>
		<comments>http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 02:43:14 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3892</guid>
		<description><![CDATA[As root execute: apt-get update apt-get install build-essential ruby rails rubygems1.8 apt-get install ruby1.8-dev libopenssl-ruby Chance PATH at /etc/environment: PATH=&#34;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin&#34; Update your current environment: source /etc/environment Install the Heroku gem: sudo gem install heroku Run Heroku authentication configuration: heroku auth:login Enter the credentials for your Heroku account. Done!]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-3899 aligncenter" title="heroku logo" src="http://silveiraneto.net/wp-content/uploads/2011/09/herokulogo.jpg" alt="" width="185" height="73" /></p>
<p>As root execute:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential ruby rails rubygems1.8
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby1.8-dev libopenssl-ruby</pre>
</div>
</div>
<p>Chance PATH at /etc/environment:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash bash" style="font-family:monospace;"><span style="color: #007800;">PATH</span>=<span style="color: #ff0000;">&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin&quot;</span></pre>
</div>
</div>
<p>Update your current environment:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>environment</pre>
</div>
</div>
<p>Install the Heroku gem:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> heroku</pre>
</div>
</div>
<p>Run Heroku authentication configuration:</p>
<pre>heroku auth:login</pre>
<p>Enter the credentials for your Heroku account.</p>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

