<?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 Bonface Mudiri on Medium]]></title>
        <description><![CDATA[Stories by Bonface Mudiri on Medium]]></description>
        <link>https://medium.com/@iambonface?source=rss-c8a609fd1569------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JiJcT7gJehx-a3ZMUlT92Q.png</url>
            <title>Stories by Bonface Mudiri on Medium</title>
            <link>https://medium.com/@iambonface?source=rss-c8a609fd1569------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 14:49:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iambonface/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[A User Story is not a Job Story — Here’s why!]]></title>
            <link>https://iambonface.medium.com/a-user-story-is-not-a-job-story-heres-why-96dac085ac3b?source=rss-c8a609fd1569------2</link>
            <guid isPermaLink="false">https://medium.com/p/96dac085ac3b</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[user-research]]></category>
            <category><![CDATA[jobs-to-be-done]]></category>
            <dc:creator><![CDATA[Bonface Mudiri]]></dc:creator>
            <pubDate>Tue, 24 Nov 2020 13:37:45 GMT</pubDate>
            <atom:updated>2020-12-07T20:25:45.850Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to convert User Stories to better Job Stories!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x6TcY2PgA1qVA3UGmV3AnQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@amayli?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Amélie Mourichon</a> on <a href="https://unsplash.com/@amayli?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Writing good independent user stories is not as easy as it looks. Let’s take a sneak peek at these three stories:</p><ul><li><strong>As</strong> Bonface, <strong>I want to</strong> write a better story, <strong>so that</strong> my readers can understand user empathy</li><li><strong>As</strong> a Product Owner, <strong>I want to</strong> write at least one-story example, <strong>so that</strong> my readers can understand user empathy</li><li><strong>When I</strong> write my story online, <strong>I want to</strong> capture atleast one detailed example, <strong>so that</strong> my audience can be confident in user empathy</li></ul><p>If you are still wondering what the heck are user stories or job stories, don’t worry. We will get into details in a short while. First, which of the three stories is estimatable? Which is better written, if any ? Which story relates to you better? How would you write your own version? I am experimenting and would love to hear your thoughts and suggestions</p><p>When I think of a user story, what comes to mind is <strong>role</strong>, <strong>function</strong>, and <strong>business value</strong> (<em>As a …, I want to … So that …</em>); on the other hand, whenever I envision a job story, what strikes me is <strong>situation</strong>, <strong>motivation</strong> and <strong>user’s outcome</strong> (<em>When I …., I want to …, So that I …</em>). While these two perspectives of user design process seem almost similar, they are not. However, they do complement each other and we can still extract some value. I know most people would make valid arguments on pros and cons. I welcome some feedback.</p><p>As you may have noticed, I inserted a <strong>named persona</strong> in my first story but made second story more specific. This was intentional, just to trigger any biases as would, for most personified user stories. Because personas are hypothetical archetypes of real users, it’s pretty easy to have our intuition take over judgement of the intended user goals.</p><h4>So why are they different?</h4><p>Teresa Torres in her blog, <a href="https://www.producttalk.org/2012/09/user-stories-arent-as-simple-as-they-seem/"><em>User stories aren’t as simple as they seem</em></a>, highlights the 6 tenets of a good user story, using the <strong>INVEST acronym</strong>; Independent, Negotiable, Valuable to customer, Estimatable, Small, and Testable.</p><p>The biggest problem in any user design process today is our own biases, as innovators, product managers or product developers. Our quick judgement to propose solution rather than looking at what the user really wants to achieve. This makes a clear cut as to which story takes precedence. This year when I started to envision the concept behind JTBD, my perspective of user goal has even been illuminated three times better.</p><p>Job stories, just like the real information of the hypothetical users in user stories, are based on real people; they require user research beforehand. The beauty about job stories is, they are outcome based and not just functional. In addition, there’s more context on the situation. Remember if you acknowledge the user’s pain, you’re <strong>Sympathizing</strong> for the user(<em>I feel for you</em>) not <strong>Empathizing</strong> with the user(<em>I feel with you</em>) 🦄. To empathize you have to first understand the frustrations, needs, motivations.</p><p>As a final thought, I ‘d suggest thinking about what <a href="https://www.linkedin.com/in/yvettefrancino/">Yvette Francino</a>, an Agile Consultant once said, “…good user stories are those written from user perspective than from developers view”. Whichever story route you take, be it user stories or job stories, focus less on the function and more on the outcome! If the story is big, slice it! Because the philosophy of JTBD is about causality, anxieties, and motivations, I always challenge my way of thinking to look at better ways that can embrace customer empathy; I am still learning and still hope to get better!</p><p>If you have any feedback that can be helpful, please don’t hesitate to connect with me and message via my <a href="https://www.linkedin.com/in/bonface/"><strong>Linkedin</strong></a></p><p><strong>Happy story telling!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96dac085ac3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to write HTML with a single line of code]]></title>
            <link>https://iambonface.medium.com/how-to-write-html-with-a-single-line-of-code-c361b7a3500f?source=rss-c8a609fd1569------2</link>
            <guid isPermaLink="false">https://medium.com/p/c361b7a3500f</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[simplicity]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[emmet]]></category>
            <dc:creator><![CDATA[Bonface Mudiri]]></dc:creator>
            <pubDate>Tue, 12 Mar 2019 17:53:09 GMT</pubDate>
            <atom:updated>2019-03-18T04:05:52.553Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How to write HTML with a single line of code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0vAuzg3LyKQPXM7Ur67uSQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/LZEB1Yh5WUM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jerin J</a> on <a href="https://unsplash.com/search/photos/less?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Hold my fork for a second! How the heck do you even write a block of HTML in one line of code?</p><blockquote>Lets do it the <a href="https://www.merriam-webster.com/dictionary/terse">terse</a> way!</blockquote><p>Consider a simple HTML boilerplate with *24 lines* of code for our simple nav output. &lt;<em>This code reads like an essay</em> /&gt;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/84ee5372c6db5622e8c9a1fd5f7d81ae/href">https://medium.com/media/84ee5372c6db5622e8c9a1fd5f7d81ae/href</a></iframe><p>Too many tags, blah blah blah…</p><p>Let&#39;s simplify it!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f5d11f3dc2b12eed54c72c35302305b/href">https://medium.com/media/0f5d11f3dc2b12eed54c72c35302305b/href</a></iframe><p>What about when we want to capture some variables in our list items and most importantly, script tags at the bottom?</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/74e5a7f80f2c28f753b748780aa3e856/href">https://medium.com/media/74e5a7f80f2c28f753b748780aa3e856/href</a></iframe><p>There you go!.. your one-liner worked!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0ab1e11ec13530f2dde1dd9ffc579132/href">https://medium.com/media/0ab1e11ec13530f2dde1dd9ffc579132/href</a></iframe><p><strong><em>…… </em></strong><a href="https://docs.emmet.io/abbreviations/syntax/"><strong><em>See Emmet Docs</em></strong></a><strong><em> …..</em></strong></p><p><strong>*If this article was helpful, please applaud with a clap </strong>👏<strong> to make it reach others</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c361b7a3500f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to declutter your Python 3  virtual environments, from possible version conflicts!]]></title>
            <link>https://iambonface.medium.com/how-to-declutter-your-python-3-virtual-environments-from-possible-version-conflicts-d9eed4998775?source=rss-c8a609fd1569------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9eed4998775</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[virtual-environment]]></category>
            <dc:creator><![CDATA[Bonface Mudiri]]></dc:creator>
            <pubDate>Sun, 03 Feb 2019 23:40:00 GMT</pubDate>
            <atom:updated>2019-02-04T03:17:13.015Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to declutter your Python 3 virtual environments, from possible version conflicts!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edw-nKvDvMKNpTxE3Y5_8Q.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/8Yk4T-tDSYY?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">NeONBRAND</a> on <a href="https://unsplash.com/search/photos/bin-splash?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The first question I ask myself when diving into any code development environment is, how likely will my library versions conflict?</p><p>In this short article, we shall focus on how to install <strong>virtualenv </strong>and the <strong>virtualenvwrapper</strong> and tweak <a href="https://www.lifewire.com/bashrc-file-4101947"><strong>bashrc </strong></a>file so that we can easily <em>activate </em>and <em>deactivate </em>the environment without being overly verbose on the command line. <em>&lt;Pay attention, if you love being ‘lazy’ on the command line /&gt;</em></p><p>Ideally, a virtual environment makes it possible for you to work on a project, focus on the solution, than worrying too much about the possible conflict on dependencies.</p><p><strong>NB:</strong> You may refer to the below sites for reference and learn about the <em>virtual environment </em>but I have tried to pick the simplest approach to this problem:</p><pre><a href="http://docs.python-guide.org/en/latest/dev/virtualenvs/">http://docs.python-guide.org/en/latest/dev/virtualenvs/</a></pre><pre>https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-ubuntu-16-04</pre><pre>http://railslide.io/virtualenvwrapper-python3.html</pre><pre>http://virtualenvwrapper.readthedocs.io/en/latest/install.html</pre><p><strong>*STEP PROCESS*</strong></p><p>First, let us check the Python version. The beauty about Ubuntu is, Python comes pre-installed.</p><pre>$ python3 —-version </pre><p>Now is time to do the updates and upgrade the packages</p><pre>$ sudo apt-get update</pre><pre>$ sudo apt-get -y upgrade</pre><p>We need a package management tool to install our software and we shall be using pip 3. Install using below command</p><pre>$ sudo apt-get install -y python3-pip</pre><blockquote><strong><em>Please note when installing any package you will be using:</em></strong></blockquote><blockquote>$ pip3 install the_package_name</blockquote><p>We need to take care of the <em>debian</em> package compilations and have a way to compile python extension modules.</p><pre>$ sudo apt-get install build-essential libssl-dev libffi-dev python3-dev</pre><p>Phewks! We are now finally ready to push in our virtual environment. I presume you have the permission to do so, otherwise, use <em>sudo </em>with -H flag if you get stuck with access</p><pre>$ pip3 install virtualenv</pre><p>Now confirm you have <em>virtualenv </em>installed</p><pre>$ virtualenv —-version</pre><p>Power unto us; lets us now install the <em>virtualenvwrapper</em></p><pre>$ sudo pip3 install virtualenvwrapper</pre><p>~This is where you can do some pushups because it is about to get awesome!</p><pre>$ mkdir ~/.virtualenvs</pre><pre>$ mkdir Projects</pre><p>This directory is the <em>/path/where/you/want/your/Projects</em> and you can change if you like. I like naming <em>Projects</em>, for readability and ease of access</p><p>Now Open <em>~/.bashrc</em> file. It is intentionally hidden in the <em>Home </em>directory and can not be easily found, but you can use the below magic command to check that it exists.</p><pre>$ ls -la ~/ | more</pre><p>Now the easy way to edit that <em>.bashrc</em> file is to either use <em>gedit </em>or <em>vim</em>. Some people may find it difficult to use <em>vim, </em>but pick what works for you<em>. </em>If you have weirdly setup your Ubuntu, you may get issues trying to access and editing this file.</p><blockquote><strong>CAUTION:</strong></blockquote><blockquote>Please create a backup of your .bashrc file or forever hold your peace!!</blockquote><blockquote>cp ~/.bashrc ~/.bashrc.bak</blockquote><blockquote>You can always revert back to original bashrc</blockquote><blockquote>cp -i ~/.bashrc.bak ~/.bashrc</blockquote><p>Back to our step process, let us now <em>gedit </em>the <em>bashrc </em>file</p><pre>$ gedit ~./bashrc</pre><p>Now paste the below 5 lines of code inside the bash file, preferable on top of the <em>bashrc </em>so that you don’t mess up! Remember am using <em>$HOME/Projects</em> and presume you have set up in that path.</p><pre>VIRTUALENVWRAPPER_PYTHON=’/usr/bin/python3&#39;</pre><pre>export WORKON_HOME=~/.virtualenvs</pre><pre>export PROJECT_HOME=$HOME/Projects</pre><pre>export VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh</pre><pre>source /usr/local/bin/virtualenvwrapper_lazy.sh</pre><p>Now save the bash file and please don’t mess up this file. <strong>Let your creativity in tweaking stuff be saved for development, not within this file!!</strong></p><p>Now still on the command line, continue as below. We need to <strong>source </strong>the <em>bashrc</em></p><pre>$ source ~./bashrc</pre><h3>Congratulations you are now done!</h3><p><strong><em>The neat way to create a virtual environment can now be done as below</em></strong></p><pre>$ mkproject my_project</pre><pre>$ workon my_project</pre><p>You will see something like <strong>(my_project) </strong>proving you have activated the virtual environment. You must see those <strong>parentheses</strong>.</p><p><strong>To deactivate and get out of env</strong></p><pre>$ deactivate</pre><p>Always ensure you activate the environment when installing things like Django... otherwise, versions may mess you up! GOOD LUCK!</p><p><em>Feel free to create a pull request to make this post 100% accurate</em></p><h3>I hope this was very helpful!</h3><p><strong>*If you felt inspired by this article, please applaud with a clap </strong>👏<strong> to make this article reach others</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9eed4998775" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Obsession with TypeScript Syntatic Sugar]]></title>
            <link>https://medium.com/front-end-weekly/my-obsession-with-typescripts-syntatic-sugar-f74e9d417df5?source=rss-c8a609fd1569------2</link>
            <guid isPermaLink="false">https://medium.com/p/f74e9d417df5</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Bonface Mudiri]]></dc:creator>
            <pubDate>Tue, 30 Aug 2016 11:22:21 GMT</pubDate>
            <atom:updated>2016-09-06T13:53:40.628Z</atom:updated>
            <content:encoded><![CDATA[<p>The last time I tried to immerse myself into the controversial debate on which programming language rocks; I almost lost a limb, literally. Instead of getting irrational, I would rather handpick a specific quality, which makes one language supersede the others and use such quality to argue my choice between any set of preferred programming languages. Say for example you love the procedural programming paradigm; C should come handy. If you are an Object Oriented nerd, Java and C++ are still at your disposal. Nonetheless, these paradigms can shift and overlap so I am not going to dwell much into them but would prefer to spare the energy and use it to yap at my recent obsession for Typescript, a superset syntactic sugar for JavaScript.</p><p><strong>Reassembling the Game Changer:</strong></p><p>Did you know that the brain behind Mozilla is actually the same brain that brought us JavaScript? Brendan Eich was born in Pittsburgh Pennsylvania and is an Alumnus of both Santa Clara and University of Illinois at Urbana-Champaign. He worked at Netscape where he created JavaScript for the Netscape Navigator Web Browser. It all started as Mocha, and then LiveScript before being coined JavaScript; some prefer to call it ECMAScript. Whichever name you pick, JavaScript has the love of most developers. It has been my greatest companion for front-end hacking. The new ninja (TypeScript) is just an icing on the already sweet cake. It’s static typing ability makes codes easier to read, than you would a magazine.</p><p>Strangely as it may sound, I came to know about TypeScript at a time when my KungFu kicks in JavaScript were still harmless to any computer. The training by John Resig unleashed through “Secrets of the JavaScript Ninja” was yet to bear any fruits. I know sometimes my angle of approach to programming languages is just weird. I tend to fight from whichever direction until it somehow works. It feels like trying to get into a conversation halfway and still expect to understand the story. However, I must admit that was it not for my hopping attitude, dangling with hybrid mobile apps, maybe I wouldn’t have known TypeScript existed. The point is, <em>“if you don’t dig, you won’t see the root.”</em></p><p><strong>Syntactic Sweetening</strong></p><p>Sincerely speaking, TypeScript is just some syntactic sugar built on top of JavaScript. When you think about syntactic sugar in the context of Computer Science, you have to think about the sweetening aspect of a code. It is some sort of syntax, which can make a code easy to read or express. It simplifies coding by making a sample code more “sweeter” (appealing to humans).</p><p>I know the love for JavaScript is wild but as a dynamically typed functional language, I must admit that the challenges in defining classes, integers, strings, numbers etc cannot be overruled. Sometimes I just feel pushed to enforce my own rules with strong typing and TypeScript has always been at the fore of my typing struggles. If you are close and candid with Java, you will love the structure of TypeScript. After all, we still compile the .ts to .js and you can still use plain JavaScript in TypeScript and you will be forgiven. Can I get an Amen?</p><p><strong>Sugar Coated Codes:</strong></p><p>We have talked too much and it is time to demonstrate what this craze is all about. I will sample .ts alongside the compiled .js code.</p><p><strong>Pulling the index and values:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*Mn5ApuNxRBdQK1-wYoAzdA.png" /></figure><p><strong>Raw Output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*po7y_Jmoa_kQrdYcNjC3CA.png" /></figure><p><strong>Icing the For Loop</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*zpzCxPEKif1MzI_M6LOzog.png" /></figure><p><strong>Iced output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*ZdxpUOo89OywN3duJbx4-w.png" /></figure><p><strong>ECMAScript 6 Sugar Coated Class</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*-cRXnYI-_u9GUklhTGaolw.png" /></figure><p><strong>Look at the contrast on .ts and .js sample codes</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*wgHG8QkwLSgALFoWxOpe5g.png" /></figure><p><strong>Phewks! The Final Class Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*j4sbGnhrJoqNnyom6lHrlw.png" /></figure><p><strong>Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*aBRuWlg7YrWr42CBb460pA.png" /></figure><p><strong>I hope you enjoyed this article and please don’t log me out yet. Tap the ❤ icon below as a sign of love!</strong></p><p>All comments are welcome!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f74e9d417df5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/my-obsession-with-typescripts-syntatic-sugar-f74e9d417df5">My Obsession with TypeScript Syntatic Sugar</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>