<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Programming on CapoCattiveria</title>
    <link>https://capocattiveria.github.io/tags/programming/</link>
    <description>Recent content in Programming on CapoCattiveria</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 05 Jun 2024 10:41:26 +0200</lastBuildDate><atom:link href="https://capocattiveria.github.io/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Debounce a button with esp32</title>
      <link>https://capocattiveria.github.io/posts/embedded_journey/1_debounce_button/</link>
      <pubDate>Wed, 05 Jun 2024 10:41:26 +0200</pubDate>
      
      <guid>https://capocattiveria.github.io/posts/embedded_journey/1_debounce_button/</guid>
      <description>&lt;p&gt;Debouncing a button is a common issue for the effective operation of a button. The physical imperfections of the button lead to voltage bounces when the button is pressed, resulting in a voltage signal that bounces just like the following figure:&lt;/p&gt;
&lt;figure class=&#34;align-center &#34;&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://capocattiveria.github.io/images/embedded/1_debounce.jpg#center&#34; height=&#34;200px&#34;/&gt; &lt;figcaption&gt;
            Voltage Bouncing
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;I tackled this issue with Arduino some time ago (&lt;a href=&#34;https://capocattiveria.github.io/posts/tech/03_pomodoro_timer/&#34;&gt;pomodoro timer with arduino (ita)&lt;/a&gt;), but recently I&amp;rsquo;ve started experimenting a bit with the ESP32 board and revisited the problem using this framework and programming language C++.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Elixir, Useful resources</title>
      <link>https://capocattiveria.github.io/posts/tech/elixir_how_to_learn/</link>
      <pubDate>Thu, 07 Mar 2024 10:00:26 +0200</pubDate>
      
      <guid>https://capocattiveria.github.io/posts/tech/elixir_how_to_learn/</guid>
      <description>&lt;p&gt;Lately, I discovered Elixir, and I think the functional programming can scary someone, but once you get in, is a good way to learn a different approach to programming, and Elixir is a modern language based on Erlang VM.&lt;/p&gt;
&lt;p&gt;I want to share some resources that I found useful for become more comfortable with the language.&lt;/p&gt;
&lt;h2 id=&#34;resources&#34;&gt;Resources&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Official Documentation and guide&lt;/strong&gt;: &lt;a href=&#34;https://hexdocs.pm/elixir/introduction.html&#34;&gt;https://hexdocs.pm/elixir/introduction.html&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Elixir School&lt;/strong&gt;: &lt;a href=&#34;https://elixirschool.com/en&#34;&gt;https://elixirschool.com/en&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I think that this website cover the principal aspect of the language, is simple and minimal for learning fast.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Elixir install with asdf (Linux)</title>
      <link>https://capocattiveria.github.io/posts/tech/elixir_debug/</link>
      <pubDate>Sat, 02 Mar 2024 10:41:26 +0200</pubDate>
      
      <guid>https://capocattiveria.github.io/posts/tech/elixir_debug/</guid>
      <description>&lt;p&gt;Lately, I&amp;rsquo;ve discovered Elixir, a functional programming language. Its syntax is very clean, and it&amp;rsquo;s quite enjoyable to explore a new paradigm. I believe that every programmer should establish a workflow for familiarizing themselves with a new language and i recommend to install Elixir throw &lt;a href=&#34;https://asdf-vm.com/&#34;&gt;asdf&lt;/a&gt;, a tool version manager.&lt;/p&gt;
&lt;p&gt;Note that this is not official documentation; it&amp;rsquo;s a simple walkthrough and check the documentation if you have time.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;installation-with-asdf&#34;&gt;Installation with asdf&lt;/h2&gt;
&lt;p&gt;Assuming you have installed asdf following the official instruction:
Try&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>BradipoLib - My Inefficient library</title>
      <link>https://capocattiveria.github.io/posts/tech/bradipolib/</link>
      <pubDate>Mon, 30 Oct 2023 17:06:51 +0100</pubDate>
      
      <guid>https://capocattiveria.github.io/posts/tech/bradipolib/</guid>
      <description>Tree, Graph and DHeap in a library</description>
    </item>
    
    <item>
      <title>Fourier series visualization</title>
      <link>https://capocattiveria.github.io/posts/tech/fourier/</link>
      <pubDate>Tue, 03 Nov 2020 12:01:53 +0200</pubDate>
      
      <guid>https://capocattiveria.github.io/posts/tech/fourier/</guid>
      <description>A Fourier series visualization with p5.js</description>
    </item>
    
    <item>
      <title>Super Mario Bros 3</title>
      <link>https://capocattiveria.github.io/posts/tech/02_super_mario/</link>
      <pubDate>Thu, 29 Oct 2020 10:37:26 +0200</pubDate>
      
      <guid>https://capocattiveria.github.io/posts/tech/02_super_mario/</guid>
      <description>&lt;p&gt;Me and two other students, (Giuseppe Alfieri and Jacopo Saccocci) we have replicated a level of super mario bros 3.
It was made with C++ and Qt frameworks, the source code is on my github. You can download and play at the following link:
&lt;a href=&#34;https://github.com/flowibbia/super_mario/releases/tag/v1.0&#34;&gt;download here(for windows, only 64 bits)&lt;/a&gt;&lt;/p&gt;


    
    &lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
      &lt;iframe allow=&#34;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&#34; allowfullscreen=&#34;allowfullscreen&#34; loading=&#34;eager&#34; referrerpolicy=&#34;strict-origin-when-cross-origin&#34; src=&#34;https://www.youtube-nocookie.com/embed/gH-bdCRIQQ8?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; title=&#34;YouTube video&#34;
      &gt;&lt;/iframe&gt;
    &lt;/div&gt;</description>
    </item>
    
  </channel>
</rss>
