<?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>Pressione qualquer tecla para confirmar. . .</title>
	<atom:link href="http://qualquertecla.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://qualquertecla.wordpress.com</link>
	<description>A última tecnologia em palavra</description>
	<lastBuildDate>Wed, 23 Mar 2011 03:18:14 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='qualquertecla.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Pressione qualquer tecla para confirmar. . .</title>
		<link>http://qualquertecla.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://qualquertecla.wordpress.com/osd.xml" title="Pressione qualquer tecla para confirmar. . ." />
	<atom:link rel='hub' href='http://qualquertecla.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Será que Dostoevsky estava falando sobre programação?</title>
		<link>http://qualquertecla.wordpress.com/2011/01/21/sera-que-dostoevsky-estava-falando-sobre-programacao/</link>
		<comments>http://qualquertecla.wordpress.com/2011/01/21/sera-que-dostoevsky-estava-falando-sobre-programacao/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 19:58:14 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=596</guid>
		<description><![CDATA[&#8220;Man has such a predilection for systems and abstract deductions that he is ready to distort the truth intentionally, he is ready to deny the evidence of his senses only to justify his logic.&#8220;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=596&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>&#8220;</strong><span style="color:#800000;">Man has such a predilection for systems and abstract deductions that he is ready to distort the truth intentionally, he is ready to deny the evidence of his senses only to justify his logic.</span><strong>&#8220;</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/596/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=596&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2011/01/21/sera-que-dostoevsky-estava-falando-sobre-programacao/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Mudar idioma do NetBeans</title>
		<link>http://qualquertecla.wordpress.com/2010/10/15/mudar-idioma-do-netbeans/</link>
		<comments>http://qualquertecla.wordpress.com/2010/10/15/mudar-idioma-do-netbeans/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 00:56:01 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[idioma]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=567</guid>
		<description><![CDATA[Sinceramente, não vejo muita necessidade de uma IDE ter suporte para português. Embora talvez não seja um pensamento muito patriótico, acredito que o inglês deva ser idioma obrigatório para um desenvolvedor. E mesmo para os iniciante, o convívio com os termos em inglês pode ajudar mais que atrapalhar. &#160; E até mesmo para seguir melhor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=567&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sinceramente, não vejo muita necessidade de uma IDE ter suporte para português. Embora talvez não seja um pensamento muito patriótico, acredito que o inglês deva ser idioma obrigatório para um desenvolvedor. E mesmo para os iniciante, o convívio com os termos em inglês pode ajudar mais que atrapalhar.</p>
<p>&nbsp;</p>
<p>E até mesmo para seguir melhor instruções em tutoriais e afins, prefiro que a IDE que estou usando esteja em inglês. Isso ainda me livra de um bom número de péssimas traduções, que encontramos com frequência.</p>
<p>&nbsp;</p>
<p>E sinceramente 2, acho que mudar o idioma do NetBeans deveria ser algo mais fácil. Talvez seja e eu não saiba. De qualquer forma só consegui mudar, colocando:</p>
<p><strong>-J-Duser.language=en</strong></p>
<p>Ao final da variável <strong>netbeans_default_options</strong> do arquivo <strong>netbeans.conf</strong>. No meu computador o arquivo netbeans.conf está em <strong>NETBEANS_HOME/etc</strong>. Onde NETBEANS_HOME é onde instalaste o NetBeans.</p>
<p>&nbsp;</p>
<p>Parece que outra forma válida, mas que não testei, é acrescentar na chamada da linha de comando para rodar o NetBeans o seguinte parâmetro:</p>
<p><strong>&#8211;locale en_US</strong></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/567/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=567&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/10/15/mudar-idioma-do-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Convertendo de OGV para AVI (sem áudio)</title>
		<link>http://qualquertecla.wordpress.com/2010/10/15/convertendo-de-ogv-para-avi-sem-audio/</link>
		<comments>http://qualquertecla.wordpress.com/2010/10/15/convertendo-de-ogv-para-avi-sem-audio/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 00:32:00 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[ogv]]></category>
		<category><![CDATA[RecordMyDesktop]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=564</guid>
		<description><![CDATA[Devido ao uso do RecordMyDesktop, frequentemente tenho a necessidade de converter do formato de vídeo OGV (único disponível pelo RecordMyDesktop) para AVI. Em geral, são pequenas apresentações ou tutoriais. Na maioria dos casos não preciso de áudio para estas gravações, por isso costumo converter assim: mencoder -idx out-1.ogv -ovc lavc -nosound -o tutorial.avi &#160; Há [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=564&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Devido ao uso do <a href="http://recordmydesktop.sourceforge.net/about.php">RecordMyDesktop</a>, frequentemente tenho a necessidade de converter do formato de vídeo OGV (único disponível pelo RecordMyDesktop) para AVI. Em geral, são pequenas apresentações ou tutoriais. Na maioria dos casos não preciso de áudio para estas gravações, por isso costumo converter assim:</p>
<p><strong>mencoder -idx out-1.ogv -ovc lavc -nosound -o tutorial.avi</strong></p>
<p>&nbsp;</p>
<p>Há também as opções de conversão via web:</p>
<p><a href="http://www.mediaconverter.org/">http://www.mediaconverter.org/</a></p>
<p><a href="http://www.zamzar.com/">http://www.zamzar.com/</a></p>
<p>Entre outros.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/564/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=564&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/10/15/convertendo-de-ogv-para-avi-sem-audio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Rede sem-fio do Dell Vostro 3500 (Broadcom BCM43224) no openSUSE 11.3</title>
		<link>http://qualquertecla.wordpress.com/2010/10/15/rede-sem-fio-do-dell-vostro-3500-broadcom-bcm43224-no-opensuse-11-3/</link>
		<comments>http://qualquertecla.wordpress.com/2010/10/15/rede-sem-fio-do-dell-vostro-3500-broadcom-bcm43224-no-opensuse-11-3/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 13:33:00 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[BCM43224]]></category>
		<category><![CDATA[Broadcom]]></category>
		<category><![CDATA[Dell Vostro 3500]]></category>
		<category><![CDATA[openSUSE 11.3]]></category>
		<category><![CDATA[Rede sem-fio]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=561</guid>
		<description><![CDATA[Troquei de laptop já há algum tempo, mas fiquei devendo essa dica aqui. Vamos lá! Na página do Packman procure: broadcom-wl-kmp-`seu kernel` broadcom-wl &#160; Tente usar o [1 Click install] ou baixar os RPMs e instalá-los  na mesma ordem acima. Despois, em um terminal: modprobe wl<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=561&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Troquei de <em>laptop</em> já há algum tempo, mas fiquei devendo essa dica aqui. Vamos lá!</p>
<p>Na página do <a href="http://packman.links2linux.org/">Packman</a> procure:</p>
<p><strong>broadcom-wl-kmp-`seu kernel`</strong><br />
<strong>broadcom-wl</strong></p>
<p>&nbsp;</p>
<p>Tente usar o [1 Click install] ou baixar os RPMs e instalá-los  na mesma ordem acima. Despois, em um terminal:</p>
<p><strong>modprobe wl</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/561/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=561&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/10/15/rede-sem-fio-do-dell-vostro-3500-broadcom-bcm43224-no-opensuse-11-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Código C/C++ esquizofrênico</title>
		<link>http://qualquertecla.wordpress.com/2010/06/27/codigo-cc-esquizofrenico/</link>
		<comments>http://qualquertecla.wordpress.com/2010/06/27/codigo-cc-esquizofrenico/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 18:55:08 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[erros]]></category>
		<category><![CDATA[g++]]></category>
		<category><![CDATA[problemas]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=501</guid>
		<description><![CDATA[Tentando compilar com g++ um código alheio, que tinha vários traços de C++, recebi o seguinte erro: error: invalid conversion from ‘void*’ to ‘buffer*’ Pois é, tipíco de quem esta tentando compilar código C com um compilador C++.  Uma solução é incluir o parâmetro -x c do g++.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=501&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tentando compilar com <strong>g++</strong> um código alheio, que tinha vários traços de C++, recebi o seguinte erro:</p>
<p>error: invalid conversion from ‘void*’ to ‘buffer*’</p>
<p>Pois é, tipíco de quem esta tentando compilar código C com um compilador C++.  Uma solução é incluir o parâmetro <span style="background:#c0c0c0;"><strong>-x c</strong></span> do <strong>g++</strong>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=501&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/06/27/codigo-cc-esquizofrenico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Criar atalhos para todos executáveis de um diretório</title>
		<link>http://qualquertecla.wordpress.com/2010/06/24/criar-atalhos-para-todos-executaveis-de-um-diretorio/</link>
		<comments>http://qualquertecla.wordpress.com/2010/06/24/criar-atalhos-para-todos-executaveis-de-um-diretorio/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 02:12:24 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=482</guid>
		<description><![CDATA[Primeiro temos que ir para o diretório alvo dos atalhos: Todos os executáveis de /opt/scala/bin serão criados no diretório alvo: O diretório .  (/opt/scala/bin) aparece como executável. Por isso é necessário um comando extra para apagar o atalho criado para ele: Fiz dessa forma para ficar simples, mas poderíamos usar a imaginação e melhorar bastante.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=482&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Primeiro temos que ir para o diretório alvo dos atalhos:</p>
<p><pre class="brush: bash;">

cd /usr/bin

</pre></p>
<p>Todos os executáveis de /opt/scala/bin serão criados no diretório alvo:</p>
<p><pre class="brush: bash;">

sudo find /opt/scala/bin -perm 755 -exec ln -sf {} \;

</pre></p>
<p>O diretório .  (/opt/scala/bin) aparece como executável. Por isso é necessário um comando extra para apagar o atalho criado para ele:</p>
<p><pre class="brush: bash;">

sudo rm bin

</pre></p>
<p>Fiz dessa forma para ficar simples, mas poderíamos usar a imaginação e melhorar bastante.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/482/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=482&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/06/24/criar-atalhos-para-todos-executaveis-de-um-diretorio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Inserindo dados de um arquivo direto no PostgreSQL</title>
		<link>http://qualquertecla.wordpress.com/2010/06/24/inserindo-dados-de-um-arquivo-direto-no-postgresql/</link>
		<comments>http://qualquertecla.wordpress.com/2010/06/24/inserindo-dados-de-um-arquivo-direto-no-postgresql/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 19:56:11 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Tuiatter]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=456</guid>
		<description><![CDATA[Já tinha esquecido: O arquivo cor.txt deve ter campos separados por TABs Usando outro delimitador: Ainda é possível determinar em que situação um campo deve ser considerado como NULL. Isso é obrigatório, por exemplo,  quando há campos numéricos que estão vazios no arquivo, passíveis de serem interpretados com caracteres vazios, sendo rejeitados como números. » [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=456&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Já tinha esquecido:</p>
<p><pre class="brush: sql;">
COPY cor FROM '/tmp/cor.txt'
</pre></p>
<p>O arquivo <strong>cor.txt</strong> deve ter campos separados por TABs</p>
<p>Usando outro delimitador:</p>
<p><pre class="brush: sql;">

COPY veiculos FROM '/tmp/veiculos.txt' USING DELIMITERS ';';

</pre></p>
<p>Ainda é possível determinar em que situação um campo deve ser considerado como <strong>NULL</strong>. Isso é obrigatório, por exemplo,  quando há campos numéricos que estão vazios no arquivo, passíveis de serem interpretados com caracteres vazios, sendo rejeitados como números.</p>
<p><pre class="brush: sql;">

COPY veiculos FROM '/tmp/veiculos.txt' USING DELIMITERS ';' NULL '';

</pre></p>
<p><strong>»</strong> <span style="font-size:13px;"><strong>Não existe almoço grátis</strong></span></p>
<p>O comando <strong>COPY</strong> não faz parte do padrão SQL. Além disso, a sintaxe que usei ainda funciona, mas não é a mais atual. Essas e outras informações podem ser vistas na <a href="http://www.postgresql.org/docs/8.3/static/sql-copy.html">página de documentação oficial</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/456/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=456&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/06/24/inserindo-dados-de-um-arquivo-direto-no-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Tuiatter &#8211; Pequenas dicas grandes negócios</title>
		<link>http://qualquertecla.wordpress.com/2010/06/24/tuiatter-pequenas-dicas-grandes-negocios/</link>
		<comments>http://qualquertecla.wordpress.com/2010/06/24/tuiatter-pequenas-dicas-grandes-negocios/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 15:06:24 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Tuiatter]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=451</guid>
		<description><![CDATA[Há um bom tempo venho tentando organizar uma base de conhecimento com pequenas dicas. Algumas são salvadoras, coisas que passei horas para descobrir, o lugar certo onde martelar.  Outros casos são mais banais, mas merecedores de notas. Sendo assim&#8230; &#8230;Até o futuro. Édson Rocha Patrício<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=451&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Há um bom tempo venho tentando organizar uma base de conhecimento com pequenas dicas. Algumas são salvadoras, coisas que passei horas para descobrir, o <a href="http://www.administradores.com.br/informe-se/artigos/saber-onde-martelar/23195/">lugar certo onde martelar</a>.  Outros casos são mais banais, mas merecedores de notas.</p>
<p>Sendo assim&#8230; &#8230;Até o futuro.</p>
<p style="text-align:right;">Édson Rocha Patrício</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/451/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=451&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2010/06/24/tuiatter-pequenas-dicas-grandes-negocios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Nas entrelinhas (Parte 1)</title>
		<link>http://qualquertecla.wordpress.com/2009/06/10/sublinhado1/</link>
		<comments>http://qualquertecla.wordpress.com/2009/06/10/sublinhado1/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 17:08:12 +0000</pubDate>
		<dc:creator>Édson Patrício</dc:creator>
				<category><![CDATA[Scala]]></category>
		<category><![CDATA[placeholder]]></category>
		<category><![CDATA[sublinhado]]></category>
		<category><![CDATA[underbar]]></category>
		<category><![CDATA[underscore]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=187</guid>
		<description><![CDATA[Se você começou a estudar Scala há um tempo, certamente já encontrou em algum código o famigerado _ (chamado de sublinhado, placeholder, underscore, underbar&#8230;). Se ficou meio confuso, a confunsão é justificada pelo fato desse símbolo ter quatro usos (pelo menos que eu saiba) em Scala. Podemos encará-lo como uma espécie de caractere coringa, com [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=187&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Se você começou a estudar Scala há um tempo, certamente já encontrou em algum código o famigerado <strong>_</strong> (chamado de sublinhado, <em>placeholder, </em><em>underscore</em>, <em>underbar</em>&#8230;). Se ficou meio confuso, a confunsão é justificada pelo fato desse símbolo ter quatro usos (pelo menos que eu saiba) em Scala. Podemos encará-lo como uma espécie de caractere coringa, com comportamento distinto dependendo de uma das quatro situações.</p>
<p>O uso mais simples do _ é como coringa para importação de classes em diferentes pacotes. Funciona da mesma forma que o <strong>*</strong> (asterisco) em Java.</p>
<p><pre class="brush: scala;">
package br.com.verde
import java.util._

class Lab {
 val today = new Date
}
</pre></p>
<p>Isso porque o asterisco tem outra finalidade na linguagem de programação criada por  <a href="http://en.wikipedia.org/wiki/Martin_Odersky" target="_blank">Martin Odersky</a>. <span style="text-decoration:line-through;">Para Scala o asterisco é o operador de referência, usado para declarar ponteiros.</span> Calma, calma! É só brincadeira! Passou, passou! O asterisco em Scala é usado como &#8220;operador&#8221; (método/função) para multiplicações e para declarar <em>varargs</em>.</p>
<p>O _ também pode ser um coringa em um &#8220;casamento&#8221; de padrões (<em>pattern matching</em>). Representando um valor qualquer:</p>
<p><pre class="brush: scala;">
object Fatorial {
def f(n: Int): Int = n match {
case 0 = 1
case _ = n * f(n - 1)
}
}
</pre></p>
<p>No código acima quando o <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=1c221c&amp;s=0' alt='n' title='n' class='latex' /> for igual a (&#8220;casar com&#8221;) <img src='http://s0.wp.com/latex.php?latex=0&amp;bg=ffffff&amp;fg=1c221c&amp;s=0' alt='0' title='0' class='latex' />, a função retornará <img src='http://s0.wp.com/latex.php?latex=1&amp;bg=ffffff&amp;fg=1c221c&amp;s=0' alt='1' title='1' class='latex' />. Para qualquer outro valor, retornará o resultado da expressão <img src='http://s0.wp.com/latex.php?latex=n+%2A+f%28n+-1%29&amp;bg=ffffff&amp;fg=1c221c&amp;s=0' alt='n * f(n -1)' title='n * f(n -1)' class='latex' />.</p>
<p>O terceiro uso do _ já é um pouco mais <a href="http://pt.wiktionary.org/wiki/capcioso" target="_blank">capcioso</a>. Podemos usá-lo para &#8220;iniciar&#8221; <strong>vars</strong> com um valor padrão.</p>
<p><pre class="brush: scala;">
class Lab {
  var numero: Int = _ //zero
  var booleano: Boolean = _ //falso
  var caracter: Char = _ //vazio
  var texto: String = _ //null
  var dinheiro: BigDecimal = _ //null
}
</pre></p>
<p>Para cada &#8220;tipo&#8221; de variável o _ assumirá um valor. Apesar de tudo em Scala ser um objeto, <strong>Int</strong>, <strong>Boolean</strong> e <strong>Char</strong> não receberam  <strong>null</strong> como valor.</p>
<p>Bem, como diria o suicida otimista ao passar caindo pelo quinto andar do prédio de onde pulou: &#8220;Até aqui tudo bem&#8221;. Na segunda parte veremos os usos mais complicados do _.</p>
<p style="text-align:right;">Édson Rocha Patrício</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=187&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2009/06/10/sublinhado1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Édson Patrício</media:title>
		</media:content>
	</item>
		<item>
		<title>Actors locais ou remotos ? Tanto faz !</title>
		<link>http://qualquertecla.wordpress.com/2008/07/28/actors-locais-ou-remotos-tanto-faz/</link>
		<comments>http://qualquertecla.wordpress.com/2008/07/28/actors-locais-ou-remotos-tanto-faz/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 17:36:57 +0000</pubDate>
		<dc:creator>alexeiaguiar</dc:creator>
				<category><![CDATA[Scala]]></category>
		<category><![CDATA[actors]]></category>
		<category><![CDATA[remoto]]></category>
		<category><![CDATA[rmi]]></category>

		<guid isPermaLink="false">http://qualquertecla.wordpress.com/?p=147</guid>
		<description><![CDATA[Quem já trabalhou com RMI em Java sabe que hoje em dia é um processo altamente burocrático. Muitos desistem quando seguem um tutorial passo-a-passo e no final não funciona. Eu já havia feito programas que usavam RMI nos primórdios do Java e já achava, por um lado difícil de implementar, por outro lado, mais simples [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=147&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Quem já trabalhou com <strong>RMI</strong> em Java sabe que hoje em dia é um processo altamente burocrático. Muitos desistem quando seguem um tutorial passo-a-passo e no final não funciona. Eu já havia feito programas que usavam <strong>RMI</strong> nos primórdios do Java e já achava, por um lado difícil de implementar, por outro lado, mais simples que a alternativa da época que era Corba. Quando precisei usar novamente, há uns dois anos atrás, descobri que estava ainda mais complicado. Quem quiser se aventurar, pode ler o <a href="http://java.sun.com/docs/books/tutorial/rmi/overview.html">Tutorial sobre RMI da Sun.</a></p>
<p>Dentre as burocracias, temos que rodar o <strong>rmiregistry</strong> para ser o registro de objetos distribuídos ou criar um programaticamente. Depois, temos que criar um <em>stub</em> dinamicamente, usar este <em>stub</em> para fazer o <em>bind</em> no registro, criar um <strong>SecurityManager</strong>, configurar um arquivo <strong>policy</strong>, criar uma interface e implementá-la, fazer <em>lookup</em> no cliente, parâmetros na execução, etc&#8230;</p>
<p>Seguindo a descoberta de Scala, passei pela seção de <strong>Actors</strong> e achei muito interessante, porém, a implementação que vi era local. Pensei então: Se eu fosse projetar em Scala uma solução de comunicação remota, iria usar o modelo de <strong>Actors</strong> para tal. Será que não pensaram assim ? Sim ! Exatamente ! E a burocracia ? Menor que essa, só adivinhando !</p>
<p><span id="more-147"></span></p>
<p>Para transformar a comunicação local dos <strong>Actors</strong> em remota, basta apenas colocar a porta TCP a ser usada pelo servidor, registrar-se e no cliente, fazer o <em>lookup</em>. Pronto ! Vejamos um <em>hello world</em> remoto:</p>
<p><strong>Servidor:</strong></p>
<p><pre class="brush: scala;">
package scalademo

import scala.actors.Actor._
import scala.actors.remote.RemoteActor._

object ServerActor {
  def main(args: Array[String]) {
    actor {
      alive(5000)
      register('Server, self)
      println(&quot;Server running...&quot; )
      loop {
        react {
          case text =&gt; sender ! &quot;Message |&quot;
                          + text + &quot;| was received ok&quot;
        }
      }
    }
  }
}
</pre></p>
<p><strong>Cliente:</strong></p>
<p><pre class="brush: scala;">
package scalademo

import scala.actors.Actor._
import scala.actors.remote._
import scala.actors.remote.RemoteActor._

object ClientActor {
  def main(args: Array[String]) {
    actor {
      val server = select(Node(&quot;localhost&quot;, 5000), 'Server)
      println(&quot;Sending hello...&quot; )
      server ! &quot;Hello&quot;
      receive {
        case text =&gt; println(text)
      }
    }
  }
}
</pre></p>
<p>Caso queiram ver um exemplo mais completo, recomendo <a href="http://quoiquilensoit.blogspot.com/2008/02/generic-compute-server-in-scala-with.html">este artigo</a>. Para simplificar, usei objetos da classe String como transporte. Em uma aplicação mais completa, é conveniente usarmos <em>case classes</em>.</p>
<p>Assim como em Java, evito usar um repositório público de classes via HTTP para o <strong>classloader</strong>. A complicação adicional, que está presente em ambas linguagens, só se justifica quando o lado servidor pode receber objetos de classes não previstas originalmente. Normalmente as aplicações são fechadas, isto é, todas as classes já são conhecidas. Assim, é somente uma questão de empacotar as classes necessárias nos jars do servidor e do cliente.</p>
<p>Abaixo a burocracia ! E<strong>scala</strong>bilidade é fazer o simples fácil, e o complicado possível.</p>
<p style="text-align:right;">Alexei Barbosa de Aguiar</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/qualquertecla.wordpress.com/147/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/qualquertecla.wordpress.com/147/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qualquertecla.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qualquertecla.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qualquertecla.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qualquertecla.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qualquertecla.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qualquertecla.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qualquertecla.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qualquertecla.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qualquertecla.wordpress.com&amp;blog=4090269&amp;post=147&amp;subd=qualquertecla&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qualquertecla.wordpress.com/2008/07/28/actors-locais-ou-remotos-tanto-faz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">alexeiaguiar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
