<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Blogs on Allan Vital</title>
    <link>https://allanvital.com/blog/</link>
    <description>Recent content in Blogs on Allan Vital</description>
    <generator>Hugo 0.125.0</generator>
    <language>en</language>
    <lastBuildDate>Sat, 15 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://allanvital.com/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How I&#39;m Using AI in Software Development</title>
      <link>https://allanvital.com/how-im-using-ai-in-software-development/</link>
      <pubDate>Sat, 15 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/how-im-using-ai-in-software-development/</guid>
      <description>In my previous post about AI and software development, some people understood my position as if I was denying the real improvements that AI brings to the table. That was not really the point.&#xA;I use AI in most of my personal projects today, and I use it because&amp;hellip; well, it works. It improves speed, helps me explore codebases, makes boring implementation faster, and lowers the cost of turning ideas into something that actually runs.</description>
    </item>
    <item>
      <title>Leader Election Spring Boot Starter</title>
      <link>https://allanvital.com/leader-election-spring-boot-starter/</link>
      <pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/leader-election-spring-boot-starter/</guid>
      <description>Quick post:&#xA;For some reason, my post about leader election in spring boot remains one of the most accessed in this blog.&#xA;However, that solution appears to be invalid now, since it relied on Jedis, which is not available in later Spring versions.&#xA;So, to cover this scenario for whoever has this specific need, I&amp;rsquo;ve developed a quick starter that uses database locking to allow for a simple leader election mechanism.</description>
    </item>
    <item>
      <title>On AWS/Cloudflare, web centralization, and pride</title>
      <link>https://allanvital.com/aws-cloudflare-web-centralization-and-pride/</link>
      <pubDate>Sat, 02 May 2026 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/aws-cloudflare-web-centralization-and-pride/</guid>
      <description>This post will be just a complaint with no real solution, but it&amp;rsquo;s worth keeping as a record of how we perceive our times. Consider yourself warned.&#xA;In October 2025, the main AWS region went offline due to a DNS issue in DynamoDB. In November 2025, Cloudflare experienced an outage due to a change in query behavior combined with insufficient safeguards in code. In both cases, &amp;ldquo;the internet&amp;rdquo;, this metaphysical entity, suffered, with many services going offline or becoming unusable.</description>
    </item>
    <item>
      <title>AI and Software Development</title>
      <link>https://allanvital.com/ai-and-software-development/</link>
      <pubDate>Sat, 07 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/ai-and-software-development/</guid>
      <description>If you spend any time around developer discussions lately, it&amp;rsquo;s impossible to avoid the topic of AI-assisted development. From code generation tools to full AI copilots that promise to build entire applications, the narrative often goes something like this:&#xA;&amp;ldquo;People will just describe the system and the AI will build everything. No need to learn how to code&amp;rdquo;&#xA;As usual, reality is a bit more nuanced. I&amp;rsquo;ve been using these tools quite a lot lately, and my overall opinion is simple:</description>
    </item>
    <item>
      <title>Architecture of a URL Shortener</title>
      <link>https://allanvital.com/architecture-of-a-url-shortener/</link>
      <pubDate>Sat, 22 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/architecture-of-a-url-shortener/</guid>
      <description>I haven&amp;rsquo;t been following many YouTube channels lately, but one that always leaves me satisfied whenever I watch is Renato Augusto&amp;rsquo;s channel.&#xA;Recently, I watched the video he made about URL shorteners. Overall, it&amp;rsquo;s hard to argue that his solution is probably the best possible given the problem&amp;rsquo;s premises:&#xA;Functional Requirements: URL Shortening: given a long URL -&amp;gt; return a much shorter URL URL Redirection: given a short URL -&amp;gt; redirect to the original URL Non-functional Requirements: The system must support 100 million URLs generated per day The shortened URL should be as short as possible Only numbers (0–9) and letters (az, AZ) are allowed in the URL For every 1 write operation, there will be 10 read operations The average length of a stored URL is 100 bytes URLs must be stored for a minimum of 10 years The system must operate with high availability (24/7) Estimates Write operations: 100 million URLs per day = 100,000,000 / 24 / 60 / 60 = 1160 requests per second Read operations: 10:1 = 1160 * 10 = 11600 requests per second URL storage period: 10 years = 100,000,000 * 365 * 10 = 365 billion records Storage capacity: 100 bytes per URL = 365 billion * 100 bytes = 46.</description>
    </item>
    <item>
      <title>DNSao - Quick and Private DNS Forwadder</title>
      <link>https://allanvital.com/dnsao-quick-and-private-dns/</link>
      <pubDate>Sat, 15 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/dnsao-quick-and-private-dns/</guid>
      <description>Just a quick post to show one of my latest projects, DNSao.&#xA;After running Pi-hole a few years as my home dns server, there were two things that bothered me in how it worked:&#xA;no way to send queries upstream in a private protocol: pi-hole is great for blocking unwanted dns queries, but it only supports open udp queries to upstream servers. That means that your ISP (or any middle agent) can sniff your queries, they are plain to be checked.</description>
    </item>
    <item>
      <title>Migrating from Jekyll to Wordpress</title>
      <link>https://allanvital.com/from-jekyll-to-wordpress/</link>
      <pubDate>Wed, 27 Aug 2025 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/from-jekyll-to-wordpress/</guid>
      <description>After a few years maintaining a blog in Jekyll (not this one, this one is in Hugo), I started wanting to migrate to WordPress on a VPS. The reasons were many:&#xA;the blog started growing in the number of posts, which made writing new ones more sluggish, due to Jekyll&amp;rsquo;s slowness and the lack of motivation that this slowness causes&#xA;a feeling of &amp;ldquo;immobility&amp;rdquo; from Jekyll, almost as if it isn&amp;rsquo;t evolving anymore</description>
    </item>
    <item>
      <title>Do what you need to do: The importance of doing the basics with excellence</title>
      <link>https://allanvital.com/do-what-you-need-to-do/</link>
      <pubDate>Sun, 18 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/do-what-you-need-to-do/</guid>
      <description>A while ago I had an acquaintance who joined the company where I worked as a backend developer. As a member of a team I was closely associated with, I observe how well he performed in some tasks.&#xA;No one designed workflows like him, and his communication with the business area was excellent. He was loved by the entire team because he was always very present, always very willing. However, some members of his team expressed concern because he seemed to avoid more technical tasks.</description>
    </item>
    <item>
      <title>The Trap of Toxic Positivity</title>
      <link>https://allanvital.com/the-trap-of-toxic-positivity/</link>
      <pubDate>Tue, 23 May 2023 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/the-trap-of-toxic-positivity/</guid>
      <description>A few weeks ago, a post went viral on LinkedIn: A company had the idea of firing an employee in a humane way, with a decorated basket of treats and words of appreciation.&#xA;Many people criticized and opposed this attitude: How does this help a professional in such a delicated situation?&#xA;These are very pertinent criticisms.&#xA;The idea of a management that treats employees well is important, leaving in the past the rigid hierarchical concept, but there is a limit.</description>
    </item>
    <item>
      <title>What you need to know to be a software developer</title>
      <link>https://allanvital.com/what-you-need-to-know-to-be-a-software-developer/</link>
      <pubDate>Thu, 02 Sep 2021 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/what-you-need-to-know-to-be-a-software-developer/</guid>
      <description>The day before yesterday I received an email with a simple question:&#xA;&amp;ldquo;What do I need to do to start and thrive in my web developer career?&amp;rdquo;&#xA;The direct answer is easy: study, train and learn from experiences. In eagerness to be done with my inbox, that&amp;rsquo;s what I thought of answering.&#xA;But it&amp;rsquo;s a good question, and if you start to dissect the idea a little, you realize that while the straight answer isn&amp;rsquo;t wrong, there are some points that will be more stressed throughout your career, and if you can strengthen those points, it will help not only in your entry and stabilization in the market, but it will also serve as a base when you are already experienced.</description>
    </item>
    <item>
      <title>Internationalization and Connection</title>
      <link>https://allanvital.com/internationalization-and-connection/</link>
      <pubDate>Mon, 30 Aug 2021 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/internationalization-and-connection/</guid>
      <description>A few years ago I came across a text by Gabs Ferreira talking about the need for content production in Portuguese, not only in the IT area, but especially in it.&#xA;(go read the whole thing. It&amp;rsquo;s a good text)&#xA;I know I&amp;rsquo;m not a big content producer, a famous blogger, or a relevant figure in any way in the community, but that post resonated with me. While one of the goals of maintaining a blog in English is to keep the language sharp and actually learn to build ideas directly in another language, how much do I limit the reach of ideas (which are the main objective of this “communication” thing) by making the decision to ONLY write in English?</description>
    </item>
    <item>
      <title>What is a Unit in Unit Testing?</title>
      <link>https://allanvital.com/what-is-a-unit-in-unit-testing/</link>
      <pubDate>Mon, 08 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/what-is-a-unit-in-unit-testing/</guid>
      <description>Sometimes I miss the adrenaline of decompiling a jar file (because the source was lost ages ago), adding a feature and putting it back in production. But, believe me, those days sucked.&#xA;In the bad old days, people pushed to production without any kind of automated testing. We would just build the features needed, tested locally and copied the files manually to a server, usually after midnight, accompained by pizzas and fear.</description>
    </item>
    <item>
      <title>5 Reasons Why You Should NOT Rewrite Your System</title>
      <link>https://allanvital.com/5-reasons-why-you-should-not-rewrite-your-system/</link>
      <pubDate>Sun, 21 Jan 2018 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/5-reasons-why-you-should-not-rewrite-your-system/</guid>
      <description>After many years working in your system, building, tinkering, improving, breaking and reassembling, you decide that what is really needed is a full software rewrite. After all, what can go wrong?&#xA;If you were ever involved in a full rewrite project, you know the answer. Absolutely everything can go wrong.&#xA;Why you think you want it There&amp;rsquo;s plenty of reasons for developers to advocate for a full software rewrite, but the most common is the software complexity and cost of maintenance.</description>
    </item>
    <item>
      <title>Know Your Language: Java Pitfalls</title>
      <link>https://allanvital.com/know-your-language-java-pitfalls/</link>
      <pubDate>Thu, 28 Sep 2017 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/know-your-language-java-pitfalls/</guid>
      <description>Let&amp;rsquo;s get more technical. &amp;lsquo;Know your Language&amp;rsquo; is a new category in my blog, about Programming Languages and their most common problems in enterprise environments&#xA;According to Tiobe Java is the most used backend programming language of the world. According to StackOverflow, this title goes to Javascript, but Java gets third place. Java and the JVM are also almost omnipresent in mobile, with Android using it as a platform.</description>
    </item>
    <item>
      <title>What defines a good Software Developer?</title>
      <link>https://allanvital.com/what-defines-a-good-software-developer/</link>
      <pubDate>Wed, 06 Sep 2017 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/what-defines-a-good-software-developer/</guid>
      <description>There are hundreds of interview techniques, thousand of tools, each with a corresponding required knowledge to work with, countless &amp;ldquo;classic&amp;rdquo; algorithms and a myriad of different types of projects to try to evaluate a Software Developer. Yet, it is not easy to, nor formally or mathematically, separate a good Developer from a bad one. Why?&#xA;As always, there&amp;rsquo;s no easy answer to this question. The main reason for this is, perhaps, that we don&amp;rsquo;t know what a Software Developer actually does.</description>
    </item>
    <item>
      <title>About Software Estimates</title>
      <link>https://allanvital.com/why-estimates-never-work/</link>
      <pubDate>Sat, 22 Jul 2017 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/why-estimates-never-work/</guid>
      <description>There sure is a lot of talk and work about estimates in software development. Whether you are in a big company, a small agency or a &amp;ldquo;one-man army&amp;rdquo; project, the idea that you can predict how long will it take to build a system is widespread and adopted by all.&#xA;Any management principle or project schedule has it as a bare minimum to operate. This is useful so you can plan in advance, and tackle the projects in a sane order, avoiding obvious trap holes and business errors.</description>
    </item>
    <item>
      <title>Leader Election Using Spring-Boot</title>
      <link>https://allanvital.com/leader-election-using-spring-boot/</link>
      <pubDate>Tue, 08 Nov 2016 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/leader-election-using-spring-boot/</guid>
      <description>Edit 17/05/2025: I&amp;rsquo;ve built a Spring Boot Starter using JPA to enable a simple leader election process. Click here to check it Edit 17/10/2024: if you want a real lock mechanism for jobs, your best bet is probably Shedlock&#xA;Warning: technical post ahead. You may want to take the children out of the room!&#xA;Spring-boot took the market by storm in the last years. Spring, as is, with MVC dependency had already bitten a huge chunk of job posts and online questions, but with the Boot simplicity, it practically set the new standart for frameworks in Java language.</description>
    </item>
    <item>
      <title>Your software will be rewritten</title>
      <link>https://allanvital.com/your-system-is-born-to-die/</link>
      <pubDate>Mon, 22 Feb 2016 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/your-system-is-born-to-die/</guid>
      <description>So, there’s this thing about your system.&#xA;It’s born to die.&#xA;I’m talking more specifically about the Web Systems, because that’s my area of expertise, but it’s valid for several areas of software development. Systems are created to be destructed in the long run. And that’s okay.&#xA;I’ll explain myself.&#xA;If you already worked in some big project, or for some years in a company, you already saw what people call Legacy Code.</description>
    </item>
    <item>
      <title>Embrace Change</title>
      <link>https://allanvital.com/embrace-change/</link>
      <pubDate>Fri, 20 Nov 2015 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/embrace-change/</guid>
      <description>In recent past, Orkut was the main social network in my area. Everybody used it, and everybody loved it. I believe it was the first &amp;ldquo;real&amp;rdquo; social network that was massively popular here and there were no signs that it would be replaced by Facebook.&#xA;When launched, the first iPhone revolutionized the industry of smartphones. It was something new and everybody loved it and bought one. Today Android has a bigger market share (talking about number of devices).</description>
    </item>
    <item>
      <title>Be careful with the right tool for the right job</title>
      <link>https://allanvital.com/be-careful-with-the-right-tool-for-the-right-job/</link>
      <pubDate>Wed, 18 Nov 2015 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/be-careful-with-the-right-tool-for-the-right-job/</guid>
      <description>When I started my career I quite never understood the idea of settling down with some language/technology. It always sounded wrong to do it because you have to &amp;ldquo;use the right tool for the right job&amp;rdquo; and &amp;ldquo;if it doesn&amp;rsquo;t look like a nail, don&amp;rsquo;t use a hammer&amp;rdquo;, but today I think that, as always, the reality is a bit more complex.&#xA;I still think that, as a developer, I am more capable and productive learning more and more languages/platforms/tools/frameworks/etc.</description>
    </item>
    <item>
      <title>Hello Again</title>
      <link>https://allanvital.com/hello-again/</link>
      <pubDate>Sat, 14 Nov 2015 00:00:00 +0000</pubDate>
      <guid>https://allanvital.com/hello-again/</guid>
      <description>Welcome to my new blog! If you came from the old one, hello again, if not, it&amp;rsquo;s nice to meet you.&#xA;It was a shame that I didn&amp;rsquo;t have my blog in my own server, but I fixed that now. Also, I&amp;rsquo;m not using wordpress anymore in favor of Hugo!&#xA;A long time has passed since my last posts, and I think that I evolved a lot in this meantime.</description>
    </item>
  </channel>
</rss>
