<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ash Grennan on Medium]]></title>
        <description><![CDATA[Stories by Ash Grennan on Medium]]></description>
        <link>https://medium.com/@ashgrennan?source=rss-b3ec25007f53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Lu-Q2HjnFhXxHegqVbaeHg.jpeg</url>
            <title>Stories by Ash Grennan on Medium</title>
            <link>https://medium.com/@ashgrennan?source=rss-b3ec25007f53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 04:28:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashgrennan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Arise: Lessons from Solo Levelling for Software Engineers]]></title>
            <link>https://medium.com/@ashgrennan/arise-lessons-from-solo-levelling-for-software-engineers-b3a05f79195f?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3a05f79195f</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[cursor-ai]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Fri, 16 May 2025 14:21:02 GMT</pubDate>
            <atom:updated>2026-11-21T12:41:13.238Z</atom:updated>
            <content:encoded><![CDATA[<p>In this anime, the protagonist Sung Jin-woo starts by fighting monsters. Initially, he&#39;s weak relative to his peers. However, he receives a unique opportunity to grow stronger, gradually becoming an exceptional fighter. Eventually, he gains the ability to raise defeated enemies as Shadows, who fight alongside him. These Shadows fight autonomously, allowing him to step back. Is this where his strength stagnates? No, it accelerates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t3J64F47ympzOygH.jpg" /><figcaption>Solo levelling: shadow</figcaption></figure><p>In software engineering, we can use LLM-based tooling to augment ourselves. This has been the case for some time. Many of us tried these tools in their infancy and decided they were more of a hindrance than a help. With the advancements in tools like Cursor and refined language models, should we continue to dismiss their usefulness and not re-evaluate?</p><p>As Sung encounters more challenging dungeons, using his Shadow army becomes more valuable. From his new capability, Sung learns new skills, such as instructing and strategising. Just like an engineer who gains time by leveraging gen AI to handle the mundane, Sung&#39;s reliance on his Shadow army becomes an enabler for personal growth.</p><p>The world is speeding up, and the amount of information thrust into our view is accelerating. Time spent reading, comprehending, and digesting articles in the era of digital information is on the decline and will continue to fall. Why, you ask? Because we&#39;re biologically limited, hard-wired to absorb information at roughly the same rate, and there&#39;s already too much. There&#39;s so much of it that our default reading style is skimming through information, often missing nuance. We are trying to drink from a firehose each day. We&#39;re burnt out, not from overworking, but from overstimulation.</p><h3>The next layer of abstraction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9qvTftPgIMZZTGZm.jpg" /></figure><p>Programming has changed beyond recognition in 70 years, from punch cards to assembly to object-oriented languages. Most steps were an abstraction over the one before, and nobody misses waiting hours to rerun a stack of punch cards. Every step also had people who resisted it.</p><p>When our worldview is challenged by something that we believe impacts our value addition, we choose ignorance. We measure our productivity by keystrokes, not by the quality of our ideas or the creativity behind our solutions. We&#39;ve been programmed this way; original thought and novel ideas are true productivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/0*Fq7fI1K1M-FurAU9.jpg" /></figure><p>LLMs are the next layer of abstraction, like a better paintbrush for a painter. It&#39;s still on us to apply our expertise, use the tools selectively and understand the complexity and unknowns in what they produce.</p><p>Hard, unclear problems are what sharpen the tool that matters most, the mind. Better tooling frees up the bandwidth to spend on them, as the Shadows did for Sung. Do you <em>need</em> to type every keystroke? A compiler already optimises the code you write.</p><p>Sure, I hear you, why not slow down? That&#39;s the right solution surely. This isn&#39;t in our control to dictate. Though the pressure to move faster may feel inevitable in a competitive environment, intelligently applying these tools may offer us the cognitive breathing room to slow down our thinking process, focusing on deeper insights while maintaining output.</p><p>If you ship faster, you in turn learn faster in the sense of what works, and doesn&#39;t. With this approach, competitors will always be at least one step behind. They&#39;ll never be able to catch up if done correctly.</p><h3>A history lesson</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/0*mjJrOaqeqGw3Bvjg.png" /></figure><p>What we can control is fitting the world into our cognitive bandwidth, and LLMs help with that. Socrates worried that writing would ruin people&#39;s memory. Instead it gave humanity a collective one. Used thoughtfully, LLMs won&#39;t weaken us as engineers either. They&#39;ll raise how much complexity we can manage and what we can build. Wisdom isn&#39;t fearing what change might take from us. It&#39;s seeing what it might unlock.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3a05f79195f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handling Zendesk events via EventBridge]]></title>
            <link>https://medium.com/moonpigtech/handling-zendesk-events-via-eventbridge-a764195b59d2?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/a764195b59d2</guid>
            <category><![CDATA[event-driven-architecture]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Wed, 02 Oct 2024 11:37:44 GMT</pubDate>
            <atom:updated>2024-10-02T11:37:44.313Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_1UUaO0uonTlLbrx" /><figcaption>Photo by <a href="https://unsplash.com/@miteneva?utm_source=medium&amp;utm_medium=referral">Maria Teneva</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Note: This article was written before the announcement on Zendesk deprecating their partnered EventBridge integration in December 2025 which can be replaced via a webook integrating into EB. However, this article is relevant to any event-based broker integration and the architecture discussions it entails are valuable.</blockquote><h3>Introduction</h3><p>In this post, we will cover how we solved some inefficiencies in our business by using Zendesk’s EventBridge partnered connector in conjunction with an event-driven architecture. If you’re unfamiliar with Zendesk it’s a powerful customer service platform that helps organisations manage and resolve customer inquiries efficiently. We use this here at Moonpig for customer service operations.</p><p>AWS EventBridge is a serverless bus that enables services to be loosely coupled and event-driven. It can consume data from multiple sources and publish these to different destinations.</p><h3>Problem Space</h3><p>Within Moonpig when a customer interacts with us through our Chatbot via Zendesk we’re aware due to processes such as looking up an order. We are also aware of when a resolution has been reached. When this happens, we add meta information to each ticket, saving our support team time. One of the challenges we face is that Zendesk has a variable time window for ticket creation, so we don’t know when tickets will be available for our enrichment process.</p><p>Initially, this was solved via long polling, a common but inefficient pattern that can lead to increased infrastructure costs and higher API rate limits. Polling regularly consumes unnecessary resources and creates latency in data processing. However, thanks to the introduction of Zendesk’s partner resource, we can now move to a more efficient, event-driven process, which eliminates these challenges.</p><h3>Architecture</h3><p>For our architecture, we’ll be using AWS serverless offerings to create a redundant, event-driven architecture. Here’s our starting point:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g_JhK8dXikLyjufv_WaSpw.png" /><figcaption>Figure 1) Proposed architecture</figcaption></figure><p>At a high level, we have:</p><ul><li><strong>EventBridge</strong> is our bus, where the Zendesk bridge is connected and enables data to flow into our account. We’ll create <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule.html">rules</a> that can generate filters and even transformations based on specific schema patterns.</li><li><strong>SNS </strong>broadcasts notifications of business domain events, this enables a pub/sub setup that produces events to which other services can subscribe.</li><li><strong>SQS &gt; Lambda</strong> gives us a decoupled approach, giving a host of benefits such as redundancy, high availability and requiring no changes to any producer should this pattern change in any manner. Within our Lambda we can query other services for additional data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/0*_oIFo-TacVAlX6z-.jpg" /></figure><p>Our architecture for this example looks good, however, we’re only dealing with <strong>two</strong> CRUD events on a single resource which is Ticket. But, what if we want more? There are over 100 different <a href="https://developer.zendesk.com/api-reference/amazon-eventbridge/tickets/">events</a> across all resources, would our above architecture cope? The answer is yes, but that doesn’t mean it’s necessarily the <em>best</em> solution.</p><p>Being pragmatic we want to focus on value delivery and get the smallest unit out quickly to gain knowledge, however, we need to understand the tradeoffs if we’re to stick with the architecture in the context of an enterprise which follows the <a href="https://aws.amazon.com/architecture/well-architected/?wa-lens-whitepapers.sort-by=item.additionalFields.sortDate&amp;wa-lens-whitepapers.sort-order=desc&amp;wa-guidance-whitepapers.sort-by=item.additionalFields.sortDate&amp;wa-guidance-whitepapers.sort-order=desc">AWS Well-Architected Framework</a>.</p><h3>Considerations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zEcsnDMq3QtcvltQWmQPA.png" /><figcaption>Figure 2) Architecture illustration between accounts</figcaption></figure><ol><li>Although decoupled, the proposed architecture still presents a level of rigidity because we need to manually update SNS subscriptions for each consumer. This kind of tight coupling can become an anti-pattern in event-driven architectures, as it reduces agility and increases maintenance overhead.</li><li>The second drawback is that this doesn’t empower our downstream consumers with granularity. We could use Amazon EventBridge’s cross-account event delivery feature. This approach would allow you to decouple your event producers and consumers even further, reducing the need to manage subscriptions directly on SNS topics.</li></ol><h4>EB to EB</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3LLO0cUAfBNuY2fep9y4bQ.png" /><figcaption>Figure 3) These secondary EB’scould be in separate accounts too</figcaption></figure><p>Forwarding broad entity events into another Eventbridge would allow for the following:</p><ul><li>✅<strong> Decoupling</strong>: Cross-account EventBridge removes the tight coupling of SNS subscriptions and allows better separation of concerns.</li><li>✅ <strong>Simplified Management</strong>: Events are routed directly to the target accounts’ EventBridge, simplifying the event routing logic.</li><li>✅ <strong>Granular Control</strong>: Each target account can define its <strong>own rules</strong> and targets, providing more granular control over event processing. This is impactful as it could save significant costs via our consumers not requiring to act on irrelevant data</li></ul><p>A simple example of the power of this architecture would be a service only cares about an entity that has specific attributes, e.g. in the context of a ticket perhaps our service only wishes to ingest if the tags on a ticket are either foo or bar. With this architecture, we can use our own rules to make this possible and eliminate our consumers from receiving irrelevant data.</p><p>However, the architecture is <strong>crucial</strong> here, if we applied the above to our architecture in Figure 1 via highly specific event patterns, this could become an anti-pattern, making the system difficult to maintain and debug. It’s important to balance granularity with simplicity, ensuring that patterns are easy to manage over time.</p><h3>Implementation</h3><p>To create this setup we’d use OpenTofu our preferred IAC. To keep this agnostic we’ll go through the AWS console instead. This step assumes the following:</p><ul><li>EventBridge resource has been created and successfully connected as a partnered resource and information is available, there is a guide <a href="https://support.zendesk.com/hc/en-us/articles/4408824521114-Setting-up-the-Zendesk-Events-Connector-for-Amazon-EventBridge">here</a>.</li><li>You’ve created an SNS, or supported resource which can connect with an EB rule.</li></ul><h4>Steps</h4><ol><li>EventBridge &gt; Rules &gt; Create a rule, for we’ll call it ticket-created</li><li>Event Source &gt; Select ‘Other’</li><li>We can ignore the Sample event section. However, this is useful for finding pre-existing patterns and testing our event pattern against specific data shapes.</li><li>In the Event Pattern section, we’ll need to specify what event we wish to receive, however, an important consideration is depending on your configuration of Zendesk workflows, the data you require may not be immediately available, which because this is even driven would mean we’re missing data. For us, the event of a status change is appropriate so we’ll use this.</li></ol><pre>Support Ticket: Custom Status Changed</pre><p>This means our example will look like the following in Event Pattern:</p><pre>{<br>  &quot;detail-type&quot;: [&quot;Support Ticket: Custom Status Changed&quot;],<br>  &quot;resources&quot;: [&quot;Support Ticket&quot;]<br>}</pre><p>You’ll also want to make sure Prefix matching is set in the dropdown</p><p>6. Next, we’ll want to set a target for the data which matches the above rule, we’re going to choose our SNS, but this could easily be Kinesis, Lambda or another EventBridge</p><p>7. The SNS will now publish events based upon our resource and detail ruling, it’s important we test these rules to ensure our event contains the data we require, as it will be a snapshot of the entity at the time of changing</p><h3>🤔 Conclusion</h3><p>We’ve gone through setting up an event-driven system, from consuming SaaS data into our estate for internal consumption and speaking about the benefits of this being async and event-driven. We’ve also considered our Eventbridge broker in the context of our AWS strategy and how it may be built upon, speaking about different architecture decisions we could take and how they would set up for future success. Finally, we briefly touched on the high-level implementation using the AWS Console.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a764195b59d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/moonpigtech/handling-zendesk-events-via-eventbridge-a764195b59d2">Handling Zendesk events via EventBridge</a> was originally published in <a href="https://medium.com/moonpigtech">Moonpig Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reimagining Scrum Ceremonies]]></title>
            <link>https://medium.com/moonpigtech/reimagining-scrum-ceremonies-the-async-advantage-3d271536a209?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d271536a209</guid>
            <category><![CDATA[continuous-improvement]]></category>
            <category><![CDATA[scrum-practice]]></category>
            <category><![CDATA[remote-work]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[extreme-programming]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 15:08:39 GMT</pubDate>
            <atom:updated>2024-03-28T08:53:57.559Z</atom:updated>
            <content:encoded><![CDATA[<h3>Effective Scrum ceremonies — Part 3</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2t_kCLYsljh4hFhX" /><figcaption>Photo by <a href="https://unsplash.com/@epicantus?utm_source=medium&amp;utm_medium=referral">Daria Nepriakhina 🇺🇦</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So far, we’ve covered the wins and drawbacks of communication methods such as writing documents and meetings. Next, we spoke about the heart of async, written words! We dove into using t<a href="https://simonsinek.com/golden-circle/">he golden circle</a> to help us stick with recording communications to facilitate discussion and gain goodies such as inclusivity, thoughtfulness and flexibility.</p><h3>Ceremonies</h3><p>If you’re following <a href="https://www.scrum.org/resources/what-scrum-module">Scrum</a>, you’ll have a series of ceremonies that repeat on a weekly, or bi-weekly basis. An example of ceremonies for a 2-week sprint in a medium size team:</p><ul><li>Standups (15 min) * 10</li><li>Sprint planning (3 hr) * 1</li><li>Sprint Review (2 hr) * 1</li><li>Sprint Retrospective (1.5 hr) * 1</li></ul><p>After deducting time for lunches, this amounts to nearly 1.5 days every two weeks for each member of your team. Rounding up, that’s <strong>15% of 2 weeks on recurring meetings</strong>, it’s pretty typical for these to run over too. We can agree this is a significant amount of time, it’s therefore worth exploring how we could improve on them from an efficiency standpoint.</p><h3>Standup Meetings</h3><p>One of the most adopted techniques in <a href="http://www.extremeprogramming.org/rules/standupmeeting.html">Extreme Programming</a>, standup meetings generally include:</p><ol><li>What we did yesterday</li><li>What we’re doing today</li><li>Blockers (if any)</li></ol><p>With distributed people and teams, the standup can and does suffer. It’s quite easy for a standup to run over when everyone is sat down, become an environment to fixate on nuance issues, derailing its purpose. With this, engagement can be impacted, we get into, <em>we have the meeting, because we have the meeting </em>as its original value and purpose erodes.</p><p>Focusing on the numbered list above, here’s some methods of improvement:</p><ul><li>✅ <strong>Write updates</strong> — Using tooling effectively, points 1 &amp; 2 can be answered by the board. If they can’t, it’s either a tooling problem or a human one. Team members should update via writing comments on stories and moving tickets into lanes / statuses. What happens when someone is out of the office? Unable to make the standup? <strong>Relying on sync communication creates frustration and slows us down.</strong></li><li>✅ <strong>Flag stories</strong> — If you have a blocker, you’re likely already tackling and trying to resolve, not waiting until the next standup! Flag the ticket if blocked, write a comment explaining why, default to action, waiting to do this sync slows everything down.</li></ul><p>Actioning the above points, it can become apparent the daily standup isn’t required. However, the key benefit of these meetings is the connection opportunity they provide. If your team still want them, remove the status update. Discuss the next actions, sprint goals, health check, high risk branches or changes.</p><p>There’s also a benefit of psychological safety via actioning the above, as the ticket communicates the progress of the story, avoiding lots of questions from multiple people.</p><h3>Sprint Retrospective</h3><p>The agile process is all about enabling continuous improvement. There’s no better way than having a retrospective! It’s a way to surface issues, celebrate success and enable actions to be taken away for future improvements. However, ran poorly, they can do more harm than good.</p><ol><li>😕 If they consistently don’t yield meaningful output, people lose faith in the ceremony</li><li>🔄 We all have a <a href="https://en.wikipedia.org/wiki/Recency_bias">recency bias</a>, recording events that <em>recently </em>happened, leaving more historic issues to happen again</li><li>⏱️ Running out of time, due to poor grouping, lack of voting, or absence of a theme</li></ol><p>All these issues can be mostly solved by… you guessed it, async means. Here’s how we’ll make our retros more effective, efficient, and purposeful.</p><p>✅ <strong>Capture inputs</strong> — Enable and encourage the habit of everyone writing topics for the next retro throughout the sprint, these could be in a Google Form, doc, or even in their favourite note taking app. These can be sent to the facilitator of the retro if anonymity is not a concern.</p><p>✅ <strong>Group inputs</strong> — The host, ahead of time, groups related topics. If this was a Miro board then sticky notes in clusters achieves this. This helps with point 2.</p><p>✅ <strong>Voting</strong> — This enables focus and prioritises the topics people feel strongly about. This helps with point 3. As this is usually a quick process, it can be done before or during the meeting.</p><h3>Sprint Planning</h3><p>It’s a heavyweight ceremony and, unlike others, it involves many different subprocesses. Discussing these would require an article of its own. So, lets discuss this purely from an async, efficiency perspective. Here’s how we can streamline our planning sessions.</p><ol><li>Have some form of async backlog refining where time is set aside to enhance stories via metrics or more detail, ready for the sprint.</li><li>Tightly prioritise the backlog for the function of increasing focus around outcomes.</li><li>Define the sprint goals before the meeting, the Product Owner / Engineering Manager can draft this, it will give natural shape to the start of the meeting. <strong>Make this known before the meeting to all.</strong></li><li>Encourage team members to look through the draft of stories to bring into the sprint async, here there’s the opportunity to <strong>write comments </strong>in the stories for clarification.</li><li>Have the meeting.</li></ol><p>Doing the above, will yield the following:</p><ul><li>✅ Allows the team to think deeply about stories, thus create better outcomes such as horizontally slicing into smaller stories or highlighting potential issues.</li><li>✅ We’ll have a list of questions already available to discuss during the meeting, this is huge.</li><li>✅ Reduce risk that you’re pursuing the wrong thing.</li><li>✅ We’ll already have thought about the sprint goal and seen the approximate stories, which will give a better confidence indicator on if the goal is achievable, or requires reduction.</li></ul><h3>Conclusion</h3><p>We’ve discussed simplifying each ceremony with straightforward, asynchronous actions. As a result, we’re creating a better fuel to accelerate meeting outcomes, ensuring we get the best out of each sync interaction. Furthermore, it enables contributions when it suits the individual and unlock thoughtfulness which can create better, faster delivery and greater working software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d271536a209" width="1" height="1" alt=""><hr><p><a href="https://medium.com/moonpigtech/reimagining-scrum-ceremonies-the-async-advantage-3d271536a209">Reimagining Scrum Ceremonies</a> was originally published in <a href="https://medium.com/moonpigtech">Moonpig Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlock async communication for engineering teams — Part 2]]></title>
            <link>https://medium.com/moonpigtech/moving-towards-async-b5d5420d884e?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5d5420d884e</guid>
            <category><![CDATA[agile-practices]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Fri, 08 Mar 2024 10:05:45 GMT</pubDate>
            <atom:updated>2024-03-28T08:53:34.647Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m0ARnTad2Msrignn" /><figcaption>Photo by <a href="https://unsplash.com/@christinhumephoto?utm_source=medium&amp;utm_medium=referral">Christin Hume</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this post, we’ll address the ‘bus factor’ and practical steps for creating asynchronous habits. Finally, we’ll be walking the path of creating a value system for async working by adopting a framework to aid in defining why we want to do this and most importantly, create some sticking power.</p><h3>Encouraging behaviours, why async</h3><p>Let us begin with an example of the <a href="https://www.getclockwise.com/blog/what-is-your-bus-factor">bus factor</a>. How many people leaving your team would impact value delivery? How many would halt support capabilities? This can be a sobering exercise. Sure, teams adapt to change, but wouldn’t it be nice that an additional cognitive load wasn’t placed on colleagues during such a loss? Wouldn’t it be ideal if velocity didn’t drop and your team is just as capable when dealing with incidents?</p><p>This is one of an abundant pool of reasons why async for information capture and delivery is great. The higher the velocity an organisation has, the less long-term memory it has by that very nature. Think of this as a sliding window moving forward, but not expanding. We have a remedy for such a symptom, the remedy is to write.</p><p>Consider the wisdom of former <a href="https://en.wikipedia.org/wiki/Lewis_E._Platt">HP CEO Lew Platt</a> who encapsulates the point beautifully:</p><blockquote>If only HP knew what HP knows</blockquote><h3>Taking Action</h3><p>Previously, we spoke about <strong>enhancing</strong> meetings via injecting async tools and processes. In this section we’ll touch on <em>how </em>to be a force for async, getting started, and build the habits that make this a part of your daily toolset.</p><h3>1) Starting with why</h3><p>You can be motivated and have the tooling to start async, but none of this will yield value without buy-in from the right people, your team members. Without this, you’re putting the cart before the horse. It’s critical that this happens and everyone sees the value.</p><p>To gain buy-in for capturing information which will enable async, we can use <a href="https://simonsinek.com/">Simon Sinek’s</a> <a href="https://simonsinek.com/golden-circle/">Golden Circle</a> model by first defining a ‘Why’ to communicate the purpose and benefits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*3pJI2KWriKO6M2bs.jpg" /><figcaption>Image source: https://simonsinek.com/golden-circle/</figcaption></figure><p>A brief example of this for our purposes:</p><ul><li><strong>Why (The Purpose) </strong>— This is the reason you’re doing this; it has to mean something for everyone involved. Examples could be, increasing inclusivity, reducing repetition, decreasing knowledge silos, it shouldn’t be just a procedure (ie something you do), but justify something strategic too (a mission to complete). The company behind Wordpress (<a href="https://automattic.com/">Automattic</a>) uses both async and the Golden Circle method, their Why is to enable a global talent pool and maintain continuous productivity</li><li><strong>How (The Process) — </strong>Highlighting tools and how they’ll be used to enable the Why</li><li><strong>What (The Outcome) — </strong>What will the outcomes be, this may be reduction in meeting times, increased innovation, this should form as a single sentence, and have a few lasting, purposeful outcomes. Without outcomes that can be discussed and measured, you’ll won’t have method of knowing if what you’re doing is actually working</li></ul><h3><strong>2) Get good at writing</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*UEf7tI6gS8lXwp2C1GWpzQ.gif" /></figure><p>The <strong>number one</strong> tool for<strong> </strong>transferring information, is written words. In the right medium, a digital document can scale to be read by millions of people over months or years. It can be versioned, edited, revisited, translated, searched and made accessible around the globe in seconds.</p><p>I want to highlight that writing is hard. But, it’s the unlocker for making async work. Just like starting at the gym after a long hiatus, it may be difficult at first. But you will get better, it will get easier. If that’s not enough, think about your <em>Why</em>, your purpose in doing this. Is it to empower people who are neurodiverse, non native english speakers, introverted? Remind yourself of Why when you don’t want to write.</p><p>With writing or recording, it enables more people to be involved in the conversations, capturing perspectives we would miss otherwise. It’s not just writing too, media recordings get a noteworthy mention as a medium that captures non verbal cues, tonality, and a demonstration of ideas. Whilst writing gets first place, creating media to express information is still on the podium.</p><h3><strong>3) Kill the mouse</strong></h3><p>You’re in a meeting and fortunate enough to have two screens, one screen has your meeting, the other Google Docs etc. Unless the session is interactive, you don’t need your mouse, the peripheral is a navigator, we don’t need to navigate. All this will do is welcome distraction via checking email, messages, that unit test that won’t pass, put it out of arm’s reach.</p><h3><strong>4) Create a hub of information</strong></h3><p>We need to put this information somewhere, naturally, this depends on tooling options available. What is important though, is agreeing where stuff will live, and how you’ll structure it (How). Some examples include:</p><p>- <strong>Meeting minutes</strong>, the outcomes. Initially, avoid using AI if viable because you won’t have a benchmark for comparison. Afterwards, assess whether tools capture key points and action items more accurately. Are they searchable and summarised? From there your team can make an informed decision</p><p>- <strong>ADR (Architectural Decision Records), </strong>often seen as a challenge for engineering teams to maintain,<strong> </strong>they give context and save tremendous amount of time reading about the evolution of a service. Experiment, find a system that works for your team, perhaps adding an ADR into the projects directory doesn’t work, and that’s ok, you can just link to the ADR’s in your projects README</p><p>- <strong>Stakeholder decisions</strong> aka business decisions. This is a no brainer, if you don’t have written down what you’re aiming for and agreed timelines, you’re going to get into trouble and create unwarranted pressure. Ever played the Telephone Game? You’re unwittingly playing this if things aren’t recorded</p><p>- <strong>PRs (if applicable), </strong>Placing links to these alongside all the information above creates and effective audit trail, seeing how a change happened relative to a business decision change</p><p>- <strong>Ideas, </strong>Have a great idea? Write it down! Put it in your information hub, enabling your team to review in their own time, the more complex the idea, the more difficult to discuss synchronously, enable thoughtfulness around the idea first before verbally discussing</p><p>There’s more to talk about here, but this is a great start, use introspection to decipher what you need to know first, define simple templates, make recording information easy and <strong>frictionless</strong>.</p><h3><strong>4) A Mantra</strong></h3><p>Once you’ve decided what to record (starting small can help) next is actually taking action, we’ve spoken about writing is hard, this is the <strong>remembering to record</strong> part, here’s some useful tips on ensuring this happens</p><ul><li><strong>Who’s writing — </strong>In a meeting / discussion, ask <strong>at the start</strong> who’s capturing the information? Don’t write this in your Notepad or in a medium that’s local to you, always record in the tool you’ve agreed, else you risk forgetting to transfer</li><li><strong>Repeat — </strong>If warranted, at the end of a discussion, the writer should recap what they’ve written in a summarised manner, this may take 30 seconds, and not only is it useful to ensure information is correct but gives everyone a high level recap</li><li><strong>Post it somewhere —</strong>If you’ve created a new document and added it to your information hub, consider also posting in a dedicated IM channel for async updates, this gives a timeline of discussion and recordings</li></ul><h3><strong>5) Respond with a link</strong></h3><p>Next on building your knowledge hub, If someone asks for information for which you have to explain regardless of communication medium, write it down, send a link. If you commit to doing this, over time you’ll have more context, history, time saving capabilities. It’s an investment that pays dividends.</p><p>There’s also the added win, that people don’t receive a slightly different interpretation or recollection of your thoughts and ideas each time you state them.</p><h3>Conclusion</h3><p>The path to moving async isn’t easy to follow, however, defining our purpose and commitment to change means we’re starting off strong. We humans are imitation machines, so vote with your actions and people will follow. It’s hard to start, but you’ll be creating a better present and future too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5d5420d884e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/moonpigtech/moving-towards-async-b5d5420d884e">Unlock async communication for engineering teams — Part 2</a> was originally published in <a href="https://medium.com/moonpigtech">Moonpig Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[​The synchronous analysis of meetings]]></title>
            <link>https://medium.com/moonpigtech/the-synchronous-analysis-of-meetings-014730d65dae?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/014730d65dae</guid>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[communications-strategy]]></category>
            <category><![CDATA[team-collaboration]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Fri, 08 Mar 2024 10:02:32 GMT</pubDate>
            <atom:updated>2024-03-28T08:53:01.952Z</atom:updated>
            <content:encoded><![CDATA[<h3>​Balancing sync and async communication in the remote work era — Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8hsuIAwytm0dZZw0" /><figcaption>Photo by <a href="https://unsplash.com/@headwayio?utm_source=medium&amp;utm_medium=referral">Headway</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Let’s set the stage. In a distributed work environment, getting the balance between synchronous and asynchronous communication is difficult. This post discusses my experience during my career in tech around the nuances of both sync/async communication forms, exploring their benefits, trade-offs, and stating strategies to help optimise meetings.</p><p><strong>Sync communication</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*EmfJN_9XoZogB1kP2fUbrQ.png" /><figcaption>We can draw parallels between cow milk and sync communication</figcaption></figure><ul><li>✅ Fast nourishment</li><li>✅ Perishable</li><li>✅ Easily digestible (<em>for most)</em></li></ul><p><strong>Async communication</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*nYZ940ybqTU2sZX9" /><figcaption>Async communication is similar to a alcoholic spirit</figcaption></figure><ul><li>✅ Harder to produce</li><li>✅ Strong and potent</li><li>✅ Lasts a very long time</li></ul><h3>A recap</h3><blockquote>But we’re already using asynchronous communications and tooling</blockquote><p>Communication isn’t generally benchmarked in companies and their application and efficiency are not known. Businesses are often so focused on delivering value for customers or stakeholders that the tools we use to do that aren’t scrutinised.</p><p>Many of us thought, and correctly believed for a short time, that working remotely would enable us to concentrate, no noise or interruptions we thought! What in reality happened was that the noise and interruptions followed in the form of meetings. It’s a behavioural problem, it’s us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*CoHNhqOrjh_EqifDBp9VKw.gif" /></figure><p>Let’s recap the tradeoffs and benefits for meetings. This isn’t an exhaustive list but it’s good to remind ourselves of some:</p><ul><li>👌 <strong>Easy:</strong> This isn’t a direct flaw, it’s culture / behaviour one, but it’s worth restating. In a distributed company they are the easiest communication option, making them prone to misuse.</li><li>️ 🗣 <strong>Loudness</strong>: In decisions we want the best idea to win, not the loudest voice, with the nature of meetings that’s a hard thing to achieve, not everyone wants to voice their opinions due to nature, language, or simply needing to articulate, it’s not conducive to being inclusive.</li><li>💸 <strong>Can be expensive</strong>: Does the cost of the time the meeting requires create enough value to justify itself? There’s also opportunity costs here too, is this delaying you from working on something with higher value?</li><li>🚀 <strong>Quick decisions:</strong> The quality of our decisions depends upon the quality of our thoughts. When we’re optimising for fast thinking via communicating in a synchronous manner, it’s not possible to ponder and think deeply, we use our experience which is biassed based on what we’ve done before.</li><li>👥 <strong>Inclusivity:</strong> Even if you’re not part of a conversation, having to translate what people are saying in a language you’ve adopted whilst trying to put together coherent thoughts is, I have been told, incredibly difficult.</li></ul><p>A few benefits for meetings include:</p><ul><li>🔗 <strong>Connection:</strong> Working for extended periods in isolation whilst offering focus can be at the detriment of why we’re doing what we’re doing in the first place. Meetings remind us of why, our mission, and wanting to support and achieve outcomes as a collective.</li><li>🎯 <strong>Focusing on now:</strong> If something blows up, or a critical decision needs to be made, meetings make an excellent tool to agree a course of action efficiently.</li></ul><p>There’s one other large area which has been intentionally missed because it can be both a strength and detriment which is breadth / depth.</p><h3>Meeting etiquette — evolve meetings</h3><p>We could immediately descend into async ways of communication and move <em>some</em> of our existing communications to leverage async, however there’s an issue that extends past simply taking action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*1jlGCFUHs2bqu2Nxr1sG3A.jpeg" /></figure><p>Adopting a different communication style isn’t something that’s easy, we need strong relationships in the team, understanding and agreement in ways of working, resolving ceremonies, having conversations with stakeholders and the list goes on. Instead, let’s look at first improving what’s already there.</p><ul><li>❌ <strong>No agenda, no attenda:</strong> If you get invited to a meeting which doesn’t have an agenda, this would imply that the objectives and outcomes for this meeting haven’t been thought about. Sure, the creator could have forgotten, but encouraging the habit by asking for an agenda forces the exercise of thinking about the meetings purpose.</li><li>🍲 <strong>Preparation:</strong> Share any artifacts such as presentations, documents or video. Rather than the first half of the meeting being trying to understand the problem or scenario, instead it can start with clarifying questions, enabling better, faster output.</li><li>📚 <strong>Start with information:</strong> If people aren’t use to reading documents before meetings, Jeff Bezos has spoken about a technique, referring to it as “<a href="https://www.cnbc.com/2019/10/14/jeff-bezos-this-is-the-smartest-thing-we-ever-did-at-amazon.html">The smartest thing we ever did at Amazon</a>”. This involves meeting attendees spending the first 5–10 minutes of each meeting reading a well prepared memo, everyone in the meeting does this and then the verbal part of the meetings begins.</li><li>⏺️ <strong>Allow thought recording:</strong> Allowing people to write their thoughts in a collaborative document can help those contribute to the discussion that otherwise wouldn’t. There’s incredible benefits for such a simple action, greater inclusion and stronger decision output due to a greater collective.</li><li>📃 <strong>Document the outcomes</strong>: This is a no brainer, not only does this have all the async benefits like write once, read by many but it’s incredibly important to give people context of moving forward on a decision if they’re unable to attend. It’s more efficient than recording a meeting unless verbatim of what happened is required.</li></ul><p>You may have noticed something about these points, each one leverages async communications in some manner, we’re addressing some of the weaknesses of sync by applying async tools and patterns.</p><h3>The scheduled meetings</h3><p>What I’ve observed happening over time is the <a href="https://en.wikipedia.org/wiki/Boiling_frog">boiling frog</a>. You’ll be involved in initiatives over your career which lead to scheduled meetings. This slowly reduces the amount of hours available in your working week and before you know it, a <strong>third</strong> of your working hours are eaten by scheduled meetings! You’re metaphorically boiling alive without realising it, as the number of working hours available for tasks gradually decreases.</p><p>It’s an outdated viewpoint that being in meetings therefore means you’re busy, thus in turn being productive. So, how to weed our calendars? Here’s what I’ve found useful:</p><ul><li>📰 <strong>Importance of an agenda:</strong> We’ve already covered this above, what exactly is the meeting’s purpose? Is it just transferring information? Well that sound like documenting would be a great fit here or a tool to post and distribute status updates.</li><li>🙆 <strong>Participation:</strong> How often do you actively participate in the meeting? Are you just attending the meeting because it’s in your calendar and that’s what you’re suppose to do?</li><li>👍 <strong>Feedback:</strong> If attendance is not mandated, are you passionate about the topic? Is it making you better? Give feedback to meeting owner if you’re thinking about removing from your calendar first.</li></ul><p>All scheduled meetings are not bad, far from it. However, we need to be objective again. Many long running scheduled meetings <strong>lose their impact</strong> and deliver marginal value over time, it’s easy to diverge from the initial intent. Many companies do forms of <a href="https://www.worklife.news/culture/meeting-purge/">meeting resets</a> to combat this problem.</p><h3>Next time ⏭️</h3><p>We’ll be exploring what async looks like for ceremonies and some of the issues around ‘async’ tooling!</p><p>​</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=014730d65dae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/moonpigtech/the-synchronous-analysis-of-meetings-014730d65dae">​The synchronous analysis of meetings</a> was originally published in <a href="https://medium.com/moonpigtech">Moonpig Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modern Software Engineering Book Reflections]]></title>
            <link>https://medium.com/@ashgrennan/modern-software-engineering-book-reflections-861f0b65af42?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/861f0b65af42</guid>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Tue, 28 Nov 2023 19:59:35 GMT</pubDate>
            <atom:updated>2026-11-13T21:13:27.896Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*yBz3qRp6wgq39fAn.jpg" /></figure><p>I recently read <a href="https://twitter.com/davefarley77">Dave Farley’s</a> <a href="https://www.oreilly.com/library/view/modern-software-engineering/9780137314942/">Modern Software Engineering</a>, which sets out a modern, sensible approach to the discipline. It explains clearly what it means to be an engineer and how to tackle engineering problems.</p><p>Much of Dave’s thinking felt familiar. Not because we’ve worked together, but because I have the scars from trying things that didn’t work. Each chapter felt like catching up with an old colleague who’d been there and seen what works. I highly recommend it.</p><p>What follows are my own views, prompted by the book and by others in the industry.</p><h3>Building incrementally</h3><p>Heavy upfront analysis and design slows progress. For simple software that may be fine, but systems that need to be scalable, reliable and fault-tolerant are rarely simple. Complex systems aren’t designed by one mind on the first attempt. They’re built incrementally, by learning what works.</p><p>Ideas that look great on paper fall short of requirements because of unknowns nobody expected. That was waterfall’s biggest flaw, and many notable systems ended up a <a href="https://blog.codinghorror.com/the-big-ball-of-mud-and-other-architectural-disasters/">big ball of mud</a> despite <a href="https://en.wikipedia.org/wiki/List_of_failed_and_overbudget_custom_software_projects">hundreds of millions</a> of investment.</p><p>Software engineers are in an unusual position. Many disciplines can’t pivot the way we can. Change the plan for a bridge spanning several miles, and it may be extremely difficult or impossible. We can delete code and remove resources.</p><h3>Performing engineering</h3><p>Software engineering is far more than writing code. Getting the architecture and design right for the component you’re working on matters. The value of a good engineer is in reflecting on approaches, forming hypotheses, experimenting, drawing conclusions and learning what works, over and over.</p><p>We need to choose approaches knowing what those choices mean. What trade-offs are we making? The <a href="https://en.wikipedia.org/wiki/CAP_theorem">CAP theorem</a> is a simple example. We’re organising complexity all the time. It may grow linearly, but ideally not exponentially, and taming it is our job.</p><blockquote><em>Code is the output of good engineering, not the driver of it</em></blockquote><p>Clever code has little value. Code should be simple, expressive and easy to understand. On a team, code is a communication tool. Anything unclear leads to misunderstandings, and misunderstandings lead to bugs.</p><p>Compilers are very good at optimising, so whether something takes one line or three shouldn’t be a performance concern. If in doubt, test.</p><h3>Change</h3><p>Change is constant, so enabling it should be a first-class concern. Small, incremental, iterative changes force us to build with the principles above, such as modularity and separation of concerns. The payoff is a flatter cost of change, not just early on but across the system’s whole life.</p><p>As you’ve probably experienced, tightly coupled systems get harder, more expensive and riskier to change. Releasing them becomes a scheduled event, so everything takes longer and releases slip. That slows how fast we can build, measure and learn. Meanwhile, a competitor that releases more often has an advantage that compounds. They learn faster and pull ahead.</p><p>Changing often needs confidence in each release. If every release is as bug-free as we know how to make it, compiling and testing should be the only thing between a change and production. Test-driven development (TDD) builds that confidence, and it forces good practice into design and code.</p><p>A deterministic release process, with automated tests exercising the code at different levels, adds to it. Continuous integration and deployment is the tool for this: building the binaries, running automated tests from unit to end-to-end, scanning libraries for vulnerabilities and so on.</p><p>A fast, effective continuous integration process is what lets some of the largest companies in the world release thousands of times a day across hundreds of teams.</p><h3>Dogma</h3><p>It’s easy for a team to keep doing what it knows, simply because it worked before or was seen on another project. A trivial example is installing half a dozen lint configurations, each dictating how to write loops, types, function order, documentation and so on.</p><p>The intent is good, but many of these configs come from large companies with their own goals, reasons and style choices. Do those choices help our team, in our context? Do we follow the conventions because they help us? That’s for us to decide, rather than assuming whatever was done before applies to everyone.</p><blockquote><em>“Have no respect whatsoever for authority; forget who said it and instead look what he starts with, where he ends up, and ask yourself, ‘Is it reasonable?’”</em></blockquote><blockquote><em>— Richard Feynman, </em>What Do You Care What Other People Think?<em> (1988)</em></blockquote><p>As engineers, we should make decisions based on data. Evidence is our compass through the sea of possibilities, and it tells us whether we’re getting closer to the goal or further away. Technical decisions shouldn’t go to whoever was loudest or most convinced.</p><h3>Why it matters</h3><p>Software engineering is hard. Tooling and technology keep advancing, and so does the complexity of what we build. Software runs mission-critical systems and financial markets, and pilots all kinds of vehicles. Even an everyday system like ecommerce is expected to be available, fast and fault-free wherever it’s used.</p><p>Things go wrong. Meeting customers’ expectations and complying with legislation are real engineering challenges, so resilience and fault tolerance have to be built in.</p><p>Design is what makes change possible. Good teams build great software in any framework or language, but wrong design choices are hard to overcome once they’re cemented in. Modular software isn’t enough, either. Organisations need to be modular too.</p><p>If releasing quickly to learn is blocked by dependencies on other teams, you’re not agile. Being decoupled is a key marker of high-performing teams and organisations, because you can only go as fast as your slowest constraint.</p><p>Finally, systems affect real people, like you and me. One error could be devastating for someone: a refused loan, visa, mortgage or healthcare, and much more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=861f0b65af42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub Actions — Supercharged]]></title>
            <link>https://medium.com/@ashgrennan/github-actions-supercharged-7f0be3fe5430?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f0be3fe5430</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[github-actions]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Wed, 18 Oct 2023 19:01:40 GMT</pubDate>
            <atom:updated>2026-11-13T21:17:12.277Z</atom:updated>
            <content:encoded><![CDATA[<h3>GitHub Actions — Supercharged</h3><p>I’ve used several CI/CD platforms, including Bitbucket, GitLab and AWS CodePipeline, and GitHub Actions is the one I’ve come to appreciate most. In my opinion, its implementation is the best of them.</p><p>Its strengths:</p><ul><li><strong>Reusable workflows.</strong> Processes are easy to maintain and repeat across projects.</li><li><strong>Concise YAML.</strong> If indentation bothers you, a linter helps.</li><li><strong>A repository per action.</strong> Each step’s action has its own GitHub repository, so documentation and troubleshooting are easy to find.</li><li><strong>Community workflows.</strong> Community involvement means continuous improvement and plenty of shared knowledge.</li></ul><p>Moving to GitHub Actions, for both personal and work projects, has mostly been seamless. There were occasional bumps, like artifacts ending up in the wrong place, but my overall impression is positive. So where are the pitfalls?</p><h3>The challenge</h3><p>Think of assembling flat-pack furniture. The instructions are clear and the pieces fit together intuitively, but checking every screw and bolt is in the right place is tedious. The only way to know is for someone to stress-test the finished piece. Not the most efficient method.</p><p>Consider this step:</p><pre>steps:<br>  - name: Checkout repository<br>    uses: actions/checkout@v3<br>    with:<br>      ref: ${{ inputs.relase-tag }}</pre><p>Did you spot it? The input is release-tag, but it’s referenced as relase-tag. The result is a failed build.</p><h3>Tools to the rescue</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/0*8RfS2Zf7Rw_639MP.jpg" /></figure><p>A few tools help you avoid the dreaded Process completed with exit code 1.</p><h3>1. actionlint</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*atBn_llJdzJEXXD0.gif" /></figure><p>actionlint is a static checker for GitHub Actions workflow files. It catches invalid definitions and common pitfalls:</p><ul><li><strong>Expressions.</strong> Checks GitHub Actions’ ${{ }} expression syntax is well formed.</li><li><strong>Syntax.</strong> Finds basic YAML errors.</li><li><strong>Dependencies.</strong> Checks that each job’s needs points to a job that exists.</li><li><strong>Schema.</strong> Confirms events, jobs and steps are defined correctly.</li></ul><p>Download the binary from its <a href="https://github.com/rhysd/actionlint">repository</a> and run actionlint in your workflow directory. It’s fast, which makes it a good fit for a git hook.</p><h3>2. GitHub Actions for VS Code</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G8MjsLFn5lurmAfS.png" /></figure><p>The <a href="https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions">GitHub Actions extension</a> for VS Code adds:</p><ul><li><strong>Autocomplete and IntelliSense</strong> for workflow YAML.</li><li><strong>A workflow view</strong>, with run details and live status.</li><li><strong>Inline errors and warnings</strong> in the editor.</li></ul><h3>3. nektos/act</h3><p><a href="https://github.com/nektos/act">nektos/act</a> runs GitHub Actions on your own machine. Feedback is fast, there’s no need to push, and it saves on runner costs.</p><p>It uses Docker containers to emulate GitHub’s runners, which keeps environments consistent, though those containers can lag behind GitHub as the platform changes. For experimenting with workflows, it’s an excellent tool with a fast feedback loop. There’s a good <a href="https://nektosact.com/">getting started guide</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f0be3fe5430" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Waste of Time]]></title>
            <link>https://medium.com/@ashgrennan/a-waste-of-time-7ebecbce305f?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ebecbce305f</guid>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Mon, 28 Aug 2023 19:15:57 GMT</pubDate>
            <atom:updated>2026-11-13T21:07:19.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/969/0*fPAZEJWFxaK8aKBE" /></figure><p>“That’s a waste of time.” We’ve all heard it, and most of us have said it.</p><p>Outside of working together, the phrase carries contempt, disapproval or even disgust at how someone spends their time or lives their life. People who say it often believe they know better. Usually, they don’t.</p><p><em>N.B. In business, when you’re working towards an outcome, the phrase is perfectly valid. It starts a useful discussion about focusing on the right problem and getting value for the time spent. This post is about unwelcome opinions on how people spend their own time.</em></p><h3>For example</h3><ul><li>Gaming is a waste of time</li><li>Swimming (or your sport of choice) is a waste of time</li><li>Making music is a waste of time</li><li>Performing arts are a waste of time</li><li>That degree is a waste of time</li></ul><h3>No, you’re not more enlightened</h3><p>Ask someone who says it what makes something a waste of time, and you’ll hear answers like:</p><ol><li>It doesn’t produce anything</li><li>You could be doing “better” things with the time</li><li>You’re just sitting there</li><li>There’s no money in it</li></ol><p>All wrong, of course. So where does the mindset come from? Society has a common script: get educated, then get a job. That’s it. Anything in early life that doesn’t work towards that gets labelled a waste of time.</p><h3>The joy of chance</h3><p>To know whether something was a waste of time, you’d have to be an all-knowing deity who could see the start and end of every choice a person makes. I’d argue even that is <em>very</em> tricky, because of <a href="https://en.wikipedia.org/wiki/Butterfly_effect">the butterfly effect</a>, and because even negative outcomes bring some positives.</p><h3>Into chaos theory</h3><p>Every small decision shapes our lives, for better or worse, and we can’t know which. So how could anyone <strong>know</strong> an activity isn’t worth the time? Doing what brings us joy is good for us, and it leads to connections, relationships and everything else that makes us human.</p><ul><li>Ryan, a shy, fairly introverted young man, binge-watches a TV show by his favourite director.</li><li>A few weeks later, the show comes up at a work lunch, and Ryan, unusually, joins in.</li><li>Someone else there also loves the show and the director, and a friendship forms.</li><li>Months later, Ryan is invited to his co-worker’s (now friend’s) barbecue, and gets talking to a girl…</li></ul><p>Watching a TV show, the “waste of time”, led Ryan to friendships and opportunities he’d never have had otherwise.</p><h3>In defence of the phrase</h3><p>There can be some justification. Perhaps the point is that someone spends too much time on one thing. But what counts as too much? I think the simplest test is whether it comes at the expense of everything else, or of things likely worth as much or more. Diminishing returns play a part too. Think of the 80/20 rule.</p><p>Sometimes putting most of your time into one thing is the right call. But as a default? The more of the day’s 24 hours it takes, the more everything else suffers.</p><p>Telling people they’re wasting their time is the wrong approach. If you want to help, suggest ways to spread their time a little more evenly.</p><p>There’s some irony in writing this post. Not knowing where it will lead is exactly why it should exist.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ebecbce305f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lambda Power Tuning Case Study]]></title>
            <link>https://medium.com/@ashgrennan/lambda-power-tuning-case-study-f27d1747be46?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/f27d1747be46</guid>
            <category><![CDATA[lambda]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Sat, 18 Jun 2022 13:01:41 GMT</pubDate>
            <atom:updated>2026-11-13T21:09:43.540Z</atom:updated>
            <content:encoded><![CDATA[<p>AWS Lambda bills on two things: memory size and duration. Because the charge is in GB-seconds, <strong>a faster function costs less</strong>. More memory also means more vCPU, so for CPU-bound work you <em>could</em> raise memory, run faster <em>and</em> pay <strong>less</strong>. Interesting, right?</p><h3>Measuring</h3><p>Measuring that is harder than it sounds. It takes many invocations at each memory setting to get a statistically significant result, repeated across many settings. The <a href="https://github.com/alexcasalboni/aws-lambda-power-tuning">AWS Lambda Power Tuning</a> tool does it for you. It runs as a Step Functions state machine, invokes your function <em>n</em> times at each memory setting and records the execution time.</p><p>It then charts execution time and average cost for each configuration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5_6_V_hTDxEzufmU.jpg" /></figure><p>In this example, execution time falls from 35s at 128MB to under 3s at 1.5GB, and it’s 14% cheaper to run.</p><h3>The scenario</h3><p>The test subject is a <strong>real</strong> Lambda in production. Digging through its logs, I found a non-I/O operation that looked slow and likely CPU-bound, a good case for power tuning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*fhGq0eJKiUnsV_pq.png" /></figure><p>The y-axis, which I cropped off above (sorry), is response time. The same goes for the charts below.</p><p>At <strong>30 invocations</strong> per memory setting, the first results were disappointing. More memory should give a <em>fairly</em> linear improvement, and it didn’t. A third-party service the function called had varying response times, which skewed the results.</p><p>The goal was to find the right memory for CPU-bound work, so I/O wasn’t relevant. I <strong>removed every I/O call</strong>, mocking the HTTP calls, so only the computation was measured and the results were deterministic.</p><h3>Round 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*g2EPVpPjPU49Joy-.png" /></figure><p>That gave a much more linear progression. Cost stayed similar across configurations, because each step up in memory cut the time by a matching amount.</p><p>The highest memory setting performed best, so the next run started from that result, 1536MB, and stepped up to 3072MB. The x-axis shows each value tested.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*urco7Qnmq7WiOHT6.png" /></figure><p>Which is best depends on whether you’re optimising for cost or speed. 1792MB is the cheapest. 2240MB saves under 10ms more, which isn’t worth the extra cost for a service that isn’t latency-sensitive.</p><h3>The result</h3><p>With I/O removed, the computation went from 900ms to under 100ms, at a fractionally lower cost. That’s an 88.8% reduction for very little work, and the tool makes it easy to try on your own functions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f27d1747be46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set Up a Local Serverless Environment with npm Packages]]></title>
            <link>https://medium.com/@ashgrennan/setup-local-serverless-environment-with-npm-packages-fe254f9b319a?source=rss-b3ec25007f53------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe254f9b319a</guid>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Ash Grennan]]></dc:creator>
            <pubDate>Tue, 04 Jan 2022 16:19:44 GMT</pubDate>
            <atom:updated>2026-11-13T21:19:38.950Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/245/0*hMaFWCTjgDClqtRE.png" /></figure><p>Say you’ve written Serverless Framework IaC for several Lambdas behind API Gateway, and they read from and write to DynamoDB. You want to test that code locally while developing, and any other developer should get the same setup just by cloning the project and running it.</p><p>You also have beta, staging and production environments, and want a local one with its own config.</p><p>The full working example is <a href="https://github.com/ash-grennan/serverless-offline-with-dynamodb">on GitHub</a>.</p><h3>Plugins</h3><p>Two Serverless plugins do the work:</p><ul><li><a href="https://www.serverless.com/plugins/serverless-offline">Serverless Offline</a> runs Lambdas and API Gateway locally. It gives each Lambda an endpoint and hot-reloads during development.</li><li><a href="https://www.serverless.com/plugins/serverless-dynamodb-local">Serverless DynamoDB Local</a> runs a local emulation of DynamoDB, which these Lambdas need. It requires a <a href="https://www.java.com/en/download/">Java runtime (JRE)</a>.</li></ul><h3>Getting started</h3><p>Install the plugins as dev dependencies:</p><pre>npm i --save-dev serverless-offline serverless-dynamodb-local</pre><p>Add them to the plugins section, which most Serverless templates already have. In TypeScript:</p><pre>service: &quot;serverless-offline-with-dynamodb&quot;,<br>frameworkVersion: &quot;2&quot;,<br>plugins: [<br>  &quot;serverless-esbuild&quot;,<br>  &quot;serverless-offline&quot;,<br>  &quot;serverless-dynamodb-local&quot;,<br>],<br>...</pre><p>Run Serverless Offline with a stage, because parts of the IaC, such as the <a href="https://github.com/ash-grennan/serverless-offline-with-dynamodb/blob/821939ef4ec7b6b02779dc67a0a126e7cf9b0a80/serverless.ts#L39">table name</a>, expect one:</p><pre>serverless offline --stage=local</pre><p>If it starts, you’ll see a list of API Gateway endpoints like these:</p><pre>GET  | http://localhost:3000/local/api/customer/{id}<br>POST | http://localhost:3000/local/api/customer</pre><p>Any Lambda that calls DynamoDB will fail at this point. The local database doesn’t exist yet, and the code doesn’t know where to find it.</p><p>For the second part, wrap DocumentClient in a small function and use it everywhere. It points at the local emulator when the stage is local:</p><pre>const getClient = (stage: string): DocumentClient =&gt; {<br>  if (stage == &quot;local&quot;) {<br>    return new DocumentClient({<br>      region: &quot;localhost&quot;,<br>      endpoint: &quot;http://localhost:8000&quot;,<br>    });<br>  }<br>  return new DocumentClient({ region: &quot;eu-west-2&quot; });<br>};<br><br>export default getClient;</pre><blockquote>Side note: the region should come from your config, which is out of scope here.</blockquote><p>Calling code then looks like this:</p><pre>const documentClient = getClient(process.env.ENVIRONMENT);</pre><p>Then start the local database:</p><pre>serverless dynamodb start --stage=local</pre><p>Your Lambdas can now talk to DynamoDB. To look inside the emulator, install <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/workbench.settingup.html">NoSQL Workbench for DynamoDB</a>, go to <strong>Operation builder &gt; + Add connection</strong> and select the <strong>DynamoDB local</strong> tab:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*-d9AXbQNEgjIlQHd.png" /></figure><h3>Seed data</h3><p>Seeding the table on start is straightforward. Put the items in a JSON array:</p><pre>[<br>  {<br>    &quot;customerId&quot;: &quot;ec3808fb-ecb7-48b6-8d82-67529ad0c6ef&quot;,<br>    &quot;firstName&quot;: &quot;Ash&quot;,<br>    &quot;lastName&quot;: &quot;Grennan&quot;<br>  },<br>  ...<br>]</pre><p>Then reference the file in a <a href="https://github.com/ash-grennan/serverless-offline-with-dynamodb/blob/main/serverless/configs/dynamodbConfig.ts">DynamoDB config</a>. Here it’s only for the local stage, but it could cover other environments too:</p><pre>start: {<br>  seed: true<br>},<br>seed: {<br>  local: {<br>    sources: {<br>      table: &quot;local-customers&quot;,<br>      sources: [&quot;./seed-data.json&quot;]<br>    }<br>  }<br>}</pre><p>Run:</p><pre>serverless dynamodb start --migrate --stage=local</pre><p>The table now contains the seed items, which you can check in NoSQL Workbench.</p><h3>Trade-offs</h3><p>The strength of this approach is that another developer can be up and running with three commands, using the IaC that already exists.</p><p>It can’t emulate <em>everything</em>. <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html">Model schemas for API Gateway</a>, for example, aren’t supported. For those you’d want something more complete, such as <a href="https://github.com/localstack/localstack">LocalStack</a>, whose paid versions add even more, such as IAM.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe254f9b319a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>