<?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; findings</title>
	<atom:link href="http://pedroassuncao.com/category/findings/feed/" rel="self" type="application/rss+xml" />
	<link>http://pedroassuncao.com</link>
	<description>Thoughts on technology, skydiving, life, and the universe...</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:13:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Red Hot Chili Peppers lyrics generator</title>
		<link>http://pedroassuncao.com/2011/11/red-hot-chili-peppers-lyrics-generator/</link>
		<comments>http://pedroassuncao.com/2011/11/red-hot-chili-peppers-lyrics-generator/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 10:09:40 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[jokes]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1483</guid>
		<description><![CDATA[Here&#8217;s a little something i tried yesterday: a ruby script that mixes and matches verbs, nouns, adjectives, and colors to come up with crazy ass lyrics, red hot style. Enjoy $nouns = IO.readlines('names.txt') $adjectives = IO.readlines('adjectives.txt') $verbs = IO.readlines('verbs.txt') $adjectives &#60;&#60; ['red','blue','green','white','black','yellow','brown','gray'] $pronouns = IO.readlines('pronouns.txt') $adverbs = IO.readlines('adverbs.txt') $prepositions = IO.readlines('prepositions.txt') def get_rand(collection) sleep rand [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2011/11/new-version-of-the-red-hot-chili-peppers-lyrics-generator/' rel='bookmark' title='New version of the red hot chili peppers lyrics generator'>New version of the red hot chili peppers lyrics generator</a></li>
<li><a href='http://pedroassuncao.com/2010/12/spring-and-hibernate-lazy-loading-collections-in-desktop-swing-applications/' rel='bookmark' title='Spring and hibernate: Lazy loading collections in desktop (swing) applications'>Spring and hibernate: Lazy loading collections in desktop (swing) applications</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Here&#8217;s a little something i tried yesterday: a ruby script that mixes and matches verbs, nouns, adjectives, and colors to come up with crazy ass lyrics, red hot style. Enjoy <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>$nouns = IO.readlines('names.txt')
$adjectives = IO.readlines('adjectives.txt')
$verbs = IO.readlines('verbs.txt')
$adjectives &lt;&lt; ['red','blue','green','white','black','yellow','brown','gray']
$pronouns = IO.readlines('pronouns.txt')
$adverbs = IO.readlines('adverbs.txt')
$prepositions = IO.readlines('prepositions.txt')

def get_rand(collection)
  sleep rand / 10000
  collection[rand * collection.length.to_i - 1]
end

def preposition_phrase
  "#{get_rand($prepositions).strip} the #{get_rand($nouns).strip}"
end

def adjectivated_subject_phrase
  the_part = "the" if rand.to_f &gt; 0.5
  adjective = get_rand($adjectives).strip if rand.to_f &gt; 0.5
  return "#{the_part} #{adjective} #{get_rand($nouns).strip}" if the_part and adjective
  nil
end

def generate_phrase
  as = adjectivated_subject_phrase
  adjectivated_subject_part = as.nil? ? get_rand($pronouns).strip : as
  preposition_part = rand.to_f &gt; 0.5 ? preposition_phrase : ""
  verb_part = get_rand($verbs).strip
  object_part = rand.to_f &gt; 0.25 ? get_rand($nouns).strip : ""
  the_part = (rand.to_f &gt; 0.5 and object_part != "") ? "the" : ""
  adverb_part = rand.to_f &gt; 0.75 ? get_rand($adverbs).strip : ""

  "#{adjectivated_subject_part} #{preposition_part} #{verb_part} #{the_part} #{object_part} #{adverb_part}".squeeze(" ").strip
end

def generate_lyrics
  result = ""
  (1..5).each do
    first_phrase = generate_phrase
    new_phrase = generate_phrase
    while new_phrase[-2, 2] != first_phrase[-2, 2] or new_phrase.split(" ")[-1] == first_phrase.split(" ")[-1] do
      new_phrase = generate_phrase
    end
    result &lt;&lt; "#{first_phrase}\r\n#{new_phrase}\r\n\r\n"
  end
  result
end

puts generate_lyrics</pre>
<p>Here are the sources: <a href="http://pedroassuncao.com/wp-content/uploads/2011/11/rhcp_lyrics_v2.tar.gz">rhcp_lyrics_v2.tar</a>. As a bonus there is a script to see how many attempts are required to reach the phrase &#8220;The quick brown fox&#8221; <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-1483"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F11%2Fred-hot-chili-peppers-lyrics-generator%2F' data-shr_title='Red+Hot+Chili+Peppers+lyrics+generator'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F11%2Fred-hot-chili-peppers-lyrics-generator%2F' data-shr_title='Red+Hot+Chili+Peppers+lyrics+generator'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2011/11/new-version-of-the-red-hot-chili-peppers-lyrics-generator/' rel='bookmark' title='New version of the red hot chili peppers lyrics generator'>New version of the red hot chili peppers lyrics generator</a></li>
<li><a href='http://pedroassuncao.com/2010/12/spring-and-hibernate-lazy-loading-collections-in-desktop-swing-applications/' rel='bookmark' title='Spring and hibernate: Lazy loading collections in desktop (swing) applications'>Spring and hibernate: Lazy loading collections in desktop (swing) applications</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/11/red-hot-chili-peppers-lyrics-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bird versus window</title>
		<link>http://pedroassuncao.com/2011/11/bird-versus-window/</link>
		<comments>http://pedroassuncao.com/2011/11/bird-versus-window/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 14:16:01 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[animals]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[nature]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1473</guid>
		<description><![CDATA[Is it me or did a bird crash into this window? The smudges on the outside really suggest it. Fascinating stuff! Except for the bird, that is No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Is it me or did a bird crash into this window? The smudges on the outside really suggest it. Fascinating stuff! Except for the bird, that is <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://pedroassuncao.com/wp-content/uploads/2011/11/bla3.png"><img class="alignnone size-medium wp-image-1474" title="Bird versus window" src="http://pedroassuncao.com/wp-content/uploads/2011/11/bla3-300x200.png" alt="" width="300" height="200" /></a></p>
<div class="shr-publisher-1473"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F11%2Fbird-versus-window%2F' data-shr_title='Bird+versus+window'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F11%2Fbird-versus-window%2F' data-shr_title='Bird+versus+window'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/11/bird-versus-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arm broken equals free time</title>
		<link>http://pedroassuncao.com/2011/10/arm-broken-equals-free-time/</link>
		<comments>http://pedroassuncao.com/2011/10/arm-broken-equals-free-time/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 11:18:46 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[dumbasses]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[sick]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1452</guid>
		<description><![CDATA[I have broken an arm. This is the 1st time in my life that I have broken any bones in my body. And it sucks! But, rather than being all pessimistic about it, I prefer to see the positive side. See, you get a lot of free time to do things that you probably have [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/03/the-aftermath-of-the-accelerated-free-fall-aff-course/' rel='bookmark' title='The aftermath of the Accelerated Free Fall (AFF) course'>The aftermath of the Accelerated Free Fall (AFF) course</a></li>
<li><a href='http://pedroassuncao.com/2011/07/200-skydives-and-a-long-way-to-go/' rel='bookmark' title='200 skydives and a long way to go'>200 skydives and a long way to go</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have broken an arm. This is the 1st time in my life that I have broken any bones in my body. And it sucks!</p>
<p>But, rather than being all pessimistic about it, I prefer to see the positive side. See, you get a lot of free time to do things that you probably have been postponing for ages. For instance, taking care of your taxes, organizing all the receipts of last year&#8217;s expenses, or even turning an old laptop into a hallway digital information system (yes, with one arm). These are the kind of things that I would definitely be dragging on for years before I finally came around to doing them.</p>
<p>Another good side of this situation is the fact that you learn how to be more resourceful because, obviously with only one available arm, trivial everyday tasks become rather challenging. To give you an example I bet that you have never tried to put on socks or open bottles with only one hand. This actually gave me an interesting idea which is to write a couple of posts about easier ways to perform some of these tasks. But that&#8217;s something for another occasion.</p>
<p>The same good side about breaking a bone, time, is also in itself really crappy. I cannot wait to go skydiving again so, naturally, I had to ask my doctor whether there was a way I could speed up the healing process. Maybe with some kind of calcium and/or vitamin supplements, I thought, my body would be good to go in a month. Of course the doctor, after laughing in my face, proceeded to explain that there isn&#8217;t really anything you can do but wait. The tissue regeneration takes about 3 weeks. Because, when you break a bone, you also do a lot of damage to the surrounding flesh, tendons, and muscles. The bone itself takes about 5 weeks to reach a state of good calcification. Finally, when you get the cast taken off, you have to do a bit of physiotherapy to get back the amplitude of movement on the joint(s) that have been on cast. The bone calcification will continue on for one or 2 months, after which it will be so much stronger that you will never break it in that same place again.</p>
<p>The bottom line is my doctor has now become my newest skydiving instructor: I will only be allowed to go up when he says so <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div class="shr-publisher-1452"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F10%2Farm-broken-equals-free-time%2F' data-shr_title='Arm+broken+equals+free+time'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F10%2Farm-broken-equals-free-time%2F' data-shr_title='Arm+broken+equals+free+time'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/03/the-aftermath-of-the-accelerated-free-fall-aff-course/' rel='bookmark' title='The aftermath of the Accelerated Free Fall (AFF) course'>The aftermath of the Accelerated Free Fall (AFF) course</a></li>
<li><a href='http://pedroassuncao.com/2011/07/200-skydives-and-a-long-way-to-go/' rel='bookmark' title='200 skydives and a long way to go'>200 skydives and a long way to go</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/10/arm-broken-equals-free-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swatch to sell touchscreen watches</title>
		<link>http://pedroassuncao.com/2011/09/swatch-to-sell-touchscreen-watches/</link>
		<comments>http://pedroassuncao.com/2011/09/swatch-to-sell-touchscreen-watches/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 23:45:33 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1446</guid>
		<description><![CDATA[They are coming out October 26th and i want one. Enough said No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Swatch-Touch-Collection.jpg"><img class="size-medium wp-image-1449 alignnone" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid black;" title="Swatch-Touch-Collection" src="http://pedroassuncao.com/wp-content/uploads/2011/09/Swatch-Touch-Collection-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Swatch-Touch-Collection.jpg"></a>They are <a href="http://techcrunch.com/2011/09/29/swatch-announces-touchscreen-watches">coming out October 26th</a> and i want one. Enough said <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div class="shr-publisher-1446"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fswatch-to-sell-touchscreen-watches%2F' data-shr_title='Swatch+to+sell+touchscreen+watches'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fswatch-to-sell-touchscreen-watches%2F' data-shr_title='Swatch+to+sell+touchscreen+watches'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/09/swatch-to-sell-touchscreen-watches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export Mysql result as CSV</title>
		<link>http://pedroassuncao.com/2011/09/export-mysql-result-as-csv/</link>
		<comments>http://pedroassuncao.com/2011/09/export-mysql-result-as-csv/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 20:25:04 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1439</guid>
		<description><![CDATA[Don&#8217;t ask me how the sed magic works, but it does. Taken from here. Running this: mysql -u&#60;USER&#62; -p&#60;PASSWORD&#62; &#60;DATABASE&#62; -B -e "select * from videos_video;" &#124; sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' will produce something like this: "id","title","url" "1","video 1","http://youtube(...)" "2","video 2","http://youtube(...)" "3","video 3","http://youtube(...)" Just pipe it to a .csv file and you&#8217;re done Related posts:How to export [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/07/how-to-export-hd-video-for-the-web/' rel='bookmark' title='How to export HD video for the web'>How to export HD video for the web</a></li>
<li><a href='http://pedroassuncao.com/2010/02/video-speed-controls-on-youtubes-html5-player/' rel='bookmark' title='Video speed controls on youtube&#8217;s HTML5 player'>Video speed controls on youtube&#8217;s HTML5 player</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Don&#8217;t ask me how the sed magic works, but it does. <a href="http://tlug.dnho.net/node/209">Taken from here</a>.</p>
<p>Running this:</p>
<pre>mysql -u&lt;USER&gt; -p&lt;PASSWORD&gt; &lt;DATABASE&gt; -B -e "select * from videos_video;" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g'</pre>
<p>will produce something like this:</p>
<pre>"id","title","url"
"1","video 1","http://youtube(...)"
"2","video 2","http://youtube(...)"
"3","video 3","http://youtube(...)"</pre>
<p>Just pipe it to a .csv file and you&#8217;re done <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-1439"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fexport-mysql-result-as-csv%2F' data-shr_title='Export+Mysql+result+as+CSV'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fexport-mysql-result-as-csv%2F' data-shr_title='Export+Mysql+result+as+CSV'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/07/how-to-export-hd-video-for-the-web/' rel='bookmark' title='How to export HD video for the web'>How to export HD video for the web</a></li>
<li><a href='http://pedroassuncao.com/2010/02/video-speed-controls-on-youtubes-html5-player/' rel='bookmark' title='Video speed controls on youtube&#8217;s HTML5 player'>Video speed controls on youtube&#8217;s HTML5 player</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/09/export-mysql-result-as-csv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice tweaks for OSX</title>
		<link>http://pedroassuncao.com/2011/09/nice-tweaks-for-osx/</link>
		<comments>http://pedroassuncao.com/2011/09/nice-tweaks-for-osx/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 14:11:06 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1433</guid>
		<description><![CDATA[I think most of them work on both Snow Leopard and Lion. Not sure about previous versions. Just type the ones you want to activate/deactivate on the command line and have fun. # Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs) defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 # Enable the [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/07/changing-default-browseremail-client-in-osx/' rel='bookmark' title='Changing default browser/email client in OSX'>Changing default browser/email client in OSX</a></li>
<li><a href='http://pedroassuncao.com/2010/12/is-your-safari-5-slow-heres-a-probable-problem-and-solution/' rel='bookmark' title='Is your Safari 5 slow? Here&#8217;s a probable problem and solution.'>Is your Safari 5 slow? Here&#8217;s a probable problem and solution.</a></li>
<li><a href='http://pedroassuncao.com/video/' rel='bookmark' title='Video'>Video</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I think most of them work on both Snow Leopard and Lion. Not sure about previous versions. Just type the ones you want to activate/deactivate on the command line and have fun.</p>
<pre># Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3

# Enable the 2D Dock
defaults write com.apple.dock no-glass -bool true

# Disable menu bar transparency
defaults write -g AppleEnableMenuBarTransparency -bool false

# Expand save panel by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true

# Expand print panel by default
defaults write -g PMPrintingExpandedStateForPrint -bool true

# Disable shadow in screenshots
defaults write com.apple.screencapture disable-shadow -bool true

# Enable highlight hover effect for the grid view of a stack (Dock)
defaults write com.apple.dock mouse-over-hilte-stack -bool true

# Enable spring loading for all Dock items
defaults write enable-spring-load-actions-on-all-items -bool true

# Disable press-and-hold for keys in favor of key repeat
defaults write -g ApplePressAndHoldEnabled -bool false

# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false

# Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

# Disable disk image verification
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true

# Automatically open a new Finder window when a volume is mounted
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true

# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

# Disable Safari’s thumbnail cache for History and Top Sites
defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2

# Enable Safari’s debug menu
defaults write com.apple.Safari IncludeDebugMenu -bool true

# Remove useless icons from Safari’s bookmarks bar
defaults write com.apple.Safari ProxiesInBookmarksBar "()"

# Disable send and reply animations in Mail.app
defaults write com.apple.Mail DisableReplyAnimations -bool true
defaults write com.apple.Mail DisableSendAnimations -bool true

# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false

# Enable Dashboard dev mode (allows keeping widgets on the desktop)
defaults write com.apple.dashboard devmode -bool true

# Reset Launchpad
rm ~/Library/Application\ Support/Dock/*.db

# Show the ~/Library folder
chflags nohidden ~/Library

# Disable local Time Machine backups
sudo tmutil disablelocal

# Kill affected applications
for app in Safari Finder Dock Mail; do killall "$app"; done

# Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
echo "0x08000100:0" &gt; ~/.CFUserTextEncoding</pre>
<p>The original source <a href="https://github.com/mathiasbynens/dotfiles/blob/master/.osx">can be found here</a>.</p>
<div class="shr-publisher-1433"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fnice-tweaks-for-osx%2F' data-shr_title='Nice+tweaks+for+OSX'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fnice-tweaks-for-osx%2F' data-shr_title='Nice+tweaks+for+OSX'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/07/changing-default-browseremail-client-in-osx/' rel='bookmark' title='Changing default browser/email client in OSX'>Changing default browser/email client in OSX</a></li>
<li><a href='http://pedroassuncao.com/2010/12/is-your-safari-5-slow-heres-a-probable-problem-and-solution/' rel='bookmark' title='Is your Safari 5 slow? Here&#8217;s a probable problem and solution.'>Is your Safari 5 slow? Here&#8217;s a probable problem and solution.</a></li>
<li><a href='http://pedroassuncao.com/video/' rel='bookmark' title='Video'>Video</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/09/nice-tweaks-for-osx/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Browser and visitor statistics</title>
		<link>http://pedroassuncao.com/2011/09/browser-and-visitor-statistics/</link>
		<comments>http://pedroassuncao.com/2011/09/browser-and-visitor-statistics/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 22:50:33 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[observations]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1425</guid>
		<description><![CDATA[Was just now looking at google analytics for my blog and got some surprises, especially when it comes to the browser people use to access it. Seems that Chrome is leading and Internet Explorer is dead. Long live Internet Explorer Also, very interesting is the fact that i&#8217;m Portuguese and Portugal is not on the [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/09/another-day-of-jumping-out-of-airplanes-d/' rel='bookmark' title='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/07/changing-default-browseremail-client-in-osx/' rel='bookmark' title='Changing default browser/email client in OSX'>Changing default browser/email client in OSX</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Was just now looking at google analytics for my blog and got some surprises, especially when it comes to the browser people use to access it. Seems that Chrome is leading and Internet Explorer is dead. Long live Internet Explorer <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div id="attachment_1427" class="wp-caption alignnone" style="width: 310px"><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-06-at-11.42.24-PM.png"><img class="size-medium wp-image-1427 " title="Browser usage" src="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-06-at-11.42.24-PM-300x149.png" alt="" width="300" height="149" /></a><p class="wp-caption-text">Browser usage</p></div>
<p>Also, very interesting is the fact that i&#8217;m Portuguese and Portugal is not on the top visitors&#8217; countries list. Special thanks to my followers in India, you know who you are <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_1426" class="wp-caption alignnone" style="width: 310px"><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-06-at-11.43.43-PM.png"><img class="size-medium wp-image-1426 " title="Language" src="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-06-at-11.43.43-PM-300x182.png" alt="" width="300" height="182" /></a><p class="wp-caption-text">Language</p></div>
<p>UPDATE: As requested by a friend of mine, here are some more statistics: Top sources and keywords.</p>
<div id="attachment_1431" class="wp-caption alignnone" style="width: 310px"><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-07-at-9.59.27-AM.png"><img class="size-medium wp-image-1431 " title="Top sources chart" src="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-07-at-9.59.27-AM-300x164.png" alt="" width="300" height="164" /></a><p class="wp-caption-text">Top sources chart</p></div>
<div id="attachment_1430" class="wp-caption alignnone" style="width: 310px"><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-07-at-10.00.44-AM.png"><img class="size-medium wp-image-1430" title="Top sources list" src="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-07-at-10.00.44-AM-300x90.png" alt="" width="300" height="90" /></a><p class="wp-caption-text">Top sources list</p></div>
<div id="attachment_1429" class="wp-caption alignnone" style="width: 310px"><a href="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-07-at-10.01.10-AM.png"><img class="size-medium wp-image-1429" title="Top keywords" src="http://pedroassuncao.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-07-at-10.01.10-AM-300x203.png" alt="" width="300" height="203" /></a><p class="wp-caption-text">Top keywords</p></div>
<p>Peace out <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="shr-publisher-1425"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fbrowser-and-visitor-statistics%2F' data-shr_title='Browser+and+visitor+statistics'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F09%2Fbrowser-and-visitor-statistics%2F' data-shr_title='Browser+and+visitor+statistics'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/09/another-day-of-jumping-out-of-airplanes-d/' rel='bookmark' title='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/07/changing-default-browseremail-client-in-osx/' rel='bookmark' title='Changing default browser/email client in OSX'>Changing default browser/email client in OSX</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/09/browser-and-visitor-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>200 skydives and a long way to go</title>
		<link>http://pedroassuncao.com/2011/07/200-skydives-and-a-long-way-to-go/</link>
		<comments>http://pedroassuncao.com/2011/07/200-skydives-and-a-long-way-to-go/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 10:25:47 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[skydiving]]></category>
		<category><![CDATA[sports]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1410</guid>
		<description><![CDATA[This Saturday &#8211; while coming back from the dropzone &#8211; i noticed that my last jump of the day had been my 200th. After realizing it, i started thinking about what it means and came to the conclusion that it means nothing. Think about it: that&#8217;s only about 3 hours of training (each skydive is [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2009/10/ahhhh-just-had-my-fix/' rel='bookmark' title='Ahhhh, just had my fix :)'>Ahhhh, just had my fix :)</a></li>
<li><a href='http://pedroassuncao.com/2009/11/one-weekend-one-jump-totally-worth-it/' rel='bookmark' title='One weekend, one jump, totally worth it'>One weekend, one jump, totally worth it</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This Saturday &#8211; while coming back from the dropzone &#8211; i noticed that my last jump of the day had been my 200th. After realizing it, i started thinking about what it means and came to the conclusion that it means nothing. Think about it: that&#8217;s only about 3 hours of training (each skydive is around 1 minute), diluted across endless times of waiting to jump. Now, in any other sport, you can easily practice much more frequently and more at a time. And you would still be far, far away from becoming a pro. Hell, even people with 30 hours of skydiving time would not be considered even remotely close to pro in any other sport, since it takes much more than that to master anything.</p>
<p>So, while it does make me feel good to have achieved almost half of one of my current skydiving goals (becoming an instructor) and fully accomplishing another one (have enough jumps to start practicing wingsuit flying) i have to conclude that there is still a loooong way to go to achieve perfection. In the meantime, one tries to have fun walking the path <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Blue skies.</p>
<p><iframe src='http://player.vimeo.com/video/25967294?portrait=0' width='500' height='380' frameborder='0'></iframe></p>
<div class="shr-publisher-1410"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F07%2F200-skydives-and-a-long-way-to-go%2F' data-shr_title='200+skydives+and+a+long+way+to+go'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F07%2F200-skydives-and-a-long-way-to-go%2F' data-shr_title='200+skydives+and+a+long+way+to+go'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2009/10/ahhhh-just-had-my-fix/' rel='bookmark' title='Ahhhh, just had my fix :)'>Ahhhh, just had my fix :)</a></li>
<li><a href='http://pedroassuncao.com/2009/11/one-weekend-one-jump-totally-worth-it/' rel='bookmark' title='One weekend, one jump, totally worth it'>One weekend, one jump, totally worth it</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/07/200-skydives-and-a-long-way-to-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX: Change time machine auto backup interval</title>
		<link>http://pedroassuncao.com/2011/05/osx-change-time-machine-auto-backup-interval/</link>
		<comments>http://pedroassuncao.com/2011/05/osx-change-time-machine-auto-backup-interval/#comments</comments>
		<pubDate>Thu, 26 May 2011 07:56:45 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1404</guid>
		<description><![CDATA[The default time machine backup interval is every hour. Sometimes this can be really annoying so, if you find yourself in need to change this, here&#8217;s how: Navigate to /System/Library/LaunchDaemons and locate the file named com.apple.backupd-auto.plist. Inside this file you will find the following content: &#60;key&#62;StartInterval&#60;/key&#62; &#60;integer&#62;3600&#60;/integer&#62; 3600 means hourly (60 minutes X 60 seconds). [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2011/03/why-you-should-sleep-at-least-7-hours-per-night/' rel='bookmark' title='Why you should sleep at least 7 hours per night'>Why you should sleep at least 7 hours per night</a></li>
<li><a href='http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/' rel='bookmark' title='Lack of RAM will kill your blog host virtual machine'>Lack of RAM will kill your blog host virtual machine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The default time machine backup interval is every hour. Sometimes this can be really annoying so, if you find yourself in need to change this, here&#8217;s how:</p>
<p>Navigate to <strong><em>/System/Library/LaunchDaemons</em></strong> and locate the file named<strong><em> com.apple.backupd-auto.plist.</em></strong></p>
<p>Inside this file you will find the following content:</p>
<pre> &lt;key&gt;StartInterval&lt;/key&gt;
 &lt;integer&gt;3600&lt;/integer&gt;</pre>
<p>3600 means hourly (60 minutes X 60 seconds). If you multiply by 4, for instance, and use that value (14400) you will have automatic backups every 4 hours instead. Or whatever interval you prefer.<br />
Happy backing up <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-1404"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F05%2Fosx-change-time-machine-auto-backup-interval%2F' data-shr_title='OSX%3A+Change+time+machine+auto+backup+interval'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F05%2Fosx-change-time-machine-auto-backup-interval%2F' data-shr_title='OSX%3A+Change+time+machine+auto+backup+interval'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2011/03/why-you-should-sleep-at-least-7-hours-per-night/' rel='bookmark' title='Why you should sleep at least 7 hours per night'>Why you should sleep at least 7 hours per night</a></li>
<li><a href='http://pedroassuncao.com/2010/03/lack-of-ram-will-kill-your-blog-host-virtual-machine/' rel='bookmark' title='Lack of RAM will kill your blog host virtual machine'>Lack of RAM will kill your blog host virtual machine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/05/osx-change-time-machine-auto-backup-interval/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NonUniqueObjectException: a different object with the same identifier value was already associated with the session</title>
		<link>http://pedroassuncao.com/2011/05/nonuniqueobjectexception-a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session/</link>
		<comments>http://pedroassuncao.com/2011/05/nonuniqueobjectexception-a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session/#comments</comments>
		<pubDate>Thu, 05 May 2011 18:00:26 +0000</pubDate>
		<dc:creator>Pedro Assunção</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[findings]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://pedroassuncao.com/?p=1399</guid>
		<description><![CDATA[If you are developing in Swing and using hibernate you might &#8211; at some point in time &#8211; run into this exception: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session What happened, you might ask? Well, turns out that when you close the session that created a given [...]


Related posts:<ol><li><a href='http://pedroassuncao.com/2010/12/spring-and-hibernate-lazy-loading-collections-in-desktop-swing-applications/' rel='bookmark' title='Spring and hibernate: Lazy loading collections in desktop (swing) applications'>Spring and hibernate: Lazy loading collections in desktop (swing) applications</a></li>
<li><a href='http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/' rel='bookmark' title='Spring : inject proxy instead of proxied object'>Spring : inject proxy instead of proxied object</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you are developing in <a href="http://en.wikipedia.org/wiki/Swing_(Java)">Swing</a> and using <a href="http://www.hibernate.org/">hibernate</a> you might &#8211; at some point in time &#8211; run into this exception:</p>
<pre>org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session</pre>
<p><strong>What happened</strong>, you might ask? Well, turns out that when you close the session that created a given hibernate-managed object, this object becomes &#8220;detached&#8221; (meaning hibernate no longer has any control over it). So, when you attempt to save or update it in another session, hibernate will complain with that exception, because it can no longer tell which is the &#8220;true&#8221; version of the object.</p>
<p><strong>The solution(s)</strong>? Look inside your code for places where you might be closing the session and take that out. That&#8217;s the solution in the case where you are using a long session (one that spans the entirety of the application&#8217;s life). In case you really want to close the session, you might consider using the session&#8217;s merge() method, which basically merges the fields in both the attached and non-attached instances of the object, and performs an update.</p>
<p>Hope that saves someone half a day of debugging <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="shr-publisher-1399"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F05%2Fnonuniqueobjectexception-a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session%2F' data-shr_title='NonUniqueObjectException%3A+a+different+object+with+the+same+identifier+value+was+already+associated+with+the+session'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fpedroassuncao.com%2F2011%2F05%2Fnonuniqueobjectexception-a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session%2F' data-shr_title='NonUniqueObjectException%3A+a+different+object+with+the+same+identifier+value+was+already+associated+with+the+session'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->

<p>Related posts:<ol><li><a href='http://pedroassuncao.com/2010/12/spring-and-hibernate-lazy-loading-collections-in-desktop-swing-applications/' rel='bookmark' title='Spring and hibernate: Lazy loading collections in desktop (swing) applications'>Spring and hibernate: Lazy loading collections in desktop (swing) applications</a></li>
<li><a href='http://pedroassuncao.com/2010/04/spring-inject-proxy-instead-of-proxied-object/' rel='bookmark' title='Spring : inject proxy instead of proxied object'>Spring : inject proxy instead of proxied object</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://pedroassuncao.com/2011/05/nonuniqueobjectexception-a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

