<?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 Romenigue Thier on Medium]]></title>
        <description><![CDATA[Stories by Romenigue Thier on Medium]]></description>
        <link>https://medium.com/@romenigue?source=rss-7b11505fc020------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QXv1IqXG1vsD_Ar1oixgEg.jpeg</url>
            <title>Stories by Romenigue Thier on Medium</title>
            <link>https://medium.com/@romenigue?source=rss-7b11505fc020------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 18:44:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@romenigue/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[Importing private repos from Github]]></title>
            <link>https://medium.com/go-for-punks/importing-private-repos-from-github-8a3077560930?source=rss-7b11505fc020------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a3077560930</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[golang-development]]></category>
            <category><![CDATA[go-modules]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[Romenigue Thier]]></dc:creator>
            <pubDate>Fri, 04 Feb 2022 16:32:10 GMT</pubDate>
            <atom:updated>2022-02-04T16:39:28.314Z</atom:updated>
            <content:encoded><![CDATA[<p>One approach for your projects is create libs and share it for each application. This reduce the time spent to create a new project and makes more easy the work of your team.</p><p>Golang treat each library as a repository and you can &quot;host&quot; them directly on Github. Ok, this mean that I can create a custom code, push it and share to my projects, but how can I do this with a private repository?</p><blockquote><strong>Let&#39;s go!</strong></blockquote><h3>Using go get</h3><p>To download a library/module you need to use the command go get . This command basically clone the repository on your machine, using <strong>GOPATH</strong> and <strong>GOMODCACHE </strong>locations (to see this locations use the command go env [var ...] ).</p><p>When you work with a private repository you must use some kind of authentication. Usually is used a <em>ssh key </em>to communicate with Github, but go get uses the clone over <em>https</em>, this mean that you need to use your credentials or a personal token.</p><p>There&#39;s some explanation about this in the <a href="https://go.dev/doc/faq#git_https">Golang&#39;s FAQ</a>. You will see the same link on your terminal if you try to do the go get in a private repo, for example:</p><pre>$ go get github.com/rthier/private-repo<br>go get: module github.com/rthier/private-repo: git ls-remote -q origin in ... : exit status 128:<br> fatal: could not read Username for ‘https://github.com&#39;: terminal prompts disabled<br>Confirm the import path was entered correctly.<br>If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.</pre><p>Using <em>https </em>you will have an issue: to insert your credentials your console/terminal must be able to ask you for them and this is totally unproductive and unsafe if you use some automated process or script to get the project dependencies, like your pipeline to build the application.</p><p>You have 2 ways:<br> 1. Use a personal access token, or<br> 2. Use <em>ssh</em> instead of <em>https </em>for the repository (<strong>my recommended approach</strong>)</p><h4>SSH instead HTTPS</h4><p>This procedure is very easy, you just need to execute this on your terminal:</p><pre>git config --global url.&quot;ssh://git@github.com&quot;.insteadOf &quot;https://github.com&quot;</pre><p>Check on your .gitconfig file if the configuration was inserted:</p><pre>$ cat ~/.gitconfig<br># This is Git’s per-user configuration file.<br>[url “ssh://<a href="/service/mailto:git@github.com">git@github.com</a>/”]<br>        insteadOf = <a href="https://github.com/">https://github.com/</a></pre><h4>Lets try go get again!</h4><p>You will receive an error 410 Gone like the example below:</p><pre>$ go get github.com/rthier/private-repo<br>github.com/rthier/private-repo@v0.1.0: verifying module: github.com/rthier/private-repo@v0.1.0: reading <a href="https://sum.golang.org/lookup/github.com/rthier/private-repo@v0.1.0">https://sum.golang.org/lookup/github.com/rthier/private-repo@v0.1.0</a>: 410 Gone<br> server response:<br> not found: github.com/rthier/private-repo@v0.1.0: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/...: exit status 128:<br>  fatal: could not read Username for &#39;<a href="https://github.com&/#39;">https://github.com&#39;</a>: terminal prompts disabled<br> Confirm the import path was entered correctly.<br> If this is a private repository, see <a href="https://golang.org/doc/faq#git_https">https://golang.org/doc/faq#git_https</a> for additional information.</pre><p>Well, this is expected because Golang has a <em>mirror</em> <em>repository</em> with all public modules, providing a checksum for safety controls.</p><blockquote><strong>UNDERSTANDING </strong><strong>go get:</strong> when you submit a go get &lt;module/repo&gt; command you will not just clone the repository from Github but check the module in a mirror provided from Golang server, if the mirror doesn&#39;t contain the desired module/repo it will try to clone from the original repository saving in the Module Mirror creating a checksum.</blockquote><p>Golang server can&#39;t reach your private repository and for this reason you need to tell to your local environment <em>&quot;My module is private, please don&#39;t try to mirror it and get directly from my repository&quot; </em>setting the environment <strong>GOPRIVATE</strong></p><pre>$ go env -w GOPRIVATE=&quot;github.com/&lt;my_user&gt;/&lt;my_privaterepo&gt;&quot;</pre><p>I <strong>strongly recommend</strong> to set GOPRIVATE with your repository and not just with your user/org if you are using the public domain and not an enterprise version of Github, this prevent some unexpected behaviors.</p><pre># DON&#39;T DO THIS!!!!<br>$ go env -w GOPRIVATE=&quot;github.com/&lt;my_user&gt;&quot;</pre><p>More information about Golang Module Mirror and GOPRIVATE:<br>- <a href="https://sum.golang.org/">https://sum.golang.org/</a><br>- <a href="https://go.dev/ref/mod#checksum-database">https://go.dev/ref/mod#checksum-database</a><br>- <a href="https://go.dev/ref/mod#private-modules">https://go.dev/ref/mod#private-modules</a><br>- <a href="https://pkg.go.dev/cmd/go#hdr-Configuration_for_downloading_non_public_code">https://pkg.go.dev/cmd/go#hdr-Configuration_for_downloading_non_public_code</a></p><h3>Conclusion</h3><p>Using private repositories you can increase the possibilites to reuse codes creating libraries and sharing them in your projects. But keep in mind that Golang <em>always</em> try to clone your repo/module to a Module Mirror creating a <em>checksum</em>, for this reason you need explicitly set the Go environment to ignore this behavior when you go get your private repo/module.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a3077560930" width="1" height="1" alt=""><hr><p><a href="https://medium.com/go-for-punks/importing-private-repos-from-github-8a3077560930">Importing private repos from Github</a> was originally published in <a href="https://medium.com/go-for-punks">Go For Punks!</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handle zap log messages in a test]]></title>
            <link>https://medium.com/go-for-punks/handle-zap-log-messages-in-a-test-8503b25fe38f?source=rss-7b11505fc020------2</link>
            <guid isPermaLink="false">https://medium.com/p/8503b25fe38f</guid>
            <category><![CDATA[zap]]></category>
            <category><![CDATA[golang-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[Romenigue Thier]]></dc:creator>
            <pubDate>Tue, 08 Jun 2021 00:40:39 GMT</pubDate>
            <atom:updated>2021-06-08T00:40:39.754Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*n5PZ1X70W-hkQAmPCw0I8A.png" /></figure><p>Zap is one of the most used log libraries for Golang. It is easy, rich and faster, but how to handle the messages logged from zap in our tests?</p><p>*all examples are tested with the Zap 1.16.0 and Golang 1.16.2.</p><p>If you wondering learn about Zap follow the <a href="https://github.com/uber-go/zap">project on Github</a>.</p><p><a href="https://github.com/uber-go/zap">GitHub - uber-go/zap: Blazing fast, structured, leveled logging in Go.</a></p><blockquote><strong>Let’s go!</strong></blockquote><h3>zaptest != observer</h3><p>Firstly, Zap has a package called <a href="https://github.com/uber-go/zap/tree/master/zaptest">zaptest</a>, this package is used to <strong><em>insert</em></strong><em> log messages in test functions </em>that use the standard test library (using *testing.T or *testing.B). THIS IS NOT WHAT WE WANT HERE!!!</p><p><strong>To handle the log messages from our functions is necessary to use the package </strong><a href="https://github.com/uber-go/zap/tree/master/zaptest/observer"><strong>observer</strong></a>, described in the <a href="https://pkg.go.dev/go.uber.org/zap/zaptest/observer#pkg-overview">documentation</a> as</p><blockquote>Package observer provides a zapcore.Core that keeps an in-memory, encoding-agnostic representation of log entries. It’s useful for applications that want to unit test their log output without tying their tests to a particular output encoding.</blockquote><p>Let’s go to the examples!</p><h3>Observing the message</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3ccd527544ad398b783e4cd29287db0b/href">https://medium.com/media/3ccd527544ad398b783e4cd29287db0b/href</a></iframe><p>The code above just create a “zap example” and pass it as argument to the function myFunction. This is just a example, you can use different approach here, something like a struct with a field or global variable, follow your heart. But keep in mind that you will change the <em>zapcore default</em> with a core from package observer, for this reason you can’t create the <em>logger</em> and trigger the message in the same function.</p><pre>func main() {<br>    logger := zap.NewExample()<br>    logger.Info(&quot;log myFunction&quot;)<br>    // Sorry, you can&#39;t test this message with pkg observer =/<br>}</pre><p>Testing myFunction:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/932b71050a9b11c3c3947f24689debed/href">https://medium.com/media/932b71050a9b11c3c3947f24689debed/href</a></iframe><p>In this test is created a new <em>zap core</em> with the pkg observer (line 14) and used it to create a new zap instance (line 15). This instance is passed to myFunction (line 18) and all logs are inserted in the variable observedLogs. Finally the logs are “tested” in the lines 21 and 23.</p><p><strong>TIP: </strong>using <a href="https://pkg.go.dev/github.com/stretchr/testify/require">testify require</a> you can prevent a panic error, is better to check the length of observedLogs and stop the test if there’re not the expected number of logs.</p><h4>Handling log with custom fields</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d67f20ab57080c4ee77ece65c2199a7f/href">https://medium.com/media/d67f20ab57080c4ee77ece65c2199a7f/href</a></iframe><p>In the example above are created 2 log messages, the second use custom fields inside .With(...) . Checking this fields in the test:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5687fddeaf4dfc771345917277b431cd/href">https://medium.com/media/5687fddeaf4dfc771345917277b431cd/href</a></iframe><p>The custom fields can be asserted by the field .Context of observed log.</p><h4>Handling log created by “Zap Sugared”</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7be25c02edb0d35d7f2151cd0d21bbc7/href">https://medium.com/media/7be25c02edb0d35d7f2151cd0d21bbc7/href</a></iframe><p>Zap has a mode “Sugar” that turn more easy and practical the use of the library. Using this the assertion will be a little bit different.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cedde739733f60a6ccac172a0fd2ea14/href">https://medium.com/media/cedde739733f60a6ccac172a0fd2ea14/href</a></iframe><p>In the test you just need to declare explicitly the type of the field, that here are strings.</p><h3>Some notes</h3><ol><li>Using the <em>observer</em> you can run tests without mocking the logs messages.</li><li>Check the log level passed to create the <em>observed core</em>, if you need to handle debug entries use observer.New(zap.DebugLevel).</li><li>Handling .Fatal messages can be a problem, because this kind of entry trigger a exit(1). Is possible to use the option OnFatal to change this behavior. Check the <a href="https://pkg.go.dev/go.uber.org/zap#OnFatal">documentation</a> and <a href="https://github.com/uber-go/zap/issues/946">this issue</a> closed about it.</li><li>To handle .Panic messages you need to create some strategy with a Recover() to continue the test without a stop.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8503b25fe38f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/go-for-punks/handle-zap-log-messages-in-a-test-8503b25fe38f">Handle zap log messages in a test</a> was originally published in <a href="https://medium.com/go-for-punks">Go For Punks!</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to test functions that use time.Now()]]></title>
            <link>https://medium.com/go-for-punks/how-to-test-functions-that-use-time-now-ea4f2453d430?source=rss-7b11505fc020------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea4f2453d430</guid>
            <category><![CDATA[go]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[golang-testing]]></category>
            <dc:creator><![CDATA[Romenigue Thier]]></dc:creator>
            <pubDate>Mon, 15 Mar 2021 05:34:53 GMT</pubDate>
            <atom:updated>2021-03-15T05:55:14.365Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*Fnyyq77W3-5OJbdU0mLx0A.png" /></figure><p>A lot of times we write functions and methods that use standard packages. But, when we goes to write the unit test for this functions the difficult appears. The best example about this is the time.Now()</p><p>In the beginning is necessary understand what the function written does and why the function time.Now() is needed inside it. Is really need a function to read the “now time”?<br>This article doesn’t have the answer about it, is your job understand “the why”, but here you can understand how to test the function that use it.</p><blockquote><strong>Let’s go!</strong></blockquote><h3>A simple example</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d658323e0e070eaf781acd27cd744a42/href">https://medium.com/media/d658323e0e070eaf781acd27cd744a42/href</a></iframe><p>In this example we just print the string returned for function whatTimeIsItNow, but how can I test this function?</p><h3>Applying functional paradigm concept</h3><p>Some sources says that Golang is a multi-paradigm language. I don’t know if this is really true, but we can use functions as arguments in the functions/methods.</p><p>Using the example above we can modify it and pass the time.Now as argument for the function. This will enable the function to execute a lot of variants of time functions and turn the unit test very simple to create.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f965111ea45945cd5fa1567346776bf9/href">https://medium.com/media/f965111ea45945cd5fa1567346776bf9/href</a></iframe><p>Now, is very simple to create a unit test for the function whatTimeIsIt (the name of function is changed because the time.Now is an argument and not more the main behavior of function).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/35cd26e9b807e70fbeecfac380578dc0/href">https://medium.com/media/35cd26e9b807e70fbeecfac380578dc0/href</a></iframe><h4>TIP: Beautify the function using a custom type</h4><p>Is strongly recommended use a <em>custom type </em>as argument because is very ugly use funcTime func() time.Time, this is not exactly readable and a <em>custom type </em>can be used in a lot of functions in your code. Follow the example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3e9cb3987a82e2e6ddbfaf4488ff94f/href">https://medium.com/media/b3e9cb3987a82e2e6ddbfaf4488ff94f/href</a></iframe><h3><strong>Conclusion…</strong></h3><p>When you need to test functions that use builtin functions, like time.Now(), try to see the builtin function as an argument, apply the functional paradigm, probably this will make your code more reusable, dynamic and testable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea4f2453d430" width="1" height="1" alt=""><hr><p><a href="https://medium.com/go-for-punks/how-to-test-functions-that-use-time-now-ea4f2453d430">How to test functions that use time.Now()</a> was originally published in <a href="https://medium.com/go-for-punks">Go For Punks!</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explicando a eleição de Porto Alegre em uma partida de futebol]]></title>
            <link>https://romenigue.medium.com/explicando-a-elei%C3%A7%C3%A3o-de-porto-alegre-em-uma-partida-de-futebol-b1faf5343bd1?source=rss-7b11505fc020------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1faf5343bd1</guid>
            <category><![CDATA[eleições-2020]]></category>
            <category><![CDATA[eleições]]></category>
            <category><![CDATA[rio-grande-do-sul]]></category>
            <category><![CDATA[porto-alegre]]></category>
            <category><![CDATA[brasil]]></category>
            <dc:creator><![CDATA[Romenigue Thier]]></dc:creator>
            <pubDate>Wed, 02 Dec 2020 14:37:31 GMT</pubDate>
            <atom:updated>2020-12-02T14:37:31.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e8x2kAfqDO8y6EIJjHWU8w.png" /><figcaption>Manu (65) vs Melo (15)</figcaption></figure><p>Hoje teremos uma grande partida de futebol, 2 grandes times.</p><p>À esquerda das arquibancadas podemos ver o time capitaneado pela jogadora Manu e à direita vemos o time do capitão Melo. Ambos com uma longa história dentro do campeonato, já tentaram ser grandes protagonistas dentro de outras edições do Porto Alegrão e dessa vez um dos dois conseguirá esse feito.</p><p>Para chegar até aqui cada um fez as suas contratações, o time de Manu fez um alto investimento, com uma folha de pagamento 3 vezes maior que o time de Melo. Do outro lado, foi mantido um time com jogadores mais velhos, mais turrões, mas com muita experiência, que conhecem os atalhos do campo.</p><p><strong>Começa a partida.</strong></p><p>A torcida está fervorosa, os cânticos contra a jogadora à esquerda são dos mais terríveis já vistos, bravejam que Manu, caso ganhe a partida, vá mudar todas as regras do campeonato, que o cachorro quente, vendido nos estádios, será feito do próprio animal, de onde já se viu tamanho absurdo (?!).</p><p>Inclusive aparece na arquibancada um antigo <em>affair</em> de Manu, um jogador pífio conhecido pelo apelido Cachorro. Ele desfere tantas ofensas machistas que gera desconforto a alguns jogadores (e parte da torcida), sorte nossa que não teremos que acompanha-lo no segundo tempo, já que pouquíssimos escutam com jubilação as grosserias que ele diz.</p><p>Temos apenas alguns lampejos de bom futebol, o jogo é muito acirrado, ninguém mostra grande desenvoltura, embora seja perceptível um leve domínio do time a esquerda. Melo então olha para o banco de reservas, sabe que está complicado, conversa com membros da comissão e solicita alguma mudança no time.</p><p>Substituição, entra em campo um velho conhecido, o Magrão, jogador com altos e baixos, mas que já ganhou esse mesmo campeonato outrora. Envolto a polêmicas recentes, estava jogando por outro time, mas a sua inscrição foi impugnada pela justiça desportiva e assim acabou assinando com o time de Melo, do qual já foi companheiro de time outrora.</p><p>O domínio da partida muda de lado e mesmo com o apoio de celebridades, e uma torcida bastante fanática, Manu sofre o gol no finalzinho do jogo e assim se encerra o primeiro tempo com vantagem ao time de Melo.</p><p><strong>Intervalo da partida.</strong></p><p>Ambos times voltam do vestiário com mudanças. Melo volta com o jogador Judoca para o segundo tempo, um jogador emblemático, já jogou em vários times e fez a carreira em outro esporte, justamente de onde veio seu apelido, mas no futebol não consegue repetir o mesmo sucesso, tanto que alguns comentaristas não acham que a entrada dele trará grande contribuição ao time.</p><p>Já Manu tem o seu time bem reforçado, entram Ju (neta de um admirável jogador de âmbito nacional) e Mel, ambas grandes jogadoras e que podem dar uma cara diferente pra partida.</p><p>Mas tem uma coisa que ficou visível no primeiro e talvez seja reflexo da qualidade da partida, 1/3 do estádio está vazio. Todavia a torcida presente faz um grande barulho, pena que as asneiras que a torcida de Melo grita continuam, chegam a dizer que se Manu ganhar proibirá que religiosos vão a jogos e que o campeonato será copiado ao Venezuelão (?)!. Não entendo como alguém acredita nisso.</p><p><strong>Começa o segundo tempo.</strong></p><p>Uma curiosidade do campeonato, os times não invertem os lados do campo, o time de Manu continua à esquerda e o de Melo à direita, embora é possível ver que Manu desloca o time um pouco mais para a esquerda e Melo se aproxima um pouco mais do centro do campo. É quase imperceptível, mas se deve muito as articulações que ambos fizeram no vestiário.</p><p>O jogo é duro, Manu demonstra mais qualidade, mas o Melo abusa das faltas, travando muito a partida. O meio de campo trabalha muito, volantes e articuladores fazem o que é possível, mas ninguém consegue criar vantagem.</p><p>Mas eis que em uma jogada muito estranha Melo marca um gol próximo do final da partida, o 2 a 0 selaria a disputa. O narrador de uma emissora não esperou a análise de vídeo e gritou o gol. Falei que a jogada foi estranha, quase todos tiveram essa impressão, então o VAR chama o juiz e invalida a jogada, ela foi totalmente irregular, na verdade me parece que a bola nem havia passado totalmente da linha do gol.</p><p>Os minutos finais passam e aquele gol do primeiro tempo se torna decisivo para a partida. O time à direita, de Melo, vence e se consagra campeão do Porto Alegrão.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1faf5343bd1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[O Manifesto Ágil em tempos de pandemia]]></title>
            <link>https://romenigue.medium.com/o-manifesto-%C3%A1gil-em-tempos-de-pandemia-c675edb7e0c7?source=rss-7b11505fc020------2</link>
            <guid isPermaLink="false">https://medium.com/p/c675edb7e0c7</guid>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[home-office]]></category>
            <category><![CDATA[metodologia-ágil]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[pandemia]]></category>
            <dc:creator><![CDATA[Romenigue Thier]]></dc:creator>
            <pubDate>Tue, 14 Jul 2020 16:56:10 GMT</pubDate>
            <atom:updated>2020-07-14T16:56:10.897Z</atom:updated>
            <content:encoded><![CDATA[<p>Me diga, como está sendo a experiência do home office em meio a pandemia do corona vírus?</p><p>A tua empresa está, ou estava, preparada para essa realidade?</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=facebook&amp;url=https%3A//www.facebook.com/canseidesergato/posts/1341425046067319&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.xx.fbcdn.net%252Fv%252Ft1.0-9%252F90872969_1341424869400670_2180066953534636032_n.jpg%253F_nc_cat%253D100%2526_nc_sid%253D110474%2526_nc_ohc%253Dx4Q3bFdqGScAX9UYJ_k%2526_nc_ht%253Dscontent-iad3-1.xx%2526oh%253Dd0c21b3ed11f4b3686a28e469fd91cfb%2526oe%253D5F34B081%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/631a1115e9eed7d0b972f153b6901a8b/href">https://medium.com/media/631a1115e9eed7d0b972f153b6901a8b/href</a></iframe><p>Nessas horas é sempre bom lembrar do manifesto ágil…</p><h3>Indivíduos e interações mais que processos e ferramentas</h3><p>Não adianta burocratizar e criar processos novos durante a pandemia, eles no máximo vão te “auxiliar”, mas no final, por trás de tudo estão as PESSOAS!!! Se tu não conseguir engaja-las nesse novo momento não haverá software milagroso que mudará tudo. Fomente a troca de ideias entre as pessoas, instigue elas a interagirem umas com as outras, promova eventos online, faça do limão uma limonada, não é porque todos estão de casa que não é possível todos se reunirem para conversar.</p><h3>Software em funcionamento mais que documentação abrangente</h3><p>O distanciamento não deve ser impulso para documentar tudo, em uma ilusão de que através de documentos estaremos disseminando o conhecimento do nosso produto ou projeto. Não caia nessa armadilha, pense que tudo que for desenvolvido precisa ser bem escrito e intuitivo, documentos normalmente refletem o momento atual e em um mundo ativo passa a ser complicado mante-los sempre atualizados. Se um novo colaborador surgir na empresa, em regime de home office, você vai “força-lo” a ler uma documentação extensa, que em um primeiro momento não fará sentido para ele, sobre o pretexto de que estará o ensinando sobre o produto da empresa? Se questione quanto a isso.</p><h3>Colaboração com o cliente mais que negociação de contratos</h3><p>O mercado é dinâmico e mesmo com a atual pandemia do COVID-19 muitas empresas olham para a crise como “oportunidade”, contudo outras muitas estão estão passando por graves dificuldades. Logo, colabore com o que teu cliente realmente precisa, não se prenda ao que ele simplesmente quer, construam o produto juntos, estabeleça uma parceria. Talvez com o isolamento aprenderemos que a colaboração não necessita que você esteja presente de forma física com o teu cliente, quando na verdade precisa é estar conectado de forma sinérgica com os objetivos estabelecidos.</p><h3>Responder a mudanças mais que seguir um plano</h3><p>O que mais responder a mudanças do que frente a uma crise sanitária global? Sim, se tua empresa seguia fielmente a um plano, olhava para aquele escopo fechado no horizonte atrás das montanhas, sinto muito lhe informar, ela deve estar em frangalhos. Novamente, o mercado é dinâmico, se todos os sistemas estavam engessados, dependiam sempre do mesmo fluxo, não é possível responder as mudanças. Quando alguém levantar a mão e dizer que tem uma ideia para deixar determinada aplicação escalável e dinâmico, ouça o que essa pessoa tem a dizer, ela não está prevendo o futuro, só está preocupada em responder as mudanças.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/0*cnzvUWKnTw8HQ0DR" /><figcaption>Steve Carell em The Office</figcaption></figure><p>Nada do que escrevi aqui é novo, isso já vem de 2001. As pessoas que chegaram no manifesto ágil não eram profetas, só acreditavam em coisas que, para elas, eram o ideal pro futuro do desenvolvimento de software. Mas agora pense bem, em épocas de distanciamento social, isolamento, pandemia, elas estão fazendo cada vez mais sentido né? ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c675edb7e0c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>