<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Erick Mendonça on Medium]]></title>
        <description><![CDATA[Stories by Erick Mendonça on Medium]]></description>
        <link>https://medium.com/@erickmendonca?source=rss-8a630f2eefc7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AdToV7uTzqd03NjLSt5swQ.jpeg</url>
            <title>Stories by Erick Mendonça on Medium</title>
            <link>https://medium.com/@erickmendonca?source=rss-8a630f2eefc7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 09:32:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@erickmendonca/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Impactando pessoas]]></title>
            <link>https://medium.com/@erickmendonca/impactando-pessoas-ce1514ba990a?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce1514ba990a</guid>
            <category><![CDATA[giving-back]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[helpful]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Thu, 03 Jan 2019 20:43:23 GMT</pubDate>
            <atom:updated>2019-01-03T20:43:23.831Z</atom:updated>
            <content:encoded><![CDATA[<h4>Ou: porque comunidades importam</h4><p>Comecei a escrever esse texto há mais de um ano atrás e ele acabou ficando aqui preso em meio aos meus outros rascunhos. Está na hora de publicá-lo — mesmo incompleto — na esperança de que sua mensagem atinja mais pessoas ao meu redor e de que eu <em>tome vergonha na cara</em><a href="https://www.proz.com/kudoz/portuguese-to-english/idioms-maxims-sayings/1351387-tomar-vergonha-na-cara.html"><em>™️</em></a><em> </em>e volte a escrever e contribuir mais.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L45PVPFH6v65bl1eyKvssg.png" /></figure><p>Há um bom tempo atrás, fui abordado por uma pessoa enquanto andava pelo campus da universidade em que estudei para ir ao banco. Infelizmente não vou me lembrar de seu nome, mas esta pessoa me lembrou do porquê eu gostar de comunidades. Ganhei meu dia, ali.</p><p>Ela gostaria de tirar uma dúvida sobre Android, se eu conhecia uma biblioteca que pudesse ajudá-la em um problema específico em um app que está desenvolvendo. Ajudei como normalmente faço: ofereci opções de caminhos a trilhar para resolver o assunto.</p><p>Depois, ela me contou como começou a desenvolver para Android: tinha curiosidade antes, mas foi com o <a href="http://android.gdgaracaju.com.br/2015">Android Jam 2015</a> — um evento que ajudei a organizar junto ao <a href="http://medium.com/gdg-aracaju">@gdgaracaju</a> e contou com diversas palestras de nossos ilustres colegas sergipanos e outros mais. Lá ela teve contato com o framework para desenvolvimento, assistiu palestras e acompanhou o <a href="https://www.udacity.com/course/developing-android-apps--ud853">curso pela Udacity</a>.</p><p>Talvez você seja pleno autodidata, mas eu acredito que a maioria de nós teve a ajuda de alguém em sua jornada de estudos ou carreira. Chegou a hora de fazer sua contribuição de volta: ensine algo a alguém, seja um mentor, publique textos, faça parte de um projeto open source ou dê palestras.</p><p>É fácil se perder no mar de responsabilidades, mudanças na carreira, família e prazos. Eu tinha esquecido do quanto isso era importante. Mas este é o meu lembrete, e eu espero que também seja o seu.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce1514ba990a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python gotchas: hash()]]></title>
            <link>https://medium.com/@erickmendonca/https-medium-com-erickmendonca-python-gotchas-hash-1324f9392db3?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1324f9392db3</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[hash-table]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Sun, 30 Jul 2017 13:01:01 GMT</pubDate>
            <atom:updated>2017-07-30T22:25:41.953Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>Or: WAT?</p><p>Python is an amazing programming language. I love it. A lot of people love it also. Everyone should love it!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKBKXu3Kg4yg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKBKXu3Kg4yg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKBKXu3Kg4yg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/decab3e4fde7105d4f6f9ff0d90c9e29/href">https://medium.com/media/decab3e4fde7105d4f6f9ff0d90c9e29/href</a></iframe><p>Er… okay, sorry for my enthusiasm. But hey, I just love this goddamn language. But we need to talk about some… things. Things that may hurt you while writing amazing Python code. <a href="https://www.destroyallsoftware.com/talks/wat">You know</a>, those things may happen in any language.</p><p>I&#39;ll try to talk about some of those things, like the <em>hash</em> function or mutable default parameters on functions, an article at a time. Let&#39;s start with…</p><h3>hash()</h3><p>The <a href="https://docs.python.org/3/library/functions.html#hash">hash function</a> is amazing: it’s really important for Python tuples and dictionaries, so pay respect. It returns an integer that represents whatever object you pass to it. For custom objects, it defaults to <em>id()</em> unless this behavior is overwritten on custom <em>__hash__()</em> methods. But for other objects, like numbers or strings, it can be used to quickly compare values, like when the interpreter is doing a dictionary lookup.</p><p>Imagine that you have a huge amount of data as input, that you need to process and validate before inserting on your production database. To do that, you might create some tasks that run distributed on threads or servers. But you would need to fetch and sync data between those tasks, so you might try to be a little clever and start using <em>hash()</em> to create unique — or almost unique — keys for saving your data on a cache, for example.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d169fdb2e146d0f3e4661d5682eb7291/href">https://medium.com/media/d169fdb2e146d0f3e4661d5682eb7291/href</a></iframe><p>But beware! <a href="https://docs.python.org/3/whatsnew/3.3.html">Starting on CPython 3.3</a>, the hashes of certain objects, as strings, are salted, so they change between different processes. <a href="https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED">You can omit this behaviour</a>, but it is turned on by default which may cause some surprises. Bad ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*9Ewu5bJ5Xk8rRvXWZv2HRA.png" /><figcaption>A ~happy~ user</figcaption></figure><p>Getting back to the previous scenario, let&#39;s imagine that you use something like that snippet to cache some semi-processed data while another task (that may be or may be not on the same thread, or server…) fetches this data to aggregate or save in the database.</p><p>Just wonder what could happen if you test your code on an environment that has hash randomization disabled, but deploy it on an environment with the default behaviour! On your laptop, you might not have the same amount of workers and parallelism that you have on production, so everything might run on the same thread and all is good. But as soon as you push your code to production, all hell breaks loose: a lot of exceptions, invalid lookups, processing jobs that don&#39;t finish and bad user experiences.</p><h4>TL;DR</h4><p>So, the main takeaway is: the result of <em>hash()</em> may change between processes, runs or different computers. Don&#39;t take it for granted that they will be the same! If you need this behaviour, you&#39;ll have to <a href="https://docs.python.org/3.3/using/cmdline.html#envvar-PYTHONHASHSEED">enforce it on all environments</a>, or just use something else instead: search for a unique value, build a unique string and so on.</p><p>On a sidenote, if you want to read some more about <em>hash()</em>, <a href="http://www.asmeurer.com/blog/posts/what-happens-when-you-mess-with-hashing-in-python/">I suggest this one to start</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1324f9392db3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[O que é um Coding Dojo?]]></title>
            <link>https://medium.com/gdg-aracaju/o-que-%C3%A9-um-coding-dojo-f5f229443714?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5f229443714</guid>
            <category><![CDATA[learn-to-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[coding-dojo]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Mon, 19 Jun 2017 11:01:02 GMT</pubDate>
            <atom:updated>2017-06-22T14:39:10.453Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nx4J-q5dvliPEUG6jt1caQ.png" /><figcaption>Algum evento do GDG Aracaju :)</figcaption></figure><blockquote>Só se conhece o que se pratica.<br>Barão de Montesquieu</blockquote><p>Podemos investir mais algumas palavras com citações semelhantes, mas você sabe do que estamos falando: se você quer dominar algo, você precisa praticar. Não basta ter — por qualquer motivo que seja — alguma facilidade para absorver conceitos de lógica de programação, ou até mesmo uma boa memória para lembrar de detalhes da sintaxe de sua linguagem de programação favorita.</p><p><strong>Você, desenvolvedor, precisa praticar.</strong></p><p>Músicos ensaiam. Alguns deles se reúnem regularmente com seus instrumentos musicais e tentam alguns acordes em conjunto. Artistas marciais frequentam locais pré-determinados onde podem praticar seus movimentos em um ambiente seguro. E o programador acha que é só ler um tutorial ou saber diferenciar um <em>if</em> de um <em>for</em>?</p><p>Um <strong>Coding Dojo é um lugar seguro</strong> para que programadores possam praticar sua arte: resolver problemas. Não importa qual problema ou qual linguagem. Muito menos se é um desenvolvedor sênior, estagiário ou apenas uma pessoa curiosa. Em um Coding Dojo, todos as pessoas presentes contribuem para a resolução de um problema, colaborando e aprendendo.</p><p>Um Coding Dojo <strong>não </strong>é um local para exibir seus talentos. Também não é um local para monopolizar a prática. Um Coding Dojo não possui restrição de habilidade, gênero, etnia ou de qualquer coisa que seja. <strong>Você, que imagina ser um novato, também é bem vindo!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*4kjPefeOmVpDyJ4Zb9FKHg.png" /><figcaption>Coding Dojo do GDG Aracaju, julho de 2015</figcaption></figure><h3>Certo. E como funciona isso?</h3><p>Existem diversas formas de se conduzir um Coding Dojo, mas a mais comum provavelmente é o Randori. Hein?</p><p>No Randori, os participantes do dojo aplicam técnicas tidas como boas práticas de programação: testes unitários, baby steps e programação em pares. Funciona da seguinte forma:</p><ol><li>Dois participantes são escolhidos entre os presentes. Um deles será o piloto e outro o co-piloto.</li><li>Os dois escolhidos irão trabalhar em conjunto para solucionar o problema. O piloto controla o teclado, enquanto o co-piloto o assiste de perto, oferecendo sugestões e discutindo ideias.</li><li>Após um determinado (e curto!) período de tempo, o piloto volta para a plateia e o co-piloto assume o seu lugar. Um novo co-piloto é escolhido da plateia. Esse ciclo é repetido até o final do dojo.</li></ol><p>Dessa forma, todos podem contribuir com o código de alguma forma, seja escrevendo algumas poucas linhas, adicionando comentários ou simplesmente conversando sobre a solução sendo construída. O tempo de rotação costuma ser algo entre 4 e 7 minutos, para garantir que haja a possibilidade de contribuir mas que a rotatividade seja alta.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*GM4ZtU2kos6t2ZYQDiQs-w.png" /><figcaption>Resumo de um dojo: problema, linguagem, pontos positivos e negativos.</figcaption></figure><h3>Boas práticas? Sério?</h3><p>Algumas pessoas podem criticar algumas dessas práticas, obviamente. Não vamos fazer de conta aqui que existem balas de prata. Mas, mesmo que você não se utilize dessas técnicas em seu trabalho ou estudo diariamente, elas facilitam o dojo e potencializam o aprendizado. Testes unitários e programação em pares, por exemplo, incentivam o bom planejamento da solução e o trabalho em equipe ao incluir a necessidade de escrever testes e discutir sobre os mesmos durante o coding dojo.</p><p>Procure um grupo de coding dojos em sua região. Participe de algumas sessões, principalmente daquelas com linguagens que você não use no dia-a-dia. Saia de sua zona de conforto, aprenda mais e conheça pessoas extraordinárias!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5f229443714" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gdg-aracaju/o-que-%C3%A9-um-coding-dojo-f5f229443714">O que é um Coding Dojo?</a> was originally published in <a href="https://medium.com/gdg-aracaju">GDG Aracaju</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Study Jams 2016]]></title>
            <link>https://medium.com/gdg-aracaju/android-study-jams-2016-78133c56a71d?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/78133c56a71d</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Thu, 28 Apr 2016 15:16:52 GMT</pubDate>
            <atom:updated>2016-04-28T15:16:52.258Z</atom:updated>
            <content:encoded><![CDATA[<h4>Desenvolvendo aplicativos para Android com a comunidade</h4><blockquote>“Nenhum projeto é viável se não começa a construir-se desde já: o futuro será o que começamos a fazer dele no presente.” <a href="https://pt.wikipedia.org/wiki/I%C3%A7ami_Tiba"><strong>Içami Tiba</strong></a></blockquote><p>Developers Study Jams são grupos de estudo que funcionam numa série de eventos gratuitos, organizados pela comunidade e incentivados pelo Google, para explorar determinados temas. Pelo segundo ano, o GDG Aracaju participou dessa iniciativa e ofereceu o curso Android for Beginners, em parceria com a Udacity.</p><p>Nesse curso, além do conteúdo online disponibilizado pela <em>Udacity</em>, os alunos tiveram todo o apoio do <a href="https://medium.com/u/611d3ec284c4">Italo Santana</a>, nosso facilitador convidado, além dos organizadores do GDG Aracaju, a citar: <a href="https://medium.com/u/8a630f2eefc7">Erick Mendonça</a>, <a href="https://medium.com/u/46bff632cbd3">Fernando Mendonça de Almeida</a>, <a href="https://medium.com/u/4fe4510de473">Raphael Pantaleão</a> e <a href="https://medium.com/u/cdcb30b5b1d7">Roberto Brandini</a>. Assim, trabalhamos passo-a-passo para construir um app Android, aprendendo as melhores práticas de desenvolvimento mobile em geral e particularmente para a plataforma do robozinho.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7k3wf1NiUs7gXtgCWkDI-Q.jpeg" /><figcaption>Parte dos alunos do Android Jam 2!</figcaption></figure><p>Em 2015, nós tivemos uma bela edição do <a href="http://android.gdgaracaju.com.br/2015/"><em>Android Jam</em></a><em> </em>— nós escolhemos um nome menor para nossa edição local — com mais de <strong><em>80 participantes</em></strong> no primeiro dia. Foram <strong><em>12 palestras</em></strong> (duas via Hangouts on Air), que ocorriam junto aos sete dias que acompanhamos os alunos no <a href="https://www.udacity.com/courses/ud853">curso <em>Developing Android Apps</em>, também do <em>Udacity</em>.</a></p><p>Foram dias fantásticos. Mas esbarramos em um problema: nós queríamos que a nossa comunidade desenvolvesse aplicativos. Mas acabamos tendo ótimas conferências sobre o tema, mas pouca adesão ao curso oferecido e poucos projetos finalizados. Dessa forma, pensamos em fazer o Android Jam 2016 diferente.</p><h3>Android Jam: Curso</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CYsNWS-xsxYnxqCIu0bSHw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ph9IUwtD1SCoEpvvqnkOnA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0nUzRP3k4iq2fSmbh-KQ1Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PdFP8AtqahkCPbG0QzH-HA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsuAOeOBT-3G82CKfbAOVw.jpeg" /><figcaption>Cenas do curso Android for Beginners</figcaption></figure><p>Nós seguimos os alunos pelo curso pessoalmente, assistindo os vídeos juntos e com o veterano em <em>Android</em> Italo sempre pronto para comentar e tirar dúvidas. Para tornar esse acompanhamento mais próximo possível, nós tivemos de diminuir a quantidade de vagas no curso para <strong><em>30 pessoas</em></strong>. Assim, nós conseguimos lotar um laboratório (gentilmente cedido pela <a href="http://www.fanese.edu.br/">Faculdade FANESE</a>) e mantemos a colaboração saudável.</p><p>Ao diminuir a quantidade de vagas, nós tivemos uma demanda muito maior do que a oferta poderia cobrir. Isso nos deixou muito felizes, embora um pouco chateados por não conseguir atender a toda a comunidade. Então, nós sorteamos as vagas entre todos os interessados. Dentre os 30 sorteados, tivemos 6 mulheres participando dessa edição!</p><p>Durante o evento também distribuímos brindes aos presentes, alguns deles como parte de uma dinâmica de perguntas e respostas, outros foram entregues a todos. Estes brindes foram cedidos pelo <a href="http://developers.google.com/"><em>Google</em></a>. Também houve o sorteio de outros brindes fornecidos pela <a href="http://www2.dpsistemas.com.br/"><em>DP Sistemas</em></a>. O melhor projeto final foi presenteado com um Roteador WiFi, cedido pela <a href="http://getinfo.net.br/"><em>Getinfo</em></a>.</p><p>Com todos os alunos engajados no curso, a nossa taxa de <em>no-show</em> ficou em média de 10% dos atendentes faltantes, o que é muito bom para um evento gratuito.</p><h3>Perfil dos Alunos</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*oGVNB5CoH-y7jYgqE4rWSw.png" /></figure><p>Como os gráficos acima apontam, os alunos que participaram do curso, na sua grande maioria, não tinham experiência alguma com Android e pouca em Java. Exatamente nosso público-alvo!</p><h3>Android Jam: Talks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tHyHuWjJWtLPArdI1YY7ew.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQDXWFc80JD_-0TiJ_vmzw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gJKHGZujDSq-MYEfySr18A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pylx2pZOuY58oiKBhPB_tQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OOf8Hhxcq09iJZIysfRvoQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z4yYiKu0L8fwl-SycBND1Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5yZ-qXwQ8mrlL64akAaBhg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3RSk27TUOfWnLR7n-wmHQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yDO_j6ROqPPnqn6cRworOw.jpeg" /></figure><p><a href="http://android.gdgaracaju.com.br/2016/#1203">Começamos a temporada no dia 12 de março</a>, com um evento aberto a comunidade onde abrimos as inscrições para o curso. No <a href="http://android.gdgaracaju.com.br/2016/#0204">dia 02 de abril</a> também tivemos outro dia de palestras abertas, além de um ótimo <a href="https://goo.gl/S1hYPa">Hangout on Air no dia 08 de abril</a>. Estes eventos abertos nos permitiram também atender a toda comunidade veterana de desenvolvimento mobile, abordando temas mais avançados. No primeiro dia tivemos <strong><em>99 inscritos, dentre eles 8 mulheres.</em></strong></p><p>Confira como foi a nossa programação aberta:</p><h4>12 de março</h4><p><em>Internet das Coisas e os Smartphones,</em> com <a href="https://medium.com/u/46bff632cbd3">Fernando Mendonça de Almeida</a><br><em>Folkes: Minerando dados do Instagram,</em> com <a href="https://medium.com/u/3cd62ee72038">Breno Moura</a><br><em>Como a Popcode constrói seus apps — Erros e acertos,</em> com <a href="https://medium.com/u/92638fd18399">Hugo Doria</a></p><h4>02 de abril</h4><p><em>Segurança no Android,</em> com <a href="https://twitter.com/netonightmare">Euler Neto</a><br><em>Firebase e Android,</em> com <a href="https://medium.com/u/696c81ff90ed">Ygor César</a><br><em>Como aumentar sua produtividade no Android Studio,</em> com <a href="https://medium.com/u/611d3ec284c4">Italo Santana</a></p><h4>08 de abril</h4><p><em>O Caminho para uma Arquitetura Elegante,</em> com <a href="https://medium.com/u/513680dd4d7">Lucas Xavier</a></p><blockquote>&quot;Eventos são sempre importantes, sejam grandes ou pequenos, o objetivo é tirar a comunidade da zona de conforto.&quot; <strong>Roberto Brandini</strong></blockquote><blockquote>“Para a comunidade Sergipana de Desenvolvedores é de suma importância ter eventos como foi o Study Jam. Eventos como esse faz que toda comunidade se engage. Para os novatos na área, o fato de entrar em contato com profissionais é algo estimulante, o aprendiz tem alguém para guiá-lo, tirando dúvidas, trocar ideias, entre outras coisas. Para nós do GDG Aracaju foi uma enorme lição, estamos agora mais maduros e melhorando a cada novo evento. Este ano tivemos dois dias de palestras e mais quatro dias de mini curso, o que diversificou o Study Jam; Palestras abertas a toda comunidade e minicursos forcados para novatos na área. Assim conseguimos atingir diversos públicos, de novatos a profissionais de longa data. Sinto muito grato em ter participado e fazer parte deste Study Jam!” <strong>Raphael Pantaleão</strong></blockquote><blockquote>“Ter uma comunidade forte e ativa no desenvolvimento de aplicativos é o caminho para fortalecer o mercado de desenvolvimento de software sergipano. Iniciativas como o Study Jams são bastante empoderadoras e fico extremamente feliz de ter feito parte desse projeto!” <strong>Erick Mendonça</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78133c56a71d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gdg-aracaju/android-study-jams-2016-78133c56a71d">Android Study Jams 2016</a> was originally published in <a href="https://medium.com/gdg-aracaju">GDG Aracaju</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mas onde eu devo focar?]]></title>
            <link>https://medium.com/@erickmendonca/mas-onde-eu-devo-focar-7199fb314c30?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7199fb314c30</guid>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Fri, 26 Feb 2016 20:01:42 GMT</pubDate>
            <atom:updated>2016-02-29T16:01:52.628Z</atom:updated>
            <content:encoded><![CDATA[<h4>Ou: “Me digam o que devo aprender pra ser feliz e ter sucesso!”.</h4><p>Recebo esta pergunta frequentemente. Não que eu seja um modelo fantástico de sucesso profissional, mas vivo aprendendo coisas novas (e ensinando-as!). Essa é uma pergunta comum em qualquer área de estudo, mas vamos nos ater às linguagens de programação aqui.</p><h4>A resposta é: não sei.</h4><p>É desapontador ler isso. Mas é verdade. Também não acredite em quem te der uma fórmula pronta para alavancar sua carreira: pode ter funcionado para eles, pode estar funcionando para seu vizinho, mas não há certeza de que funcionará para você.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9ArANdKox3qGATSUsc1jA.jpeg" /><figcaption>Crédito: <a href="https://github.com/blog/2047-language-trends-on-github">Language trends on GitHub</a></figcaption></figure><p>“Ah, mas eu li que o mercado quer Java!” Ok. Mas que mercado? Em quais produtos? Em qual região? E — mais importante — você gosta de Java? Substitua Java nessas sentenças anteriores por qualquer outra coisa, não estou aqui para criticá-lo especificamente.</p><p>“Eu conheço um cara que manja de Ruby/JavaScript/Python/insira-uma-tecnologia-aqui e está trabalhando nos <em>States</em>!” Pois é! Mas será que é só ler uns dois tutoriais e carimbar o passaporte?</p><p>O que vai ter maior peso para sua carreira não é saber a linguagem ou framework do momento. Desconsiderando aqui as habilidades interpessoais, que também tem um enorme peso, o que importa é o quão bom você é com o que você trabalha. Quanto de valor você consegue retornar para a empresa que o contratou, ou para a sua startup. E como alcançar isso se você não curte o seu trabalho?</p><p>Em qualquer momento, o mercado vai ter uma demanda alta de profissionais para alguma tecnologia. E uma enxurrada de pessoas tentando pegar esta onda com pouco ou nenhum conhecimento. É neste nível que você quer concorrer? E quando vier a próxima onda?</p><p>Explore suas opções. Nada de ruim irá decorrer disto. Aprenda uma, duas, três linguagens de programação. Veja qual lhe agrada mais. Pesquise mais sobre esta linguagens, as bibliotecas e frameworks disponíveis. Esse crescimento é orgânico.</p><p>Mas mesmo assim, se você precisar de uma receita, <a href="http://www.cybercook.com.br/receita-de-churros-caseiro-r-7-18651.html">use essa</a>.</p><p><strong><em>Pacote de expansão #1:</em></strong></p><p>Baseado nos primeiros feedbacks que recebi, decidi escrever um pouco mais.</p><p>&quot;Faça o que gosta” é lugar-comum. Há milhões de textos sobre isso. E também não se torna inválido pelo mesmo motivo. O texto toma ares de desabafo e realmente o é, de certa forma.</p><p>NodeJS tá na moda? Aprender Docker e Git são boas pedidas? Pode ser que sim. Mas o desfecho dessa receita pode variar mais do que a receita de um churros, por <em>n </em>motivos.</p><p>Gostar da tecnologia que você emprega nos seus projetos garante algumas vantagens, que são mais difíceis de serem acompanhadas por quem só está aprendendo “porque o mercado pede”:</p><ul><li>você tem curiosidade de aprender mais: no seu tempo livre, você acaba lendo um pouco mais sobre ela. Eu vivo ouvindo podcasts ou lendo coisas sobre Python, porque eu gosto :)</li><li>você tem mais orgulho do produto final: ver o seu código rodando e saber que ele foi feito naquela tecnologia específica, usando aquele padrão que você acha fantástico é uma sensação maravilhosa!</li><li>você tem mais experiência: ao invés de ficar apenas lendo opiniões de terceiros sobre framework 1 VS framework 2, você os testa. Vê prós e contras, segue tutoriais, percebe onde consegue ser mais produtivo.</li></ul><p>Go there and rock, young padawan!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7199fb314c30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Community]]></title>
            <link>https://medium.com/@erickmendonca/community-29bdfd3794a3?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/29bdfd3794a3</guid>
            <category><![CDATA[community]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Tue, 18 Mar 2014 00:13:59 GMT</pubDate>
            <atom:updated>2016-01-20T21:04:42.441Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or: “why talk to people if I work with computers?”</h4><p>I could start this little article wondering about humans are social beings by nature, but you already know this. On the other hand, the developer’s archetype is to be antisocial… or not?</p><p>Developers have created one of the most effective concepts of community: <em>free/libre/open source software. </em>A product created by the collaboration of hundreds of people, in a centralized way or not, is quite something and should not be ignored. Other initiatives, social business models, virtual communities, were created by programmers. Here, however, one should note that develop and design a service are different things, but I believe that many of these social and innovative ideas departed from the minds of programmers.</p><p>So why not bring down this antisocial archetype and <strong>embrace the community</strong>? Search for the local initiatives. Certainly there are several groups: contributors to open source software, study groups, game developers, coding dojos, etc.. Meet people, ideas and new technologies. But do not settle for your neighbourhood: get involved in mailing lists, forums, blogs, GitHub projects. Amazing projects can be born there!</p><p><a href="http://b.erickmendonca.com.br/post/79183408757/comunidade">Published in brazilian portuguese here.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29bdfd3794a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic tips on tuning SQL Server queries]]></title>
            <link>https://medium.com/@erickmendonca/basic-tips-on-tuning-sql-server-queries-f834f09bafaf?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f834f09bafaf</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[sql-server]]></category>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Tue, 20 Aug 2013 21:00:26 GMT</pubDate>
            <atom:updated>2017-07-14T00:20:56.915Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*b4g7GiFsjKOx7R5M.jpeg" /><figcaption>Fly!</figcaption></figure><h4>Make your database fly!</h4><p>I see people afraid of databases. Alive or dead, academic or professional. I’d never understand why. They end up forced to learn on the go. They don’t have time to realize some good practices — and tips! — to optimize performance on their databases and queries.</p><p>Badly-designed queries can degrade the database performance a lot. I have seen huge and time-consuming database processing jobs become blazing fast with just some fine-tuning on the queries executed. It is great to deploy a optimized product that runs dozen times faster than the previous version!</p><p>So it is necessary to avail the executed queries on database, on whatever platform it is running. This text focuses primarily on SQL Server, but I have sure that most of the tips fits all major platforms.</p><p><em>Note: I did write this article a few years ago. I was a certified SQL Server 2005 professional back then. Some things might be outdated.</em></p><ul><li><strong>Don’t use the * in your queries.</strong> A <strong>SELECT *</strong> does an overload on the table, I/O and network bandwidth.</li><li>All columns involved in indexes should appear on <strong>WHERE</strong> and <strong>JOIN</strong> clauses on the <strong>same sequence they appear on index</strong>.</li><li><strong>Avoid</strong> <strong>VIEWs</strong>. Use them only when there are benefits of doing so. Do not abuse them.</li><li>Verify if a critical query gains performance by turning it in a <strong>stored procedure</strong>.</li><li><strong>Avoid too much JOINs</strong> on your query: use only what is necessary!</li><li><strong>Avoid cursors at all costs!</strong></li><li><strong>Always restrict the number of rows and columns of your result.</strong> That way, you save disk, memory and network of the database server. Always verify your WHERE clause and use TOP if necessary.</li><li><strong>Verify if your server isn’t suffering from not-enough-disk-space illness. </strong>Some times you lose time searching for all kind of problems only to find out that the server’s disk are almost full a few hours later. Always reserve at least 30% of available space on your disc.</li><li><strong>SQL Server is <em>case insensitive</em></strong>: he does not care about ‘A’ ou ‘a’. Save time and don’t use functions like LOWER and UPPER when comparing VARCHARs. (As pointed out by <a href="https://medium.com/u/b92368966adc">Aravind V Shibu</a>, this depends on the collation of your server or table. Please check it before!)</li><li>The decreasing performance order of operators is: = (faster)&gt;, &gt;=, &lt;, &lt;=, LIKE, &lt;&gt; (slower)</li><li>If a query is slow and your index is not being used by it (remember to check your execution plan), you can force it using <strong>WITH(INDEX=index_name)</strong>, right after the table declaration on the FROM clause.</li><li><strong>Use EXISTS or NOT EXISTS instead of IN or NOT IN.</strong> IN operators creates a overload on database.</li><li>Try to use <strong>BETWEEN instead of IN,</strong> too.</li><li>When using <strong>LIKE</strong> operator, try to leave the wildcards on the right side of the VARCHAR.</li><li><strong>Always avoid to use functions on your queries.</strong> SUBSTRING is your enemy. Try to use LIKE instead.</li><li><strong>Queries with all operations on the WHERE clause connected by ANDs are processed from the left to right</strong>. So, if a operation returns false, all other operations in the right side of it are ignored, because they can’t change the AND result anyway. It is better then to start your WHERE clause with the operations that returns false most of the time.</li><li>Sometimes is better to make various queries with <strong>UNION ALL</strong> than a unique query with too much OR operations on WHERE clause. Test it.</li><li>When there is a HAVING clause, it is better to <strong>filter most results on the WHERE clause and use HAVING only for what it is necessary</strong>.</li><li>If there is a need of returning some data fast, even if it is not the whole result, use the <strong>FAST</strong> option.</li><li>Use, if possible, <strong>UNION ALL instead of UNION</strong>. The second eliminates all redundant rows and requires more server’s resources.</li><li>Use less <strong>subqueries</strong>. If you must use it, try to nest all of them on a unique block.</li><li>Avoid to do much operations on your WHERE clause. If you are searching for <strong>a + 2 &gt; 7, use a &gt; 5 instead</strong>.</li><li>Use <strong>more variable tables and less temporary tables</strong>.</li><li>Use <strong>functions to reuse code. But don’t exaggerate</strong> on using them!</li><li>To delete <strong>all rows </strong>on a table, use <strong>TRUNCATE TABLE statement instead of DELETE.</strong></li><li>If you have a <strong>IDENTITY</strong> primary key and do dozens of simultaneous insertions on in, make it a non-clusterized primary key index to avoid bottlenecks.</li></ul><p>Now, some tips for the <strong>table structure</strong>. Sometimes it is necessary to make some alterations on the table design to extract more performance!</p><ul><li>All tables <strong>should have a primary key.</strong> Except data warehouses and the like sometimes.</li><li>All tables <strong>should have a clusterized index</strong>, normally on the primary key.</li><li>Don’t be afraid to create <strong>non-clusterized indexes</strong> on most tables. Just be sure that you aren’t overindexing your tables! Too much indexes degrades insertions.</li><li>If you are creating an index, check the queries that are made against the table. <strong>Give preference to index columns that appear on most WHERE and JOIN clauses</strong>, and their order!</li><li><strong>Avoid TRIGGERs. Use it only as a last resource. </strong>It is better to use CONSTRAINTs and STORED PROCEDUREs to maintain the integrity of your databases!</li></ul><p>I hope that these tips help you optimize your database queries!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f834f09bafaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Who I am and what I use for developing]]></title>
            <link>https://medium.com/@erickmendonca/who-i-am-and-what-i-use-for-developing-3cde9eb338ad?source=rss-8a630f2eefc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cde9eb338ad</guid>
            <dc:creator><![CDATA[Erick Mendonça]]></dc:creator>
            <pubDate>Tue, 20 Aug 2013 20:54:43 GMT</pubDate>
            <atom:updated>2014-03-26T18:43:02.085Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*-czVS2LKgZOi5JQK.jpeg" /><figcaption>No, i don’t use this setup. But it looks cool.</figcaption></figure><h4>Who are you, and what do you do?</h4><p>I am a convicted gamer. I have a lust for code. Besides coding, I really like to write other things. Fiction, mostly. I’m married with a great photographer and we have a little kid who loves Plants vs Zombies. And here we are talking about games again!</p><p><strong><em>This is my interview for 2013. </em></strong><a href="https://medium.com/p/94fac2ebb559"><strong><em>Take a look at the 2014 post!</em></strong></a></p><h3>What hardware do you use?</h3><p>I use a Windows laptop most of the time to write code. I use a Windows desktop as a home server. I play games mainly through Steam on Windows PCs. I use a smartphone to browse, mail, message and play on the go.</p><p>The laptop is Core i7 LG machine with 6 GB of RAM and a 750 GB HDD. It packs a NVidia Geforce GT 555M video card, powerful enough to play some games, connected via HDMI to a TV, accompanied by a Xbox controller. My desktop is a older machine, a Pentium Dual Core, 4 GB of RAM and a Geforce 9800 GT. Never felt too compelled to upgrade it over the years. The smartphone is a iPhone 4. It is my first and only smartphone until now. It has survived my lack of ability and — more interestingly — survived to my son.</p><h3>And what software?</h3><p>I’m very fond with C# and use it in a lot of projects, along with SQL Server databases. Maybe it is that way because most of the dayworks I’ve done to this day used these tecnologies.</p><p>I also like and use Java, PHP, Python and Javascript. I’m curious with Ruby and C++ and like to play with them a little. As databases, I’ve used MySQL and PostgreSQL too.</p><p>I like to use command-line tools, but don’t feel so agile with them for day-to-day tasks.</p><ul><li>Visual Studio is my main place to go for code. While not working with C#, I mainly use Notepad++.</li><li>Git is my favorite version control tool, but I also use SVN a lot.</li><li>SQL Server Management Studio to manipulate SQL Server databases.</li><li>I’m using OneNote to take notes.</li><li>Wunderlist is my favorite tool to control lists and tasks. Fast and simple.</li><li>Toggl is a simple tool to monitor my time spent coding.</li><li>Steam is my gaming buddy.</li><li>Chrome is the best browser out there. Period.</li><li>I don’t always listen to music while coding, but when I do Windows Media Player (or the iOS Music app) is good enough.</li></ul><h3>What would be your dream setup?</h3><p>My dream setup is a PC, not so much powerful than mine, but with two large and high-res screens, in a quiet, clean, sound and child-proof room. A nice internet connection would help a lot. My laptop would be much more thinner and lighter, the screen would not be useless on sunlight and the batteries would last a full day at least. I’m not asking much, am I?</p><p>I have much interest on messing around with game designing and development, and play with hardware on Arduino and Raspberry Pi.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cde9eb338ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>