<?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>ditoinfo in english &#187; Uncategorized</title>
	<atom:link href="http://danteregis.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://danteregis.com</link>
	<description>talking about programming and computer stuff</description>
	<lastBuildDate>Tue, 09 Jun 2009 21:57:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[Cool Sites] A great meal planner with shopping list</title>
		<link>http://danteregis.com/2008/11/cool-sites-a-great-meal-planner-with-shopping-list/</link>
		<comments>http://danteregis.com/2008/11/cool-sites-a-great-meal-planner-with-shopping-list/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 15:51:53 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=90</guid>
		<description><![CDATA[Starting the series of cool sites you should visit, there&#8217;s a meal planner with shopping list building and recipes from great chefs, all with reviews and nice pictures called Tasty Planner. Very cool, worth a visit.
]]></description>
			<content:encoded><![CDATA[<p>Starting the series of cool sites you should visit, there&#8217;s a <a title="Tasty Planner - Meal Planner" href="http://tastyplanner.com" target="_blank">meal planner</a> with shopping list building and recipes from great chefs, all with reviews and nice pictures called Tasty Planner. Very cool, worth a visit.</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/11/cool-sites-a-great-meal-planner-with-shopping-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mobile Operator Idiocy</title>
		<link>http://danteregis.com/2008/11/mobile-operator-idiocy/</link>
		<comments>http://danteregis.com/2008/11/mobile-operator-idiocy/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 15:19:46 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=81</guid>
		<description><![CDATA[We have a mobile carrier here in Brazil called Vivo. If I&#8217;m not wrong (and I may be) it belongs to Telefonica, the spanish company. It has a website completely incompatible with any browser other than Internet Exploder. And, believe it or not, it is a official iPhone seller on this country (you can&#8217;t run [...]]]></description>
			<content:encoded><![CDATA[<p>We have a mobile carrier here in Brazil called Vivo. If I&#8217;m not wrong (and I may be) it belongs to Telefonica, the spanish company. It has a website completely incompatible with any browser other than Internet Exploder. And, believe it or not, it is a official iPhone seller on this country (you can&#8217;t run IE on a iPhone). So a client of the company, Mr. <a href="http://www.geek42.org" target="_blank">Fernando Caprio</a>, asked them about Firefox and other browsers compatibility with the site. Their answer:</p>
<blockquote><p>Dear Mr. Fernando, good morning!</p>
<p>Regarding your e-mail, we inform you that our website is built on a MSDE database and all programing is done in files with a HTML extension. The software Firefox is incompatible with this extension.</p></blockquote>
<p>Ain&#8217;t this neat? Firefox doesn&#8217;t support HTML! We should all move ASAP to Windows and IE6! After all, which other browser would enable us to read this blazing new technology? HTML Extension! Beware: it may take over the web!</p>
<p>I hope you guys have a glimpse of the customer care mobile carriers have here in our country.</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/11/mobile-operator-idiocy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Star rating system with jQuery</title>
		<link>http://danteregis.com/2008/11/star-rating-system-with-jquery/</link>
		<comments>http://danteregis.com/2008/11/star-rating-system-with-jquery/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 03:10:37 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=77</guid>
		<description><![CDATA[Pretty self-explaining. Very, very good. Give it a try:
http://php.scripts.psu.edu/rja171/widgets/rating.php
It makes star-rating as simple as one line!
Don&#8217;t forget to thank the author!
]]></description>
			<content:encoded><![CDATA[<p>Pretty self-explaining. Very, very good. Give it a try:</p>
<p><a href="http://php.scripts.psu.edu/rja171/widgets/rating.php" target="_blank">http://php.scripts.psu.edu/rja171/widgets/rating.php</a></p>
<p>It makes star-rating as simple as one line!</p>
<p>Don&#8217;t forget to thank the author!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/11/star-rating-system-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash_completion blissness on Mac OS X Leopard</title>
		<link>http://danteregis.com/2008/10/bash_completion-blissness-on-mac-os-x-leopard/</link>
		<comments>http://danteregis.com/2008/10/bash_completion-blissness-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 14:26:40 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=73</guid>
		<description><![CDATA[Debian-like bash_completion! I missed you! But no more!
To install it just do:
sudo port install bash-completion
echo "source /opt/local/etc/bash_completion" &#62;&#62; ~/.bash_profile
chmod +x ~/.bash_profile
EDIT: You must have MacPorts installed to run the first command. http://www.macports.org  Tip from KA, on the commets.
If you don&#8217;t know yet what is bash_completion, it is  a feature for shells to autocomplete commands. Example: [...]]]></description>
			<content:encoded><![CDATA[<p>Debian-like bash_completion! I missed you! But no more!</p>
<p>To install it just do:</p>
<pre>sudo port install bash-completion
echo "source /opt/local/etc/bash_completion" &gt;&gt; ~/.bash_profile
chmod +x ~/.bash_profile</pre>
<p>EDIT: You must have MacPorts installed to run the first command. <a href="http://www.macports.org" target="_blank">http://www.macports.org</a>  Tip from KA, on the commets.</p>
<p>If you don&#8217;t know yet what is bash_completion, it is  a feature for shells to autocomplete commands. Example: You are on a git repository. You type git fe and press TAB, bash_completion will fill &#8220;fetch&#8221; for you. If you have branches, they are autocompleted too. GNU Tar only shows files compatible with the filters you selected. So if you tar xvzf my-softw TAB, it will complete only filenames that are on tar.gz or tgz format and that starts with the string you already typed.</p>
<p>It is heaven again. <img src='http://danteregis.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/10/bash_completion-blissness-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Sphinx on OS X Leopard</title>
		<link>http://danteregis.com/2008/10/installing-sphinx-on-os-x-leopard/</link>
		<comments>http://danteregis.com/2008/10/installing-sphinx-on-os-x-leopard/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 02:55:59 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=71</guid>
		<description><![CDATA[Clinton Nixon has written an excelent post on the procedure. He was having problems trying to compile Sphinx on Leopard and found that 2 libraries were outdated on his OS X install: iconv and expat.
After installing both, he managed to get sphinx running.
Follow the instructions on his post to find out more.
http://www.viget.com/extend/installing-sphinx-on-os-x-leopard/
]]></description>
			<content:encoded><![CDATA[<p>Clinton Nixon has written an excelent post on the procedure. He was having problems trying to compile Sphinx on Leopard and found that 2 libraries were outdated on his OS X install: iconv and expat.</p>
<p>After installing both, he managed to get sphinx running.</p>
<p>Follow the instructions on his post to find out more.</p>
<p><a href="http://www.viget.com/extend/installing-sphinx-on-os-x-leopard/" target="_blank">http://www.viget.com/extend/installing-sphinx-on-os-x-leopard/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/10/installing-sphinx-on-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with jailbroken or unlocked iPhone</title>
		<link>http://danteregis.com/2008/09/problems-with-jailbroken-or-unlocked-iphone/</link>
		<comments>http://danteregis.com/2008/09/problems-with-jailbroken-or-unlocked-iphone/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 14:54:26 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[unlock]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=69</guid>
		<description><![CDATA[Having a jailbroken iphone for a week now, I feel like I have some advice to give. 
First, it is quite easy to jailbreak it. Seriously, the guys at Winpwn have done a GREAT job. The tool itself could be a bit more polished on the corners, but it is fine. One suggestion i could give [...]]]></description>
			<content:encoded><![CDATA[<p>Having a jailbroken iphone for a week now, I feel like I have some advice to give. </p>
<p>First, it is quite easy to jailbreak it. Seriously, the guys at Winpwn have done a GREAT job. The tool itself could be a bit more polished on the corners, but it is fine. One suggestion i could give them is that not always we want to build a custom firmware for the iphone, since we may have already done that. You should be able to just select the pre-built ipsw, which would save you a lot of time.</p>
<p>Since we are on the subject, <strong>don&#8217;t try to put the phone in DFU mode outside winpwn.</strong> Winpwn does some stuff to the iphone on the background while it enters DFU mode, so it can accept your custom firmware. So, just doing it through iTunes won&#8217;t work.  I&#8217;ve tried it to avoid building a custom firmware and it just doesn&#8217;t work.</p>
<p>One important tip: As of today, September, 12th, <strong>WinPwn DOES NOT WORK WITH ITUNES 8!!</strong>! You can&#8217;t jailbreak or unlock your iphone (or ipod touch, but i don&#8217;t see any reason you would want to do that) with iTunes 8 installed. If you use Windows, uninstall it, AND REMEMBER TO UNINSTALL APPLE MOBILE SUPPORT TOO!! Then, reinstall iTunes 7.7. You can upgrade to 8 after you jailbreak.</p>
<p>Then there&#8217;s the DFU mode. <strong>If your iphone is stuck in DFU mode, here is how to exit</strong>: Just press Home and Power off buttons on the same time and keep pressing them until the phone resets. Now THIS one has cost me a night of sleep, and I&#8217;m giving you for free <img src='http://danteregis.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  .</p>
<p>If you have trouble <strong>getting INTO the DFU mode</strong>, just remember this: When winpwn asks you if you want to be instructed on how to get INTO there, it will just explain to you. No action is being taken yet. Only after the first countdown will the big deal happen. The instructions are simple:</p>
<p>First, there will be a countdown so you can prepare yourself and put one finger next to the power button and one next to the home button. Then, it will tell you to press and HOLD the power button. Do that for 5 seconds (countdown). The next step will be to hold HOME button while still holding the power button. Do that for 10 seconds (countdown). The last one is to release the power button while still holding the home button. This one will take longer (about 30 seconds) and is the last countdown. Your iphone screen should turn white and then an image should show up telling you that the iphone is ready to receive custom firmwares. Now your iphone is just like you want. When you open iTunes and it tells you that your iphone is in recovery mode, click the recover button <strong>while holding left SHIFT</strong>. Now you can choose the firmware you just built and go get some coffee.</p>
<p>More lessons to come.</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/09/problems-with-jailbroken-or-unlocked-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GMail: Howto skip attachment virus verification</title>
		<link>http://danteregis.com/2008/03/gmail-howto-skip-attachment-virus-verification/</link>
		<comments>http://danteregis.com/2008/03/gmail-howto-skip-attachment-virus-verification/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 03:06:20 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2008/03/12/gmail-howto-skip-attachment-virus-verification/</guid>
		<description><![CDATA[When I open old messages on gmail, I like to download attachmentes imediately. And by that I mean I can&#8217;t even wait 5 or 6 seconds while it&#8217;s being scanned for virus! What the hell! I sent the attachment myself, I know it has no virus! It&#8217;s now a malware or spyware, nothing! No antivirus [...]]]></description>
			<content:encoded><![CDATA[<p>When I open old messages on gmail, I like to download attachmentes imediately. And by that I mean I can&#8217;t even wait 5 or 6 seconds while it&#8217;s being scanned for virus! What the hell! I sent the attachment myself, I know it has no virus! It&#8217;s now a malware or spyware, nothing! No antivirus will find anything there.</p>
<p>So, to <b>skip antivirus verification on Gmail</b>, like I do, <b>just click FORWARD on the bottom of the message</b>, right below the attachment list. The message to be forwarded will have links to download the attachments on the original message and, better, they don&#8217;t need to be scanned! <img src='http://danteregis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://ditoinfo.files.wordpress.com/2008/03/skip-antivirus.jpg" title="skip-antivirus.jpg"><img src="http://ditoinfo.files.wordpress.com/2008/03/skip-antivirus.jpg" alt="skip-antivirus.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/03/gmail-howto-skip-attachment-virus-verification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting Rails Model attributes character encoding</title>
		<link>http://danteregis.com/2008/02/converting-rails-model-attributes-character-encoding/</link>
		<comments>http://danteregis.com/2008/02/converting-rails-model-attributes-character-encoding/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 14:36:09 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2008/02/13/converting-rails-model-attributes-character-encoding/</guid>
		<description><![CDATA[At work we have some legacy database on MySQL with ISO-8859-1 (latin1) encoding. I like to use UTF-8 on my apps, though, so I wanted to convert the data on the database to UTF8 before using on the app, and then back to ISO-8859-1 before saving on the database.
Fortunately, this nice guy, Tom Bak, on [...]]]></description>
			<content:encoded><![CDATA[<p>At work we have some legacy database on MySQL with ISO-8859-1 (latin1) encoding. I like to use UTF-8 on my apps, though, so I wanted to convert the data on the database to UTF8 before using on the app, and then back to ISO-8859-1 before saving on the database.</p>
<p>Fortunately, this nice guy, <a href="http://www.ruby-forum.com/user/show/7999" target="_blank">Tom Bak</a>, on the ruby-forum, <a href="http://www.ruby-forum.com/topic/122881#549579" target="_blank">made a plugin to allow this type of conversion on the fly.</a> It is not available for download here, since Wordpress.com blocks zip files, but stop by the forum and download it. While you are there, remember to say thanks to Tom Bak!</p>
<p>Thanks, Tom, great job!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/02/converting-rails-model-attributes-character-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Humanize Column Names in Ruby on Rails</title>
		<link>http://danteregis.com/2007/12/custom-humanize-column-names-in-ruby-on-rails/</link>
		<comments>http://danteregis.com/2007/12/custom-humanize-column-names-in-ruby-on-rails/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 20:12:03 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/12/10/custom-humanize-column-names-in-ruby-on-rails/</guid>
		<description><![CDATA[Henrik, from The Pug Automatic, suggested a great way of having custom column names on the rails validation error messages, by rewriting the human_attribute_name of ActiveRecord. There&#8217;s an example on his blog (really worth a look and not only for this specific post) on how to do that. Beware that it uses a deprecated method [...]]]></description>
			<content:encoded><![CDATA[<p>Henrik, from <a href="http://henrik.nyh.se/">The Pug Automatic</a>, suggested a great way of having custom column names on the rails validation error messages, by rewriting the human_attribute_name of ActiveRecord. <a href="http://henrik.nyh.se/2007/12/change-displayed-column-name-in-rails-validation-messages" target="_blank">There&#8217;s an example on his blog </a>(really worth a look and not only for this specific post) on how to do that. Beware that it uses a deprecated method of ActiveRecord, that may be removed in future versions of Rails (it is still there on Rails 2.0). The workaround is discussed there too on the comments: One could rewrite the humanize method of String &#8211; that would make changes global &#8211; or we can just ask politely for the core developers not to remove the method <img src='http://danteregis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Here is an example of how to do that, I used it on an application of mine. On this case, the collumns on the database are in english, which I prefer working with when programming , but the users can barely read Portuguese, so I need to translate to them:</p>
<pre class="brush: ruby">
class Ticket &lt; ActiveRecord::Base
  HUMANIZED_ATTRIBUTES = {
    :description =&gt; &quot;Descrição&quot;,
    :category =&gt; &quot;Categoria&quot;,
    :title =&gt; &quot;Assunto&quot;
  }

  def self.human_attribute_name(attr)
    HUMANIZED_ATTRIBUTES(attr.to_sym) || super
  end
end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/12/custom-humanize-column-names-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Writing code on wordpress.com</title>
		<link>http://danteregis.com/2007/11/writing-code-on-wordpresscom/</link>
		<comments>http://danteregis.com/2007/11/writing-code-on-wordpresscom/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 03:23:16 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/11/18/writing-code-on-wordpresscom/</guid>
		<description><![CDATA[We all know that you can install plugins on your own (hosted by you) wordpress.org blog. But on wordpress.com pasting code was always a lost battle. But you can now use the
[sourcecode language=`yyyy`] [/sourcecode]
 tags on your blog. There&#8217;s a list of supported languages here: Wordpress.com FAQ .Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>We all know that you can install plugins on your own (hosted by you) wordpress.org blog. But on wordpress.com pasting code was always a lost battle. But you can now use the
<pre>[sourcecode language=`yyyy`] [/sourcecode]</pre>
<p> tags on your blog. There&#8217;s a list of supported languages here: <a href="http://faq.wordpress.com/2007/09/03/how-do-i-post-source-code/">Wordpress.com FAQ</a> .<br />Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/11/writing-code-on-wordpresscom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
