<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Roberto Barbosa</title>
    <description>The latest articles on DEV Community by Roberto Barbosa (@rnrbarbosa).</description>
    <link>https://dev.to/rnrbarbosa</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F262564%2F1b36b7a0-874f-4c56-814f-8d4549c1f5d3.png</url>
      <title>DEV Community: Roberto Barbosa</title>
      <link>https://dev.to/rnrbarbosa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rnrbarbosa"/>
    <language>en</language>
    <item>
      <title>Get a second brain NOW!</title>
      <dc:creator>Roberto Barbosa</dc:creator>
      <pubDate>Sun, 10 Sep 2023 18:37:53 +0000</pubDate>
      <link>https://dev.to/rnrbarbosa/get-a-second-brain-now-35a8</link>
      <guid>https://dev.to/rnrbarbosa/get-a-second-brain-now-35a8</guid>
      <description>&lt;h2&gt;
  
  
  Feeling Overwhelmed, confuse and lost?
&lt;/h2&gt;

&lt;p&gt;In today’s world with the amount of information and tools it’s very easy to someone, a young talent starter or a seasoned professional, to feel overwhelmed, lost, confused and easily forgettable, and much less capable of develop sustainable knowledge, be productive and even less come up or connect ideas. Now on top of this put AI, ChatGPT and all innovations that will change humans and the World dramatically.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0rvDdxqA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0g9worls1fa07ha9fz04.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0rvDdxqA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0g9worls1fa07ha9fz04.jpeg" alt="Note about BigData Project" width="800" height="896"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If these feelings prevail too much in your mind and life it can lead to mental health of anxiety, attention deficit, depression and other issues. So let's fix this.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I Remember stuff?
&lt;/h2&gt;

&lt;p&gt;I am going to share with you how I address this in my life.&lt;/p&gt;

&lt;p&gt;The other day, I was watching an &lt;a href="https://youtu.be/Rvey9g0VgY0"&gt;youtube video&lt;/a&gt; about how to remember what you read last week.&lt;/p&gt;

&lt;p&gt;There's an &lt;a href="https://english.stackexchange.com/questions/226886/origin-of-i-hear-and-i-forget-i-see-and-i-remember-i-do-and-i-understand"&gt;old proverb&lt;/a&gt; that says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I hear, and I forget&lt;br&gt;
I see, and I remember&lt;br&gt;
I do, and I understand.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This touches a second point of &lt;/p&gt;

&lt;h2&gt;
  
  
  How do I understand stuff?
&lt;/h2&gt;

&lt;p&gt;The amount of information that we are bombarded is a serious candidate to &lt;strong&gt;&lt;em&gt;mental overflow&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So, we need to actively learn and remember and not lose control of our mind. &lt;/p&gt;

&lt;p&gt;What to do? Get a &lt;a href="https://www.buildingasecondbrain.com/"&gt;Second Brain&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I do it?
&lt;/h2&gt;

&lt;p&gt;My colleagues sometimes are surprised with the vast topics that I can cover, might be Jack of all trades, master of None, but I do work and have relevant experience of a variety topics from Cloud Architecture, Software Engineering, Data Analytics, Artificial Intelligence &amp;amp; Machine Learning, BigData, DevOps, DataOps, MLOPs and now LLMOPs.&lt;/p&gt;

&lt;p&gt;Let me brief, what do I do to absorb and retain a lot of these information without getting dizzy:&lt;/p&gt;

&lt;h3&gt;
  
  
  Handwriting
&lt;/h3&gt;

&lt;p&gt;I write with pen and paper for slow thinking and resonate with content on my own words. This is not typing on a keyboard but &lt;strong&gt;creatively draw some nice strokes&lt;/strong&gt; and produce words and phrases out on your functioning brain, not just copying.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--P-tXKE5B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nby4j0tzwm57il8e9xc3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P-tXKE5B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nby4j0tzwm57il8e9xc3.jpeg" alt="AI handwriting notes" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Second Brain Tool
&lt;/h3&gt;

