<?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>Blog on Life Programming</title>
    <link>https://life-prog.com/blog/</link>
    <description>Recent content in Blog on Life Programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 18 Nov 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://life-prog.com/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tiny Experiment - No Phone in the evening</title>
      <link>https://life-prog.com/blog/tiny-experiment-no-phone/</link>
      <pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/tiny-experiment-no-phone/</guid>
      <description>&lt;p&gt;
About 3 weeks ago, I started reading &lt;a href=&#34;https://nesslabs.com/book&#34;&gt;Tiny Experiments&lt;/a&gt;. Having always been
crippled by the disease of the &amp;#34;I want to do the right thing so that I don&amp;#39;t
waste time, but I&amp;#39;m not sure what the right thing is so I&amp;#39;m wasting time doing
nothing&amp;#34;, the premise of the book resonated deeply with me.&lt;/p&gt;
&lt;p&gt;
The fact that you can test things out quickly and accept any result, especially
the one you did not expect is quite freeing for me.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Technology Artisan</title>
      <link>https://life-prog.com/blog/technology-artisan/</link>
      <pubDate>Tue, 27 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/technology-artisan/</guid>
      <description>&lt;p&gt;
Today&amp;#39;s technology world is mostly composed of &amp;#34;enterprise&amp;#34; software, or mainstream languages. Think
kubernetes or python, OIDC and LDAP. Working in this world requires you to know about a lot of those
technologies, stay up to date, and know how to tweak the thousands of parameters available to you to
make them work exactly as you want them. That&amp;#39;s today&amp;#39;s equivalent of the manufacturing process,
where every part makes sense when you have a lot of the same product to get out of the door, with as
little cost as possible per unit. That&amp;#39;s working at scale.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Single entry point</title>
      <link>https://life-prog.com/blog/2024-06-11-single-entry-point/</link>
      <pubDate>Fri, 13 Sep 2024 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/2024-06-11-single-entry-point/</guid>
      <description>&lt;p&gt;
