<?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 Siddharth Shinde on Medium]]></title>
        <description><![CDATA[Stories by Siddharth Shinde on Medium]]></description>
        <link>https://medium.com/@sid15shinde?source=rss-baeefdcf9362------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5IEOdKNnN0W1n5U7</url>
            <title>Stories by Siddharth Shinde on Medium</title>
            <link>https://medium.com/@sid15shinde?source=rss-baeefdcf9362------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:36:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sid15shinde/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[A Simple Habit That Helps Me Work Smarter]]></title>
            <link>https://medium.com/@sid15shinde/a-simple-habit-that-helps-me-work-smarter-652948be36b0?source=rss-baeefdcf9362------2</link>
            <guid isPermaLink="false">https://medium.com/p/652948be36b0</guid>
            <dc:creator><![CDATA[Siddharth Shinde]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 17:51:38 GMT</pubDate>
            <atom:updated>2026-03-06T17:51:38.642Z</atom:updated>
            <content:encoded><![CDATA[<p>In everyday life, we often react to problems only after they appear. However, over time I realized that thinking one step ahead can save a lot of time, effort, and frustration. I call this approach <strong>predictive thinking</strong>.</p><p>Predictive thinking simply means trying to anticipate possible situations before they happen. Instead of waiting for challenges to arise, you mentally simulate different outcomes and prepare yourself in advance.</p><h4>How I Use Predictive Thinking at Work</h4><p>One common situation where I apply predictive thinking is when a team lead assigns me a task.</p><p>Instead of immediately starting the work, I first spend a few minutes thinking about the task from multiple angles. I ask myself questions like:</p><ul><li>What could go wrong while doing this task?</li><li>What dependencies might affect this work?</li><li>Do I have all the information required?</li><li>What could delay the completion?</li></ul><p>By imagining these possibilities early, I can prepare for them in advance. Sometimes this means clarifying requirements, preparing additional resources, or breaking the work into smaller steps.</p><h4>Why This Helps Me</h4><p>This small habit gives me several advantages:</p><ol><li><strong>Better Time Management</strong><br> When I anticipate obstacles, I avoid surprises that could delay the task.</li></ol><p><strong>2. Reduced Stress</strong><br> Unexpected problems often create pressure. Preparing in advance reduces that stress.</p><p><strong>3. Higher Work Efficiency</strong><br> By planning ahead, I can work more smoothly without constantly stopping to solve new issues.</p><p><strong>4. Learning from Past Experiences</strong><br> Predictive thinking becomes stronger with experience. Past mistakes help me identify future risks more quickly.</p><h4>A Simple Example</h4><p>Suppose I receive a development task from my team lead. Instead of directly writing code, I first think about possible challenges:</p><ul><li>Is the requirement completely clear?</li><li>Are there any dependencies on other services or APIs?</li><li>Could performance or scalability become an issue?</li><li>Do I need additional testing scenarios?</li></ul><p>By thinking about these factors early, I can prepare solutions before the problem actually appears.</p><h4>Final Thoughts</h4><p>Predictive thinking is not about overthinking or worrying about every possible problem. Instead, it is about <strong>being slightly ahead of the situation</strong>.</p><p>Even spending just a few minutes imagining possible challenges can make work more structured and efficient. Over time, this habit helps improve decision-making, time management, and overall productivity.</p><p>Sometimes the best way to solve problems is to <strong>see them before they arrive.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=652948be36b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Thought Google Maps Directions API Was Enough — Until It Wasn’t]]></title>
            <link>https://medium.com/@sid15shinde/i-thought-google-maps-directions-api-was-enough-until-it-wasnt-4bda6b652680?source=rss-baeefdcf9362------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bda6b652680</guid>
            <category><![CDATA[lessons-learned]]></category>
            <category><![CDATA[google-map-api]]></category>
            <category><![CDATA[direction-service]]></category>
            <category><![CDATA[api-route]]></category>
            <category><![CDATA[technical-analysis]]></category>
            <dc:creator><![CDATA[Siddharth Shinde]]></dc:creator>
            <pubDate>Wed, 04 Mar 2026 07:12:56 GMT</pubDate>
            <atom:updated>2026-03-04T07:12:56.327Z</atom:updated>
            <content:encoded><![CDATA[<p>When I started working with the <strong>Google Maps Platform</strong>, I thought building a dynamic route system would be straightforward.</p><p>I was wrong.</p><h3>The Requirement</h3><p>The feature sounded simple at first:</p><ul><li>Users can add more than 25 to 50 markers.</li><li>The route should automatically update when:</li><li>A marker is added</li><li>A marker is removed</li><li>The route is dragged</li><li>The route must always follow real roads.</li></ul><p>Naturally, I used the <strong>Directions API</strong> with the <a href="https://developers.google.com/maps/documentation/directions">DirectionsRenderer</a>.</p><p>It worked beautifully.</p><p>Until it didn’t.</p><h3>The 25 Waypoint Problem</h3><p>Everything was fine — until users started adding more markers.</p><p>That’s when I hit the first major limitation:</p><p>The Directions API only allows 25 waypoints per request (including origin and destination limits depending on plan).</p><p>And my application allowed users to create routes with <strong>any number of markers</strong>.</p><p>Suddenly:</p><ul><li>Routes failed to render.</li><li>The frontend logic became messy.</li><li>Errors started appearing for larger routes.</li></ul><p>This wasn’t a bug.</p><p>It was a limitation.</p><h3>My First Solution: Splitting the Route</h3><p>To bypass the 25-waypoint limit, I implemented a workaround:</p><ul><li>Split markers into batches (chunks under 25).</li><li>Call multiple <a href="https://developers.google.com/maps/documentation/directions">DirectionsRenderer</a> instances.</li><li>Stitch them together visually to look like one continuous route.</li></ul><p>It worked.</p><p>Kind of.</p><h3>New Problems Appeared:</h3><ul><li>Managing multiple renderers became complex.</li><li>Maintaining route continuity wasn’t clean.</li><li>Updating markers dynamically required recalculating multiple segments.</li><li>Performance started degrading for large routes.</li><li>Dragging behavior became inconsistent.</li></ul><p>At this point, I realized I was fighting the tool instead of using the right one.</p><h3>What I Discovered Later (But Haven’t Implemented Yet):</h3><p>Later, I discovered the newer <strong>Routes API</strong>.</p><p>And this changed everything.</p><p>Unlike the client-side <a href="https://developers.google.com/maps/documentation/directions">DirectionsRenderer</a>, the Routes API:</p><ul><li>Runs on the server side</li><li>Handles waypoint optimization</li><li>Is designed for more advanced routing scenarios</li><li>Avoids the strict 25-waypoint limitation issue in the same way</li></ul><p>Instead of rendering the route directly, it returns:</p><ul><li>Optimized waypoints</li><li>Encoded polylines</li></ul><p>From there, I could:</p><ul><li>Decode the polyline</li><li>Draw it manually on the map</li><li>Ensure it followed real roads</li></ul><p>No <a href="https://developers.google.com/maps/documentation/directions">DirectionsRenderer</a> needed.</p><h3>But There Was a Catch</h3><p>One major feature was missing: <em>No built-in drag-to-edit route like </em><a href="https://developers.google.com/maps/documentation/directions"><em>DirectionsRenderer</em></a><em> provides.</em></p><p>That was a big trade-off.</p><p>However, I realized something important:</p><p>You don’t actually need route dragging — you need route updating.</p><p>So instead of dragging the path directly, I implemented:</p><ul><li>Marker drag events (<a href="https://developers.google.com/maps/documentation/javascript/advanced-markers/draggable-markers">dragend</a>)</li><li>Re-calling the Routes API</li><li>Re-rendering the polyline dynamically</li></ul><p>The user experience remained smooth.</p><p>And the architecture became much cleaner.</p><h3>What I Learned</h3><h3>What This Experience Taught Me</h3><ol><li>API limits directly impact system design.</li><li>Workarounds can increase technical debt.</li><li>Quick solutions may not scale long-term.</li><li>Researching alternatives early can prevent rework later.</li></ol><h3>Final Thoughts</h3><p>At first, I thought this was just about plotting routes.</p><p>But it turned into a lesson about:</p><ul><li>Understanding API limitations early</li><li>Choosing architecture based on scale</li><li>Not over-engineering client-side hacks</li><li>Knowing when to switch tools</li></ul><p>If you’re building a scalable routing system with dynamic markers, carefully evaluate whether <a href="https://developers.google.com/maps/documentation/directions">DirectionsRenderer</a> is enough — or whether the Routes API is a better long-term solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bda6b652680" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>