<?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 Rishi  on Medium]]></title>
        <description><![CDATA[Stories by Rishi  on Medium]]></description>
        <link>https://medium.com/@rishiagrahari36?source=rss-26a2ae9e91bb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Jgk6KohqNb48lyrvGoNyXQ.png</url>
            <title>Stories by Rishi  on Medium</title>
            <link>https://medium.com/@rishiagrahari36?source=rss-26a2ae9e91bb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:12:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rishiagrahari36/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[AI Won’t Replace Your Engineering Skills — But It Will Change How You Use Them]]></title>
            <link>https://medium.com/@rishiagrahari36/ai-wont-replace-your-engineering-skills-but-it-will-change-how-you-use-them-c78e46d355f2?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c78e46d355f2</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[students]]></category>
            <category><![CDATA[fear]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[full-stack-developer]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 13:28:06 GMT</pubDate>
            <atom:updated>2026-10-06T13:28:06.728Z</atom:updated>
            <content:encoded><![CDATA[<p>A few months ago, I was working on a small feature for a project.</p><p>It wasn’t anything extraordinary — just another feature that required me to write some backend logic, connect an API, handle a few edge cases, and test everything.</p><p>I spent quite some time writing the initial code.</p><p>Then I thought:</p><p><strong>“What if I ask AI to help me build this?”</strong></p><p>I opened an AI coding assistant and described what I wanted.</p><p>Within a few seconds, I had a working starting point.</p><p>My first reaction wasn’t excitement.</p><p>It was actually a little uncomfortable.</p><p>I thought:</p><p><strong>“If AI can write this much code in seconds, then what exactly am I supposed to do as an engineer?”</strong></p><p>But after looking at the generated code, I realized something important.</p><p>The AI had written code.</p><p>It had not understood my entire application.</p><p>It didn’t know why my architecture was designed a certain way. It didn’t know which trade-offs mattered for my project. It didn’t know which approach would create problems six months later.</p><p><strong>I still had to think.</strong></p><p>And that changed how I started looking at AI.</p><p>I stopped seeing it as a competitor and started seeing it as a tool.</p><h3>AI Is Not the End of Software Engineering</h3><p>The rise of AI has created a lot of discussion in the software industry.</p><p>Developers are asking:</p><ul><li>Will AI replace software engineers?</li><li>Will companies need fewer developers?</li><li>Is learning programming still worth it?</li><li>If AI can write code, why should I learn to code?</li></ul><p>These are reasonable questions.</p><p>AI can already generate functions, explain code, write tests, find bugs, create documentation, convert code between languages, and even help developers build prototypes remarkably quickly.</p><p>But software engineering has never been only about writing code.</p><p>Writing:</p><pre>function calculateTotal() {<br>    ...<br>}</pre><p>is one part of development.</p><p>Understanding <strong>what should be calculated, why it should be calculated, where this logic belongs, what happens when something fails, how it affects the database, how it scales, and how users will interact with it</strong> is engineering.</p><p>AI can help with the first part.</p><p>The engineer is still responsible for the bigger picture.</p><h3>So, How Should Engineers Think About AI?</h3><p>Instead of asking:</p><blockquote><strong><em>“Will AI replace developers?”</em></strong></blockquote><p>I think a better question is:</p><blockquote><strong><em>“What can I accomplish as a developer if AI handles some of the repetitive work?”</em></strong></blockquote><p>This shift in mindset is important.</p><p>Imagine a developer who normally needs two days to build a prototype.</p><p>With the right AI workflow, perhaps they can create the first version in a few hours.</p><p>That doesn’t mean the developer has become less important.</p><p>It means the developer can spend more time on:</p><ul><li>architecture</li><li>product decisions</li><li>debugging</li><li>security</li><li>performance</li><li>user experience</li><li>business logic</li><li>system design</li><li>reviewing AI-generated code</li></ul><p>AI can reduce the distance between <strong>an idea and a working prototype</strong>.</p><p>And that is a huge opportunity.</p><h3>Start Small: Don’t Try to Become an “AI Engineer”</h3><p>One mistake engineers make is thinking they need to learn everything about AI before using it.</p><p>You don’t.</p><p>If you’re a backend developer, you don’t need to immediately learn neural networks.</p><p>If you’re a frontend developer, you don’t need to start by studying transformer architecture.</p><p>If you’re a full-stack developer, you don’t need to build your own LLM.</p><p>Start with something much simpler:</p><p><strong>Use AI inside the work you already do.</strong></p><p>For example:</p><h3>Writing code</h3><p>Instead of:</p><blockquote><em>“Write a React application.”</em></blockquote><p>Try:</p><blockquote><em>“I have a React component that receives a list of products. I need to filter products by category and price. Here’s my existing component. Suggest the smallest change required.”</em></blockquote><p>The second prompt gives AI context.</p><p>And context is extremely important.</p><h3>Treat AI Like a Junior Developer</h3><p>One mental model I find useful is:</p><blockquote><strong><em>Treat AI like a very fast junior developer.</em></strong></blockquote><p>It can produce a lot of work quickly.</p><p>But you still need to review it.</p><p>Imagine a junior developer sends you a pull request containing 300 lines of code.</p><p>Would you blindly merge it?</p><p>Probably not.</p><p>You would ask:</p><ul><li>Does the code solve the actual problem?</li><li>Is the approach correct?</li><li>Are there security issues?</li><li>What happens with invalid input?</li><li>Is this scalable?</li><li>Is there unnecessary complexity?</li><li>Are the tests sufficient?</li></ul><p>Do exactly the same thing with AI-generated code.</p><p><strong>Generate → Review → Test → Improve</strong></p><p>Not:</p><p><strong>Generate → Copy → Commit</strong></p><h3>A Practical AI-Powered Development Workflow</h3><p>You don’t need to completely change the way you work.</p><p>Instead, gradually insert AI into your existing workflow.</p><h3>1. Understand the Problem Yourself</h3><p>Before opening an AI tool, spend a few minutes understanding the problem.</p><p>Write down:</p><pre>What am I building?</pre><pre>What inputs do I have?</pre><pre>What should the output be?</pre><pre>What constraints exist?</pre><pre>What could go wrong?</pre><p>This step is important because <strong>AI should assist your thinking, not replace it.</strong></p><h3>2. Ask AI to Help You Explore</h3><p>Once you understand the problem, ask AI questions.</p><p>For example:</p><blockquote><em>“I need to implement authentication using JWT and HTTP-only cookies in my Node.js application. Don’t write the code yet. Explain the architecture and important security considerations.”</em></blockquote><p>This is often better than immediately asking for code.</p><p>You learn the approach first.</p><p>Then you can ask:</p><blockquote><em>“Now show me a basic implementation.”</em></blockquote><h3>3. Use AI for Rapid Prototyping</h3><p>This is where AI becomes extremely powerful.</p><p>Suppose you have an idea for a product.</p><p>Normally you might think:</p><pre>Idea<br> ↓<br>Design<br> ↓<br>Setup project<br> ↓<br>Write boilerplate<br> ↓<br>Build API<br> ↓<br>Build UI<br> ↓<br>Connect everything</pre><p>The initial setup itself can take considerable time.</p><p>With AI assistance:</p><pre>Idea<br> ↓<br>AI-assisted architecture<br> ↓<br>Generate initial structure<br> ↓<br>Prototype<br> ↓<br>Test the idea<br> ↓<br>Improve manually</pre><p>You can get to the <strong>“Does this idea actually work?”</strong> stage much faster.</p><p>This is one of the areas where I believe developers should embrace AI aggressively.</p><h3>4. Use AI as a Debugging Partner</h3><p>One of the most useful applications isn’t generating new code.</p><p>It’s understanding existing code.</p><p>Instead of simply asking:</p><blockquote><em>“Fix this error.”</em></blockquote><p>Give AI:</p><ul><li>the error</li><li>relevant code</li><li>expected behavior</li><li>actual behavior</li><li>what you have already tried</li></ul><p>For example:</p><blockquote><em>“My Express API returns 401 even though the JWT appears valid. Here is my middleware and login controller. Don’t immediately rewrite the code. First identify the likely causes and explain how I can debug them.”</em></blockquote><p>Now AI becomes a debugging partner.</p><p>And you’re learning while solving the problem.</p><h3>5. Make AI Explain Code You Don’t Understand</h3><p>This is especially useful when working with unfamiliar technologies.</p><p>Suppose AI generates:</p><pre>const result = await Promise.all(<br>    users.map(async user =&gt; fetchUserData(user.id))<br>);</pre><p>Don’t blindly accept it.</p><p>Ask:</p><blockquote><em>“Explain this code line by line. Why is Promise.all being used? What happens if one promise fails? What would happen if there were 10,000 users?”</em></blockquote><p>Now a generated code snippet becomes a learning opportunity.</p><h3>6. Use AI for Code Review</h3><p>After implementing a feature yourself, ask AI to review it.</p><p>For example:</p><blockquote><em>“Review this Node.js API as a senior backend engineer. Look specifically for security issues, unnecessary database queries, error handling problems, and scalability concerns. Don’t rewrite the entire code.”</em></blockquote><p>This can expose problems you didn’t notice.</p><p>But again:</p><p><strong>AI’s review is a second opinion, not the final authority.</strong></p><h3>7. Let AI Handle the Repetitive Work</h3><p>There are many tasks where developers don’t need to spend their best mental energy.</p><p>For example:</p><ul><li>generating boilerplate</li><li>writing basic test cases</li><li>creating documentation</li><li>converting data formats</li><li>writing regex</li><li>generating mock data</li><li>explaining error messages</li><li>creating SQL query variations</li><li>creating API documentation</li><li>refactoring repetitive code</li><li>writing commit messages</li></ul><p>Let AI handle more of this work.</p><p>Save your attention for the parts that require engineering judgment.</p><h3>The Most Important Skill: Asking Better Questions</h3><p>As AI becomes part of development, one skill becomes increasingly valuable:</p><p><strong>The ability to communicate the problem clearly.</strong></p><p>Compare these two prompts:</p><h3>Weak</h3><blockquote><em>“Fix my code.”</em></blockquote><h3>Better</h3><blockquote><em>“This Express API should return a list of tasks belonging to the authenticated user. Instead, it returns tasks belonging to all users. Here is the controller, schema and middleware. Identify the issue and explain the fix before changing the code.”</em></blockquote><p>The second prompt provides:</p><ul><li>context</li><li>expected behavior</li><li>actual behavior</li><li>relevant files</li><li>constraints</li></ul><p>AI has much more information to work with.</p><p>This isn’t really about learning “magic prompts.”</p><p>It’s about learning to <strong>describe engineering problems clearly.</strong></p><p>And that’s already a valuable engineering skill.</p><h3>Don’t Become Dependent on AI</h3><p>There is also a dangerous side to this.</p><p>Imagine a developer who uses AI for every problem:</p><blockquote><em>“Write this.”</em></blockquote><blockquote><em>“Fix this.</em></blockquote><blockquote><em>“Explain this.”</em></blockquote><blockquote><em>“Optimize this.”</em></blockquote><blockquote><em>“Build this.”</em></blockquote><p>Eventually, they may become very good at prompting but very weak at engineering fundamentals.</p><p>That’s not the goal.</p><p>You should still understand:</p><ul><li>programming fundamentals</li><li>data structures and algorithms</li><li>databases</li><li>networking</li><li>operating systems</li><li>APIs</li><li>system design</li><li>security</li><li>software architecture</li><li>debugging</li></ul><p>AI should make these skills <strong>more productive</strong>, not unnecessary.</p><h3>The New Development Loop</h3><p>Traditional development often looks like:</p><pre>Think<br> ↓<br>Code<br> ↓<br>Test<br> ↓<br>Debug<br> ↓<br>Repeat</pre><p>AI-assisted development can become:</p><pre>Think<br> ↓<br>Discuss with AI<br> ↓<br>Prototype<br> ↓<br>Review<br> ↓<br>Test<br> ↓<br>Debug with AI<br> ↓<br>Improve</pre><p>Notice something important.</p><p><strong>The engineer is still in the loop.</strong></p><p>AI simply makes the loop faster.</p><h3>What Should Engineers Learn Now?</h3><p>If you’re a software engineer starting to adopt AI, I’d recommend developing these four abilities.</p><h3>1. Strong fundamentals</h3><p>Know how software actually works.</p><h3>2. AI-assisted development</h3><p>Learn how to effectively use AI coding tools and LLMs inside your workflow.</p><h3>3. Critical evaluation</h3><p>Learn to identify when AI-generated code is wrong, insecure, inefficient, or unnecessarily complicated.</p><h3>4. Rapid prototyping</h3><p>Learn how to take an idea and quickly turn it into something testable.</p><p>The combination is powerful:</p><blockquote><strong><em>Strong engineering fundamentals + AI productivity = a much more capable engineer.</em></strong></blockquote><h3>AI Doesn’t Remove the Need to Think</h3><p>Perhaps the biggest misconception about AI-assisted development is that the goal is to write as little code as possible.</p><p>I don’t think that’s the right goal.</p><p>The goal is to <strong>spend less time on low-value work so that you can spend more time solving high-value problems.</strong></p><p>If AI saves you three hours of boilerplate work, don’t simply use those three hours to write three more features.</p><p>Use some of that time to ask:</p><blockquote><em>“Is this the right architecture?”</em></blockquote><blockquote><em>“Can this system scale?”</em></blockquote><blockquote><em>“What happens if this service goes down?”</em></blockquote><blockquote><em>“Is user data secure?”</em></blockquote><blockquote><em>“Can I make the experience better?”</em></blockquote><p>That’s where engineering becomes more valuable.</p><h3>Start Tomorrow</h3><p>You don’t need a six-month AI roadmap.</p><p>Take your next software project.</p><p>Pick <strong>one part</strong> of your workflow.</p><p>Maybe it’s debugging.</p><p>Maybe it’s writing tests.</p><p>Maybe it’s documentation.</p><p>Maybe it’s generating boilerplate.</p><p>Maybe it’s rapid prototyping.</p><p>Use AI for that one task.</p><p>Then evaluate:</p><p><strong>Did it save me time?</strong></p><p><strong>Did I understand the output?</strong></p><p><strong>Did the quality improve or decrease?</strong></p><p>Then gradually expand.</p><h3>Final Thought</h3><p>When new technology arrives, our first instinct is often to ask:</p><blockquote><strong><em>“Will this replace me?”</em></strong></blockquote><p>Maybe a better question is:</p><blockquote><strong><em>“What can I do now that I couldn’t do as efficiently before?”</em></strong></blockquote><p>AI is undoubtedly changing software development.</p><p>Some tasks will become automated. Some workflows will disappear. New ones will emerge.</p><p>But the engineer who understands software, knows how to think about problems, can evaluate AI-generated solutions, and knows how to use AI effectively will have a significant advantage.</p><p>So don’t compete with AI by trying to do exactly what AI does.</p><p><strong>Learn how to work with it.</strong></p><p>Let AI write the boilerplate.</p><p>Let it help you debug.</p><p>Let it explain unfamiliar concepts.</p><p>Let it help you prototype ideas quickly.</p><p>But keep ownership of the engineering decisions.</p><p>Because the future of software development may not belong to developers who write the most code.</p><p>It may belong to developers who can <strong>think clearly, build quickly, and use AI intelligently.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c78e46d355f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup a JAVA Project in IntelliJ IDEA with Jakarta dependency and Tomcat server.]]></title>
            <link>https://medium.com/@rishiagrahari36/setup-a-java-project-in-intellij-idea-with-jakarta-dependency-and-tomcat-server-e60802cfea79?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e60802cfea79</guid>
            <category><![CDATA[apache-tomcat]]></category>
            <category><![CDATA[java-project]]></category>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[jakarta]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Sun, 19 Apr 2026 11:49:25 GMT</pubDate>
            <atom:updated>2026-04-19T11:49:25.017Z</atom:updated>
            <content:encoded><![CDATA[<p>As I begin experiencing to setup java project for the first time, it’s really difficult for me to do so. After a lot of grind, I compiled my understanding and knowledge from the different sources and present in front of you in the form of a complete recipe to set up and run the project.</p><p>Here are the steps to set up and run the project :</p><h3>Step 1: Install/download IntelliJ IDEA according to you respective version of Windows machine.</h3><p>Download from here : <a href="https://www.jetbrains.com/idea/download/?section=windows">https://www.jetbrains.com/idea/download/?section=windows</a></p><h3>Step 2: Download Apache Tomcat server</h3><p>According to you pc/laptop Windows version. The most stable version is 10.0.0, which runs smoothly in my case. Click on the first Zip file link to download, set up,and remember the path of the extracted folder</p><p>Download: <a href="https://tomcat.apache.org/download-10.cgi">https://tomcat.apache.org/download-10.cgi</a></p><h3>Step 3: Open IntelliJ and set up a project with the Maven archetype.</h3><p>Select the respective version of JDK (in my case jdk21), and the archetype must be webapp(i.e., org.apache.maven.archetypes:maven-archetype-webapp), then create the project. It takes some time and creates a project that must contain a src folder.</p><p>Step 4: Add Apache Tomcat configuration to run the Maven project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bAmRG7H0P-nSVFA9ciKiPg.png" /></figure><p>Click on the dropdown mention and image and edit the configurations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MnAsYyiakBaD0nXlA3oWlg.png" /></figure><p>Select Smart Tomcat, another window popup where you can configure your Tomcat Server path that you install in your machine using folder Icon 📁.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RP0kj7D8X35cU4KeACfzBg.png" /></figure><p>Then Apply and run the project.</p><p>Step 5: We need to add more dependencies to our project, that are insert in <strong>pom.xml. </strong>If you wish to you jakarta and mysql in your project you can use them by add this code to pom.xml</p><pre>  &lt;dependency&gt;<br>        &lt;groupId&gt;jakarta.platform&lt;/groupId&gt;<br>        &lt;artifactId&gt;jakarta.jakartaee-api&lt;/artifactId&gt;<br>        &lt;version&gt;10.0.0&lt;/version&gt;<br>        &lt;scope&gt;provided&lt;/scope&gt;<br>    &lt;/dependency&gt;<br><br><br>    &lt;dependency&gt;<br>      &lt;groupId&gt;jakarta.servlet&lt;/groupId&gt;<br>      &lt;artifactId&gt;jakarta.servlet-api&lt;/artifactId&gt;<br>      &lt;version&gt;6.0.0&lt;/version&gt;<br>      &lt;scope&gt;provided&lt;/scope&gt;<br>    &lt;/dependency&gt;<br><br>    &lt;dependency&gt;<br>      &lt;groupId&gt;com.mysql&lt;/groupId&gt;<br>      &lt;artifactId&gt;mysql-connector-j&lt;/artifactId&gt;<br>      &lt;version&gt;8.3.0&lt;/version&gt;<br>    &lt;/dependency&gt;<br><br>    &lt;dependency&gt;<br>      &lt;groupId&gt;junit&lt;/groupId&gt;<br>      &lt;artifactId&gt;junit&lt;/artifactId&gt;<br>      &lt;version&gt;3.8.1&lt;/version&gt;<br>      &lt;scope&gt;test&lt;/scope&gt;<br>    &lt;/dependency&gt;</pre><p>These are different dependencies for various tasks.</p><p>Step 6(Optional): In some cases the project is still not running because may the project have older version of jakarta (like 2.3) that not work with dependencies and Annotation. In that caseyou may replace the &lt;web-app&gt; code with this:</p><pre>&lt;web-app xmlns=&quot;https://jakarta.ee/xml/ns/jakartaee&quot;<br>         xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;<br>         xsi:schemaLocation=&quot;https://jakarta.ee/xml/ns/jakartaee<br>         https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd&quot;<br>         version=&quot;5.0&quot;&gt;<br>&lt;/web-app&gt;</pre><p>Now, finally you can built and rerun the project by clicking on the ▶ button on the top, just beside the labled tomcat name.</p><p>Now…. Your weapons are ready for the warrior 😃 🔥.</p><p>Thanks for reading this article. If this article is helpful to you, then show your support 💪.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e60802cfea79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Super Number Concept to reduce Space Complexity to O(n)]]></title>
            <link>https://medium.com/@rishiagrahari36/super-number-concept-to-reduce-space-complexity-to-o-n-5fa46f62e991?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fa46f62e991</guid>
            <category><![CDATA[shuffle-array-elt]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Sun, 01 Mar 2026 15:30:16 GMT</pubDate>
            <atom:updated>2026-03-01T15:30:16.764Z</atom:updated>
            <content:encoded><![CDATA[<pre>class Solution {<br>public:<br>    vector&lt;int&gt; shuffle(vector&lt;int&gt;&amp; nums, int n) {<br>        <br>        // SC -&gt; O(1)  TC-&gt; O(n)<br>        //alternate method<br>        //this is valid when number is less than 1024 <br>        int i;<br>        for(i=n; i&lt;nums.size(); i++) {<br>            //making some elt of the array as super number that store both x and y<br>            //nums[i-n]  --&gt; x<br>            //nums[i] --&gt; y<br>            nums[i] = (nums[i-n]*1024) + nums[i];<br>        }<br>        int idx = 0;<br>        for(i=n; i&lt;nums.size(); i++, idx+=2) {<br>            nums[idx] = nums[i]/1024; //to get the x value <br>            nums[idx+1] = nums[i]%1024; //to get the y value<br>        }<br><br>        return nums;<br><br>        // SC -&gt; O(n)  TC-&gt; O(n)<br>        // vector&lt;int&gt; ans(2*n, -1);<br>        // int i=0, j = n, k=0;<br><br>        // while(i&lt;n &amp;&amp; j&lt;2*n) {<br>        //     ans[k++] = nums[i++];<br>        //     ans[k++] = nums[j++];<br>        // }<br><br>        // return ans;<br><br>    }<br>};</pre><p>Reduce the space complexity using SUPER NUMBER</p><p>Combine 2 numbers in one as remainder and the quotient and fetch them using mod(%) and division(/) operators.</p><h3>BITWISE APPROACH TO DO THAT</h3><pre>class Solution {<br>public:<br>    vector&lt;int&gt; shuffle(vector&lt;int&gt;&amp; nums, int n) {<br>        <br>        int len = nums.size();<br>        <br>        for(int i = n; i &lt; len; i++) {<br>            nums[i] = (nums[i] &lt;&lt; 10) | nums[i - n];<br>        }<br>        <br>        int index = 0;<br>        for(int i = n; i &lt; len; i++, index += 2) {<br>            nums[index] = nums[i] &amp; 1023;<br>            nums[index + 1] = nums[i] &gt;&gt; 10;<br>        }<br>        <br>        return nums;<br>        <br>    }<br>};</pre><h3>Ye kaam kaise kar raha hai? (Example)</h3><p>Maano $X = 5$ aur $Y = 3$ ko pack karna hai.</p><p><strong>Step 1: Packing (</strong><strong>&lt;&lt; and </strong><strong>|)</strong></p><ul><li>$Y$ (3) ko 10 baar left shift kiya: 3 &lt;&lt; 10. Binary mein ye $3$ ke peeche 10 zeros laga dega.</li><li>Usme $X$ (5) ko OR (|) kar diya.</li><li>Ab ek hi 32-bit integer mein, upar ki bits mein $3$ baitha hai aur niche ki bits mein $5$.</li></ul><p><strong>Step 2: Unpacking (</strong><strong>&amp; and </strong><strong>&gt;&gt;)</strong></p><ul><li><strong>X nikalne ke liye:</strong> nums[i] &amp; 1023.</li><li>1023 binary mein 1111111111 (das baar 1) hota hai. Ise <strong>Mask</strong> kehte hain. Ye sirf aakhri ki 10 bits utha leta hai (jo hamara X hai).</li><li><strong>Y nikalne ke liye:</strong> nums[i] &gt;&gt; 10.</li><li>Ye poore number ko 10 kadam right shift kar deta hai, jisse niche ka X gayab ho jata hai aur sirf Y bachta hai.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fa46f62e991" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OOPs in JavaScript]]></title>
            <link>https://medium.com/@rishiagrahari36/oops-in-javascript-d76e1caa0369?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d76e1caa0369</guid>
            <category><![CDATA[oops-concepts]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Mon, 24 Feb 2025 20:44:11 GMT</pubDate>
            <atom:updated>2025-02-24T20:45:41.059Z</atom:updated>
            <content:encoded><![CDATA[<p>Here we are going to discuss about how the Object Oriented Programming work in JavaScript.</p><p>Concept We Are Going To Discuss…….</p><p><strong>Classes | Object | Inheritance | Encapsulation | Polymorphism | Abstraction</strong></p><h3><strong>Definition -</strong></h3><p><strong>[1] Objects </strong>: The unique entity that contain the properties and methods.</p><p><strong>Let us suppose we have a car in which we have the properties like color, product material, horsepower and more are the properties, and how its perform on certain action like driving is its method.</strong></p><p>Object are created in two ways</p><p><strong>A -&gt;&gt; Object Literal</strong></p><pre>// Defining object<br>let person = {<br> first_name: &#39;Mukul&#39;,<br> last_name: &#39;Latiyan&#39;,<br><br> //method<br> getFunction: function () {<br>  return (`The name of the person is <br>  ${person.first_name} ${person.last_name}`)<br> },<br><br> //object within object<br> phone_number: {<br>  mobile: &#39;12345&#39;,<br>  landline: &#39;6789&#39;<br> }<br>}<br>console.log(person.getFunction());<br>//Output: The name of the person is Mukul Latiyan<br><br><br>console.log(person.phone_number.landline);<br>//Output: 6789</pre><p><strong>B -&gt;&gt; Object Constructor</strong></p><pre>// Using a constructor<br>function person(first_name, last_name) {<br> this.first_name = first_name;<br> this.last_name = last_name;<br>}<br>// Creating new instances of person object<br>let person1 = new person(&#39;Mukul&#39;, &#39;Latiyan&#39;);<br>let person2 = new person(&#39;Rahul&#39;, &#39;Avasthi&#39;);<br><br>console.log(person1.first_name);<br>//Output: Mukul<br>console.log(`${person2.first_name} ${person2.last_name}`);<br>//Output: Rahul Avasthi</pre><p><strong>[2] Classes: </strong>Classes are <strong>blueprints</strong> of an Object. A class can have many Objects because the class is a <strong>template</strong> while Objects are <strong>instances</strong> of the class or the concrete implementation.</p><p>But we don’t have the classes in JavaScript we implement that using Objects.</p><p>JavaScript is a prototype-based Object Oriented Language, which means it doesn’t have classes, rather it defines behaviors using a constructor function and then reuses it using the prototype.</p><pre>// Defining class using es6<br>class Vehicle {<br> constructor(name, maker, engine) {<br>  this.name = name;<br>  this.maker = maker;<br>  this.engine = engine;<br> }<br> getDetails() {<br>  return (`The name of the bike is ${this.name}.`)<br> }<br>}<br>// Making object with the help of the constructor<br>let bike1 = new Vehicle(&#39;Hayabusa&#39;, &#39;Suzuki&#39;, &#39;1340cc&#39;);<br>let bike2 = new Vehicle(&#39;Ninja&#39;, &#39;Kawasaki&#39;, &#39;998cc&#39;);<br><br>console.log(bike1.name); // Hayabusa<br>console.log(bike2.maker); // Kawasaki<br>console.log(bike1.getDetails());</pre><p><strong>[3] Abstraction: </strong>Abstraction means displaying only essential information and hiding the details. Data abstraction refers to providing only essential information about the data to the outside world, hiding the background details or implementation.</p><p>Most of the OOP languages provide access modifiers to restrict the scope of a variable, but there are no such access modifiers in JavaScript, there are certain ways by which we can restrict the scope of variables within the Class/Object.</p><pre>// Abstraction example<br>function person(fname, lname) {<br> let firstname = fname;<br> let lastname = lname;<br><br> let getDetails_noaccess = function () {<br>  return (`First name is: ${firstname} Last <br>   name is: ${lastname}`);<br> }<br><br> this.getDetails_access = function () {<br>  return (`First name is: ${firstname}, Last <br>   name is: ${lastname}`);<br> }<br>}<br>let person1 = new person(&#39;Mukul&#39;, &#39;Latiyan&#39;);<br>console.log(person1.firstname);  //undefined<br>console.log(person1.getDetails_noaccess); //undefined<br>console.log(person1.getDetails_access()); <br>//First name is Mukul, Lat name is Latiyan</pre><p><strong>[4] Encapsulation: </strong>The process of <strong>wrapping properties and functions </strong>within a <strong>single unit</strong> is known as encapsulation.</p><pre>// Encapsulation example<br>class person {<br> constructor(name, id) {<br>  this.name = name;<br>  this.id = id;<br> }<br> add_Address(add) {<br>  this.add = add;<br> }<br> getDetails() {<br>  console.log(`Name is ${this.name},<br>  Address is: ${this.add}`);<br> }<br>}<br><br>let person1 = new person(&#39;Mukul&#39;, 21);<br>person1.add_Address(&#39;Delhi&#39;);<br>person1.getDetails();</pre><p>[5] <strong>Inheritance: </strong>It is a concept in which some properties and methods of an Object are being used by another Object. Unlike most of the OOP languages where classes inherit classes, JavaScript Objects inherit Objects i.e. certain features (property and methods) of one object can be reused by other Objects.</p><pre>// Inheritance example<br>class person {<br> constructor(name) {<br>  this.name = name;<br> }<br> // method to return the string<br> toString() {<br>  return (`Name of person: ${this.name}`);<br> }<br>}<br>class student extends person {<br> constructor(name, id) {<br>  // super keyword for calling the above <br>  // class constructor<br>  super(name);  <br>  this.id = id;<br> }<br> toString() {<br>  return (`${super.toString()},<br>  Student ID: ${this.id}`);<br> }<br>}<br>let student1 = new student(&#39;Mukul&#39;, 22);<br>console.log(student1.toString());<br>//Name of person: Mukul, Student ID: 22</pre><p><strong>Overriding:</strong> Method Overriding allows a method in a child class to have the same name(polymorphism) and method signature as that of a parent class.</p><p><strong>Overloading: </strong>Method overloading involve method with tha same name but with different number of arguments or different type of return value.</p><p><strong>“Overloading involves multiple methods with the same name, while overriding involves redefining a method in a subclass”.</strong></p><p>[6] <a href="https://www.geeksforgeeks.org/polymorphism-in-javascript/"><strong>Polymorphism:</strong></a> Polymorphism is one of the core concepts of object-oriented programming languages. Polymorphism means the same function with different signatures is called many times. In real life, for example, a boy at the same time may be a student, a class monitor, etc. So a boy can perform different operations at the same time. Polymorphism can be achieved by method overriding and method overloading.</p><p>I Hope its easily understandable……….</p><p>Reference Point : <a href="https://www.geeksforgeeks.org/introduction-object-oriented-programming-javascript/">https://www.geeksforgeeks.org/introduction-object-oriented-programming-javascript/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d76e1caa0369" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Common Problem while Learning for web developers]]></title>
            <link>https://medium.com/@rishiagrahari36/common-problem-while-learning-for-web-developers-22625f5ad1c4?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/22625f5ad1c4</guid>
            <category><![CDATA[web-developement]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Mon, 03 Feb 2025 13:39:49 GMT</pubDate>
            <atom:updated>2025-02-03T13:39:49.682Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>While deploying you changes on vercel</li></ol><p>The project works fine on my local but after deploying over vercel I am not able to jump over the different route.</p><p>The solution…</p><p>create “vercel.json” in root directory and put the following code</p><pre>{<br>  &quot;rewrites&quot;: [{ &quot;source&quot;: &quot;/(.*)&quot;, &quot;destination&quot;: &quot;/&quot; }]<br>}</pre><p>OR</p><pre>{<br>  &quot;rewrites&quot;: [{ &quot;source&quot;: &quot;/(.*)&quot;, &quot;destination&quot;: &quot;/index.html&quot; }]<br>}</pre><p>Reference from : <a href="https://stackoverflow.com/questions/66667636/vite-js-react-build-not-redirecting-on-netlify-and-vercel/66686684">https://stackoverflow.com/questions/66667636/vite-js-react-build-not-redirecting-on-netlify-and-vercel/66686684</a></p><p>This is for self awareness…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22625f5ad1c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Discovering the Ideal Backpack for Travel: Your Ultimate Guide]]></title>
            <link>https://medium.com/@rishiagrahari36/discovering-the-ideal-backpack-for-travel-your-ultimate-guide-fad6dd6fc795?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fad6dd6fc795</guid>
            <category><![CDATA[comfortable]]></category>
            <category><![CDATA[travel-bag-for-men]]></category>
            <category><![CDATA[bagpack]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[packing]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Mon, 18 Nov 2024 07:01:06 GMT</pubDate>
            <atom:updated>2024-11-19T17:12:52.078Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you ready to embark on your next adventure? Choosing the ideal travel backpack can make all the difference between a smooth journey and a stressful one. Let’s explore what makes a backpack perfect for travel and highlight some top picks from Amazon that will elevate your travel experience!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LkEutLl1sQ-pRdbF" /><figcaption>Photo by <a href="https://unsplash.com/@andrewtneel?utm_source=medium&amp;utm_medium=referral">Andrew Neel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>1. Size Matters</h3><p>Imagine packing everything you need into a backpack that’s just the right size. A 40–50 liter backpack is perfect for weekend getaways or longer trips, providing ample space without being bulky. This size not only helps you pack efficiently but also keeps you within airline carry-on regulations — no more worrying about extra fees!</p><h3>2. Comfort is Key</h3><p>Picture this: you’re navigating through a bustling airport or hiking up a scenic trail, and your backpack feels like a feather on your back. Look for padded shoulder straps and a breathable back panel, along with adjustable straps and a hip belt for maximum comfort. Your shoulders will thank you after a long day of travel!</p><h3>3. Durability</h3><p>You want a backpack that can withstand the rigors of travel — think weather-resistant materials and sturdy construction. Brands like Osprey and Cotopaxi are renowned for their durability, ensuring your gear stays safe no matter where your journey takes you.</p><h3>4. Organization</h3><p>A well-organized backpack is like having a personal assistant on your travels! Look for multiple compartments to keep your items sorted. Pockets designed specifically for electronics, water bottles, and quick-access items like passports or snacks will save you time and hassle when you need something in a pinch.</p><h3>5. Style and Versatility</h3><p>Your backpack should reflect your personal style while remaining practical. Whether you prefer sleek neutrals or vibrant patterns, choose a design that stands out but also blends in seamlessly with any travel scenario.</p><h3>Top Backpack Recommendations from Amazon</h3><p>Ready to find your perfect travel companion? Here are some of the best backpacks currently trending on Amazon:</p><p><a href="https://amzn.to/4fSeGf6"><strong>1.FUR JADEN 40L Weekender Travel Laptop Backpack</strong></a></p><ul><li>Features: Anti-theft pocket, organizer, padded laptop sleeve</li><li>Rating: 4.2/5</li><li>Price: ₹1,149</li></ul><p><a href="https://amzn.to/3CBxSPW"><strong>2. Safari Seek 45L Expandable Overnighter Laptop Backpack</strong></a></p><ul><li>Features: Compression straps, rain cover</li><li>Rating: 4.4/5</li></ul><p><a href="https://amzn.to/4fV7qiB"><strong>3. Skybags Casual Backpack 28L</strong></a></p><ul><li>Features: 2 Main Compartments, Bottle Pocket, Front Pocket, Padded Shoulder Strap</li><li>Rating: 4.1/5</li><li>Rating: 4.1/5</li><li>Price: ₹649</li></ul><p>Let me take you back to last summer when I spontaneously decided to explore the breathtaking landscapes of Patagonia. With my trusty 45-liter backpack by my side, I set off with excitement and anticipation. As I trekked through rugged terrain, my backpack proved invaluable — its padded straps cushioned the weight of my gear, while its multiple compartments kept my essentials organized and accessible. One evening, as I sat by a glistening lake watching the sunset paint the sky in hues of orange and pink, I realized how crucial it was to have a reliable backpack with me. It didn’t just carry my belongings; it allowed me to focus on making unforgettable memories.</p><h3>Conclusion</h3><p>Finding the ideal travel backpack is all about balancing size, comfort, durability, organization, and style. With these tips in mind — and perhaps a little inspiration from my Patagonia adventure — you’re ready to embark on your next journey with confidence!</p><p>Before buying any product first its really help if you look over you actual needs and comfort. And I would like to inform you that all of the above links are affiliate links and I get compensate when you buy any of the product listed above through the given link. But there is no any extra cost applied to the product, you get the product at its usual price.</p><p>Note :If in case there is any fluctuation in price it may be due to demand and supply of the product in the market space.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fad6dd6fc795" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to choose best PC or Laptop for coding, Here is the some point to consider.]]></title>
            <link>https://medium.com/@rishiagrahari36/how-to-choose-best-pc-or-laptop-for-coding-here-is-the-some-point-to-consider-b4116262199d?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4116262199d</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[hardware-tools]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[investment]]></category>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Mon, 11 Nov 2024 17:15:08 GMT</pubDate>
            <atom:updated>2024-11-11T17:15:08.522Z</atom:updated>
            <content:encoded><![CDATA[<p>When I was looking for my first laptop, then I am little bit confuse what thing to consider while buying a laptop or pc? Is that satisfy the need of a coding environment or other stuff. Then for that I dive deeper and made a thorough research on how to choose a ideal laptop or pc.</p><figure><img alt="Lenovo laptop Image" src="https://cdn-images-1.medium.com/max/679/1*QgRFLoG9RFP55ZHA-zXUNw.jpeg" /></figure><h3>What things to consider to choose a laptop or pc right for you?</h3><p>Here is the point to consider while buy your visual working partner :</p><h3>1.RAM</h3><p>Now a day, <strong>8GB RAM</strong> is the minimum requirement of a system for proper working of IDE, smooth browsing, and other development and tech environment setup.</p><p>It would be better if you find a model 16GB at ideal cost because it give you more free hand for multi-tasking and make future proof.</p><h3>2.Internal Memory Storage | SSD/HDD</h3><p>SSD(Solid State Drive) is best suited for your pc because its making your system more responsive. SSD is much better option than the HDD. The <strong>minimum 256GB SSD is good</strong>.</p><p>Its okay if you have HDD(Hard Disk Drive) in your pc, most of the pc have an additional slot for SSD(expandable storage).</p><h3>3.Processor</h3><p><strong>Intel Core i5 or AMD Ryzen 5 series processers </strong>offer good performance for general development tasks at a reasonable price. Ensure to get the latest processor. If you are flexible with the budget you definitely go for Intel Core i7 or Ryzen7.</p><h3>4.Operating System</h3><p><strong>Window 11</strong> is the latest and most widely used operating system you must go with it, or if you want more flexibility and securing then consider Linux or macOS also.</p><p>Warning: Don’t go for Windows 10 series because after<strong> October 2025</strong>, Microsoft entirely shift over Window 11 and there is no major update in window 10 afterward.</p><h3>5.Portability and Comfort</h3><p>Portability is really important factor for a laptop if you are a working professional or a student.</p><p><strong>Screen Size:</strong> 13inches to 15 inches (diagonally)</p><p><strong>Laptop Weight:</strong> 3 to 4pound (or 1.4 to 2kg)</p><h3>6.Graphic Card(GUI)</h3><p>This is essential if you’re working on graphics-intensive applications, machine learning, or game development. An RTX 3060 or higher is suitable if your work demands a GPU.</p><p>Or you just start with web development or app development its do not matter the most. But if consider <strong>Intel Iris Xe Graphics</strong> or <strong>NVIDIA GeForce RTX 3050/3050 Ti </strong>are great options for programming needs</p><h3>How do I know if my laptop is good for coding?</h3><p>If you are a college student then 8GB RAM, 256GB SSD, and intel core i5 suits you best for your projects and development and professional stuff.</p><p><strong>Here is the some suggestion for student:</strong></p><p><a href="https://amzn.to/4hG78xA"><strong>1.Lenovo IdeaPad 1</strong></a></p><p>The Lenovo laptop with AMD Ryzen 5 5500U is a powerful, versatile choice for students and professionals. With a 15.6” FHD anti-glare display, 8GB RAM (upgradable to 16GB), and a 512GB SSD, it’s built for smooth multitasking and vibrant visuals. Enjoy immersive sound with Dolby AudioCamera, and stay powered with up to 9 hours of battery life plus rapid charge. Pre-loaded with Windows 11 and MS Office, and weighing only 1.6 kg, it’s both portable and ready for productivity out of the box.</p><p><a href="https://amzn.to/48Nmgp2"><strong>2.Dell Inspiron 3535</strong></a></p><p>The Dell laptop with Ryzen 3 7320U (up to 4.10 GHz) is a sleek, high-performance device perfect for both work and play. With 8GB LPDDR5 RAM and a 512GB SSD, it provides fast, responsive multitasking and ample storage. The 15.6” FHD display with 120Hz refresh rate and ComfortView reduces eye strain, delivering clear, vibrant visuals. Enjoy quick connectivity with multiple ports, and stay powered with ExpressCharge, reaching 80% in just one hour. Pre-loaded with Windows 11 and MS Office, plus a 15-month McAfee subscription, it’s ready to support your productivity from day one.</p><p><a href="https://amzn.to/3Z0FpQZ"><strong>3. Acer Aspire Lite</strong></a></p><p>This laptop, powered by the AMD Ryzen 5–5625U processor with Radeon Graphics, offers high performance in a sleek design. Its 15.6&quot; Full HD display with slim bezels delivers immersive visuals, while 16GB RAM and a 512GB SSD (expandable to 1TB) ensure smooth multitasking and ample storage. With versatile connectivity options and a full-sized keyboard with numeric keypad, it’s built for productivity and ease.</p><h4><a href="https://amzn.to/4eorA3d">4.Apple MacBook Air</a></h4><ul><li><strong>Processor</strong>: Apple M1 chip with 8-core CPU</li><li><strong>Memory</strong>: 8GB unified memory</li><li><strong>Display</strong>: 13.3-inch Retina display</li><li><strong>Battery Life</strong>: Up to 18 hours</li><li><strong>Performance</strong>: 3.5x faster than previous generation</li></ul><h3>Disclaimer</h3><p>Always remember when you buy a laptop, first you look over your needs and system durability. Its always better to do your own research before buying a new laptop or PC.</p><p>The above link are financially benefit me and the page through a affiliate program. But any affiliate program do not influence my personal recommendation and opinion. I can get compensated, but there is no any additional cost applied on the product.</p><p>Thorough study about the product is important before buying it, so you need to analyze the product yourself too, your investment are solely your responsibility and it is imperative that you do your own research. I am just sharing my opinion and recommendation, with no guarantee of gain or loss of your investment.</p><p>I can’t take any of the above listed product in my own use just recommend them to my friend and that prove worthy for them. And they can use them from since last 2 years.</p><p><strong>I hope this article has been helpful for you. Thank you for taking the time to read it.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4116262199d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Bhopal Gas Tragedy: Unraveling the Events of a Fateful Night]]></title>
            <link>https://medium.com/@rishiagrahari36/the-bhopal-gas-tragedy-unraveling-the-events-of-a-fateful-night-2be27c1bbb52?source=rss-26a2ae9e91bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2be27c1bbb52</guid>
            <dc:creator><![CDATA[Rishi ]]></dc:creator>
            <pubDate>Tue, 21 Nov 2023 16:05:02 GMT</pubDate>
            <atom:updated>2023-11-21T16:05:02.617Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Geat9KaDBwkL82IBjZTXvg.jpeg" /><figcaption>random picked image for blog</figcaption></figure><p><strong>Disclaimer:</strong> This blog is only for your knowledge do not take it serious.</p><p><strong>Introduction:</strong> In the annals of industrial history, the Bhopal gas tragedy stands as a stark reminder of the devastating consequences that can arise from a combination of negligence, inadequate safety measures, and corporate irresponsibility. This catastrophic incident unfolded on the night of December 2–3, 1984, in Bhopal, Madhya Pradesh, India, forever altering the lives of thousands and leaving an indelible mark on global conversations about industrial safety and corporate accountability.</p><p><strong>Events Leading to the Tragedy:</strong> The stage was set at the Union Carbide India Limited (UCIL) pesticide plant, where the production of the pesticide Sevin was underway. The calamity ensued when water infiltrated a storage tank containing approximately 42 tons of methyl isocyanate (MIC), a highly toxic compound integral to Sevin’s production.</p><p><strong>Gas Leak and Immediate Impact:</strong> A sequence of lapses, including inadequate safety measures and poor maintenance, triggered a reaction that released a deadly cloud of toxic gases, including MIC, into the air. The unsuspecting nearby residential areas bore the brunt of this calamity as the toxic cloud infiltrated homes, causing widespread devastation.</p><p><strong>Casualties and Injuries:</strong> The immediate aftermath witnessed a staggering loss of life, with estimates of casualties ranging from thousands to tens of thousands. The gas exposure inflicted respiratory distress, eye irritation, and a myriad of health issues on the survivors, many of whom grappled with long-term consequences such as respiratory disorders, neurological damage, and birth defects.</p><p><strong>Response and Rescue Efforts:</strong> The response from Union Carbide was widely criticized for its tardiness and inadequacy. Hospitals were overwhelmed, and the lack of medical facilities exacerbated the suffering of the affected population.</p><p><strong>Environmental Impact:</strong> Beyond the human toll, the Bhopal gas tragedy left an enduring mark on the environment, contaminating soil and water in the surrounding areas.</p><p><strong>Legal and Corporate Consequences:</strong> The aftermath of the tragedy was marked by legal battles and debates surrounding corporate responsibility. In 1989, Union Carbide Corporation settled with the Indian government for $470 million. However, questions persist about the adequacy of the compensation and the broader implications for corporate accountability.</p><p><strong>Activism and Awareness:</strong> The Bhopal gas tragedy galvanized activism and heightened awareness about industrial safety, corporate accountability, and the imperative need for stringent regulations to prevent such disasters.</p><p><strong>Legacy:</strong> Decades later, the legacy of the Bhopal gas tragedy reverberates in discussions about industrial disasters, prompting global initiatives for enhanced safety measures and ethical corporate practices.</p><p><strong>Conclusion: </strong>The Bhopal gas tragedy remains a somber testament to the far-reaching consequences of industrial negligence. As we reflect on this dark chapter in history, it underscores the ongoing imperative to prioritize the well-being of communities and uphold stringent safety standards to prevent such tragedies from recurring.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2be27c1bbb52" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>