<?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 Jake Merten on Medium]]></title>
        <description><![CDATA[Stories by Jake Merten on Medium]]></description>
        <link>https://medium.com/@jakemer10?source=rss-41c26ebc1e3f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hJ08kJjzf7XQIzc0BsuH4Q.jpeg</url>
            <title>Stories by Jake Merten on Medium</title>
            <link>https://medium.com/@jakemer10?source=rss-41c26ebc1e3f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 02:58:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jakemer10/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[The Super-Tomato Trap, a Guide to Scaling Systems]]></title>
            <link>https://medium.com/@jakemer10/the-super-tomato-trap-a-guide-to-scaling-systems-cd1b1c293a2b?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd1b1c293a2b</guid>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[systems-thinking]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Mon, 04 May 2026 18:43:51 GMT</pubDate>
            <atom:updated>2026-05-04T18:43:51.023Z</atom:updated>
            <content:encoded><![CDATA[<p>We’ve all been there. You build something — a small app, a personal blog, maybe a tool to track your local trail conditions — and it works perfectly on your machine. You share it. A few friends check it out. Then, someone with a big following shares it, and suddenly, the “Service Unavailable” screen becomes your new best friend.</p><p>In the industry, we call this a “scaling problem.” But if you strip away the jargon, it’s really just a question of space and stress. When your system starts to buckle under the weight of too many users, you have two choices: you can build a bigger “brain” for your computer, or you can get more brains to share the load.</p><p>In system design, we call these <strong>Vertical</strong> and <strong>Horizontal</strong> scaling. To understand the difference, let’s stop looking at servers and start looking at a community garden. Let’s hope I don’t delve too deep into this analogy, but I likely will (sorry in advance).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*EgysExyhwgVfYfzZf0InZQ.png" /></figure><h3>The Solo Gardener (Vertical Scaling)</h3><p>Imagine you have a single ceramic pot on your porch. You’ve planted a tomato seed. It grows, it thrives, and you get a handful of tomatoes. Success! But then, your neighbors see your harvest and they all want some.</p><p>Your first instinct is <strong>Vertical Scaling</strong> (or “Scaling Up”). You buy a massive, 50-gallon industrial drum. You buy the most expensive, nutrient-dense soil on the market. You buy a specialized UV light. You are trying to grow the “World’s Greatest Tomato Plant” — one single, massive vine that can produce enough fruit for the whole neighborhood.</p><p>In tech, this is like upgrading your single server. You add more RAM, a faster CPU, and more storage. You’re making the “pot” bigger.</p><p><strong>Pro:</strong> It’s simple. You don’t have to change how you garden; you’re just doing it on a bigger scale. Your code doesn’t need to change because it’s still just talking to one “machine.”</p><p><strong>Con:</strong> Eventually, you hit a ceiling. Biology (and hardware) has limits. No matter how much money you throw at that one tomato plant, it can only grow so fast. And more importantly, if a single pest gets into that one giant plant, the whole neighborhood goes hungry. If that server’s power supply pops, your entire app is dead.</p><h3>The Community Plot (Horizontal Scaling)</h3><p>Now, imagine a different approach. Instead of one giant industrial drum, you take over a vacant lot. You plant twenty standard-sized pots. This is <strong>Horizontal Scaling</strong> (or “Scaling Out”).</p><p>Instead of one “Super-Tomato,” you have a fleet of regular ones. If the neighborhood demand grows, you don’t look for a bigger pot; you just put down another five pots.</p><p><strong>Pro:</strong> This is how the giants (Netflix, Google, Amazon) stay online.</p><p>And to go further down the analogy you also have:</p><ul><li><strong>Resilience:</strong> If one plant gets a disease, you toss it out. The other nineteen are still producing.</li><li><strong>Elasticity:</strong> If demand drops in the winter, you don’t have to maintain the whole field. You just stop watering ten of the pots.</li><li><strong>Infinite Growth:</strong> Theoretically, as long as you have more “land” (cloud credits), you can keep adding pots.</li></ul><p><strong>The Challenge:</strong> Horizontal scaling introduces a new problem: <strong>The Traffic Warden.</strong></p><p>In your garden, you now need someone standing at the gate to tell people which pot to pick from. In system design, this is the <strong>Load Balancer</strong>. You also have to make sure every pot is growing the same thing — if one pot has cherry tomatoes and the other has romas, your “users” are going to be confused. Keeping all those servers in sync is where the real engineering happens.</p><h3>Another Cost: Efficiency and Sustainability</h3><p>There is a third factor we rarely talk about in entry-level tutorials: the “carbon cost” of our choices.</p><p>When you scale <strong>vertically</strong>, you often end up with a “Hummer” of a server. It’s powerful, but it’s incredibly inefficient. It draws a massive amount of power even when only two people are using your site.</p><p><strong>Horizontal scaling</strong> allows for a more “sustainable” architecture. Because you can turn servers on and off based on real-time demand, you aren’t burning electricity for a “Super-Server” to sit idle at 3:00 AM. It’s the difference between keeping a stadium lit all night versus only turning on the lights in the rooms where people are actually standing.</p><h3>Which One Should You Choose?</h3><p>If you’re just starting out or building a MVP (Minimum Viable Product), <strong>Vertical Scaling</strong> is usually your friend. It’s faster to set up, easier to manage, and cheaper in the short term. Don’t build a massive community garden if you only have two customers.</p><p>However, the moment you realize that “downtime” is no longer an option, it’s time to start thinking horizontally.</p><h3>Ultimately…</h3><p>System design isn’t about finding the “best” way; it’s about managing trade-offs. Whether you’re tending to a single, prized plant or managing a whole field, the goal is the same: keep the system healthy, keep the “fruit” coming, and try not to burn down the garden in the process (or perhaps forget to water it).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd1b1c293a2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Unsung Superpower of Elite Engineers]]></title>
            <link>https://medium.com/@jakemer10/the-unsung-superpower-of-elite-engineers-95e4f2fd8a27?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/95e4f2fd8a27</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 20:05:46 GMT</pubDate>
            <atom:updated>2026-01-30T20:05:46.477Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi all, back again for my monthly foray into whatever random topic is on my mind for the past while. Today that is documentation. You could say I am writing about this because I have been frustrated by both the lack of documentation of my fellow engineers as well as my past self (you’d be correct). I am ever-steadfastly working on this skillset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*sGC8PJ71Um6qRDWX.png" /></figure><p>For the first few years of my career, I operated under a massive misconception. I believed that my value as an engineer was entirely tied to the number of lines of code I shipped or how quickly I could close tickets. Writing was something I did when I was forced to. It was homework. It was administrative overhead that got in the way of the “real work.”</p><p>I was wrong.</p><p>I learned the hard way that you can build the most elegant, performant, innovative system in the world, but it does not matter at all if nobody else understands how to use it, maintain it, or sell it.</p><p>I used to watch certain senior engineers get tremendous amounts of work done without seeming to type much code at all. They weren’t just technically gifted. They had a different kind of leverage. They had mastered the art of technical writing, and that skill acted as a force multiplier for everything they touched.</p><p>Writing isn’t just documentation. It is an engineering superpower that scales your impact far beyond what your own two hands can type into an IDE.</p><p>Here is why shifting your mindset about writing can change the trajectory of your career.</p><h3>The Trap of the Brilliant Silo</h3><p>We all know that one developer. They are incredibly smart and can solve problems that stump everyone else. But their code is a black box. Their commit messages say things like “fixed stuff.” Their pull request descriptions are empty.</p><p>When you ask them a question about their domain, they sigh, roll their eyes, and launch into a ten-minute, high-speed monologue full of jargon. You leave more confused than when you arrived.</p><p>This person is a single point of failure. They have created a silo of knowledge that only exists in their head. If they win the lottery and leave tomorrow, the team is in serious trouble. This isn’t job security. It’s a liability.</p><p>Great engineers realize that software development is a team sport. If your teammates cannot understand your work without asking you for a verbal explanation, your work is incomplete.</p><h3>Writing Scales Your Brain</h3><p>Think of technical writing as asynchronous communication at scale.</p><p>Every time you answer a repetitive question in Slack, you are solving a problem for one person one time.</p><p>When you take ten minutes to write that answer down clearly in a public document or a well-commented README file, you are solving that problem for fifty future people indefinitely.</p><p>Good writing allows you to be in ten places at once. It helps onboard new hires while you’re busy. It defends your architectural decisions to stakeholders while you are on vacation. It guides other teams on how to consume your API without them needing to set up a Zoom call with you.</p><p>When you write clearly, you stop being the bottleneck. You empower others to work independently. That is the definition of leadership in engineering.</p><h3>How to Start Flexing This Muscle</h3><p>The biggest barrier to good technical writing is the feeling that you need to write a flawless fifty-page academic paper. You don’t. You just need to be helpful.</p><p>Here are three small ways to start treating writing as part of your engineering toolkit today.</p><p><strong>1. Have empathy for the reader.</strong> Before you write a single word, ask yourself who is reading this and what they need. Are they a stressed-out junior dev trying to fix a bug at 3 a.m.? Are they a product manager trying to understand a constraint? Tailor your language to their reality. Don’t try to sound smart. Try to be clear.</p><p><strong>2. The “Why” matters more than the “What.”</strong> Code is usually pretty good at explaining <em>what</em> it is doing. It is terrible at explaining <em>why</em> it is doing it that way.</p><p>In your commit messages, PR descriptions, or code comments, focus on the context. Don’t just write “Updated user authentication.” Instead, write “Switched to OAuth2 because the previous library is deprecated and posed a security risk.” That context is gold for the poor soul who has to inherit your code in two years (which might just be future you).</p><p><strong>3. Treat docs like code.</strong> If you see a typo in a variable name, you fix it. Do the same for documentation. If a README is outdated, open a PR to update it. If an on-call runbook is confusing, clarify it. Make documentation part of your definition of “done.”</p><h3>The Final Shift</h3><p>The best engineers aren’t just coding machines. They are teachers, communicators, and translators. They bridge the gap between human problems and machine solutions.</p><p>If you want to improve, stop looking for another framework to learn. Start learning how to explain the ones you already know.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95e4f2fd8a27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Tax on Every Click: The Carbon Cost of an Inference]]></title>
            <link>https://medium.com/@jakemer10/the-hidden-tax-on-every-click-the-carbon-cost-of-an-inference-f1f54dcb2f7d?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1f54dcb2f7d</guid>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 18:20:15 GMT</pubDate>
            <atom:updated>2026-01-09T18:20:15.780Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/696/0*c_U06NNCJ4-DS5-r.jpg" /></figure><p>We’ve all seen the headlines about the “AI Arms Race.” We know that training a massive model like GPT-5 probably uses enough electricity to power a small Midwestern city for a year (while also taking that Midwestern city’s water). We’ve accepted that as the price of admission for the future.</p><p>But there is a quieter, more insidious energy drain that nobody is talking about because it doesn’t happen in a giant burst of glory during training. It happens every time you ask an AI to “make this email sound more professional.”</p><p>It’s called <strong>Inference</strong>, and it’s the “silent tax” on our digital lives.</p><h3>The “Single Straw” Fallacy</h3><p>Think of training an AI like building a massive reservoir. It’s a huge, one-time engineering feat that requires a mountain of resources. But <strong>inference</strong> — the act of the AI actually answering your prompt — is like every single person in the world taking a sip from that reservoir through a straw, all at once, 24/7.</p><p>Individually, a single sip feels like nothing. It’s a fraction of a watt. But we aren’t taking one sip; we are taking billions.</p><p>In 2023, we were worried about the “Big Bang” of model creation. In 2026, the problem is the “Steady Hum.” As AI moves from a tab on your browser to the invisible engine inside your fridge, your car, and your word processor, we aren’t just using the reservoir — we’re draining it faster than it can refill.</p><h3>Why “Efficiency” is a Dirty Word in Silicon Valley</h3><p>In the tech world, we love to talk about <em>optimization</em>. We’ve shrunk chips and refined code. But we have a problem: <strong>Jevons Paradox.</strong> The paradox states that as a resource becomes more efficient to use, we don’t use less of it — we use <em>way more</em>. Because it’s now “cheap” (in terms of latency and cost) to run an AI inference, developers are sticking AI into things that absolutely do not need it.</p><p>Do you really need a Large Language Model to tell you your toaster is done? Probably not. But because the “cost of an inference” dropped, we stopped asking <em>if</em> we should use it and started asking <em>where else</em> we could cram it. This “feature creep” is driving a massive, invisible surge in carbon emissions that your favorite tech company’s “Net Zero” marketing isn’t quite accounting for.</p><h3>The “Vibe” vs. The Voltage</h3><p>There’s a growing tension between the “User Experience” and the “Energy Bill.”</p><ul><li><strong>The UX Dream:</strong> An AI that anticipates your needs before you finish a sentence.</li><li><strong>The Reality:</strong> A data center in Virginia screaming at 100% capacity to guess what you want for dinner.</li></ul><p>The truth is, we’ve become spoiled by the “infinite” feel of the cloud. We treat compute power like it’s magic, but magic is just physics we don’t want to look at. Every time an AI “hallucinates” and you have to hit “Regenerate,” you just burned the energy equivalent of leaving a lightbulb on for an hour, just to get a slightly better-worded paragraph.</p><h3>How We Fix the “Silent Hum”</h3><p>We don’t have to go back to the Stone Age (or even 2019), but we do need a reality check.</p><ol><li><strong>Intentional Compute:</strong> We need to stop using a sledgehammer (a 1.5-trillion parameter model) to crack a nut (calculating a tip). We need “Small Language Models” that live locally and stay “cold” when they aren’t needed.</li><li><strong>The “Nutritional Label” for Tech:</strong> I want to see a carbon estimate at the bottom of my AI chat. If I knew that my “funny poem about my cat” cost the same energy as charging my phone three times, I might think twice before hitting enter.</li><li><strong>The End of “Always-On” Surveillance:</strong> We need to rethink the “embodied AI” trend. Does every camera in every store need to be running real-time sentiment analysis on your face? Probably not.</li></ol><h3>The Bottom Line</h3><p>We are currently in the “gas-guzzler” phase of the AI revolution. It’s flashy, it’s fast, and it’s incredibly wasteful. But eventually, the bill comes due.</p><p>The next time you’re about to ask an AI to summarize a three-paragraph email because you’re feeling a bit lazy, just remember: it’s not “free.” It’s just being billed to a planet that’s already over-leveraged.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1f54dcb2f7d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why System Design is the Only Skill That Will Save Your Career in 2025]]></title>
            <link>https://medium.com/@jakemer10/why-system-design-is-the-only-skill-that-will-save-your-career-in-2025-5ca8af0d7899?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ca8af0d7899</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 20:10:33 GMT</pubDate>
            <atom:updated>2025-12-09T20:10:33.875Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re learning to code in 2025, or if you’re a junior engineer trying to keep your head above water, I’m going to be real with you: <strong>Stop obsessing over syntax.</strong></p><p>Syntax is cheaper now. The real money has moved up the stack to <strong>System Design</strong>.</p><p>As a caveat, syntax is still incredibly important, as is writing clean and scalable code. What I am trying to get at with this post is that the ability to steer the code written has increased substantially in the last few years. Strong engineers can properly place bumpers on boilerplate code to build workable apps (not necessarily <em>scalable </em>ones) faster than ever before. You need to understand the code, but even moreso you need to know exactly how to design the system to build what is needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*e0XuuZ9ths3pg3z2Ey6puA.png" /></figure><h3>The “Typist” vs. The “Architect”</h3><p>For the last decade, we interviewed engineers based on their ability to be human compilers. <em>Can you reverse a binary tree on a whiteboard? Do you remember the arguments for </em><em>useEffect?</em></p><p>In 2025, nobody cares. GitHub Copilot, Cursor, and ChatGPT can handle the “how” instantly.</p><ul><li><strong>The Typist</strong> asks: “How do I write a for loop in Python?&quot;</li><li><strong>The Architect</strong> asks: “Should this be a loop at all? If we scale this to a million users, is this going to crash the database?”</li></ul><p>AI is the ultimate Typist. It’s faster than you, it makes fewer typos, and it knows every library in existence. If your only value is that you know <em>how</em> to write the code, you are competing against a machine that works for free.</p><p>But AI is a terrible Architect. It has no idea <em>why</em> you’re building something. It doesn’t know that your company is broke and can’t afford a massive AWS bill. It doesn’t know that your users have terrible internet connections.</p><h3>Why System Design is Your Safety Net</h3><p>When I say “System Design,” I don’t just mean designing Netflix. I mean the ability to answer the hard questions that code generators can’t.</p><p>In a world where code generation is free, the bottleneck becomes <strong>decision-making</strong>.</p><h3>1. Database Trade-offs</h3><p>The AI will write the SQL query for you. But it won’t tell you that using a relational database for unstructured log data is a ticking time bomb. It won’t warn you that your schema design is going to cost you thousands of dollars in latency fees six months from now.</p><ul><li><strong>Don’t memorize:</strong> The syntax for INSERT INTO.</li><li><strong>Learn:</strong> When to use Postgres vs. MongoDB vs. Redis.</li></ul><h3>2. The “Glue”</h3><p>Writing an API endpoint is trivial now. But designing an API that is secure, idempotent, and rate-limited? That’s hard.</p><ul><li><strong>Don’t memorize:</strong> How to write a Flask route.</li><li><strong>Learn:</strong> REST vs. GraphQL, OAuth flows, and how to stop your server from melting under a DDoS attack.</li></ul><h3>3. Debugging Logic, Not Grammar</h3><p>You’re going to spend less time fixing missing semicolons and more time fixing <em>hallucinations</em>. You need to understand the system well enough to look at the AI’s code and say, “That looks right, but it’s going to deadlock the server.” If you don’t understand the architecture, you can’t debug the machine.</p><h3>The Architect’s Reading List (Read These Instead of Docs)</h3><p>If you want to pivot from a “coder” to an “architect,” stop reading language documentation and pick up these books. These are the gold standards that senior engineers swear by.</p><p><strong>1. The “Bible” of Backend:</strong></p><ul><li><strong>Title:</strong> <em>Designing Data-Intensive Applications</em> by Martin Kleppmann</li><li><strong>Why read it:</strong> This is widely considered the best engineering book of the last decade. It explains <em>how</em> databases actually work (B-Trees, SSTables) and the hard realities of distributed systems. It’s heavy, but it changes how you see data.</li></ul><p><strong>2. The “Crash Course”:</strong></p><ul><li><strong>Title:</strong> <em>System Design Interview — An Insider’s Guide</em> by Alex Xu</li><li><strong>Why read it:</strong> Don’t let the title fool you; this isn’t just for interviews. It’s the most visual, approachable guide to understanding load balancers, rate limiters, and how to design systems like YouTube or Google Drive.</li></ul><p><strong>3. The “Structure” Manual:</strong></p><ul><li><strong>Title:</strong> <em>Fundamentals of Software Architecture</em> by Mark Richards &amp; Neal Ford</li><li><strong>Why read it:</strong> This moves beyond just “systems” and talks about “architecture” — how to decouple components, how to choose between microservices and monoliths, and how to measure things like “maintainability.”</li></ul><p><strong>4. The “Code Organization” Classic (also my favorite)</strong></p><ul><li><strong>Title:</strong> <em>Clean Architecture</em> by Robert C. Martin (“Uncle Bob”)</li><li><strong>Why read it:</strong> While slightly more theoretical, this teaches you how to organize your code so that the business logic is protected from the UI and the database. It’s about building software that doesn’t rot over time.</li></ul><h3>Final Thoughts</h3><p>The engineers who get paid the most in 2026 won’t be the ones who type the fastest. They will be the ones who can prompt an AI to write a module, spot the architectural flaw in two seconds, and fix it. I’m not saying this is necessarily the best for code stability, but it is trending in the direction of being the new reality.</p><p>We are moving from a world of <strong>Code Writers</strong> to <strong>System Orchestrators</strong>.</p><p>Don’t be a library of syntax. Be the architect who knows which books to pull from the shelf.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ca8af0d7899" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The “Green Dashboard” Paradox: Why Monitoring Isn’t Enough (and Observability Is)]]></title>
            <link>https://medium.com/@jakemer10/the-green-dashboard-paradox-why-monitoring-isnt-enough-and-observability-is-f527f26191f1?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f527f26191f1</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Wed, 19 Nov 2025 20:32:45 GMT</pubDate>
            <atom:updated>2025-11-19T20:32:45.679Z</atom:updated>
            <content:encoded><![CDATA[<p>It has been my mission to make my documentation both efficient and useful. No fluff that other engineers have to dig through, but enough information that no additional time is wasted trying to figure out what the heck I meant to say. I’m going to explain this scenario in a way that helps me understand it (<em>surprise surprise, it’s an ecological analogy</em>).</p><p>— —</p><p>It’s 2:00 AM. Your phone buzzes with an alert. You groggily open your laptop, heart racing, and check the main dashboard.</p><p>Everything is green.</p><ul><li>CPU usage? Normal.</li><li>Memory? Stable.</li><li>Disk space? Plenty.</li></ul><p>But Teams is on fire. Customer support is screaming that users can’t log in. Twitter is starting to trend with angry complaints. You are staring at a sea of green checks, but your application is effectively dead.</p><p>We have all been there. That sinking feeling isn’t a failure of engineering; it’s a failure of <em>visibility</em>. It’s the difference between monitoring — which tells you the temperature is fine — and observability — which tells you the ecosystem is collapsing.</p><p>Let’s fix that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*24j88UJbBgK5CojW8QPC2A.png" /></figure><h3>The Weather Station vs. The Ecologist</h3><p>To understand the difference, let’s look at how we study the environment.</p><p><strong>Monitoring is a Weather Station.</strong> It sits in one spot and reports numbers. It has a simple job: tell you if the metrics cross a threshold.</p><ul><li>“Temperature is 95°F (High Alert!)”</li><li>“Humidity is 10% (Dry!)”</li><li>“Wind speed is 40mph.”</li></ul><p>It detects <em>symptoms</em>. It tells you <em>that</em> the environment is hot and dry. But if a forest fire starts, the weather station doesn’t know <em>why</em> — it just tells you it’s getting hotter. It checks for known conditions.</p><p><strong>Observability is the Ecologist.</strong> Observability is the ability to enter the forest and investigate the complex relationships between the soil, the water, and the wildlife.</p><ul><li><em>“Why are the fish dying if the water pH is normal?”</em></li><li><em>“Let’s trace this chemical runoff upstream to find the source.”</em></li></ul><p>In software terms, monitoring tells you “The server is responding 200 OK.” Observability allows you to ask, “Why did that specific API request trigger a database lock that cascaded into a timeout for users in the ‘Premium’ tier?”</p><h3>The Three Pillars (The Field Guide)</h3><p>You will often hear that observability is built on three pillars: <strong>Metrics, Logs, and Traces</strong>.</p><p>Technically, that’s true. But having these three things doesn’t automatically make you “observable.” I’ve seen teams with terabytes of logs who still can’t debug a simple latency spike because their data is siloed.</p><p>Here is how you need to rethink them using our ecological lens:</p><h3>1. Metrics are the “Sensor Readings”</h3><p>Metrics (graphs, counters, gauges) are cheap to collect and great for spotting <em>trends</em> over time.</p><ul><li><em>The Human View:</em> This is your graph of CO2 levels over the last 50 years. It tells you the planet is warming, but it doesn’t tell you which factory is emitting the most carbon. It is the “What,” not the “Why.”</li></ul><h3>2. Logs are the “Field Samples”</h3><p>We all love logs, but most of us are doing them wrong. If your logs look like Error: failed or Processing item..., you are hurting your future self.</p><ul><li><em>The Human View:</em> Logs are your soil samples. But a bag of dirt labeled “Dirt” is useless. You need structured data: “Sample ID: 402. Location: Riverbank. Nitrogen Level: High. Contaminant: Oil.”</li></ul><h3>3. Traces are “Isotope Tracking”</h3><p>This is the superpower most teams are missing. In environmental science, researchers use stable isotopes or dyes to track how water or nutrients move through an entire ecosystem.</p><ul><li><em>The Human View:</em> Distributed tracing is exactly like pouring a harmless dye into a river to see where it flows. You follow a single user request (the dye) as it flows from the Load Balancer (the mountain spring) to the Database (the ocean). If the dye stops moving at the Auth Service, you know exactly where the blockage is.</li></ul><h3>Moving from “Guessing” to “Knowing”</h3><p>So, how do you actually master this? You don’t need to buy a $50,000 tool tomorrow. You can start with a culture shift. As I progress into a Senior Software Engineer role, while I can understand <em>why</em> a programmer may skimp on logging in the moment, I have also experienced how this hamstrings both the individual and the team trying to debug issues in a crisis.</p><h3>Stop Logging Sentences, Start Logging Data</h3><p>The biggest favor you can do for your team is to switch to <strong>Structured Logging</strong> (JSON).</p><p><strong>Bad Log (The Vague Field Note):</strong> &quot;Upload failed due to timeout&quot;</p><p><strong>Good Log (The Lab Analysis):</strong></p><pre>{<br>  &quot;event&quot;: &quot;file_upload_failed&quot;,<br>  &quot;user_id&quot;: 123,<br>  &quot;region&quot;: &quot;us-west-2&quot;,<br>  &quot;error&quot;: &quot;timeout&quot;,<br>  &quot;duration_ms&quot;: 5002,<br>  &quot;file_size_mb&quot;: 25<br>}</pre><p>Why? Because now you can ask the system questions: <em>“Show me all upload failures in ‘us-west-2’ where </em><em>file_size_mb is greater than 10.&quot;</em> Suddenly, you realize the &quot;climate&quot; isn&#39;t bad everywhere—just in one specific region for large files. You solved the mystery in seconds.</p><h3>Instrument for the “Why”</h3><p>When you write code, don’t just handle the error; leave a clue for the poor soul (probably you) who has to fix it later.</p><p>If you catch an exception, add context. Observability is really just <strong>empathy for your future self.</strong> It’s leaving a map so you don’t get lost in the woods.</p><h3>The Goal: A Sustainable Ecosystem</h3><p>Ultimately, mastering observability isn’t about impressing people with fancy dashboards. It’s about confidence.</p><p>It’s about knowing that when the ecosystem gets disrupted (and it <em>will</em>), you won’t be staring blankly at a green weather station while the forest burns. You will have the tools to track the problem to its source, fix it, and restore balance.</p><p>You will be able to open your laptop, query the data, find the root cause, and — most importantly — go back to sleep.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f527f26191f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Crash Course on How to Read a Massive Codebase Quickly]]></title>
            <link>https://medium.com/@jakemer10/a-crash-course-on-how-to-read-a-massive-codebase-quickly-f8b0283e859a?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8b0283e859a</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 19:28:39 GMT</pubDate>
            <atom:updated>2025-10-14T19:28:39.175Z</atom:updated>
            <content:encoded><![CDATA[<p>Starting on a massive codebase is often called “drinking from the firehose.” It’s overwhelming to see millions of lines of code and not know where to start. I’ve experienced this in my own career and even when contributing to open source code on various Github projects.</p><p>The secret to quickly gaining proficiency isn’t reading every line; it’s learning how the system <strong>flows</strong> and where the <strong>critical paths</strong> lie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*FYBVcu6dtyYSyNWdj7wFXQ.png" /></figure><p>Here is the four-step method to understand any massive codebase in record time (with rough estimations on time you should allot on each step). <em>A disclaimer would be each codebase is obviously different and this is to be taken as a generally high level recommendation. These steps are what have helped me and I’m hoping can provide other engineers clarity as a potential thinking process</em>:</p><h3>1. Find the “Entry Point” and Trace the Happy Path (5 minutes)</h3><p>Forget the documentation — it’s probably out of date. Your first goal is to see the system <em>work</em>.</p><ul><li><strong>Locate the Entry Point:</strong> Where does the whole thing start?</li><li><strong>Web App:</strong> Find the main routing file (routes.js/urls.py) or the main executable file (often index.js, server.go, or main.py).</li><li><strong>Library:</strong> Find a simple example usage in the test files or documentation.</li><li><strong>Trace the Happy Path:</strong> Pick the simplest, most common action (e.g., a user logging in, fetching a user profile, or clicking “Save”).</li><li><strong>Use the Debugger (Crucial):</strong> Set a breakpoint at the entry point and step through the code execution. Follow the flow until the request is fulfilled. This shows you the <strong>order of operations</strong> and the key services/classes involved, bypassing static directory browsing.</li></ul><p><strong>You are mapping the <em>road</em>, not the <em>buildings</em> along it.</strong></p><h3>2. Identify the Key Actors and Their Roles (10 minutes)</h3><p>Now that you know the main route, you need to identify the major components that handle the business logic.</p><ul><li><strong>Find the 3–5 Core Abstractions:</strong> As you trace the happy path, which objects or services keep popping up? These are your <strong>key actors</strong>. They might be named UserService, DatabaseClient, or PaymentProcessor.</li><li><strong>Map Their Responsibilities:</strong> Create a mental or physical model (a simple box and arrow diagram) of what each actor is responsible for.</li><li><em>The </em><em>Controller handles the HTTP request.</em></li><li><em>The </em><em>Service handles the business logic.</em></li><li><em>The </em><em>Repository handles data access.</em></li><li><strong>Focus on Interfaces, Not Implementations:</strong> You don’t need to know <em>how</em> the DatabaseClient saves data—just that it <em>can</em> save data. This is how you contain complexity.</li></ul><h3>3. Study the Failures, Not Just the Successes (10 minutes)</h3><p>The edge cases and error handling often reveal the most about a system’s design and its historical problems.</p><p><strong>Examine the Tests:</strong> Look at the unit and integration tests. Tests show you:</p><ul><li>How the component is <em>meant</em> to be used.</li><li>The specific edge cases the original developer worried about (e.g., “What happens when the API returns a 500?”).</li><li><strong>Look at Error Handling:</strong> Search the codebase for throw, catch, try, or log.error. Pay attention to how errors are propagated and logged. This teaches you the system&#39;s resilience and boundaries.</li><li><strong>Review </strong><strong>README.md and Architecture Docs (Now):</strong> After tracing the code, the documentation will make much more sense. Use it to fill in the gaps in your mental model.</li></ul><h3>4. Search by “Grep” (Global Regular Expression Print) (5 minutes)</h3><p>Resist the urge to randomly click on files. Be a laser, not a floodlight.</p><ul><li><strong>Keyword Search:</strong> When you need to understand a specific feature (e.g., the billing logic), search the <em>entire codebase</em> for core keywords like subscription, invoice, or charge.</li><li><strong>Find the Closest Code:</strong> This search will quickly point you to the files most relevant to your task, allowing you to jump directly to the working area.</li><li><strong>Use Git Blame (Sparingy):</strong> Use git blame on a confusing section of code to see who wrote it and why (by reading the commit message). This gives you essential historical context.</li></ul><h3>Total Time Commited?</h3><p>By focusing on the <strong>flow</strong>, the <strong>actors</strong>, and the <strong>tests</strong>, you build a working mental model in roughly <strong>30 minutes</strong>, hopefully allowing you to start making productive changes substantially quicker.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8b0283e859a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Write SQL Queries That Other Developers Can Read]]></title>
            <link>https://medium.com/@jakemer10/how-to-write-sql-queries-that-other-developers-can-read-cdfa0668f9cf?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdfa0668f9cf</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Fri, 05 Sep 2025 19:01:12 GMT</pubDate>
            <atom:updated>2025-09-05T19:01:12.773Z</atom:updated>
            <content:encoded><![CDATA[<p>You can write a query that <em>works</em> in 30 seconds. You can write a query that someone else can maintain in 5 minutes. This post is about the second one.</p><p>Readable SQL is a kindness to your future self (and your teammates). It’s also faster in the long run: you’ll debug less, onboard new folks quicker, and avoid accidental logic drift. Here’s a quick playbook you can copy-paste into your workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*lEW9vnAaPhpbyVnZ.jpg" /></figure><h3>1) Start With a Name and a Story</h3><p>Before you type SELECT, write a one-line comment that says <strong>what</strong> the query does and <strong>why</strong> it exists. Future you will thank you.</p><pre>-- Returns monthly revenue per customer for FY2025, excluding test accounts.<br>-- Used by finance_dashboard.monthly_revenue chart.</pre><p>If it’s a saved view or model, give it a <strong>purposeful name</strong>:</p><ul><li>Good: vw_customer_monthly_revenue_fy2025</li><li>Bad: rev_thing or q2</li></ul><h3>2) Format Like You Mean It (Consistency &gt; Style)</h3><p>Pick a formatting style and stick to it. A popular, readable pattern:</p><ul><li><strong>UPPERCASE</strong> for SQL keywords: SELECT, FROM, WHERE, etc.</li><li><strong>snake_case</strong> for tables and columns.</li><li><strong>One clause per line</strong>; <strong>aligned indentation</strong> for subqueries and joins.</li><li><strong>Trailing commas</strong> (or leading — just be consistent).</li></ul><p>Example:</p><pre>SELECT<br>    c.customer_id,<br>    DATE_TRUNC(&#39;month&#39;, o.order_date) AS order_month,<br>    SUM(o.total_amount)               AS revenue<br>FROM orders o<br>JOIN customers c<br>    ON c.customer_id = o.customer_id<br>WHERE<br>    o.status = &#39;completed&#39;<br>    AND c.is_test_account = FALSE<br>GROUP BY<br>    c.customer_id,<br>    DATE_TRUNC(&#39;month&#39;, o.order_date)<br>ORDER BY<br>    order_month,<br>    c.customer_id;</pre><p>This isn’t about fancy — it’s about making the structure <em>pop</em> at a glance.</p><h3>3) Name Things So the Next Person Doesn’t Need Your Brain</h3><p><strong>Alias columns and tables</strong> with names that carry the meaning, not your memory.</p><p>Bad:</p><pre>SELECT a.id, SUM(b.amt) AS s<br>FROM t1 a JOIN t2 b ON a.id = b.id;</pre><p>Good:</p><pre>SELECT c.customer_id, SUM(p.payment_amount) AS total_payments<br>FROM customers c<br>JOIN payments p ON p.customer_id = c.customer_id;</pre><p><strong>Avoid cryptic aliases</strong> unless they’re canonical (e.g., c for customers, o for orders).</p><h3>4) Comment the Why, Not the Obvious</h3><p>Comments are for intent and edge cases, not narration.</p><p>Bad (noise):</p><pre>-- Select all columns<br>SELECT * FROM customers;</pre><p>Good (signal):</p><pre>-- Exclude self-serve test accounts created by QA<br>WHERE is_test_account = FALSE</pre><p>Great (saves someone a day):</p><pre>-- We use LEFT JOIN to keep customers with $0 revenue for churn analysis<br>LEFT JOIN invoices i ON i.customer_id = c.customer_id</pre><h3>5) Be Explicit With Joins (and Default NULLs)</h3><p>Ambiguous joins create mystery bugs. Use <strong>explicit join types</strong> and <strong>predicate grouping</strong>.</p><pre>SELECT<br>    c.customer_id,<br>    COALESCE(SUM(i.total_amount), 0) AS revenue<br>FROM customers c<br>LEFT JOIN invoices i<br>    ON i.customer_id = c.customer_id<br>    AND i.status = &#39;paid&#39;  -- join-time filter, not WHERE<br>WHERE<br>    c.is_test_account = FALSE<br>GROUP BY<br>    c.customer_id;</pre><p>Note the filter on the <strong>JOIN</strong> instead of the <strong>WHERE</strong>. Filtering joined rows in WHERE after a LEFT JOIN can accidentally turn it into an inner join.</p><h3>6) Prefer CTEs Over Nested Subqueries (Within Reason)</h3><p>Common Table Expressions (CTEs) let you explain your logic in steps. Keep them short and named after <strong>what</strong> they produce.</p><pre>WITH<br>paid_invoices AS (<br>    -- paid invoice facts, no test accounts<br>    SELECT<br>        i.invoice_id,<br>        i.customer_id,<br>        i.total_amount,<br>        DATE_TRUNC(&#39;month&#39;, i.paid_at) AS paid_month<br>    FROM invoices i<br>    JOIN customers c ON c.customer_id = i.customer_id<br>    WHERE i.status = &#39;paid&#39;<br>      AND c.is_test_account = FALSE<br>),<br>monthly_revenue AS (<br>    SELECT<br>        customer_id,<br>        paid_month,<br>        SUM(total_amount) AS revenue<br>    FROM paid_invoices<br>    GROUP BY 1, 2<br>)<br>SELECT *<br>FROM monthly_revenue<br>ORDER BY paid_month, customer_id;</pre><p>Rule of thumb: if a subquery is longer than ~6–8 lines or used more than once, promote it to a CTE. If you stack 10 CTEs, ask whether a view or temp table would be clearer (and faster).</p><h3>7) Limit “Smart” Tricks in Production Queries</h3><p>Yes, you can do wild things with SQL. No, you shouldn’t cram them into your analytics layer unless the gain is obvious. Keep cleverness behind comments and tests.</p><p>Example: window functions are fantastic, just label them well.</p><pre>SELECT<br>    o.customer_id,<br>    o.order_id,<br>    o.order_date,<br>    SUM(o.total_amount) OVER (<br>        PARTITION BY o.customer_id<br>        ORDER BY o.order_date<br>        ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW<br>    ) AS customer_lifetime_spend<br>FROM orders o;</pre><p>Add a comment explaining why lifetime spend is needed and how it’s used.</p><h3>8) Guard Your Logic With Small, Friendly Checks</h3><p>Readable queries are safer when they’re <strong>obviously correct</strong>. Add tiny checks:</p><ul><li>Use COUNT(DISTINCT ...) to confirm key uniqueness.</li><li>LIMIT 50 sample outputs when exploring.</li><li>WHERE clauses that match business logic exactly (e.g., statuses, date windows).</li><li>COALESCE on numeric outputs to avoid surprise NULLs in downstream charts.</li></ul><pre>-- sanity: customer_id is unique in customers<br>SELECT customer_id, COUNT(*) <br>FROM customers <br>GROUP BY 1 <br>HAVING COUNT(*) &gt; 1;</pre><h3>9) Dates: Make Time Ranges Unambiguous</h3><p>Time filters are where bugs hide. Be explicit.</p><pre>-- Good: inclusive start, exclusive end<br>WHERE o.order_date &gt;= DATE &#39;2025-01-01&#39;<br>  AND o.order_date &lt;  DATE &#39;2026-01-01&#39;</pre><p>Use DATE_TRUNC for grouping and avoid mixing created_at with updated_at unless you mean to. If you need timezone awareness, document it.</p><h3>10) Prefer Views (or Models) for Reused Logic</h3><p>If a chunk of SQL is used in &gt;1 place, centralize it as a <strong>view</strong> or in your modeling tool (dbt, etc.). You gain:</p><ul><li>One source of truth</li><li>A clear contract (inputs/outputs)</li><li>A named, testable component</li></ul><p>Small guideline: Views that feed dashboards should <strong>only</strong> expose what’s needed — no mystery columns.</p><h3>11) Add a Tiny README for the Big Stuff</h3><p>When a query powers a critical metric or dashboard, write a 5-line README next to it (or atop the file):</p><pre>what: Monthly revenue per active customer<br>why: Finance KPI; ties to board reporting<br>how: Paid invoices only; excludes refunds/test accounts<br>owner: data-eng@company.com<br>tests: uniqueness on (customer_id, month), revenue &gt;= 0</pre><p>Now your query is a product, not a puzzle.</p><h3>12) A Before/After You Can Imitate</h3><p><strong>Before (works, unreadable):</strong></p><pre>select c.id, d as m, sum(tot) s<br>from o join c on o.cid=c.id<br>where st=&#39;completed&#39; and test=false<br>group by 1,2<br>order by 2,1;</pre><p><strong>After (same logic, human-friendly):</strong></p><pre>-- Monthly revenue per real customer from completed orders<br>SELECT<br>    c.customer_id,<br>    DATE_TRUNC(&#39;month&#39;, o.order_date) AS order_month,<br>    SUM(o.total_amount)               AS revenue<br>FROM orders o<br>JOIN customers c<br>    ON c.customer_id = o.customer_id<br>WHERE<br>    o.status = &#39;completed&#39;<br>    AND c.is_test_account = FALSE<br>GROUP BY<br>    c.customer_id,<br>    DATE_TRUNC(&#39;month&#39;, o.order_date)<br>ORDER BY<br>    order_month,<br>    c.customer_id;</pre><p>The second version is self-explanatory: you can spot the grain, the filters, and the business rules in 3 seconds.</p><h3>13) A Quick List You Can Paste in PRs</h3><ul><li>Clear one-line description (what/why)</li><li>Consistent casing/indentation</li><li>Explicit joins; join filters on the JOIN</li><li>Intentional NULL handling (COALESCE)</li><li>Unambiguous date window</li><li>Column/table aliases carry meaning</li><li>CTEs for multi-step logic, not nesting soup</li><li>Sanity checks run (uniqueness, ranges)</li><li>Reused logic extracted to a view/model</li><li>Owner + tests noted for critical queries</li></ul><h3>What to keep in mind</h3><p>Readable SQL isn’t about “pretty.” It’s about <strong>transparency</strong>: can someone else verify the logic, adjust a filter, or fix a bug without pinging you? If yes, you’ve done more than write a query — you’ve shipped a tiny, reliable data product.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdfa0668f9cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Code We Don’t See: Ride-Sharing Services]]></title>
            <link>https://medium.com/@jakemer10/the-code-we-dont-see-ride-sharing-services-998be96dc0d1?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/998be96dc0d1</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Mon, 11 Aug 2025 18:35:27 GMT</pubDate>
            <atom:updated>2025-08-11T18:35:27.981Z</atom:updated>
            <content:encoded><![CDATA[<p>In the final (for now?) (forever?), iteration of The Code We Don’t See, we’re going to explore on a generally high level how the inner workings of Ride-Sharing services like Uber and Lyft get you from point A to point B.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9uob64LrX6xiFnpaHerclA.png" /></figure><h3>The Brains Behind Your Ride</h3><p>Ever wonder what goes on <em>inside</em> the app after you hit “request”? It’s a lot more than just shouting “I need a ride!” to the nearest driver. Think of it as a brilliant, invisible mastermind working tirelessly to get you where you need to be.</p><p>At the heart of it all is the <strong>matching algorithm</strong>, but let’s call it what it really is: the ultimate digital matchmaker. Its goal isn’t just to find a driver for you, but to find the <em>best</em> driver for everyone, all at once.</p><p>First, it’s a genius at <strong>geospatial indexing</strong>. This is a fancy way of saying it knows exactly where every single car and every single passenger is at any given moment. The world isn’t just one big map to it; it’s a finely-tuned grid. When you hit “go,” the system doesn’t search the entire country; it instantly zeros in on your specific little box on the map to find nearby drivers.</p><p>Then comes the “I’m not in a hurry, I’m in a hurry” part, which is <strong>batching</strong>. Instead of immediately throwing a driver your way, the system takes a brief, one-second pause. Why? Because in that single second, it can see who else needs a ride nearby and what their destinations are. It can then make a smarter decision that benefits everyone, not just you. It might pair you with a driver who’s already heading in the same general direction as another passenger, which means less time waiting and more efficient trips for the entire neighborhood. It’s the ultimate “divide and conquer” strategy, but for cars.</p><p>And how does it do all this? <strong>Machine learning</strong>, of course. It’s constantly learning your habits. It knows that on Thursday mornings, you probably head to the gym, and on Friday nights, you’re likely going out for dinner. It uses this information to anticipate your needs and make even smarter, more efficient matches. It’s like having a mind-reader for your travel habits.</p><h3>Navigating the Maze</h3><p>The little car icon on your screen isn’t just moving on a static road. It’s navigating a living, breathing network of traffic.</p><p>The secret sauce here is <strong>crowdsourced data</strong>. Every single person with the app on their phone is an invisible reporter, sending back information about their speed and location. The system stitches all of this data together in real time to paint a picture of exactly where traffic is moving smoothly and where it’s jammed.</p><p>But the app isn’t just relying on its own people. It’s a data hoarder, pulling in information from <strong>third-party sources</strong> like government sensors and other mapping services. This means you’re getting the most complete and up-to-the-second traffic information available.</p><p>And here’s the cool part: the navigation isn’t a pre-set course. It’s <strong>dynamic routing</strong>. If a new route opens up that’s faster because of a sudden accident, your driver’s app will reroute them instantly. It’s like having a co-pilot who’s always checking for better ways to get around.</p><h3>The Price Is Right (or is it?)</h3><p>That price you see on your screen? It’s not arbitrary. It’s a carefully calculated tool used to keep the whole system running smoothly, especially during busy times.</p><p>The key is <strong>supply and demand models</strong>. The system is constantly counting. How many people need a ride right now? How many drivers are available? If more people need a ride than there are drivers, prices go up.</p><p>This isn’t about being sneaky. It’s about being smart. This <strong>predictive analytics</strong> anticipates where demand will spike — after a big concert, for example — and increases prices just enough to encourage more drivers to log on and head to that area.</p><p>The genius of <strong>real-time price adjustment</strong> is that it keeps the system in balance. A slightly higher price gets more cars on the road, which means you can still get a ride instead of being stranded. It’s a simple economic principle, but it’s what keeps the entire ride-sharing system from grinding to a halt.</p><h3>The Invisible Hand of Convenience</h3><p>So the next time you watch that little icon cruise toward you, take a moment to appreciate the incredible complexity happening behind the scenes. It’s more than just a car and a driver; it’s a living network of algorithms, data, and intelligent systems working together to solve a real-world problem. This silent orchestration is the true magic of ride-sharing. It’s technology at its best — not calling attention to itself, but simply making a complicated process feel effortless, allowing us to focus on what matters: getting to our destination safely, efficiently, and with a minimum of fuss.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=998be96dc0d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Code We Don’t See: Is Netflix a Mindreader?]]></title>
            <link>https://medium.com/@jakemer10/the-code-we-dont-see-is-netflix-a-mindreader-26f4edc94ede?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/26f4edc94ede</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 16:55:53 GMT</pubDate>
            <atom:updated>2025-07-30T17:01:30.385Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Code We Don’t See: Is Netflix a Mindreader? How Algorithms Know What You’ll Watch Next (and How They Get It Wrong)</h3><p>In the second installment of “The Code We Don’t See”, which explores how technology and code play roles behind our everyday life we’ll be looking at the art of prediction, something we ever-increasingly encounter on a daily basis. If you’d like to read this series in order, <a href="https://medium.com/@jakemer10/the-code-we-dont-see-nature-programmed-to-save-our-wildlife-d6ae07bab3f3">check out my first post about The Code We Don’t See in wildlife conservation here.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/0*9uDonU4lrdF8H-6A.png" /><figcaption>A Netflix Suggestion Screenshot: Netflix says 80 percent of watched content is based on algorithmic recommendations.</figcaption></figure><p>Ever found yourself lost in the endless scroll of Netflix or YouTube, only for a recommendation to pop up that feels <em>uncannily</em> perfect? It’s like the platform somehow peered directly into your mind, knowing exactly what you were in the mood for. That feeling, while magical, isn’t actually magic at all. It’s the result of <strong>complex algorithms</strong> tirelessly working behind the scenes, an invisible hand subtly guiding your digital entertainment choices.</p><p>These “Suggested For You” sections, “Recommended Videos,” “Products You Might Like,” or “Because You Watched…” carousels are all powered by something called a <strong>recommender system</strong>. Their main mission is straightforward: to figure out what content or product you’re most likely to enjoy and, crucially, to keep you engaged. But the way they pull this off involves a fascinating blend of data science, machine learning, and a relentless cycle of learning and refinement.</p><p>At their core, most recommender systems typically lean on two main strategies (often blended together): <strong>collaborative filtering</strong> and <strong>content-based filtering.</strong></p><h3>Collaborative Filtering: The Wisdom of the Crowds</h3><p>Imagine you’re seeking movie recommendations and decide to ask a few friends who share your taste. Collaborative filtering operates on a surprisingly similar principle. It dives into the behavior of a vast number of users, searching for patterns of shared preferences.</p><p>Think of it like this: if you and another user have consistently watched and enjoyed many of the same movies, the algorithm makes an educated guess that your tastes might align on other films too. So, if your digital twin just binged a new sci-fi thriller and raved about it, the system might toss that suggestion your way, even if you’ve never explicitly shown interest in that particular genre before.</p><p>This approach primarily relies on <strong>user-item interactions</strong>. It doesn’t need to understand anything specific <em>about</em> the content itself — no genre labels, actor lists, or plot summaries required. It simply observes collective user behavior: what they’ve watched, liked, rated, skipped, purchased, clicked, or even what they’ve <em>ignored</em>. This allows it to surface unexpected recommendations, leading you to content or products you might never have stumbled upon otherwise. It’s incredibly powerful for discovering items outside your usual “bubble.”</p><p>However, collaborative filtering isn’t without its hurdles. The <strong>“cold start” problem</strong>, for instance, crops up when a brand-new user or a fresh piece of content has minimal interaction data, making accurate recommendations a tough nut to crack. Imagine trying to recommend a movie to someone who’s only watched one film on the platform, or trying to recommend a new product that no one has bought yet. Additionally, if your tastes are particularly niche or unique, the “wisdom of the crowds” might not always perfectly align with your individual preferences, potentially leading to less relevant suggestions. Furthermore, scaling collaborative filtering for platforms with millions of users and items presents significant computational challenges.</p><h3>Content-Based Filtering: Matching What You Already Love</h3><p>Content-based filtering takes a different path. Instead of focusing on other users, it zeroes in on the specific characteristics of the content or products you’ve already enjoyed.</p><p>Let’s say you’re constantly reading news articles about artificial intelligence. A content-based system would meticulously analyze the <strong>metadata</strong> of those articles — keywords, topics, authors, publication sources, and even the sentiment of the text. It would then seek out other articles sharing similar traits. So, prepare to see suggestions for more news on AI breakthroughs, ethical discussions in technology, or perhaps interviews with leading AI researchers. Similarly, an e-commerce site might recommend a handbag to you based on the brand, material, and style of shoes you previously purchased.</p><p>This method excels at recommending content that falls squarely within your established interests and can even bypass the “cold start” problem for new content, provided its characteristics are clearly defined. Since it doesn’t rely on other users’ behavior, it’s particularly good for niche tastes. The downside? It can sometimes lead to a <strong>“filter bubble”</strong> or <strong>“echo chamber,”</strong> where you’re predominantly shown content that’s very similar to what you’ve already consumed. This can limit your exposure to new and diverse ideas, potentially reinforcing existing biases and even hindering intellectual growth by not challenging your perspectives.</p><h3>Hybrid Approaches &amp; Constant Learning Behind the Scenes</h3><p>In reality, most modern platforms employ <strong>hybrid recommender systems</strong> that strategically combine the strengths of both collaborative and content-based filtering. This hybridity often leads to more robust and accurate recommendations, mitigating the weaknesses of any single approach. For instance, a hybrid system can provide initial recommendations for a new user (a “cold start” scenario for collaborative filtering) by analyzing their first few likes or profile preferences using content-based methods. As the user interacts more, collaborative filtering kicks in, refining those suggestions based on the behavior of similar users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*2G0gqjRVM6q7dVJksf-y_g.png" /></figure><p>Beyond this blend, these algorithms are never static. They are engaged in a <strong>constant feedback loop</strong>, tirelessly learning and adapting based on your ongoing interactions. Every click, every watch duration, every skip, every purchase, every search query, and even the time of day you engage, provides more data points that refine the system’s understanding of your preferences. This isn’t just about explicit “likes” or “dislikes” — the subtle <strong>implicit feedback</strong> (like abandoning a movie halfway or repeatedly watching a particular song) is often far more telling and valuable. Platforms constantly run A/B tests and experiments, subtly tweaking algorithms in real-time to see what generates more engagement, satisfaction, and relevance for different user segments.</p><h3>The Human Element (and When It Goes Wrong)</h3><p>While these algorithms are incredibly powerful, they are not infallible. You’ve likely experienced recommendations that made you scratch your head — a horror movie suggestion after a week of watching comedies, a specific product appearing repeatedly even after you’ve already bought it, or an article recommendation that feels completely out of left field for your current interests.</p><p>These mismatches can happen for various reasons:</p><ul><li><strong>Data Sparsity:</strong> Simply not enough information about you or the new content/product.</li><li><strong>Contextual Blind Spots:</strong> The algorithm might miss nuances in <em>why</em> you consumed something (e.g., watching a kids’ movie with your niece, not for your own entertainment).</li><li><strong>Evolving Tastes:</strong> Your preferences aren’t fixed; algorithms, while learning, can sometimes lag behind your personal evolution.</li><li><strong>Algorithmic Bias:</strong> If the training data contains historical biases (e.g., reflecting societal stereotypes in job recommendations, or favoring popular content that perpetuates existing trends), the recommendations might inadvertently reflect and even amplify those biases.</li><li><strong>The Exploration-Exploitation Dilemma:</strong> Recommender systems constantly balance <em>exploiting</em> your known preferences (showing you more of what you already like) with <em>exploring</em> new content that you might enjoy but haven’t encountered yet. Getting this balance wrong can lead to either a stale experience or irrelevant suggestions.</li></ul><p>Moreover, the design of these algorithms also raises profound ethical questions. The creation of <strong>filter bubbles</strong> and <strong>echo chambers</strong> means users are primarily exposed to information that confirms their existing beliefs, potentially limiting diverse perspectives and fostering societal division. Concerns about data privacy, user autonomy, and the potential for these systems to subtly manipulate consumer choices or even political opinions are increasingly part of the conversation. Understanding how these systems work is crucial for both users and developers to navigate these complexities responsibly.</p><p>So, the next time you find yourself clicking on a surprisingly relevant suggestion, whether it’s a new show on Netflix, a product on Amazon, or a news article in your feed, take a moment to appreciate the intricate dance of data and algorithms happening behind the screen. It’s a testament to the power of code to shape our daily experiences, even in something as seemingly simple as choosing what to watch, buy, or read next. And while they might not always get it right, the ever-evolving world of recommender systems continues to strive towards that elusive goal: perfectly predicting what will capture your attention in the truly vast ocean of digital content.</p><p><strong>Side note:</strong> <em>As I researched for this post, I kept wanting to delve into Spotify’s algorithm and how this can transfer to auditory suggestions in “For You” style playlists, etc. So for Part Three (2b?) (Part 2 of Part Two?), please stay tuned!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26f4edc94ede" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Code We Don’t See: Nature Programmed to Save Our Wildlife]]></title>
            <link>https://medium.com/@jakemer10/the-code-we-dont-see-nature-programmed-to-save-our-wildlife-d6ae07bab3f3?source=rss-41c26ebc1e3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6ae07bab3f3</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[nature]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[conservation]]></category>
            <dc:creator><![CDATA[Jake Merten]]></dc:creator>
            <pubDate>Sat, 14 Jun 2025 23:05:16 GMT</pubDate>
            <atom:updated>2025-06-14T23:05:16.333Z</atom:updated>
            <content:encoded><![CDATA[<p>The other day, I was sitting at a stoplight for a solid three minutes with maybe one or two cars going through the green light. I thought to myself, “couldn’t someone program these lights more efficiently so people don’t find themselves in the automobile version of a broken elevator”?</p><p>As any sane person would do, I went on a wikipedia deep dive on this exact matter as soon as I got home until some ungodly hour that I don’t care to disclose. That being said, I know that there are a countless situations in everyday life where technology is playing an essential role behind the scenes, a la traffic lights. I am going to explore some of these scenarios in a series I’m calling “The Code We Don’t See”. First up, as is expected from a former environmental scientist turned software developer, we are going to explore the intersect of technology and wildlife conservation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ADsN_Qw2ntHD0fMf.jpg" /></figure><p>When we picture wildlife conservation, we often conjure images of dedicated rangers tracking footprints through the savanna or biologists patiently observing animals from a hidden blind. It’s a rugged, analog image. But today, one of the most powerful tools in the conservationist’s kit isn’t a pair of binoculars; it’s a suite of algorithms running on a server thousands of miles away.</p><p>Silently, in the background of global preservation efforts, a digital revolution is underway. The fight to save endangered species is becoming as much about computational logic as it is about boots on the ground. This isn’t just a matter of using computers for data entry; it involves a deep, intricate fusion of ecological science and sophisticated software engineering. This is the story of the code we don’t see: the digital scaffolding helping us protect the planet’s most vulnerable creatures.</p><p>At the forefront of this shift is the solution to a massive data problem: the camera trap. Researchers deploy thousands of these motion-activated cameras across remote landscapes, gathering millions of images. For years, the bottleneck was human. Sifting through this data to find a single image of a rare Amur leopard among tens of thousands of false triggers from swaying branches was a Herculean task.</p><p>The solution came from a specific branch of artificial intelligence: Convolutional Neural Networks (CNNs). A CNN is a type of deep learning model, built using frameworks like Google’s TensorFlow or Meta’s PyTorch, that is designed to mimic the human visual cortex. To make it work, biologists first manually label tens of thousands of images, training the network to recognize the difference between a jaguar, a tapir, and a fallen leaf. The CNN processes these images in layers. The initial layers learn to recognize simple features like edges and colors. Deeper layers combine these to identify more complex patterns like the texture of fur, the curve of a horn, or the shape of a snout.</p><p>Once trained, this model can be deployed as an “inference engine.” It can analyze a new, unseen image in milliseconds and output a species identification with a confidence score: “98% probability this is a snow leopard.” Platforms like Wildlife Insights now use these models to automate the analysis of data from across the globe, freeing up thousands of expert-hours and enabling near-real-time population monitoring.</p><p>Beyond sight, code is also revolutionizing how we listen. The dense canopies of the Amazon or the depths of the ocean are acoustically rich but visually impenetrable. To monitor the health of these ecosystems, scientists deploy arrays of autonomous recorders, like the open-source AudioMoth. These devices capture the entire “soundscape,” a complex cacophony of noise.</p><p>The challenge is to find the signal within that noise. The raw audio, a simple soundwave, is first processed using a Fast Fourier Transform (FFT). This fundamental algorithm deconstructs the complex wave into its constituent frequencies and plots them against time, creating a spectrogram, or a visual fingerprint of the sound.</p><p>At this point, the audio problem becomes an image recognition problem. Just as they do with camera trap images, CNNs are trained on these spectrograms. They learn the unique visual shape of a specific bird’s call or a primate’s hoot, allowing them to detect the presence of a target species with astonishing accuracy, even when it’s buried in a chorus of other sounds. This non-invasive, bioacoustic monitoring allows scientists to track biodiversity and population density over vast timescales without ever disturbing the animals.</p><p>But identifying animals is only half the battle; protecting them requires proactive intervention. This is where a third layer of code comes in: the software of predictive protection. Tools like SMART (Spatial Monitoring and Reporting Tool) are becoming the central nervous system for anti-poaching patrols. This isn’t just a simple mapping program; it’s a powerful data fusion platform.</p><p>The software uses GIS (Geographic Information System) algorithms to overlay dozens of data layers: GPS tracks from ranger patrols, real-time animal sightings from AI-powered cameras, historical locations of snares and traps, and topographical data like rivers and roads. The code then runs predictive analytics, using historical data to forecast poaching “hotspots” in the same way police departments forecast crime. This allows conservation managers to optimize patrol routes, sending rangers to the right place at the right time for maximum deterrence.</p><p>From the neural networks classifying images to the Fourier transforms decoding the sounds of the jungle, code is creating a new, dynamic model for conservation. The biologist in the Amazon and the developer in the US are now indispensable partners. This digital nervous system, working silently in the background, represents one of our best hopes for understanding and preserving the planet’s biodiversity in an age of unprecedented environmental pressure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6ae07bab3f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>