<?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 kamande mwangi on Medium]]></title>
        <description><![CDATA[Stories by kamande mwangi on Medium]]></description>
        <link>https://medium.com/@kamandemwangi?source=rss-2f166748ae36------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FaDHXWZ1QNz9RKEcb-c3qg.png</url>
            <title>Stories by kamande mwangi on Medium</title>
            <link>https://medium.com/@kamandemwangi?source=rss-2f166748ae36------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:45:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kamandemwangi/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[Tips for Your First Conversion
As you begin tracking global exchange rates, keep these simple…]]></title>
            <link>https://kamandemwangi.medium.com/tips-for-your-first-conversion-as-you-begin-tracking-global-exchange-rates-keep-these-simple-d9cdf18ac67e?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9cdf18ac67e</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 08:57:26 GMT</pubDate>
            <atom:updated>2026-09-29T08:57:26.569Z</atom:updated>
            <content:encoded><![CDATA[<p>Tips for Your First Conversion<br>As you begin tracking global exchange rates, keep these simple practices in mind:<br>1. Always double-check the baseline currency: Make sure you know which currency is being converted (the base) and which one you are converting into (the quote). Swapping them by mistake can lead to completely inaccurate budgeting.<br>2. Account for local banking fees: While a personal currency converter app gives you the raw, accurate market exchange rate, your credit card provider or local bank may charge a small international transaction fee. Always check your bank’s policies to plan your final expenses accurately.<br>3. Download your tools ahead of time: If you are boarding a flight or heading into an area with spotty cellular coverage, open your currency app while still connected to Wi-Fi to pull the freshest rates before going offline.<br>Managing international money does not require a degree in finance. By utilizing a dedicated, lightweight converter and keeping tabs on the basics, you can shop, travel, and explore the global marketplace with absolute confidence.</p><p>https://www.amazon.in/John-Kamande-Currency-Converter/dp/B0CFLRFFHC</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9cdf18ac67e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating Global Money: A Beginner's Guide to Seamless Currency Conversion]]></title>
            <link>https://kamandemwangi.medium.com/navigating-global-money-a-beginners-guide-to-seamless-currency-conversion-c30aaf8a19d4?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/c30aaf8a19d4</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 08:50:37 GMT</pubDate>
            <atom:updated>2026-09-29T08:50:37.963Z</atom:updated>
            <content:encoded><![CDATA[<p>Navigating Global Money: A Beginner&#39;s Guide to Seamless Currency Conversion</p><p>In an era where the world feels smaller than ever, interacting with different currencies has become a daily reality. Whether you are a frequent traveler, an online shopper browsing global marketplaces, a freelancer receiving international payments, or just curious about global economics, keeping track of changing money values across borders is a fundamental skill.</p><p>For beginners, the world of foreign exchange can seem intimidating. Rows of numbers, shifting decimals, and constant market movements can make simple math feel complicated. However, managing your money internationally does not have to be difficult. With the right tools and a basic understanding of how exchange rates work, anyone can master currency conversion.</p><p>https://www.amazon.in/John-Kamande-Currency-Converter/dp/B0CFLRFFHC</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c30aaf8a19d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Observer]]></title>
            <link>https://kamandemwangi.medium.com/observer-311c9b372aec?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/311c9b372aec</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 06:47:09 GMT</pubDate>
            <atom:updated>2026-09-21T06:47:09.364Z</atom:updated>
            <content:encoded><![CDATA[<p>When you release new videos on YouTube, update your profile info on Facebook or share a photo on Instagram, all of this information is automatically sent to your subscribers and friends. It means that an observable state is changed and the observers are notified. If you subscribe to a mailing list, you will get a message about new goods and stocks from the observable domain.<br>Observer<br>The observer pattern is related to behavioral patterns. It is used to define the publisher-subscriber dependencies and the subscription mechanism so that when one object changes its state, all its dependents are notified and updated automatically.<br>The observer notifies all the interested parties about an event that has occurred or a change in its state. In many cases, the observer pattern is used to build low coupling – reducing the coherence of a class with its dependencies by destroying the connection of the initiator of some event with its handlers.<br>The observer pattern has the following components :<br>Observable<br>Concrete Observable<br>Observer<br>Concrete Observer<br>These four components carry out different functions:<br>Observable subscribes observers, removes them, and notifies them about the changes;<br>Concrete Observable implements Observable operations and describes some states;<br>Observer subscribes to Observable and listens to its notification;<br>Concrete Observer implements Observer interface and reacts on updating (Observable notification).<br>The observer pattern in JDK is available in java.util.Observer and java.util.EventListener.<br>Practice example<br>YouTube is a good demonstration of the Observer pattern. We have a YouTube channel (Observable) and its subscribers (Observers). Every subscriber will be notified when a new video is released.<br>The Observable interface describes the operation to add, remove and notify the observers:<br>public interface Observable {<br> void addObserver(Observer observer);<br> void removeObserver(Observer observer);<br> void notifyObservers();<br>}<br>YouTubeChannel is the concrete implementation of the Observable interface with a list of observers. Generic &lt;Observer&gt; provides low coupling between objects:<br>public class YoutubeChannel implements Observable {<br> private ArrayList&lt;Observer&gt; observers = new ArrayList&lt;&gt;();</p><p>@Override<br> public void addObserver(Observer observer) {<br> observers.add(observer);<br> }</p><p>@Override<br> public void removeObserver(Observer observer) {<br> observers.remove(observer);<br> }</p><p>public void releaseNewVideo(String video) {<br> System.out.println(&quot;Release new video : &quot; + video);<br> notifyObservers();<br> }</p><p>@Override<br> public void notifyObservers() {<br> for(Observer observer: observers) {<br> observer.update();<br> }<br> }<br>}<br>Observer interface updates action when Observable makes notifications to its observers:<br>public interface Observer {<br> void update(); <br>}<br>Youtube Subscriber (Concrete Observer) will get a notification about a new video on the channel:<br>public class YoutubeSubscriber implements Observer {</p><p>private Observable observable;<br> <br> public YoutubeSubscriber(Observable observable) {<br> this.observable = observable;<br> }</p><p>@Override<br> public void update() {<br> System.out.println(&quot;New video on channel!&quot;);<br> } <br>}</p><p>Here is a demo of the Observer pattern:<br>public class Main {<br> public static void main(String[] args) {<br> YoutubeChannel youtubeChannel = new YoutubeChannel();<br> YoutubeSubscriber subscriberA = new YoutubeSubscriber(youtubeChannel);<br> YoutubeSubscriber subscriberB = new YoutubeSubscriber(youtubeChannel);<br> YoutubeSubscriber subscriberC = new YoutubeSubscriber(youtubeChannel);<br> youtubeChannel.addObserver(subscriberA);<br> youtubeChannel.addObserver(subscriberB);<br> youtubeChannel.addObserver(subscriberC);<br> youtubeChannel.releaseNewVideo(&quot;Design Patterns : Factory Method&quot;);<br> youtubeChannel.releaseNewVideo(&quot;Design Patterns : Proxy&quot;);<br> youtubeChannel.releaseNewVideo(&quot;Design Patterns : Visitor&quot;);<br> }<br>}<br>Conclusion<br>The observer pattern is applicable in the following cases:<br>When changing one component influences other objects;<br>When subscriber-publisher dependencies are present;<br>When you need to have low coupling between the components.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=311c9b372aec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Command]]></title>
            <link>https://kamandemwangi.medium.com/command-d6b97756375a?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6b97756375a</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 06:13:57 GMT</pubDate>
            <atom:updated>2026-09-21T06:13:58.946Z</atom:updated>
            <content:encoded><![CDATA[<p>You have probably heard of behavioral patterns by now. These are the type of patterns concerned with the interaction of objects. While there are about 12 design patterns that belong to behavioral patterns, the command pattern has a special place among them as it&#39;s the most commonly used. The purpose of the command pattern is to decouple the logic between a command and its consumers.</p><p>In a nutshell, a command pattern encapsulates all the data related to a command in one object. Usually, this data consists of a set of methods, their parameters, and one or more objects these methods belong to. We call this object Receiver. So, an important advantage of decoupling is that if you have to change any of these values, you only have to change one class.</p><p>In its classic version, implementing the command pattern involves five steps. Let&#39;s see what they are.</p><p>The classic version</p><p>The classic version of the command pattern has the following elements:</p><p>The Command interface usually declares just a single method for executing the command.</p><p>The ConcreteCommand is an operation with parameters that pass the call to the receiver; in the classic approach, a command only invokes one or more methods of a Receiver rather than performing business logic.</p><p>The Receiver performs the action.</p><p>The Invoker asks the command to carry out the request.</p><p>The Client creates the ConcreteCommand object and sets the Receiver.</p><p>Note that the Command interface is not necessarily an interface in terms of language. It can be a simple or an abstract class. The main point is that it represents an abstract command that is inherited by concrete commands.</p><p>The following diagram illustrates all the elements of the pattern and how they are related.</p><p>The Client creates an object of Receiver and ConcreteCommand, then sets up the Invoker to execute the command. Each type of ConcreteCommand (CreateFileCommand, RemoveFileCommand) has a set of fields which represent the parameters. A command calls one or more methods of Receiver to execute concrete actions and change the state of the application.</p><p>Now let&#39;s have a look at a real-world example to understand these concepts better.</p><p>Example of the command pattern</p><p>Suppose you are going to build a home automation system where you need to turn the light on and off. Here we have two commands which are quite similar. So first, we will create the Command interface. It will have only one method – execute().</p><p>public interface Command {</p><p>void execute();</p><p>}</p><p>Then we will create two classes that will implement the Command interface. These concrete classes encapsulate data needed for the command. So you have to create concrete classes for each command. We will be creating two concrete classes as our application has two commands, LightOn and LightOff.</p><p>First. LightOnCommand will implement the Command interface.</p><p>public class LightOnCommand implements Command {</p><p>private Light light;</p><p>public LightOnCommand(Light light) {</p><p>this.light = light;</p><p>}</p><p>@Override</p><p>public void execute() {</p><p>light.lightOn();</p><p>}</p><p>}</p><p>Next, LightOffCommand will implement the Command interface. LightOffCommand basically has the same code as LightOnCommand.</p><p>public class LightOffCommand implements Command {</p><p>private Light light;</p><p>public LightOffCommand(Light light) {</p><p>this.light = light;</p><p>}</p><p>@Override</p><p>public void execute() {</p><p>light.lightOff();</p><p>}</p><p>}</p><p>We haven&#39;t created the Light class yet, which is our Receiver. We&#39;ll do that next:</p><p>public class Light {</p><p>public void lightOn() {</p><p>System.out.println(&quot;Turn on Light&quot;);</p><p>}</p><p>public void lightOff() {</p><p>System.out.println(&quot;Turn off Light&quot;);</p><p>}</p><p>}</p><p>Sometimes learning design patterns with simple examples is difficult because these examples don&#39;t represent the complexity of real-world applications. For example, someone may ask, why create a separate Light class when we only need two methods and both of them can be implemented on the command classes itself? Well, in a real-world application, the Light class can be more complex with more fields and methods command classes have nothing to do with.</p><p>Next, we need to create the Invoker class. The invoker class decides how the commands are executed. For example, Invoker can keep a list of commands that need to be executed in a specific order. Please note that Invoker is just a default term we use to call the class that decides how commands are executed. You can name it any way you like, depending on the application you&#39;re developing.</p><p>We will name the invoker class Controller here.</p><p>public class Controller {</p><p>private Command command;</p><p>public void setCommand(Command command) {</p><p>this.command = command;</p><p>}</p><p>public void executeCommand() {</p><p>command.execute();</p><p>}</p><p>}</p><p>Finally, our client or the main method will use the invoker to execute the command.</p><p>public class HomeAutomationDemo {</p><p>public static void main(String[] args) {</p><p>Controller controller = new Controller();</p><p>Light light = new Light();</p><p>Command lightsOn = new LightOnCommand(light);</p><p>Command lightsOff = new LightOffCommand(light);</p><p>controller.setCommand(lightsOn);</p><p>controller.executeCommand();</p><p>controller.setCommand(lightsOff);</p><p>controller.executeCommand();</p><p>}</p><p>}</p><p>What happens here is quite straightforward. There are three significant steps in the main method:</p><p>Creating an object from the invoker class, which is called Controller in our application.</p><p>Creating objects from commands that we are going to execute.</p><p>Executing commands using invokers.</p><p>There could be other steps necessary for the completion of these three main steps. For example, the main() method has created a Light object because a Light object has to be passed to create Command objects. When you execute this code, the following output will be produced:</p><p>Turn on Light</p><p>Turn off Light</p><p>Additional options</p><p>The command pattern can also be used for the following purposes:</p><p>adding commands to a queue to execute them later;</p><p>supporting undo/redo operations;</p><p>storing a history of commands;</p><p>serializing commands to store them on a disk;</p><p>assembling a set of commands into a single composite command known as macros.</p><p>These options are not essential to the pattern but are often used in practice.</p><p>Sometimes, a command performs all the work by itself instead of invoking the Receiver object to do the action. This option is somewhat simpler and also used in practice.</p><p>Applicability</p><p>Possible applications of this pattern include:</p><p>GUI buttons and menu items. In Swing programming, an Action is a command object. In addition to the ability to perform the desired command, an Action may have an associated icon, a keyboard shortcut, tooltip text, and so on.</p><p>Networking. It is possible to send whole command objects across the network to be executed on other machines: for example, player actions in computer games.</p><p>Transactional behavior. Similar to undo, a database engine or software installer may keep a list of operations that have been or will be performed. Should one of them fail, all others can be reversed or discarded (this is usually called rollback).</p><p>Asynchronous method invocation. In multithreading programming, this pattern makes it possible to run commands asynchronously in the background of an application. In this case, the Invoker is running in the main thread and sends the requests to the Receiver which is running in a separate thread. The invoker will keep a queue of commands and send them to the receiver while it finishes running them.</p><p>Conclusion</p><p>The main advantage of the command pattern is that it decouples the object that invokes the operation from the one that knows how to perform it. Various modifications of this pattern can be used to keep a history of requests, implement the undo functionality and create macro commands. However, keep in mind that your application can become more complex because this pattern adds another layer of abstraction instead of simply invoking methods.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6b97756375a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creational design pattern]]></title>
            <link>https://kamandemwangi.medium.com/creational-design-pattern-eb138c25be4f?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb138c25be4f</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 17:38:09 GMT</pubDate>
            <atom:updated>2026-09-05T17:38:09.388Z</atom:updated>
            <content:encoded><![CDATA[<p>There are quite a few design patterns in programming. Most of them are aimed at the simplification of your code and at making faster ways to implement complex ideas and concepts. One group of such design patterns is called creational design patterns. The goal of these patterns is to make you write more flexible and reusable code using simple and fast solutions for common problems.</p><p>What is a creational pattern?</p><p>Creational design patterns are design patterns that focus on making objects through a mechanism for a required application. The result of using a mechanism could be the simplification of your code with a quick solution to the most common problems. This pattern separates your system&#39;s main functions from the process of object creation. The concept of creational design patterns allows us to develop more flexible systems in terms of object creation.</p><p>Using creational patterns</p><p>Creational patterns are one of the ways to get rid of hard coding. It allows us to make a system that does not depend on the way its objects are created. Here are a few situations when you should apply creational patterns:</p><p>Designing a set of related objects that are to be used together.</p><p>Hiding the implementation of a class library, revealing only its interfaces.</p><p>Constructing different representations of independent complex objects.</p><p>A class delegates its subclass to implement the object it creates.</p><p>There must be a single instance and the client can access this instance at all times.</p><p>There is also some criticism towards all design patterns including creational ones. Mainly it is their unjustified usage and their occasional inefficiency. So you should keep in mind the situations described above to get the most benefits out of creational design patterns.</p><p>But these design patterns could also limit your creativity and make you think that they are multi-tools that can solve any problem. So you shouldn&#39;t always solely rely on them.</p><p>Types of creational patterns</p><p>Each of the creational pattern types has its own concept, advantages, and disadvantages. There are five most common types of creational patterns.</p><p>Factory method is a pattern that creates an interface or abstract class for object creation that also allows for a modification of object creation in subclasses. You could use this pattern when you don&#39;t know beforehand the exact types and dependencies of the objects your code should work with.</p><p>Singleton is a pattern that creates only one instance of an object while providing a point of global access to this instance. This pattern should be implemented when the class in your program should have just a single instance available to all clients.</p><p>Prototype is a pattern based on the concept of copying an existing class for the creation of a new one. Use this to reduce the number of subclasses that only differ in the way they initialize their objects.</p><p>Builder is a pattern that lets you design complex objects using simple objects using a step-by-step approach. This allows you to create different modified variations of the same object.</p><p>Abstract factory is a pattern that works with a method that creates other factories. Its factories could further be used for a factory method.</p><p>Conclusion</p><p>As expected, creational design patterns are a good way to solve some of the most common problems in programming. Implementing them could possibly save you some time and money. Using them will also simplify the process of object creation for you.</p><p>You can support us by downloading this currency converter app <a href="https://www.amazon.in/John-Kamande-Currency-Converter/dp/B0CFLRFFHC">https://www.amazon.in/John-Kamande-Currency-Converter/dp/B0CFLRFFHC</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb138c25be4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nature's Ultimate Rivalry: When the Cartoon Becomes Reality]]></title>
            <link>https://kamandemwangi.medium.com/natures-ultimate-rivalry-when-the-cartoon-becomes-reality-708b2df97d52?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/708b2df97d52</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 05:36:48 GMT</pubDate>
            <atom:updated>2026-09-04T05:36:48.682Z</atom:updated>
            <content:encoded><![CDATA[<p>Nature&#39;s Ultimate Rivalry: When the Cartoon Becomes Reality</p><p>For decades, we’ve watched Wile E. Coyote test out everything from ACME jet-propelled pogo sticks to giant rubber bands, only to watch the Road Runner glide away with a smug, signature &quot;Beep Beep!&quot; The cartoon world established a firm rule: the coyote never wins. [1]</p><p>But what happens when the dust settles in the actual desert? A stunning, real-life viral photo taken by a bird enthusiast in Chatsworth, Los Angeles recently flipped the script, showing a coyote running with a greater roadrunner in its mouth. [1, 2]</p><p>The truth is, real-life physics favor the predator. Let&#39;s break down how this hunting story plays out when the ACME catalog is stripped away. [1, 2]</p><p>The Tale of the Tape: Speed vs. Strategy</p><p>In the wild, the chase isn&#39;t a series of slapstick gags. It is a brutal, high-stakes sprint where biology holds all the cards. [1]</p><p>Capability</p><p>The Coyote 🦊</p><p>The Roadrunner 🐦</p><p>Top Speed</p><p>Over 40 mph (43 mph max)</p><p>Around 20 mph</p><p>Hunting Style</p><p>Stealth, ambush, and pure acceleration</p><p>Sharp zig-zagging, quick bursts, and short flights</p><p>Dietary Role</p><p>Opportunistic omnivore/predator</p><p>Apex predator of lizards, bugs, and rattlesnakes</p><p>The Real Chase: Working Smarter, Not Harder</p><p>Because a coyote can run more than twice as fast as a roadrunner, the bird cannot rely on a straight-line footrace. Instead, real roadrunners survive by exploiting the environment. They use their long tails to make sudden, erratic 90-degree turns, diving into dense, thorny brush like mesquite and chaparral where a coyote can&#39;t easily follow. If worst comes to worst, they can briefly take flight to reach a high rock or fence post. [1, 2, 3, 4, 5, 6]</p><p>However, coyotes are famously clever hunters. They rely on stealth and surprise. If a coyote can sneak up close enough to eliminate the distance before the roadrunner spots them, pure physics takes over. [1, 2, 3, 4]</p><p>The Ultimate Delicacy?</p><p>In the classic cartoons, Wile E. Coyote viewed the Road Runner as the ultimate luxury meal—comparable to caviar and filet mignon. In reality, coyotes are lazy hunters. They prefer an easy meal like a rodent, berries, or scavenged scraps. Hunting a bird that can fight back, dodge, and dart is exhausting. [1, 2, 3, 4]</p><p>When a coyote actually catches a roadrunner, it isn&#39;t out of obsession—it’s a rare moment of a highly adaptable predator seizing the perfect, split-second opportunity. [1, 2, 3]</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=708b2df97d52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[For a forex trader, freelancer, online seller, or remote worker, currency exchange rates are not…]]></title>
            <link>https://kamandemwangi.medium.com/for-a-forex-trader-freelancer-online-seller-or-remote-worker-currency-exchange-rates-are-not-f35e74a1f5ee?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/f35e74a1f5ee</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 11:56:18 GMT</pubDate>
            <atom:updated>2026-09-01T11:56:18.589Z</atom:updated>
            <content:encoded><![CDATA[<p>For a forex trader, freelancer, online seller, or remote worker, currency exchange rates are not just numbers — they directly affect your profits, pricing, salary value, and financial decisions. A small mistake in conversion can mean losing money without even noticing it.</p><p>That is why having an accurate, fast, and ad-free currency converter is no longer optional. It is an essential productivity and investment tool.</p><p>If you regularly deal with USD, EUR, GBP, KES, crypto payments, or international clients, check out this app on Amazon:</p><p><a href="https://www.amazon.in/John-Kamande-Currency-Converter/dp/B0CFLRFFHC?utm_source=chatgpt.com">Currency Converter by John Kamande</a></p><p>Why Forex Traders Need an Accurate Currency Converter</p><p>Forex trading depends entirely on currency values. Even the slightest delay or inaccurate conversion can affect:</p><p>Profit calculations</p><p>Risk management</p><p>Position sizing</p><p>Entry and exit decisions</p><p>Cross-currency comparisons</p><p>Many free converters online are filled with distracting advertisements, unnecessary popups, or delayed exchange rate updates. Some apps even consume extra data and battery power while showing ads instead of focusing on speed and accuracy.</p><p>Professional traders need:</p><p>Fast conversions</p><p>Clean interfaces</p><p>Reliable calculations</p><p>Minimal distractions</p><p>Accurate exchange values</p><p>Several popular converter apps emphasize live exchange rates and fast conversion because accuracy is critical in trading environments. (<a href="https://play.google.com/store/apps/details?id=com.oanda.currencyconverter&amp;utm_source=chatgpt.com">Google Play</a>)</p><p>Why Freelancers and Remote Workers Need It</p><p>Freelancers today work globally:</p><p>A Kenyan developer may be paid in USD</p><p>A designer may invoice clients in EUR</p><p>A writer may receive payments in GBP</p><p>Crypto payments may fluctuate daily</p><p>Without a reliable converter, it becomes difficult to:</p><p>Calculate real earnings</p><p>Price services correctly</p><p>Compare payment platform fees</p><p>Understand market rates instantly</p><p>An ad-free converter saves time and keeps focus on work instead of interruptions.</p><p>Imagine checking client payments quickly during negotiations without annoying fullscreen ads appearing every few seconds. That convenience matters.</p><p>Why Online Investors and Sellers Benefit</p><p>Investors constantly monitor:</p><p>Forex markets</p><p>Crypto prices</p><p>International stocks</p><p>E-commerce pricing</p><p>Amazon or global marketplace costs</p><p>Even Amazon highlights how currency conversion helps simplify international selling and payments across multiple countries. (<a href="https://sell.amazon.com/programs/amazon-currency-converter?ld=AZUSSOA-sell&amp;utm_source=chatgpt.com">Sell on Amazon</a>)</p><p>A reliable converter helps investors:</p><p>Track profits in local currency</p><p>Compare international market prices</p><p>Analyze exchange rate movements</p><p>Reduce conversion mistakes</p><p>The Problem With Many Free Currency Apps</p><p>Many currency apps today:</p><p>Contain excessive ads</p><p>Track unnecessary user data</p><p>Have cluttered interfaces</p><p>Use delayed exchange updates</p><p>Distract users during urgent calculations</p><p>Users often complain about interruptions, permissions, and unstable experiences in heavily monetized converter apps. (<a href="https://play.google.com/store/apps/details?id=com.oanda.currencyconverter&amp;utm_source=chatgpt.com">Google Play</a>)</p><p>For serious users, simplicity and speed are more valuable than flashy interfaces.</p><p>Why Simplicity Wins</p><p>The best financial tools are:</p><p>Fast</p><p>Accurate</p><p>Lightweight</p><p>Easy to use</p><p>Distraction-free</p><p>Whether you are:</p><p>A forex beginner</p><p>A crypto investor</p><p>An international freelancer</p><p>A student learning global finance</p><p>An online entrepreneur</p><p>…an accurate currency converter can help you make smarter financial decisions every day.</p><p>Explore the app here:</p><p><a href="https://www.amazon.in/John-Kamande-Currency-Converter/dp/B0CFLRFFHC?utm_source=chatgpt.com">Currency Converter on Amazon</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f35e74a1f5ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agile development]]></title>
            <link>https://kamandemwangi.medium.com/agile-development-15719dcd369d?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/15719dcd369d</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 11:55:07 GMT</pubDate>
            <atom:updated>2026-09-01T11:55:22.980Z</atom:updated>
            <content:encoded><![CDATA[<p>Agile principles</p><p>All the principles of Agile are described in the Agile manifesto. Below are the main ones that developers should always keep in mind. So, during the development they need to:</p><p>deliver the necessary software continuously and without interruption</p><p>be open to product changes at any stage of development</p><p>constantly be in touch with the client</p><p>communicate in person</p><p>stay motivated</p><p>be well-organized</p><p>try to implement technical improvements and user-friendly design</p><p>These principles are the main idea and philosophy of Agile. They are very important since taking into account the human factor and explicitly describing the tasks and goals of communication can significantly speed up work and increase the effectiveness of the result. However, this manifesto is not the only thing that is included in Agile. There are also technical concepts like sprint and issue trackers. We&#39;ll discuss them below.</p><p>Agile components</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15719dcd369d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python List Unpacking: The Simple Trick That Makes Your Code Cleaner]]></title>
            <link>https://kamandemwangi.medium.com/python-list-unpacking-the-simple-trick-that-makes-your-code-cleaner-5ebc4c4bfa61?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ebc4c4bfa61</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 12:20:33 GMT</pubDate>
            <atom:updated>2026-08-26T12:20:33.902Z</atom:updated>
            <content:encoded><![CDATA[<p>If you&#39;re learning Python, you&#39;ll eventually come across something that looks almost too simple:</p><p>numbers = [10, 20, 30] first, second, third = numbers</p><p>At first, you might wonder:</p><p>“Wait… how did three variables get their values from one list?”</p><p>That&#39;s list unpacking.</p><p>And once you understand it, you&#39;ll start noticing many situations where it can make Python code shorter, cleaner, and easier to read.</p><p>What Is List Unpacking?</p><p>Normally, if we want to get individual values from a list, we might access them using their indexes:</p><p>numbers = [10, 20, 30] first = numbers[0] second = numbers[1] third = numbers[2]</p><p>This works perfectly fine.</p><p>But Python gives us a cleaner way:</p><p>numbers = [10, 20, 30] first, second, third = numbers</p><p>Python takes each value in the list and assigns it to the corresponding variable.</p><p>So this:</p><p>first, second, third = numbers</p><p>is essentially saying:</p><p>“Take the values from numbers and unpack them into these three variables.”</p><p>The result is:</p><p>first # 10 second # 20 third # 30</p><p>Think of It Like Opening a Box 📦</p><p>Imagine someone gives you a box containing three items:</p><p>📦 ├── 10 ├── 20 └── 30</p><p>You could take the items out one at a time:</p><p>first = numbers[0] second = numbers[1] third = numbers[2]</p><p>Or you can simply say:</p><p>first, second, third = numbers</p><p>Python opens the box and distributes the items for you.</p><p>That&#39;s the basic idea behind unpacking.</p><p>The Number of Variables Must Match</p><p>There&#39;s one important rule.</p><p>The number of variables should normally match the number of items being unpacked.</p><p>For example:</p><p>numbers = [10, 20, 30] first, second = numbers</p><p>This produces an error because Python has three values but only two variables.</p><p>The opposite also causes a problem:</p><p>numbers = [10, 20] first, second, third = numbers</p><p>Python doesn&#39;t know what value should go into third.</p><p>So this works:</p><p>numbers = [10, 20, 30] first, second, third = numbers</p><p>Because we have:</p><p>3 values → 3 variables</p><p>You Can Unpack Strings Too</p><p>Unpacking isn&#39;t limited to lists.</p><p>Python can unpack other iterable objects as well.</p><p>For example:</p><p>letters = &quot;ABC&quot; first, second, third = letters</p><p>Now:</p><p>first # &quot;A&quot; second # &quot;B&quot; third # &quot;C&quot;</p><p>Python goes through the iterable and assigns each item to a variable.</p><p>Here&#39;s Where It Gets Really Useful</p><p>Imagine a function returns multiple values:</p><p>def get_user(): return &quot;John&quot;, 26, &quot;Kenya&quot;</p><p>You could store the returned value:</p><p>user = get_user()</p><p>But now you&#39;d need to access each value individually.</p><p>Instead:</p><p>name, age, country = get_user()</p><p>Much cleaner.</p><p>Now you can directly use:</p><p>print(name) print(age) print(country)</p><p>This is one of the reasons unpacking is so useful in everyday Python programming.</p><p>Swapping Variables Becomes Ridiculously Easy</p><p>Here&#39;s another beautiful example.</p><p>Suppose we have:</p><p>a = 10 b = 20</p><p>In some programming languages, swapping these values requires a temporary variable:</p><p>temp = a a = b b = temp</p><p>Python lets you do this:</p><p>a, b = b, a</p><p>That&#39;s it.</p><p>Afterwards:</p><p>a = 20 b = 10</p><p>Python evaluates the right-hand side and then assigns the values to the variables on the left.</p><p>This is one of those small Python features that makes the language feel remarkably expressive.</p><p>What If You Don&#39;t Need Every Value?</p><p>Here&#39;s a common situation.</p><p>Suppose we have:</p><p>numbers = [10, 20, 30]</p><p>But we only care about the first two values.</p><p>You might be tempted to write:</p><p>first, second, third = numbers</p><p>and simply ignore third.</p><p>Python developers commonly use _ when a value isn&#39;t important:</p><p>first, second, _ = numbers</p><p>The underscore communicates:</p><p>“I&#39;m receiving this value, but I don&#39;t care about it.”</p><p>For example:</p><p>first, _, third = numbers</p><p>Now:</p><p>first # 10 third # 30</p><p>The middle value is intentionally ignored.</p><p>But What If the List Has Many Items?</p><p>Here&#39;s where another powerful feature comes in.</p><p>Imagine:</p><p>numbers = [1, 2, 3, 4, 5]</p><p>You want the first number, but you also want all the remaining numbers.</p><p>You can use the * operator:</p><p>first, *others = numbers</p><p>Now:</p><p>first</p><p>is:</p><p>1</p><p>and:</p><p>others</p><p>becomes:</p><p>[2, 3, 4, 5]</p><p>The * tells Python:</p><p>“Put the remaining values into this variable.”</p><p>This is called extended unpacking.</p><p>You Can Use It in the Middle Too</p><p>Consider:</p><p>numbers = [1, 2, 3, 4, 5]</p><p>You could write:</p><p>first, *middle, last = numbers</p><p>Now:</p><p>first</p><p>is:</p><p>1</p><p>middle is:</p><p>[2, 3, 4]</p><p>and last is:</p><p>5</p><p>That&#39;s incredibly convenient when you don&#39;t know exactly how many items will appear in the middle.</p><p>A Real-World Example</p><p>Imagine you&#39;re processing someone&#39;s exam results:</p><p>scores = [95, 87, 76, 81, 92]</p><p>You want the first score, the last score, and everything in between.</p><p>Instead of manually accessing indexes:</p><p>first = scores[0] last = scores[-1] middle = scores[1:-1]</p><p>you can write:</p><p>first, *middle, last = scores</p><p>Now your intention is immediately visible.</p><p>That&#39;s one of the biggest advantages of unpacking.</p><p>List Unpacking Isn&#39;t Just a Trick</p><p>It&#39;s tempting to think of unpacking as a clever Python shortcut.</p><p>But it&#39;s more than that.</p><p>It&#39;s a way of expressing intent.</p><p>Compare:</p><p>first = numbers[0] second = numbers[1] third = numbers[2]</p><p>with:</p><p>first, second, third = numbers</p><p>The second version communicates something important:</p><p>“These three values belong together, and I want to distribute them into these three variables.”</p><p>That&#39;s easier to read.</p><p>And readable code is one of the most valuable skills you can develop as a programmer.</p><p>The Mental Model to Remember</p><p>Don&#39;t memorize a bunch of complicated rules.</p><p>Just remember this:</p><p>a, b, c = [10, 20, 30]</p><p>means:</p><p>10 → a 20 → b 30 → c</p><p>And:</p><p>first, *rest = numbers</p><p>means:</p><p>first → first item rest → everything else</p><p>Once you see unpacking this way, the syntax becomes much easier to understand.</p><p>One Small Feature, A Lot of Power</p><p>Python&#39;s simplicity often comes from features that remove unnecessary code without sacrificing readability.</p><p>List unpacking is a perfect example.</p><p>Instead of repeatedly accessing indexes:</p><p>numbers[0] numbers[1] numbers[2]</p><p>you can simply unpack:</p><p>first, second, third = numbers</p><p>And when you need flexibility:</p><p>first, *rest = numbers</p><p>or:</p><p>first, *middle, last = numbers</p><p>These aren&#39;t just shortcuts.</p><p>They&#39;re tools for writing code that says exactly what you mean.</p><p>Final Takeaway</p><p>If you&#39;re learning Python, don&#39;t just memorize that unpacking exists.</p><p>Practice recognizing situations where you have a collection of values and want to assign those values to individual variables.</p><p>Start with:</p><p>numbers = [10, 20, 30] a, b, c = numbers</p><p>Then experiment with:</p><p>first, *rest = numbers</p><p>and:</p><p>first, *middle, last = numbers</p><p>Once this clicks, you&#39;ll start seeing unpacking everywhere in Python code.</p><p>And that&#39;s usually the moment a Python feature goes from “What is this weird syntax?” to “Oh… that&#39;s actually really useful.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ebc4c4bfa61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Data Structures: How to Access Items in Python Lists Like a Pro]]></title>
            <link>https://kamandemwangi.medium.com/mastering-data-structures-how-to-access-items-in-python-lists-like-a-pro-23b504112061?source=rss-2f166748ae36------2</link>
            <guid isPermaLink="false">https://medium.com/p/23b504112061</guid>
            <dc:creator><![CDATA[kamande mwangi]]></dc:creator>
            <pubDate>Mon, 24 Aug 2026 15:58:42 GMT</pubDate>
            <atom:updated>2026-08-24T15:58:42.667Z</atom:updated>
            <content:encoded><![CDATA[<p>When you start learning Python, one of the first major milestones is getting comfortable with data structures. In the popular <a href="https://members.codewithmosh.com/courses/python-programming-course-developers/lectures/6781817">Complete Python Mastery</a> course by Mosh Hamedani on Code with Mosh, an entire section is dedicated to breaking down these essential concepts. Specifically, the lesson on &quot;Accessing Items&quot; serves as the foundation for manipulating sequences efficiently. You can also view community-compiled lesson notes and code examples in this <a href="https://github.com/jmschp/mosh-complete-python-course">mosh-complete-python-course GitHub Repository</a>.</p><p>Whether you are looking to extract a single value or slice an entire segment out of a list, understanding Python&#39;s built-in sequence mechanics is vital. This guide explores the core techniques covered in the lesson to help you manipulate your data with surgical precision.</p><p>1. Zero-Based Indexing</p><p>Python uses zero-based indexing, meaning that the first item in an ordered collection starts at position 0 instead of 1. To look up an item, you append square brackets containing the index number immediately after the list variable name.</p><p>python</p><p>letters = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;] print(letters[0]) # Output: &quot;a&quot; print(letters[2]) # Output: &quot;c&quot;</p><p>Use code with caution.</p><p>If you try to query a position that does not exist within the boundaries of the list, Python will raise an IndexError. Ensuring your index values stay strictly within the length of the list is essential to keeping your code error-free.</p><p>2. Negative Indexing</p><p>A unique and highly useful aspect of Python is its support for negative indexing, which allows you to access elements relative to the end of the collection. The index -1 points directly to the last item, -2 targets the second-to-last item, and so on.</p><p>python</p><p>letters = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;] print(letters[-1]) # Output: &quot;d&quot; print(letters[-2]) # Output: &quot;b&quot;</p><p>Use code with caution.</p><p>This feature removes the tedious requirement of calculating the length of an array manually just to read the final few elements.</p><p>3. Advanced Slicing Techniques</p><p>While standard indexing extracts a single item, slicing enables you to carve out an entirely new sub-sequence. The standard syntax for a slice is sequence[start:stop:step].</p><p>By default, the start index is inclusive, while the stop index is exclusive. If omitted, the default step value is 1.</p><p>python</p><p>letters = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;] # Extract items from index 0 up to (but not including) index 3 print(letters[0:3]) # Output: [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;] # Leaving the start index blank defaults to the beginning of the list print(letters[:2]) # Output: [&quot;a&quot;, &quot;b&quot;] # Leaving the stop index blank defaults to the end of the list print(letters[2:]) # Output: [&quot;c&quot;, &quot;d&quot;] # Creating a shallow copy of the entire list print(letters[:]) # Output: [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;]</p><p>Use code with caution.</p><p>Introducing the Step Argument</p><p>Adding a second colon lets you pass a step argument to skip items at a regular interval or walk backward through your collection.</p><p>python</p><p>numbers = [0, 1, 2, 3, 4, 5] # Return every second item from the list print(numbers[::2]) # Output: [0, 2, 4] # Reverse the entire collection using a negative step print(numbers[::-1]) # Output: [5, 4, 3, 2, 1, 0]</p><p>Use code with caution.</p><p>4. Modifying Items via Indexing</p><p>Because Python lists are mutable objects, you can use the exact same indexing and slicing syntax to modify elements directly in place.</p><p>python</p><p>letters = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;] letters[0] = &quot;A&quot; print(letters) # Output: [&quot;A&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;]</p><p>Use code with caution.</p><p>You can even swap out multiple elements simultaneously by assigning an iterable to a slice window, allowing you to re-engineer parts of your data structure dynamically.</p><p>Summary and Next Steps</p><p>Mastering indexing and slicing notation gives you a solid foundation for handling any sequential data type in Python, including strings, tuples, and ranges. These core list mechanisms are used everywhere, from basic automation scripts to heavy data processing workflows.</p><p>For more comprehensive examples and detailed tutorials on working with sequences, look through the deep-dive guides on <a href="https://www.geeksforgeeks.org/python/python-lists/">GeeksforGeeks Python Lists</a> and the <a href="https://www.freecodecamp.org/news/slicing-and-indexing-in-python/">FreeCodeCamp Slicing and Indexing Tutoria</a>l.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23b504112061" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>