<?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 Sakshi on Medium]]></title>
        <description><![CDATA[Stories by Sakshi on Medium]]></description>
        <link>https://medium.com/@sakshi28112?source=rss-99f18e8a9311------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kFPJgnQYUYqlOQy80htJzQ.jpeg</url>
            <title>Stories by Sakshi on Medium</title>
            <link>https://medium.com/@sakshi28112?source=rss-99f18e8a9311------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:49:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sakshi28112/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[Building a Weather ETL Pipeline with Apache Airflow — From Scratch!]]></title>
            <link>https://medium.com/@sakshi28112/building-a-weather-etl-pipeline-with-apache-airflow-from-scratch-1087df9cf991?source=rss-99f18e8a9311------2</link>
            <guid isPermaLink="false">https://medium.com/p/1087df9cf991</guid>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[airflow]]></category>
            <dc:creator><![CDATA[Sakshi]]></dc:creator>
            <pubDate>Fri, 12 Sep 2025 08:15:40 GMT</pubDate>
            <atom:updated>2025-09-12T08:16:17.211Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Weather ETL Pipeline with Apache Airflow — From Scratch!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*mdwej5rhR6ZVwQp_RIKU7g.png" /></figure><blockquote>Ever wondered how to automate fetching real-time weather data and store it neatly in a database? That’s exactly what I did recently while exploring <strong>Apache Airflow</strong> for the first time. In this post, I’ll take you through my journey — from a blank folder on my desktop to a fully functional ETL pipeline running on Airflow.</blockquote><blockquote>If you’re someone new to Airflow or ETL pipelines, this guide will help you <strong>understand every step</strong> in a simple way.</blockquote><h3><strong>Prerequisites</strong></h3><p>Before we begin, make sure you have these installed:</p><ul><li><strong>Docker Desktop</strong> (with at least 4GB memory allocated)</li><li><strong>Python 3.8+</strong></li><li><strong>Git</strong> (if you want to clone the code)</li></ul><p>Airflow runs inside Docker containers, so <strong>Docker is a must</strong> here.</p><h3>What We’re Building</h3><p>Here’s what our pipeline will do:</p><ol><li><strong>Extract</strong> weather data from the <em>Open-Meteo API</em></li><li><strong>Transform</strong> the data to pick the fields we care about (temperature, windspeed, etc.).</li><li><strong>Load</strong> the data into a Postgres database automatically.</li><li><strong>Schedule</strong> it daily with Airflow.</li></ol><p>And we’ll do it <strong>from scratch</strong> — no preinstalled magic.</p><h4>Step 1: Set Up Project Folder</h4><p>Let’s start by creating a folder for our project.</p><pre>mkdir weather-etl<br>cd weather-etl</pre><p>Create a virtual environment:</p><pre>python -m venv venv<br>source venv/bin/activate    # Mac/Linux<br>.\venv\Scripts\activate     # Windows</pre><h4>Step 2: Get Docker Compose File for Airflow</h4><p>Airflow provides an official Docker setup. Run:</p><pre>curl -LfO &#39;https://airflow.apache.org/docs/apache-airflow/2.9.0/docker-compose.yaml&#39;</pre><p>This will give you a ready-to-use docker-compose.yaml file.</p><h4>Step 3: Set Airflow User</h4><p>Create an .env file with this line:</p><pre>AIRFLOW_UID=50000</pre><h4>Step 4: Start Airflow</h4><p>Run:</p><pre>docker compose up airflow-init<br>docker compose up</pre><p>Open <a href="http://localhost:8080/"><strong>http://localhost:8080</strong></a> in your browser → Default login:</p><ul><li><strong>Username:</strong> airflow</li><li><strong>Password:</strong> airflow</li></ul><h4>Step 5: Create Connections in Airflow</h4><p>Go to <strong>Admin → Connections</strong> in Airflow UI. Add:</p><p><strong>HTTP Connection</strong></p><ul><li>Conn Id: open_meteo_api</li><li>Type: HTTP</li><li>Host: <a href="https://api.open-meteo.com/">https://api.open-meteo.com</a></li></ul><p><strong>Postgres Connection</strong></p><ul><li>Conn Id: weather_db</li><li>Type: Postgres</li><li>Host: postgres</li><li>Schema: airflow</li><li>Login: airflow</li><li>Password: airflow</li><li>Port: 5432</li></ul><h4>Step 6: Add the DAG</h4><p>Here’s how the <strong>folder structure</strong> looks:</p><pre>Weather-ETL-Airflow/<br>│<br>├── dags/<br>│   ├── dags.py        # Basic ETL DAG with PostgresHook<br>│   ├── ETLWeather.py  # Enhanced DAG with Airflow connections &amp; hooks<br>│<br>├── docker-compose.yaml              # Airflow + Postgres + PgAdmin setup<br>├── requirements.txt                 # Python dependencies<br>├── README.md                        # Project documentation</pre><p>The full DAG code is here on GitHub:</p><p>🔗 <a href="https://github.com/sakshisnw/weather-etl-airflow/blob/main/dags/ETLWeather.py"><strong>View the DAG Code on GitHub</strong></a></p><p>This DAG does three things:</p><ol><li><strong>Extracts</strong> weather data from the Open-Meteo API using an HTTP connection.</li><li><strong>Transforms</strong> the data into a clean structure.</li><li><strong>Loads</strong> it into Postgres, creating the table automatically if it doesn’t exist.</li></ol><p>Once you copy this code into your dags/ folder, Airflow will detect it automatically.</p><h4>Step 7: Trigger the DAG</h4><ul><li>Go to Airflow UI → DAGs.</li><li>Turn on <strong>weather_etl_enhanced</strong>.</li><li>Click <strong>Trigger DAG</strong>.</li></ul><p>You’ll see tasks:</p><ol><li>extract_weather_data → Fetches data</li><li>transform_weather_data → Cleans it</li><li>load_weather_data → Stores it in Postgres</li></ol><h3>Understanding the DAG</h3><p>In Airflow, a <strong>DAG (Directed Acyclic Graph)</strong> is just a workflow with tasks linked together.</p><ul><li><strong>Tasks</strong>: Each step (Extract, Transform, Load).</li><li><strong>Operators</strong>: Define what each task does (PythonOperator, PostgresOperator, etc.).</li><li><strong>Dependencies</strong>: Order of execution (task1 &gt;&gt; task2).</li></ul><p>Our DAG runs <strong>daily</strong>, fetching weather data and saving it automatically.</p><h3>Problems I Faced &amp; Fixes</h3><p>Like any beginner, I hit a few bumps along the way:</p><p><strong>Not Enough Docker Memory</strong></p><ul><li>Airflow containers crashed until I increased memory allocation in <strong>Docker Desktop → Settings → Resources → Memory</strong> to 4GB+.</li></ul><p><strong>Duplicate Table Error</strong></p><ul><li>Fixed it by adding CREATE TABLE IF NOT EXISTS in the SQL script.</li></ul><p><strong>Connection Issues in Airflow</strong></p><ul><li>Realized I forgot to set connections properly in <strong>Admin → Connections</strong>. Once added, everything ran smoothly.</li></ul><h3>What We Achieved</h3><ul><li>Built an <strong>ETL pipeline</strong> from scratch.</li><li>Automated it with <strong>Airflow</strong>.</li><li>Stored data in <strong>Postgres</strong> for future analysis.</li></ul><h3>Wrapping Up</h3><p>This was my first time setting up an <strong>Airflow ETL pipeline</strong>, and it felt amazing to see data flowing automatically.</p><p>If you want to try it yourself:</p><p>🔗 <a href="https://github.com/sakshisnw/weather-etl-airflow.git"><strong>GitHub Repo — Weather ETL Project</strong></a></p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1087df9cf991" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meet Cursor AI: Your Friendly AI‑Powered Code Editor of 2025]]></title>
            <link>https://medium.com/@sakshi28112/meet-cursor-ai-your-friendly-ai-powered-code-editor-of-2025-0764e285a403?source=rss-99f18e8a9311------2</link>
            <guid isPermaLink="false">https://medium.com/p/0764e285a403</guid>
            <category><![CDATA[cursor-ai]]></category>
            <category><![CDATA[no-code]]></category>
            <category><![CDATA[ai-coding-tool]]></category>
            <category><![CDATA[tech-for-beginners]]></category>
            <category><![CDATA[visual-studio-code]]></category>
            <dc:creator><![CDATA[Sakshi]]></dc:creator>
            <pubDate>Thu, 17 Jul 2025 16:46:37 GMT</pubDate>
            <atom:updated>2025-07-17T16:46:37.111Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*0mGfaSU453L-jpu98ZoONQ.jpeg" /></figure><blockquote>What if your editor could write, fix, and explain code like a helpful teammate? Welcome to Cursor AI — where AI meets coding simplicity.</blockquote><h3>What Is Cursor AI?</h3><p>Imagine chatting with your code editor like it’s your coding buddy. That’s <strong>Cursor AI</strong> — a supercharged, AI-powered desktop code editor based on the trusted Visual Studio Code (VS Code). Whether you’re building websites, apps, or learning to code for the first time, Cursor makes the entire process easier, faster, and more fun.</p><p>It supports <strong>Windows, MacOS, and Linux</strong>, works with your favorite extensions (like Prettier, Tailwind CSS, or Prisma), and offers both a <strong>free plan</strong> and <strong>paid upgrades</strong> depending on how much AI magic you need.</p><h3>How Cursor Works (And Why It Feels Like Magic)</h3><p>Cursor looks and feels just like VS Code — but with one major upgrade: it has <strong>AI baked right in</strong>. On the side panel, you’ll find a chat interface where you can ask Cursor to do anything:</p><ul><li>“Create a login page with HTML and CSS.”</li><li>“Fix this bug in my JavaScript code.”</li><li>“Add a footer with contact links.”</li></ul><p>And it just… does it.</p><p>The AI understands your <strong>entire codebase</strong>, meaning it knows your files, folder structure, and previous edits. You don’t have to copy-paste or explain the same thing over and over — it <em>remembers</em>. You can even give it commands in natural language and watch it write or edit your code live.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yI73wE_TRTrJxK6_DbKwsA.png" /></figure><h3>Build an Entire Website Just by Talking</h3><p>Let’s say you want to make a personal website. Here’s how it could go with Cursor:</p><ol><li>Type: “Create a basic HTML landing page for a portfolio site.”</li><li>It generates the full index.html with header, hero section, and footer.</li><li>Next, say: “Make the background a gradient and center the title.”</li><li>Cursor updates the CSS accordingly.</li><li>Then: “Add a contact form with name, email, and message fields.”</li><li>Done.</li></ol><p>Every time you make a change, it remembers what it wrote before and stacks updates on top — just like a real developer would.</p><h3>Cursor’s Coolest Features</h3><h4>Command Approval</h4><p>Cursor can run terminal commands like npm install or git init, but it always asks for your permission first—so you stay in control.</p><h4>Deep Project Awareness</h4><p>Unlike browser AI tools that forget what you did five minutes ago, Cursor understands your <em>entire</em> project. It can edit multiple files, update related code, and remember what you asked earlier.</p><h4>External Docs and Web Search</h4><p>Don’t know how to use a library like Supabase or Firebase? Just paste the doc URL, and Cursor will read it for you. You can also ask it to search the web or library docs without leaving your editor.</p><h4>Intelligent Autocomplete</h4><p>Cursor predicts what you’re trying to write — even full functions or file changes — and suggests them in real-time. It even fixes common bugs as you go.</p><h4>Custom Rules File</h4><p>You can add a file that tells Cursor how you like your code. Want tabs instead of spaces? Always use async functions? It’ll follow those preferences like a personal assistant who knows your style.</p><h3>Great for Beginners, Speedy for Pros</h3><p><strong>Beginners</strong> love Cursor because the AI explains what it’s doing, fixes errors, and answers “why” questions in a friendly tone. If you ask “What does this function do?” it won’t just throw code at you — it will walk you through it.</p><p><strong>Experienced developers</strong> benefit from the speed. Instead of writing boilerplate, Cursor handles it. Instead of switching between files, it does the editing across your project. Since it supports all your existing extensions, you don’t need to give anything up.</p><p>Whether you’re just starting out or deploying production apps, Cursor fits your flow.</p><h3>What’s Next for Cursor?</h3><p>Cursor isn’t stopping here. Coming soon:</p><ul><li><strong>Multi-file code editing</strong> in a single AI session</li><li><strong>Better bug detection</strong></li><li><strong>Context-aware autocomplete across large projects</strong></li><li><strong>MCP Server Integration</strong> — This will allow Cursor to connect with tools like Notion, Google Drive, or Jira, so it can pull your notes or project tasks straight into your code editor.</li></ul><p>Cursor is evolving into a true AI <em>teammate</em>, not just a tool.</p><h3>Final Thoughts</h3><p>Cursor AI in 2025 is not just another developer tool — it’s a whole new way to write software.</p><ul><li>Want to build a website? Chat with your editor.</li><li>Need to fix bugs? Ask it to explain and solve them.</li><li>Learning to code? Let the AI walk you through it.</li></ul><p>Whether you’re a hobbyist, student, freelancer, or full-time dev, <strong>Cursor makes coding feel effortless — and even fun</strong>.</p><h3>Ready to Try Cursor?</h3><p>If you’ve ever wanted a coding assistant that’s always available, never judgmental, and endlessly helpful, Cursor AI is worth checking out. It’s your <strong>AI-powered sidekick</strong> — right inside the world’s most popular code editor.</p><p><strong>Let your ideas flow. Cursor will handle the code.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0764e285a403" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>