&lt;p&gt;I use a system for second brain, &lt;a href="https://obsidian.md"&gt;Obsidian&lt;/a&gt;. A second choice on absence of Obsidian is &lt;a href="https://www.dendron.so/"&gt;Dendron&lt;/a&gt; an extension of VSCode.&lt;/p&gt;

&lt;h3&gt;
  
  
  Link Your thinking
&lt;/h3&gt;

&lt;p&gt;We live in a world what lightning fast pace of innovation, and if you are like me, your head is full of ideas, what is called your personal &lt;strong&gt;&lt;em&gt;IDEAVERSE&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ehz38e4P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0950b260336piaf3igci.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ehz38e4P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0950b260336piaf3igci.png" alt="golden-ratio" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I tried many methodologies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://zettelkasten.de/posts/overview/"&gt;Zettelkasten&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.buildingasecondbrain.com/"&gt;Building a Second Brain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.linkingyourthinking.com/"&gt;Link Your Thinking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;NOTE: Forget about productivity and organization tools like Evernote, Notion, etc.. this is &lt;strong&gt;ABOUT THINKING&lt;/strong&gt; not about being productive.&lt;/p&gt;

&lt;p&gt;I just leave it here for now and let you digest and think what do you think about this and if you're already addressing this in your own way, I would like to know about it.&lt;/p&gt;

&lt;p&gt;Want to learn more:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/@linkingyourthinking"&gt;https://www.youtube.com/@linkingyourthinking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>mentalhealth</category>
      <category>thinkingtools</category>
    </item>
    <item>
      <title>Feeling Overwhelmed, confuse and lost? Get a second brain NOW!</title>
      <dc:creator>Roberto Barbosa</dc:creator>
      <pubDate>Sun, 10 Sep 2023 18:16:02 +0000</pubDate>
      <link>https://dev.to/rnrbarbosa/felling-overwhelmed-confuse-and-lost-get-a-second-brain-now-ndo</link>
      <guid>https://dev.to/rnrbarbosa/felling-overwhelmed-confuse-and-lost-get-a-second-brain-now-ndo</guid>
      <description>&lt;p&gt;In today’s world with the amount of information and tools it’s very easy to someone, a young talent starter or a seasoned professional, to feel overwhelmed, lost, confused and easily forgettable, and much less capable of develop sustainable knowledge, be productive and even less come up or connect ideas. Now on top of this put AI, ChatGPT and all innovations that will change humans and the World dramatically.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0rvDdxqA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0g9worls1fa07ha9fz04.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0rvDdxqA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0g9worls1fa07ha9fz04.jpeg" alt="Note about BigData Project" width="800" height="896"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If these feelings prevail too much in your mind and life it can lead to mental health of anxiety, attention deficit, depression and other issues. So let's fix this.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I Remember stuff?
&lt;/h2&gt;

&lt;p&gt;I am going to share with you how I address this in my life.&lt;/p&gt;

&lt;p&gt;The other day, I was watching an &lt;a href="https://youtu.be/Rvey9g0VgY0"&gt;youtube video&lt;/a&gt; about how to remember what you read last week.&lt;/p&gt;

&lt;p&gt;There's an &lt;a href="https://english.stackexchange.com/questions/226886/origin-of-i-hear-and-i-forget-i-see-and-i-remember-i-do-and-i-understand"&gt;old proverb&lt;/a&gt; that says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I hear, and I forget&lt;br&gt;
I see, and I remember&lt;br&gt;
I do, and I understand.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This touches a second point of &lt;/p&gt;

&lt;h2&gt;
  
  
  How do I understand stuff?
&lt;/h2&gt;

&lt;p&gt;The amount of information that we are bombarded is a serious candidate to &lt;strong&gt;&lt;em&gt;mental overflow&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So, we need to actively learn and remember and not lose control of our mind. &lt;/p&gt;

