<?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 Sourav Ray on Medium]]></title>
        <description><![CDATA[Stories by Sourav Ray on Medium]]></description>
        <link>https://medium.com/@souravray?source=rss-7230593c5277------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QifncBf0bmUdO6CYMsQHrw.jpeg</url>
            <title>Stories by Sourav Ray on Medium</title>
            <link>https://medium.com/@souravray?source=rss-7230593c5277------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:15:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@souravray/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 Day the World Stopped Needing Horses]]></title>
            <link>https://medium.com/@souravray/the-day-the-world-stopped-needing-horses-future-of-work-in-ai-era-f19cc7d55bdc?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/f19cc7d55bdc</guid>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[industrial-revolution]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 12:11:20 GMT</pubDate>
            <atom:updated>2026-08-05T12:11:20.896Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhENZVp23dXTGx4WmPOTfA.jpeg" /></figure><p>In early 1900, the world had a problem that sounds strangely familiar today. It had built an economy around a form of labor that was becoming easier to replace. There were roughly 110 million horses in the world, and they were everywhere. They moved people, pulled freight, worked farms, carried soldiers and powered the daily machinery of economic life. Then the automobile and mechanised agriculture began changing the equation. Nobody needed to declare horses obsolete. Nobody needed to send them to the slaughterhouse. The economy simply discovered that it could produce the same output with fewer horses.</p><p>That distinction matters. By 1960, the global horse population had fallen to roughly 62 million, and the figures represented in the graph place it at around 60 million today. The horse survived, but that is not really the interesting part of the story. What matters is that the economy no longer needed horses at anything close to the scale it once did. Roughly 50 million fewer horses were required than at the historical peak.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XlmIQzt_Q1AUeFENIthplA.png" /></figure><p>Now look at the other line in the graph.</p><h3>When the Bottleneck Starts Disappearing</h3><p>For decades, software had its own bottleneck. If you wanted more software features or larger scale, then you needed more engineers. AI is beginning to break that relationship. It can already generate code, test it, debug it, explain it, build prototypes, and work across increasingly large parts of the development process. It does not need to replace every programmer to change the economics of programming. If ten engineers can eventually produce what once required fifty, the important question is not whether those ten programmers have become more productive. The important question is what happens to the rest forty.</p><p>The graph illustrates that possibility. The futuristic figures are projected scenarios, not established predictions. The exact timeline may not be clinically precise, but the shows the trend correctly. The direction of the graph raises a much bigger question. What happens when the amount of software the economy wants keeps growing while the amount of human labour required to produce it keeps falling? The change may not arrive as one dramatic tsunami of layoffs. Though, mass layoffs has become significantly visible and frequent in past few years. Companies hire fewer people. Entry-level positions become harder to find. Teams become smaller. One engineer supervises systems that once required several engineers. Productivity rises while demand for human labour falls. By the time the trend becomes obvious, the economic transformation may already be well underway.</p><h3>The Upskilling Story Has a Limit</h3><p>This is where the popular advice about AI starts to fall apart. We are told that programmers should learn AI, become architects, move into management, or focus on higher-value work. That sounds reasonable until we ask where everyone is supposed to go. There may be millions of people capable of becoming programmers, but far fewer senior architects. There are fewer executives than architects. There are fewer seats at the very top than anywhere below. The pyramid gets narrower as you climb. You cannot move an entire workforce upward and assume there will always be another layer waiting for them.</p><p>The issue is not whether an individual programmer can become more valuable. Of course they can. The issue is whether everyone can become more valuable at the same time while the economy needs fewer people overall. Those are completely different questions. If AI allows 100 programmers to produce what previously required 1,000, the remaining 100 may become extraordinarily productive. That does not create another 900 equivalent jobs. It removes the economic need for them. Upskilling can help individuals compete for the remaining seats. It cannot manufacture more seats.</p><p>This is also where the discussion becomes a question about capitalism and ownership. Most people access the wealth of society through income from work. They sell their labour and use their wages to obtain the things they need. When technology makes labour more productive, the gains can be shared through higher wages and greater employment. When technology makes labour less necessary, the outcome depends on who owns the technology. AI systems, data centres, automated production-lines, software platforms, and the companies controlling them are overwhelmingly tied to owners of capital and large shareholders. If a company replaces 10,000 workers with AI, the owners of that company can become wealthier as productivity rises and labour costs fall. The displaced workers face the opposite reality. Their bargaining power weakens. Their income can disappear. Their ability to claim a share of the wealth produced by the economy can shrink with it.</p><p>There is a common response that this cannot continue because the economy needs consumers. That argument confuses money with wealth. An economy existed before money. Human has a history of producing, exchanging, consuming, and creating wealth under barter systems. Money is just a mechanism for organising access to that wealth. The deeper question is not how much money circulates. It is who controls productive resources and who has the power to access what those resources produce. A society can become enormously productive while concentrating ownership of that productivity in fewer hands. That is the issue deserves a much longer discussion of its own.</p><h3>The Horse Is the Warning</h3><p>The lesson of the horse is not that humans will become horses. Humans have something horses never had. We can understand what is happening. We can organise politically. We can change ownership structures, taxation, social protections, working hours, and the rules around technology. The future is not predetermined. But we should stop pretending that technological progress automatically creates a new job for everyone whose old job disappears. The horse population did not collapse because horses failed to learn new skills. It collapsed because the economy found a different way to produce transportation and agricultural power. Roughly 50 million horses disappeared.</p><p>AI could create a similar pressure on human labour, except across cognitive work itself. The programmer is only an early example. When AI moves from coding into architecture, research, design, management, analysis, and other high-value work, the traditional escape route of “just move up” becomes harder to defend. At some point, the question stops being what skill a person should learn next. It becomes how many human workers the economy actually needs.</p><p>That is the part of the graph I find most important. It is not really a prediction about programmers. It is a question about human economic necessity. We may eventually have a world with more software, more automation, more productive machines, and more wealth than ever before. The frightening possibility is that fewer humans may be required to produce all of it.</p><p><strong>The horse had a future too. The world simply changed the conditions under which that future was possible.</strong> The question for humans is whether we will let our economic value determine our right to share in the wealth that technology creates.</p><h3>Statistical References Used for This Article</h3><h4>Historical Horse Population &amp; Livestock Data</h4><p>Fages, A., Hanghøj, K., Khan et al. (2019). <em>Tracking five millennia of horse management with extensive ancient DNA</em>. Cell, 177(6), 1419–1435.</p><p>Food and Agriculture Organization of the United Nations. (2024). <em>FAOSTAT livestock primary database: Live animals (Horses)</em>. United Nations.</p><p>Todd, E. T., Tonasso-Lartigue, L., Schiavinato, S., Seguin-Orlando, A., Ermini, L., Southon, J., Clavel, B., Lepetz, S., &amp; Orlando, L. (2023). <em>Imputed genomes of historical horses provide insights into modern breed development</em>. iScience, 26(7), Article 107181.</p><p>United States Department of Agriculture. (1920). <em>Yearbook of the United States Department of Agriculture: 1920</em>. Government Printing Office.</p><h4>AI, Automation &amp; Labour Projections</h4><p>Gartner Research. (2024). <em>Gartner strategic predictions: The automated future of IT work</em>. Gartner, Inc.</p><p>Grace, K., Salvatier, J., Dafoe, A., Zhang, B., &amp; Evans, O. (2018). <em>When will AI exceed human performance? Evidence from AI experts</em>. Journal of Artificial Intelligence Research, 62, 729–754.</p><p>McKinsey Global Institute. (2023). <em>The economic potential of generative AI: The next productivity frontier</em>. McKinsey &amp; Company.</p><p>McKinsey Global Institute. (2025). <em>Agents, robots, and us: How automation is rewriting the corporate org chart</em>. McKinsey &amp; Company.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f19cc7d55bdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YAGNI: You Aren’t Gonna Nail It - Until You Do!]]></title>
            <link>https://medium.com/@souravray/yagni-you-arent-gonna-nail-it-until-you-do-a47d5fa303dd?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/a47d5fa303dd</guid>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[extreme-programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 13:56:31 GMT</pubDate>
            <atom:updated>2026-01-05T21:00:41.089Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>YAGNI</strong> (“<em>You Aren’t Gonna Need It</em>”) is one of those principles most of us meet early in our careers. It is short, memorable, and easy to reach for when conversations start drifting toward hypothetical futures.</p><p>I was introduced to YAGNI long ago. Over the years, I’ve seen it save teams from unnecessary complexity, premature abstractions, and over-engineered systems. I’ve also seen it quietly erode codebases. Not because the idea itself is broken, but because its meaning tends to drift as it gets repeated.</p><p>This post is an attempt to reclaim YAGNI from its common misinterpretations and share how I have learned to apply it responsibly, from an architectural perspective.</p><h3>Where YAGNI Came From</h3><p>YAGNI came out of Extreme Programming as a reaction to a very real problem. Engineers were building for futures that never arrived.</p><p>Systems filled up with abstractions that had no consumers. Frameworks appeared before there was anything concrete to support. Flexibility was designed in long before anyone knew what needed to change.</p><p>The cost was not just extra code. It was complexity, cognitive load, and slower learning. In that context, YAGNI was a healthy correction. It pushed teams to focus on what was real and present rather than imagined and speculative.</p><h3>How the Meaning Slowly Shifts</h3><p>Problems begin when the principle starts to mean more than it originally did. Over time, I have seen engineers interpreted YAGNI from a warning against premature implementation into a reason to avoid deeper engineering conversations altogether. Conversations about boundaries, ownership, data, and failure modes get postponed.</p><p>It usually sounds reasonable. Let us keep it simple. Let us not overthink things. We will deal with it when we need to.</p><p>When these discussions are skipped, the system looks simple only because important questions were never asked. It weakens the system’s ability to adapt.</p><h3>Thinking Ahead Is Not Building Ahead</h3><p>This is where an important distinction often gets lost. Thinking ahead is not the same as building ahead.</p><p>Thinking ahead is about understanding forces. Where change is likely. Which decisions are hard to reverse. What assumptions are being baked into the system without being named. Building ahead is writing code for scenarios that may never exist.</p><p>YAGNI was designed to prevent the second. It was never meant to prohibit the first. Architecture lives in this space. It is not about predicting features accurately. It is about shaping systems so that future change remains affordable.</p><h3>Why This Matters More at Senior Levels</h3><p>As engineers move into Staff, Principal, or Architect roles, this responsibility becomes more visible.</p><p>Our job is not to be right about the future. It is to avoid being surprised by it in the most expensive ways. That requires deliberate thought about structure even when feature requirements are still evolving.</p><p>Avoiding these discussions does not make systems simpler. It just pushes complexity into the future, usually with interest.</p><h3>Where YAGNI Works Beautifully</h3><p>If used well, YAGNI is incredibly effective. Teams avoid unnecessary frameworks. They resist splitting systems too early. They ship real value sooner and learn from actual usage. Designs stay grounded in reality rather than theory.</p><h3>Where YAGNI Is Not Enough</h3><p>The trouble starts when definition of YAGNI is overstretched, and is applied uniformly to all engineering decisions. Feature decisions, structural decisions, security and architectural commitments are treated as if they all carry the same cost of change. In practice, they do not.</p><p>Some choices are easy to revisit. Others harden quickly and shape everything that follows. Data models, boundaries, coupling, and operational assumptions fall into this category.</p><p>Skipping these conversations does not avoid complexity. It delays when you pay for it, usually with interest.</p><h3>A Quiet Check Before Invoking YAGNI</h3><p>Over time, I have found it helpful to pause when YAGNI comes up and ask a few simple questions.</p><blockquote>Is this a feature or a structural concern?</blockquote><blockquote>Are we postponing code or postponing responsibility?</blockquote><blockquote>Are we preserving options or unknowingly closing them?</blockquote><blockquote>Do we actually have the discipline and safety nets needed to change this later?</blockquote><p>These questions do not slow teams down. They help teams notice risks while change is still cheap.</p><h3>The Organizational Reality</h3><p>YAGNI assumes a healthy engineering environment. One where refactoring is a norm, tests are robust and provide confidence, and change is not punished. It also quietly assumes discipline around principles like <em>Don’t Repeat Yourself</em>, especially when paired with automation and testability to lower the cost of refactoring.</p><p>Without those conditions, YAGNI can quietly accumulate risk instead of reducing it. What looks like simplicity today becomes rigidity tomorrow. That is not a failure of the principle. It is a mismatch between the principle and the environment applying it.</p><h3>Reclaiming YAGNI</h3><p>I believe YAGNI is still a relevant idea in software engineering.</p><p>It is also a principle that demands judgment. YAGNI is a scalpel, not a hammer. Used well, it keeps systems lean and adaptable. Used poorly, it becomes an excuse to stop thinking.</p><p>Honestly, you are not going to nail YAGNI upfront. None of us do. But that does not mean we stop practicing, reflecting, and learning along the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a47d5fa303dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up a Tinkering Space for LangChain.js]]></title>
            <link>https://medium.com/@souravray/setting-up-a-tinkering-space-for-langchain-js-34da35438651?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/34da35438651</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[jupyterlab]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Mon, 11 Aug 2025 03:24:27 GMT</pubDate>
            <atom:updated>2025-08-11T03:24:27.776Z</atom:updated>
            <content:encoded><![CDATA[<h3>Setting Up a Tinkering Space for LangChain JS</h3><figure><img alt="Depiction of a Tinkering Space for LangChain.js" src="https://cdn-images-1.medium.com/max/1024/1*MaoIX-hAxEQzDZSxFs0g9A.jpeg" /></figure><p>LangChain.js makes it easy to build LLM applications in the Node.js stack. For developers coming from Python, however, setting up a Node.js project just to test a simple idea can feel cumbersome. In Python, Jupyter Lab provide an interactive, cell-based workflow that is ideal for quick experiments.</p><p>JavaScript can run in <em>Jupyter</em> through the <em>ijavascript</em> kernel, but it comes with challenges. The project has not received a major update in more than four years, often produces C++ compiler errors, and does not work out of the box with <em>Node.js</em> beyond version 16. After Node 20 LTS, changes in the V8 engine break it entirely.</p><p>Using a precompiled <em>zeromq</em> with <em>nvm</em> to lock <em>Node.js </em>to an older version is one option, but I prefer Docker because it creates a setup that can be easily reproduced in the future. I managed to get <em>ijavascript</em> working with Node.js v20, which allows me to run the current LangChain.js version without compromise. This Docker setup is interactive, portable, and reproducible on any machine, and it comes preloaded with the essential LanChain modules, that <em>I use most frequently</em>.</p><h3>Spinning-up a Jupyter/Node.js Instant</h3><h4>Build the Docker Image</h4><p>The <em>Dockerfile</em> is located at _project_root_/docker/images/Dockerfile . If you have already installed <em>npm</em> you can simply build the image by running the following command at the project root</p><pre>npm run docker:build</pre><p>alternatively you can build using docker build command</p><pre>docker build -t langchain-js-env -f ./docker/images/Dockerfile ./</pre><h4>Configure Your API Keys</h4><p>Before starting, you need to provide your <em>secret API keys</em>. The repository includes a template file.</p><ol><li>Copy the example file:</li></ol><pre>cp .env.example .env</pre><p>2. Edit the new <em>.env</em> file and add your keys. It should look something like the bellow.</p><pre># .env file<br>GOOGLE_API_KEY=&quot;your_google_api_key_here&quot;</pre><h4>Start the Docker Container</h4><p>Next, start your Jupyter Lab environment in the background. If you are using <em>npm</em> helper function. You can simply run by</p><pre>npm run docker:up</pre><p>or you can use docker compose.</p><pre>docker-compose --file ./docker/compose/docker-compose.yml up -d</pre><p>This will start a docker container and make Jupyter server available at <em>localhost:8888</em></p><h4>Get the Login URL</h4><p>We are using token log-in for Jupyter. Get the full URL by checking the container’s logs.</p><pre>docker logs langchain_js_jupyter</pre><p>Look for a line that starts with <a href="http://127.0.0.1:8888/lab?token=..."><em>http://127.0.0.1:8888/lab?token=...</em></a> and paste it into your browser.</p><h3>Run A LangChain Experiment</h3><p>Now for the fun part, let&#39;s create a new JavaScript notebook and build a <strong>rhyming tweet generator</strong> using <em>LCEL</em> and Google&#39;s <em>gmini-2.5-flash</em> model.</p><h4>Imports and Setup</h4><p>First, we’ll import our model, a prompt template, a parser, and RunnableLambda, which is a key component for structuring our chain. We also import <em>Zod</em> schema library and the GOOGLE_API_KEY from the environmental variable have set earlier in the <em>.env</em> file.</p><figure><img alt="Langchain.js code: Import required packages like langchai modules, zod and environmental variables" src="https://cdn-images-1.medium.com/max/1024/1*rp5cssJloiYhyq34WClG-Q.png" /></figure><h4><em>Create a “Concept” Chain</em></h4><p>Our first chain will take a topic and generate a creative, one-sentence concept for a tweet. This breaks the problem down into a smaller, more manageable step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qIcYqvJiDTUd-p7_G0svGQ.png" /></figure><h4>Create a “Rhyming” Chain</h4><p>Our second chain will take the creative concept from the first chain and turn it into a rhyming, tweet-length poem. Notice how the prompt’s input variable is <em>{concept}</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KKxSrwQQsN43OkskwN0kVw.png" /></figure><h4>Connect the two Chains with a <em>RunnableLambda</em></h4><p>We pipe the output of the <em>conceptChain</em> (a structured object) into a <em>RunnableLambda</em>. The lambda logs the <em>conceptChain</em> output and return string output to a new <em>concept</em> key. This creates the exact input format that <em>rhymeChain</em> needs, which we then pipe it into.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DMUpq3kDY428PtNU9kCrqg.png" /></figure><h4>Execute the Final Chain and Wait …</h4><p>The notebook kernel doesn’t support top-level await, like this notebook kernel. So we will execute the combined chain, using a <em>(async () =&gt; { … })()</em>; syntax<em>. </em>It creates an async scope and run it immediately. This is called an IIFE, or Immediately Invoked Function Expression.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k9CTfDjdcDxPS1xZEbejNQ.png" /></figure><p>and here it is…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YtKd69usYX1x1Q0sGzVfVw.png" /></figure><p>…mission accomplished. Well done, Gemini!</p><h3>Wrapping Up</h3><p>Now you’ve got LangChain.js, Jupyter Lab, and Docker all playing nicely together without compiler tantrums or version drama. Just spin it up, start a notebook, and tinker away.</p><p>The full setup, is on GitHub. Clone it and you’ll be up and running in minutes.</p><p><strong>Repo:</strong> <a href="https://github.com/souravray/LangJSBook"><em>https://github.com/souravray/LangJSBook</em></a></p><p>🦾 <strong><em>Happy tinkering!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34da35438651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Generative Engines Are Rewriting Search -  Literally!]]></title>
            <link>https://ai.plainenglish.io/how-generative-engines-are-rewriting-search-literally-6729080ba9a8?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/6729080ba9a8</guid>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[content-marketing]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Tue, 20 May 2025 13:01:17 GMT</pubDate>
            <atom:updated>2025-05-22T05:21:26.282Z</atom:updated>
            <content:encoded><![CDATA[<h3>How Generative Engines Are Rewriting Search - Literally!</h3><p>If you’re constantly looking things up on ChatGPT, Perplexity, Bing Copilot, or just reading AI-Overviews on Google, congrats, you’ve moved-on from search engines to <em>Generative Engines</em>. You are no longer content with ten blue links. You want answers in plain language, with clear recommendations, and ideally, the sources for when you feel more adventurous.</p><p>Generative Engines (a.k.a GEs) blend parts of search engines and AI language models. Instead of just showing you a list of websites based on heuristic ranking, they search on your behalf, summarize the key information, re-rank it using their own cognitive analysis, and respond in a way that feels human.</p><h3>What is (Possibly) Going on Under the Hood</h3><p>Under the hood, GE is an amalgamation of several systems working together. While we can’t know the exact proprietary architecture of each GE, we can logically break it down into a few general building blocks. Unlike conventional search engines that return relevant listings or standalone Language Models that generate responses based on their training, Generative Engines perform a well-coordinated orchestration of several underlying subsystems. Here’s a simplified look at the typical subsystems within a Generative Engine -</p><p><strong>Query Reformulation:</strong> GE begins by breaking down complex queries into simpler sub-queries that are easier for search engines to process.</p><p><strong>Search Engine Integration:</strong> These sub-queries are then sent to search engines to retrieve documents from the internet or other databases.</p><p><strong>Summarization:</strong> Retrieved documents are processed and summarized to extract the most relevant information.</p><p><strong>Response Generation:</strong> A final model synthesises information from multiple sources to generate a comprehensive, coherent response.</p><figure><img alt="A schematic diagram of Generative Engine’s subsystems" src="https://cdn-images-1.medium.com/max/334/1*xgMURmIcPPWmfikvKza3gQ.png" /><figcaption>Fig-1: How GE process user Query</figcaption></figure><p>This architecture enables GEs to handle more complex queries, provide more nuanced responses, and maintain a higher contextual accuracy than traditional search engines and a higher factual accuracy than standalone Language Models.</p><h3>What Difference Does It Make</h3><p>Here’s how Generative Engines stack up against what we’ve used before.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3bc30509eb2dafb129cf0ed178ad1ee7/href">https://medium.com/media/3bc30509eb2dafb129cf0ed178ad1ee7/href</a></iframe><h3>Why This Matters for Content Creators and Marketers</h3><p>This shift brings both new challenges and opportunities for anyone creating content online. Traditionally, visibility meant getting your page to rank on the first page of Google. However, with Generative Engines answering user questions directly, users might not always click on links. Yet, being cited remains incredibly valuable. It helps build strong brand awareness, and positions your content as authoritative. Most importantly, it drives high-intent traffic, which can significantly increase your conversion rates.</p><p>This means the definition of success is changing. Instead of optimising your content just to rank higher, you now want it to be <em>cited</em> within a GE’s response. In this new landscape, content that gets referenced by the AI is the content that wins attention. This is giving rise to a new practice, <strong>Generative Engine Optimization</strong> ( a.k.a <strong>GEO</strong>). It’s still early, but we’re already seeing some patterns. Content that’s clearly structured, backed by real data, and written with authority is more likely to be picked up. That includes quoting credible sources, citing statistics, and staying focused on substance over fluff. GEO also varies across domains.</p><p>Techniques that work well for health or finance content may not work the same way for education, entertainment, or B2B marketing. But some fundamentals remain consistent - use of statistics, a confident and informative tone, transparent sourcing, and quotable writing all improve your chances of being cited. This is a significant shift in how content visibility is achieved. We’re moving from optimising for clicks to ensuring we’re the source behind meaningful answers.</p><h3>Final Thoughts</h3><p>Generative Engines are more than just the next phase of search. They are changing how we discover, trust, and engage with information online. For users, it means faster and clearer answers, and for content creators, a newer kind of challenge. It is no longer just about being ranked; it is about being visible. This shift asks us to think differently. If your content is accurate, factual, well-structured, and easy to quote, you are already one step ahead in this new landscape.</p><p>On a related note, I’m working on a visibility tracking platform to help businesses to navigate this evolving environment. It will go beyond the current metrics used by tools like Otterly, AmIOnAI, etc. Curious to see what’s coming? If you’d like early access to a closed beta (when launched) or just want to chat, <a href="https://www.linkedin.com/in/souravray/">feel free to reach out</a>. Would love to connect!</p><p><em>This blog post includes insights from the research paper “GEO: Generative Engine Optimization” by Pranjal Aggarwal, Vishvak Murahari, Tanmay Rajpurohit, Ashwin Kalyan, Karthik Narasimhan, and Ameet Deshpande (KDD ’24, August 25–29, 2024, Barcelona, Spain). You can read the full paper at</em>: <a href="https://generative-engines.com/GEO/">https://generative-engines.com/GEO/</a></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://differ.blog/inplainenglish"><strong>Differ</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6729080ba9a8" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/how-generative-engines-are-rewriting-search-literally-6729080ba9a8">How Generative Engines Are Rewriting Search -  Literally!</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[5 mistakes I made with my indie-project that you should avoid repeating]]></title>
            <link>https://medium.com/@souravray/5-mistakes-i-made-with-my-indie-project-that-you-should-avoid-repeating-9173eab5e55e?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/9173eab5e55e</guid>
            <category><![CDATA[indiedev]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Fri, 29 May 2020 05:09:00 GMT</pubDate>
            <atom:updated>2020-07-10T09:35:36.104Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*Fd7bnOVOQNfU5ePN2T6PLQ.png" /></figure><p>This was originally posted in the <a href="https://www.indiehackers.com/">Indie Hacker</a> community — <a href="https://www.indiehackers.com/post/5-mistakes-i-made-with-my-latest-indie-project-that-you-should-avoid-repeating-70e0c9470a">https://www.indiehackers.com/post/5-mistakes-i-made-with-my-latest-indie-project-that-you-should-avoid-repeating-70e0c9470a</a> . I am re-posting it here for those who are not on the <a href="https://www.indiehackers.com/">Indie Hacker</a>.</p><p>In April I started building <a href="https://tinydojo.com/">Tiny Dojo</a> as a 2 weeks hack to help independent fitness instructors to run their business online. It quickly spun into a full-time project, which is still an inch behind the beta release after 6 weeks of developments and redevelopments. I made some mistakes that you shouldn’t, so I thought to jot them down here.</p><h3>1# Attempted to build something too complex</h3><p>If your project has more than 3 screens (including the landing page) or more than 10 independent visual components, your a doing just more than a side project. Sometimes an idea looks deceptively simple to implement but during development, it leads to more complex use cases. Use a pen-paper wire-framing to validate your idea. If you still want to pursue it, set a more realistic time-frame for yourself.</p><h3>2# Counted on unproven collaborators</h3><p>If you are dependent on collaborations for some reason (project complexity or skill gap), be sure that your associates also have the same level of passion for the project, and willing to contribute much as you. You cannot be both the Quarterback and the Cheerleader at the same time. Driving an uninspired team will only slow you down. If you ever get into a situation like that, cut them loose as quickly as possible.</p><h3>3# Building solutions for demography that you vaguely understand</h3><p>I am a repeat offender here. I jumped into ideas without considering whether I am best placed to understand the end-users reality. For an indie project, it is too much burden. You need constant effort to reach out to potential users and get their feedback, else you end up building something that nobody wants.</p><h3>4# Not chalking out an incremental release plan</h3><p>It is tempting to incorporate all your initial ideas into the first-cut. Especially for the side-projects, since you considered them trivial. If you have avoided making the first mistake, then you are better placed to understand the true complexity. Break down your initial idea into 2–3 incremental releases. Have a plan B for things that you are not sure of.</p><h3>5# Not getting out of the developer’s mindset fast</h3><p>This is the hardest part of being an indie developer. Some days back <a href="https://twitter.com/hnshah/status/1262621271562452994">Hiten Shah twitted </a>that there is always a choice of developing fewer features and releasing faster. Though we all will agree with him but putting it in practice is harder than it sounds. The de-facto developer instinct doesn’t drive you to the same direction. You should set a rational plan and stick to it. It might be painful to ship half-becked features, but it is better than nada.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9173eab5e55e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My  10 Days Micro Startup Challenge]]></title>
            <link>https://medium.com/@souravray/my-10-days-micro-startup-challenge-f75d71c1c78d?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/f75d71c1c78d</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[focusing]]></category>
            <category><![CDATA[monologue]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Tue, 02 Jul 2019 04:14:27 GMT</pubDate>
            <atom:updated>2019-07-05T04:03:57.920Z</atom:updated>
            <content:encoded><![CDATA[<h3>My 10 Days Micro Startup Challenge</h3><p>Moving from working on a side-project to building a micro-startup, is a huge leap. Unlike startups, side-project doesn’t require a full-hearted commitment. In fact, the count of abandoned projects on my repositories will outnumber medals in any Olympian’s trophy cabinet.</p><p>In the past, I have tried building my own startups, at various scale, and I am still far away from cracking the code. For years, I am running a technology consulting business, where I help my clients to give shape to their complex startup ideas.</p><p>Consulting is easy, there is not much ambiguity in terms of direction and priorities. On the other hand, doing a single person startup is much more onerous. One needs to wear multiple hats and keep the balance between each role. The hardest part of building a startup is to keep yourself motivated until you see people are really using it.</p><p>From my earlier adventures into the startup worlds, I learned that keeping the goals small and achievable reduces chances of failing. I set up a goal to build the project and acquire initial users in the next 10 days. It is still harder than it sounds. The major problem I faced in all my projects is time. So, I keep aside 10 days from client work to beam my energy solely into the project.</p><h3>The Beginning</h3><p>To retain impulse and focus throughout the course of building the startup, I have set-up, two visual boards. One is to keep me aligned with the motivation until the end, and the other to help me to go through the daily grind. To keep myself honest with the effort, I will update this post with a daily log for the next 10 days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*PANy1Gns1Lw1FuPjg2FidA.png" /></figure><p>This is going to be an exciting adventure, I am not here just to enjoy the climb, but also to reach the summit at a fast and steady pace.</p><h3>The Idea</h3><p>I have had sorted a bunch of ideas before starting the challenge. I choose the final one from them based on the following criteria,<br>1. If the project is simple enough to turn into a full-featured application within a week? <br>2. Find if there is a gap between the project requirements and my skills. If any, then how fast I can close the gap?<br>3. Checked <a href="http://www.producthunt.co/">producthunt</a> for a similar application. Figure out what will be my biggest differentiator from the competition. <br>4. Asked myself whether I will use the product day to day?<br>5. Asked a few potential pro-users, whether they will use the product, and will they like to pay for the service?</p><blockquote>Eventually, I decided to work on building a platform to add auto-updating social feeds into the email signature. Email signatures are underrated, underutilized space. It can be a great place to showcase creative works or extend social media campaign. A social feed in an email can increase the outreach of the campaign by many folds.</blockquote><p>I am yet to come up with a name for the project. So, I have decided to crowdsource it. I set up a trello page to get ideas and feedback from you. You can help me to finalize a name here 👇🏼</p><figure><a href="https://trello.com/b/4PYEWnqw/name-the-project"><img alt="" src="https://cdn-images-1.medium.com/max/322/1*jnnKqBNHpTs6vK_pUJqhTQ.png" /></a><figcaption>Propose a name or upvote one from the existing list</figcaption></figure><h3>Day #1</h3><p>After finalizing the project, the first task was to build a prototype to check the technical feasibility. I made a quick <em>CLI</em> version for the concept. The next hurdle would be, putting up a <em>UI</em> interface to it.</p><p>It will be a huge learning curve for me since I am not developing web <em>UI</em> for a very long time. I have to choose between <em>UI</em> frameworks — <em>Angular</em>, <em>React</em>, and <em>Vue</em>. <em>React</em> seemed too opinionated to my liking, so I finally settled with <em>Vue</em>. I quickly grabbed an online course from <a href="https://www.vuemastery.com/"><em>Vue Mastery</em></a>, and went through the tutorials on Vue and Vuex. This helped me to speed up learning. Finally, at the end of the day, I glued up a project structure for the frontend.</p><h3>Day #2</h3><p>The second day started by putting up a wireframe for a couple of initial screens. I used <a href="https://www.lucidchart.com/">lucidchart.com</a> to prepare some nifty mocks. These mocks were served as the blueprint for planning and structuring Vue components. <br> <br>Next, I moved on to integrate the Vue app with Google Authentication, but soon realized the deviousness of the task, which looks rather simple at the beginning. Things went down to the rabbit hole very quickly, and I lost a significant amount of time. Finally this <a href="https://medium.com/@thomas.reinecke/google-oauth2-with-vuejs-and-vert-x-6c9d9e617bf">article</a> by <a href="https://medium.com/@thomas.reinecke">Thomas Reinecke</a> saved the day.<br> <br>I skipped a few other planned tasks because of the unavailability of the Instagram API and spent the rest of the day on learning some advanced concepts of Vue. Especially I took the lessons on <a href="https://www.vuemastery.com/courses/token-based-authentication/intro-to-authentication">Token Based Authentication</a> at Vue Mastery. Nevertheless, the day’s goal remained underachieved.</p><h3>Day #3</h3><p>The day three resumed with the backlogs from the previous day. I started putting up UI components, and the application began to look like the mock. By the day end, a few UI elements were glued with the backend APIs. On the server front, I added a couple of microservices. One of them is the email template compiler, it will be going to be my next focus area. Also, it is time to add some branding to the otherwise dull looking app.</p><blockquote>Thank you for reading.</blockquote><blockquote>If you like the article then don’t forget to 👏🏼<br>If you want to get into contact, you can find me on twitter — <a href="http://twitter.com/souravray">@souravray</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f75d71c1c78d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[cmd meltdown: I know that command!]]></title>
            <link>https://medium.com/hackernoon/cmd-meltdown-i-know-that-command-5a4b31aeb0ef?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a4b31aeb0ef</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Thu, 16 Mar 2017 16:45:09 GMT</pubDate>
            <atom:updated>2017-03-16T16:49:16.324Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*B-049-bhKmPVA_6AVBEMBQ.png" /><figcaption>Command meltdown</figcaption></figure><p>Can you relate yourself to him? I can!</p><p>Over the years I have tried few nifty hacks to stay productive with command line tools. I tried to keep my terminal history clean, by padding white space on repetitive commands. Maintained a bunch of .sh files for fancy one-line commands. Kept useful commands in shared note.</p><p>It was fine for a while, but soon I ran into trouble. I started working on multiple devices and realized that command line histories are not portable. Shell scripts need to be backed up in a version control system and searching capabilities are very limited. Plus, Shared notes tend to become messy pretty easily.</p><p><em>But I will prevail. I am trying to find a better solution to this problem. This is where I need your help making terminal way more efficient. Please fill out this </em><a href="https://www.surveymonkey.com/r/J8G8H5J"><strong>two-minute survey</strong></a><em> or drop a comment below.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a4b31aeb0ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/cmd-meltdown-i-know-that-command-5a4b31aeb0ef">cmd meltdown: I know that command!</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decision-making for startups : the Swadharma way]]></title>
            <link>https://medium.com/@souravray/decision-making-for-startups-the-swadharma-way-70ff317efce9?source=rss-7230593c5277------2</link>
            <guid isPermaLink="false">https://medium.com/p/70ff317efce9</guid>
            <dc:creator><![CDATA[Sourav Ray]]></dc:creator>
            <pubDate>Sat, 01 Feb 2014 02:53:05 GMT</pubDate>
            <atom:updated>2014-02-11T19:44:29.093Z</atom:updated>
            <content:encoded><![CDATA[<p>In 2011 I started <em>MilkFlux</em> and later <a href="https://angel.co/foodkite"><em>Foodkite</em></a><em> ;</em> within a year series of bad decisions led us to a disastrous end. I never repent of my failure, it is the greatest learning of my life. For a year I wondered, if I could made those decisions right. Slowly I realize, that outcomes of our decisions are seldom in our control, but we can minimize dreadful consequences if we assess them in advance.</p><p>A<em> good decision</em> is essentially not always <em>‘the right decision</em>’. A good decision is one that doesn&#39;t make you feel hurt, even when the outcome is not positive. For long time I was influenced by this <a href="http://venturehacks.com/articles/decision-making">excellent pos</a>t by <a href="https://angel.co/nivi">Nivi</a> on ‘Venture Hack’. In my attempt to make decision with mathematical precision, I mostly encountered failure. Reason was simple, the iterative approach of decision making doesn&#39;t safeguard you against the chain of consequences triggered by one bad decision. It is as crude feed back loop, that forecasts outcomes assuming all other parameters would remain constant forever. It can be mathematically corrected, refined and put at work with great precision. Such a decision making system would also be slow, clumsy and ineffective for startups. Decision making process for startup should lean and effective.</p><p><em>Swadharma </em>is one of the principal lessons of the Bhagavad Gita, philosophical base of Hinduism. I got introduced to this <em>slick ancient hack</em> of decision making by a corporate veteran. My initial skepticism was “can a tool of slow moving corporate machinery really be fitted into a startup scheme?”. By the end of his presentation I knew, that I would never make a decision other than the ‘Swadharma way’.</p><p>If <em>Karma </em>can be imagined<em> </em>as a scalar unit of one’s actions, then <em>Swadhrama </em>or <em>Dharma </em>is the vector of consciousness of a person. The <em>Karmic </em>model is well adopted among startups. <em>Karma </em>is good tool for quantifying executions and actionables, while idea of using <em>karma </em>to evaluate decisions is flawed. Decisions should be made with a clear direction. You can imagine <em>Dharma </em>as the cross-staff for decision making. In <em>Hindu </em>philosophy <em>Dharma</em> and <em>Karma</em> complements each other, the same principles can also be implied to startup processes.</p><h4><strong>Understanding Dharma</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*em9lO8hKmBPSI5zoIpnXfQ.png" /></figure><p><em>Dharma </em>has three basic dimensions - Larger Interest, Duty and Aptitude. Any act can be plotted based on the three dimensions of Dharma. An act will be -</p><p>A. A responsibility, if it fulfill the duty of an individual or a group and also benefits a larger group of people or an establishment.</p><p>B. An unethical act or <strong><em>Adharma</em></strong>, if it fulfill the duty of an individual or a group and matches with their ability, but fail to benefit others.</p><p>C. A hobby, if the act matches with individuals aptitude and either in line or neutral to larger interest.</p><p>D. <strong><em>Swadharma</em></strong>, if it fulfills all three aspects of <em>Dharma</em></p><h4>How Swadharma can help s<strong>tartups</strong> to make good decisions</h4><p>Your startup karma is based on the kind of decision you make. While a good decision will be close to <em>Swadharma</em>, a bad decision will be close to <em>Adharma</em>.</p><p>The fundamental idea of a ‘startup’ is a perfect example of <em>Swadharma</em>. Startup founders are expected to capitalize their <strong><em>ability </em></strong>to innovate (<strong><em>duty</em></strong>) products and services that will <strong><em>benefit </em></strong>many.</p><p>While making a decision for your startup, you should have a clear idea of who would be the largest possible beneficiaries. Based on the issue the immediate beneficiaries could be investors, users, partners, employees etc, but it shouldn&#39;t conflict with the interest of the organization.</p><p>Taking a decision that allows you to divert from your duties, could potentially be a bad decision. Such a decision are not always bad, but should be made with careful observations.</p><h4>Art of reaching Swadharma</h4><p>Reaching <em>Swadharma </em>requires continuous conscious effort. In many situation the choice of aptitude and duty are mutually exclusive. While you are trying to reach <em>Swadharma</em>, you will require to perform many acts of responsibilities before achieving the goal.</p><p>The rules of thumb are -</p><ul><li>Perform no act without a clear beneficiary.</li><li>Prioritize duty over knack and interest.</li><li>Build a team with diverse skills that complement each other.</li><li>Empower people to take their own decisions.</li><li>Be patient.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*CjXL45eh5fXa5UUEb1ZZZg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70ff317efce9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>