<?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 Nicholas Otieno on Medium]]></title>
        <description><![CDATA[Stories by Nicholas Otieno on Medium]]></description>
        <link>https://medium.com/@nicholasotieno?source=rss-fde29a6010fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pdRDyoo-plpuLqmO.</url>
            <title>Stories by Nicholas Otieno on Medium</title>
            <link>https://medium.com/@nicholasotieno?source=rss-fde29a6010fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 20:21:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nicholasotieno/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[Locate ‘n Learn with myMap]]></title>
            <link>https://medium.com/@nicholasotieno/locate-n-learn-with-mymap-be6d66b2d9e6?source=rss-fde29a6010fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/be6d66b2d9e6</guid>
            <dc:creator><![CDATA[Nicholas Otieno]]></dc:creator>
            <pubDate>Thu, 16 Nov 2023 18:18:50 GMT</pubDate>
            <atom:updated>2023-11-16T18:21:18.696Z</atom:updated>
            <content:encoded><![CDATA[<h4>Welcome, fellow adventurers, explorers, and seekers of the unknown!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CBlBGtQmdfFb2GIHE1jKQw.png" /></figure><p>Have you ever wished for a magic map that could whisk you away to your desired destination with just a few taps? Well, gather ‘round because I’ve got something extraordinary to share — the myMap app!</p><p>Picture this: You’re standing on the brink of an adventure, eager to explore new places or find your way around town. You have two locations in mind, but you’re not sure how to get there or what lies between. Fear not! myMap is here to make your explorations a breeze.</p><p>What’s myMap, you ask?</p><p>myMap isn’t just any ordinary map app. It’s your personalised guide to unlocking the secrets of every corner you wish to discover. Whether you’re searching for the nearest city, town or a hidden gem known only to a few, myMap has your back!</p><p>How does it work?</p><p>Simple! All you need to do is input the names of two places you’re curious about, hit the trusty ‘Search’ button, and voila! myMap will reveal the route, distances, and fascinating tidbits about your chosen destinations. It’s like having a magical compass right in the palm of your hand!</p><p>Why choose myMap?</p><ol><li>Ease of Use: myMap is designed with simplicity in mind. It’s user-friendly for anyone, from little explorers to seasoned travelers.</li><li>Comprehensive Information: Get detailed insights into locations, distances, and even fun facts about the places you’re interested in.</li><li>Adventure Awaits: Say goodbye to getting lost! myMap ensures you arrive at your destination hassle-free, allowing you to focus on the excitement of your journey.</li></ol><p>Join the myMap Community!</p><p>The mission is to foster a community of adventurers, thrill-seekers, and curious minds. Share your favorite discoveries, travel tips, and memorable journeys using #DiscoverWithmyMap. Let’s embark on countless adventures together!</p><p>Happy exploring!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be6d66b2d9e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you type google.com in your browser and press Enter?]]></title>
            <link>https://medium.com/@nicholasotieno/what-happens-when-you-type-google-com-in-your-browser-and-press-enter-a6d0d4aef49b?source=rss-fde29a6010fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6d0d4aef49b</guid>
            <dc:creator><![CDATA[Nicholas Otieno]]></dc:creator>
            <pubDate>Sun, 17 Sep 2023 18:20:20 GMT</pubDate>
            <atom:updated>2023-09-17T18:20:20.128Z</atom:updated>
            <content:encoded><![CDATA[<p>This is an age-old question amongst internet users, and an often-used interview question, which I’ll be answering (or at least attempting to answer) in this blog post.</p><p>In this age and time, the internet has been integrated into the lifestyles of the average human and the world is getting even more advanced. We watch videos, read news, access educative materials, and do all sorts on the internet. Google literally has the answer to every daily question, and you can access all that knowledge simply by typing google.com (or any other domain name, e.g. facebook.com) in your browser and hitting `enter`.</p><p>This is a simple, yet thorough process involving your browser, your computer’s Operating System, the Internet Service Provider (ISP), the server to the host site, as well as the services running on the server.</p><p>When you type in a URL requesting a webpage, you are indirectly communicating with the servers holding the web page; and how do you reach out to these servers? -via their IP address. This brings us to our first set of mini questions:</p><p>What is a server?</p><p>A server is a computer or computer program which manages access to a centralized resource or service in a network. You can think of a server as a special computer without a keyboard, mouse or screen and is accessible only by a network. A server can be physical or virtual and it runs on an Operating System (OS). A web server more specifically however, is a software that delivers web pages (not necessarily an actual computer). I hope you get the idea. Moving on…</p><p>What is an IP Address?</p><p>IP address is a unique string of characters that identifies each computer using the Internet protocol to communicate over a network. I like to think of it as the house address of every device. It’s basically how your computer knows where to get the answers to your questions from. Every device on the internet has one, including yours and they are generally written in numbers with the format ‘xxx.xxx.xxx.xxx’, where each ‘xxx’ is a number from 0 to 255 (e.g 209.85.227.104 is Google’s IP address). So back to our discussion:</p><p>Now that we know that your computer needs the address (IP address) of the server holding the web page (host server) you are asking for, then the next question is “How will my computer get the IP address of this website I am trying to visit?”. Hmmm, this brings us to the next phase of this journey…</p><p><strong>DNS LOOKUP</strong></p><p>What is DNS?</p><p>Domain Name System (DNS) is, in simple words, the technology that translates human-adapted, text-based domain names to machine-adapted, numerical-based IP. When you wish to visit google.com, you ought to type in the address as <a href="http://209.85.227.104/">http://209.85.227.104</a> before you can have access to google, but because of this amazing thing called DNS, you don’t have to memorize dozens of IP addresses you visit frequently. You can compare DNS and caching (cache-ing) to the contacts app on your device. If you need to call your friends, you don’t have to know all of their phone numbers by heart because the app takes care of that; you simply have to know the name of the person you wish to call, as it is saved in the contacts app. Similarly, DNS acts as a bridge between the text-based domain name which you can easily remember (e.g google, medium, Facebook) and the number-based IP address and it allows you to visit these IP addresses without even having to know them. Cool right?</p><p>Back to the topic of discussion, after you have typed the URL you wish to visit into your browser, your browser gets to work right away. It quickly checks its own cache for a record of this IP address, using the domain you have provided, to know if you have once visited this website (the IP address to every website you visited in saved in your browser’s cache for quicker access the next time you need it). If it finds the IP there, great! The IP is returned but if it doesn’t, the search goes further. Because DNS is complex and has to be blazingly fast, DNS data is cached at different layers between your browser and at various places across the internet.</p><p>Caches are essential for regulating network traffic and improving data transfer times. After checking its own cache, your browser then checks three other locations for the IP address, making a total of four potential locations:</p><p>1. Browser cache: As we’ve already established, your browser maintains a repository of DNS records for a fixed duration for websites you have previously visited. So, it is the first place to run a DNS query.</p><p>2. Operating System (OS) cache: Your OS also maintains a cache of DNS records. In case you may have visited the site previously using another browser on the same device or you may have cleared your browser caches at some point, losing the required DNS data on the browser, the browser makes a system call to your underlying computer OS to fetch those records for the required IP address.</p><p>3. Router cache: If the required DNS record is not found on the OS, this implies that it is not on your computer at all. The computer then communicates with the router which of course maintains its own cache of DNS records as well.</p><p>Hold on, what is a Router?</p><p>A router is a device that connects two or more packet switched networks or subnetworks. It serves two primary functions: managing traffic between these networks by forwarding data packets to their intended IP addresses, and allowing multiple devices to use the same internet connection.</p><p>4. ISP cache:<strong> </strong>If all the previous steps fail, the browser then moves on to the Internet Service Provider (ISP). Your ISP maintains its own DNS server, which includes a cache of DNS records, which the browser would check with the last hope of finding your requested URL’s (IP) address.</p><p>This entire process is called a DNS lookup. You could visualize the DNS lookup architecture as an <strong>If … elif … else</strong> statement that goes thus: ‘<em>if the IP is found in the browser cache, return; but if not, move to the elif (else if) statement. Else if it is found in the next potential location, great! Return the IP; but if not, move to the next ‘elif’ statement. This is done until all these potential locations within all the ‘elif’ statements have been checked. The process then proceeds to the ‘else’ code block which means that “The IP address for this domain doesn’t exist”’.</em></p><p>There’s SO MUCH more to the DNS architecture than this! There are a lot of sub-processes and a lot more in the DNS hierarchy. Things also get more interesting when subdomains and paths are introduced into the mix (e.g <strong><em>calendar</em>.</strong>google.com<strong>/events</strong>), but for the purpose of this article this is all we need. Visit <a href="https://howdns.works/">https://howdns.works</a> or <a href="https://dnsimple.com/">https://dnsimple.com</a> for more info on DNS.</p><p>Back to my narrative, now that my browser has the IP address it was looking for and its journey is over, it happily skips back with this IP in hand. Next, what happens with the IP address it brought back?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6d0d4aef49b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>