&lt;p&gt;What to do? Get a &lt;a href="https://www.buildingasecondbrain.com/"&gt;Second Brain&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I do it?
&lt;/h2&gt;

&lt;p&gt;My colleagues sometimes are surprised with the vast topics that I can cover, might be Jack of all trades, master of None, but I do work and have relevant experience of a variety topics from Cloud Architecture, Software Engineering, Data Analytics, Artificial Intelligence &amp;amp; Machine Learning, BigData, DevOps, DataOps, MLOPs and now LLMOPs.&lt;/p&gt;

&lt;p&gt;Let me brief, what do I do to absorb and retain a lot of these information without getting dizzy:&lt;/p&gt;

&lt;h3&gt;
  
  
  Handwriting
&lt;/h3&gt;

&lt;p&gt;I write with pen and paper for slow thinking and resonate with content on my own words. This is not typing on a keyboard but &lt;strong&gt;creatively draw some nice strokes&lt;/strong&gt; and produce words and phrases out on your functioning brain, not just copying.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--P-tXKE5B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nby4j0tzwm57il8e9xc3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P-tXKE5B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nby4j0tzwm57il8e9xc3.jpeg" alt="AI handwriting notes" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Second Brain Tool
&lt;/h3&gt;

&lt;p&gt;I use a system for second brain, &lt;a href="https://obsidian.md"&gt;Obsidian&lt;/a&gt;. A second choice on absence of Obsidian is &lt;a href="https://www.dendron.so/"&gt;Dendron&lt;/a&gt; an extension of VSCode.&lt;/p&gt;

&lt;h3&gt;
  
  
  Link Your thinking
&lt;/h3&gt;

&lt;p&gt;We live in a world what lightning fast pace of innovation, and if you are like me, your head is full of ideas, what is called your personal &lt;strong&gt;&lt;em&gt;IDEAVERSE&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ehz38e4P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0950b260336piaf3igci.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ehz38e4P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0950b260336piaf3igci.png" alt="golden-ratio" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I tried many methodologies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://zettelkasten.de/posts/overview/"&gt;Zettelkasten&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.buildingasecondbrain.com/"&gt;Building a Second Brain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.linkingyourthinking.com/"&gt;Link Your Thinking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;NOTE: Forget about productivity and organization tools like Evernote, Notion, etc.. this is &lt;strong&gt;ABOUT THINKING&lt;/strong&gt; not about being productive.&lt;/p&gt;

&lt;p&gt;I just leave it here for now and let you digest and think what do you thing about this and if you're already addressing this in your own way, I would like to know about it.&lt;/p&gt;

&lt;p&gt;Want to learn more:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/@linkingyourthinking"&gt;https://www.youtube.com/@linkingyourthinking&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>How to run Python on Neovim like Jupyter</title>
      <dc:creator>Roberto Barbosa</dc:creator>
      <pubDate>Thu, 18 May 2023 18:03:01 +0000</pubDate>
      <link>https://dev.to/rnrbarbosa/how-to-run-python-on-neovim-like-jupyter-3ln0</link>
      <guid>https://dev.to/rnrbarbosa/how-to-run-python-on-neovim-like-jupyter-3ln0</guid>
      <description>&lt;p&gt;I am a Code Editor guy, and I am a Terminal Guy. I try all of the Editors from SublimeText VSCode to PyCharm and I keep coming back to Vim/Neovim.&lt;/p&gt;

&lt;p&gt;Because I work on AI/ML there's no way to not develop in Python and not be confronted with people demo'ing code with Jupyter Notebooks. I confess that is really cool.&lt;/p&gt;

&lt;p&gt;So, I went on the journey to figure out to solve this missing feature on Neovim.&lt;/p&gt;

&lt;p&gt;So, for a start, I will show how to do it with LazyVim as it's package manager could not be easier to get stuff started for someone willing to try Neovim for a spin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Neovim Installation
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