Getting started working on an unknown repository can be daunting. Getting all the tools, setting up
your environment, running the tests, building the artifact, deploying the new version of the
software…&lt;/p&gt;
&lt;p&gt;
All those can take a lot of time and back and forth with other colleagues who are used
to working there (hopefully they&amp;#39;re still working in your company) just so that you can get started
working.&lt;/p&gt;
&lt;p&gt;
If you&amp;#39;re lucky, you will find scripts for those actions. You might only find an example of an arcane
command in the README that has not been updated in the last 2 years. Or you might not encounter any
indication of the direction in which to go.&lt;/p&gt;</description>
    </item>
    <item>
      <title>You don&#39;t need to start with a niche</title>
      <link>https://life-prog.com/blog/2022-11-04-you-dont-need-a-niche/</link>
      <pubDate>Fri, 11 Nov 2022 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/2022-11-04-you-dont-need-a-niche/</guid>
      <description>&lt;p&gt;
For the last few years, I&amp;#39;ve been trying to find a topic to actually work on to develop a side
project. I had quite a few ideas, but always got stuck on the &amp;#34;find people and understand their
needs part&amp;#34;, because I did not know people in the domain to talk to, nor could I find those people
online.&lt;/p&gt;
&lt;p&gt;
You need a way to get people to discover you. If you don&amp;#39;t produce anything, they will not
ask any questions that can guide you towards what they need.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Autoreload your Rust webserver with rust</title>
      <link>https://life-prog.com/blog/2022-03-17-rust-server-autoreload/</link>
      <pubDate>Thu, 17 Mar 2022 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/2022-03-17-rust-server-autoreload/</guid>
      <description>&lt;p&gt;
When you create a long running application in Rust, you have to
recompile your files everytime you make a change.&lt;/p&gt;
&lt;p&gt;
The first way is to just run&lt;/p&gt;
&lt;div class=&#34;src src-bash&#34;&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cargo run&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
and &lt;code&gt;Ctrl-C&lt;/code&gt; the process then run it again when you want to reload.&lt;/p&gt;
&lt;p&gt;
A better way is to install &lt;a href=&#34;https://crates.io/crates/cargo-watch&#34;&gt;&lt;code&gt;cargo-watch&lt;/code&gt;&lt;/a&gt;, which will do this process automatically when you change a
file in your project. You just need to run it with&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using cargo-edit to simplify dependency management</title>
      <link>https://life-prog.com/blog/2022-03-17-cargo-edit/</link>
      <pubDate>Thu, 17 Mar 2022 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/2022-03-17-cargo-edit/</guid>
      <description>&lt;p&gt;
Getting back into Rust, I want to start documenting my journey to getting a small service running.
The first &amp;#34;problem&amp;#34; I had to solve was to add dependencies to the project.&lt;/p&gt;
&lt;p&gt;
The &lt;a href=&#34;https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html&#34;&gt;official method&lt;/a&gt; is to add the dependencies manually in your &lt;code&gt;Cargo.toml&lt;/code&gt; file. However,
this is not convenient, and could lead to errors quite easily.&lt;/p&gt;
&lt;p&gt;
Thankfully, you can make this easier using &lt;a href=&#34;https://github.com/killercup/cargo-edit&#34;&gt;cargo-edit&lt;/a&gt;. This will let you &lt;strong&gt;add&lt;/strong&gt;, &lt;strong&gt;remove&lt;/strong&gt;, &lt;strong&gt;upgrade&lt;/strong&gt; dependencies
or &lt;strong&gt;set-version&lt;/strong&gt; of your crate.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Simple Wifi Menu With Rofi on i3</title>
      <link>https://life-prog.com/blog/a-simple-wifi-menu-with-rofi-on-i3/</link>
      <pubDate>Tue, 26 Jan 2021 22:57:31 +0100</pubDate>
      <guid>https://life-prog.com/blog/a-simple-wifi-menu-with-rofi-on-i3/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been using &lt;a href=&#34;https://wiki.archlinux.org/index.php/NetworkManager#nm-applet&#34;&gt;&lt;code&gt;nm-applet&lt;/code&gt;&lt;/a&gt; in
&lt;a href=&#34;https://i3wm.org/&#34;&gt;i3&lt;/a&gt; to manage my networks, and it works pretty well.  However, I don&amp;rsquo;t really
like the icons it comes with in my systray, so I decided to try my hand at creating a little helper
to get rid of it and manage my networks in an other way.  Basically, I want to be able to connet to
a wifi from the list of available ones.&lt;/p&gt;
&lt;p&gt;This article is based on &lt;a href=&#34;https://archlinux.org/&#34;&gt;ArchLinux&lt;/a&gt;, assumes that you are using
&lt;a href=&#34;https://wiki.archlinux.org/index.php/NetworkManager&#34;&gt;NetworkManager&lt;/a&gt; and that you have
&lt;a href=&#34;https://github.com/davatorium/rofi&#34;&gt;&lt;code&gt;rofi&lt;/code&gt;&lt;/a&gt; installed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Alert on Low Battery in I3</title>
      <link>https://life-prog.com/blog/alert-on-low-battery-in-i3/</link>
      <pubDate>Fri, 01 Jan 2021 20:00:00 +0100</pubDate>
      <guid>https://life-prog.com/blog/alert-on-low-battery-in-i3/</guid>
      <description>&lt;p&gt;Working on &lt;a href=&#34;https://i3wm.org/&#34;&gt;i3&lt;/a&gt;, you have to define a lot of functionalities yourself, or install
the program that does it for you. One of those functionalities is to be alerted in case of a low
battery. Let&amp;rsquo;s explore two options, the very simple and the very customizable, so that you can
choose what fits you best. You&amp;rsquo;ll learn more about linux going the custom route, but it will take
longer to get running.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Creating the Seed</title>
      <link>https://life-prog.com/blog/creating-the-seed/</link>
      <pubDate>Fri, 06 Nov 2020 21:31:17 +0100</pubDate>
      <guid>https://life-prog.com/blog/creating-the-seed/</guid>
      <description>&lt;p&gt;I started working on quite a few different projects in the past, whether in my personal or
professional life, and the beginning often felt overwhelming. I did not know enough, or did not have
a specific enough idea. There were too many moving parts. Pick your poison.&lt;/p&gt;
&lt;p&gt;I noticed over the years that this feeling came from taking on too much at once.  When you don&amp;rsquo;t
even know where to start, and think about too many things at once, your brain just stops.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Discovering TailwindCSS</title>
      <link>https://life-prog.com/blog/discovering-tailwindcss/</link>
      <pubDate>Wed, 04 Nov 2020 00:57:01 +0100</pubDate>
      <guid>https://life-prog.com/blog/discovering-tailwindcss/</guid>
      <description>&lt;p&gt;I just finished following a quick tutorial about &lt;a href=&#34;https://tailwindcss.com/&#34;&gt;TailwindCSS&lt;/a&gt;, you can find it
&lt;a href=&#34;https://scrimba.com/learn/tailwind&#34;&gt;here&lt;/a&gt;.  My first impressions are &lt;strong&gt;really good&lt;/strong&gt;, but let&amp;rsquo;s go in
details about what I liked, a few questions and some extra resources.&lt;/p&gt;
&lt;h2 id=&#34;what-i-liked-most-easy-to-get-started-with-a-caveat&#34;&gt;What I liked most: Easy to get started (with a caveat)&lt;/h2&gt;
&lt;p&gt;Getting started with &lt;a href=&#34;https://tailwindcss.com/&#34;&gt;TailwindCSS&lt;/a&gt;, once you understand the concept, is
very easy. Just add a few classes to your HTML, and you get desired styling. The classes are clear in
what they achieve, you get sane defaults and pairing colors out of the box. &lt;strong&gt;Fantastic for someone
with basically no experience&lt;/strong&gt;, as these can be overwhelming to define when getting started.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The vision for Startyk</title>
      <link>https://life-prog.com/blog/the-vision-for-startyk/</link>
      <pubDate>Wed, 21 Oct 2020 22:56:58 +0200</pubDate>
      <guid>https://life-prog.com/blog/the-vision-for-startyk/</guid>
      <description>&lt;p&gt;For this new tool I&amp;rsquo;m working on, &lt;a href=&#34;https://startyk.carrd.co/&#34;&gt;Startyk&lt;/a&gt;, there are a few features that
I would love to use on my blog. I want this tool to be helpful to writers to understand their
audience better, get discovered more easily, and for readers to have a filter, so that they don&amp;rsquo;t get
overwhelmed by the amount of resources out there.&lt;/p&gt;
&lt;p&gt;And I want it to integrate in the writer&amp;rsquo;s platform. They should be the owners of their content, not
a third party. While the extra functionalities will live somewhere else, I pledge that the data will
all be available to the user for as long as possible for me, possibly forever even if the platform
were to close down.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Am I Qualified for This ?</title>
      <link>https://life-prog.com/blog/am-i-qualified-for-this/</link>
      <pubDate>Tue, 20 Oct 2020 21:38:01 +0200</pubDate>
      <guid>https://life-prog.com/blog/am-i-qualified-for-this/</guid>
      <description>&lt;p&gt;Trying to create a successful business is something tough. For me, the toughest thing is to feel
adequate that I am qualified to do it.&lt;/p&gt;
&lt;p&gt;I mean, there are so many people doing it out there, and when I, almost inevitably, stumble upon
something with the same functionality than what I want to create, I get discouraged because I feel
like I don&amp;rsquo;t have any legitimacy to do it anymore.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Bringing DevOps to IndieHacking</title>
      <link>https://life-prog.com/blog/bringing-devops-to-indiehacking/</link>
      <pubDate>Mon, 19 Oct 2020 23:54:13 +0200</pubDate>
      <guid>https://life-prog.com/blog/bringing-devops-to-indiehacking/</guid>
      <description>&lt;p&gt;I love the IndieHacking movement, and I noticed that there are people saying that they just
edit their files on their servers, and that&amp;rsquo;s how they deploy their application. If some say it,
they&amp;rsquo;re not the only ones to do it.&lt;/p&gt;
&lt;p&gt;Since I&amp;rsquo;m an SRE by day, I&amp;rsquo;m wondering if there would not be a way to bring some of the methods of
my work to the world of IndieHacking.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Add a Server Struct for Better Handlers Management</title>
      <link>https://life-prog.com/blog/2020-10-18-add-a-server-struct-for-better-handlers-management/</link>
      <pubDate>Sun, 18 Oct 2020 10:39:04 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-10-18-add-a-server-struct-for-better-handlers-management/</guid>
      <description>&lt;p&gt;On my &lt;a href=&#34;https://life-prog.com/blog/2020-10-17-accessing-your-database-from-inside-an-http-handler-in-go/&#34;&gt;previous post&lt;/a&gt;,
I was explaining how to access a database from inside a HTTP handler in go using closures. While
this method works, it comes with the disadvantage that if you want to access more than the database,
you&amp;rsquo;ll have to add the new element to the list of arguments. In every single handler. On top of
that, closures are not that simple to understand, and may lead to confusion.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Accessing your database from inside an HTTP handler in Go</title>
      <link>https://life-prog.com/blog/2020-10-17-accessing-your-database-from-inside-an-http-handler-in-go/</link>
      <pubDate>Sat, 17 Oct 2020 22:43:40 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-10-17-accessing-your-database-from-inside-an-http-handler-in-go/</guid>
      <description>&lt;p&gt;&lt;em&gt;Note: While this is interesting to learn more about creating closures, it was pointed out to me that
there is a better way to do this. Look at this &lt;a href=&#34;https://life-prog.com/blog/2020-10-18-add-a-server-struct-for-better-handlers-management/&#34;&gt;next post&lt;/a&gt; to learn more about it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Writing my &lt;a href=&#34;https://startyk.carrd.co&#34;&gt;last project&lt;/a&gt; backend in Go, I was confronted with how to actually write my HTTP handlers.&lt;/p&gt;
&lt;p&gt;The main issue I encountered was how to get the database handle in the handler so that I could
actually use it for incoming requests. Since you usually have to respect a given interface, you
cannot just add new arguments to the handling function.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Scrot useful options</title>
      <link>https://life-prog.com/blog/2020-05-13-scrot-useful-options/</link>
      <pubDate>Wed, 13 May 2020 22:18:28 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-05-13-scrot-useful-options/</guid>
      <description>&lt;p&gt;When I wrote &lt;a href=&#34;https://life-prog.com/blog/2020-04-19-installing-libvirt-kvm/&#34;&gt;this post about installing KVM and virt-manager&lt;/a&gt;,
screenshotting the windows that I was seeing was the easiest way to describe
the steps to follow. On linux, one of the most used tools for that is
&lt;a href=&#34;https://wiki.archlinux.org/index.php/Screen_capture#scrot&#34;&gt;&lt;code&gt;scrot&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As I used it in a few ways, I wanted to have a little reference, for the next
times I have to use it.&lt;/p&gt;
&lt;h2 id=&#34;basic-commands&#34;&gt;Basic commands&lt;/h2&gt;
&lt;p&gt;The simple command will let you screenshot the whole desktop you&amp;rsquo;re currently
on If you have multiple screens, this will capture only the current screen. To
capture multiple screens, use the &lt;code&gt;-m&lt;/code&gt; option.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tiling Images With Imagemagick</title>
      <link>https://life-prog.com/blog/2020-04-29-tiling-images-with-imagemagick/</link>
      <pubDate>Wed, 29 Apr 2020 22:12:51 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-04-29-tiling-images-with-imagemagick/</guid>
      <description>&lt;p&gt;While writing &lt;a href=&#34;https://life-prog.com/blog/2020-04-19-installing-libvirt-kvm/&#34;&gt;this post about installing KVM and virt-manager&lt;/a&gt;, I wanted to show multiple steps of a
process by capturing the window for each screen.&lt;/p&gt;
&lt;p&gt;Getting the images was &lt;a href=&#34;https://life-prog.com/blog/2020-05-13-scrot-useful-options/&#34;&gt;quite simple&lt;/a&gt;,
but including them one by one in a blog
post seemed a bit tedious, even though there were only 5 images. Especially given
that including images in markdown seems&amp;hellip; impossible !&lt;/p&gt;
&lt;p&gt;I knew about &lt;a href=&#34;https://imagemagick.org/&#34;&gt;&lt;code&gt;imagemagick&lt;/code&gt;&lt;/a&gt; before, but had never
really used it, or went to see into the
&lt;a href=&#34;https://imagemagick.org/script/command-line-tools.php&#34;&gt;documentation&lt;/a&gt;.  After
a little research, I found the &lt;code&gt;montage&lt;/code&gt; command, which allows you to &lt;em&gt;create a
composite image by combining several separate images&lt;/em&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Renaming files in Vim: A Vimscript experiment</title>
      <link>https://life-prog.com/blog/2020-04-26-renaming-files-in-vim/</link>
      <pubDate>Sun, 26 Apr 2020 11:08:08 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-04-26-renaming-files-in-vim/</guid>
      <description>&lt;p&gt;I took an attempt at creating a Vimscript function to rename a file with a
simple command.  It was not that hard, but there are a few tricks that you need
to learn to get started writing Vimscript.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s first look at the full code for the function, with a mapping to
&lt;code&gt;&amp;lt;leader&amp;gt;fr&lt;/code&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-vim&#34; data-lang=&#34;vim&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;function&lt;/span&gt;! s:RenameCurrentFile( newName )
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;let&lt;/span&gt; l:file = expand(&lt;span style=&#34;color:#4070a0&#34;&gt;&amp;#39;%&amp;#39;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;let&lt;/span&gt; l:currentFilePath = expand(&lt;span style=&#34;color:#4070a0&#34;&gt;&amp;#39;%:p:h&amp;#39;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;let&lt;/span&gt; l:newFile = l:currentFilePath . &lt;span style=&#34;color:#4070a0&#34;&gt;&amp;#39;/&amp;#39;&lt;/span&gt; . a:newName
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#60a0b0;font-style:italic&#34;&gt;    &amp;#34; Save new file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;execute&lt;/span&gt; &lt;span style=&#34;color:#4070a0&#34;&gt;&amp;#34;saveas &amp;#34;&lt;/span&gt; . l:newFile
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#60a0b0;font-style:italic&#34;&gt;    &amp;#34; Open new file in a new buffer&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;execute&lt;/span&gt; &lt;span style=&#34;color:#4070a0&#34;&gt;&amp;#34;e &amp;#34;&lt;/span&gt; . l:newFile
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#60a0b0;font-style:italic&#34;&gt;    &amp;#34; Kill old buffer&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;execute&lt;/span&gt; &lt;span style=&#34;color:#4070a0&#34;&gt;&amp;#34;bdelete &amp;#34;&lt;/span&gt; . l:file
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#60a0b0;font-style:italic&#34;&gt;    &amp;#34; Remove old file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    call delete(l:file)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#007020;font-weight:bold&#34;&gt;endfunction&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;command! -nargs=&lt;span style=&#34;color:#40a070&#34;&gt;1&lt;/span&gt; -complete=file RenameCurrentFile call s:RenameCurrentFile(&amp;lt;f-args&amp;gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;nnoremap &amp;lt;leader&amp;gt;fr :RenameCurrentFile
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The first thing that had me bumped was how to use &lt;code&gt;saveas&lt;/code&gt;. You have to
&lt;code&gt;execute&lt;/code&gt; a string that you create with the proper arguments, and there is no
function for that. All commands that you would type after a colon (like &lt;code&gt;edit&lt;/code&gt;,
or &lt;code&gt;bdelete&lt;/code&gt;, in this example) will have to be executed this way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installing and running libvirt and virt-manager</title>
      <link>https://life-prog.com/blog/2020-04-19-installing-libvirt-kvm/</link>
      <pubDate>Sun, 19 Apr 2020 21:38:26 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-04-19-installing-libvirt-kvm/</guid>
      <description>&lt;p&gt;I wanted to start using &lt;a href=&#34;https://www.vagrantup.com&#34;&gt;Vagrant&lt;/a&gt;, to create a
virtual machine that would allow me to test different ArchLinux install
scripts, window manager settings, etc&amp;hellip; without messing up my machine.&lt;/p&gt;
&lt;p&gt;That would make me start by loading the
&lt;a href=&#34;https://app.vagrantup.com/archlinux/boxes/archlinux&#34;&gt;&lt;code&gt;archlinux/archlinux&lt;/code&gt;&lt;/a&gt;
box with the &lt;code&gt;libvirt&lt;/code&gt; integration, which needed me to install
&lt;code&gt;libvirt&lt;/code&gt;. I wanted to use KVM as an hypervisor for that, so I needed to
install QEMU for it, since &lt;a href=&#34;https://wiki.archlinux.org/index.php/KVM&#34;&gt;&lt;em&gt;KVM is a special operating mode of
QEMU&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Download Torrents From the CLI</title>
      <link>https://life-prog.com/blog/2020-04-11-download-torrent-from-cli/</link>
      <pubDate>Sat, 11 Apr 2020 13:23:23 +0200</pubDate>
      <guid>https://life-prog.com/blog/2020-04-11-download-torrent-from-cli/</guid>
      <description>&lt;p&gt;I wanted to download the ArchLinux ISO image from
&lt;a href=&#34;https://www.archlinux.org/download/&#34;&gt;here&lt;/a&gt;. It is advised to download it using
torrent. We&amp;rsquo;ll be using &lt;a href=&#34;https://aria2.github.io/&#34;&gt;&lt;code&gt;aria2&lt;/code&gt;&lt;/a&gt; for this.&lt;/p&gt;
&lt;p&gt;I am running Arch, so to install &lt;a href=&#34;https://aria2.github.io/&#34;&gt;&lt;code&gt;aria2&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;pacman -S aria2
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To start the download, just run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;aria2c &amp;lt;torrent or magnet link&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That&amp;rsquo;s it. Once the download is complete, the file(s) will be in
your current directory.&lt;/p&gt;
&lt;p&gt;There are other options to manage torrents from the command line,
such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://rakshasa.github.io/rtorrent/&#34;&gt;&lt;code&gt;rtorrent&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://transmissionbt.com/&#34;&gt;&lt;code&gt;transmission-cli&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://dev.deluge-torrent.org/&#34;&gt;&lt;code&gt;deluge-console&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For a single torrent download, &lt;a href=&#34;https://aria2.github.io/&#34;&gt;&lt;code&gt;aria2&lt;/code&gt;&lt;/a&gt;  does the
job well, and very easily.  I&amp;rsquo;d look into the others for more advanced torrent
management.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Treesque -- A new name for a first project</title>
      <link>https://life-prog.com/blog/treesque-a-new-name-for-a-first-project/</link>
      <pubDate>Mon, 27 Jan 2020 22:23:57 +0100</pubDate>
      <guid>https://life-prog.com/blog/treesque-a-new-name-for-a-first-project/</guid>
      <description>&lt;p&gt;Since my &lt;a href=&#34;https://life-prog.com/blog/how-i-want-to-manage-my-projects/&#34;&gt;last post&lt;/a&gt;, I kept working on this new project, and made quite a good progress.&lt;/p&gt;
&lt;p&gt;So let&amp;rsquo;s welcome &lt;a href=&#34;https://treesque.com&#34;&gt;Treesque&lt;/a&gt; ! Go take a look, and give it
a try. And if you like it, let me know on
&lt;a href=&#34;https://twitter.com/mrngilles&#34;&gt;Twitter&lt;/a&gt; or by
&lt;a href=&#34;mailto:mrngilles@gmail.com&#34;&gt;email&lt;/a&gt;. It is very basic at this point, missing a
lot of functionalities, but it is a start, and I am happy to just have
something out.&lt;/p&gt;
&lt;p&gt;It took a long time to get where it is today, because I had a lot to learn on
the way, and I made some bad decisions along the way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How I Want to Manage My Projects</title>
      <link>https://life-prog.com/blog/how-i-want-to-manage-my-projects/</link>
      <pubDate>Tue, 13 Aug 2019 00:00:00 +0000</pubDate>
      <guid>https://life-prog.com/blog/how-i-want-to-manage-my-projects/</guid>
      <description>&lt;p&gt;Since I started working with a few project management solutions, I noticed that
there are parts of them that do not suit me at all. I have been limited by
those tools, because I could not see the project in a way that makes sense to
me, or input more information in an easy and straigthforward way. I was not
able to use these tools to think, and observe my thoughts objectively after. I
would find them not simple to use, way too &amp;ldquo;clicky&amp;rdquo;, and not really versatile.
They are a help to remember all there is to do (which may not be the best
way to see a project), but I find them quite limiting&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tricking myself into working</title>
      <link>https://life-prog.com/blog/tricking-myself-into-working/</link>
      <pubDate>Sat, 01 Jun 2019 23:58:35 +0200</pubDate>
      <guid>https://life-prog.com/blog/tricking-myself-into-working/</guid>
      <description>&lt;p&gt;For a long time now, I have been wanting to create a business for myself. I
always have had a lot of ideas, but as soon as I started working on one, I
found that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Someone else already did something very similar&lt;/li&gt;
&lt;li&gt;It is much harder than I anticipated&lt;/li&gt;
&lt;li&gt;I don&amp;rsquo;t know where to start&lt;/li&gt;
&lt;li&gt;I don&amp;rsquo;t know that I am the right person to do it&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now, I know that all of those are just excuses, and that until I persist in one
idea for at least a few months, very consistently, I will not really be able to
see any results. Maybe a few comments here and there, a few people that will
like what I did, but nothing concrete.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My simplified development workflow in Go</title>
      <link>https://life-prog.com/blog/2019-03-21-my-simplified-development-workflow-in-go/</link>
      <pubDate>Thu, 21 Mar 2019 22:50:38 +0100</pubDate>
      <guid>https://life-prog.com/blog/2019-03-21-my-simplified-development-workflow-in-go/</guid>
      <description>&lt;h2 id=&#34;using-tests-during-development-to-keep-you-code-tidy&#34;&gt;Using tests during development to keep you code tidy&lt;/h2&gt;
&lt;p&gt;As I was working on a project, while developing a new function, I noticed that
I was modifying some existing code to be able to test it.  Doing it this way
seemed like a very bad idea, so I looked for a better way to do it. But let&amp;rsquo;s
start an insanely simple example, to clarify what I&amp;rsquo;m saying. We start with a
basic program, an &lt;code&gt;extraString&lt;/code&gt; function and a main.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Automated vs Manual</title>
      <link>https://life-prog.com/blog/automated-vs-manual/</link>
      <pubDate>Wed, 19 Sep 2018 17:11:35 +0200</pubDate>
      <guid>https://life-prog.com/blog/automated-vs-manual/</guid>
      <description>&lt;p&gt;We always speak about automating everything, especially in the tech world where
everything goes so fast. And I agree that if you can, you should automate
processes as much as you can. But there is value in doing things manually
sometimes.&lt;/p&gt;
&lt;p&gt;The first value is for learning. If you are learning a new technology you will
have to put the work, and manually tweak code, settings until you really
understand how it works. Without going through the process, you will just scratch
the surface of what you are learning.&lt;/p&gt;</description>
    </item>
    <item>
      <title>New Virtual Appliance From an Existing One With Packer</title>
      <link>https://life-prog.com/blog/new-va-from-an-existing-one-with-packer/</link>
      <pubDate>Thu, 13 Sep 2018 07:28:12 +0200</pubDate>
      <guid>https://life-prog.com/blog/new-va-from-an-existing-one-with-packer/</guid>
      <description>&lt;p&gt;When deploying Virtual Appliances (VA), you want the process to be automated and
repeatable, not just a one shot configured and exported manually. Thanks to
&lt;a href=&#34;https://www.packer.io/&#34;&gt;Packer&lt;/a&gt;, automating this is just a question of creating
a JSON configuration file and letting it do its magic.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.packer.io/&#34;&gt;Packer&lt;/a&gt; is used by giving it an ISO image of a base
distribution, installing the distribution and running the modifications you
want. This is good when creating new VAs, but what can you do if you already
have an existing one?&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
