<?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; tips</title>
	<atom:link href="http://pedroassuncao.com/category/tips/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>Landing is every man for himself</title>
		<link>http://pedroassuncao.com/2010/08/landing-is-every-man-for-himself/</link>
		<comments>http://pedroassuncao.com/2010/08/landing-is-every-man-for-himself/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 00:24:37 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[skydiving]]></category>
		<category><![CDATA[sports]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/2010/08/landing-is-every-man-for-himself/</guid>
		<description><![CDATA[<p>I hurt a knee the last time I was out jumping, on a downwind landing. And it was all because of a combination of stupidity and lack of knowledge. </p> <p>The first because I did something I shouldn&#8217;t: I trusted a fellow skydiver&#8217;s direction instead of the wind sleeve. (...)<br/ >[<a href="http://pedroassuncao.com/2010/08/landing-is-every-man-for-himself/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/08/another-day-at-the-dropzone-skydiving/' rel='bookmark' title='Permanent Link: Another day at the dropzone, skydiving'>Another day at the dropzone, skydiving</a></li>
<li><a href='http://pedroassuncao.com/2009/08/another-day-at-the-dropzone-skydiving-2/' rel='bookmark' title='Permanent Link: Another day at the dropzone, skydiving'>Another day at the dropzone, skydiving</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I hurt a knee the last time I was out jumping, on a downwind landing. And it was all because of a combination of stupidity and lack of knowledge. </p>
<p>The first because I did something I shouldn&#8217;t: I trusted a fellow skydiver&#8217;s direction instead of the wind sleeve. Turns out his direction was perfect for his canopy&#8217;s rate of descent, which allowed him to make his final turn upwind.</p>
<p>The second cause for the crash was the lack of experience to deal with a downwind landing. Apparently one of the safest ways to do it is to land like a tandem: on your butt <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Lessons learned and hopefully my knee will heal fast so I can jump again soon and put all this behind me.</p>
<p>Blue skies</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/landing-is-every-man-for-himself/&amp;t=Landing+is+every+man+for+himself" 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=Landing+is+every+man+for+himself+-+&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/landing-is-every-man-for-himself/&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/landing-is-every-man-for-himself/&amp;title=Landing+is+every+man+for+himself" 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/landing-is-every-man-for-himself/&amp;title=Landing+is+every+man+for+himself" 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/landing-is-every-man-for-himself/&amp;t=Landing+is+every+man+for+himself" 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/landing-is-every-man-for-himself/&amp;title=Landing+is+every+man+for+himself" 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/landing-is-every-man-for-himself/&amp;t=Landing+is+every+man+for+himself" 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/another-day-at-the-dropzone-skydiving/' rel='bookmark' title='Permanent Link: Another day at the dropzone, skydiving'>Another day at the dropzone, skydiving</a></li>
<li><a href='http://pedroassuncao.com/2009/08/another-day-at-the-dropzone-skydiving-2/' rel='bookmark' title='Permanent Link: Another day at the dropzone, skydiving'>Another day at the dropzone, skydiving</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/08/landing-is-every-man-for-himself/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Feedsquares: A refreshing view for Google Reader</title>
		<link>http://pedroassuncao.com/2010/07/feedsquares-a-refreshing-view-for-google-reader/</link>
		<comments>http://pedroassuncao.com/2010/07/feedsquares-a-refreshing-view-for-google-reader/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 08:03:33 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[reading]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1016</guid>
		<description><![CDATA[<p>I don&#8217;t know about you, but i have still to find the perfect RSS reader. I don&#8217;t dislike Google Reader, but i always feel that things can be better (yeah, it&#8217;s both a curse and a blessing) and, recently, i found a little thing &#8211; called Feedsquares &#8211; that (...)<br/ >[<a href="http://pedroassuncao.com/2010/07/feedsquares-a-refreshing-view-for-google-reader/">continue reading</a>]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/09/another-day-of-jumping-out-of-airplanes-d/' rel='bookmark' title='Permanent Link: Another day of jumping out of airplanes :D'>Another day of jumping out of airplanes :D</a></li>
<li><a href='http://pedroassuncao.com/2009/04/cron-jobs-in-google-appengine/' rel='bookmark' title='Permanent Link: Cron jobs in Google AppEngine'>Cron jobs in Google AppEngine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know about you, but i have still to find the perfect RSS reader. I don&#8217;t dislike <a href="http://reader.google.com">Google Reader</a>, but i always feel that things can be better (yeah, it&#8217;s both a curse and a blessing) and, recently, i found a little thing &#8211; called <a href="http://www.rocketinbottle.com/feedsquares/welcome.html">Feedsquares</a> &#8211; that puts a nice twist on its interface, making really non-distracting the act of reading each piece of news.</p>
<div id="attachment_1017" class="wp-caption alignright" style="width: 435px"><a href="http://www.rocketinbottle.com/feedsquares/welcome.html"><img class="size-full wp-image-1017" title="Feedsquares" src="http://pedroassuncao.com/wp-content/uploads/2010/07/Screen-shot-2010-07-14-at-8.54.16-AM.png" alt="" width="425" height="319" /></a><p class="wp-caption-text">Feedsquares looks nice</p></div>
<p>It is comprised of a bunch of squares (one per feed you have) and, when clicked, it will show yet more squares; this time the stories in that feed. Clicking those will open the story full page. Check it out, you might like it <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/07/feedsquares-a-refreshing-view-for-google-reader/&amp;t=Feedsquares%3A+A+refreshing+view+for+Google+Reader" 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=Feedsquares%3A+A+refreshing+view+for+Google+Reader+-+&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/07/feedsquares-a-refreshing-view-for-google-reader/&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/07/feedsquares-a-refreshing-view-for-google-reader/&amp;title=Feedsquares%3A+A+refreshing+view+for+Google+Reader" 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/07/feedsquares-a-refreshing-view-for-google-reader/&amp;title=Feedsquares%3A+A+refreshing+view+for+Google+Reader" 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/07/feedsquares-a-refreshing-view-for-google-reader/&amp;t=Feedsquares%3A+A+refreshing+view+for+Google+Reader" 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/07/feedsquares-a-refreshing-view-for-google-reader/&amp;title=Feedsquares%3A+A+refreshing+view+for+Google+Reader" 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/07/feedsquares-a-refreshing-view-for-google-reader/&amp;t=Feedsquares%3A+A+refreshing+view+for+Google+Reader" 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/09/another-day-of-jumping-out-of-airplanes-d/' rel='bookmark' title='Permanent Link: Another day of jumping out of airplanes :D'>Another day of jumping out of airplanes :D</a></li>
<li><a href='http://pedroassuncao.com/2009/04/cron-jobs-in-google-appengine/' rel='bookmark' title='Permanent Link: Cron jobs in Google AppEngine'>Cron jobs in Google AppEngine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/07/feedsquares-a-refreshing-view-for-google-reader/feed/</wfw:commentRss>
		<slash:comments>0</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>Latex in Google Docs</title>
		<link>http://pedroassuncao.com/2010/05/latex-in-google-docs/</link>
		<comments>http://pedroassuncao.com/2010/05/latex-in-google-docs/#comments</comments>
		<pubDate>Fri, 07 May 2010 08:45:06 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[findings]]></category>

		<guid isPermaLink="false">http://diffract.me/2010/05/latex-in-google-docs/</guid>
		<description><![CDATA[ Pretty cool stuff, now you can edit Latex from google docs. ... Too bad i decided a long time ago to use HTML+CSS for my resume, otherwise i would definitely give this a try over offline Latex editors :)  (...)<br/ >[<a href="http://pedroassuncao.com/2010/05/latex-in-google-docs/">continue reading</a>]


Related posts:<ol><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>
<li><a href='http://pedroassuncao.com/2010/07/feedsquares-a-refreshing-view-for-google-reader/' rel='bookmark' title='Permanent Link: Feedsquares: A refreshing view for Google Reader'>Feedsquares: A refreshing view for Google Reader</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Pretty cool stuff, now you can edit Latex from google docs. <a href="http://docs.latexlab.org/docs">Check it out here</a>. Too bad i decided a long time ago to use HTML+CSS for my resume, otherwise i would definitely give this a try over offline Latex editors <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/05/latex-in-google-docs/&amp;t=Latex+in+Google+Docs" 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=Latex+in+Google+Docs+-+&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/latex-in-google-docs/&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/latex-in-google-docs/&amp;title=Latex+in+Google+Docs" 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/latex-in-google-docs/&amp;title=Latex+in+Google+Docs" 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/latex-in-google-docs/&amp;t=Latex+in+Google+Docs" 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/latex-in-google-docs/&amp;title=Latex+in+Google+Docs" 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/latex-in-google-docs/&amp;t=Latex+in+Google+Docs" 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/12/reddit-developers-please-fix-this/' rel='bookmark' title='Permanent Link: Reddit developers, please fix this'>Reddit developers, please fix this</a></li>
<li><a href='http://pedroassuncao.com/2010/07/feedsquares-a-refreshing-view-for-google-reader/' rel='bookmark' title='Permanent Link: Feedsquares: A refreshing view for Google Reader'>Feedsquares: A refreshing view for Google Reader</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/05/latex-in-google-docs/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>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>Altruistic USB plug</title>
		<link>http://pedroassuncao.com/2010/03/altruistic-usb-plug/</link>
		<comments>http://pedroassuncao.com/2010/03/altruistic-usb-plug/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 13:44:59 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=896</guid>
		<description><![CDATA[<p>I have to say i love the concept: A USB plug that becomes a USB slot itself, when connected. Check it out, here.</p> <img class="size-full wp-image-898 " title="DesignUSB" src="http://diffract.me/wp-content/uploads/2010/03/DesignUSB.jpg" alt="" width="369" height="249" /><p class="wp-caption-text">InfiniteUSB</p> Share this on Facebook Tweet This! Post on Google Buzz Digg this! Share this on Reddit Submit this to Hacker News
		
		
			Share this on del.icio.us
		
		
			Post this to MySpace
		






<p>Related posts:Reddit developers, please fix this
Reddit&#8217;s RSS only shows article titles
</p>


Related posts:<ol><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>
<li><a href='http://pedroassuncao.com/2010/04/reddits-rss-only-shows-article-titles/' rel='bookmark' title='Permanent Link: Reddit&#8217;s RSS only shows article titles'>Reddit&#8217;s RSS only shows article titles</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have to say i love the concept: A USB plug that becomes a USB slot itself, when connected. Check it out, <a href="http://jianggonglue.com/DesignUSB.html">here</a>.</p>
<div id="attachment_898" class="wp-caption alignnone" style="width: 379px"><a href="http://jianggonglue.com/DesignUSB.html"><img class="size-full wp-image-898 " title="DesignUSB" src="http://diffract.me/wp-content/uploads/2010/03/DesignUSB.jpg" alt="" width="369" height="249" /></a><p class="wp-caption-text">InfiniteUSB</p></div>


<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/altruistic-usb-plug/&amp;t=Altruistic+USB+plug" 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=Altruistic+USB+plug+-+&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/altruistic-usb-plug/&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/altruistic-usb-plug/&amp;title=Altruistic+USB+plug" 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/altruistic-usb-plug/&amp;title=Altruistic+USB+plug" 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/altruistic-usb-plug/&amp;t=Altruistic+USB+plug" 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/altruistic-usb-plug/&amp;title=Altruistic+USB+plug" 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/altruistic-usb-plug/&amp;t=Altruistic+USB+plug" 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/12/reddit-developers-please-fix-this/' rel='bookmark' title='Permanent Link: Reddit developers, please fix this'>Reddit developers, please fix this</a></li>
<li><a href='http://pedroassuncao.com/2010/04/reddits-rss-only-shows-article-titles/' rel='bookmark' title='Permanent Link: Reddit&#8217;s RSS only shows article titles'>Reddit&#8217;s RSS only shows article titles</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/03/altruistic-usb-plug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to beat a nail into a hard wall</title>
		<link>http://pedroassuncao.com/2010/03/how-to-beat-a-nail-into-a-hard-wall/</link>
		<comments>http://pedroassuncao.com/2010/03/how-to-beat-a-nail-into-a-hard-wall/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 08:09:52 +0000</pubDate>
		<dc:creator>Pedro Assuncao</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[revelations]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://diffract.me/?p=884</guid>
		<description><![CDATA[<p>This is probably the first useful mass email that my mother sent me in a long, long time <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p> <p>In any case, it shows how to put a nail into a really hard wall without ending up bending the nail. I know i had (...)<br/ >[<a href="http://pedroassuncao.com/2010/03/how-to-beat-a-nail-into-a-hard-wall/">continue reading</a>]


Related posts:<ol><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>
<li><a href='http://pedroassuncao.com/2010/02/twitter-weekly-updates-for-2010-02-12/' rel='bookmark' title='Permanent Link: Twitter Weekly Updates for 2010-02-12'>Twitter Weekly Updates for 2010-02-12</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is probably the first useful mass email that my mother sent me in a long, long time <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In any case, it shows how to put a nail into a really hard wall without ending up bending the nail. I know i had this problem before in more than one occasion.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" 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/VazP0kjlliA&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/VazP0kjlliA&amp;hl=en_US&amp;fs=1&amp;" 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/03/how-to-beat-a-nail-into-a-hard-wall/&amp;t=How+to+beat+a+nail+into+a+hard+wall" 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=How+to+beat+a+nail+into+a+hard+wall+-+&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/how-to-beat-a-nail-into-a-hard-wall/&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/how-to-beat-a-nail-into-a-hard-wall/&amp;title=How+to+beat+a+nail+into+a+hard+wall" 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/how-to-beat-a-nail-into-a-hard-wall/&amp;title=How+to+beat+a+nail+into+a+hard+wall" 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/how-to-beat-a-nail-into-a-hard-wall/&amp;t=How+to+beat+a+nail+into+a+hard+wall" 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/how-to-beat-a-nail-into-a-hard-wall/&amp;title=How+to+beat+a+nail+into+a+hard+wall" 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/how-to-beat-a-nail-into-a-hard-wall/&amp;t=How+to+beat+a+nail+into+a+hard+wall" 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/12/reddit-developers-please-fix-this/' rel='bookmark' title='Permanent Link: Reddit developers, please fix this'>Reddit developers, please fix this</a></li>
<li><a href='http://pedroassuncao.com/2010/02/twitter-weekly-updates-for-2010-02-12/' rel='bookmark' title='Permanent Link: Twitter Weekly Updates for 2010-02-12'>Twitter Weekly Updates for 2010-02-12</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2010/03/how-to-beat-a-nail-into-a-hard-wall/feed/</wfw:commentRss>
		<slash:comments>0</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>