brew &lt;span class="nb"&gt;install &lt;/span&gt;neovim@0.9.0


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Other Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Git&lt;/li&gt;
&lt;li&gt;Python &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you don't have it yet install them (or just stop here 😁):&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

brew &lt;span class="nb"&gt;install &lt;/span&gt;git
brew &lt;span class="nb"&gt;install &lt;/span&gt;python@3.11


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Install Lazyim
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Backup Old Config
&lt;/h3&gt;

&lt;p&gt;If you already have another installation, do some backups:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;span class="c"&gt;# required&lt;/span&gt;
&lt;span class="nb"&gt;mv&lt;/span&gt; ~/.config/nvim ~/.config/nvim.bak

&lt;span class="c"&gt;# optional but recommended&lt;/span&gt;
&lt;span class="nb"&gt;mv&lt;/span&gt; ~/.local/share/nvim ~/.local/share/nvim.bak
&lt;span class="nb"&gt;mv&lt;/span&gt; ~/.local/state/nvim ~/.local/state/nvim.bak
&lt;span class="nb"&gt;mv&lt;/span&gt; ~/.cache/nvim ~/.cache/nvim.bak


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Download the &lt;em&gt;lazyvim&lt;/em&gt; starter, and don't be surprised how *fast &amp;amp; furious" the installation is:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

git clone https://github.com/LazyVim/starter ~/.config/nvim


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now, take the neovim to a spin, hold your seat and run:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

nvim


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Install Plugin to Run Code
&lt;/h2&gt;

&lt;p&gt;After a successful install of Lazyvim, exit and let's add a plugin:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;span class="nb"&gt;cd&lt;/span&gt; ~/.config/nvim
nvim &lt;span class="nb"&gt;.&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Create a file ('a' command on the File Browser) on folder &lt;code&gt;lua/plugins/code-runner.lua&lt;/code&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;

&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="s2"&gt;"hkupty/iron.nvim"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;opts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="kd"&gt;local&lt;/span&gt; &lt;span class="n"&gt;iron&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"iron.core"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="n"&gt;iron&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;setup&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
      &lt;span class="n"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;-- Whether a repl should be discarded or not&lt;/span&gt;
        &lt;span class="n"&gt;scratch_repl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="c1"&gt;-- Your repl definitions come here&lt;/span&gt;
        &lt;span class="n"&gt;repl_definition&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="n"&gt;python&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="c1"&gt;-- Can be a table or a function that&lt;/span&gt;
            &lt;span class="c1"&gt;-- returns a table (see below)&lt;/span&gt;
            &lt;span class="n"&gt;command&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s2"&gt;"python"&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
          &lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="c1"&gt;-- How the repl window will be displayed&lt;/span&gt;
        &lt;span class="c1"&gt;-- See below for more information&lt;/span&gt;
        &lt;span class="n"&gt;repl_open_cmd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"iron.view"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="n"&gt;right&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="c1"&gt;-- Iron doesn't set keymaps by default anymore.&lt;/span&gt;
      &lt;span class="c1"&gt;-- You can set them here or manually add keymaps to the functions in iron.core&lt;/span&gt;
      &lt;span class="n"&gt;keymaps&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;send_motion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;visual_send&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;send_file&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rf"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;send_line&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rl"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;send_mark&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rm"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;mark_motion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rmc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;mark_visual&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rmc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;remove_mark&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rmd"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;cr&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;r&amp;lt;cr&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;interrupt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;r&amp;lt;space&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;exit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rq"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;clear&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="c1"&gt;-- If the highlight is on, you can change how it looks&lt;/span&gt;
      &lt;span class="c1"&gt;-- For the available options, check nvim_set_hl&lt;/span&gt;
      &lt;span class="n"&gt;highlight&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;italic&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="n"&gt;ignore_blank_lines&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;-- ignore blank lines when sending visual select lines&lt;/span&gt;
    &lt;span class="p"&gt;})&lt;/span&gt;

    &lt;span class="c1"&gt;-- iron also has a list of commands, see :h iron-commands for all available commands&lt;/span&gt;
    &lt;span class="n"&gt;vim&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;keymap&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;cmd&amp;gt;IronRepl&amp;lt;cr&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;vim&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;keymap&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rr"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;cmd&amp;gt;IronRestart&amp;lt;cr&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;vim&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;keymap&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rF"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;cmd&amp;gt;IronFocus&amp;lt;cr&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;vim&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;keymap&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;space&amp;gt;rh"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;cmd&amp;gt;IronHide&amp;lt;cr&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Save a exit the file &lt;code&gt;&amp;lt;space&amp;gt;qq&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Test Code Runner
