<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gustavo Straube</title>
	<atom:link href="http://gustavostraube.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gustavostraube.wordpress.com</link>
	<description>OO software development and related stuff</description>
	<lastBuildDate>Thu, 06 Jan 2011 16:09:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gustavostraube.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Gustavo Straube</title>
		<link>http://gustavostraube.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gustavostraube.wordpress.com/osd.xml" title="Gustavo Straube" />
	<atom:link rel='hub' href='http://gustavostraube.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Weight in words</title>
		<link>http://gustavostraube.wordpress.com/2011/01/06/weight-in-words/</link>
		<comments>http://gustavostraube.wordpress.com/2011/01/06/weight-in-words/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 16:09:15 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[accessibility]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=145</guid>
		<description><![CDATA[I&#8217;m sharing a simple piece of PHP code I&#8217;ve wrote that returns a given weight in words. My function uses the SI (International System of Units), but you can easily change the code and adapt it to another measurement system. It&#8217;s also simple translate it to another programming language. function weight($weight) { $weight = (float) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=145&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2011/01/06/weight-in-words/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Model instances with Active Record on CodeIgniter</title>
		<link>http://gustavostraube.wordpress.com/2010/11/24/model-instances-with-active-record-on-codeigniter/</link>
		<comments>http://gustavostraube.wordpress.com/2010/11/24/model-instances-with-active-record-on-codeigniter/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 13:46:40 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=141</guid>
		<description><![CDATA[Recently we developed at CodeKings a customized CMS to meet specific needs for a client. One of the requirements of this project was that we had to use the CodeIgniter MVC framework. Early in the programming, we feel the need to access methods of model&#8217;s objects to navigate the hierarchy of classes. Thus, in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=141&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2010/11/24/model-instances-with-active-record-on-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Magento on Mac OS X</title>
		<link>http://gustavostraube.wordpress.com/2010/09/21/running-magento-on-mac-os-x/</link>
		<comments>http://gustavostraube.wordpress.com/2010/09/21/running-magento-on-mac-os-x/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 02:04:11 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=119</guid>
		<description><![CDATA[I recently formatted my MacBook and I chose to use PHP that comes with the operating system. This version comes with a few libraries installed, then you need to make some customizations. First you must enable the PHP module in Apache, there are several tutorials talking about it on the web. A quick Google search [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=119&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2010/09/21/running-magento-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac OS X and Java 1.6, keyboard input</title>
		<link>http://gustavostraube.wordpress.com/2010/08/24/mac-os-x-and-java-1-6-keyboard-input/</link>
		<comments>http://gustavostraube.wordpress.com/2010/08/24/mac-os-x-and-java-1-6-keyboard-input/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 11:59:24 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=113</guid>
		<description><![CDATA[Few months ago, after I updated (via Apple&#8217;s software update) my Java from 1.5 to 1.6, some applications started to have a strange behavior: the input by keyboard simply didn&#8217;t work as expected. Some keys, like return and shift, does work, but all letters and numbers not. Only in the past week I&#8217;ve discovered why. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=113&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2010/08/24/mac-os-x-and-java-1-6-keyboard-input/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Framework: Cannot save a row unless it is connected</title>
		<link>http://gustavostraube.wordpress.com/2010/05/11/zend-framework-cannot-save-a-row-unless-it-is-connected/</link>
		<comments>http://gustavostraube.wordpress.com/2010/05/11/zend-framework-cannot-save-a-row-unless-it-is-connected/#comments</comments>
		<pubDate>Wed, 12 May 2010 01:46:23 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=107</guid>
		<description><![CDATA[Recently I was working on developing an application in PHP using Zend Framework, and when I tried to do an action that used the database in an previously serialized object that extends the class Zend_Db_Table_Row_Abstract &#8211; stored in a session, for example &#8211; an exception was thrown with the following message: Cannot save a row [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=107&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2010/05/11/zend-framework-cannot-save-a-row-unless-it-is-connected/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Recursive chmod</title>
		<link>http://gustavostraube.wordpress.com/2010/04/27/recursive-chmod/</link>
		<comments>http://gustavostraube.wordpress.com/2010/04/27/recursive-chmod/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:39:41 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux/unix]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=102</guid>
		<description><![CDATA[Sometimes you need to change the access control to files matching some requirement. E.g. today I needed grant execute access to the owner of all PHP scripts running under Apache HTTP Server, in a specific directory. To do it, if you try the following command, you will not get the expected result: chmod -R u+x [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=102&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2010/04/27/recursive-chmod/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Checking if a form was sent via POST method</title>
		<link>http://gustavostraube.wordpress.com/2010/03/11/checking-if-a-form-was-sent-via-post-method/</link>
		<comments>http://gustavostraube.wordpress.com/2010/03/11/checking-if-a-form-was-sent-via-post-method/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 22:53:41 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=94</guid>
		<description><![CDATA[Since I started programming with PHP I&#8217;ve used several ways to check if a form was sent via the POST method. This is useful when the same method of control (or the same script, if you&#8217;re using structured programming or not using the MVC model) handle the form presentation and also its submission. I used [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=94&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2010/03/11/checking-if-a-form-was-sent-via-post-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieving an hierarchical tree recursively with PL/PgSQL</title>
		<link>http://gustavostraube.wordpress.com/2009/11/17/retrieving-an-hierarchical-tree-recursively-with-plpgsql/</link>
		<comments>http://gustavostraube.wordpress.com/2009/11/17/retrieving-an-hierarchical-tree-recursively-with-plpgsql/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 16:39:32 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[plpgsql]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=80</guid>
		<description><![CDATA[From PostgreSQL 8.4 you can write WITH queries using the optional RECURSIVE modifier to make a query refer to its own output. Ok, but if I&#8217;m using a previous version of PostgreSQL? What can I do? I had this same question and, after some research, I found a solution based on functions. Below I&#8217;ll explain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=80&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2009/11/17/retrieving-an-hierarchical-tree-recursively-with-plpgsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP strtr alternative for an UTF-8 enviroment</title>
		<link>http://gustavostraube.wordpress.com/2009/11/10/php-strtr-alternative-for-an-utf-8-enviroment/</link>
		<comments>http://gustavostraube.wordpress.com/2009/11/10/php-strtr-alternative-for-an-utf-8-enviroment/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 21:38:35 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=76</guid>
		<description><![CDATA[The PHP strtr function replaces characters in a list by characters in a second list. The expected behaviour for that function in any enviroment is the following: $from = '12345'; $to = 'ABCDE'; $str = 'I have 2 monkeys and just 1 dog'; echo strtr($str, $from, $to); // Prints 'I have B monkeys and just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=76&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2009/11/10/php-strtr-alternative-for-an-utf-8-enviroment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
		<item>
		<title>Writing an init script for a Java application</title>
		<link>http://gustavostraube.wordpress.com/2009/11/05/writing-an-init-script-for-a-java-application/</link>
		<comments>http://gustavostraube.wordpress.com/2009/11/05/writing-an-init-script-for-a-java-application/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 13:37:50 +0000</pubDate>
		<dc:creator>Gustavo Straube</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux/unix]]></category>

		<guid isPermaLink="false">http://gustavostraube.wordpress.com/?p=68</guid>
		<description><![CDATA[The need make us study topics we think we&#8217;ll never need. Today I had to write a simple bash program to start (and stop) a Java application, a simple init script. After much searching, I&#8217;ve found some simple explanations for some specific points of the bash script syntax. I don&#8217;t know who is on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gustavostraube.wordpress.com&amp;blog=7504384&amp;post=68&amp;subd=gustavostraube&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://gustavostraube.wordpress.com/2009/11/05/writing-an-init-script-for-a-java-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eab67b625271feaf0864c8797ded81b8?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Straube</media:title>
		</media:content>
	</item>
	</channel>
</rss>
