<?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 Richie Omoka on Medium]]></title>
        <description><![CDATA[Stories by Richie Omoka on Medium]]></description>
        <link>https://medium.com/@RichieOmoka?source=rss-ec37190d5ce1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*c2LCMRi31Tqw5cGi.jpg</url>
            <title>Stories by Richie Omoka on Medium</title>
            <link>https://medium.com/@RichieOmoka?source=rss-ec37190d5ce1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 19:54:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@RichieOmoka/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[Running RockMongo on PHP7]]></title>
            <link>https://medium.com/@RichieOmoka/running-rockmongo-on-php7-b4b39a180840?source=rss-ec37190d5ce1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4b39a180840</guid>
            <category><![CDATA[mongodb-php-7]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[mongodb-php-driver]]></category>
            <category><![CDATA[rockmongo]]></category>
            <dc:creator><![CDATA[Richie Omoka]]></dc:creator>
            <pubDate>Sat, 01 Jul 2017 11:03:03 GMT</pubDate>
            <atom:updated>2017-07-01T11:03:03.169Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://en.wikipedia.org/wiki/NoSQL">NoSQL</a>! The moniker that has taken the dev world by storm.</p><p>This rise in popularity can be attributed to the promises that NoSQL technology offers especially in the fields of Big Data and real-time web applications.</p><p>Coming from a relational database background I have been a little skeptical to take on NoSQL. However, things don’t stop moving because one is skeptical.</p><p>A few weeks a go I was thrust into the deep end when the back-end dev decided to go the NoSQL way and I had to Learn <a href="https://www.mongodb.com/what-is-mongodb">MongoDB</a>!</p><p>I found the syntax intimidating at first and therefore, I went searching for a mongodb browser kinda like the good old <a href="https://www.phpmyadmin.net/">phpMyAdmin</a>.</p><p>I found <a href="http://mongodb-tools.com/tool/rockmongo">RockMongo</a>, which came highly recommended, and this is how I installed it on my Ubuntu 16.04 running PHP 7 and MongoDB v3.4.4</p><ol><li><strong>Install MongoDB PHP driver<br></strong>On your terminal run the following command:</li></ol><pre>$ sudo pecl install mongodb</pre><p>When the command completes successfully, it will give the location of <em>mongodb.so </em>something like</p><pre>Build process completed successfully<br>Installing ‘/usr/lib/php/20151012/mongodb.so’</pre><p>Next create a file <em>mongodb.ini</em> in the mods-available directory your php installtion directory:</p><pre>$ sudo nano /etc/php/7.0/mods-available/mongodb.ini</pre><p>And paste the following in it</p><pre>; configuration for php mongodb module<br>; priority=20<br>extension=mongodb.so</pre><p>Finally, Create symbolic links to the mongo.ini file for apache and CLI</p><pre><br>sudo ln -s /etc/php/7.0/mods-available/mongodb.ini /etc/php/7.0/apache2/conf.d/20-mongodb.ini</pre><pre>sudo ln -s /etc/php/7.0/mods-available/mongodb.ini /etc/php/7.0/cli/conf.d/20-mongodb.ini</pre><p><strong>2. Install RockMongo</strong><br>- Clone or download the package from <a href="https://github.com/krutpong/rockmongo-php7">https://github.com/krutpong/rockmongo-php7</a></p><p>- Copy it into the root of your site (www,htdocs etc) my case I removed the ‘-php7’ after cloning part to end up with: /var/www/html/rockmongo</p><p>- With your mongo db service started navigate to <a href="http://localhost/rockmongo/index.php">http://localhost/rockmongo/index.php</a> on your browser</p><p>- You should see the login screen as shown below; login with username <em>admin</em> and password <em>admin</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UDtB_C9VPPewAK5uC6_Ohw.png" /><figcaption>RockMongo Login Screen</figcaption></figure><p>With a successful login,Play with your MongoDBs!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ttAh7fI_WO0GJpwHc6zpfA.png" /><figcaption>RockMongo Browser</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4b39a180840" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Will you please stop playing politics with the prices of basic commodities]]></title>
            <link>https://medium.com/@RichieOmoka/will-you-please-stop-playing-politics-with-the-prices-of-basic-commodities-8d7b8ac88378?source=rss-ec37190d5ce1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d7b8ac88378</guid>
            <category><![CDATA[nigeria]]></category>
            <category><![CDATA[economics]]></category>
            <dc:creator><![CDATA[Richie Omoka]]></dc:creator>
            <pubDate>Sun, 07 May 2017 11:02:18 GMT</pubDate>
            <atom:updated>2017-05-07T11:02:18.736Z</atom:updated>
            <content:encoded><![CDATA[<p>Every day I see a post claiming prices of sugar, milk, unga and other basic commodities are skyrocketing. <br>Allow me to express my concerns and share my experience on how this posts might just make the basic commodities a luxury.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*E-flZaxuvehZfPie122Ewg.jpeg" /><figcaption><a href="https://www.facebook.com/photo.php?fbid=1627430837297610&amp;set=a.617867794920591.1073741828.100000921283783&amp;type=3&amp;theater">Image Courtesy of FB</a></figcaption></figure><p>Let me pick milk to illustrate my point because I have literally witnessed the price shoot right before my eyes.<br>A few years ago, A half-litre packet of milk cost KES 35.00, it then somehow jumped to and steadied at KES 50.00 for the longest time; now within just a month I am surprised I have to pay KES 65.00 for it. <br>Please, don’t get me started on the youghart.</p><p>What happened? Did all the cows suddenly drop dead within one month? Or did the farmers just hike the price.</p><p>I don’t think so. I think we are engulfed in the Jubilee-NASA political euphoria that is now eating us whole.</p><p>NASA die-hards are a out to bombard us online with fake news on how the Jubilee Government has driven prices up.<br>Please read “fake” with a pinch of salt because, there might be some truth in NASA fans argument, however not as dire or in its entirety.<br>A half-litre packet Milk is definitely not (yet) KES 80.00 but I have seen a post claiming it already is.</p><p>In all this imaginary prices we conjure up to paint a grotesque image of Jubilee, there is someone who is tinkering with the prices of the commodity, lets call them the businessman.</p><p>Now, the businessman is an opportunist — a quintessential trait to the last one of them: An umbrella vendor hawking each at KES 200.00 and when it starts raining he hikes it to KES 350.00; Bus fare is normally KES 50.00 and when it rains it’s doubled to KES 100.00 …you get the drift, the businessman is not famous for probity. When it rains, the businessman’s gotta make it rain (no pun intended).</p><p>Now let’s go back to milk: you wake up today thinking how you will take a jab at turnishing Jubilee, so you post all the political vitriol and diatribe you can muster topping it off with how Milk is going for KES 80.00. Of course, you will get the likes and retweets from the fanbase because you dished the meanest jab at the opponent; before long you are trending.</p><p>Enter the businessman, he reads your post and all he has to do is supply milk to retailers at KES 75.00. Well, the shopkeeper has to make some profit, so he adds the 5 bob and yeeeeey we have milk at KES 80.00. <br>You achieved your goal, everyone becomes angry at the government. However, you also shot yourself in the foot — you have to buy the milk at KES 80.00. What next, you need a bullet (no pun intended) for the next day to bash the government so you cook up another “Imagine milk is KES 100.00, Jubilee must go” post.</p><p>My point is, some of these overnight price-hikes on basic commodities is really by our own irresponsible behavior online fueled by the political temperatures.</p><p>Neither have the cows dropped dead suddenly nor the farmers decided to hike the prices when selling to the creameries. In fact, I cant help but wonder, does the killing made from price hike trickle down to returns to the dairy farmer or does it stop at the businessman?</p><p>A few days back my sister bought A half-litre packet Milk at KES 50.00 (Yes, Fifty Shilligs!) and it was so unsettling to her she had to test it for odour, density and taste for palatability before actually consuming it. Suprisingly, it was good milk. How did we get here?</p><p>About Unga: the rains were poor and therefore affected past harvest, there was a bump in the price. The government assured us imports will cover the deficit. Now army-worms happened and social media happened causing the big bump in price we are experiencing currently. I am thinking, aren’t we blaming the army-worms through no fault of their own? See, army-worms attack plantations, if they appeared now the effects (poor or no harvest) should be felt from mid to late this year,and then we can blame the army-worms. The culprit we should be blaming here is our social media irresponsibility.</p><p>About sugar: Apparently, trouble started when Mumias Sugar Company started struggling. However, haven’t we been importing sugar even when Mumias was running well. Claims have been made that cheap sugar imports in fact crippled the miller. And therefore, I think, the price tide depends on the diatribe of an irresponsible social media.</p><p>The prices were indeed high but I think they wouldn’t have gone higher if we hadn’t played in the miasma of political fake news currently engulfing the country.</p><p>Someone carted away in sacks over a billion shillings and the leadership placated us with futile hearings; Doctor’s went on strike and the leadership (Read PS) could not make time negotiate until it was too late…I could go on. There is enough ammo to send Jubilee parking.</p><p>So will you please stop playing politics with the prices of basic commodities.</p><p>I need to be thinking about the price of a Kompressor.</p><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d7b8ac88378" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>