<?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 Kingsley Aguchibe on Medium]]></title>
        <description><![CDATA[Stories by Kingsley Aguchibe on Medium]]></description>
        <link>https://medium.com/@kingsleyaguchibe?source=rss-68b9c58861b0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6_CmvyKMm7W-rtPr-Rqx7A.jpeg</url>
            <title>Stories by Kingsley Aguchibe on Medium</title>
            <link>https://medium.com/@kingsleyaguchibe?source=rss-68b9c58861b0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 09:36:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kingsleyaguchibe/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[Intermittent fasting explained for amazing fitness lifestyle]]></title>
            <link>https://medium.com/@kingsleyaguchibe/intermittent-fasting-explained-for-amazing-fitness-lifestyle-eccec2f3ec3?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/eccec2f3ec3</guid>
            <category><![CDATA[fitness-lifestyle]]></category>
            <category><![CDATA[fitness]]></category>
            <category><![CDATA[weight-loss-tips]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[intermittent-fasting]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Thu, 06 Dec 2018 09:19:04 GMT</pubDate>
            <atom:updated>2018-12-06T22:34:41.142Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*W1LfeVfJydVWVFiu.jpg" /></figure><p>I had an extra piece of flesh right above my waist. I wanted to get rid of it but it couldn’t just go away!. Even though I exercised like a beast, the somewhat useless piece of flesh wouldn’t let me feel great. Then, I did a research and found out what the problem was. I ate a lot.</p><p><strong>Intermittent fasting is a pattern of eating that focuses on the <em>time</em> we eat or not eat. It is a very powerful pattern that can greatly induce the fat-burning hormone, and also, it reduces insulin accumulation in our body. Apart from being one of the most important factors in weight loss, it helps in memory improvement. When combined with the proper exercise, intermittent fasting brings a tremendous improvement in our fitness lifestyle.</strong></p><p>Before I used to crave for a lot of things — popcorn, groundnuts, chips, and a bunch of other sweet stuff. I fact, there was a time where I would not be hungry but my mouth was. Then, I would look for something eat, in order to entertain my mouth.</p><p>This went on in my life until I discovered the power of intermittent fasting. The truth is, since I started doing it, I don’t crave for things anymore. In fact, the other day, I stayed for 27 hours without eating. And what amazes me most is that I didn’t feel tired while on this no-food mode.</p><p>This doesn’t surprise me though. Because I Knew I was spending fats that have already accumulated in my body. So, I had nothing to lose.</p><p>This is not just about me. We’re here to talk about how you can also do this, and the benefits you’re going to get from it. If you’re already excited about this, let’s get into it right away.</p><blockquote><em>Now, questions you might have about intermittent fasting are going to be answered here.</em></blockquote><h3>What are the benefits of intermittent fasting?</h3><p>For you to fully get committed to this pattern of eating, you need to know the benefits. <strong>Intermittent fasting is a great tool that can help you lose weight faster</strong>. When it comes to weight loss, most people usually get straight into the exercise part. And then, they would forget the most important factor — which is getting healthy first to lose weight later.</p><p>Intermittent fasting helps us in a lot of ways when it comes to getting healthy. For example, when we eat, our pancreas releases insulin to help our body <strong>make energy out of sugars (glucose).</strong> This means that our body lives on the glucose in our body. But then, the particles of fats in the food we ate are stored for future use.</p><p>“Stored for future use”. This future will never come when we eat something like 6 meals a day. What is this telling you? It’s telling me that our smart body system keeps storing fat for us — for us to use them later, not knowing that we’re not going to need them because we eat too many times in a day.</p><p>Now you’re seeing where this is going. The power/benefits of intermittent fasting. If only we can reduce the amount of time we eat, if only we can let our body make use of the fats it already stored for the future, we’re going to be just fine.</p><p>Again, this boils down to the level of metabolism in your body system. So, you could consult a specialist before embarking on this pattern of eating. Although you can always experiment on your body through trier and error to see what works and what does not. Apart from this tremendous benefits of intermittent fasting in weight loss, it helps in memory improvement.</p><blockquote><em>Mind clarity is one of the goodies that intermittent fasting offers. Scientists have proved that the kind of energy that our brain enjoys the most is the one that comes from fats.</em></blockquote><p>I’m not going to try to prove this to you, but I can always tell you from experience that this is true. Intermittent fasting allows us to run on fats instead of glucose.</p><p>Besides, what good does it do to us — the excess food we eat? They only take energy from us and make us grow bigger.</p><p>With intermittent fasting, there are a lot more things we can get apart from the very few listed above. So, try and see them yourself. Take this as a challenge. Now let’s go to the next question.</p><h3>How long should I do intermittent fasting?</h3><p>This depends on how often you eat in a day. Generally, the beginning of this pattern of eating is hard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*euJpJaw0fp1v4jdo.jpg" /></figure><p>If you’re a beginner, and you take snacks between meals, the ideal thing is to cut off those snacks. This is hard because you’re going to crave for those things you’re used to eating before.</p><p>When you cut off snacks, you’re now eating the normal 3 times a day. Perfect!</p><p>Now, try to extend the period between breakfast and launch. This is ridiculous. Yes, I know, because we believe that breakfast is the most important and now we’re skipping it. Breakfast is not that important. Not when you already have some fats to run on.</p><p>This is the best start for beginners. But if you claim to be a no beginner, you can jump into the 16:8 pattern. What does this mean? It means that you fast for 16 hours.</p><p>Let’s say you take breakfast by 8:00 AM, you’re not going to eat again until 4:00 PM. That is 8 hours fast. Then, no food again till the next morning, which is 16 hours of fast.</p><p>As a pro, you can do the 20:4 pattern. As for me, I do 24:0, which does not surprise me because I’ve got lots of fats in me.</p><p>These too much fats and too much eating could explain the reason why some people have pimples on the face. Hmm, I need to research on this. Anyway, let’s get to the next question.</p><h3>How much can you lose on intermittent fasting?</h3><p>This depends on your body system. In fact, you could lose <strong>nothing</strong>. But with <em>consistency</em> and <em>patience</em>, you <strong>must</strong> see some differences. So, don’t give up yet. Remember, you’re getting healthy before losing weight.</p><h3>Can you drink on intermittent fasting?</h3><p>Yes. You can drink. But the drink shouldn’t contain sugars. The drink is to keep you hydrated. If it contains sugar or something more than 50 calories, there would be no point fasting again because your body is going to work those calories. I hope this makes sense.</p><h3>Can I chew gum during intermittent fasting?</h3><p>No. I know this sounds so hard and boring — staying for 16 hours without servicing the mouth. Chewing gum sounds like a good idea but it is going to make fasting harder. What about sugarless gum? I would say, if you can, avoid gums.</p><h3>How often should you do intermittent fasting?</h3><p>There’s no perfect formula for everybody on this. The perfect solution is to only eat when you’re really hungry. When you feel that you really need some food.</p><p>This is hard because we sometimes don’t know whether we’re really hungry or not. Why is this? The brain craves for whatever it enjoys. <strong>Dopamine</strong>. This explains why some people get addicted to certain things.</p><p>Because you use to take snacks before, your brain must crave for it. This is why intermittent fasting is hard. Knowing when you’re really hungry and when you’re just craving for stuff can help you a lot. I hope this makes sense to you.</p><h3>Conclusion</h3><p>There are still many questions about intermittent fasting that are still unanswered. But you’ve now got the basic ideas to help you get started. The benefits are the most important part because it’s going to make you want to do it in the first place.</p><p>Intermittent fasting is a great tool that can help us in lots of ways if practiced correctly.</p><p>I hope I was able to answer the questions you had in your mind before dropping by. If I was not, feel free to drop your questions below. Thank you and don’t allow excess fats to bury your awesome self.</p><p><em>Originally published at </em><a href="https://fitnessdopamine.com/2018/12/06/intermittent-fasting-explained-for-amazing-fitness-lifestyle.html"><em>fitnessdopamine.com</em></a><em> on December 6, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eccec2f3ec3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fitness Motivation Quotes You Need To Know Now]]></title>
            <link>https://medium.com/@kingsleyaguchibe/fitness-motivation-quotes-you-need-to-know-now-7133b288ea22?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7133b288ea22</guid>
            <category><![CDATA[fitness]]></category>
            <category><![CDATA[fitness-motivation-quotes]]></category>
            <category><![CDATA[weight-loss]]></category>
            <category><![CDATA[fitness-lifestyle]]></category>
            <category><![CDATA[exercise]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Wed, 05 Dec 2018 00:24:51 GMT</pubDate>
            <atom:updated>2018-12-05T02:25:17.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*nM8zE9lQKuI2OEHH.jpg" /></figure><p>I’m really glad you’re here. Today, We’re going to… I don’t event know how to present this. Should I go the funny route or the professional route?</p><p>Oh! We can do the two at the same time. Let’s see how it goes.</p><p>I’m going to present to you some quotes with a background image. Then I will say few things about the quote.</p><p>When I’m done with my part, it will be your turn — in the comment section below👇</p><h3>Fitness motivation quotes</h3><h3>Bigger than the world</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9IOz-KmVfluNyEKG.jpg" /></figure><blockquote><em>You’re bigger than the world. This doesn’t mean you’re really “BIG”. It means you can take the bullshits the world throws at you and still have some reserved strength to deal with some other bullshits</em></blockquote><p>This is so true. If you’still moving on, it means you’re bigger than the world. If you can deal with the world on your own, without waiting for anybody, it means you’re bigger than the world.</p><p>And the best way to grow bigger than the world is to keep fit. Be fit and you’ll be able to handle problems like a pro. I hope this makes sense. Let’s keep going.</p><h3>Food particles on the teeth</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iOL0eotXMXTjl6E7.jpg" /></figure><blockquote><em>I’ve got huge biceps and triceps not because I workout a lot. But because I spend hours brushing my messed up teeth</em></blockquote><p>I was actually laughing when I was designing this one. Mr Keleton eats a lot. He enjoys eating Candies, Potato Chips, Breads, Dried Fruits, alcohol and smoking. But then, for Mr Keleton to keep his teeth clean, he needs to brush more than twice a day.</p><p>That’s how he got his biceps and triceps. He’s lucky though. He doesn’t need the gym anymore.</p><h3>Exercises are punishments</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-iA1CuP4nP18ySbI.jpg" /></figure><blockquote><em>Exercises are punishments. Yes! They are. Unless you’re willing to prove me wrong. You gonna win anyway. So, no need trying…</em></blockquote><p>There’s nothing much to say here. If Exercises/working out seem like punishments to you, it means you’re not doing it right.</p><p>Read this <a href="https://fitnessdopamine.com/2018/11/28/how-to-enjoy-working-out-and-fitness-sessions.html"><strong>article</strong></a> about how to enjoy fitness sessions. I hope it helps.</p><h3>The urge to eat</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pzmfe_9AfcQcmWd2.jpg" /></figure><blockquote><em>The hardest part of keeping a fitness lifestyle is waiting to really get hungry before you can actually eat</em></blockquote><p>This might not be a big deal to you, but for a former junk foods master like me, it’s a very big of a deal.</p><p>Now I’m enjoying eating less than I used to eat before. You can do this too.</p><p>Reduce the amount of times you eat. No snacks — you’d see how hard it is, especially if you snack out of boredom.</p><p>I wish you good luck on this one. Oh, I’ve got an article that talks about this. <a href="https://fitnessdopamine.com/2018/11/27/strong-fun-fitness-facts-that-will-change-your-life.html"><strong>Check it out!</strong></a></p><h3>Being lazy is sweet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_PEAsNGHA9sMzPjc.jpg" /></figure><p>Haha! I misspelled ‘until’ in that image. It’s okay. That shows that I’m a human 😆</p><blockquote><em>Being lazy is sweet. Until you realize you’re too awesome to be lazy. What a wasted time and opportunity. And then the regrets</em></blockquote><p>The regrets of wasted time and opportunities. You could have stopped those junk foods but you keep hoping to do it tomorrow. You could have started a fitness session but you claimed to be too busy. No offence. I’m not saying that you’re not busy. We all are.</p><p>But if you’re truly committed to what you want, being “too busy” is not enough reason to keep you unfit.</p><p>Let’s just admit that we’re lazy. Thanks to nature, the regrets are whooping our butts. They light fire under out butts.</p><p>So, always listen to the emotions of regrets. Get up and do something. Taking immediate actions will always be better than waiting for tomorrow.</p><h3>You can’t get it by looking or thinking</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j0PAsv7V2tzVoa0w.jpg" /></figure><blockquote><em>You can’t get it by looking at it. You can’t also get it by thinking about it. You need to take actions. That’s the best way. Unless of course you’ve some psychic powers</em></blockquote><p>Anytime you start to think whether to go for a workout or not, this is what you need to do. Just stop thinking. Go for the workout, then think whether to go or not to go while you’re already working out.</p><blockquote><em>Sometimes, the pain of thinking of doing something is more than the pain of doing the thing</em></blockquote><p>Take actions. Thinking is cool but not enough. Our minds are more powerful than we think. Yes. But if we don’t take actions, we’re just daydreaming.</p><h3>Conclusion</h3><p>Those quotes are not the best you can get but I believe you’ve learned something or perhaps you’ve been reminded of what you already know. Whichever one, I thank you for doping by.</p><p>Now is your turn to take actions. Consider sharing your thoughts in the comment below. Share this post with your friends.</p><p>Thank you.</p><p><em>Originally published at </em><a href="https://fitnessdopamine.com/2018/12/05/fitness-motivation-quotes-you-need-to-know-now.html"><em>fitnessdopamine.com</em></a><em> on December 5, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7133b288ea22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to enjoy workouts, exercises and fitness sessions]]></title>
            <link>https://medium.com/@kingsleyaguchibe/how-to-enjoy-workouts-exercises-and-fitness-sessions-729ef72e8d62?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/729ef72e8d62</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[exercise]]></category>
            <category><![CDATA[workout]]></category>
            <category><![CDATA[weight-loss]]></category>
            <category><![CDATA[fitness]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Wed, 28 Nov 2018 14:51:50 GMT</pubDate>
            <atom:updated>2018-11-29T11:29:05.855Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*wctZxKRwJT0GGiXr.jpg" /></figure><p>Before you go to bed the other night, you made up your mind you would have a fitness session the next morning. Your fitness sessions could be hitting the gym, running across street, body-weight training you do beside your house or even in your room, or maybe anything else.</p><p>But that same morning you hoped to get some sweats roll down your eye brows, you discovered that your bed is more enjoyable than anything else in the world. So, you relaxed and enjoyed the morning sleep.</p><p>You’re probably busy and didn’t go for your fitness session because you’re tired. I get it. Almost everybody is busy but there’re some people who don’t feel right without going to the gym. Seriously. You may call them fitness addicts.</p><p>I mean, how can someone get addicted to fitness — even though keeping fit is hard and boring? We’ll find an answer to that soon enough.</p><p>If keeping fit is not hard and boring to you, then there’s almost no point reading this article. But, you could stick around just for the fun of it, plus, there’s always new things to learn.</p><p>At least I can tell you three <strong>strong</strong> reasons why you failed to have your fitness sessions</p><h4>1. You need to change your habits and build self-discipline</h4><p>Breaking bad habits, building good ones and developing self-discipline are very important. Fortunately for us, there’s an eBook that talks exactly how to do these. So, check it out <a href="https://www.amazon.com/dp/B07HP2SF5N">here</a></p><h4>2. You haven’t seen enough reasons to keep to your fitness program or even, to start</h4><p>keeping fit in the first place. In this case you need an extra motivation. Fortunately for us again there’s an article <a href="https://fitnessdopamine.com/2018/11/27/strong-fun-fitness-facts-that-will-change-your-life.html">here</a> that covers this just fine.</p><h4>3. The third reason, which we are going to talk about today is that you don’t enjoy your workout/fitness sessions.</h4><p>Let’s get to this real quick and talk about how to enjoy keeping fit. This is going to be very interesting because I’ve asked lots of people what keeps them going in their fitness sessions and they’ve got these replies…</p><ul><li>Employ the reward and consequence mechanism</li></ul><p>This is the same principle the dopamine in our brains use. What this means is that we can use this to our advantage. You already know the importance of keeping fit. You only need to reward yourself with something you like after a successful fitness session.</p><p>This acts like a magic. It will make your brain crave for the reward and somehow forget about the pain of the actual fitness session — remember, keeping fit is hard and boring, to some people though.</p><p>You can also punish yourself when you fail to go for your fitness session. I’m not saying you should be harsh to yourself. Humans are not perfect. So, take it easy on yourself and enjoy your life.</p><ul><li>Workout with some music on</li></ul><p>This helps to keep your mind off the pain. You follow the rhythm and you’d be just fine.</p><ul><li>Do something that suits you — something you somehow enjoy</li></ul><p>I like to add some footwork/dance steps in my workout. Maybe you should do this too. It’s good for the brain and the body. Also, I don’t like lifting weights because I hate huge muscles.</p><p>The point of this is that you find what you like doing. Don’t do yoga because your friend is into yoga already.</p><p>If you don’t enjoy your fitness training, there’s a huge chance that you’d wake up one morning and discover there’s nothing in the world that’s more enjoyable than your bed.</p><ul><li>Find a perfect time for yourself</li></ul><p>All of us a busy. This calls for the need to find the time suitable for your workouts. It mustn’t be in the morning. Evening sessions are cool too.</p><ul><li>Keep track of your progress</li></ul><p>This motivates you to keep going. But only if you’ve done it long enough to see results of your efforts. This is because keeping fit is not a one-day-thing.</p><ul><li>Don’t expect too much</li></ul><p>When you couldn’t meet your expectations, it is easy to just give up with the conclusion that your workouts ain’t working. What I suggest you do is to set a goal instead of expecting too much.</p><p>When you set an achievable goal and keep track of your progress, it is easier to get up and go get sweats rolling down your eye brows</p><ul><li>Seek external motivations</li></ul><p>Okay. I want you to know this:</p><blockquote><em>Sometimes it’s more painful to think about doing something than actually doing the thing.</em></blockquote><p>What this means is that it might be more painful to think about working out than the actual workout. Our brains are tricky — they are so to protect us though.</p><p>So, get motivated and go straight into it instead of just thinking too much. Actions first — then you can think whether to go for a workout or not, only when you’re already working out. You see? It simple!</p><ul><li>Do not try to get everything in one day</li></ul><p>Almost everything follows some kind of progression. Start small and progress little by little. Adding more challenge everyday. This is how you make working out part of your lifestyle.</p><ul><li>Workout with the company of others</li></ul><p>Either you signed up for a fitness training class or you just go with your friend(s), the company of others makes us not to feel lonely. Some people even prefer to go with their pets. And, your company might motivate you too.</p><ul><li>Do not compare</li></ul><p>This is very dangerous to humans — comparing ourselves to others. Just because a guy on YouTube did 100 push ups doesn’t mean you can do it right away. You don’t know when the crazy dude started practicing.</p><p>This thing has taught me a lesson. When I was learning how to flip, I followed this guy on YouTube. His flips were so perfect but mine ain’t so smooth. I could get the moves but I wanted to work on the smoothness.</p><p>So, one day I said to myself: ‘What does this guy have that I don’t have. All the stretches he did I could do them too. So why can’t I just get this thing right? Then I decided to just ‘get it right’. Bam! I broke my leg 😓</p><p>Ever since then, I stopped comparing myself to other people. What I’m trying to tell you is that you should go do your thing your own ways. Your little is enough. After all, I don’t believe there’s a set of standards when it comes to keeping fit. Just do your thing and be happy with it.</p><p>That’s it for today. I hope you learned something from this. Hey, I would like to know your thoughts in the comments sections below. Thank you and stay awesomely fit.</p><p><em>Originally published at </em><a href="https://fitnessdopamine.com/2018/11/28/how-to-enjoy-working-out-and-fitness-sessions.html"><em>fitnessdopamine.com</em></a><em> on November 28, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=729ef72e8d62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Strong fun fitness facts that will change your life]]></title>
            <link>https://medium.com/@kingsleyaguchibe/strong-fun-fitness-facts-that-will-change-your-life-cd238c389972?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd238c389972</guid>
            <category><![CDATA[lifestyle]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[exercise]]></category>
            <category><![CDATA[fitness]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Tue, 27 Nov 2018 07:52:08 GMT</pubDate>
            <atom:updated>2018-11-29T11:34:00.156Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*wSOSKB0mqyqszkGI.jpeg" /></figure><p>Hey! There’s something you probably haven’t considered before. You know there’s been a huge improvement in the tech industry. Soon in the future, AIs are going to be running major companies. In fact, there’s a hotel in Japan (Henn na Hotel) that is run entirely by robots.</p><p>One day, those robots might decide to have a global conference. In the conference, they might share complaints about how tired and fed up they all are with humans commanding and ordering them around.</p><p>Oh man. This is going to be a real problem, especially when those machines decide to fight for their rights. Machines could claim to have rights too — this is planet 3, where anything can happen.</p><p>So, assuming they decided to fight us, how do you think it’s going to work out for us. Bloody right? This is what you should know about all of these though, <strong>only</strong> those that are fit both physically and mentally will survive the battle.</p><p>And why is this? Robots are very smart and on top that, they are made of metals or something else, they don’t feel pain. You see?</p><p>This is one of the reasons you should get fit and be ready for them. Whatever they think they are, they can’t come to planet 3 where we’ve been living for ages and try to over throne us. Stupid robots 😬</p><p><strong>Anyway</strong>, let’s talk about the importance of keeping fit. I might be able to light a fire under your butt to get you out of your comfort zone.</p><p>Keeping fit is very important. You probably already know this. But, are you fit? Unfortunately, it’s hard to answer this question. Why? Because sometimes what the majority or “experts” believe to be true/ideal could be proven wrong over time.</p><h3>These are the importance of keeping fit</h3><p>Number one in the list is the joke above — preparation for robots’ attacks in the future😆</p><p>Alright. Enough of joking around. Now let’s get to the business of the day.</p><h4>1. Keeping fit makes you feel good</h4><p>Yeah. I can easily prove this one for you. I don’t usually sing in the shower except after my workout. And you know you can’t sing when you’re feeling depressed right?</p><p>I sing in shower because I feel good. And now, this is the prove — dump prove though.</p><p>Let’s get practical for a second. In my workout place, I asked bunch of people what there reasons/motivation of working out are. Each gave a very interesting response. But then, a lady asked me what mine is. I thought of giving her a very long answer, but instead, I just told her that I enjoy working out — which wasn’t a lie though.</p><p>Keeping fit makes you feel good both when you’re at it, and also, after it. Now we’re are indirectly getting to the case of self-confidence.</p><p>Experts at this would tell you to workout if you lack self-confidence. Have you wondered why this is so? Maybe you should. Hint: You only have self-confidence when you feel good about yourself.</p><p>Also, lots of people fap out their God’s given energy whenever they feel burned out or depressed. What they fail to learn is that a fitness session can solve their problem — with extra-added bonus too.</p><p>Keeping fit is not only about working out or exercising. It also includes the foods we consume.</p><p>For us to keep fit, we’ve got to eat less. No snacks. No unnecessary intakes of foods. No junk foods. The dieting part is often neglected by lots of people when they defined a fitness program.</p><p>But it should always be included because it’s very important — though it’s hard.</p><blockquote><em>Eat right. Get healthy to keep fit. Don’t keep fit to get healthy. Pro tip👌 And you can get healthy by taking care of what you consume.</em></blockquote><p>So, the take-away point of this is that you shouldn’t eat everything that comes your way. Eat like a human, not like a baby goat. Oh,no offence.</p><h4>3. Keeping fit makes you tougher.</h4><p>This is one of the part that interest me the most. Because I like being awesome. Anytime I workout in an open place, kids would gather around to watch me. This makes me feel like a superhero and at the same time, makes me feel like I’m doing kid’s stuff😩</p><p>The point here is that keeping fit does make one tougher — both physically and <strong>mentally</strong>.</p><p>I don’t know how to prove this one to you. I always like to use myself as an example but it would only make this article seem like it’s all about me. So, we’re just going to leave this one like this and move on. But I suggest you take it upon yourself to find out how keeping fit can make someone tougher mentally. It’s interesting…</p><p>Oh no! It seems like we can’t move on because there’s no where else to go for now. But we can always go somewhere in the comment section below. So hit it up with whatever you have in mind. It’s a good start and we’ve got nothing to lose!</p><p><em>Originally published at </em><a href="https://fitnessdopamine.com/2018/11/27/strong-fun-fitness-facts-that-will-change-your-life.html"><em>fitnessdopamine.com</em></a><em> on November 27, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd238c389972" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Project ideas for developers]]></title>
            <link>https://medium.com/@kingsleyaguchibe/project-ideas-for-developers-3c46b2b6e01a?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c46b2b6e01a</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[project-ideas]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[projects]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Thu, 25 Oct 2018 15:47:32 GMT</pubDate>
            <atom:updated>2018-10-25T17:41:03.381Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s take few minutes to talk about project ideas. A lot of people seem to ask these kinds of question: “I’ve learned this, this, and that. What should I learn/do next?”. And then people would tell them: “Build tons of projects”. This time is usually the time they feel there is gap in their knowledge. I’m saying these from experience. It happens to most of us…</p><p>“Hey dude! Go build cool stuff!” That’s what they would normally say to you. It’s not that they are wrong. It is just that, you don’t seem to know what to build.</p><p>And, the somewhat boring part is that when you search for project ideas (for what to build), you’ll usually see something like todo list, calculator, pomodoro timer, <a href="https://codnificent.github.io/tomatoTimer">see this one I’ve built 😄</a>, and so on.</p><p>These things are not bad. But I guess you want something that is actually useful and more challenging maybe.</p><p>If that’s what you want, don’t worry. I’ve got something to tell you. But this thing I’m about to tell you, I feel you’re not going to like it.</p><p>Okay, how about this? Imagine that you were with your friends and you said something they didn’t like. And just like that, all of them removed their footwear and started hitting you with it.</p><blockquote><em>That’s what I imagine you’re going to do when I tell you this — hit me with your footwear!</em></blockquote><h4>Alright. The thing is that you should not search for project ideas</h4><p>Yeah. You should not search. The reason why I said this is because there are lots of project ideas only if we pay close attention to our environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/0*SG4jsZ4NQh09-jKr.jpg" /></figure><p>Take this as an example. There was this <a href="https://twitter.com/youyuxi/status/1049694911665266688">twit</a> by <a href="https://twitter.com/youyuxi?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor">Evan You</a>, the man behind Vue.js. In the twit he said that “CSS is hard”. Take a look at the bottom-right corner of the image above. You’d see better.</p><p>This is what I was saying — paying close attention to our environment. It’s not that Google couldn’t do this right. It’s just that CSS codes work differently on different devices. This is my opinion though.</p><p>After seeing this twit, I decided to build something — a user feedback box. The idea was that since developers can’t see the representation of their codes on different devices, it makes a lot of sense to integrate a feedback box into their websites/web apps.</p><p>With this feedback box users could anonymously share their experience with the use of the website/web app. Hey, this may sound dump to you but it made perfect sense to me the time I was thinking it.</p><p>In fact, I was seeing a great success in building the box (one of the simplest react applications 😆) Not until I decided to deploy it. I tried Netlify, gh-pages, none worked. I read lots of docs but I couldn&#39;t just get it right. So I gave up… ☹️</p><blockquote><em>Oh no! I’ve gone too far. The main thing here is to share with you how to get project ideas.</em></blockquote><p>You just need to think and ask yourself questions. Thanks to nature that humans are creative, unlike AIs. The project you think of may seem too big for you. But, you can always build it with someone else.</p><blockquote><em>Pro tip: Build a blog/website first where you share what you’ve learned. Just like this </em><a href="https://mordernweb.com/"><em>one</em></a></blockquote><p>Think of something that might be useful to you or someone else — not boring todo lists all the time. No! Not again…</p><p>It’s always a fun way to learn — challenging your abilities. So, don’t overthink. You’d be marveled at how much you can do when you start asking questions and reading docs.</p><blockquote><em>Hey awesome, don’t be like me that gave up on my feedback box because I couldn’t deploy it</em></blockquote><p>“Hi guys! I’ve got this project idea where users of the app could do this and that. The only thing is that I don’t think I can do it alone. Anybody willing to work with me?”.</p><p>What it would take you is to explain your idea very well. And that’s it. You’d get the chance to work with someone else. Codding needs lots of collaboration. You’d get the chance to learn from the person. Just don’t hold back on big ideas.</p><p>Oh! Are you afraid that someone might steal your amazing idea? Me too! But what can we do about it? If we keep on holding back on it, waiting till we get ready to implement it, someone else might produce something that is even better. The game changes, a lot!</p><p>So, you may decide to think and ask yourself questions in order to come up with useful project ideas</p><p>Or, you may decide to remove your footwear in order to hit me with it. Unfortunately, you can’t reach me 😝</p><blockquote><em>Perhaps, you may keep on asking: “what are the best projects for beginner JavaScript developer?”, “what project should I work on as an intermediate python developer?”, and the question continues…</em></blockquote><p>Whichever one you decide to do, I wish you good luck. Bye! 👋</p><p><em>Originally published at </em><a href="https://mordernweb.com/motivation/2018/10/25/project-ideas-for-developers.html"><em>mordernweb.com</em></a><em> on October 25, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c46b2b6e01a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Motivation to learn computer programming]]></title>
            <link>https://medium.com/@kingsleyaguchibe/motivation-to-learn-computer-programming-65249d564957?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/65249d564957</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Tue, 23 Oct 2018 13:59:17 GMT</pubDate>
            <atom:updated>2018-10-23T16:26:44.780Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi you there! How is it going? Tough? Yeah,it should be tough because programming is not for kids. No! I’m really sorry for saying that. Anybody can program. But if you’re not tough on your own to face the challenges… You know what? Let’s just forget about this stupid intro and dive right into the main business of the day. Shall we?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JGH7fSjumHod7zaZuzyTZQ.jpeg" /><figcaption>source: pexels.com</figcaption></figure><p>Alright, we’re here. Hey, in order for you to understand my point of view, you need to enter into my world for some minutes.</p><p>Let me just shift a little for you to enter into my world. With the snap of a finger, there you go…</p><p>You saw cool stuff that people are doing with codes. You too want to do cool stuff right? But the learning part is not moving smoothly. You constantly learn and you constantly forget as much as what you’ve learned. What a waste of time spent on tutorials?</p><blockquote><em>Welcome to my world!</em></blockquote><p>You heard that React is awesome, that you can do amazing things with it. You even heard that you can use it to build mobile apps. Wow! But then you want to learn it and the prerequisite is that you know HTML CSS and basic JavaScript. Those are pieces of cakes. And then you jumped into react. Holy cat! It is harder than you expected — “you don’t mutate states directly”, “you use props to pass data from parent to child”, “components’ life-cycle”… It seems like you’re not ready for all these.</p><blockquote><em>Welcome to my world!</em></blockquote><p>You decided to try other frameworks. Now you’re asking: “Which framework should I learn, react, Vue or angular? And then, the guy from the other end was telling you “All the frameworks are good. React is awesome but you should go for Vue if you’re a beginner. Angular is used by big companies. So if your plan is to get a job at a big company, you should go for angular”.</p><p>“Go for Vue if you’re a beginner”. You’re a beginner, aren’t you? You decided to go for the Vue. This time no more backing down, head-on encounter!</p><p>“v-key, v-on, v-bind: two way data binding”. No! How did you do that? Is that a magic? You just got tricked. Your eyes wide open — how does that happen?</p><blockquote><em>Welcome to my world!</em></blockquote><p>New version of create-react-app. Hey! Introducing Typescript to react. No! Why is everything in the JavaScript world changes so rapidly? You got tired and sick of everything. You decided to go for another language. Oh! You just saw from YouTube the other day that python is growing at a very fast rate. It might even become more popular than JavaScript in the next five years.</p><p>You’re going for python. Like, for real! You went there, and then you discovered that indentation could make you stay up all night trying to solve a bug that doesn’t even exist. What’s going on here? Hey, which python framework are you working with? Django or Flask? Now you feel like giving up on programming, don’t you?</p><blockquote><em>Welcome to my world!</em></blockquote><p>Okay. Enough of that. Now you can get off my world. My world where everything is scattered. I bet you didn’t understand everything while you were in my world. Did you?</p><p>How about going into other peoples’s world? People that think they can <strong>hack NASA using HTML</strong></p><p>People that spend lots of time on tutorials. Though they might not have a project to put what they’ve learned from the tutorials into.</p><p>People that always ask which framework or library to learn <em>first</em>.</p><p>People that ask “I’ve learned HTML and CSS, what should I learn next?”</p><p>People with some other challenges. People that enjoy learning and tutorials more than getting their hands dirty with codes.</p><h4>Do you know why these happen?</h4><ul><li>Because there’are almost no bug-fixing in tutorials</li><li>Because learners would just sit down and consume a well prepared course — no errors, no challenges, just sit and consume.</li><li>Because people don’t want to suffer. Everybody wants quick results.</li><li>Because people waits on motivation before they can do programming stuff.</li></ul><h4>What should we do to solve these problems?</h4><p>After going through those things (those things you saw while in my world), I’ve come to a realization that one of the best ways to learn is to actually do stuff. When you fix a bug, it would be hard for you to forget that concept again. Seriously. So, I encourage you to work on a project, you might think that you’re not ready yet. But your readiness is determined only when you start coding and asking for help. You can’t believe how ready you were since!</p><p>We should not do too much tutorials — trying to learn this framework or the other. Learning the core language makes everything easier. That means we should go back to learn the core language. I’ll still write a post on this. So be sure to check it out!</p><p>On the issue of people not wanting to suffer, it is seriously dealing with us. Not only in the tech world, but also in most areas of life. We like rewards. Sometimes we even reward ourselves for doing absolute nothing. <strong>Faping is an example of this</strong> These kinds of rewards are bad. Hey, don’t get me wrong. I’m not going against the principle of “smart work is better than hard work”. You’re a programmer. I trust you understand where I’m heading for. Work smart and hard, then expect your reward. Don’t jump into abstractions(frameworks and libraries) if you’re not good enough with the core language.</p><blockquote><em>Everybody else will always tell you this. So, this is the time for you to put it into use.</em></blockquote><p>Finally, don’t wait to get motivated before you can do some coding. Motivations are like emotions, they are never stable. They come and go as they wish. So, don’t wait. Get some work done.</p><p>And remember, most of the things that are worth doing are not always enjoyable.</p><blockquote><em>Hey you there! I hope you enjoyed the session. If you did, check out my book on </em><a href="https://www.amazon.com/dp/B07HP2SF5N"><em>Habit vs Self-Discipline: Life-Changing Evaluation of the Conflict that Defines Us</em></a><em>. It’s fun and educating. Thank you.</em></blockquote><p><em>Originally published at </em><a href="https://mordernweb.com/motivation/2018/10/23/motivation-to-learn-computer-programming.html"><em>mordernweb.com</em></a><em> on October 23, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65249d564957" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to build a blog/website on Netlify + free hosting]]></title>
            <link>https://medium.com/@kingsleyaguchibe/how-to-build-a-blog-website-on-netlify-free-hosting-f3ff66ed7242?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3ff66ed7242</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[static-site-generator]]></category>
            <category><![CDATA[netlify]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[jekyll]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Fri, 05 Oct 2018 16:20:26 GMT</pubDate>
            <atom:updated>2018-10-05T19:01:56.127Z</atom:updated>
            <content:encoded><![CDATA[<p>Before we begin, I need to set a goal. The goal here is to make sure that you should be able to create your own site by yourself after or maybe while reading this article. Do you need a blog or a website? A free hosted site where you don’t have to be afraid of loosing your contents if anything goes wrong? A site where you can add contents using your mobile device? A site that…? Well let’s just get into it.</p><p>Alright. I want to tell you a story if you don’t mind. Weeks ago, I created a blog. Okay, let me not use the world “created”. Weeks ago, I tried to edit a website’s theme. I could edit the theme, I could bend the default theme to suit my need. But there was a problem though.</p><p>Files are too many, Up to 13 CSS files. And if I needed to edit a CSS property, I had to scan through those files. Nightmare!</p><p>That theme gave me a lot of troubles. You know what the worst part was? The website could only contain up to 4 blog posts.</p><p>When I discovered this, I was like.. Okay, now you can shoot me! I Needed a blog and now I’ve got a website that could only take up to 4 blog posts.</p><p>Are you telling me that this wasn’t the right time to quit? Well, the end result of everything was that I didn’t try to find where the limit for the blog posts was defined. I didn’t even try to look at the theme again.</p><p>I deleted my repository where the site was stored. I deleted a website with four articles. And… Do you know what I did next? I started all over again. But this time I chose a different site generator.</p><p>Should you be wondering the relevance of this story? My plan is to explain that sometimes it is better to build your own theme than trying to configure already built ones.</p><p>Don’t get me wrong. I’m not saying that you’re going to build a theme from scratch. The point is that making the right choice is what determines how fast we can get our blog up and running.</p><p>With those being said, let’s get into the main thing. In this guide, I’m going to show you how I built my blog with Jekyll static site generator.</p><p>Jekyll is a very popular static site generator. There are other static site generators for difference purposes. If you want a detailed list of them and the number of stars they’ve got on GitHub, check out this <a href="https://www.staticgen.com/">site</a></p><p>In order to work with jekyll locally, you need to install Ruby, if you’re using windows machine.</p><p>For Linux users, run this command in the terminal ruby -v. This would print out the ruby version.</p><blockquote><em>Don’t think that this is too much of a task to do. Everything is simple here!</em></blockquote><h4>The steps</h4><ul><li>Follow this steps to install ruby on your machine</li><li>Visit <a href="https://rubyinstaller.org/">Rubyinstaller for Windows</a>. Download the installer</li><li>While installing, make sure you have internet access</li><li>When the program runs, you need to install the three packages labelled 1, 2 and 3.</li><li>It’s easy! Just press 1 and hit enter to install first package</li><li>Press 2 and hit enter to install the second one … You get the idea.</li><li>When everything is installed, open another terminal and run, ruby -v</li><li>You should also run gem -vto make sure that that gem is installed.</li></ul><p>You can co-relate gem to npm. A package manager in the ruby world. Visit this <a href="https://jekyllrb.com/docs/ruby-101/">site</a> for more info.</p><p>When you’re sure that ruby and gem are installed, you can now run jekyll new &lt;your site&#39;s name&gt;. This will create a directory in the path you ran the command.</p><p>There’s one more thing that you need to install. A bundler. Run this command; gem install bundler. When this is done, run this bundle install to install the gems(see ‘gems’ as packages), then bundle exec jekyll serve to build your site.</p><p>Now you’re good to go! Just run jekyll serve. And that’s it! You should be able to see your site live at localhost:4000. This site uses a theme called minima - a very simple theme. But, if you wish, you can use another theme of your choice. Visit <a href="http://jekyllthemes.org/">Jekyll themes</a> to choose a theme you like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AP2hMCz8KwDTsRQb.png" /></figure><p>Okay, now is the perfect time to bend your new site to your needs. One thing you need to know at this point is that for you to be able to edit your theme perfectly, you need to bring in the whole files for the theme.</p><p>Run this command bundle show minima. The ‘minima’ is the theme’s name, you can put the name of the theme you’re using.</p><p>Hey! if you’re having troubles with any part of the installation processes, the [jekyll docs}(https://jekyllrb.com/docs/) might help.</p><p>When you run bundle show &lt;theme name&gt;, you will see the directory where the files for your theme are located. Just go in there and grab the files that you need.</p><p>Example of these files you might need to put into your working folder are: the _includes, _sass, _posts, _layouts.</p><p>These files are where you basically need to make all your changes. Don’t edit the _site folder. That’s where your final site get bundled into. You have two configuration files you can edit, the gemfile, and the _config.yml file.</p><blockquote><em>Important tip! Anytime you make a change in the </em><em>_config.yml file, make sure to restart the server with </em><em>jekyll serve.</em></blockquote><p>You got that? Perfect! Simple stuff…</p><p>When you’re satisfied with the look and feel of your new site, now is the time to host it. At this time, you will need to add a new folder in your site. There’s a perfect article to show you how to do this. <a href="https://www.netlifycms.org/docs/add-to-your-site/">Here!</a></p><p>These new folder is for the hosting service and the CMS — Netlify CMS.</p><p>Before you could integrate your site with Netlify, your site need to be hosted on a git platform. GitHub is a perfect choice.</p><p>The final result of all these processes is that you’ve got yourself a nice blog. Share contents as much as you like.</p><p>That’s it guys! Thanks for your time and congratulations for making it this far. If you get stuck at any point, I might help. Just drop the problem in the response below. Enjoy!</p><p>Read about <a href="https://mordernweb.com/javascript/2018/10/03/asynchronous-requests-in-javascript.html">Asynchronous requests in javascript</a></p><p><em>Originally published at </em><a href="https://mordernweb.com/web/2018/10/05/how-to-build-a-blog-website-on-netlify-free-hosting.html"><em>mordernweb.com</em></a><em> on October 5, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3ff66ed7242" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The web and its components (HTTPS:)]]></title>
            <link>https://medium.com/@kingsleyaguchibe/the-web-and-its-components-https-6b6ad728f36a?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b6ad728f36a</guid>
            <category><![CDATA[website]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Wed, 03 Oct 2018 10:44:51 GMT</pubDate>
            <atom:updated>2018-10-03T11:36:25.915Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*yrRjZta8DTfaCjDHGpgzJQ.jpeg" /><figcaption>Use of the web in everyday activities. Source: pexels.com</figcaption></figure><p>We use the Web almost every day. When we connect to friends on social media, stream videos on YouTube, search for something on Google, and lots more, all these media are platforms of the Web. Now we can see the need to understand how the Web works so we could use it more effectively and/or responsibly — considering cyber security issues.</p><h4>What to expect …</h4><ul><li>The web and the internet</li><li>How the web works</li><li>HTTPS and website security</li><li>Optimizing the web for better performance</li><li>Conclusion and final thought</li></ul><h4>The Web and the Internet</h4><p>Some people take the web to mean the same thing as the internet. But they are not the same. The internet has already been in existence before the Web came along.</p><p>The internet can be seen as a means of communication or a links that connect different devices. And the web? Let’s take it to be the collection of information warehouses. One of these warehouses could be your computer.</p><p>If it’s still not so clear, I believe <a href="https://en.wikipedia.org/wiki/World_Wide_Web"><strong>Wikipedia</strong></a> nailed it: The World Wide Web, also called the Web, is an information space where documents and other web resources are identified by Uniform Resource Locators, interlinked by hypertext links, and accessible via the Internet.</p><p>Alright. Let’s move on with the hope that everything is still okay.</p><h4>How the Web Works</h4><p>Browsers are built to utilize the internet and the web. Though they are not the only tools that use the internet and the web. Other web-based apps like Twitter, Whatsapp, Facebook also use the internet and the web.</p><p>Understanding how the web works is not usually always easy. This is because it requires the basic understanding of some somewhat complicated mechanisms.</p><p>Mechanisms like <a href="https://guide.meteor.com/routing.html"><strong>routing</strong></a>, <a href="https://en.wikipedia.org/wiki/Client%E2%80%93server_model"><strong>client-server connections</strong></a>, <a href="https://www.slideshare.net/cczona/full-stack-full-circle-what-the-heck-happens-in-an-http-requestresponse-cycle"><strong>request-response circle (round trip)</strong></a>, <a href="https://en.wikipedia.org/wiki/Domain_Name_System"><strong>DNS</strong></a>, <a href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"><strong>HTTP</strong></a>, <a href="https://en.wikipedia.org/wiki/URL"><strong>URL</strong></a>, <a href="https://en.wikipedia.org/wiki/Network_packet"><strong>packets</strong></a>, <a href="https://www.webopedia.com/TERM/B/bandwidth.html"><strong>bandwidth</strong></a>, <a href="https://en.wikipedia.org/wiki/TPC"><strong>TPC</strong></a>, <a href="https://en.wikipedia.org/wiki/IP_address"><strong>IP</strong></a> etc.</p><p>All of these? Wow! This is huge. Seriously. But, no need to worry. We don’t actually need to go too deep into those — just a basic knowledge.</p><p>Writing about all of these mechanisms is a waste of time. It’s already been written by someone else.So, I encourage you to go over any of these that you feel is important to you.</p><p>Most people don’t really care about all these things. Thinking of it clearly, why should they even care? Since there browser is functioning properly and the web-based apps that they use aren’t misbehaving, why should they care about knowing how the web works?</p><p>Well, If I must say why people should care, I would say because they need the basic knowledge at least in order to protect themselves and the integrity of the web in general.</p><h4>HTTPS and website security</h4><p>Website security is one of the things we need to consider while building or acquiring websites or even using websites. But what if the HTTPS encryption that we depend on got compromised? Whaaat?, Got compro what? Don’t mind me. It’s a joke. Anyways, let’s look at https and what makes it so special.</p><p>HTTPS is just a more secure version of HTTP. Oh! Sorry. HTTPS stands for Hypertext Transfer Protocol Secure.</p><p>This extra layer of security means that the browser uses SSL/TLS to protect websites’ traffic.</p><p>TLS and SSL are slightly different. <a href="https://en.wikipedia.org/wiki/Transport_Layer_Security">TLS (Transport Layer Security) </a>uses stronger encryption algorithms than SSL (Secure Sockets Layer).</p><p>These encryption algorithms are beyond the scope of this article. Now, let’s get to HTTPS and its features.</p><p>The more secure channel that HTTPS creates helps to protect streams of data against eavesdroppers, man-in-the-middle or more generically, hackers’ attacks.</p><p>In order to avoid these attacks, there’s a need to consider many things while making use of any site.</p><blockquote><em>These things that need to be considered include the following:</em></blockquote><ul><li>The user (which in this case, You) should trust the implementation of HTTPS with correctly pre-installed certificate authorities. (List of certificate authorities: <a href="https://en.wikipedia.org/wiki/Let%27s_Encrypt">Let’s Encrypt</a> , <a href="https://en.wikipedia.org/wiki/Digicert">Digicert</a>, <a href="https://en.wikipedia.org/wiki/Comodo_Group">Comodo</a>, <a href="https://en.wikipedia.org/wiki/GoDaddy">GoDaddy</a> and <a href="https://en.wikipedia.org/wiki/GlobalSign">GlobalSign</a>).</li><li>The user trusts the certificate authority to vouch only for legitimate websites.</li><li>The website provides a valid certificate, which means it was signed by a trusted authority.</li><li>The certificate correctly identifies the website (e.g., when the browser visits “https://example.com”, the received certificate is properly for “example.com” and not some other entity).</li><li>The user trusts that the protocol’s encryption layer (SSL/TLS) is sufficiently secure against eavesdroppers.</li></ul><p>Source: <a href="https://en.wikipedia.org/wiki/HTTPS"><strong>Wikipedia</strong></a></p><p>This is just saying that we should be careful my entering our personal information to any website.</p><p>By now, I believe that we should know that any website that does not have the padlock symbol at the top-left corner of URL bar is not a secure website. Just a reminder though.</p><p>And again, I’m sure you wouldn’t want a situation where your website use experience is compromised because of malware and other internet threats. Always be careful of the information you enter into a website. First, make sure website communication channel is encrypted. Also, be careful of the links you click. &gt;Just a reminder though :)</p><p>When it comes to securing our websites, most of what you need you could find them at <a href="https://en.wikipedia.org/wiki/HTTPS"><strong>HTTPS</strong></a></p><h4>Optimizing the web for better performance</h4><p>This is just a basic development pattern than developers need to apply in order to developer fast websites.</p><p>This pattern is all about reducing the round-trip the browser needs to make before it could render page content properly. and, reducing the size of page contents like images, unnecessary libraries, plugins etc.</p><p>This is achieved by the use of inline styling and/or scripting where necessary, the use of compression tools like <a href="https://gulpjs.com/">gulp</a>, <a href="https://gruntjs.com/">grunt</a> etc. The use of <a href="https://www.w3schools.com/css/css_image_sprites.asp">image sprites</a> is helpful too.</p><h4>Conclusion and final though</h4><p>t I know this article is not the coolest one you could find but I believe it gives you heads up on what you need to know before you could properly understand how the web works.</p><p>Also the content in this article are kind of scattered. Just bear with me and take the part that interests you.</p><p>As always, thanks for reading and be sure to come back next time 😊</p><p>If you wish, check out my post on <a href="https://mordernweb.com/javascript/2018/10/03/asynchronous-requests-in-javascript.html">asynchronous requests in JavaScript</a></p><p><em>Originally published at </em><a href="https://mordernweb.com/web/2018/10/03/the-web-and-its-components-https.html"><em>mordernweb.com</em></a><em> on October 3, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b6ad728f36a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ajax. How to make asynchronous requests in JavaScript]]></title>
            <link>https://medium.com/@kingsleyaguchibe/ajax-how-to-make-asynchronous-requests-in-javascript-3db142b85935?source=rss-68b9c58861b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3db142b85935</guid>
            <category><![CDATA[ajax]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[jquery]]></category>
            <category><![CDATA[fetch-api]]></category>
            <dc:creator><![CDATA[Kingsley Aguchibe]]></dc:creator>
            <pubDate>Mon, 27 Aug 2018 14:17:08 GMT</pubDate>
            <atom:updated>2018-08-27T14:17:08.592Z</atom:updated>
            <content:encoded><![CDATA[<p>Ajax stands for Asynchronous JavaScript and XML. There’re ways of making asynchronous requests in JavaScript. We have the old school XHR (XMLHttpRequest) method, the popular $.ajax() of jQuery and the awesome use of the Fetch API. In this post, we’re going go examine these three methods. But, before we go further, we need to understand what asynchronous request means.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/0*msLfG3BigfKmdZLQ.jpg" /></figure><h3>What we’ll cover -</h3><ul><li>The meaning of Asynchronous Request</li><li>How to make async request using the XMLHttpRequest object</li><li>How to make async request using jQuery</li><li>How to make async request using the Fetch API</li><li>Final though and take away piece of facts</li></ul><blockquote><em>Let’s get started with no much waste of time 😊</em></blockquote><p><strong>Asynchronous request</strong> is a method of data transfer in which the client (the user’s machine) requests for some data to a server or some database. But instead of waiting for some response to return, the client goes on doing other things.</p><p>This “other” things that the client machine goes on doing prevents the user from knowing that something’s happening under the hood.</p><p>This method is used to solve the problem of page reload, thereby giving out a nice user experience.</p><p>If you wish to learn more about asynchronous requests, follow this <a href="https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests"><strong>link</strong></a>. But if not, now let’s get into the main biz of today.</p><p>Alright. We’ll first take a look at the old school method — the <strong>XHR</strong>, which stands for <strong>XMLHttpRequest</strong>.</p><p>XHR is a JavaScript object that is used to perform synchronous and asynchronous operations.</p><p>An important fact we should note is that XML is a file type that is originally surppoted by the Javascript’s XMLHttpRequest.</p><p>The XMLHttpRequest is like other Javascript objects like the document object. The XMLHttpRequest object does not only support XML file types. It supports other file types like JSON, images etc</p><p>Also, just like other JavaScript objects, XHR has a number of methods. The most important of them all being the <em>.open()</em> method, which is used to initialize the request. It goes with some parameters, the most important being the first two — the <em>HTTP method</em> and the <em>request URL</em></p><p>The XHR object has other methods like the <em>.onload</em> , the <em>.onerror</em>, the <em>.send</em> method etc.</p><blockquote><em>Example code:</em></blockquote><pre>const cakeRequest = new XMLHttpRequest(); <br>cakeRequest.onload = function bakeCake(){//Do something}; cakeRequest.onerror = function(err){//Log err message}; cakeRequest.open(&#39;GET&#39;, `https://mordernweb.com); cakeRequest.send();</pre><p>Now it is believed that the idea is clear. Should you be interested in knowing more about those methods used above, visit the MDN’s doc on <a href="https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest">XMLHttpRequest</a>.</p><p>It’s time to talk about the second one. The use of the <strong>$.ajax()</strong> from jQuery to make asynchronous requests. This method is so popular because jQuery itself is a library that makes developer’s life easier.</p><p>With this approach, shorter code is required in order to make the request. One thing we should learn here is that even though the request is made using a library, the <strong>XHR</strong> is still used under the hood of the library.</p><p>You can see the use of XHR object as doing something by yourself. Then, the use of jQuery is seen as paying a professional to do the same thing for you. The only diff here is that even though you might know how to do the stuff more than the professional, he(the pro) does the work faster. Because, why not? After all, that’s his area of specialty.</p><blockquote><em>Code Example:</em></blockquote><pre>$.ajax({ url: `https://mordernweb.com` }).done(addNewPost); <br>function addNewPost(){ //do something here }</pre><p>Now, we all can see the using the <strong>$.ajax()</strong> makes the code shorter and simpler.</p><p>The <em>.done()</em> is used to do something with the result of the request (in this case, the response)</p><p>Learn more about the <a href="http://api.jquery.com/jquery.ajax/"><strong>$.ajax</strong></a> request</p><p>Everything is looking cool so far. Now it’s time to talk about the <strong>Fetch API</strong></p><p>The Fetch API is the modern way of making async requests in JavaScript. There’s a lot to it because of how awesome it is.</p><h3>Some features of the Fetch API</h3><ul><li>It doesn’t require HTTPS</li><li>It supports CORS(Cross Origin Resource Sharing) operation</li><li>When it is used with service worker, it does require a HTTPS connection — This feature is of service worker though.</li><li>Because it’s not been supported by few browsers, it does need some polyfill</li><li>The Fetch API is Promise based</li></ul><p>Wow! Those are too much for this post. Maybe we’ll talk about the Fetch API (and these features) later.</p><p>I hope you’re not seeing these features as uncool of the Fetch API. You should not. Because the API is so awesome. Those features are what make is so awesome.</p><p>Code Example:</p><pre>fetch(&#39;https://mordernweb.com&#39;) .then(function(response) { <br>    // Do stuff with the response })<br>.catch(function(error) { <br>    console.log(&#39;Looks like there was a problem: \n&#39;, error); });</pre><p>The <em>.then()</em> is the ‘promise based’ we talked about. The <em>.cache()</em> is used to handle error if the request wasn’t succssful.</p><p>To learn more about Fetch API go to, <a href="https://developers.google.com/web/ilt/pwa/working-with-the-fetch-api"><strong>Working with the Fetch API</strong></a>. Sure enough, you would see how great the API is.</p><h3>Take away piece of facts 👌</h3><p>Now that we’ve seen the three ways of making an async request, it’s left for you to choose the one you prefer. For me, I prefer using the Fetch API.</p><p>Three of these methods could let you get some data from some database or a server and use the data without the user knowing what’s going on in the background.</p><p>This add to the efficiency of the site and at the same time boosts user experience. Less page reload, quality user experience. Cool, isn’t it?</p><p>We’re all encouraged to go and try out any of these methods of performing an asynchronous request in JavaScript.</p><blockquote><em>Thanks for reading and be sure to come back next time 😍</em></blockquote><p><em>Originally published at </em><a href="https://www.mordernweb.com/post/ajax-how-to-make-asynchronous-requests-in-javascript/"><em>https://www.mordernweb.com/post/ajax-how-to-make-asynchronous-requests-in-javascript/</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3db142b85935" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>