<?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 Vivekchavan on Medium]]></title>
        <description><![CDATA[Stories by Vivekchavan on Medium]]></description>
        <link>https://medium.com/@vivek888chavan?source=rss-6887ac1e14e7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2ln-SQ7ss0N00d1u</url>
            <title>Stories by Vivekchavan on Medium</title>
            <link>https://medium.com/@vivek888chavan?source=rss-6887ac1e14e7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:40:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vivek888chavan/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[how to build your first mcp server and publish on npm]]></title>
            <link>https://medium.com/@vivek888chavan/how-to-build-your-first-mcp-server-and-publish-on-npm-6b9df8264421?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9df8264421</guid>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Thu, 08 May 2025 12:36:42 GMT</pubDate>
            <atom:updated>2025-05-08T12:36:42.418Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, I’ll walk you through:</p><ul><li>Setting up your first MCP server</li><li>Running it locally</li><li>Publishing it to npm</li><li>Running a published MCP server</li></ul><p>I’ve also created a dedicated YouTube video where I demonstrate how I built twitter-mcp using TypeScript.</p><p><strong>Video Link:</strong> <a href="https://youtu.be/dqnF1E8Kja4?feature=shared">[Build your first MCP Server in TypeScript — YouTube]</a></p><p>The use case is that a user can tweet directly from the cursor. I’ve used the official Twitter API for this functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b-1bWsd6zeQ78QYonDzOWQ.png" /></figure><h3>Running local mcp server</h3><h4>When running the local mcp in windsurf we have to configure windsurf mcp json file like these</h4><pre>{<br>    &quot;mcpServers&quot;: {<br>        &quot;twitter-mcp&quot;: {<br>            &quot;command&quot;: &quot;node&quot;,<br>            &quot;args&quot;: [&quot;E:\\cursor\\mcp-servers\\tweet-mcp\\twitter-mcp\\dist\\index.js&quot;, &quot;--transport&quot;, &quot;stdio&quot;],<br>            &quot;env&quot;: {<br>                &quot;API_KEY&quot;: &quot;&quot;,<br>                &quot;API_SECRET_KEY&quot;: &quot;&quot;,<br>                &quot;ACCESS_TOKEN&quot;: &quot;&quot;,<br>                &quot;ACCESS_TOKEN_SECRET&quot;: &quot;&quot;<br>              }<br>          }<br>    }<br>  }</pre><p>In args we have to give the absolute file path .</p><p><strong>When running the local mcp in cursor we have to configure windsurf mcp json file like these</strong></p><pre> &quot;mcpServers&quot;: {<br>    &quot;twitter-mcp&quot;: {<br>      &quot;transport&quot;: &quot;stdio&quot;,<br>      &quot;command&quot;: &quot;node E:\\cursor\\mcp-servers\\tweet-mcp\\twitter-mcp\\dist\\index.js&quot;,<br>       &quot;env&quot;: {<br>                &quot;API_KEY&quot;: &quot;&quot;,<br>                &quot;API_SECRET_KEY&quot;: &quot;&quot;,<br>                &quot;ACCESS_TOKEN&quot;: &quot;&quot;,<br>                &quot;ACCESS_TOKEN_SECRET&quot;: &quot;&quot;<br>              }  <br>            }<br>          }</pre><h3>Before publishing our local mcp to npm need to follow these steps</h3><p>Link of published version of twitter-mcp : <a href="https://www.npmjs.com/package/twitter-mcp">twitter-mcp — npm</a></p><ul><li>configure your package json file correctly , bin command and main entry point, make sure your version is unique everytime you publish a new version</li></ul><p>example package json file</p><pre>{<br>  &quot;name&quot;: &quot;twitter-mcp&quot;,<br>  &quot;version&quot;: &quot;0.1.1&quot;,<br>  &quot;description&quot;: &quot;A simple MCP server for posting tweets.&quot;,<br>  &quot;type&quot;: &quot;module&quot;,<br>  &quot;main&quot;: &quot;dist/index.js&quot;,<br>  &quot;bin&quot;: {<br>    &quot;twitter-mcp&quot;: &quot;./dist/index.js&quot;<br>  },<br>  &quot;files&quot;: [<br>    &quot;dist&quot;,<br>    &quot;README.md&quot;<br>  ],<br>  &quot;scripts&quot;: {<br>    &quot;build&quot;: &quot;tsc&quot;,<br>    &quot;start&quot;: &quot;node dist/index.js&quot;,<br>    &quot;prepublishOnly&quot;: &quot;npm run build&quot;,<br>    &quot;inspect&quot;: &quot;npx @modelcontextprotocol/inspector node dist/index.js&quot;<br><br>  },<br>  &quot;keywords&quot;: [<br>    &quot;mcp&quot;,<br>    &quot;modelcontextprotocol&quot;,<br>    &quot;server&quot;,<br>    &quot;twitter&quot;,<br>    &quot;claude&quot;<br>  ],<br>  &quot;author&quot;: &quot;&quot;,<br>  &quot;license&quot;: &quot;ISC&quot;,<br>  &quot;dependencies&quot;: {<br>    &quot;@modelcontextprotocol/sdk&quot;: &quot;0.6.0&quot;,<br>    &quot;dotenv&quot;: &quot;^16.4.7&quot;,<br>    &quot;twitter-api-v2&quot;: &quot;^1.18.2&quot;,<br>    &quot;zod&quot;: &quot;^3.24.0&quot;<br>  },<br>  &quot;repository&quot;: {<br>    &quot;type&quot;: &quot;git&quot;,<br>    &quot;url&quot;: &quot;git+https://github.com/Vivek7038/twitter-mcp&quot;<br>  },<br>  &quot;devDependencies&quot;: {<br>    &quot;@types/node&quot;: &quot;^20.11.24&quot;,<br>    &quot;typescript&quot;: &quot;^5.8.3&quot;<br>  }<br>}</pre><p>Run these commands in your terminal from the root of your project</p><ul><li>npm login (login to your npm account)</li><li>npm run build (will create index.js in dist folder)</li><li>npm publish</li></ul><h3>for running published version which is on npm in windsurf / cursor just add below code in windsurf/cursor mcp json</h3><pre>{<br>    &quot;mcpServers&quot;: {<br>        &quot;twitter-mcp&quot;: {<br>            &quot;command&quot;: &quot;npx&quot;,<br>            &quot;args&quot;: [<br>                &quot;-y&quot;,<br>                &quot;twitter-mcp&quot;<br>            ],<br>            &quot;env&quot;: {<br>                &quot;API_KEY&quot;: &quot;&quot;,<br>                &quot;API_SECRET_KEY&quot;: &quot;&quot;,<br>                &quot;ACCESS_TOKEN&quot;: &quot;&quot;,<br>                &quot;ACCESS_TOKEN_SECRET&quot;: &quot;&quot;<br>              } <br>        }<br>    }<br><br>}</pre><p>In both mcp clients a green dot will be there when your configuration is correct</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*4esvAu5cdkvBzy49P1ytAw.png" /></figure><p>Would love to hear your thoughts or blog topic suggestions!<br>Reach out to me on Twitter: <a href="https://x.com/devloperVivek">https://x.com/devloperVivek</a> 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b9df8264421" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Created My First VS Code Extension]]></title>
            <link>https://medium.com/@vivek888chavan/how-i-created-my-first-vs-code-extension-0a46610ef1cf?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a46610ef1cf</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Fri, 21 Mar 2025 04:33:14 GMT</pubDate>
            <atom:updated>2025-03-21T04:34:17.437Z</atom:updated>
            <content:encoded><![CDATA[<h3>Problem Statement</h3><p>I built <a href="https://marketplace.visualstudio.com/items?itemName=VivekChavan.breakme"><strong>Breakme</strong> </a>out of my own need to maintain a healthy work routine while working remotely. Often, I found myself coding for over three hours without a break, which started affecting my health. This personal challenge inspired me to create a simple yet effective <strong>break reminder extension</strong>.</p><p>I focused on solving <strong>one niche problem</strong> rather than overengineering with unnecessary features. The goal was clear: <strong>build a lightweight extension that helps developers take regular breaks.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*I_5k7S7jht2e3-VDZJo-0g.png" /></figure><h3>Must-Have Features</h3><p>✅ <strong>Default 20-Minute Timer</strong> — Automatically reminds you to take a break every 20 minutes to maintain a healthy work rhythm.</p><p>⚙️ <strong>Customizable Timer</strong> — Set your own break intervals to match your workflow and preferences.</p><p>📅 <strong>Preset Time Options</strong> — Quickly choose from predefined break durations for convenience.</p><h3><strong>Where to Start?</strong></h3><p>Since this was my <strong>first time</strong> building a VS Code extension, I began by researching existing extensions with similar features. After some exploration, I found an <strong>open-source project</strong> that closely aligned with my idea.</p><p>Instead of starting from scratch, I <strong>cloned the repo</strong>, removed the unnecessary parts, and used it as a <strong>starting point</strong>. This saved me a lot of time, and I highly recommend this approach for beginners.</p><p>🔗 <strong>Open-source project I used</strong>:[<a href="https://github.com/chukusuccess/Coding-Break-Extension">Link</a>]</p><p>🔗 <strong>VS Code extension starter template</strong>: [<a href="https://github.com/antfu/starter-vscode">Link</a>]</p><h3><strong>Development Process</strong></h3><p>With the help of <strong>Cursor AI</strong> and <strong>ChatGPT</strong>, I started adding my custom features on top of the existing project. I also experimented with <strong>Windsurf</strong>, but it introduced new issues, so I eventually stopped using it.</p><p>Config window</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UcagQtR-nr5AFB9KiVBfwA.png" /></figure><p>One feature I <strong>still haven’t added</strong> is a <strong>notification sound</strong> when the reminder pops up. This is something I plan to include in the next release.</p><p>After some trial and error, I was able to complete the <strong>MVP features within a few hours.</strong></p><h3><strong>How to Release a VS Code Extension?</strong></h3><p>There are <strong>two ways</strong> to publish a VS Code extension:</p><h3>1️⃣ Generate a .vsix file locally and manually upload it to the VS Code Marketplace</h3><p>This method is straightforward and requires minimal setup.</p><h3>2️⃣ Generate a .vsix file and publish directly from the terminal using a personal access token</h3><p>This is a faster and automated way to publish, but it requires configuring authentication.</p><p><strong>Steps to Publish (Manual Upload Method I Used)</strong></p><p>1️⃣ <strong>Install the VS Code extension publishing tool</strong></p><pre>npm install -g @vscode/vsce</pre><pre>$ cd myExtension<br>$ vsce package</pre><p>These will create a vsix file in your root folder with some version mentioned in your package.json along with extension name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*SGffX7nfj4y7t31L7looSg.png" /></figure><p><strong>Note:</strong> For every new release, you need to update the version in package.json before uploading the .vsix file again.</p><p>3️⃣ <strong>Upload to the VS Code Marketplace</strong></p><ul><li>Go to the <a href="https://marketplace.visualstudio.com/">VS Code Marketplace</a></li><li>Click <strong>New Extension</strong></li><li>Select <strong>Visual Studio Code</strong></li><li>Upload the .vsix file</li><li>Hit <strong>Publish</strong> 🎉</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORpVLZwB9K6fKcp4LD3JeQ.png" /></figure><h3>Final Thoughts</h3><p>Building my first VS Code extension was a <strong>fun and insightful</strong> experience. It showed me how small, focused projects can solve real problems effectively. If you’re thinking about creating your own extension, <strong>start small, find an open-source project to reference, and build on top of it.</strong></p><p>Would love to hear your thoughts or feature requests!<br> Reach out to me on Twitter: <a href="https://x.com/devloperVivek">https://x.com/devloperVivek</a> 🚀</p><p>Breakme Download Link : <a href="https://marketplace.visualstudio.com/items?itemName=VivekChavan.breakme">Breakme — Visual Studio Marketplace</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a46610ef1cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Frontend Interview Preparation Guide]]></title>
            <link>https://medium.com/@vivek888chavan/frontend-interview-preparation-guide-0b516c2a531b?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b516c2a531b</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[interview-questions]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Sun, 01 Sep 2024 17:26:13 GMT</pubDate>
            <atom:updated>2024-09-01T17:26:13.827Z</atom:updated>
            <content:encoded><![CDATA[<h4>all ask same questions</h4><p>Over the Past 2 years i have given multiple interviews at startups for junior frontend developer roles for both internships and full time role. In all those there are some defined set of rounds and concepts which are repetitive. I will be sharing interview topics , and concepts along with resources to prepare them in this article.</p><h3>React.js</h3><ul><li><strong>Folder Structure</strong>: Describe the best practices for structuring a React.js project.</li><li><strong>Props Drilling</strong>: How to manage deeply nested props in React and alternative solutions.</li><li><strong>React State</strong>: What is state, props in React, and why is it important?</li><li><strong>JSX vs HTML</strong>: Are JSX and HTML the same? Differences and similarities.</li><li>Reconciliation</li><li><strong>Key React Hooks</strong>: Explanation of the six most important hooks in React:</li><li>useState</li><li>useEffect</li><li>useMemo</li><li>useContext</li><li>useRef</li><li>useCallback</li><li><strong>Custom React Hooks</strong>: Explanation and code examples for useToggle and useEscape.</li><li><strong>Custom Hooks Naming Conventions</strong>: Importance of consistent naming conventions for hooks, states, and functions.</li><li>CSR and SSR</li></ul><p><strong>I usually follow these resources</strong></p><p><a href="https://www.youtube.com/playlist?list=PLApy4UwQM3UrZsBTY111R6P4frt6WK-G2"><strong>React hooks</strong></a><strong><br></strong><a href="https://dev.to/itswillt/folder-structures-in-react-projects-3dp8"><strong>Folder structure </strong></a><strong><br></strong><a href="https://dev.to/arafat4693/15-useful-react-custom-hooks-that-you-can-use-in-any-project-2ll8"><strong>Custom Hooks</strong></a></p><h4><a href="https://github.com/chetannada/Namaste-React"><strong>Namaste React Notes</strong></a></h4><p><a href="https://www.newtonflash.com/technology/front-end-naming-conventions/"><strong>Naming conventions</strong></a></p><p>Also refer to popular open source projects to understand folder structure. protonmail, highstorm , social echo, idurer erp crm , and cal.com are some of the best projects to learn best practices for reactjs/next.</p><p><strong>Note :</strong> Try to follow a structure out of those across all of your personal projects . Folder structure matters a lot in terms of clearing the assignment round .</p><h3>JavaScript Concepts</h3><ul><li><strong>Variables</strong>: Explain the differences between let, const, and var.</li><li><strong>Document Object Model (DOM)</strong>: What is the DOM, and how does it interact with JavaScript?</li><li><strong>APIs</strong>: What is an API, and how do you use it in frontend development?</li><li><strong>Client-Side Storage Methods</strong>: Overview of local storage, session storage, and other client-side storage methods.</li><li><strong>Web Fundamentals</strong></li><li>JS Polyfills</li><li><strong>bind using </strong><strong>call/apply</strong></li><li><strong>reduce</strong></li><li><strong>reduceRight</strong></li><li><strong>map</strong></li><li><strong>filter</strong></li><li><strong>find</strong></li><li><strong>apply using </strong><strong>call</strong></li><li><strong>call using </strong><strong>apply</strong></li><li><strong>Promise</strong></li><li><strong>setTimeout</strong></li><li><strong>setInterval</strong></li><li>reverse</li><li><strong>Promises and Async/Await</strong>: Handling asynchronous operations.</li><li>Implement a polyfill for a JavaScript function in reverse order.</li></ul><p><strong>Resources :</strong></p><p><a href="https://javascript.info/"><strong>https://javascript.info/</strong></a></p><p><a href="https://youtube.com/playlist?list=PLlasXeu85E9cQ32gLCvAvr9vNaUccPVNP&amp;feature=shared"><strong>Namaste Javascript on Youtube</strong></a></p><p><a href="https://github.com/alok722/namaste-javascript-notes"><strong>Namaste Javascript Notes</strong></a></p><p><a href="https://youtu.be/Th3rZjfKKhI?feature=shared"><strong>Javascript Polyfills</strong></a></p><p><a href="https://github.com/sudheerj/reactjs-interview-questions"><strong>Theory Questions</strong></a></p><h3>System Design</h3><ul><li><strong>Retries and Payment Systems</strong>: Discuss how you would design a retry mechanism in a payment system, using examples like food delivery or travel booking platforms.</li><li>Ai Youtube Video Summery Application (concepts like <a href="https://www.cloudflare.com/learning/cdn/what-is-a-cdn/">cdn </a>, video transcript , client server architecture , caching )</li></ul><h3>Problem-Solving and Algorithms</h3><ol><li><strong>Array Manipulation</strong>: Write a function to return the most frequent number from a given array.(<a href="https://leetcode.com/problems/top-k-frequent-elements/description/">link</a>)</li><li><strong>Concurrency in JavaScript</strong>: How would you make 100 API calls concurrently in JavaScript?(<a href="https://medium.com/codex/running-concurrent-requests-with-async-await-and-promise-all-daaca1b5da4d">link</a>)(concept-promise.all)</li></ol><h3><strong>Machine Coding / Assignments Round Questions</strong></h3><ul><li><strong>Countdown</strong></li><li><strong>Todolist</strong></li><li><strong>Custom Pagination</strong></li><li><strong>Job Builder</strong></li><li><strong>Weather App</strong></li><li><strong>Authentication System</strong></li><li><strong>Form Validation</strong></li><li><strong>Custom Toast</strong></li><li><strong>Comments Section with Reply</strong></li></ul><p><strong>Bonus</strong> :</p><ul><li>Optimizing Previously written code in live coding round</li><li>Adding a new feature on top of assignment in machine coding round</li></ul><p><strong>Resources :</strong></p><p><a href="https://devtools.tech/"><strong>devtools Tech</strong></a></p><p><a href="https://github.com/ayush013/ui-bootcamp"><strong>Github Repo</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b516c2a531b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Actually Matters in Your 20s]]></title>
            <link>https://medium.com/@vivek888chavan/what-actually-matters-in-your-20s-cdcdd95aeb0b?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdcdd95aeb0b</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Tue, 11 Jun 2024 14:41:17 GMT</pubDate>
            <atom:updated>2024-06-11T14:41:17.993Z</atom:updated>
            <content:encoded><![CDATA[<h4>Key areas to invest</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oKFxFbCTzd64rYVUbJRxuA.jpeg" /></figure><p>I turned 21 recently and I noticed a significant change in my perspective about life. These 10 years will decide your 30s and 40s.</p><p>I am still in my 20s and there is so much I need to figure out but there are some observations and patterns I have in people around me from which I can derive some conclusions about what should be the right thing to do.</p><h3>Explore as much as you can early on</h3><p>Masses always follow what is already taught or known but that only sometimes leads you to a better place. So early on it’s better to experiment with a fast pace. The whole point is figuring out what you want from your life.</p><h3>Have a failure goal</h3><p>When you are young, you try to do things perfectly but practically the side of that will be procrastination. As out of 100 ideas you have 98 or 99% will be garbage or even if they are not you will fail at executing them. We all have seen a friend who has these fancy startup ideas and discussing them with us for years and eventually, we found out that someone else made that happen. Would you like to be that friend? Ask yourself.</p><h3>Choose your friend circle wisely</h3><p>It’s not like they should be geniuses, but they should be in alignment with your goals, and values. The top 5 people who are around you most time define you. The topics you take seriously, things you care about often come from those people.</p><h3>When in doubt just do the math</h3><p>So simple there will be many situations where you feel confused or blank, being it deciding which college to pursue, degree, which business to start, should i start right now or after one month. Grab a pen and paper and try to get a general idea about what will cost if I choose A B or C. Life is always about the choices you make. Even if not making any choice is also a choice.</p><p>Opportunity cost should always be considered while taking decisions. Writing things down makes you logical and it’s made you better over the years.</p><h3>When the long term is unclear, just make good short-term decisions.</h3><p>There will be times when you have to do some things daily, even if you dislike them, and there is no light ahead in your mind. During those days, be patient. Those days are not permanent. Just focus on taking the single step that will lead you to the next level.</p><h3>Learn from others’ mistakes.</h3><p>This advice sounds simple and repetitive, but if you understand it deeply, you will reach your goal 10x sooner.</p><p>Read biographies and listen to podcasts, especially those of authors. When you meet someone new, online or offline, start asking questions until that person becomes irritated. There is no downside but infinite upside. Always try to relate your problems to the stories you hear. No matter which cool AI comes or where innovation leads us, some principles never change.</p><h3>Study Basic Human Psychology</h3><p>Studying common biases, how habits are developed, and mental health helps us in our relationships, in our careers, and makes us more self-aware.</p><h3>Document your thoughts , ideas , goals</h3><p>Forgetting things is one of the basic natures of humans. Documenting your ideas helps you in three ways:</p><ol><li>If it is good, you can execute it later on.</li><li>If not, you can later make connections between those ideas to create a new one.</li><li>You make space in your mind to create new ideas.</li></ol><p>One of the ideas I have is hiring someone who is good at researching anything and everything.</p><p>At the same time, documenting thoughts helps in self-reflection.</p><p>Two things make you grow faster:</p><ol><li>You are good at reflecting on yourself and your actions.</li><li>People around you are great at giving feedback.</li></ol><p>In my case, I had both and I constantly seek feedback.</p><h3>The art of using information to reach your destination in the shortest amount of time is education.</h3><p>Today we are in the information age. Whatever question you have, most probably its answer is present somewhere on the web, be it YouTube, Google, or any ebook (which are also free). The whole point of educating yourself is to have this ability of critical thinking, figuring out what problem needs to be solved at its core (first principle approach).</p><p>Here is an example (you can try these to become a solution-oriented person): Suppose you want to start a business but don’t have an idea. You can go on Google and find some gaps after reading hundreds of blogs, articles, and watching videos. Now you realize the idea is good but you don’t have enough capital to execute it. You again search “how to do business with no money” and there you find out the concept of validating an idea at low cost. Then you can search about some communities related to your idea niche, promoting your product MVP there, and if it is a service-based business, you can think of finding someone who is already providing that service and connecting them with clients.</p><p>Again, if you get stuck somewhere and feel the need for a mentor, use the same method to get emails and contacts of experts for guidance. Trust me, people are there to help you if you are truly interested in solutions. You might give an excuse like “I don’t know how to find email IDs” or “how to write a cold email that people will reply to,” so simply figure it out from the internet. Ask your mentor what questions you should ask yourself before entering the field, find out your competitors, and if there are none, why no one has done this before you. Learn how to do market research, how to hire employees, how to automate the business, and how to scale it.</p><p>There are endless problems and every problem can be solved efficiently if you know how to use the present information. Now, there are AI chatbots that decrease the effort to search for answers. Using this approach, solve every problem that comes your way. Even if the business fails, you will end up becoming a solution-oriented person.Figuring out the right questions in the first place saves time and time is money. Money is not everything, but more money brings you more choices.</p><p>There are people in every field who take 10 years to reach a destination where someone else from a lower background reaches that level in one year (in entrepreneurship, this is common). I am not here to give you the answer; the question itself is interesting: what makes them win faster? Asking these types of questions again and again starts giving you some insights, some common factors which were in all of them. This questioning exercise develops your mental muscles for critical thinking.</p><h3>Do what’s important to you</h3><p>It is natural for some people but anyhow it’s important to do what’s important for you . Make yourself proud and keep growing there is so much waiting for you ahead.</p><p><strong>Follow me for more such articles. Check out my Twitter profile </strong><a href="https://twitter.com/devloperVivek"><strong>here</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdcdd95aeb0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons from my favourite indian entrepreneur kunal shah]]></title>
            <link>https://medium.com/@vivek888chavan/lessons-from-my-favourite-indian-entrepreneur-kunal-shah-3aaa0ffb91a3?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3aaa0ffb91a3</guid>
            <category><![CDATA[success]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[vivek]]></category>
            <category><![CDATA[kunal-shah]]></category>
            <category><![CDATA[naval-ravikant]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Sat, 11 May 2024 19:32:48 GMT</pubDate>
            <atom:updated>2024-05-13T10:47:54.825Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*svha1eftx3waftVcOpH1xg.jpeg" /></figure><p>Recently saw these <a href="https://youtu.be/o5B59LX8rmY?feature=shared"><strong>podcast</strong></a> of kunal shah . There many insights which are I think i should document for myself . These blog is sort of a summery but not limited to that single podcast. As someone who watched every content related to kunal cannot be so limited while collecting things together .</p><blockquote>Disclaimer: These blog is not for those who don’t have a longer attention span .</blockquote><p>There is a clear pattern i have seen in the way kunal operates .And his every conversation somewhere points to a single word curiosity .</p><p>Importance of asking why questions over how and what can lead you to better place.We often start to go deep in one subject which is most obvious to our profession but it limits us from reaching excellence.It is true as you can’t connect the dots if you don’t have surface level understanding of other fields , specially for entreprenaurs .</p><p><strong>Being shameless is the most important ingredient in ability to connect dots.</strong>Here shameless can be asking for help /not taking criticism personally . Most of the people in india today , do not have done anything great in there life still they care about their status.</p><p>Constantly changing friends and people you are around to evolve constantly.My view here is you don’t need to do that if the your current group of friends are also evolving constantly but that is rare (0.1% chances).</p><p><strong>Success vs. privilege ( Gift of suffering)</strong></p><p>People who come from a lower financial background achives more that priviledged ones. We can justify by these finding out the metrics about background of unicorn founders .</p><p>When comming to 3 most imp things for investing in a startup they are founder’s ability to give everything , knowing about his field of startup more than the investors and market size .</p><h3>importance of knowing your hourly rate</h3><p>These same concept is repeated by naval ravikant and multiple books.</p><h3>value of inefficiency</h3><p><strong>The expertise of decision making is usually in people who have more choices than others.</strong> In fact, according to me, the simplest definition of success is also about having more choices than other people, in that perspective field that you think about.</p><p><strong>So I think (…) using emotions to detect symptoms is great. Using emotions to solve or make decisions is terrible.</strong></p><p><strong>The only thing matters is are you compounding dramatically every year.</strong></p><p>Signs/unique curse of it are</p><p>1 . You are loosing all friends</p><p>2.You will loose attachment to things</p><p>These are some of personal notes i taken over past 2 years .</p><p>Some of the patterns i seen which worked for me also is constantly asking questions one after another when you meet a new person , online or offline . As the there is only upside . (which relates to concept of assymetric results ).</p><p>Another thing can be deciding what are the 5 peoples you want to follow online based on what you want in next 5 years .And when you are clear about those 5 consume everything about them from all channels , if you picked them wisely you will get closer to who you want to become in no time .I am exactly clear about what i learnt from each one of them and what to ignore in them .</p><p>Being absolutely clear about your yes and no about everything makes you focused .These focus eventually creates magical outcomes which people call <strong>luck</strong> . But it’s simple compounding . From solving real world problems to trying to connect information from different sources researching about something genuine or not every small thing you repeat over year compounds . Once it starts paying you it builds a unique character . That character is what <a href="https://www.google.com/search?gs_ssp=eJzj4tVP1zc0TCs2KEjPMs0wYPTiy0ssS8xRKEosy8xOzCsBAJg9CkE&amp;q=naval+ravikant&amp;rlz=1C1CHBF_enIN994IN994&amp;oq=naval+&amp;gs_lcrp=EgZjaHJvbWUqCggBEC4YsQMYgAQyBwgAEAAYjwIyCggBEC4YsQMYgAQyDQgCEAAYgwEYsQMYgAQyDQgDEAAYgwEYsQMYgAQyBwgEEAAYgAQyBggFEEUYQTIGCAYQRRg9MgYIBxBFGDzSAQg0MjIzajBqNKgCALACAA&amp;sourceid=chrome&amp;ie=UTF-8"><strong>naval</strong></a> calls specific knowledge .</p><p><strong>Some questions i ask myself / asked in past in different scenarios which shaped my reality</strong></p><ol><li>Why these worked out for me these time ?</li><li>Why I am choosing these over other 10 options ?</li><li>Why do i failed to achive X in Y time?</li><li>Who can help me out with these task which has higher chances of success ?</li><li>What is the highest ROI thing i should be doing right now ? (actually i started writing because of these question , as writing itself i a high roi thing )</li><li>Is there any way to delegate everything I am doing and pick only task for myself ?</li><li>What are 3 things that gives me energy everyday to work on my vision ?</li><li>How can i fail faster in these idea and make these failure small ?</li><li>What are only 2 things that matters to me from long term perspective ?</li><li>How can i get feedbacks at every stage of my evolution ?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3aaa0ffb91a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn to Say no]]></title>
            <link>https://medium.com/@vivek888chavan/learn-to-say-no-d5e0d11f8a93?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5e0d11f8a93</guid>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Mon, 04 Mar 2024 12:57:16 GMT</pubDate>
            <atom:updated>2024-03-04T12:57:16.769Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of us waste a lot of our time doing things that don’t align with our values , which are not meaningful to us . The topic itself covers a vast number of things . It is always better to feel bad for some seconds when we say no to some friend or close ones prioritizing our most imp things.</p><h3><strong>YOur todo list will not get converted to done list</strong></h3><p>This is clear ,if you don’t have a clarity what are 2–3 most imp things really matters you will end up in bad place . For working professionals suppose you are a freelance developer and you got a project that is not aligned with your skill set or you don’t feel doing it you will end up wasting your time for money . As you can’t be consistent in those type of things.The same applies to startups who are great at product developement . When they try to get into service industry they loose a lot of capital and time as service buisnesses needs a different culture .</p><h3><strong>What you can do</strong></h3><p>First thing when it’s time to say no to others , you can prioritize a time like from morning 9am to afternoon 4pm i will do my own shit , and after that if i get time will go for other’s work . Like for developers it can be reviwing juniors code and giving feedback .Another hack i found helpful is create a image that you are very busy. In my case i am always busy even if it looks like having fun for others.I have a lot meaningful things to do in my free time . From listening some audiobook/podcasts , watching some cool yt videos , reading blogs or just doing nothing (it’s better than doing something just to be nice with others ).</p><p>Second when you have to say no yourself.Confused what does it mean . Let me clear . Many times you get ideas which you think can change your reality.But you need to understand you have only 24 hours . You can’t work on every million doller idea .</p><p>This is the part 1 of these blog, will publish next part soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5e0d11f8a93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to research about about any topic in depth ?]]></title>
            <link>https://medium.com/@vivek888chavan/how-to-research-about-about-any-topic-in-depth-17f34f66e402?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/17f34f66e402</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[efficiency]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Mon, 29 Jan 2024 04:11:47 GMT</pubDate>
            <atom:updated>2024-01-29T04:11:47.650Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to research about about any topic in depth ?</h3><p>We often feel confused while finding information about a certain topic . Whether your goal is create content on some topic or building a project , executing an idea what we lack is information from the right source .</p><blockquote><strong>“Lack of information leads you to failure and abundance of wrong information also leads to same “</strong></blockquote><p>Every time you want to research about an idea , you should must have a clear why . And one more thing is Create a subject that describes your question. <em>For example</em>, if your question is: have a public opinion had any impact on the role of nuclear power in the energy security of Japan, then the subject is: The role of nuclear power in the energy security of Japan</p><blockquote>Imp question to ask is how long do i need to research (sometimes you only need a base knowlege about something )?</blockquote><blockquote><strong>Sites which have some use cases related to these :</strong></blockquote><p>Google scholer (click <a href="https://paperpile.com/g/google-scholar-guide/">here </a>for usecase )</p><p><a href="https://news.ycombinator.com/">Hackernews</a></p><p>Some unconventional methods i use are twitter , reddit , quora , there are endless . You don’t have stick to a single platform . Let me give you an example what will I do , i guess you all can relate with that .</p><p>Suppose I got interested about indie hacking and I want to know more about it . Like if I also want to be an indie hacker .Then I would go to twitter find the top peoples who are in these domain . Pick any one from top 3 of them . Follow through his twitter threads , his site , his blogs .If he has a yt channel screening his playlist , qna’s , community , comment section , what are the common things in all . If the person has written some books , rather than wasting time find some summery of it to get a base idea , if it interests me i would read entire book , else move to another source . The key thing here is we should have a clear goal what value do i want to create at the end of these research . Posting queries like what are the key things i should must know about the topic X in reddit, quora , x and telegram communities often helps .</p><p>Suppose you got a site which is purely based on your topic and you want more perspective simply go an search alternatives of [your current site name] .</p><blockquote>some platforms that provide such features are</blockquote><p><a href="https://www.similarweb.com/"><strong>similarweb.com</strong></a><strong> {</strong>more like these <a href="https://www.semrush.com/website/similarweb.com/competitors/"><strong>here </strong></a><strong>]</strong></p><p>If You can invest a descent amount you can reach out to experts where they charge some minimal amount , for techies <a href="https://topmate.io/">topmate </a>is there . I can’t put here for every domain but trust me , if you find something you will get it .</p><p>They are lots of general questions/queries you can use on google and gpt while searching .</p><p>[<strong>Disclaimer ] </strong>I am not a prompt expert.but here is one i use</p><p>What are 10 things that i should must know if i am an expert in X field</p><p>Another thing is there are some individuals out there who are selling prompt ideas pdf’s , that’s you call at the end .</p><blockquote><strong>Are there specific techniques for organizing and managing research materials efficiently?</strong></blockquote><p>Taking notes , building <a href="https://miro.com/blog/how-mind-map-make-researching-easier/">mindmaps </a>helps a lot as naturally our mind is not set to to remember stuffs . Here is some interesting article on it [<a href="https://interactive.wharton.upenn.edu/learning-insights/why-we-cant-remember-what-we-learn-and-what-to-do-about-it/#:~:text=The%20forgetting%20curve%20shows%20us,later%20plotted%20as%20a%20graph."><strong>Link</strong></a>]</p><p><a href="https://www.notion.so/"><strong>Notion </strong></a>is what i use to save stuffs I want to go back .</p><blockquote><strong>Where to get the common questions of peoples</strong></blockquote><p>Take a look at <a href="https://answerthepublic.com/">AnswerThePublic</a>:</p><blockquote><strong>Hacks to save time of reading and watching</strong></blockquote><p>For youtube using some chrome extensions which summerizes the videos helps a lot or going through timestamps , comment section which a base idea most of the time .</p><p>For Books , i prefer to read their summerize from blogs sites or listening audiobooks (these might not help for technical topics ) .</p><p>For non tech books , podcasts of authors are best .</p><p>My Gmail “newsletters” filter view</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17f34f66e402" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fetching Data in ReactJS the Right Way]]></title>
            <link>https://medium.com/@vivek888chavan/fetching-data-in-reactjs-the-right-way-2f0c38f1fd75?source=rss-6887ac1e14e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f0c38f1fd75</guid>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Vivekchavan]]></dc:creator>
            <pubDate>Tue, 29 Aug 2023 13:25:30 GMT</pubDate>
            <atom:updated>2023-08-29T13:25:30.568Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to fetching data in ReactJS, there are a few things you should keep in mind to do it in the right way.As there are several ways here I am going to explain some of the most common methods:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gJ_KOokDFlEXWncqUKKYeA.png" /></figure><p><strong>Fetch API:</strong></p><p>The Fetch API is a built-in browser API for fetching resources. A basic fetch request looks like the code snippet just take a look at it.</p><pre>async function logMovies() {<br>  const response = await fetch(&quot;http://example.com/movies.json&quot;);<br>  const movies = await response.json();<br>  console.log(movies);<br>}</pre><p>The simplest use of <strong>fetch</strong>() takes one argument — the path to the resource you want to fetch — and does not directly return the JSON response body but instead returns a promise that resolves with a <strong>response</strong> object.</p><p><strong>Axios:</strong></p><p>Axios is a popular library for making HTTP requests from a browser or node.js. It is not part of browser APIs, you have to install it first using the command</p><pre>$ npm install axios</pre><p>then use it in the file where you are fetching data from the API.</p><pre>import axios from &#39;axios&#39;;</pre><blockquote>the important thing to <strong>highlight </strong>here is Axios automatically converts JSON responses into JavaScript objects, whereas Fetch requires you to call .json() on the response.</blockquote><p>But there are some important things we need to consider while fetching data from some external API or HTTP servers, which are loading states, and error messages. With the above two approaches, we have to handle both things using two extra states. Here comes <strong>React Query </strong>into the picture.</p><p>First, you’ll need to install React Query using npm or yarn:</p><pre>npm install react-query</pre><p>Next, you can have to import the useQuery hook from React Query in your component:</p><pre>import { useQuery } from &#39;react-query&#39;;<br>function Example() {<br>  const { isLoading, error, data } = useQuery({<br>    queryKey: [&#39;repoData&#39;],<br>    queryFn: () =&gt;<br>      fetch(&#39;https://api.github.com/repos/TanStack/query&#39;).then(<br>        (res) =&gt; res.json(),<br>      ),<br>  })<br><br>  if (isLoading) return &#39;Loading...&#39;<br><br>  if (error) return &#39;An error has occurred: &#39; + error.message<br><br>  return (<br>    &lt;div&gt;<br>      &lt;h1&gt;{data.name}&lt;/h1&gt;<br>      &lt;p&gt;{data.description}&lt;/p&gt;<br>      &lt;strong&gt;👀 {data.subscribers_count}&lt;/strong&gt;{&#39; &#39;}<br>      &lt;strong&gt;✨ {data.stargazers_count}&lt;/strong&gt;{&#39; &#39;}<br>      &lt;strong&gt;🍴 {data.forks_count}&lt;/strong&gt;<br>    &lt;/div&gt;<br>  )<br>}</pre><p>These examples are taken from official docs you can check that from <a href="https://tanstack.com/query/latest/docs/react/overview">here</a>.</p><p>As you have noticed we are using object destructuring to extract three values that are returned from the <em>useQuery </em>hook. what are those three things are :</p><ul><li>The <strong>isLoading</strong> boolean tracks the status of the data fetch. It starts as true to indicate that the request is in progress. Once the response comes back from the API, isLoading flips to false.</li><li>The <strong>error </strong>object contains details about any errors that happened while contacting the API. If the request is successful, an error will be null.</li><li>The<strong> data</strong> variable holds the actual response payload from the API once it arrives. While waiting for the response, the data is undefined. After a successful fetch, data will contain the JSON response. But on a failed fetch, data remains undefined since no data could be obtained.</li></ul><p>Apart from react-query, there is also a library available which is a smaller library that focuses on providing a simple way to fetch and cache data.</p><p><strong>SWR:</strong></p><p><strong>SWR</strong> (stale-while-revalidate) is also one of the most popular libraries that can be used to manage data fetching in a React application.</p><p>To use <strong>SWR</strong> in a React application, you will need to install the library</p><pre>npm install swr</pre><p>Then you have to import a hook called useSWR at the top of your component .Here is a code snippet of how you might use the useSWR hook to fetch data from an API:</p><pre>import useSWR from &#39;swr&#39;<br> <br>function Profile() {<br>  const { data, error, isLoading } = useSWR(&#39;/api/user&#39;, fetcher)<br> <br>  if (error) return &lt;div&gt;failed to load&lt;/div&gt;<br>  if (isLoading) return &lt;div&gt;loading...&lt;/div&gt;<br>  return &lt;div&gt;hello {data.name}!&lt;/div&gt;<br>}</pre><p>In above code snippet, you will notice that we are destructuring the same values as in react-query, so what is the difference here?</p><p>The main difference between them is that SWR does not have features like pagination, polling, refetching which are inbuilt in react-query.</p><h3>Summary</h3><p>As I explained all the popular ways of fetching data from APIs in React,</p><p>next time make sure you use the most suitable approach based on your requirements.</p><p>That&#39;s all for today. If you’re looking for informative and engaging content on front-end development or to get good at react js, be sure to follow me today.</p><p>Happy Coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f0c38f1fd75" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>