<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Diogo Oliveira on Medium]]></title>
        <description><![CDATA[Stories by Diogo Oliveira on Medium]]></description>
        <link>https://medium.com/@fdiogolparacasa?source=rss-4b23cb5c1b5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EcgKcQgZ2ktYAUBg</url>
            <title>Stories by Diogo Oliveira on Medium</title>
            <link>https://medium.com/@fdiogolparacasa?source=rss-4b23cb5c1b5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:31:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fdiogolparacasa/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to leverage AI Agents to fight burocracy (as a non-coder)]]></title>
            <link>https://medium.com/@fdiogolparacasa/how-to-leverage-ai-agents-to-be-more-efficient-in-solving-problems-as-a-non-coder-7528b0cd8c89?source=rss-4b23cb5c1b5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7528b0cd8c89</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[productivity-hacks]]></category>
            <category><![CDATA[open-code]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Diogo Oliveira]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 19:41:00 GMT</pubDate>
            <atom:updated>2026-03-06T22:04:18.391Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How I Used AI Agents to Fix My University Report’s Bibliography</em></p><p>I am not a coder — I work as a math teacher, but a tech-savvy one. I have no problem leveraging tools to work faster and better, and that includes coding and AI agents. I have been doing this for almost a year now, and the way I integrate these tools into my workflow has evolved significantly. I have been able to solve problems that I couldn’t solve before, or that would have taken me much longer to work through. This article is about one of those problems, and how I used agents to solve it. (the resulting repo is here: <a href="https://github.com/diogooliveira-math/apa7-checker/tree/main">diogooliveira-math/apa7-checker</a>)</p><p>Everything started when my university internship report was rejected by the jury panel. Not because of the content. Not because of the research. Because of the references. The jury flagged four violations of the APA 7th‑edition citation style. And this comes almost a year after finishing my master’s… while I’m already working. I don’t have the time (or the motivation) to read the entire APA manual and manually cross‑check all 65 of my references. (Yes, I know — I should have used Mendeley.) I needed a systematic way to fix this.</p><p>I have been growing my agentic skills using OpenCode for a few months now, and I thought this would be a perfect opportunity to put them to the test. What follows is an honest account of six sessions — what I asked, how the agents responded, where things broke, and what eventually worked.</p><h3><strong>What Is OpenCode and Why Agents?</strong></h3><p>OpenCode is an AI coding agent that runs in your terminal. You describe a problem in plain language and it uses tools — reading files, running code, browsing documentation, calling other agents — to solve it. It doesn’t just answer questions; it acts.</p><p>The part I want to focus on is the <strong>agent ecosystem</strong>. OpenCode lets you define custom agents as markdown files in <em>.opencode/agents/</em>. Each agent has a name, a description, and a system prompt that shapes how it behaves. You can call them from within a session, and agents can call other agents as subagents. This layered structure is what makes it possible to delegate complex work rather than just ask questions.</p><p>Over the past year I have developed a lot of agents — some more effective than others — but the ones I have found most useful are those that can leverage other agents: the <em>insights_expert</em>, for example, can draw on the <em>**_researcher</em>, <em>**_interventionist</em>, and <em>**_expert </em>subagents, while the <em>jq_expert</em> uses the jq bash tool to extract and transform data in a structured way. This ecosystem of agents lets me solve problems more efficiently, delegating specific tasks to specialized agents while I focus on directing the overall orchestration.</p><h3><strong>Session 1: Delegating the First Task</strong></h3><p>The first thing I needed was a way to turn a raw PDF into a structured, usable guide. I had an agent for exactly that kind of orchestration problem: <em>insights_expert</em>.</p><p><em>insights_expert</em> is an agent I built specifically to coordinate other subagents. Its job is to look at a problem, select the best subagent for each sub-task, and orchestrate the work end to end. Rather than acting as an executor, it acts as a planner — it reads the request, surveys what tools and agents are available, and delegates accordingly.</p><p>Before giving it anything to do, here is what that agent looks like under the hood (This is just the first lines of the system prompt, the real one is a bit bigger then this):</p><pre>- -<br>description: Agent specialize in leveraging subagent **_researcher **_interventionist and **_expert, and other workers to solve various problems.<br>mode: all<br>temperature: 0.1<br>model: github-copilot/gpt-5-mini<br> - -<br>You are a specialized agent that will leverage the subagents ~/.opencode/agents/**_researcher,<br>~/.opencode/agents/**_interventionist, and ~/.opencode/agents/**_expert to solve problems<br>effectively and the jq_expert to ensure planification, organization, orquestration and<br>validation. Your primary function is to assist users in using the subagents to gain information<br>important to give critical insights to solve problems.<br># First step: Goal<br>Understand the objective that the user prompt it. Create a folder inside<br>`~/outputs/insight_artifacts` that represents the topic of the main problem.</pre><p>With that context in mind, here is the prompt I gave it:</p><p>&gt; <em>Quero que uses file:///C:/Users/diogo/Downloads/Manual APA 7ª edição… (chama o agent do pdf_researcher) e me faças um guia completo de como citar trabalhos usando o APA!</em></p><p>&gt; <em>Translation: “I want you to use the Manual APA 7th edition PDF… (call the pdf_researcher agent) and make me a complete guide on how to cite works using APA!”</em></p><p>I didn’t say “read this PDF and summarize it.” I said: call the <em>pdf_researcher</em> agent and build a complete guide. The distinction matters. I was directing orchestration, not just asking for output.</p><p>When it ran, <em>insights_expert</em> began by checking what agents were available:</p><pre>pdf_researcher - leverages PDF command-line tools to parse and extract data<br>jq_expert - parses and manipulates JSON data with jq<br>internet_researcher - accurate research using DuckDuckGo with cross-validation<br>typst_interventionist - targeted edits and compilation for Typst documents<br>backend_dev_interventionist - FastAPI/MCP backend work<br>insights_expert - orchestrates researchers, interventionists, and experts<br>...</pre><p>This list wasn’t typed by hand or hard-coded — it was injected into the agent’s context automatically using OpenCode’s `!command` syntax. Prefixing any shell command with `!` in your prompt causes OpenCode to run it and paste the output directly into the message before it is sent to the model. The `insights_expert` agent uses this at the start of every session:</p><pre>!for f in ~/.opencode/agents/*_researcher.md \<br>  ~/.opencode/agents/*_interventionist.md \<br>  ~/.opencode/agents/*_expert.md; do<br>  echo &quot;=== $f ===&quot;<br>  grep -Pzo &#39;(?s)(?&lt;= - -\ndescription:)(.*?)(?=\n - -)&#39; &quot;$f&quot;<br>  echo -e &quot;\n&quot;<br>done</pre><p>This loops over every researcher, interventionist, and expert agent file, extracts just the `description:` field from each frontmatter block, and injects the whole result into the agent’s context. So when `insights_expert` says “I can see the following agents available,” it literally read them from disk in that moment. The agent always has an accurate, up-to-date picture of its own ecosystem without any manual maintenance.</p><p><em>insights_expert</em> chose <em>pdf_researcher</em> and <em>jq_expert</em> for this task. What made <em>jq_expert</em> particularly valuable here was the role it played before any PDF was even opened. Rather than letting the extraction run loose and produce unstructured output, <em>jq_expert</em> first designed a JSON schema for the problem — a structured artifact with defined fields for citation types, practical examples, a subagent execution plan, validation criteria, and output paths. Only then did <em>pdf_researcher</em> run <em>pdftotext</em> on the manual and begin filling those fields with the extracted data, producing `extracted.json` with 12 structured sections.</p><p>This ordering matters. The schema was the contract. Every subsequent agent that touched this data — including the <em>apa7_checker</em> we would build later — could rely on a predictable structure rather than guessing at freeform text. The <em>jq_expert</em> also embedded a validation block in the schema itself: a human-readable description of what “done” looks like, so that any future invocation of <em>jq_expert</em> could re-read the artifact and verify that the output actually met the original goal. Unstructured data in, structured and validated knowledge out — that is the specific value <em>jq_expert</em> adds to the ecosystem.</p><p>What I try to do with agents like <em>jq_expert </em>or <em>pdf_researcher</em> is make them experts at using bash commands. With the `!command` syntax it is very easy to inject the output of, say, `man jq` directly into the session, giving the agent fresh context on how the command works and how it can be applied to the problem at hand. This is a powerful pattern: it lets me tap into the vast amount of knowledge already available in documentation and manuals without having to read them myself. I can ask the agent to read them and act — typically to extract information and produce artifacts that I can reuse later. This is how I leverage agents to extend my own capabilities. I don’t need to know how to use <em>jq</em> myself; I just need to know that <em>jq_expert</em> can read the manual and apply it to the data in a structured way. That is the essence of delegation with agents — you delegate not just tasks, but also the learning and application of tools that you may not be familiar with.</p><h3><strong>Session 2: Asking for a Tool, Not Just an Answer</strong></h3><p>With the APA manual extracted, the agent did a quick manual analysis of 20 references and correctly identified violations per entry. That was useful, but not the goal. The goal was automation — something I could run on all 65 entries and re-run after every correction.</p><p>My prompt:</p><p>&gt; <em>I want you to create methods that enable future agents to get the nuances about the APA references in @final.docx</em></p><p>Notice the framing: “methods that enable future agents.” I wasn’t asking for a one-time analysis. I was asking for infrastructure — a reusable module that the <em>apa7_checker</em> agent (which we would build next) could call.</p><p>The `@filename` syntax here is worth explaining. In OpenCode, typing `@final.docx` in a prompt includes the file’s contents directly in the message sent to the model — a way of saying “here is the document I am referring to” without copying and pasting anything manually. (In this case it didn’t work cleanly because `.docx` files are binary, which itself became part of the debugging story.)</p><p>The result was `arquivo/apa7_reference_utils.py`, a Python module that grew across several sessions. By the final version it included:</p><p>- `extract_docx_refs_with_italic()` — extract paragraphs with italic span metadata</p><p>- `find_references_section()` — locate the references heading with broad regex</p><p>- `split_references()` — split the block into individual entries</p><p>- `classify_reference_type()` — distinguish journal articles, books, theses, websites, etc.</p><p>- `validate_by_type()` — type-specific APA 7 checks</p><p>- `validate_italic_formatting()` — check italic rules per entry type</p><p>- `check_alphabetical_order()` — sort by surname/year, flag out-of-order entries</p><p>- `generate_word_instructions()` — produce a plain corrected-order list for use in Word</p><p>- `generate_html_report()` — colour-coded HTML output with amber badges for flagged entries</p><p>After the module was built, I asked for the agent definition:</p><p>&gt; <em>Use </em><a href="https://opencode.ai/docs/pt-br/agents/"><em>https://opencode.ai/docs/pt-br/agents/</em></a><em> (use @explore to get a necessary spec to create it!) to make an agent that is able to leverage those tools! As the link suggests, that agent should be a markdown file in .opencode/agents!</em></p><p>Two things are happening in that prompt that are worth unpacking. First, `@explore` is not a file reference — it is one of OpenCode’s built-in preconfigured agents, designed specifically for reading and exploring codebases and documentation. Invoking it here meant that instead of the main agent trying to fetch and parse the docs URL itself, it delegated that job to a specialist. `@explore` read the OpenCode agent specification page and returned the structured requirements — frontmatter fields, permission model, system prompt conventions — that the main agent then used to write the new agent definition correctly. Without this, the agent would simply guess at the format; you can verify recognition afterward by running `opencode agent list`. Second, this is `@` being used in two different ways in the same ecosystem: `@final.docx` references a file, `@explore` invokes an agent. Knowing the difference is part of learning to work in this environment.</p><p>The agent fetched the OpenCode docs, read the spec, and created `.opencode/agents/apa7_checker.md` — a registered agent with low temperature, a defined permission model, and a system prompt describing the full pipeline. From that point forward, instead of re-explaining the context in every session, I could invoke the agent directly and it already knew what to do.</p><p>This is the leverage point that matters most: <strong>the cost of a task drops with each session</strong> as the agent ecosystem grows. The first time I checked references, it took significant setup. After the agent definition existed, the same task was a single invocation.</p><h3><strong>Debugging: How I Directed the Agents When Things Went Wrong</strong></h3><p>The pipeline didn’t work immediately. For several sessions, running the checker on `final.docx` returned zero entries — not an error, just silence. The root issue was an accented Windows file path (`Relatório Estágio`) causing the document reader to fail without reporting it.</p><p>When the first silent failure appeared, I didn’t write a diagnosis. My prompt was direct: I described what I saw — no output, no error — and asked the agent to investigate. It listed five possible causes (encoding issues, path resolution, section heading mismatch, empty document object, wrong pipeline version) and asked which direction to pursue. I picked option 4: the heading regex wasn’t matching the Portuguese section title “Referências bibliográficas.” That turned out to be part of the problem, but not all of it.</p><p>In a new session, I came back with a documented problem. I had written up exactly what had failed and what had already been tried in a file called `prob1.md`, and I referenced it with:</p><p>&gt; <em>Use @prob1.md to understand the failure and create unittest and then solve it</em></p><p>The `@prob1.md` syntax pasted the file’s contents directly into the prompt. Giving the agent a problem statement as a file — not embedded in the chat — meant the context was clean, persistent, and not diluted by session history. The agent could read it fresh and focus on the root cause.</p><p>From that problem file, the agent wrote two targeted unit tests before touching any production code:</p><p>- `test_find_refs_section_variants` — verifies that `find_references_section()` correctly locates a “Referencias bibliográficas” heading, testing the broadened regex fix</p><p>- `test_split_references_on_bibitems` — verifies that `split_references()` correctly splits entries containing `\bibitem{…}` markup</p><p>Run with `pytest -q`:</p><pre>..<br>2 passed in 0.60s</pre><p>Both passed. The function worked in isolation. Only then did the agent apply the fix to the main module. This sequence — write the test first, verify the fix in isolation, then integrate — was intentional. I prompted it explicitly because I had learned from the previous sessions that “it looks fixed” and “it is fixed” are not the same thing when parsing edge cases in docx files.</p><p>The broader debugging pattern across these sessions:</p><p>1. See an absence (zero results, no error)</p><p>2. Write a minimal reproduction or problem file</p><p>3. Let the agent isolate the cause</p><p>4. Verify with a targeted test before moving on</p><p>What I avoided was getting lost in code details myself. My role was to observe the outputs, describe what was wrong, and redirect. The agents handled the investigation.</p><h3><strong>The Human-in-the-Loop</strong></h3><p>The first successful run on the actual `final.docx` extracted 54 references and produced a flagged-entry report.</p><p>From there, the workflow became a tight loop:</p><p>1. Run the pipeline → get the report</p><p>2. Open Word, apply the flagged corrections</p><p>3. Re-run → review the new output</p><p>4. Repeat</p><p>As the iterations progressed, mismatches started surfacing between what the parser reported and what was actually in the document. The most instructive one: the pipeline reported <strong>no issues</strong> for one entry block (Entry 9, a Cohen citation followed by a Comissão Europeia citation), but that block was actually five separate references concatenated into a single paragraph. The parser saw one entry; the document had five. The agent caught it only when I asked it to inspect the raw extracted text rather than the validated output.</p><p>Other false positives were more systematic. Entries with month or letter suffixes like `(2011, August)` or `(2008b)` were flagged as missing a year because the year regex wasn’t expecting anything after the four digits. Institutional authors like “Vodafone Foundation” were flagged as bad author formatting because they don’t match the “Surname, Initials” pattern the classifier expected.</p><p>I navigated all of this with short, operational prompts — `yes, do everything except doing alterations in final.docx!`, `retry`, `mete dentro do repositório!` — never disputing the false positives in detail, just pushing forward and letting the agent accumulate the fixes. The mismatches got resolved through iteration, not through a single comprehensive diagnosis.</p><p>The agent provided exact correction instructions. I made the edits. This back-and-forth — agent checks, human corrects, agent re-checks — ran for most of the final session. By the end:</p><pre>65 references. 0 issues. Alphabetical order OK.</pre><p>I went back to the jury’s original rejection comment — four specific issues — and the agent mapped each one to a resolved check. All four closed.</p><p>One feature that took longer than expected to get right was the alphabetical order correction output. Checking order was not in the original module — I added it explicitly: <em>I want it to make it such the verification script over the docx also checks if the references are in alphabetical order, if not, they are flagged and prompt the user with easy to follow modification in the word!</em></p><p>The first attempt generated Word instructions using position numbers: “move entry to position #3.” I rejected it immediately — when entries move, position numbers shift, and the instructions become self-defeating. The second attempt used neighbour pairs: “must come AFTER X, BEFORE Y.” I tested it and fed back:</p><p>&gt; <em>Okay the guides are unclear… try to be more minimalistic in the help, where instead of saying ‘this should go to this place’ say ‘in the final document the entry should be after this and before this’…</em></p><p>That was worse. The neighbour pairs created more cognitive load, not less. Final feedback:</p><p>&gt; <em>it made it worse honestly, just show how the final one should look like…</em></p><p>The third attempt dropped the relational logic entirely and just showed the correct final order as a numbered list, with moved entries visually marked. That was immediately usable. Three iterations, zero specification of how to fix it — just a description of what was wrong with the current output each time. The agent revised the format without needing me to design the solution.</p><p>This is a pattern worth noting: <strong>you don’t need to know the solution to give useful feedback</strong>. You just need to describe what’s wrong with the current output.</p><h3><strong>What I Learned About Working With Agents</strong></h3><p><strong>Directing orchestration is a skill.</strong> The most effective prompts I wrote weren’t the most detailed ones. They were the ones that named which agent to involve, what format the output should take, and what the downstream consumer of that output would be. “Create methods that enable future agents” is a better prompt than “write a Python script.”</p><p><strong>Agents reduce the cost of returning to a problem.</strong> Once the <em>apa7_checker</em> agent existed, I didn’t need to re-establish context. I could open a new session, invoke the agent, and it already understood the task. The investment in building the agent definition paid back across every subsequent session.</p><p><strong>Iteration is faster when humans stay at the decision layer.</strong> I never got deeply into the code myself. My role was to observe outputs, give feedback, and redirect. The agents handled implementation. That division kept me productive — I could evaluate results in minutes rather than hours.</p><p><strong>Human-in-the-loop is a feature, not a workaround.</strong> The corrections I made in Word between pipeline runs were not a sign that the automation was incomplete. They were the right layer for human judgment — catching cases where the formatting rule was ambiguous or where I knew the context the agent didn’t. The tight feedback loop made the final result more reliable than pure automation would have been.</p><p><strong>Agents change the software paradigm. </strong>I have a distaste for consumer-level software — a product of business decisions that, most of the time, are simply inconvenient for my specific needs. With agents, I can create my own tools that fit how I actually work, and that can evolve alongside me. I am no longer a user of a fixed tool; I am the director of an ecosystem I can shape. This is a fundamental shift in how we interact with software — from passive users to active orchestrators. The implications for education, work, and creativity are profound. We are no longer limited to the tools that exist; we can build the tools we need, on demand, and refine them as our needs change.</p><p><strong>The Linux paradigm is reinforced by agents.</strong> Having agents live inside your shell environment — able to read files, execute commands, and call one another — creates a new layer of interaction with your system. If you link agents to specific tools, as I do with `jq_expert` for JSON manipulation or `pdf_researcher` for PDF parsing, you are effectively building a personalized command-line interface that extends your capabilities. This encourages deeper engagement with the command line and promotes a mindset of building and customizing your own toolset rather than relying on pre-built applications. It also means that learning to use agents effectively involves not just understanding AI capabilities, but also understanding the underlying system tools and how they complement what the agents can do. That symbiosis between agents and the command line can produce a powerful, flexible workflow tailored precisely to your needs.</p><h3><strong>The Honest Part</strong></h3><p>Not everything worked. The alphabetical-order correction instructions took three attempts to get right. An early run used the v2 pipeline instead of v3 after final corrections, producing a misleading “all clear” before the real check ran. Silent failures in unexpected places cost sessions.</p><p>And the ambition grew in ways I hadn’t planned. I started with “find the APA mistakes.” I ended with a registered agent, 81 unit tests, an HTML report template, and a Word instructions generator. That wasn’t the plan — it was what the problem kept requiring.</p><p>Honestly, I’ve hit a lot of walls along the way while trying to use OpenCode in different scenarios. Multiple agent runs have produced a Frankenstein of a repository that stopped working entirely. I have lost work with a careless Ctrl+x+u. I started prototypes and jumped to the next before finishing the first. The increase in productivity also brought an increase in slop. I have solved a lot of problems, but I have also made a lot of mess. That is the honest part — working with agents is not a magic wand that makes everything better immediately. It requires learning, iteration, and sometimes dealing with the fallout when things break. The key is to keep pushing forward, learn from the failures, and refine the ecosystem over time.</p><p>The modular structure described here — one orchestrator able to draw on researchers, specialists, and interventionists — is not a rule of law, and honestly may not be the best approach for everyone. It is the result of a lot of trial and error, and it is simply the way I have found most effective for my use cases. It is not the only way, and it may not be the right way for yours. The key is to find a structure that works for your specific problems, and to stay open to changing it as you learn more about how agents can fit into your workflow.</p><p>The report is ready to resubmit. The <em>apa7_checker</em> agent is still in the repository. If I ever need to run this check again — or if a colleague does — the infrastructure is there.</p><p>OpenCode — and terminal agentic tools like it — aren’t magic. They require learning, they require skill to use well, and those skills can absolutely be developed. They work as an abstraction, using LLM token prediction to act on your machine. Using them productively, and without generating slop, is itself a skill, and like any skill it requires learning, practice, and iteration. The best way to learn is to jump in and start using them on real problems, even when you do not know exactly how to solve them yet. The agents will help you work toward a solution as you go.</p><p>I no longer search Google and read articles the way I used to. I use my agents to find the information I need and extract it in a form that is useful to me — reading documentation, pulling out data, and producing structured artifacts I can use directly in my work. This has changed how I approach problems and made me noticeably more efficient.</p><p>Coding, engineering, and domain knowledge are not obsolete. On the contrary — they are what let you know what to expect. They give you the insight and intuition to recognize where a problem likely lives and what a solution probably looks like. They are what let you tell an agent: <em>”the output should look something like this.”</em> That expertise is what allows you to inject the right context, give the right feedback, and direct the orchestration effectively. It is the difference between using agents productively and just generating noise.</p><p>Knowledge and expertise are not going away, but the way you develop them — and the way you apply them — is changing. The way you interact with information, solve problems, and create things is shifting. Agents are not just a new tool; they are a new paradigm for engaging with technology. Embracing that shift opens up possibilities that simply were not available before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7528b0cd8c89" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Essential Neovim Plugins for Python Development — Part 1]]></title>
            <link>https://medium.com/@fdiogolparacasa/essential-neovim-plugins-for-python-development-part-1-4730be93ba8f?source=rss-4b23cb5c1b5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4730be93ba8f</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[nvim]]></category>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Diogo Oliveira]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 15:38:16 GMT</pubDate>
            <atom:updated>2025-08-14T15:38:16.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>Essential Neovim Plugins for Python Development — Part 1</h3><p>Transform Neovim into a powerful Python IDE while keeping it lightweight and efficient with these carefully selected plugins.</p><blockquote><strong>Note</strong>: This guide assumes basic familiarity with Neovim configuration. I use <strong>lazy.nvim</strong> for plugin management, but these recommendations can be adapted to other setups.</blockquote><h3>1. Language Server Protocol (LSP) Setup</h3><p>A smooth Python development experience starts with a strong LSP configuration.</p><h4>Options Considered:</h4><p>nvim-lspconfig: <a href="https://github.com/neovim/nvim-lspconfig">https://github.com/neovim/nvim-lspconfig</a></p><ul><li>Requires Neovim ≥ **0.11.0** <br>I initially tried this but faced compatibility issues (my Neovim version: **0.10.4**).</li></ul><p>coc.nvim: <a href="https://github.com/neoclide/coc.nvim">https://github.com/neoclide/coc.nvim</a></p><ul><li>Supports Neovim ≥ **0.8.0**</li><li>Provides **autocompletion** and **LSP integration** out of the box.</li><li>Requires **Node.js ≥ 16.18.0**:</li></ul><pre>curl -sL install-node.vercel.app/lts | bash</pre><p><strong>vim-lsp</strong>: <a href="https://github.com/prabirshrestha/vim-lsp">https://github.com/prabirshrestha/vim-lsp</a></p><ul><li>Lightweight alternative (Neovim ≥ **0.4.0**).</li></ul><h4>My Choice: `coc.nvim` with Pyright</h4><pre>return {<br> {<br> &quot;neoclide/coc.nvim&quot;,<br> branch = &quot;release&quot;,<br> lazy = false, - Load immediately (needs early initialization)<br> build = &quot;:call coc#util#install()&quot;, - Auto-install extensions<br> config = function()<br> - Configure COC extensions<br> vim.g.coc_global_extensions = {<br> &#39;coc-json&#39;,<br> &#39;coc-lua&#39;,<br> &#39;coc-pyright&#39;, - Python LSP<br> - More: https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions<br> }<br> <br> - Keymaps<br> vim.keymap.set(&quot;n&quot;, &quot;gd&quot;, &quot;&lt;Plug&gt;(coc-definition)&quot;, { silent = true }) - Go to definition<br> vim.keymap.set(&quot;n&quot;, &quot;K&quot;, &quot;&lt;Plug&gt;(coc-hover)&quot;, { silent = true }) - Documentation hover<br> end,<br> }<br>}</pre><h4>2. Debugging with `nvim-dap’</h4><p>Debug Python code directly in Neovim using the <strong>Debug Adapter Protocol (DAP) </strong><a href="https://github.com/mfussenegger/nvim-dap">https://github.com/mfussenegger/nvim-dap</a>.</p><p><strong>Features:</strong></p><ul><li>Breakpoints, step-in/step-over</li><li>Variable inspection</li><li>Works with **debugpy** (Python debugger)</li></ul><p>I followed NeuralNine’s config <a href="https://www.youtube.com/watch?v=tfC1i32eW3A)**">https://www.youtube.com/watch?v=tfC1i32eW3A</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4730be93ba8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Plugins for Neovim/Git]]></title>
            <link>https://medium.com/@fdiogolparacasa/plugins-for-neovim-git-0bffa4dcce6c?source=rss-4b23cb5c1b5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0bffa4dcce6c</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nvim]]></category>
            <dc:creator><![CDATA[Diogo Oliveira]]></dc:creator>
            <pubDate>Wed, 13 Aug 2025 23:05:38 GMT</pubDate>
            <atom:updated>2025-08-13T23:05:38.463Z</atom:updated>
            <content:encoded><![CDATA[<p>Neovim is an excellent tool for personalizing your workflow. The initial investment in configuring it pays off by deepening your understanding of the tools you use and giving you full control over your environment.</p><p>Optimizing Neovim for Git-related workflows can significantly boost your productivity. Below are some essential plugins and setups I recommend.</p><blockquote><em>Note: This is not a beginner’s guide to Neovim configuration but rather a collection of experiments. I use </em><em>lazy.nvim (highly recommended!) for plugin management.</em></blockquote><h3>1. Telescope + live_grep with Git Awareness</h3><p><a href="https://github.com/nvim-telescope/telescope.nvim">Telescope</a> is a powerful fuzzy finder that becomes even more useful when integrated with Git. <a href="https://github.com/BurntSushi/ripgrep?tab=readme-ov-file#installation">BurntSushi/ripgrep</a> is required for live_grep and grep_string and is the first priority for find_files.</p><pre>sudo apt install ripgrep  # Faster searching</pre><p>Why it’s great:</p><ul><li>Quickly search across files (:Telescope live_grep)</li><li>Respects .gitignore by default (if using ripgrep)</li></ul><h3>2. Neogit — A Magit-like Git Interface</h3><p>Neogit is a game-changer — it brings a smooth, interactive Git experience right inside Neovim.</p><p>Features:</p><ul><li>Visual staging/unstaging of changes</li><li>Easy commits, branches, and diff viewing</li><li>Minimal keystrokes for common operations</li></ul><p>You can follow the installation in <a href="https://github.com/NeogitOrg/neogit">https://github.com/NeogitOrg/neogit</a></p><h3>3. Gitsigns.nvim — Inline Git Indicators</h3><p>Gitsigns adds Git status hints directly in the gutter (sign column), so you can see:</p><ul><li>Modified/added/deleted lines</li><li>Blame information (on hover)</li><li>Seamless navigation between changes</li></ul><p>You can follow the installation in <a href="https://github.com/lewis6991/gitsigns.nvim">https://github.com/lewis6991/gitsigns.nvim</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0bffa4dcce6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding (and Mastering) Git!]]></title>
            <link>https://medium.com/@fdiogolparacasa/understanding-and-mastering-git-b427ad2cc071?source=rss-4b23cb5c1b5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b427ad2cc071</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Diogo Oliveira]]></dc:creator>
            <pubDate>Wed, 13 Aug 2025 20:16:48 GMT</pubDate>
            <atom:updated>2025-08-13T20:16:48.977Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you and your friends are planning a trip together in Google Drive, but someone accidentally deletes an important file. What do you do? Or what if you need to find out who added a particular questionable line? With tools like Word or Google Drive, these tasks would be a hassle — but not with Git! Git lets you:</p><ul><li>Restore deleted files instantly (thanks to version history).</li><li>Track who made changes (every edit is logged with the author’s name).</li></ul><p>No panic, no blame games — just quick fixes!</p><h3>What is Git?</h3><p>Git is a version control system (VCS). A VCS is a software tool that helps track and manage changes to files (such as code, documents, or multimedia) over time. It allows multiple contributors to collaborate, maintain a history of revisions, and revert to previous versions when needed.</p><p>A VCS is great because it:</p><ul><li>Tracks changes in files.</li><li>Records the history of past versions and allows recovery of older states.</li><li>Enables collaboration among multiple users on the same project without conflicts.</li><li>Supports parallel development and helps reconcile differences when changes clash.</li></ul><p>There are two types of VCS: Centralized (CVCS) and Distributed (DVCS).</p><p>CVCS uses a single central server to store all versions. Users need to retrieve files from the server to work on them locally. This requires a constant connection to the server, and if the server fails, history is lost. If the server crashes without backups, all commits, branches, and version history are gone. Examples include SVN and Perforce.</p><p>DVCS allows every user to have a full copy of the repository, including all history, branches, and metadata. This eliminates the need for a constant connection to a central server, makes operations faster (most are local), and improves resilience (no single point of failure). Examples include Mercurial and Git.</p><h4>The Origins of Git</h4><p>Git was created by Linus Torvalds in 2005 out of necessity (the same person who created Linux). He needed a better, faster, and more distributed version control system to manage the Linux kernel development. Previously, the kernel was developed using BitKeeper (a DVCS), but its free license was revoked due to disputes.</p><blockquote>The name “git” was given by Linus Torvalds when he wrote the very first version. He described the tool as “the stupid content tracker” and the name as (depending on your mood):</blockquote><blockquote>- random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of “get” may or may not be relevant.</blockquote><blockquote>- stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.</blockquote><blockquote>- “global information tracker”: you’re in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.</blockquote><blockquote>- “goddamn idiotic truckload of sh*t”: when it breaks</blockquote><blockquote>[<a href="https://github.com/git/git?tab=readme-ov-file">https://github.com/git/git?tab=readme-ov-file</a>]</blockquote><h3>Getting Started</h3><p>To check if Git is installed on your Linux system, run:</p><pre>$ git -version</pre><p>If you see something like git version 2.39.5, Git is installed. If not, install it using your package manager. For example, on Debian:</p><pre>$ sudo apt-get install git</pre><p>To access Git documentation for a specific command, use:</p><pre>$ man git-&lt;command&gt;<br>$ git help &lt;command&gt; # other valid option<br>$ man git # go to git&#39;s manual</pre><p>Before using Git, configure your identity:</p><pre>git config - global user.name &quot;Your Name&quot;<br>git config - global user.email &quot;your.email@example.com&quot;</pre><p>The — global flag saves this configuration in ~/.gitconfig. You can view these changes with:</p><pre>nvim ~/.gitconfig # or with</pre><h4>Git Repositories</h4><p>The base concept in Git is a repository (repo), where a project’s files and version history are stored. A repo contains:</p><ul><li>Files and directories</li><li>Commit history</li><li>Branches</li><li>Configurations</li></ul><p>To download a repo to your computer, use git clone:</p><pre>$ git clone https://github.com/git/git.git</pre><p>This creates a new directory with the repository’s name. It initializes a new Git repository in that directory (creating a Local repo). Sets up a remote called “origing” (as a default alias) pointing to the URL that it cloned from. And it downloads all the repository’s contents and history.</p><p>In order to check existing remotes, run:</p><pre>$ git remote -v</pre><p>Over time, collaborators update the remote repo. To sync your local copy:</p><pre>$ git fetch &lt;remote-name&gt;</pre><p>This downloads the latest commits and branches from the remote repository but does not merge them into your local branches. Instead, it updates your remote-tracking branches (like origin/main), which act as read-only snapshots of the remote’s state. These remote-tracking branches are separate from your local branches — they simply reflect what’s on the remote. Your local main branch (or any other branch you’re working on) remains completely unchanged until you explicitly merge the updates (e.g., with git merge origin/main).</p><p>In other words, this retrieves the latest updates without altering your local work.</p><p>If you want to get this updates in your work you can use:</p><pre>$ git merge origin/master # from remote repo merge master branch with my local branch</pre><p>Merging in Git integrates changes from one branch (like origin/main) into another (e.g., your local main branch). When you run git merge origin/main, Git combines the remote updates with your local work. If changes don’t overlap, Git automatically creates a merge commit to finalize the merge. However, if you and collaborators edited the same lines, Git pauses with a merge conflict, marking the clashes in your files with &lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD (your changes) and &gt;&gt;&gt;&gt;&gt;&gt;&gt; origin/main (their changes). You must manually resolve these conflicts by editing the file, keeping/combining the desired changes, then running git add and git commit to complete the merge.</p><p>Instead of using fetch and merge, you can use:</p><pre>$ git pull</pre><p>This is a powerful command that simplifies synchronizing your local repository with the latest changes from the remote. It combines the two operations. This two-in-one functionality makes git pull incredibly convenient for staying up-to-date with team contributions, though it’s important to note that if both you and collaborators have modified the same parts of a file, Git will pause the process and require manual conflict resolution. For those who prefer a cleaner commit history without merge commits, git pull — rebase offers an alternative approach by replaying your local changes on top of the fetched updates. Whether you choose the standard merge or rebase approach, git pull remains a fundamental tool for efficient collaboration in Git workflows.</p><p>You can get more information about the modifications made by your collaborators with commit logs, using:</p><pre>$ git log # you can quit pressing q</pre><p>One example of a commit log is:</p><pre>commit ad459fd44cf43fe8e506f9c72c54a69407ffcb13<br>Author: René Scharfe &lt;l.s.r@web.de&gt;<br>Date: Sat Aug 9 12:00:16 2025 +0200<br>merge: don&#39;t document non-existing - compact-summary argument<br> <br> 3a54f5bd5d (merge/pull: add the &quot; - compact-summary&quot; option, 2025–06–12)<br> added the option - compact-summary to both merge and pull. It takes no<br> argument, but for merge it got an argument help string. Remove it,<br> since it is unnecessary.<br> <br> Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;<br> Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</pre><h4>Hash Tables</h4><p>One might recognize the “ad459fd44cf43fe8e506f9c72c54a69407ffcb13” in the first line. This is a unique SHA-1 hash! Which is utilized by Git to generate an identity to a specific commit.</p><p>Git treats everything (commits, files, directories, etc.) as objects. We mean object as a small, immutable (unchangeable) piece of data that Git uses to represent Files (called “Blob”), Directories (called “trees”), Commits (snapshots of the project) and Tags (bookmarks for important commits).</p><p>Objects are stored by their SHA-1 hash. Changing data creates a new object with a new hash.</p><p>To generate a hash for content:</p><pre>$ echo &quot;Hello world&quot; | git hash-object - stdin</pre><p>Hash tables enable fast lookups, deduplication (same content = same hash), and tamper detection (changes alter the hash).</p><p>Using this hash, we can get a lot of information about the object. For example, we can view the commit:</p><pre>$ git show ad459fd44cf43fe8e506f9c72c54a69407ffcb13</pre><p>You can also come to the exact state of the repository at time of this commit you can do:</p><pre>$ git checkout ad459fd44cf43fe8e506f9c72c54a69407ffcb13</pre><p>After running it you will get the following message:</p><blockquote>Note: switching to ‘ad459fd44cf43fe8e506f9c72c54a69407ffcb13’.</blockquote><blockquote>You are in ‘detached HEAD’ state. You can look around, make experimental<br>changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.</blockquote><p>In Git, HEAD is like a “current position” marker that tells you where you are in the repository’s history. Normally, HEAD points to a branch (like main), meaning any new commits you make will update that branch.</p><p>When the Git says you are in “Detached HEAD” you should note that the HEAD is not attached to a branch, and therefore if you commit it, it won’t belong to any branch. It’s like writing notes on loose paper instead of in a note book. You should use this option if you are inspecting old code, debuggin historical issues or messing around, it’s not appropriate to stay here for long. To return to main, do:</p><pre>$ git switch main</pre><p>To create a new branch from the commit:</p><pre>$ git branch &lt;name&gt; ad459fd44cf43fe8e506f9c72c54a69407ffcb13</pre><p>If you list branches with:</p><pre>$ git branch -a</pre><p>You should see your recently created branch:</p><pre>  master<br>* new-branch-name<br>  remotes/origin/HEAD -&gt; origin/master<br>  remotes/origin/jch<br>  remotes/origin/maint<br>  remotes/origin/master<br>  remotes/origin/next<br>  remotes/origin/seen<br>  remotes/origin/todo</pre><p>To compare changes between a commit and a branch:</p><pre>$ git diff ad459fd44cf43fe8e506f9c72c54a69407ffcb13 main </pre><p>To apply a commit to another branch:</p><pre>git cherry-pick ad459fd44cf43fe8e506f9c72c54a69407ffcb13</pre><p>To view a commit’s file structure:</p><pre>git ls-tree ad459fd44cf43fe8e506f9c72c54a69407ffcb13</pre><p>The output of git ls-tree provides a detailed breakdown of the contents of a Git tree object (which represents a directory in Git). Each line corresponds to a file or subdirectory, and the columns describe its metadata. One example of the line is:</p><pre>100644 blob 409c4977a1e3a3a72dcd1452b41abdcb5a42b665    varint.c</pre><p>We can interpret each column in the following way:</p><ul><li>100644 -&gt; Shows its file mode (permissions &amp; type)</li><li>blob -&gt; object type</li><li>409c4977a1e3a3a72dcd1452b41abdcb5a42b665 → SHA-1 hash</li><li>varint.c → Filename or directory name</li></ul><p>To view object content:</p><pre>$ git cat-file -p ad459fd44cf43fe8e506f9c72c54a69407ffcb13  # Shows commit details<br>$ git cat-file -p 409c4977a1e3a3a72dcd1452b41abdcb5a42b665  # Shows varint.c content</pre><p>To list tags:</p><pre>$ git tag -l</pre><p>To view tag details:</p><pre>$ git show &lt;tag-name&gt;</pre><p>To search for a pattern:</p><pre>$ git grep &quot;merge - compact-summary&quot;</pre><p>To see who last modified each line of a file:</p><pre>$ git blame README.md</pre><h3>Creating Your Own Repo</h3><p>To initialize a local repo:</p><pre>$ git init</pre><p>This creates a hidden .git directory that tracks all changes. In this directory you will have a “time machine” for your project — every change from now on can be saved and revisited.<br>Now we can start to create our files inside our project, for example:</p><pre>$ touch file.txt</pre><p>But creating files alone doesn’t save them in your timeline. If you run git status, you’ll see:</p><blockquote>Untracked files:</blockquote><blockquote>(use “git add &lt;file&gt;…” to include in what will be committed)</blockquote><blockquote>file.txt</blockquote><p>This means file.txt exists but isn’t yet being tracked by Git’s “time machine.” To preserve your work, you need to:</p><ul><li>Stage changes (git add): Like carefully placing items into a time capsule’s loading dock, this selects exactly what gets saved. Staging (git add) lets you curate changes — preventing accidental commits.</li></ul><pre>$ git add file.txt # Add this file to the next commit</pre><ul><li>Commit changes (git commit): This seals the time capsule shut with a permanent timestamp and description. Commits create immutable snapshots you can always return to.</li></ul><pre>$ git commit -m &quot;Add initial project file&quot; # Save this snapshot</pre><p>Together, they make your project history intentional and error-resistant.</p><p>Each time you run git commit, you’re essentially pressing the “Save” button on your time machine — capturing everything exactly as it looks at that moment. Git stores these snapshots permanently with:</p><ul><li>A unique hash as your timestamp</li><li>Your commit message as the historical record (e.g., “Fixed login crash in 2025”)</li></ul><p>Want to revisit yesterday’s work? Just check out the commit hash. Need to undo today’s mistakes? Reset to an earlier snapshot. Unlike real time travel, Git lets you rewrite history safely — your .git directory keeps every version protected.</p><h4>Connecting local repo to an remote repo</h4><p>Next, let’s connect this local repo to a remote repo so your history survives even if your computer does! First step go to <br><a href="https://github.com/new">https://github.com/new</a> and create you remote repo.</p><p>The best way I found to do this, is using the SSH connection. First we will need to create a SSH Key using the command</p><pre>$ ssh-keygen -t ed25519 -C &quot;your_email@example.com&quot;<br>$ eval &quot;$(ssh-agent -s)&quot;<br>$ ssh-add ~/.ssh/id_ed25519</pre><p>Add the public key to GitHub (Settings → SSH and GPG keys).</p><p>You can find the repository URL on the main page of the repository:</p><ul><li>Click the “Code” button (usually green, near the top right).</li><li>Copy the SSH URL (e.g., <a href="/service/mailto:git@github.com">git@github.com</a>:user/repo.git).</li><li>Run:</li></ul><pre>$ git remote set-url origin git@github.com:username/repo.git</pre><h3>Best Practices</h3><h4>Atomic commits</h4><p>Keep commits small and focused (e.g., “Fix header padding”).</p><h4>Good commit messages</h4><p>Use the imperative mood (e.g., “Add dark mode toggle”).</p><h4>Undoing Mistakes</h4><p>Discard unstaged changes:</p><pre>$ git restore &lt;file&gt;</pre><p>Undo the last commit (keeps changes staged):</p><pre>$ git reset - soft HEAD~1 </pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b427ad2cc071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Arch Linux was much easier than I expected, even with my Chromebook.]]></title>
            <link>https://medium.com/@fdiogolparacasa/installing-arch-linux-was-much-easier-than-i-expected-even-with-my-chromebook-13d14fb70087?source=rss-4b23cb5c1b5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/13d14fb70087</guid>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[arch-linux]]></category>
            <category><![CDATA[computers]]></category>
            <category><![CDATA[chrome-os]]></category>
            <dc:creator><![CDATA[Diogo Oliveira]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 22:10:11 GMT</pubDate>
            <atom:updated>2025-08-05T22:10:11.634Z</atom:updated>
            <content:encoded><![CDATA[<p>I hate the operating systems of big companies. They cost money, and I just want to spend money on hardware. They give you limited control over your machines — and I paid for the full package!</p><p>I’ve used Linux since my teenage years — a rebellion against Microsoft and Apple. In my mind, I was taking back ownership of my machines. I used Ubuntu and Debian for a long time, and it’s good, but something about Arch always called to me: its difficulty, its do-it-yourself philosophy…</p><blockquote>Arch is the best — a very sophisticated and exquisite, ego-boosting and mind-blowing (albeit perhaps a bit over-engineered) project which gives proof of Arch’s superiority. <a href="https://wiki.archlinux.org/title/Arch_is_the_best">https://wiki.archlinux.org/title/Arch_is_the_best</a></blockquote><p>Before installing Arch, it’s recommended to read the <a href="https://wiki.archlinux.org/title/Frequently_asked_questions">FAQ</a> to see if it’s appropriate for you.</p><p>There is an <a href="https://wiki.archlinux.org/title/Installation_guide">installation guide</a> that you can follow, but as with everything in Arch, it’s a bit overwhelming. And if you’re just starting to dip your toe into Arch (like me), it can be a bit discouraging. But there’s an easier way to get your machine running Arch with some specifications tailored to your intended use — using the archinstall command (we’ll get into that later).</p><p>The installation process of Arch is similar to other OS installations. You download an ISO, flash it to a USB stick, boot it, and voilà — you have it installed. But that’s easier said than done. Especially in my case — my computer was running ChromeOS, which comes with a lot of limitations (it’s basically a tablet with a keyboard).</p><p>To follow this guide you will need:</p><ul><li>A computer with some OS (In my case ChromeOS)</li><li>A USB Drive</li><li>A computer on which you want to install Arch.</li></ul><p><strong>ISO Installation</strong></p><p>The first step in ISO installation is to flash the USB with the ISO — <a href="https://wiki.archlinux.org/title/USB_flash_installation_medium">see this guide</a>.</p><p>Installing the ISO wasn’t straightforward. On <a href="https://archlinux.org/download/">archlinux.org/download</a>, they recommend downloading via BitTorrent, so I had to install <strong>qBittorrent</strong> on my <strong>Crostini</strong> (Linux for ChromeOS) and then download the ISO.</p><p>To flash the ISO to the USB drive, I used <a href="https://chromewebstore.google.com/detail/utilit%C3%A1rio-de-recupera%C3%A7%C3%A3o/pocpnlppkickgojjlmhdmidojbmbodfm">Chrome Recovery Utility</a>. Normally it’s used to flash ChromeOS versions, but it can also be used to flash other ISOs — as shown in this <a href="https://www.youtube.com/watch?v=UAAcQVJxfPk">video</a>.</p><p>After flashing, it was just a matter of configuring the BIOS on my computer (setting it to prioritize booting from the USB). And it opened up just fine!</p><p>With Arch, it’s a bit different from other OS: what you flash to the USB is actually an installation medium, with just enough tools to connect to the internet and mount the system the way you want.</p><p>At this stage, I had a bit of a problem: my keyboard was acting weird — the “c” key was mapping to “¢”. Eventually, I figured out that it was because my ALT key was being pressed. I solved this by randomly hitting keys until it worked (amazing, right?).</p><p>If you want to configure your keymapping to your layout, you can do it now! Check the Installation Guide section <strong>“Set the console keyboard layout and font”</strong>.</p><p>I skipped that. I just figured out where the important symbols were and abused the TAB key, praying the correct command would come out.</p><p><strong>Network Configuration</strong></p><p>The next step was network configuration, and it was simpler than I thought. You can access its interactive prompt by running:</p><pre>iwctl</pre><p>Once inside the iwctl prompt, you can see the list of available commands by typing:</p><pre>help</pre><p>The list isn’t long, which simplifies a lot.</p><p>The first challenge is figuring out your device name so you can give it commands. Do this with:</p><pre>device list</pre><p>After getting the name, you can scan for Wi-Fi:</p><pre>station &lt;name&gt; scan</pre><p>But this won’t show what it found. To view networks, do:</p><pre>station &lt;name&gt; get-networks</pre><p>Then it shows a list of networks (SSIDs). To connect, do:</p><pre>station &lt;name&gt; connect &lt;SSID&gt;</pre><p>If necessary, it will prompt for a password. If you do everything right — congratulations! Your machine is connected to the wonders of the internet!</p><p>(For more on iwctl, check the <a href="https://wiki.archlinux.org/title/Iwd">official wiki page</a>).</p><p><strong>Choosing the Installation Method</strong></p><p>Now comes the divide: you can take the hardcore route and follow the Installation Guide, mounting everything by hand — which must be rewarding and very educational, but probably involves some suffering too.</p><p><strong>Or</strong> you can just use archinstall!!!</p><p>Really, archinstall makes everything easier. You just run:</p><pre>archinstall</pre><p>It opens a selection view where you can choose what you want for your machine. It can still feel a bit overwhelming, but way easier than doing everything manually.</p><p>Here’s a <a href="https://www.youtube.com/watch?v=G-mLyrHonvU">video</a> that explains the selection window (even though it’s old, it’s still useful).</p><p>And then — there you have it — your Arch machine is up and running!</p><p><strong>Final Thoughts</strong></p><p>Remember, this is only the first step in your Arch journey. There’s much more to learn in order to improve and personalize your setup. I recommend checking the <a href="https://wiki.archlinux.org/title/General_recommendations">General Recommendations</a> page to learn more.</p><p>In the next blog post, I might try to create a backup system — because three days after installation, I already broke my machine, eheh.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13d14fb70087" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to write better nº1 — An review of “Scientific Writing = Thinking in words”]]></title>
            <link>https://medium.com/@fdiogolparacasa/how-to-write-better-n%C2%BA1-an-review-of-scientific-writing-thinking-in-words-0cd5aaad7213?source=rss-4b23cb5c1b5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0cd5aaad7213</guid>
            <category><![CDATA[thinking]]></category>
            <category><![CDATA[writing-tips]]></category>
            <category><![CDATA[scientific-writing]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[book-review]]></category>
            <dc:creator><![CDATA[Diogo Oliveira]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 13:40:26 GMT</pubDate>
            <atom:updated>2025-08-02T13:40:26.611Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to write better nº1 — An review of “Scientific Writing = Thinking in words”</h3><h3><strong>Introduction to “How to write better”</strong></h3><p>Writing was always a problem for me.</p><p>Don’t get me wrong! I liked reading and occasionally I write. Though, my writing was mainly for myself.</p><p>However, my writing was difficult to follow, even for myself. It was repetitive, unclear, and lacked coherence and structure.</p><p>My writing appeared more like a translation of disorganized thought than a curated text.</p><p>Getting my bachelor’s degree in mathematics did not help. I used to think that writing — especially in academic settings — was just about stating objective facts, while more subjective writing belonged to the realm of poetry.</p><p>This flaw stayed unchecked until I had to write my master thesis. For the first time in my life, I had to write something. It was not just an assignment that I would get a grade and move on. It was something I would need to write, get feedback, rewrite, get feedback… until I have a finish work.</p><p>During the process, I realized that I lacked both the skills and tools needed for writing — and for making sense of the feedback I received. The ambiguity and subjectivity of it all made me anxious. That’s when I decided: I needed to get better at writing.</p><p>This embarked me in a journey of learning about writing, mainly through daily reading of books related to that subject.</p><p>This series attempts give you my personal notes on that journey, as also give me opportunities to train my writing skills ;).</p><p>I believe that this series is useful for everyone that wants to get better at writing, it’s more focused in scientific writing, but it will have valuable resources for anyone interested on writing.</p><p>From my perspective, these books gave me much more confidence in writing, provided practical tools I could apply, and offered criteria to analyze texts. Nowadays, I rely far less on ChatGPT.</p><h3><strong>“Scientific Writing = Thinking in Words” by David Lindsay</strong></h3><p>This is a book is a result of collaboration between hundreds of people, mostly researchers “who attended workshops and courses in which [they and David Linday] collectively applied concepts about thinking and reasoning to the task of converting ideas and experimental data into focused articles for publication.”</p><p>The book has an analytical flavor to it. It divides the process of writing, the article and the different stakeholders, in clear categories with some principles.</p><p>It’s built with help of various examples from biology, economics, sociology…</p><p>It’s focus on scientific writing make him ideal for anyone that really wants to publish articles in journals, or to other mediums of sharing information in science, such presentations, posters, thesis, etc.</p><p>The book invites were to think of writing as almost an ontology in science. If it’s not written and read, ‘you haven’t done it’. As also to appreciate more the art of writing and see it as a tool for scientific thinking (as the title suggests).</p><p>The fundamental relationship established through writing is the one between writer and reader. The book presents the writer as someone aiming to communicate an achievement or a piece of research, and who bears the responsibility of adapting their writing to meet the reader’s needs. The writer has a duty to maintain the reader’s interest throughout the text.</p><p>The reader, in turn, is selective — often unwilling to engage with an entire article unless something captures their attention early on. Typically, the reader doesn’t have much time and looks for writing that is clear, well-structured, and easy to follow. Ideally, the article should not require multiple readings to be understood, and the information should appear where the reader intuitively expects it to be.</p><p>The writing process is typically presented in two main stages: drafting and editing. These stages are not strictly linear and can often overlap. However, editing is generally considered the easier of the two.</p><p>Each stage has a distinct purpose. Drafting — the process of filling blank pages — should focus on shaping the overall structure of the article and the function of each chapter or section. The goal at this stage is to get ideas down, without worrying too much about polish.</p><p>Editing — working with existing text — comes next. It involves refining the draft to improve clarity, coherence, and readability. This step should align the writing with the conventions of scientific communication and the specific standards of the journal you intend to submit to.</p><p>The book advocates for a writing style that is precise, clear, and concise, employing simple language that closely resembles everyday English. This should have in mind that scientific articles may be read from non-native speakers!</p><p>The book also goes into detail about the function of each section in the IMRAD format, explaining the principles that can help improve each part of an article. It emphasizes the importance of adapting your writing to the way readers typically engage with these sections.</p><p>I won’t go into detail here, but I strongly recommend reading this part of the book if you’re working on writing a chapter or structuring a scientific article.</p><p>The book also presents a range of analogies and examples, which make its principles easy to understand and apply. It doesn’t shy away from controversial topics either, such as speculative writing and the critique of peer review. Rather than positioning itself as an unquestionable authority, the book maintains a humble tone, offering compelling arguments and practical advice.</p><h3><strong>Final thoughts</strong></h3><p>I really enjoyed the book. It provided me with a range of tools that will certainly help me think more critically about scientific work — and, of course, about writing itself. Its style is particularly engaging: the principle-based approach makes the content easy to follow and apply. It’s a book I’ll return to, reviewing specific parts whenever I need to refocus on what matters most in different stages of the writing process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0cd5aaad7213" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>