<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts Archive on Lucas E M M. comments</title><link>https://lucasemmoreira.xyz/index.html</link><description>Recent content in Posts Archive on Lucas E M M. comments</description><generator>Hugo</generator><language>pt-BR</language><lastBuildDate>Tue, 28 Jul 2026 09:35:00 -0300</lastBuildDate><atom:link href="https://lucasemmoreira.xyz/index.xml" rel="self" type="application/rss+xml"/><item><title>My gpg key</title><link>https://lucasemmoreira.xyz/posts/gpg-key.html</link><pubDate>Tue, 28 Jul 2026 09:35:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/gpg-key.html</guid><description>&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;-----BEGIN PGP PUBLIC KEY BLOCK-----
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mDMEamicvBYJKwYBBAHaRw8BAQdAt/buKp/D8lia5OvFNoXc5PoIMKWtoxgUpdpX
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;a1nnFau0NEx1Y2FzIEUgTW9yZWlyYSAobm9tZSBjb20gZSkgPG1lQGx1Y2FzZW1t
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;b3JlaXJhLnh5ej6ImQQTFgoAQRYhBNTS9Ew+hr6URe8CiDk+Kz5R8HBLBQJqaJy8
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;AhsDBQkB4TOABQsJCAcCAiICBhUKCQgLAgQWAgMBAh4HAheAAAoJEDk+Kz5R8HBL
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ZBoBAOY5yW9TBHDsGU0qF3ep7jNctGf0e+uZw1gFfPfdvjEtAQCowQW33v13aXKH
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Nq//t0uc0YH4Yy8tyIyoHesv6tYNA7g4BGponLwSCisGAQQBl1UBBQEBB0DUldcK
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;VyZQRM/9l2HtqcMFTr1HtBpL3qqhPqvGurybBAMBCAeIfgQYFgoAJhYhBNTS9Ew+
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;hr6URe8CiDk+Kz5R8HBLBQJqaJy8AhsMBQkB4TOAAAoJEDk+Kz5R8HBLYBIBAKac
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;7IrQyBUYO5TXlvfFRzfKMSz7tmH5qnH1lUeOXj+aAP9EAnjtnmPLy2no5yFDRoAh
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ck0QKDZsb6LKl0CD+8KBCA&lt;span style="color:#f92672"&gt;==&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;5Nkw
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;-----END PGP PUBLIC KEY BLOCK-----
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Erlang small QoL</title><link>https://lucasemmoreira.xyz/posts/erlang-navitation.html</link><pubDate>Sun, 15 Mar 2026 12:58:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/erlang-navitation.html</guid><description>&lt;p&gt;This is small proposal to improve erlang navigation when coding. It is a
two piece adjustment:&lt;/p&gt;
&lt;p&gt;In the Makefile&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-makefile" data-lang="makefile"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;tags&lt;/span&gt;&lt;span style="color:#f92672"&gt;:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; find src include deps -name &lt;span style="color:#e6db74"&gt;&amp;#34;*.[he]rl&amp;#34;&lt;/span&gt; -print | xargs etags -o TAGS
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And in emacs, you can do this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-lisp" data-lang="lisp"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(defun le2m/erlang-update-tags ()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (interactive)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (&lt;span style="color:#66d9ef"&gt;let&lt;/span&gt; ((root (locate-dominating-file default-directory &lt;span style="color:#e6db74"&gt;&amp;#34;Makefile&amp;#34;&lt;/span&gt;)))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (when root
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (&lt;span style="color:#66d9ef"&gt;let&lt;/span&gt; ((default-directory root))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (shell-command &lt;span style="color:#e6db74"&gt;&amp;#34;gmake tags&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (message &lt;span style="color:#e6db74"&gt;&amp;#34;Tags updated&amp;#34;&lt;/span&gt;)))))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(advice-add &lt;span style="color:#e6db74"&gt;&amp;#39;erlang-compile&lt;/span&gt; &lt;span style="color:#e6db74"&gt;:before&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;#&amp;#39;&lt;/span&gt;le2m/erlang-update-tags)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When typing &lt;code&gt;C-c C-k&lt;/code&gt;, the TAGS file will be &amp;ldquo;automagically&amp;rdquo; created&lt;/p&gt;</description></item><item><title>Org-roam over org-brain?</title><link>https://lucasemmoreira.xyz/posts/org-roam-or-org-brain.html</link><pubDate>Sun, 01 Mar 2026 21:39:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/org-roam-or-org-brain.html</guid><description>&lt;p&gt;&lt;a href="https://github.com/org-roam/org-roam"&gt;Org roam&lt;/a&gt; seems to be very nice indeed. Maybe I will ditch &lt;a href="https://github.com/Kungsgeten/org-brain"&gt;org-brain&lt;/a&gt;&amp;hellip;&lt;/p&gt;</description></item><item><title>Tmux over fancy terminals</title><link>https://lucasemmoreira.xyz/posts/tmux-over-fancy-terminals.html</link><pubDate>Wed, 14 Jan 2026 19:15:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/tmux-over-fancy-terminals.html</guid><description>&lt;p&gt;I do like minimal stuff so I have avoided most of the terminal with
tabs and fancy &amp;ldquo;features&amp;rdquo;. Turns out, all I want, I can get from tmux.&lt;/p&gt;
&lt;p&gt;A few tips from my usage&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;divide usage of session per context: &lt;code&gt;new-session&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;inside same context, use windows: &lt;code&gt;new-window&lt;/code&gt; or &lt;code&gt;prefix+c&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;list-window&lt;/code&gt; (&lt;code&gt;prefix+w&lt;/code&gt;) or &lt;code&gt;list-session&lt;/code&gt; (&lt;code&gt;prefix+s&lt;/code&gt;) to navigate&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are a dwm user, I have just set up to open the tmux directly&lt;/p&gt;</description></item><item><title>Reviews</title><link>https://lucasemmoreira.xyz/sidelinks/reviews.html</link><pubDate>Thu, 06 Nov 2025 18:47:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/sidelinks/reviews.html</guid><description>&lt;p&gt;Some things that I enjoy&lt;/p&gt;
&lt;h2 id="tv-shows"&gt;TV shows&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Breaking Bad&lt;/li&gt;
&lt;li&gt;Better call Saul&lt;/li&gt;
&lt;li&gt;Mr. Robot&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="boardgames"&gt;Boardgames&lt;/h2&gt;
&lt;h3 id="oath-is-really-interesting"&gt;Oath is really interesting &lt;span class="timestamp-wrapper"&gt;&lt;span class="timestamp"&gt;&amp;lt;2025-11-06 Thu&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;My wife kindly gave me this new boadgame called Oath. It is a game in
which the outcome of one game affect the next ones. Similar like a
perpetual non-ending campaign.&lt;/p&gt;
&lt;p&gt;The other side of it, it is designed to create kingmaking. Usually, I
don&amp;rsquo;t like kingmaking but here it works. Maybe because it was designed
around that? One could argue that Root (by the same designer) also has
kingmaking, but in Root the scoring seems a bit more arbitrary on who is
going to win.&lt;/p&gt;</description></item><item><title>Emacs mode line</title><link>https://lucasemmoreira.xyz/posts/emacs-modeline.html</link><pubDate>Fri, 26 Sep 2025 11:20:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/emacs-modeline.html</guid><description>&lt;p&gt;If like me, you don&amp;rsquo;t mind how pretty the modeline looks in your emacs,
then you can set it pretty easy.&lt;/p&gt;
&lt;p&gt;Why would you want to do this? Well, what happens is that I have a
pretty small screen in my monitor and if I split vertically, I lose some
useful information like the time on a task.&lt;/p&gt;
&lt;p&gt;Now to the how:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-elisp" data-lang="elisp"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(setq-default mode-line-format
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (&lt;span style="color:#a6e22e"&gt;list&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;%e&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-remote
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-modified
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-front-space
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-frame-identification
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-buffer-identification &lt;span style="color:#e6db74"&gt;&amp;#34; &amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-position project-mode-line
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34; &amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-misc-info
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; mode-line-end-spaces))
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Not sure what all that is? Checking the docs in emacs is ez ;]&lt;/p&gt;</description></item><item><title>Org mode audience</title><link>https://lucasemmoreira.xyz/posts/org-mode-audience.html</link><pubDate>Wed, 20 Aug 2025 08:58:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/org-mode-audience.html</guid><description>&lt;p&gt;Org-mode is not for everybody, I think. However, I do think that
org-mode is for anybody that is willing to learn enough elisp to shape
the desired workflow.&lt;/p&gt;</description></item><item><title>A keyboard utility for everyone</title><link>https://lucasemmoreira.xyz/posts/keyboard-utility.html</link><pubDate>Mon, 18 Aug 2025 14:01:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/keyboard-utility.html</guid><description>&lt;p&gt;Have you ever noticed that your on your keyboard the letters &lt;code&gt;j&lt;/code&gt; and &lt;code&gt;f&lt;/code&gt;
both have a little dent on it. Well, that is not by chance. I will tell
you more, my brazilian keyboard as well as my american keyboard, also
have it.&lt;/p&gt;
&lt;p&gt;Why? It is a way for you to find the &amp;ldquo;rest&amp;rdquo; position of your hands
without you having to look at it. Is your mind blown? Mine was!&lt;/p&gt;</description></item><item><title>Improving mode line in emacs</title><link>https://lucasemmoreira.xyz/posts/diminish-mode-in-emacs.html</link><pubDate>Fri, 08 Aug 2025 11:06:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/diminish-mode-in-emacs.html</guid><description>&lt;p&gt;A nice UI feature in emacs in my configuration was having a bit more
control over the mode line (the thing between the buffer and the mini
buffer).&lt;/p&gt;
&lt;p&gt;Now that I have been controling my hours with emacs org clock, it is
really nice to have at glance how many hours I have been working. The
issue is that sometimes, my config has a bunch of minor modes and the
mode line has a lot of noise. &lt;a href="https://github.com/emacsmirror/diminish"&gt;dminish-mode&lt;/a&gt; was a great finding for this!&lt;/p&gt;</description></item><item><title>Improved (maybe) indenting on save</title><link>https://lucasemmoreira.xyz/posts/indent-function-on-save.html</link><pubDate>Fri, 30 May 2025 11:30:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/indent-function-on-save.html</guid><description>&lt;p&gt;I realized that sometimes identing the whole buffer might not be the
desired output. That because if the file is on different identation,
your git commit might be hard to follow.&lt;/p&gt;
&lt;p&gt;Because of that I studied a bit emacs lisp and came up with similar
idea. On save, indent only the function that you are working on.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-emacs-lisp" data-lang="emacs-lisp"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(defun le2m/indent-function ()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;indent only function&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;;; (interactive)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(delete-trailing-whitespace)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(let ((begin (save-excursion (beginning-of-defun) (&lt;span style="color:#a6e22e"&gt;point&lt;/span&gt;)))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (end (save-excursion (end-of-defun) (&lt;span style="color:#a6e22e"&gt;point&lt;/span&gt;))))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (indent-region begin end &lt;span style="color:#66d9ef"&gt;nil&lt;/span&gt;)))
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Indent file on save, please</title><link>https://lucasemmoreira.xyz/posts/indent-on-save.html</link><pubDate>Thu, 08 May 2025 08:32:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/indent-on-save.html</guid><description>&lt;p&gt;So, I discovered that I really like to format the code on save (I am
not the best typer). So emacs to the rescue:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-emacs-lisp" data-lang="emacs-lisp"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(defun le2m/indent-buffer ()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;indent whole buffer&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (delete-trailing-whitespace)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (indent-region (&lt;span style="color:#a6e22e"&gt;point-min&lt;/span&gt;) (&lt;span style="color:#a6e22e"&gt;point-max&lt;/span&gt;) &lt;span style="color:#66d9ef"&gt;nil&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (untabify (&lt;span style="color:#a6e22e"&gt;point-min&lt;/span&gt;) (&lt;span style="color:#a6e22e"&gt;point-max&lt;/span&gt;)))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(add-hook &lt;span style="color:#e6db74"&gt;&amp;#39;clojure-mode-hook&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (lambda ()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (add-hook &lt;span style="color:#e6db74"&gt;&amp;#39;before-save-hook&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;#&amp;#39;&lt;/span&gt;le2m/indent-buffer
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;t&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;t&lt;/span&gt;)))
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I did this on clojure-mode but it can be done in any mode I guess.&lt;/p&gt;</description></item><item><title>Wait, do you want to choose a alias with cider?</title><link>https://lucasemmoreira.xyz/posts/clojure-cider-aliases.html</link><pubDate>Sat, 03 May 2025 10:31:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/clojure-cider-aliases.html</guid><description>&lt;p&gt;Another thing you may want/need is to use an alias when connecting
cider. I know that cider can have that set up on your
configuration. You can use &lt;code&gt;.dir-locals.el&lt;/code&gt; to set up per project but I
personally prefer to be able to choose when connecting.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-emacs-lisp" data-lang="emacs-lisp"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(defun start-cider-repl-with-lein-profile ()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (interactive)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (letrec ((profile (&lt;span style="color:#a6e22e"&gt;read-string&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;Enter profile name: &amp;#34;&lt;/span&gt;))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (lein-params (&lt;span style="color:#a6e22e"&gt;concat&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;with-profile +&amp;#34;&lt;/span&gt; profile &lt;span style="color:#e6db74"&gt;&amp;#34; repl :headless :host localhost&amp;#34;&lt;/span&gt;)))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (&lt;span style="color:#a6e22e"&gt;message&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;lein-params set to: %s&amp;#34;&lt;/span&gt; lein-params)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (set-variable &lt;span style="color:#e6db74"&gt;&amp;#39;cider-lein-parameters&lt;/span&gt; lein-params)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (cider-jack-in &lt;span style="color:#f92672"&gt;&amp;#39;&lt;/span&gt;())))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (defun start-cider-repl-with-cli-profile ()
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (interactive)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (letrec ((profile (&lt;span style="color:#a6e22e"&gt;read-string&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;Enter profile name: &amp;#34;&lt;/span&gt;))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (cli-params (&lt;span style="color:#a6e22e"&gt;concat&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;-A:&amp;#34;&lt;/span&gt; profile)))
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (&lt;span style="color:#a6e22e"&gt;message&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;cli-params set to: %s&amp;#34;&lt;/span&gt; cli-params)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (set-variable &lt;span style="color:#e6db74"&gt;&amp;#39;cider-clojure-cli-aliases&lt;/span&gt; cli-params)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; (cider-jack-in &lt;span style="color:#f92672"&gt;&amp;#39;&lt;/span&gt;())))
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Running repl commands in cider (emacs)</title><link>https://lucasemmoreira.xyz/posts/repl-command.html</link><pubDate>Wed, 23 Apr 2025 19:46:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/repl-command.html</guid><description>&lt;p&gt;Ok, I will admit.. this took a while. But I have found a nice way of
doing this.&lt;/p&gt;
&lt;p&gt;What is this? Well, let&amp;rsquo;s say that you have a command to start your
server in &lt;code&gt;user&lt;/code&gt; namespace. With this cool feature, now you can run
this with a emacs command (or shortcut if you bind it).&lt;/p&gt;
&lt;p&gt;The cool thing about this is that the command will run with the
namespace from the repl and not the last ns that you loaded with cider
=].&lt;/p&gt;</description></item><item><title>Need dwm class? xprop</title><link>https://lucasemmoreira.xyz/posts/dwm-xprop.html</link><pubDate>Sun, 13 Apr 2025 21:32:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/dwm-xprop.html</guid><description>&lt;p&gt;Need some info for dwm? Maybe for the rule section? Use &lt;code&gt;xprop&lt;/code&gt; and find
WM_CLASS&lt;/p&gt;</description></item><item><title>New fun hobby</title><link>https://lucasemmoreira.xyz/posts/raylib-hobby1.html</link><pubDate>Fri, 11 Apr 2025 23:18:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/raylib-hobby1.html</guid><description>&lt;p&gt;Why not have another hobby? =p&lt;/p&gt;
&lt;p&gt;&lt;a id="figure--fig:ma-janet"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;figure&gt;&lt;img src="./resources/jaylib-basic-window.jpeg"
 alt="Figure 1: jaylib basic window"&gt;&lt;figcaption&gt;
 &lt;p&gt;&lt;span class="figure-number"&gt;Figure 1: &lt;/span&gt;jaylib basic window&lt;/p&gt;
 &lt;/figcaption&gt;
&lt;/figure&gt;</description></item><item><title>New host</title><link>https://lucasemmoreira.xyz/posts/new-host-new-css.html</link><pubDate>Mon, 18 Nov 2024 15:07:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/new-host-new-css.html</guid><description>&lt;p&gt;New host, new css&lt;/p&gt;</description></item><item><title>Restclient is dead… Now we have verb!</title><link>https://lucasemmoreira.xyz/posts/emacs-verb.html</link><pubDate>Wed, 16 Oct 2024 15:26:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/emacs-verb.html</guid><description>&lt;p&gt;Recently I found an interesting mode in emacs to manage and run http
requests!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/federicotdn/verb"&gt;enjoy!&lt;/a&gt; heheh&lt;/p&gt;</description></item><item><title>Go croqui added to my projects!</title><link>https://lucasemmoreira.xyz/posts/go-croqui-presentation.html</link><pubDate>Thu, 10 Oct 2024 09:47:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/go-croqui-presentation.html</guid><description>&lt;p&gt;Just remembered that I had a simple project in golang =]
&lt;a href="https://git.sr.ht/~lucasemmoreira/go-croqui"&gt;https://git.sr.ht/~lucasemmoreira/go-croqui&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Emacs code navigation? TAAAGS!</title><link>https://lucasemmoreira.xyz/posts/emacs-tags.html</link><pubDate>Mon, 08 Apr 2024 16:52:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/emacs-tags.html</guid><description>&lt;p&gt;Do you know when you open a code file and you want to navigate it but
you have to fire up a whole enviroment just to do it? In clojure,
would be cider, in python it would be elpy and so on&amp;hellip;&lt;/p&gt;
&lt;p&gt;Well, get ready feel free! All you need is a command line and vanilla
emacs!!&lt;/p&gt;
&lt;p&gt;The command is etags. What this command does is look for all the
definitions you made in the files you pass as an argument with the
language and it will create a &lt;code&gt;TAGS&lt;/code&gt; file in the current directory.&lt;/p&gt;</description></item><item><title>My first clojure project on the list!</title><link>https://lucasemmoreira.xyz/posts/financing.html</link><pubDate>Mon, 01 Apr 2024 22:37:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/financing.html</guid><description>&lt;p&gt;Recently, I created a new page on this website. I decided to put all
cool &lt;a href="https://lucasemmoreira.xyz/sidelinks/projects.html"&gt;projects&lt;/a&gt; that I made/find around the web (spoiler alert, for now
it has only my projects hehe).&lt;/p&gt;
&lt;p&gt;I have already put a few, but I noticed that none of them are in
clojure which is my most fluent programming language these days.&lt;/p&gt;
&lt;p&gt;So, let me introduce you to: &lt;a href="https://git.sr.ht/~lucasemmoreira/invoice-translator"&gt;invoice-translator&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;The idea of the project is for you to be a little bit more aware of
how you are spending your money every month. You can use something
like &lt;a href="https://gnucash.org/"&gt;gnucash&lt;/a&gt; for something like this, right? Well, yes but the tricky
part is that you would have to populate the data. Or translate it to
gnu-cash if you will.&lt;/p&gt;</description></item><item><title>Integration test in a good way</title><link>https://lucasemmoreira.xyz/posts/integration.html</link><pubDate>Wed, 24 Jan 2024 13:40:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/integration.html</guid><description>&lt;p&gt;This is another tale of redemption&amp;hellip; I really enjoy minimalistic
solutions and yet, I was not using for integration tests&amp;hellip;&lt;/p&gt;
&lt;p&gt;So, as everything that needs a start, what was the problem? For some
time, I have been thinking about &lt;strong&gt;integration tests&lt;/strong&gt;. What I am
calling &lt;strong&gt;integration&lt;/strong&gt; here means a way to test an API that goes
through other APIs.&lt;/p&gt;
&lt;h2 id="the-non-minimal"&gt;The non minimal&lt;/h2&gt;
&lt;p&gt;I tried a few approaches. One was to create a &amp;ldquo;fake&amp;rdquo; data structure
that would represent the return of one API but that proved to be very
difficult to insert in my coding routine.&lt;/p&gt;</description></item><item><title>Cool projects</title><link>https://lucasemmoreira.xyz/sidelinks/projects.html</link><pubDate>Thu, 18 Jan 2024 11:04:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/sidelinks/projects.html</guid><description>&lt;h2 id="mine"&gt;Mine&lt;/h2&gt;
&lt;p&gt;Here I will list some of my cool personal projects.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/lets-meet"&gt;lets-meet&lt;/a&gt;
small script that helps you start a meeting on OpenBSD&lt;/li&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/bmark"&gt;bmark&lt;/a&gt;
a way to manage your bookmarks with a sanity check&lt;/li&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/pdfminer"&gt;pdfminer&lt;/a&gt;
jar to transform pdf into string&lt;/li&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/hitter"&gt;hitter&lt;/a&gt;
simple tui to check if website is up&lt;/li&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/pomodoro"&gt;pomodoro&lt;/a&gt;
a shell script to run your pomodoro and save your tasks&lt;/li&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/invoice-translator"&gt;invoice-translator&lt;/a&gt;
a clojure project that transform your pdf invoice into data.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://git.sr.ht/~lucasemmoreira/go-croqui"&gt;go-croqui&lt;/a&gt;
helper software to generate random tables in excel&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Emacs? No, emacsclient!</title><link>https://lucasemmoreira.xyz/posts/emacs-client.html</link><pubDate>Tue, 16 Jan 2024 21:01:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/emacs-client.html</guid><description>&lt;p&gt;This is a shoutout for all of you who are tired of waiting emacs to
load on startup or annoyed to feel forced to leave an instance open.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.gnu.org/software/emacs/manual/html_node/emacs/Invoking-emacsclient.html"&gt;emacsclient&lt;/a&gt; can save you from that. All you have to do is to leave an
daemon open. Don&amp;rsquo;t use &lt;code&gt;(server-start)&lt;/code&gt; because that will force you to
have an GUI or terminal open at all time. The solution? A command.&lt;/p&gt;
&lt;p&gt;On your terminal (or &lt;code&gt;.xsession&lt;/code&gt; file):&lt;/p&gt;</description></item><item><title>Finally, a whatsapp tui!</title><link>https://lucasemmoreira.xyz/posts/whatsapp-tui.html</link><pubDate>Thu, 04 Jan 2024 11:49:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/whatsapp-tui.html</guid><description>&lt;p&gt;Ok, finally I have found a (half) solution to the whatsapp web
problem. The problem being the &amp;ldquo;web&amp;rdquo; part of it&amp;hellip; I don&amp;rsquo;t like
having the browser open just to text chat. So for some time I have
been looking for a text user interface solution to this.&lt;/p&gt;
&lt;p&gt;In other words, a less RAM intensive little piece of software. The
important key part for this solution is &lt;a href="https://github.com/42wim/matterbridge"&gt;matterbridge&lt;/a&gt;. It is a
piece of software that connects two chat enviroments that you have.&lt;/p&gt;</description></item><item><title>Erlang? Erlang!</title><link>https://lucasemmoreira.xyz/posts/erlang-erlang.html</link><pubDate>Sat, 09 Dec 2023 20:18:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/erlang-erlang.html</guid><description>&lt;p&gt;Let&amp;rsquo;s dive into some new language programming. Functional of
course&amp;hellip; Erlang!&lt;/p&gt;
&lt;p&gt;In Openbsd, did some tweaks into the installation process&amp;hellip;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;~&amp;gt; doas pkg_add erlang rebar
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;~&amp;gt; ln -s /usr/local/bin/erl&amp;lt;version&amp;gt; ~/bin/erl &lt;span style="color:#75715e"&gt;# my personal bin directory&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;~&amp;gt; ln -s /usr/local/bin/rebar&amp;lt;version&amp;gt; ~/bin/rebar
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It was not so obvious for me but it seems that &lt;a href="http://rebar3.org/docs/"&gt;rebar&lt;/a&gt; is to erlang like
&lt;a href="https://leiningen.org/"&gt;leiningen&lt;/a&gt; is to clojure. And as such, you can initialize your project
quite easily&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;rebar new umbrella prj-name
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="also-your-first-time"&gt;Also your first time?&lt;/h2&gt;
&lt;h3 id="a-bit-more-on-rebar"&gt;A bit more on rebar&lt;/h3&gt;
&lt;p&gt;You can see all templates and understand them better with&lt;/p&gt;</description></item><item><title>tmux colors</title><link>https://lucasemmoreira.xyz/posts/tmux-colors.html</link><pubDate>Thu, 07 Dec 2023 19:44:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/tmux-colors.html</guid><description>&lt;p&gt;I am starting to explore &lt;code&gt;tmux&lt;/code&gt; and &lt;code&gt;emacsclient -t&lt;/code&gt;. But it is
annoying that emacs gui and in the tmux terminal was being colored
differently. The solution?&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;set -g default-terminal &lt;span style="color:#e6db74"&gt;&amp;#34;tmux-256color&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>NEOmutt with html glasses</title><link>https://lucasemmoreira.xyz/posts/neomutt-html.html</link><pubDate>Tue, 05 Dec 2023 10:17:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/neomutt-html.html</guid><description>&lt;p&gt;In &lt;a href="https://lucasemmoreira.xyz/posts/mutt-html-email.html"&gt;this&lt;/a&gt; post I created a macro to open those annoying html e-mails
with your favorite browser. Well, with neomutt I did not manage it to
make it work so I went on a different approach. Arguably, a more
elegant.&lt;/p&gt;
&lt;p&gt;So, (neo)mutt has the mailcap file which is a file that tells
(neo)mutt how to open a file tipe from it.&lt;/p&gt;
&lt;p&gt;So if I write in the mailcap file this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;text/html; w3m -v -F -T text/html -dump %s; copiousoutput
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;it tells (neo)mutt that any &lt;code&gt;text/html&lt;/code&gt; file should be opened with
&lt;code&gt;w3m&lt;/code&gt; with these arguments and &lt;code&gt;copiousoutput&lt;/code&gt; will tell to open in
the internal pager (this can set to be an external pager, however my
default is internal).&lt;/p&gt;</description></item><item><title>neomutt &lt;3 notmuch</title><link>https://lucasemmoreira.xyz/posts/neomutt-notmuch.html</link><pubDate>Sat, 02 Dec 2023 08:48:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/neomutt-notmuch.html</guid><description>&lt;p&gt;This is a tale of stubbornness. I&amp;rsquo;ve heard about notmuch, quite sometimes and yet, I did not use it. I was bit confused reading the docs but then I read this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Notmuch does not modify or delete your mails. This is one of the main design principles of Notmuch.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That gave me some nerves to try this on! And it is worth it!&lt;/p&gt;
&lt;p&gt;To put it simply, notmuch is a indexer of all your emails and make search annoyingly easy. Once you go with the basics&lt;/p&gt;</description></item><item><title>Zoom vs OpenBSD</title><link>https://lucasemmoreira.xyz/posts/zoom-vs-openbsd.html</link><pubDate>Sun, 08 Oct 2023 11:46:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/zoom-vs-openbsd.html</guid><description>&lt;p&gt;I do not mind saying it again, OpenBSD is pretty cool, however it does has its quirks. Recently, I had a fairly important meeting in Zoom in which I would make an presentation and I did not make it because I could not enter the room. All it appeared to me was and enternal &amp;ldquo;Joining&amp;rdquo; and the endless MS circle spinning.&lt;/p&gt;
&lt;p&gt;So, let&amp;rsquo;s fix it shall we?&lt;/p&gt;
&lt;p&gt;Apparently, in order to make Zoom work, one must have &lt;a href="https://en.wikipedia.org/wiki/WebAssembly"&gt;wasm&lt;/a&gt; enabled in your system. By the way, this is what I would call a bloated piece of software&amp;hellip; it &lt;strong&gt;only&lt;/strong&gt; is a videoconference software&amp;hellip; geez&amp;hellip;&lt;/p&gt;</description></item><item><title>Data science with clojure</title><link>https://lucasemmoreira.xyz/posts/data-science-clojure.html</link><pubDate>Wed, 16 Aug 2023 18:27:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/data-science-clojure.html</guid><description>&lt;p&gt;Hypothetical reader, you must be asking yourself:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Why not use python? There are a gazillion libraries and methods already prepared to go! So&amp;hellip; why?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;I will tell you one reason in this post! One small disclaimer though, I will not discuss performance here, only convenience ;]&lt;/p&gt;
&lt;p&gt;Actually, the point I will make is theoretically valid for any lisp dialect. But I have found a pretty nice project with a solid &lt;a href="https://github.com/scicloj/scicloj.ml"&gt;library&lt;/a&gt; in clojure, so here we go.&lt;/p&gt;</description></item><item><title>Buy me a coffee!</title><link>https://lucasemmoreira.xyz/sidelinks/buy-me-a-coffee.html</link><pubDate>Tue, 15 Aug 2023 12:50:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/sidelinks/buy-me-a-coffee.html</guid><description>&lt;h2 id="pix--brl"&gt;Pix (BRL)&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-nil" data-lang="nil"&gt;41ad8aaa-792c-4ae6-a45e-dc35607b1aea
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="monero"&gt;Monero&lt;/h2&gt;
&lt;figure&gt;&lt;img src="./i/monerowebsite.jpeg"&gt;
&lt;/figure&gt;

&lt;pre tabindex="0"&gt;&lt;code class="language-nil" data-lang="nil"&gt;83d6gFo4P3kRPAQbkNsUiyVXF6SgLutGQ1kH4DXdWPYT7hzSSSGkDPNfQmTx6gijjcBRqwAfzzNz4VrcMbNjgYQ5Ao1DhP8
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Resume</title><link>https://lucasemmoreira.xyz/sidelinks/resume.html</link><pubDate>Mon, 14 Aug 2023 22:07:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/sidelinks/resume.html</guid><description>&lt;h2 id="who-am-i"&gt;Who am I?&lt;/h2&gt;
&lt;p&gt;I graduated in applied mathematics into computer science with emphasis in optimization. While studying optimization, I spent most of the time with operational research and mixed integer optimization. I really like functional programming and try my best follow its best practices.&lt;/p&gt;
&lt;h2 id="skills"&gt;Skills&lt;/h2&gt;
&lt;h3 id="operational-system"&gt;Operational system&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;I use regularly a macbook.&lt;/li&gt;
&lt;li&gt;I use regularly OpenBSD.&lt;/li&gt;
&lt;li&gt;I used for quite some time Arch Linux.&lt;/li&gt;
&lt;li&gt;I have some experience with Ubuntu.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="programming-languages"&gt;Programming languages&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;I use clojure every day.&lt;/li&gt;
&lt;li&gt;I feel comfortable coding in python.&lt;/li&gt;
&lt;li&gt;I have toyed with (and enjoyed) golang.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="math"&gt;Math&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;I have studied in depth linear and integer optimization.&lt;/li&gt;
&lt;li&gt;I feel comfortable working with non linear optimization problems.&lt;/li&gt;
&lt;li&gt;I have some experience with data science projects. Mostly with classification problems.&lt;/li&gt;
&lt;li&gt;I have some knowledge in statistic.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="hardware"&gt;Hardware&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;I like to disassamble computers to fix or change components, but I don&amp;rsquo;t do it very often.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="working-experience"&gt;Working Experience&lt;/h2&gt;
&lt;h3 id="dataico"&gt;Dataico&lt;/h3&gt;
&lt;p&gt;2024-05 - now&lt;/p&gt;</description></item><item><title>Fix incanters core.view in dwm</title><link>https://lucasemmoreira.xyz/posts/incanter-dwm.html</link><pubDate>Sun, 11 Jun 2023 13:34:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/incanter-dwm.html</guid><description>&lt;p&gt;Now, let&amp;rsquo;s face it. dwm is awesome. But sometimes, it needs adjustments. If you are using &lt;a href="https://github.com/incanter/incanter"&gt;incanter&lt;/a&gt; and cannot see a plot with core.view function in a &lt;a href="https://cider.mx/"&gt;cider&lt;/a&gt; enviroment, all you have to do is export this variable into your enviroment before firing up cider.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;export _JAVA_AWT_WM_NONREPARENTING&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Uploading in firefox vs OpenBSD</title><link>https://lucasemmoreira.xyz/posts/upload-files-firefox.html</link><pubDate>Wed, 07 Jun 2023 16:20:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/upload-files-firefox.html</guid><description>&lt;p&gt;I had some issues adapting to some security features in OpenBSD, for example, to have videoconferences (&lt;a href="https://lucasemmoreira.xyz/posts/meetings-openbsd.html"&gt;let&amp;rsquo;s meet&lt;/a&gt;). Another interesting problem I had was that I could not upload files from firefox.&lt;/p&gt;
&lt;p&gt;To fix that, all I had to do was enter on this &amp;ldquo;page&amp;rdquo;: &lt;code&gt;about:config&lt;/code&gt; and change this setting to the specified path that I wanted &lt;code&gt;dom.input.fallbackUploadDir&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;There you go, now you can upload files from this directory on your firefox.&lt;/p&gt;</description></item><item><title>Mutt's glasses for html email</title><link>https://lucasemmoreira.xyz/posts/mutt-html-email.html</link><pubDate>Mon, 29 May 2023 12:19:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/mutt-html-email.html</guid><description>&lt;p&gt;Mutt is awesome but html email not so much&amp;hellip; well, let me give you a possible solution: create a hotkey (F) to open html email in your favorite browser.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;macro attach F &lt;span style="color:#ae81ff"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt; &amp;lt;enter-command&amp;gt;unset wait_key&amp;lt;enter&amp;gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt; &amp;lt;shell-escape&amp;gt;rm -f /tmp/mutt-attach&amp;lt;enter&amp;gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt; &amp;lt;save-entry&amp;gt;&amp;lt;kill-line&amp;gt;/tmp/mutt-attach&amp;lt;enter&amp;gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt; &amp;lt;shell-escape&amp;gt;&lt;/span&gt;$BROWSER&lt;span style="color:#e6db74"&gt; /tmp/mutt-attach &amp;amp;&amp;lt;enter&amp;gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#e6db74"&gt; &amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Bookmark unix-style!</title><link>https://lucasemmoreira.xyz/posts/bookmark.html</link><pubDate>Thu, 11 May 2023 19:23:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/bookmark.html</guid><description>&lt;p&gt;Hypothetical user, do you use any bookmark system? What? Only on firefox? Why am I calling it &amp;ldquo;system&amp;rdquo;?&lt;/p&gt;
&lt;p&gt;Well, you don&amp;rsquo;t need to use bookmark only for webpages and restricted to the browser. A little bit of rofi and shell script, and there you go: &lt;a href="https://git.sr.ht/~lucasemmoreira/bmark"&gt;bmark&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>pomodoro is now its own thing!</title><link>https://lucasemmoreira.xyz/posts/pomodoro-2.html</link><pubDate>Tue, 09 May 2023 19:00:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/pomodoro-2.html</guid><description>&lt;p&gt;I started using my pomodoro script again, and made few improvements. Also, I separated in its own &lt;a href="https://git.sr.ht/~lucasemmoreira/pomodoro"&gt;repository&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Let the charge come back, thinkpad…</title><link>https://lucasemmoreira.xyz/posts/change-battery-thinkpad.html</link><pubDate>Tue, 25 Apr 2023 22:10:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/change-battery-thinkpad.html</guid><description>&lt;p&gt;So, I have a thinkpad x270 which is pretty good. However, for the past few months, I was having a lot of trouble to charge it. There was a single position and mood for it work charge normally.&lt;/p&gt;
&lt;p&gt;Well, no more! Let&amp;rsquo;s face the challenge of fixing it by myself. First things first, diagnosis:&lt;/p&gt;
&lt;p&gt;Since the computer &lt;strong&gt;was&lt;/strong&gt; charging, there was a specific position to work and, probably most important, the charger was loose when connected&amp;hellip; There you go, probably there is a problem with the dc jack. Let&amp;rsquo;s get a new one.&lt;/p&gt;</description></item><item><title>Extract infos from a pdf!</title><link>https://lucasemmoreira.xyz/posts/extract-pdf.html</link><pubDate>Thu, 23 Feb 2023 10:58:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/extract-pdf.html</guid><description>&lt;p&gt;Hypothetical reader, I bet you always wanted to extract the text from a pdf file. Sure there are a few big tech options but let me appeal to your minimalistic side: &lt;a href="https://git.sr.ht/~lucasemmoreira/pdfminer"&gt;pdfminer&lt;/a&gt;! This is a simple jar that extracts the text from the pdf into a huge string.&lt;/p&gt;
&lt;p&gt;What is this good for you might ask. Well, you can extract the code payment from an invoice. How? There you go: &lt;a href="https://git.sr.ht/~lucasemmoreira/invoice"&gt;invoice&lt;/a&gt; =]&lt;/p&gt;</description></item><item><title>Meetings in openbsd</title><link>https://lucasemmoreira.xyz/posts/meetings-openbsd.html</link><pubDate>Tue, 21 Feb 2023 13:15:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/meetings-openbsd.html</guid><description>&lt;p&gt;Ok&amp;hellip; I have been using a little bit more OpenBSD, and I was having some issues to use it during calls. After some research and experimentation, I have thought a way to make it happen! So it was born &lt;a href="https://git.sr.ht/~lucasemmoreira/lets-meet"&gt;lets-meet&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;It is simply a toggle to enable/disable microphone and camera. Enjoy!&lt;/p&gt;</description></item><item><title>Searching for packages in openbsd</title><link>https://lucasemmoreira.xyz/posts/search-package-openbsd.html</link><pubDate>Thu, 05 Jan 2023 10:58:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/search-package-openbsd.html</guid><description>&lt;p&gt;Finally! I am using openbsd! It is quite interesting but somethings are different. I will need to post somethings to help me remember =]&lt;/p&gt;
&lt;p&gt;Starting by package search:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pkg_info -aPqQ package | sort
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;where package is what you are looking for. Thanks for the tip &lt;a href="https://umgeher.org/"&gt;Umgeher&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>All praise stash</title><link>https://lucasemmoreira.xyz/posts/all-praise-stash.html</link><pubDate>Mon, 07 Nov 2022 10:57:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/all-praise-stash.html</guid><description>&lt;p&gt;Today I figured a pretty cool git command. Up to this day, sometimes I get a bit disorganized with the branches, and &lt;code&gt;git stash&lt;/code&gt; came to save the day (or at least some working stamina).&lt;/p&gt;
&lt;p&gt;Here is the procedure:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Oh no! I forgot to change the branch before making changes&amp;rdquo;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git stash save &lt;span style="color:#e6db74"&gt;&amp;#34;name of the mistake&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now, moving to the correct branch&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git checkout the-correct-branch
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Recover the modifications&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git stash pop
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And, a nice command:&lt;/p&gt;</description></item><item><title>Remap your keyboard!</title><link>https://lucasemmoreira.xyz/posts/remapping.html</link><pubDate>Sat, 05 Nov 2022 11:08:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/remapping.html</guid><description>&lt;p&gt;Why? Well, because as an emacs user, you are probably tired of your pinky trip to ctrl in order to do the &amp;ldquo;chords&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;I would assume, hypothetical reader, that you have already tried changing caps for ctrl. Well that&amp;rsquo;s nice, however, let me introduce you &lt;strong&gt;the&lt;/strong&gt; better idea (giving credit where is due, thanks for this &lt;a href="https://umgeher.org/"&gt;Umgeher&lt;/a&gt;!).&lt;/p&gt;
&lt;p&gt;It is a lot more comfortable and an easier transition to change &lt;code&gt;shift-&amp;gt;ctrl&lt;/code&gt; and &lt;code&gt;caps-&amp;gt;shift&lt;/code&gt;. The muscle memory for shift stays the same and ctrl is in a &lt;strong&gt;much&lt;/strong&gt; more comfortable position. Here is &lt;code&gt;xmodmap&lt;/code&gt; script to arrange that:&lt;/p&gt;</description></item><item><title>Patching your way to contribution!</title><link>https://lucasemmoreira.xyz/posts/patching.html</link><pubDate>Wed, 26 Oct 2022 11:39:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/patching.html</guid><description>&lt;p&gt;Hypothetical reader, I know what you are thinking. You have some interesting projects, but I am not sure to engage on those because on &lt;a href="https://git.sr.ht/"&gt;source hut&lt;/a&gt; there is no way to make a pull request (at least, I have never found to the day of this writing).&lt;/p&gt;
&lt;p&gt;Well, this make a nice oportunity to learn about &lt;code&gt;patch&lt;/code&gt; in git! So, the magical command I use&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git format-patch -x
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;where &lt;code&gt;x&lt;/code&gt; is the number of commits that I did or&lt;/p&gt;</description></item><item><title>Managing dependencies in clojure</title><link>https://lucasemmoreira.xyz/posts/dependencies-clojure.html</link><pubDate>Mon, 03 Oct 2022 13:04:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/dependencies-clojure.html</guid><description>&lt;p&gt;Today I was having a hard time to load a nice lib for managing excel files (&lt;a href="https://github.com/mjul/docjure"&gt;https://github.com/mjul/docjure&lt;/a&gt;). I was having some weird problems at loading them in &lt;a href="https://github.com/clojure-emacs/cider"&gt;cider&lt;/a&gt; (btw, if you don&amp;rsquo;t use it, start now!).&lt;/p&gt;
&lt;p&gt;I gave some search into it, and &lt;a href="https://codeberg.org/leiningen/leiningen"&gt;lein&lt;/a&gt; has a nice feature to handle dependencies. The command that saved me this time was:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;lein deps :tree
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It gave me a quick report on what was strange with the dependencies. Some examples:&lt;/p&gt;</description></item><item><title>Going Hugo for framework!</title><link>https://lucasemmoreira.xyz/posts/going-hugo-for-framework.html</link><pubDate>Mon, 13 Jun 2022 09:06:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/going-hugo-for-framework.html</guid><description>&lt;p&gt;So, the time has come! I also started using &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; for my blog framework. Previously, I was using &lt;a href="https://github.com/bastibe/org-static-blog"&gt;org-static-blog&lt;/a&gt; for my framework and honestly I was pretty happy about it.&lt;/p&gt;
&lt;p&gt;But things changed when I wanted to make a second website. &lt;code&gt;org-static-blog&lt;/code&gt; is pretty neat to work inside emacs, however to use on a second project there is a lot of setup to do. Facing that problem and knowing about &lt;code&gt;Hugo&lt;/code&gt; and &lt;a href="https://ox-hugo.scripter.co/"&gt;ox-hugo,&lt;/a&gt; it was a no brainer.&lt;/p&gt;</description></item><item><title>Divide and Conquer to optimality!</title><link>https://lucasemmoreira.xyz/posts/divide-and-conquer-to-optimality.html</link><pubDate>Thu, 17 Mar 2022 17:12:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/divide-and-conquer-to-optimality.html</guid><description>&lt;p&gt;This week I made a pretty cool achievement for the paper on the wall that says that I am an applied mathematician. This week, I developed a branch and bound to solve a mixed integer linear problem.&lt;/p&gt;
&lt;h2 id="yeah-dot-dot-dot-so"&gt;Yeah&amp;hellip; so?&lt;/h2&gt;
&lt;p&gt;Well, hipothetical reader, if you asked me that, I would say that you are not familiar with the power of &lt;a href="https://en.wikipedia.org/wiki/Integer_programming"&gt;integer programming&lt;/a&gt;. This kind of technique is pretty useful in the industry, in an area called &lt;a href="https://en.wikipedia.org/wiki/Operations_research"&gt;operational research&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>A first (not bad) emacs experience</title><link>https://lucasemmoreira.xyz/posts/a-first-emacs-xp.html</link><pubDate>Fri, 04 Mar 2022 14:42:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/a-first-emacs-xp.html</guid><description>&lt;p&gt;Well, not for me. I have been using &lt;a href="https://www.gnu.org/software/emacs/"&gt;emacs&lt;/a&gt; for almost a decade now and I have used bad configs and good ones. In the past few years that I am feeling more comfortable with lisp, I have been enjoying to tweak the configuration more and more.&lt;/p&gt;
&lt;p&gt;My girlfriend has recently come to the good side of workplace and could drop Windows and its tools. In this new world, she tried to go into the Linux and &lt;a href="https://www.gnu.org/software/emacs/"&gt;emacs&lt;/a&gt; was something that I was more than eager to show her!&lt;/p&gt;</description></item><item><title>Artix vs NVIDIA</title><link>https://lucasemmoreira.xyz/posts/artix-vs-nvidia.html</link><pubDate>Mon, 14 Feb 2022 00:00:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/artix-vs-nvidia.html</guid><description>&lt;h2 id="what-happened"&gt;What happened?&lt;/h2&gt;
&lt;p&gt;Today, when I turned my computer on to log in, &lt;code&gt;X&lt;/code&gt; complained that could not connect&amp;hellip;&lt;/p&gt;
&lt;h2 id="why-did-that-happen"&gt;Why did that happen?&lt;/h2&gt;
&lt;p&gt;On friday, I tried to solve a glitching issue on brave, and I found online that someone solved by changing some settings on the nvidia. This genius that speaks to you, hypothetical reader, tried to download nvidia-settings to find out that the solution was elsewhere. All I had to do was to disable hardware accelaration on &lt;code&gt;brave://settings/system&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>You don't need browser to check if a website is up!</title><link>https://lucasemmoreira.xyz/posts/you-dont-need-browser-to-check-if-web-is-up.html</link><pubDate>Mon, 07 Feb 2022 11:12:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/you-dont-need-browser-to-check-if-web-is-up.html</guid><description>&lt;p&gt;Well, the title is quite an obvious statement&amp;hellip; You can use softwares such as &lt;a href="https://github.com/pashky/restclient.el"&gt;restclient&lt;/a&gt; from emacs, &lt;a href="https://en.wikipedia.org/wiki/CURL"&gt;curl&lt;/a&gt; and probably a gazillion others.&lt;/p&gt;
&lt;p&gt;However, there is not another one made in janet, authored by me, made in the last month! I can guarantee it!&lt;/p&gt;
&lt;h2 id="the-goal"&gt;The Goal&lt;/h2&gt;
&lt;p&gt;Well, my goal here was to make a simple software that did one thing and well. That one thing is to check multiple urls if they are up and the status they would return.&lt;/p&gt;</description></item><item><title>Pomodoro with shell script</title><link>https://lucasemmoreira.xyz/posts/pomodoro-with-shell-script.html</link><pubDate>Wed, 02 Feb 2022 19:13:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/pomodoro-with-shell-script.html</guid><description>&lt;p&gt;By now, you must be asking yourself: &amp;ldquo;Oh my god, all you know is janet/functional programming?!&amp;rdquo;, to which my answer would be a resounding &amp;ldquo;Yes!&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;However, today I decided to step a little bit outside my comfort zone and make a little script to help me use &lt;a href="https://en.wikipedia.org/wiki/Pomodoro_Technique"&gt;pomodoro&lt;/a&gt; for productivity.&lt;/p&gt;
&lt;p&gt;Like you, hypothetical reader, I use &lt;a href="https://dwm.suckless.org/"&gt;dwm&lt;/a&gt; with &lt;a href="https://tools.suckless.org/dmenu/"&gt;dmenu&lt;/a&gt;. With these you can easily create a pomodoro executable to work for you. I say easily because I have no experience with shell script and I made &lt;a href="https://git.sr.ht/~lucasemmoreira/shell-scripts/tree/master/item/src/pomodoro"&gt;it&lt;/a&gt; happen.&lt;/p&gt;</description></item><item><title>Web view in mutt</title><link>https://lucasemmoreira.xyz/posts/web-view-in-mutt.html</link><pubDate>Thu, 27 Jan 2022 08:02:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/web-view-in-mutt.html</guid><description>&lt;p&gt;I know for a fact that you, hypothetical reader, are a mutt user. And as such, you know how frustrating html emails can be. Recently I was having this particular problem to see Jira emails.&lt;/p&gt;
&lt;p&gt;Behold the solution!&lt;/p&gt;
&lt;p&gt;In the mailcap file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;text/html; w3m -v -F -T text/html -dump %s; copiousoutput
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Moving averages beatifully</title><link>https://lucasemmoreira.xyz/posts/moving-averages-beautifully.html</link><pubDate>Thu, 20 Jan 2022 11:10:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/moving-averages-beautifully.html</guid><description>&lt;p&gt;So this is another post on the &lt;a href="https://janet-lang.org/"&gt;janet&lt;/a&gt; journey. My goal here was to create a simple moving average function in janet (maybe just as a functional programming lover).&lt;/p&gt;
&lt;h2 id="the-code"&gt;The code&lt;/h2&gt;
&lt;p&gt;I created a repo named &lt;a href="https://git.sr.ht/~lucasemmoreira/numja"&gt;numja&lt;/a&gt; that I intend to put all mathy stuff there. And moving average fits that category.&lt;/p&gt;
&lt;p&gt;The second step was to create a small script that would run with the new &amp;ldquo;lib&amp;rdquo;.&lt;/p&gt;
&lt;h2 id="the-result"&gt;The result&lt;/h2&gt;
&lt;p&gt;Simple as the proposition is, simple the code and simple the result. I used the &amp;ldquo;lib&amp;rdquo;, and plotted with &lt;a href="http://www.gnuplot.info/"&gt;gnuplot&lt;/a&gt; and voila!&lt;/p&gt;</description></item><item><title>New year, new goals, more posting!</title><link>https://lucasemmoreira.xyz/posts/new-year-new-goals-more-posting.html</link><pubDate>Wed, 12 Jan 2022 00:00:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/new-year-new-goals-more-posting.html</guid><description>&lt;p&gt;A new year has come and hopefully it won&amp;rsquo;t be 2020 too again (although it is).&lt;/p&gt;
&lt;p&gt;My plan is to post more often from now on, hence the monero qr code =]&lt;/p&gt;</description></item><item><title>Janet? Janet!</title><link>https://lucasemmoreira.xyz/posts/janet-janet.html</link><pubDate>Thu, 21 Oct 2021 00:01:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/janet-janet.html</guid><description>&lt;p&gt;Do you like C but changed because you were tired of the low productivity, the annoying syntax and - oh my god! - Segmentation fault? Holy shit! Me too!&lt;/p&gt;
&lt;p&gt;But then, a couple of years ago, &lt;a href="http://umgeher.org"&gt;a friend of mine&lt;/a&gt; showed me &lt;a href="https://janet-lang.org/index.html"&gt;Janet&lt;/a&gt;. And I was from the get go hooked! It took me a while to create something in it, now I have something to show.&lt;/p&gt;
&lt;h2 id="why-janet"&gt;Why Janet?&lt;/h2&gt;
&lt;p&gt;Come on&amp;hellip; &lt;a href="https://janet-lang.org/index.html"&gt;google it&lt;/a&gt;&amp;hellip;&lt;/p&gt;</description></item><item><title>Hello world (again)</title><link>https://lucasemmoreira.xyz/posts/hello-world-again.html</link><pubDate>Sat, 16 Oct 2021 00:01:00 -0300</pubDate><guid>https://lucasemmoreira.xyz/posts/hello-world-again.html</guid><description>&lt;p&gt;A new try with a different css&amp;hellip;&lt;/p&gt;</description></item><item><title>Archives</title><link>https://lucasemmoreira.xyz/archives.html</link><pubDate>Mon, 25 Jan 2021 01:54:25 +0000</pubDate><guid>https://lucasemmoreira.xyz/archives.html</guid><description/></item><item><title>Monero</title><link>https://lucasemmoreira.xyz/sidelinks/sidelinks.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lucasemmoreira.xyz/sidelinks/sidelinks.html</guid><description>&lt;p&gt;&lt;img src="./i/monerowebsite.jpeg" alt=""&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-nil" data-lang="nil"&gt;83d6gFo4P3kRPAQbkNsUiyVXF6SgLutGQ1kH4DXdWPYT7hzSSSGkDPNfQmTx6gijjcBRqwAfzzNz4VrcMbNjgYQ5Ao1DhP8
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>