&lt;/h2&gt;

&lt;p&gt;Open a python file &lt;code&gt;test.py&lt;/code&gt;:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;

&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;AIOPS Again&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Another AIOPS&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Type &lt;code&gt;&amp;lt;space&amp;gt;r&lt;/code&gt; and ENTER and you should have the code execution window on the right side:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33sb9u8eg5mxlc48w0x1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33sb9u8eg5mxlc48w0x1.png" alt="Neovim Menu"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you to execute the code you have several options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Execute Line by Line&lt;/em&gt; &lt;code&gt;&amp;lt;space&amp;gt;rl&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Execute Selected Lines&lt;/em&gt; &lt;code&gt;&amp;lt;space&amp;gt;rc&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Execute the all file&lt;/em&gt; &lt;code&gt;&amp;lt;space&amp;gt;rf&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Try to execute a selection of line, by selecting some lines:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpqtcwr7ewcfdgbawu1ra.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpqtcwr7ewcfdgbawu1ra.png" alt="Lines of Code Selected on Neovim"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And them send the code to the runner:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjbtodrhtsuzhy7lym1xo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjbtodrhtsuzhy7lym1xo.png" alt="Code Execution Result"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In reality this plugin can run whatever you want:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxuj4k79rudffi431zz1v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxuj4k79rudffi431zz1v.png" alt="Runtime selection"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>neovim</category>
      <category>jupyter</category>
      <category>vim</category>
      <category>python</category>
    </item>
    <item>
      <title>Rust for Sustainability and Greater Good</title>
      <dc:creator>Roberto Barbosa</dc:creator>
      <pubDate>Sun, 07 May 2023 11:22:08 +0000</pubDate>
      <link>https://dev.to/rnrbarbosa/rust-for-sustainability-and-greater-good-9on</link>
      <guid>https://dev.to/rnrbarbosa/rust-for-sustainability-and-greater-good-9on</guid>
      <description>&lt;p&gt;For the record, It is now 10 years that I published my first Container on Docker Hub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--S2En8LxP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cktb08t3ojdx8scykexs.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--S2En8LxP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cktb08t3ojdx8scykexs.jpeg" alt="Docker Hub Image" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today I am &lt;strong&gt;EQUALLY&lt;/strong&gt; excited about &lt;strong&gt;Rust&lt;/strong&gt; Programming Language and also about AI and Cloud.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why??? Is this anoTher rUST Fanatic POst? No.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These disruptive technologies are very similar to what excited me about Containerization 10 years ago: &lt;strong&gt;&lt;em&gt;Sustainability and ECONOMY of SCALE&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Wait, this is also NOT another capitalist post. Fyi, I am African, born in Mozambique with Capeverdean parents and Portuguese citizenship. It would be hard for me to have a capitalist view, even living today in Switzerland and working on the financial industry.&lt;/p&gt;

