<?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>Mangelp&#039;s Blog</title>
	<atom:link href="http://mangelp.ilikecoffee.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://mangelp.ilikecoffee.net</link>
	<description>Mangelp&#039;s software blog, in english</description>
	<lastBuildDate>Wed, 01 Jun 2011 17:16:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Liferay&#8217;s poor JavaDoc problem</title>
		<link>http://mangelp.ilikecoffee.net/2011/06/01/liferays-poor-javadoc-problem/</link>
		<comments>http://mangelp.ilikecoffee.net/2011/06/01/liferays-poor-javadoc-problem/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 17:15:08 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[liferay]]></category>
		<category><![CDATA[liferay API naked javadoc problem]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/wp/?p=3</guid>
		<description><![CDATA[One of the many Lifeary&#8217;s features is the lack of &#8220;proper JavaDoc&#8221;. To make it clear &#8220;proper JavaDoc&#8221; means having not only listings of classes and methods with parameter types, but having for each interface method a description of what that method does, even if it is a two-line description. But don&#8217;t get it wrong, [...]]]></description>
			<content:encoded><![CDATA[<p>One of the many Lifeary&#8217;s<del></del> features is the lack of &#8220;proper JavaDoc&#8221;.</p>
<p>To make it clear &#8220;proper JavaDoc&#8221; means having not only listings of classes and methods with parameter types, but having for each interface method a description of what that method does, even if it is a two-line description.</p>
<p>But don&#8217;t get it wrong, the description must be non-trivial and meaningful, not like the ones generated by IDEs like &#8220;This method gets the cost&#8221; on method &#8220;getCost&#8221;, as that is worth nothing. If some method can only have a trivial comment it can be safely left blank.</p>
<p>This lack of &#8220;proper javadoc&#8221; made me loose a couple of hours today reviewing code that created articles programmatically because the last version of them was not shown. We used the next method to get an article display instance for displaying it in one of our portlets:</p>
<p><code>JournalArticleLocalServiceUtil.getArticleDisplay(groupId, articleId, viewMode, languageId, themeDisplay);</code></p>
<p>After ensuring that our code was working right I took a trip into Liferay&#8217;s source code and after reading/debugging the method I found it returns the article display of the first article it founds that have a display date before the current time (Date()) and that is not expired, so instead of the latest version that was the last one in the list got from db it returned the previous one because it fullfilled these conditions, ¿but how could you know that looking at a naked JavaDoc API?</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2011/06/01/liferays-poor-javadoc-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world from WordPress!</title>
		<link>http://mangelp.ilikecoffee.net/2011/02/12/hello-world/</link>
		<comments>http://mangelp.ilikecoffee.net/2011/02/12/hello-world/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 11:46:50 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/wp/?p=1</guid>
		<description><![CDATA[Just moved from JAWS to WordPress!]]></description>
			<content:encoded><![CDATA[<p>Just moved from JAWS to WordPress!</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2011/02/12/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strange error in IIS with domains 22 characters long or more</title>
		<link>http://mangelp.ilikecoffee.net/2010/12/31/strange-error-in-iis-with-domains-22-characters-long-or-more/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/12/31/strange-error-in-iis-with-domains-22-characters-long-or-more/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 12:15:42 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Strange-error-in-IIS-with-domains-22-characters-long-or-more.html</guid>
		<description><![CDATA[I&#8217;ve been migrating web sites developed in classic ASP (BTW classic ASP sucks!) and as soon as I started with it I found an extrange problem. When some sites were opened in a browser w3wp.exe (IIS worker process) crashed with code 0&#215;0000374, but the most weird thing was that only sites with domain names longer [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been migrating web sites developed in classic ASP (BTW classic ASP sucks!) and as soon as I started with it I found an extrange problem. When some sites were opened in a browser w3wp.exe (IIS worker process) crashed with code 0&#215;0000374, but the most weird thing was that only sites with domain names longer than 21 characters were crashing (WTF!!).</p>
</p>
<p>After a lot of googling for the error code, checking for similar errors, downloading tools, installing debugging tools, installing debugging symbols, getting the crash dump, messing with wercon registry keys and a load of try and error I got to the stack trace of the crash comming out of dynamiciprestrictions.dll being the source of an exception.</p>
</p>
<p>The problem turned out that our hosting company gave us the server with all the software we needed and some that we didn&#8217;t, like <a title="Dynamic IP Restrictions" href="http://www.iis.net/download/dynamiciprestrictions">&#8220;Dynamic IP Restrictions&#8221;</a> a IIS7 module (that is were the dll came from) wich was a BETA version more than a year old <img src='http://mangelp.ilikecoffee.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
</p>
<p>Currently there is a BETA 2 out, but I&#8217;m not going to waste more time with this until gets out of BETA, so I&#8217;ve disabled it and sent a complain to the hosting company.</p>
</p>
<p>Anyways I&#8217;m glad I solved this this year <img src='http://mangelp.ilikecoffee.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/12/31/strange-error-in-iis-with-domains-22-characters-long-or-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network is unreachable after upgrading from Fedora 13 to Fedora 14</title>
		<link>http://mangelp.ilikecoffee.net/2010/11/28/network-is-unreachable-after-upgrading-from-fedora-13-to-fedora-14/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/11/28/network-is-unreachable-after-upgrading-from-fedora-13-to-fedora-14/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 18:55:41 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[NetworkManager]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Network-is-unreachable-after-upgrading-from-Fedora-13-to-Fedora-14.html</guid>
		<description><![CDATA[Today I&#8217;ve upgraded to Fedora 14 and the first thing I found was that I didn&#8217;t have network access. In console all commands failed with a &#8220;connect: Network is unreachable&#8221; message. After wandering for a while what the heck was wrong I took a look at the output of &#8216;ip route&#8217; and I discovered that [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve upgraded to Fedora 14 and the first thing I found was that I didn&#8217;t have network access. In console all commands failed with a &#8220;connect: Network is unreachable&#8221; message.</p>
<p>After wandering for a while what the heck was wrong I took a look at the output of &#8216;ip route&#8217; and I discovered that there was not a default route, oh sh**!</p>
<table style="border-color: #897687; border-width: 0px; background-color: #191919;" border="0" align="center">
<tbody>
<tr>
<td><span style="color: #ffffff;">[mangelp@hyperion ~]$ ip route</span>&nbsp;</p>
<p><span style="color: #ffffff;">192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.129  metric 2 </span></td>
</tr>
</tbody>
</table>
<p>It seems that NetworkManager didn&#8217;t set the default route after connecting, so no connection can be done with any ip address not specifically routed (a route for the local network is the only one added).</p>
<p>This can be easily fixed with the command &#8216;ip route add default via 192.168.0.1&#8242;. Here 192.168.0.1 is the gateway (my router).</p>
<table style="border-color: #897687; border-width: 0px; background-color: #191919;" border="0" align="center">
<tbody>
<tr>
<td><span style="color: #ffffff;">[mangelp@hyperion ~]$ ip route add default via 192.168.0.1</span>&nbsp;</p>
<p><span style="color: #ffffff;">[mangelp@hyperion ~]$ ip route</span></p>
<p><span style="color: #ffffff;">192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.129  metric 2 </span></p>
<p><span style="color: #ffffff;">default via 192.168.0.1 dev wlan0<br />
</span></td>
</tr>
</tbody>
</table>
<p>After executing this I can connect to internet again.</p>
<p><del><strong>UPDATE:</strong> Three months after, the <a title="Network Manager Bug" href="https://bugzilla.redhat.com/show_bug.cgi?id=642596">bug</a> is still there.</del></p>
<p>This bug is already solved in latest Fedora 14 updates and was half dhcp and half NetworkManager.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/11/28/network-is-unreachable-after-upgrading-from-fedora-13-to-fedora-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scalar type hinting is almost coming &#8230;</title>
		<link>http://mangelp.ilikecoffee.net/2010/11/26/scalar-type-hinting-is-almost-coming/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/11/26/scalar-type-hinting-is-almost-coming/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 09:25:11 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Scalar-type-hinting-is-almost-coming-....html</guid>
		<description><![CDATA[I&#8217;m all for this proposal, that would solve some issues that make php look dirty. But seems from this blog post that they are thinking on implementing it as an optional feature. This means that you must provide, throught an extension or php code or anything else, the strict checking stuff. I think doing that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m all for <a title="Strict type checks with scalar type hinting" href="http://wiki.php.net/rfc/typecheckingstrictonly">this proposal</a>, that would solve some <a title="Type hinting limitations" href="index.php/blog/show/PHP-Type-hinting-limitations.html">issues that make php look dirty</a>. But seems from <a href="http://sebastian-bergmann.de/archives/900-Scalar-Type-Hints-in-PHP-5.3.99.html">this blog post</a> that they are thinking on implementing it as an <a href="http://wiki.php.net/rfc/typecheckingparseronly">optional feature</a>. This means that you must provide, throught an extension or php code or anything else, the strict checking stuff.</p>
<p>I think doing that as an optional feature is a fail for PHP as the whole point after type hinting is to force strict types in the parameters of a function call and force the caller of the function to cast&amp;check the types saving time to the function developer and also keeping the peace of mind of knowing that an integer parameter will be always an integer. Also allowing devels to specify the semantic of optional hints can be a source of incoherent behaviour in APIs beetween applications.</p>
<p>PHP is a powerfull dynamic language, but has a lots of stuff that causes more suffering than benefit. I wonder when will came the time to clean up, break the damm backward compatibility and let it evolve to the next level.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/11/26/scalar-type-hinting-is-almost-coming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vi hangs when you press CONTROL+S by mistake</title>
		<link>http://mangelp.ilikecoffee.net/2010/06/13/vi-hangs-when-you-press-controls-by-mistake/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/06/13/vi-hangs-when-you-press-controls-by-mistake/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 12:39:59 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Vi-hangs-when-you-press-CONTROL%2BS-by-mistake.html</guid>
		<description><![CDATA[Being used to save changes often while editing a file with development environments and editors that has the shortcut CONTROL+s can cause you a little trouble if you edit a file with vi in a terminal and you press CONTROL+s. What you get is that vi seems to hang, but the real thing that is [...]]]></description>
			<content:encoded><![CDATA[<p>Being used to save changes often while editing a file with development environments and editors that has the shortcut CONTROL+s can cause you a little trouble if you edit a file with vi in a terminal and you press CONTROL+s. What you get is that vi seems to hang, but the real thing that is happening is that the terminal have stopped showing output, not a vi issue at all. To solve it you simply press CONTROL+q and you will get your output back. This <a href="http://www.faqs.org/docs/Linux-HOWTO/Vim-HOWTO.html#emacs_old_habits">faq</a> explains it.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/06/13/vi-hangs-when-you-press-controls-by-mistake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring error_reporting in .htaccess</title>
		<link>http://mangelp.ilikecoffee.net/2010/06/04/configuring-error_reporting-in-htaccess/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/06/04/configuring-error_reporting-in-htaccess/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 07:20:02 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Configuring-error_reporting-in-.htaccess.html</guid>
		<description><![CDATA[Its as easy as: [terminal] php_value error_reporting 24575 [/terminal] Note that you can&#8217;t use php constants for errors. 24575 is the value of ((E_ALL ^ E_DEPRECATED) &#124; E_STRICT) that disables deprecation warnings and turns on everything else. You should check constant values or write a php script and print the value to be set.]]></description>
			<content:encoded><![CDATA[<p>Its as easy as:<br />
[terminal]<br />
php_value error_reporting      24575<br />
[/terminal]<br />
Note that you can&#8217;t use php constants for errors. 24575 is the value of ((E_ALL ^ E_DEPRECATED) | E_STRICT) that disables deprecation warnings and turns on everything else. You should check <a href="http://us2.php.net/manual/en/errorfunc.constants.php">constant values</a> or write a php script and print the value to be set.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/06/04/configuring-error_reporting-in-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Type hinting limitations</title>
		<link>http://mangelp.ilikecoffee.net/2010/04/13/php-type-hinting-limitations/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/04/13/php-type-hinting-limitations/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 10:05:59 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/PHP-Type-hinting-limitations.html</guid>
		<description><![CDATA[PHP is a very popular dynamic language that empowers hundreds of web sites, this blog included, but at current time it has an object-oriented implementation that lacks some stuff I would love to have. For example today i tried this method definition that uses type hinting as I wanted only class instances as values for [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is a very popular dynamic language that empowers hundreds of web sites, this blog included, but at current time it has an object-oriented implementation that lacks some stuff I would love to have.</p>
<p>For example today i tried this method definition that uses <a href="http://es2.php.net/manual/en/language.oop5.typehinting.php">type hinting</a> as I wanted only class instances as values for the $target parameter:</p>
<p>[code='PHP']<br />
public function myMethod(object $target) {<br />
  ... My Method logic ...<br />
}<br />
[/code]</p>
<p>But when you execute the method PHP complains at every defined class you pass, and that&#8217;s because in PHP each defined class doesn&#8217;t inherit automatically for object, so if you wanted that, you are in trouble and the only thing you can do is add a check in the method body:</p>
<p>[code='PHP']<br />
public function myMethod($target) {<br />
    if (!is_object($target)) {<br />
        throw new Exception("Parameter $target must be a class instance");<br />
    }</p>
<p>    ... My Method logic ...<br />
}<br />
[/code]</p>
<p>But that requires wasting 3 lines of code and the time to type them with something the language could do itself and almost do, as you can put there your own class or interface and pass instances that inherit or implement them.</p>
<p>Hopefully there is more people interested in PHP getting improvements in it&#8217;s OO implementation and there is almost a <a href="http://ilia.ws/archives/206-Type-hinting-rehashed-now-with-type-casting-support.html">working patch</a> somewhere to add support for what I wanted to do and more. Maybe it can make it way into the long expected <a href="http://jero.net/articles/php6">PHP 6</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/04/13/php-type-hinting-limitations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal or Joomla? That&#8217;s the question</title>
		<link>http://mangelp.ilikecoffee.net/2010/04/10/drupal-or-joomla-thats-the-question/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/04/10/drupal-or-joomla-thats-the-question/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 11:51:07 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Drupal-or-Joomla%3F-That%27s-the-question.html</guid>
		<description><![CDATA[I&#8217;ve just made that question to myself and found something that maybe answers it: Drupal Vs Joomla, frank comparison from an IBM consultant.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just made that question to myself and found something that maybe answers it: <a href="http://www.topnotchthemes.com/blog/090224/drupal-vs-joomla-frank-comparison-ibm-consultant">Drupal Vs Joomla, frank comparison from an IBM consultant</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/04/10/drupal-or-joomla-thats-the-question/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon Quantum Cloud Computing</title>
		<link>http://mangelp.ilikecoffee.net/2010/04/01/amazon-quantum-cloud-computing/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/04/01/amazon-quantum-cloud-computing/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 18:02:39 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Amazon-Quantum-Cloud-Computing.html</guid>
		<description><![CDATA[Amazing, if it were true: Amazon Quantum Cloud Computing]]></description>
			<content:encoded><![CDATA[<p>Amazing, if it were true: <a href="http://aws.typepad.com/aws/2010/04/introducing-qc2-the-quantum-compute-cloud.html" alt="Amazon AWS blog. Amazon Quantum Cloud Computing">Amazon Quantum Cloud Computing</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/04/01/amazon-quantum-cloud-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Errors upgrading kernel and nvidia propietary drivers in Fedora 12</title>
		<link>http://mangelp.ilikecoffee.net/2010/04/01/errors-upgrading-kernel-and-nvidia-propietary-drivers-in-fedora-12/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/04/01/errors-upgrading-kernel-and-nvidia-propietary-drivers-in-fedora-12/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 09:28:53 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Errors-upgrading-kernel-and-nvidia-propietary-drivers-in-Fedora-12.html</guid>
		<description><![CDATA[Today the update for the latest kernel and nvidia drivers failed due to a dependency problem with kmod-nvidia-2.6.30.10-105.2.23.fc11.i686.PAE.i686, so the update fails with an error message that looks like the one in this bug report. In my case this happens because kmod-nvidia-2.6.30.10 (short for kmod-nvidia-2.6.30.10-105.2.23.fc11.i686.PAE.i686) is a dependency of kernel-2.6.30.10, and that kernel is being [...]]]></description>
			<content:encoded><![CDATA[<p>Today the update for the latest kernel and nvidia drivers failed due to a dependency problem with kmod-nvidia-2.6.30.10-105.2.23.fc11.i686.PAE.i686, so the update fails with an error message that looks like the one in <a href="http://yum.baseurl.org/ticket/451">this bug report</a>.</p>
<p>In my case this happens because <i>kmod-nvidia-2.6.30.10</i> (short for kmod-nvidia-2.6.30.10-105.2.23.fc11.i686.PAE.i686) is a dependency of kernel-2.6.30.10, and that kernel is being removed because it was already the older one (always the two previous versions of the kernel are kept in case the newer one gives you any problem).<br />
Then the dependency test fails because <i>kmod-nvidia-2.6.30.10</i> was installed and yum is not removing that dependency before removing the kernel. This is something that I remember it to happen before, but it was some time ago and since then all the upgrades have been successful. </p>
<p>I don&#8217;t know why it happens again, but the fix is easy, remove <i>kmod-nvidia-2.6.30.10</i> by hand and then do the update:<br />
[terminal]<br />
sudo yum remove kmod-nvidia-2.6.30.10-105.2.23.fc11.i686.PAE.i686<br />
&#8230;<br />
sudo yum update<br />
[/terminal]</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/04/01/errors-upgrading-kernel-and-nvidia-propietary-drivers-in-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Songbird 1.4.3 from tarball in Fedora 12</title>
		<link>http://mangelp.ilikecoffee.net/2010/03/28/songbird-1-4-3-from-tarball-in-fedora-12/</link>
		<comments>http://mangelp.ilikecoffee.net/2010/03/28/songbird-1-4-3-from-tarball-in-fedora-12/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 15:11:08 +0000</pubDate>
		<dc:creator>Miguel Ángel Pérez</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mangelp.ilikecoffee.net/index.php/blog/show/Songbird-1.3.2-problems-in-Fedora-12.html</guid>
		<description><![CDATA[I&#8217;m a big fan of songbird. Before knowing about it i tried xmms, amarok, audacious, exaile and command-line mpg321. But songbird is by far the one i like most. Lately i&#8217;ve getting strange issues with the contributed rpm of songbird 1.4.3 for Fedora 12, so i decided to try 1.4.3 from tarball to see if [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of songbird. Before knowing about it i tried xmms, amarok, audacious, exaile and command-line mpg321. But songbird is by far the one i like most.</p>
<p>Lately i&#8217;ve getting strange issues with the contributed rpm of songbird 1.4.3 for Fedora 12, so i decided to try 1.4.3 from tarball to see if it worked better, but it didn&#8217;t worked due to incompatibilities between the installed gstreamer libraries and the ones used to make the songbird build.<br />
The fix is easier than you might think, you simply have to define and <a href="http://wiki.songbirdnest.com/Docs/Environment_Variables">environment variable</a> that makes songbird to use the libraries included in the package:</p>
<table style="color:#cfcfcf;background-color:#000000;width:90%;margin-left:auto;margin-right:auto;font-size:95%">
<tr>
<td>
SB_GST_NO_SYSTEM=1 /path/to/Songbird/songbird &#038;
</td>
</tr>
</table>
<p>Or better, a launcher in your desktop. First create a launch script accesible from your path or add $HOME/bin to the path in $HOME/.bash_rc.</p>
<table style="color:#cfcfcf;background-color:#000000;width:90%;margin-left:auto;margin-right:auto;font-size:95%">
<tr>
<td>
#!/bin/bash<br />
SB_GST_NO_SYSTEM=1 /path/to/Songbird/songbird $@
</td>
</tr>
</table>
<p>Give the script execution permission:</p>
<table style="color:#cfcfcf;background-color:#000000;width:90%;margin-left:auto;margin-right:auto;font-size:95%">
<tr>
<td>
chmod u+x /path/to/launchScript
</td>
</tr>
</table>
<p>Then you only have to create the launcher using that script:</p>
<table style="color:#cfcfcf;background-color:#000000;width:90%;margin-left:auto;margin-right:auto;font-size:95%">
<tr>
<td>
#!/usr/bin/env xdg-open<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Version=1.4.3<br />
Type=Application<br />
Terminal=false<br />
Name[es_ES]=Songbird<br />
Exec=/path/to/launchScrip<br />
Comment[es_ES]=Songbird<br />
Icon[es_ES]=/path/to/Songbird/songbird-512.png<br />
Name=Songbird<br />
Comment=Songbird<br />
Icon=/path/to/Songbird/songbird-512.png
</td>
</tr>
</table>
<p>And you should be all set to listen to your favourite music.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangelp.ilikecoffee.net/2010/03/28/songbird-1-4-3-from-tarball-in-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

