<?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 Ikdem Ben Mbarek on Medium]]></title>
        <description><![CDATA[Stories by Ikdem Ben Mbarek on Medium]]></description>
        <link>https://medium.com/@ikdem?source=rss-aa1a83ecbdf4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*59uCIkxsZAX7hHZz72iUxQ.jpeg</url>
            <title>Stories by Ikdem Ben Mbarek on Medium</title>
            <link>https://medium.com/@ikdem?source=rss-aa1a83ecbdf4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:46:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ikdem/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[7 Questions to answer before going to Peru]]></title>
            <link>https://ikdem.medium.com/6-things-to-do-before-you-get-to-peru-744e7e623ac6?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/744e7e623ac6</guid>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[digital-nomad-lifestyle]]></category>
            <category><![CDATA[vacation]]></category>
            <category><![CDATA[peru]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Sun, 11 Sep 2022 17:51:15 GMT</pubDate>
            <atom:updated>2022-09-11T18:01:27.519Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hiewZjUMc_kHZU7x9Y0iuA.jpeg" /><figcaption>The other side of the infamous “Rainbow Mountain”</figcaption></figure><p>Welcome to part 2 of <strong>Your Journey to Peru</strong>. This series of blogs shall be your guide to having a proper vacation in Peru, one of the most magical destinations someone can ever visit. In the <a href="https://ikdem-benmbarek.medium.com/your-journey-to-peru-pt1-visa-process-9b56244ab2b0">first part</a>, I covered what the <strong>Visa process</strong> looks like for my fellow countrymen from <strong>Tunisia</strong>. This part will be dedicated to clarifying the preparations needed before you even get to Peru. Read carefully since you can find some useful stuff you never pay attention to.</p><h4>1. How much would the flight tickets cost?</h4><p>It comes as no surprise that this could largely be the <strong>most expensive</strong> flight ticket you’re purchasing. After all, your destination is literally <strong>half a world away</strong> from where you are (Tunisia), considering the +10.5km distance compared to the approx 12.7km long diameter of the earth (obviously not a flat earther). The ticket would cost no less than <strong>950$</strong>. Your best option here would be <a href="https://wwws.airfrance.fr/splash"><strong>Air France</strong></a> since you’ll have only one stop at CDG International Airport in Paris. In any case, you should get ready for a half-day long flight from Europe to Lima where what you’ll be mostly seeing from your plane window is the blue vast Atlantic Ocean.</p><h4>2. When should I visit Peru? What is the weather like</h4><p>To make things clear, there is <strong>no such thing as</strong> <strong>4 seasons</strong> in Peru or any country in the northern part of the Southern American continent (Colombia, Ecuador, …). There are actually <strong>2 seasons</strong>: <br>* a wet season (<strong>Summer: from December to March</strong>) <br>* a dry season (<strong>Winter: from May to September</strong>)<br>* The months in between are unpredictable<br>Yes, you read it right, it rains more when it’s hotter, during the wet season, and that’s mainly in the highlands and jungle. So, if you’re willing to visit Cusco and Machu Pichu, or do the Inca Trail hike that’s not the time you want to be there.<br>Eventually, in every region, there is <strong>standard weather</strong> that lasts for the whole year. For example, it will always be <strong>hot in Huacachina</strong> (the desert of Ica) and <strong>cold in Cusco</strong> (the Andes). <br>Generally speaking, <strong>May to September</strong> is the best time to visit Peru in order to avoid heavy rains and hot temperatures.</p><h4>3. What should I pack?</h4><p>So what you’ll pack depends on where you’re going and what you’d be doing in Peru. Peru has a very diverse climate, due to the Andean mountain range as illustrated in the map below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*gFC0vK3vNClcNBpGldS55w.jpeg" /></figure><p>The multi colors map you see demonstrates how the ecosystem in Peru can vary from tropical jungles to hot sandy deserts and multi kilometers-high mountains with snowy peaks. That can be one of the reasons people may prefer this country. You have everything packed together.</p><p>In conclusion, you should check what the weather will look like at every destination you’re stopping by. Generally, you’ll need <strong>summer light clothes</strong> for the desert side (Lima, Paracas, Huacachima, …) or the Amazon and <strong>heavy cold clothes</strong> for hiking and climbing experiences in the Andes (Cusco, Machu Pichu, …).</p><p>So, make sure you have every layer needed for every destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CL-sfkAPLXo5Tky2Ksqf_A.jpeg" /><figcaption>2 shades of Peru</figcaption></figure><h4>4. Where can I get a SIM Card?</h4><p>The first thing that comes to mind when you arrive at the airport of a foreign country is to buy a SIM Card. We cannot survive a day without Internet access while traveling. But you’ll be surprised that a SIM card from the Airport would cost you <strong>60$ for 1 week</strong> and <strong>108$ for 2 weeks</strong>! In fact, they only “rent” SIM cards. However, the trick here is that those prices only exist in the Arrivals area at Lima Airport. If you go to the <strong>Domestic Departures</strong> area which is just a 3 minutes walk, you’ll get a SIM card for <strong>9$ for 10 days</strong> of usage.</p><p>The conclusion is that you <strong>must not buy a SIM card in the Arrivals area</strong>. Either you <strong>buy a roaming up front </strong>(Ooredoo has a roaming service in Peru) or you <strong>get it from elsewhere</strong> (like the Domestic Departures area). This <a href="https://www.traveltomtom.net/destinations/south-america/peru/buying-a-sim-card-at-lima-airport">blog</a> by <a href="https://www.youtube.com/c/TravelTomTom">traveltomom</a> illustrates the struggle.</p><p>A small thing to add here related to phones and technology. In Peru, they have a combination of <strong>3 different types of Outlets</strong> in their power plugs. They support <strong>type A</strong>, <strong>type B</strong>, and <strong>type C</strong>. So, that’s not something not to really worry about there. More details are in this <a href="https://www.peruforless.com/blog/peru-outlets/">article from PeruForLess</a>.</p><h4>5. How to get from the Airport to your Stay?</h4><p>With the internet access problem out of the way, you’ll get out of the airport and start looking for the mean of Transportation that will take you to your stay. You’ll be overwhelmed by the taximen just outside the airport shouting at you: “Taxi <em>seguro</em>! Taxi <em>oficial</em>!”. I cannot deny that they are secure and official, but one of my friends can assure you that he didn’t have the best experience with one of them when he tried to charge him 30$ for a 6$ ride.</p><p>So, what is more <em>seguro</em> and <em>oficial</em> is <strong>ordering your ride by Uber</strong>. <strong>Avoid them for your own sake</strong>.</p><h4>6. Do I need a local to guide me?</h4><p><strong>Definitely!</strong> Going around Latin America without a local won’t be easy at all! You’ll need your <strong>Google Translate</strong> all the time with you. <strong>Very few of them are bilingual</strong> and can have a proper conversation with you in English, even at Touristic Destinations. That’s without considering that their <strong>lifestyle</strong> and <strong>culture</strong> are considerably <strong>different from ours</strong>, which leads to maximizing your chances of <strong>being scammed</strong>.<br>My recommendation is that you find a <strong>travel buddy from there</strong>, or at last someone that <strong>speaks fluent Spanish</strong>.</p><h4>7. What are the plans I can have in Peru?</h4><p>Peru is a vast and diverse country. There are many things to do there, too many that it’ll need a whole article for them. So, stay tuned for part 3 :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=744e7e623ac6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Journey to Peru (pt1: Visa Process)]]></title>
            <link>https://ikdem.medium.com/your-journey-to-peru-pt1-visa-process-9b56244ab2b0?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b56244ab2b0</guid>
            <category><![CDATA[tunisia]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[visa]]></category>
            <category><![CDATA[peru]]></category>
            <category><![CDATA[vacation]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Mon, 05 Sep 2022 20:29:19 GMT</pubDate>
            <atom:updated>2022-09-05T20:29:19.564Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cVtayMYqKmNfqofOjwBNFw.jpeg" /></figure><p>If you are one of the fortunate people who were born in a diplomatically strong country and rarely need a Visa to travel, this Article won’t be that useful for you. But it would be very insightful if, for some reason, you’d like to know what people from the other half of the world need to go through just to have some proper vacations. Unfortunately, people are judged not based on who they are or what they do, but based on where they were born and what their fellow countrymen are known for.</p><p>On the other hand, if you are a Tunisian who is willing to visit Peru (one of the most must-see countries), you’ll find your step-by-step guide in this article. Yes, you will need a guide specifically for this Visa because it could very tricky.</p><p>Peruvian visa is not easy at all to get for Tunisians. First, we <strong>don’t have</strong> a Peruvian Embassy in our country, which forces you to inquire about your visa from the one located in <strong>Algiers, Algeria, </strong>and<strong> </strong>be <strong>physically present</strong> there. Second, the visa process is not as easy as you’d expect and it goes as follows.</p><h4>Step 1: Reach out to them</h4><p>First of all, you should reach out to the Peruvian Embassy through this email: <a href="/service/mailto:ambaperou@hotmail.com"><em>ambaperou@hotmail.com</em></a>, including the reason why you are willing to visit Peru (<strong>Type V: Visitor Visa</strong>), the dates of your journey, and who is going to cover the Travel expenses. They normally don’t take much time to reply. Expect a reply within <strong>2 days</strong> or so, with all the papers needed for the visa application. If you have a job and you’re covering your expenses, the list of the papers will mainly be: <br>* Filled Visa Form (DGC-005) that they would send you<br>* First page of your Passport <br>* Pay slips for the last 3 months <br>* Work Certificate<br>* Bank Statements for the last 3 months<br>* 2 way Flight Tickets (could be just the reservations)<br>* Hotel Reservations <br>* Previous Visas (if any. Very helpful for your application)</p><h4>Step 2: Get your documents ready</h4><p>It would actually take you a little more than the documents mentioned above to get the visa. For me, this is what I needed:<br>* Passports and Flight Tickets of my travel buddies <br>* Hotel Reservations (real ones)<br>* Tours Reservations (real ones)<br>* A detailed explanation of the whole plan we had for our stay.<br>When I first applied with only the documents that were mentioned in the email, I had a negative response. They asked me for more details. Actually, they asked me to write them a very long email including all the details of my stay. It was literally the <strong>longest</strong> email I have ever written. <strong>I‘ll be happy to share it with you</strong>. I’m sure you’ll find it quite <strong>helpful</strong>.</p><h4>Why is the VISA process this hard?</h4><p>The reason is simple enough, yet dumb enough honestly: Many young people from Algeria, and the Maghreb region in general, are actually trying to make long-distance virtual relationships with Latin girlfriends (from Colombia, Peru, Brazil, …) in the hope of marrying them and getting their nationality since the passports of these countries allow them to enter Schengen area with no visa. I personally feel that the investment they are making (language obstacles, long-distance relationships, spending years in a foreign country to get citizenship…) is not really worth the reward (entering Europe with no visa, as a tourist). I feel all this time and money can be invested in learning a skill that can take you wherever you want. <br>Well, who am I to judge? I have no idea what their life looks like. Maybe that’s the last option they have to prosper.<br>Back to our story, now you can see why Peruvian (and other Latin American embassies) are becoming so picky when it comes to issuing visas. They need real proof that your intentions are “good” and details on every step you’re going to make in their country. Moreover, having an invitation letter from a Latina friend can, surprisingly enough, reduce your chances of getting the visa. They will go as far as (<strong>YOU CANNOT GET MARRIED WITH THIS VISA</strong>) in capital letters on your visa.</p><h4>Step 3: Make it official!</h4><p>With all your paperwork done, you will have to send your documents by email to the Peruvian Embassy. The documents can be in French (<strong>no need to translate</strong> them) and <strong>no need to apostille</strong> them.<br>They will take a few days to review all the documents and get back to you with one of 2 possible scenarios. In case anything is missing or not clear, they will inform you through email.<br>If everything is there, they will take more time and they will invite you to an online interview that you can do from Tunisia. Until now, all these steps can be done from home soil.</p><h4>Step 4: The interview</h4><p>The purpose of this interview is to hear from you <strong>more details</strong> on the plan you have for Peru and the <strong>intentions of your trip</strong>. It can be done in English, French, or Spanish. You will start by introducing yourself and then they will start asking you questions. It will be done <strong>personally with the Peruvian Counsel in Algeria</strong> and will take place on Skype. One piece of advice I have for you, be ready for all the questions. Review your plan day by day and be ready to verbally explain it all.</p><h4>Step 5: Welcome to Algeria</h4><p>In case the interview goes well. They will give you the final response in a matter of 2 days at maximum. They will invite you to visit the Peruvian Embassy in Algiers to get your visa. At this time, you should grab <strong>your passport</strong> (with a validity of at least <strong>6 months</strong>), <strong>30 dollars</strong> (<strong>IN DOLLARS</strong>, they won’t accept any other currency), and get yourself to Algeria. <br><strong>My advice:</strong> Book your flights to Algeria upfront so it won’t cost you a fortune and then reschedule them as needed.<br>Once you get to Houari Boumediene International Airport, change your money to Algerian Dinars with individuals you find in the Airport (that’s the standard there). Don’t do that with the bank! The black market is surprisingly the best option in Algiers. <br>Hotels are a bit expensive there (since it’s not actually a tourist destination). That’s why it is better to find yourself an Algerian host. Here is probably the <a href="https://www.airbnb.com/rooms/26908254?source_impression_id=p3_1662409070_kRcBzyWU2mfqjbbZ">nicest <strong>Airbnb</strong> you can find</a> in what should be the best location.<br>Buy a <strong>SIM</strong> with the optimal plan for your stay duration at the Airport. Take a <strong>Yassir (Algerian Uber)</strong> from the airport to your stay (Don’t let Taxis scam you).<br>The Embassy you’re looking for is in Chraga, Algiers, which is mainly where all the embassies are. You should inform them upfront about your flight date. They will give you an appointment. Once you’re there, knock on the door. They will treat you well, take your passport and make you wait for a few minutes. The lady will be back to you with your passport in hand. The visa they gave me has a 1-year long duration. I think that’s the least you should expect after all the efforts you’ve committed.<br>Now the wait is over, and your dream journey to one of the most magical destinations in the world is only starting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b56244ab2b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Developers friendly RESTful APIs]]></title>
            <link>https://levelup.gitconnected.com/design-developers-friendly-restful-apis-d7a79b7d47a0?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7a79b7d47a0</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Sat, 06 Nov 2021 17:47:49 GMT</pubDate>
            <atom:updated>2021-11-07T19:47:25.260Z</atom:updated>
            <content:encoded><![CDATA[<h3>Design Developer-friendly RESTful APIs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*arx9bMj54Ihiz4eOHIaQrw.jpeg" /></figure><h3><strong>What do we use APIs for?</strong></h3><p>We live in the era of APIs, in an era where we pay for data more than we pay for oil. To get that immense data from the database to your display, it needs to go through a server that makes it accessible on the Internet thanks to APIs. You just send the right <em>request</em> with the right <em>query</em> and <em>method</em> to the right <em>endpoint</em> and you get the data you want. This data can be anything from pokemon names and types, to weather predictions, and even sports bets and political and business news.</p><p>Now if 2 humans want to communicate, they should have a common language to avoid turning into 2 miming homo sapiens. Let alone if we’re talking machines. Communication through the Internet follows countless Protocols, one of them is HTTP, the protocol used to exchange data in the form of HTTP requests and responses. RESTful APIs, the “standard” for APIs nowadays, is built upon HTTP and JSON.</p><h3>Why should we follow the API design patterns?</h3><p>If you’re a full-stack developer that is working on a small scale application by himself, this would look odd for you. But out there in the industry, it’s almost impossible to find someone working both as a frontend and a backend developer, at least not on the same project. This means that you can find 2 people, from 2 distant continents, working on the same project. One would be <em>creating</em> the API and handling the upcoming requests, while the other would be <em>consuming</em> the API and <em>sending</em> the requests. This, of course, cannot be real if they do not have some common patterns to work with.</p><h3>RESTful API Design Patterns</h3><p>We will go through what a Backend developer should do to make his API comprehensible and accelerate the development process. Also, it will help make your API live longer and be used by more developers from around the world.</p><h4>URI Formats</h4><ul><li><strong>Use forward slash </strong>(/)<strong> seperator<br></strong>This is used to indicate the hierarchical relationship between resources</li><li><strong>Don’t use a trailing forward slash<br></strong>Avoid having a trailing slash at the end of your API as it only causes confusion and does not have any significant meaning.</li></ul><pre><a href="http://xx.yy.zz/shapes/polygons/">http://xx.yy.zz/shapes/polygons/</a></pre><ul><li><strong>Use Hyphens </strong>(-)<strong> Avoid underscores </strong>(_)<strong><br></strong>Hyphens improve the readability of URI names, paths, and segments, and help clients to scan and interpret easily. You should avoid underscores in the path, as the character may be partially obscured or hidden while rendering on visual cues due to computer fonts. Also, there is the risk of being ignored by the Google search engine.</li><li><strong>Stick to lowercase letters<br></strong>RFC 3986 defines URIs as case sensitive except for the scheme and host components. That’s why you should give preference to lowercase usage. Also, notice how I (capital i) and l (lowercase L) are quite similar. This has been largely used by hackers to trick people into fake websites.</li></ul><pre><a href="http://xx.yy.zz/shapes/polygons">http://xx.yy.zz/shapes/polygons</a><br>HTTP://XX.YY.ZZ/shapes/polygons // same as previous</pre><pre><a href="http://xx.yy.zz/shapes/polygons">http://xx.yy.zz/shapes/polygons</a><br>HTTP://XX.YY.ZZ/SHAPES/Polygons // different than previous</pre><h4>Carefully use HTTP Methods</h4><p>HTTP methods have their names for a reason. You should use:</p><ul><li><strong>GET </strong>in case we’re fetching or reading Data</li><li><strong>POST </strong>in case we’re creating new data</li><li><strong>PUT </strong>in case we’re updating a whole resource in our data with a new one</li><li><strong>PATCH </strong>in case we’re partially updating a resource</li><li><strong>DELETE </strong>in case we’re deleting existing data</li></ul><h4><strong>Formulate well your endpoints</strong></h4><p>Developers tend to be very confused about how to name their endpoints. Here are a few rules you should follow when you’re using REST.</p><ul><li><strong>Include version numbers<br></strong>It may not seem that obvious now, but one day, you’ll feel that your API structure can’t handle your system and can’t scale up anymore. That’s where you‘ll be seriously thinking about building everything from bottoms up again: new models, new entities, new controllers, new endpoints, … Such big migration will need a new version for your API. That’s why it’s wise to include the version number at the start of your endpoints. This way, you’ll still be able to handle legacy requests while scaling up and systems built with your API won’t crash.</li><li><strong>Use consistent sub-domain names</strong></li></ul><p>Consistent sub-domains should be provided to developers if you want them to consume and test your API:</p><pre>api.amazing-app.com // for api requests<br>dev.amazing-app.com // for development environment</pre><ul><li><strong>Use nouns rather than verbs. Let the HTTP methods do the action<br></strong>Request methods are significative and should give an idea about the action needed by the request.</li></ul><pre>GET http://<a href="http://www.example.com/api/v1/users">api.example.com/v1/users</a> // DO<br>GET http://<a href="http://www.example.com/api/v1/users">api</a><a href="http://www.example.com/api/v1/users/get-users">.example.com/v1/users/get-users</a> // DONT</pre><pre>POST http://<a href="http://www.example.com/api/v1/users">api.example.com/v1/users</a> // DO<br>POST http://<a href="http://www.example.com/api/v1/users">api</a><a href="http://www.example.com/api/v1/users/create-user">.example.com/v1/users/create-user</a> // DONT</pre><pre>PUT http://<a href="http://www.example.com/api/v1/users">api</a><a href="http://www.example.com/api/v1/users/:id">.example.com/v1/users/:id</a> // DO<br>PUT http://<a href="http://www.example.com/api/v1/users">api</a><a href="http://www.example.com/api/v1/users/update-user/:id">.example.com/v1/users/update-user/:id</a> // DONT</pre><pre>DELETE http://<a href="http://www.example.com/api/v1/users">api</a><a href="http://www.example.com/api/v1/users/:id">.example.com/v1/users/:id</a> // DO<br>DELETE http://<a href="http://www.example.com/api/v1/users">api</a><a href="http://www.example.com/api/v1/users/delete-user/:id">.example.com/v1/users/delete-user/:id</a> // DONT</pre><pre>DELETE <a href="http://api.example.com/v1/users/:id">http://api.example.com/v1/users/</a>1234 // DO<br>GET <a href="http://api.example.com/v1/delete-user?id=1234">http://api.example.com/v1/delete-user?id=1234</a> // DONT<br>POST <a href="http://api.example.com/v1/1234/delete">http://api.example.com/v1/1234/delete</a> // DONT</pre><p>Use singular nouns for document names and plural names for collections and stores.</p><pre>http:/​/api.example.com/​v1/​profiles/customers<br><a href="http://api.example.com/v1/profiles/customers/memberstatus">http://api.example.com/v1/profiles/customers/memberstatus</a><br>http://api.example.com/v1/profiles/customers/​memberstatus/​preferences</pre><p>It is possible to use a verb or a verb phrase for controller resources.</p><pre>http://api.example.com/v1/profiles/customers/​memberstatus/reset<br>http://api.example.com/v1/profiles/customers/​memberstatus/activate</pre><p>This will make your API consistent and easy to use and play with. This is just getting you started though. There is a lot more to see concerning <em>authorisation,</em> <em>request params and queries, </em>and so on. But that’s a story for another time</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7a79b7d47a0" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/design-developers-friendly-restful-apis-d7a79b7d47a0">Design Developers friendly RESTful APIs</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You don’t know Stack Overflow]]></title>
            <link>https://ikdem.medium.com/you-dont-know-stack-overflow-b2da0e41b90a?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2da0e41b90a</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[training]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[stackoverflow]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Tue, 09 Mar 2021 12:40:53 GMT</pubDate>
            <atom:updated>2021-03-09T16:03:51.580Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_UBi97HiXuUO4DaNZh4Nog.jpeg" /></figure><p>If you are reading this, it means that you are a developer, or at least tried to write a piece of code before. And since you tried to write code, this means that eventually you have run into bugs and errors and tried to find a solution on the heavenly platform of Stack Overflow. But, Stack Overflow is far from being a simple website where people post questions and other people try to answer with help. It’s huge, it’s a magnificently gamified platform that matches job-seeking developers with job-providing companies. Yes, you heard it right. Stack Overflow is like an online game where you unlock new levels with achievements. The level you reach describes you as a Developer and gives companies insights into your technical level. That’s why developers from all over the world compete to provide correct answers for as many questions as possible. This will help them get a Reputation, Badges, and Points.</p><h3>Level 0: The starting point 🏁</h3><p>When you first sign up at Stack Overflow, you have nothing: ZERO badges, ZERO reputations, and ZERO points. The bad news is that you have a very long way to go, and almost all the weapons in the game are locked. Meaning that you are still not able to chat or upvote and downvote. The good news is it won’t be the case for long. Your first steps are the easiest.<br>Let’s see how can you track your progress.</p><h3>Badges</h3><p>There are 3 types of Badges in SO: <strong>bronze</strong> 🥉, <strong>silver</strong> 🥈, and <strong>gold</strong> 🥇. It’s no secret that the Gold badges are the hardest to obtain, followed by the silver ones, then the bronze ones. To unlock badges, there are missions that you need to achieve. These badges are a key indicator of your credibility and capacity as a developer and how active you are on Stack Overflow. The first few badges are very easy to obtain, and they are quite important to boost you and get you going. Take as an example the “<strong><em>informative</em></strong>” badge that you get upon reading the Stack Overflow guide or the “<strong><em>student</em></strong>” badge that you get when you ask your first question and have +2 upvotes from other users. To see the full list of Badges to earn during your journey, you can check the Stack Overflow badges <a href="https://stackoverflow.com/help/badges">here</a>. The funniest one for me is called the “<strong>Self Learner Badge</strong>” that you get when you <em>answer your own question with a score of 3 or more</em>. Trust me, it’s a lot of fun chasing these small coloured dots and the small doses of adrenaline you get after each achievement will be enough to keep you going and try to catch them all!</p><h3>Reputation</h3><p>Your reputation on Stack Overflow is determined by how many people were reached by and benefited from your contributions (questions and answers). It is a very important key indicator since it is very easy to post non-sense questions and answers on the Stack. So, reputation is there to show how much sense your contributions did have and how appreciated were they by the community. <a href="https://stackoverflow.com/help/whats-reputation">Reputation</a> is measured by the number of upvotes, downvotes, and accepted answers you write. In other words, how much does the community trust you! 💪</p><h3>Pieces of advice 🙅</h3><p>If you are new to Stack Overflow, like’s the case for me, there are few things that you need to pay attention to in order to start well and not ruin your experience.</p><ol><li><strong>Don’t compare yourself to others:</strong></li></ol><p>Don’t be overwhelmed by how advanced developers are in terms of badges and achievements. Remember that they all started from zero just like you. In the end, your score on the Stack does not indicate your skills as a Developer as much as it does describe your contributions on Stack Overflow.</p><p>2.<strong> Don’t be afraid to ask:</strong></p><p>The main reason behind having Stack overflow is to allow people to ask questions. So, don’t feel ashamed to do so, no matter how dumb your question may seem. If you think about it, if everybody feels that way before asking, no one will be ready to ask again and the community will seed to exist. Don’t be afraid of the responses you’ll get, no one is judging you on the Stack, as long as your question follows the guidelines. But, it’s always a good idea to do some research and check past questions before posting a new one.</p><p><strong>3. Pay attention to your answers</strong><br>Answering questions is <strong>good</strong> 👍, answering them without knowing the answer is <strong>bad ❌</strong>while answering them with a correct answer is <strong>better</strong>. ✅ So, always aim to answer correctly and accurately to avoid any downvotes. To do so, remember to read carefully the question, try your answer before you post it and include specific links to documentation and examples. Also, bear in mind that you should have a welcoming attitude and <strong>NEVER</strong> insult or judge people. “We don’t do that here&quot;.</p><p><strong>How to get jobs on Stack Overflow</strong><br>As I said, stack overflow can act as a pretty solid addition to your resume. Your reputation and your achievements give insights into how experienced you are as a developer. Companies tend to prefer developers with an online presence on platforms like Medium and Stack Overflow. The latter even includes a whole section where companies post job offers. Then, developers can apply directly with their Stack Overflow profiles. So, always make sure you have a quite insightful description on your profile and always stay active on the Stack and don’t stop reaching achievements.</p><h3>Conclusion</h3><p>From the outside, Stack overflow is just a website where developers ask questions to be answered by other developers. But, deep inside, it gives an accurate insight into how experienced you are and it acts as a solid argument for recruiters to choose you among hundreds of non-active developers on the Stack. It will even help you get in touch with other developers and keep learning, not only from asking questions but also while answering existing ones.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2da0e41b90a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finished your JS Coding Bootcamp, What’s next?]]></title>
            <link>https://ikdem.medium.com/finished-your-js-coding-bootcamp-whats-next-a1f728cc97f2?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1f728cc97f2</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Wed, 24 Feb 2021 13:39:50 GMT</pubDate>
            <atom:updated>2021-02-24T13:39:50.166Z</atom:updated>
            <content:encoded><![CDATA[<p><em>My name is </em><a href="https://www.linkedin.com/in/ikdembenmbarek/"><em>Ikdem Ben Mbarek</em></a><em>, a Technical Mentor at </em><a href="https://medium.com/u/9a3929b3623"><em>RBK</em></a><em>. This blog is initially destined for graduates from our Bootcamp. But, if you are a graduate from any full-stack JavaScript coding Bootcamp, there are a lot of things mentioned here that can be interesting for you.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*24ML0sLmHdTwXZQRGT_VMQ.jpeg" /></figure><p>Dear Student, or let me say, dear Full Stack Developer!</p><p>Congratulations on successfully finishing your journey with us at RBK. As you know, not everyone that started this journey was able to make it to the end. So, it’s quite an achievement that you shall be proud of. Yet, this is just the beginning of a bigger and harder journey. You can count this as the first step in a hundred miles path, the path for a successful professional career and a lifelong chase for full potential fulfilment. But be assured that this step is able to put you on the right track. In this document, I will try helping you find your next step. Let’s get started!</p><h3><strong><em>Rest Well</em></strong></h3><p>You must be exhausted, tired, and full of emotions. You deserve a rest buddy. Go home, meet with your family and friends that you have missed for sure. Spend some quality time with the activities that you missed doing and the people you missed being around. But don’t you develop a routine because we’re here to develop that routine together.</p><h3><strong><em>Develop a routine</em></strong></h3><p>Find your working environment. Some people feel more productive working at night with some chilling music. Some prefer waking up early in the morning and working by a coffee on the side. Well, it’s up to you to find your working environment and when and where you feel productive. One thing to bear in mind, get away from all the distractions. We are talking about your career here.</p><p>Then, segment your activities. They should include and not be limited to: reading, problem-solving, learning, coding, applying for jobs. You should do all these things every single day and I’m here with recommendations. Stick to them for three weeks straight and they’ll become a habit, something that is a part of you and you do without thinking about it.</p><h3><strong><em>Solving Problems</em></strong></h3><p>Problem Solving is a skill that we develop every day. You should keep the same momentum and keep pushing your mind to be active and solution-oriented. In fact, just like the body, the mind needs to do some workout to stay in good shape. Otherwise, it’ll get slower …</p><p>Start by reviewing the sprints of Recursion, Iterations, Each, Map, Filter, Reduce, and Data Structures and go through the toy problems again. The Instructional Team shall give you access to dozens of other toy problems. Of course, there are a lot of toy problems out there classified by levels. Have a look at <a href="https://www.codewars.com/">CodeWars</a> and <a href="https://www.hackerrank.com/">HackerRank</a>. Employers pay attention to your achievements on these sites. Take care of your mind, take him to the gym every day, and remember! one of these toy problems will be your way to solve the task assigned to you in a job interview and get your first job!</p><h3>Reading</h3><p>Reading is a crucial part of your learning journey. Watching tutorials and live code demos may be a good thing. But, it’s far from being enough. There are many multiple Blogging Websites like Medium, Quora, FreeCodecamp, … where you can find interesting subjects to read about.</p><blockquote><a href="https://medium.com/le-wagon/what-to-do-after-a-coding-bootcamp-cad2a5f25bd4">What to do after a coding Bootcamp</a></blockquote><blockquote><a href="https://www.freecodecamp.org/news/5-key-learnings-from-the-post-bootcamp-job-search-9a07468d2331/">5 key learnings from the post bootcamp experience</a></blockquote><blockquote><a href="https://codingnomads.co/blog/learn-to-code/how-to-find-a-job-after-a-coding-bootcamp/">How to find a job after a coding bootcamp</a></blockquote><p>Start with these 3, then follow channels on this list to get your daily read suggestions.</p><h3><strong><em>Keep Learning</em></strong></h3><p>Because learning is a life-long process, you still have a lot of technologies that are very interesting to discover. Each technology has its own super powers and its own use. I’ve included here some technologies that are worth mentioning.</p><ul><li><strong>TypeScript</strong>: Also called HypeScript! The next BIG thing! In a few years, this programming language, very similar to JavaScript, will be the most commonly used programming language, replacing the less mature JavaScript. Yes, you heard it right! JavaScript doesn’t support Typing and that may result in some unexpected behaviors at run time of your application. People tend to learn and use Typescript since it merges the flexible and easy-to-use javascript with the strong typing. You can start at this website <a href="https://www.typescriptlang.org/"><strong><em>Typescript</em></strong></a> where you can find tutorials and guidelines.</li><li><strong>Java</strong>: This is one of the most commonly used and highly on demand programming languages especially on a local scale. Java can be used for both software and web, and mobile development and unlike javascript, it can run everywhere (remember those java games we used to have on our mobile phones). Mastering Java can be a key to expand your knowledge in terms of OOP and get further new job opportunities.Bear in mind that Java is hard to learn especially in the beginning and even installing it and writing your “Hello World” application can be a decent challenge. Don’t be fooled by the name, it has nothing to do with Javascript. So, take it easy with Java and walk with sure steps. I highly recommend <a href="https://hyperskill.org/"><strong><em>Hyperskill</em></strong></a> by Intellij Academy. It’s paid, but it’s totally worth every penny you’re gonna pay. It has a gamification style that will make you addicted with daily challenges to solve and projects to develop. Furthermore, it offers paths to learn Java and its framework Spring, Kotlin for mobile development, and also paths for algorithms and web development. If you can’t afford that, this website is here for the rescue <a href="https://www.programiz.com/java-programming"><strong><em>Learn Java Programming</em></strong></a>. After finishing with Java, go and discover Spring Framework, the most loved framework that is able to make developing web applications in Java easy and fun. You can find solid documentations and multiple projects to start with on their website <a href="https://spring.io/"><strong><em>https://spring.io/</em></strong></a>.</li><li><strong>Python</strong>: The big snake, used by companies like Google, Netflix, Facebook, Amazon, and Spotify in web development, GUI applications, Data Science and machine learning. Python is one of the most growing programming languages since it is high level, general purpose, and easy to learn and use. Python can be a good addition to your portfolio and it can unveil new pathways for you. Here are some links to get you started with Python:<br><em>| </em><a href="https://www.programiz.com/python-programming"><em>Learn Python Programming</em></a><em><br>| </em><a href="https://www.codecademy.com/learn/learn-python"><em>Learn Python 2</em></a><em>,</em><a href="https://docs.python.org/3/tutorial/index.html"><em>The Python Tutorial<br>| Python 3.9.1rc1 documentation</em></a></li><li><strong><em>Blockchain</em></strong>: The emerging technology that is able to change how the world works. It was brought to light when “Satoshi Nakamutu” launched Bitcoin as a decentralized Peer 2 peer banking system. Since then, we have started to see this magic box implemented in almost every industry from healthcare to supply chain. If you want to get introduced to Blockchain, start by learning about Bitcoin and read its white papers so you can understand the techniques it is using and how it works. Then, start learning about Etheruem, the Blockchain that enabled developers to make Decentralized Applications (Dapps) where we can use the power of decentralization for all kinds of applications. <br><em>| </em><a href="https://bitcoin.org/bitcoin.pdf"><em>Bitcoin white papers<br></em></a><em>| </em><a href="https://www.khanacademy.org/economics-finance-domain/core-finance/money-and-banking/bitcoin/v/bitcoin-what-is-it"><em>Bitcoin on Khan Academy</em></a><em><br>| </em><a href="https://ethereum.org/en/learn/"><em>Intro to Ethereum</em></a><em><br>| </em><a href="https://ethereum.org/en/developers/tutorials/"><em>Develop real applications with Ethereum</em></a></li><li><strong>More Javascript</strong>: If you found yourself much into Javascript, I would like to tell you that besides React, Angular, Vue, NodeJS, and Express there are still a lot of JS technologies out there and much more coming in every now and then. The ecosystem of Javascript is HUGE. You can discover the advanced patterns and good practices of writing code and structuring projects. On the other hand, once you feel you’re good enough with these, you can start discovering new frameworks like Redux, VueX, NestJS, … By adding these technologies to your backpack, you will be eligible for much more job opportunities which is always in your favor.<br>|<em> </em><a href="https://www.robinwieruch.de/react-redux-tutorial"><em>React Redux Tutorial</em></a><em><br>| </em><a href="https://reactjs.org/docs/higher-order-components.html"><em>Higher Order Components in React</em></a><em><br>| </em><a href="https://www.robinwieruch.de/complete-firebase-authentication-react-tutorial"><em>Firebase x React Tutorial</em></a><em><br>| </em><a href="https://angular-academy.com/angular-architecture-best-practices/"><em>Angular Architecture Best Practices</em></a><em><br>| </em><a href="https://ngrx.io/docs"><em>NgRx: State Management in Angular</em></a><em><br>| </em><a href="https://ngrx.io/resources"><em>NgRx: Example Projects</em></a><em><br>| </em><a href="https://scoutapm.com/blog/nodejs-architecture-and-12-best-practices-for-nodejs-development"><em>Express: Architecture Best practices</em></a><em><br>| </em><a href="https://dev.to/santypk4/bulletproof-node-js-project-architecture-4epf"><em>Express: 3 layers Architecture</em></a></li><li><strong>Cloud Computing:</strong> Developing Applications is good, but deploying applications and making them accessible by users is way better. But, you need to properly structure your code and correctly deploy it so it can handle multiple requests at a time without failing and it can be scalable and sustainable. Challenge yourself to understand new concepts and get into the world of Cloud Computing and DevOps.<br>|<em> </em><a href="https://nodesource.com/blog/microservices-in-nodejs"><em>Creating microservices in NodeJS</em></a><em><br>| </em><a href="https://aws.amazon.com/training/learn-about/?nc2=sb_tr_la"><em>Get Trained by AWS</em></a></li></ul><h3><strong><em>It’s your journey, you create it</em></strong></h3><p>Being inspired by the journey of other people is something, and trying to relive their journey is an absolute other thing. You don’t need to follow the same steps of some other people. Their journey was successful because it was theirs. Your journey needs to be customized for you.</p><p>So, my advice for you is to keep trying new things until you find what you look for. Don’t settle down. Don’t lose hope. Create your own experience and always remember that no matter how late it could be, your time will surely come.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1f728cc97f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Express Middlewares Are Easier Than You Think]]></title>
            <link>https://javascript.plainenglish.io/express-middlewares-are-easier-than-you-think-b0ddcbb358cc?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0ddcbb358cc</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Fri, 19 Feb 2021 18:03:24 GMT</pubDate>
            <atom:updated>2021-02-19T18:03:24.744Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8dZSD3JImKTawU9nJo96zg.jpeg" /></figure><p>After the positive feedback I got from the last <a href="https://js.plainenglish.io/javascript-promises-easier-than-you-can-imagine-cfb18b1f35bc"><strong><em>blog</em></strong></a> I posted for <a href="https://js.plainenglish.io/"><strong><em>JavaScript in Plain English</em></strong></a>, I decided to start another one where I break down a complex concept and assimilate it to something a human brain is familiar with. After all, that’s what I do for a living, empowering <a href="https://medium.com/u/9a3929b3623"><strong><em>RBK</em></strong></a> students from different backgrounds to become full-stack developers.</p><p>Today, we’re going to look at Middlewares. They are widely used when handling requests coming from the client to the server-side. They are just functions that take the request as an argument, do some stuff with it, and then pass it to the next Middleware. Trust me, it’s as easy as it’s sound. Yet, to make this concept persist in your mind, I’m going to give you a concrete example.</p><h3>Middlewares in car manufacturing</h3><p><a href="https://en.wikipedia.org/wiki/Elon_Musk">Elon Musk</a>, Founder of Tesla and SpaceX, the richest individual homo sapien on earth, describes the production lines in his car manufacturing company, Tesla, as <a href="https://observer.com/2019/02/elon-musk-tesla-production-hell-podcast-interview/"><strong><em>Production HELL</em></strong></a>. It is the biggest challenge any car manufacturer faces. This reminds me very well of server-side development: a very <strong><em>crucial</em></strong>, <strong><em>delicate</em></strong> and <strong><em>Invisible</em></strong> part of web development.</p><p>I think if Elon Musk had a web development agency, he would’ve said the same thing about request handling on the server-side. If you give it a closer look, you’ll find out it is kind of the same thing.</p><p>A server receives the request, handles it, and produces a response. A car manufacturer receives raw materials, do stuff with them, and then send back the final product.<br>A car manufacturer has separate machine performing separate tasks. The same goes for the server. It has separate Middlewares, each performing a unique individual task.</p><p>Sometimes, you don’t need to produce the car as a whole. Instead, you want to produce just tyres. In that case, you will <strong>use </strong>one or two machines instead. The same goes for the server, you can plug as many middlewares as you want for each separate request.</p><h3><strong>Using existing Middlewares</strong></h3><p>Now let’s look at the easiest example for middleware. For that, I created this server.js file where I imported express and body-parser. <a href="https://expressjs.com/">Express</a> is the most popular web framework for NodeJS. It allows us to skip a lot of boilerplate code to focus instead on our business logic. Express for Node is like jQuery for vanilla JavaScript.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6c3645ba252a30cdf4ad6aa3ac16b5c8/href">https://medium.com/media/6c3645ba252a30cdf4ad6aa3ac16b5c8/href</a></iframe><p>In this example, we are going to use Body-parser which is a middleware that allows us to get access to the body of the request we’re handling. First, we need to install it locally from the npm registry by running:</p><pre>npm i body-parser</pre><p>Then, we will need to import it via require as we did in line 5. Now, we’re going to use this machine for all incoming requests. On line 12, we called the built-in method use and provided it with the body-parser middleware. Now, any incoming request will go through this machine and thus we will get access to the body of all the incoming requests.</p><h3>Creating our own middleware</h3><p>Let’s create our first ever middleware. We’ll start with something small and quite useful: <strong><em>Loggify. </em></strong>This middleware will log to the console the type of any upcoming request (GET, POST, DELETE, PUT, ..) and on which port is it coming. As we said earlier, a middleware is just a function that takes 3 main arguments:</p><ul><li>The request that is being handled, or the material we’re manipulating</li><li>The response object that we can use if we’re going to ship back the response or the final product</li><li>The next method that we can call once our middleware has done its job and it’s ready to pass the request (the material) to the next middleware (machine)</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/504f05b40f38685f6fca0b776f1a2dee/href">https://medium.com/media/504f05b40f38685f6fca0b776f1a2dee/href</a></iframe><p>As you can see, This function loggify will log the request method and URL to the console on line 2. Once done, it will pass the request to the next machine in the production line. Now, let’s put our machine to use.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91a7bc6fdf2f332baee9eb63a3ffd5db/href">https://medium.com/media/91a7bc6fdf2f332baee9eb63a3ffd5db/href</a></iframe><p>This is the same file we had in the previous section. Except for, now, we imported our middleware loggify from the separate file that exports on line 5. In the same way we used body-parse with app.use(), we are calling it again with the loggify function as an argument. Now, any incoming request will go through the loggify machine that will inform us that, for example, we have an incoming <em>Get</em> request on the endpoint of <em>/users.</em></p><p>Of course, we can use a middleware for specific paths. To do that, we just need to pass an extra argument to app.use() this way:</p><pre>app.use(&#39;/users&#39;, loggify)</pre><h3>Conclusion</h3><p>Middlewares are functions that we want to call for the upcoming requests on our web server. But instead of rewriting them for every request handler, we can just define them and put them to use with the app.use() method of Express. You can find thousands already written by other developers in registries like <a href="https://yarnpkg.com/"><strong><em>yarn</em></strong></a> or <a href="https://www.npmjs.com/"><strong><em>npm</em></strong></a> that you can freely import and use.</p><p>When I first got introduced to middleware, it took me time to understand what they are and how to put them to use. So, it’s very normal if it is still confusing. You can go ahead and play around with them! You can create your first middleware now, use it in your application, and even post it in the npm registry and invite your friends to use it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0ddcbb358cc" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/express-middlewares-are-easier-than-you-think-b0ddcbb358cc">Express Middlewares Are Easier Than You Think</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Promises Are Easier Than You Think]]></title>
            <link>https://javascript.plainenglish.io/javascript-promises-easier-than-you-can-imagine-cfb18b1f35bc?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfb18b1f35bc</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Wed, 10 Feb 2021 15:51:43 GMT</pubDate>
            <atom:updated>2021-02-13T21:28:44.986Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sX4H2tDZGQ5G-KQi-zcqeQ.jpeg" /></figure><p>When I encounter a new abstract concept in programming, I always try to relate it to something easy and quite understandable, like food 😋<br>I LOVE food! and almost everyone that I met does. That’s why today we are going to think about Promises and Asynchronous code execution in JavaScript as some tasty meals of food. I tried this with my students at <a href="https://medium.com/u/9a3929b3623">RBK</a> and it worked like charm. That’s why I’m going to relate asynchronous code execution to ordering a meal from a restaurant. Now, let’s go ahead and order some promises.</p><h3><strong>Promises and Food</strong></h3><p>It’s lunch time, you’re starving. You don’t know how to cook and you don’t even have time to cook. That’s why you decided to grab lunch from the McDonald restaurant around the corner. You’ve always loved the cheeseburger they make so your decision wasn’t hard at all.</p><p>You go to the cashier and ask him for a cheeseburger. You pay for your meal and in return, he gives you back a <strong>ticket</strong>. Now that ticket right there is the JavaScript promise. It’s not food, it’s not a value, but it’s a future value. The cashier (or the waiter) gave you a promise that he is going to send you back your meal. When? it can take a few seconds or minutes just as it can take an hour. It all depends on how quick are the cookers and how many people are already waiting in the queue. In the worst-case scenario, the waiter will come at you and tell you that they ran out of cheese 😫 Maybe then you can order something else.</p><p>The same goes for promises, you execute some asynchronous code (like sending a request to the server from the client-side) and you wait for your response. Meanwhile, you’ll get a promise to future data in return.</p><p>When the burger (or the data) is finally ready, you can <strong>then </strong>start eating it and enjoying the taste. Otherwise, you may order something else or visit another restaurant that still has some cheese left.</p><p>The same goes for promises. If you get back your response you can manipulate that data or output it to the user. On the other hand, if you don’t, you do something else like informing the user that there is no data left.</p><h3>Using Promises to send a request to an API</h3><p>Now, let’s see an example in code. For this blog, I’m going to send a GET request to the <a href="https://docs.github.com/en/rest"><strong>Github API</strong></a>. The API, however, does not send back food. Yet, Github API can send us back another amazing thing that can be better than food! Yes, you guessed it … <a href="https://docs.github.com/en/rest/reference/emojis"><strong>EMOJIS</strong></a> 🎉 🎉 Let’s get started!</p><p>The first thing of course is to create a JavaScript file. I’m going to name it “index.js”. Then, We’ll need an API token from Github to be able to send requests. You can generate your own on <a href="https://github.com/settings/tokens">https://github.com/settings/tokens</a>.</p><p>I’m going to put my own key in a separate file and then import it in index.js and I’ll use npm to install Axios.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/563816f78ae14c27cadfc327a13ea733/href">https://medium.com/media/563816f78ae14c27cadfc327a13ea733/href</a></iframe><p>I imported <a href="https://github.com/axios/axios">Axios</a> to use it to send an http request to the API. It’s a brilliant promise-based HTTP client library. For this blog, I’m not going to dive into how to create and make a function return a promise using <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">native Promises</a> or external libraries such as <a href="https://www.npmjs.com/package/bluebird">Bluebird</a>. Instead, I’ll be focusing on how to send requests and handle the returned values in a promise based pattern.</p><p>With those in place, now let’s order some food (some emojis) 😅</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/705935ca579b0555fcafc9a05546ce98/href">https://medium.com/media/705935ca579b0555fcafc9a05546ce98/href</a></iframe><p>For that, I’m creating a function called <strong>getEmojis </strong>and I’m calling it on line 21. If we dive into the function definition, we will find that on line 5 we are making a get request with Axios with the get method. That method took two arguments: the <em>path</em> “https://api.github.com/emojis” and an object containing a <em>headers</em> property where we provided the imported API_TOKEN as a value to <em>Authorization.</em></p><p>That call now doesn’t return a value right away (as we don’t get our cheeseburger right away). Instead, it returns a promise to a future value. After all, getting a response from a remote server takes time, just as the chef needs time to prepare a burger.</p><p>The returned value of type Promise got two different important methods: the <strong>.then() </strong>and the <strong>catch()</strong>. The first one will be called when the request was successful (returned the promised value) while the second one will be called when the request failed (didn’t return the promised value). Now, the request can fail for many reasons including but not limited to the lost of network access or that we sent it to a path that does not exist (like “https://api.github.com/food” since the Github API does not provide food so far).</p><p>So, the API says that when we send a <strong>GET</strong> request on that <strong>endpoint</strong>, it will send us back the full list of emojis that GitHub handles. That’s why I’m assuming that my callback function,that will be executed then, will have one argument which is the array of emojis. For this example, I will just log them to the console. In another context, when your burger will be ready and served, you will execute the function <em>eatBurger </em>with an argument <em>(burger).</em></p><p>If the request fails, I’ll <em>catch </em>back the error message returned to me and throw it in order to be able to debug my code.</p><h3><em>Conclusion</em></h3><p>Promises were a great addition to JavaScript. They allowed us to have a pretty readable code and saved us from the callback hell where you’re executing one callback inside another. In fact, in callbacks, our code gets more and more horizontal while with promises it gets vertically ordered which makes it readable from developers and homo sapiens in general.</p><p>The promise value that we get in return has two main methods, .then() that gets executed in case of success, and .catch() that gets executed in case of failure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfb18b1f35bc" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/javascript-promises-easier-than-you-can-imagine-cfb18b1f35bc">JavaScript Promises Are Easier Than You Think</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy your NodeJS application to a Digital Ocean Droplet || Step by Step Guide]]></title>
            <link>https://ikdem.medium.com/deploy-your-nodejs-application-to-a-digital-ocean-droplet-step-by-step-guide-3f6f928f776?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f6f928f776</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 14:03:16 GMT</pubDate>
            <atom:updated>2021-02-17T15:55:47.597Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cl5528JBPb6Gg5o8yOLUZA.jpeg" /></figure><h3>Getting Started</h3><p>As a developer, most probably you asked yourself the very famous question after finishing the design and development of your application: “Now what? How can I make it accessible for users?”. Well, you still can do that by running your application locally on your machine and give your IP address for people to access it from their browsers. Yet, this isn’t the best option considering that your will need to turn off your machine every now and then. The second and best option is to have another machine that is always running. That’s exactly what we’re going to do today with Digital Ocean.</p><p>To be able to follow this guide, I’m assuming that you are familiar with basic Linux commands (since we are going to put them to use), that you have a ready-to-use Nodejs application and most importantly that you have a github account with a repo containing that application.</p><p>First things first, Digital Ocean is a cloud provider that allows us to rent servers and deploy our applications on them. This is basically what we call “Infrastructure as a Service” or IaaS in short. It’s when, instead of buying our hardware to deploy our applications like it was back in the first days of the web, we could go to a cloud provider, such as AWS, Azure, or Google Cloud and rent from them the hardware we need. This way, we will only pay for the resources we need. If, someday, we’ll need more, we can rent more. That’s what we call “pay as you go”.</p><p>Digital Ocean can be a good alternative for developers. It allows you to build more and spend less time managing your infrastructure with our easy-to-use control panel and API.</p><h3>Step 1: Create a Droplet on Digital Ocean</h3><p>First thing to do is to create an account on Digital Ocean. For that, you’ll need to provide them with your credit card details. This is just a regular checking and they won’t charge you for it. <br>There is a way for you to have a 100$ Free Credit upon sign up that will last for 2 months. This will be a good boost for you to start with the cloud.</p><blockquote><a href="https://www.digitalocean.com/?refcode=155ccaa445c8&amp;utm_campaign=Referral_Invite&amp;utm_medium=Referral_Program&amp;utm_source=CopyPaste"><strong><em>Follow this link to get the 100 dollars credit</em></strong></a></blockquote><p>Let’s now create our first droplet. This will be the remote machine that we talked about. It’s somewhere inside a data center that can be hundreds of miles away from your home. Yet, you can access it anywhere and at anytime.</p><p>You should click on create on the top right and choose Droplets. <br>For the purpose of this tutorial, I’ll choose Ubuntu as my Distribution and I will go with the Basic shared CPU plan coming with the cost of 5 dollars a month. Then, you’ll need to choose a datacenter region and choose an authentication method. It’s more secure to go with SSH keys. But if you do not know how to generate one, these links will guide you to do it on <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04"><strong><em>Linux</em></strong></a><em> and </em><a href="https://phoenixnap.com/kb/generate-ssh-key-windows-10"><strong><em>Windows</em></strong></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MGaYq4-0gujux9IPd2wGYA.png" /></figure><h3>Step 2: Connect to the Droplet</h3><p>Congratulations! You just created your first droplet. But this droplet is empty for now. If you navigate to the IP address of the droplet with your browser you will find that nothing lays there. Let’s go ahead and deploy our application!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*7YScrZ744rVwQkROFlqfog.png" /></figure><p>We’ll need to connect to our droplet via SSH. To do that, let’s open our Terminal, or our cmd and type</p><blockquote>ssh root@ip_address</blockquote><p>Root is a default super user created within the droplet. The IP Address that we need to provide is the address on which our droplet was created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*bq_vPNZlxd1OSz7Y-lB9MQ.png" /></figure><p>If you see that #, this means that you’re now inside the terminal of your droplet with the power of the root user. Now, let the fun begin!</p><h3>Step 3: Install NodeJS</h3><p>Now, we’ll start installing the software needed for our application. Of course, first thing that comes to mind is nodeJS since it’s the running environment that our application needs. In this tutorial, I’ll use <a href="https://github.com/nvm-sh/nvm"><strong>nvm</strong></a> (Node Version Manager) to choose which version to install. This way, we’ll make sure we won’t have a mismatch between the version on our local machine and the droplet. Run this command to install nvm with curl.</p><pre>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash</pre><p>Then, run this command to update your bash commands and have access to nvm. Then, you can make sure that nvm was successfully installed.</p><pre>~# source ~/.bashrc</pre><pre>~# nvm --version</pre><p>Now, we can install NodeJS with ease. I’ll install the v14.15.4 version of node since it’s the last one with <strong>LTS (Long Time Supprt)</strong> and is the one that I used to develop my application on my local machine. You can then run <strong>node -v</strong> and <strong>npm -v</strong> to check that the correct versions were installed.</p><pre>~# nvm install 14.15.4<br>~# node --version<br>~# npm --version</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*YluFcVfyDhN48a3LU76tDw.png" /></figure><h3>Step 4: Clone your repository from Github</h3><p>With nodeJS and npm installed on the droplet, we can go ahead and bring our code from the github repository and run it. Git is installed by default on the droplet, so we can simply run git clone from the terminal.</p><pre>~# git clone https://github.com/{ownerName}/{repoName}.git</pre><p>Of course, you need to substitute the link with the correct link of your repository.<br>If this was successful, we can find our application in a local directory. Let’s navigate to that directory using <strong><em>cd</em></strong> (Change Directory) and run npm install inside of it to install all the dependencies inside of the <strong><em>package.json</em></strong> file that our application needs.</p><pre>~# cd ./directory-name<br>~# npm install</pre><p>Now, if we run <strong><em>npm start </em></strong>(assuming that we defined a script for start in our <strong><em>package.json</em></strong>), the application will start running on the <strong><em>port</em></strong> we specified in our server.<br>Meaning that if we navigate to the droplet’s ip address with the port our application is running on, we’ll find our application! Hurray!<br>But wait, is the user supposed to enter the port number with the url? 😮<br>Furthermore, how to avoid terminating the application when I close the terminal on my local machine?</p><p>This is what we’re gonna answer in the two upcoming steps! 🚀</p><h3>Step 5: Adding pm2</h3><p><a href="https://pm2.keymetrics.io/"><strong><em>pm2</em></strong></a> is a very great production process manager for nodeJS. It will allow our application to keep running even if we close our terminal. Let’s start by installing it as a global dependency.</p><pre>~# npm i -g pm2</pre><p>Now we can start our application with pm2 instead of node and nodemon.<br>In my case, my starting command is going to run “node ./server.js”. So, to start my application with pm2, I’ll need to run:</p><pre>~# pm2 start ./server.js</pre><p>Now, even if you close your terminal, the application will still be running and accessible for all the users anytime. Now, it’s time to fix the problem we have the port.</p><h3>Step 6: Adding and configuring Nginx</h3><p>In order to make our application available without specifying the port number, we are going to use a <a href="https://www.nginx.com/resources/glossary/load-balancing/"><strong><em>load balancer</em></strong></a> called <a href="https://www.nginx.com/"><strong><em>Nginx</em></strong></a><strong><em>.<br></em></strong>Let’s start by installing it to our droplet, the same way we install it mvn and nodeJS:</p><pre>~# apt install nginx<br>~# apt update</pre><p>With Nginx installed, if we navigate to our ip address now, we will stumble upon this page. That’s because we didn’t define our default port for nginx.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*MCyH77z4kOrCyJAo2ECxQg.png" /></figure><p>To do that, we need to edit the configuration file of nginx.<br>I’ll use to use nano editor for that (which is installed by default in ubuntu)</p><pre>~# nano /etc/nginx/sites-available/default</pre><p>Once inside the file, we should go to location and provide it with these lines:</p><pre>location / {<br>         proxy_pass <a href="http://localhost:5000/">http://localhost:8000</a>;<br>         proxy_http_version 1.1;<br>         proxy_set_header Upgrade $http_upgrade;<br>         proxy_set_header Connection &#39;upgrade&#39;;<br>         proxy_set_header Host $host;<br>         proxy_cache_bypass $http_upgrade;<br>}</pre><p>Notice that my application will be running on localhost:5000. You’ll need to change that according to the port number you have in your server.</p><p>Now, we’ll need to test our configuration file with the new updates</p><pre>~# nginx -t<br>nginx: the configuration file /etc/nginx/nginx.conf syntax is ok<br>nginx: configuration file /etc/nginx/nginx.conf test is successful</pre><p>If you get that output, this means that your syntax is correct. Yet, in order for the changes to take place, we need to restart nginx.</p><pre>~# systemctl restart nginx</pre><p>Now, your droplet is ready to go! If you navigate to the ip address of your droplet again, your application will be there.</p><h3>We’re done 🎉</h3><p>Phew! it wasn’t the easiest thing to do. Yet, it was totally worth it because now your application is online and you can invite users to interact with it!</p><p>This can be your first step in a very long trip.</p><p>Bare in mind there are simpler ways of doing this with containers and ready to use droplets. We can cover them in future Blogs maybe …</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f6f928f776" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Hi, my name is Ahmad”]]></title>
            <link>https://ikdem.medium.com/hi-my-name-is-ahmad-f4cc61f6b5dd?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4cc61f6b5dd</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[hult-prize]]></category>
            <category><![CDATA[students]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Wed, 18 Nov 2020 23:25:18 GMT</pubDate>
            <atom:updated>2020-11-19T09:01:27.000Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-w-aTObwyZ_xIM01kj07Ww.jpeg" /></figure><p>It’s the 16th of August 2019, a typical cloudy summer day in Berkhamsted, some 40 km north west of London. The teams participating in the <a href="http://www.hultprize.org/"><em>Hult Prize</em></a> Startup Accelerator, the biggest annual social accelerator, have already finished pitching their ideas and they were impatiently waiting for the results. They had only one week of work since their last pitch and this announcement will be very crucial since they are already halfway through their stay.</p><p>The await is over, <a href="https://www.linkedin.com/in/aashkar/"><em>Ahmad Ashkar</em></a>, founder and CEO of Hult Prize, grabbed the mic and asked everyone to pay attention before passing it to one of the mentors to announce the top 3 and bottom 3 teams, out of the 40 teams that were present at <a href="https://www.hult.edu/en/executive-education/?utm_source=google&amp;utm_medium=paidsearch&amp;utm_campaign=ppcbrand&amp;utm_content=[UK]_[Brand]_[None_Product]_Pure_Brand_[EXACT]&amp;gclid=EAIaIQobChMIlYqS2eid6gIVDOvtCh0dPgqZEAAYASAAEgKUX_D_BwE"><em>Ashridge Castle</em></a>. Everybody stopped eating and stared carefully at her. The lovely <a href="https://www.linkedin.com/in/carolina-arriagada-peters-1200194/">Carolina Arriagada </a>started by announcing the bottom 3 teams. They were nowhere near being decieved. To be honest, even being the worst team there was no shame. It was like the world cup of social entrepreneurs: all the teams worked hard to earn their place there, and that’s something they should definitely be proud of.</p><p>Then, it was time to announce the best 3 teams, for that week. To my surprise, <a href="https://www.tollabco.com/">Tollabco</a>, a platform that aims to offer internships for students from the middle east, were chosen as the best team to pitch that day. I was extremely happy for them! The three boys from Palestine were the closest to me among all the participants, we managed to develop a strong bond of friendship in a matter of few days. I even had the honor to help them preparing their pitch. I congratulated them so warmly, like Arabs do :). I knew how big it was for them. The best thing that can happen to someone is when he finally gets to see his hard work paying off.</p><p>After the announcement, I stayed with Tollabco to have a chat with them. Everyone passing by was stopping to congratulate them. They were so proud, and so was I. That’s when he came in, Ahmad Ashkar. He shook my hand and said: “Hi, my name is Ahmad!” I shook back his hand and said: “Hi Ahmad, I’m Ikdem from Tunisia. It’s so great to meet you in person”. and That’s it!</p><p>There were a lot of things that I could’ve said to him, but I just didn’t .. Why? because I honestly didn’t expect him to say those words. Somehow, his simple words marked me a lot. He was the founder and CEO of Hult Prize. In a matter of 10 years, he managed to take his Idea from a simple competition inside the Hult International Business School to the biggest movement of social entrepreneurs in the world. I already knew who he was and what he has achieved in his life. I knew where he came from and how far he came. I was representing his business in my University, the <a href="http://www.utm.rnu.tn/utm/fr/"><em>University of Tunis el Manar</em></a>. Yet, he was introducing himself to me as I had no idea who he was. That was some great piece of humbleness. Of course, in the next few days, I had the chance to talk to him again, to make a pitch in front of him, and even to smoke “shisha” with him. But, he has never acted as the one who owns the place or as the big boss that everyone needs to respect or worship. He gained that respect through humbleness. That’s exactly the kind of bosses I wanna be around.</p><p>In fact, everyone in that accelerator, from the “simple” competitors to the “prestigious” mentors were kind and friendly. These are the people someone needs to surround himself with. That was the movement I decided to belong to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*mGVK_rXaJZLCyYe6jSyCWg.jpeg" /></figure><p>That was Hult Prize, ladies and Gentlemen, and that was Ahmad Ashkar. You can all be part of the change they are looking to do by becoming the next Campus Director of Hult Prize in your universities, same as I did. Or by competing with a team of 3–4 people from your university and try to grab that 1M dollars of fund for your idea!</p><p>Remember, it always starts with a thought 💭</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4cc61f6b5dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Biggest joy in life]]></title>
            <link>https://ikdem.medium.com/biggest-joy-in-life-be0a44a47103?source=rss-aa1a83ecbdf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/be0a44a47103</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[bootcamp]]></category>
            <dc:creator><![CDATA[Ikdem Ben Mbarek]]></dc:creator>
            <pubDate>Sun, 15 Nov 2020 18:52:41 GMT</pubDate>
            <atom:updated>2020-11-15T18:52:41.162Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*tLDDTw-OlxkOizonCoJHRQ.jpeg" /></figure><p>If someone asks you: “What is your biggest joy in life?”, you may think of many answers for it. But if I’m asked about it, my answer would be: “When you see your seed grow, when you taste its fruits”.</p><p>I’m gratefull for my students of the fifth cohort of ReBootKamp Tunisia for giving me the chance to live that moment yesterday.</p><p>For those who don’t know, I currently work as a Technical Mentor in a coding bootcamp in Tunisia called RBK. I don’t have any idea how I ended up working in that position, maybe the least thing I was thinking of when I got my diploma a year ago. Yet, I’m so grateful to be doing this everyday. Don’t call me “Technical Mentor”, call me “Life mentor” instead. I found myself not only teaching Fullstack JavaScript development to my students, but also sharing with them lessons of life, motivating them, incepting inside of them a new mindset, and helping them with their personal issues and weaknesses.</p><p>For almost 4 months, I’ve been spending my days mentoring some phenomenal young people, each of them with a whole different backstory, surrounded by an amazing team of instructors and coordinators.</p><p>Four months of hard work, dozens of projects, hundreds of technical and soft skills lectures, thousands of having hours, and countless sleepless nights. All of that, for one moment of gratitude and pride, for one picture with my happy students on their graduation. Yesterday was the day I felt that, was the day I took that picture. All that pain, all that stress, was completely diminished in one single moment. That’s why, my dear students, I’m grateful.</p><p>For all those who are mentoring some young people, please, be kind, be patient, and be close to your students. You have no idea what each one of them is going through. Listen to them and support them through everything. That’s the only way to make them believe in you and TRUST you. That’s the only way you’ll feel the joy and satisfaction I felt.</p><p>To all the fresh graduates out there, it’s only the beginning for a way bigger journey, live the journey fully. Don’t freak out. Don’t rush. And most importantly, remember that there are infinite paths to seek, so don’t lose hope and try infinitely.</p><p>Stay safe ✌️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be0a44a47103" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>