<?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 Pradhan Prakash on Medium]]></title>
        <description><![CDATA[Stories by Pradhan Prakash on Medium]]></description>
        <link>https://medium.com/@pradhanprakash?source=rss-7a694b40ae53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uJ7KQrnr_OviG4zs6k35Qw.png</url>
            <title>Stories by Pradhan Prakash on Medium</title>
            <link>https://medium.com/@pradhanprakash?source=rss-7a694b40ae53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:09:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pradhanprakash/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[Taxonomy, Ontology, Knowledge Graph, Graph RAG: The AI Buzzwords Everyone Nods At]]></title>
            <link>https://ai.plainenglish.io/taxonomy-ontology-knowledge-graph-graph-rag-the-ai-buzzwords-everyone-nods-at-e59fc677f07d?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/e59fc677f07d</guid>
            <category><![CDATA[graphrag]]></category>
            <category><![CDATA[ontology]]></category>
            <category><![CDATA[taxonomy]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 22:41:56 GMT</pubDate>
            <atom:updated>2026-11-21T22:41:56.272Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Four buzzwords, one grocery store, zero jargon. Here’s how AI goes from guessing to actually knowing.</em></p><p>If you’ve sat in a meeting about AI lately, you’ve heard “taxonomy,” “ontology,” “knowledge graph” and “Graph RAG” tossed around like they mean the same thing. They don’t. Mixing them up is one of the quiet reasons AI projects stall before they ever launch.</p><h3>The problem: a warehouse full of shredded paper</h3><p>Picture a giant warehouse. No shelves. No catalog. Just millions of loose, shredded pages piled on the floor. That’s what most company data looks like.</p><p>Point a standard LLM at that pile and it behaves like a super-fast reader with zero comprehension. It notices which words tend to appear together, but it doesn’t understand how ideas actually relate.</p><p>The fix comes in layers. Taxonomies and ontologies are the <strong>blueprints</strong>. The knowledge graph is the <strong>building</strong> made from them. Graph RAG is how AI finally walks through the front door. We’ll use one example the whole way: an online grocery store.</p><h3>Floor 1: Taxonomy — the folders</h3><p>Shop for groceries online and you click Food → Fruit → Apple. That’s a <strong>taxonomy</strong>: things sorted into boxes inside bigger boxes, like folders on your laptop.</p><p>Its quiet superpower is getting everyone to use the same words. Without one, the produce team says “Fuji,” marketing says “red fruit” and the website says “apple.” Reports don’t match and nobody can find anything. A taxonomy settles it: one official name, one official home.</p><p>The catch? A taxonomy knows the apple lives in the fruit folder. It has no idea what a fruit <em>is</em>, or what anyone does with one.</p><h3>Floor 2: Ontology — the grammar</h3><p>If a taxonomy gives you the nouns, an <strong>ontology</strong> gives you the verbs and the grammar rules. It spells out how things are allowed to relate:</p><ul><li>A customer <em>places</em> an order.</li><li>An order <em>contains</em> products.</li><li>A product <em>may contain</em> an allergen.</li></ul><p>It doesn’t list every customer or order. It’s the rulebook, not the game.</p><p>You’ve benefited from ontologies without knowing it. Schema.org is why Google can show a recipe’s cooking time and calories right in your search results. Banks share one called FIBO so a “loan” means the same thing in New York and Frankfurt. Hospitals use SNOMED CT so a diagnosis reads the same way in every patient record.</p><p>The downside: older ontology tools store every fact as its own tiny three-part sentence (“apple — is a — fruit”). With hundreds of thousands of products, that’s millions of sentences, and answers slow to a crawl.</p><h3>Floor 3: Knowledge graph — the road map</h3><p>A <strong>knowledge graph</strong> takes the blueprints and builds something you can actually travel. Think of a road map:</p><ul><li><strong>Nodes</strong> are the cities: a customer, a product, a supplier.</li><li><strong>Relationships</strong> are the highways between them: purchased, returned, supplied by.</li><li><strong>Properties</strong> are the details on the signposts: a product’s price or weight, the date of a purchase.</li></ul><p>The taxonomy and ontology sit on top like traffic laws, keeping everything consistent.</p><p>Here’s why it’s fast. A traditional database keeps customers, orders and products in separate tables and has to match them up every time you ask a question, like cross-referencing three phone books by hand. A knowledge graph stores the connections themselves. The roads are already paved, so questions come back in a fraction of a second.</p><p>You already use one: search a celebrity’s name and a card pops up with their age, spouse and movies. That’s a knowledge graph at work.</p><h3>Floor 4: Graph RAG — the AI that follows the roads</h3><p>Chatbots are brilliant talkers, but they sometimes make things up. A popular fix is <strong>RAG</strong> (retrieval-augmented generation): let the AI look things up before it answers.</p><p>Standard RAG chops documents into small chunks and grabs the ones that sound most like your question. It’s quick, but the chunks are disconnected, so the bigger picture often gets lost.</p><p><strong>Graph RAG</strong> looks things up in a knowledge graph instead. It hops from one fact to the next, the way you’d follow roads on a map.</p><p>Imagine a supplier warns that a batch of batteries is defective. Someone asks, <em>“What’s the impact?”</em> A Graph RAG assistant traces it:</p><ol><li>Start at the defective battery.</li><li>Hop to its product category and its supplier.</li><li>Follow the purchase orders that included it.</li><li>Land on the customer support tickets already coming in.</li></ol><p>The AI writes its answer from that trail. Every step follows a real road, so you can check exactly how it got there. That’s an auditable answer, not a confident guess.</p><h3>Putting the floors together</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l22hbPkWnxw2e5cAqlaWzg.png" /><figcaption>Knowledge Floors</figcaption></figure><p>Skip a floor and the building wobbles. Sloppy names lead to messy connections, and messy connections send the AI down the wrong road.</p><h3>The takeaway</h3><ul><li><strong>Taxonomy:</strong> what is it called, and where does it belong?</li><li><strong>Ontology:</strong> how are things allowed to relate?</li><li><strong>Knowledge graph:</strong> what’s actually connected to what?</li><li><strong>Graph RAG:</strong> let the AI walk those connections before it answers.</li></ul><p>One last thought worth keeping: an AI can only reason within the rules people design for it. If the people writing the ontology have blind spots or biases, the AI inherits them. Even the smartest AI depends on thoughtful humans drawing the map.</p><p><em>Based on the DataMuscle video </em><a href="https://www.youtube.com/watch?v=1oyvw3300qE"><em>Taxonomy vs Ontology vs Knowledge Graphs</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e59fc677f07d" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/taxonomy-ontology-knowledge-graph-graph-rag-the-ai-buzzwords-everyone-nods-at-e59fc677f07d">Taxonomy, Ontology, Knowledge Graph, Graph RAG: The AI Buzzwords Everyone Nods At</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Code Mode Fixes MCP’s Biggest Bottleneck]]></title>
            <link>https://ai.plainenglish.io/how-code-mode-fixes-mcps-biggest-bottleneck-e1717072995e?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1717072995e</guid>
            <category><![CDATA[code-mode]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[cloudflare]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 17:42:51 GMT</pubDate>
            <atom:updated>2026-11-13T17:42:51.008Z</atom:updated>
            <content:encoded><![CDATA[<p><em>MCP gave AI agents a universal plug. Code Mode teaches them how to stop clicking buttons one by one and start acting like real engineers.</em></p><p>If you’ve spent any time building AI agents lately, you’ve almost certainly run into the <strong>Model Context Protocol (MCP)</strong>.</p><p>When it launched, MCP felt like a breath of fresh air. Before it existed, connecting an LLM to external tools meant writing painful, custom glue code for every single combination of AI client and API. MCP standardized that handshake. You spin up an MCP server, and suddenly Claude, Cursor, or your own agent knows how to talk to your database, your GitHub repos, or your Slack workspace.</p><p>It works like magic when you give an agent five or ten tools.</p><p>Then people started connecting MCP to massive, real-world enterprise APIs — 2,500+ endpoints — and things started to fall apart. Context windows blew up. Latency crawled. And, to mention Token bills skyrocketed. That’s why engineers at Cloudflare and across the AI space have started pushing a different pattern: <strong>Code Mode</strong>.</p><p>If you’ve heard the buzz around Code Mode and wondered whether it replaces MCP, the short answer is no. They aren’t competitors. <strong>Code Mode is just a much smarter way to use MCP.</strong></p><p><strong>Where Traditional MCP Hits a Wall</strong></p><p>This is a classic N+1 Query problem of Tool Calling. As backend and data engineers, we know what happens when an application makes hundreds of sequential network calls instead of batching or filtering at the source. Traditional MCP forces LLMs into that exact anti-pattern.</p><p>In a standard MCP setup, the server hands the model a massive JSON schema describing every single available tool (list_records, get_metadata, update_config, and hundreds more). When you scale that up, three major bottlenecks hit your system:</p><ul><li><strong>You burn your context window before saying “Hello.”</strong> Every tool name, parameter, and description eats up tokens. Loading a sprawling API spec into an agent’s context can easily burn over a million tokens before the user even asks a question.</li><li><strong>The “Ping-Pong” Latency Trap.</strong> Standard tool calling is strictly one step at a time. Imagine asking an agent to find 50 DNS records pointing to an old IP address and update them. In traditional MCP, the model calls list_records(), dumps thousands of lines of raw JSON into its context window, &quot;reads&quot; all of it, and then fires off 50 separate update_record() calls one by one. It is slow, clunky, and wildly expensive.</li><li><strong>LLMs are better at writing code than juggling JSON.</strong> Frontier models have been trained on billions of lines of real-world TypeScript and Python. Asking an LLM to orchestrate a complex workflow through abstract JSON tool schemas is like asking a senior engineer to code with mittens on. Give them a for loop and an if statement, and they thrive.</li></ul><p><strong>Enter Code Mode</strong></p><p>Code Mode keeps MCP for discovery and authentication, but changes <em>how</em> the model interacts with the underlying system.</p><p>Instead of exposing 2,500 individual endpoints as separate tools, a Code Mode MCP server exposes just <strong>two</strong>:</p><ol><li>search() — Lets the agent query the OpenAPI spec or SDK types on demand to find the exact signatures it needs.</li><li>execute() — Gives the agent an isolated runtime to execute a compact JavaScript or TypeScript script.</li></ol><p>Instead of playing network ping-pong, the agent writes a small script that handles the loops, joins, and filtering natively inside a sandbox, returning only the final aggregated result to the LLM.</p><p><strong>How they compare Under the Hood</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2kxkAE0yPqT1QpOAfteFw.jpeg" /><figcaption>MCP with Code Mode</figcaption></figure><p><strong>Why This Changes Everything for Builders</strong></p><p><em>1. A 99% reduction in schema overhead</em><br>By replacing static tool catalogs with dynamic search() and execute() primitives, Cloudflare compressed the footprint of its entire API surface from <strong>over 1.1 million tokens down to roughly 1,000 tokens</strong>. You eliminate massive prompt overhead and stay well within fast, predictable latency bounds.</p><p><em>2. Push-down predicate filtering for agents</em><br>In data engineering, you always push filters as close to the storage layer as possible instead of pulling whole tables over the wire. Code Mode applies that exact same principle to AI agents. Filtering, mapping, and joining happen inside the execution sandbox — not inside the model’s context window.</p><p><em>3. Ephemeral, zero-trust sandboxing</em><br>Executing LLM-generated code in production requires strict isolation. Heavy Docker containers add too much cold-start latency for interactive tool calls. Cloudflare solves this using <strong>V8 isolates</strong> — the same lightweight sandboxing engine behind Cloudflare Workers. Each script spins up in milliseconds with zero access to the host filesystem, environment variables, or arbitrary network sockets, and tears down the instant the function returns.</p><p><strong>Do You Always Need Code Mode?</strong></p><p>Not necessarily. Like most things in data engineering, it comes down to trade-offs.</p><ul><li><strong>Stick with Traditional MCP</strong> when your agent only needs a handful of deterministic, single-step CRUD actions — like posting a deployment alert to Slack or fetching a single row by primary key. It is simple, auditable, and requires zero sandbox infrastructure.</li><li><strong>Adopt Code Mode</strong> when you are exposing large API surfaces, orchestrating multi-step pipelines, or joining data across multiple endpoints where serial round-trips and context bloat will kill your latency and budget.</li></ul><p>To wrap up, MCP gave AI agents a universal way to connect to our infrastructure. Code Mode finally lets them interact with those systems the way a real backend engineer would: by pushing compute down to the runtime and keeping the control plane lean.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1717072995e" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/how-code-mode-fixes-mcps-biggest-bottleneck-e1717072995e">How Code Mode Fixes MCP’s Biggest Bottleneck</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inside the Machine: How a GPU actually runs LLM]]></title>
            <link>https://pradhanprakash.medium.com/inside-the-machine-how-a-gpu-actually-runs-llm-e9a9d7e9c82a?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9a9d7e9c82a</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[nvidia-gpu]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 18:09:11 GMT</pubDate>
            <atom:updated>2026-11-06T18:09:11.665Z</atom:updated>
            <content:encoded><![CDATA[<p><em>You hit Enter. A blink later, words start pouring out. In between, thousands of tiny processors went to work. Here’s what they actually did.</em></p><h3>Why not just use a CPU?</h3><p>An LLM is basically a huge pile of numbers plus a recipe for multiplying them. To write one word, the model multiplies your prompt against billions of learned weights. Then it does it all again for the next word.</p><p>A CPU is a few brilliant generalists. A GPU is a stadium full of people who can each do simple math, all at the same time. LLM math is simple math repeated billions of times. Guess which one wins.</p><h3>The whole chip in one picture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i93tSQoJ3PfalU-FiQhztg.jpeg" /><figcaption>GPU’s Anatomy</figcaption></figure><p>ByteByteGo’s diagram, “How GPUs Work at a High Level,” splits a GPU into two halves. On top is <strong>compute</strong>: a row of identical Streaming Multiprocessors (SMs). At the bottom is <strong>memory</strong>: a ladder from the L2 cache down to the big pool of High Bandwidth Memory (HBM). Hold onto that split. It explains almost everything.</p><p>The weights live at the bottom. The math happens at the top. Every token is a race up that ladder.</p><h3>It’s all matrix multiplication</h3><p>Strip away the hype and a transformer does one thing over and over:</p><p>Prediction = Tokens × Weights.</p><p>The magic detail? Every number in Prediction can be computed on its own, with no waiting on its neighbors. That is exactly the kind of work a GPU eats for breakfast.</p><h3>Who does the work</h3><p><strong>SMs are the factory floors.</strong> A data-center GPU like NVIDIA’s H100 has more than a hundred of them. Software chops each matrix multiply into tiles and hands a tile to each SM.</p><p><strong>Warps are the crews.</strong> Inside an SM, threads move in squads of 32 called warps. All 32 run the same instruction on different numbers. The four warp schedulers are the supervisors: when one crew is stuck waiting for data, they swap in another instantly. Zero downtime.</p><p><strong>Registers are the workbench.</strong> The fastest memory on the chip, holding each thread’s running totals.</p><p><strong>Tensor Cores are the power tools.</strong> The diagram shows CUDA cores, which handle simple jobs like activations and softmax. But modern LLMs lean on Tensor Cores, which multiply whole small matrices in one shot using low-precision formats like FP16 and FP8. They do the heavy lifting.</p><h3>The plot twist: the cores are bored</h3><p>Here’s what surprises most people including myself. A modern GPU can do math far faster than it can fetch the numbers. The cores spend a lot of their time waiting and waiting.</p><p>Look at the ladder again. HBM at the bottom is huge (80 GB or more) but far from the cores. A 70-billion-parameter model needs about 140 GB just for its weights, so it doesn’t even fit on one card. Each step up, from L2 to shared memory to registers, is smaller and faster. Good GPU code grabs a tile of weights once, parks it in shared memory, and reuses it as many times as it can.</p><h3>Two phases, two personalities</h3><p><strong>Prefill: </strong>Reading your prompt<strong>.</strong> The model processes all your prompt’s tokens at once. Every weight it fetches gets reused across hundreds or thousands of tokens, so the cores stay busy. This phase is <em>compute bound</em>, and it sets your time to first token.</p><p><strong>Decode: </strong>Writing the answer<strong>.</strong> Now it’s one token at a time. For each word, the GPU reads every weight plus the KV cache (the stored keys and values for everything said so far), does a tiny bit of math, and repeats. This phase is <em>memory bound</em>.</p><p><strong>Quick math</strong>: stream 140 GB of weights at roughly 3 TB per second and you spend about 47 milliseconds per token. That caps a single request near 20 tokens a second. It’s why memory bandwidth is the headline spec on AI chips.</p><h3>The tricks that make it fast</h3><p>Once you know the real enemy is data movement, the famous optimizations click into place:</p><ul><li><strong>Batching:</strong> if you’re fetching a weight anyway, use it for 64 users, not one.</li><li><strong>FlashAttention:</strong> keeps attention’s working data in shared memory instead of bouncing it out to HBM.</li><li><strong>Quantization:</strong> store weights in 8 or 4 bits. Fewer bytes to move means faster tokens.</li><li><strong>Kernel fusion:</strong> run several small steps back to back while the data is still in registers.</li><li><strong>Multi-GPU:</strong> split giant models across cards linked by NVLink.</li></ul><h3>The takeaway</h3><p>A GPU runs an LLM by breaking one massive problem into thousands of tiny identical ones, then fighting to keep data close to the math. Prefill is a sprint for the cores. Decode is a delivery problem for memory.</p><p>So next time an answer streams onto your screen word by word, picture it: an army of warps across a hundred-plus SMs, ready to work, waiting on the next truck from HBM.</p><p><em>Diagram reference: “How GPUs Work at a High Level” by ByteByteGo. Hardware figures are approximate, based on recent NVIDIA data-center GPUs.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9a9d7e9c82a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Not to Waste Your Ad Budget]]></title>
            <link>https://pradhanprakash.medium.com/how-not-to-waste-your-ad-budget-lessons-jim-surmanek-a-media-guru-3006a6a2c377?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/3006a6a2c377</guid>
            <category><![CDATA[media-planning-and-buying]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 01:15:40 GMT</pubDate>
            <atom:updated>2026-10-22T01:16:28.561Z</atom:updated>
            <content:encoded><![CDATA[<h3>A quick-start guide to the fundamentals of modern media strategy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fin7wdnA27tySQkYUWuvnQ.jpeg" /></figure><p>Having worked in the Ad-Tech space, I’ve always been fascinated by the sheer complexity of how ads get bought, delivered, and measured. Coming from the tech side, it was intriguing to peek behind the curtain and understand the actual business mechanics — how brands decide where to put their dollars and why.</p><p>If you’ve ever sat down to plan an ad campaign, you know the feeling. You’re staring at spreadsheets, impression targets, and pitch decks, trying to answer one deceptively simple question: <strong>How do we get our message in front of the right people without setting a pile of money on fire?</strong></p><p>It’s easy to feel like media buying is equal parts black magic and wild guessing. But decades ago, advertising veteran Jim Surmanek wrote <em>Media Planning: A Practical Guide</em> to prove it doesn’t have to be. Surmanek took a chaotic, fast-moving industry and broke it down into something grounded, methodical, and surprisingly human.</p><p>Whether you’re running meta ads for a local startup or managing a multi-channel corporate budget, here is what Surmanek teaches us about making media work.</p><h3>The Core Math</h3><p>Before you buy a single ad, you need to know what you’re actually paying for. Media departments love throw-around acronyms, but Surmanek distills the math to three basic levers:</p><ul><li><strong>Reach is your breadth:</strong> What percentage of your target audience sees your ad at least once?</li><li><strong>Frequency is your depth:</strong> How many times, on average, does that same person see it?</li><li><strong>Gross Rating Points (GRPs) are your total volume:</strong> Multiply reach by frequency, and you get your total weight in the market</li></ul><pre>GRPs = Reach * Frequency</pre><p>The real challenge isn’t calculating these numbers — it’s deciding which one matters more for your specific goal. If you’re launching a brand new product, you usually need broad <strong>reach</strong> to build awareness. If you’re trying to drive action for a complex offer or change someone’s mind, you need <strong>frequency</strong> because nobody acts on a single glance.</p><h3>Comparing Apples to Oranges</h3><p>How do you compare a billboard on a busy highway to a sponsored podcast read or a targeted social ad? Planners rely on <strong>CPM (Cost Per Thousand)</strong> — the price tag to deliver 1,000 impressions. It’s the ultimate equalizer. By looking at cost per thousand impressions rather than raw invoice prices, you can instantly see which channel gives you the most mileage for your dollar.</p><h3>How a Strategic Media Plan Actually Comes Together</h3><p>A solid media plan isn’t a laundry list of platforms you personally like using. It’s a chain of intentional choices where every step constrains the next.</p><pre>Define Boundaries ──&gt; Select Channels ──&gt; Time the Rhythm ──&gt; Audit the Results</pre><h3>1. Define your boundaries first</h3><p>Before looking at rates, answer the hard questions. Who <em>specifically</em> are you trying to talk to? Where do they live? When are they in a buying mindset? If you skip this, you end up paying to reach millions of people who will never buy from you.</p><h3>2. Choose channels based on trade-offs</h3><p>There is no such thing as a perfect advertising medium. Mass channels (like television or broad digital networks) build reach fast, but they come with heavy spillover — meaning you pay for eyeballs you don’t want. Niche channels cost more per person, but every single impression lands on a warm lead. Every channel choice is a compromise between scale and precision.</p><h3>3. Match your timing to real life</h3><p>How you schedule your budget over time is just as crucial as where you spend it. Surmanek breaks scheduling into three main rhythms:</p><ul><li><strong>Continuous:</strong> A steady, quiet presence month in and month out. Perfect for everyday products like toothpaste or coffee.</li><li><strong>Flighting:</strong> Heavy bursts of ads followed by dark periods. Essential for seasonal products with tight windows (like tax software or lawn care).</li><li><strong>Pulsing:</strong> A low, ongoing baseline of ads with big spikes around sales or product drops.</li></ul><h3>4. Audit everything post-buy</h3><p>The plan doesn’t end when the credit card clears. Media outlets make mistakes. Impressions drop off, spots get aired at 3:00 AM instead of prime time, or targeting glitches happen. Good media planners spend a huge chunk of their time auditing post-campaign performance to make sure vendors deliver every single impression they promised.</p><h3>Three Principles to Keep You Grounded</h3><p>Surmanek’s book is packed with formulas, but his best advice is qualitative:</p><ol><li><strong>“Numbers don’t think — people do.”</strong> Data, algorithms, and low CPMs are helpful tools, but they don’t buy products. Human beings do. If an ad feels misplaced or annoying to a reader, low CPMs won’t save it.</li><li><strong>Treat media as capital, not an expense.</strong> When you view an ad budget as money to spend, you look for ways to clear it. When you view it as strategic capital, you look for ways to protect it and generate a return.</li><li><strong>Strategy must precede execution.</strong> Buying ad space without a clear plan is like buying lumber before you’ve drawn up house blueprints. You’ll end up with a lot of expensive material and nowhere to live.</li></ol><h3>The Bottom Line</h3><p>Media planning isn’t about guessing which platform is trendy this week. It’s about discipline: setting tight parameters, balancing reach against repetition, picking efficient channels, and holding vendors accountable.</p><p>When you strip away the tech jargon and fancy pitch decks, great media planning comes down to respect — for your budget, your strategy, and the real people sitting on the other side of the screen.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3006a6a2c377" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In the Age of AI, Software engineers are Product Managers]]></title>
            <link>https://ai.plainenglish.io/in-the-age-of-ai-software-engineers-are-product-managers-d70de73371f6?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/d70de73371f6</guid>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 00:57:16 GMT</pubDate>
            <atom:updated>2026-10-22T00:57:16.487Z</atom:updated>
            <content:encoded><![CDATA[<p>When code gets cheap, knowing what to build becomes the real skill</p><p>For years, software worked like an assembly line. Product managers talked to customers and wrote the spec. Engineers took the spec and built it. Everybody stayed in their lane.</p><p>AI is erasing that lane.</p><h3>The hard part moved</h3><p>A coding agent can now take you from “here’s what we should build” to a working prototype in an afternoon. That used to take weeks. So building is getting cheap, and the real bottleneck isn’t engineering time anymore. It’s deciding what’s actually worth building.</p><p>The question every team asks has changed. It used to be “can we build this?” Now it’s “should we?”</p><h3>Being fast can fool you</h3><p>Shipping quickly feels great. But if you ship the wrong thing fast, you’ve just wasted time faster. And AI makes the wrong thing look good. It runs, it passes the checks, it matches the spec word for word.</p><p>What’s missing is taste. Someone has to look at the result and ask, “Does this really solve the problem? What happens in the edge cases that matter?” You only get taste by building stuff, putting it in front of real users, and seeing what lands. You also need context, because you can’t have good judgment about a problem you don’t understand.</p><p>So if your whole job is turning specs into code, you’re competing with tools that get cheaper every month. But if your job is understanding the problem so well that the solution is obvious? Those same tools make you way more powerful.</p><h3>So who’s a product manager?</h3><p>He/She is an engineer who solves customer problems instead of just closing the tickets. Think of it as technical skill, plus customer context, plus strategic thinking.</p><p>Customer context is the part most engineers are missing. A traditional engineer gets a spec, builds it, and gets judged on velocity. A product manager helps figure out the problem, asks about the user, tests ideas, and gets judged on whether customers actually use what shipped.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*urZ8K1yHGwHHM5pTUVaJdw.png" /><figcaption>Handoff line vs a Loop</figcaption></figure><h3>Three habits worth building</h3><p><strong>Get close to real customers.</strong> A persona says “busy PM who values efficiency.” A real user says, “I waste 30 minutes every morning copying data from CRM into our roadmap tool, and it’s stale by the time I’m done.” You can design for that second person.</p><p><strong>Find your lighthouse users.</strong> These are a handful of customers who explain their pain clearly, don’t mind rough early versions, and aren’t already hooked on a competitor. With AI prototyping, you can test ideas with them in days instead of guessing for months.</p><p><strong>Stop throwing work over the wall.</strong> Let engineers sit in on design sessions, designers join customer calls, and PMs review working prototypes instead of slide decks. Atlassian says teams that work this way see 70% higher feature adoption.</p><h3>Don’t leave engineers in the dark</h3><p>Here’s the catch: none of this works if engineers don’t know what’s going on. Customer feedback is in one place, strategy is in a slide deck, and the roadmap is buried in a spreadsheet. By the time it all trickles down to the engineer, it’s a Jira ticket with the good stuff scrubbed out.</p><p>The goal is simple: Engineers should see what PMs see.</p><h3>Where to start</h3><p>You don’t need a new job title. You can start today:</p><ul><li>Ask for the context behind your next ticket.</li><li>Sit in on a customer interview.</li><li>Read a few support tickets.</li><li>Ask “why” more than “what.”</li></ul><p>When anyone can build almost anything, the people who know what’s worth building are the ones who’ll matter.</p><p><em>Adapted from Atlassian’s blog post “How AI turns software engineers into product engineers.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d70de73371f6" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/in-the-age-of-ai-software-engineers-are-product-managers-d70de73371f6">In the Age of AI, Software engineers are Product Managers</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I earned my Private Pilot License while working a 40-hour Tech Job]]></title>
            <link>https://ai.plainenglish.io/how-i-earned-my-private-pilot-license-while-working-a-40-hour-tech-job-4555c10121b3?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/4555c10121b3</guid>
            <category><![CDATA[aviation]]></category>
            <category><![CDATA[private-pilot-training]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Thu, 03 Sep 2026 20:02:47 GMT</pubDate>
            <atom:updated>2026-09-04T14:21:02.393Z</atom:updated>
            <content:encoded><![CDATA[<h4>A software engineer’s playbook for balancing ground school, flight hours, and a full-time career.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ie_D09fzNAgUybhR7jKkQ.jpeg" /></figure><p>There is a moment early in flight training — usually right after your instructor steps out of the aircraft and leaves you alone in the cockpit for your first solo takeoff — where everything changes. The 5,100-foot pavement of Runway 20R stretches out ahead, the engine propeller roars to full power, and suddenly, you are the sole Pilot in Command(PIC) of a flying machine, in my native tongue we say <em>Pushpaka Vimana</em>.</p><p>For the longest time, I was just another tech professional staring out office windows, watching civil aviation planes cut through the Chicago sky. I loved my career, but I couldn’t shake the dream of sitting in the pilot seat.</p><p>People told me earning a Private Pilot License (PPL) while working a demanding 40+ hour data engineering job and juggling dad duties with a toddler was near impossible and studying ground school would drown me or that Chicago’s unpredictable weather would break my momentum</p><p>They were wrong. It took discipline, late nights, early mornings, and lots of coffee, but I pulled it off — flying weekends out of <strong>Illinois Aviation Academy (IAA)</strong> right here at Dupage County Airport (<strong>KDPA)</strong>.</p><p>If you are balancing a full-time career while chasing your wings, here is my personal playbook on how I made it happen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*6cjmVaPgaHWdxAkDNy9gWg.png" /><figcaption>Cessna 172 Cockpit view</figcaption></figure><h3>Step 1: Choosing My Home Base &amp; School</h3><p>When training in the Chicagoland area, your flight school environment makes or breaks your experience. I chose <strong>Illinois Aviation Academy</strong> at DuPage Airport for two main reasons: fleet availability and structural rigor.</p><p>Training under <strong>FAA Part 141</strong> gave me the flexibility I needed to fit lessons around my work schedule, while IAA’s structured curriculum kept me accountable. Plus, flying out of <strong>KDPA</strong> is an incredible training ground. It’s a busy Class Delta towered airport with parallel runways, and constant corporate jet traffic. Yes, wait times holding short of runway are long but learning to talk to Air Traffic Control (ATC) at an airport like DuPage builds your confidence fast — once you can navigate KDPA’s airspace smoothly, flying anywhere else feels like a breeze.</p><h3>Step 2: Clearing the Medical &amp; Paperwork Hurdles First</h3><p>Before I logged my first serious training hours, I wanted to ensure I was clear to fly.</p><ol><li><strong>The Discovery Flight:</strong> My very first flight out of KDPA confirmed what I already knew: I was completely hooked.</li><li><strong>FAA Medical Exam:</strong> I booked an appointment with a local Aviation Medical Examiner (AME) for my 3rd Class Medical Certificate. <em>(Tip: If you ever want to fly commercially, get a 1st Class right away to verify you meet the physical standards).</em></li><li><strong>Student Pilot Certificate:</strong> My instructor helped me submit my application through the FAA IACRA portal.</li></ol><h3>Step 3: The 9-to-5 Balancing Act (Ground School &amp; Study Routine)</h3><p>Managing full-time tech workloads while mastering aerodynamics, aircraft systems, weather charts, and FAA regulations isn’t easy. The secret isn’t finding more time — it’s creating a routine.</p><ul><li><strong>Online Ground School:</strong> I used a self-paced King Schools online course, dedicating 45 minutes every weekday evening.</li><li><strong>Chair Flying at Home:</strong> When time permitted, I’d sit on my office chair with a printed cockpit layout of our Cessna 172, closing my eyes and practicing emergency flows, checklists, and radio calls out loud. It’s 100% free practice that saves real money in the air.</li><li><strong>Passing the FAA Written Test:</strong> I knocked out the 60-question FAA Knowledge Exam midway in my training. Getting it out of the way meant my weekend brain space was entirely dedicated to actual flying.</li></ul><h3>Step 4: The Flight Hours (Navigating Chicago Weather)</h3><p>While the FAA minimum is 40 flight hours, most working adults finish closer to 80 hours, mine took 100 hours. Flying strictly on weekends meant weather delays were my biggest enemy. A classic Illinois winter or a line of spring thunderstorms can easily ground you for two weekends in a row.</p><p>To combat this, I booked time slots on Friday evenings and Sundays. If weather scrubbed my Friday flight, Saturday was my backup.</p><ol><li><strong>Dual Instruction &amp; Pattern Work: </strong>First 15–20 Hours at KDPA.</li></ol><p>Learning basic maneuvers, turns, stalls, and emergency procedures over the northern Illinois practice areas, followed by endless touch-and-gos in the DuPage pattern and frequent landings at DeKalb (KDKB).</p><p><strong>2. First Solo Flight:</strong>The Unforgettable Milestone.</p><p>When my instructor stepped out and left me alone in the cockpit, pure adrenaline took over. My mind went completely quiet — I thought of nothing but running through procedures and landing safely.</p><p>Real-world edge cases struck immediately. On takeoff roll, my side window unexpectedly popped open with a deafening roar, forcing me to stay calm, fly the airplane, and secure the latch once airborne. Later in the pattern, unstable spacing on short final led me to execute a quick go-around rather than forcing a bad landing.</p><p>By the third touch-and-go, I touched down smoothly at KDPA with shaky knees and knuckles, massive relief, and the unforgettable pride of becoming a real pilot.</p><p><strong>3. Cross-Country Solo: </strong>Expanding the Horizon.</p><p>Flying cross-country routes to regional fields like Whiteside County (KSQI) and Aurora Municipal Airport (KARR) forced me to manage real-time navigation while handling unexpected real-world hazards:</p><ul><li><strong>3,000-Foot Balloon Avoidance:</strong> Cruising toward Whiteside, I spotted a cluster of birthday helium balloons in my flight path and banked quickly to avoid them.</li><li><strong>Runway Incursion at KARR:</strong> On short final into Aurora, an aircraft had an active runway incursion, forcing me to execute an immediate go-around as notified to me by ATC.</li></ul><p><strong>4.Night Flying: </strong>Over the Chicago &amp; Milwaukee Skyline</p><p>Transitioning from daytime operations to the dark void of night flying transformed the sky into an entirely different dimension. Flying routes out to regional hubs like Milwaukee International (KMKE) and navigating the high-intensity Class Charlie airspace at Midway (KMDW) required absolute focus. Landing at KMDW and KMKE involved managing constant frequency handoffs with Approach Control and Tower — keeping an alert ear tuned to rapid-fire ATC chatter while actively aviating the airplane. Both Approach and ATC Tower controllers were remarkably kind and accommodating, easing the pressure the moment they heard “Student Pilot” on the radio.</p><p>Level at 2,500 feet over Lake Michigan, watching the golden, glittering grid of the Chicago skyline stretch endlessly beneath the wings is a breathtaking core memory. In those busy dark skies with O’hare Traffic, the constant hustle of data engineering felt a million miles away.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TF_v7kkviDlXFAkFTtxrBw.jpeg" /></figure><p><strong>4. Core Maneuvers &amp; Performance Operations: </strong>Polishing Precision Flight.</p><p>Building muscle memory within strict Airmen Certification Standards (ACS) limits meant carving through 45 degree steep turns, countering wind drift during ground reference maneuvers, and mastering short-field &amp; soft-field takeoffs and landings.</p><p><strong>5. Checkride Prep &amp; Stage Checks:</strong>Polishing the Edge.</p><p>Conducting rigorous stage checks with senior instructors locked in maneuvers to exact FAA tolerances and prepared me for complex oral scenarios. Illinois Aviation Academy’s Part 141 syllabus structured this evaluation process into clear, mandatory gates:</p><ul><li><strong>15-Hour Flight Check:</strong> An early progress check to verify fundamental aircraft control, basic maneuvers, and safety habits.</li><li><strong>Pre-Solo Stage Check:</strong> A comprehensive oral and flight evaluation to ensure I was fully competent, safe, and ready to handle the aircraft alone in the KDPA pattern.</li><li><strong>Pre-Cross-Country Solo Stage Check:</strong> A dedicated oral and flight assessment testing my cross-country planning, pilotage, dead reckoning, and weather analysis before setting off on a solo cross-country flight.</li><li><strong>Mock Final Stage Check:</strong> A full-length practice oral and flight exam with another instructor designed to simulate the high-stress environment of the actual test and identify any remaining weak points.</li><li><strong>Final Stage Check:</strong> The official end-of-course oral and flight check (acting like a preparatory exam). Passing this penultimate gate was the official green light certifying that I was fully eligible and endorsed for the FAA Checkride with a Designated Pilot Examiner (DPE).</li></ul><p>With zero margin for error under ACS standards, these high-stakes reviews go far beyond just passing a test — they instill the ultimate safety discipline where lives are on the line.</p><h3>Step 5: Checkride Day</h3><p>After months of late-night studying, nearly 110 flight hours, and well over 220 landings, everything boiled down to the FAA Final Exam with a DPE.</p><ul><li><strong>The Oral Exam (~3 Hours):</strong> Beyond reviewing just my privileges and limitations as a PIC, the oral is essentially a E2E architecture review. Anything printed in the <a href="https://www.faraim.org/"><strong>FAR/AIM</strong></a>, <a href="https://www.faa.gov/regulations_policies/handbooks_manuals/aviation/phak"><strong>PHAK</strong></a>, or <a href="https://www.befa.org/wp-content/uploads/2019/12/POH-Cessna-172S.pdf"><strong>POH</strong></a> is fair game — from regulatory edge cases to aircraft diagnostics.</li><li><strong>The Flight Test (~2.5 Hours):</strong> We took off from KDPA and executed the flight plan, followed by simulated engine failures, hood work (flying blind referencing only instruments), maneuvers, short-field/soft-field takeoffs &amp; landings.</li></ul><p>When we taxied back to the Illinois Aviation Academy ramp — the examiner turned to me, shook my hand, mentioned that my Private Pilot Certificate would arrive in mail and handed me a temporary Airman Certificate, the months of juggling work and aviation instantly paid off.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p66O3C7GC22npJ5PRP9M1g.png" /><figcaption>Temporary Airman Certificate</figcaption></figure><h3>My Advice for Fellow Career Professionals</h3><ul><li><strong>Consistency Beats Frequency:</strong> If you can only fly on weekends, be hyper-consistent. Protect those weekend flight blocks like a production-critical PagerDuty rotation.</li><li><strong>Embrace the Plateaus:</strong> You will hit a sprint where your landings don&#39;t execute or ATC calls gets an exception in runtime, leaving you feeling at rock bottom. Worse yet, infra outages (bad weather) will wipe out three weekends in a row to clear out your freshly laid subconscious maneuvers. Stay patient. Perseverance is what turns student pilots into aviators.</li><li><strong>Treat the Flight Computer Like an API:</strong> Whether you are using an E6B scientific calculator or a ForeFlight. Don’t just memorize formulas — understand the dependencies (wind correction angles, density altitude, fuel burn rates) so you can debug your flight plan quickly when real-world conditions diverge from your expectations.</li><li><strong>Leverage Simulators for Procedural Muscle Memory:</strong> As a software engineer or product manager, you know the value of staging environments. Reserve simulator classes to practice instrument scans, emergency checklists, and standard operating procedures. It saves hundreds of rental dollars by letting you drill mechanics on the ground.</li><li><strong>Manage the Cockpit Like a Tech Project:</strong> The FAA emphasizes “Aviate, Navigate, Communicate” in that exact order — which is essentially a strict priority queue. When things get busy in the air, drop low-priority tasks (like tweaking your iPad route) and focus entirely on flying the airplane. Treat task saturation like an overloaded CPU and shed non-essential workloads immediately.</li><li><strong>Embrace Continuous Deployment of Your Knowledge:</strong> Aviation is a domain of perpetual learning where complacency is dangerous. Adopt a sprint mindset for your ground school knowledge: break the FAA written exam down into manageable modules, take practice tests in an agile approach, and refactor your understanding of airspace, weather theory, and aerodynamics until you score consistently in the 90s.</li></ul><p>Balancing a full-time career and earning your wings isn’t easy, but taking off into the clear blue sky above Illinois makes every single late-night study session worth it.</p><p>GOOD LUCK AVIATORS!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4555c10121b3" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/how-i-earned-my-private-pilot-license-while-working-a-40-hour-tech-job-4555c10121b3">How I earned my Private Pilot License while working a 40-hour Tech Job</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Global Fintech is Looking at India’s UPI Architecture]]></title>
            <link>https://pradhanprakash.medium.com/why-global-fintech-is-looking-at-indias-upi-architecture-5aed2509318b?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aed2509318b</guid>
            <category><![CDATA[upi-payment]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 05:13:05 GMT</pubDate>
            <atom:updated>2026-10-22T01:21:31.878Z</atom:updated>
            <content:encoded><![CDATA[<p>If you look at global payment systems, few modern financial architectures have scaled quite like India’s <strong>Unified Payments Interface (UPI)</strong>.</p><p>Built by the National Payments Corporation of India (NPCI), UPI now accounts for <strong>over 60% of all retail digital transactions in India</strong>. Whether buying street food or paying enterprise invoices, hundreds of millions of instant transactions process every day — without credit card fees or tedious wire setups.</p><p>At its core, UPI isn’t just a mobile app; it’s a <strong>standardized payment protocol and interoperable financial switch</strong> that bridges consumers, acquiring banks, issuing banks, and third-party app providers (TPAPs) seamlessly.</p><p>Here is a system design breakdown of how UPI works under the hood — from account registration to instant peer-to-peer settlement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BiBviu9rz8ZNchUu7qxiTQ.jpeg" /></figure><h3>The High-Level Architecture</h3><p>To understand UPI, you have to break down the key actors in the ecosystem:</p><ol><li><strong>Virtual Payment Address (VPA):</strong> An alias that acts as a financial pointer (e.g., user@axis). This completely abstracts sensitive bank account numbers and IFSC codes away from end users.</li><li><strong>NPCI (Central Switch):</strong> The central routing layer connecting every bank, resolving VPAs, routing payload instructions, and orchestrating debit/credit consensus across issuing banks.</li><li><strong>Acquiring Bank:</strong> The partner bank handling requests for the payment app (e.g., PhonePe, Google Pay, Axis).</li><li><strong>Issuing Bank:</strong> The customer’s actual bank where money is held (e.g., SBI, HDFC).</li></ol><pre>[ User / App ]  &lt;---&gt;  [ Acquiring Bank ]  &lt;---&gt;  [ NPCI Switch ]  &lt;---&gt;  [ Issuing Bank ]</pre><h3>Phase 1: User Registration &amp; VPA Creation</h3><p>Before making a payment, a user sets up a Virtual Payment Address tied to their mobile identity.</p><pre>+-----+             +-------------+             +----------------+<br>| Bob |             | Payment App |             | Acquiring Bank |<br>+-----+             +-------------+             +----------------+<br>   |                       |                            |<br>   |-- 1. Enter Phone ----&gt;|                            |<br>   |-- 2. OTP Verify -----&gt;|                            |<br>   |                       |                            |<br>   |-- 3. Set VPA --------&gt;|                            |<br>   |   (&quot;bob@axis&quot;)        |-- 4. Create VPA ----------&gt;|<br>   |                       |&lt;-- 5. Return VPA ----------|<br>   |&lt;-- 6. VPA Confirmed --|                            |</pre><ul><li><strong>Phone Verification:</strong> Bob enters his phone number and completes 2-Factor authentication via OTP.</li><li><strong>VPA Selection:</strong> Bob picks a unique handle, like bob@axis.</li><li><strong>Handle Binding:</strong> The payment app communicates with its acquiring bank to register bob@axis as a valid identifier in the central mapping repository.</li></ul><h3>Phase 2: Account Resolution &amp; Bank Linking</h3><p>Once Bob has a VPA, he needs to link his physical bank account (e.g., at SBI) to fund transactions.</p><pre>+-----+          +-------------+          +-------------+          +--------------+<br>| Bob |          | Payment App |          | NPCI Switch |          | Issuing Bank |<br>+-----+          +-------------+          +-------------+          +--------------+<br>   |                    |                        |                        |<br>   |-- 1. Link SBI ----&gt;|                        |                        |<br>   |   to &quot;bob@axis&quot;    |-- 2. Resolve VPA -----&gt;|                        |<br>   |                    |                        |-- 3. Query Account ---&gt;|<br>   |                    |                        |&lt;-- 4. Account Details -|<br>   |&lt;-- 5. Enter PIN ----------------------------------------------------&gt;|<br>   |   (Set 2FA PIN)    |                        |                        |</pre><ul><li><strong>Routing to Switch:</strong> Bob requests to link his SBI bank account to bob@axis. The payment app forwards the request through its acquiring bank to <strong>NPCI</strong>.</li><li><strong>Account Lookup:</strong> NPCI acts as a switch between the acquiring and issuing banks, resolving Bob’s mobile number against registered accounts at SBI.</li><li><strong>Two-Factor Authentication (MPIN):</strong> Bob authenticates his account details and configures a payment PIN, which is encrypted and sent directly to the issuing bank for end-to-end authorization.</li></ul><h3>Phase 3: Executing a Direct Peer-to-Peer Payment</h3><p>Now imagine <strong>Alice</strong> wants to send <strong>INR 100</strong> to <strong>Bob</strong>.</p><pre>+-------+             +----------+             +-------------+             +----------+<br>| Alice |             | PhonePe  |             | NPCI Switch |             |  Banks   |<br>+-------+             +----------+             +-------------+             +----------+<br>    |                      |                          |                         |<br>    |-- 1. Send INR 100 --&gt;|                          |                         |<br>    |   to &quot;bob@axis&quot;      |-- 2. Forward Request ---&gt;|                         |<br>    |                      |   (via ICICI)            |-- 3. Resolve Target ---&gt;|<br>    |                      |                          |   &quot;bob@axis&quot; at Axis    |<br>    |                      |                          |                         |<br>    |                      |                          |-- 4. Debit INR 100 ----&gt;| (HDFC)<br>    |                      |                          |-- 5. Credit INR 100 ---&gt;| (SBI)<br>    |                      |                          |                         |<br>    |&lt;-- 6. Success Notification ---------------------|&lt;-- 7. Settlement OK ----|</pre><h3>The Transaction Flow:</h3><ul><li><strong>Initiation:</strong> Alice opens her payment app (e.g., PhonePe), enters bob@axis, and inputs INR 100.</li><li><strong>Gateway Authorization:</strong> PhonePe routes the payload via its acquiring bank (e.g., ICICI) to NPCI.</li><li><strong>Address Resolution:</strong> NPCI queries Axis Bank to resolve bob@axis into Bob’s actual destination account details at SBI.</li><li><strong>Debit Stage:</strong> NPCI issues a debit instruction to Alice’s bank (HDFC) using her encrypted PIN payload.</li><li><strong>Credit Stage:</strong> Upon successful debit confirmation, NPCI immediately issues a credit instruction to Bob’s bank (SBI).</li><li><strong>Confirmation &amp; Notification:</strong> NPCI returns a success response back down the wire to both acquiring banks, pushing real-time notifications to Alice and Bob.</li></ul><h3>Why UPI Scale is an Engineering Feat</h3><p>Architecturally, UPI succeeds where traditional payment rails fail for three key reasons:</p><ul><li><strong>Decoupled Identity:</strong> By using virtual payment addresses (VPAs), consumers never expose sensitive banking information to third-party apps or merchants.</li><li><strong>Interoperability:</strong> Any app built on UPI can talk to any bank in India. You don’t need to be on the same app as the recipient.</li><li><strong>Low Transaction Overhead:</strong> By moving the settlement orchestration to a central, high-throughput protocol, transactions settle in real time at a fraction of a cent per request.</li></ul><p><strong>Credit &amp; Reference Note:</strong> This architecture breakdown and sequence flow were sourced from and inspired by the Payment Systems Series by <strong>ByteByteGo</strong> and Setu’s “UPI 101” documentation.*</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aed2509318b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AI Actually Changed My Day-to-Day as a Data Engineer (And Why We’re Not Screwed)]]></title>
            <link>https://ai.plainenglish.io/when-ai-tools-first-started-making-noise-in-the-data-world-you-could-practically-feel-the-b6eee538f8fd?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6eee538f8fd</guid>
            <category><![CDATA[ai-human-relationships]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 05:06:04 GMT</pubDate>
            <atom:updated>2026-08-05T05:17:44.138Z</atom:updated>
            <content:encoded><![CDATA[<p>When AI tools first started making noise in the data world, you could practically feel the collective sweat in the room. Every tech forum had the same underlying freak-out: <em>Are we all about to get laid off?</em></p><p>Look, I’ve spent years in the trenches — debugging messy PySpark jobs, wiring up pipelines, and staring at schema designs until my eyes crossed. So instead of spiraling, I decided to put these tools through the wringer in my own daily workflow. I stopped looking at AI like some looming threat and started using it as a co-pilot.</p><p>Turns out, my initial anxiety was totally off base. AI isn’t coming for our jobs — it’s just taking the mind-numbing, repetitive grunt work off our plates so we can actually focus on real engineering.</p><p>Here’s my honest, no-BS breakdown of where AI shines and where it completely faceplants.</p><h3>1. Writing Code (PySpark, SQL, Python)</h3><p><strong>The Good:</strong> It’s lightning fast.</p><p><strong>The Bad:</strong> It lacks basic common sense.</p><p>AI pumps out functional Python and SQL in seconds. When I need to draft a boilerplate function or scaffold a query, it saves me a ridiculous amount of typing.</p><p>But here’s the kicker: AI operates in a complete bubble and misses critical business context. It will produce code that runs without a single error, passes syntax checks, and yet produces completely wrong numbers.</p><blockquote><strong><em>A Quick Real-World Example:</em></strong></blockquote><blockquote><em>A while back, I asked an LLM to write a PySpark script to aggregate monthly customer activity and calculate churned users, alongside a Snowflake SQL query for analytics reporting.</em></blockquote><blockquote><strong><em>What AI wrote (PySpark / Python):</em></strong></blockquote><blockquote><em>Python</em></blockquote><pre># AI&#39;s logic: Simple INNER JOIN between months<br>active_jan = df.filter(df.month == &quot;2026-01&quot;)<br>active_feb = df.filter(df.month == &quot;2026-02&quot;)</pre><pre># Drops anyone not active in Feb immediately<br>churned_users = active_jan.join(<br>    active_feb, on=&quot;user_id&quot;, how=&quot;left_anti&quot;<br>)</pre><blockquote><strong><em>What AI wrote (Snowflake SQL):</em></strong></blockquote><blockquote><em>SQL</em></blockquote><pre>-- AI&#39;s logic: Basic LEFT JOIN to find missing users in the next month<br>SELECT jan.user_id <br>FROM analytics.user_activity_jan jan<br>LEFT JOIN analytics.user_activity_feb feb <br>  ON jan.user_id = feb.user_id<br>WHERE feb.user_id IS NULL;</pre><blockquote><strong><em>The Problem:</em></strong></blockquote><blockquote><em>Both code snippets ran blazingly fast and returned clean, zero-error results. But in our actual business logic, customers can pause subscriptions for up to 60 days or experience transient billing retries. By relying on a simple month-over-month join, the AI marked hundreds of temporarily paused users as permanently “churned.”</em></blockquote><blockquote><em>To make it work in production, I had to rewrite the logic to look across a rolling 60-day window and account for </em><em>status = &#39;paused&#39; metadata flags from our billing system in Snowflake.</em></blockquote><p>It takes an experienced engineer to spot those silent killers — the subtle logic gaps, bad joins, and edge cases that run smoothly but distort business metrics.</p><h3>2. Building &amp; Orchestrating Pipelines</h3><p><strong>The Good:</strong> Drafting initial flows.</p><p><strong>The Bad:</strong> Surviving actual production.</p><p>AI is awesome at cranking out standard ETL/ELT flows and sketching out Medallion layers (Raw-&gt; Transformed -&gt; Publishing). It gives you a head start that used to take hours.</p><p>But a rough draft isn’t a production pipeline. Wiring those jobs into real enterprise infrastructure — setting up schedulers, sorting out permissions, configuring monitoring, and making sure the whole thing doesn’t collapse at 2:00 AM when an API drops — takes human intuition and hard-earned experience.</p><h3>3. Data Architecture &amp; System Design</h3><p><strong>The Good:</strong> Spitting out textbook patterns.</p><p><strong>The Bad:</strong> Dealing with real-world messiness.</p><p>AI can give you architectural blueprints all day long. What it <em>can’t</em> do is sit in a room with your team, navigate company politics, deal with tight budgets, or figure out what to do with a mountain of legacy tech debt.</p><p>System architecture isn’t about picking the prettiest diagram from a textbook. It’s about making tough trade-offs within messy, real-world constraints. An algorithm just can’t read the room or make those executive calls.</p><h3>4. Data Modeling (Star &amp; Snowflake Schemas)</h3><p><strong>The Good:</strong> Instant schemas.</p><p><strong>The Bad:</strong> Zero understanding of actual usage.</p><p>I can ask AI to generate a Star schema and have fact and dimension tables on my screen in five seconds flat. But knowing whether that model actually matches how analysts query data — or how business logic evolves — is a completely different story.</p><p>Structuring tables is easy. Designing a performant, cost-effective model in Snowflake that doesn’t melt your virtual warehouse when heavy queries hit? That still requires human domain knowledge.</p><h3>The Bottom Line</h3><p>AI didn’t take my job; it just killed the busywork.</p><p>By taking over the copy-paste scripting and tedious setups, AI frees us up to focus on what actually matters: architecture, logic verification, system reliability, and high-impact strategy.</p><p>The future of data engineering isn’t AI replacing humans. It’s the engineers who embrace these tools completely blowing past the ones who insist on doing everything the hard, slow way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6eee538f8fd" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/when-ai-tools-first-started-making-noise-in-the-data-world-you-could-practically-feel-the-b6eee538f8fd">How AI Actually Changed My Day-to-Day as a Data Engineer (And Why We’re Not Screwed)</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Cost of AI: How to Compress Prompts and Slash Your LLM Bills]]></title>
            <link>https://pradhanprakash.medium.com/the-hidden-cost-of-ai-how-to-compress-prompts-and-slash-your-llm-bills-739e8f9391c0?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/739e8f9391c0</guid>
            <category><![CDATA[writing-prompts]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 22:40:49 GMT</pubDate>
            <atom:updated>2025-12-04T22:40:49.054Z</atom:updated>
            <content:encoded><![CDATA[<p>Every developer building with Large Language Models (LLMs) eventually hits the same wall: the “context trap.” You want your model to know everything — past conversations, huge PDFs, complex instructions — but every extra token adds latency and bloats your API bill.</p><p>Before you know it, you’re hitting token limits or paying for context that the model barely uses.</p><p>Microsoft recently introduced a solution that has flown largely under the radar but solves this exact problem: <strong>LLMLingua</strong>. It’s a library designed to compress prompts by up to 20x without losing the essential meaning, acting like a “WinZip” for your AI prompts.</p><p>Here is a breakdown of how it works and how you can use it to build faster, cheaper AI applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wtuc74EDz6X6c-KjCWaHg.png" /></figure><h3>The Problem: Token Bloat</h3><p>In context-heavy applications like RAG (Retrieval-Augmented Generation) systems or chatbots with long memories, you often feed the model thousands of tokens just to set the stage.</p><ul><li><strong>High Costs:</strong> GPT-4 and Claude 3 Opus charge per input token.</li><li><strong>Latency:</strong> More tokens mean slower processing times.</li><li><strong>Lost Focus:</strong> “Lost in the middle” phenomenon where models forget details buried in massive prompts.</li></ul><h3>The Solution: LLMLingua</h3><p>LLMLingua uses a smaller, lightweight model (like LLaMA-7B or GPT-2 Small) to pre-read your prompt. It identifies non-essential tokens — filler words, redundant phrasing, and syntactic fluff — and removes them <em>before</em> the prompt is sent to your expensive main model (like GPT-4).</p><p>The result? The LLM reads the same <em>meaning</em> in fewer <em>words</em>.</p><h3>Key Features for Developers</h3><h4>1. Drastic Compression</h4><p>LLMLingua can achieve up to <strong>20x compression</strong> with negligible loss in reasoning accuracy.</p><pre>from llmlingua import PromptCompressor<br>llm_lingua = PromptCompressor()<br>compressed_prompt = llm_lingua.compress_prompt(<br>    long_prompt, <br>    target_token=200<br>)<br># Output:<br># &#39;origin_tokens&#39;: 2365<br># &#39;compressed_tokens&#39;: 211<br># &#39;saving&#39;: &#39;Saving $0.1 in GPT-4&#39;</pre><h4>2. Handling Long Contexts (LongLLMLingua)</h4><p>If you are building a RAG system that pulls information from multiple documents, <strong>LongLLMLingua</strong> is a game changer. It doesn’t just cut words; it reorders and filters entire sections of context to ensure the model sees the most relevant information first. This helps avoid the “lost in the middle” issue common in long-context retrieval.</p><h4>3. Faster Performance with LLMLingua-2</h4><p>The team released <strong>LLMLingua-2</strong>, which is 3–6 times faster than the original. It utilizes a BERT-level encoder and is optimized for multilingual tasks and out-of-domain data, making it ideal for enterprise-grade applications.</p><h4>4. Structured Compression</h4><p>Sometimes you need to keep specific parts of a prompt intact, like JSON formatting or speaker labels in a transcript. LLMLingua supports <strong>structured compression</strong>, allowing you to “lock” certain segments so they aren’t touched while aggressively compressing the rest.</p><h3>Integration with the Ecosystem</h3><p>The best part about LLMLingua is that it isn’t just a research paper — it is production-ready. It integrates seamlessly with <strong>LangChain</strong>, <strong>LlamaIndex</strong>, and <strong>Microsoft Prompt Flow</strong>.</p><p>For example, in LangChain, you can wrap your existing document retriever with LLMLingua. It will automatically compress the retrieved documents before passing them to your LLM chain, instantly saving tokens without requiring you to rewrite your application logic.</p><h3>Why It Matters</h3><p>We are entering an era where efficiency matters as much as capability. You don’t always need a smarter model; sometimes, you just need a smarter prompt.</p><p>By using tools like LLMLingua, you move the complexity away from the expensive inference step and handle it during the cheaper pre-processing stage. It is a simple architectural shift that leads to faster apps, happier users, and significantly lower cloud bills.</p><p>Reference:</p><blockquote>“This article is a summary and analysis based on the excellent tutorial by <strong>Manish Shivanandhan</strong> on freeCodeCamp. For the full technical deep dive and code examples, please read the original article: <a href="https://www.freecodecamp.org/news/how-to-compress-your-prompts-and-reduce-llm-costs/">How to Compress Your Prompts and Reduce LLM Costs</a>.”</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=739e8f9391c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MCP Server to Fast API]]></title>
            <link>https://pradhanprakash.medium.com/mcp-server-to-fast-api-fb76deeff3ea?source=rss-7a694b40ae53------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb76deeff3ea</guid>
            <category><![CDATA[fastapi]]></category>
            <category><![CDATA[mcp-server]]></category>
            <dc:creator><![CDATA[Pradhan Prakash]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 14:29:06 GMT</pubDate>
            <atom:updated>2025-10-28T14:29:06.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*_Du8CWt6hI4NXrei1EhilQ.png" /></figure><p>What is a Fast API?</p><p>It is a Python based web framework for building APIs with high performance and minimal boilerplate coding. I like this the most because it has built-in async support, automatic validation and, documentation like Swagger or Redoc.</p><p>What is MCP?</p><p>I have published a detailed story of it <a href="https://medium.com/@pradhanprakash/model-context-protocol-8eaabe5b0c88">here</a>.</p><p>How does an MCP Server over a Fast API help us?</p><p>By exposing FastAPI endpoints to an MCP, AI agents (as clients) can use a simple prompt to communicate with underlying applications (via the FastAPI-MCP server). The AI Agent and MCP manage the communication, eliminating the need for the agent to understand how the FastAPI is built or used. Simply mount the MCP server to your application to maintain existing documentation and schemas. You can also choose which endpoints to expose and employ integrated authentication for security.</p><p>Prerequisites:</p><pre>pip install &quot;fastapi[standard]&quot;<br>pip install fastapi-mcp<br>pip install &quot;uvicorn[standard]&quot; # To run http</pre><p>Usage:</p><pre>from fastapi import FastAPI<br>from fastapi_mcp import FastApiMCP<br><br>app = FastAPI() # Any Fast API application<br><br>mcp = FastApiMCP(<br>    app,<br><br>    # Optional parameters<br>    name=&quot;API with MCP&quot;,<br>    description=&quot;API description&quot;,<br>    base_url=&quot;http://localhost:8000&quot;,<br>)<br><br># Mount the MCP server onto your FastAPI application<br>mcp.mount()</pre><p>And thats it!</p><p>If you need to expose a specific end point, use the operation_id feature with FastAPI as shown</p><pre># Assume we have this endpoint in Fast API<br><br>@app.get(&quot;/todo/&quot;, response_model=List[Todo],operation_id=&quot;get_mcp_todo&quot;)<br>async def get_fastapi_todo(param: List)  :<br>  return todo_list<br><br># We can now include or exlude endpoints<br><br>from fastapi import FastAPI<br>from fastapi_mcp import FastApiMCP<br><br>app = FastAPI()<br>mcp = FastApiMCP(<br>    app,<br>    include_operations[&quot;get_mcp_todos&quot;]<br>)<br>mcp.mount()<br><br>if __name__ == &quot;__main__&quot;:<br>  import uvicorn<br>  uvicorn.run(app, host=&quot;0.0.0.0&quot;, port=8000)</pre><p>Run the MCP server at</p><pre>http://localhost:8000/mcp</pre><p>And then add the following MCP config on any AI, save &amp; refresh to view the tools exposed</p><pre>{<br>  &quot;mcpServers&quot; : {<br>     &quot;fastapi-mcp&quot;: {<br>         &quot;serverUrl&quot;: &quot;http://localhost:8000/mcp&quot;<br>         }<br>     }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb76deeff3ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>