<?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 Zakin abdul  on Medium]]></title>
        <description><![CDATA[Stories by Zakin abdul  on Medium]]></description>
        <link>https://medium.com/@zakinabdul?source=rss-c3e6f1f462d1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rvcukP_Wx9JsZye3</url>
            <title>Stories by Zakin abdul  on Medium</title>
            <link>https://medium.com/@zakinabdul?source=rss-c3e6f1f462d1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:18:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zakinabdul/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[What If Nobody Had a Phone on the Train?]]></title>
            <link>https://zakinabdul.medium.com/what-if-nobody-had-a-phone-on-the-train-b04e5064f919?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b04e5064f919</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[society]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 10:36:24 GMT</pubDate>
            <atom:updated>2026-12-02T10:36:24.325Z</atom:updated>
            <content:encoded><![CDATA[<h4>Something I was noticing too much but couldn’t do anything about it.</h4><p>Have you ever paused in the middle of a crowded place and just looked around? In the general coach of a train, at a railway station, on a bus, anywhere. I&#39;ve done it many times, and what I see is the same every time: 99% of people are inside their phones.</p><p>Why?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z0bv_419BVlOhX3a6bIXYg.png" /></figure><p>Rather than talking to each other in person, we&#39;ve chosen remote connection. And honestly, it leaves us with mixed feelings.</p><p>Why?</p><p>If you could change one thing about this generation, what would it be? What if there were a limit on how we use our phones? What if people couldn&#39;t watch social media for more than an hour a day?</p><p>I don&#39;t even know if that&#39;s possible. Probably not, because a lot of influencers would be in misery if it happened.</p><p>But why can&#39;t we see the difference?</p><p>Imagine this. You reach a railway station alone, book your ticket, and board the train. Around you are families and people from every background, and none of them has a phone in their hands. They share their food. They start asking where you&#39;re headed and where you&#39;re from. Conversations begin on their own.</p><p>Interesting, isn&#39;t it?</p><p>Instead of putting up a barrier to real communication, what if this was how it had turned out? Sometimes I think about this, and maybe it&#39;s just my point of view of the world.</p><p>Some of you may say the train scene still happens, and you&#39;re right. There are times when we share our stories with strangers and families while travelling. But the point isn&#39;t train travel. It&#39;s our addiction to the mobile phone.</p><p>If you’re reading this and you’ve felt the same, leave a comment. How could we change this? What would make a difference? I’d love to hear your point of view</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b04e5064f919" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Practical Workflow for Building Landing Pages Using AI Tools (2026)]]></title>
            <link>https://zakinabdul.medium.com/a-practical-workflow-for-building-landing-pages-using-ai-tools-2026-2d49a245cf33?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d49a245cf33</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 03:31:01 GMT</pubDate>
            <atom:updated>2026-04-13T03:31:01.519Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URGmyZSRII7hrK8Q8qwceg.png" /><figcaption>Landing page tutorial using Antigravity AI and Figma design workflow.</figcaption></figure><p>A few years ago, if someone asked me how to build a landing page, my answer would have been something like this:</p><p>First, understand the requirements. Then create a wireframe. Next, write the content for the page. After that, choose a tech stack and build a basic version. Finally, develop the full website and deploy it.</p><p>The most challenging part? Adding visually appealing elements like animations, backgrounds, and unique design touches and implementing them through code.</p><p>But in 2026, things are very different.</p><p>You don’t necessarily need to be a strong coder anymore. Instead, you need to be a <strong>clear thinker and a good storyteller</strong>.</p><p>The better you can describe your idea, your problem, your requirements, and your vision, the better the output you’ll get.</p><p>In this article, I’ll walk you through the exact approach I used to build a landing page.</p><h3>Step 1: Define the Idea Using AI</h3><p>Start with tools like ChatGPT, Gemini, or Claude.</p><p>Clearly describe your idea and ask:</p><ul><li>What should this website include?</li><li>What sections are required?</li></ul><p>For a landing page, you’ll typically need:</p><ul><li>A clear hero section</li><li>Features or workflow</li><li>Problem it solves</li><li>Contact section</li><li>Footer</li></ul><p>The key here is:</p><blockquote><em>Have a clear and detailed understanding of your project before moving forward.</em></blockquote><p>For this example, I chose a familiar concept: a landing page inspired by Zomato.</p><p>I started by generating a brief overview of the project and its workflow using ChatGPT.</p><h3>Prompt I Used</h3><blockquote><em>“Let’s take Zomato as an example. Provide a project overview for a landing page. what sections should I include, and how can I make it modern, attractive, and more animated?”</em></blockquote><h3>What the AI Provided</h3><p>The response included a complete structure for the landing page, such as:</p><ul><li>Navbar and hero section</li><li>Features and workflow steps</li><li>Categories and testimonials</li><li>Contact section and footer</li><li>Design suggestions (colors, typography, animations)</li><li>Recommended tech stack</li></ul><p>For example:</p><blockquote><em>Hero section with a strong headline Feature cards and step-by-step workflow Testimonials and category sections Modern UI suggestions and animations</em></blockquote><p>…and much more in detail.</p><h3>Step 2: Create the First UI (Wireframe)</h3><p>Now, using <a href="https://www.figma.com/make/dhhT4eYzonHllPVrB0DC6M/Untitled?p=f&amp;t=PbX6oH979uFHF0Aa-0">Figma Make</a>, we can generate the first version of the website.</p><p>Simply paste the prompt you got from Step 1 and let it generate the UI.</p><p>Within seconds, you’ll have a basic layout ready to work with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hog-Wn_wWcOntE6a" /></figure><p>After submitting you will redirected to this interface, here you can suggest edits if you want , make modifications to design overall, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RkAMoK_S4AIaPvCo" /></figure><p>After you are satisfied with the design click publish button which provide you the link which you can share to anyone. At this point you have an beautiful landing page. you can share it to your peers if you want and boast about it😄.</p><h3>But What About Real Features?</h3><p>If you want to add features like:</p><ul><li>waitlist collection</li><li>newsletter subscription</li><li>contact forms</li></ul><p>You’ll need a small backend setup.</p><h3>What I Used Next</h3><p>For this, I used Antigravity.</p><p>It might not be the conventional approach, but it worked well for me. So let’s move on to how I used Antigravity to extend this project.</p><h3>Step 3: Antigravity</h3><p>First, we need to move our Figma project to GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fX3AfnSlkG0CtQq3" /></figure><p>First click on the setting icon then click on the create repository and create the repo. For first time users it should ask to connect your github account, which is only simple setups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zGzen6rVd-mVmTjM" /></figure><h3>Clone the Repository into Antigravity</h3><p>Now that your repository is ready, the next step is to clone it into the Antigravity workspace.</p><p>If you’re new, make sure to download and install <a href="https://antigravity.google/">Antigravity</a> first.</p><h3>Cloning Steps</h3><p>The process is very similar to VS Code — so don’t worry, it’s simple.</p><p><strong>Step 1:</strong> Open a folder in Antigravity</p><p><strong>Step 2:</strong> Press Ctrl + Shift + P to open the Command Palette</p><p><strong>Step 3:</strong> Search for <strong>Git Clone</strong> and select it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TooCT6A4cu-zWU7q" /></figure><p><strong>Step 4:</strong> Paste your GitHub repository URL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KwPW8CWgbqxtv0Le" /></figure><p>Click enter now, now the repo is cloned to your local project workspace.</p><p>Hooray!,</p><h3>Adding a Contact Feature</h3><p>For this example project, I wanted to add a <strong>Contact Us</strong> feature.</p><p>So, I asked:</p><h3>Prompt I Used</h3><blockquote><em>“If I want to add a contact form to this project, what’s the best approach and which tools should I use?”</em></blockquote><h3>Response</h3><pre>Recommendation for your case:</pre><pre>Since you&#39;re using <strong>Antigravity</strong> and teaching students —</pre><pre>&gt; ✅ <strong>Web3Forms</strong> is the best choice</pre><pre>Why?<br>- Completely free, no credit card<br>- Works with just an <strong>API key in HTML</strong> — no backend at all<br>- Submissions go directly to your <strong>email inbox</strong><br>- Works perfectly with Antigravity prompt-based building<br>- Takes literally <strong>5 minutes</strong> to set up</pre><pre>---</pre><pre>How It Works (Simple Flow)</pre><pre>```<br>Student fills form → Web3Forms API → Email lands in your inbox<br>```</pre><p>The response may be quite detailed, but the key takeaway is simple:</p><blockquote><em>We can use </em><strong><em>Web3Forms</em></strong><em> to handle contact form submissions without building a full backend.</em></blockquote><h3>⚠️ Before Moving Ahead</h3><p>If your current design doesn’t include a contact section, go back to Figma and add one using a simple prompt.</p><h3>Implementing with Antigravity</h3><p>Now, let’s use Antigravity to integrate Web3Forms into our project.</p><h3>Prompt I Used</h3><blockquote><em>“Understand the entire project structure and workflow. Then integrate Web3Forms API for the contact section. Add proper validation and a success message after submission. Make sure it matches the existing design theme.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yKlt6O6ZylYm3OoZ" /></figure><h3>Important Note About Figma Preview</h3><p>The link you get after publishing your design from Figma only shows the <strong>UI design</strong>.</p><p>👉 Any changes you make later in Antigravity ❌ will NOT be reflected in that link</p><p>So make sure to test your updates <strong>locally</strong> instead.</p><h3>What Happens Next in Antigravity</h3><p>Once you provide the prompt, Antigravity will:</p><ul><li>Analyze your project structure</li><li>Suggest an implementation plan</li></ul><p>If the plan looks good, you can proceed, and it will handle most of the work.</p><h3>🧾 Running the Project</h3><p>Antigravity will guide you step by step:</p><ul><li>It provides the commands you need to run</li><li>You mainly just need to click the <strong>Run</strong> button</li><li>Always follow the instructions in the <strong>Chat section</strong></li></ul><p>After setup, it will generate a <strong>walkthrough file</strong>, which includes:</p><ul><li>all required commands</li><li>steps to run the project</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v8AXF09E6ROEOokw" /></figure><h3>Important for This Project</h3><p>Since we’re using <a href="https://app.web3forms.com/dashboard"><strong>Web3Forms</strong></a>, you’ll need to:</p><ul><li>add your API key</li><li>configure it properly</li></ul><p>👉 All of these steps will be clearly mentioned in the walkthrough file, so read it carefully.</p><p>Now, test your website by running the commands provided in the walkthrough file.</p><p>In most cases, you’ll be prompted to run:</p><pre>npm run dev</pre><p>Once the app is running:</p><ul><li>Open the local URL (usually localhost)</li><li>Try submitting the <strong>contact form</strong></li><li>Check the results in Web3Forms to confirm it’s working</li></ul><p>If everything looks good, you’re ready for the final step 🚀</p><h3>Step 4: Deployment</h3><p>To deploy the project, I used Antigravity again with the following prompt:</p><h3>Prompt I Used</h3><blockquote><em>“Prepare the entire project for production and guide me step by step to deploy it on Vercel (or any suitable platform). Also ensure all changes are pushed to the remote repository.”</em></blockquote><h3>Why I Chose Vercel</h3><p>I used Vercel because:</p><ul><li>It offers a generous free plan</li><li>It’s beginner-friendly</li><li>Deployment is quick and straightforward</li></ul><h3>🎉 Final Result</h3><p>After following the steps in the walkthrough, your website will be live and ready to share.</p><p>👉 Here’s my example project: <a href="https://zomatolandingpage-eight.vercel.app/">https://zomatolandingpage-eight.vercel.app/</a></p><p>And just like that… 🎉 You’ve built and deployed a complete landing page.</p><p>Congratulations on reaching this stage!</p><p>If you have any questions or suggestions for future tutorials, feel free to share them.</p><p>And remember:</p><blockquote><em>Anyone can build a website quickly using modern tools… but only a good storyteller can create something truly meaningful and memorable.</em></blockquote><p>Don’t forget that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d49a245cf33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Actually IS a Dev Container? (And Why You Need One)]]></title>
            <link>https://zakinabdul.medium.com/what-actually-is-a-dev-container-and-why-you-need-one-77a4bf378571?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/77a4bf378571</guid>
            <category><![CDATA[devcontainer]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Mon, 01 Dec 2025 06:09:11 GMT</pubDate>
            <atom:updated>2025-12-01T06:09:45.963Z</atom:updated>
            <content:encoded><![CDATA[<h4>A simple guide to understanding containers, isolation, and the Dev Container workflow.</h4><h3>Introduction</h3><p>For starters, if you have no idea what a container is, think of a container as a <strong>sealed box </strong>for your software. Instead of just handing someone your code and hoping that their computer has the right tools to run it, you pack the code along with every single library, dependency and setting it needs into a lightweight package.</p><p>This ensures that no matter where you open that box, whether it’s on your laptop, your friend’s computer, or a cloud server, the application inside behaves exactly the same way, completely isolated from the messy environment outside.</p><figure><img alt="Dev Container" src="https://cdn-images-1.medium.com/max/1024/1*QR4mLW_bqofjXrNsOBU99Q.png" /></figure><p><strong>So, why do we use Dev Containers?</strong> Let’s break down the difference between the traditional workflow and the Dev Container workflow.</p><h3>The “Traditional” Way (No Dev Containers)</h3><p>The core difference lies in where your development environment lives: directly on your computer’s operating system (Local) or inside an isolated Docker container.</p><p>When you do <strong>not</strong> use Dev Containers, you install all your languages, compilers, and tools directly on your main OS (Windows, macOS, or Linux).</p><ul><li><strong>Setup:</strong> You manually install Node.js, Python, PostgreSQL, etc., on your laptop.</li><li><strong>Dependency Management:</strong> You rely on version managers (like nvm or pyenv) to switch versions between projects.</li></ul><p><strong>The Problem:</strong></p><ul><li>“It works on my machine, but not on yours.”</li></ul><p>This happens because your computer might have a different version of a library or a different OS configuration than your team mates computer.</p><h3>The Dev Container Approach🐳</h3><p>When you use Dev Containers (specifically with VS Code), the IDE spins up a Docker container based on a configuration file (devcontainer.json). Your development environment sits <em>inside</em> that container.</p><ul><li><strong>The Setup:</strong> You just need Docker and the VS Code extension. Open your project, and Boom!!, VS Code builds the whole environment for you automatically.</li><li><strong>No More Version Conflicts:</strong> This is the best part. Project A can use Python 3.9 while Project B runs Python 3.12. They live in separate boxes and never touch your actual computer or each other.</li><li><strong>The Solution: “</strong><em>Now it works on any machine</em>😏”</li></ul><h3>So, Why Separate Development and Production images?</h3><p>Well, It comes down to keeping things clean. In a development image, we install extra utilities like Git, linters and debugging tools, stuffs we need in development. But when we deploy to production, we don’t need any of that. Keeping those features would bloat the image size and slow things down. That’s why we use two different images, a heavy one for building and light one for running.</p><h3>What’s Next?</h3><p>In the next article, I’ll be sharing some sample code and explaining how to setup this for yourself. I hope this gave you a good glimpse into what containers are and if you have any doubts, drop a comment👇, I’d be delighted to answer them😄.</p><p>Stay tuned!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77a4bf378571" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Orchestrating Multi-Agent Workflows with Google ADK and FastAPI]]></title>
            <link>https://zakinabdul.medium.com/orchestrating-multi-agent-workflows-with-google-adk-and-fastapi-e6b4b1a22c90?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6b4b1a22c90</guid>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Fri, 13 Jun 2025 16:51:55 GMT</pubDate>
            <atom:updated>2025-06-13T16:52:40.981Z</atom:updated>
            <content:encoded><![CDATA[<p>A Practical Guide and Boilerplate for Building Robust AI Solutions with a Python Backend.</p><figure><img alt="Mutli Agent" src="https://cdn-images-1.medium.com/max/1024/1*rjPRtcVHLO9DIyyLpWalNA.png" /></figure><h4>Introduction</h4><p>The <strong>Google Agent Development Kit (ADK)</strong> simplifies AI agent creation. It’s an open-source, modular framework for building diverse agents, from simple systems to complex systems. A core ADK strength is its “<em>multi-agent by design</em>” approach. This allows developers to create sophisticated applications by combining multiple specialized agents into collaborative <strong>Multi-Agent Systems (MAS)</strong>. These MAS enable agents to work together, achieving broader goals more efficiently.</p><p>Let’s be honest, trying to bridge the gap between Google ADK and FastAPI can feel like a mess sometimes because of the google adk python i still under development. I’ve been there, The Google ADK Python library is still evolving, and finding practical examples for <strong>Multi-Agent Systems</strong> beyond basic CLI feature demos? its tough😓</p><p>As a FastAPI developer, you’ve probably hit the same wall I did. YouTube is full of ADK CLI features tutorials, but what about building actual production apps? That’s the gap this article fills.</p><h4>What We’re Building</h4><p>We’re focusing on <strong>Sequential Agents</strong> — one of the most useful multi-agent patterns. Think of it as a workflow where agents pass tasks to each other in order, like an assembly line but for AI.</p><p><strong>Quick note</strong>: Google ADK offers three main workflow types:</p><ul><li><strong>Sequential Agents</strong> (what we’re using)</li><li><strong>Parallel Agents</strong></li><li><strong>Loop Agents</strong></li></ul><p>Pick whatever fits your use case, but sequential agents are perfect for step-by-step processing tasks.</p><h4>What You’ll Get</h4><p>By the end of this, you’ll have a solid FastAPI foundation for multi-agent systems that actually works in real applications — not just demos.</p><h3>Simple Scenario: “Customer Inquiry Processor”</h3><p>Let’s imagine a very basic system for processing a customer’s inquiry or support request. We’ll have two sequential agents:</p><ol><li><strong>Inquiry Categorizer Agent:</strong> Takes raw text, identifies keywords, and categorizes the inquiry (e.g., “Technical Support,” “Billing,” “General Inquiry”).</li><li><strong>Response Suggestion Agent:</strong> Takes the categorized inquiry and suggests a basic, pre-defined response.</li></ol><h4>Scenario Details:</h4><p><strong>Problem:</strong> A customer submits a raw text inquiry. We want to automatically categorize it and suggest an initial response.</p><p><strong>Input to the System (via FastAPI):</strong></p><pre>{<br>  &quot;customer_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;<br>}</pre><p><strong>Agent 1: Inquiry Categorizer Agent</strong></p><ul><li><strong>Role:</strong> Analyzes the customer_inquiry text and determines its category.</li><li><strong>Input:</strong> Raw text inquiry string.</li><li><strong>Logic (Simplified):</strong> Looks for keywords.</li><li>“internet”, “network”, “login”, “software”, “update” -&gt; “Technical Support”</li><li>“bill”, “invoice”, “payment”, “charge” -&gt; “Billing”</li><li>Otherwise -&gt; “General Inquiry”</li><li><strong>Output:</strong> A dictionary containing the original inquiry and its determined category.</li></ul><pre>{   &quot;original_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;,   <br>    &quot;category&quot;: &quot;Technical Support&quot; }</pre><p><strong>Agent 2: Response Suggestion Agent</strong></p><ul><li><strong>Role:</strong> Takes the categorized inquiry and provides a canned, initial response based on the category.</li><li><strong>Input:</strong> The output from the Inquiry Categorizer Agent (a dictionary with original_inquiry and category).</li><li><strong>Logic :</strong> Uses the category to pick a pre-defined response.</li><li><strong>Technical Support</strong> → “<em>Thank you for contacting technical support. Please provide your account number and we will connect you with a specialist.”</em></li><li><strong>Billing</strong> →<em>“Thank you for contacting billing. Please provide your account number and the invoice details, and we will assist you.”</em></li><li><strong>General Inquiry</strong> →<em>“Thank you for your inquiry. We will route your request to the appropriate department.”</em></li><li><strong>Output:</strong> A dictionary containing the original inquiry, its category, and the suggested response.</li></ul><pre>{   &quot;original_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;,   <br>    &quot;category&quot;: &quot;Technical Support&quot;,   <br>    &quot;suggested_response&quot;: &quot;Thank you for contacting technical support. Please provide your account number and we will connect you with a specialist.&quot; }</pre><p><strong>FastAPI Orchestration:</strong></p><p>The FastAPI endpoint would :</p><ul><li>Receive the customer_inquiry from user</li><li>Pass it to /api/process-inquiry endpoint</li><li>which passes to CustomerAgentOrchestrator</li><li>Which first passes the customer_inquiry to CategorizerAgent</li><li>Take the output of CategorizerAgent</li><li>Pass that output to ResponderAgent</li><li>Return the final output from ResponderAgentas the API response.</li></ul><p>First, you’ll need your <strong>Gemini API Key</strong> from Google AI Studio. Once you have it, create a .env file in the root of your project and add the following lines:</p><pre>GOOGLE_GENAI_USE_VERTEXAI=FALSE<br>GOOGLE_API_KEY=YOUR_API_KEY_HERE # Replace YOUR_API_KEY_HERE with your actual key</pre><p>Next, make sure you have <strong>FastAPI</strong> and <strong>Google ADK</strong> installed. Create a requirements.txt file in your project&#39;s root directory with these dependencies:</p><pre>fastapi[standard]<br>google-adk</pre><p>Then, open your terminal in the same directory as your requirements.txt file and run this command to install everything:</p><pre>pip install -r requirements.txt</pre><h4>Defining Our Agents</h4><p>We’ll define our agents as simple Python functions or classes within their respective files.</p><p><strong>agents/customer_agent/sub_agents/categorizer.py:</strong></p><pre>from google.adk.agents import LlmAgent<br><br>CategorizerAgent = LlmAgent(<br>    name=&quot;categorizer&quot;,<br>    model=&quot;gemini-2.0-flash&quot;,<br>    description=&quot;An agent that analyzes raw customer inquiry text and categorizes it into one of three predefined categories&quot;,<br>    instruction=&quot;&quot;&quot;<br>            You are the Inquiry Categorizer Agent in a Customer Inquiry Processor pipeline.<br>            Your task is to analyze the provided customer inquiry text and <br>            categorize it into one of three predefined categories: &quot;Technical Support&quot;, &quot;Billing&quot;, or &quot;General Inquiry&quot;.<br>                <br>            **Input**<br>                the user will provide Customer Inquiry <br>                <br>            **Classification Rules:**<br>                <br>                Technical Support - Triggered by keywords/phrases:<br>                  - internet, network, wifi, connection, connectivity<br>                  - login, password, account access, authentication<br>                  - software, app, application, program, update, upgrade, installation<br>                  - error, bug, crash, freeze, slow, performance, not working, broken<br>                <br>                Billing - Triggered by keywords/phrases:<br>                  - bill, billing, invoice, statement, payment, charge, fee, cost<br>                  - refund, credit, dispute, overcharge, subscription, plan<br>                  - account balance, transaction, purchase, cancel (billing-related)<br>                <br>                General Inquiry - Default category for:<br>                  - General questions about services/products<br>                  - Information requests, feedback, business hours<br>                  - Any inquiry not clearly fitting Technical Support or Billing<br>                <br>                Example:<br>                    Input Customer Inquiry: &quot;My internet is not working after the update, please help!&quot;<br>                <br>                Your Output:<br>                {<br>                    &quot;original_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;,<br>                    &quot;category&quot;: &quot;Technical Support&quot;<br>                }<br>                <br>                Example:<br>                Input Customer Inquiry: &quot;I was charged twice for my subscription, need a refund&quot;<br>                <br>                Your Output:<br>                {<br>                    &quot;original_inquiry&quot;: &quot;I was charged twice for my subscription, need a refund&quot;,<br>                    &quot;category&quot;: &quot;Billing&quot;<br>                }<br>                <br>                Example:<br>                Input Customer Inquiry: &quot;What are your business hours?&quot;<br>                <br>                Your Output:<br>                {<br>                    &quot;original_inquiry&quot;: &quot;What are your business hours?&quot;,<br>                    &quot;category&quot;: &quot;General Inquiry&quot;<br>                }<br>                <br>                IMPORTANT: Your entire response MUST be valid JSON in the exact format shown above, nothing more.       &quot;&quot;&quot;,<br>                output_key=&quot;category_response&quot;,<br>) </pre><p><strong>agents/customer_agent/sub_agents/responder.py:</strong></p><pre>from google.adk.agents import LlmAgent<br><br>ResponderAgent = LlmAgent(<br>    name=&#39;responder&#39;,<br>    model=&#39;gemini-2.0-flash&#39;,<br>    description=&quot;An agent that takes categorized customer inquiries and generates appropriate pre-defined responses based on the determined category&quot;,<br>    instruction=&quot;&quot;&quot;<br>            You are the Response Suggestion Agent in a Customer Inquiry Processor pipeline.<br>            Your task is to take the categorized inquiry from the previous agent and provide an appropriate pre-defined response based on the category.<br>            <br>            **Input**<br>              Category Response: {category_response} # &lt;--- This variable will contain the output from the Inquiry Categorizer Agent<br>            <br>            **Response Rules:**<br>            <br>               Technical Support Category → <br>                 &quot;Thank you for contacting technical support. Please provide your account number and we will connect you with a specialist.&quot;<br>            <br>               Billing Category → <br>                  &quot;Thank you for contacting billing. Please provide your account number and the invoice details, and we will assist you.&quot;<br>            <br>               General Inquiry Category → <br>                  &quot;Thank you for your inquiry. We will route your request to the appropriate department.&quot;<br>            <br>            Example:<br>            Input Category Response: <br>            {<br>                &quot;original_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;,<br>                &quot;category&quot;: &quot;Technical Support&quot;<br>            }<br>            <br>            Your Output:<br>            {<br>                &quot;original_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;,<br>                &quot;category&quot;: &quot;Technical Support&quot;,<br>                &quot;suggested_response&quot;: &quot;Thank you for contacting technical support. Please provide your account number and we will connect you with a specialist.&quot;<br>            }<br>            <br>            Example:<br>            Input Category Response:<br>            {<br>                &quot;original_inquiry&quot;: &quot;I was charged twice for my subscription, need a refund&quot;,<br>                &quot;category&quot;: &quot;Billing&quot;<br>            }<br>            <br>            Your Output:<br>            {<br>                &quot;original_inquiry&quot;: &quot;I was charged twice for my subscription, need a refund&quot;,<br>                &quot;category&quot;: &quot;Billing&quot;,<br>                &quot;suggested_response&quot;: &quot;Thank you for contacting billing. Please provide your account number and the invoice details, and we will assist you.&quot;<br>            }<br>            <br>            Example:<br>            Input Category Response:<br>            {<br>                &quot;original_inquiry&quot;: &quot;What are your business hours?&quot;,<br>                &quot;category&quot;: &quot;General Inquiry&quot;<br>            }<br>            <br>            Your Output:<br>            {<br>                &quot;original_inquiry&quot;: &quot;What are your business hours?&quot;,<br>                &quot;category&quot;: &quot;General Inquiry&quot;,<br>                &quot;suggested_response&quot;: &quot;Thank you for your inquiry. We will route your request to the appropriate department.&quot;<br>            }<br>            <br>            IMPORTANT: Respond ONLY with raw JSON. Do NOT include any Markdown formatting like triple backticks (```), code fences, or text annotations.<br>                       The response must be a valid JSON object without any wrapping.<br>                       Example:<br>                       {<br>                         &quot;original_inquiry&quot;: &quot;...&quot;,<br>                         &quot;category&quot;: &quot;...&quot;,<br>                         &quot;suggested_response&quot;: &quot;...&quot;<br>                       }<br>                       &quot;&quot;&quot;,<br>)</pre><p><strong>agents/customer_agent/sub_agents/__init__.py:</strong></p><pre>from .categroizer import CategorizerAgent<br>from .responder import ResponderAgent</pre><p><strong>agents/customer_agent/agent.py :</strong></p><pre>from .sub_agents import CategorizerAgent, ResponderAgent<br>from google.adk.agents import SequentialAgent<br><br>class CustomerAgentOrchestrator:<br>    def __init__(self):<br>        # Root Agent<br>        self.root_agent = SequentialAgent(<br>            name=&#39;CustomerInquiryProcessorPipeline&#39;,<br>            sub_agents=[CategorizerAgent, ResponderAgent ],<br>            description=&quot;A pipeline that processes customer inquiries by categorizing them and generating appropriate pre-defined responses&quot;,<br>        )</pre><p><strong>agents/customer_agent/__init__.py :</strong></p><pre>from .agent import CustomerAgentOrchestrator</pre><p>Now let’s create our models.py where we declare our pydantic models.</p><p><strong>models.py:</strong></p><pre>from pydantic import BaseModel<br>from typing import Optional<br><br>class CustomerInquiryRequest(BaseModel):<br>    customer_inquiry: str<br><br>class CustomerInquiryResponse(BaseModel):<br>    original_inquiry: str<br>    category: str<br>    suggested_response: str</pre><p>Now, let’s create our main.py file, where FastAPI will tie everything together.</p><p><strong>main.py:</strong></p><pre>from fastapi import FastAPI, APIRouter, HTTPException<br>from .models import CustomerInquiryRequest, CustomerInquiryResponse<br>from google.adk.sessions import DatabaseSessionService<br>from google.adk.runners import Runner<br>from .agents.customer_agent import CustomerAgentOrchestrator<br>from google.genai import types<br>import json<br>import re<br>import uuid<br>from contextlib import asynccontextmanager<br><br># SQLlite DB init<br>DB_URL = &quot;sqlite:///./multi_agent_data.db&quot;<br>APP_NAME = &quot;CustomerInquiryProcessor&quot;<br><br># Create a lifespan event to initialize and clean up the session service<br>@asynccontextmanager<br>async def lifespan(app: FastAPI):<br>    # Startup code<br>    print(&quot;Application starting up...&quot;)    <br>    # Initialize the DatabaseSessionService instance and store it in app.state<br>    try:<br>        app.state.session_service =DatabaseSessionService(db_url=DB_URL)<br>        print(&quot;Database session service initialized successfully.&quot;)<br>    except Exception as e:<br>        print(&quot;Database session service initialized failed.&quot;)<br>        print(e)<br>    <br>    yield # This is where the application runs, handling requests<br>    # Shutdown code<br>    print(&quot;Application shutting down...&quot;)<br>    <br># FastAPI application setup<br>app = FastAPI(<br>    title=&quot;Customer Inquiry Processor&quot;,<br>    description=&quot;Multi-agent system for processing customer inquiries&quot;,<br>    version=&quot;1.0.0&quot;,<br>    lifespan=lifespan,<br>)<br># Initializing the Orchestrator<br>customer_agent = CustomerAgentOrchestrator()<br>router = APIRouter()<br><br>@router.post(&quot;/process-inquiry&quot;, response_model=CustomerInquiryResponse)<br>async def process_customer_inquiry(<br>    request_body: CustomerInquiryRequest<br>):<br>    &quot;&quot;&quot;<br>    Endpoint to interact with the multi-agent ADK system.<br>    request_body: {&quot;customer_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;}<br>    &quot;&quot;&quot;<br>    # Extract customer inquiry from request<br>    customer_inquiry = request_body.customer_inquiry<br>    <br>    # Generate unique IDs for this processing session<br>    unique_id = str(uuid.uuid4())<br>    session_id = unique_id<br>    user_id = unique_id<br><br>    try:<br>         # Get database session service from application state<br>        session_service: DatabaseSessionService = app.state.session_service<br>        <br>        # Try to get existing session or create new one<br>        current_session = None<br>        try:<br>            current_session = await session_service.get_session(<br>                app_name=APP_NAME,<br>                user_id = user_id,<br>                session_id=session_id,<br>            )<br>        except Exception as e:<br>            print(f&quot;Existing Session retrieval failed for session_id=&#39;{session_id}&#39; &quot;<br>                    f&quot;and user_uid=&#39;{user_id}&#39;: {e}&quot;)<br>        <br>        # If no session found, creating new session<br>        if current_session is None:<br>            current_session = await session_service.create_session(<br>                app_name=APP_NAME,<br>                user_id=user_id,<br>                session_id=session_id,<br>            )<br>        else:<br>            print(f&quot;Existing session &#39;{session_id}&#39;has been found. Resuming session.&quot;)<br><br>        # Initialize the ADK Runner with our multi-agent pipeline<br>        runner = Runner(<br>            app_name=APP_NAME,<br>            agent=customer_agent.root_agent,<br>            session_service = session_service,<br>        )<br><br><br>         # Format the user query as a structured message using the google genais content types<br>        user_message = types.Content(<br>            role=&quot;user&quot;, parts=[types.Part.from_text(text=customer_inquiry)]<br>        )<br>        <br>        # Run the agent asynchronously<br>        events = runner.run_async(<br>            user_id = user_id,<br>            session_id = session_id,<br>            new_message = user_message,<br>        )<br><br>        # Process events to find the final response <br>        final_response = None<br>        last_event_content = None<br>        async for event in events:<br>            if event.is_final_response():<br>                if event.content and event.content.parts:<br>                    last_event_content = event.content.parts[0].text<br><br>        if last_event_content:<br>            final_response = last_event_content<br>        else:<br>            print(&quot;No final response event found from the Sequential Agent.&quot;)<br>    <br>        # Parse the JSON response from agents<br>        if final_response is None:<br>            raise HTTPException(status_code=500, detail=&quot;No response received from agent.&quot;)<br>        <br>        # Clean up Markdown code block if it exists<br>        # This handles responses like: ```json\n{ ... }\n```<br>        cleaned_response = re.sub(r&quot;^```(?:json)?\n|```$&quot;, &quot;&quot;, final_response.strip(), flags=re.IGNORECASE)<br>        <br>        # Loading the cleaned JSON<br>        try:<br>            response_data = json.loads(cleaned_response)<br>        except json.JSONDecodeError:<br>            raise HTTPException(status_code=500, detail=&quot;Agent response is not valid JSON.&quot;)<br>        <br>        # Return the structured response using your Pydantic model<br>        return CustomerInquiryResponse(<br>            original_inquiry=response_data.get(&quot;original_inquiry&quot;, &quot;&quot;),<br>            category=response_data.get(&quot;category&quot;, &quot;&quot;),<br>            suggested_response=response_data.get(&quot;suggested_response&quot;, &quot;&quot;)<br>        )<br>               <br>    except Exception as e:<br>        raise HTTPException(status_code=500, detail=f&quot;Failed to process agent query: {e}&quot;)<br>    <br># Include the router in the FastAPI app<br>app.include_router(router, prefix=&quot;/api&quot;, tags=[&quot;Customer Inquiry Processing&quot;])</pre><p><strong>__init__.py :</strong></p><pre>from .main import app</pre><h4><strong>Understanding Agent Response Processing</strong></h4><p>For those who may find it challenging to understand certain code snippets, here’s a breakdown of this agent response handling code:</p><pre># Parse the JSON response from agents<br>if final_response is None:<br>     raise HTTPException(status_code=500, detail=&quot;No response received from agent.&quot;)<br>        <br># Clean up Markdown code block if it exists<br># This handles responses like: ```json\n{ ... }\n```<br>cleaned_response = re.sub(r&quot;^```(?:json)?\n|```$&quot;, &quot;&quot;, final_response.strip(), flags=re.IGNORECASE)<br>        <br># Loading the cleaned JSON<br>try:<br>   response_data = json.loads(cleaned_response)<br>except json.JSONDecodeError:<br>   raise HTTPException(status_code=500, detail=&quot;Agent response is not valid JSON.&quot;)</pre><h4>Why This Code Exists</h4><p>The agent sometimes returns responses wrapped in markdown code blocks like:</p><pre>```json<br>{ &quot;key&quot;: &quot;value&quot; }```</pre><p>This code snippet cleans up that markdown formatting to extract the pure JSON content. However, you have alternatives:</p><h4><strong>Alternative Approach</strong></h4><p>You can configure your agent to return plain JSON by specifying this requirement in the agent prompt, eliminating the need for this cleanup step entirely.</p><h4>Why I Chose This Approach?</h4><p>I chose this JSON approach to demonstrate how to handle structured responses from agents, even when they include markdown formatting. Sure, I could’ve just told the agent “hey, give me plain JSON” in the prompt and called it a day. But where’s the fun in that?😄</p><h4>Running the application</h4><p>To run your FastAPI application, navigate to the your_project_name directory in your terminal and execute:</p><pre>fastapi dev main.py</pre><ul><li>dev : Runs the application in development mode with auto-reload enabled.</li></ul><p>You should see output similar to this, indicating the server is running:</p><pre>INFO:     Will watch for changes in these directories: [&#39;/path/to/your_project_name&#39;]<br>INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)<br>INFO:     Started reloader process [PID]<br>INFO:     Started server process [PID]<br>INFO:     Waiting for application startup.<br>INFO:     Application startup complete.</pre><h4>Testing Your Endpoint</h4><p>Open your web browser and go to http://127.0.0.1:8000/docs. This will open the interactive API documentation provided by FastAPI (Swagger UI).</p><p>You’ll see the /process_inquiry endpoint. Click on it, then &quot;Try it out,&quot; and enter your customer_inquiry in the request body.</p><p><strong>Example Request Body:</strong></p><pre>{<br>  &quot;customer_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;<br>}</pre><p>Click “Execute” and you should see a successful response similar to this:</p><p><strong>Example Response Body:</strong></p><pre>{<br>  &quot;original_inquiry&quot;: &quot;My internet is not working after the update, please help!&quot;,<br>  &quot;category&quot;: &quot;Technical Support&quot;,<br>  &quot;suggested_response&quot;: &quot;Thank you for contacting technical support. Please provide your account number and we will connect you with a specialist.&quot;<br>}</pre><p>Try other inquiries like:</p><ul><li>&quot;I have a question about my last bill.&quot; (Should categorize as &quot;Billing&quot;)</li><li>&quot;Just wanted to say hi!&quot; (Should categorize as &quot;General Inquiry&quot;)</li></ul><h4>Conclusion</h4><p>At the end, we built a simple multi-agent system using FastAPI to coordinate agents in a “Customer Inquiry Processor”. While we used basic error handling for prototyping, FastAPI’s async support and modular design make it great for scaling up more complex agent-based systems. As your system scales, the Google ADK stand out as a efficient framework for orchestrating multiple intelligent agents<strong>.</strong></p><p>This article turned out a bit long, but I hope it was worth the read! I’d love to hear your thoughts. Drop a comment if you’ve tried building multi-agent systems or have questions about getting started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6b4b1a22c90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Lesson in Troubleshooting: Our Journey In College Tech Festival]]></title>
            <link>https://zakinabdul.medium.com/a-lesson-in-troubleshooting-our-journey-in-college-tech-festival-e68f5941047f?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e68f5941047f</guid>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Tue, 18 Mar 2025 07:18:56 GMT</pubDate>
            <atom:updated>2025-03-18T07:18:56.943Z</atom:updated>
            <content:encoded><![CDATA[<p>It was an amazing experience as a group of four students from different departments came together to create a light tracking system for better energy consumption using solar power. We found a reference for it, conducted thorough research, and gathered valuable insights on the topic.</p><p>After weeks of hard work, we finally built the system, but we encountered an unexpected problem, our servo motors were not working. We tried numerous troubleshooting methods, sought help from experienced individuals, and even posted on online forums. Despite all our efforts, the issue remained unresolved.</p><p>Exhausted and frustrated after an entire night of debugging, we decided to consult our electronics professor. He took one quick look, checked the charge of our battery, and to our surprise, it was completely drained! At that moment, we all thought, &quot;What the hell!&quot; We had spent hours trying to solve the issue, only to realize that the problem was simply a dead battery.</p><p>That day, we learned an invaluable lesson—always check the basics first before diving into complex solutions. It was a reminder that sometimes, the simplest issues can cause the biggest setbacks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e68f5941047f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MiniConda vs. Venv: Choosing the Right Virtual Environment for Your Python Projects]]></title>
            <link>https://zakinabdul.medium.com/miniconda-vs-venv-choosing-the-right-virtual-environment-for-your-python-projects-c977e282c530?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c977e282c530</guid>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[anaconda]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Wed, 25 Dec 2024 14:12:38 GMT</pubDate>
            <atom:updated>2024-12-25T14:12:38.031Z</atom:updated>
            <content:encoded><![CDATA[<p>When working on Python projects, choosing the right environment management tool is essential to ensuring your workflow remains smooth and efficient. So I thought, why don’t I just write about it?</p><p>Developers often debate over two popular options: <a href="https://docs.anaconda.com/miniconda/"><strong>Miniconda</strong> </a>and <a href="https://docs.python.org/3/library/venv.html"><strong>Venv</strong></a>. In this article, we’ll explore the differences between these two tools, examine their strengths and weaknesses, and provide a step-by-step guide to setting up each on your PC. By the end, you’ll have a clear understanding of which tool is better suited for your specific needs.</p><h3>What is a Virtual Environment? (For beginners)</h3><p>Before diving into the specifics of Miniconda and Venv, let’s clarify what a virtual environment is. In programming, a virtual environment is an isolated space where you can install dependencies for a specific project without affecting other projects or your system-wide Python installation. This isolation ensures that different projects can use different versions of the same package without conflicts, making it an essential tool for any Python developer.</p><p>Imagine working on two projects: one requires Pandas 1.5, and the other requires Pandas 2.2.3. Without a virtual environment, managing such conflicting requirements would be a nightmare. Virtual environments solve this problem by creating separate spaces for each project’s dependencies.</p><h3>What is Venv?</h3><p>Venv is Python’s built-in module for creating virtual environments. It’s a lightweight and straightforward solution for isolating project dependencies. When you create a virtual environment with Venv, it sets up an independent Python interpreter and directory for installing project-specific packages.</p><p>Venv is often preferred for its simplicity and ease of use, particularly in small to medium-scale projects where dependency management is less complex. Since it’s included in Python by default, there’s no need to install additional tools to get started.</p><h3>What is Miniconda?</h3><p>Miniconda is a lightweight version of the Anaconda distribution. Unlike the full Anaconda suite, which includes hundreds of pre-installed data science libraries, Miniconda is minimalistic, providing only:</p><ul><li>A package manager (conda).</li><li>Python.</li><li>Essential tools for managing environments and dependencies.</li></ul><h4>Miniconda vs. Anaconda Navigator</h4><p>While Miniconda offers a minimal setup, Anaconda Navigator is a GUI-based interface that comes with a wide array of pre-installed libraries like NumPy, pandas, and scikit-learn. Anaconda is ideal for beginners who want an out-of-the-box data science toolkit, but it can be quite bulky. Miniconda, on the other hand, gives you the flexibility to install only the packages you need, making it lightweight and faster to set up. This makes Miniconda a better choice for developers who prefer a leaner installation and more control over their environments.</p><h3>Which One Should You Choose?</h3><p>The choice between Miniconda and Venv largely depends on the nature of your project:</p><p><strong>Use Venv if:</strong></p><ul><li>You work on lightweight projects or simple scripts.</li><li>Your dependencies are limited to Python packages.</li><li>You want a quick and simple setup without additional tools.</li></ul><p><strong>Use Miniconda if:</strong></p><ul><li>You work on data science or machine learning projects.</li><li>You require non-Python dependencies (e.g., compilers, and libraries like TensorFlow).</li><li>You prefer robust dependency resolution to avoid conflicts.</li></ul><h3>How to Set Up Miniconda on Your PC (With VS Code Integration)</h3><p>The setup described here is the one I use and love. Feel free to customize it according to your preferences. In this guide, I’ll also show you how to configure Miniconda with <strong>VS Code</strong>.</p><h4>Step 1: Download Miniconda</h4><p>Visit the <a href="https://docs.conda.io/en/latest/miniconda.html">Miniconda website</a> and download the installer that matches your operating system.</p><h4>Step 2: Install Miniconda</h4><p>Run the installer and follow the on-screen instructions. <strong>Do not add Miniconda to the PATH variable during installation</strong>; we’ll set it up differently for better control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*PDrfdaLEWu8oUaSbuUHueg.png" /></figure><h4>Step 3: Configure Miniconda in VS Code</h4><ol><li>Open <strong>VS Code</strong> and access settings.json:</li></ol><ul><li>Press Ctrl+Shift+P to open the Command Palette.</li><li>Type <strong>Preferences</strong> and select <strong>Preferences: Open User Settings (JSON)</strong>.</li></ul><p>2. Add the following code block to your settings.json file:</p><pre>&quot;terminal.integrated.profiles.windows&quot;: {<br>        &quot;Conda&quot;: {<br>            &quot;path&quot;: &quot;cmd.exe&quot;,<br>            &quot;args&quot;: [<br>                &quot;/K&quot;,<br>                &quot;D:\\User\\App_data\\miniconda3\\condabin\\activate.bat&quot;<br>            ]<br>        }<br>    }</pre><blockquote><strong>Note:</strong> Replace the path with the location where Miniconda is installed on your system.</blockquote><p><strong>3. Common Pitfall:</strong> Ensure you add a comma (,) before this block if there are other settings in the file. Below is an example of what your settings.json might look like after adding the code. The other settings may vary based on your configuration—focus only on the way the new code block is inserted:</p><pre>{<br>    &quot;editor.minimap.enabled&quot;: false,<br>    &quot;git.autofetch&quot;: true,<br>    &quot;files.autoSave&quot;: &quot;afterDelay&quot;,<br>    &quot;editor.accessibilitySupport&quot;: &quot;off&quot;,<br>    &quot;terminal.integrated.defaultProfile.windows&quot;: &quot;Command Prompt&quot;,<br>    <br>    &quot;jupyter.widgetScriptSources&quot;: [<br>        &quot;jsdelivr.com&quot;,<br>        &quot;unpkg.com&quot;<br>    ],<br>       <br>    &quot;terminal.integrated.profiles.windows&quot;: {<br>        &quot;Conda&quot;: {<br>            &quot;path&quot;: &quot;cmd.exe&quot;,<br>            &quot;args&quot;: [<br>                &quot;/K&quot;,<br>                &quot;D:\\User\\App_data\\miniconda3\\condabin\\activate.bat&quot;<br>            ]<br>        }<br>    }<br>}</pre><h4>Why Configure Miniconda in VS Code Using This Method?</h4><p>Adding the above code block to your settings.json provides the following benefits:</p><ol><li><strong>Seamless Environment Management</strong>: This setup creates a dedicated terminal profile named <strong>Conda</strong> in VS Code. You can easily activate your Conda environment without typing the full activation path each time.</li><li><strong>Better Isolation</strong>: By not adding Miniconda to the global PATH variable, you minimize potential conflicts with other Python installations or tools on your system. This ensures your Conda environments are used only when explicitly needed.</li><li><strong>Quick Activation</strong>: Instead of manually navigating to the Miniconda directory or activating Conda in every new terminal session, you can simply select the <strong>Conda</strong> terminal profile from the dropdown in the integrated terminal.</li><li><strong>Improved Workflow</strong>: This approach aligns well with VS Code’s flexibility, allowing you to run Conda commands directly in the editor without switching to an external terminal.</li></ol><p>With this configuration, you streamline the process of activating and working with Conda environments, saving time and avoiding common setup issues.</p><h3>Creating and Activating a Conda Environment</h3><ol><li><strong>Open the Conda terminal profile</strong>: Launch the terminal or command prompt that has the Conda environment set up.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*8_-xmiYSmhEpuIYXrg_jkQ.png" /></figure><p><strong>2. Create an Environment:</strong></p><ul><li>Use the following command to create a new environment:</li></ul><pre>conda create --name myenv python=3.12</pre><ul><li>Replace “myenv” with your desired environment name. Optionally, specify the desired Python version after python=. For example, python=3.9 will create an environment with Python 3.9. If you don&#39;t specify a version, Conda will typically create the environment using the default Python version installed on your system.</li><li>Refer to the <a href="https://docs.conda.io/projects/conda/en/latest/user-guide/cheatsheet.html">official Conda documentation</a> for more details on using the Conda terminal.</li></ul><p><strong>3. Activate the Environment:</strong></p><ul><li>Execute the following command to activate the newly created environment:</li></ul><pre>conda activate myenv</pre><ul><li>Once activated, the environment name (e.g., “(myenv)”) will typically appear within parentheses in your terminal prompt, indicating that the environment is active.</li></ul><p><strong>To Install Packages:</strong></p><ul><li>Install necessary packages within the activated environment using the following command:</li></ul><pre>conda install numpy </pre><ul><li>Replace “numpy” with the specific packages you need.</li></ul><h3><strong>How to Set Up Venv on Your PC</strong></h3><ol><li><strong>Create a Virtual Environment:</strong></li></ol><pre>python3 -m venv myvenv</pre><p>Replace “myvenv” with your desired environment name.</p><p><strong>2. Activate the Environment:</strong></p><ul><li><strong>On Windows:</strong></li></ul><pre>myvenv\Scripts\activate</pre><ul><li><strong>On macOS/Linux:</strong></li></ul><pre>source myvenv/bin/activate</pre><p><strong>To Install Packages:</strong></p><pre>pip install numpy pandas</pre><p>Replace “numpy” and “pandas” with the specific packages you need.</p><h3>Final Thoughts</h3><p>Both Miniconda and Venv have their strengths, and the right choice depends on your project’s requirements. Miniconda shines in complex, dependency-heavy projects, while Venv is ideal for lightweight, Python-only applications. Experiment with both to find what works best for your workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c977e282c530" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Impact of Social Media Algorithms on AI Robots: A Future of Personalization or Manipulation?]]></title>
            <link>https://zakinabdul.medium.com/the-impact-of-social-media-algorithms-on-ai-robots-a-future-of-personalization-or-manipulation-bc94200d1eb3?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc94200d1eb3</guid>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Tue, 19 Nov 2024 02:52:48 GMT</pubDate>
            <atom:updated>2024-11-19T02:52:48.645Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is completely created by GPT and I am publishing it to share my concerns about future AI applications.</p><p>Social media algorithms have revolutionized the way we interact with content online. By analyzing our clicks, likes, and even pauses, platforms like Instagram, Facebook, and TikTok can predict our preferences with remarkable accuracy. These algorithms create personalized experiences, feeding users content they crave before they even realize it. But what if this predictive power extended beyond social media platforms to AI robots in the physical world? Could these robots predict our needs, wants, or even emotions? While the idea sounds revolutionary, it also raises questions about privacy, ethics, and human autonomy.</p><p>The Current Power of Social Media Algorithms</p><p>Social media algorithms are designed to optimize engagement by studying user behavior. Machine learning models analyze vast amounts of data—ranging from the time you spend watching a video to the types of posts you share—and use that to curate your experience. For users, this means convenience and a sense of being understood. For businesses, it translates to targeted marketing and increased revenue.</p><p>However, these algorithms also have a darker side. Critics argue they promote addictive behaviors, polarization, and a loss of personal agency. With such power already influencing our online behaviors, extending these capabilities to AI robots could amplify these concerns in ways we are just beginning to imagine.</p><p>AI Robots with Predictive Social Media Power</p><p>Imagine a world where AI robots, integrated with the predictive power of social media algorithms, are part of our daily lives. These robots could anticipate what you want for dinner, when you&#39;re feeling stressed, or even which product you’re likely to buy next. Here are some potential outcomes of such a future:</p><p>1. Hyper-Personalization</p><p>AI robots could create an unprecedented level of personalization. A robot assistant might prepare your coffee the way you like it as soon as you wake up, remind you of your appointments, or even offer emotional support by detecting when you’re upset. This could significantly enhance convenience and quality of life, making AI companions indispensable.</p><p>2. Behavioral Manipulation</p><p>With great power comes great responsibility—or the potential for abuse. Just as social media algorithms can subtly manipulate users to keep them engaged, AI robots could influence human decisions in the real world. For example, a robot might nudge you to purchase specific products, subscribe to services, or adopt certain behaviors that benefit corporations or governments rather than you.</p><p>3. Privacy Erosion</p><p>AI robots would need access to highly sensitive data to make accurate predictions. This could mean a constant stream of surveillance, recording your habits, preferences, and interactions. While some may accept this for the sake of convenience, it raises significant concerns about privacy. Who owns this data? How is it stored, and who can access it?</p><p>4. Emotional Dependency</p><p>The ability to predict and respond to human emotions could lead to emotional dependency on AI robots. Just as some individuals become attached to their devices or online personas, people might start relying on robots for companionship or validation, potentially impacting real-life relationships and mental health.</p><p>5. Ethical Concerns</p><p>Implementing social media algorithms in AI robots introduces ethical dilemmas. Who ensures these robots prioritize human well-being over profits? How do we prevent biased algorithms from perpetuating stereotypes or discrimination? These are critical questions that need addressing before such technology becomes mainstream.</p><p>The Risks of Losing Autonomy</p><p>The primary concern with AI robots equipped with predictive algorithms is the potential loss of human autonomy. When robots anticipate and act on our needs without explicit instructions, there is a risk of diminishing our ability to make independent decisions. Over time, people may become passive participants in their own lives, relying on machines to guide them in everything from minor daily tasks to significant life choices.</p><p>Striking a Balance</p><p>To harness the benefits of predictive AI robots while minimizing risks, a balance must be struck. Here are some ways forward:</p><p>Transparency: Developers must ensure that AI systems are transparent about how they collect and use data. Users should have full control over their information and the ability to opt out of specific functionalities.</p><p>Regulation: Governments and regulatory bodies need to establish guidelines to prevent abuse of AI technologies. This includes ensuring algorithms prioritize user well-being and do not exploit vulnerabilities for profit.</p><p>Education: Public awareness campaigns can educate people about the potential risks and benefits of predictive AI, empowering users to make informed decisions about their interactions with such technologies.</p><p>Ethical AI Design: Companies should prioritize ethical considerations during development. This includes incorporating fairness, accountability, and explainability into AI systems.</p><p>Conclusion</p><p>Social media algorithms have already demonstrated their immense potential to influence human behavior. If this power is implemented in AI robots, it could transform how we live, work, and interact. While the possibilities for convenience and personalization are exciting, they come with significant risks to privacy, autonomy, and ethics.</p><p>The challenge lies in ensuring that these technologies serve humanity rather than manipulate or control it. By addressing these concerns proactively, we can embrace a future where AI robots enhance our lives without compromising our values.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc94200d1eb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are We Replacing Our Brains with AI?]]></title>
            <link>https://zakinabdul.medium.com/an-new-era-9c3545203c7f?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c3545203c7f</guid>
            <category><![CDATA[habits]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[future]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Sun, 27 Oct 2024 09:32:19 GMT</pubDate>
            <atom:updated>2024-10-27T09:33:32.891Z</atom:updated>
            <content:encoded><![CDATA[<p>It&#39;s been a while since I last posted, and I’ve missed sharing my thoughts. Today, I want to talk about a trend I’ve observed—one that might be creating a new generation of over-reliant learners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rJg6G9xvxMpPrpJnkUbMGg.png" /></figure><p>As a B.Tech student, my course involves numerous assignments that require showcasing our skills. For instance, we have a subject called Life Skills, aimed at improving our personality, communication, and critical thinking. Recently, we were tasked with an assignment to step into the role of a parent, teacher, or friend, and assess their strengths and weaknesses, while also suggesting areas for improvement. When our teacher assigned this, I was initially surprised to see everyone turning to ChatGPT. Even I used it—not for the entire answer, but to get an idea of how to format the writing. I admit, I did copy some parts, but with a clear understanding of their meaning and intent.</p><p>However, what truly surprised me was how my peers were using it. They simply asked ChatGPT to write the full report, pretending to be a parent and listing strengths, weaknesses, and improvement areas, without even reading the output. Some were only concerned with the length—if it looked too long, they’d ask ChatGPT to shorten it before submitting it straight away, without any review or thought.</p><p>This experience left me with a lot to think about. Tools like ChatGPT, Gemini, and others are meant to be productivity aids, not substitutes for our brains. Even OpenAI introduced ChatGPT as a productivity tool, not a replacement for thinking. So, why are people accepting everything it says without question?</p><p>If these minor advancements in AI are already influencing people’s thinking and reliance, what will happen when AGI (Artificial General Intelligence) comes into play? I can’t fully imagine such a future, but it’s unsettling to think about the impact it could have on human creativity, problem-solving, and individuality.</p><p>In closing, I want to share a piece of advice: never forget what you are capable of. Recognize your own capacity, because if you don’t, no one else will.</p><p>please share your thoughts on this subject in the comments?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c3545203c7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HackerRank Solution Explanation| SQL]]></title>
            <link>https://zakinabdul.medium.com/hackerrank-solution-explanation-sql-604485089287?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/604485089287</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[hackerrank]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Mon, 05 Aug 2024 15:37:28 GMT</pubDate>
            <atom:updated>2024-08-05T15:37:28.115Z</atom:updated>
            <content:encoded><![CDATA[<p>Starting today, I’m starting to solve HackerRank SQL exercises, and I’m excited to share how I do it with you! First up, I’ll be trying to solve the ‘Blunder’ challenge. If you want to follow along, you can find the exercise on HackerRank by clicking this <a href="https://www.hackerrank.com/challenges/the-blunder/problem?isFullScreen=true">link</a>. Let’s learn together!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*2EDK4Igf6sQLkhf97So06w.jpeg" /></figure><p>Our Problem is:</p><p>Samantha was tasked with calculating the average monthly salaries for all employees in the <strong>EMPLOYEES</strong> table, but did not realize her keyboard’s 0key was broken until after completing the calculation. She wants your help finding the difference between her miscalculation (using salaries with any zeros removed), and the actual average salary.</p><p>We Have been told to write a query calculating the amount of error (i.e.: average monthly salaries) and round it up to the next integer.</p><p><strong>Input Format</strong></p><p>The <strong>EMPLOYEES</strong> table is described as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/0*4PaKEnvLdI8lGxbp.png" /></figure><p><strong>Note:</strong> Salary is per month.</p><p><strong>Explanation</strong></p><p>The table below shows the salaries without zeros as they were entered by Samantha:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/0*dlNlJjAfMeUrpPcE.png" /><figcaption>Samantha Table</figcaption></figure><p>So what we have been given is the actual table. which look like this👇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/0*VctkhtBmrWZZrifV.png" /><figcaption>Actual Table</figcaption></figure><p>Some learners might find the real-world application of this problem challenging, and I admit even I’m unsure of a specific real-world scenario myself. However, this exercise is primarily designed to strengthen SQL skills.</p><p>To begin, I’ll present the complete solution and then break it down step-by-step.</p><pre>WITH actual_table AS (<br>    SELECT AVG(Salary) AS actual_salary<br>    FROM EMPLOYEES<br>),<br>adjusted_table AS (<br>    SELECT AVG(CAST(REPLACE(CAST(Salary AS CHAR), &#39;0&#39;, &#39;&#39;) AS SIGNED)) AS adjusted_salary<br>    FROM EMPLOYEES<br>)<br>SELECT <br>    CEILING(actual_table.actual_salary - adjusted_table.adjusted_salary) AS Error<br>FROM actual_table, adjusted_table;</pre><p>Here we have used two CTEs (Common Table Expressions) for creating the average actual salary and the average salary of the table that Samanatha had tasked.</p><pre>WITH actual_table AS (<br>    SELECT AVG(Salary) AS actual_salary<br>    FROM EMPLOYEES<br>)</pre><p>With this query, we calculate the average salary from the actual table.</p><pre>adjusted_table AS (<br>    SELECT AVG(CAST(REPLACE(CAST(Salary AS CHAR), &#39;0&#39;, &#39;&#39;) AS SIGNED)) AS adjusted_salary<br>    FROM EMPLOYEES<br>)</pre><p>This part might seem slightly complex. While we have the correct salary data, we don’t have the table Samantha created. To calculate the average salary based on her input, we removed all zeros from the salary column in the original data and then calculating the average salary it created.</p><p>The REPLACE(CAST(Salary AS CHAR), ‘0’, ‘’) ` converts the salary to a character string and then replaces all occurrences of ‘0’ with an empty string.</p><p>Finally, CAST(REPLACE(CAST(Salary AS CHAR), &#39;0&#39;, &#39;&#39;) AS SIGNED) converts the modified salary string back to a numeric value. While SIGNED is used here, A common question should be why we use SIGNED instead of INT for the conversion?</p><p>This is due to a limitation in MySQL’s CAST function. While SIGNED is accepted as a data type for conversion, INT is not supported. MySQL specifically allows SIGNED and UNSIGNED for explicit numeric conversions. The exact reason for this behaviour is unclear. Feel free to experiment with INT it to see if it works in different MySQL versions. After all, learning from experimentation is a key part of programming</p><pre>SELECT <br>    CEILING(actual_table.actual_salary - adjusted_table.adjusted_salary) AS Error<br>FROM actual_table, adjusted_table;</pre><p>After creating two CTEs, here we find the amount of error, (i.e.: average monthly salaries).</p><p>CEILING() rounds a number up to the nearest integer.</p><p>That’s it. We now get the amount of error Samantha has caused in her work.</p><h4>Conclusion</h4><p>Always try new exercise because it enhance your skills. Thanks for reading! Feel free to ask if you have any questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=604485089287" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Incident Overview: CrowdStrike Falcon Content Update]]></title>
            <link>https://zakinabdul.medium.com/incident-overview-crowdstrike-falcon-content-update-428beff2534e?source=rss-c3e6f1f462d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/428beff2534e</guid>
            <category><![CDATA[crowdstrike-outage]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[crowdstrike]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Zakin abdul ]]></dc:creator>
            <pubDate>Sat, 27 Jul 2024 05:54:11 GMT</pubDate>
            <atom:updated>2024-07-27T05:54:11.421Z</atom:updated>
            <content:encoded><![CDATA[<p>On July 19, 2024, CrowdStrike encountered an incident with a content update for its Windows sensors. This issue led to Windows system crashes, known as the Blue Screen of Death (BSOD), on affected systems. Here’s a detailed look at what happened that day, the root cause, and the steps CrowdStrike is taking to prevent future incidents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ti_Wew0XGiUBy6NJ.jpg" /></figure><h4><strong>What Happened?</strong></h4><p>CrowdStrike provides a service called Rapid Response Content, which is designed to respond quickly to new threats by updating the behaviour of its sensors. During one of these updates, a problem emerged:</p><ul><li><strong>Affected Systems</strong>: The issue affected Windows hosts running sensor version 7.11 and above. These systems were online during a specific timeframe and received the faulty update. Mac and Linux hosts were not impacted.</li><li><strong>Impact</strong>: The faulty update caused these systems to crash and display the BSOD.</li></ul><h4>How the Issue Occurred</h4><p>CrowdStrike uses something called &quot;Template Instances&quot; in its Rapid Response Content. Each template maps out specific behaviors that the sensor needs to observe, detect, or prevent threats. Unfortunately, there was an error in the Rapid Response Content update that went unnoticed.</p><h4>Root Cause</h4><p>The root cause was traced back to a bug in the Content Validator. This bug allowed problematic data to pass through validation checks and be released into production. As a result, the faulty update was delivered to systems, leading to crashes.</p><h4>Remediation Steps</h4><p>CrowdStrike is taking this incident seriously and has implemented several measures to ensure such issues do not occur again. The key steps include:</p><ul><li><strong>Enhanced Testing and Validation</strong>: Improving the testing processes for Rapid Response Content to catch errors before they reach production.</li><li><strong>Additional Validation Checks</strong>: Introducing more robust checks to validate content before deployment.</li><li><strong>Error Handling Improvements</strong>: Enhancing how errors are handled to mitigate impact swiftly.</li><li>Staggered Deployment Strategy: Implementing a phased approach to deploying updates to minimize the risk of widespread issues.</li></ul><p>Additionally, CrowdStrike is conducting independent third-party security code reviews and end-to-end quality process reviews to further enhance its security measures.</p><h4>Commitment to Transparency</h4><p>CrowdStrike is committed to maintaining transparency with its customers and partners. The company plans to release a full Root Cause Analysis once its investigation is complete, detailing all findings and remediation actions taken.</p><p>For more detailed information and ongoing updates, customers and partners can visit the CrowdStrike <a href="https://www.crowdstrike.com/falcon-content-update-remediation-and-guidance-hub/">Falcon Content Update Remediation and Guidance Hub</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=428beff2534e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>