<?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 Segebee on Medium]]></title>
        <description><![CDATA[Stories by Segebee on Medium]]></description>
        <link>https://medium.com/@segebee?source=rss-2be33f45f1e6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*b7gH-xPAYSJMcGHFXNdzVw.jpeg</url>
            <title>Stories by Segebee on Medium</title>
            <link>https://medium.com/@segebee?source=rss-2be33f45f1e6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 01:49:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@segebee/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[Getting SASS to work with React Typescript]]></title>
            <link>https://medium.com/@segebee/getting-sass-to-work-with-react-typescript-59026316690f?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/59026316690f</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 18:31:22 GMT</pubDate>
            <atom:updated>2020-01-14T18:31:22.895Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*700WVswZ09jEBIOV" /><figcaption>Photo by <a href="https://unsplash.com/@jeshoots?utm_source=medium&amp;utm_medium=referral">JESHOOTS.COM</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I’ve been battling this issue for days, and seems a lot of people out there are too. Tried many recommendations till I came across a solution that suggested upgrading react-scripts-ts to 4.0.8 as that version supports SASS.</p><p>That did the trick!</p><p>I simply change the version number in package.json and ran yarn install.</p><p>Hope this helps someone</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59026316690f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Less is good. Moving a Legacy Web App to CSS Grid.]]></title>
            <link>https://medium.com/@segebee/less-is-good-moving-a-legacy-web-app-to-css-grid-9037e91036f1?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9037e91036f1</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[css-grid]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Mon, 07 Oct 2019 13:07:27 GMT</pubDate>
            <atom:updated>2019-10-07T13:07:27.757Z</atom:updated>
            <content:encoded><![CDATA[<p>What do developers do on a weekend? Rest? Party? Hang out? Code?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pGqVjKm_ZiUKE9BW" /><figcaption>Photo by <a href="https://unsplash.com/@hiteshchoudhary?utm_source=medium&amp;utm_medium=referral">Hitesh Choudhary</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>For me last weekend, it was code :). I had built a web application for a client in 2013 and had to fix some issues after adding new features. It didn’t use bootstrap because it was still new then, so the app was styled using custom styles, Modernizr, etc. I had made a mental note to move the styling to bootstrap but in 6 years, I had not found the time to do this. However, I couldn’t stand the archaic interface anymore. So I decided to restyle the login page (at least that would be easy eh?).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kv0p8SCpDoRQkt0B8KlW2A.png" /><figcaption>existing login page</figcaption></figure><p>The plan was to use bootstrap and be done quickly. I had other important things to work on. However, I wondered if a login page really needed network requests to load bootstrap and dependencies. I am not a fan of dependencies, so I decided there had to be a better way. I had heard rave reviews of CSS Grid but never tried it out. Well, isn’t the weekend a good time to try out new stuff? So I decided to restyle using CSS Grid.</p><p>The first thing I did was to look for a good CSS Grid learning material. This interactive course from <a href="https://medium.com/u/8b318225c16a">freeCodeCamp</a> was really useful (<a href="https://learn.freecodecamp.org/responsive-web-design/css-grid/">https://learn.freecodecamp.org/responsive-web-design/css-grid/</a>). I loved being able to see changes in real-time. The only snag was I couldn’t see my progress in the course. After a few lessons, I had all I need to style my login page with CSS Grid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eg6VNYVL_Vj6YtocIMGAuA.png" /><figcaption>CSS grid course</figcaption></figure><p>The next step was to design a UI. Pressed for time, I went looking for inspiration on dribbble and found something simple (<a href="https://dribbble.com/shots/5482984-Admire-Login-Page">https://dribbble.com/shots/5482984-Admire-Login-Page</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lcp0xgLstWR46GC898_Wcw.png" /><figcaption>design inspiration</figcaption></figure><p>I loved the simplicity and since this was an application staff would use daily, I loved the fact that I could use the right part of the page to display dynamic content e.g. event photos, staff photos, wallpapers, quotes, etc.</p><p>To use CSS grid we need to define our display property as grid on the containing element. This lets the browser know how to display content. We also want to split the page in half based on the design. This is easy using the grid-template-columns property which helps us define grid columns. fr means fractions. If we want the children of the containing element to have equal widths; we use 1fr 1fr</p><blockquote>If we want a child to have more with than the other we can increase the fraction of the child. eg 1fr 1fr for 2 children is 1/2 1/2 in maths. If we had 3 children elements, we’d do 1fr 1fr 1fr. If we want the last element to take more space, we can do 1fr 1fr 2fr. The last element now takes twice the space of other elements.</blockquote><pre>.container { <br>display: grid; <br>grid-template-columns: 1fr 1fr; <br>height: 100vh;<br>}</pre><pre>.page-half {<br>height: 100vh;<br>}</pre><pre>#left {<br>background-color: red<br>}</pre><pre>#right {<br>background-color: black;<br>}</pre><pre>&lt;div class=&quot;container&quot;&gt;<br>&lt;div id=&quot;left&quot; class=&quot;page-half&quot;&gt;&lt;/div&gt;<br>&lt;div id=&quot;right&quot; class=&quot;page-half&quot;&gt;&lt;/div&gt;<br>&lt;/div&gt;</pre><p>The code above splits the container element contents into two and sets the container element height to take the whole screen. We also set the child elements (left &amp; right) to take the full height of the screen. We set background colors so we can see the result.</p><p>Let’s replace the background of the right part of the page with a lovely image our users would love to see daily.</p><pre>#right {<br>background: url(https://medium.com/&quot;../img/bgs/bg3.jpg&quot;);<br>background-size: cover;<br>background-repeat: no-repeat;<br>background-position: center;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVlYsT4Xxj4SK6_oGRxMdg.png" /><figcaption>auroras :)</figcaption></figure><p>You might notice some spacing at the outer edges of your container element. This is because of the default browser body margins. Let&#39;s remove that.</p><pre>body {margin: 0;}</pre><p>We can now add in our login form and related content to the left half of the page. What we want to do is split the left part into 3 rows with the middle row taking twice the space of other rows. We can use grids within grids :). So let’s define the left half as a grid and split it into rows. To split a grid into rows, we use grid-template-rowsWe also set horizontal paddings and give the rows a temporary border so we can see the result.</p><pre>#left {<br>display: grid;<br>grid-template-rows: 1fr 2fr 1fr;<br>padding: 0 30px;<br>}</pre><pre>#left div {<br>border: 1px solid #000;<br>}</pre><pre>&lt;div id=&quot;left&quot; class=&quot;page-half&quot;&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/div&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fr-O0n0G_SXbgwGP_3Z2yw.png" /><figcaption>left part split into 3 rows</figcaption></figure><p>We insert our logo, form and footer information. And also remove the temporary border.</p><pre>&lt;div id=&quot;left&quot; class=&quot;page-half&quot;&gt; <br>&lt;header&gt; <br>&lt;div id=&quot;logo&quot;&gt; &lt;img src=&quot;<a href="http://nlyvn.com.ng/wp-content/uploads/2015/07/nlyvnlogo1.png">http://nlyvn.com.ng/wp-content/uploads/2015/07/nlyvnlogo1.png</a>&quot; class=&quot;logo&quot; /&gt; <br>&lt;/div&gt; <br>&lt;/header&gt; <br>&lt;div class=&quot;login-form&quot;&gt; <br>&lt;h2&gt;Welcome Back !&lt;/h2&gt; <br>&lt;p&gt;Sign in to access the Administrative Portal&lt;/p&gt; <br>&lt;form&gt; <br>&lt;div&gt; <br>&lt;label&gt;Email&lt;/label&gt; <br>&lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; autofocus required /&gt; &lt;/div&gt; <br>&lt;div&gt; <br>&lt;label&gt;Password&lt;/label&gt; &lt;label class=&quot;forgot-password&quot;&gt;&lt;a href=&quot;#&quot;&gt;Forgot your password?&lt;/a&gt;&lt;/label&gt; <br>&lt;input type=&quot;password&quot; name=&quot;password&quot; id=&quot;password&quot; required /&gt; &lt;/div&gt; <br>&lt;div&gt; <br>&lt;button name=&quot;submit&quot; id=&quot;submit&quot;&gt;Login&lt;/button&gt; <br>&lt;/div&gt; <br>&lt;/form&gt; <br>&lt;/div&gt; <br>&lt;footer&gt; <br>&lt;p&gt;&amp;copy; 2019 Fictional Company&lt;/p&gt; &lt;p class=&quot;author&quot;&gt;Powered by NLYVN Media&lt;/p&gt; <br>&lt;/footer&gt;<br>&lt;/div&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rIJ-400G3E8Pdnb6ZFVYZA.png" /><figcaption>with content added</figcaption></figure><p>Let’s add some styling for our content. We want to give the logo some margin, style form fields and submit button, and align the footer information to the bottom of the page. To align content within a grid element, we use align-self for vertical alignment and justify-self for horizontal alignment. Some position values are start, center, stretch, end. For our footer, we’ll use end</p><pre>header .logo { margin: 10px 0; } <br>.login-form { width: 60%; } <br>.login-form p { color: #888; margin-bottom: 30px; } <br>.login-form label { display: inline-block; color: #444; } <br>.login-form input { display: block; height: 40px; width: 100%; padding-left: 10px; font-size: 18px; margin-top: 15px; border-radius: 5px; border: 1px solid #ccc; box-sizing: border-box; } .login-form div { margin: 20px 0; } <br>.login-form .forgot-password { float: right; }<br>.login-form .forgot-password a { color: #111; text-decoration: none; } <br>.login-form button { height: 50px; width: 100%; border-radius: 5px; border: 1px solid #27ae60; background-color: #27ae60; color: #fff; font-size: 18px; padding: 0 25px; } <br>.login-form button:hover { opacity: 0.9; color: #fff; } <br>footer { align-self: end; } <br>footer .author { font-size: 12px; }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iyb9HnwDgI3jgu6Ez5ZoJA.png" /><figcaption>isn’t this lovely? :)</figcaption></figure><p>We are done now eh? Not quite. We have not accounted for mobile displays/responsiveness. Sigh. Luckily, CSS grid supports responsiveness and its very easy to implement!</p><h3>Responsiveness</h3><p>We need to redefine our main container grid columns.</p><pre>grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));</pre><p>Now, we can see our columns are responsive. What changed?</p><p>The repeat helps us dynamically define multiple child elements column dimensions. It takes 2 parameters, the number of columns we want and the width. auto-fit helps with wrapping columns into a new row when they exceed the row width. minmax function lets us set what the minimum and maximum dimensions should be for child elements. In this case, we are telling the browser to use 320px as the min-width as the screen size reduces, while taking 1fr (full width) by default. Setting the min-width ensures our columns are not too small on mobile devices. <a href="https://medium.com/u/f7f8398c3660">Ire Aderinokun</a> has a good post on minmax (<a href="https://bitsofco.de/how-the-minmax-function-works/">https://bitsofco.de/how-the-minmax-function-works/</a>). This article is also helpful in understanding repeat (<a href="https://css-tricks.com/auto-sizing-columns-css-grid-auto-fill-vs-auto-fit/">https://css-tricks.com/auto-sizing-columns-css-grid-auto-fill-vs-auto-fit/</a>)</p><p>Lastly, let’s hide the right half of the page on smaller screens and let form take up the whole width using media queries.</p><pre><a href="http://twitter.com/media">@media</a> only screen and (max-width: 600px) { <br>#right { display: none; } <br>.login-form { width: 100%; } <br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*vkDDUSbhsK09fYzYxg9i3g.png" /></figure><h3>Performance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m6vp3k1R6Qe8O2PTfrgmcw.png" /><figcaption>chrome network tab showing requests</figcaption></figure><p>The former login page takes 10 seconds to load on slow 3G.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ALRvupVo5VmR6x0sBLdBgQ.png" /><figcaption>page load times for new design</figcaption></figure><p>The new login page takes 12.42 seconds to load on slow 3G. This is largely because we are loading a high fidelity image (272kb) and google font libraries. However, DOM Content loads in 2.34 seconds which is impressive.</p><p>Can we improve on this? I believe we can. We could have a gradient background on the initial page load and load in the background image once the page loads. Let’s get some CSS gradient backgrounds from <a href="https://webgradients.com/">https://webgradients.com/</a> and write some JS to load in the background image! :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TU4u4kojlvHZOQ5fpArs_Q.png" /><figcaption>without the image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9-Iy4vq5vgzN2U1NpRjPg.png" /><figcaption>with the CSS gradient background</figcaption></figure><p>Page loads in 6.45 seconds. Some improvement :). Keep in mind we are on slow 3G with caching disabled. Now let’s pull in the image background after the page loads.</p><pre>#right {<br>  background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);<br>  background-size: cover;<br>  background-repeat: no-repeat;<br>  background-position: center;<br>}</pre><pre>&lt;script type=&quot;text/javascript&quot;&gt;<br>   window.onload = function () {<br>     const right = document.getElementById(&quot;right&quot;);<br>     right.style.backgroundImage =&quot;url(https://medium.com/&#39;./assets/img/bgs/bg3.jpg&#39;)&quot;;<br>   }<br>&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XyJjhhMhhjldMk7-Cen6jw.png" /><figcaption>changing background after page loads</figcaption></figure><p>Yay! 7.12 seconds. I think we can call it a day :). But isn’t a static image every time going to be boring? Let’s add a random image function to give the user different images when they access the page. You might also notice a blank screen while the browser loads the image. We fix this by preloading the image, setting a temporary background color similar to the initial background and then replacing it with the new image once it has loaded.</p><pre>#right {<br>  background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);<br>  background-color: #fbc2eb;<br>  -webkit-transition:opacity 0.5s ease-in-out;<br>  transition:opacity 0.5s ease-in-out;<br>  background-size: cover;<br>  background-repeat: no-repeat;<br>  background-position: center;<br>}</pre><pre>&lt;script type=&quot;text/javascript&quot;&gt;<br>window.onload = function () {<br> function getRandomImage() {<br>  const images = [&#39;./assets/img/bgs/bg3.jpg&#39;, &#39;./assets/img/bgs/bg2.jpg&#39;];<br>  const randomIndex = Math.floor(Math.random() * images.length);<br>  return images[randomIndex];<br> }<br> const right = document.getElementById(&quot;right&quot;);<br>// load the image we want to replace the background with. helps to avoid a blank screen while browser loads image.<br> let image = new Image();<br>        <br> image.onload = function () {<br>  right.style.backgroundImage = &quot;url(https://medium.com/&quot;%20+%20image.src%20+%20&quot;)&quot;;<br> }<br> // get a random image<br> image.src = getRandomImage();<br>}<br>&lt;/script&gt;</pre><p>That’s all folks!</p><h3>Conclusion</h3><p>CSS Grid helps us define layouts and helps us add responsiveness to web pages without the need for bulky libraries with dependencies like bootstrap. It helps with faster load times which helps with a great experience for your user. Try it today. Please share your thoughts and questions below.</p><p>Source code: <a href="https://gist.github.com/segebee/2c0cd58ffe03ffe4849bf740ca50d1f4">https://gist.github.com/segebee/2c0cd58ffe03ffe4849bf740ca50d1f4</a></p><p>PS: Client name and related information were changed in this article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9037e91036f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solving Errors with Viewing React App from Docker Container on Mac Os]]></title>
            <link>https://medium.com/@segebee/solving-errors-with-viewing-react-app-from-docker-container-on-mac-os-2ecdd9d5f387?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ecdd9d5f387</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[docker-container]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Sun, 20 May 2018 15:42:02 GMT</pubDate>
            <atom:updated>2018-05-20T15:42:02.000Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dziXhyKQ0iWuDEqK." /><figcaption>“Frustration” by <a href="https://unsplash.com/@punttim?utm_source=medium&amp;utm_medium=referral">Tim Gouw</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The picture above best describes how I felt after battling with a React/Docker issue for days and not being able to solve it.</p><p>The issue?</p><p>We use Docker containers at work. This is essential for a remote team and everyone seemed to have their Docker setup working except me. I Googled and StackOverflowed and couldn’t figure out why I could not access my React App that was running in my Docker Container. As a Senior Developer at work, this was pretty embarrassing. I cursed at why Mac had to be so restrictive.</p><p>Then Voila! By a stroke of chance, I decided to change the ENV variables of the React app running in the Docker container. I changed the HOST value from <strong>localhost</strong> to <strong>0.0.0.0</strong> … which interestingly is what Docker shows on running <em>docker ps </em>on terminal. This worked!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_K6KHRiclG6CQeAtCKGTUg.png" /><figcaption>docker ps showing docker port binding</figcaption></figure><p>Its crazy, this work we do that make us pull our hairs out. However, I am happy to learn daily. I am sharing this hoping someone else finds this useful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ecdd9d5f387" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Relay Compiler Error: Expected undefined to be a GraphQL leaf type.]]></title>
            <link>https://medium.com/@segebee/relay-compiler-error-expected-undefined-to-be-a-graphql-leaf-type-1ea1b8691115?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ea1b8691115</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Fri, 09 Mar 2018 04:28:19 GMT</pubDate>
            <atom:updated>2018-03-09T04:28:19.846Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mcqtOe9qtLAkDuA2." /><figcaption>“A focused man working on a sticker-covered laptop in a coffee shop” by <a href="https://unsplash.com/@punttim?utm_source=medium&amp;utm_medium=referral">Tim Gouw</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The past 24 hours of my life have been very frustrating. Got fined at work and spent the whole day trying to debug an error with our React website.</p><pre>Expected undefined to be a GraphQL leaf type.</pre><p>The error was caused by the above line… and if you googled, there is hardly any help to be found.</p><p>Luckily, i found a fix.</p><p>I was using a String type for an id returned from the database… id: String and apparently that was the cause of the error. Sadly, the relay compiler author could not issue descriptive warnings or he assumed type of id would always be ID</p><p>To fix this make all id types ID e.g. id: ID</p><p>I hope this helps someone</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ea1b8691115" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yo! Medium what’s up with this Fake Paywall]]></title>
            <link>https://medium.com/@segebee/yo-medium-whats-up-with-this-fake-paywall-2bbeeb4859e1?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bbeeb4859e1</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[paywall]]></category>
            <category><![CDATA[monetisation]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Sun, 11 Feb 2018 14:53:15 GMT</pubDate>
            <atom:updated>2018-02-11T14:53:15.017Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S99-JW5aIiX-4hkO." /><figcaption>Photo by <a href="https://unsplash.com/@groosheck?utm_source=medium&amp;utm_medium=referral">Michał Grosicki</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I had not been on medium for sometime and I needed some inspiration which is abundant on Medium so I popped back in… I love to consume knowledge so I opened up different stories in different tabs and started reading.</p><p>All of a sudden I am greeted with a paywall asking me to subscribe to read the story. My initial reaction is anger. We live in a world where almost all the services are free online, no one really wants to part with money easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Mk3_1zde-L_Wi6xK." /><figcaption>“What you doing” <a href="https://unsplash.com/@willpower?utm_source=medium&amp;utm_medium=referral">William Stitt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As a developer, i know its probably tracking me based on cookies, so I launch the story in incognito mode on Chrome and voila the paywall is gone!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bTfGhO5wAWMJzzbz." /><figcaption>“A couple sits on the ground laughing in dry grasses near railroad tracks” by <a href="https://unsplash.com/@priscilladupreez?utm_source=medium&amp;utm_medium=referral">Priscilla Du Preez</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>What really is the point? Readers can easily bypass the paywall, which also means likely no feedback or engagement for authors. Heck, I even thought of building a Chrome extension that gets rid of the paywall.</p><p>I realize that monetization is a big issue for Medium, but I feel there are better ways to make money without forcing a paywall or ads; maybe have top authors and corporates pay a fee.</p><p>I see though that the monthly membership fee is meant for creators. Good idea but in a world with information overload, not sure many would pay $5 monthly for mostly average content. Imagine youtube charging users monthly fees?</p><p>I sincerely hope Medium figures out the monetization debacle. I love the new changes to medium such as the beautiful unsplash integration. Looking forward to a giphy integration.</p><p>I love Medium and I hope it lives on for a very long time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bbeeb4859e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When God doesn’t answer Prayers…]]></title>
            <link>https://medium.com/@segebee/when-god-doesnt-answer-prayers-5be92e114afb?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5be92e114afb</guid>
            <category><![CDATA[faith-and-life]]></category>
            <category><![CDATA[christianity]]></category>
            <category><![CDATA[prayer]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Sun, 11 Feb 2018 14:32:32 GMT</pubDate>
            <atom:updated>2018-02-11T14:32:32.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Um-tsSqoIHTGGTDQ." /><figcaption>Photo by <a href="https://unsplash.com/@davidbeale?utm_source=medium&amp;utm_medium=referral">David Beale</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It is a wet Sunday morning in the city of Lagos, Nigeria. A young man is worshipping at the Chapel of Christ Our Light, the University Chapel. The choir is singing worship songs and the young man caught in worship and speaking in tongues makes requests to God; amongst which is concerning a successful completion of a contract for one of Nigeria’s indigenous multinational conglomerate.</p><p>Then his mind flashes back to sometime last year when he was in a similar position praying about a contract. However, then it was to get the contract of an asian electronics powerhouse who wanted to build a mobile app for its sales staff. He recollects his continuous prayer requests during service back then and how he envisaged he would spend the money and how it would boost his company’s profile.</p><p>The contract never came.</p><p>The Nigerian MD who believed in local talent was replaced and the head office in Seoul decided to give the contract to their Dubai agency.</p><p>Lost in thought, he wonders why his hours in prayers didn’t get him the contract. Why did God not answer his prayers? Here he was praying again, the multinational his company was working for was also going to employ his services for a mobile app.</p><p>Then he realized, maybe God had answered his prayers by not answering them. If he had taken the contract, he would not have been able to build that same solution for others, which he could do now if he pleased. He realizes God has blessed him such that he could easily make what seemed like a big sum back then today. And realises like Steve Jobs said, we can only connect the dots looking backwards. Maybe someday he would realise why his prayer was not answered.</p><p>For now, he was grateful for having a great job, being a contractor to a multinational company and the beautiful serene atmosphere of the University of Lagos Lagoon front from whence he writes this post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5be92e114afb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Writing Challenge #beastMode]]></title>
            <link>https://medium.com/@segebee/a-writing-challenge-beastmode-af8da85a5198?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/af8da85a5198</guid>
            <category><![CDATA[writing-challenge]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Mon, 09 Jan 2017 00:50:27 GMT</pubDate>
            <atom:updated>2017-01-09T00:50:27.571Z</atom:updated>
            <content:encoded><![CDATA[<p>This year I really want to challenge myself to be 10 times better and go all out aggressively in making the world a better place.</p><p>#beastMode is the hashtag coined by <a href="https://medium.com/u/cc3d654f79ce">Victor Asemota</a> urging techies to be highly driven in achieving goals set for the year.</p><p>I want to write more this year; about fiction ( I miss this), tech and tutorials as well as life learnings.</p><p>Inspired by <a href="https://medium.com/u/83587523c29a">Orisirisi</a>, I want to start a writing challenge today the 9th of January, 2017. I will write at least once every week this year!</p><p>Let’s see how this goes :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af8da85a5198" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Donald Trump Taught Us #MAGA]]></title>
            <link>https://medium.com/@segebee/what-donald-trump-taught-us-maga-9e488a71e10?source=rss-2be33f45f1e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e488a71e10</guid>
            <category><![CDATA[united-states-of-america]]></category>
            <category><![CDATA[donald-trump]]></category>
            <category><![CDATA[politics]]></category>
            <dc:creator><![CDATA[Segebee]]></dc:creator>
            <pubDate>Thu, 10 Nov 2016 11:52:55 GMT</pubDate>
            <atom:updated>2016-11-10T11:52:55.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s7HIDSWPPOXARp3JB8hOkQ.jpeg" /><figcaption>Credit: Slate.com</figcaption></figure><p>Donald Trump has won the American Presidential Elections despite the media onslaught against him and polls which put Hillary Clinton as the winner.</p><p>I am excited and really happy even though I am Nigerian. I was rooting for Trump from day one.</p><p>I felt in love with Donald Trump from watching “The Apprentice” as I am sure most people did. He is such a great guy with an amazing personality and who truly cares for people.</p><p>However, during the elections the media painted a different Trump and I wondered if this was the same Trump I had fallen in love with. I however reasoned it might have been part of his strategy to create a movement, get people angry/passionate for CHANGE. (A similar strategy was used in the Nigerian Elections in 2015)</p><p>It was an interesting campaign and Trump was brash and forceful but he still had his personality and cared for people. You could see it at his rallies. He would see a kid in the crowd and ask that the kid be brought up to him. He tackled issues, sold fear/hope, was consistent on Hillary’s Email Scandal (signalling bad judgement), understood the people and sold them on ideals and patriotism.</p><p>So what do I think Donald Trump did right?</p><ol><li><strong>Have A ‘HUGE’ Vision</strong><br>“Make America Great Again” is a great vision that is a verb; drives people into action. People can easily buy into that especially as its patriotic.</li><li><strong>Be Real</strong><br>Donald Trump was himself, passionate and not political. Americans knew what they were getting with him unlike Hillary who was controlled and opaque.</li><li><strong>Have A Great Team</strong><br>Donald Trump had a great team working for him; he referenced this during his victory speech. Brilliant minds like Rugy Guillani, Gov Chris Christie, Ben Carson, The Trump Family and many others worked hard for him. If your former opponents can work for you, it says a lot!</li><li><strong>Care About People</strong><br>Donald Trump cared about people… you could see this at his rallies where he reached out to people and asked for children to be handed over to him. He also acknowledged that the Secret Service prevented him from coming in contact with as many people as he would have loved to.</li><li><strong>Work Hard!</strong><br>The story of Trump’s life is that he works hard, very hard! <br>For a billionaire, who left to me should be enjoying his wealth, Donald Trump was hard campaigning in Florida and other swing states. He was meeting the people regularly. This is a 70 year old man people!</li><li><strong>Strategy</strong><br>Donald Trump knew he had to target a particular segment and focused on that. He knew he had to win the swing states and spent the last days of the elections campaigning hard there.</li><li><strong>Luck</strong><br>After all is said and done, luck plays a vital role in success. Donald Trump was trailing in the polls days to the elections before FBI director, Comey wrote a letter to congress over Hillary’s emails which saw Trump rise in the polls. Wikileaks also released a trove of Podesta (Hillary’s Campaign Chief) emails.</li></ol><p>I have always loved America for as long as I remember and pray that the star spangled banner continues to fly.</p><p>God Bless America!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e488a71e10" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>