<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>All posts · Alex Moreno</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/posts/</link><description>Every post, in English and Spanish, grouped by year and filterable by section, series, tag and year.</description><generator>Hugo</generator><language>en-US</language><managingEditor>hello@example.org (Alex Moreno)</managingEditor><lastBuildDate>Tue, 02 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>A theme that respects the reader</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/a-theme-that-respects-the-reader/</link><pubDate>Tue, 02 Jun 2026 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/a-theme-that-respects-the-reader/</guid><description>&lt;p&gt;Most blog themes are designed to be looked at. I wanted one that is designed to be &lt;em&gt;read&lt;/em&gt;: a page that loads fast, works without JavaScript, respects the reader&amp;rsquo;s colour scheme, and gets out of the way once the first paragraph starts.&lt;/p&gt;&#10;&lt;p&gt;This post doubles as the theme&amp;rsquo;s style check, so every Markdown element shows up at least once.&lt;/p&gt;&#10;&lt;h2 id="start-from-the-reading-column"&gt;Start from the reading column&lt;a class="anchor" href="#start-from-the-reading-column" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Long-form text is happiest at around 65 characters per line. The reading column here is &lt;code&gt;33em&lt;/code&gt; wide and set in a serif face, while headings, captions and code stay in the interface font.&lt;/p&gt;</description></item><item><title>Notes from a long build migration</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/notes-from-a-long-migration/</link><pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/notes-from-a-long-migration/</guid><description>&lt;p&gt;This post uses top-level &lt;code&gt;#&lt;/code&gt; headings on purpose, so it shows how the theme handles them (see &lt;code&gt;params.post.shiftheadings&lt;/code&gt;).&lt;/p&gt;&#10;&lt;h2 id="why-we-moved"&gt;Why we moved&lt;a class="anchor" href="#why-we-moved" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We had outgrown the old build farm. Queues were long, caches were cold and nobody trusted the dashboards.&lt;/p&gt;&#10;&lt;h2 id="what-we-measured-first"&gt;What we measured first&lt;a class="anchor" href="#what-we-measured-first" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Before changing anything we measured three things: time to first green build, cache hit rate, and how often people retried a build without changing anything.&lt;/p&gt;</description></item><item><title>Home lab, part 3: backups that actually restore</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/home-lab-part-3-backups/</link><pubDate>Sat, 18 Apr 2026 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/home-lab-part-3-backups/</guid><description>&lt;p&gt;The first two parts were about &lt;em&gt;running&lt;/em&gt; things. This one is about getting them back.&lt;/p&gt;&#10;&lt;h2 id="the-rule"&gt;The rule&lt;a class="anchor" href="#the-rule" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Every backup job has a matching restore job, and the restore job runs on a schedule. If the restore fails, I get an email, the same way I would if the backup failed.&lt;/p&gt;&#10;&lt;h2 id="the-setup"&gt;The setup&lt;a class="anchor" href="#the-setup" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;&#10;&lt;li&gt;Nightly snapshots of every service&amp;rsquo;s data directory with &lt;code&gt;restic&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;A second copy on an external disk that lives in a drawer at a friend&amp;rsquo;s house (rotated monthly).&lt;/li&gt;&#10;&lt;li&gt;A monthly job that restores the latest snapshot into a scratch VM and runs each service&amp;rsquo;s health check against it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;restic restore latest --target /srv/restore-test&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker compose -f /srv/restore-test/compose.yaml up -d&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl --fail http://localhost:8080/healthz&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="what-it-caught"&gt;What it caught&lt;a class="anchor" href="#what-it-caught" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;In the first three months the restore test failed twice: once because a database dump was taken mid-write, and once because a config file lived outside the backed-up directory. Neither would have shown up until the day I needed them.&lt;/p&gt;</description></item><item><title>Home lab, part 2: one small server, many services</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/home-lab-part-2-one-small-server/</link><pubDate>Mon, 09 Mar 2026 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/home-lab-part-2-one-small-server/</guid><description>&lt;p&gt;A fanless mini PC with 16 GB of RAM turns out to be plenty for a family&amp;rsquo;s worth of services.&lt;/p&gt;&#10;&lt;h2 id="one-folder-per-service"&gt;One folder per service&lt;a class="anchor" href="#one-folder-per-service" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Each service gets its own folder with a &lt;code&gt;compose.yaml&lt;/code&gt;, a &lt;code&gt;.env&lt;/code&gt; and a &lt;code&gt;data/&lt;/code&gt; directory. Updating one never touches another.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;photos&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;example/photos:1.42&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;restart&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;unless-stopped&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="l"&gt;./data:/data&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="s2"&gt;&amp;#34;127.0.0.1:8081:8080&amp;#34;&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="nothing-on-the-open-internet"&gt;Nothing on the open internet&lt;a class="anchor" href="#nothing-on-the-open-internet" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Everything binds to localhost and is reached through a VPN. It&amp;rsquo;s slower to set up a new device, and I sleep much better.&lt;/p&gt;</description></item><item><title>Home lab, part 1: why I stopped renting everything</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/home-lab-part-1-why/</link><pubDate>Sat, 14 Feb 2026 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/home-lab-part-1-why/</guid><description>&lt;p&gt;I didn&amp;rsquo;t start a home lab because I love hardware. I started one because I added up my subscriptions.&lt;/p&gt;&#10;&lt;h2 id="three-reasons"&gt;Three reasons&lt;a class="anchor" href="#three-reasons" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;Cost.&lt;/strong&gt; Photo storage, password sync, a note app and a media server cost more per year than a small computer.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Ownership.&lt;/strong&gt; When a service shuts down, my data shouldn&amp;rsquo;t go with it.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Learning.&lt;/strong&gt; Running something yourself is the fastest way to understand why the hosted version costs what it does.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="and-one-reason-not-to"&gt;And one reason not to&lt;a class="anchor" href="#and-one-reason-not-to" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Your time is not free. If you don&amp;rsquo;t enjoy this kind of tinkering, the hosted version is a bargain.&lt;/p&gt;</description></item><item><title>How I built a commute-time tracker</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/commute-clock/</link><pubDate>Thu, 20 Nov 2025 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/commute-clock/</guid><description>&lt;p&gt;My commute takes anywhere from 22 to 61 minutes. I wanted to know &lt;em&gt;when&lt;/em&gt; to leave, not just how long it usually takes.&lt;/p&gt;&#10;&lt;h2 id="collect"&gt;Collect&lt;a class="anchor" href="#collect" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;A small Go program asks a routing API for the door-to-door time every 15 minutes and appends the answer to a SQLite table. It has run on the home-lab server since last November.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-go" data-lang="go"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Sample&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kd"&gt;struct&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#9;&lt;/span&gt;&lt;span class="nx"&gt;At&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Time&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#9;&lt;/span&gt;&lt;span class="nx"&gt;Minutes&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="show"&gt;Show&lt;a class="anchor" href="#show" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;A nightly job turns the table into a JSON file, and a static page draws a heat map: days of the week down the side, 15-minute slots across the top.&lt;/p&gt;</description></item><item><title>The quiet value of boring dependencies</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/boring-dependencies/</link><pubDate>Wed, 03 Sep 2025 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/boring-dependencies/</guid><description>&lt;p&gt;When I pick a library, I now ask three questions before I read the README.&lt;/p&gt;&#10;&lt;h2 id="how-old-is-it"&gt;How old is it?&lt;a class="anchor" href="#how-old-is-it" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;A library that has been maintained for ten years will probably be maintained next year. A library that appeared last month might not be.&lt;/p&gt;&#10;&lt;h2 id="how-small-is-it"&gt;How small is it?&lt;a class="anchor" href="#how-small-is-it" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Small dependencies are easy to read, easy to vendor, and easy to replace. Large ones become part of your architecture whether you like it or not.&lt;/p&gt;</description></item><item><title>Cómo organizo mis notas técnicas</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/como-organizo-mis-notas/</link><pubDate>Sun, 10 Aug 2025 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/como-organizo-mis-notas/</guid><description>&lt;p&gt;Probé muchas aplicaciones de notas. Me quedé con la más sencilla: archivos de texto.&lt;/p&gt;&#10;&lt;h2 id="un-archivo-por-día"&gt;Un archivo por día&lt;a class="anchor" href="#un-archivo-por-d%c3%ada" aria-label="Enlace a esta sección"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Cada mañana abro un archivo nuevo con la fecha. Ahí va todo: comandos, ideas, errores y lo que espero que pase antes de probar algo.&lt;/p&gt;&#10;&lt;h2 id="una-carpeta-por-proyecto"&gt;Una carpeta por proyecto&lt;a class="anchor" href="#una-carpeta-por-proyecto" aria-label="Enlace a esta sección"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Cuando una nota crece, la muevo a la carpeta del proyecto. Así el diario queda ligero y los proyectos tienen su historia.&lt;/p&gt;</description></item><item><title>On-call, part 2: runbooks that fit on a phone</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/runbooks-that-fit-on-a-phone/</link><pubDate>Mon, 30 Jun 2025 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/runbooks-that-fit-on-a-phone/</guid><description>&lt;p&gt;The &lt;a href="https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/sleeping-well-with-on-call/"&gt;talk&lt;/a&gt; promised a runbook template. Here it is.&lt;/p&gt;&#10;&lt;h2 id="the-five-sections"&gt;The five sections&lt;a class="anchor" href="#the-five-sections" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;What this alert means&lt;/strong&gt;, in one sentence.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;How bad is it?&lt;/strong&gt; Who is affected, and how fast it gets worse.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;First three commands&lt;/strong&gt;, copy-pasteable.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;When to escalate&lt;/strong&gt;, and to whom.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Links&lt;/strong&gt;: the dashboard, the service&amp;rsquo;s repository, the last incident.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="keep-it-short"&gt;Keep it short&lt;a class="anchor" href="#keep-it-short" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;If a runbook needs scrolling on a phone, split it. The person reading it at 3 a.m. will thank you.&lt;/p&gt;</description></item><item><title>Sleeping well with on-call</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/sleeping-well-with-on-call/</link><pubDate>Mon, 12 May 2025 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/sleeping-well-with-on-call/</guid><description>&lt;p&gt;These are the notes behind my talk at Example DevConf. The recording is below; it only loads when you press play.&lt;/p&gt;&#10;&#10;&lt;div class="yt"&gt;&#10; &lt;a href="https://www.youtube.com/watch?v=aqz-KE-bpKQ" data-yt="aqz-KE-bpKQ" data-title="Sleeping well with on-call, Example DevConf 2025 (YouTube video)" aria-label="Play: Sleeping well with on-call, Example DevConf 2025 (10:34)"&gt;&lt;img src="https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/images/talk-poster.eafa6f09c75d5997f7e63ab534781568c80984d7f187d5e6949f5f28f148236c.svg" width="640" height="360" alt="" loading="lazy" decoding="async"&gt;&lt;span class="yt__play" aria-hidden="true"&gt;&lt;svg aria-hidden="true"&gt;&lt;use href="https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/breeze/icons.d9beaa8994df5813bc42257a4b7505afe84eb5182163bddf9938974f9e687098.svg#play"/&gt;&lt;/svg&gt;&lt;/span&gt;&lt;span class="yt__dur" aria-hidden="true"&gt;10:34&lt;/span&gt;&lt;/a&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="every-alert-needs-an-owner-and-an-action"&gt;Every alert needs an owner and an action&lt;a class="anchor" href="#every-alert-needs-an-owner-and-an-action" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;If nobody knows what to do when an alert fires, it isn&amp;rsquo;t an alert. It&amp;rsquo;s a notification. Delete it or write the runbook.&lt;/p&gt;</description></item><item><title>Notes on code review etiquette</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/code-review-etiquette/</link><pubDate>Tue, 01 Oct 2024 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/code-review-etiquette/</guid><description>&lt;p&gt;A few habits that made my reviews kinder and faster.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Ask before you assert.&lt;/strong&gt; &amp;ldquo;What happens if this list is empty?&amp;rdquo; lands better than &amp;ldquo;This breaks on empty lists.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Label your nits.&lt;/strong&gt; If it&amp;rsquo;s optional, say so, and don&amp;rsquo;t block on it.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Approve improvements.&lt;/strong&gt; The bar is &lt;em&gt;better than before&lt;/em&gt;, not &lt;em&gt;perfect&lt;/em&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Review within a day.&lt;/strong&gt; A fast &amp;ldquo;not yet&amp;rdquo; beats a slow &amp;ldquo;looks good&amp;rdquo;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="for-authors"&gt;For authors&lt;a class="anchor" href="#for-authors" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Small changes get better reviews. If a pull request needs a meeting to explain it, it&amp;rsquo;s probably two pull requests.&lt;/p&gt;</description></item><item><title>Shell one-liners I use every week</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/shell-one-liners/</link><pubDate>Fri, 22 Mar 2024 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/shell-one-liners/</guid><description>&lt;p&gt;A short list of commands I keep coming back to.&lt;/p&gt;&#10;&lt;h2 id="biggest-folders-first"&gt;Biggest folders first&lt;a class="anchor" href="#biggest-folders-first" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;du -sh -- */ &lt;span class="p"&gt;|&lt;/span&gt; sort -rh &lt;span class="p"&gt;|&lt;/span&gt; head -n &lt;span class="m"&gt;10&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="copy-repositories-without-their-dependencies"&gt;Copy repositories without their dependencies&lt;a class="anchor" href="#copy-repositories-without-their-dependencies" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rsync -av --exclude &lt;span class="s1"&gt;&amp;#39;node_modules&amp;#39;&lt;/span&gt; --exclude &lt;span class="s1"&gt;&amp;#39;.venv&amp;#39;&lt;/span&gt; ~/code/ /mnt/backup/code/&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="what-changed-today"&gt;What changed today?&lt;a class="anchor" href="#what-changed-today" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git log --since&lt;span class="o"&gt;=&lt;/span&gt;midnight --oneline --all&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="rename-files-in-bulk"&gt;Rename files in bulk&lt;a class="anchor" href="#rename-files-in-bulk" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;for&lt;/span&gt; f in *.jpeg&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; mv -- &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$f&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;f&lt;/span&gt;&lt;span class="p"&gt;%.jpeg&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;.jpg&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;done&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Consejos para tu primera entrevista técnica</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/primera-entrevista-tecnica/</link><pubDate>Sat, 20 Jan 2024 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/primera-entrevista-tecnica/</guid><description>&lt;p&gt;Después de entrevistar a muchas personas, estos son los consejos que más repito.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;Piensa en voz alta.&lt;/strong&gt; Quien entrevista quiere ver cómo razonas, no solo la respuesta.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Pregunta antes de programar.&lt;/strong&gt; Aclarar el problema es parte del trabajo.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Empieza simple.&lt;/strong&gt; Una solución correcta y lenta es mejor que una rápida y equivocada.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Prueba tu código.&lt;/strong&gt; Recorre un ejemplo pequeño antes de decir &amp;ldquo;terminé&amp;rdquo;.&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>What a year of journaling taught me about debugging</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/journaling-and-debugging/</link><pubDate>Sat, 15 Jul 2023 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/journaling-and-debugging/</guid><description>&lt;p&gt;For a year I kept a plain-text work journal. The most useful entries were not the summaries at the end of the day. They were the predictions.&lt;/p&gt;&#10;&lt;p&gt;Before running a command I wasn&amp;rsquo;t sure about, I wrote one line: &lt;em&gt;what I expect to happen&lt;/em&gt;. When reality disagreed, the gap between the two lines was almost always the bug.&lt;/p&gt;&#10;&lt;p&gt;It feels slow. It is faster.&lt;/p&gt;</description></item><item><title>Por qué escribo en dos idiomas</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/por-que-escribo-en-dos-idiomas/</link><pubDate>Tue, 14 Mar 2023 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/por-que-escribo-en-dos-idiomas/</guid><description>&lt;p&gt;Casi todo lo que leo sobre tecnología está en inglés, y casi todo lo que escribo también. Pero algunas ideas las pienso primero en español.&lt;/p&gt;&#10;&lt;p&gt;Escribir en dos idiomas me obliga a buscar otras palabras, y muchas veces esas palabras explican mejor la idea.&lt;/p&gt;</description></item><item><title>Hello, world</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/hello-world/</link><pubDate>Thu, 01 Dec 2022 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/blog/hello-world/</guid><description>&lt;p&gt;This is the first post on the new site. Expect notes on developer tools, reliability and the occasional detour.&lt;/p&gt;</description></item><item><title>¿Qué es un servidor casero?</title><link>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/que-es-un-servidor-casero/</link><pubDate>Thu, 05 May 2022 00:00:00 +0000</pubDate><guid>https://danielsada.github.io/hugo-breeze-plasma-inspired-theme/notas/que-es-un-servidor-casero/</guid><description>&lt;p&gt;Un servidor casero es simplemente una computadora que siempre está encendida y que ofrece servicios a tu familia: fotos, contraseñas, copias de seguridad o una biblioteca de música.&lt;/p&gt;&#10;&lt;p&gt;No necesita ser potente. Una mini PC que consume poca energía es suficiente para empezar.&lt;/p&gt;</description></item></channel></rss>