<?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 ESTHER on Medium]]></title>
        <description><![CDATA[Stories by ESTHER on Medium]]></description>
        <link>https://medium.com/@essiee?source=rss-10be3f1dc83c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4mIebC1NU5A3EI3CWVvcqg@2x.jpeg</url>
            <title>Stories by ESTHER on Medium</title>
            <link>https://medium.com/@essiee?source=rss-10be3f1dc83c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:38:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@essiee/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 Trustworthy Data Projects: Python Versions, Templates, Resource Management, and Automation]]></title>
            <link>https://medium.com/@essiee/building-trustworthy-data-projects-python-versions-templates-resource-management-and-automation-ac371cccd2ae?source=rss-10be3f1dc83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac371cccd2ae</guid>
            <dc:creator><![CDATA[ESTHER]]></dc:creator>
            <pubDate>Fri, 27 Nov 2026 19:02:08 GMT</pubDate>
            <atom:updated>2026-11-27T19:02:08.233Z</atom:updated>
            <content:encoded><![CDATA[<p>From python — version to Reliable Data Pipelines</p><p>When you run</p><pre>python  — version </pre><p>in your terminal, you get a quick snapshot of the runtime powering your scripts, notebooks, or pipelines, such as <strong>3.14.3</strong>. At first glance, those three numbers can look arbitrary. In practice, they <strong>follow versioning conventions</strong> that tell you a lot about <strong>compatibility, new capabilities, and bug fixes across your data stack.</strong></p><p><em>Decoding 3.14.3: Major, Minor, and Patch</em></p><p>In a version number like 3.14.3, each segment carries a clear signal for anyone maintaining data code:</p><p><strong>Bullet Major (3):</strong> <em>Signals broad architectural shifts or changes that can break older code. Major releases are rare because backward compatibility matters deeply when your pipelines depend on established libraries and legacy scripts.</em></p><p><strong>Bullet Minor (14):</strong> <em>Usually introduces new features, standard library updates, and performance improvements while aiming to stay mostly compatible within the same major line (though deprecations can still occur and affect dependencies).</em></p><p><strong>Bullet Patch (3): </strong><em>Covers bug fixes, security patches, and stability refinements without adding new features or intentionally changing behavior.</em></p><h4>Essential Repository Files: <strong>CHANGELOG.md</strong> and LICENSE</h4><p>Data work fails quietly when changes happen without context. Two foundational repository files help teammates, reviewers, and your future self trace what changed and how the project can be used:</p><p><strong>Bullet CHANGELOG.md:</strong> A running log of notable changes across versions. For data projects, recording schema updates, transformation logic changes, and bug fixes makes it much easier to connect weird numbers or pipeline shifts to a specific release.</p><p><strong>Bullet LICENSE</strong>: Defines the legal rules for using, modifying, sharing, and distributing your code. If you publish open-source data utilities, analysis code, or templates, a clear license prevents ambiguity for others.</p><h4>Scaffolding Data Projects with Cookiecutter</h4><p>Starting every data repository by hand leads to inconsistent folders, messy notebooks, and ad-hoc scripts. <strong>Cookiecutter</strong> is a <em>command-line tool</em> that <strong>generates an entire project structure from a template. With a single command, it can set up your directory layout, LICENSE, pyproject.toml, tox.ini, and starter modules so every new data project starts with a clean, predictable shape.</strong></p><h3>Core Python Patterns for Data Work</h3><p>Once your project structure is in place, three language features show up constantly in <strong>clean data code:</strong></p><p><strong>Bullet Closures:</strong> A <em>function defined inside another function that retains access to variables from its enclosing scope even after the outer function finishes running</em>. In data workflows, closures work well for building parameterized filters, scaling rules, or custom metric functions on the fly without writing a full class.</p><p><strong>Bullet Context Managers: </strong>Objects or generators (<em>typically used with the</em> <strong>with</strong> statement) that <strong>handle acquisition, release, and cleanup automatically. They are a natural fit for database connections, file and data pipelines, model loading, cloud storage sessions, and experiment tracking runs. Note</strong> that <em>context managers are not a universal cure-all: where cleanup requires specialized handling or explicit fallback logic across complex failures, you still need deliberate error and resource management.</em></p><p><strong>Bullet Decorators</strong>: Functions that wrap another function to extend its behavior without changing its core logic. In data pipelines, decorators are useful for timing transformations, logging row counts, retrying flaky external calls, or validating inputs.</p><h4>Practical Additions for Data Workflows</h4><p>Alongside those core pieces, a few extra habits make data code far easier to trust in production:</p><h4>Bullet Data and Schema Validation:</h4><p>Checking column names, data types, null rates, and value ranges early catches bad upstream feeds before they corrupt downstream tables, features, or dashboards.</p><h4>Bullet Configuration and Secrets</h4><p>Management: Keeping connection strings, API keys, bucket names, and environment thresholds out of hardcoded scripts protects credentials and makes switching between local, staging, and production runs safe.</p><h4>Bullet Reproducible Environments and Seeds:</h4><p>Pinning dependencies (often configured alongside pyproject.toml) and setting random seeds for sampling or model splits helps ensure another run or teammate gets consistent results.</p><h3>Automating Workflows with a Makefile</h3><p>As data projects grow, typing long commands for tests, linters, checks, and cleanup gets tedious. <strong>A Makefile lets you define repeatable task shortcuts. </strong>For example, a clean target can remove leftover build artifacts automatically:</p><pre>clean:<br>	rm -rf build/<br></pre><p>Running make clean keeps your workspace tidy and gives everyone on the team the same command names for routine tasks.</p><h4>Automating Workflows with a Makefile</h4><p>Reading python — version accurately, tracking changes with CHANGELOG.md, clarifying rights with LICENSE, scaffolding with Cookiecutter, applying closures, context managers, and decorators thoughtfully, adding data validation and environment discipline, and automating tasks with a Makefile turn one-off data scripts into maintainable systems. Small, consistent engineering habits save hours of debugging once data volume and team size grow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac371cccd2ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I saved 10 GB of RAM by replacing Python scripts with a 1-line ⁠awk⁠ command.]]></title>
            <link>https://medium.com/@essiee/how-i-saved-10-gb-of-ram-by-replacing-python-scripts-with-a-1-line-awk-command-f5600c20f1b8?source=rss-10be3f1dc83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5600c20f1b8</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[shell-script]]></category>
            <dc:creator><![CDATA[ESTHER]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 14:37:43 GMT</pubDate>
            <atom:updated>2026-08-10T14:37:43.417Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*-AyGlwSEd8XRZ6e3q3SxHg@2x.jpeg" /></figure><p>Ever waited 3 minutes for ⁠pd.read_csv()⁠ just to check the bottom of a file?</p><p>We’ve all been there. You receive a massive 10 GB log file, and you just want a quick peek at the data to see what column 5 contains.</p><p>You open a Python notebook, type ⁠df = pd.read_csv(‘massive_log.csv’)⁠, and hit enter.</p><p>Then… you wait. Your RAM fans spin up, your notebook freezes , and you realize you just wasted several minutes of your life for a single command.</p><p>There has to be a better way than bringing a sledgehammer to crack a nut.</p><p>⁠df.head(5)⁠ — &gt;gives the top 5 rows.</p><p>⁠df.tail(5)⁠ — &gt;gives the bottom 5 rows.</p><p>You can load just the top lines using ⁠pd.read_csv(‘file.csv’, nrows=5)⁠. However, if you want to inspect the bottom of a huge file with ⁠df.tail(5)⁠, Pandas still has to read and parse the entire file into RAM to construct the DataFrame first</p><p><em>In-Memory vs. Streaming</em></p><p>Here is the technical secret behind why Pandas struggles with quick file checks: Pandas is in-memory by design.</p><p>When you run ⁠pd.read_csv()⁠, Python attempts to construct an entire DataFrame in your RAM. Even if you only want to view a few lines at the end of the file using ⁠.tail()⁠, Pandas must first parse every single byte, infer column data types, and allocate memory structures for the whole dataset. If your log file is 10 GB, your machine needs 10+ GB of free RAM just to start.</p><p><strong>Unix</strong> tools like ⁠<strong>awk</strong>⁠ operate on a completely different model: Streaming.</p><p>awk⁠ does not load the entire file into memory at once. Instead, it reads text line-by-line as a continuous stream.</p><p>Pandas : Memory usage grows with file size (O(N) memory).</p><p>⁠awk⁠ : Memory usage stays virtually constant (O(1) memory), whether your file is 10 Megabytes or 100 Gigabytes.</p><p>Once you realize ⁠awk⁠ evaluates lines on the fly without touching your RAM limits, you unlock a much faster way to inspect, filter, and extract columns right from your terminal.</p><p><em>The Pandas Way (Memory Heavy)</em></p><pre>import pandas as pd<br><br># Loads the entire 10 GB file into RAM before inspecting<br>df = pd.read_csv(&#39;massive_log.csv&#39;)<br>print(df[&#39;status&#39;].tail(5))<br></pre><p><em>The ⁠awk⁠ Way (Instant Streaming)</em></p><pre># Streams line-by-line using negligible RAM<br>awk -F&#39;,&#39; &#39;NR &gt; 1 {print $5}&#39; massive_log.csv | tail -n 5<br></pre><p>⁠-F’,’⁠ : Sets the field separator to a comma for CSV processing.</p><p>⁠NR &gt; 1⁠ : Ignores line 1 (the header row).</p><p>⁠{print $5}⁠ : Extracts only the 5th column.</p><p>⁠| tail -n 5⁠ : Passes the extracted values to ⁠tail⁠ to view the last 5 entries.</p><p>sample dataset, ⁠pipeline_logs.csv⁠, which tracks data pipeline runs:</p><pre>timestamp,pipeline_id,status,records_processed,duration_sec<br>2026-08-10 10:00:00,pipe_01,SUCCESS,50000,120<br>2026-08-10 10:05:00,pipe_02,FAILED,0,5<br>2026-08-10 10:10:00,pipe_01,SUCCESS,52000,115<br>2026-08-10 10:15:00,pipe_03,SUCCESS,120000,340<br>2026-08-10 10:20:00,pipe_02,FAILED,0,4<br></pre><p><strong>Core ⁠awk⁠ Patterns for Data Engineering</strong></p><p>⁠awk⁠ uses a simple pattern-action structure: ⁠awk -F’,’ ‘CONDITION { ACTION }’ filename⁠</p><ol><li>Conditional Filtering (⁠WHERE⁠ clause)</li></ol><p>Find timestamps ($1) and pipeline IDs ($2) where the run ⁠FAILED⁠ ($3)</p><pre>awk -F&#39;,&#39; &#39;$3 == &quot;FAILED&quot; {print $1, $2}&#39; pipeline_logs.csv<br></pre><p>Output:</p><p>⁠2026–08–10 10:05:00 pipe_02⁠</p><p>⁠2026–08–10 10:20:00 pipe_02</p><p><em>In-Memory Aggregations (⁠SUM⁠ / ⁠TOTAL⁠)</em></p><p>Calculate the total records processed ($4) for all successful runs, skipping the header row (⁠NR &gt; 1⁠)</p><pre>awk -F&#39;,&#39; &#39;NR &gt; 1 &amp;&amp; $3 == &quot;SUCCESS&quot; {sum += $4} END {print &quot;Total Records:&quot;, sum}&#39; pipeline_logs.csv</pre><p>NR &gt; 1⁠: Skips line 1 (the header).</p><p>⁠sum += $4⁠: Adds column 4 to an accumulator variable for matching rows.</p><p>⁠END { … }⁠: Executes after reading the entire file to print the final result (⁠222000⁠).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5600c20f1b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Model Context Protocol (MCP): AI’s Universal Translator]]></title>
            <link>https://medium.com/@essiee/the-model-context-protocol-mcp-ais-universal-translator-bdff87c5eacb?source=rss-10be3f1dc83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdff87c5eacb</guid>
            <dc:creator><![CDATA[ESTHER]]></dc:creator>
            <pubDate>Fri, 29 May 2026 14:25:44 GMT</pubDate>
            <atom:updated>2026-05-29T14:25:44.067Z</atom:updated>
            <content:encoded><![CDATA[<p>If you know blockchain, you already understand oracles. Oracles are services that fetch external data to be used by decentralized systems. MCP serves a similar purpose for AI applications — it’s the messenger that connects AI models with the external tools they need.</p><h3>What is MCP?</h3><p>MCP is a tool-calling protocol for LLMs. Think of it as the USB-C of AI connectivity — a standardized way for AI applications to plug into any external tool, data source, or service.</p><p>Traditionally, if we wanted our AI model to access different services, we’d need custom API integrations for each one. While workable, this approach creates serious friction, scalability issues, and maintenance headaches. MCP eliminates this by standing between your AI software and the tools it needs, unifying all different APIs into one consistent interface.</p><h3>Why Does This Matter?</h3><h3>For Users:</h3><p>No more frustration when your AI assistant can’t access the tools you use daily. With MCP, your preferred AI app can seamlessly work with your data and services.</p><h3>For Developers:</h3><p>Instead of building and maintaining countless custom integrations, you implement the MCP standard once. Suddenly, your application can connect to any MCP-compatible server — today’s and tomorrow’s.</p><h3>For Companies:</h3><p>Better user experience means higher retention and attraction, which translates to profitability and reputational gains. Your AI investments become future-proof.</p><h3>MCP Architecture: Three Simple Components</h3><h3>1. The Host(any application</h3><p>This is your AI application (lets think Claude Desktop, ChatGPT, Cursor, or any custom AI agent. The Host is what users interact with directly.the client is inside the client</p><h3>2. The Client</h3><p>Consider this the universal connector. The Client lives inside the Host and manages communication with external servers. Each Client connects to one Server, handling all the protocol details so the Host doesn’t have to.</p><h3>3. The Server</h3><p>Servers are external programs that expose specific capabilities — whether that’s accessing a database, calling an API, or executing specialized tools. They’re lightweight wrappers that make existing functionality available to AI models in a standardized way.</p><h3>How It Works: A Complete Flow</h3><p>Let’s trace a complete request through the system:</p><ol><li>User Request: “Get Q1 sales data” → Host (Claude)</li><li>Analysis: Host’s LLM analyzes the request and determines it needs sales data</li><li>Tool Selection: LLM decides to use the get_sales_data tool from the SalesDB Server</li><li>Invocation: Host → Client: “Call get_sales_data with quarter=Q1&quot;</li><li>Protocol Call: Client → Server: Sends standardized MCP tools/call request</li><li>Execution: Server queries the database, processes the data (the actual work happens here)</li><li>Response: Server → Client: Returns raw sales data</li><li>Interpretation: Client → Host’s LLM: Passes the data for cognitive processing</li><li>Final Answer: LLM analyzes, summarizes, and explains: “Q1 sales were $2.4M, up 15% from last quarter…” → User</li></ol><p>The key insight? The LLM does the thinking, but the Server does the doing. The LLM orchestrates and interprets, while specialized Servers handle the actual operations.</p><p>Example 2 for mcp</p><p>figma make</p><p>Figma Make acts as the MCP Host and instantiates multiple MCP clients: one client communicates with the Figma MCP Server over a streamable HTTP (SSE) transport, while another client communicates with a local filesystem MCP Server over STDIO. The Host orchestrates both servers to support redesigning an uploaded design file.</p><h3>Communication Protocol?</h3><p>mcp uses the json rpc protocol for transportaion,in which it three types of messages:</p><h3>1. Requests:</h3><p>conytains id , method nd parameters</p><h3>2. Responses</h3><p>cobntains the required id and Either a result (for success) or an error (for failure)</p><h3>3. Notifications</h3><p>One-way messages that don’t require a response. Typically sent from Server to Client to provide updates or notifications about events.”Processing data…”</p><h3>MCP Capabilities</h3><p>MCP Servers expose a variety of capabilities to Clients through the communication protocol. These capabilities fall into four main categories, each with distinct characteristics and use cases.</p><p>tools</p><p>prompts</p><p>resources(can be docs)theyre read only</p><h3>Types of MCP Servers</h3><p>MCP Servers come in three flavors:</p><ul><li>Tool Servers: Provide executable actions (APIs, commands, functions)</li><li>Resource Servers: Offer access to data sources (files, databases, streams)</li><li>Combined Servers: Deliver both tools and resources</li></ul><h3>Flexibility by Design</h3><p>What makes MCP powerful is its flexibility:</p><ul><li>Servers can be written in any programming language</li><li>Communication happens via HTTP or stdio (standard input/output)</li><li>All implementations follow the same MCP specification</li></ul><p>This means your Python data science tools, your Go microservices, and your JavaScript web APIs can all become MCP Servers, instantly available to any MCP-compatible AI application.</p><h3>MCP SDK</h3><p>ready made like components for starting out with mcp which handles all the low levels of developemnt leaving the developer to handle the other techicals part of their mcp, they exists in different programming langauges</p><h3>The Big Picture</h3><p>MCP transforms the AI ecosystem from a tangled web of custom integrations into a clean, modular architecture. Instead of every AI application needing separate connections to every tool (an M×N problem), we now have a simple M+N solution: M applications plus N Servers, all speaking the same language.</p><p>Whether you’re building AI applications, creating tools for AI to use, or simply wanting your AI assistant to work better with your existing tools, MCP represents a fundamental shift toward interoperability, simplicity, and power in the age of intelligent software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdff87c5eacb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bees- Silent architects of ecosystems]]></title>
            <link>https://medium.com/@essiee/bees-silent-architects-of-ecosystems-513a764a294c?source=rss-10be3f1dc83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/513a764a294c</guid>
            <category><![CDATA[bees]]></category>
            <category><![CDATA[entomology]]></category>
            <category><![CDATA[agriculture]]></category>
            <category><![CDATA[farming]]></category>
            <category><![CDATA[apiculture]]></category>
            <dc:creator><![CDATA[ESTHER]]></dc:creator>
            <pubDate>Fri, 01 May 2026 11:48:41 GMT</pubDate>
            <atom:updated>2026-05-01T11:48:41.304Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cZerXl_yo1hzSfn0haXD_g.jpeg" /></figure><p><strong>Bees</strong> are flying insects best known for their role in pollination and, in some species, for producing honey and beeswax. They’re essential to ecosystems which both supports earth and to human food supply. <a href="https://scienceinsights.org/why-are-bees-disappearing-the-causes-explained/">Pollinators contribute more than $235 billion in value to global crop production each year</a></p><p>Why bees matter?How do they matter to you and me ?</p><ul><li><strong>Pollination powerhouses</strong>: Think about your beautiful flowers in your garden, your home, office.Bees help plants reproduce by transferring pollen. Around <strong>75% of flowering plants</strong> and a large portion of crops depend on pollinators.</li><li><strong>Food production</strong>: Many fruits, vegetables, nuts, and seeds rely on bees.How? well</li><li><strong>Biodiversity support</strong>: By helping plants thrive, bees indirectly support entire ecosystems.</li></ul><h3>Types of bees</h3><p>There are over <strong>20,000 species</strong> worldwide. A few well-known ones:</p><ul><li><strong>Honeybees</strong>: Social bees that live in large colonies and make honey.</li><li><strong>Bumblebees</strong>: Fuzzy, larger bees that are great at pollinating in cooler climates.</li><li><strong>Solitary bees</strong>: Most species fall here — no hives, each female builds her own nest</li></ul><h3>Honeybee society (a quick look)</h3><ul><li><strong>Queen</strong>: The only egg-layer.</li><li><strong>Workers</strong>: Female bees that forage, clean, and defend.</li><li><strong>Drones</strong>: Male bees whose main role is mating.</li></ul><h3>Threats to bees</h3><ul><li>Habitat loss</li><li>Pesticides</li><li>Climate change</li><li>Diseases and parasites (like Varroa mites)</li></ul><h3>How bees make honey</h3><p>Honey is essentially the hive’s <strong>emergency food supply</strong> for winter or bad weather and is basically <strong>stored, dehydrated flower nectar</strong>.</p><h3>Step-by-step:</h3><p><strong>1.Foraging: </strong>Worker bees collect nectar from flowers using a long tongue-like structure called a <em>proboscis</em>.</p><p><strong>2.Storage in the “honey stomach”: </strong>Nectar is stored in a special stomach (not the digestive one).</p><p><strong>3.Enzyme magic: </strong>Inside the bee, enzymes start breaking nectar’s sugars into simpler forms (like glucose and fructose).</p><p><strong>4.Passing it on: </strong>Back at the hive, bees regurgitate the nectar to other worker bees.</p><p><strong>5.Drying it out: </strong>Bees fan it with their wings to evaporate water, thickening it into honey.</p><p><strong>6.Sealing it: </strong>Once ready, honey is stored in honeycomb cells and sealed with wax for long-term storage.</p><p>What other products bees make aside from honey?</p><p>Bees produce several valuable <strong>by-products</strong>, many of which are used in food, medicine, cosmetics, and industry. Collectively, this is known as <strong>apitherapy</strong> when used in health applications.</p><p>The major bees by-products include:</p><ul><li>Honey</li><li>Beeswax</li><li>Propolis</li><li>Bee pollen</li><li>Royal jelly</li><li>Bee venom (apitoxin)</li><li>Bee bread (perga)</li></ul><h3>1. HONEY (Energy + antimicrobial food)</h3><h3>What it is</h3><p>Honey is <strong>enzymatically processed nectar</strong> concentrated by bees through evaporation.</p><h3>Composition</h3><ul><li>Sugars (fructose, glucose ~80%)</li><li>Water (~17–20%)</li><li>Enzymes (invertase, glucose oxidase)</li><li>Organic acids + trace minerals</li></ul><h3>Biological roles</h3><ul><li>Primary <strong>energy storage</strong> for bees</li><li>Natural antimicrobial due to hydrogen peroxide production</li></ul><h3>Human uses</h3><ul><li>Wound healing (medical-grade honey)</li><li>Cough suppressant</li><li>Antioxidant food</li><li>Skin care</li></ul><h3>2. BEESWAX (Structural material of the hive)</h3><h3>What it is</h3><p>Secreted from wax glands of worker bees.(Beeswax is essentially the hive’s <strong>biological construction material</strong>.)</p><figure><img alt="beewax" src="https://cdn-images-1.medium.com/max/414/1*UHxNf4Vo8wHFDEG7CkZu8w.png" /></figure><h3>Composition</h3><ul><li>Long-chain fatty acids</li><li>Esters + hydrocarbons</li></ul><h3>Hive function</h3><ul><li>Builds <strong>honeycomb structure</strong></li><li>Stores honey and larvae</li></ul><h3>Human uses</h3><ul><li>Candles (largest traditional use historically)</li><li>Cosmetics (<strong>lip balms, creams</strong>)</li><li>Food coating (<strong>cheese preservation</strong>)</li><li>Industrial polish + waterproofing</li></ul><h3>3. PROPOLIS (Bee “glue” and immune shield)</h3><p>A resin mixture collected from tree sap + beeswax + enzymes.( Propolis is the hive’s <strong>immune defense system in resin form</strong>.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XfePyZdQ-Bobz5WGA7Q4bw.png" /></figure><h3>Composition</h3><ul><li>Plant resins (~50%)</li><li>Beeswax (~30%)</li><li>Essential oils + flavonoids</li></ul><h3>Hive function</h3><ul><li>Seals cracks in hive</li><li>Sterilizes internal environment</li><li>Protects against microbes and fungi</li></ul><h3>Human uses</h3><ul><li>Antimicrobial sprays and throat lozenges</li><li>Oral health (gum infections)</li><li>Wound healing</li><li>Studied for anti-inflammatory and antioxidant effects</li></ul><h3>4. BEE POLLEN (Natural protein concentrate)</h3><figure><img alt="pollen" src="https://cdn-images-1.medium.com/max/479/1*H0UWga4R2FStqmJZOsXn4w.jpeg" /></figure><h3>What it is</h3><p>Collected flower pollen mixed with nectar and enzymes.</p><h3>Composition</h3><ul><li>Proteins (up to 25%)</li><li>Amino acids</li><li>Vitamins (B-complex)</li><li>Minerals + antioxidants</li></ul><h3>Hive function</h3><ul><li>Major <strong>protein source for larvae</strong></li></ul><h3>Human uses</h3><ul><li>Dietary supplement (energy, immunity support)</li><li>Sports nutrition</li><li>Antioxidant booster</li></ul><h3>5. ROYAL JELLY (Queen-making substance)</h3><figure><img alt="ROYAL JELLY" src="https://cdn-images-1.medium.com/max/1024/1*frh0jgQvq0vEf7hFZi040Q.jpeg" /></figure><h3>What it is</h3><p>A milk-like secretion from worker bee glands.</p><h3>Composition</h3><ul><li>Water (~60%)</li><li>Proteins (major royal jelly proteins)</li><li>Lipids (including 10-HDA acid)</li><li>B-vitamins</li></ul><h3>Hive function</h3><ul><li>Exclusive food for queen larvae</li><li>Determines queen development (not genetics alone)</li></ul><h3>Human uses</h3><ul><li>Anti-aging cosmetics</li><li>Immune support supplements</li><li>Studied for hormonal and metabolic effects</li></ul><p><em>Nb: Royal jelly is a </em><strong><em>developmental regulator , it literally builds queens</em></strong><em>.</em></p><h3>6. BEE VENOM (Apitoxin)</h3><figure><img alt="BEE VENOM" src="https://cdn-images-1.medium.com/max/525/1*D4LB1YkEx-LhpWmWfHIjFg.jpeg" /></figure><h3>What it is</h3><p>Injected defensive toxin from worker bees.</p><h3>Composition</h3><ul><li>Melittin (most active component)</li><li>Enzymes (phospholipase A2)</li><li>Peptides</li></ul><h3>Hive function</h3><ul><li>Defense against predators</li></ul><h3>Human uses (controlled medical use)</h3><ul><li>Apitherapy for inflammation</li><li>Research in arthritis and immune modulation</li><li>Experimental cancer studies</li></ul><h3>7. BEE BREAD (Fermented pollen)</h3><p><em>Bee bread is </em><strong><em>pre-digested pollen optimized by fermentation</em></strong><em>.</em></p><figure><img alt="BEE BREAD" src="https://cdn-images-1.medium.com/max/474/1*N6-HXkmXG-enUd8Du7IMUw.png" /></figure><p>Pollen stored in combs and fermented with enzymes and microbes.</p><h3>Composition</h3><ul><li>More digestible proteins than raw pollen</li><li>Lactic acid fermentation products</li></ul><h3>Human uses</h3><ul><li>Probiotic supplement</li><li>Nutrient-dense superfood</li></ul><h3>BIG PICTURE: WHY THESE PRODUCTS EXIST</h3><p>Bee by-products are not random ,they are a <strong>closed-loop biochemical system.</strong></p><p>Bee by-products are now used in:</p><h3>Cosmetics</h3><ul><li>Moisturizers (beeswax, royal jelly)</li><li>Anti-aging creams</li><li>Natural preservatives (propolis)</li></ul><h3>Medicine</h3><ul><li>Wound healing dressings (honey)</li><li>Antimicrobial research (propolis, venom)</li><li>Allergy and immune studies</li></ul><h3>Food industry</h3><ul><li>Honey as natural sweetener</li><li>Bee pollen supplements</li><li>Bee bread nutraceuticals</li></ul><h3>Biotechnology research</h3><ul><li>Antioxidant compounds</li><li>Anti-inflammatory molecules</li><li>Drug development leads</li></ul><p>Final thoughts: caring for the ecosystem is everyone’s responsibility. By planting trees, protecting the environment, and making thoughtful choices in our daily lives, we do not only benefit ourselves. We also support the organisms that keep nature balanced, and in return, that healthy balance helps humanity survive and thrive. Every small action matters, because when we care for the environment, we are really caring for our future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=513a764a294c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agentic RAG in a Snapshot]]></title>
            <link>https://medium.com/@essiee/agentic-rag-in-a-snapshot-90108972f7e0?source=rss-10be3f1dc83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/90108972f7e0</guid>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <dc:creator><![CDATA[ESTHER]]></dc:creator>
            <pubDate>Tue, 15 Jul 2025 10:09:14 GMT</pubDate>
            <atom:updated>2025-07-15T10:09:14.705Z</atom:updated>
            <content:encoded><![CDATA[<p>Agentic RAG in a Snapshot</p><p><strong>Tired of buzzwords and AI jargon? Me too.</strong><br> So let’s break it down, from zero and save your brain from another burnout.</p><p>If you’re anywhere near tech Twitter, LinkedIn, or Medium lately, you’ve probably been hit by a storm of words like <strong>RAG</strong>, <strong>MCP agents</strong>, and <strong>Agentic AI</strong>. It’s like everyone suddenly woke up in a sci-fi movie and forgot to explain the plot.</p><h3>So what the heck is an “Agent”?</h3><p>No fluff. Just this:</p><p>An <strong>agent</strong> is a <em>software program that doesn’t wait around for you to tell it what to do every time</em>. It <em>thinks</em>, <em>plans</em>, and <em>executes</em> stuff <strong>autonomously</strong>.</p><p>Unlike a regular LLM (like ChatGPT, Claude, or Gemini), which just gives you a one-shot answer to your prompt, an agent can:</p><ul><li>Decide what action to take</li><li>Retrieve data</li><li>Write to files</li><li>Browse the web</li><li>And even prompt itself again and again to reach a goal</li></ul><p><strong>Think:</strong><br> A bot that schedules your meetings, emails your teammates, and even fetches docs from your cloud storage — without you lifting a finger. That’s agentic behavior.</p><h3>“Agentic”? Sounds made up.</h3><p>You’re not wrong. It <em>kind of is</em> — but it also isn’t.</p><blockquote><strong><em>Agentic</em></strong><em> = having the capability to act autonomously, over multiple steps.</em></blockquote><p>Let’s say you build a Twitter bot. It’s programmed to:</p><ul><li>Pick trending news</li><li>Summarize it</li><li>Generate a tweet</li><li>Post it every hour</li></ul><p>Guess what? That’s <em>agentic</em>. Because it’s executing a multi-step task, without human input each time.</p><p>It’s not just automation — it’s <strong>autonomy with intelligence</strong>.</p><h3>So… what is RAG?</h3><p>RAG stands for <strong>Retrieval-Augmented Generation</strong>. Sounds intense. Here’s the simple version:</p><p><em>It’s like giving your LLM a memory boost.</em></p><p>Instead of asking a model to hallucinate or guess answers, <strong>RAG pulls actual data from a knowledge base</strong> (like a vector database), feeds that into the model, and <em>then</em> lets it generate the response.</p><h3>Without RAG:</h3><p>“Tell me about my company’s latest financials.”<br> → Model guesses based on public data.</p><h3>With RAG:</h3><p>“Tell me about my company’s latest financials.”<br> → Model retrieves internal reports from a private database, then generates the answer.<br> <strong>Boom. Real facts.</strong></p><p><strong>CAG- </strong>Context-Augmented Generation</p><p><em>It loads </em><strong><em>all the available context</em></strong><em> into the model upfront (instead of retrieving only a slice).</em></p><p>✅ Richer, full-context understanding<br> ✅ Great for reasoning across full documents<br> ❌ Higher memory/compute usage<br> ❌ Doesn’t scale well with huge datasets</p><h3>CAG vs RAG</h3><p><strong>RAG = targeted knowledge retrieval</strong><br> <strong>CAG = full-context loading</strong></p><h3>The Real Trade-offs</h3><p>When building real-world AI systems, choosing between <strong>CAG (Context-Augmented Generation)</strong> and <strong>RAG (Retrieval-Augmented Generation)</strong> isn’t just about preference — it’s a trade-off across several dimensions:</p><h3><strong>Accuracy</strong></h3><p><strong>CAG</strong></p><p>✅✅ <strong>Very high</strong>, since the full context is already loaded — fewer chances to miss important info</p><p>RAG:</p><p><strong>High</strong>, if retrieval is good (but can miss info if chunks aren’t retrieved)</p><h3>2.COST</h3><p>Rag:</p><p><strong>Low to Medium</strong> — retrieves only needed chunks, reducing tokens and API cost</p><p>CAG:<strong>High</strong> — sends large contexts into the model, increasing token usage and compute cost</p><h3>3.Latency</h3><p>RAG:</p><p>fast retrieval and minimal prompt context size</p><p>CAG:</p><p><strong>Higher</strong> — full context = longer prompts = slower generation times</p><h3>4.Scalability</h3><p>RAG:</p><p><strong>Very scalable</strong> — supports large external knowledge bases (millions of docs via vector DBs)</p><p>CAG:</p><p><strong>Limited scalability</strong> — constrained by context window (e.g., 100K tokens max in most models)</p><h3>5.Updatability</h3><p>RAG:</p><p><strong>Dynamic</strong> — content can be updated or indexed on-the-fly without fine-tuning</p><p>CAG:</p><p>requires you to reload or reprocess the entire document set when updates occur</p><h3>6. Memory Limit</h3><p>RAG:</p><p>No hard limit — memory load only on retrieved docs</p><p>CAG:</p><p>Limited by model context window (e.g., GPT-4o ≈ 128K tokens max)</p><h3>7. Ideal Use</h3><p>RAG:</p><p>Large, dynamic knowledge bases (FAQs, documentation, logs)</p><p>CAG:</p><p>Small, static documents (legal contracts, policy docs, single PDFs)</p><h3>8. Risk Factor</h3><p>RAG:</p><p>Retrieval failure = possible hallucination or info gaps</p><p>CAG:</p><p>Token overload or truncation = incomplete processing</p><h3>So what is Agentic RAG?</h3><p>Here’s where it gets spicy.</p><p><strong>Agentic RAG</strong> =</p><p><em>A Retrieval-Augmented Generation system that can </em>autonomously<em> decide </em><strong><em>what to retrieve</em></strong><em>, </em><strong><em>how to use it</em></strong><em>, and </em><strong><em>what steps to take next.</em></strong></p><p>You’re no longer just prompting a model to answer with extra context.<br> You’ve got an <strong>LLM-powered agent</strong> that:</p><ol><li>Understands your task</li><li>Pulls the right documents (via RAG)</li><li>Plans a workflow</li><li>Executes actions ORmaybe even triggering other tools, APIs, or sub-agents.</li></ol><p>roles of the llms in RAG:</p><p>Phases ,Roles of</p><p>1. Pre-retrieval :Understands and reformulates the query</p><p>2. Post-retrievalSynthesizes knowledge from retrieved documents</p><p>3. ReasoningConnects information across sources</p><p>4. Output generationProduces natural, user-friendly responses</p><p>5. (Agentic context)Plans next steps or triggers actions</p><p>What makes the llm to have such capability?</p><p>first things firstv , llm is made up of sevral parts contributing to its ability</p><h3>Example Use Case: Autonomous Money Tracker for a Supermarket Manager</h3><blockquote><em>you’re a supermarket manager juggling sales, stock, and staff.</em></blockquote><p><em>You want a daily breakdown of:<br>1.Which aisles make the most money<br> 2. What products are running low<br>3 .Which cashier had the highest transaction volume</em></p><p><em>And get all this before your morning coffee</em></p><blockquote>A regular dashboard? Sure, if you want to spend your morning clicking filters and copying numbers into Excel.</blockquote><p>A <strong>RAG system</strong>? Better since it could pull sales data from your POS and give you a report.</p><p>But an <strong>Agentic RAG</strong>?</p><p>It would <strong>wake up at 5 AM</strong>, do this autonomously:</p><ol><li><strong>Retrieve</strong> real-time sales data, stock levels, and transaction logs</li><li><strong>Analyze</strong> top-performing aisles, underperforming products, and staff performance</li><li><strong>Generate</strong> insights in plain language</li><li><strong>Trigger alerts</strong> for products hitting reorder thresholds</li><li><strong>Send a morning report</strong> to your phone or email, with a voice note summary (if you like that vibe)</li></ol><p>All before you even unlock your office door.</p><p><strong><em>Outcome?</em></strong></p><blockquote><em>You’re not just </em>seeing data<em> but you’re </em>being told what matters<em>, </em>why it matters<em>, and </em>what to do next<em>. That’s what makes it </em><strong><em>agentic</em></strong><em>.</em></blockquote><p>Then Comes another big word but powerful:</p><p><strong>MCP</strong>(<strong>model context protocol</strong>):a <strong>core architectural design</strong> that helps AI agents <em>think, act, and remember</em> in a structured way.<em><br> it is a framework that enables an agent to manage:</em></p><ul><li><strong>What it knows (Memory)</strong></li><li><strong>What it can do (Code / Tools)</strong></li><li><strong>How it moves toward goals (Planning)</strong></li></ul><p>Think of MCP like the <strong>“operating system” for agentic AI</strong>. It’s not a product it’s a <em>design standard</em> that structures how LLMs operate beyond just answering prompts.</p><h3>Breaking Down MCP: The Three Core Modules</h3><h4>1. Memory</h4><p>The agent’s long-term and short-term memory systems — past tasks, user preferences, context logs, scratchpads, etc.<br> → Helps the model stay coherent across time.</p><h4>2. Code (aka Tools / Interfaces)</h4><p>The functions, APIs, external systems the agent can call.<br> → This is how the model “does things” — not just “says things”.</p><h4>3. Plan</h4><p>The brain’s executive function: it maps high-level goals into step-by-step actions.<br> → Enables things like conditional logic, loops, retries, and chain-of-thought.</p><h3>Example</h3><p><strong>Goal:</strong> “Generate and email daily sales summary to the supermarket owner.”</p><p>With <strong>MCP</strong>, here’s what happens under the hood:</p><p>MCP ModuleWhat it Does<strong>Memory</strong>Recalls yesterday’s report and any flagged issues<strong>Code</strong>Pulls fresh sales data, formats it, generates summary<strong>Plan</strong>Decides: retrieve → summarize → attach PDF → send email</p><h3>Why “Protocol”?</h3><p>it’s not just a pile of functions. It’s a <strong>standard</strong> for how agents <em>should structure themselves</em> to be effective in real-world tasks.</p><p>You can think of it like:</p><ul><li><strong>HTTP</strong> for websites</li><li><strong>TCP/IP</strong> for networking</li><li><strong>MCP</strong> for agentic AI workflows</li></ul><h3>MCP + RAG = Autonomy with Knowledge</h3><p>Now imagine a system that combines:</p><ul><li><strong>RAG</strong> → to retrieve real-world knowledge</li><li><strong>MCP</strong> → to <em>use</em> that knowledge with autonomy</li></ul><p>You’ve now built an AI that:</p><ul><li>Remembers what it saw before</li><li>Retrieves what it doesn’t know</li><li>Plans what to do next</li><li>And executes it, again and again — across tasks, teams, and apps</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90108972f7e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Poetry]]></title>
            <link>https://medium.com/@essiee/poetry-351a45668c5d?source=rss-10be3f1dc83c------2</link>
            <guid isPermaLink="false">https://medium.com/p/351a45668c5d</guid>
            <category><![CDATA[poetry]]></category>
            <dc:creator><![CDATA[ESTHER]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 17:06:55 GMT</pubDate>
            <atom:updated>2024-12-03T17:06:55.485Z</atom:updated>
            <content:encoded><![CDATA[<p>Hmm 😂i knowwhat youre already thinking about , buts its not that!</p><p>Poetry is a python project management tool used for managing both simple and complex projects.</p><p>Poetry replaces setup.py, requirements.txt, setup.cfg, MANIFEST.in and Pipfile with a simple pyproject.toml based project format.</p><h3>What tasks does it perform to manage projects?</h3><p>As the name suggests (the tool is for sure a poet cuz what it does only a poet can write them)</p><ol><li><strong>Managing Dependencies</strong></li></ol><p>It ensures your Python project has the exact libraries and versions it needs, avoiding conflicts.</p><p><strong>2. Virtual Environments</strong><br>Poetry automatically sets up and manages a virtual environment for your project, isolating dependencies to avoid conflicts with system-wide Python installations.</p><p>3. <strong>Project Packaging</strong><br>If you’re building a library, Poetry helps you define its metadata (like name, version, author) and package it for distribution (e.g., to <a href="https://pypi.org/">PyPI</a>).</p><h3><strong>Getting started with Poetry</strong></h3><h3>1.Installation</h3><p>Install Poetry in PowerShell:</p><p>step 1 :Open PowerShell as an admin</p><p>step 2 :Run the Poetry Installer bu running this :</p><pre>Invoke-WebRequest -Uri https://install.python-poetry.org -OutFile poetry-installer.py<br>python poetry-installer.py</pre><p>after a successful installation you should see this in your terminal :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ufw_HYpy8OwWKGnC9_kywA.jpeg" /><figcaption>an image showing a successful poetry installation</figcaption></figure><ol><li><strong>check the the version of poetry youre using</strong></li></ol><p>Once you have it installed you dont need to create the traditional <em>requirements.txt </em>file for your project rather in your preferred CLI (mine is powershell)</p><p>run this code below to check the the version of poetry youre using</p><pre>poetry --version</pre><h3>2. Navigate to Your Project Folder</h3><p>Make sure you’re in the folder where you want to set up your project. Use the cd command to go there:</p><pre>cd /path/to/your/project</pre><h3>3. Initialize Poetry in Your Project</h3><p>Now, let’s tell Poetry to set up this folder as a Python project. Run:</p><pre>poetry init</pre><p>Poetry guides you through an interactive process to configure your project. It asks questions like:</p><ul><li>Project name</li><li>Version</li><li>Description</li><li>Author name/email</li><li>Python version compatibility</li><li>Initial dependencies (optional)</li></ul><p>if you want to skip the questions from the cli then just <em>crtl+c</em> and run :</p><pre>poetry init --no-interaction</pre><p>once initialized a file named <em>pyproject.toml is created automatically </em>in your project folder (if you chose to skip the questions , the file will be empty, if you didnt then file will contain a number of key and values like:</p><pre>name = &quot;my_project&quot;<br>version = &quot;0.1.0&quot;<br>description = &quot;&quot;<br>authors = [&quot;Your Name &lt;your.email@example.com&gt;&quot;]</pre><h3>4. Add Your Dependencies</h3><p>Think about the libraries your project will need. For example:</p><ul><li>If you’re building a Flask web app, add Flask:</li></ul><pre>poetry add flask</pre><p>Poetry updates this file automatically by adding Flask to the [tool.poetry.dependencies] section.</p><h3>5. Install All Dependencies</h3><p>Run:</p><pre>poetry install</pre><p>This command:</p><ul><li>Reads the pyproject.toml (where your dependencies are listed).</li><li>Resolves all dependencies and creates a poetry.lock file with exact versions.</li><li>Sets up a virtual environment for your project (so dependencies don’t interfere with other projects or your system Python).</li></ul><p>Poetry will handle installing all your project’s dependencies into a <strong>virtual environment</strong>.</p><p>Alright, let’s walk through the <strong>step-by-step process</strong> of setting up <strong>Poetry</strong> in your newly created project folder. I’ll explain it like you’re just starting out, so it feels like we’re working on it together.</p><h3>1. Install Poetry</h3><p>Before we can use Poetry, we need to install it on your system. Open your terminal (or command prompt) and check if Poetry is already insta</p><pre>Copy code</pre><pre>poetry --version</pre><p>If it’s not installed, run the installation command:</p><pre>bash</pre><pre>Copy code</pre><pre>curl -sSL https://install.python-poetry.org | python3 -</pre><p>After installation, add it to your system path (if needed), then verify it:</p><pre>bash</pre><pre>Copy code</pre><pre>poetry --version</pre><h3>2. Navigate to Your Project Folder</h3><p>Make sure you’re in the folder where you want to set up your project. Use the cd command to go there:</p><pre>bash</pre><pre>Copy code</pre><pre>cd /path/to/your/project</pre><h3>3. Initialize Poetry in Your Project</h3><p>Now, let’s tell Poetry to set up this folder as a Python project. Run:</p><pre>bash</pre><pre>Copy code</pre><pre>poetry init</pre><p>This command will:</p><ul><li>Ask you some questions, like the name, version, description, author, etc., of your project.</li><li>Let you specify dependencies (don’t worry, you can add them later if you’re unsure).</li></ul><p>If you’re in a hurry, you can skip the interactive prompts:</p><pre>bash</pre><pre>Copy code</pre><pre>poetry init --no-interaction</pre><h3>4. Add Your Dependencies</h3><p>Think about the libraries your project will need. For example:</p><ul><li>If you’re building a Flask web app, add Flask:</li><li>bash</li><li>Copy code</li><li>poetry add flask</li><li>For development tools (e.g., testing libraries like pytest), use:</li><li>bash</li><li>Copy code</li><li>poetry add --dev pytest</li></ul><p>This updates your pyproject.toml file with your dependencies and ensures Poetry resolves any conflicts.</p><h3>5. Install All Dependencies</h3><p>Poetry will handle installing all your project’s dependencies into a <strong>virtual environment</strong>. Run:</p><pre>bash</pre><pre>Copy code</pre><pre>poetry install</pre><p>This command:</p><ul><li>Reads the pyproject.toml (where your dependencies are listed).</li><li>Resolves all dependencies and creates a poetry.lock file with exact versions.</li><li>Sets up a virtual environment for your project (so dependencies don’t interfere with other projects or your system Python).</li></ul><h3>6. Activate the Virtual Environment</h3><p>To work in the environment Poetry created, activate it run:</p><pre>poetry shell</pre><p>You’ll now notice your terminal prompt changes to include the name of the virtual environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=351a45668c5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>