&lt;p&gt;I could be here talking about saving billlions to global companies with sustainable technology, but &lt;strong&gt;TODAY&lt;/strong&gt; my thoughts will go to the other opposite side of the these big players.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This is a view of opportunities for excluded small economies or operators with lack of resources.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I remember myself in 2005 trying to modernize Social Security and other Public Sector Institutions in Africa (Cape Verde, Angola and Mozambique) without speedy Internet or enough physical servers or datacenters.&lt;/p&gt;

&lt;p&gt;To get a feeling, when I took the wrong Operating System Linux CD-ROM for a maintenance or deployment on a remote located Island of Cape Verde, the download locally of a newer Linux version estimated &lt;strong&gt;&lt;em&gt;3 years to complete the download&lt;/em&gt;&lt;/strong&gt; 😱.&lt;/p&gt;

&lt;p&gt;I was also at that time recommending and deploying 6W Thin Clients (not a typo, it is Six Watts) as opposed to 200W Desktops, and buying new servers consuming 100–200W as opposed to some old using up to 1000 Watts.&lt;/p&gt;

&lt;p&gt;I was always pushing for these solutions when working with Public Sector’s Reference Terms of Reference (ToF) and Request for Proposal (RFP) for technology projects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;And boy, let me tell you, I was messing with someone else’s cheese.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Simply put, I always seek how can we do 100x. more, 100x faster, 100x safer, 100x cheaper, 100x less energy solutions as a force of habit. Sustainability concerns? Maybe.&lt;/p&gt;

&lt;p&gt;10 years ago I was helping 200 Tourism Accomodation operators in Cape Verde to establish digital presence to compete with global operators and aggregators like our well-known booking sites.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;There would be no viability for these project or small operators without Open Source, Cloud and Internet.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This project started with 3 physical servers with Linux with 32/64 Gb RAM and 2 TB Disks mirrored for 50€/month each using Open Source software like Ubuntu, PostgreSQL, MySQL, Nginx, Python, PHP, Apache httpd, OpenERP/Odoo and Joomla.&lt;/p&gt;

&lt;p&gt;Over the years because costs, security malware and performance issues, the options continuously evolved to newer solutions like: Docker Container, reverse proxy with Traefik, letsencrypt/zerossl, AWS API Gateway, Aws Lambda/Python, single-page application (SPA), React on S3, Backup on S3, Google Firebase hosting, Docker Swarm Clusters, GlusterFS Distributed Storage, Git Gogs Server, Caddy Go Web server, BIND &amp;amp; CoreDNS, Grafana, Loki, Prometheus, Fluentbit, Azure DevOps, Azure Containers and Azure PostgreSQL and so many others…&lt;/p&gt;

&lt;p&gt;When I look into disruptive technologies such as the OpenSource, Linux, Internet, Virtualization, Cloud, Containers, Blockchain, AI and others, my mind goes to HOW poor countries can tap into it and compete in a Golias vs David economy battles, staying relevant, progressive, competitive and sustainable.&lt;/p&gt;

&lt;p&gt;If you ask me what is the next best thing for the future of technology and small operators for the Economy of Scale, I would name &lt;strong&gt;RUST&lt;/strong&gt; as the next thing to adopt.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How can Rust save the planet? The answer is that more efficient code requires fewer resources to run, which means lower energy usage in data centers and also in the environmental impact of manufacturing computing equipment and shipping it around the world. – The Register&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And Rust is my current focus and what I am putting all my bucks now.&lt;/p&gt;

&lt;p&gt;Stay tuned and ask me for help if you need advise.&lt;/p&gt;

&lt;p&gt;Links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/blogs/opensource/sustainability-with-rust/"&gt;Sustainability with Rust&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.theregister.com/2021/11/30/aws_reinvent_rust/"&gt;Can Rust save the planet? Why, and why not&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://thenewstack.io/rust-in-the-linux-kernel/"&gt;Rust in the Linux Kernel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.theregister.com/2023/04/27/microsoft_windows_rust/"&gt;Microsoft is busy rewriting core Windows code in memory-safe Rust&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
