<?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 Reem Osama on Medium]]></title>
        <description><![CDATA[Stories by Reem Osama on Medium]]></description>
        <link>https://medium.com/@ibiscuit168?source=rss-34ac7a9f095e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NIdi3Rv3-kKx9xQGjk6MSQ.jpeg</url>
            <title>Stories by Reem Osama on Medium</title>
            <link>https://medium.com/@ibiscuit168?source=rss-34ac7a9f095e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:29:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ibiscuit168/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[Somalia’s Maternal and Child Mortality: What is beyond data..]]></title>
            <link>https://medium.com/@ibiscuit168/somalias-maternal-and-child-mortality-what-is-beyond-data-c252e15a7f38?source=rss-34ac7a9f095e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c252e15a7f38</guid>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[research]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[public-health]]></category>
            <dc:creator><![CDATA[Reem Osama]]></dc:creator>
            <pubDate>Wed, 03 Sep 2025 00:32:56 GMT</pubDate>
            <atom:updated>2025-09-03T00:35:35.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*86ImbTaAL0Nde1PugM0JVw.png" /><figcaption>Image by Neta Bomani</figcaption></figure><p>Since starting the journey with the MIT Emerging Talent Certificate of Computer and Data Science, I looked forward to applying my skills to a data science project at the intersection of technology and healthcare. This was my mission that I have written about in countless SOPs throughout the year since I decided to career shift from my dental degree.</p><p>One of the most interesting ideas I learned from my mentor, Evan Cole, is that data science allows us to model the world by simplifying it. In research, we isolate specific measurements and temporarily set aside the surrounding complexity. Once we understand this simplified model, we can reconnect it to the larger world, gaining insights that bridge the abstract and the real. I wanted to embrace this way of thinking to a healthcare mission and that’s how everything truly started.</p><p>I was extremely fortunate to be offered along with my team the incredible opportunity to collaborate with a Somali doctor on building a real-time dashboard to track healthcare in her region. This project filled me with great purpose to be able to apply what we’ve been learning so far and also contribute and add a meaningful human impact.</p><p>I think this applies to most ambitious stories, but reality did not fully meet with expectations. We encountered communication issues, lack of data, and gradually, with time, our team lost momentum and enthusiasm for this big mission. Still I pressed on anyways. Recognizing the gaps, we shifted our focus to first understand the healthcare system in Somalia using public data to measure the weight of the burden such a country had, before building specific dashbaords. The findings were honestly devastating.</p><p>Life expectancy in Somalia is among the lowest in the world, as a result of sustantial burden of diseases like: malaria, cholera, and malnutrition, compounded by the health impact of long-standing conflict. The government and the healthcare system itself is a bit fractured. Limited capacity and an unclear federal structure have weakened the Federal Ministry of Health and Human Resources authority, leading to poor coordination with other governments and health actors, making it hard to implement any health policies effectively.</p><p>To understand the situation of this complex landscape. We decided to look at chronic and infectious diseases, malnutrition, and finally child health, as examples of pressing healthcare topics. Most of the problems we were trying to investigate met at an alarming intersection. Maternal and child mortality rates in Somalia are among the highest in the world. Malnutrition is a major factor related to mortality and disability caused by communicable, maternal, neonatal and nutritional diseases. Several factors contribute to this situation, including limited involvement of skilled birth attendants, inadequate access to maternal health or delivery services, high fertility rates, low uptake of family planning and female genital mutilation/cutting (FGM/C). And to add to that, nearly all women in Somalia have undergone FGM.</p><p>We decided to focus on a specific problem with this web of interconnected challenges. By putting maternal and child mortality under the spotlight, we could begin to uncover not only the “why” behind the statistics, but also any unusual or overlooked factors that demand greater attention.</p><p>We phrased our research questions as the following:</p><blockquote><strong>Are there geographical hotspots for children under 5 mortality and morbidity?</strong></blockquote><blockquote><strong>How does the severity at which FGM (Female Genital Mutilation) is performed influence maternal and neonatal health outcomes?</strong></blockquote><h3>Answering The Question</h3><p>One thing to mention before diving into the analysis process, is that the Somalia Health and Demographic Survey 2020 (SHDS) dataset of Somalia, served as our main source of information. This dataset is the most comprehensive health data collection effort in Somalia since the 1990s, covering all regions of the country. It includes rich information on mortality rates, fertility, maternal and child health, nutrition, and health spending.</p><p>I took the lead on the first research question, and began choosing variables that are related to mortality and morbidity. After cleaning and exploring, I categorized the key variables as follows:</p><p>1. Geographic Location</p><p>2. If child is alive or dead + Age</p><p>3. Sickness Symptoms</p><p>4. Response Dimension</p><p>5. Context/Environment</p><p>But to be able to answer my question best, it became clear to me that child morbidity, exposures, and environment serve more as a context that help explain later why clusters exist, but isn’t strictly needed to detect hotspots. To form geographic clustering, I need to map the outcome, which is either death (mortality), or sickness (morbidity).</p><p>To proceed, I downloaded a GeoJSON file corresponding to Somalia’s regions, created a pivot table of regions against mortality and morbidity rates, and arrived at the following results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKVzzP-OXoYqikWRkMfhjA.png" /><figcaption>A Choropleth map of Mortality Rates (Deaths) in Somalia</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UQIGGB6LNo_bC1fqvVe6FQ.png" /><figcaption>A Choropleth map of Morbidity Rates (Sickness) in Somalia</figcaption></figure><p>When I measured the statistical significance of my findings using Moran’s I, I confirmed that mortality was indeed clustered across the entire study area (p-value = 0.042). In contrast, morbidity did not show a statistically significant clustering effect (p-value = 0.194). This suggests that morbidity values are only slightly more similar in neighboring regions than would be expected by chance. A likely reason is that I measured morbidity through only three diseases identified in the dataset as indicators of morbidity (diarrhea, fever, ARI). These conditions combined offer a relatively temporal variable, often affecting different regions in different survey periods, and are influenced by short-term exposures.</p><h3>Explain The “Why” Behind The Results</h3><p>Since I couldn’t find a clear correlation between location and morbidity (likely because it’s difficult to measure it using only sickness symptoms which hinders the process of prediction) I focused solely on mortalitty.</p><p>Mortality shows <strong>strong spatial clustering</strong>, particularly in regions such as <strong>Togdheer and Sool </strong>(according to the map above). Since it’s a cumulative and more definitive outcome, predicting death will reflect the interplay of healthcare access, environmental factors, and socio-demographic conditions.</p><p>My main interest in continuing this study was to understand the contextual and environmental drivers behind these clusters, To do so, I aimed to apply logistic regression, combining both individual and region-level predictors.</p><p>Now as we know where the hotspots are, we can investigate why they exist. To be able to begin this investigation, I included different exposure variables that might be related to mortality. Many of these came from the SHDS report, others were inspired by intense conversations with ChatGPT :)</p><p>For global modeling (including all data that I have regardless of the region), I knew that location (region) played a role in the distribution of mortality. It made sense to include the spatial relationship as well in my features. Using <strong>Queens contiguity</strong>, I created a weight matrix W where each row corresponds to a region, and each column shows which neighbors are connected.</p><p>To represent this spatial effect, I created a <strong>spatial lag </strong>(representing the average of the outcome “mortality” for all neighbors, per every region) If Region A has 3 neighbors, and their mortality rates are 0.2, 0.3, 0.4, then A’s spatial_lag_mortality = (0.2+0.3+0.4)/3 = 0.3.</p><p>You might think this is just predicting mortality with mortality using a dependent variable to predict itself), but it’s not. The spatial lag we have is the weighted average of morality in neighboring regions. So for every region, the spatial lag exclude region’s own mortality, and only reflects the neighbors’. (Models like SLM “Spatial Lag Models” include spatial lag as a predictor all the time).</p><p>Features included were the following:</p><ul><li>spatial_lag_mortality (that we just calculated)</li><li>Age of Mother</li><li>Region</li><li>Place of residence</li><li>Wealth Quantile</li><li>Source of Water</li><li>Highest Education</li><li>Size of Birth</li><li>ANC: Antenatal Care (Healthcare before birth)</li><li>Place of birth</li><li>Sickness</li><li>Response: Either receiving treatment or seeking care in a facility.</li></ul><p>I stratified splitting the data on the predicted variable, to preserve the ratio of the outcome in both the training and testing sets. And then I applied logistic regression. These were my results for the coefficients:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*XRbMSxFuPk2xUd-kyjh66A.png" /></figure><p>To give context, the outcome (mortality) was encoded as <em>alive = 1, dead = 0</em>. It was predicted that variables are probably going to show small coefficients, because it’s difficult to use a global measure of mortality when different areas have different contexts. Interestingly sickness and response which both somehow related to morbidity have the highest coefficients. In fact, <em>response</em> had the highest. This might hint that receiving care and the support of the healthcare system are great indicators of survival.</p><p>But here’s the problem: some coefficients didn’t make sense. Could sickness really increase the likelihood of being alive, while response did the opposite? This pointed to <strong>multicollinearity</strong>.</p><p>I tried removing strongly correlated features, running simpler models with only one predictor, and testing variations. Yet the results stayed the same: sickness appeared positively related to survival, and response positively related to death.</p><p>A second challenge was imbalance. My model can predict mortality with 95% accuracy, but it scored incredibly poor on accuracy and precision. Mortality is considered a rare event with a rate of 5% among children &lt;5. Even though this is one of the highest rates globally, it’s still hard to predict.</p><p>Since XGBoost take in consideration imbalanced data through the <strong>scale_pos_weight</strong>, I decided to experiment using it as well. Unfortunately, the results didn’t improve much. I flipped the outcome (death=1, alive=0), but the model still struggled to predict death.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*KfLfl48hVPwrhYxhVMyHJg.png" /></figure><p>I even tried limiting the analysis to Togdheer , one of the mortality hotspots. (This is the local study I mentioned above) The relationships stayed the same: sickness and response against death, but with near-zero accuracy. This really revealed that I’m missing something very important.</p><p>I was able to address the imbalanced data later by training the logistic regression model to account for class weighting. Although this is a very simple modification, but the results were very different:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IxgUEybcaoD4O5lnIjnJSw.png" /></figure><ul><li>Precision: 0.185</li><li>Recall: 0.686</li><li>Accuracy: 0.814</li></ul><p>This was a great improvement to be able to at least reach a considerably good recall, even if precision wasn’t ideal. For coefficients though, the relationship remained unchanged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*nW6Ma_-phPXj7DXVJnFPdA.png" /></figure><p>However, I had a really inspiring conversation with my mentor Evan about these results. Instead of running from the “strange” relationships, I should embrace them and ask what possible explanations could make sense of them, and finally connect the findings to how I actually understand the world. To explain the patterns, I came up with a couple of hypotheses:</p><p><strong>Confounding by indication (severity bias)</strong></p><ul><li>Sickest kids are the ones who get taken for care → they’re also the most likely to die.</li><li>Families present only at end-stage, so care-seeking is a marker of impending death, not a cause.</li><li>Result: “Care-seeking” looks harmful, but it’s actually proxying <em>severity</em>.</li></ul><p><strong>Access confounding</strong></p><ul><li>Areas with facilities have more care-seeking <em>and</em> more recorded deaths (better documented)</li><li>Remote areas under-report both care-seeking and deaths.</li></ul><p>These insights suggest that further research, with richer data, is needed to better understand the situation. What became clear to me is that in a country where death can be caused by so many overlapping factors, predicting mortality on an individual level is an extremely difficult task. It requires a deep understanding of confounding factors and contexts surrounding individuals themselves.</p><p>I also looked into displacement data, which showed significant flows of arrivals and departures within the same regions in the same year. This suggests that even within a single region, different districts, villages, and cities experience very different realities. That makes it even harder to draw generalized conclusions based only on the variables I initially considered.</p><h3>Communicating Our Findings</h3><p>For the second research question that was handled by my friend Solara, we found out that FGM, particularly the infibulation type, was associated with child mortality in 1 out of 5 women. These shocking results shaped our communication artifact direction which we decided to be revolved around FGM awareness. Since the findings above were less straightforward to interpret, this gave us a clearer, more urgent message to share and communicate.</p><p>Somalia has a very high rate of illiteracy, so we brainstormed an effective communication method to use to share our findings and we came up with the idea of creating a comic book, telling a story of a woman’s journey though FGM. Spoiler alert: At the end of the story, the woman rejects performing FGM on her daughter.</p><p>You can check our comic book <a href="https://drive.google.com/file/d/1SfT1t8lyT1ST594hWVxp8uMGl1fE4tfB/view?usp=sharing">here</a>.</p><p>There&#39;s also a teaser I created about the story of the comic book to watch <a href="https://www.loom.com/share/fdca05feb26a443793638d8dc7c58306?sid=b874fac7-32ce-4d74-b38a-9e69cb99a578">here</a>. (but I spoiled the story anyways, oops!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wfFlsNGJpGDWpyTl3TftRg.png" /><figcaption>A slide from our presentation sharing our findings.</figcaption></figure><p>The message might be considered bold, But our goal was never to impose change on beliefs, but to present the option of resistance, to spark reflection and to raise awareness about the dangers of such a tradition on the lives of women and their children.</p><blockquote>Words are actions. They land and rearrange. They build scaffolding for thought and memory. They shape what becomes sayable, and in turn, what becomes thinkable.</blockquote><p>To wrap things up, the experience presented its hardships and delights, but I’m mostly grateful for all what I learned, and the insightful conversations I had with my team and my mentor. I’m truly inspired by the power of data science to reframe our understanding of the world, to spark change, even in the smallest ways. It always begins by asking good questions and staying curious.</p><p>For more details, check out our <a href="https://github.com/MIT-Emerging-Talent/ET6-CDSP-group-deqo-repo">Github repository</a></p><p>Also watch our final presentation during MIT Emerging Talent Final CDSP event <a href="https://youtu.be/LJJLY6NtT3s">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c252e15a7f38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LexiLink: Elevate your English through personalized learning | Portfolio Project]]></title>
            <link>https://medium.com/@ibiscuit168/lexilink-elevate-your-english-through-personalized-learning-6c94465e92d0?source=rss-34ac7a9f095e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c94465e92d0</guid>
            <dc:creator><![CDATA[Reem Osama]]></dc:creator>
            <pubDate>Wed, 15 May 2024 23:02:09 GMT</pubDate>
            <atom:updated>2024-05-28T17:18:25.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PRpfmXU-d2WwfCiHYUevOw.png" /><figcaption>The Landing Page of LexiLink</figcaption></figure><p>Many students struggle when transitioning to college because university studies require different studying skills compared to high school. I personally faced significant challenges during my first two years in dental school until I discovered effective study methods like active recall, spaced repetition, and other scientific-based techniques. Mastering the art of creating flashcards transformed my academic performance, and it sparked my interest in the educational sector. Since then, I’ve wanted to help students achieve their learning goals.</p><p>With my experience as a graphic designer, many of my college peers were familiar with my skills. One of my seniors, Sarah Hassan, approached me to help her create a brand identity for a project she wanted to establish. Her project aimed to enhance learners’ abilities in the English language, which intrigued me as it aligned perfectly with my passion for improving learning experiences. This opportunity felt like the perfect chance to create my first portfolio project since I broke into tech dedicated to a learning platform.</p><p>To bring Sarah’s vision to life, I collaborated with my talented partner <a href="https://linkedin.com/in/mohamedelfadil/"><strong>Mohamed Elfadil Abdalla</strong></a>. Although we initially lacked clarity on the specific tools to use, we had a strong vision of the platform’s appearance and functionality. Through several meetings, we refined our ideas and defined our plan to create a personalized learning platform for one-on-one learning sessions with dedicated mentors. The platform would feature integrated video call service for personalized sessions, ensuring a tailored and effective learning experience for users.</p><p>The name chosen for the platform was LexiLink, and it is inspired by the Greek word “lexis,” meaning words and speech, and “link,” symbolizing the connection we aim to create between students and mentors. Our goal is to improve spoken English by linking learners with dedicated mentors, fostering a seamless and effective language learning experience.</p><p>Since early April, we dedicated our efforts to developing the proposal for LexiLink. This involved outlining the user experience, defining the platform architecture, setting up API endpoints, creating wireframes, and detailing every aspect of the web application. By April 19th, we transitioned to the actual implementation and coding phase.</p><p>I personally focused on the frontend development of the application, starting with creating a mini brand for the platform. The visual identity of LexiLink draws heavily from the playful and eclectic style of 1950s collage art. This aesthetic features a mix of vintage photographs, colorful cut-outs, and quirky illustrations, evoking a sense of nostalgia, character and creativity. I selected a vibrant and cheerful palette with bold colors and contrasting tones to create a dynamic and engaging visual experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cVCRtf-x458dsPhZ4Cl6jA.png" /><figcaption>LexiLink Brand Idenitity</figcaption></figure><p>Despite my limited frontend experience, we decided to use React as the main framework to build the user interface. I always had a clear vision of how I wanted things to look, even though I lacked the technical knowledge, but my vision gave me the courage and confidence to try an unfamiliar technology. Our educational curriculum in ALX so far had primarily focused on backend topics and DevOps after mastering the foundations therefore most students who are skilled in frontend had prior experience. However, I was determined to learn and apply React for this project, as it presented an opportunity to put new skills into practice despite the tight timeline.</p><p>I dedicated a few days solely to learning React, managing states, routing, and using Chakra UI for styling and providing foundational UI components. This intense learning period allowed me to start applying my newfound knowledge to the project, continuously building on what I learned and overcoming challenges as they arose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AP-gYtFZmZYtS7hBZBokqw.png" /><figcaption>The Architecture of LexiLink</figcaption></figure><p>While I focused on the frontend, Mohamed handled everything related to data structure, APIs, and the database, using Flask with Python and MySQL — tools we were familiar with from previous projects. Once he completed these components, he implemented the webRTC service using AgoraRTC in React and JavaScript, integrating it seamlessly with the frontend work I had begun.</p><p>One of our standout features is the integrated video call service. Implementing this was particularly challenging, especially within React, due to state management conflicts with AgoraRTC. However, we were determined to include this feature as it serves as the wow factor of our project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eJXUva0QID2BXMehvoQbEQ.png" /><figcaption>The video integration of LexiLink on action</figcaption></figure><p>Our initial research revealed two main issues users face with similar services: the overwhelming variety of mentor choices and the inconvenience of using external video call services. While having many mentor options is generally seen as a feature, it can overwhelm users. To address this, we considered implementing machine learning to train a model that filters and purifies choices based on user preferences and needs, ensuring mentors are matched precisely to learning goals. Though we didn’t implement it but we consider it a future plan that can drastically enhance user experience while navigating through the platform.</p><p>The second issue was the inconvenience of juggling between the learning platform and an external video conferencing service. To streamline the user experience, we decided to implement webRTC for web conferencing, managing all live sessions internally. This facilitates a seamless communication medium within our platform.</p><p>Another feature we are particularly proud of is the user authentication and authorization system using JWT. This system authorizes user access to each endpoint and page, maintaining session integrity within the browser and enhancing security across the platform. However, implementing this system posed several challenges, particularly around refreshing the access token.</p><p>When a user logs in, both an access token and a refresh token are sent from the endpoint and saved in the browser’s local storage. These tokens keep the user logged in until they either log out or the refresh token expires. The access token is required for every request to fetch user-related data, generate dashboard content, update profiles, book sessions, and perform any other user action. The access token expires after a certain period, necessitating a refresh action from a specific endpoint using the refresh token. The new access token is then saved in local storage to continue the application’s functionality.</p><p>Managing this refresh process was challenging due to issues with React state re-renders and browser caching. After researching and consulting our friends we ultimately controlled the refresh process using a custom hook that tracks the timing of fetch requests. When a request fails due to an expired access token, the hook attempts to refresh the token and retry the request. We ensured no infinite loops were created by tracking the number of attempts; if the refresh token itself has expired, the user is logged out immediately as their session has ended. This custom hook also uses Axios interceptions which perform certain functions before a request is made or after a response is received to make double checks of either to perform the request again or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jIlxX7Qw_QpYLmu0JCUpA.png" /><figcaption>A code snippet of the custom hook created to control access token refresh</figcaption></figure><p>We also tackled caching issues by configuring the hosting server to prevent data caching during deployment, although this control was not possible during development. Ultimately, these measures ensured that users would have a seamless experience while navigating the platform, without noticing the refresh attempts or encountering obstacles in their experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5LMF4UvB-akyFVFildfjnA.png" /><figcaption>The mentor’s dashboard in LexiLink</figcaption></figure><p>Personally, I am very grateful for the encouragement I received to learn React and apply my skills directly in our project. This experience has significantly enhanced my knowledge and boosted my JavaScript skills. I learned a great deal about user authentication, managing React states, and designing and controlling the responsiveness and structure of a full web page. Additionally, I gained valuable insights into the agile framework and teamwork through working in an amazing team.</p><p>Although I have always been drawn to design and art, which requires substantial time and effort, I realized that I have the potential to excel as a frontend developer, even though I hadn’t initially considered it as a specialization. My primary aspiration remains to be a full stack software engineer, but this project has given me the confidence to pursue frontend development on my own. I discovered that I have a keen eye for user experience and interface design.</p><p>In future projects, I would focus more on security. Although we managed user authentication effectively, storing sensitive data in local storage is not generally recommended. According to <a href="https://owasp.org/">OWASP</a>, this practice is discouraged due to the risk of XSS vulnerabilities. If the frontend is not fully protected against XSS attacks, malicious code can be executed on the web page, gaining access to the token.</p><p>Using cookies, set as <strong>HttpOnly</strong>, could be a better option since they are inaccessible to JavaScript. I might implement this approach in future projects, focusing on enhancing security. Additionally, I aim to make component renders more seamless, ensuring a smooth user experience.</p><p>My name is Reem Osama, a dentist turned software engineer, currently enrolled in the ALX software engineering program, specializing in Backend.</p><p>You can access the full project here: <a href="https://github.com/reunicorn1/LexiLink">LexiLink on GitHub</a>.</p><p>Or you can experience LexiLink firsthand on our deployed project page: <a href="https://lexilink.netlify.app/">LexiLink on Netlify</a>.</p><p>To view the project presentation: <a href="https://www.youtube.com/watch?v=j-dDKcxSl4w">LexiLink Presentation</a>.</p><p><strong>Follow me on </strong><a href="https://www.linkedin.com/in/reosama/"><strong>LinkedIn</strong></a><strong> to read more stories about my journey in tech. Thank you!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c94465e92d0" 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/@ibiscuit168/what-happens-when-you-type-google-com-in-your-browser-and-press-enter-8bb629886f22?source=rss-34ac7a9f095e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bb629886f22</guid>
            <category><![CDATA[web-infrastructure-design]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web]]></category>
            <dc:creator><![CDATA[Reem Osama]]></dc:creator>
            <pubDate>Mon, 18 Mar 2024 02:11:32 GMT</pubDate>
            <atom:updated>2024-03-19T17:27:12.918Z</atom:updated>
            <content:encoded><![CDATA[<p>Life is hard when you can’t immediately Google the questions that abruptly pop into your mind. as much as searching is so fast, and your query does arrive in less than a second, the journey isn’t as easy as you might think; it literally travels the globe before it returns to you in a fraction of a second. This fast-evolving world has changed the way we search for information and allowed everyone to have access to quality data no matter where they are. However, what happens when a website is typed into a browser? How does your browser know where it should go?</p><h3>DNS request</h3><p>The first step to reach a certain location is to know its address. computers don’t actually use human readable names to access different areas of the internet, instead, the name of the desired website, such as <a href="http://google.com/">google.com</a> in our example, is converted into an IP address, which is the unique identifier of the the computer you want to connect to over the network.</p><p>Your web browser initially examines it’s local data including its cache, followed by checking the operating system cache which is stored in the /etc/hosts file, if the information wasn’t available there, a DNS query — Domain Name System, is sent to a DNS Resolver, These servers are specialized in finding the IP address you’re seeking, like the local ISP, cloud fire 1.1.1.1 or google DNS 8.8.8.8, which also checks its local cache first for any relevant data about your query if found, otherwise it proceeds to make its own inquiries to obtain the answers you seek.</p><p>When you type “<a href="http://www.google.com/">www.google.com</a>” a dot at the end of the domain name is added by default to refer to the root server which is the first location in which the DNS resolver hurry up to, and this dot added represent the root of the DNS hierarchy. Root servers are scattered around the globe and based on your geographic location, the query is sent to the nearest server to retrieve the Top-Level Domain (TLD). In our example, the root server will return to you the IP address of .com name server which is the TLD in our case, and your DNS resolver will use this address to find the next clue of your mystery.</p><p>The DNS resolver queries the .com name server and asks for the authoritative name server for <a href="http://google.com/">google.com</a>, as an IP address, Using this new location, it requests the specific IP address for the website. Once it receives the answer, it caches the data in its system and returns it to the browser, guiding it to the correct destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9eK30oExPnhR-vg_h_MYQ.png" /></figure><h3>TCP/IP</h3><p>Once the browser determines the destination for data transmission, it establishes a certain path in which data will be transmitted. the IP protocol handles the addressing of where the data is sent. TCP protocol handles the packaging of data. as it divides data by sequence number to multiple packets, sent one at a time, The transmission of the next packet is withheld until the previous one is confirmed as received. Although this process may seem meticulous, but if a single packet failed to reach the destination, only that chunk will be resent and not the entire data stream which ensures reliability.</p><p>Imagine transmitting a large data stream as a single entity over the network. this might cause what is known as network congestion, and sending data as packets prevent this relatively as data are spread out over time and space, reducing the likelihood of bottleneck.</p><p>TCP not only manages packet creation but also reassembles the data on the receiving end, so it can be all stitched together to form the web page. Returning back to our <a href="http://google.com/">google.com</a> query which was an HTTP request sent as packets. The web server, which will be discussed shortly, is the one that receives the request, assembles the packets, comprehends the requested content, and responds with a similarly packetized data stream which is the HTTP response.</p><h3>Firewall</h3><p>Your google.com journery through the internet isn’t that safe to navigate blindly. You need to be careful when you travel through the network, as malicious attackers lurk everywhere waiting for their chance to snatch your sensitive data or send harmful content to your computer. Therefore, you must exercise caution while traversing the network. Just as Airport officers checking your luggage while you’re traveling, computers and networks have their own security officers as well.</p><p>A firewall prevent unauthorized access by filtering the information which comes to you from the internet, and not only just information going in but also it checks data coming out of your network as well.</p><p>The term firewall is actually used in buildings and architecture, as it’s a certain structure that provides a barrier in cases of actual fire, as it prevents flames from burning and destroying the entire building by containing the damage in a certain area, so fire can’t spread to the entire place. In networking a firewall serves as a protective barrier, preventing unauthorized access and contains potential threats.</p><p>A firewall whether implemented as software or hardware, is designed to filter certain incoming networks from accessing and communicating with you, based on certain rules you specify as an administrator, these rules are also known as Access Control List and they decide what goes in and what goes out based on either IP addresses, domain names, protocols, programs, ports, or even keywords. By adhering to these rules, firewalls effectively regulate communication and mitigate the risk of cyber threats.</p><h3>HTTPS/SSL</h3><p>In the realm of cybersecurity, simply guarding your digital doors isn’t sufficient to ensure the safety of your data. Information can be intercepted or stolen while in transit. When you type <a href="http://google.com/">google.com</a> in your browser, you might notice the addition of https:// prepended to your website, this signifies the use of Hypertext Transfer Protocol Secure (HTTPS), the predominant protocol for securely viewing websites over the internet. Unlike its predecessor HTTP, which transmits data in plain text, HTTPS encrypts data to protect it from prying eyes, making it significantly more difficult for hackers to intercept and decipher sensitive information.</p><p>HTTPS uses two protocols to protect your data, which are either the SSL — Secure Socket Layer or TLS — Transport Layer Security. While using the SSL protocol, HTTPS first verifies the identity of the server you’re connecting to, through a digital certificate that assures your computer of the trustworthiness of the server. Upon successful authentication, a handshake occurs, indicating the initiation of the secure data transfer process between the client and the server. Encrypted data is allowed to be exchanged securely between your computer and the web.</p><p>Today, HTTPS is considered essential for websites, even if they don’t handle sensitive information. Search engines like Google prioritize sites with strong security features, and will only boost rank your site based on that. Additionally, implementing HTTPS can instill trust among users. While HTTPS is more secure than HTTP, it’s not completely invulnerable to attacks. It’s just one part of a comprehensive web security strategy.</p><h3>Web Infrastructure</h3><p>Once data has been transmitted and routed to its final destination, the process of delivering the webpage of <a href="http://google.com/">google.com</a> you’re waiting for begins.</p><p>Queries are usually processed by a more complex designed infrastructure than a web stack. Web stack is a collection of software used together to run a web application, including the operating system, programming language, database, and web server as a base. Components interact together to create a functional web application.</p><p>However, for high-traffic sites like <a href="http://google.com/">google.com</a>, a simple infrastructure design is insufficient. As demand increases, scalability becomes a critical requirement. and in order for traffic to be handled by multiple processors at the same time to ensure efficiency, reliability, availability of your site and concurrency. The traffic first reaches a load balancer, which is a special type of servers that distributes network or traffic across a number of servers to ensure no single server bears too much demand.</p><p>This is done by different algorithms which divide the workload, to mention a few of the most common ones: round robin, least connections and IP hash. Algorithms are divided into types, either static or dynamic depending on the consideration of the server’s current state and load at the moment.</p><p>After traffic reaches a specific server, a web server usually handle the request coming to the web page, to eventually deliver content as HTTP. But since <a href="http://google.com/">google.com</a> results differ according to your input, the logic behind search algorithms will require complex interpretation and more dynamic content to be provided, and here comes the application server to perform duty.</p><p>Application server runs your code, controls the application’s functionality, and connects it to other services as needed such as database management systems. This allows the user to interact with data from a database through a web browser with an application server handling the complex logic and operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGru__UlwnQdbtZTTVBHnw.png" /></figure><p>Through this long journey, the seamless delivery of search results occurs almost instantaneously, showcasing the remarkable capabilities of these complex systems in simplifying tasks and satisfying human curiosity with ease.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bb629886f22" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>