<?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 Mia de Búrca on Medium]]></title>
        <description><![CDATA[Stories by Mia de Búrca on Medium]]></description>
        <link>https://medium.com/@miamolliedev?source=rss-c35de5598f13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1iO_cGwJKxa6PMU8xDgi1w.jpeg</url>
            <title>Stories by Mia de Búrca on Medium</title>
            <link>https://medium.com/@miamolliedev?source=rss-c35de5598f13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 13:42:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miamolliedev/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[Slightly Better AI: A Practical Guide for Busy Software Engineers]]></title>
            <link>https://miamolliedev.medium.com/slightly-better-ai-a-practical-guide-for-busy-software-engineers-4f04c94b32a0?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f04c94b32a0</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[ethics]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Wed, 04 Nov 2026 00:46:18 GMT</pubDate>
            <atom:updated>2026-11-04T00:46:18.775Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ReA2g8WyCvx-XajPKeZnzQ.png" /></figure><p>It’s 2026. We’ve gone past “should we use AI for this?” to everything AI, everywhere, all at once. Sparkly AI-powered features have become a staple of most product UIs, and agentic workflows are standard issue. Software engineers are on the front line of this particular rat race: expected to use an ever-changing ecosystem of GenAI tools in day-to-day work, while also keeping up with the latest approaches and best practices for building AI-powered products.</p><p>Perhaps your spidey sense has been tingling for some time, telling you that all is not quite right. Or maybe you’ve been a cautious adopter all along, but you’ve kept your head down because you don’t want to be labelled “anti-AI”. If you’ve been neck-deep in this new facet of the rat race, you might not have had time to follow that hunch; it&#39;s hard enough to get the work done and stay up to date with industry practices right now.</p><p>Whoever you are, if you are looking for a 101 intro to the other bits of AI, with actionable steps to move the needle just the tiniest bit — this post is for you.</p><h3>What seems to be the problem, Doctor?</h3><p>Let’s take a high-level look at many concerns folks have with AI. From environmental impact to ethics, security and broader socioeconomic consequences, there’s a lot to consider. And the risks are no longer limited to “just” the models themselves. As agentic AI gives models the ability to use tools, access data, and take actions, it can amplify both the benefits and the harm. As well as introducing new ways for things to go wrong.</p><p>For each problem child, there’ll be a brief introduction (you’re busy, right?) and a few attainable baby steps towards better — something a single engineer can actually influence. And if you want to dive deeper, there’ll be some recommended reading and other interesting tools to check out too.</p><blockquote>Caveat: The technology underpinning LLMs, and their application across domains, is accelerating at breakneck speed. So all of this might be out of date as soon as I’ve written it. But I suspect the broad strokes of these concerns will remain relevant, while individual tools and mitigation strategies appear and disappear.</blockquote><p>Let’s dig in!</p><h3>Environmental Impact</h3><p>Compute requires energy (and water), most energy sources emit carbon, and carbon is bad for the environment. And AI requires a LOT of compute.</p><p>The conversation started with the mega compute required for training, but inference can also be compute-intensive, depending on the task (input and output variations), the location¹, and the model architecture.</p><p>You might hear folk say it isn’t all that bad, it’s getting more efficient, or why focus on AI when other industries are responsible for far more carbon emissions. To them I say — stuff can be two things. All those things can be true (to varying degrees), <em>and</em> it can still make sense to be mindful of the environmental impact AI does have.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*cDcqICcaYh2WpSfq.gif" /><figcaption>Brooklyn 99’s Jake Peralta knows how to hold two seemingly contradictory pieces of information at once.</figcaption></figure><p>Another “it’s no biggie” argument is that, thanks to hardware and architectural improvements, a typical AI prompt can now use about as much energy as a Google search. However, that comparison applies to a “median”, short question-and-answer prompt — not loading an entire codebase, invoking multiple skills or generating a massive output.</p><p>To me, the more interesting consideration is not apples-to-apples on a single query; it’s how AI is influencing our behaviour<strong>.</strong> A search might once have been a question, an answer, and done. Chat interfaces encourage us to keep going: another question, another refinement, another generation. Like infinite scroll, the interaction can become hard to stop.</p><p><strong>What can you do?</strong></p><ul><li><strong>Rightsize the model</strong>: Optimise for task-level efficiency and energy per successful outcome, not just model size. The Hugging Face A<a href="https://huggingface.co/spaces/AIEnergyScore/Leaderboard">I Energy Score leaderboard</a> shows substantial variation in energy use: even within text generation, there’s a 62× difference between the highest and lowest figures. Choosing the right model for the task can make a real difference. Smaller models with fewer parameters generally² means fewer operations and less compute, but a cheap model that needs five attempts may be less efficient than a more capable model that gets it right the first time. Tools like this <a href="https://dervity.com/tools/model-selector">model selector</a> can help you find a good fit.</li><li><strong>Control the input and outputs</strong>: Every incoming token needs processing, and all your output has to be generated; therein lies the compute. So set sensible limits on context, iterations, and output length, both in the products you build and in your local dev setup. Watch out for agents that chew through massive context windows, make unnecessary tool calls, or get stuck in costly loops. <a href="https://github.com/Green-PT/honey-for-devs">Honey by GreenPT</a> can help measure the resource use of AI coding workflows.</li><li><strong>Choose cleaner compute:</strong> Data centres need energy to run workloads, plus extra energy for KTLO tasks like cooling. Consider using a smaller, eco-minded provider³ or self-hosting an open model in a region with cleaner electricity and more efficient data centres. The EU requires data centres to report energy-performance indicators, that should help guide decisions. Tools like <a href="https://lowrouter.ai/">LowRouter</a> can help route requests across providers and estimate the carbon emissions of each call.</li></ul><p><strong>Tell me more!</strong></p><ul><li><a href="https://greensoftware.foundation/">Green Software Foundation</a>: Standards, strategies, and solutions for greener software, including AI</li><li><a href="https://ecologits.ai/latest/">EcoLogits</a>: A suite of open-source tools for tracking software carbon emissions</li></ul><h3>Ethics and Harm</h3><p>AI can cause real harm, whether intentional or not. I’ve kept this section shorter than sustainability, partly because it’s such a huge topic and not one I’m as familiar with. That’s certainly not a reflection of its relative importance or potential damage.</p><p>Confidently wrong answers can and do lead people astray, biased models have reinforced discrimination⁴, and relying too heavily on AI can undermine our ability to think critically and do things for ourselves (<a href="https://dl.acm.org/doi/10.1145/3706598.3713778">cognitive offloading</a> and <a href="https://pubmed.ncbi.nlm.nih.gov/42932681/">deskilling</a>).</p><blockquote>Pangram wasn’t designed for harm, but the bias it contains, and the confidence people wrongly attribute to it, translate into extreme real-world harm.</blockquote><blockquote><em>— Aubrey Blanche, </em><a href="https://peopleoverplatforms.safespace.com/p/who-gets-accused-of-using-ai?e=bf612160-0367-4471-affe-c09ca3ada5f1"><em>The Mathpath</em></a></blockquote><p>Then there’s deliberate misuse: deepfakes, misinformation, and tools designed to deceive or harm. Add unresolved questions around copyright, attribution and whose work is being used to train these models, and there’s plenty to be concerned about.</p><p><strong>What can you do?</strong></p><p>You might not get to make the final call on any of this. But you can ask awkward questions, challenge assumptions and get people thinking before things go too far. Sometimes that’s where better outcomes start.</p><ul><li><strong>Question the deployment bar</strong>: Consistently ask what measurable benefit justifies introducing AI and what level of accuracy and risk is acceptable. Use kickoffs to start these conversations.</li><li><strong>Build in guardrails</strong>: Threat-model potential harms and misuse, evaluate for bias and unequal outcomes, and plan for failure with monitoring, escalation paths and a way to disable or fall back from an unsafe system. Introduce consistently run, targeted offline <a href="https://www.anthropic.com/research/demystifying-evals-for-ai-agents">evals</a> using <a href="https://www.promptfoo.dev/blog/top-llm-safety-bias-benchmarks/">real-world data sets</a>, and runtime <a href="https://medium.com/data-science-collective/essential-guide-to-llm-guardrails-llama-guard-nemo-d16ebb7cbe82">guardrails</a>. Or try out <a href="https://github.com/cvs-health/langfair">LangFair</a></li><li><strong>Make ownership explici</strong>t: Establish who is responsible for evaluating the system, monitoring it in production, responding to incidents and deciding when to roll it back. What does “on call” response look like for a system that’s technically up but serving harmful content?</li></ul><p><strong>Tell me more!</strong></p><ul><li>Algorithmic Justice League — <a href="https://www.ajl.org/">Unmasking AI harms and biases</a></li><li>NIST — <a href="https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence">AI Risk Management</a> and <a href="https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=933399">Explainable AI</a></li><li>Coalition for Health (Chai): AI Risk and Governance <a href="https://www.chai.org/">Playbooks</a></li></ul><h3>Socioeconomic</h3><p>AI is shaking up our daily lives, from how we write an email to whose job still exists at the end of the year. Don’t assume that this is all happening equally. Who gets access, who benefits, and who bears the cost?</p><p>Paid tools can give well-resourced teams an advantage over people who can’t afford the subscriptions. Poorly designed tools can exclude people with different access needs. And while AI might make some people more productive, those productivity gains don’t necessarily benefit the people doing the work — it can be used to justify cutting jobs, reducing entry-level opportunities, or squeezing more output from the people who remain.</p><p><strong>What can you do?</strong></p><p>This one is hard; there is a limit to how much influence you can have on society at large. But you can influence the products you build, the decisions you challenge, and the questions you consistently bring to the table.</p><ul><li><strong>Design to augment, not just replace:</strong> Ask whether the tool helps people do their jobs better, or simply removes them from the process. Keep humans meaningfully involved where judgement, context and accountability matter.</li><li><strong>Make access and accessibility part of the design: </strong>Does your solution assume everyone has a paid AI subscription, a powerful device, reliable internet, or permission to send work data to a third-party provider? Does it work for people using assistive technologies or with different communication and cognitive needs? Chat interfaces have become the norm, but consider how <a href="https://dl.acm.org/doi/10.1145/3689050.3704798?utm_source=chatgpt.com">multimodal interactions</a> might serve a wider range of people.</li><li><strong>People managers, keep your eyes open:</strong> Access to AI tools isn’t equal, and neither is how people are judged for using them. Research suggests <a href="https://hbr.org/2025/08/research-the-hidden-penalty-of-using-ai-at-work">women and older workers can face a competence penalty</a> for using AI at work. Be wary of using LLMs to speed through decisions about people — whether that’s summarising 360 feedback, assessing candidates or informing promotion decisions. Make sure evaluation criteria focus on the quality and impact of someone’s work, not assumptions about how they produced it.</li></ul><p><strong>Tell me more!</strong></p><ul><li><a href="https://medium.com/the-modern-scientist/unequal-access-to-ai-and-its-cultural-implications-0948a8042c91">Unequal Access to AI</a>: Cultural implications and how AI is deepening the socioeconomic divide</li><li><a href="https://oecd.ai/">OECD AI Policy Observatory</a>: policy research on AI, employment and social impacts.</li><li><a href="https://medium.com/data-science/disability-accessibility-and-ai-0d5ab06ec140">Disability, Accessibility and AI</a>: discussion of how AI can help and harm people with disabilities</li></ul><h3>Privacy and Security</h3><p>Where’s your data going, and who can access it? AI tools can expose sensitive information, while coding agents can introduce security vulnerabilities through prompt injection, malicious packages or excessive permissions. And because agents can take actions on your behalf, a mistake can go beyond a confidently wrong answer. Don’t assume a tool will behave safely just because it did last time.</p><p><strong>What can you do?</strong></p><ul><li><strong>Protect the data: </strong>Treat third-party LLM providers as external services. Before sending code, customer data or internal documents, understand where that data goes, who can access it, and whether it can be used for training. If you’re storing conversations or other data to maintain context, understand how it’s secured, how long it’s retained and what GDPR or other privacy requirements apply. Check that your provider’s safeguards meet your needs. Hosting in Europe may help with data residency, but doesn’t automatically make you GDPR-compliant.</li><li><strong>Check what you trust: </strong>Don’t blindly trust tools, skills, extensions, MCP servers or agents. Check who created them, what permissions they need and what they’re doing with your data. Remember that agents can encounter malicious instructions in webpages, documents, emails and code repositories. Treat external content as untrusted input, rather than assuming the agent will reliably distinguish instructions from information. <a href="https://arstechnica.com/security/2025/12/browser-extensions-with-8-million-users-collect-extended-ai-conversations/?utm_source=chatgpt.com">This Ars Technica article about browser extensions collecting AI chat data</a> is a good reminder that the risks aren’t limited to the AI provider itself.</li><li><strong>Tighten the agentic harness:</strong> Limit access to tools, and the permissions within those tools. And scope that access down to what’s needed for the task, not to the agent. Use sandboxing, scoped identities and short-lived credentials. Separate read and write permissions, and require human approval for high-impact or irreversible actions. Log tool calls and consequential actions, and make sure you can stop an agent and revoke its access when something goes wrong.</li></ul><p><strong>Tell me more!</strong></p><ul><li><a href="https://genai.owasp.org/llm-top-10/">OWASP Top 10 for LLM Applications</a> — common risks including prompt injection, sensitive information disclosure and excessive agency.</li><li><a href="https://www.cyber.gov.au/publication/ai-data-security">AI Data Security</a></li><li>Australian Cyber Security Centre:<a href="https://www.cyber.gov.au/advisory/agentic-ai-harnesses"> guide to agent harnesses</a></li></ul><h3>Baby steps, maybe slightly better AI</h3><p>There’s a lot of end-of-days doom around, and people are understandably worn down by the relentless onslaught of change. It’s easy to look at the scale of these problems and conclude that nothing you do as an individual engineer matters.</p><p>You can’t fix the climate crisis, settle copyright law, or single-handedly prevent workforce displacement. And when you’re already stretched thin, being handed another list of things to worry about isn’t particularly helpful.</p><p>But you don’t need to solve the whole problem to make a difference to the decisions in front of you.</p><p>Ask good questions, keep that spark of curiosity, and take baby steps. This is not the bleeding edge; this is maybe just a bit better.</p><ol><li>Location, and also the time of day, determine what energy source is used for compute. Could be nice clean solar at some times, and gas at others.</li><li>Fewer parameters can mean less compute, but the relationship isn’t straightforward: model architecture, hardware, quantisation and the task itself all affect energy use.</li></ol><p>3. GreenPT, AIm2Balance</p><p>4. There are countless examples of this, across <a href="https://www.reuters.com/article/us-amazon-com-jobs-automation-insight/amazon-scraps-secret-ai-recruiting-tool-that-showed-bias-against-women-idUSKCN1MK08G">gender</a>, <a href="https://www.science.org/doi/10.1126/science.aax2342">race</a>, and <a href="https://www.aarp.org/press/releases/2023-12-19-aarp-foundation-joins-class-action-charge-claiming-metas-job-ad-delivery-algorithm-discriminates-against-older-workers-and-women-workers.html">age</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f04c94b32a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Stopped Chasing Precise AI Emissions Numbers]]></title>
            <link>https://miamolliedev.medium.com/why-i-stopped-chasing-precise-ai-emissions-numbers-90c8312703a7?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/90c8312703a7</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[sustainable-development]]></category>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 02:33:12 GMT</pubDate>
            <atom:updated>2026-06-16T02:33:12.455Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I Stopped Chasing Precise AI Carbon Numbers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mBfz8YnFXbCCehIe" /><figcaption>Photo by <a href="https://unsplash.com/@fakurian?utm_source=medium&amp;utm_medium=referral">Milad Fakurian</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I recently left my role as a staff engineer to take some time to figure out what ethically motivated work actually looks like for me.</p><p>One of the areas I kept coming back to was sustainable software, and in particular the environmental impact of generative AI (GenAI).</p><p>I started to wonder what the cost of my own use of GenAI was. So like any software engineer would, I decided to build something that would help me understand: an MCP server that lets an LLM estimate the environmental impact of a session in real time.</p><p>I thought writing the API would be a simple project. Instead, I spent more time questioning the measurement than building the software.</p><h3><strong>The Easy Part</strong></h3><p>On the surface, the problem is straightforward. Environmental impact is usually expressed as carbon equivalence (kgCO2e), that’s how much carbon was emitted from doing an activity. You calculate it by multiplying the quantity of an activity you’re doing, by some “emissions factor”.</p><p>In the case of LLMs, the activity parts maps neatly to tokens and you can calculate carbon output using the following formula:</p><ol><li>Count the input tokens (prompt, context, and any skill files).</li><li>Count the output tokens (the response from the model).</li><li>Multiply each by a “carbon per token” value, where output costs more.</li><li>Add the two values together.</li></ol><pre>carbon_equivalent = (input * input_carbon) + (output * output_carbon);</pre><p>So that was my plan for the calculation behind the MCP server.</p><p>Most AI providers make token counts per session easy to find — as they should, since pricing plans, rate limiting and cut-offs all depend directly on token usage. That gives us one set of variables: input and output token values.</p><p>But then I ran into a problem: <em>how do you find out how much </em><strong><em>carbon</em></strong><em> is emitted per token</em>?</p><h3><strong>The Problem</strong></h3><p>The “simple” AI impact equation needs values for two variables — tokens and carbon per token — but that second value turned out to be unexpectedly hard to pin down.</p><p>To try and fill in the blanks, I went into research mode. I dug layers deep behind headlines like “a prompt is 10x worse for the environment than a simple search” (<a href="https://www.goldmansachs.com/insights/articles/AI-poised-to-drive-160-increase-in-power-demand">Goldman Sachs, citing IEA</a> / <a href="https://www.sciencedirect.com/science/article/pii/S2542435123003653?dgcid=author">S</a><a href="https://www.sciencedirect.com/science/article/pii/S2542435123003653?dgcid=author">cience Direct</a>). I sifted through <a href="https://blog.samaltman.com/the-gentle-singularity">public disclosures</a> of AI <a href="https://cloud.google.com/blog/products/infrastructure/measuring-the-environmental-impact-of-ai-inference/">energy profiles</a>, open source data sets like <a href="https://huggingface.co/spaces/AIEnergyScore/Leaderboard">Hugging Face</a>’s AI Energy Leaderboard, and read any <a href="https://www.technologyreview.com/2025/05/20/1116327/ai-energy-usage-climate-footprint-big-tech/">articles</a> I could get <a href="https://hannahritchie.substack.com/p/ai-footprint-august-2025">my hands on</a> that made claims about <a href="https://epoch.ai/gradient-updates/how-much-energy-does-chatgpt-use">AI’s impact</a>.</p><p>And here’s what I learnt. From the ground up the factors contributing to AI’s emissions include…</p><p>1. <strong>Hardware</strong>: Different chips have very different energy profiles, so the same task can carry a very different emissions cost depending on what it runs on. You may also want to factor in storage too.</p><p>2. <strong>Software/runtime efficiency</strong>: Providers can lower compute per request with choices like batching, caching, quantisation, and scheduling. This is also where scope gets slippery: are we counting inference only, or trying to include training too? Is this model a “mixture of experts”?</p><p>3. <strong>Datacentre overhead (</strong><a href="https://en.wikipedia.org/wiki/Power_usage_effectiveness"><strong>PUE</strong></a><strong>)</strong>: A model doesn’t just “run on a GPU” in a vacuum. It’s running inside a facility that needs cooling, power distribution, networking, and all the other keep-the-lights-on systems.</p><p>4. <strong>Region and grid mix</strong>: Two identical workloads can have very different carbon outcomes depending on where the datacentre is, what time of day it is, and how clean that local electricity grid is. Even if you can estimate energy consumption accurately, converting that energy into carbon emissions still depends on assumptions about the electricity being used.</p><p>5. <strong>Embodied carbon</strong>: If you go truly ground-up, you also have to count the carbon cost of manufacturing and disposing of hardware (and arguably your own device too).</p><p>So I learnt a lot, but more than anything else I learnt that there are an awful lot of unknowns. AI providers don’t give us the full picture, whether that’s the number of parameters in a model or the chips they are running in their datacentres. And to convert from energy to carbon, you need to know the time of day a request was made, and where in the world it gets routed to.</p><p>The deeper I dug, the more the problem expanded. Every missing number seemed to reveal three more assumptions underneath it. That’s when I took a beat and realised I had been optimising for the wrong thing.</p><h3><strong>The Pivot</strong></h3><p>I went back to the drawing board, and focused on building with <strong>real users </strong>in mind.</p><p>The first change I made was to stop converting from energy to carbon — that conversion added an extra layer of abstraction and unknowns, without any user benefit.</p><p>With the constraints loosened, I was also free to use a different strategy to calculate the energy used by a session. Instead of chasing precision and getting trapped by missing information, I could lean in to approximations and accept some assumptions as “good enough”. The new calculation went like this:</p><ol><li><strong>Tokens: </strong>Input and output tokens are still at the heart of the calculation.</li><li><strong>Output tax: </strong>Generation of output tokens takes more compute because it must be done in serial, and can’t rely on caching.</li><li><strong>Baseline:</strong> Multiply input and output by a baseline energy value, using a publicly disclosed figure.</li><li><strong>Factor in the model: </strong>Multiply the total by a factor correlated to the number of parameters in the model. Data sets like Hugging Face show that there is a correlation between total parameters and compute, and more compute means more energy.</li><li><strong>Price as a proxy: </strong>If we don’t know how many parameters are in the model, we can use the provider’s pricing tiers as an indication. The more parameters, the more it costs to provide as a service.</li></ol><p>That gives us the following equation for an energy usage approximation.</p><pre>energy = ((input_token * base_rate) + (output_tokens + base_rate) * 3)) * model_size_factor </pre><p>Lastly, and most importantly, I updated the MCP server to respond with <strong>behavioural</strong> <strong>signals</strong> instead of exact data points. For most people, seeing an equivalent activity is more understandable than a number with no context.</p><p>So now the API responds with approximation in relatable equivalents like:</p><ul><li>Hours of time an LED bulb is on</li><li>Miles drive in an EV</li><li>Time spent boiling a kettle</li></ul><h3><strong>Why Imperfect is Still Useful</strong></h3><p>Now, when I’m researching, writing, or coding, I can ask Claude “what has been the environmental impact of this chat so far?” and I’ll get an answer like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LB4bzlhXWjrTFn5gZqqaEg.png" /><figcaption>Claude reporting the environmental impact of a session</figcaption></figure><p>While the numbers aren’t precise, they still tell a story, and that visibility is key if we want to make informed choices about our behaviour. I know making a cup of tea uses energy, but that doesn’t stop me drinking tea. What did change once I learnt more was that I stopped overfilling the kettle: boiling a full kettle has a substantially bigger impact than boiling just enough water for the mug in front of me. And we can apply the same logic to choosing which model to work with, how many autonomous agents to kick off, or whether to use GenAI for a task at all.</p><h3><strong>What This Actually Taught Me</strong></h3><p>What started as a simple attempt to understand my own use of generative AI ended up being a lot messier than I expected. It was a wild ride through the landscape of AI infrastructure, hardware, and guesstimation.</p><p>AI carbon accounting is complex and murky, and chasing precision lead me to a dead end. But the more useful question turned out to be: how much visibility is enough to make better decisions?</p><p>Perfect numbers would be nice. Better decisions right now matter more.</p><p>If you want to play with it yourself, the tool is here: <a href="https://github.com/miamollie/ai-carbon-awareness-calculator/tree/main/claude_skill">Claude Skill</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90c8312703a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Applying a Product Mindset to a Career Transition]]></title>
            <link>https://miamolliedev.medium.com/applying-a-product-mindset-to-a-career-transition-4df7f0b35784?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/4df7f0b35784</guid>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[career-change]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[working-parents]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Wed, 22 Apr 2026 06:43:26 GMT</pubDate>
            <atom:updated>2026-04-22T06:43:26.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qunmtL9s_bO0xgR4" /><figcaption>Photo by <a href="https://unsplash.com/@paymo?utm_source=medium&amp;utm_medium=referral">Paymo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A few weeks ago, I left my role as a Principal Engineer.</p><p>On paper, it was exactly where I wanted to be, what I had worked for. But somewhere along the way, something shifted. The feeling of “offness” stuck around, through work and maternity leave, until it had gone from a whisper to something I couldn’t ignore.</p><p>I didn’t <em>want</em> it to be true. I love my work, and I loved the people I worked with. But over time I’d been collecting small inputs in the background — conversations with friends, ideas from books, resources like <em>4000 Weeks</em> and the 80,000 Hours project.</p><p>At some point, all the puzzle pieces fell into place and I could see it clearly: I needed my work to feel more aligned with my personal values.</p><p>After 5 weeks back at work, I resigned.</p><h3>Making Space for Something New</h3><p>Instead of jumping straight into another role, I’m doing something that feels really uncomfortable: <strong>spending the next six weeks treating my career like a product experiment</strong>.</p><p>This is not my default mode. I’ve been employed for basically my entire adult life — at times juggling two jobs — and I’m very comfortable having a plan, a goal, and a clear next step. Sitting in uncertainty? Not so much.</p><p>But I also know it’s rare to have the space to properly step back and ask these questions. I probably won’t get this kind of window again, and I’m very aware of how privileged I am to have it. It feels like the kind of opportunity that’s easy to rush past and regret later.</p><p>Instead of rushing, I’m leaning into it (admittedly, with some trepidation).</p><p>So I’m treating this as a deliberate phase: a short, structured period to explore, test, and make a more intentional, values driven, decision about what comes next. My goal is to come out of this with a direction I’ve actually tested — not just thought about.</p><h3>Bringing Structure to Ambiguity</h3><p>When in doubt, fall back on what you know.</p><p>To keep the slightly over-engineering, outcome-oriented part of my brain from spiralling, I knew I’d need some structure. If you’re anything like me, leaving this kind of decision unstructured quickly turns into overthinking rather than progress.</p><p>So instead of treating this like an open-ended life decision, I’m treating it like a short product sprint. I’ve set up a simple kanban board on Miro* to keep things moving and stop myself disappearing down planning rabbit holes.</p><p>The core idea is simple:</p><blockquote>Reduce uncertainty through small, fast feedback loops.</blockquote><p>Rather than trying to guess the “right” answer, I want to generate signal — real feedback, earned experience, something I can actually act on.</p><p>In product terms, I’m trying to stay in exploration mode just long enough to learn something useful before narrowing in.</p><p>*<em>yes I definitely overthought which tool to use for this (Trello, Jira, Notion, reminders… all briefly considered)</em></p><h3>Defining Success</h3><p>At the end of six weeks, I’m not expecting to have a new job lined up. In fact, that would almost defeat the purpose. My goal is clarity, not outcomes.</p><p>I don’t want to optimise for a perfect answer upfront, but instead iterate toward a direction that’s been meaningfully tested rather than assumed.</p><p>Success looks like:</p><ul><li>A clear sense of direction (even if it’s not perfect)</li><li>One or two roles or areas I’m actively targeting</li><li>Enough data from experiments to feel confident in next steps</li><li>A better understanding of what <em>doesn’t</em> fit</li></ul><p>Dead ends are part of the process. If everything “works”, I’m probably not actually experimenting, just making decisions without testing them.</p><p>So, how am I going to spend my time?</p><h3>Three Sprints, Three Filters</h3><p>When I was in high school, I got the well-meaning but not especially helpful advice that I could probably do anything if I worked hard enough. Which is nice in theory, but not particularly helpful when you’re staring at a blank page trying to decide what to do next.</p><p>As I mentioned earlier, I’m used to relying on some kind of process to keep things manageable. Right now, “what’s next?” feels like <em>anything</em>, which is both exciting and slightly overwhelming.</p><p>So I’m using three sprints as filters, each one narrowing the space from “anything” to something more actionable. You could run something like this alongside a full-time job — I just happen to be doing the emersion version.</p><h4>Sprint One: Mapping the space (discovery phase)</h4><p>Okay, so it’s not <em>literally</em> “anything” — I do have a few starting constraints.</p><p>I’m not planning to go back and retrain from scratch, but I do want to explore roles where my current skills could transfer. And I’m only pursuing industries that have some kind of ethical or meaningful angle.</p><p>Personal fit + moral alignment = success? We’ll see.</p><p>This phase is about understanding the problem space before narrowing in — very much a discovery phase in product terms.</p><p>Instead of guessing what roles I might want, I’m gathering real-world inputs and treating them like early user research.</p><p>That looks like:</p><ul><li>Reading job descriptions (not to apply, but to understand how time is actually spent in different roles)</li><li>Talking to people in those roles to validate what the work really feels like</li><li>Scanning meetups and communities to spot recurring themes and problems</li><li>Doing a few deeper dives into industries that catch my attention</li></ul><p>The goal is to build signal across two dimensions:</p><ul><li>what I could realistically do (skills + transferability)</li><li>what feels meaningfully aligned (energy + values)</li></ul><p>At this stage, I’m deciding anything, just putting all the cards on the table.</p><h4>Sprint Two: Small experiments (prototype phase)</h4><p>This is where things stop being abstract and start getting a bit more real.</p><p>In product terms, this is prototyping — creating low-cost ways to simulate what the work actually feels like before committing to it.</p><p>That includes:</p><ul><li>Writing more deliberately for my blog to test what I enjoy thinking deeply about over time</li><li>Building small side projects (e.g. documentation for a hypothetical API, or a simple tool others could use) to simulate real-world engineering contexts</li><li>Volunteering as a mentor at a tech-for-women event, to test leadership and coaching in practice</li></ul><p>The key idea is to temporarily “act as if” I already have the job, and see what that feels like in practice.</p><p>I’m also treating my own behaviour as data: which experiments I’m drawn to start, which ones I follow through on, and which ones stall out.</p><p>Finishing a blog post isn’t the most important thing, it’s learning which types of work I naturally gravitate toward.</p><h4>Sprint Three: Synthesis (turning exploration into direction)</h4><p>By this point, I won’t be looking for new ideas, instead I want to start narrowing scope.</p><p>So this sprint is about turning exploration into direction.</p><p>That looks like:</p><ul><li>Looking at patterns across what consistently held my attention (and what didn’t)</li><li>Stress-testing those paths against a few simple constraints: energy, values, and feasibility</li><li>Getting honest about what I would actually choose if I had to decide today</li></ul><p>I’m not trying to force a single “perfect” answer out of this. Too much limitation won’t do my employment prospects any favours!</p><p>Instead, I’m aiming for something more realistic: a short list of directions that all feel viable, and importantly, feel meaningful.</p><p>The goal is clarity, not closure.</p><h3>Why I’m Sharing This Publicly</h3><p>I’m slightly conflicted about sharing this publicly. You might be thinking, isn’t this exactly the kind of procrastination you said you wanted to avoid?</p><p>But accountability matters here. It’s easy for this kind of work to stay private and never quite turn into action.</p><p>I’ve also read the argument that <em>talking</em> about plans can sometimes replace <em>doing</em> them. That’s a fair concern, so I’m trying to make sure this stays grounded in actual experiments, not just writing about them.</p><p>So, I’m sharing this partly to keep myself honest, but also because I think this kind of structured exploration is something others could benefit from too, without taking a career break to get there.</p><h3>Let’s See What Happens</h3><p>This is an uncomfortable place to be, and I’m sure there will be moments of doubt.</p><p>But I want to lean into it, to treat it as an opportunity for rather than something to rush through.</p><p>I don’t know the outcome yet, but I trust the process of iterating toward it more than I trust guessing upfront. You can take the engineer out of the job, but apparently not out of the decision-making process. Old habits die hard 😅.</p><p>If you’re going through something similar, or you’ve taken a less traditional path and it worked out, I’d genuinely love to hear from you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4df7f0b35784" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ELI5: Don’t Panic at the Disco — OIDC Has Your Back]]></title>
            <link>https://miamolliedev.medium.com/eli5-dont-panic-at-the-disco-oidc-has-your-back-a3d9a8e82628?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3d9a8e82628</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 01:16:02 GMT</pubDate>
            <atom:updated>2026-01-28T01:16:02.309Z</atom:updated>
            <content:encoded><![CDATA[<h3>ELI5: Don’t Panic at the Disco — OIDC Has Your Back</h3><h3>Welcome to ELI5 — Explain Like I’m Five!</h3><p><em>This blog series breaks down software engineering concepts in simple, clear language — no jargon, no fluff. It’s my way of absorbing and contextualising new ideas, and testing my understanding of old ones by focusing on clarity and nuance. Sometimes I test these ideas out loud at home — tiny humans ask the best questions !</em></p><p><em>Got a suggestion for an ELI5 post? Drop it in the comments and I’ll do my best.</em></p><p>This week I’ve been vibe coding a little breakable toy — a small pet project I can poke at when time allows.</p><p>I’m a person short on free time, and one thing I’ve found genuinely helpful about AI-assisted coding is that it lowers the bar for learning things I’m less familiar with. It gives me just enough confidence that I can probably figure something out, even if I only have a small window to work in.</p><p>So I decided to set up OIDC (OpenID Connect) for my deploy pipeline.</p><p>Not a huge ask, in theory. At work this is very much a thing that <em>just works</em> — paved paths, conventions, and decisions that predate my time. I’ve benefited from that setup for years without ever having to think too hard about how or why it works. So I figured this was a good opportunity to dig a little deeper.</p><p>The vibe coding phase was encouraging. Lots of “yep, that’s right”, lots of forward momentum. And then… repeated hiccups. The easy “10-minute task” blew way over time. I found myself deleting and recreating AWS resources, increasingly annoyed, and quietly wishing I’d just read the docs in the first place.</p><p>It fell into place eventually, but before walking away from my OIDC adventure, I wanted to capture what I’d learned in the format that works best for me: really, <em>really</em> simplified. And for this topic, the explanation that finally stuck came from a completely different part of my life.</p><p>Once upon a time, before working in tech, I worked at a nightclub and music venue for many years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UT_XQTRiMdscrPRR_KNZrQ.png" /><figcaption>The Button Factory</figcaption></figure><h3>Part 1: The venue 🎶</h3><p>The venue where I worked was called <strong>The Button Factory</strong> (it really was).</p><p>The Button Factory had:</p><ul><li>a front door</li><li>a security guard</li><li>different wristbands that let you do different things</li></ul><h4>The wristbands</h4><p>In a nightclub or music venue, wristbands are key. They tell you everything:</p><ul><li>Blue wristband → general admittance</li><li>Purple wristband → backstage</li><li>Gold wristband → everywhere, no questions asked</li></ul><p>Wristbands are <strong>power</strong>. And you don’t get one just by asking!</p><h4>The guestlist</h4><p>Behind the desk, next to each wristband, is a <strong>guestlist</strong>.</p><p>The list says things like:</p><ul><li>“Band members only”</li><li>“Staff only”</li><li>“Only the headline act, tonight”</li></ul><p>If you’re not on that <em>exact </em>list, you don’t get <em>that</em> wristband.</p><p>No exceptions. Not even if you ask nicely. Not even if it’s your birthday.</p><h4>The IDs (and who prints them)</h4><p>If you want a wristband, you’ve got to prove who you are. You do that by flashing an ID.</p><p>But here’s the thing most people don’t think about: we don’t trust every ID under the sun. <em>Who</em> issued the ID is just as important as who it says you are.</p><p>We trust:</p><ul><li>government IDs</li><li>student IDs</li></ul><p>We <strong>don’t</strong> trust:</p><ul><li>your library card</li><li>something you printed at home</li><li>“my mate says I’m cool” / “I’m with the band”</li></ul><blockquote><em>“We trust IDs printed by </em>that<em> company.”</em></blockquote><p>We need an ID, and we only trust some ID printers. And, that trust is set up <strong>ahead of time</strong>, not negotiated at the door.</p><h4>The door check</h4><p>So, putting it all together, here’s what happens when someone gets to the front of the line and wants a wristband. Our bouncer does these checks:</p><p><strong>1. “Do we trust who printed this ID?”</strong></p><p>If the ID wasn’t printed by a trusted printer: ❌ Nope, otherwise Yep ✅</p><p><strong>2. “Are you on the list for this wristband?”</strong></p><p>The ID says: “<strong><em>Mohammed Assaf</em></strong>” ✅</p><p>The Gold (all access pass) wristband list says: “<em>Headliners on Friday</em>”, and <em>Mohammed </em>is on the list. ✅</p><p><strong>3. “Can you go backstage?”</strong></p><p>Now Mohammed heads in to get settled in before his set, and his wristband is checked before he can get backstage. Gold wristband? ✅</p><p>At the end of the night, Mohammed heads home after a sweet set. His Gold wristband has expired now — he won’t be able to use it again tomorrow, it’s worthless now.</p><h3>What we used to do (and why it kind of sucked)</h3><p>If that setup seems like overkill, here’s another way you can run your nightclub. It might seem simpler, but it had big problems.</p><p>Instead of the guestlists and trusted ID printers, some venues <strong>hand out wristbands ahead of time</strong>.</p><p>Sometimes you post them out. Sometimes you leave them at the door. Sometimes you just trust people not to share them. In software, this looks like:</p><ul><li>long-lived credentials</li><li>secrets in CI</li><li>tokens copied from one place to another</li></ul><p>It works… until it doesn’t.</p><p>Issues arrise with a long lived “wristband” because you don’t know necessarily know who’s wearing it, it might have been copied, and if it just lasts indefinitely you run a greater risk that someone will pinch it.</p><h3>Part 2: Okay, now let’s name the real things</h3><p>Here’s how the Button Factory story mapped to my pet project; getting access to AWS to deploy code from Github Actions.</p><p><strong>The venue: </strong><em>AWS (or whatever you want to get access to and do stuff with)</em></p><p><strong>The security desk: </strong><em>STS</em> (the thing that checks IDs, checks guest lists and hands out wristbands)</p><p><strong>The ID printer: </strong><em>OIDC provider. </em>For me this was GitHub Actions, but it can be any system that can issue identity tokens.</p><p><strong>The wristband: </strong><em>IAM Role. </em>A role says :<em>“If you wear this, you can do these things.”</em></p><p><strong>The guestlist: </strong><em>Trust policy. </em>This answers:<em>“Which IDs are allowed to wear this wristband?”</em></p><p><strong>Putting the wristband on: </strong><em>Assuming the role. </em>The wristband only works for a short period, and while you’re wearing it and it’s still valid, you can do the things the wristband allows.</p><p>My code deploy from CI use case is just one of many ways the OIDC pattern shows up. You may recognise it from social login sysstems (log in with Google/Facebook), or enterprise SSO (Okta, Microsoft).</p><h3>Goodnight to the nightclub</h3><p>Auth systems aren’t necessarily complex, but they <em>do</em> come with a lot of very specific terminology that can feel opaque at first.</p><p>The nightclub analogy helped things fall into place for me — once I can explain something in simple terms, it sticks. Instead of trying to brute-force memorise the definition of a trust policy and how it relates to everything else, I can just revisit the Button Factory.</p><p>Only this time, I’m not the one cleaning tequila vomit off the floor</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3d9a8e82628" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Most Superlative Blog Post!]]></title>
            <link>https://miamolliedev.medium.com/the-most-superlative-blog-post-5e1b3212c08a?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e1b3212c08a</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 01:26:08 GMT</pubDate>
            <atom:updated>2026-01-18T01:26:08.722Z</atom:updated>
            <content:encoded><![CDATA[<p>I used to wonder when I’d feel senior enough — experienced enough — to speak with total conviction about what was <em>best</em>.</p><p>The best framework. The best language. The best architecture.</p><p><em>Top 10</em> lists. <em>Must-know</em> tools. Fastest. Most performant. The one and only way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OePEdGEBcpivwsphWqOUtw.png" /></figure><p>Whether I was scrolling blog posts, Twitter, or listening to colleagues debate, I wondered when I’d earned the right to speak with that kind of confidence. To talk in absolutes with absolute conviction.</p><p>These days, I’m much more skeptical of superlatives. And I’ve come to believe that this skepticism isn’t a lack of confidence — it’s a sign of experience.</p><h3>The appeal of certainty</h3><p>Early in your career, certainty is comforting. It gives you something solid to stand on in a field that moves fast and changes its mind often. Tech culture doesn’t exactly discourage this either — bold claims travel further than careful ones, and hot takes tend to get more airtime than hedged opinions.</p><p>There’s also a quiet pressure to perform seniority as decisiveness. To sound like you <em>know.</em> To say “this is the best approach” rather than “this worked well for us.”</p><p>I remember waiting for the moment when I’d finally feel entitled to talk like that.</p><h3>When “best” starts to feel… suspicious</h3><p>Somewhere along the way, I stopped wondering. Or rather, I stopped caring… or judging the worth of my opiniond against the yardstick of confidence.</p><p>The more systems I worked on, the more teams I joined, the more contexts I saw — the harder it became to believe in universal truths. I began to understand every “best” assertion comes with an invisible asterisk.</p><p>Best for <em>what</em>?</p><p>Best for <em>who</em>?</p><p>Best <em>when</em> — and for how long?</p><p>This is where that classic developer joke shows up. But “It depends” isn’t a cop out. And if it’s a cliché, it’s because it’s earnt its place. Most of the time, it’s the most honest answer available, and it invites important conversation where superlatives tend to shut them down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*jXUA9w_7tQSMbu8I" /></figure><p>Superlatives aren’t wrong, exactly — they’re just incomplete. They tend to collapse trade-offs, constraints, and assumptions into a single word. But those details are usually where the interesting decisions live. And they can make the difference between software engineering in the real world vs opinions on twitter.</p><h3>What replaces certainty as you get more senior</h3><p>As my awe for superlatives dropped, a few other things started to matter more.</p><p><strong>Evidence over assertion.</strong></p><p>If something is faster, safer, or more scalable, I want to see benchmarks, data, or real production experience. Not because I don’t trust people — but because systems have a way of surprising us.</p><p><strong>Experiments over opinions.</strong></p><p>Spikes, proof of concepts, time-boxed trials. These are far more persuasive than any argument I could make in a document or a meeting. Let the work speak for itself.</p><p><strong>Preferences over universals.</strong></p><p>“There is one right way to do this” is almost always less useful than “Test suites written like X are my preference.” The latter leaves room for context, disagreement, and learning — without pretending that taste is objective truth.</p><p>And when you do end up in subjective territory (which is often), acknowledging it openly builds more trust than pretending otherwise.</p><h3>The social cost of being right</h3><p>There’s another lesson that took me longer to learn: even when you <em>are</em> superlatively correct, having factored in context and trade offs, pushing too hard can be expensive.</p><p>Endless debate over naming, formatting, or tooling — classic bike shedding — drains energy and social capital fast. Teams don’t get faster by nitpicking every preference. They get faster by aligning on standards and moving forward.</p><p>This is where “disagree and commit” earns its keep. Consensus and conventions aren’t about intellectual purity; they’re about unblocking progress. <em>Sometimes</em> the most senior move is letting go.</p><h3>Letting outcomes do the talking</h3><p>Nowadays, I am that confident dev I aspired to be. But the irony is, the more confident I feel, the less I feel the need to sound certain.</p><p>Working software, resilient systems, teams that operate with care and mutual respect— these things are far more convincing than any superlative claim. They carry their own quiet authority.</p><p>I still have opinions. Strong ones, occasionally. But I’ve grown to have the most respect for opinions that are clearly labeled as such, articles that don’t shy away from nuance, and proposals that put evidence front and centre.</p><p>Thank you for reading the <em>best</em> blog post I’ve written today about no longer believing in ‘the best.’</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e1b3212c08a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Avatar Adventure: Part Three]]></title>
            <link>https://miamolliedev.medium.com/the-avatar-adventure-part-three-2b1c2f97dbbb?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b1c2f97dbbb</guid>
            <category><![CDATA[redesign]]></category>
            <category><![CDATA[legacy]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[pivoting]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 11:42:09 GMT</pubDate>
            <atom:updated>2026-01-03T11:42:09.710Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This is post three of a four part series about one of the smallest yet most unexpectedly rich engineering projects I’ve worked on: modernising our user avatars at </em><a href="https://99designs.com.au/"><em>99designs</em></a><em>. What looked like a simple circle turned out to be a case study in tech debt, system pivots, and cross-functional collaboration.<br>If you enjoy behind-the-scenes engineering stories that don’t skip the messy bits, you’re in the right place..</em></p><p>There’s a well-worn saying in computer science: <em>there are only two hard problems — cache invalidation and naming things</em>. It’s funny… in the abstract. For me, this project is where it stopped being abstract and became painfully real.</p><p>The takeaway from this post is simple, even if the journey wasn’t: there are no silver bullets. Engineering in the real world is messy, full of partial information, and occasionally requires you to make uncomfortable decisions halfway through a project. The only thing that really helps is setting clear guiding principles early — because you’ll need them when things start to wobble.</p><p>But before we get to the wobble, let’s rewind.</p><h3>Recap: Why We Were Here at All</h3><p>The avatars project started with pretty straightforward goals: improve perceived performance and remove legacy code. And along the way we added a bit of delight around default avatars.</p><p>Historically, avatars were stored in an unknown location and resolved via a database lookup. That meant every avatar request had a backend dependency and a relatively high cost for something that should be trivial. Our hypothesis was simple: if we could make avatar locations deterministic, we could remove that lookup entirely and let the CDN do what it’s good at.</p><p>We also split the work into two milestones:</p><ol><li><strong>Serve first</strong> — get avatars loading faster everywhere.</li><li><strong>Upload second</strong> — allow users to change their avatar.</li></ol><p>This was a deliberate choice. Serving avatars is on the critical path for almost every page; uploading one is comparatively rare. Optimise the common case first.</p><h3>The Original Architecture (a.k.a. “Everything Looked Fine”)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*sR5o90QkYqBJ0nDvE8dIrw.png" /><figcaption>Simplified sequence diagram of our initial stack</figcaption></figure><p>The initial proposed solution was clean and, on paper, pretty elegant.</p><p>Requests would flow roughly like this:</p><ul><li>Avatar requests hit the Cloudfront CDN.</li><li>Assets lived in object storage, in S3, at a static location.</li><li>If there was a storage “miss” a Lambda@Edge origin response generated our fun default avatar, otherwise the object was returned.</li><li>Sprinkle in some asset resizing/optimisation via “Tapestry” — our in house image management service.</li></ul><p>No database lookup. No redirect chain. Long-lived caching at the edge.</p><p>We implemented it, shipped it, and put it into production behind a feature flag.</p><p>And it worked. Response times dropped from milliseconds to microseconds. Pages felt snappier. This was one of those rare moments where you deploy infra changes and nothing catches fire.</p><p>We would have gotten away with it too — if it weren’t for uploads.</p><h3>The “Uh Oh” Moment</h3><p>The problem surfaced when I was QAing the final frontend piece of avatar uploads, and we saw this system working end to end for the first time.</p><p>I uploaded a new image from the user profile UI, and everything seemed good:</p><ul><li>The upload request succeeded.</li><li>The file landed in the S3 bucket.</li><li>Every response in the chain was green.</li><li>Cache-Control headers looked right at every layer.</li></ul><p>And yet… after uploading a new avatar, I still saw the old one.</p><p>Refresh. Hard refresh. Different browser. Still the old image.</p><p>This is the moment every engineer knows: that quiet sinking feeling where you <em>really</em> want the issue to be a missing header or a typo. Something small. Something silly.</p><p>It wasn’t.</p><h3>Taking a Step Back</h3><p>The key difference between the old and new world was this:</p><blockquote><strong>Before</strong>: avatar location was unknown and resolved dynamically, via DB lookup.</blockquote><blockquote><strong>Now</strong>: avatar URLs were fixed, static, and aggressively cached.</blockquote><p>That’s the whole point of the new architecture — but it also meant that once an avatar was cached, it was cached at every conceivable layer, from the browser all the way back through our image processing stack.</p><p>We had successfully removed the database from the serve path… and replaced it with cache invalidation.</p><p>Two hard problems. Turns out the saying is accurate.</p><h3>Why Cache Invalidation Became a Dealbreaker</h3><p>We <em>had</em> planned for cache invalidation from the start. The original upload project specs explicitly included issuing a CDN invalidation request after a successful avatar upload. On paper, that box was ticked.</p><p>But the real kicker didn’t reveal itself until that frontend QA session. After checking and rechecking everything I could think of, I went deep into the AWS docs: <strong>CloudFront invalidation requests don’t guarantee freshness for up to 300 seconds</strong>. When I read that line my heart absolutely sank.</p><p>From a user’s perspective, this looked completely broken. You upload a new avatar, get a success message… and immediately see the old one. Everything is technically working. The file is stored. The invalidation is “in progress”. The cache will update. Eventually.</p><p>But that delay violated one of our core guiding principles: <strong>improve performance</strong>. Not only was this <em>not</em> an improvement, it was a substantial regression. This issue was an absolute no go, so at the eleventh hour of this project we had no choice but to do a hard pivot.</p><h3>The Pivot</h3><p>At this point, the team regrouped and whiteboarded <em>everything</em>: good ideas, bad ideas, silly ideas — nothing was off the table. What we eventually landed on wasn’t perfect, but it was <em>good enough</em>, and more importantly, it upheld our guiding principles.</p><p>The core change was this: we moved from Cloud<em>Front</em> to Cloud<em>flare.</em></p><p>Cloudflare’s cache purges are effectively immediate — seconds, not minutes — which directly addressed the UX issue we’d hit. On the surface this might sound like a drastic move, but both CDNs were already in use across the company, and there was existing momentum to consolidate on Cloudflare where it made sense.</p><p>That decision came with trade-offs. Cloudflare doesn’t have a native equivalent to Lambda@Edge origin response triggers, which we were using to generate default avatars at the edge. While we <em>could</em> have recreated this behaviour using Cloudflare Workers, that technology wasn’t widely used within the organisation at the time. Introducing an entirely new edge runtime mid-project felt like unnecessary risk.</p><p>So we made another call: move the default avatar generation out of the CDN layer entirely.</p><p>We scrapped the edge-based generation and pushed that logic into Tapestry, our image resizing wrapper. That meant accepting that Tapestry would now own a bit more application logic than it had before. It wasn’t a perfectly clean separation — but it was a compromise we were comfortable making.</p><p>When you compare the sequence diagrams, this approach actually simplified the request flow. Fewer hops, easier local development (no LocalStack or AWS SAM gymnastics), and fewer moving parts overall. The downside was philosophical more than technical: we were bending the original “pure” responsibility of a service. But in this case, simplicity and reliability won out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*BYkRe5PZYcSyduDrlGP7NQ.png" /><figcaption>Avatar sequence post-pivot</figcaption></figure><h3>The Last 10%</h3><p>Even after the pivot, a few sharp edges remained .</p><p>One was cache invalidation scope. Neither CDN allowed wildcards in the middle of a URL path, and our avatar URLs included dimensions after the asset identifier. Invalidating every possible size would have been expensive and error-prone, so we took a pragmatic shortcut: only invalidate the handful of sizes a user would actually see of <em>their own</em> avatar. In practice, that was just three.</p><p>The browser cache bit us too. After upload, the CDN was serving the fresh image correctly, but the browser was happily reusing the old one. Rather than relaxing cache headers globally (and paying for it in page load times), we added a simple timestamp query param in the upload UI to force a one-off cache miss. Surgical, contained, and good enough.</p><p>None of these fixes were glamorous. But together, they turned a theoretically correct system into one that actually <em>felt</em> correct — which, as it turns out, matters a lot more.</p><h3>What We Learned</h3><p>A few things really stuck with me from this project:</p><ul><li><strong>Caches are powerful, but they demand respect</strong>.</li><li><strong>“Correct” systems can still feel broken to users</strong>.</li><li><strong>Guiding principles matter most when you’re mid-pivot</strong>.</li></ul><p>There was no silver bullet here. Just trade-offs, constraints, and a willingness to change course when reality disagreed with the plan. That’s what engineering looks like in the real world — a little messier, a little humbler, and a lot more human than the diagrams suggest.</p><p><strong>Still to come:</strong> the final post in this series — a look at the zero-downtime rollout and the migration of ten years of avatar uploads that brought this plucky project to a close.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b1c2f97dbbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Avatar Adventure: Part Two]]></title>
            <link>https://miamolliedev.medium.com/the-avatar-adventure-part-two-6ae3ef3a0b0b?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ae3ef3a0b0b</guid>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[avatar]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[redesign]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 09:37:08 GMT</pubDate>
            <atom:updated>2025-12-31T09:35:00.775Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This is post two of a four part series about one of the smallest yet most unexpectedly rich engineering projects I’ve worked on: modernising our user avatars at </em><a href="https://99designs.com.au/"><em>99designs</em></a><em>. What looked like a simple circle turned out to be a case study in tech debt, system pivots, and cross-functional collaboration.<br> If you enjoy behind-the-scenes engineering stories that don’t skip the messy bits, you’re in the right place..</em></p><p>If you missed <a href="https://miamolliedev.medium.com/the-avatar-adventure-part-one-5d95c42663fb">Part 1</a>, here’s the quick version: a small tech-health cleanup — replacing avatars served from a legacy app — got interesting the moment we questioned one long-standing assumption: <em>does it really have to be a letter in a circle? </em>That question opened the door to a simpler system and a better user experience. And that’s exactly where we pick things up.</p><h3>Unlocking creativity with a change in scope</h3><p>Once we realised the “letter in a circle” default wasn’t sacred, a surprising amount of complexity simply vanished. No more juggling name-change logic. No more storing state just to check whether a user had a photo.</p><p>And with the constraints gone, a more interesting question emerged:<br> <strong>If it doesn’t have to be a letter… what could it be instead?</strong></p><p>This was the moment a plucky little tech health initiative started to become something much more exciting.</p><h3>For the designers, by the designers</h3><p><a href="https://99designs.com.au/">99designs</a> is a platform built <em>for</em> designers. If we were going to reinvent our avatars, we needed something unique; not an off the shelf package or an imitation. And it would need to embody our brand and values. But instead of creating the desin in house, we opened it up to the people who live and breathe this stuff: our incredible designer community!</p><p>We used our own platform to launched a “design contest” (hello <a href="https://medium.com/agileinsider/dogfooding-a-simple-practice-to-help-you-build-better-products-b5954af4d5f7">dogfooding</a>!) and asked the creative community to:</p><blockquote>Create a system of generative avatars that feel unique, expressive, on-brand, and playful without being childish.</blockquote><p>We couldn’t wait to see what they would come up with.</p><h3>What did we want our avatar to be?</h3><p>To give designers the right guardrails, we needed to do our homework.</p><ul><li>Our UX lead went full researcher mode, diving into the full ecosystem: <a href="https://gravatar.com/">Gravatar</a>, Blockies, <a href="https://en.wikipedia.org/wiki/Identicon">Identicons</a>, <a href="https://robohash.org/">Robohash</a>, abstract shapes, pattern generators — the lot.</li><li>On the engineering side, we brought the numbers: user counts, distribution data, collision risk, and how many unique variations we realistically needed.</li></ul><p>We bundled it all into a clear, digestible brief and hit publish.</p><p>Then we handed it to our internal design community… <a href="https://99designs.com.au/character-mascot-design/contests/calling-character-mascot-artists-make-mark-designs-brand-1126838/entries?filter=active">and they <em>delivered</em></a>. I remember giddily checking new entries every day with the rest of the avatar team, being blown away with the range of amazing concepts.<br>Ultimately, we received <strong>over 100</strong> entries, each with a different personality and system behind it. Ultimately, the winning concept came from the brilliant <a href="https://99designs.com.au/profiles/2090236"><strong>HannaSymo</strong></a>, whose design struck the perfect balance of playful, flexible, and recognisably “99designs”.</p><p>With a design direction set, it was time to roll up our sleeves and get buildin’.</p><h3>Putting together the pieces</h3><p>With a direction set, it was time to decide how to actually build it. Under the hood, our avatar pipeline looked like this:</p><p><strong>Start with a </strong><strong>userID</strong><br>This is our stable input — the thing that guarantees the same avatar every time. It’s simple, but sequential IDs and varying lengths don’t give us enough randomness on their own.</p><p><strong>Hash it using MD5</strong><br>So, to avoid clusters of similar looking avatars for users with similar IDs, we hash the input first. MD5 is fast, consistent, and gives us a nicely distributed set of characters to work with. We don’t need cryptographic security here — just something predictable to base the avatar on.</p><p><strong>Translate the hash into an avatar </strong><br>Initial spikes were based on the classic <a href="https://en.wikipedia.org/wiki/Identicon">identicon</a> approach, deriviving visuals directly from the <strong>bits</strong> of a hash. Think of the Github style space invader avatar. You read each bit, apply bitwise logic (&amp;, &gt;&gt;, etc.), and use those binary decisions to flip pixels on or off in a small grid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6iK4Zbl44T2sOh4t" /><figcaption><a href="https://github.blog/news-insights/company-news/identicons/">Github Identicon Avatars</a></figcaption></figure><p>Here’s a simplified example in Golang (minus the rendering logic):</p><pre>// Very simplified identicon-style algorithm.<br>// Classic identicons derive a grid by walking through the hash bit-by-bit.<br>// Each bit turns a pixel &quot;on&quot; or &quot;off&quot;.<br><br>func generateIdenticon(hash [16]byte) [25]bool {<br> var grid [25]bool // 5×5 grid flattened to 25 cells<br><br> for i := 0; i &lt; 25; i++ {<br>  byteIdx := i / 8        // Which byte of the hash we&#39;re looking at<br>  bitIdx := i % 8         // Which bit inside that byte<br>                          // Example: i=10 → byteIdx=1, bitIdx=2<br><br>  // Extract a single bit from the hash.<br>  // Shift the byte so our target bit is in the lowest position, then mask (&amp;1).<br>  bit := (hash[byteIdx] &gt;&gt; bitIdx) &amp; 1<br><br>  // Turn the pixel &quot;on&quot; if the bit is 1.<br>  grid[i] = bit == 1<br> }<br><br> return grid<br>}</pre><p>That approach works, but it gave us more precision than we actually needed. Our traits weren’t binary pixels — they were small, discrete sets. We could still follow a similar setup as identicons though, by applying a bitmask to get a value from the hash and then shifting the bits to read the next value.</p><p>That version looks like this:</p><pre>// Select avatar traits by slicing the hash.<br>// e.g. use 5 bits for colour, 5 bits for face, and 3 bits for shape.<br><br>type Avatar struct {<br> Colour int<br> Face   int<br> Shape  int<br>}<br><br>func selectTraitsBitwise(hash [16]byte) Avatar {<br> cursor := 0 // Tracks how many bits we&#39;ve consumed so far<br><br> // Helper to &quot;take&quot; the next n bits from the hash and interpret them as a number.<br> takeBits := func(n int) int {<br>  // Which byte are we currently inside?<br>  byteIdx := cursor / 8<br><br>  // How far into that byte have we already read?<br>  shift := cursor % 8<br><br>  // Read n bits:<br>  // 1. Shift the byte so our desired bits move to the right<br>  // 2. Mask out only the lowest n bits: (1&lt;&lt;n)-1 creates a bitmask with n ones<br>  value := int(hash[byteIdx]&gt;&gt;shift) &amp; ((1 &lt;&lt; n) - 1)<br><br>  cursor += n // Advance cursor<br>  return value<br> }<br><br> return Avatar{<br>  Colour: takeBits(5), // 0–31 possible colours<br>  Face:   takeBits(5), // 0–31 possible faces<br>  Shape:  takeBits(3), // 0–7 possible shapes<br> }<br>}</pre><p>It has the advantage of mapping tidily to the number of variations we had in each set e.g 2⁵ represents any number from 0..31, etc. But in practice, that’s overkill for what we were building, and at 99d we prefer to err on the side of simple and maintainable. So, we chose to keep the implementation <a href="https://mcfunley.com/choose-boring-technology">boring</a>. In our version, we convert the hash to an array of numeric values and use each index to pick values from our traits map. We also make sure the value at each index doesn’t exceed the total number of variations. Index 0 selects the colour palette, index 1 picks the body, then the face, and the embellishment. It’s not fancy, but it doesn’t need to be.</p><p>Here’s a simplified version of what we ended up with:</p><pre>// Convert hash bytes directly into array indices.<br>// No bitmasks or bit slicing — just simple modulo selection.<br>//<br>// Why this is nice:<br>// - Very easy for new engineers to understand<br>// - Behaviour is stable and predictable<br>// - Variation is &quot;good enough&quot; without extra complexity<br>// - Updating or adding trait categories is trivial<br><br>type Avatar struct {<br> Colour string<br> Face   string<br> Shape  string<br>}<br><br>func selectTraitsSimple(hash [16]byte) Avatar {<br> // Trait sets (in reality these were SVG assets)<br> colours := []string{&quot;red&quot;, &quot;blue&quot;, &quot;green&quot;}<br> faces := []string{&quot;happy&quot;, &quot;neutral&quot;, &quot;sleepy&quot;}<br> shapes := []string{&quot;circle&quot;, &quot;square&quot;, &quot;hex&quot;}<br><br> // Each byte of the hash is already a nicely distributed value 0–255.<br> // Using modulo ensures we stay within bounds of each trait range.<br> return Avatar{<br>  Colour: colours[int(hash[0])%len(colours)],<br>  Face:   faces[int(hash[1])%len(faces)],<br>  Shape:  shapes[int(hash[2])%len(shapes)],<br> }<br>}</pre><p><strong>Use Go </strong><strong>embed for speed</strong><br>Once we knew which traits we needed, the next step was serving them efficiently. Our traits live in files bundled via Go’s embed feature. Added in Go 1.16, Go embeds lets you package assets directly into the compiled binary. Keeping SVG strings in memory removes the need for disk I/O during avatar assembly, and since this endpoint sees a <em>lot</em> of traffic we were happy to get rid of that latency.</p><p><strong>Assemble the SVG</strong><br>So now we’ve got values for each of our traits, and SVG strings in memory readily accessible. The last step is to stitch the selected traits together into a single SVG string via straightforward string concatenation. Then off to the browser it goes, a quirky and fun avatar ready to inject some delight into the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QKQgNywzhmJMU0dBiQYg5A.png" /><figcaption>Putting together our avatar traits</figcaption></figure><h3>How unique is unique enough?</h3><p>You might be wondering how we landed on this exact system of traits, and how we decided <strong>how many variations</strong> each should have. Our old system was simple: a letter inside a circle, with the circle drawn from eight brand colours. That meant <strong>8 × 26 = 208 possible avatars</strong> — and a few drawbacks, like no support for accented characters and some sketchy non accessible colour combos.</p><p>With 208 variations, the odds of two users on the same page having identical avatars was about <strong>1 in 208 (</strong>assuming neither has an uploaded image). For the number of users we had, and the screens where multiple avatars can be seen, those odds were acceptable. So 208 became our baseline value for variations<strong>. </strong>The incredibly talented <strong>HannaSymo</strong> knocked it out of the park and delivered <strong>seven sets of bodies</strong>, with <strong>32 variations</strong> of colour palette, face, and embellishment. That gives us a whopping <strong>229,376 possible combinations</strong>. 1000 times that minimum target!</p><h3>The big reveal!</h3><p>So there you have it! A great idea, a design contest, a bit of maths… sprinkle in some string concatenation and it’s “goodbye letter, hello delight”!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOVV5Syk7vOnZxlPjDa5UA.png" /><figcaption>Bye bye letter, hello avatars</figcaption></figure><p>After all the design exploration, hashing, trait systems, and SVG assembly, we finally shipped the new avatars. And — like any good redesign — the reaction was mixed. Lots of our users loved the personality, colour, and uniqueness. Others felt it was a miss for them. Design is subjective, and we love that our community is open to engaging with us.</p><p>Also, yes, we found at least one permutation that had to be retired:<br> <strong>an infamous pink oblong with a cowboy hat. </strong>I’ll let you imagine why that particular combination made it into the “absolutely not” bucket.</p><p>The avatars were definitely embraced by the team at 99d too. Many of my peers chose to retire their profile pics so they could get their own generated avatar, and exported them for use on other platforms like Slack. We even had one show up in a team building cake decoration competition!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*qVQQOF4DXwXmGy4EQPpDXA.jpeg" /><figcaption>Avatar Cake!</figcaption></figure><p>Still to come: how we migrated ten years’ worth of uploaded avatars with zero downtime — and how one tiny detail forced a complete architectural pivot mid-project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ae3ef3a0b0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Avatar Adventure: Part One]]></title>
            <link>https://miamolliedev.medium.com/the-avatar-adventure-part-one-5d95c42663fb?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d95c42663fb</guid>
            <category><![CDATA[behind-the-scenes]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech-debt]]></category>
            <category><![CDATA[legacy-systems]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Fri, 28 Nov 2025 00:46:33 GMT</pubDate>
            <atom:updated>2025-11-29T23:11:40.331Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cTssL3eQ7P6Xgxc1" /><figcaption>Photo by <a href="https://unsplash.com/@conti_photos?utm_source=medium&amp;utm_medium=referral">Fabrizio Conti</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>This post kicks off a four-part series about one of the smallest yet most unexpectedly rich engineering projects I’ve worked on: modernising our user avatars at 99designs. How was a simple circle deceptively complicated? This project was a case study in tackling tech debt, pivots in system design, cross functional collaboration, and quietly levelling up a core part of our platform. If you enjoy behind-the-scenes engineering stories that don’t gloss over the messy bits, you’re in the right place.</em></p><p>When you scroll through tech blogs, the stories are often about big, bold projects — massive migrations, complete rewrites, ambitious re-architectures. You know the type: “We rebuilt everything in Rust over a long weekend,” or “We trained a custom AI model to power half the product.”</p><p>But honestly? One of the most interesting projects I’ve ever worked on — and one I learned the <em>most</em> from — started with a little circle.</p><p>Yep. A circle. A circle with a picture in it.</p><p>Such is the beauty (and chaos) of engineering: never a dull moment, always a surprise lurking in the UI. How could a simple circle cause so much trouble? This is the story of unwinding a legacy codebase, imperfect trade-offs, a mid-project pivot, a zero-downtime migration, and trying really, really hard to not only live our engineering values but also deliver something that matched the playful, creative feeling of our brand.</p><h3>Tech Health at 99designs</h3><p>Like any engineering team that’s been around for a while, we’ve accumulated our fair share of tech debt. <a href="https://99designs.com.au/">99designs</a> has been running for over ten years now, and in that time the industry — and our own expectations of good engineering —have kept evolving. Tools change, best practices mature, and features that were perfectly reasonable years ago eventually turn into puzzles for future engineers to untangle.</p><p>To keep things healthy, we commit around 20% of engineering time to “keep the lights on” work: maintenance, refactors, tech debt reduction. At the time, front of mind was a service we’d just inherited: <strong>Workbench</strong>.</p><p>Workbench is a <a href="https://www.ibm.com/think/topics/monolithic-architecture">monolithic</a> <a href="https://rubyonrails.org/">Rails</a> app that had gradually accumulated a grab-bag of responsibilities.. That clashed with our engineering best practices; prefer single responsibility <a href="https://microservices.io/">microservices</a>, written in <a href="https://go.dev/">Golang</a>. — it just wasn’t how we were building anymore. And when your systems diverge from your standards, every little inconsistency adds cognitive load, slows development, and increases risk. So Workbench became a prime candidate for a makeover.</p><h3>Picking a starting point</h3><p>One of Workbench’s many jobs was user avatars. It may seem like a small fish — why not try to tackle something juicier? On the one hand, it was discrete enough that pulling it out would be nicely contained. But that was exactly the point: it was discrete, well-bounded, and came with some real performance issues that a revamp could meaningfully improve.</p><p>In other words: small surface area, big impact.</p><h4>A quick refresher: what’s an avatar?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQQ3PH7L46ilB6ikYFacAw.png" /><figcaption>User avatar examples from <a href="https://www.sketchappsources.com/free-source/4697-colorful-avatar-photos-sketch-freebie-resource.html">Sketchapp</a></figcaption></figure><p>An avatar is the visual stand-in for a user’s identity. On 99designs, you can upload anything you like. If you don’t, we create a default avatar for you: your username’s first letter, placed nicely inside one of our brand-coloured circles.</p><p>Simple, right?</p><p>But our implementation looked roughly like this: the UI would request your avatar from Workbench (through a reverse proxy called Bastion). Workbench would do a database lookup for your user ID; if you’d uploaded an image, it would return the S3 location. If not, it would generate the SVG letter-in-a-circle on the fly. The response then cascaded through several caching layers and often through another microservice — <strong>Tapestry</strong>, our wrapper around the Thumbor image service. That’s a lot of work for a circle🥵</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skFi01sck3zxrflmLQkp4g.png" /><figcaption>Old Avatar Request flow</figcaption></figure><p>You might already imagine the opportunities for improvement: that DB lookup was unnecessary overhead, especially on pages showing hundreds of avatars (yikes, chat inbox). And generating default avatars per request wasn’t helping. There were a lot of hops, a lot of logic, and a lot of latency.</p><p>With those issues on the table, the team kicked off a technical investigation. We outlined our goals, explored options, and put together an RFC for wider discussion.</p><p>Our guiding principles:</p><ul><li>Make it <strong><em>faster</em></strong></li><li>Make it <strong><em>simpler</em></strong></li><li>Make it <strong><em>modern</em></strong></li></ul><p>The RFC got dense quickly — denser than we expected. Dropping the DB lookup sounded easy on paper, but default avatars needed the user’s first letter, and since usernames can change, we couldn’t just cache it forever. We wanted fewer hops between services, fewer moving parts, and ideally a system where default avatars didn’t need to be generated on demand.</p><p>While we were wading through trade-offs and implementation details (<em>read more about this in Part 3!</em>), a new comment appeared on the RFC — this time from our UX designer. Everyone is invited to participate in RFCs, and in this case, it changed the tone of the whole project.</p><p>He simply asked: <strong>“Does it even have to be a letter in a circle?”</strong></p><p>And that’s when things got interesting. Suddenly, we were discussing Gravatars, identicons, colour palettes, shapes, and what a “default identity” should feel like on a platform built around creativity.</p><p>Before we had even picked up a tool, the project had already become something special: a tech-health initiative with the potential to actively <em>delight</em> users.</p><p>In the next post: how we inverted the campground rule, cashed in our tech debt, and paid it forward with user delight.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d95c42663fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ELI5: LLMs, embeddings, and the baker’s daughter]]></title>
            <link>https://miamolliedev.medium.com/eli5-llms-embeddings-and-the-bakers-daughter-08428c4065f5?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/08428c4065f5</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Thu, 13 Nov 2025 01:26:20 GMT</pubDate>
            <atom:updated>2025-11-13T04:24:02.906Z</atom:updated>
            <content:encoded><![CDATA[<h3>Welcome to ELI5 — Explain Like I’m Five!</h3><p><em>This blog series breaks down software engineering concepts in simple, clear language — no jargon, no fluff. It’s my way of absorbing and contextualising new ideas, and testing my understanding of old ones by focusing on clarity and nuance. Sometimes I test these ideas out loud at home — tiny humans ask the best questions — so I often use baking to set the scene.</em></p><p><em>Enter the BaaS (bread as a service) bakery!</em></p><p><em>Got a suggestion for an ELI5 post? Drop it the comments and I’ll do my best.</em></p><p>LLM backed AI products have rapidly become ubiquitous; you type in what you want and almost instantly out comes your job application, new recipe, chunk of code or haiku. You may have heard that “embeddings” are to thank for translating your request into something that a computer can reason about, but what is an embedding, how are they created, and how do they enable LLMs to respond to requests?</p><p>Let’s take a trip to the BaaS bakery!</p><h3>🧁 The Bakery and the Baker’s Daughter</h3><p>Imagine your family runs a popular bakery. Every morning, people come in and describe what they want in all sorts of ways:</p><p>- “Something soft and sweet.”<br>- “Round with chocolate inside.”<br>- “Not too flaky, kind of chewy.”</p><p>Sometimes, customers know exactly what they want — “cookie!” — but often, they don’t.</p><p>While you’re busy baking, your daughter sits at the counter, quietly listening to every customer. She watches what they ask for… and what they walk out with. For fun, she makes up a game: guess for the order! In the game, she has to figure out what people <strong><em>mean</em></strong><em> </em>even if they say it in different ways.</p><p>That’s what embeddings* do: they help computers figure out a <strong>meaning</strong> from a bunch of words. But how do they do it?</p><p><em>*Note: people use the word “vector” to mean “embeddings” too.</em></p><h4>📇 Secret Recipe Code: Describing Meaning with Numbers</h4><p>Your daughter is getting good at her guessing game, but there are a lot of different treats and descriptions to remember. So she starts writing down descriptions of every treat in the bakery. But instead of writing “sweet” or “soft,” she uses numbers — like a secret recipe code for meaning.</p><p><strong>Treat — Secret recipe code</strong><br>Cookie — [0.82, 0.91, 0.70, 0.05, 0.30, 0.88]<br>Muffin — [0.80, 0.89, 0.72, 0.06, 0.28, 0.85]<br>Croissant — [0.20, 0.10, 0.85, 0.95, 0.12, 0.15]<br>Sourdough — [0.10, 0.05, 0.50, 0.80, 0.02, 0.05]</p><p>These numbers don’t stand for real things like “sweetness” or “softness.”<br> They’re patterns she’s learned by watching many orders — her own secret shorthand for <em>meaning</em>.</p><p>Computers do something similar. They read millions of sentences and notice which words appear together. From those patterns, they make up their own secret code of numbers.</p><h4>🗺️ The Treat Map</h4><p>Imagine all these treats on a giant invisible map. Each treat is a house. The secret recipe code is used to find the right address on the map for each treat: Similar ones are close together. Different ones are far apart.</p><p>Look at our recipe codes again, at the first number in the list:</p><p>Cookie — [0.82, 0.91, 0.70, 0.05, 0.30, 0.88]<br>Muffin — [0.80, 0.89, 0.72, 0.06, 0.28, 0.85]<br>Croissant — [0.20, 0.10, 0.85, 0.95, 0.12, 0.15]<br>Sourdough — [0.10, 0.05, 0.50, 0.80, 0.02, 0.05]</p><p>Cookies and muffins? They are like next door neighbours<br>Cookies and croissants? Not so much.</p><p>Our imaginary treat map might look a bit like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rz3F8VCXdEedP6OyfDTReg.png" /><figcaption>Map of treats</figcaption></figure><p>So if a customer says something that’s <strong>close</strong> to “cookie” in meaning — even if it’s not the same words — the baker’s daughter can still find the right match by looking at the nearby houses.</p><p>That’s what happens when a large language model “understands” what you’re saying.</p><h4>🗣️ A customer wants to order</h4><p>Now a customer walks in and says: “I want a soft, chewy round thing with chocolate.”</p><p>Your daughter sees a chance to practice her secret code. So, she quickly turns that sentence into her own list of numbers:</p><p>Customer is asking for = [0.81, 0.90, 0.69, 0.07, 0.29, 0.87]</p><p>Then she compares that to her secret recipe cards. The closest match is the “cookie”.</p><p>Boom — she hands over a chocolate chip cookie, and the customer walks away happy, even though they never said the word “cookie” at all.</p><p>That’s the power of embeddings: turning <strong>words and sentences</strong> into <strong>number codes</strong>, so we can compare their meanings.</p><h4>🍩 Wrapping up: What Are Embeddings?</h4><p>Embeddings are like secret recipe cards full of numbers that describe meaning.<br> They let computers compare ideas, not just words — finding what’s closest in meaning, even when the words are different.</p><p>Here’s how our baker’s daughter learned:</p><ol><li>Make a secret code for everything she hears.</li><li>Write it down to remember later.</li><li>Draw a big map with similar treats close together.</li><li>Practice matching new orders to her map.</li><li>Fix the map whenever she guesses wrong.</li></ol><p>That’s what computers do too — at a <em>much</em> larger scale.</p><p>Each company (OpenAI, Meta, Anthropic, and friends) has its own secret recipe code. Their models learn by studying mountains of text, refining their meaning maps through endless practice.<br> When you use a tool like ChatGPT, your question is turned into its own code — an embedding — and the model searches its vast meaning map to generate a fitting response.</p><p>The baker’s daughter might only serve a few dozen treats, but LLMs are doing the same trick across billions of ideas.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08428c4065f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ELI5: Servers under load — a busy day at the BaaS Bakery]]></title>
            <link>https://miamolliedev.medium.com/eli5-servers-under-load-a-busy-day-at-the-baas-bakery-ed250b2304bb?source=rss-c35de5598f13------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed250b2304bb</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Mia de Búrca]]></dc:creator>
            <pubDate>Sat, 26 Jul 2025 12:04:25 GMT</pubDate>
            <atom:updated>2025-07-26T12:04:25.100Z</atom:updated>
            <content:encoded><![CDATA[<h3>ELI5: Servers under load — a busy day at the BaaS Bakery</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BciS_tPNd6zQX_Fv" /><figcaption>Photo by <a href="https://unsplash.com/@angelopantazis?utm_source=medium&amp;utm_medium=referral">Angelo Pantazis</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4><strong>Welcome to ELI5 — Explain Like I’m Five!</strong></h4><p><em>This blog series breaks down software engineering concepts in simple, clear language — no jargon, no fluff. It’s my way of absorbing and contextualising new ideas, and testing my understanding of old ones by focusing on clarity and nuance. Sometimes I test these ideas out loud at home — tiny humans ask the best questions — so I often use baking to set the scene.</em></p><p><em>Enter the BaaS (bread as a service) bakery!</em></p><p><em>Got a suggestion for an ELI5 post? Drop it the comments and I’ll do my best.</em></p><p>Today’s post is about what happens when a server is under <em>load; </em>what do we mean by load, why’s it bad and how can we fix it? In software, “load” usually means a lot of people trying to use the same thing at the same time. That might sound like a good problem to have — yay lots of users! — but it can turn into a real problem.</p><p>So let’s break it down for a 5 year old by visiting the BaaS bakery during the morning rush.</p><h3>🧁 A Bakery at Morning Rush Hour</h3><p>The BaaS bakery has been doing well! You pride yourself on baking fresh bread for each customer, and word is spreading fast. Some mornings are calm. Others — absolute chaos.</p><p>It’s good to be popular, but on busy there are too many people squishing into your cosy little bakery. Customers wait too long, orders get mixed up, and some people leave empty-handed.</p><p>So, what can you do to keep your bread baking and your customers happy?</p><blockquote>In software, a server is “under load” when incoming requests exceed its capacity — overwhelming CPU, memory, or I/O resources. This leads to timeouts, errors, or crashes.</blockquote><h4>🔥 Vertical Scaling = A Bigger Oven</h4><p>First, you invest in a bigger oven. Instead of baking two loaves at a time, now you can bake ten!</p><p>This helps for a while, but your happy customers have been spreading the word far and wide. Soon you’re back to the same problem, only you can’t fit an even <em>bigger</em> oven into this bakery — so what now?</p><blockquote><strong>Vertical scaling</strong> means increasing the resources (CPU, memory, etc.) on a single server. It’s powerful, but limited by hardware constraints.</blockquote><h4>🏢 Horizontal Scaling = Open More Bakeries</h4><p>Next, you open more BaaS bakeries across the city. Each has its own oven and baker, and customers can go to whichever one is closest or least busy.</p><p>It takes more coordination — sharing recipes, keeping things consistent — but it massively boosts your capacity.</p><blockquote><strong>Horizontal scaling </strong>means adding more servers. More servers can handle more load, but this approach brings extra complexity.</blockquote><h4>⏱️ Queue = Take-a-Number Ticket System</h4><p>Things are looking up, but peak times still hit hard with a rush of customers all piling in. One of your staff suggests introducing a ticketing system when things are getting out of hand. Now people are served in order, not all at once.</p><p>It’s not perfect — some customers get tired of waiting and leave — but at least the bakery runs in a calmer, more predictable way.</p><blockquote>A <strong>queue</strong> defers work until the system is ready. Different strategies (FiFo, LiFo, etc) can suit different needs.</blockquote><h4>🧊 Cache = Pre-Bake the Favourites</h4><p>You know croissants and sourdough are always popular, so you start to bake them in advance. Now when someone orders one, you don’t have to make it fresh, just grab one off the shelf.</p><p>It’s very hard to strike a balance when pre-baking though. Not everything can be baked ahead, some things go to waste, and you <em>definitely</em> don’t want to be selling stale bread!</p><blockquote><strong>Caching</strong> stores frequently requested data to speed up responses. Caches are extremely powerful, but can be equally challenging to get right.</blockquote><h3>💡 More Ideas for Later</h3><p>Things are running more smoothly now, but you’re always planning ahead. Here are a few more tricks to keep up your sleeve:</p><ul><li>🚦 <strong>Rate Limiting</strong> = “Only One Cake Per Customer!”</li><li>👩‍🍳 <strong>Load Balancing</strong> = Staff Directing Customers to shortest lines</li><li>🛵 <strong>CDNs / Edge Servers</strong> = Pop-Up Bakeries Closer to Customers</li><li>📉 <strong>Backpressure</strong> = “Sorry, Kitchen’s Full — Come Back Later”</li><li>🪄 <strong>Auto-Scaling</strong> = Magical Self-Growing Bakery</li></ul><h3>🧺 Wrapping Up</h3><p>Just like your favourite bakery needs clever tricks to keep up with morning rush hour, servers under load need thoughtful strategies to keep everything running smoothly. Whether it’s scaling up or out, introducing queues, pre-caching popular requests, or handling traffic with grace, there are many option to choose from!</p><p>That’s it for today’s shift at the BaaS Bakery — stay tuned for the next batch of tech talk, fresh from the oven! 🥐</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed250b2304bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>