<?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 Dmurairimukongya on Medium]]></title>
        <description><![CDATA[Stories by Dmurairimukongya on Medium]]></description>
        <link>https://medium.com/@dmurairimukongya?source=rss-551888a68d1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2FHDVM8yDQDxX1Q5V9lP7g@2x.jpeg</url>
            <title>Stories by Dmurairimukongya on Medium</title>
            <link>https://medium.com/@dmurairimukongya?source=rss-551888a68d1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 13:11:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dmurairimukongya/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 do you do when your old life calls you back?]]></title>
            <link>https://medium.com/@dmurairimukongya/what-do-you-do-when-your-old-life-calls-you-back-d4b37f201bf8?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4b37f201bf8</guid>
            <category><![CDATA[hope]]></category>
            <category><![CDATA[self-discovery]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[redemption]]></category>
            <category><![CDATA[wisdom]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Sun, 07 Sep 2025 09:01:27 GMT</pubDate>
            <atom:updated>2025-09-07T11:22:58.101Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been battling my past for years now. Over and over, I kept making the same mistakes until one day, I stopped.</p><p>This is a purely fictional story I was inspired to write.</p><p>At some point in life, I decided to fly miles away from home, not knowing what would become of me. Just like anyone else, I lived a life that others would consider a dream. It was all about the next thrill, the next party, chasing that high of feeling completely free. My days were a blur of late nights and sunrises I wasn’t supposed to see, surrounded by people who were just as lost as I was, all of us pretending we had it all together.</p><p>I never realized how much it would cost me over time. Like everyone else, I was making it one way or another, and I thought this was the life meant for me. I was blessed — or so I thought. I kept on living, unaware that life had a huge surprise waiting for me: the moment when everything would fall apart. That life I had been building became the reason for my downfall.</p><p>Through dedication and hard work, I got back on my feet, ready to celebrate my rise. I thought nothing could stop me this time. I was back in the game even harder. However, I could not sustain it. Over and over, I fell and rose again — until one day I found myself deep in a hole where all I could see was darkness, with only a dim light far ahead. The hole was too deep, and I couldn’t climb out. I stayed there for too long until I lost all hope.</p><p>Just when I thought it was over, I heard a voice calling me, telling me not to be afraid, reaching out a hand. He saved me, helped me rise again. And from that moment, I never walked alone.</p><p>Until the day my old life called me back. Like a foolish man, I ran to it — the same life that had nearly destroyed me. It consumed me again and left me hanging.</p><p>But this time, I had the chance to compare those two lives side by side. I realized the new life was much better than the one I had before. What once seemed boring was actually peaceful. I didn’t have to chase anything for happiness — my happiness came from within me. I decided to go and find that voice once again and beg Him to help me rise again. I kept searching for the voice that had once saved me, but I couldn’t find Him. I thought I was done for.</p><p>Then one day, I understood — this was another lesson. He wanted me to realize it for myself. And when I did, I knew: He had never left me. He had always been there. I held His hand again, and this time, I never turned back.</p><p>Now, I feel free and whole — compared to the life where I felt empty and unfulfilled. In truth, I was never really happy back then.</p><p>Sometimes life gives us the chance to experience different versions of ourselves, so we can see that we’re not missing out — we’re saving ourselves from greater harm. The decisions we make can change our lives for better or worse. And if you think you’re all alone in what’s happening, look closely. It might be too hard to see, but someone could be there with you. Perhaps you won’t get a hand like I did, but you can lift each other and grow together.</p><p><strong>End</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4b37f201bf8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Learned Refactoring 100,000+ Lines of Code for the Enterprise]]></title>
            <link>https://medium.com/@dmurairimukongya/what-i-learned-refactoring-100-000-lines-of-code-for-the-enterprise-12ee3d4f9352?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/12ee3d4f9352</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[serverless-architecture]]></category>
            <category><![CDATA[enterprise-technology]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Sat, 23 Aug 2025 08:05:15 GMT</pubDate>
            <atom:updated>2025-08-23T08:05:15.931Z</atom:updated>
            <content:encoded><![CDATA[<p>Every successful project eventually reaches a crossroads. Mine started with rapid growth, quick features, and the kind of velocity that makes everyone happy. But beneath the surface, I was accumulating technical debt. A simple bug fix would take a day. Adding a new feature felt like navigating a minefield. The application, now over 100,000 lines of code, was telling me it was time for a change. So, I spent the last month refactoring its most critical parts. Here are the real, hard-earned lessons that you don’t always find in the textbooks.</p><h4>1. Duplication Will Hunt You Down</h4><p>The DRY (Don’t Repeat Yourself) principle isn’t just a suggestion; it’s a survival tactic. I found dozens of instances of duplicated logic. A simple change to a business rule required hunting down every instance it was copied, which took hours of work and introduced a massive risk of bugs. While AI tools can assist with these repetitive changes, they aren’t a magic bullet. You still need a deep understanding of the system to guide them. The real solution is to eliminate duplication at the source. It’s the single biggest investment you can make in your future sanity.</p><h4>2. Vague Errors are a Waste of Everyone’s Time</h4><p>My application had a bad habit: nearly every error returned a generic 400 Bad Request or 500 Internal Server Error. This was useless. I spent countless hours digging through logs to debug a simple billing failure that could have been explained in a single, specific error message. Proper error handling is a form of communication. It tells the frontend what to show the user (404 Not Found vs. 403 Forbidden) and tells you exactly where the system broke. Clear errors are the foundation of a stable and debuggable system.</p><h4>3. Plan Your Database Operations Carefully</h4><p>Writing to a database in a large application is rarely a single UPDATE statement. It’s often a series of operations that must all succeed or fail together. I learned the hard way that not using patterns like the Unit of Work can lead to data corruption and painful manual cleanups. Implementing atomic transactions with clear commit and rollback strategies is non-negotiable. In an enterprise application, data integrity isn&#39;t just a feature; it&#39;s your reputation.</p><h4>4. Architecture is How You Avoid Rewriting Everything</h4><p>A good architecture with clear Separation of Concerns is what separates a scalable application from a future legacy system. By ensuring our code was organized into distinct layers (e.g., presentation, business logic, data access), I made it possible to change one part of the app without breaking everything else. This is the essence of building for the long term. Your code should be like a set of well-organized Lego blocks, not a tangled ball of yarn.</p><h4>5. Use the Right Tools for the Job</h4><p>In the enterprise world, trying to build everything from scratch is a recipe for failure. Whether it’s a robust logging service, a proven message queue, or a reliable cloud provider, leveraging enterprise-grade tools saves you from having to reinvent the wheel. They provide the reliability, security, and scalability you need, allowing your team to focus on solving business problems, not infrastructure problems.</p><h4>6. Serverless Can Be a Financial Superpower</h4><p>I had several background processes and scheduled tasks running on dedicated servers that were idle 95% of the time. Migrating these to serverless functions was a game-changer. I now pay only for the exact milliseconds of compute time we use, drastically cutting our cloud bill. Don’t underestimate serverless; for the right workload, it’s one of the most powerful cost-saving tools available.</p><h4><strong>Conclusion</strong></h4><p>Refactoring over 100,000 lines of code taught me that building enterprise-ready software isn’t about complex algorithms or clever tricks. It’s about making disciplined choices in your architecture, your error handling, and your tools that prioritize clarity, maintainability, and long-term health. It’s an investment, and it always pays off.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12ee3d4f9352" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vibe Coding from Idea to Product — How to Build Software with AI Without Losing Control]]></title>
            <link>https://medium.com/@dmurairimukongya/vibe-coding-from-idea-to-product-how-to-build-software-with-ai-without-losing-control-36fc5ddd97de?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/36fc5ddd97de</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Sat, 09 Aug 2025 09:06:34 GMT</pubDate>
            <atom:updated>2025-08-09T09:06:34.010Z</atom:updated>
            <content:encoded><![CDATA[<h3>Vibe Coding from Idea to Product — How to Build Software with AI Without Losing Control</h3><p>I’ve been playing around with GPT-5 on Cursor lately, and honestly… It’s wild. Way beyond what I expected from the demos. As someone who writes code every day, I can tell you this: building software doesn’t feel the same anymore. What used to take me months, I can now knock out in about a week.</p><p>But here’s the thing, fast isn’t always smooth. With AI, it’s easy to “vibe code” your way to something that works… until it doesn’t. Then you can find yourself stuck in the weeds, spending days debugging code you didn’t fully write. I’ve been there, and I’ve seen people give up completely when things got too messy.</p><p>So, instead of letting AI turn into a productivity trap, I want to share a simple roadmap that’s worked for me. It’ll help you get the speed boost without falling into that deep debugging hole.</p><h4>Why Fast Doesn’t Always Mean Good</h4><p>When people talk about “good” software, they usually mean something that can scale, stay secure, and handle errors without falling apart. In short, it should be stable in about 97.5% of all cases, no matter what weird scenario a user throws at it.</p><p>The problem with vibe coding is that it tricks you. You get caught up in how nice the UI looks or how many features you’ve cranked out, and you forget the most important part — <em>how</em> those features are implemented.</p><p>AI is especially guilty of this. It’s great at writing code to achieve a goal, but it doesn’t always think about how that new bit of code will interact with the rest of your system. The result? Features that work fine alone but break when they’re all together, leaving you with mysterious bugs that are way harder to fix than they should be.</p><p>If you’re building something just for fun, that’s fine. But if you’re learning to build software to power a real business one day, you can’t leave it all to chance. To avoid vibe-coding your way into debugging hell, you need to take the wheel and guide the vision.</p><h3>Step 1: Plan with AI (Don’t Skip This)</h3><p>Planning is the most important step when building software with AI, and it’s the one people skip the most. This stage is about creating a shared understanding between you and the AI.</p><p>Here’s what it involves, but not limited to this list:</p><ol><li><strong>Define the goal: </strong>What problem are you solving? Who is it for?</li></ol><p><strong>2. Set clear objectives: </strong>What do you want to achieve with this project?</p><p><strong>3. Identify the type of software: </strong>Mobile app, web app, real-time system, automation tool, etc.</p><p><strong>4. List the must-have functionalities: </strong>Keep it focused on essentials, not nice-to-haves.</p><p><strong>5. Get a detailed AI output</strong> that includes:</p><ul><li>A list of software requirements and specifications</li><li>An explanation of each feature and its use cases</li><li>How each feature will be implemented and connected to others</li><li>Where it might fail and how to handle those failures</li><li>Security considerations</li></ul><p>By the end of this step, the AI should have a clear picture of the application it’s building from the inside out and not just a surface-level idea, and you should too.</p><h3>Step 2: Build the Blueprint</h3><p>Once you know what you’re building, you need a plan for how it will come together, kind of drawing the blueprint plan before you build the house.</p><p>This is where you decide a few important things:</p><ul><li><strong>What you’ll use to build it</strong> — mobile app, web app, real-time tool… You don’t have to know the tech names, just describe it in plain words. Let the AI pick the right tools based on that. This could be using <strong>Base44 </strong>to build the app for you (full-stack web application).</li><li><strong>How it will look and feel</strong> — ask AI to give you a simple sketch or wireframe of the key screens and how people will move through them.</li><li><strong>What information does it need to keep</strong> — for example, if you’re building an online shop, you’ll store things like products, which will involve keeping track of product name, price, and stock count. AI can turn that into the technical database plan.</li><li><strong>Where to use proven solutions</strong> — you don’t have to reinvent things like sign-up forms, payments, or file storage. Tools like Clerk (authentication), Stripe (payments), and Google Drive or AWS (file storage) already solve those problems better than starting from scratch.</li><li><strong>Security and safety</strong> — This is often ignored but crucial. Specify what security measures matter in protecting data, access control, etc., and make sure AI includes them.</li><li><strong>Other design decisions</strong> — For technical users, you can go even further to make decisions on the folder structure, software architecture, and principles to use to meet the specifications mentioned above during the planning.</li></ul><p>The goal here isn’t to become an expert in all these parts. It’s to make sure you and the AI are picturing the same thing before a single line of code gets written. When you’re done, you should have a clear “blueprint” that shows the foundation, the building blocks, and the ready-made pieces that will save you time later.</p><h3>Step 3: Build One Feature at a Time with AI</h3><p>If you’re not technical, don’t worry, this step is about using your plan and blueprint to guide AI in building your software piece by piece.</p><p>Here’s how to do it:</p><ol><li><strong>Ask AI to create an implementation plan:</strong></li></ol><ul><li>Use your earlier planning and blueprint to get AI to create an implementation plan. It will most likely produce the order of features in which to build, one by one.</li></ul><p><strong>Example prompt: </strong><em>Based on the plan and blueprint, give me a concise implementation plan of the application. The implementation plan should contain a list of all features or functionalities and how they follow each other. For each feature, list down all functionalities that you will add.</em></p><p><strong>2. Build features one at a time</strong></p><ul><li>For each feature, prompt AI separately. Don’t try to build everything at once.</li><li>Be clear to remind AI about the blueprint and plan so it sticks to the scope.</li><li><strong>Example prompt</strong>: “Using the plan and blueprint, build the login feature only. Do not add anything extra.”</li></ul><p><strong>3. Stay in control</strong></p><ul><li>When AI finishes a feature, ask what else can be added around it, but only within that feature’s scope.</li><li>Decide if you want to include those additions or move on.</li></ul><p><strong>4. Avoid surprises</strong></p><ul><li>Remind AI often to follow the blueprint and not go beyond the plan.</li><li>This helps prevent unexpected code or features that don’t fit your vision.</li></ul><p><strong>5. Test what you build:</strong></p><ul><li>Before moving on, check that the feature works as expected, using the use cases you defined earlier. If you’re technical, you can write or ask AI to generate test cases.</li></ul><p><strong>Keep logs:</strong></p><ul><li>Ask AI to add logs during development and error handling. Logs help you track what’s happening and fix problems quickly.</li></ul><p><strong>Maintain security:</strong></p><ul><li>Confirm that all security measures from the planning stage are implemented and tested.</li></ul><p>By breaking development into clear, manageable chunks like this, you can guide AI effectively and avoid getting overwhelmed.</p><h3>Step 4: Guide AI with Cursor Rules — Structure, Process, and Best Practices</h3><p>Using Cursor rules is one of the best ways to keep AI-generated code consistent, secure, and aligned with your vision. But there’s more to it than just writing a bunch of rules all in one place. Here’s how to do it smartly:</p><h4>Organize Your Rules with an Entry Point</h4><ul><li>Create a <strong>main rules file</strong> (an entry point) that describes all other rule files you use, what they cover, and when they apply.</li><li>This entry point helps AI understand which rules to apply in different situations and keeps everything organized.</li><li>Always include this entry point in your Cursor project so AI knows where to look for guidance.</li></ul><h3>Write Specific Rules in Separate Files</h3><p>Break your rules into focused files based on topics, such as:</p><ul><li><strong>Naming conventions</strong> (how to name variables, functions, classes, etc.)</li><li><strong>Task approach and workflow</strong> (how to analyze a task before coding)</li><li><strong>Security and error handling</strong></li><li><strong>Formatting and style</strong></li><li><strong>Project structure</strong> (folder layout, file organization)</li></ul><h4>Define How AI Should Approach New Tasks</h4><p>Before writing any code, AI should:</p><ol><li>Review the task description, blueprint, and plan.</li><li>Summarize the requirements and confirm understanding.</li><li>Break down the task into logical steps.</li><li>Ask for clarification if anything is unclear.</li><li>Outline the coding approach (data structures, functions, dependencies).</li></ol><p>Only after these steps should AI start writing code, ensuring thoughtful, aligned output.</p><h4>Iterate and Evolve Your Rules</h4><ul><li>As you review generated code, update or add new rules to fix mistakes or improve style and security.</li><li>This iterative approach teaches AI your preferences and improves output quality over time.</li></ul><p>By structuring your Cursor rules thoughtfully with a clear entry point, separate focused files, and detailed task and style instructions, you make AI a much more reliable partner. Your code will be cleaner, safer, and better aligned with your vision, while letting you move fast without losing control.</p><h3>Conclusion</h3><p>AI is changing how we build software, fast. Tools like GPT-5 on Cursor let you move from idea to working product in a fraction of the time it used to take. But speed alone isn’t enough — without a clear plan and careful steps, it’s easy to fall into “vibe coding” traps that lead to messy, unstable software and frustrating debugging sessions.</p><p>The roadmap I shared here helps you avoid that. By planning carefully, building a solid blueprint, and guiding AI to build one feature at a time — all while staying in control and keeping security top of mind — you can get the best of both worlds: rapid development <em>and</em> reliable software.</p><p>Whether you’re a developer or just starting out, following these steps will help you use AI as a real partner, not just a fast code generator. AI won’t replace craftsmanship, but it will accelerate it — as long as you stay in the driver’s seat.</p><p>This is not a guaranteed formula for success but a practical starting point. So go ahead, experiment with AI, build smart, and innovate this approach. Try these steps on your next project and see how AI can change your workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36fc5ddd97de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Terraform Blocks]]></title>
            <link>https://medium.com/@dmurairimukongya/understanding-terraform-blocks-6f9a1b26eefd?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f9a1b26eefd</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 09:59:23 GMT</pubDate>
            <atom:updated>2025-08-02T09:59:23.691Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A Practical Guide to Deploying a Docker Container on AWS</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*KXXUvFr6p5kZ87cQ" /></figure><p>Terraform is a powerful tool that enables the automation of cloud resource creation and management using code. Its configuration is built from fundamental units called blocks, which together define the desired state of your resources.</p><p>Unlike imperative programming languages that require step-by-step instructions, Terraform uses a declarative language. With declarative language, you simply define the desired state you want your resources to be in, and Terraform will handle the logic to make it a reality.</p><p>In this article, we will dive into Terraform blocks, exploring their fundamental components and the various types of blocks that form the backbone of any configuration.</p><p><strong>I. Anatomy of Blocks</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*_F7YTuBiPobw3aWeBruSWA.png" /></figure><p>When creating a block, we are most likely to define the type of block, labels, and arguments. More advanced block configurations also contain nested blocks to define more complex behaviors.</p><ul><li><strong>Block Type</strong>: Most important, as it defines the purpose of the block and how other parts of the block are interpreted. In our graph, resource is the type of block.</li><li><strong>Block Labels</strong>: These are the names given to a block to identify it. Some blocks do not require a label, some require only 1 label, and others may need 2 labels. The first is a subtype/resource type, and the last is the local name. In our example, <em>aws_instance </em>is a resource type, and <em>web_server </em>is the local name. The combination of the resource type and local name makes a unique identifier.</li><li><strong>Arguments: </strong>Defined only once in a block, it’s used to define the configuration values for the block. In our example, we defined the AWS EC2 AMI for example.</li></ul><pre># 1. Define the EC2 Instance Resource<br># This block describes the EC2 instance you want to create.<br>resource &quot;aws_instance&quot; &quot;app_server&quot; {<br>  # The Amazon Machine Image (AMI) ID. This determines the operating system.<br>  # Note: This specific AMI is for Amazon Linux 2 in the us-east-1 region.<br>  # You must find a valid AMI for your own region in the AWS EC2 Console.<br>  # You can also use data block to fetch those informations<br>  ami           = &quot;ami-0c55b159cbfafe1f0&quot;</pre><pre>  # The size of the instance. t2.micro is often eligible for the AWS Free Tier.<br>  instance_type = &quot;t2.micro&quot;</pre><pre>  # Tags are key-value pairs that help you manage and identify your resources.<br>  tags = {<br>    Name = &quot;MySimpleWebServer&quot;<br>  }<br>}</pre><p><strong>II. Types of Blocks</strong></p><p>Types of blocks, as stated above, are used to define how Terraform interprets different parts of the blocks. Some types are for setup, others are for managing the resources, and others are used for organization.</p><h4>Setup Blocks</h4><p>These blocks configure Terraform itself and how it communicates with cloud providers.</p><ul><li><strong>terraform</strong>: Configures core Terraform settings, such as the required Terraform version, backend storage for state files, and required providers.</li><li><strong>provider</strong>: Configures a specific infrastructure provider (like AWS, Azure, or Google Cloud), including details like the region, credentials, and version.</li></ul><h4>Resource Management Blocks</h4><p>These are the main “workhorse” blocks used to define and query your infrastructure.</p><ul><li><strong>resource</strong>: The most important block type. It declares an infrastructure object (like an EC2 instance, a database, or a DNS record) that Terraform will create, update, or destroy.</li><li><strong>data</strong>: Used to fetch data or query information from an existing resource managed outside of your configuration, or from another Terraform workspace. It provides read-only access.</li></ul><h4>Organizational Blocks</h4><p>These blocks help make your code clean, reusable, and easy to manage.</p><ul><li><strong>variable</strong>: Defines an input variable, allowing you to create flexible and reusable configurations that can be customized without changing the source code.</li><li><strong>output</strong>: Defines a return value for your configuration, which is displayed to the user after running terraform apply. This is useful for showing things like an IP address or a server&#39;s hostname.</li><li><strong>locals</strong>: Declares named expressions that you can use multiple times within a module to avoid repetition (following the DRY - Don&#39;t Repeat Yourself - principle).</li><li><strong>module</strong>: A container for a group of related resources that are used together. Modules are the primary way to create reusable and shareable infrastructure components in Terraform.</li></ul><p><strong>III. Practical Example</strong></p><p>Our practical example uses Terraform to automatically deploy a Dockerized web application on an AWS EC2 instance. The configuration is made flexible with variables for key settings like the region and server size. You manage the infrastructure’s entire lifecycle with four standard commands: $terraform init$ to prepare the project, $terraform plan$ to preview changes, $terraform apply$ to build the resources, and $terraform destroy$ to clean everything up.</p><p><strong>Step 1: Create a main.tf file</strong></p><pre>variable &quot;aws_region&quot; {<br>  description = &quot;The AWS region to deploy resources in.&quot;<br>  type        = string<br>  default     = &quot;us-east-1&quot;<br>}<br><br>variable &quot;instance_type&quot; {<br>  description = &quot;The EC2 instance type to use for the server.&quot;<br>  type        = string<br>  default     = &quot;t2.micro&quot;<br>}<br>variable &quot;server_name_tag&quot; {<br>  description = &quot;The value for the &#39;Name&#39; tag on the EC2 instance.&quot;<br>  type        = string<br>  default     = &quot;My Docker Web Server (from var)&quot;<br>}<br>variable &quot;docker_image_name&quot; {<br>  description = &quot;The name of the Docker image to run on the server.&quot;<br>  type        = string<br>  default     = &quot;nginxdemos/hello:latest&quot;<br>}<br># --- Terraform &amp; Provider Configuration ---<br>terraform {<br>  required_providers {<br>    aws = {<br>      source  = &quot;hashicorp/aws&quot;<br>      version = &quot;~&gt; 6.0&quot;<br>    }<br>  }<br>}<br>provider &quot;aws&quot; {<br>  region = var.aws_region<br>}<br># --- Dynamic AMI Lookup ---<br># This data source finds the latest Amazon Linux 2023 AMI automatically.<br># This is the recommended way to avoid hardcoding AMI IDs.<br>data &quot;aws_ami&quot; &quot;latest_amazon_linux&quot; {<br>  most_recent = true<br>  owners      = [&quot;amazon&quot;] # We only want official AMIs from Amazon.<br>  filter {<br>    name   = &quot;name&quot;<br>    values = [&quot;al2023-ami-*-kernel-6.1-x86_64&quot;] # A common name pattern for Amazon Linux 2023<br>  }<br>  filter {<br>    name   = &quot;virtualization-type&quot;<br>    values = [&quot;hvm&quot;]<br>  }<br>}<br># --- Networking (Firewall) ---<br># This resource remains unchanged.<br>resource &quot;aws_security_group&quot; &quot;web_sg&quot; {<br>  name        = &quot;website-sg&quot;<br>  description = &quot;Allow HTTP inbound traffic&quot;<br>  ingress {<br>    from_port   = 80<br>    to_port     = 80<br>    protocol    = &quot;tcp&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br>  egress {<br>    from_port   = 0<br>    to_port     = 0<br>    protocol    = &quot;-1&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br>  tags = { Name = &quot;Website Security Group&quot; }<br>}<br># --- EC2 Instance and Server Setup ---<br>resource &quot;aws_instance&quot; &quot;web_server&quot; {<br>  # The AMI is now dynamically sourced from the &#39;data&#39; block above.<br>  ami           = data.aws_ami.latest_amazon_linux.id<br>  instance_type = var.instance_type<br>  vpc_security_group_ids = [aws_security_group.web_sg.id]<br>  user_data              = &lt;&lt;-EOF<br>              #!/bin/bash<br>              yum update -y<br>              yum install -y docker<br>              service docker start<br>              usermod -a -G docker ec2-user<br>              docker run -d -p 80:80 ${var.docker_image_name}<br>              EOF<br>  tags = {<br>    Name = var.server_name_tag<br>  }<br>}<br># --- Outputs ---<br>output &quot;website_url&quot; {<br>  description = &quot;Public URL of the EC2 instance&quot;<br>  value       = &quot;http://${aws_instance.web_server.public_dns}&quot;<br>}<br>output &quot;used_ami_id&quot; {<br>  description = &quot;The ID of the AMI that was dynamically found and used.&quot;<br>  value       = data.aws_ami.latest_amazon_linux.id<br>}</pre><p><strong>Step 2: Run <em>terraform init</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*r36S6XnscUvf0cf98kwYyA.png" /></figure><p><strong>Step 3: Run <em>terraform plan</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqJGuRMolRI8ZiAOEqPhZw.png" /></figure><p><strong>Step 4: Run <em>terraform apply</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-PH_U4eU-nlAhq6SXfxtg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HyeV__vXkosC--wjlXsmNA.png" /></figure><p><strong>Step 5: Run <em>terraform destroy</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*9saicdjglv8C09INm-pM6Q.png" /></figure><h4>Conclusion</h4><p>Throughout this guide, we’ve journeyed from the fundamental anatomy of a Terraform block to deploying a fully functional, automated web server on AWS. We’ve seen how different block types — for setup, resource management, and organization — work together to define infrastructure as code. Our practical example demonstrated not just how to provision resources, but how to create a flexible configuration with variables and a resilient one using a data source to find the latest machine image automatically.</p><p>For an AI Engineer, learning Terraform is especially important for two main reasons: making experiments repeatable and saving money. First, you can use code to define the exact server, GPU, and software needed for an experiment. This means you or your teammates can reliably recreate the same setup later, which is critical for good science. Second, training models often requires expensive servers, but only for a short time. With Terraform, you can launch a powerful server with one command, do your work, and then use $terraform destroy$ to delete everything, ensuring you don&#39;t get charged for idle machines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f9a1b26eefd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Staying Relevant in the Age of AI: My Journey Forward]]></title>
            <link>https://medium.com/@dmurairimukongya/staying-relevant-in-the-age-of-ai-my-journey-forward-df6b3a915566?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/df6b3a915566</guid>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[learning-journey]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Sat, 26 Jul 2025 09:50:36 GMT</pubDate>
            <atom:updated>2025-07-26T09:50:36.304Z</atom:updated>
            <content:encoded><![CDATA[<p>Lately, I’ve been thinking a lot about the future, especially with how fast AI is evolving. Every week, it seems like there’s a breakthrough, a new agent, or a new framework. It reminds me of how the internet once felt: exciting, uncertain, and full of potential.</p><p>One thing is clear — staying relevant matters more than ever. Not just for AI systems, but for us too. As engineers, we need to keep growing, adapting, and building meaningful things.</p><p>That’s why I’m committing to a focused learning journey, and I want to share it openly here.</p><p>Over the next 6 to 12 months, I’ll be deepening my skills across a few key areas:<br> <strong>Terraform, AWS, ASP.NET, FastAPI, Langchain, LangGraph, LangSmith, and AG-UI.</strong></p><p>Some of these I already work with, but I want a deeper, more structured understanding. This is part of my long-term vision — not just to stay current, but to contribute meaningfully to the AI and software engineering space.</p><p>I still hold on to my dream of doing research in Machine Learning and Cybersecurity. But first, I’m laying down the groundwork to grow technically, professionally, and strategically.</p><p>This post is the beginning. I’ll be sharing my progress, lessons, and reflections along the way — and I’d love to hear from others on the same path. If you’re working with any of these tools or thinking about a similar journey, let’s connect and learn together.</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df6b3a915566" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Curse of Knowledge (From My Perspective)]]></title>
            <link>https://medium.com/@dmurairimukongya/the-curse-of-knowledge-from-my-perspective-3b81fc29242c?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b81fc29242c</guid>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[introspection]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[personal-growth]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Tue, 08 Apr 2025 06:03:25 GMT</pubDate>
            <atom:updated>2025-04-08T06:03:25.090Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*le_0I_tffOepWvW1QW4nQQ.png" /><figcaption>The curse of knowledge</figcaption></figure><p>Ever wondered how our ears work? Unlike our eyes, which we can close or turn away when something is too bright or disturbing, our ears stay open. We don’t choose what we hear — sound just enters. In that way, the ear is the most vulnerable sense we have. It receives everything.</p><p>That’s how I’ve come to think of knowledge. Once it enters, once you understand, there’s no turning back. You can’t unhear or unsee something once it becomes clear. That’s the beauty of learning — but also its curse.</p><p>As a young person, knowledge felt like a superpower. I was learning quickly, understanding ideas others weren’t even thinking about. It gave me confidence — sometimes too much. I felt smarter. I felt ahead. And if I’m honest, sometimes I felt better than others. Not intentionally. It was just the quiet pride of knowing something others didn’t. That’s where the curse begins — the moment knowledge starts separating you from people instead of connecting you to them.</p><p>But there was another side too — one I didn’t expect.</p><h4>Pride — The First Sign of the Curse</h4><p>The more I learned, the more I believed I had the answers. Not just about school or books, but about life in general. I didn’t realize it right away, but I started to feel a little superior — like I had figured things out while others were still fumbling in the dark. It wasn’t arrogance in words, but in attitude. I’d quietly judge people for asking “simple” questions or for not seeing what seemed so obvious to me.</p><p>It took me a while to understand that pride disguised as intelligence is still pride — and it always puts distance between people.</p><h4>Underestimating Others — Forgetting There’s More Than One Way to Be Smart</h4><p>Knowledge can narrow your view. When you know a lot about something, it’s easy to think that “your thing” is the most important thing. I started to look at people who weren’t reading what I was reading or thinking like I was thinking as if they were missing something.</p><p>But people are good at all kinds of things I wasn’t paying attention to — storytelling, listening, building, caring, leading. I was so deep into my own field that I forgot there are entire worlds outside it. Knowledge made me sharp, but it also made me blind to the value of other paths.</p><h4>Manipulation — Knowing Enough to Twist Things</h4><p>Once I became aware of how people think — what convinces them, what confuses them, how to phrase things to get a certain reaction — I realized I could influence situations. I could use words to shift conversations, tilt outcomes, even win arguments I didn’t fully believe in. It became a tool. But sometimes, that tool turned into a weapon.</p><p>The curse here is subtle: when knowledge teaches you how to control, it also tempts you to stop being honest. You start thinking about being right instead of being true. That’s a dangerous trade-off.</p><h4>Not Fitting In — When Knowing More Feels Like Being Alone</h4><p>One of the most unexpected effects of learning was how hard it became to fit in. Not because people excluded me, but because I couldn’t relate in the same way anymore. Conversations started to feel shallow. I’d hear things differently, question things others accepted easily. Sometimes, I didn’t know how to “turn it off” and just be.</p><p>There were moments when I felt like I was in the room, but not really with the people in it. I saw too much. Thought too much. And sometimes, just wished I could go back to not knowing.</p><h4>When Ignorance Was Protection</h4><p>There was a time someone was sharing a painful story in a foreign language— and I didn’t understand most of it. The real meaning passed over me.</p><p>Later, when I heard that story again, I learned the truth about that story — fully understood — and I was stunned. The horror, the sadness, the weight of what they had gone through hit me all at once. And I realized: back then, not knowing had protected me. If I had understood, I would’ve been pulled into their pain. Knowledge would’ve made me carry something I wasn’t ready for.</p><p>That moment showed me that knowledge doesn’t always come as light. Sometimes, it comes as weight.</p><h4>Conclusion — Learning to Carry It Differently</h4><p>I’m not against knowledge. I still love to learn. I still believe in thinking deeply and growing intellectually. But I now understand that knowledge alone doesn’t make you better. It can inflate you, isolate you, even twist you — unless you pair it with humility, compassion, and perspective.</p><p>Knowledge should help us connect, not divide. It should help us understand others, not underestimate them. And most of all, it should remind us that wisdom isn’t about how much you know — it’s about how lightly you carry it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b81fc29242c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub Challenge [Day 3 — Part-1] — Version control with Git]]></title>
            <link>https://medium.com/@dmurairimukongya/github-challenge-day-3-part-1-version-control-with-git-4b4218b48095?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b4218b48095</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Mon, 05 Dec 2022 11:09:31 GMT</pubDate>
            <atom:updated>2022-12-05T11:09:31.677Z</atom:updated>
            <content:encoded><![CDATA[<h3>GitHub Challenge [Day 3 — Part-1] — Version control with Git</h3><h3>Ten days GitHub challenge: GDSC ALU Rwanda</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*bQfisaJEnTiUMUm6FCV8eQ.png" /></figure><p>Welcome to day 3 of the Git/GitHub challenge. We will now work with Git to manage versions of our projects.</p><h4>Prerequisites</h4><p>To complete this challenge, you need a basic understanding of what Git is, and you need to know some basic shell commands. We have covered that in our last challenge, and you can review these two articles regarding Git and Shell commands.</p><ul><li><a href="https://medium.com/@dmurairimukongya/github-challenge-day-1-part-2-introduction-to-version-control-4b18d478f6e5">GitHub Challenge [Day 1 — Part-2] — Introduction to Version Control</a></li><li><a href="https://medium.com/@dmurairimukongya/github-challenge-day-2-basic-shell-commands-a92418a0ff77">GitHub Challenge [Day 2] — Basic shell commands</a></li></ul><h4>The goal of this challenge</h4><p>This challenge aims to dive deeper into using Git for version control on any project. At the end of this challenge, you should be able to have a local Git repository.</p><h4>How to work with Git: Initialization</h4><p>To start working with Git on any project, we need to initialize Git in your project. Remember the folder we created in our last challenge? Head over to your Document folder and open the <strong><em>myPersonalBlog </em></strong>folder. Let&#39;s start by checking what is inside the folder. Open your terminal or Hyper. Use the <strong><em>cd </em></strong>command to navigate to your folder <strong><em>myPersonalBlog </em></strong>and run this command:</p><pre>ls -a</pre><p>The command above will show you everything you have inside the folder. You might get an outcome with a &quot;. ..&quot;. or nothing.</p><p>Let&#39;s now initialize Git in our project. On your terminal (make sure you are inside <strong><em>myPersonalBlog </em></strong>folder) and run:</p><pre>git init</pre><p>This command will initialize your folder as a local repository. If you try to list all your hidden files and directory in that folder, you will see a new folder <strong><em>.git</em></strong> created.</p><h4>What is the .git folder?</h4><p><strong><em>.git</em></strong> folder is a directory created when you first initialized your project. This folder contains almost all your project&#39;s information and its previous versions. If you want to back up your project later, you can create a copy of the <strong><em>.git </em></strong>folder, and you will get all changes made up to that point. In the upcoming days, we will explore more regarding the <strong><em>.git </em></strong>folder and how you can use it to back up your project.</p><p>If <strong><em>.git </em></strong>is the folder that stores almost all information regarding our project, we can use it somehow to uninitialized our Git repository. This has been so handy to me lots of times.</p><p>You can customize the path of the <strong><em>.git </em></strong>folder for your local repository. Cool right? We will explore this as well.</p><h4>Challenge of the day</h4><p>Your challenge of the day is to create a repository and then delete the <strong><em>.git</em></strong> folder to make your repository a non-git repository. Use <strong><em>git status</em></strong> to check whether your project is a git repository. If your project isn&#39;t a git repository, you will see a message &quot;<strong><em>fatal: not a git repository (or any of the parent directories): .git&quot;; </em></strong>otherwise, you will see the current status of your repository.</p><p><strong>Warning: </strong>This process is irreversible, and you won&#39;t ever get back your previous changes unless you create a duplicate of your <strong>.git </strong>folder and store it somewhere.</p><p><strong>Hint</strong>: You will need to use a shell command <strong><em>rm. </em></strong>Explore options you can use to delete a folder and files inside of it.</p><p>This is all for part 1: Next, we will explore how to start tracking changes made on your project. See you next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b4218b48095" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub Challenge [Day 2] — Basic shell commands]]></title>
            <link>https://medium.com/@dmurairimukongya/github-challenge-day-2-basic-shell-commands-a92418a0ff77?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a92418a0ff77</guid>
            <category><![CDATA[shell]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[bash]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Thu, 01 Dec 2022 10:32:58 GMT</pubDate>
            <atom:updated>2022-12-01T10:32:58.429Z</atom:updated>
            <content:encoded><![CDATA[<h3>GitHub Challenge [Day 2] — Basic shell commands</h3><h3>Ten days GitHub challenge: GDSC ALU Rwanda</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*bQfisaJEnTiUMUm6FCV8eQ.png" /></figure><p>Sometimes developers wish they could write code that can directly execute without going through a Graphical user interface… <br>The good news is this is possible through the help of the command line interface. The great news is you can write your command line interface.</p><h4>Goal of this challenge</h4><p>At the end of this challenge, you should be able to explain how most basic and common shell commands work. <br>A few of them are <strong><em>pwd, cd, ls, mkdir</em></strong><em>, …</em></p><p>We will see how useful they are in the upcoming days when we want to track specific files and perform other actions.</p><h4>Your challenge</h4><p>Your challenge is to create a folder named <strong><em>myPersonalBlog</em></strong><em> </em>and create a file called <strong><em>README.md </em></strong>inside of the folder<strong><em>. </em></strong>Sounds simple, right? I have a challenging one, create a folder named <strong><em>gpt-3 </em></strong>inside the folder Documents/gdsc/open-source folder from your home directory with a single line of code. Share the result with someone else.</p><p><strong>Your Instructions:</strong></p><ol><li>The gdsc folder doesn&#39;t exist on your computer. It would be best if you did not create it for you to complete this challenge.</li><li>You should write a single line of code that will create the gpt-3 folder inside the Documents/gdsc/open-source folder, even if they do not exist.</li></ol><p>Hints: check the manual page for mkdir. (man mkdir)</p><p><strong>How to complete the challenge</strong></p><p>Head over to this article that talks about shell commands: <a href="https://medium.com/@kayonbrian/understanding-shell-and-why-you-must-use-it-672693ec5cb6">https://medium.com/@kayonbrian/understanding-shell-and-why-you-must-use-it-672693ec5cb6</a></p><p>Share your result with your colleague developers once you are done.</p><p><strong><em>See you on Day 3</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a92418a0ff77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub Challenge [Day 1 — Part-3] — Introduction to Git]]></title>
            <link>https://medium.com/@dmurairimukongya/github-challenge-day-1-part-3-introduction-to-git-25156d83f14e?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/25156d83f14e</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[sofware-engineering]]></category>
            <category><![CDATA[challenge]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Thu, 01 Dec 2022 10:23:41 GMT</pubDate>
            <atom:updated>2022-12-01T10:23:41.971Z</atom:updated>
            <content:encoded><![CDATA[<h3>GitHub Challenge [Day 1 — Part-3] — Introduction to Git</h3><h3>Ten days GitHub challenge: GDSC ALU Rwanda</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*bQfisaJEnTiUMUm6FCV8eQ.png" /></figure><h4>What is Git</h4><p>Git is a free, open-source project and the most popular version control system used by developers when I wrote this article. It differs from many other version control by how it manages changes made on a file.</p><p>We will look at how Git manages changes made on a file in the upcoming days.</p><h4>How to install Git</h4><ol><li>For MacOs: Follow the installation guideline <a href="https://git-scm.com/download/mac">https://git-scm.com/download/mac</a> or Run the command below on your terminal to install git</li></ol><pre>brew install git</pre><p>2. For Windows Os: Find the installation Guideline here<a href="https://git-scm.com/download/win"> </a><a href="https://git-scm.com/download/win">https://git-scm.com/download/win</a></p><p>3. For Linux Os: Find the installation Guideline here <a href="https://git-scm.com/download/linux">https://git-scm.com/download/linux</a></p><h4><strong>How to interact with Git</strong></h4><p>For Linux and MacOS users, you can use your Terminal or Command-line Tool to interact with Git directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vlSkhOQRmSRRcgXdd1tGEw.png" /></figure><p>Terminal and Command-line are software that receives input commands from the user and executes them. Linux shell commands are very popular among developers.</p><p>For Windows users, you can use PowerShell, which has different commands than one executed in a Linux and macOS command prompt.</p><p>For this challenge, we will use Linux commands on all Os. Windows users are urged to use Hyper, a Command Prompt you can configure to write most Linux commands.</p><p>Download Hyper: <a href="https://hyper.is/">https://hyper.is/</a><br>Configure Hyper: <a href="https://youtu.be/EqaEPL9ZKGA">https://youtu.be/EqaEPL9ZKGA</a><br>Configuration file: <a href="https://gist.github.com/coco-napky/404220405435b3d0373e37ec43e54a23">https://gist.github.com/coco-napky/404220405435b3d0373e37ec43e54a23</a></p><h4><strong>Configure Git</strong></h4><ol><li><strong>Configure user details</strong></li></ol><p>On your Terminal or Hyper, run this command. Replace fields with your details.</p><pre>git config --global user.name &quot;your_name&quot;<br>git config --global user.email your_email_address</pre><p>2. <strong>Configure Git code editor: </strong>We will set up visual studio code as the default code editor that Git will use.</p><p><a href="https://stackoverflow.com/questions/30024353/how-to-use-visual-studio-code-as-default-editor-for-git#:~:text=1033-,In,-the%20most%20recent">How to use Visual Studio Code as default editor for git?</a></p><p>Visualizing how to add visual studio code as your Git editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PU1IFfawR6DrBeujTZVRw.png" /><figcaption>Open c<em>ommand Palette and type Shell command: install ‘code’ command in PATH</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1i33wyLHiZa7YDKCjCsChg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7QfkSt2rOi-2aJhiWsmOSg.png" /><figcaption>Accept the installation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l58ZL_a6Ok1Uhz1K2SdDFA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CfyEuA6mZ7_9uc7L62Sbpg.png" /><figcaption>Test the installation</figcaption></figure><p>All you need from now is to set visual studio code as your editor for Git:</p><pre>git config --global core.editor &quot;code --wait&quot;</pre><p>Test:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mgIfY_Ivg91EzHrognxJIg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7fWXP1Dj9BB5Ne949Ma-_Q.png" /><figcaption>Your output</figcaption></figure><h4>Your Challenge</h4><p>Your challenge is ensuring Git is installed and working on your computer. To confirm if Git is installed, you need to run the command below.</p><pre>git --version</pre><p>Your output should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DC8f-Ts2O9S_FNe_DRQ_cg.png" /></figure><p>Congratulations, You have completed Day 1 of our 10 Days GitHub challenge. Day 1 — Part 1 was an introduction to the challenge, and Day 1 — Part 2 was an introduction to version control. Please find links to the previous challenge Below.</p><p>Day — 1 — Part 1: <a href="https://medium.com/@dmurairimukongya/github-challenge-day-1-part-1-welcome-to-10-days-of-git-github-challenge-7b2c9f139014">https://medium.com/@dmurairimukongya/github-challenge-day-1-part-1-welcome-to-10-days-of-git-github-challenge-7b2c9f139014</a></p><p>Day — 1 — Part 2: <a href="https://medium.com/@dmurairimukongya/github-challenge-day-1-part-2-introduction-to-version-control-4b18d478f6e5">https://medium.com/@dmurairimukongya/github-challenge-day-1-part-2-introduction-to-version-control-4b18d478f6e5</a></p><p><strong><em>See you on Day 2, where we will share helpful shell commands.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25156d83f14e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub Challenge [Day 1 — Part-2] — Introduction to Version Control]]></title>
            <link>https://medium.com/@dmurairimukongya/github-challenge-day-1-part-2-introduction-to-version-control-4b18d478f6e5?source=rss-551888a68d1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b18d478f6e5</guid>
            <category><![CDATA[collaboration-tools]]></category>
            <category><![CDATA[gi̇thub]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[version-control-system]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Dmurairimukongya]]></dc:creator>
            <pubDate>Wed, 30 Nov 2022 08:56:38 GMT</pubDate>
            <atom:updated>2022-11-30T08:56:38.654Z</atom:updated>
            <content:encoded><![CDATA[<h3>GitHub Challenge [Day 1 — Part-2] — Introduction to Version Control</h3><h4>Ten Days of Git/GitHub challenge: GDSC ALU Rwanda</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*bQfisaJEnTiUMUm6FCV8eQ.png" /></figure><h4>About Version control</h4><p>Version control, also known as source control, is the process of capturing, managing, and tracking different versions of a Document, project, file, etc., over time so that you can recall a specific version later.</p><p>If you are a software engineer, you will want to keep different versions of your project and revert to one of them if necessary.</p><p>The concept of version control is not only applicable to software engineers. People who use Google docs can check their file history, look at changes made over time, and revert to it when needed. This is a typical example of version control.</p><h4>Benefits of version control</h4><p>Version control comes with many benefits; however, we will group them and list only five of them.</p><ol><li><strong>Automation</strong>: Efficiently keep track of all changes and assign unique identifiers to each change on the project.</li><li><strong>Collaboration</strong>: Enables developers to contribute to the same project and offer peer review.</li><li><strong>Identity</strong>: Record the identity of the user making changes.</li><li><strong>Review History</strong>: Records all changes made in a project over time.</li><li><strong>Rollback</strong>: Ability to revert to one of the versions of the project.</li></ol><h4>Types of version control</h4><p>The version control system can be categorized into three types depending on where the history is managed.</p><ol><li><strong>Local version control system</strong>: Local version control is as simple as a database keeping track of all changes you make with time. The database is stored on a local machine.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*--uoYaRJSmJMVtbJIWnxMg.png" /></figure><ol><li><strong>Centralized version control system (C.V.C.S.)</strong>: In a C.V.C.S., the entire version history is stored in a shared server. In this approach, client computers must push their changes to the server when needed.</li><li><strong>Decentralized version control system (D.C.V.S.): </strong>Similar to C.V.C.S., clients can push their changes to the server when needed. However, the client possesses the entire version history. A D.C.V.S. version history is stored in a shared server and the client side.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kk2-9Xtxup08AN1fQUUiCw.png" /></figure><h4>Example of version control Tool and System</h4><ol><li>Git (Decentralized)</li><li>Mercurial (Decentralized)</li><li>A.W.S. Code Commit</li><li>Subversion (Centralized)</li></ol><h4>Explore more about version control</h4><p>You can learn more about version control here: <a href="https://www.geeksforgeeks.org/version-control-systems/">https://www.geeksforgeeks.org/version-control-systems/</a>.</p><p><strong><em>Next, we will introduce and Explore Git. See you.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b18d478f6e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>