<?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 Edgar Nyabongo on Medium]]></title>
        <description><![CDATA[Stories by Edgar Nyabongo on Medium]]></description>
        <link>https://medium.com/@nyabongoedgar?source=rss-99bea5ae8ec7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ihabtycyFqVPKZwX</url>
            <title>Stories by Edgar Nyabongo on Medium</title>
            <link>https://medium.com/@nyabongoedgar?source=rss-99bea5ae8ec7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:07:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nyabongoedgar/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[The seeker]]></title>
            <link>https://medium.com/@nyabongoedgar/the-seeker-cdd9002ffdd6?source=rss-99bea5ae8ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdd9002ffdd6</guid>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[supernatural]]></category>
            <dc:creator><![CDATA[Edgar Nyabongo]]></dc:creator>
            <pubDate>Mon, 12 Jun 2023 22:28:28 GMT</pubDate>
            <atom:updated>2023-06-12T22:30:41.242Z</atom:updated>
            <content:encoded><![CDATA[<p>In the depths of our existence, we often find ourselves immersed in a profound sense of longing. We yearn for a clarity that seems just beyond our grasp, unsure of the very nature of our disorientation. It is as though we wander through the vast expanse of a mysterious forest, where the once illuminating daylight has transformed into an enigmatic darkness overhead.</p><p>Yet, amidst this bewildering labyrinth, there exists a flickering flame of knowledge within us. Deep in our core, we are aware that a path to truth resides, awaiting our discovery. This path holds the potential to provide answers to our burning questions, to unravel the mysteries that entangle our minds. However, it remains concealed within the intricate folds of the forest, obscured from our immediate perception.</p><p>We find ourselves caught in a paradoxical realm—a realm where the possible and the impossible intermingle, where the boundaries of existence are blurred and elusive. It is a realm bereft of balance, where the extremes of what can be imagined and what can be achieved converge. Yet, even within this precarious state, we are not completely lost. Though the forest may confound and bewilder us, we are not entirely severed from the essence of truth that resides within us.</p><p>To navigate this complex landscape, we must embark on a journey of self-discovery. We must seek to understand the depths of our own being, to delve into the recesses of our consciousness. By embarking on this inner quest, we can transcend the limitations imposed by the forest and venture beyond its borders. Another voice, echoing from within, whispers to us, beckoning us to explore further.</p><p>But as we tread along this path, we become aware of the elusive nature of time. We recognize that time holds a key, a key that unlocks the gate to seeing beyond the forest. It is through the profound comprehension of time&#39;s fluidity and essence that we can begin to perceive a reality beyond the forest&#39;s confines. We must strive to grasp the true nature of time, to unlock its secrets, and in doing so, we will unravel the mysteries that lie beyond the immediate realm of our perception.</p><p>In the grand tapestry of existence, our journey is one of continuous seeking, of perpetual exploration. We are destined to encounter the veils of uncertainty, to traverse the forest&#39;s enigmatic depths. Yet, armed with the knowledge that lies within us, and fueled by our unyielding curiosity, we can illuminate the darkness, unravel the impossible, and uncover the ultimate truth that lies beyond the forest.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdd9002ffdd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Strategy Design Pattern]]></title>
            <link>https://medium.com/@nyabongoedgar/strategy-design-pattern-71e0f9fb9454?source=rss-99bea5ae8ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/71e0f9fb9454</guid>
            <category><![CDATA[design-patterns]]></category>
            <dc:creator><![CDATA[Edgar Nyabongo]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 14:39:57 GMT</pubDate>
            <atom:updated>2023-04-14T14:39:57.689Z</atom:updated>
            <content:encoded><![CDATA[<p>Strategy Design Pattern</p><p>The Strategy Design Pattern is a powerful tool for designing flexible and reusable software systems. At its core, it involves creating a set of interchangeable algorithms, each of which is encapsulated in a separate class. These classes can then be used interchangeably in different parts of the system, providing a high degree of flexibility and modularity.</p><p>One of the key benefits of the Strategy pattern is that it allows you to encapsulate complex algorithms and processes in a way that is easy to understand and modify. By isolating each algorithm in its own class, you can focus on the details of that algorithm without being distracted by the broader context in which it is used.</p><p>Another advantage of the Strategy pattern is that it makes it easy to add new algorithms to the system. Because each algorithm is encapsulated in its own class, you can simply create a new class that implements the same interface as the other algorithms, and then swap out the old algorithm for the new one as needed.</p><p>In order to use the Strategy pattern effectively, it’s important to carefully define the interface that each algorithm will implement. This interface should define the inputs and outputs of the algorithm, as well as any other relevant parameters or configuration options.</p><p>Once the interface is defined, you can start implementing each algorithm as a separate class. Each class should implement the same interface, but provide a different implementation of the algorithm.</p><p>Finally, you can use these classes interchangeably in different parts of the system, swapping them out as needed to achieve the desired behavior. This makes it easy to experiment with different algorithms and find the best one for your specific use case.</p><p>Overall, the Strategy pattern is a powerful tool for designing flexible and reusable software systems. By encapsulating complex algorithms in separate classes, you can achieve a high degree of modularity and flexibility, while also making it easy to add new algorithms to the system as needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71e0f9fb9454" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript]]></title>
            <link>https://medium.com/@nyabongoedgar/javascript-22f30a4aac54?source=rss-99bea5ae8ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/22f30a4aac54</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Edgar Nyabongo]]></dc:creator>
            <pubDate>Thu, 21 Nov 2019 09:43:47 GMT</pubDate>
            <atom:updated>2019-11-21T11:44:59.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Javascript code snippet" src="https://cdn-images-1.medium.com/max/1024/1*JlR8gYS6WCLtv2Jzalh8SQ.png" /></figure><p>What is JavaScript?</p><p>JavaScript was introduced in 1995 as a way to add programs to web pages in the Netscape Navigator browser. The language has since been adopted by all other major graphical web browsers. It has made modern web applications possible applications with which you can interact directly without doing a page reload for every action.</p><p>JavaScript is an interesting language and in this article, you will write your first javascript code and view it in the browser.</p><p>Some few things to note about JavaScript</p><ul><li>JavaScript files have the extension “.js”, but to see it in a browser, you should embed in the script tag in an HTML document with an extension of “.html”.</li><li>Basic syntax; declare variables with either <strong>const</strong> or <strong>let</strong> keyword, const meaning that a variable can only be assigned one value and it never changes. To create a function, use the keyword <strong>function</strong></li></ul><p>We are going to write a JavaScript function that alerts a message in the browser, let us write some code 😀!!!!</p><ol><li>Get a code editor; this is where you are going to write your code. Some examples of editors include Visual studio which you can download from <a href="https://visualstudio.microsoft.com/">https://visualstudio.microsoft.com/</a>. However, you could even use notepad to start coding now if you are on Microsoft Windows or any other text editor on Mac OS or Ubuntu as long as you can save the file with the extension of “.js”.</li><li>Create a folder and name it anything, like “myJS”, add a file and name it “<em>index.js </em>”and another file named “<em>index.html</em>”, <strong>The reason why we have an “<em>index.html</em>” file is because we are going to run our javascript code in the browser.</strong></li><li>Open our <em>“index.js” </em>and add this code and save.</li></ol><p>(function alertMessage(){window.alert(&quot;Hello World&quot;)})()</p><p><em>We create a function “alertMessage” and automatically call it. It is an immediately invoked function, a function wrapped in brackets and then called with “()”.</em></p><ol><li>Inside index.html type the following code</li></ol><p>&lt;html&gt;&lt;head&gt;</p><p>&lt;script src=&quot;index.js&quot;&gt;&lt;/script&gt;</p><p>&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;</p><p>Go to wherever you saved index.html and click on it. The output in the browser will look like this;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*5AyH9nWeAd9f0Z_djuTKHw.png" /></figure><p>The reason why we had to create an index.html is that JavaScript needs an environment in which it can be understood and a browser is one of those environments.</p><p>Before JavaScript could only be run in a browser but today, it is possible to run it on in a browser-less environment with a program called “node js”. You can get it <a href="https://nodejs.org/en/">https://nodejs.org/en/</a>. With node, you can create .js files and run them with node filename.js</p><p>You can find the code that has been written in this article on Github at <a href="https://github.com/nyabongoedgar/JSArticles.git">https://github.com/nyabongoedgar/JSArticles.git</a></p><p>We shall look at more concepts in JavaScript in the subsequent articles that will follow.</p><p>If you need you need some clarity or have a suggestion, please leave it in the comments section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22f30a4aac54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taming Flask Blueprints]]></title>
            <link>https://medium.com/@nyabongoedgar/taming-flask-blueprints-af769d84bce4?source=rss-99bea5ae8ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/af769d84bce4</guid>
            <category><![CDATA[blueprint]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[flask]]></category>
            <dc:creator><![CDATA[Edgar Nyabongo]]></dc:creator>
            <pubDate>Mon, 22 Oct 2018 12:44:58 GMT</pubDate>
            <atom:updated>2018-10-22T12:44:58.822Z</atom:updated>
            <content:encoded><![CDATA[<p>My code organization was perfect and flawless, I thought !, until I discovered a concept called blueprints. At first glance, I thought, “that sounds really hard !” So my second thought was, “that may not work for me”; but right after that, my growth mindset kicked in, and the saying flashed in my mind, “no pain no gain !”. I knew I had to learn using flask blueprints if I wanted to organize my code better and it being a fact that code readability is one of the main pillars of writing computer code, this was a gold mine that I had to dig up !.</p><p>I started with browsing on google search engine what blueprints were and <a href="http://flask.pocoo.org/docs/1.0/blueprints/">http://flask.pocoo.org/docs/1.0/blueprints/</a> gave me a beautiful description that read; “blueprints is a concept<em> </em>for making application components and supporting common patterns within an application or across applications”. As I read the blueprints documentation, I discovered some of the awesome benefits it offered such as;</p><ul><li>Using blueprints would enable me to group related components of my application which made it easy for me to manage my application.</li><li>Debugging my applications would become easier since debugging would be done on a single component that had a specific error and not the whole application.</li><li>Registering a blueprint multiple times on an application with different URL rules with custom URL prefix.</li><li>Providing template filters, static files, templates, and other utilities through blueprints.</li><li>I could instantiate an application object, initialize several extensions, and register a collection of blueprints.</li></ul><p>After a few youtube tutorials about flask blueprints and some documentation reading, I finally understood how to use blueprints perfectly in my projects and I appreciate the power it comes with and I would advise every programmer who appreciates modularizing to prioritize the use of blueprints in their projects.</p><p>Where there is a growth mindset, there is “PROGRESS !”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SG9XCn3MYevnMcRXjvN8gw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af769d84bce4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>