<?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 Ahmed Harabi on Medium]]></title>
        <description><![CDATA[Stories by Ahmed Harabi on Medium]]></description>
        <link>https://medium.com/@ahmedharabi?source=rss-33a04a34907c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*f24el5nIjmP6TIJLOT-FTg.jpeg</url>
            <title>Stories by Ahmed Harabi on Medium</title>
            <link>https://medium.com/@ahmedharabi?source=rss-33a04a34907c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:10:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ahmedharabi/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[Technologies You Should Learn in 2025]]></title>
            <link>https://medium.com/@ahmedharabi/technologies-you-should-learn-in-2025-1d684eb8f058?source=rss-33a04a34907c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d684eb8f058</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[2025-technology-trends]]></category>
            <dc:creator><![CDATA[Ahmed Harabi]]></dc:creator>
            <pubDate>Sat, 04 Jan 2025 13:53:52 GMT</pubDate>
            <atom:updated>2025-01-04T13:53:52.714Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICUCME0jJAEXn5sUBUQpLw.jpeg" /></figure><p>The software engineering field is advancing faster than ever, with groundbreaking technologies reshaping how we build and deploy software. If you’re planning to stay ahead, here are the most important and <em>trendy</em> technologies to learn in 2025, along with explanations, examples, and the skills required.</p><h3>AI Agents</h3><p><strong>What are they?</strong><br>AI agents are autonomous systems capable of reasoning, learning, and performing tasks with minimal human intervention. They’re evolving from single-purpose bots into systems capable of orchestrating complex workflows.</p><p><strong>Example:</strong></p><ul><li>GitHub Copilot X acting as a coding assistant that suggests entire functions, fixes bugs, and integrates libraries seamlessly.</li><li>Autonomous AI agents like AutoGPT or BabyAGI automating multi-step tasks like data analysis or market research.</li></ul><p><strong>Skills and Tools to Learn:</strong></p><ul><li>Python and libraries like LangChain</li><li>Frameworks such as OpenAI API or Hugging Face Transformers</li><li>Concepts in Reinforcement Learning and Large Language Models (LLMs)</li></ul><h3>Retrieval-Augmented Generation (RAG)</h3><p><strong>What is it?</strong><br>RAG enhances AI model performance by combining information retrieval systems with generative AI to provide accurate, up-to-date, and fact-based responses.</p><p><strong>Example:</strong></p><ul><li>A document search tool that integrates with OpenAI GPT to deliver instant, accurate answers from company knowledge bases.</li></ul><p><strong>Skills and Tools to Learn:</strong></p><ul><li>LangChain, Pinecone, or Weaviate for vector databases</li><li>OpenAI API or similar LLM tools</li><li>Elasticsearch for retrieval systems</li></ul><h3>Microservices Architecture</h3><p><strong>What is it?</strong><br>Microservices decompose applications into smaller, independent services that can be built, deployed, and scaled individually.</p><p><strong>Example:</strong></p><ul><li>Netflix uses microservices to separate user interfaces, payment processing, and recommendation systems for better scalability and reliability.</li></ul><p><strong>Skills and Tools to Learn:</strong></p><ul><li>Docker and Kubernetes for containerization</li><li>RESTful APIs or GraphQL for service communication</li><li>Spring Boot (Java), Express.js (Node.js), or Flask (Python)</li></ul><h3>Serverless Computing</h3><p><strong>What is it?</strong><br>Serverless computing allows developers to focus solely on code while the cloud provider handles infrastructure scaling, security, and management.</p><p><strong>Example:</strong></p><ul><li>Building a serverless image processing app using AWS Lambda, where uploaded images trigger resizing and format conversions automatically.</li></ul><p><strong>Skills and Tools to Learn:</strong></p><ul><li>AWS Lambda, Azure Functions, or Google Cloud Functions</li><li>Infrastructure-as-Code tools like Serverless Framework or AWS SAM</li><li>Asynchronous programming</li></ul><h3>Infrastructure as Code (IaC)</h3><p><strong>What is it?</strong><br>IaC automates infrastructure provisioning using code, enabling reproducibility and faster deployments.</p><p><strong>Example:</strong></p><ul><li>Spotify uses Terraform to manage its cloud infrastructure for deploying and scaling services globally.</li></ul><p><strong>Skills and Tools to Learn:</strong></p><ul><li>Terraform, AWS CloudFormation, or Pulumi</li><li>Ansible or Chef for configuration management</li><li>Familiarity with cloud providers like AWS, Azure, or GCP</li></ul><p>What are you planning to learn this year? Let’s discuss in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d684eb8f058" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Linux Drives Cloud and DevOps: An OS for the Modern Era]]></title>
            <link>https://medium.com/@ahmedharabi/how-linux-drives-cloud-and-devops-an-os-for-the-modern-era-5dc02086a7e9?source=rss-33a04a34907c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5dc02086a7e9</guid>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[linux-devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Ahmed Harabi]]></dc:creator>
            <pubDate>Mon, 30 Dec 2024 09:52:31 GMT</pubDate>
            <atom:updated>2024-12-30T09:54:23.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sI1Ag-um7R-XpGa4vFyikw.jpeg" /></figure><p>In the world of cloud computing and DevOps, Linux plays a pivotal role. Its architecture, flexibility, and robustness make it the operating system of choice for modern cloud platforms and DevOps practices. Let’s explore how Linux has become an essential component in these fields and understand its contributions with practical examples.</p><h3>Why Linux? The Foundation of Cloud and DevOps</h3><p>Linux is more than just an operating system; it is the backbone of innovation in technology. Its open-source nature, coupled with a robust architecture, makes it ideal for scalable and distributed systems.</p><h3>Key Features of Linux That Make It Stand Out</h3><ol><li><strong>Modular Architecture</strong>:<br>Linux is built on a modular architecture, meaning its components — like the kernel, shell, and utilities — can be customized or replaced. This flexibility is invaluable in cloud environments where specific optimizations are required.</li><li><strong>Multi-User Environment</strong>:<br>Linux was designed from the ground up to support multiple users simultaneously. In DevOps workflows, this allows teams to collaborate on the same system without interference.</li><li><strong>Open Source</strong>:<br>With full access to its source code, Linux fosters innovation. Developers can tweak the system to meet the specific needs of their applications, especially in custom cloud platforms.</li></ol><h3>The Role of Linux in Cloud Computing</h3><p>Cloud systems rely heavily on the scalability and reliability of Linux. From infrastructure to orchestration, Linux drives nearly every layer of cloud computing.</p><h3>Examples of Linux in Cloud</h3><ol><li><strong>Operating System for Cloud Servers</strong>:<br>Major cloud providers like AWS, Azure, and Google Cloud run their virtual machines on Linux distributions such as Ubuntu, CentOS, or Amazon Linux.</li></ol><ul><li>Example: An AWS EC2 instance running Amazon Linux provides developers with a pre-optimized environment for deploying web applications.</li></ul><p><strong>2. Containers and Kubernetes</strong>:<br>Technologies like Docker and Kubernetes are Linux-native. Containers rely on Linux kernel features like cgroups and namespaces to isolate processes.</p><ul><li>Example: A Kubernetes pod running on a node with an Ubuntu base image enables seamless deployment and scaling of microservices.</li></ul><p><strong>3. Networking in the Cloud</strong>:<br>Linux-based tools like iptables, Open vSwitch, and Netfilter handle routing, firewalling, and load balancing in cloud environments.</p><ul><li>Example: A cloud load balancer using HAProxy on Linux distributes traffic efficiently across multiple servers.</li></ul><h3>Linux in DevOps Practices</h3><p>DevOps is about automating and streamlining the software development lifecycle. Linux provides the tools and environment needed to achieve these goals.</p><h3>Why DevOps Teams Prefer Linux</h3><ol><li><strong>Automation</strong>:<br>Tools like Ansible, Puppet, and Chef are designed to work seamlessly with Linux.</li></ol><ul><li>Example: Automating the deployment of a Node.js application across multiple servers using an Ansible playbook.</li></ul><p><strong>2. CI/CD Pipelines</strong>:<br>Continuous integration and delivery tools like Jenkins, GitLab CI, and CircleCI run efficiently on Linux.</p><ul><li>Example: A Jenkins pipeline running tests, building Docker images, and deploying updates to a Kubernetes cluster.</li></ul><p><strong>3. Version Control and Collaboration</strong>:<br>Linux command-line tools integrate well with Git for version control.</p><ul><li>Example: A DevOps engineer pushing code changes from a Linux terminal and triggering a CI/CD workflow.</li></ul><h3>How Linux Features Drive Efficiency</h3><p>Linux’s technical features align closely with the needs of modern systems:</p><ol><li><strong>Kernel Innovations</strong>:</li></ol><ul><li><strong>cgroups</strong>: Used for resource isolation in containers.</li><li><strong>SELinux</strong>: Adds a layer of security for cloud environments.</li><li>Example: Ensuring only authorized applications can access sensitive files on a server.</li></ul><p><strong>2. Shell Scripting</strong>:<br>Bash scripts automate repetitive tasks, from system updates to application deployments.</p><ul><li>Example: A script that checks server health and sends alerts using Linux utilities like grep and awk.</li></ul><p><strong>3. Logging and Monitoring</strong>:<br>Tools like Syslog, journalctl, and top provide insights into system performance.</p><ul><li>Example: Monitoring CPU usage of cloud instances to ensure optimal performance.</li></ul><h3>Real-Life Success Stories</h3><ol><li><strong>Netflix</strong>:<br>Netflix relies on Linux-based systems to power its content delivery network (CDN). It uses Ubuntu for its servers and open-source Linux tools for monitoring and scaling.</li><li><strong>Google</strong>:<br>Google uses a customized Linux distribution, gLinux, for internal operations and to run its vast cloud infrastructure.</li><li><strong>Facebook</strong>:<br>Facebook’s infrastructure uses CentOS, a Linux distribution, to manage billions of daily user interactions.</li></ol><h3>Future of Linux in Cloud and DevOps</h3><p>Linux continues to evolve with the needs of modern computing. With advancements in lightweight containers, immutable infrastructure, and edge computing, Linux will remain central to innovation in the cloud and DevOps.</p><h3>Emerging Trends</h3><ul><li><strong>MicroVMs</strong>: Technologies like AWS Firecracker use Linux to run lightweight virtual machines for serverless applications.</li><li><strong>AI and ML Workloads</strong>: Linux distributions optimized for AI, such as Ubuntu AI, provide pre-installed frameworks like TensorFlow and PyTorch.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dc02086a7e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Made Simple: What, Why, and How]]></title>
            <link>https://medium.com/@ahmedharabi/docker-made-simple-what-why-and-how-4df0b3d3c942?source=rss-33a04a34907c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4df0b3d3c942</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Ahmed Harabi]]></dc:creator>
            <pubDate>Fri, 27 Dec 2024 08:11:55 GMT</pubDate>
            <atom:updated>2024-12-27T08:13:21.000Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W2dV6DFXXhZkm_Pd.png" /></figure><h3>What is Docker?</h3><p>Docker is a platform that enables developers to package applications and their dependencies into a standardized unit called a <em>container</em>. Containers are lightweight, portable, and run consistently across different computing environments, making Docker a favorite tool among developers and operations teams.</p><h3>Why Docker?</h3><p>Before Docker, deploying applications was often a nightmare due to differences in development, testing, and production environments. These discrepancies would lead to the dreaded phrase, <em>“It works on my machine!”</em></p><p>Docker solves this problem by bundling everything an application needs (code, runtime, libraries, dependencies, etc.) into a container. This guarantees the application will run the same way on any system with Docker installed.</p><h3>Problems Docker Solves</h3><h3>1. Dependency Conflicts</h3><p>Ever had a project fail because it required a different version of Python or Node.js than another project? Docker isolates dependencies, so each project runs in its own containerized environment.</p><h3>2. Portability</h3><p>Docker containers can run anywhere — on a developer’s laptop, in a data center, or in the cloud — ensuring consistency.</p><h3>3. Scalability</h3><p>With Docker, scaling applications becomes as easy as spinning up additional containers. This is especially useful in microservices architectures.</p><h3>4. Resource Efficiency</h3><p>Containers share the host OS kernel, making them lightweight compared to virtual machines (VMs), which require an entire OS instance.</p><h3>Where is Docker Used?</h3><p>Docker is popular in various domains and industries, including:</p><ul><li><strong>Software Development</strong>: For local development and testing.</li><li><strong>DevOps</strong>: As part of CI/CD pipelines.</li><li><strong>Cloud Computing</strong>: Deploying containerized apps to cloud providers like AWS, Azure, or GCP.</li><li><strong>Microservices</strong>: Simplifying the deployment of microservices architectures.</li><li><strong>Big Data &amp; AI</strong>: Running isolated data processing and training environments.</li></ul><h3>Docker Commands Cheat Sheet</h3><p>Here’s a quick overview of essential Docker commands:</p><h3>1. Install Docker</h3><p>Follow the official <a href="https://docs.docker.com/engine/install/">Docker installation guide</a> for your OS.</p><h4>2. Check Docker Version</h4><pre>docker --version</pre><h4>3. Pull an Image</h4><p>Download an official image from Docker Hub:</p><pre>docker pull ubuntu</pre><h4>4. Run a Container</h4><p>Run a container interactively:</p><pre>docker run -it ubuntu bash</pre><h4>5. List Running Container</h4><pre>docker ps</pre><h4>6. List All Containers (Stopped Included)</h4><pre>docker ps -a</pre><h4>7. Stop a Container</h4><pre>docker stop &lt;container_id&gt;</pre><h4>8. Remove a Container</h4><pre>docker rm &lt;container_id&gt;</pre><h4>9. Build an Image</h4><p>Create an image from a Dockerfile:</p><pre>docker build -t my-image .</pre><h4>10. Run a Container with Port Mapping</h4><p>Expose a containerized app on a specific port:</p><pre>docker run -p 8080:80 my-image</pre><h3>What’s Next After Docker?</h3><p>Docker is an excellent starting point for mastering containerization, but it’s just the beginning. Once you’re comfortable with Docker, the next step is to explore Kubernetes (K8s), a powerful container orchestration platform.</p><p>Kubernetes helps you manage and scale containers across multiple machines, making it essential for deploying and maintaining production-grade applications. Think of Docker as the foundation and Kubernetes as the framework that takes it to the next level.</p><p>Ready to dive deeper? Start by learning how Kubernetes builds on Docker’s principles to solve challenges like scaling, load balancing, and self-healing. Your journey into the containerized world is only just beginning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4df0b3d3c942" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get Started with the Python rich Library]]></title>
            <link>https://medium.com/@ahmedharabi/get-started-with-the-python-rich-library-2736b1b57941?source=rss-33a04a34907c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2736b1b57941</guid>
            <dc:creator><![CDATA[Ahmed Harabi]]></dc:creator>
            <pubDate>Thu, 04 Jul 2024 14:03:28 GMT</pubDate>
            <atom:updated>2024-07-04T14:12:27.306Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q6Ub6R4l9er8Q2CzpUcFqw.png" /></figure><p>The rich library is a powerful Python tool for creating visually appealing terminal output. It supports rich text formatting, tables, markdown, syntax highlighting, and much more.</p><h3>Installation</h3><p>To install the rich library, use pip:</p><pre>pip install rich</pre><h3>Basic Usage</h3><p>Let’s start with some basic examples to illustrate how you can use rich to enhance terminal output.</p><h4>Rich Text</h4><p>rich allows you to add <strong>colors </strong>and styles to your terminal text easily. Here&#39;s how you can print colored and styled text:</p><pre>from rich import print<br><br>print(&quot;[bold magenta]Hello, [yellow]Rich[/yellow]![/bold magenta]&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*V8mbx9Bx_l9Am5Ss0XL1dw.png" /></figure><p>In the above example, [bold magenta] starts bold and magenta-colored text, [yellow] changes the text color to yellow, and [/bold magenta] closes the bold magenta formatting.</p><h4>Tables</h4><p>Creating tables in the terminal is straightforward with rich. Here&#39;s a quick example:</p><pre>from rich.console import Console<br>from rich.table import Table<br><br>console = Console()<br><br>table = Table(title=&quot;Sample Table&quot;)<br><br>table.add_column(&quot;Name&quot;, style=&quot;cyan&quot;)<br>table.add_column(&quot;Age&quot;, justify=&quot;right&quot;, style=&quot;magenta&quot;)<br>table.add_column(&quot;City&quot;, style=&quot;green&quot;)<br><br>table.add_row(&quot;Alice&quot;, &quot;24&quot;, &quot;New York&quot;)<br>table.add_row(&quot;Bob&quot;, &quot;30&quot;, &quot;Los Angeles&quot;)<br>table.add_row(&quot;Charlie&quot;, &quot;35&quot;, &quot;San Francisco&quot;)<br><br>console.print(table)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*wlUJ3tYa2GDrJGnzAFtK7w.png" /></figure><p>This code creates a table with columns for “Name,” “Age,” and “City,” and displays it in the terminal.</p><h4>Markdown</h4><p>rich can also render Markdown:</p><pre>from rich.console import Console<br>from rich.markdown import Markdown<br><br>console = Console()<br><br>markdown = Markdown(&quot;# Hello, Rich!\n\nThis is a **markdown** example.&quot;)<br>console.print(markdown)</pre><figure><img alt="This will render a Markdown-styled heading and bold text in the terminal." src="https://cdn-images-1.medium.com/max/874/1*jbk-y5KFLo6Il14cLqLSuQ.png" /></figure><p>This will render a Markdown-styled heading and bold text in the terminal.</p><h4>Syntax Highlighting</h4><p>To highlight syntax, use the Syntax class:</p><pre>from rich.console import Console<br>from rich.syntax import Syntax<br><br>console = Console()<br><br>code = &quot;&quot;&quot;<br>def hello(name):<br>    print(f&quot;Hello, {name}!&quot;)<br>&quot;&quot;&quot;<br><br>syntax = Syntax(code, &quot;python&quot;)<br>console.print(syntax)</pre><p>This will print the Python code with syntax highlighting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*JMPN9pXYTqgVtdnkcPXJTg.png" /></figure><h4>Progress Bar</h4><p>rich also provides a way to create progress bars:</p><pre>from rich.progress import Progress<br>import time<br><br>with Progress() as progress:<br>    task = progress.add_task(&quot;Processing...&quot;, total=100)<br>    for i in range(100):<br>        time.sleep(0.1)<br>        progress.update(task, advance=1)</pre><p>This code will display a progress bar that updates as the task progresses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*YxfQmrc_-mZjsZ3OK8m2hw.png" /></figure><h3>Advanced Features</h3><h4>Logging</h4><p>rich can enhance logging with color and formatting:</p><pre>import logging<br>from rich.logging import RichHandler<br><br>logging.basicConfig(level=&quot;INFO&quot;, handlers=[RichHandler()])<br>log = logging.getLogger(&quot;rich&quot;)<br><br>log.info(&quot;This is an info message.&quot;)<br>log.error(&quot;This is an error message.&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*cb3erRCi6e6IvoEusdYh_A.png" /></figure><h4>Panels</h4><p>You can create bordered panels to group related content:</p><pre>from rich.console import Console<br>from rich.panel import Panel<br><br>console = Console()<br><br>panel = Panel(&quot;This is a panel.&quot;, title=&quot;Panel Title&quot;, subtitle=&quot;Subtitle&quot;)<br>console.print(panel)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*GtomlG-JNJ8kpJUuA-xPOw.png" /></figure><h3>Conclusion</h3><p>The rich library offers a range of features to improve the appearance and readability of your terminal output. Whether you&#39;re looking to add simple color and styles, or you want to create complex tables and progress bars, rich makes it easy.</p><p>For more details, check out the <a href="https://rich.readthedocs.io/en/latest/">Rich documentation</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2736b1b57941" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>