<?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 Abiodun Sulaiman on Medium]]></title>
        <description><![CDATA[Stories by Abiodun Sulaiman on Medium]]></description>
        <link>https://medium.com/@abiodunsulaiman694?source=rss-a2f0cacd9549------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*hGpi0B3e5UbuUxS8pGkPSw.jpeg</url>
            <title>Stories by Abiodun Sulaiman on Medium</title>
            <link>https://medium.com/@abiodunsulaiman694?source=rss-a2f0cacd9549------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 20:56:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abiodunsulaiman694/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[Styling in React]]></title>
            <link>https://medium.com/@abiodunsulaiman694/styling-in-react-2782de493252?source=rss-a2f0cacd9549------2</link>
            <guid isPermaLink="false">https://medium.com/p/2782de493252</guid>
            <category><![CDATA[css-in-js]]></category>
            <category><![CDATA[styled-components]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[styling]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Abiodun Sulaiman]]></dc:creator>
            <pubDate>Mon, 12 Mar 2018 05:42:16 GMT</pubDate>
            <atom:updated>2018-03-12T07:14:22.457Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m9pXYm_5wA5oUQHosGN2ow.jpeg" /></figure><p><a href="https://reactjs.org/">React is a JavaScript library for building user interfaces.</a></p><p>React introduces a no of new paradigms, a major one is JSX(JavaScript Extension).<br>JSX helps us write HTML-like syntax in JavaScript. That alone is a paradigm shift for many. A simple React Component might look as simple as this:</p><pre>class HelloWorld extends React.Component {<br>  render() {<br>    return (<br>      &lt;div&gt;<br>        Hello, {this.props.name}<br>      &lt;/div&gt;<br>    );<br>  }<br>}<br><br>ReactDOM.render(<br>  &lt;HelloWorld name=&quot;React&quot; /&gt;,<br>  document.getElementById(&quot;root&quot;)<br>);</pre><p>Asides this is the need to style the components, keeping in mind that ‘CSS’ is to be written within a JavaScript environment.</p><p>While many options exist to style React Component, I will give a few. However, one thing to note is that the very essence of Components are to make them independent and reusable, as long as they receive the right props. Meaning, the styles for a component should, mostly, be within the component. The options:</p><p><strong>1. Inline Styling</strong></p><p>Every component can receive the ‘style’ props, and the value will be a JavaScript object. The keys will be a camelCased version of their CSS counterpart and the values as string. A simple example with our HelloWorld component.</p><pre>import React from &#39;react&#39;;</pre><pre>class HelloWorld extends React.Component {<br>  render() {<br>    return (<br>      &lt;div style = {{fontWeight: &#39;bold&#39;, color: &#39;red&#39;}}&gt;<br>        Hello, {this.props.name}<br>      &lt;/div&gt;<br>    );<br>  }<br>}<br><br>ReactDOM.render(<br>  &lt;HelloWorld name=&quot;React&quot; /&gt;,<br>  document.getElementById(&quot;root&quot;)<br>);</pre><p><strong>2. Component based Styling</strong></p><p>Writing styles in every div within a component can quickly become boring if you have to write it more than once. Hence, we can declare a constant for the styles and reuse them within the component. An example:</p><pre>import React from &#39;react&#39;;</pre><pre>const styles = {<br> hello: {<br>  fontWeight: &quot;bold&quot;,<br>  color: &quot;red&quot;<br>};</pre><pre>class HelloWorld extends React.Component {<br>  render() {<br>    return (<br>      &lt;div style={styles.hello}&gt;<br>        Hello, {this.props.name}<br>      &lt;/div&gt;<br>    );<br>  }<br>}<br><br>ReactDOM.render(<br>  &lt;HelloWorld name=&quot;React&quot; /&gt;,<br>  document.getElementById(&quot;root&quot;)<br>);</pre><p><strong>3. Import StyleSheet</strong></p><p>If writing CSS-in-JS seems strange to you, you could write your regular css and import it into React.</p><p>styles.css</p><p>.hello { font-weight: bold; color: red;}</p><p>Then, our HelloWorld component becomes</p><pre>import React from &#39;react&#39;;<br>import &#39;./styles.css&#39;;</pre><pre>class HelloWorld extends React.Component {<br>  render() {<br>    return (<br>      &lt;div className=&quot;hello&quot;&gt;<br>        Hello, {this.props.name}<br>      &lt;/div&gt;<br>    );<br>  }<br>}<br><br>ReactDOM.render(<br>  &lt;HelloWorld name=&quot;React&quot; /&gt;,<br>  document.getElementById(&quot;root&quot;)<br>);</pre><p>Notice the use of ‘className’ as ‘class’ is a reserved word in JavaScript.</p><p><strong>4. Styled components</strong></p><p>Styled components is a package that will have to be installed in your application by running</p><p>npm install --save styled-components</p><p>Then, you create a variable by selecting a particular html element where the style keys are store. To style a div looks like: const Div = styled.htmlElement`color: red`</p><p>Then, the name of the variable used like a react component with children: &lt;Div&gt;&lt;/Div&gt;</p><p>Then our HelloWorld component becomes:</p><pre>import React from &#39;react&#39;;<br>import styled from &#39;styled-components&#39;;</pre><pre>const Paragraph = styled.p`<br>  font-weight: bold;<br>  color: red;<br>`;</pre><pre>class HelloWorld extends React.Component {<br>  render() {<br>    return (<br>      &lt;Paragraph&gt;<br>        Hello, {this.props.name}<br>      &lt;/Paragraph&gt;<br>    );<br>  }<br>}<br><br>ReactDOM.render(<br>  &lt;HelloWorld name=&quot;React&quot; /&gt;,<br>  document.getElementById(&quot;root&quot;)<br>);</pre><p>React makes no assumptions about how you choose to style your document, and whichever method you prefer after considering the pros and coins would boil down to preference.</p><p>For more comprehensive details, check out the docs:</p><ul><li><a href="https://reactjs.org/docs/dom-elements.html#style">DOM Elements - React</a></li><li><a href="https://www.styled-components.com/docs">styled-components: Documentation</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2782de493252" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Be The Competition]]></title>
            <link>https://medium.com/@abiodunsulaiman694/be-the-competition-6fb600bc9472?source=rss-a2f0cacd9549------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fb600bc9472</guid>
            <category><![CDATA[malls]]></category>
            <category><![CDATA[competition]]></category>
            <category><![CDATA[wearables]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Abiodun Sulaiman]]></dc:creator>
            <pubDate>Sun, 11 Mar 2018 21:13:38 GMT</pubDate>
            <atom:updated>2018-03-11T21:13:38.745Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fiz6GxUM0mSPDYqZ3v8emw.jpeg" /></figure><p>Technology changes and trends breed or collapse industries.</p><p>Disruptive technologies have a potential of birthing great industries, while making others obsolete.</p><p>Not long ago, big malls were studied as samples of successful business strategies. However, online malls with fewer overheads changed the game.</p><p>The first instinct of man is to protect himself. Hence, when a business is challenged by a disruptive technology, the business owner tends to defend him/herself against the change, but that only lasts for a while.</p><p>So, what should a wise business man do: Lead or Join the change, fast. Be the competition.</p><p><strong>A few examples:</strong></p><p><a href="https://www.theguardian.com/business/2012/jan/19/kodak-bankruptcy-protection">Kodak</a>, the Digital Camera pioneering company declared bankruptcy, as a major share of their market was taken over by smart phones.</p><p><a href="https://www.cnbc.com/2017/09/23/here-are-the-retailers-that-filed-for-bankruptcy-protection-in-2017.html">Toys R Us is the latest of American mall to close shop and declare bankruptcy</a> in response to the threat of online giants like Amazon.</p><p>Why couldn’t the digital camera company cross over to the mobile phone market and lead the competition?</p><p>Why couldn’t the big malls switch their business to the online model and challenge their own business model by responding to the changing times?</p><p>Change is hard.</p><p><strong>What’s on the horizon?</strong></p><p>The rise of smart watches and wearables like <a href="https://www.apple.com/lae/watch/">Apple Watch</a>, <a href="https://www.samsung.com/us/mobile/wearables/all-wearables/s/_/n-10+11+hv1rr/">Samsung Gear</a>… could challenge traditional luxury watch and wearable companies like <a href="https://www.rolex.com/">Rolex</a>, <a href="https://www.montredo.com/en/watch-magazine/top-10-swiss-watch-brands/">Swiss watch</a>. Hence, it is smart that they don’t ignore or resist the revolution, but lead it.</p><p>Digital shopping will slowly, but surely, become the norm in Africa, since Internet has made the world a Global place. African malls should learn from their western companion and lead the digital revolution while they still can.</p><p>As research increases in the direction of alternative energy and transportation, alternative energy and transportation will become really cheaper. Hence, oil companies should invest in alternative energy and lead the change</p><p>Will alternative transportation, driverless cars… ever be a norm? When? The technologies we take for granted today were considered crazy yesterday.</p><p>The bottom line remains that what worked yesterday is not guaranteed to work today, and trying to resist the change doesn’t last. Rather, it is better to be your own competition, than allow a stranger to. Challenge your own business model, redefine your business. Be flexible to change.</p><p><strong>Be your own competition.</strong></p><p><em>I would like to know your thoughts in the comments. Thank you.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fb600bc9472" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Paradigm Shift: Power Distribution in Nigeria- A Case Study of Nigeria’s Telecoms Sector.]]></title>
            <link>https://medium.com/@abiodunsulaiman694/paradigm-shift-power-distribution-in-nigeria-a-case-study-of-nigerias-telecoms-sector-55004472f00c?source=rss-a2f0cacd9549------2</link>
            <guid isPermaLink="false">https://medium.com/p/55004472f00c</guid>
            <category><![CDATA[nigeria]]></category>
            <category><![CDATA[telecommunication]]></category>
            <category><![CDATA[power-distribution]]></category>
            <category><![CDATA[power]]></category>
            <category><![CDATA[distribution-company]]></category>
            <dc:creator><![CDATA[Abiodun Sulaiman]]></dc:creator>
            <pubDate>Mon, 18 Sep 2017 10:39:42 GMT</pubDate>
            <atom:updated>2017-09-18T11:06:55.116Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*gx56Xs4tjSisCo1-yiS4CA.jpeg" /></figure><p>2 major sectors of the <a href="https://en.wikipedia.org/wiki/Economy_of_Nigeria">Nigerian economy</a> that are well known to any Nigerian are The Power Sector and The Telecommunications Sector.</p><p>While the Power sector is far from desired by many Nigerians, the Telecommunication sector has steadily grown into a sector that has been ingrained into the daily lives of an average Nigerian.</p><p>However, less than 2 decades ago, the telecommunication sector was a shadow of itself with only one national carrier, <a href="https://en.wikipedia.org/wiki/NITEL">NITEL</a>, offering fixed lines that were not effective.</p><p>The sector changed with the introduction of new technology, mobile phones, and privatization. The sector immediately became attractive to investors and competitors. The sector became even more competitive with the introduction of number porting, where a customer can switch providers without losing his phone number, making telecoms providers to be on their toes, stay innovative and develop the sector better.</p><p>The power sector, also, has gone through some restructuring and ‘privatization’, but the sector remains largely uncompetitive and monopolized, which is responsible for the lack of innovation and gross customer dissatisfaction in the sector.</p><p>For example, a Nigerian in Abuja(Federal Capital Territory, Nigeria) has no alternative to <a href="http://www.abujaelectricity.com/?page_id=971">AEDC(Abuja Electricity Distribution Company)</a>, a customer in Ibadan(Oyo State, Nigeria) can only choose IBEDC(Ibadan Electricity Distribution Company) if he wants electricity from the grid, regardless of whether he is satisfied with their services or not. A merchant is not likely to innovate as expected when he is assured of customer loyalty, regardless of what he does.</p><p>Proposed Solution</p><p>While the possibilities of <a href="https://en.wikipedia.org/wiki/Wireless_power_transfer">wireless electricity</a> remain futuristic and concern to researchers, the power sector could learn from the way the telecoms providers power <a href="https://en.wikipedia.org/wiki/Optical_fiber">fiber optics</a>, which is being laid by major telecoms providers in the country:</p><p>A distribution company, once he has fulfilled all regulatory requirements could invest in laying distribution cables underground, similar to how telecoms companies lay fiber optics across areas he wishes to distribute to. Vendors could lease out their cables to other vendors, as seen in the telecoms company and reach out to convenient terminals where customers could have a choice of electricity distribution vendors to choose from.</p><p>The customer would have a meter(similar to a mobile phone) where they could insert the electricity cards(similar to <a href="https://en.wikipedia.org/wiki/Subscriber_identity_module">SIM cards</a>) of any electricity service provider into the meter, then recharge the card(Similar to mobile phone recharge cards) from the provider of their choice.</p><p>Hence, if a provider is down, the customer can easily switch loyalty and insert the card of the next available provider. This could even lead to meters that support multiple cards(like multi-SIM phones) and auto switch from an unavailable provider to the next available provider.</p><p>Concerns:</p><p>The security of the underground cables would be a major concern, but as the telecoms providers also have managed the many cases of vandalism of their cables and found ways to reduce it to the barest minimum and fix the damage in the shortest possible time, knowing it directly bears on their market, the electricity providers would also do the same, if it directly affects their balance sheet.</p><p>This will drive innovation in the system, ensuring effectiveness and customer satisfaction.</p><p>While Government regulations, Generation and Transmission play critical roles in Power Sector success, the distribution represents the part that directly interfaces the customer and I believe this approach will greatly improve the Nigerian Power Sector.</p><p>What’s your take on this? Please, let me know in the comment.</p><p>Thank you.</p><p><a href="https://medium.com/u/84b16057e501">Office of the Vice President of Nigeria</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55004472f00c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why School is Impractical]]></title>
            <link>https://medium.com/@abiodunsulaiman694/why-school-is-impractical-844c190c2796?source=rss-a2f0cacd9549------2</link>
            <guid isPermaLink="false">https://medium.com/p/844c190c2796</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[education-technology]]></category>
            <category><![CDATA[education-reform]]></category>
            <dc:creator><![CDATA[Abiodun Sulaiman]]></dc:creator>
            <pubDate>Tue, 22 Aug 2017 10:58:03 GMT</pubDate>
            <atom:updated>2017-08-22T10:58:03.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CtLev45Ki8HLB5cpaoonow.jpeg" /></figure><p>I recently had a few university students come to our training center, <a href="https://www.google.com.ng/maps/place/Brytahub+Ict+Training/@8.9491565,7.0717265,15z/data=!4m5!3m4!1s0x0:0xb647b0952646de17!8m2!3d8.9491565!4d7.0717265">BRYTAHUB</a>, to figure out a programming assignment they had. And, as expected, it’s some assignment on elementary programming in BASIC, FORTRAN…</p><p>I got a bit concerned and asked:</p><ul><li>Who uses the BASIC programming language in the real world aside from the theory-based university walls?</li><li>What is the purpose of teaching a university student in the 21st century studying computer science programming language that has no relevance to the real-world?</li><li>Why is the educational curriculum in our universities unchanging when the I.T. world changes every day.</li><li>What is wrong with teaching these students actual programming languages like Java, Python, Mobile Application development, even Web design that has a relevance to the real-world.</li><li>Are we serious about the future when our students still write programs on paper and their lecturers ‘debug’ code on paper?</li></ul><p>I cringe when I think about all these things, and ask if we are really preparing for the future?</p><p>I had a computer science graduate tell me he believed he wasted all his years in school. He left school to find out that the real-world demands something totally different from his expectations in school.</p><p>Imagine a computer science student graduating from our higher institutions of learning who:</p><ul><li>Already, is good in at least, one Object-Oriented Programming(OOP) Language like Java</li><li>Is a master in building and developing web applications</li><li>Has built and deployed working mobile applications across platforms</li><li>Understands the I.T. ecosystem and how what he does relates to other professionals in the industry</li><li>… and much more</li></ul><p>Such a graduate is already equipped for the future, can generate his own income and any organization would be glad to engage such.</p><p>What we do in I.T. Training institutions like <a href="https://www.google.com.ng/maps/place/Brytahub+Ict+Training/@8.9491565,7.0717265,15z/data=!4m5!3m4!1s0x0:0xb647b0952646de17!8m2!3d8.9491565!4d7.0717265">BRYTAHUB</a> is to fill the space that the educational system has left void and left unattended. The unfaced realities</p><p><em>I believe our educational institutions need a paradigm shift from just teaching theories to actually prepare students for the real world, which is the reason for coming to school in the first place.</em></p><p>How do you think we can best prepare the next generation for the real-world? I’ll like to have your reply in the comments</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=844c190c2796" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>