<?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>Pedro Assunção &#187; computers</title>
	<atom:link href="http://pedroassuncao.com/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://pedroassuncao.com</link>
	<description>Thoughts on technology, skydiving, life, the universe, you know, whatever comes to mind.</description>
	<lastBuildDate>Sat, 28 Aug 2010 19:18:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>They still call it Blue Screen</title>
		<link>http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/</link>
		<comments>http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 20:54:36 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[jokes]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1114</guid>
		<description><![CDATA[<p><img class="alignright size-medium wp-image-1115" title="Blue Screen event" src="http://pedroassuncao.com/wp-content/uploads/2010/08/bluescreen-300x222.jpg" alt="Blue Screen event" width="300" height="222" /></p> <p>After a long, long time without crashes on my windows box i finally got this one while watching a movie on vimeo.com. It seems they call the crash event &#8220;Blue Screen&#8221;. Got love the nostalgia on (...)<br/ >[<a href="http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/02/blue-screen-of-death-on-a-door-2/' rel='bookmark' title='Permanent Link: Blue Screen Of Death&#8230; on a door?!?'>Blue Screen Of Death&#8230; on a door?!?</a></li>
<li><a href='http://pedroassuncao.com/2009/02/blue-screen-of-death-on-a-door/' rel='bookmark' title='Permanent Link: Blue Screen Of Death&#8230; on a door?!?'>Blue Screen Of Death&#8230; on a door?!?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-1115" title="Blue Screen event" src="http://pedroassuncao.com/wp-content/uploads/2010/08/bluescreen-300x222.jpg" alt="Blue Screen event" width="300" height="222" /></p>
<p>After a long, long time without crashes on my windows box i finally got this one while watching a movie on vimeo.com. It seems they call the crash event &#8220;Blue Screen&#8221;. Got love the nostalgia on the windows developers <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;t=They+still+call+it+Blue+Screen" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=They+still+call+it+Blue+Screen+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;title=They+still+call+it+Blue+Screen" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;title=They+still+call+it+Blue+Screen" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;t=They+still+call+it+Blue+Screen" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;title=They+still+call+it+Blue+Screen" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/&amp;t=They+still+call+it+Blue+Screen" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/02/blue-screen-of-death-on-a-door-2/' rel='bookmark' title='Permanent Link: Blue Screen Of Death&#8230; on a door?!?'>Blue Screen Of Death&#8230; on a door?!?</a></li>
<li><a href='http://pedroassuncao.com/2009/02/blue-screen-of-death-on-a-door/' rel='bookmark' title='Permanent Link: Blue Screen Of Death&#8230; on a door?!?'>Blue Screen Of Death&#8230; on a door?!?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/08/they-still-call-it-blue-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple quietly renovates the MacMini</title>
		<link>http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/</link>
		<comments>http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 09:40:18 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://diffract.me/2010/06/apple-quietly-renovates-the-macmini/</guid>
		<description><![CDATA[<p><img height="119" style="margin: 15px; float: left" width="97" alt="" src="http://diffract.me/wp-content/uploads/2010/06/buystrip_hardware_20100615.png" />And i must say it looks beautiful!</p> <p>It features twice the graphics speed, HDMI connector (finally!), a thin unibody aluminum case, and a built in power supply (which means no more big power transformer in along the power cable).</p> <p>I (...)<br/ >[<a href="http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/some-apple-tablet-features/' rel='bookmark' title='Permanent Link: Some Apple tablet features'>Some Apple tablet features</a></li>
<li><a href='http://pedroassuncao.com/2009/07/i-killed-an-ant-today/' rel='bookmark' title='Permanent Link: I killed an ant today'>I killed an ant today</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img height="119" style="margin: 15px; float: left" width="97" alt="" src="http://diffract.me/wp-content/uploads/2010/06/buystrip_hardware_20100615.png" />And i must say it looks beautiful!</p>
<p>It features twice the graphics speed, HDMI connector (finally!), a thin unibody aluminum case, and a built in power supply (which means no more big power transformer in along the power cable).</p>
<p>I love it and i definitely want one connected to my TV in my living room <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.apple.com/pt/macmini/">Check it out at Apple&#8217;s website</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;t=Apple+quietly+renovates+the+MacMini" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Apple+quietly+renovates+the+MacMini+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;title=Apple+quietly+renovates+the+MacMini" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;title=Apple+quietly+renovates+the+MacMini" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;t=Apple+quietly+renovates+the+MacMini" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;title=Apple+quietly+renovates+the+MacMini" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/&amp;t=Apple+quietly+renovates+the+MacMini" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/some-apple-tablet-features/' rel='bookmark' title='Permanent Link: Some Apple tablet features'>Some Apple tablet features</a></li>
<li><a href='http://pedroassuncao.com/2009/07/i-killed-an-ant-today/' rel='bookmark' title='Permanent Link: I killed an ant today'>I killed an ant today</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/06/apple-quietly-renovates-the-macmini/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google introduces GMail image drag and drop</title>
		<link>http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/</link>
		<comments>http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/#comments</comments>
		<pubDate>Wed, 12 May 2010 12:41:27 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://diffract.me/2010/05/google-introduces-gmail-image-drag-and-drop/</guid>
		<description><![CDATA[ At least if you are using Chrome :) If you drag any picture from your desktop to the message body it will get automagically included in the email. Pretty neat, uh?  (...)<br/ >[<a href="http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2008/08/considering-switching-my-blog-to-posterous/' rel='bookmark' title='Permanent Link: Considering switching my blog to posterous'>Considering switching my blog to posterous</a></li>
<li><a href='http://pedroassuncao.com/2008/09/cant-wait-to-try-google-chrome/' rel='bookmark' title='Permanent Link: Can&#039;t wait to try Google chrome'>Can&#039;t wait to try Google chrome</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>At least if you are using Chrome <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you drag any picture from your desktop to the message body it will get automagically included in the email. Pretty neat, uh?</p>
<p><img src="http://diffract.me/wp-content/uploads/2010/05/Screen-shot-2010-05-12-at-1.38.11-PM.png" width="447" height="383" alt="Screen shot 2010-05-12 at 1.38.11 PM.png" /></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;t=Google+introduces+GMail+image+drag+and+drop" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Google+introduces+GMail+image+drag+and+drop+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;title=Google+introduces+GMail+image+drag+and+drop" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;title=Google+introduces+GMail+image+drag+and+drop" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;t=Google+introduces+GMail+image+drag+and+drop" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;title=Google+introduces+GMail+image+drag+and+drop" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/&amp;t=Google+introduces+GMail+image+drag+and+drop" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2008/08/considering-switching-my-blog-to-posterous/' rel='bookmark' title='Permanent Link: Considering switching my blog to posterous'>Considering switching my blog to posterous</a></li>
<li><a href='http://pedroassuncao.com/2008/09/cant-wait-to-try-google-chrome/' rel='bookmark' title='Permanent Link: Can&#039;t wait to try Google chrome'>Can&#039;t wait to try Google chrome</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/05/google-introduces-gmail-image-drag-and-drop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring : inject proxy instead of proxied object</title>
		<link>http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/</link>
		<comments>http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 15:13:39 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=974</guid>
		<description><![CDATA[<p>Today i found a neat trick.</p> <p>Typically when you inject an AnnotationSessionFactoryBean into one of your classes you end up with a SessionFactory on the other side. This is because Spring is doing its magic inside, proxying stuff so you end up with an easy way to instantiate hibernate (...)<br/ >[<a href="http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/08/java-http-proxy-servlet-with-spring/' rel='bookmark' title='Permanent Link: Java HTTP proxy servlet (with Spring)'>Java HTTP proxy servlet (with Spring)</a></li>
<li><a href='http://pedroassuncao.com/2009/01/double-clicktap-detection-on-androids-mapview/' rel='bookmark' title='Permanent Link: Double click/tap detection on android&#8217;s MapView'>Double click/tap detection on android&#8217;s MapView</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today i found a neat trick.</p>
<p>Typically when you inject an AnnotationSessionFactoryBean into one of your classes you end up with a SessionFactory on the other side. This is because Spring is doing its magic inside, proxying stuff so you end up with an easy way to instantiate hibernate sessions. The problem is that i wanted to be able to access the actual AnnotationSessionFactoryBean, so i could run the createDatabaseSchema method on it (retrieve the connection properties would be another use case).</p>
<p>So how do you inject the proxy, instead of the proxied object? You prefix the bean ref with the &#8220;&amp;&#8221; sign, like so:</p>
<pre>&lt;property name="sessionFactory" ref="&amp;sessionFactory"/&gt;</pre>
<p>If you want to do it inside, for instance, anything that extends AbstractTransactionalJUnit4SpringContextTests, you can do it like this:</p>
<pre>sessionFactoryBean = (AnnotationSessionFactoryBean) super.applicationContext.getBean("&amp;sessionFactory");</pre>
<p>Hope it helps somebody <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;t=Spring+%3A+inject+proxy+instead+of+proxied+object" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Spring+%3A+inject+proxy+instead+of+proxied+object+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;title=Spring+%3A+inject+proxy+instead+of+proxied+object" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;title=Spring+%3A+inject+proxy+instead+of+proxied+object" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;t=Spring+%3A+inject+proxy+instead+of+proxied+object" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;title=Spring+%3A+inject+proxy+instead+of+proxied+object" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/&amp;t=Spring+%3A+inject+proxy+instead+of+proxied+object" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/08/java-http-proxy-servlet-with-spring/' rel='bookmark' title='Permanent Link: Java HTTP proxy servlet (with Spring)'>Java HTTP proxy servlet (with Spring)</a></li>
<li><a href='http://pedroassuncao.com/2009/01/double-clicktap-detection-on-androids-mapview/' rel='bookmark' title='Permanent Link: Double click/tap detection on android&#8217;s MapView'>Double click/tap detection on android&#8217;s MapView</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Layar rocks, or how the Berlin wall is back up</title>
		<link>http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/</link>
		<comments>http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:55:12 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=911</guid>
		<description><![CDATA[<p>I&#8217;m starting to love Layar more and more. One of the latest &#8220;layers&#8221; introduced was the ability to view the Berlin wall &#8211; as if it was still standing &#8211; by pointing your phone to the place where the wall used to exist. You can read the entire article (...)<br/ >[<a href="http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/11/gamaray-open-source-augmented-reality-project/' rel='bookmark' title='Permanent Link: GamaRay : Open Source Augmented Reality Project'>GamaRay : Open Source Augmented Reality Project</a></li>
<li><a href='http://pedroassuncao.com/2009/11/junaio-3d-mobile-augmented-reality-for-iphone/' rel='bookmark' title='Permanent Link: junaio &#8211; 3D mobile augmented reality for iphone'>junaio &#8211; 3D mobile augmented reality for iphone</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting to love <a href="http://layar.com">Layar</a> more and more. One of the latest &#8220;layers&#8221; introduced was the ability to view the Berlin wall &#8211; as if it was still standing &#8211; by pointing your phone to the place where the wall used to exist. You can read the <a href="http://layar.com/the-berlin-wall-is-back/">entire article here</a>.</p>
<p>Do you see the potential? Being able to peek at any historical time and place and see what that location looked like a long long time ago. Imagine going to the <a href="http://www.google.com/images?q=coloseum&amp;qscrl=1&amp;um=1&amp;ie=UTF-8&amp;source=univ&amp;ei=sTLIS7D0AZKiONLm4NsM&amp;sa=X&amp;oi=image_result_group&amp;ct=title&amp;resnum=4&amp;ved=0CB8QsAQwAw">Coloseum</a> in Rome, Italy and watching a 3D gladiator fight happening in front of your eyes. Granted, that will take more development in augmented reality <a href="http://spectrum.ieee.org/biomedical/bionics/augmented-reality-in-a-contact-lens/0">contact lenses</a> (which, believe me, will exist in a near future) but for now you can potentially do that with your phone.</p>
<p>I really have to get an Android powered device <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;t=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;title=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;title=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;t=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;title=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/&amp;t=Layar+rocks%2C+or+how+the+Berlin+wall+is+back+up" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/11/gamaray-open-source-augmented-reality-project/' rel='bookmark' title='Permanent Link: GamaRay : Open Source Augmented Reality Project'>GamaRay : Open Source Augmented Reality Project</a></li>
<li><a href='http://pedroassuncao.com/2009/11/junaio-3d-mobile-augmented-reality-for-iphone/' rel='bookmark' title='Permanent Link: junaio &#8211; 3D mobile augmented reality for iphone'>junaio &#8211; 3D mobile augmented reality for iphone</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/04/layar-rocks-or-how-the-berlin-wall-is-back-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sproutcore on OSX snow leopard</title>
		<link>http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/</link>
		<comments>http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 09:13:08 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=908</guid>
		<description><![CDATA[<p>It recently came to my attention the existence of this heavily-client-based web framework to develop desktop-like applications called Sproutcore and is backed up by Apple (there is another cool alternative called Capuccino). Basically it relies on Javascript to create nice desktop-like applications, but on the web.</p> <p>Ever since i (...)<br/ >[<a href="http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/01/recover-isync-after-removing-it-from-osx/' rel='bookmark' title='Permanent Link: Recover iSync after removing it from OSX'>Recover iSync after removing it from OSX</a></li>
<li><a href='http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/' rel='bookmark' title='Permanent Link: Websockets tutorial/example with pywebsocket'>Websockets tutorial/example with pywebsocket</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It recently came to my attention the existence of this heavily-client-based web framework to develop desktop-like applications called <a href="http://sproutcore.com/">Sproutcore</a> and is backed up by Apple (there is another cool alternative called <a href="http://cappuccino.org">Capuccino</a>). Basically it relies on Javascript to create nice desktop-like applications, but on the web.</p>
<p>Ever since i heard about node.js i have been curious to try out one of these things. My ideas on it will come later but, for now, here are the required steps to make Sproutcore work well on OSX snow leopard. And i say work well because if you rely on the vanilla Ruby 1.8.7 that comes with snow leopard you will have a very crappy experience with Sproutcore; It will take approximately 35 seconds to reload any webpage every time you make a code change. And that will make you not want to use it at all.</p>
<p>Fortunately a lot of people have been kind enough to explain me, on twitter, how to make it faster.</p>
<p>But let&#8217;s start from the beginning:</p>
<p><strong>1. Install Sproutcore using GEM, like so:</strong></p>
<pre>sudo gem install sproutcore</pre>
<address>Note: I don&#8217;t remember if gem comes installed with snow leopard. If not, you can always google it <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </address>
<p><strong>2. Follow the </strong><a href="http://www.sproutcore.com/get-started/"><strong>rest of the steps</strong></a><strong> to setup your first application</strong></p>
<p>By now you should have realized that (if you are using OSX snow leopard) the damn thing is freaking slow. So&#8230;</p>
<p><strong>3. &#8230;download and compile the <a href="http://www.ruby-lang.org/en/downloads/">Ruby 1.9 source</a> code for OSX</strong></p>
<pre>tar xzvf ruby-1.9.1-p376.tar.gz
cd ruby-1.9.1-p376
./configure --enable-shared --enable-pthread CFLAGS=-D_XOPEN_SOURCE=1
make
sudo make install</pre>
<address>Note: The actual version could be different, as stuff evolves over time <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </address>
<p><strong>4. Update the symbolic link on your system to point to the new ruby installation</strong></p>
<pre>sudo rm /usr/bin/ruby
sudo ln -s /usr/local/bin/ruby /usr/bin/ruby</pre>
<p><strong>5. Make sure the correct Ruby version is in use</strong></p>
<pre>ruby --version</pre>
<p>Should return something like this:</p>
<pre>ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.3.0]</pre>
<p><strong>6. Install thin. This server is faster than the one that comes with Sproutcore</strong></p>
<pre>sudo gem install thin</pre>
<p><strong>7. All done. Give it a try again</strong></p>
<p>If you try to refresh the page of a Sproutcore example now you will notice the speed difference, like night to day. Have fun coding client-side desktop web applications <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m planning to also take a look at <a href="http://cappuccino.org">Capuccino</a>, another similar framework, but created in Objective-J &#8211; a derivative of Objective-C for javascript. Looks interesting and it might get me into iPhone development at last <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;t=Sproutcore+on+OSX+snow+leopard" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Sproutcore+on+OSX+snow+leopard+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;title=Sproutcore+on+OSX+snow+leopard" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;title=Sproutcore+on+OSX+snow+leopard" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;t=Sproutcore+on+OSX+snow+leopard" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;title=Sproutcore+on+OSX+snow+leopard" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/&amp;t=Sproutcore+on+OSX+snow+leopard" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/01/recover-isync-after-removing-it-from-osx/' rel='bookmark' title='Permanent Link: Recover iSync after removing it from OSX'>Recover iSync after removing it from OSX</a></li>
<li><a href='http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/' rel='bookmark' title='Permanent Link: Websockets tutorial/example with pywebsocket'>Websockets tutorial/example with pywebsocket</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/04/sproutcore-on-osx-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPad jailbroken one day after coming out. That was fast.</title>
		<link>http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/</link>
		<comments>http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 10:01:28 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[experiments]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=905</guid>
		<description><![CDATA[<p>&#8220;A well-known hacker of the iPhone, who previously defeated Apple&#8217;s restrictions on developers, has claimed in a video to have hacked the iPad. Just a day after release, the hacker, who goes by &#8216;MuscleNerd&#8217; online, said that he has gained root access to the iPad&#8230;&#8221;, as seen on slashdot.</p> (...)<br/ >[<a href="http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/things-i-wanted-in-apples-ipad-tablet/' rel='bookmark' title='Permanent Link: Things i wanted in Apple&#8217;s iPad (tablet)'>Things i wanted in Apple&#8217;s iPad (tablet)</a></li>
<li><a href='http://pedroassuncao.com/2009/12/reddit-developers-please-fix-this/' rel='bookmark' title='Permanent Link: Reddit developers, please fix this'>Reddit developers, please fix this</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>&#8220;A well-known hacker of the iPhone, who previously defeated Apple&#8217;s restrictions on developers, has claimed in a video to have hacked the iPad. Just a day after release, the hacker, who goes by &#8216;MuscleNerd&#8217; online, said that he has gained root access to the iPad&#8230;&#8221;, as <a href="http://apple.slashdot.org/story/10/04/04/2223237/iPad-Jailbroken">seen on slashdot</a>.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="300" 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/dgHNayVtHkQ&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="500" height="300" src="http://www.youtube.com/v/dgHNayVtHkQ&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;t=iPad+jailbroken+one+day+after+coming+out.+That+was+fast." rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=iPad+jailbroken+one+day+after+coming+out.+That+was+fast.+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;title=iPad+jailbroken+one+day+after+coming+out.+That+was+fast." rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;title=iPad+jailbroken+one+day+after+coming+out.+That+was+fast." rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;t=iPad+jailbroken+one+day+after+coming+out.+That+was+fast." rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;title=iPad+jailbroken+one+day+after+coming+out.+That+was+fast." rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/&amp;t=iPad+jailbroken+one+day+after+coming+out.+That+was+fast." rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/things-i-wanted-in-apples-ipad-tablet/' rel='bookmark' title='Permanent Link: Things i wanted in Apple&#8217;s iPad (tablet)'>Things i wanted in Apple&#8217;s iPad (tablet)</a></li>
<li><a href='http://pedroassuncao.com/2009/12/reddit-developers-please-fix-this/' rel='bookmark' title='Permanent Link: Reddit developers, please fix this'>Reddit developers, please fix this</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/04/ipad-jailbroken-one-day-after-coming-out-that-was-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software does not evolve; software degenerates</title>
		<link>http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/</link>
		<comments>http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 13:28:37 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[complaints]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[observations]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=900</guid>
		<description><![CDATA[<p>Today at lunch i felt taken by this concept once again. A long time ago it came to me that software, au contraire of living beings, does not evolve; the best description for it, in my not-so-humble opinion, is of a big tower of LEGOs building blocks: You start (...)<br/ >[<a href="http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/remote-software-developers/' rel='bookmark' title='Permanent Link: Remote software developers'>Remote software developers</a></li>
<li><a href='http://pedroassuncao.com/2008/07/internet-heaven-according-to-marcus/' rel='bookmark' title='Permanent Link: Internet heaven, according to Marcus'>Internet heaven, according to Marcus</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today at lunch i felt taken by this concept once again. A long time ago it came to me that software, au contraire of living beings, does not evolve; the best description for it, in my not-so-humble opinion, is of a big tower of LEGOs building blocks: You start stacking them up and, when a certain amount of time passes, you end up with something that is no longer very stable at the base. It degenerates and &#8211; in time &#8211; you have to kill it.</p>
<p>Every good developer knows this simple fact: requirements change. They do, there is no point in denying it. And continuing to build on top of a base that was thought for one thing and now needs to do another one is just plain crazy, inevitably. The problem here is that, i believe, non-technical people still think that software is a living thing that keeps evolving and that, no matter what you come up with next, there will always be a way to make it do &#8220;just that one more thing that we need&#8221;.</p>
<p>So my question is: What is the best way to convince non-technical people that software needs to be killed or heavily re-factored from times to times in order for things to be maintainable and faster to build upon? I can&#8217;t help thinking about &#8220;Bruce Almighty&#8221;s quote when i ask myself the same question: &#8220;(BRUCE) So how do you make people love you without affecting free will? (GOD) Welcome to my world, son. If you come up with an answer to that one you let me know!&#8221;.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;t=Software+does+not+evolve%3B+software+degenerates" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Software+does+not+evolve%3B+software+degenerates+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;title=Software+does+not+evolve%3B+software+degenerates" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;title=Software+does+not+evolve%3B+software+degenerates" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;t=Software+does+not+evolve%3B+software+degenerates" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;title=Software+does+not+evolve%3B+software+degenerates" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/&amp;t=Software+does+not+evolve%3B+software+degenerates" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/remote-software-developers/' rel='bookmark' title='Permanent Link: Remote software developers'>Remote software developers</a></li>
<li><a href='http://pedroassuncao.com/2008/07/internet-heaven-according-to-marcus/' rel='bookmark' title='Permanent Link: Internet heaven, according to Marcus'>Internet heaven, according to Marcus</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/03/software-does-not-evolve-software-degenerates/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Other (probably intelligent) wordpress plugins to install</title>
		<link>http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/</link>
		<comments>http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 11:24:36 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=882</guid>
		<description><![CDATA[<p>Following up on my post about RAM (or lack of it), i decided to install a proper wordpress plugin to cache most of the stuff in static HTML files. It&#8217;s called WP-SuperCache and i&#8217;m hoping it&#8217;s really super <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p> <p>But now i cannot but (...)<br/ >[<a href="http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/07/wordpress-publish_post-is-also-triggered-on-subsequent-post-editions/' rel='bookmark' title='Permanent Link: WordPress: &#8216;publish_post&#8217; is also triggered on subsequent post editions'>WordPress: &#8216;publish_post&#8217; is also triggered on subsequent post editions</a></li>
<li><a href='http://pedroassuncao.com/2009/12/i-really-hate-intensedebate-right-now/' rel='bookmark' title='Permanent Link: I really hate intensedebate right now'>I really hate intensedebate right now</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Following up on my <a href="http://diffract.me/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/">post about RAM</a> (or lack of it), i decided to install a proper wordpress plugin to cache most of the stuff in static HTML files. It&#8217;s called <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP-SuperCache</a> and i&#8217;m hoping it&#8217;s really super <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But now i cannot but wonder if i shouldn&#8217;t &#8211; somehow &#8211; find a way to have <a href="http://wiki.nginx.org/">nginx</a> serving these static files instead of passing the request to apache. I&#8217;m already caching static JS, CSS, and image files with nginx, so that would probably make sense.</p>
<p>In other news, installed a plugin that serves a different WordPress theme for mobile phones. It&#8217;s called <a href="http://wordpress.org/extend/plugins/wordpress-mobile-edition/">wordpress-mobile-edition</a>, in case you are interested.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;t=Other+%28probably+intelligent%29+wordpress+plugins+to+install" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Other+%28probably+intelligent%29+wordpress+plugins+to+install+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;title=Other+%28probably+intelligent%29+wordpress+plugins+to+install" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;title=Other+%28probably+intelligent%29+wordpress+plugins+to+install" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;t=Other+%28probably+intelligent%29+wordpress+plugins+to+install" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;title=Other+%28probably+intelligent%29+wordpress+plugins+to+install" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/&amp;t=Other+%28probably+intelligent%29+wordpress+plugins+to+install" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/07/wordpress-publish_post-is-also-triggered-on-subsequent-post-editions/' rel='bookmark' title='Permanent Link: WordPress: &#8216;publish_post&#8217; is also triggered on subsequent post editions'>WordPress: &#8216;publish_post&#8217; is also triggered on subsequent post editions</a></li>
<li><a href='http://pedroassuncao.com/2009/12/i-really-hate-intensedebate-right-now/' rel='bookmark' title='Permanent Link: I really hate intensedebate right now'>I really hate intensedebate right now</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lack of RAM will kill your blog host virtual machine</title>
		<link>http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/</link>
		<comments>http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 08:39:39 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=880</guid>
		<description><![CDATA[<p>I know what you are thinking: &#8220;Well, duh Pedro, how come you didn&#8217;t know that?&#8221;.</p> <p>I&#8217;ll explain: Recently i started having some service shortages on my blog. From times to times the CPU usage would just go rooftop and then nginx and apache both stopped serving requests. I am (...)<br/ >[<a href="http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/things-i-wanted-in-apples-ipad-tablet/' rel='bookmark' title='Permanent Link: Things i wanted in Apple&#8217;s iPad (tablet)'>Things i wanted in Apple&#8217;s iPad (tablet)</a></li>
<li><a href='http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/' rel='bookmark' title='Permanent Link: Other (probably intelligent) wordpress plugins to install'>Other (probably intelligent) wordpress plugins to install</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I know what you are thinking: &#8220;Well, duh Pedro, how come you didn&#8217;t know that?&#8221;.</p>
<p>I&#8217;ll explain: Recently i started having some service shortages on my blog. From times to times the CPU usage would just go rooftop and then nginx and apache both stopped serving requests. I am using <a href="http://linode.com">Linode</a> as my host, where i have a nice virtual machine (or node, as they call it) with some reasonable values in terms of CPU and bandwidth monthly usage. The weakest link was the RAM; it only had 386Mb.</p>
<p>A while back i developed <a href="http://jumperr.com">Jumperr.com</a> and i figured &#8220;hey, i already have the node, so i&#8217;ll just host it there&#8221;. Some time after deploying jumperr, i started noticing these shortages coming up maybe once a month, or every two weeks (i notice the pattern now, not then <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). At some point i even considered switching hosts (to slicehost, for example), but i never thought that memory could be the problem (after all they are not that accessed anyways). Looking at the system logs i just could not figure out what made the machine stop working just like that.</p>
<p>About one month ago, i decided to develop a stupid website that allows you to <a href="http://bombthiscountry.com">bomb countries</a> using a Google maps interface. And then, surprise, the shortages became more and more frequent (sometimes 4 per day!). In one of these fails i decided to try to login to the node using Linode&#8217;s ajax ssh interface on their dashboard. And that&#8217;s when i saw it: a bunch of &#8220;out of memory&#8221; errors right on the boot list. Since when you connect normally via SSH you don&#8217;t see the prompt on the remote end, i never saw these before.</p>
<p>So there you go, lesson learned. If it spikes, chances are you are out of memory <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>By the way, if you are a proper Linux/Unix admin, was there a log that might contain those errors that i missed?</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;t=Lack+of+RAM+will+kill+your+blog+host+virtual+machine" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Lack+of+RAM+will+kill+your+blog+host+virtual+machine+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;title=Lack+of+RAM+will+kill+your+blog+host+virtual+machine" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;title=Lack+of+RAM+will+kill+your+blog+host+virtual+machine" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;t=Lack+of+RAM+will+kill+your+blog+host+virtual+machine" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;title=Lack+of+RAM+will+kill+your+blog+host+virtual+machine" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/&amp;t=Lack+of+RAM+will+kill+your+blog+host+virtual+machine" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2010/01/things-i-wanted-in-apples-ipad-tablet/' rel='bookmark' title='Permanent Link: Things i wanted in Apple&#8217;s iPad (tablet)'>Things i wanted in Apple&#8217;s iPad (tablet)</a></li>
<li><a href='http://pedroassuncao.com/2010/03/other-probably-intelligent-wordpress-plugins-to-install/' rel='bookmark' title='Permanent Link: Other (probably intelligent) wordpress plugins to install'>Other (probably intelligent) wordpress plugins to install</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
