{"@attributes":{"version":"2.0"},"channel":{"title":"Jens Rantil","link":"https:\/\/jensrantil.github.io\/","description":"Recent content on Jens Rantil","generator":"Hugo","language":"en","lastBuildDate":"Tue, 20 Oct 2026 17:08:23 +0200","item":[{"title":"Feedback at every step","link":"https:\/\/jensrantil.github.io\/posts\/feedback-at-every-step\/","pubDate":"Tue, 20 Oct 2026 13:49:12 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/feedback-at-every-step\/","description":"<figure>\n <img src=\"duty_calls_2x.png\" alt=\"A stick figure refuses to come to bed because they're compelled to correct someone who is wrong on the internet.\" style=\"height: 20em;\">\n <figcaption>\n <p>A classic xkcd comic. ([source](https:\/\/xkcd.com\/386\/))<\/p>\n <\/figcaption>\n<\/figure>\n<p>A while ago, someone was wrong on the Internet, and I couldn&rsquo;t let it go<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1<\/a><\/sup>. &#x1f604; A <a href=\"https:\/\/www.linkedin.com\/posts\/anton-pronin-8b81a916_techlead-cto-pullrequest-activity-7441079542003208192-lEfg\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">LinkedIn post<\/a> asked whether small PRs are only justified for hotfixes, or if they have broader value, and what the maximum number of changed files should be before a PR gets pushed back for splitting.<\/p>"},{"title":"Always log your entire configuration when booting","link":"https:\/\/jensrantil.github.io\/posts\/log-config-on-boot\/","pubDate":"Thu, 15 Oct 2026 23:42:12 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/log-config-on-boot\/","description":"<p>Here is a small tip that has saved me a lot of time: <em>Always log your entire parsed configuration when your service or application boots.<\/em> Or at least, support logging it through a verbose logging level. In practice, this can be logging the entire parsed YAML structure<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1<\/a><\/sup>, your config struct, or all the variables you have set from environment variables. No matter how you load your configuration, log it (but mask your secrets).<\/p>"},{"title":"Departure learning reviews","link":"https:\/\/jensrantil.github.io\/posts\/departure-learning-reviews\/","pubDate":"Wed, 14 Oct 2026 15:35:12 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/departure-learning-reviews\/","description":"<p>I think many companies could use a formal <em>learning review<\/em> process for non-mutual employee departures.<\/p>\n<p>A &ldquo;non-mutual departure&rdquo; could be initiated by either party in an employment relationship, either by the employee or the employer. What they have in common is that one side is unhappy. Maybe the company was unhappy with the employee\u2019s performance. Or maybe the employee left after 12 months because the job was not a good fit.<\/p>"},{"title":"On Challenging AI","link":"https:\/\/jensrantil.github.io\/posts\/challenging-ai\/","pubDate":"Tue, 15 Sep 2026 10:28:12 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/challenging-ai\/","description":"<p>In April, I published the article <a href=\"https:\/\/jensrantil.github.io\/posts\/types-of-ai-implementations\/\" >&ldquo;What type of AI usage?&rdquo;<\/a> In it, I observed that many companies could use a slightly more outcome-driven approach to AI to improve their impact. No tool is great in itself; it needs to solve a problem. This is utilitarianism &ndash; and it applies equally to AI, which is a tool.<\/p>\n<h2 id=\"the-industry-strikes-back\">\n The Industry strikes back\n <a class=\"heading-link\" href=\"#the-industry-strikes-back\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>After publishing my article, a good friend reached out. This friend warned me that criticizing AI could &ldquo;negatively impact my career&rdquo;.<\/p>"},{"title":"What type of AI usage?","link":"https:\/\/jensrantil.github.io\/posts\/types-of-ai-implementations\/","pubDate":"Tue, 28 Apr 2026 10:22:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/types-of-ai-implementations\/","description":"<p>These past years, I have had a lot of people reaching out and wanting to talk &ldquo;AI&rdquo; (<a href=\"https:\/\/jensrantil.github.io\/posts\/ai-is-nothing-new\/\" >or <abbr title=\"Large Language Models\">LLMs<\/abbr><\/a>) with me. Either the AI conversations have been around AI strategy for themselves, or for their company. Sometimes they have worked for a company claiming to be &ldquo;AI first&rdquo;.<\/p>\n<p>Assuming that <a href=\"https:\/\/jensrantil.github.io\/posts\/the-theater-tasks-that-add-value\/\" >the conversation is about customer impact<\/a> (which &ldquo;AI usage&rdquo; is not<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1<\/a><\/sup>), my first question is always<\/p>\n<blockquote>\n<p>&ldquo;What type of AI usage are we talking about here?&rdquo;<\/p>\n<\/blockquote>"},{"title":"Socio-technical archaeology","link":"https:\/\/jensrantil.github.io\/posts\/sociotechnical-archaeology\/","pubDate":"Thu, 09 Apr 2026 14:28:12 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/sociotechnical-archaeology\/","description":"<p>I was once assigned as the onboarding buddy for my then-new colleague <a href=\"https:\/\/www.linkedin.com\/in\/jeeklund\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Jeff<\/a>. I had been at the company for five years and was almost a founding engineer. I knew the ins and outs of the company. Not only did I mostly know the way we worked, our company culture, our technical stack, and our design choices, but, more importantly, I had the history and context of how things came to be.<\/p>"},{"title":"Code freezes","link":"https:\/\/jensrantil.github.io\/posts\/code-freeze\/","pubDate":"Sun, 05 Apr 2026 22:42:12 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/code-freeze\/","description":"<p><strong>Code freezes<\/strong> commonly stirs up strong emotions within the engineering community. Either people find them useful, or hate them. Some companies have a code freeze on Fridays, others do it over the December holidays, or around important dates when systems must be extra stable, such as Black Friday.<\/p>\n<h2 id=\"code-freeze\">\n Code freeze?\n <a class=\"heading-link\" href=\"#code-freeze\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>In short, a <em>code freeze<\/em> is when changes to a software system are suspended to make it more stable. But the devil is in the details:<\/p>"},{"title":"AI is nothing new, LLMs are","link":"https:\/\/jensrantil.github.io\/posts\/ai-is-nothing-new\/","pubDate":"Fri, 20 Feb 2026 19:35:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/ai-is-nothing-new\/","description":"<p>The term <abbr title=\"Articifial Intelligence\"><strong><em>AI<\/em><\/strong><\/abbr> is everywhere these days. Suddenly, it feels like <em>every<\/em> single company frontpage on the Internet says it is either &ldquo;an AI company&rdquo; or &ldquo;using AI to do X&rdquo;. It is as if the whole world has discovered that computers can do smart things.<\/p>\n<p>But let me tell you what feels like a little secret these days: <a href=\"https:\/\/en.wikipedia.org\/wiki\/History_of_artificial_intelligence\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">AI has been around since the 1950s<\/a>. In 1950, Alan Turing published \u201cComputing Machinery and Intelligence\u201d, introducing the Turing Test and seriously framing the question of whether machines can think. The term &ldquo;AI&rdquo; was coined in 1956 by John McCarthy and is widely considered to mark the birth of AI as an academic discipline.<\/p>"},{"title":"A shell --dry-run trick","link":"https:\/\/jensrantil.github.io\/posts\/a-shell-dry-run-trick\/","pubDate":"Sun, 01 Feb 2026 22:05:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/a-shell-dry-run-trick\/","description":"<p>I recently read the blog post <a href=\"https:\/\/henrikwarne.com\/2026\/01\/31\/in-praise-of-dry-run\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;In Praise of \u2013dry-run&rdquo;<\/a>. I love <code>--dry-run<\/code> mode! It can be immensely useful to avoid Bad Things&#x2122;&#xfe0f; from happening. The blog post reminded me of a small terminal\/shell\/Bash trick that I have used for years, but never shared with the Internet:<\/p>\n<h2 id=\"an-example\">\n An example\n <a class=\"heading-link\" href=\"#an-example\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>Imagine you want to download many profile pictures from the Internet. All the images are stored in a <abbr title=\"Comma-separated values\">CSV<\/abbr> file containing 1) the name of the person and 2) a URL to the image. Something like this:<\/p>"},{"title":"The missed incident priority: The Near Miss","link":"https:\/\/jensrantil.github.io\/posts\/near-miss-incidents\/","pubDate":"Mon, 19 Jan 2026 16:48:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/near-miss-incidents\/","description":"<blockquote>\n<p>If a tree falls in a forest and no one is around to hear it, does it make a sound?<\/p>\n<\/blockquote>\n<p>In my <a href=\"https:\/\/jensrantil.github.io\/posts\/what-is-an-incident\/\" >article about incidents<\/a>, I wrote:<\/p>\n<blockquote>\n<p>&ldquo;Raise an incident when you think a postmortem would be useful for what you are seeing.&rdquo;<\/p>\n<\/blockquote>\n<p>This also includes raising an incident for a near miss. A <strong>near miss<\/strong> refers to an event that could have caused an incident, outage, security breach, or service degradation \u2014 but ultimately did not. Near misses can be a great source of learning, and <a href=\"https:\/\/www.ishn.com\/articles\/109182-the-safety-triangle-a-useful-yet-complicated-theory\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">reducing near-misses can reduce actual incidents<\/a>. Making them visible can also be an integral part in making your organisation more <a href=\"https:\/\/jensrantil.github.io\/posts\/safety-type-1-and-2\/\" >resilient<\/a> to failures.<\/p>"},{"title":"Incident priority, severity & impact","link":"https:\/\/jensrantil.github.io\/posts\/incident-priority-severity-impact\/","pubDate":"Mon, 19 Jan 2026 16:14:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/incident-priority-severity-impact\/","description":"<p>An <a href=\"https:\/\/jensrantil.github.io\/posts\/what-is-an-incident\/\" >incident<\/a> framework usually has the concept of an <strong>incident priority<\/strong>: priority 1 (&ldquo;Systems are DOWN!&rdquo;), priority 2 (&ldquo;I can log in, but there is a bug.&rdquo;), etc. Incident priorities are mostly used for two things:<\/p>\n<p><strong>Operational:<\/strong> To help operators and on-callers quickly guide them on how serious an ongoing incident is and help them prioritize their work. A low-priority (priority 3) incident can wait until after the weekend. For example, a high-priority (priority 1) incident means &ldquo;all hands on deck&rdquo; and possibly waking up your colleagues in the middle of the night.<\/p>"},{"title":"What is an incident, anyway?","link":"https:\/\/jensrantil.github.io\/posts\/what-is-an-incident\/","pubDate":"Wed, 17 Dec 2025 16:57:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/what-is-an-incident\/","description":"<h1 id=\"incident-process\">\n Incident process?\n <a class=\"heading-link\" href=\"#incident-process\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h1>\n<p>Many companies have an incident process. An incident process (often called an incident management process) is a defined set of steps an organization follows to detect, respond to, manage, resolve, and learn from incidents that disrupt normal operations or pose a risk.<\/p>\n<figure>\n<div class=\"mermaid\">\nflowchart LR\n A[Incident detected] --> B\n B[Incident declared] --> C\n C[Mitigation in place] --> D\n D[Incident resolved] --> E\n E[Incident review] --> F\n F[Corrective \/ Preventive Actions] --> G[Incident closed]\n\n<\/div>\n\n<caption>A common incident process.<\/caption>\n<\/figure>\n<p>The exact meaning depends a bit on the field, but the core idea is the same: handle unexpected problems in a structured, repeatable way.<\/p>"},{"title":"LinkedIn and Toxic Positivity","link":"https:\/\/jensrantil.github.io\/posts\/linked-and-toxic-positivity\/","pubDate":"Fri, 05 Sep 2025 14:30:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/linked-and-toxic-positivity\/","description":"<figure>\n <img src=\"linkedin-speak.png\" alt=\"A screenshot of Kagi Translate when it translates 'i suck at my job'. It gets translated to 'I am currently embracing a period of professional growth and seeking new challenges to better align my unique skill set with a role that fosters continuous improvement and high-impact results.'.\">\n <figcaption>\n <p>Kagi Translate supports translating from English to LinkedIn Speak.<\/p>\n <\/figcaption>\n<\/figure>\n<p><strong>I rarely rant on this blog. But for a change, now is the time!<\/strong><\/p>\n<p>In Swedish, there is the expression &ldquo;Axelklapparklubben&rdquo; which literally translates to &ldquo;The Back-patting club&rdquo;. It&rsquo;s a mutual admiration society, an expression that is used to describe a setting where every participant is only telling each other how great they are.<\/p>"},{"title":"Business contracts are transport agnostic","link":"https:\/\/jensrantil.github.io\/posts\/simple-contract-testing\/","pubDate":"Sun, 27 Apr 2025 13:40:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/simple-contract-testing\/","description":"<p>I have never been a big fan of how some people equate &ldquo;contract testing&rdquo; with using something like <a href=\"https:\/\/docs.pact.io\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">PACT<\/a>. There are other ways of doing contract testing, but a lot of engineers don&rsquo;t seem to know this. Today, I thought I would write something about this.<\/p>\n<h2 id=\"contract-testing\">\n Contract testing?\n <a class=\"heading-link\" href=\"#contract-testing\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p><em>Contract testing<\/em> is about making sure that two pieces of software (usually two services) can communicate correctly with each other, and that they agree on how they should talk.<\/p>"},{"title":"Work Charades and Values","link":"https:\/\/jensrantil.github.io\/posts\/work-charades\/","pubDate":"Sat, 12 Apr 2025 23:10:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/work-charades\/","description":"<blockquote>\n<p><strong>Charade.<\/strong> A pretense or false show \u2014 something that\u2019s meant to look real or sincere but is actually fake or deceptive. Like a theater.<\/p>\n<\/blockquote>\n<p>Sometimes, I have felt like work, the professional domain, is like a real-life role-playing game. Stepping into an office has occasionally been like stepping into an improv theater where rules apply that don&rsquo;t otherwise:<\/p>\n<p><a href=\"https:\/\/www.forbes.com\/councils\/theyec\/2019\/12\/03\/feelings-and-their-place-at-work\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\"><strong>Feelings should be left outside the office<\/strong><\/a>, yet all of us <em>are<\/em> human beings with feelings. There is strong evidence that gut feeling and feelings play a major role in making the right decisions, including business decisions. Yet, there are work places that do not tap into that.<\/p>"},{"title":"The Dangers of an IDE","link":"https:\/\/jensrantil.github.io\/posts\/integrated-development-environments-harmful\/","pubDate":"Tue, 11 Mar 2025 10:38:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/integrated-development-environments-harmful\/","description":"<p><em>I recently stumbled across the post <a href=\"https:\/\/charlespetzold.com\/etc\/DoesVisualStudioRotTheMind.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;Does Visual Studio Rot The Mind?&rdquo;<\/a> and I was reminded of a blog post that I read a very long time ago and could not find on the Internet. I thought I would write down the gist of that article here such that I can share links to it later.<\/em><\/p>\n<p>There is this theory that the best and most beautiful code was written before the nineties, before the introduction of modern <emph title=\"Integrated Development Environments\">IDEs<\/emph> such as VSCode, Eclipse, IntelliJ, Visual Studio, et al. Why? It forced programmers to keep their code in their heads.<\/p>"},{"title":"Apache Kafka in 15 minutes","link":"https:\/\/jensrantil.github.io\/posts\/apache-kafka-architecture\/","pubDate":"Sat, 22 Feb 2025 20:23:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/apache-kafka-architecture\/","description":"<p>This post will be the first in a series of blog posts where I will be talking about the limitations of <a href=\"https:\/\/kafka.apache.org\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Apache Kafka<\/a> as a task queue and how we overcame these limitations at a previous employer where I managed tens of fairly high-throughput Apache Kafka clusters. This post will lay the groundwork for explaining how Apache Kafka works, such that the rest of the posts are easy to follow.<\/p>\n<p>Hopefully, these articles will avoid future battle scars for people who dabble with Apache Kafka. &#x2764;&#xfe0f; &#x1f915;<\/p>"},{"title":"A one-on-one template","link":"https:\/\/jensrantil.github.io\/posts\/one-on-one-template\/","pubDate":"Thu, 16 Jan 2025 18:16:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/one-on-one-template\/","description":"<p>I have used the same <a href=\"https:\/\/docs.google.com\/document\/d\/1Det7O1UQxIFgUywivldqTejmhyyeQ-YD1CNxXcGTPV0\/edit?usp=sharing\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">one-on-one template<\/a> with my last six managers, including other regular check-ins. I am very happy with it! A recent conversation with a friend made me realize I better share the template with the world. If nothing else, I should share it for my own sake - in case I need it again in the future.<\/p>\n<p>The template has given me a lot of structure to my one-on-ones which I previously never had. It has also guided my one-on-ones toward more actionable meetings, focusing on what needs to happen next.<\/p>"},{"title":"Raise and Release","link":"https:\/\/jensrantil.github.io\/posts\/raise-and-release\/","pubDate":"Fri, 10 Jan 2025 13:26:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/raise-and-release\/","description":"<p>Amazon&rsquo;s founder Jeff Besos is famous for his &ldquo;disagree and commit&rdquo; management principle used in leadership. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Disagree_and_commit\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">According to Wikipedia<\/a>, it means &ldquo;that individuals are allowed to disagree while a decision is being made, but that once a decision has been made, everybody must commit to implementing the decision&rdquo;.<\/p>\n<p>I have a slight variation on this which I call &ldquo;Raise and Release&rdquo;, which happens <em>before<\/em> a decision has been made. I use this principle particularly when someone proposes something I strongly disagree with &ndash; or know will fail &ndash; but for cases where I can&rsquo;t affect the actual decision. Usually, it is for cases where I am &ldquo;consulted&rdquo; or &ldquo;informed&rdquo; in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Responsibility_assignment_matrix\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">RACI<\/a> sense.<\/p>"},{"title":"Pair and mob sessions","link":"https:\/\/jensrantil.github.io\/posts\/pair-mob-sessions\/","pubDate":"Thu, 19 Dec 2024 13:26:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/pair-mob-sessions\/","description":"<p>Many people believe pair programming has to be a session where coding is the only action. I don&rsquo;t think so. Pair programming is a session that involves things like knowledge transfer, discussions, debugging, <em>and<\/em> coding.<\/p>\n<p>I see similarities between this flawed mindset and people thinking that typing faster on a keyboard makes you a more efficient programmer. Creating software is not just typing out code. It also includes things like thinking, collaborating, exploring, and iterating.<\/p>"},{"title":"Good process is invisible","link":"https:\/\/jensrantil.github.io\/posts\/good-process-is-invisible\/","pubDate":"Fri, 06 Dec 2024 22:10:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/good-process-is-invisible\/","description":"<p>Throughout my career I have heard <em>soooo<\/em> many people complain about the general concept of <em>process<\/em> - the standardized series of steps needed to perform a task. Saying something like &ldquo;I think we might be helped by coming up with a process for this&rdquo; has given me the looks as if I brought a skunk to a garden party. Nobody wants a process.<\/p>\n<p>Processes exist to structure, manage, and optimize tasks, particularly complex multi-step tasks. For example, a process can help reduce mistakes or cognitive overhead.<\/p>"},{"title":"Reliability vs. Resilience","link":"https:\/\/jensrantil.github.io\/posts\/safety-type-1-and-2\/","pubDate":"Tue, 05 Nov 2024 16:19:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/safety-type-1-and-2\/","description":"<p>In safety systems engineering (SSE) people talk about &ldquo;safety type 1&rdquo; and &ldquo;safety type 2&rdquo;. The first one is about prevention &amp; <strong>reliability<\/strong>, the second is about <strong>resilience<\/strong>. Type 1 has been around for a long time, and type 2 is <a href=\"https:\/\/www.england.nhs.uk\/signuptosafety\/wp-content\/uploads\/sites\/16\/2015\/10\/safety-1-safety-2-whte-papr.pdf\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">fairly new<\/a>.<\/p>\n<h2 id=\"prevention-will-not-save-us\">\n Prevention will not save us\n <a class=\"heading-link\" href=\"#prevention-will-not-save-us\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>Software systems (and software companies) are complex. And for complex systems, type 1 safety (prevention) will not save us. Three key reasons:<\/p>"},{"title":"Incident review action items","link":"https:\/\/jensrantil.github.io\/posts\/incident-action-items\/","pubDate":"Thu, 31 Oct 2024 11:04:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/incident-action-items\/","description":"<p>I recently read the article <a href=\"https:\/\/surfingcomplexity.blog\/2024\/09\/28\/why-i-dont-like-discussing-action-items-during-incident-reviews\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;Why I don\u2019t like discussing action items during incident reviews&rdquo;<\/a> by Lorin Hochstein. The article lists a few reasons why action items should not be discussed during incident reviews<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1<\/a><\/sup>. While I personally think an incident review is a great place to think about possible action items, I <em>am<\/em> missing one major reason to not decide on action items in that meeting: <strong>An incident review is <em>not<\/em> a planning session.<\/strong><\/p>"},{"title":"A large project, broken up","link":"https:\/\/jensrantil.github.io\/posts\/large-project-breakup\/","pubDate":"Tue, 29 Oct 2024 10:31:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/large-project-breakup\/","description":"<p>Earlier this year, I was on a complex multi-team project that was handed to us by our product organization. The project had a lot of dependencies between teams and could have been a disaster. Today I would like to share an approach we took to structure the project into what eventually made it a success.<\/p>\n<p>The project was to deliver a new product feature, and the deadline was three months in the future. About 15 engineers were involved in this project, and close to no product owner was included in the project group to guide us.<\/p>"},{"title":"An example of throughput vs. latency","link":"https:\/\/jensrantil.github.io\/posts\/throughtput-vs-latency-example\/","pubDate":"Sat, 12 Oct 2024 00:41:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/throughtput-vs-latency-example\/","description":"<p>In software engineering jargon, people often speak of &ldquo;performance&rdquo; without defining specifically what they mean. Improving performance usually involves &ldquo;increasing throughput&rdquo;, or &ldquo;reducing latencies&rdquo;.<\/p>\n<p><em>Throughput<\/em> is measured in &ldquo;units over time&rdquo;, for example, &ldquo;bytes per second&rdquo;, or &ldquo;cars passing by every day&rdquo;.<\/p>\n<p><em>Latency<\/em>, meaning &ldquo;how long something takes&rdquo;, is measured in &ldquo;time per operation&rdquo;. For example, how long it takes to load a website or send an image.<\/p>\n<p>I remember my early days of trying to understand the difference. My breakthrough came when somebody gave the following example:<\/p>"},{"title":"Engineers are not just builders","link":"https:\/\/jensrantil.github.io\/posts\/not-just-builders\/","pubDate":"Wed, 21 Aug 2024 08:44:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/not-just-builders\/","description":"<p>In the article <a href=\"https:\/\/jensrantil.github.io\/posts\/natural-solutions\/\" >&ldquo;Natural solutions&rdquo;<\/a>, I wrote<\/p>\n<blockquote>\n<p>[&hellip;] product engineering is equally much about defining the problems we are trying to solve.<\/p>\n<\/blockquote>\n<p>and I think that statement is somewhat more controversial than first meets the eye. The quote says something about the role of a product engineer and implies things like:<\/p>\n<ul>\n<li>Engineers are not just implementors of well-defined tickets and requirements.<\/li>\n<li>Engineers should preferably be able to define unclear requirements without involving someone else.<\/li>\n<li>Engineers are not just refining preexisting tickets but are also allowed to come up with new product ideas.<\/li>\n<\/ul>\n<p>This also implies that it is a product owner&rsquo;s job to ensure engineers have enough context to define unclear requirements and develop new product features (and avoid making the product owner a bottleneck).<\/p>"},{"title":"Natural solutions","link":"https:\/\/jensrantil.github.io\/posts\/natural-solutions\/","pubDate":"Thu, 08 Aug 2024 20:55:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/natural-solutions\/","description":"<p>I recently wrote about <a href=\"https:\/\/jensrantil.github.io\/posts\/the-problem-domain\/\" >the solution vs. problem space<\/a>. For years I have had this belief that <strong>given a problem that is well-defined enough, a solution will naturally unfold<\/strong>. In other words, <em>solutions are the natural fallout of well-defined problems<\/em>.<\/p>\n<p>But what is &ldquo;a well-defined problem&rdquo; anyway? It means having the answer to the following:<\/p>\n<ul>\n<li><strong>Problem you are trying to solve.<\/strong><\/li>\n<li><strong>Scope of the solution.<\/strong> Where to draw the boundary of what should be solved and what should not, when a solution must be ready, etc.<\/li>\n<li><strong>Our requirements &amp; non-requirements.<\/strong><\/li>\n<li><strong>Knowing our <a href=\"https:\/\/spinemodel.info\" class=\"external-link\" target=\"_blank\" rel=\"noopener\"><em>needs, values, principles, practices &amp; tools<\/em><\/a>.<\/strong><\/li>\n<\/ul>\n<p>A common misunderstanding is that the list above must be known before starting a solution, leading to a waterfall process. This is not the case! One of the biggest shifts I have had as an engineering leader is being able to move more freely from solution to problem space <em>and back again<\/em>. Solving a problem usually involves an iterative process of moving back and forth between problem and solution space. For example, it can go something like this:<\/p>"},{"title":"CrowdStrike: Risk assessment is better off at the sharp end","link":"https:\/\/jensrantil.github.io\/posts\/centralised-risk-management\/","pubDate":"Wed, 31 Jul 2024 17:36:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/centralised-risk-management\/","description":"<p>Today I wanted to write something about <a href=\"https:\/\/en.wikipedia.org\/wiki\/2024_CrowdStrike_incident\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">the recent CrowdStrike Falcon incident<\/a> and about one contributing factor, namely <em>centralised risk management<\/em>.<\/p>\n<h2 id=\"the-importance-of-local-risk-assessment\">\n The importance of local risk assessment\n <a class=\"heading-link\" href=\"#the-importance-of-local-risk-assessment\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>I recently watched <a href=\"https:\/\/www.youtube.com\/watch?v=IEYN38nir_w\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">the trailer<\/a> for the movie <a href=\"https:\/\/www.youtube.com\/watch?v=EeIucLnEa24\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;Safety Differently&rdquo;<\/a> by Sidney Dekker. One of the things it talks about is that <strong>the farther you are from a system, the less effective your risk management is likely to be<\/strong>. This includes assessing risks and putting controls in place to mitigate those risks. Or to put it another way, the operators of a system <em>at the edge<\/em> are usually the best people to do risk assessment, come up with controls, and defend against catastrophes.<\/p>"},{"title":"A common problem with ADR implementations","link":"https:\/\/jensrantil.github.io\/posts\/the-adr-problem\/","pubDate":"Sun, 07 Jul 2024 00:31:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/the-adr-problem\/","description":"<p>In the article <a href=\"https:\/\/martinfowler.com\/articles\/scaling-architecture-conversationally.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Scaling the Practice of Architecture,\nConversationally<\/a> by Andrew Harmel-Law he talks about the concept\nof <a href=\"https:\/\/martinfowler.com\/articles\/scaling-architecture-conversationally.html#adr\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Architectural Decision Records (ADRs)<\/a> as a way to align and document\narchitectural decisions.<\/p>\n<p>In short, an ADR is a record stored in a central <em>log<\/em> where architectural\ndecisions are documented. Usually, the decision log is checked into version\ncontrol somewhere.<\/p>\n<p>A record includes things like what the decision was, what alternatives were\nconsidered, the consequences of the decision, and the context that led up to\nit. Commonly, an ADR also has a URL that makes it easy to share it in\nconversations.<\/p>"},{"title":"The Problem Space","link":"https:\/\/jensrantil.github.io\/posts\/the-problem-domain\/","pubDate":"Sat, 06 Jul 2024 17:12:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/the-problem-domain\/","description":"<p>As engineers, we are great at solving problems and working in the &ldquo;solution\nspace&rdquo;. But, unfortunately, many engineers are quite bad at defining the\nproblem(s) we are trying to solve in the &ldquo;problem space&rdquo;. Let me explain!<\/p>\n<p>Working in the <strong>solution space<\/strong> involves things such as designing, coding,\ndrawing, improving performance, or refactoring. It&rsquo;s usually what many\nengineers would describe as &ldquo;work&rdquo;.<\/p>\n<p>The <strong>problem space<\/strong>, on the other hand, involves things like defining the\nobjective of a task, what the requirements are, what is in scope, what is out\nof scope, and attending workshops. It also includes prioritizing what is the\nmost important thing to solve now, and which things can be done later. The\nproblem domain also includes <em>understanding your customers and the problems\nthey are facing<\/em>.<\/p>"},{"title":"Architecture at multiple scales","link":"https:\/\/jensrantil.github.io\/posts\/multiscale-architecture\/","pubDate":"Wed, 03 Jul 2024 09:40:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/multiscale-architecture\/","description":"<p>There is a belief that &ldquo;software architecture&rdquo; only involves designing the &ldquo;big\npicture&rdquo; of how software is built. For example, drawing boxes and arrows how\nmicroservices integrate, or how larger modules of a code base should be\norganized and coupled together.<\/p>\n<p>I beg to differ. I think of architecture simply as &ldquo;how to organize and\nassociate technical components&rdquo; where the term &ldquo;technical component&rdquo; is left\nexplicitly vague. Just like defined above, a technical component <em>can<\/em> be a\nmicroservice, or a module. But it can equally be how functions call each other,\nor even the order of how sub-components (if conditionals and for loops) in a\nfunction are written. That is, I think of <em>architecture<\/em> as concept that\napplies <em>both at grand scales and micro scales<\/em>. Sort of like a\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Fractal\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">fractal<\/a>.<\/p>"},{"title":"Tools for innovation in tech","link":"https:\/\/jensrantil.github.io\/posts\/tools-for-innovation-in-tech\/","pubDate":"Tue, 28 May 2024 10:57:46 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/tools-for-innovation-in-tech\/","description":"<p>Innovation is the skill of going from idea to action. If innovation is low,\nideas risk getting lost or discarded and you risk missing out on great\nopportunities.<\/p>\n<p><strong>As a tech organization, how do you make sure that you are innovating?<\/strong> In my\nopinion, innovation doesn&rsquo;t &ldquo;just happen&rdquo;. It&rsquo;s part of <a href=\"https:\/\/iism.org\/article\/why-are-ceos-failing-software-engineers-56\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Creative\nManagement<\/a>. While the dream scenario is that any\nengineers can propose an idea to work on within their team sprint, I have seen\nmultiple reasons why this fails:<\/p>"},{"title":"What's in a good answer?","link":"https:\/\/jensrantil.github.io\/posts\/a-good-answer\/","pubDate":"Sat, 18 May 2024 22:20:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/a-good-answer\/","description":"<p><em>This is a follow-up on <a href=\"https:\/\/jensrantil.github.io\/posts\/asking-good-questions\/\" >How to Ask Good Questions<\/a>.<\/em><\/p>\n<p>Just like asking questions is an art form, answering them requires some skill.\nHere are some general recommendations on things to think about when answering a\nquestion:<\/p>\n<h2 id=\"keep-a-friendly-tone\">\n Keep a friendly tone\n <a class=\"heading-link\" href=\"#keep-a-friendly-tone\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>A person asking a question is implicitly in a vulnerable position; They expose\nthemselves to not knowing something. I think that makes it extra important to\ntreat the person with extra respect for stepping out of their comfort zone.\nThis is particularly important with new-hires.<\/p>"},{"title":"On staging environments","link":"https:\/\/jensrantil.github.io\/posts\/on-staging-environments\/","pubDate":"Sun, 12 May 2024 15:44:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/on-staging-environments\/","description":"<div class=\"notice info\">\n <div class=\"notice-title\">\n <i class=\"fa-solid fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Info\n <\/div>\n <div class=\"notice-content\">This article is about staging environments, but it almost equally applies to the concept of single-tenant environments.<\/div>\n<\/div>\n\n<blockquote>\n<p>The ultimate quality assurance is when customers get their hands on your\nsoftware and actually try it. <em>That&rsquo;s<\/em> when you know if your software does what\nit&rsquo;s supposed to do or not. This happens in production.<\/p>\n<\/blockquote>\n<p>Every technical decision has a tradeoff, but certain things are\nrarely challenged in our industry. Having a staging environment<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1<\/a><\/sup>, and having\nevery change go through that staging environment, are two of those things.<\/p>"},{"title":"Security is just one part of risk","link":"https:\/\/jensrantil.github.io\/posts\/security-and-risk\/","pubDate":"Sun, 12 May 2024 10:28:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/security-and-risk\/","description":"<p>I think our software industry sometimes is blindsided when it comes to\nsecurity. Don&rsquo;t get me wrong, I am of course in favor of good security\npractices. But I think we could get better at understanding the trade-offs when\nimproving security.<\/p>\n<h2 id=\"a-story\">\n A story\n <a class=\"heading-link\" href=\"#a-story\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>At a previous employer, we partnered with a big bank. They were using our\nSaaS&rsquo;s REST API over the Internet. For security they used<\/p>"},{"title":"A workshop on evolutionary systems design","link":"https:\/\/jensrantil.github.io\/posts\/evolutionary-systems-design-workshop\/","pubDate":"Thu, 09 May 2024 19:45:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/evolutionary-systems-design-workshop\/","description":"<p>The <a href=\"https:\/\/agilemanifesto.org\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Agile Manifesto<\/a> states<\/p>\n<blockquote>\n<p><strong>Responding to change<\/strong> over following a plan<\/p>\n<\/blockquote>\n<p>This implies that we must design our systems to be malleable to change and\nallow for <em>evolutionary design<\/em>.<\/p>\n<p>Becoming good at evolutionary systems design requires practice, and sadly,\nprogramming education doesn&rsquo;t teach this enough! Because of this, I ran a\nworkshop at <code>$previousEmployer<\/code> to teach how you can arrive at a completely\ndifferent solution if building it up iteratively vs. having all the\nrequirements from the start.<\/p>"},{"title":"A Data Structures and Algorithms Self-Study Curriculum","link":"https:\/\/jensrantil.github.io\/posts\/data-structure-algorithm-curriculum\/","pubDate":"Mon, 26 Feb 2024 23:45:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/data-structure-algorithm-curriculum\/","description":"<h2 id=\"background-story\">\n Background Story\n <a class=\"heading-link\" href=\"#background-story\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>Imagine you&rsquo;re mentoring an engineer who&rsquo;s eager to brush up on their coding\nskills after a hiatus from programming. This was precisely the scenario I found\nmyself in recently. A mentee of mine had been away from coding for quite some\ntime and was keen to get back into the swing of things, particularly focusing\non data structures and algorithms.<\/p>"},{"title":"My first podcast recording","link":"https:\/\/jensrantil.github.io\/posts\/i-was-on-a-postcast\/","pubDate":"Mon, 26 Feb 2024 22:38:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/i-was-on-a-postcast\/","description":"<p>I was on <a href=\"https:\/\/evolutionjobs.com\/exchange\/evo-nordics-475-sre-ownership\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">my first podcast discussing the topic of &ldquo;SRE &amp; Full Ownership&rdquo;<\/a>! We recorded it on the 8th of\nDecember, it was published &amp; <a href=\"https:\/\/www.linkedin.com\/posts\/georgia-benton-b899ba13b_evo-nordics-475-sre-ownership-activity-7156768373861699584-FClp?utm_source=share&amp;utm_medium=member_desktop\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">announced<\/a> on the 25th of January, and I finally took the time\nto listen to it fully - and vetted it worthy of sharing. &#x1f605; I\nthought I would write a little bit about the experience.<\/p>\n<div class=\"notice info\">\n <div class=\"notice-title\">\n <i class=\"fa-solid fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Info\n <\/div>\n <div class=\"notice-content\"><p>Links to the podcast:<\/p>\n<ul>\n<li><a href=\"https:\/\/soundcloud.com\/user-333104763\/evo-nordics-475-sre-ownership\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Soundcloud<\/a><\/li>\n<li><a href=\"https:\/\/open.spotify.com\/episode\/0tRXkQyDOKUYW29V3KDxFI?si=aKYJSSnrTmq7xPtzwUlBqg\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Spotify<\/a><\/li>\n<li><a href=\"https:\/\/podcasts.apple.com\/us\/podcast\/evolution-exchange-nordics-podcast\/id1572442468?uo=4\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Apple Podcast<\/a><\/li>\n<\/ul><\/div>\n<\/div>\n\n<h2 id=\"how-it-all-began\">\n How it all began\n <a class=\"heading-link\" href=\"#how-it-all-began\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>It all started with me being reached out to by Georgia (the host) at <a href=\"https:\/\/evolutionjobs.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Evolution\nJobs<\/a>. Alex, one of the podcast guests that I had met a few weeks\nearlier had recommended me and had an idea for a topic that he thought we all\nwould be able to contribute to - <strong>SRE &amp; Full Ownership<\/strong>. I accepted. I felt\nthis was a topic I would naturally be able to have a conversation around and\nhave opinions on; The &ldquo;Full Ownership&rdquo; part was very close to <em>DevOps as a\nCulture<\/em> which is something near and dear to me - and I have been working in\nthe SRE space for many years.<\/p>"},{"title":"My simplicity toolkit: Testing","link":"https:\/\/jensrantil.github.io\/posts\/software-testing-simplicity\/","pubDate":"Sun, 18 Feb 2024 09:45:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/software-testing-simplicity\/","description":"<div class=\"notice info\">\n <div class=\"notice-title\">\n <i class=\"fa-solid fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Info\n <\/div>\n <div class=\"notice-content\">This post is part of my blog series about <a href=\"https:\/\/jensrantil.github.io\/categories\/my-simplicity-toolkit\/\" ><em>My Simplicity\nToolkit<\/em><\/a>. I highly suggest you read <a href=\"https:\/\/jensrantil.github.io\/posts\/my-simplicity-toolkit\/\" >the introductory post<\/a> before reading this one.<\/div>\n<\/div>\n\n<p>In <a href=\"https:\/\/jensrantil.github.io\/posts\/my-simplicity-toolkit\/\" >my initial post<\/a> on this blog post series I wrote about\nthe verb <a href=\"https:\/\/www.youtube.com\/watch?si=AYiDh-n_KMwCLwl4&amp;t=1895&amp;v=SxdOUGdseq4&amp;feature=youtu.be\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;to complect&rdquo;<\/a>. It means to braid something together. In\nthis article, I am giving examples of things related to testing that tend to be\nunnecessarily complected together.<\/p>\n<p>Building up a suite of maintainable tests is all about trying to avoid\ncomplecting things unless truly necessary. Notice that complecting things\n<em>is<\/em> necessary at times, just not always.<\/p>"},{"title":"A maturity model for data-driven teams","link":"https:\/\/jensrantil.github.io\/posts\/a-data-driven-maturity-model\/","pubDate":"Fri, 16 Feb 2024 14:00:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/a-data-driven-maturity-model\/","description":"<p>I recently read the excellent article <a href=\"https:\/\/www.amorphousdata.com\/blog\/data-is-not-a-strategy\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Data is not a\nStrategy<\/a>. It reminded me that I&rsquo;ve been wanting to share\nsome of my own learnings and thoughts when it comes to data-driven teams:<\/p>\n<p>I was part of a big push to introduce service levels at my previous job. The\nobjective of the project was to make our company data-driven when it came to\noperational excellence. A thing I kept seeing was that many people saw the\nproject as a <em>technical<\/em> project; gathering metrics, creating tooling for\ndefining SLIs\/SLOs &amp; dashboards, etc. We did all of that work, but still the\nproject did not succeed. Why? I kept reminding people that<\/p>"},{"title":"I once almost burned out","link":"https:\/\/jensrantil.github.io\/posts\/burnout\/","pubDate":"Fri, 12 Jan 2024 19:45:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/burnout\/","description":"<p>I have been very close to burnout two times in my career. At the same employer.\nBoth times, the following held:<\/p>\n<ul>\n<li><strong>Tight deadline.<\/strong> I had an urgent project on my shoulders with a very very\ntight deadline. In one of the cases, I also had a planned vacation starting\nwithin a week - and I feared having to cancel the entire sailing trip with\nmy friends (it was my boat).<\/li>\n<li><strong>Low capacity.<\/strong> I had known the project was coming any day for weeks but\nwas unable to start working on it. As such, my mental and emotional capacity\nwas already strained.<\/li>\n<li><strong>I was alone.<\/strong> I had no one to delegate to and was solely on my own. I was\nthe only person who knew the (DevOps) work that needed to be done. Despite\nme flagging for 6-12 months that I needed to offload some responsibilities.\nI felt helpless.<\/li>\n<li><strong>Constant nudging.<\/strong> The project was the highest priority project in the\ncompany. Everyone kept asking me how it was going, requesting status\nupdates, or if they could help (they could not - see the previous bullet).<\/li>\n<li>I <strong>worked day and night<\/strong>.<\/li>\n<\/ul>\n<p>Strictly speaking, I was not fully burned out; I was able to get out of bed, but\nmy entire body was shaking, I was unable to sleep, was annoyed, body\ntemperature was fluctuating between too hot &amp; too cold, and I had anxiety.<\/p>"},{"title":"An AI\/ML accuracy tale","link":"https:\/\/jensrantil.github.io\/posts\/ai-ml-accuracy-tale\/","pubDate":"Sat, 18 Nov 2023 23:55:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/ai-ml-accuracy-tale\/","description":"<p>I recently read the article <a href=\"https:\/\/shreyans.org\/google\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;What I learned getting acquired by\nGoogle&rdquo;<\/a> by Shreyans Bhansali. Shreyans wrote<\/p>\n<blockquote>\n<p>On the other hand there was the discovery that most Search improvements are\nmanually reviewed by engineers through \u2018side-by-side\u2019 comparisons between old\nand new results&hellip;on spreadsheets!<\/p>\n<\/blockquote>\n<p>The above quote reminded of how hard, and often understated, quality assurance\n(QA) in AI\/ML systems is. Each change to a model needs to be validated, and\nvalidation is <em>hard<\/em> and <em>cumbersome<\/em>. Also, the fact that models can have a\n<em>freshness<\/em> does not help - that means that quality assurance must be done\ncontinuously and treated as a <a href=\"https:\/\/sre.google\/sre-book\/service-level-objectives\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">service level<\/a>.<\/p>"},{"title":"My simplicity toolkit: Programming (part 2)","link":"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-2\/","pubDate":"Tue, 14 Nov 2023 23:00:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-2\/","description":"<div class=\"notice info\">\n <div class=\"notice-title\">\n <i class=\"fa-solid fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Info\n <\/div>\n <div class=\"notice-content\"><p>This is the second part of two talking about my simplicity toolkit when\nprogramming. If you have not read <a href=\"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-1\/\" >the previous post<\/a> I highly\nencourage you to do so first.<\/p>\n<p>This post is part of my blog series about <a href=\"https:\/\/jensrantil.github.io\/categories\/my-simplicity-toolkit\/\" ><em>My Simplicity\nToolkit<\/em><\/a>.<\/p><\/div>\n<\/div>\n\n<p>At the beginning of <a href=\"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-1\/\" >my previous post<\/a> about simplicity within\nprogramming, I talked about the numerous benefits that bringing simplicity to\n<a href=\"programming\" >programming<\/a> can be: Easy to understand, use, debug, etc.<\/p>"},{"title":"My simplicity toolkit: Programming (part 1)","link":"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-1\/","pubDate":"Tue, 07 Nov 2023 07:45:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-1\/","description":"<div class=\"notice info\">\n <div class=\"notice-title\">\n <i class=\"fa-solid fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Info\n <\/div>\n <div class=\"notice-content\">This post is part of my blog series about <a href=\"https:\/\/jensrantil.github.io\/categories\/my-simplicity-toolkit\/\" ><em>My Simplicity\nToolkit<\/em><\/a>. I suggest you read <a href=\"https:\/\/jensrantil.github.io\/posts\/my-simplicity-toolkit\/\" >the initial\npost<\/a> before reading this post.<\/div>\n<\/div>\n\n<p>In <a href=\"https:\/\/jensrantil.github.io\/posts\/my-simplicity-toolkit\/\" >the previous post<\/a> I talked about the difference\nbetween simple and easy. From the perspective of programming and writing code,\nsimple code\/functions\/methods\/objects are not trying to do multiple things\n(<a href=\"https:\/\/youtu.be\/SxdOUGdseq4?si=AYiDh-n_KMwCLwl4&amp;t=1895\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;complect&rdquo;<\/a>) unless needed. Some of the benefits that come\nnaturally with simplicity are the following:<\/p>"},{"title":"My simplicity toolkit: Intro","link":"https:\/\/jensrantil.github.io\/posts\/my-simplicity-toolkit\/","pubDate":"Mon, 06 Nov 2023 19:45:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/my-simplicity-toolkit\/","description":"<div class=\"notice info\">\n <div class=\"notice-title\">\n <i class=\"fa-solid fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Info\n <\/div>\n <div class=\"notice-content\"><p>Blog series:<\/p>\n<ol>\n<li><a href=\".\" >My simplicity toolkit: Intro (this page)<\/a><\/li>\n<li><a href=\"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-1\/\" >My simplicity toolkit: Programming (part 1)<\/a><\/li>\n<li><a href=\"https:\/\/jensrantil.github.io\/posts\/programming-simplicity-part-2\/\" >My simplicity toolkit: Programming (part 2)<\/a><\/li>\n<li><a href=\"https:\/\/jensrantil.github.io\/posts\/software-testing-simplicity\/\" >My simplicity toolkit: Testing<\/a><\/li>\n<li>My simplicity toolkit: Architecture<\/li>\n<li>My simplicity toolkit: Patterns<\/li>\n<\/ol><\/div>\n<\/div>\n\n<blockquote>\n<p>\u201cPerfection is Achieved Not When There Is Nothing More to Add, But When There\nIs Nothing Left to Take Away\u201d<\/p>\n<p>Antoine de Saint-Exupery<\/p>\n<\/blockquote>\n<p>When it comes to software engineering, I have increasingly come to value\n<em>simplicity<\/em> and going back to basics. I have been coding for ~25+ years (~15\nyears professionally) and have truly gone through <a href=\"https:\/\/medium.com\/@webseanhickey\/the-evolution-of-a-software-engineer-db854689243\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">The Evolution of a Software\nEngineer<\/a>. Throughout my career I have grown increasingly\nworried about the growing <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cargo_cult_programming\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">cargo culted<\/a> <a href=\"https:\/\/antirez.com\/news\/145\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">complexity in our\nindustry<\/a>.<\/p>"},{"title":"Autoscaling is not a panacea","link":"https:\/\/jensrantil.github.io\/posts\/autoscaling-not-a-panacea\/","pubDate":"Mon, 06 Nov 2023 17:25:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/autoscaling-not-a-panacea\/","description":"<p>Back in the day when The Cloud (AWS) was The New Hot Thing&#x2122;&#xfe0f;, I thought\nautoscaling would solve most of our problems related to costs, availability,\nperformance, and scalability. Over the years, I have learned that autoscaling\nhas a high maintenance cost, adds complexity, and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Ironies_of_Automation\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">doesn&rsquo;t solve all those\nproblems I initially thought it would<\/a>. In this article I\nwill give examples of incorrect assumptions I made when it came to autoscaling:<\/p>"},{"title":"Goodbye Disqus","link":"https:\/\/jensrantil.github.io\/posts\/goodbye-disqus\/","pubDate":"Tue, 31 Oct 2023 20:47:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/goodbye-disqus\/","description":"<blockquote class=\"twitter-tweet\"><p lang=\"en\" dir=\"ltr\">Enterprise hostage situation: First <a href=\"https:\/\/x.com\/disqus?ref_src=twsrc%5Etfw\">@disqus<\/a> roles out ads on all free tiers. A week later they e-mail all customers and offer a deal to remove the ads.<\/p>&mdash; Jens Rantil (@JensRantil) <a href=\"https:\/\/x.com\/JensRantil\/status\/1712388686363386141?ref_src=twsrc%5Etfw\">October 12, 2023<\/a><\/blockquote>\n<script async src=\"https:\/\/platform.x.com\/widgets.js\" charset=\"utf-8\"><\/script>\n\n\n<p>I just disabled blog post commenting on this blog after <a href=\"https:\/\/disqus.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Disqus<\/a>, my\nformer blog post comment system, rolled out a pretty horrible (or shall I\nsay&hellip;disqusting?) change.<\/p>\n<img src=\"ads-introduced.png\" alt=\"Screenshot of the mail from Disqus saying they have introduced ads.\" class=\"smaller\">\n<p>On the 26th of September, Disqus decided to introduce ads without any sort of\nwarning. And it wasn&rsquo;t just any kind of ads:<\/p>"},{"title":"How to ask good questions","link":"https:\/\/jensrantil.github.io\/posts\/asking-good-questions\/","pubDate":"Sun, 29 Oct 2023 10:01:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/asking-good-questions\/","description":"<p>As engineers, we all occasionally need to reach out and ask for help. Asking\nquestions is an art! By asking a question in a good way, you will receive the\nanswer you are looking for, faster. A well-phrased question is also respectful\nof the intended audience&rsquo;s time - not wasting their time to have to ask\nclarifying questions etc.<\/p>\n<p>As someone who has been answering questions and mentoring engineers for many\nyears, this post is a collection of useful practices to get your questions\nanswered quickly, efficiently, and effectively. Most recommendations in this\npost are independent of where the question is asked: Towards a local senior\nengineer in person or over a DM, on IRC for some open source project, on Stack\nOverflow, or in your company Slack, etc.<\/p>"},{"title":"MTTR is the wrong metric","link":"https:\/\/jensrantil.github.io\/posts\/mttr-is-the-wrong-metric\/","pubDate":"Wed, 04 Oct 2023 08:01:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/mttr-is-the-wrong-metric\/","description":"<blockquote class=\"twitter-tweet\"><p lang=\"en\" dir=\"ltr\">Shower thought: Why do we talk about MTTR (Mean Time To Resolution), when it\u2019s a latency? Wouldn\u2019t it make more sense to talk about P99TTR (99th percentile Time To Resolution) given that latencies usually have a long tail? \ud83e\udd14 <a href=\"https:\/\/x.com\/hashtag\/MTTR?src=hash&amp;ref_src=twsrc%5Etfw\">#MTTR<\/a> <a href=\"https:\/\/x.com\/hashtag\/SRE?src=hash&amp;ref_src=twsrc%5Etfw\">#SRE<\/a> <a href=\"https:\/\/x.com\/hashtag\/DevOps?src=hash&amp;ref_src=twsrc%5Etfw\">#DevOps<\/a><\/p>&mdash; Jens Rantil (@JensRantil) <a href=\"https:\/\/x.com\/JensRantil\/status\/1369762301293781002?ref_src=twsrc%5Etfw\">March 10, 2021<\/a><\/blockquote>\n<script async src=\"https:\/\/platform.x.com\/widgets.js\" charset=\"utf-8\"><\/script>\n\n\n<p>Today I would like to talk about why Mean Time To Recovery (MTTR) is a wrong\nmetric to look at.<\/p>\n<p>For the past few years many software engineers have been using <a href=\"https:\/\/cloud.google.com\/blog\/products\/devops-sre\/using-the-four-keys-to-measure-your-devops-performance\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">the DORA\nmetrics<\/a> to track the performance of software delivery. One of the DORA\nmetrics is &ldquo;Time to Restore Service&rdquo;, also known as &ldquo;Mean Time To Recovery\n(MTTR)&rdquo;. A couple of years ago Courtney Nash wrote <a href=\"https:\/\/www.verica.io\/blog\/mttr-is-a-misleading-metric-now-what\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;MTTR is a Misleading\nMetric\u2014Now What?&rdquo;<\/a> where she criticized that the MTTR concept is too\nsimplistic. I could not agree more.<\/p>"},{"title":"Mean vs. median","link":"https:\/\/jensrantil.github.io\/posts\/mean-vs-median\/","pubDate":"Tue, 03 Oct 2023 22:22:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/mean-vs-median\/","description":"<p>Over the years, I have heard many people say something like<\/p>\n<blockquote>\n<p>Over 50% of people think they are better than the average car driver.<\/p>\n<\/blockquote>\n<p>They say this as if it&rsquo;s funny or sounds smart. But the fact is that actually\ncould be true, and the reason is because <em>mean and median are not the same\nthing<\/em>.<\/p>\n<p>When people take a basic course in statistics, they are likely to come out of\nit thinking that the world mostly consists of normal distributions. That is not\nsurprising, given that the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Central_limit_theorem\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Central Limit Theorem<\/a> states that many\nindependent variables with the same distribution converges to a normal\ndistribution. This does not apply everywhere. The Central Limit Theorem means\nstudents leave Statistics 101 having a visual representation of a statistical\ndistribution of a bell curve. I believe this has created a lot of confusion.<\/p>"},{"title":"Microretros","link":"https:\/\/jensrantil.github.io\/posts\/microretros\/","pubDate":"Tue, 03 Oct 2023 21:10:35 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/microretros\/","description":"<p>I tend to love a &ldquo;quick feedback&rdquo;. Usually, this applies to software\ndevelopment: Unit tests should execute fast, CI\/CD should fail fast, and\nminimum bureaucracy between coding and deploying, quick deployments, automated\nalerts when something fails, etc.<\/p>\n<p>Usually what many people think about when talking about &ldquo;quick feedback&rdquo; are\nthe above engineering practices. But the softer side of being an engineer also\nbenefits from quick feedback. That&rsquo;s why I would like to talk about\n<em>microretros<\/em> today.<\/p>"},{"title":"The hidden opportunity in feedback","link":"https:\/\/jensrantil.github.io\/posts\/the-hidden-opportunity-in-feedback\/","pubDate":"Mon, 18 Sep 2023 23:18:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/the-hidden-opportunity-in-feedback\/","description":"<p>Today I would like to talk about a missed opportunity when giving and receiving\nfeedback &ndash; mainly the discussion that happens afterwards. A classical way to\ngive feedback is using the <em>observed-perceived<\/em> method:<\/p>\n<ol>\n<li>Describe the <em>observed behavior<\/em> from your point of view. Do it as soon as\npossible about the specific behavior that occurs.<\/li>\n<li>Describe the <em>perceived impact<\/em> of the observed behavior.<\/li>\n<\/ol>\n<p>Unfortunately, what commonly follows is that the receiver of the feedback\nexplains why the observed behavior was so &ndash; followed by ending the feedback\nsession. &ldquo;Thanks for your feedback, Jens! I did that because X, Y, &amp; Z.&rdquo;, then\nwalking away thinking<\/p>"},{"title":"The theater tasks that add value","link":"https:\/\/jensrantil.github.io\/posts\/the-theater-tasks-that-add-value\/","pubDate":"Wed, 13 Sep 2023 12:49:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/the-theater-tasks-that-add-value\/","description":"<p>Throughout my career I&rsquo;ve been drilled to &ldquo;have a customer-first mindset&rdquo;. I\nhave written user stories, done user testing, measured customer impact, and had\nmanagers challenging me on what the &ldquo;customer value&rdquo; is of what I am working\non. This has had a very big impact on me and how I approach all technical work;\nI have often asked questions such as &ldquo;How will this impact our customer?&rdquo; and\n&ldquo;How can I put this in the hands of the customer as quickly as possible?&rdquo;.<\/p>"},{"title":"Fine-grained caching strategies of dynamic queries","link":"https:\/\/jensrantil.github.io\/posts\/fast-aggregate-queries-on-dynamic-data\/","pubDate":"Tue, 12 Sep 2023 21:25:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/fast-aggregate-queries-on-dynamic-data\/","description":"<p>Today I would like to talk about caching strategies for aggregate queries over\ntime-based data which is updated often. This is something I spent significant\nbrain-cycles on in my previous job and I would love to share some of my findings.<\/p>\n<h2 id=\"example-data--use-case\">\n Example data &amp; use case\n <a class=\"heading-link\" href=\"#example-data--use-case\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>For the sake of the rest of this post, let&rsquo;s say we have a relational database table containing financial transactions:<\/p>"},{"title":"A model for changing behaviors","link":"https:\/\/jensrantil.github.io\/posts\/a-model-for-changing-behaviors\/","pubDate":"Mon, 04 Sep 2023 22:38:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/a-model-for-changing-behaviors\/","description":"<p>As you progress more into an engineering leadership role, you not only work with technical\nsolutions, but you also need to drive change. And change usually involves\nchanging the behavior of people. You might start to notice that<\/p>\n<blockquote>\n<p>Tech is not actually the hardest of problems, humans are.<\/p>\n<\/blockquote>\n<p>For example, let&rsquo;s say that you want your engineers to start writing more unit tests in their day-to-day work. Setting up your programming language&rsquo;s common unit test library usually isn&rsquo;t that hard. But where it gets tricky is how you <em>actually<\/em> make engineers start writing those tests. For problems like this, I have found the Fogg Behavior Model very useful.<\/p>"},{"title":"The Knowledge Bottleneck I used to be","link":"https:\/\/jensrantil.github.io\/posts\/the-knowledge-bottleneck-i-used-to-be\/","pubDate":"Tue, 29 Aug 2023 14:06:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/the-knowledge-bottleneck-i-used-to-be\/","description":"<h2 id=\"the-problem\">\n The problem\n <a class=\"heading-link\" href=\"#the-problem\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>I was working at a startup and was the only engineer doing SRE &amp;\noperations-related work. This included things like setting sane limits, scaling\nsystems, provisioning servers, configuring AWS, CI\/CD, as well as a mix of\nvarious supporting infrastructure such as databases, monitoring &amp; alerting\ntools, and caches. At the time the startup consisted of a team of maybe 20\nengineers or so.<\/p>"},{"title":"The Upside of Impostor Syndrome","link":"https:\/\/jensrantil.github.io\/posts\/the-upside-of-impostor-syndrome\/","pubDate":"Mon, 28 Aug 2023 22:39:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/the-upside-of-impostor-syndrome\/","description":"<p>The upside of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Impostor_syndrome\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Impostor Syndrome<\/a> is that it means that you\nhave the capability of self-reflection \u2014 the possibility to look at yourself\nwith critical eyes. This is actually a healthy thing in small doses. I am sure\nmost of us have worked with a colleague who said \u201cThis is the only way\u201d and \u201cWe\nhave tried that, it will never work\u201d. These are narrow-minded engineers closed\noff to reconsider alternative solutions and explanations - they lack a healthy\nsense of self-reflection.<\/p>"},{"title":"Avoid the Junior word","link":"https:\/\/jensrantil.github.io\/posts\/avoid-the-junior-word\/","pubDate":"Mon, 28 Aug 2023 22:15:33 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/avoid-the-junior-word\/","description":"<p>I think calling someone, including yourself, a \u201cjunior\u201d engineer can have a\nnegative effect. Let me explain:<\/p>\n<p>The label is very black and white and that\u2019s not how the world works. There is\na wide range of knowledge involving being an engineer; You are good at some\nthings and less good at other things. I am sure that a \u201cjunior engineer\u201d is\nmuch better at some things than a more senior engineer who has worked for a\nlong time in the industry. \u201cJunior\u201d implies that you have little knowledge\nabout all the things. Instead of saying \u201c[\u2026] as me, who is quite Junior\u201d, say\nsomething like \u201c[\u2026] as me, who know less about X\u201d. By avoiding calling yourself\n\u201cjunior\u201d, you have one less mantra repeating that you know less than most\npeople \u2014 and you avoid getting stuck there.<\/p>"},{"title":"Waste in software development","link":"https:\/\/jensrantil.github.io\/posts\/waste-in-software-development\/","pubDate":"Tue, 27 Jun 2023 23:54:21 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/waste-in-software-development\/","description":"<h2 id=\"the-toyota-production-system\">\n The Toyota Production System\n <a class=\"heading-link\" href=\"#the-toyota-production-system\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>It was around ~2011 when I first read <a href=\"https:\/\/www.amazon.com\/Toyota-Way-Management-Principles-Manufacturer\/dp\/0071392319\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">The Toyota Way<\/a> book. This book\nintroduced me to <a href=\"https:\/\/en.wikipedia.org\/wiki\/The_Toyota_Way\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">The Toyota Way principles<\/a> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Toyota_Production_System\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">the Toyota Production\nSystem<\/a> (TPS). It laid the foundation for me to understand <a href=\"https:\/\/www.amazon.se\/-\/en\/Humble-Jez\/dp\/0321601912\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">the Continuous\nDelivery book<\/a> which I later read.<\/p>\n<p>The Toyota Way also lay the groundwork for me to understand the inter-related\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Lean_manufacturing\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Lean Manufacturing<\/a>, particularly <a href=\"https:\/\/en.wikipedia.org\/wiki\/Lean_services\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Lean services<\/a>\n(which applies the Lean concept to the service industry). However, since <a href=\"https:\/\/bobemiliani.com\/comparing-tps-and-lean\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">there\nhas been a lot of confusion about how various Lean concepts interrelate with\nTPS<\/a>, I will just stick to TPS for the sake of the rest of this\narticle.<\/p>"},{"title":"Three categories of teamwork","link":"https:\/\/jensrantil.github.io\/posts\/three-teamwork-categories\/","pubDate":"Mon, 22 May 2023 19:01:45 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/three-teamwork-categories\/","description":"<p>I recently wrote the post <a href=\"https:\/\/jensrantil.github.io\/posts\/three-buckets-of-my-time\/\" >&ldquo;The Three Buckets model&rdquo; for my own\ntime<\/a>. It reminded me of a similar model for how <em>teams<\/em> could\nspend their time.<\/p>\n<p>Back in the day I had a product owner (PO) for a former team who used to start\noff our sprint planning sessions with<\/p>\n<blockquote>\n<p>Here are the key <strong>product asks<\/strong> I think we should deliver this sprint. What\n<em>team initiatives<\/em> are <em>you<\/em> interested in driving?<\/p>\n<\/blockquote>"},{"title":"The Three Buckets of my time","link":"https:\/\/jensrantil.github.io\/posts\/three-buckets-of-my-time\/","pubDate":"Sun, 21 May 2023 23:50:03 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/three-buckets-of-my-time\/","description":"<p>I have a small framework for how I carve out my professional time. I think of\nmy working hours spent into three buckets:<\/p>\n<ul>\n<li>Teamwork (&ldquo;team bucket&rdquo;)<\/li>\n<li>Company-wide work (&ldquo;company bucket&rdquo;)<\/li>\n<li>My own initiatives (&ldquo;me bucket&rdquo;)<\/li>\n<\/ul>\n<p>Let&rsquo;s go through them one by one:<\/p>\n<h2 id=\"teamwork-team-bucket\">\n Teamwork (&ldquo;team bucket&rdquo;)\n <a class=\"heading-link\" href=\"#teamwork-team-bucket\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>Time spent in the &ldquo;teamwork&rdquo; bucket is time I spend on tasks related to the\nlocal team I am primarily working with. Usually these tasks are tied to issues\nin a ticketing system, but it also includes team ceremonies (retros or planning\netc.).<\/p>"},{"title":"Code as a self-serve experience","link":"https:\/\/jensrantil.github.io\/posts\/code-as-self-serve-experience\/","pubDate":"Tue, 09 May 2023 08:24:19 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/code-as-self-serve-experience\/","description":"<p>Using &ldquo;code as self-serve&rdquo;, such as Terraform or Kubernetes, in Platform\nEngineering is a rather bad idea. Let me explain why:<\/p>\n<p>These days <a href=\"https:\/\/www.honeycomb.io\/blog\/future-ops-platform-engineering\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">there is all the rage around Platform Engineering<\/a>,\nand in fact I spent my last few years at <code>$previousEmployer<\/code> doing exactly\nthis.<\/p>\n<p>One of the core tenets of &ldquo;Platform Engineering&rdquo; is the concept of\n<a href=\"https:\/\/blog.cycloid.io\/user-friendly-developer-self-service-the-key-to-platform-engineering\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;self-serve&rdquo;<\/a>. That is, instead of a Platform team acting as a\nblocker, you instead make sure to build a developer experience (DevEx) that\nenables engineers to do something themselves exactly when they need it. Just In\nTime! For example, if developers need a database they shouldn&rsquo;t need to reach\nout to the Platform Engineering team and ask for one. Instead, they should\nsimply be able to easily fire up a new database themselves within a few\nminutes.<\/p>"},{"title":"The downsides of batch APIs","link":"https:\/\/jensrantil.github.io\/posts\/downsides-of-batch-apis\/","pubDate":"Wed, 03 May 2023 12:50:41 +0200","guid":"https:\/\/jensrantil.github.io\/posts\/downsides-of-batch-apis\/","description":"<p>When an HTTP API is too slow to call repeatedly I have seen engineers\nimmediately turn to making the API <em>do more in one unit of work<\/em>. I think this\npattern can be very harmful and have many battle scars from this. So I thought\nI would write a post about it.<\/p>\n<h2 id=\"an-example\">\n An example\n <a class=\"heading-link\" href=\"#an-example\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>Let&rsquo;s start with an example: You have a web service that stores TODO items. It\nhas an API endpoint, <code>POST \/todo<\/code>, which gets called to add a new TODO item.\nHere is an example request\/response:<\/p>"},{"title":{},"link":"https:\/\/jensrantil.github.io\/pages\/about-me\/","pubDate":"Fri, 28 Apr 2023 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/pages\/about-me\/","description":"<h1 id=\"about-me\">\n About me\n <a class=\"heading-link\" href=\"#about-me\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h1>\n<p>I am a Staff software engineer working within the sphere of people, tech, and\nprocesses. <em>Quick feedback, iterations, and failing fast<\/em> are core tenets and of\nhigh value to me. I aim to be a <a href=\"https:\/\/www.amazon.com\/Force-Multiplier-Teams-Where-Everyone\/dp\/0998992704\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">force multiplier<\/a>.<\/p>\n<p><strong>People.<\/strong> I find pleasure in enabling teams and individuals in their daily\nwork by improving psychological safety, mentoring, and sharing knowledge.<\/p>\n<p><strong>Tech.<\/strong> I have a strong background in backend product development, software\narchitecture, service-oriented architecture, DevOps, site reliability\nengineering, and <a href=\"https:\/\/www.honeycomb.io\/blog\/future-ops-platform-engineering\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">platform engineering<\/a>. Some of my tech\ninsights and learnings can be <a href=\"https:\/\/www.quora.com\/What-are-the-best-secrets-of-great-programmers\/answer\/Jens-Rantil\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">found here<\/a>.<\/p>"},{"title":{},"link":"https:\/\/jensrantil.github.io\/pages\/services\/","pubDate":"Fri, 28 Apr 2023 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/pages\/services\/","description":"<h1 id=\"services\">\n Services\n <a class=\"heading-link\" href=\"#services\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h1>\n<p>I am the founder of <em>Sweet Potato Tech<\/em> which offers IT consultancy services in areas such as site reliability engineering (SRE), DevOps, platform engineering &amp; strategy, agile development, technical architecture, product development, and more. I offer training, workshops, coaching, mentoring, and hands-on technical work. It all depends on what your needs are.<\/p>\n<p>For inquiries, feel free to send me <a href=\"mailto:jens.rantil&#43;inquiries@gmail.com\" >an e-mail<\/a> or <a href=\"https:\/\/www.linkedin.com\/in\/jensrantil\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">reach out on LinkedIn<\/a>.<\/p>"},{"title":"On narrow integration tests","link":"https:\/\/jensrantil.github.io\/posts\/narrow-integration-tests\/","pubDate":"Mon, 13 Jan 2020 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/narrow-integration-tests\/","description":"<p><em>Narrow integration tests<\/em> are tests that only involve very few components,\nmostly relying on <a href=\"https:\/\/martinfowler.com\/articles\/mocksArentStubs.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">test\ndoubles<\/a> to simulate\nexternal dependencies. As always, we have Martin Fowler to thank for yet\nanother excellent\n<a href=\"https:\/\/martinfowler.com\/bliki\/IntegrationTest.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">article<\/a> on integration\ntests so I&rsquo;ll simply refer to that for the details of what a narrow integration\ntest is.<\/p>\n<p>That said, during 2019 I have grown increasingly convinced that the distinction\nbetween a narrow and wide integration (also know as <em>system tests<\/em> or <em>end-to-end tests<\/em>) is an important one, for two reasons:<\/p>"},{"title":"Testing strategy over time","link":"https:\/\/jensrantil.github.io\/posts\/testing-strategy-over-time\/","pubDate":"Sun, 12 Jan 2020 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/testing-strategy-over-time\/","description":"<p>Last year (2019) I spent a fair amount of time thinking about how to grow\n<a href=\"https:\/\/www.tinkapp.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Tink&rsquo;s<\/a> technical platform; how to organise ourselves\n&ndash; alignment vs. autonomy. What processes, tooling, and policies were needed\nfor our teams to build amazing, stable, performant things at a fast pace? Tink\nhad essentially doubled in size yearly for four years and the growth had really\npushed our engineering organization to the limits. We are now around 150\nengineers. We were less than 10 engineers when I started in early 2014.<\/p>"},{"title":"AWS ELBs and Availability","link":"https:\/\/jensrantil.github.io\/posts\/aws-elbs-and-availability\/","pubDate":"Sun, 06 May 2018 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/aws-elbs-and-availability\/","description":"<p>Recently I was reading the article <a href=\"https:\/\/blog.envoyproxy.io\/introduction-to-modern-network-load-balancing-and-proxying-a57f6ff80236\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">&ldquo;Introduction to modern network load\nbalancing and\nproxying&rdquo;<\/a>\nand I was reminded by something that has bothered, and still is bothering me,\nabout the AWS Load Balancers (ElasticLoad Balancers, or ELBs). The article\nquotes <a href=\"https:\/\/en.wikipedia.org\/wiki\/Load_balancing_%28computing%29\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">the Wikipedia article about Load\nBalancer<\/a> saying<\/p>\n<blockquote>\n<p>Using multiple components with load balancing instead of a single component\nmay increase reliability and availability through redundancy.<\/p>\n<\/blockquote>\n<p>I have always assumed that that&rsquo;s one of the major reasons why putting load\nbalancers in front of application servers. That&rsquo;s why I was surprised to learn\nthat if an AWS ELB make a TCP connection to an application it will <em>not<\/em> retry\nanother application server. Instead, for HTTP mode, it will return an <a href=\"https:\/\/httpstatuses.com\/503\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">HTTP\n503<\/a>. At <a href=\"https:\/\/www.tink.se\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Tink<\/a>, we learnt\nthis the hard way many years ago when a few application servers ran out of\nmemory and restarted. On a few servers we also did in-place application\nupgrades which also would yield 503s during the upgrade, <em>even if we were\ndraining the applications properly on shutdown<\/em>. We noticed that a spike of\n5XXs were being returned to our end-users until the ELBs healthcheck had\nrealized the service was down.<\/p>"},{"title":"Blog Update","link":"https:\/\/jensrantil.github.io\/posts\/blog-update\/","pubDate":"Sun, 06 May 2018 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/blog-update\/","description":"<p><em><strong>UPDATE: Since this blog post was written, I have migrated to another theme.\nHave a look at <a href=\"https:\/\/github.com\/JensRantil\/jensrantil.github.io\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">my blog repo<\/a> for how I have set set this up\ntoday.<\/strong><\/em><\/p>\n<p>I&rsquo;m happy to announce I&rsquo;ve finally gotten the time to migrate my blog from\n<a href=\"https:\/\/blog.getpelican.com\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Pelican<\/a> to <a href=\"https:\/\/gohugo.io\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Hugo<\/a>! The\nmigration started <a href=\"https:\/\/github.com\/JensRantil\/jensrantil.github.io\/commit\/01cc978f5d0f5b09fd8203b838c8ef314314f4ac\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">way too long\nago<\/a>.\nLife came in the way and last week, I finally got the time to migrate all\ncontent.<\/p>\n<h2 id=\"what-this-means-for-you-as-a-reader\">\n What this means for you as a reader\n <a class=\"heading-link\" href=\"#what-this-means-for-you-as-a-reader\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>Given that I&rsquo;ve put <a href=\"https:\/\/github.com\/JensRantil\/jensrantil.github.io\/commit\/25ee8f37ca094e666170245ecfc7dfb9b74fee08\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Continuous\nDelivery<\/a>\nin place and Hugo doesn&rsquo;t require a virtual Python environment and other bloat\naround it, writing posts will be much easier. So, expect a more continuous flow\nof content!<\/p>"},{"title":"How to (partially) declassify documents numbers","link":"https:\/\/jensrantil.github.io\/posts\/how-to-partially-declassify-document-numbers\/","pubDate":"Sat, 27 Dec 2014 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/how-to-partially-declassify-document-numbers\/","description":"<p>The day before Christmas Eve, the NSA published a bunch of\n<a href=\"https:\/\/www.nsa.gov\/public_info\/declass\/IntelligenceOversightBoard.shtml\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">declassified\nreports<\/a>\nthat have been handed to the President&rsquo;s Intelligence Oversight Board\n(IOD) for the past 10 years or so. I quickly scrolled through a couple\nof documents to find a lot of heavily redacted text:<\/p>\n<p><img src=\"https:\/\/jensrantil.github.io\/posts\/how-to-partially-declassify-document-numbers\/redacted-text.png\" alt=\"Redacted text.\"><\/p>\n<h2 id=\"the-idea\">\n The idea\n <a class=\"heading-link\" href=\"#the-idea\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>What struck me was that what most of the redacted text that I think the\npublic are interested in is the magnitude of NSA surveillance,\nnamely how large the redacted numbers are. I started asking myself,\n<strong>can the space that the redacted numbers take up on a document tell us\nanything about what&rsquo;s redacted behind the white boxes?<\/strong> I think the\nanswer is fairly obvious - yes - the number &ldquo;1000000&rdquo; definitely does\nnot fit into most boxes, so we can conclude that targetted surveillance\nis less than that. But can we do better?<\/p>"},{"title":"A follow-up on CouchDB as event store","link":"https:\/\/jensrantil.github.io\/posts\/follow-up-on-couchdb-as-eventstore\/","pubDate":"Tue, 25 Mar 2014 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/follow-up-on-couchdb-as-eventstore\/","description":"<p>I <a href=\"%7cfilename%7ccouchdb-as-event-store.rst\" >recently<\/a> wrote about using\nCouchDB as an event store. One issue that I mentioned briefly was that\nmy proposed solution would not work for a single aggregate root yielding\nmultiple key\/values in a CouchDB view:<\/p>\n<blockquote>\n<p>What a view cannot do is keep track of older versions of an aggregate\nroot.<\/p>\n<\/blockquote>\n<p>Recently I&rsquo;ve been revisiting this problem (because I find it fun to\nthink about) and have a slightly different solution to propose, namely\nto store all events for a single aggregate in a single document. That\nis, make the document have a list of events. This will solve all\nprevious requirements as well as:<\/p>"},{"title":"Salt vs. Ansible","link":"https:\/\/jensrantil.github.io\/posts\/salt-vs-ansible\/","pubDate":"Mon, 17 Mar 2014 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/salt-vs-ansible\/","description":"<p>Some time ago was set to evaluate configuration management systems. I&rsquo;ve\nheard opinions from someone I respect that\n<a href=\"http:\/\/puppetlabs.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Puppet<\/a> and <a href=\"http:\/\/www.getchef.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Chef<\/a> were\ncomplicated beasts to get up and running, and since I am a Python guy\nI&rsquo;ve generally always kept an eye on <a href=\"http:\/\/www.ansible.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Ansible<\/a>\nand <a href=\"http:\/\/www.saltstack.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Salt<\/a>. Ruby is so far not my thing, but\nhey let&rsquo;s not start a flamewar about that!<\/p>\n<p>Last year I got to spend a good 6 months working with Ansible for\nprovisioning of servers. I became very familiar with the tool. In that\nproject, Ansible was mostly chosen because it was easy to get started\nand had good documentation. The team I was working with was especially\nfond of the <a href=\"http:\/\/docs.ansible.com\/playbooks_best_practices.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Best\nPractises<\/a>\ndocumentation which got us started quickly and taught us what structure\nhad worked previously.<\/p>"},{"title":"Why the Web is so Slow","link":"https:\/\/jensrantil.github.io\/posts\/why-the-web-is-so-slow\/","pubDate":"Mon, 02 Dec 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/why-the-web-is-so-slow\/","description":"<p>I just read the blog post <a href=\"http:\/\/calendar.perfplanet.com\/2013\/why-is-the-web-so-slow\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Why is the web so\nslow?<\/a> by\n<a href=\"http:\/\/www.phpied.com\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Stoyan Stefanov<\/a>. This gave me the idea to give\nsome common reasons for the web to be slow. I&rsquo;ve been using &ldquo;web\napplication&rdquo; fairly sloppy here. It could also mean &ldquo;website&rdquo; etc. Here\nthey are:<\/p>\n<ul>\n<li>Because of actual distance from your computer to the webserver. The\nupper limit is the speed of light. This means that it is an\nimpossibility for information to travel from Sydney to London in\nless than ~0.056 seconds (17009 kilometers).<\/li>\n<li>Fetching a webpage requires a roundtrip of information; a request\nand response. This effectively nearly doubles the time to\nfetch something.<\/li>\n<li>Websites generally has a bunch of static files (images,\njavascript, CSS). The web browser has a\n<a href=\"http:\/\/stackoverflow.com\/questions\/985431\/max-parallel-http-connections-in-a-browser\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">limit<\/a>\non the number of files that can be fetched in parallel. Similar\nimages can be assembled into\n<a href=\"http:\/\/css-tricks.com\/css-sprites\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">sprites<\/a>, JavaScript and CSS\ncan be <a href=\"https:\/\/code.google.com\/p\/minify\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">combined and compressed<\/a>.<\/li>\n<li>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hypertext_Transfer_Protocol\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">HTTP\nprotocol<\/a>\ndoes not support a single connection fetching multiple static assets\nin parallel.<\/li>\n<li>SSL requires a longer complicated handshake and extra CPU when\nsending and receiving data.<\/li>\n<li>Because of unnecessary synchronicity in dynamic applications.\nHistorically it&rsquo;s been possible for developers to only update the\nportions of a website that needs update. However, the tools have not\nreally been up to speed. This has changed. Many modern JavaScript\nframeworks has created new opportunities here. Yes, I&rsquo;m thinking of\nyou <a href=\"http:\/\/angularjs.org\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">AngularJS<\/a>.<\/li>\n<li>Because of sloppy considerations of caching. Getting up to speed\nwith a web application is pretty easy. Getting HTTP caching right\nrequires some thought.<\/li>\n<li>Because many web applications have not migrated to use a\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Content_delivery_network\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">CDN<\/a>. If we\ncome together and all use CDNs, our visitors would be way more\nlikely to have the common static files cached.<\/li>\n<li>Because of complex rendering of websites. The implications of\ncomplex HTML structure and CSS selectors is that rendering of a\nwebsite is slow. KISS = Keep It Simple, Stupid.<\/li>\n<li>Because many web servers today are still not delivering compressed\nHTTP responses, such as GZip.<\/li>\n<li>Because many webdevelopers don&rsquo;t understand the implications of\nusing slow third party assets. Yes, I&rsquo;m looking at you Analytics and\nAd Companies! Slow assets gives website visitors the feeling that\nthe website is not done loading when 99% of the assets really are.<\/li>\n<li>Because many webdevelopers still are using JavaScript when they\ndon&rsquo;t have to. CSS3 can animate and allow for simple logic\nwithout JavaScript.<\/li>\n<li>Because we are sending cookies for a lot of content that does not\nrequire cookes.<\/li>\n<li>Because HTML is larger that it needs to be. Reusing CSS classes\nreduces the size of HTML to be fetched.<\/li>\n<li>Because images are sent when they really could be emulated\nusing CSS. This is a thing of the past that still bugs me.<\/li>\n<\/ul>\n<p>Google&rsquo;s networking protocol <a href=\"https:\/\/en.wikipedia.org\/wiki\/SPDY\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">SPDY<\/a>\naims to solve some of these issues and make the web faster.<\/p>"},{"title":"I'm a State Engineer. Are you, too?","link":"https:\/\/jensrantil.github.io\/posts\/lifecycles-and-states\/","pubDate":"Mon, 18 Nov 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/lifecycles-and-states\/","description":"<p>TL;DR: We need to have a more thorough discussion about state and\nlifecycles in our industry.<\/p>\n<p>I recently revisited <a href=\"http:\/\/12factor.net\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">The Twelve-Factor App<\/a> by\n<a href=\"https:\/\/www.heroku.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Heroku<\/a>. It&rsquo;s a great read if you are deploying\nyour own application, are interested in (organizational and\/or\ntechnincal) scaling or curious of best practices when it comes to\ndeployment.<\/p>\n<p>As I was reading the manifest it struck me that there are two words that\nI hear all too infrequently in our industry, namely <em>state<\/em> and\n<em>lifecycle<\/em>. The words have different meaning, yet they are related in\nso many ways. All state has a lifecycle, otherwise the state would not\nbe worth thinking of.<\/p>"},{"title":"New PGP key","link":"https:\/\/jensrantil.github.io\/posts\/new-pgp-key\/","pubDate":"Mon, 18 Nov 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/new-pgp-key\/","description":"<p>Just wanted to give you a heads up that I recently generated a <a href=\"https:\/\/dl.dropboxusercontent.com\/u\/17059539\/public.asc\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">new PGP\nkey<\/a>. Its\nfingerprint is <code>4371 E7ED 3A3D DBB4 12B5 C68F BA63 2DB6 91DA 03B8<\/code> and\nits bound to <code>jens.rantil@gmail.com<\/code>.<\/p>\n<p>I&rsquo;ve previously had PGP keys but they are all expired.<\/p>\n<p>For people who are learning about PGP I can highly suggest these two\nlinks on how to do things the right way:<\/p>\n<ul>\n<li><a href=\"https:\/\/alexcabal.com\/creating-the-perfect-gpg-keypair\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Creating the perfect GPG\nkeypair<\/a><\/li>\n<li><a href=\"https:\/\/we.riseup.net\/riseuplabs&#43;paow\/openpgp-best-practices\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">OpenPGP Best\nPractices<\/a><\/li>\n<\/ul>\n<p><a href=\"%7cfilename%7cpages\/about-me.rst\" >Get in touch with me<\/a> if you&rsquo;d like to\nsign my key. I live in south of Sweden (Lund\/Malm\u00f6 area) and\noccasionally visit Stockholm and\/or Copenhagen. I&rsquo;m actually thinking\nabout hosting a <a href=\"http:\/\/cryptnet.net\/fdp\/crypto\/keysigning_party\/en\/keysigning_party.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">key signing\nparty<\/a>\nin the area. If that happens, I&rsquo;ll put some more info up on it!<\/p>"},{"title":"GIT mirroring using Jenkins","link":"https:\/\/jensrantil.github.io\/posts\/git-mirroring-using-jenkins\/","pubDate":"Wed, 04 Sep 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/git-mirroring-using-jenkins\/","description":"<p>For the past couple of weeks I&rsquo;ve been annoyed by the high latency when\nconnecting to <a href=\"https:\/\/github.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Github<\/a> over SSH. While the other GIT\ntransports could be an option, I prefer to use keys to authenticate\nagainst Github.<\/p>\n<p>This got me thinking about setting up a local GIT mirror at our office.\nTo keep my project future proof, I planned to make this a cron-job-ish\nproject; every so often it would checkout all repositories for a certain\norganization.<\/p>"},{"title":"Bootstrapping: CouchDB as event store","link":"https:\/\/jensrantil.github.io\/posts\/couchdb-as-event-store\/","pubDate":"Mon, 02 Sep 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/couchdb-as-event-store\/","description":"<p>I&rsquo;ve previously written about <a href=\"%7cfilename%7cCQRS-time-to-rewind.rst\" >what event sourcing\nis<\/a>. Reading about it, you might\nthink &ldquo;heck, sounds great! But how do I get started?&rdquo;. This blog post\nwill propose a simple way.<\/p>\n<h2 id=\"a-minimum-viable-product\">\n A Minimum Viable Product\n <a class=\"heading-link\" href=\"#a-minimum-viable-product\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>The concept of a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Minimum_viable_product\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">minimum viable\nproduct<\/a> states\nthat you shouldn&rsquo;t do more than absolutely necessary before releasing a\nproduct. You need to release it when it&rsquo;s just good enough. If it&rsquo;s\nreceived badly, you haven&rsquo;t invested too much time or energy into it.<\/p>"},{"title":"Java's missing optional keyword and the issues of null","link":"https:\/\/jensrantil.github.io\/posts\/the-issues-of-null\/","pubDate":"Thu, 22 Aug 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/the-issues-of-null\/","description":"<p>One of my pet peaves when it comes to the Java programming languages\n[1] is that it does not do enough <a href=\"https:\/\/en.wikipedia.org\/wiki\/Type_safety\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">type\nsafety<\/a>. The issue is,\nsimply, that programmers tend to believe that Java infers more safety\nthan it actually does. The biggest reason for this can be summarized in\none word; <code>null<\/code>.<\/p>\n<p>Let&rsquo;s face it, we&rsquo;ve all experienced a <code>NullPointerException<\/code> or two.\nWhy? Because we focus so much on which variable type to use. This makes\nus tend to forget the simple fact that the variable might not have a\nvalue at all; It can be <code>null<\/code>.<\/p>"},{"title":"Writing a server in Python","link":"https:\/\/jensrantil.github.io\/posts\/python-servers\/","pubDate":"Wed, 21 Aug 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/python-servers\/","description":"<p>This post is partially related to my <a href=\"%7cfilename%7cCQRS-time-to-rewind.rst\" >previous blog\npost<\/a> about\n<a href=\"http:\/\/www.github.com\/JensRantil\/rewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Rewind<\/a>.<\/p>\n<p>One of the questions that might hit you is <em>why would you ever write a\nserver in Python?<\/em>. I&rsquo;ve heard many people being raising their concerns\nwhen it comes to Python. The biggest ones are obviously concurrency and\nthe <a href=\"http:\/\/wiki.python.org\/moin\/GlobalInterpreterLock\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">GIL<\/a>. I&rsquo;ve also\nheard arguments related to lack of strict typing, that Java has better\nIDE support (partially due to&hellip;strict typing) and the sheer amount of\nlibraries that other languages, such as Java, has.<\/p>"},{"title":"Simpler Cookieless Cookies","link":"https:\/\/jensrantil.github.io\/posts\/simpler-cookieless-cookies\/","pubDate":"Sun, 18 Aug 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/simpler-cookieless-cookies\/","description":"<p>I recently read the blog article &ldquo;<a href=\"http:\/\/lucb1e.com\/rp\/cookielesscookies\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Cookieless\nCookies<\/a>&rdquo; that talks about\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_ETag#Tracking_using_ETags\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">using ETag for tracking\nusers<\/a>.\nSmart. This is the second article I read about obscure ways to store\ntracking information of a user. The first one was about <a href=\"https:\/\/epic.org\/privacy\/cookies\/flash.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">storing Cookie\ninformation using Flash<\/a>.<\/p>\n<p>Using cookieless tracking is not really something new. While it can be\nfun to read about various advanced way of tracking users, there&rsquo;s been a\nway of doing that without cookies for a long time.<\/p>"},{"title":"Privacy and Logging","link":"https:\/\/jensrantil.github.io\/posts\/privacy-and-logging\/","pubDate":"Mon, 17 Jun 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/privacy-and-logging\/","description":"<p>Privacy seem to be a <a href=\"http:\/\/www.guardian.co.uk\/world\/the-nsa-files\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">popular discussion these\ndays<\/a>. While I do think\nit&rsquo;s a very very important topic to discuss, I sometimes feel there&rsquo;s\nnot enough people who stand up and argue for cases when there&rsquo;s a reason\nto store data.<\/p>\n<p>Let me give you an example; Log data. I&rsquo;m sure many computer users find\nit scary with logs. Sometimes I do too. Especially if logs are stored\nfor eternity and data mined. Worse so, if they are aggregated from many\nsources on the web. But the truth is, logs are great for many reasons:<\/p>"},{"title":"Line styles in matplotlib","link":"https:\/\/jensrantil.github.io\/posts\/line-styles-in-matplotlib\/","pubDate":"Tue, 28 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/line-styles-in-matplotlib\/","description":"<p>I&rsquo;m a big fan of <a href=\"http:\/\/matplotlib.org\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">matplotlib<\/a> and tend to use it\nevery time I&rsquo;d like to plot something. A while ago I had a line plot\nwith many lines and ran out of default colors. When that happens,\nmatplotlib will reuse the previously used colors.<\/p>\n<p>I used Python&rsquo;s\n<a href=\"http:\/\/docs.python.org\/2\/library\/itertools.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">itertools<\/a> overcome\nthis:<\/p>\n<pre tabindex=\"0\"><code>import itertools\nimport pylab as p}\nlook = itertools.cycle(itertools.product([&#39;-&#39;, &#39;--&#39;, &#39;.-&#39;, &#39;:&#39;, &#39;,&#39;], &#39;bgrcmykw&#39;))\nlook = it.imap(lambda x: string.join(x, &#39;&#39;), look)\nfor item in data.items():\n p.plot(item.X, item.Y, next(look), label=item.label)\n<\/code><\/pre><p>I hope this little piece of code will come in handy for someone else!<\/p>"},{"title":"CQRS+Event Sourcing Messaging Patterns","link":"https:\/\/jensrantil.github.io\/posts\/cqrs-event-sourcing-messaging-patterns\/","pubDate":"Sun, 26 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/cqrs-event-sourcing-messaging-patterns\/","description":"<p>This post is partially related to my <a href=\"%7cfilename%7cCQRS-time-to-rewind.rst\" >previous blog\npost<\/a> about\n<a href=\"http:\/\/www.github.com\/JensRantil\/rewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Rewind<\/a> and\n<a href=\"http:\/\/www.github.com\/JensRantil\/gorewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Gorewind<\/a>.<\/p>\n<p>Designing a decoupled, message based, system based on the\n<a href=\"http:\/\/martinfowler.com\/bliki\/CQRS.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">CQRS<\/a> pattern together with\n<a href=\"http:\/\/martinfowler.com\/eaaDev\/EventSourcing.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">event sourcing<\/a>\nrequire some thought. Since I&rsquo;ve been thinking about it for a while now,\nI thought I&rsquo;d share some thoughts so far.<\/p>\n<h2 id=\"cqrs\">\n CQRS\n <a class=\"heading-link\" href=\"#cqrs\">\n <i class=\"fa-solid fa-link\" aria-hidden=\"true\" title=\"Link to heading\"><\/i>\n <span class=\"sr-only\">Link to heading<\/span>\n <\/a>\n<\/h2>\n<p>First let&rsquo;s think about the way information conceptually flows in a CQRS\nsystem:<\/p>\n<blockquote>\n<p>Client issuing a command -&gt; Command -&gt; Command Handler -&gt;\nEvent -&gt; Event Listeners\/Projections<\/p>\n<\/blockquote>"},{"title":"AngularJS events on initialization","link":"https:\/\/jensrantil.github.io\/posts\/angularjs-events-triggered-on-initialization\/","pubDate":"Fri, 24 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/angularjs-events-triggered-on-initialization\/","description":"<p>In my <a href=\"%7cfilename%7crefreshable-angularjs-service.rst\" >previous post<\/a> I was\ngiving an example of using <a href=\"http:\/\/angularjs.org\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">AngularJS<\/a>\n<a href=\"http:\/\/docs.angularjs.org\/api\/ng.$rootScope.Scope#$emit\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">events<\/a>.<\/p>\n<p>I stumbled across a corner case that might be worth noting; If a service\nis triggering an event on initialization, no controllers will get\nnotified of it. Here&rsquo;s an example:<\/p>\n<iframe width=\"100%\" height=\"250\"\nsrc=\"http:\/\/jsfiddle.net\/Ztyx\/TdykU\/2\/embedded\/\"\nallowfullscreen=\"allowfullscreen\" frameborder=\"0\"><\/iframe>\nThe reason why this is happening is simply because the controller have\nnot been instantiated. Setting a timer before emitting the event can be\ndone as a workaround:\n<iframe width=\"100%\" height=\"250\"\nsrc=\"http:\/\/jsfiddle.net\/Ztyx\/TdykU\/3\/embedded\/\"\nallowfullscreen=\"allowfullscreen\" frameborder=\"0\"><\/iframe>\nNow you know!"},{"title":"Refreshable AngularJS service","link":"https:\/\/jensrantil.github.io\/posts\/refreshable-angularjs-service\/","pubDate":"Thu, 23 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/refreshable-angularjs-service\/","description":"<p>Lately I&rsquo;ve been working a lot in <a href=\"http:\/\/angularjs.org\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">AngularJS<\/a>.\nThis is my second project with the framework, and the more time I spend\nin it, the more I like it.<\/p>\n<p>But as with most things, AngularJS has some rough corners. Its\n<a href=\"http:\/\/docs.angularjs.org\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">documentation<\/a> still has a long way to go,\nalthough it has improved since last time I used it over a year ago.\nCommon use cases and &ldquo;Angular-y&rdquo; was of doing things is another thing\nthat I also feel is lacking out there. I guess it could be considered\ndocumentation depending on how you look at it.<\/p>"},{"title":"Bootstrapping software projects","link":"https:\/\/jensrantil.github.io\/posts\/bootstrapping-software-projects\/","pubDate":"Sun, 19 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/bootstrapping-software-projects\/","description":"<p>This post is partially related to my <a href=\"%7cfilename%7cCQRS-time-to-rewind.rst\" >previous blog\npost<\/a> about\n<a href=\"http:\/\/www.github.com\/JensRantil\/rewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Rewind<\/a> and\n<a href=\"http:\/\/www.github.com\/JensRantil\/gorewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">GoRewind<\/a>.<\/p>\n<p>Even though I&rsquo;ve been working as a full-time developer for the past 4-5\nyears, it still hits me how much boiler plate is required to create a\nproper software project. In fact, I&rsquo;ve seen so many times how extra\nfunctionality is bundled into applications just because the alternative\nwould require many hours of setting things up. This despite the fact\nthat functionality is orthogonal and has totally different life cycles.<\/p>"},{"title":"CQRS - Time to Rewind","link":"https:\/\/jensrantil.github.io\/posts\/cqrs-time-to-rewind\/","pubDate":"Sun, 19 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/cqrs-time-to-rewind\/","description":"<p>For the last year I&rsquo;ve been thinking a lot about\n<a href=\"http:\/\/www.cqrsinfo.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">CQRS<\/a>\n[<a href=\"http:\/\/martinfowler.com\/bliki\/CQRS.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">1<\/a>], <a href=\"http:\/\/martinfowler.com\/eaaDev\/EventSourcing.html\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Event\nSourcing<\/a> and\ndistributed architecture using <a href=\"http:\/\/www.zeromq.org\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">ZeroMQ<\/a>. I first\nstumbled across the concept of CQRS through the mailing list for a <a href=\"http:\/\/www.meetup.com\/SoftPub\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">nerd\nmeetup in Helsingborg<\/a>, Sweden. This led\nme to a lot of CQRS\n<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/jj554200.aspx\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">reading<\/a> and\n<a href=\"http:\/\/cqrs.wordpress.com\/video\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">videos<\/a>, and with that the Event\nSourcing data model.<\/p>\n<p>To try out CQRS and Event Sourcing in practise, I started writing an\nopen source event store about a year ago. I named it\n<a href=\"http:\/\/www.github.com\/JensRantil\/rewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Rewind<\/a>. This also opened up\nfor me to try some concepts that I had never tried before [2].<\/p>"},{"title":"Migrating to Python 3","link":"https:\/\/jensrantil.github.io\/posts\/migrating-to-python3\/","pubDate":"Sun, 19 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/migrating-to-python3\/","description":"<p>This post is partially related to my <a href=\"%7cfilename%7cCQRS-time-to-rewind.rst\" >previous blog\npost<\/a> about\n<a href=\"http:\/\/www.github.com\/JensRantil\/rewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Rewind<\/a>.<\/p>\n<p>I initially started the implementation of Rewind in Python 2.7. I\nconstantly kept test coverage to 100%, and I tried to stick to\n<a href=\"http:\/\/en.wikipedia.org\/wiki\/Test-driven_development\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">TDD<\/a> as much as\npossible. The Python testing tool\n<a href=\"https:\/\/nose.readthedocs.org\/en\/latest\/\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Nose<\/a> proved to be very\nvaluable, as did <a href=\"https:\/\/travis-ci.org\/JensRantil\/rewind\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Travis CI<\/a>.<\/p>\n<p>After some time I thought &ldquo;Hey, why work in Python 2 when Python 3 seems\naround corner?&rdquo;. I installed Python 3.2 on my laptop and started\nexecuting those tests. Travis CI helped a lot here to always make sure\nthat Rewind was backward compatible with Python 2.7. Ever nervous about\na test failing? Make pull request on <a href=\"http:\/\/www.github.com\" class=\"external-link\" target=\"_blank\" rel=\"noopener\">Github<\/a> and\nTravis CI will tell you whether the pull request broke something or not.\nHighly convenient. Migration to Python 3 can be summarized in three\nparagraphs:<\/p>"},{"title":"That initial blogpost","link":"https:\/\/jensrantil.github.io\/posts\/that-initial-blogpost\/","pubDate":"Tue, 14 May 2013 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/that-initial-blogpost\/","description":"<p>So it&rsquo;s time to kick off this blog. I cheated a little and posted <a href=\"%7cfilename%7creplacing-directory-in-svn.rst\" >a\npreviously written blog post<\/a>.\nIt was posted on a personal blog that mostly had Swedish material.<\/p>\n<p>My intent with this blog will be to &ldquo;put a URL on my tech and possibly\nentrepreneurship thoughts, in English&rdquo;. If you&rsquo;d like to know more about\nme, check out that brand new <a href=\"%7cfilename%7cpages\/about-me.rst\" >About Me<\/a>\npage!<\/p>"},{"title":"Replacing a folder in Subversion","link":"https:\/\/jensrantil.github.io\/posts\/replacing-directory-in-svn\/","pubDate":"Mon, 22 Sep 2008 00:00:00 +0000","guid":"https:\/\/jensrantil.github.io\/posts\/replacing-directory-in-svn\/","description":"<p>So you have an external library foo version 1.0 that you have committed\nto your Subversion repository together with your code. Let us for\nsimplicity say that your external library is situated in its own folder.<\/p>\n<p>One day you realize that there is a new version 2.0 of foo released. You\ndownload it and since there was a while ago a lot of the file structure\nin the foo project has changed. How can you replace the files in your\ncurrent repository in a good looking fashion?<\/p>"}]}}