<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4301633769265894928</id><updated>2026-09-16T13:57:35.128-03:00</updated><category term="java"/><category term="EC2"/><category term="eclipse"/><category term="ubuntu"/><category term="asterisk"/><category term="aws"/><category term="jira"/><category term="macosx"/><category term="maven"/><category term="spring"/><category term="COFINS"/><category term="EFD"/><category term="PIS"/><category term="SPED"/><category term="acceptance"/><category term="agile"/><category term="amazon"/><category term="cloud computing"/><category term="cocoa"/><category term="entitymanager"/><category term="galileo"/><category term="greenhopper"/><category term="micro"/><category term="scrum"/><category term="sprint"/><category term="DNS"/><category term="Embeddable"/><category term="Embedded"/><category term="JSR-303"/><category term="TIM"/><category term="UTF-8"/><category term="Valid"/><category term="Vivo"/><category term="abortar"/><category term="ami"/><category term="atendimento"/><category term="atlassian"/><category term="autowired"/><category term="bean validation"/><category term="certificação"/><category term="commit"/><category term="confluence"/><category term="csm"/><category term="eai"/><category term="falha"/><category term="fax"/><category term="financeiro"/><category term="framework"/><category term="gc"/><category term="glomer"/><category term="hibernate"/><category term="hibernate validator"/><category term="home office"/><category term="horário de verão"/><category term="hylafax"/><category term="iaxmodem"/><category term="integration"/><category term="jpa"/><category term="jvm"/><category term="m2eclipse"/><category term="mysql"/><category term="openinsula.org"/><category term="persistentcontext"/><category term="plugin"/><category term="post-it"/><category term="problema"/><category term="revenda"/><category term="rxfax"/><category term="s3"/><category term="scdjws"/><category term="scea"/><category term="scjp"/><category term="scwcd"/><category term="software"/><category term="springsource"/><category term="ssh"/><category term="studio"/><category term="sun"/><category term="taskboard"/><category term="timezone"/><category term="treinamento"/><category term="ura"/><category term="virtual"/><category term="wagon"/><category term="wtp"/><category term="x100p"/><category term="xml"/><title type='text'>Ínsula Team Blog</title><subtitle type='html'>Compartilhando opiniões, informações e conhecimento…</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.insula.com.br/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Edson Yanaga</name><uri>http://www.blogger.com/profile/01839690198189090290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-9077482579721938841</id><published>2011-03-14T18:09:00.003-03:00</published><updated>2011-03-14T18:13:44.474-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cocoa"/><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="macosx"/><title type='text'>Eclipse rápido no MacOSX</title><content type='html'>Sempre tive a impressão de que o Eclipse no meu macbook era significativamente mais lento do que no Linux (Ubuntu) que eu sempre usei. Por mais que eu quisesse não acreditar, era verdade. Bem mais lento.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hoje resolvi o problema. Não uso o Eclipse puro propriamente dito, mas o STS, que é uma versão customizada do Eclipse pela SpringSource. Encare como o Eclipse mais uma meia dúzia de plugins pré-instalados.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Seguindo uma recomendação do pessoal da própria SpringSource, instalei a versão Cocoa 32 bits no meu Snow Leopard 64 bits. A recomendação é a de que, a menos que você tenha que usar um heap muito grande (maior que 4GB, eu suponho), a versão de 32 bits é melhor.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Os resultados são impresionantes. O meu workspace com vários projetos agora abre em 7 segundos na versão 32 bits. Na versão 64 bits ele leva 24 segundos. Um ganho de quase 4 vezes no desempenho. E ainda por cima gasta menos memória.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/9077482579721938841/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2011/03/eclipse-rapido-no-macosx.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/9077482579721938841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/9077482579721938841'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2011/03/eclipse-rapido-no-macosx.html' title='Eclipse rápido no MacOSX'/><author><name>Edson Yanaga</name><uri>http://www.blogger.com/profile/01839690198189090290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-207943288168098368</id><published>2010-11-14T17:24:00.000-02:00</published><updated>2010-11-14T17:24:22.370-02:00</updated><title type='text'>Ressuscitando a rede da impressora HP 3055</title><content type='html'>Graças ao meu filho caçula de 1 ano e 7 meses, que frequentemente liga e desliga a minha impressora HP Laserjet 3055 ao apertar várias vezes o botão de on/off, perdi a conectividade de rede com a mesma.&lt;br /&gt;
&lt;br /&gt;
Depois de 3 dias e várias tentativas frustradas (incluindo o reset para os padrões de fábrica), encontrei a solução. Aparentemente trata-se de algum problema com a NVRAM do aparelho.&lt;br /&gt;
&lt;br /&gt;
Para &quot;resetar&quot; a NVRAM deve-se desligar a impressora, manter os botões &quot;*&quot; e &quot;√ (OK)&quot; pressionados, ligar a impressora, e quando aparecer uma mensagem parecida com &quot;Permanent Storage Init&quot;, soltar os botões. Depois de também aguardar a impressora entrar no estado de &quot;Ready (Pronto)&quot;, tudo já deverá estar funcionando normalmente. Ao menos comigo foi o caso.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/207943288168098368/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/11/ressuscitando-rede-da-impressora-hp.html#comment-form' title='5 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/207943288168098368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/207943288168098368'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/11/ressuscitando-rede-da-impressora-hp.html' title='Ressuscitando a rede da impressora HP 3055'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-6931503537772154015</id><published>2010-11-07T00:58:00.001-02:00</published><updated>2010-11-07T00:59:06.046-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="entitymanager"/><category scheme="http://www.blogger.com/atom/ns#" term="hibernate"/><category scheme="http://www.blogger.com/atom/ns#" term="jpa"/><title type='text'>Acessando a Session do Hibernate através do EntityManager do JPA</title><content type='html'>Acabei de implementar alguns filtros (&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;org.hibernate.annotations.Filter&lt;/span&gt;) nas minhas classes persistentes, e deparei-me com um grave problema: para habilitá-los é preciso ter acesso à &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Session&lt;/span&gt; (&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;org.hibernate.Session&lt;/span&gt;) do Hibernate, mas estou utilizando JPA, de modo que só tenho acesso ao &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;EntityManager&lt;/span&gt; (&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;javax.persistence.EntityManager&lt;/span&gt;).&lt;br /&gt;
&lt;br /&gt;
Depois de muita busca, encontrei a solução. Aliás, duas soluções. Uma para o JPA 1.0 e outra para o JPA 2.0.&lt;br /&gt;
&lt;br /&gt;
&lt;script class=&quot;brush: java&quot; type=&quot;syntaxhighlighter&quot;&gt;
&lt;![CDATA[

Session session1 = (Session)entityManager.getDelegate(); //JPA 1.0

Session session2 = entityManager.unwrap(Session.class); //JPA 2.0

]]&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
No JPA 1.0 você pode utilizar o método &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;entityManager.getDelegate()&lt;/span&gt; e fazer o cast para &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;org.hibernate.Session&lt;/span&gt;; ou no JPA 2.0 você já pode utilizar o método type-safe &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;entityManager.unwrap()&lt;/span&gt;.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/6931503537772154015/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/11/acessando-session-do-hibernate-atraves.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/6931503537772154015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/6931503537772154015'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/11/acessando-session-do-hibernate-atraves.html' title='Acessando a Session do Hibernate através do EntityManager do JPA'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-7791515326643751866</id><published>2010-11-04T17:08:00.001-02:00</published><updated>2010-11-04T17:09:28.511-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="COFINS"/><category scheme="http://www.blogger.com/atom/ns#" term="EFD"/><category scheme="http://www.blogger.com/atom/ns#" term="PIS"/><category scheme="http://www.blogger.com/atom/ns#" term="SPED"/><title type='text'>Mais um capítulo da EFD PIS/COFINS</title><content type='html'>Nesta segunda-feira, dia 01/11/2010, foi disponibilizada mais uma versão do Manual EFD PIS/COFINS, no&amp;nbsp;&lt;a href=&quot;http://www.receita.fazenda.gov.br/Legislacao/AtosExecutivos/2010/COFIS/ADCofis034.htm&quot;&gt;Ato Declaratório Executivo Cofis nº 34, de 28 de outubro de 2010&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Continua com a mesma formatação &quot;tosca&quot; do anterior. Não posso avaliar o assunto pois ainda sou leigo, mas o acabamento é no mínimo amador.&lt;br /&gt;
&lt;br /&gt;
E o manual continua sendo disponibilizado em formato doc. O PDF ultimamente não pode ser um formato considerado &quot;seguro&quot;, mas mesmo assim é muito mais apropriado para distribuição.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/7791515326643751866/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/11/mais-um-capitulo-da-efd-piscofins.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7791515326643751866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7791515326643751866'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/11/mais-um-capitulo-da-efd-piscofins.html' title='Mais um capítulo da EFD PIS/COFINS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-7630456215042147395</id><published>2010-11-03T21:54:00.000-02:00</published><updated>2010-11-03T21:54:39.371-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>JAXP, DOM e standalone=&quot;no&quot;</title><content type='html'>Um &quot;detalhe&quot; que muitas vezes se passa na geração de documentos XML utilizando JAXP e DOM é a geração do cabeçalho &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;standalone=&quot;no&quot;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Para removê-lo, basta configurar a propriedade &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;xmlStandalone&lt;/span&gt; de &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;org.w3c.dom.Document&lt;/span&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;document.setXmlStandalone(true);
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/7630456215042147395/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/11/jaxp-dom-e-standaloneno.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7630456215042147395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7630456215042147395'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/11/jaxp-dom-e-standaloneno.html' title='JAXP, DOM e standalone=&quot;no&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-6818861893208704488</id><published>2010-10-29T19:07:00.001-02:00</published><updated>2010-11-03T21:28:37.641-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>AWS SDK for Java: oficial</title><content type='html'>Até agora havíamos desenvolvido aplicações de &lt;i&gt;cloud computing&lt;/i&gt;&amp;nbsp;utilizando as APIs &lt;a href=&quot;http://bitbucket.org/jmurty/jets3t/wiki/Home&quot;&gt;jets3t&lt;/a&gt; e &lt;a href=&quot;http://code.google.com/p/typica/&quot;&gt;typica&lt;/a&gt;, que eram até então as melhores bibliotecas em Java para o Amazon Web Services.&lt;br /&gt;
&lt;br /&gt;
Estou criando uma nova versão de um projeto e descobri que a amazon disponibilizou uma API oficial para se trabalhar com Java no AWS: o &lt;a href=&quot;http://aws.amazon.com/sdkforjava/&quot;&gt;AWS SDK for Java&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Já estou migrando o código antigo para esta nova API pois sinceramente me dá mais segurança. A Amazon tem todo o interesse do mundo em mantê-la atualizada e funcionando bem para que mais desenvolvedores a utilizem e ela ganhe mais dinheiro ainda com AWS.&lt;br /&gt;
&lt;br /&gt;
E parece que o AWS anda muito bem mesmo. Já é a plataforma de cloud computing mais popular do mercado, e este ano&amp;nbsp;&lt;a href=&quot;http://gigaom.com/cloud/aws-looks-on-pace-for-that-500m-in-2010/&quot;&gt;projeta-se que as receitas superarão a casa dos US$ 500 milhões&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/6818861893208704488/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/10/aws-sdk-for-java-oficial.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/6818861893208704488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/6818861893208704488'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/10/aws-sdk-for-java-oficial.html' title='AWS SDK for Java: oficial'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-8399338250153592871</id><published>2010-10-23T22:09:00.001-02:00</published><updated>2010-10-23T22:13:22.044-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="maven"/><category scheme="http://www.blogger.com/atom/ns#" term="spring"/><title type='text'>Criando um JAR executável através do maven</title><content type='html'>Hoje mais uma vez tive a iniciativa de criar um JAR executável com todas as dependências através do maven. Tentei primeiramente com o &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;maven-assembly-plugin&lt;/span&gt; e o &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;jar-with-dependencies&lt;/span&gt;. Sabia que antes ele não funcionava, mas procurei no Google e vi que o bug havia sido &quot;resolvido&quot;. Não tive sorte. O bug de antigamente persistiu:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Exception in thread &quot;main&quot; org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Não gostaria de utilizar o &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;maven-dependency-plugin&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; novamente e criar um script para invocar com o classpath correto. Mais 15 minutos de procura no Google levaram-me à solução que definitivamente solucionou o meu problema: o &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;maven-shade-plugin&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;. Abaixo está o link para a configuração do plugin para colocar no &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;pom.xml&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html&quot;&gt;http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/8399338250153592871/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/10/criando-um-jar-executavel-atraves-do.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8399338250153592871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8399338250153592871'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/10/criando-um-jar-executavel-atraves-do.html' title='Criando um JAR executável através do maven'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-2842447967436207941</id><published>2010-10-19T19:54:00.000-02:00</published><updated>2010-10-19T19:54:35.480-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="home office"/><title type='text'>Home Office: trabalhar em casa é mais produtivo</title><content type='html'>Hoje li no site do IDGNow! o post &quot;&lt;a href=&quot;http://idgnow.uol.com.br/mercado/2010/10/19/maioria-dos-profissionais-gostaria-de-trabalhar-de-casa-aponta-pesquisa/&quot;&gt;Maioria dos profissionais gostaria de trabalhar de casa, aponta pesquisa&lt;/a&gt;&quot;.&lt;br /&gt;
&lt;br /&gt;
Isso corrobora a decisão da Ínsula Tecnologia de, desde o início do ano, mudar a nossa forma de trabalho. Hoje todos os colaboradores da Ínsula trabalham em casa, no estilo &quot;Home Office&quot;. O home office (ao menos para nós) não seria possível há 3 anos atrás. O que mudou? Destaco três pontos:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;A infraestrutura de comunicação no Brasil (Internet) melhorou muito (ao menos em Maringá) nos últimos 3 anos. Hoje todos podemos trabalhar com enlaces ADSL de 10Mbps em cada local de modo razoavelmente confiável.&lt;/li&gt;
&lt;li&gt;A tecnologia das ferramentas de colaboração remota evoluiu muito. Toda nossa infraestrutura é virtual: ferramentas de gestão de projeto, repositórios de código-fonte, telefonia, wiki, vídeo-conferência. Com o Skype podemos nos reunir (com vídeo) instantaneamente a qualquer momento do dia. Eu particularmente consigo trabalhar com o escritório remoto através do meu iPhone 3GS em qualquer lugar onde haja cobertura 3G.&lt;/li&gt;
&lt;li&gt;Surgiu o &lt;i&gt;cloud computing&lt;/i&gt;. Sem ele não poderíamos ter toda nossa infraestrutura na Internet de um modo tão rápido, fácil e acessível. Antes o custo disso seria proibitivo.&lt;/li&gt;
&lt;/ol&gt;Particularmente acho que nunca trabalhei tanto, nem de modo tão produtivo, quanto agora. E me sinto muito mais feliz em trabalhar mais e ainda assim ter mais tempo para compartilhar com a família.&lt;br /&gt;
&lt;br /&gt;
Estamos no caminho certo.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/2842447967436207941/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/10/home-office-trabalhar-em-casa-e-mais.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/2842447967436207941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/2842447967436207941'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/10/home-office-trabalhar-em-casa-e-mais.html' title='Home Office: trabalhar em casa é mais produtivo'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-4197326785790561572</id><published>2010-10-06T09:56:00.000-03:00</published><updated>2010-10-06T09:56:01.764-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="UTF-8"/><title type='text'>Configurando o UTF-8 no MySQL</title><content type='html'>Hoje o amigo João Galli me questionou sobre como configurar o MySQL para utilizar corretamente o UTF-8 (com o JDBC).&lt;br /&gt;
&lt;br /&gt;
Para quem não entende do assunto, o UTF-8 é uma codificação que padroniza como os caracteres serão armazenados em bytes dentro do computador. ISO-8859-1 (ou ISO-Latin-1) é uma outra codificação bastante comum para quem usa windows. Codificação normalmente só traz problemas para línguas que utilizam acentos, como é (no nosso caso) o português.&lt;br /&gt;
&lt;br /&gt;
São necessárias 3 etapas para o MySQL utilizar o UTF-8 corretamente:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Crie a database com o seguinte comando:&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;CREATE DATABASE databasename CHARACTER SET utf8 COLLATE utf8_bin;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Altere também o &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;my.cnf&lt;/span&gt; (ou &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;my.ini&lt;/span&gt; no Windows) para conter as seguintes linhas:&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;[mysqld]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;default-character-set=utf8&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Utilize a URL JDBC de conexão assim:&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;jdbc:mysql://hostname:port/database?autoReconnect=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=utf8&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;Depois de tudo feito, reinicie o mysql.&lt;br /&gt;
&lt;br /&gt;
Você também pode verificar se as tabelas ou o database estão em UTF-8 com os comandos &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;status&lt;/span&gt; e &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;show table status&lt;/span&gt;.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/4197326785790561572/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/10/configurando-o-utf-8-no-mysql.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/4197326785790561572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/4197326785790561572'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/10/configurando-o-utf-8-no-mysql.html' title='Configurando o UTF-8 no MySQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-4513197931297790199</id><published>2010-10-05T11:29:00.004-03:00</published><updated>2010-11-04T17:04:46.564-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="COFINS"/><category scheme="http://www.blogger.com/atom/ns#" term="EFD"/><category scheme="http://www.blogger.com/atom/ns#" term="PIS"/><category scheme="http://www.blogger.com/atom/ns#" term="SPED"/><title type='text'>Manual do do EFD PIS/COFINS</title><content type='html'>Tive um bom trabalho hoje procurando o manual do layout da EFD PIS/COFINS.&lt;br /&gt;
&lt;br /&gt;
Depois de muito tempo perdido, encontrei-o no link do&amp;nbsp;&lt;a href=&quot;http://www.receita.fazenda.gov.br/Legislacao/AtosExecutivos/2010/COFIS/ADCofis031.htm&quot;&gt;Ato Declaratório Executivo Cofis nº 31, de 8 de julho de 2010&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
O documento está em formato DOC. É ridículo uma entidade governamental disponibilizar um documento no formato Microsoft Word. O mínimo apropriado seria um PDF.&lt;br /&gt;
&lt;br /&gt;
Verifiquei o documento e fiquei frustado por constatar que o layout do arquivo da EFD PIS/COFINS é texto com colunas delimitadas por pipe (| - estilo CSV), ao invés de utilizar XML! Definitivamente é um retrocesso medonho.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/4513197931297790199/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/10/manual-do-do-efd-piscofins.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/4513197931297790199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/4513197931297790199'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/10/manual-do-do-efd-piscofins.html' title='Manual do do EFD PIS/COFINS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-3482815194260580574</id><published>2010-09-30T17:16:00.001-03:00</published><updated>2010-09-30T17:18:03.394-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Java da Sun/Oracle no Ubuntu 10.04</title><content type='html'>Não é novidade, mas como toda vez que instalo ou reinstalo um servidor tenho que buscar novamente, resolvi postar esta &quot;dica&quot; para me auxiliar, e quem sabe, a outros.&lt;br /&gt;
&lt;br /&gt;
O pacote &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sun-java6-jdk&lt;/span&gt; não está disponível no repositório padrão a partir do Ubuntu 10.04. É necessário adicionar o repositório &quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;partner&lt;/span&gt;&quot;.&lt;br /&gt;
&lt;blockquote&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo add-apt-repository &quot;deb http://archive.canonical.com/ lucid partner&quot;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo apt-get update&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;Depois disso basta executar o tradicional &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo apt-get install sun-java6-jdk&amp;nbsp;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/3482815194260580574/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/09/java-da-sunoracle-no-ubuntu-1004.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/3482815194260580574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/3482815194260580574'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/09/java-da-sunoracle-no-ubuntu-1004.html' title='Java da Sun/Oracle no Ubuntu 10.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-1585701628789594044</id><published>2010-09-30T11:15:00.000-03:00</published><updated>2010-09-30T11:15:43.009-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Upgrades automáticos no Ubuntu 10.04</title><content type='html'>Acabei de configurar os upgrades automáticos das atualizações nos meus servidores rodando Ubuntu 10.04.&lt;br /&gt;
&lt;br /&gt;
Pra quem confia em upgrade automático (eu vou arriscar - são muitos servidores e este recurso poupar-me-á de muito tempo), fica aqui a referência:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://help.ubuntu.com/10.04/serverguide/C/automatic-updates.html&quot;&gt;https://help.ubuntu.com/10.04/serverguide/C/automatic-updates.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Muito bom também o recurso de enviar um e-mail sempre que houver uma atualização. Deixei-o habilitado.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/1585701628789594044/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/09/upgrades-automaticos-no-ubuntu-1004.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/1585701628789594044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/1585701628789594044'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/09/upgrades-automaticos-no-ubuntu-1004.html' title='Upgrades automáticos no Ubuntu 10.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-8207115460893296199</id><published>2010-09-27T10:53:00.000-03:00</published><updated>2010-09-27T10:53:34.593-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bean validation"/><category scheme="http://www.blogger.com/atom/ns#" term="Embeddable"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded"/><category scheme="http://www.blogger.com/atom/ns#" term="hibernate validator"/><category scheme="http://www.blogger.com/atom/ns#" term="JSR-303"/><category scheme="http://www.blogger.com/atom/ns#" term="Valid"/><title type='text'>JSR-303, Bean Validation e atributos @Embedded</title><content type='html'>Hoje me deparei numa situação interessante. Criei uma classe &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Endereco&lt;/span&gt; dentro de uma classe &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Contato&lt;/span&gt;, e ao validar a entidade &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Contato&lt;/span&gt; com a JSR-303 (Bean Validation, no meu caso usei o Hibernate Validator), o validador simplesmente ignorou a entidade &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Endereco&lt;/span&gt;, que foi declarada dentro da entidade &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Contato&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;como &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;@Embedded&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;@Embeddable&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; também funcionaria).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Como já conhecia a especificação da JSR-303, simplesmente adicionei a annotation &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;@Valid&lt;/span&gt; no atributo &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;endereco&lt;/span&gt; da classe &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Contato&lt;/span&gt;. Pronto, problema resolvido. O Hibernate Validator passou a validar o endereço também.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/8207115460893296199/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/09/jsr-303-bean-validation-e-atributos.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8207115460893296199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8207115460893296199'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/09/jsr-303-bean-validation-e-atributos.html' title='JSR-303, Bean Validation e atributos @Embedded'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-3700471962420675051</id><published>2010-09-23T00:34:00.000-03:00</published><updated>2010-09-23T00:34:36.403-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Respeito ao Ubuntu</title><content type='html'>Vou repetir uma frase que li no Twitter esses dias, e que considero como verdadeira (ao menos para mim cada vez mais): &lt;i&gt;&quot;Quanto mais uso rpm/yum, mais eu gosto de deb/apt-get&quot;&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
Comecei trabalhando com o saudoso Conectiva Linux. Não demorou muito passei a mexer com Red Hat. Quando passou a ser pago não quis trabalhar com o Fedora, e migrei para o Debian. Confesso que gosto e adoro o Debian até hoje, mas o ciclo muitíssimo demorado de atualização de versões fez com que eu tivesse que arriscar com o CentOS (o RHEL compilado pela comunidade open-source).&lt;br /&gt;
&lt;br /&gt;
Ubuntu no começo era coisa de usuário. Mas terei que parabenizar a Canonical por todo o trabalho que fez e tem feito pelo Linux e pelo Ubuntu. Desconfio que muitas coisas boas nos últimos anos foram &quot;puxadas&quot; pela Canonical. Hoje quando tenho que escolher ou indicar uma distribuição, não tenho mais dúvidas: Ubuntu tanto no desktop quanto no servidor (e em especial agora no &lt;i&gt;cloud computing&lt;/i&gt;). Todos os estes anos de trabalho da Canonical construíram uma belíssima distribuição.&lt;br /&gt;
&lt;br /&gt;
Que continue assim. Meu respeito ao Ubuntu.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/3700471962420675051/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/09/respeito-ao-ubuntu.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/3700471962420675051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/3700471962420675051'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/09/respeito-ao-ubuntu.html' title='Respeito ao Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-2025119963069478809</id><published>2010-09-16T13:21:00.000-03:00</published><updated>2010-09-16T13:21:28.863-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ami"/><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="micro"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Ubuntu 10.04, Sun Java e AWS EC2 Micro Instances</title><content type='html'>Hoje tive um sério problema ao tentar instalar o Java em uma das minhas EC2 Micro Instances do AWS.&lt;br /&gt;
&lt;br /&gt;
Tentei umas 10 vezes e o processo sempre travava no meio. O Google me ajudou, e achei um &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/linux-ec2/+bug/634487&quot;&gt;bug&lt;/a&gt; relacionado a este problema no Ubuntu 10.04.&lt;br /&gt;
&lt;br /&gt;
Solução: o bug só acontece em Micro Instances de 32 bits. Troquei a AMI para uma de 64 bits, e até agora, está funcionando 100%.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/2025119963069478809/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/09/ubuntu-1004-sun-java-e-aws-ec2-micro.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/2025119963069478809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/2025119963069478809'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/09/ubuntu-1004-sun-java-e-aws-ec2-micro.html' title='Ubuntu 10.04, Sun Java e AWS EC2 Micro Instances'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-3190585210466365280</id><published>2010-09-10T19:13:00.000-03:00</published><updated>2010-09-10T19:13:19.631-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="micro"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Amazon EC2 Micro Instances</title><content type='html'>Ontem recebi um e-mail do AWS (Amazon Web Services) informando que um novo tipo de instância do seu &lt;i&gt;cloud computing&lt;/i&gt;&amp;nbsp;está disponível: o tipo &lt;b&gt;micro&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Tem menos memória (613MB) e não possui o armazenamento efêmero (detalhe importante). Mas o melhor mesmo é que custa somente US$ 0,02 por hora. Pra quem compra instâncias do tipo &lt;i&gt;reserved&lt;/i&gt;, como é o meu caso, sai somente US$ 0,007 por hora. Uma pechincha. Ontem mesmo já troquei um dos meus servidores por esta instância do tipo &lt;b&gt;micro&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Para quem não consegue reiniciar a instância (&lt;i&gt;reboot&lt;/i&gt;), minha dica de como fazer funcionar:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Diagnóstico: você não consegue se conectar à instância porque o ssh não está rodando.&lt;/li&gt;
&lt;li&gt;Solução: &lt;b&gt;antes&lt;/b&gt;&amp;nbsp;de reiniciar a instância, remova a linha correspondente ao &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;/mnt&lt;/span&gt; no arquivo &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;/etc/fstab&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Explicação: instâncias do tipo &lt;b&gt;micro&lt;/b&gt;&amp;nbsp;não possuem o armazenamento efêmero, portanto só possuem um disco virtual. Porém, como as imagens (pelo menos por enquanto) foram construídas para instâncias que possuem armazenamento efêmero, quando a instância &lt;b&gt;micro&lt;/b&gt;&amp;nbsp;é reiniciada, o &lt;i&gt;boot&lt;/i&gt;&amp;nbsp;fica paralizado no momento em que ele tenta montar o &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;/mnt&lt;/span&gt;. Removendo a linha do &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;/etc/fstab&lt;/span&gt;, resolve-se o problema.&lt;/li&gt;
&lt;/ul&gt;Bom proveito!</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/3190585210466365280/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/09/amazon-ec2-micro-instances.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/3190585210466365280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/3190585210466365280'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/09/amazon-ec2-micro-instances.html' title='Amazon EC2 Micro Instances'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-966411111675195440</id><published>2010-08-02T16:27:00.000-03:00</published><updated>2010-08-02T16:27:53.879-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="m2eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="maven"/><category scheme="http://www.blogger.com/atom/ns#" term="wtp"/><title type='text'>Eclipse WTP e maven com m2eclipse</title><content type='html'>Graças à um treinamento/consultoria que estou prestando à &lt;a href=&quot;http://www.nortox.com.br/&quot;&gt;Nortox&lt;/a&gt;, tive que integrar a execução de um projeto Web que utiliza o maven diretamente com o Tomcat de dentro do Eclipse.&lt;br /&gt;
&lt;br /&gt;
Basta adicionar a &lt;i&gt;Facet&lt;/i&gt; de &lt;i&gt;Dynamic Web Module&lt;/i&gt;, configurar o Tomcat dentro do Servers do Eclipse e pronto. Mas alguma coisa tinha que dar errado.&lt;br /&gt;
&lt;br /&gt;
O Eclipse acaba criando um diretório chamado de &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;WebContent&lt;/span&gt;, ao invés de aproveitar o &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;src/main/webapp&lt;/span&gt; que já existe. Depois de muito Google, descobri a solução: basta apagar o diretório &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;WebContent&lt;/span&gt; e executar no m2eclipse a opção &quot;Update Project Configuration&quot;.&lt;br /&gt;
&lt;br /&gt;
Tudo 100% agora.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/966411111675195440/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/08/eclipse-wtp-e-maven-com-m2eclipse.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/966411111675195440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/966411111675195440'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/08/eclipse-wtp-e-maven-com-m2eclipse.html' title='Eclipse WTP e maven com m2eclipse'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-815932991936874921</id><published>2010-04-12T14:02:00.001-03:00</published><updated>2010-04-12T14:03:25.847-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="agile"/><title type='text'>User Stories bem definidas</title><content type='html'>Li uma frase de Robert L. Humphrey (1923-1997) hoje que imediatamente relacionei com a nossa responsabilidade de escrever &lt;i&gt;User Stories&lt;/i&gt; muito bem definidas:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&quot;An undefined problem has an infinite number of solutions.&quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;User Stories&lt;/i&gt; estão relacionadas ao entendimento do problema e à definição de escopo. Uma &lt;i&gt;User Story&lt;/i&gt; mal definida gera problemas do tipo &quot;nunca tem fim&quot; ou &quot;não era isso que eu queria&quot;.&lt;br /&gt;
&lt;br /&gt;
Se você não sabe (ou não define) o que quer, então é difícil de se resolver mesmo.&lt;br /&gt;
&lt;br /&gt;
PS: Quem não conhece Robert L. Humphrey, acesse o site &lt;a href=&quot;http://www.lifevalues.com/&quot;&gt;www.lifevalues.com&lt;/a&gt;. Fiquei tão impressionado que vou comprar o &lt;a href=&quot;http://www.amazon.com/Values-New-Millennium-Robert-Humphrey/dp/0915761041/ref=wl_it_dp_o?ie=UTF8&amp;amp;coliid=I142U02FLGMF7S&amp;amp;colid=WKR6VYONW1DN&quot;&gt;livro&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/815932991936874921/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/04/user-stories-bem-definidas.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/815932991936874921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/815932991936874921'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/04/user-stories-bem-definidas.html' title='User Stories bem definidas'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-8783228352636594882</id><published>2010-03-30T16:04:00.000-03:00</published><updated>2010-03-30T16:04:38.089-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Simplicidade</title><content type='html'>Nosso grande objetivo como desenvolvedores de software na Ínsula é alcançar a simplicidade. E como é difícil. Fazer software complicado, tanto em termos de código quanto em termos de uso, é muito fácil. (&lt;a href=&quot;http://www.yanaga.com.br/2010/03/diferenca-entre-o-facil-e-o-simples.html&quot;&gt;Veja aqui a diferença entre o simples e o fácil&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
A figura abaixo não é nova, mas gosto sempre de observá-la e relembrar nossos objetivos.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGzgJDVePpZGcxdmN-k2pKKURhxTFGFF2K1-vkLw00hUklRyDxdoFQE6kQAWLw6LKhzX_j9dPrsOKA-5NuPE_GbIy42V1_nlUcPT3OgOHfGUNJrXLDM3YVjS1Pp_kJDB3geKPpr-RFavI2/s1600/simplicity.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGzgJDVePpZGcxdmN-k2pKKURhxTFGFF2K1-vkLw00hUklRyDxdoFQE6kQAWLw6LKhzX_j9dPrsOKA-5NuPE_GbIy42V1_nlUcPT3OgOHfGUNJrXLDM3YVjS1Pp_kJDB3geKPpr-RFavI2/s640/simplicity.png&quot; width=&quot;331&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/8783228352636594882/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/03/simplicidade.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8783228352636594882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8783228352636594882'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/03/simplicidade.html' title='Simplicidade'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGzgJDVePpZGcxdmN-k2pKKURhxTFGFF2K1-vkLw00hUklRyDxdoFQE6kQAWLw6LKhzX_j9dPrsOKA-5NuPE_GbIy42V1_nlUcPT3OgOHfGUNJrXLDM3YVjS1Pp_kJDB3geKPpr-RFavI2/s72-c/simplicity.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-7846339625999138534</id><published>2010-03-05T11:45:00.000-03:00</published><updated>2010-03-05T11:45:01.242-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="atlassian"/><category scheme="http://www.blogger.com/atom/ns#" term="confluence"/><category scheme="http://www.blogger.com/atom/ns#" term="jira"/><category scheme="http://www.blogger.com/atom/ns#" term="studio"/><title type='text'>Migramos para o JIRA Studio</title><content type='html'>Após um mês de experiência resolvemos abandonar nossas ferramentas de desenvolvimento de software administradas internamente (Subversion, JIRA, Confluence, Bamboo, Crowd, LDAP) para a solução de SaaS da Atlassian: o &lt;a href=&quot;http://www.atlassian.com/hosted/studio/&quot;&gt;JIRA Studio&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Durante estes 30 dias tive somente um pequeno período de &lt;i&gt;downtime&lt;/i&gt;, que considerei aceitável. Acredito que se continuássemos administrando provavelmente o downtime seria maior. Custo? US$ 175 mensais ou US$ 1750 anuais.&lt;br /&gt;
&lt;br /&gt;
Deixarei meu testemunho: gostei do que vi e usei, e acho que é muito bom. Sem dor de cabeça para manter ou atualizar as versões. Tudo integrado perfeitamente.&lt;br /&gt;
&lt;br /&gt;
O JIRA Studio será um importante aliado nesta nova fase da empresa.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/7846339625999138534/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/03/migramos-para-o-jira-studio.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7846339625999138534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7846339625999138534'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/03/migramos-para-o-jira-studio.html' title='Migramos para o JIRA Studio'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-8483658390590846258</id><published>2010-02-10T06:28:00.000-02:00</published><updated>2010-02-10T06:28:53.810-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="autowired"/><category scheme="http://www.blogger.com/atom/ns#" term="entitymanager"/><category scheme="http://www.blogger.com/atom/ns#" term="persistentcontext"/><category scheme="http://www.blogger.com/atom/ns#" term="spring"/><title type='text'>@PersistentContext e @Autowired</title><content type='html'>Hoje consegui resolver um problema que já me perturbava há dias. Como a urgência (deadline) chegou somente hoje, consegui resolver também somente hoje. Tudo isso para seguir o corolário &quot;o trabalho se expande para preencher o tempo disponível&quot;. Creio que seja realmente verdade.&lt;br /&gt;
&lt;br /&gt;
Qual era o problema? Em um das classes declarei um javax.persistence.EntityManager com o @Autowired do Spring ao invés do @PersistentContext. Resultado: o Spring simplesmente lançava uma Exception dizendo que não era impossível injetar o EntityManager, pois reclamava que não havia nenhum no contexto (mas havia sim).&lt;br /&gt;
&lt;br /&gt;
Reconheço que foi uma falha de código, mas a Exception poderia ajudar com uma mensagem melhor também, não? Já estava quase colocando a culpa no spring-integration.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/8483658390590846258/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/02/persistentcontext-e-autowired.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8483658390590846258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/8483658390590846258'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/02/persistentcontext-e-autowired.html' title='@PersistentContext e @Autowired'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-6887204478922036878</id><published>2010-01-13T15:22:00.000-02:00</published><updated>2010-01-13T15:22:31.951-02:00</updated><title type='text'>É tempo de mudar!</title><content type='html'>2010 chegou, e é tempo para novas reflexões e decisões para alterar o rumo das coisas. A experiência nos ajuda nesta hora.&lt;br /&gt;
&lt;br /&gt;
Ultimamente tenho recebido várias notícias que muitos entenderiam como ruins, mas não sei porque acabo enxergando tudo como novas oportunidades.&lt;br /&gt;
&lt;br /&gt;
Estou me sentindo bem, como há tempos não sentia. Este será um grande ano, para mim e para todos da Ínsula.&lt;br /&gt;
&lt;br /&gt;
Preparem-se para as mudanças que estão por vir.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/6887204478922036878/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2010/01/e-tempo-de-mudar.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/6887204478922036878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/6887204478922036878'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2010/01/e-tempo-de-mudar.html' title='É tempo de mudar!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-9086369850905385451</id><published>2009-12-03T11:24:00.001-02:00</published><updated>2010-08-05T10:52:05.290-03:00</updated><title type='text'>Succeeding with Agile!</title><content type='html'>Há cerca de dois meses o famoso &lt;a href=&quot;http://www.mountaingoatsoftware.com/&quot;&gt;Mike Cohn&lt;/a&gt; fez um &quot;concurso&quot; de frases e opiniões sobre &lt;i&gt;agile development&lt;/i&gt; em seu blog&lt;i&gt;.&lt;/i&gt; O prêmio? Uma cópia de seu mais recente livro, o &quot;&lt;i&gt;Succeeding with Agile&lt;/i&gt;&quot;. A melhor frase ou opinião sobre &lt;i&gt;agile development&lt;/i&gt; ganharia o livro, e mais uma cópia seria sorteada.&lt;br /&gt;
&lt;br /&gt;
Pra ser sincero nem lembro de ter participado do concurso, e se o fiz nem lembro qual foi a frase que eu postei, mas como sexta-feira, dia 13 de Novembro de 2009, foi meu dia de sorte, eu ganhei a cópia que foi sorteada aleatoriamente! Quisera eu fosse pelo outro motivo, mas o importante é que eu ganhei o livro :-)&lt;br /&gt;
&lt;br /&gt;
O livro acabou de chegar pelo correio. O Mike Cohn ainda fez questão de autografá-lo. Fantástico. Agora basta ter sucesso com &lt;i&gt;Agile&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW5GSOf-RBN5hOQEZoPGPyhyX2pToLGKHnzZbqHXghrTIoRhXJHm46rN8CuGmhz3DNU3ISlBgarf1X9C9rj8eiOHCrL_CiG6x1N_AYUHwuONtrnhmkF-hxwLHn4tp9gD8cLjC2D-bW2Mp7/s1600-h/IMG00040.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW5GSOf-RBN5hOQEZoPGPyhyX2pToLGKHnzZbqHXghrTIoRhXJHm46rN8CuGmhz3DNU3ISlBgarf1X9C9rj8eiOHCrL_CiG6x1N_AYUHwuONtrnhmkF-hxwLHn4tp9gD8cLjC2D-bW2Mp7/s400/IMG00040.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglYIZn58DXauSVMuwI3PZdEEhCkmGPU1GCqLPOdU6gKqdKRvhs6nydMrVoKB-ElCQMMP_QSfJ_iuJNc8xfjckRoeeXqZPb_jaazIDGT76crXUXro_sHvVBp4kZVNqoZ-Q3q5rchPlNnZMk/s1600-h/IMG00041.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglYIZn58DXauSVMuwI3PZdEEhCkmGPU1GCqLPOdU6gKqdKRvhs6nydMrVoKB-ElCQMMP_QSfJ_iuJNc8xfjckRoeeXqZPb_jaazIDGT76crXUXro_sHvVBp4kZVNqoZ-Q3q5rchPlNnZMk/s400/IMG00041.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/9086369850905385451/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2009/12/succeeding-with-agile.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/9086369850905385451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/9086369850905385451'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2009/12/succeeding-with-agile.html' title='Succeeding with Agile!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW5GSOf-RBN5hOQEZoPGPyhyX2pToLGKHnzZbqHXghrTIoRhXJHm46rN8CuGmhz3DNU3ISlBgarf1X9C9rj8eiOHCrL_CiG6x1N_AYUHwuONtrnhmkF-hxwLHn4tp9gD8cLjC2D-bW2Mp7/s72-c/IMG00040.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-7557335873750378648</id><published>2009-11-05T17:20:00.000-02:00</published><updated>2009-11-05T17:20:38.883-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="atendimento"/><category scheme="http://www.blogger.com/atom/ns#" term="problema"/><category scheme="http://www.blogger.com/atom/ns#" term="revenda"/><category scheme="http://www.blogger.com/atom/ns#" term="TIM"/><category scheme="http://www.blogger.com/atom/ns#" term="Vivo"/><title type='text'>Péssimo atendimento das revendas TIM</title><content type='html'>Nos últimos dois anos tive a péssima experiência de receber um atendimento ruim por parte de duas revendas TIM corporativas: a Brasil Sul Telecom e a Estação TIM. No caso da Estação, liguei umas 5 vezes na loja e deixei recado para a consultora me retornar. Nada. Ligo no celular dela e ninguém me atende.&lt;br /&gt;
&lt;br /&gt;
Estamos com o CNPJ no SERASA por conta de várias cobranças indevidas da TIM. Já liguei umas 10 vezes no 0800, mas pra variar eles também não querem resolver meu problema. Dizem que a revenda é quem pode &quot;ajudar&quot;.&lt;br /&gt;
&lt;br /&gt;
Cansei. Mudei esta semana para a Vivo e aproveitei para comprar o meu iPhone 3GS com tethering. Depois é ir no Procon resolver as pendengas com a TIM.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/7557335873750378648/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2009/11/pessimo-atendimento-das-revendas-tim.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7557335873750378648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/7557335873750378648'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2009/11/pessimo-atendimento-das-revendas-tim.html' title='Péssimo atendimento das revendas TIM'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4301633769265894928.post-1193832939466011881</id><published>2009-10-22T17:28:00.001-02:00</published><updated>2009-11-04T16:31:03.204-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="horário de verão"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jvm"/><category scheme="http://www.blogger.com/atom/ns#" term="timezone"/><title type='text'>Problema com o horário de verão no Java resolvido (ou quase)!</title><content type='html'>Certos países definem datas fixas para o início e término do horário de verão. Não é o caso do Brasil (infelizmente).&lt;br /&gt;
&lt;br /&gt;
Este ano passei um tremendo sufoco com alguns servidores, que mesmo apontando a hora certa - no nosso caso no horário de verão, GMT-2, ainda assim o Java apontava a hora com GMT-3.&lt;br /&gt;
&lt;br /&gt;
Descobri que o Java utiliza o seu próprio esquema de timezones, ao invés de utilizar o do sistema operacional.&lt;br /&gt;
&lt;br /&gt;
Visitei vários blogs, o FAQ da Sun, testei todas as alternativas e nenhuma resolveu. &lt;b&gt;NENHUMA.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Como o problema foi solucionado? Utilizando o parâmetro user.timezone da JVM.&lt;br /&gt;
&lt;br /&gt;
Basta inicializar a JVM com o parâmetro: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;java -Duser.timezone=GMT-2:00&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Como eu preciso do horário de verão, coloquei GMT-2:00. Quando ele acabar, tenho que retirar o parâmetro ou colocar GMT-3:00.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PS:&lt;/b&gt; Problema detectado e resolvido no CentOS 5.0. Nos servidores Ubuntu 8.04, não houve problema pois o servidor e o java atualizaram o horário de verão automaticamente.</content><link rel='replies' type='application/atom+xml' href='http://blog.insula.com.br/feeds/1193832939466011881/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://blog.insula.com.br/2009/10/problema-com-o-horario-de-verao-no-java.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/1193832939466011881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4301633769265894928/posts/default/1193832939466011881'/><link rel='alternate' type='text/html' href='http://blog.insula.com.br/2009/10/problema-com-o-horario-de-verao-no-java.html' title='Problema com o horário de verão no Java resolvido (ou quase)!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>