<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>vanz</title><link>/</link><description></description><lastBuildDate>Tue, 28 Jul 2020 00:00:00 -0300</lastBuildDate><item><title>RAII: do not touch new and delete!</title><link>/raii-do-not-touch-new-and-delete.html</link><description>&lt;p&gt;&lt;img alt="" src="/images/giphy.gif"&gt;&lt;/p&gt;
&lt;p&gt;Some weeks ago I finished a online course about C++. I've already programmed in the language but I decided to take the course to refresh my skills and have some projects in my portfolio.
I wrote this article to consolidate my memory and try to explain to myself one of …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Tue, 28 Jul 2020 00:00:00 -0300</pubDate><guid isPermaLink="false">tag:None,2020-07-28:/raii-do-not-touch-new-and-delete.html</guid><category>misc</category><category>c++</category><category>raii</category></item><item><title>How can we climb a tree structure?</title><link>/how-can-we-climb-a-tree-structure.html</link><description>&lt;p&gt;These days I was writing a solution for a challenge in the &lt;a href="https://www.hackerrank.com/"&gt;HackerRank&lt;/a&gt; and I
ended up writing a algorithm to walk through a tree structure. Nothing too special
but I decided to white an article about the algorithms we can use.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="https://media.giphy.com/media/PfSuiwg3WO9K8/giphy.gif"&gt;&lt;/p&gt;
&lt;p&gt;There are many types of tree out there …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Sun, 26 Jan 2020 00:00:00 -0300</pubDate><guid isPermaLink="false">tag:None,2020-01-26:/how-can-we-climb-a-tree-structure.html</guid><category>misc</category><category>tree</category><category>data-structure</category><category>algorithms</category></item><item><title>Como funciona o robozinho do Serenata que baixa os diários oficiais?</title><link>/como-funciona-o-robozinho-do-serenata-que-baixa-os-diarios-oficiais.html</link><description>&lt;p&gt;Recentemente comecei a fazer parte do programa de &lt;a href="https://embaixadoras.ok.org.br/"&gt;embaixadores&lt;/a&gt; da Open Knowledge Brasil (OKBR). Como minha primeira contribuição, comecei adicionar novos spiders no &lt;a href="https://github.com/okfn-brasil/diario-oficial"&gt;diario-oficial&lt;/a&gt;. Esse repositório possui diversos spiders para a raspagem de dados dos diários oficiais de cada município brasileiro. Como sou de Santa Catarina, decidi inicial
com as …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Thu, 28 Nov 2019 00:00:00 -0300</pubDate><guid isPermaLink="false">tag:None,2019-11-28:/como-funciona-o-robozinho-do-serenata-que-baixa-os-diarios-oficiais.html</guid><category>misc</category><category>python</category><category>scrapy</category><category>html</category><category>serenata</category><category>css</category><category>xpath</category></item><item><title>Hacking your vim with python</title><link>/hacking-your-vim-with-python.html</link><description>&lt;p&gt;I'm happy vim user for a while now. After learned the basics I started customize
the editor to my needs/preferences and for a long time everything were well. I
did not face anything that I could not do and this is still true. However, when
I became a more …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Tue, 10 Jan 2017 22:55:00 -0200</pubDate><guid isPermaLink="false">tag:None,2017-01-10:/hacking-your-vim-with-python.html</guid><category>misc</category><category>vim</category><category>python</category></item><item><title>Git: partial commit</title><link>/git-partial-commit.html</link><description>&lt;p&gt;This post will demonstrate one of many cool features available in Git, partial commit. This feature allows add just
some hunk of a file leaving other ones for future commit.&lt;/p&gt;
&lt;p&gt;Let's suppose in a project there is the following source code:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="cp"&gt;#include&lt;/span&gt; &lt;span class="cpf"&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;&lt;/span&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;foo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;void&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;bar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int …&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Thu, 28 Jan 2016 00:00:00 -0200</pubDate><guid isPermaLink="false">tag:None,2016-01-28:/git-partial-commit.html</guid><category>misc</category><category>git</category></item><item><title>malloc/free implementation. Just4Fun!</title><link>/mallocfree-implementation-just4fun.html</link><description>&lt;p&gt;Some time ago I bought the The Linux Programming Interface book, one of the best books I have acquired.
One of the first chapters I read were about memory allocation. At the end of the chapter, author offers some exercises
to the reader. Among them there is a challenging one …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Thu, 26 Nov 2015 00:08:00 -0200</pubDate><guid isPermaLink="false">tag:None,2015-11-26:/mallocfree-implementation-just4fun.html</guid><category>misc</category><category>c</category><category>tlpi</category><category>glibc</category><category>memory</category></item><item><title>cgo: Go lang with C</title><link>/cgo-go-lang-with-c.html</link><description>&lt;p&gt;Some weeks ago I had to customize the &lt;a href="https://www.docker.com/"&gt;Docker&lt;/a&gt; to integrate it with some libraries written and C.
Maybe you already know Docker is written in Go language and to do this task was used &lt;a href="https://golang.org/cmd/cgo/"&gt;cgo&lt;/a&gt;
Cgo enables integrate Go code with C. It shows itself easier and smooth comparing …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Tue, 22 Sep 2015 00:00:00 -0300</pubDate><guid isPermaLink="false">tag:None,2015-09-22:/cgo-go-lang-with-c.html</guid><category>misc</category><category>golang</category><category>cgo</category><category>c</category></item><item><title>Recovering missed data from stash</title><link>/recovering-missed-data-from-stash.html</link><description>&lt;p&gt;Today my colleague almost lost everything that he did during 4 days! Because  a wrong git command he dropped his changes saved on stash.
After this sad episode we looked for a way to try to recover as least part of his work... and we did it!&lt;/p&gt;
&lt;p&gt;First of all …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Sat, 15 Feb 2014 00:00:00 -0200</pubDate><guid isPermaLink="false">tag:None,2014-02-15:/recovering-missed-data-from-stash.html</guid><category>misc</category><category>git</category></item><item><title>From Brazil to Germany, an Unforgettable LibreOffice Hackfest in Freiburg</title><link>/from-brazil-to-germany-an-unforgettable-libreoffice-hackfest-in-freiburg.html</link><description>&lt;p&gt;While I have not decided what it will be my first post about development stuff I'll post the text that me and my friend wrote to the The Document Foundation's blog. In that text we talked about out trip to LibreOffice hackfest in freiburg.
From Brazil to Germany, an Unforgettable …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">José Guilherme Vanz</dc:creator><pubDate>Fri, 24 Jan 2014 00:00:00 -0200</pubDate><guid isPermaLink="false">tag:None,2014-01-24:/from-brazil-to-germany-an-unforgettable-libreoffice-hackfest-in-freiburg.html</guid><category>misc</category><category>hackfest</category><category>libreoffice</category><category>travel</category><category>germany</category></item></channel></rss>