<?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 Mohamad  Itawi on Medium]]></title>
        <description><![CDATA[Stories by Mohamad  Itawi on Medium]]></description>
        <link>https://medium.com/@mohamad.h.itawi?source=rss-d0170a513ef0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MQySchF8qUEnRi8DKmNA6g.jpeg</url>
            <title>Stories by Mohamad  Itawi on Medium</title>
            <link>https://medium.com/@mohamad.h.itawi?source=rss-d0170a513ef0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:27:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mohamad.h.itawi/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[Exploring NotebookLM: Your AI Study and Research Assistant]]></title>
            <link>https://medium.com/@mohamad.h.itawi/exploring-notebooklm-your-ai-study-and-research-assistant-c5074aac17f0?source=rss-d0170a513ef0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5074aac17f0</guid>
            <category><![CDATA[research-assistant]]></category>
            <category><![CDATA[ai-study]]></category>
            <category><![CDATA[ai-study-assistant]]></category>
            <category><![CDATA[notebooklm]]></category>
            <dc:creator><![CDATA[Mohamad  Itawi]]></dc:creator>
            <pubDate>Sun, 08 Jun 2025 12:45:04 GMT</pubDate>
            <atom:updated>2025-06-08T13:11:10.551Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_SVFPHLLcUsbTg_4gThIA.png" /><figcaption>“AI won’t replace you, but someone using AI will.”</figcaption></figure><p>In today’s digital world, information is everywhere — but making sense of it is another story. Whether you’re a <strong>student prepping for finals</strong>, a <strong>researcher analyzing academic papers</strong>, or a <strong>content creator generating ideas</strong>, managing knowledge efficiently is key.</p><p>That’s where <strong>NotebookLM</strong> by <strong>Google Labs</strong> shines. This experimental AI tool works <strong>directly with your documents</strong>, summarizing, explaining, and organizing your content to make your workflow smoother and smarter.</p><p>In this article, I’ll walk you through how NotebookLM works, highlight its top features, and demonstrate how I used it to <strong>study for my Cloud Computing final exam</strong> — including creating a <strong>mind map</strong>, a <strong>podcast-style audio summary</strong>, and an AI-generated <strong>study guide</strong>.</p><h3>1.What Is NotebookLM?</h3><p><strong>NotebookLM</strong> is a cloud-based <strong>AI research and study assistant</strong> that helps you better understand your materials — whether they’re <strong>PDFs, Google Docs, YouTube videos, websites, or pasted text</strong>.</p><p>Unlike tools like ChatGPT, which pull from general internet knowledge, NotebookLM is <strong>source-grounded</strong>: it only uses the content you upload or link. This makes it perfect for:</p><ul><li>Academic research</li><li>Final exam prep</li><li>Writing and content projects</li><li>Deep-dive summarization and understanding</li></ul><blockquote><em>You can add </em><strong><em>up to 50 sources</em></strong><em> per notebook — including </em><strong><em>YouTube videos</em></strong><em> (with transcripts) and </em><strong><em>web articles</em></strong><em>.</em></blockquote><h3>2.Getting Started with NotebookLM</h3><p>You can start using NotebookLM in minutes — no installation required.</p><h3>Step-by-Step</h3><ol><li>Go to <a href="https://notebooklm.google.com/"><strong>https://notebooklm.google.com</strong></a></li><li>Log in with your Google account.</li><li>Click <strong>“New Notebook”</strong>.</li><li>Upload your sources (PDFs, Google Docs, or pasted text).</li><li>Start chatting with your documents!</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFUj90nqBdLo3nQmQ9KR-w.png" /></figure><h3>3.Key Features That Make NotebookLM Stand Out</h3><h3>Smart Q&amp;A from Your Sources</h3><p>Ask any question and NotebookLM will answer based <strong>only on your documents</strong> — with citations showing exactly where the answer came from.</p><h3>Q&amp;A, Study Guides, and Briefing Docs</h3><p>NotebookLM can generate:</p><ul><li><strong>Q&amp;A sets</strong> to test your understanding</li><li><strong>Study guides</strong> summarizing key points</li><li><strong>Briefing documents</strong> that condense complex info into short notes<br> Perfect for reviewing material, preparing presentations, or teaching others.</li></ul><h3>Audio Overviews (Podcast Style)</h3><p>NotebookLM can create <strong>spoken summaries</strong> of your documents, so you can learn while walking, commuting, or multitasking.</p><h3>Mind Map Generation</h3><p>With one click, you can transform your content into a <strong>visual mind map</strong>, helping you see the structure and relationships between ideas.</p><h3>Supports YouTube and Website Links</h3><p>Just paste a <strong>YouTube video link</strong> or a <strong>web article</strong>, and NotebookLM will extract the transcript or text content and treat it like a document.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Q67wlbV-VpyJ4dHKwuy_Q.png" /></figure><h3>Discover Sources: Find Trusted Content on Any Topic</h3><p>Before uploading anything, you can explore a topic directly using NotebookLM’s <strong>Discover Sources</strong> feature:</p><ul><li>Click the <strong>“Discover”</strong> button next to <strong>Add Source</strong></li><li>Type what you’re interested in (e.g., “quantum computing” or “history of AI”)</li><li>Or click <strong>“I’m feeling curious”</strong> to explore suggested topics</li><li>NotebookLM will find and recommend <strong>reliable web sources</strong> and allow you to instantly add them to your notebook</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7vkjaKFcfU82Ib42fcVkww.gif" /></figure><h3>4.Use Cases Across Domains</h3><h3>For Students</h3><ul><li>Upload textbooks or lecture notes.</li><li>Generate summaries and Q&amp;A sets.</li><li>Turn long PDFs into quick audio overviews.</li><li>Visualize relationships with mind maps.</li></ul><h3>For Researchers</h3><ul><li>Analyze multiple academic papers.</li><li>Compare arguments, methods, or results.</li><li>Extract citations or summarize conclusions.</li><li>Get mind maps of complex theories.</li></ul><h3>For Content Creators</h3><ul><li>Upload whitepapers or reports.</li><li>Summarize into social posts or blogs.</li><li>Generate content ideas and outlines.</li><li>Extract quotes or key statistics quickly.</li></ul><h3>5.Real-Life Demo: Studying for My Cloud Computing Final Exam</h3><p>Here’s a step-by-step look at how I used NotebookLM to prepare for my <strong>Cloud Computing exam</strong> — and how you can do the same:</p><h3>Upload Your Source Material</h3><p>I created a notebook titled <strong>“Cloud Exam Prep”</strong> and uploaded my course material as a <strong>PDF file</strong>.<br> NotebookLM instantly processed the document and made it searchable and interactive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*dCRycnAzkcS6nqF2e2G6lg.gif" /></figure><h3>Ask Questions &amp; Generate Study Aids</h3><p>I started interacting with the document using natural questions like:</p><ul><li>“Docker Swarm vs. Kubernetes”</li><li>“ETL vs. ELT.”</li><li>“What is MapReduce?”</li><li>“When to use DBaaS”</li></ul><p>Also , NotebookLM automatically generated:</p><ul><li><strong>Q&amp;A pairs</strong> for quick review</li><li><strong>Study Guides</strong> summarizing key topics</li><li><strong>Briefing Docs</strong> for structured understanding</li></ul><p>These outputs helped me <strong>clarify complex topics</strong> and focus on what’s important.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*25jCtEK-SCGEf7Bgh_To_w.gif" /></figure><h3>3. Create a Visual Mind Map</h3><p>With one click, I generated a <strong>Mind Map</strong> that visually organized the main ideas, subtopics, and relationships from the course notes.<br> This was helpful for visual learners and last-minute overviews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*bp9HUe5MX88hFRy7UgEcKA.gif" /></figure><h3>4. Generate a Podcast-style Audio Overview</h3><p>NotebookLM also created a <strong>spoken audio summary</strong> of the entire content.<br> This allowed me to <strong>listen on the go</strong> like a podcast — perfect for passive revision while commuting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Q5sW-qV_MFsrnfyTpD_K2Q.gif" /></figure><h3>6.Final Thoughts</h3><p>NotebookLM is an incredibly useful AI tool for <strong>anyone dealing with a lot of reading and writing</strong>. From students cramming for finals to researchers managing dense papers, it simplifies learning and saves time.</p><p>By combining <strong>AI intelligence with your own materials</strong>, NotebookLM becomes a study partner, research assistant, and content coach — right in your browser.</p><blockquote><em>Ready to study smarter, not harder? Give NotebookLM a try.<br> ➡️ </em><a href="https://notebooklm.google.com/"><em>https://notebooklm.google.com</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5074aac17f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JWT vs Cookie-based Authentication: Key Differences and Best Use Cases]]></title>
            <link>https://medium.com/@mohamad.h.itawi/jwt-vs-cookie-based-authentication-key-differences-and-best-use-cases-52f74ddca93f?source=rss-d0170a513ef0------2</link>
            <guid isPermaLink="false">https://medium.com/p/52f74ddca93f</guid>
            <dc:creator><![CDATA[Mohamad  Itawi]]></dc:creator>
            <pubDate>Thu, 10 Oct 2024 08:51:11 GMT</pubDate>
            <atom:updated>2024-10-10T16:20:02.506Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KJUmaGRWRjPSwkgsJfsQEQ.jpeg" /></figure><h3>Authentication vs Authorization: An Introduction</h3><p>When discussing web security, two key concepts often come up: <strong>authentication</strong> and <strong>authorization</strong>. These terms are often used interchangeably, but they have distinct meanings and functions in the world of security.</p><p><strong>Authentication</strong> refers to the process of verifying who a user is. This is the first step in any secure interaction between a user and a system. Authentication ensures that the user is who they claim to be, typically through credentials like usernames and passwords.</p><p>On the other hand, <strong>authorization</strong> determines what a user is allowed to do. Once a user is authenticated, the system must decide what resources or actions the user can access. Authorization defines the scope of access, ensuring that users can only perform actions they have permissions for, based on their roles or privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kO-6A6PGXk-YckM9vCddRg.png" /><figcaption>Authentication vs Authorization</figcaption></figure><p>With a clear understanding of these concepts, we can delve into two widely used methods for maintaining authentication state in web applications: <strong>JWT (JSON Web Tokens)</strong> and <strong>Cookie-based Authentication</strong>. While both serve the purpose of keeping users logged in, they differ in structure, use cases, and implementation. Let’s explore these two approaches in detail.</p><h3>What is JWT Authentication?</h3><p><strong>JWT (JSON Web Token)</strong> is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWT is commonly used for implementing <strong>stateless</strong> authentication in modern web applications.</p><h3>Structure of a JWT</h3><p>A JWT consists of three parts:</p><ol><li><strong>Header</strong>: Contains the type of token (JWT) and the signing algorithm (e.g., HMAC, RSA).</li><li><strong>Payload</strong>: Contains the claims, which are statements about an entity (typically the user) and additional metadata.</li><li><strong>Signature</strong>: Used to verify the token’s integrity and ensure it has not been tampered with.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9vETl3KQxt82TbheMQ8ewQ.png" /></figure><h3>How JWT Authentication Works</h3><ol><li><strong>User logs in</strong>: The user provides their credentials, which are verified by the server.</li><li><strong>Token generation</strong>: If the credentials are correct, the server generates a JWT containing information about the user (such as user ID, roles, and permissions) and sends it back to the client.</li><li><strong>Client stores the token</strong>: The client typically stores the JWT in local storage or session storage.</li><li><strong>Token in requests</strong>: For each subsequent request to the server, the client sends the JWT in the Authorization header, usually prefixed by the word Bearer.</li><li><strong>Token verification</strong>: The server verifies the token on every request, ensuring it’s valid and untampered.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p6bO44dHrwDuz-N1XairMQ.png" /><figcaption>JWT (JSON Web Token) in action</figcaption></figure><h3>Benefits of JWT Authentication</h3><ul><li><strong>Stateless</strong>: Since JWT is self-contained, the server does not need to maintain a session for each user. This makes scaling applications easier, as no session data needs to be stored on the server.</li><li><strong>Decoupled from cookies</strong>: JWT can be sent in any type of HTTP request, making it ideal for cross-origin resource sharing (CORS), mobile applications, or server-to-server communication.</li><li><strong>Performance</strong>: JWT is compact and efficiently encoded, reducing overhead in each request.</li></ul><h3>Drawbacks of JWT Authentication</h3><ul><li><strong>Security concerns</strong>: If a JWT is stolen, it could be used until it expires. Since JWTs are typically stored in local storage or session storage, they may be vulnerable to XSS (cross-site scripting) attacks.</li><li><strong>No built-in revocation</strong>: Once a JWT is issued, it is valid until it expires. This means there is no easy way to revoke a token before expiration unless additional mechanisms are built (e.g., token blacklisting).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rCgEo5oChi6bos2wmThYKg.png" /></figure><h3>What is Cookie-based Authentication?</h3><p><strong>Cookie-based Authentication</strong> is the traditional method of maintaining authentication state in web applications, primarily in server-rendered applications. With this method, when a user successfully logs in, the server creates a session and stores it on the server. A unique session ID is sent to the client in the form of a cookie.</p><h3>How Cookie-based Authentication Works</h3><ol><li><strong>User logs in</strong>: The user provides their credentials, which the server validates.</li><li><strong>Session creation</strong>: Upon successful authentication, the server creates a session and stores the user’s session data (such as user ID and permissions) in memory or a database.</li><li><strong>Cookie sent to the client</strong>: The server generates a cookie containing the session ID and sends it back to the client. The client stores this cookie.</li><li><strong>Cookie in requests</strong>: For subsequent requests, the client sends the cookie to the server automatically (thanks to the browser).</li><li><strong>Server-side validation</strong>: The server looks up the session using the session ID in the cookie and verifies the user’s identity and <strong>permissions</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jlQEJOQ979EA1CV5dJGAzg.png" /></figure><h3>Benefits of Cookie-based Authentication</h3><ul><li><strong>Built-in security features</strong>: Cookies come with built-in mechanisms like HttpOnly and Secure flags to protect against XSS and man-in-the-middle attacks.</li><li><strong>Automatic handling by the browser</strong>: Cookies are automatically included in requests by the browser, simplifying the client-side implementation.</li><li><strong>Session revocation</strong>: Since sessions are stored on the server, they can be easily invalidated (e.g., when the user logs out or when the server is compromised).</li></ul><h3>Drawbacks of Cookie-based Authentication</h3><ul><li><strong>Stateful</strong>: The server needs to store session data for every user, which can lead to scaling challenges, especially in high-traffic applications.</li><li><strong>Tied to browsers</strong>: Cookies are primarily designed for browser use, making it less suitable for APIs, mobile apps, or non-browser clients.</li><li><strong>Cross-origin limitations</strong>: Cookies have cross-origin restrictions, which can complicate the handling of requests from different domains (though CORS policies can help).</li></ul><h3>Key Differences Between JWT and Cookie Authentication</h3><p><strong>Stateless vs. Stateful</strong>:</p><ul><li>JWT is <strong>stateless</strong>, meaning the server doesn’t store session data. All necessary information is stored in the token itself.</li><li>Cookie-based authentication is <strong>stateful</strong> because the session is maintained on the server.</li></ul><p><strong>Storage</strong>:</p><ul><li>JWT is often stored in <strong>local storage</strong> or <strong>session storage</strong>, but can also be stored in cookies.</li><li>Cookie-based authentication stores the <strong>session ID</strong> in a cookie that the browser automatically sends.</li></ul><p><strong>Usage</strong>:</p><ul><li>JWT is ideal for <strong>APIs</strong>, <strong>single-page applications (SPAs)</strong>, or <strong>mobile applications</strong> because it is not tied to any particular type of client.</li><li>Cookie-based authentication works well for <strong>traditional web applications</strong> where sessions are required.</li></ul><p><strong>Security Concerns</strong>:</p><ul><li>JWT tokens are susceptible to <strong>XSS attacks</strong> if stored in local storage.</li><li>Cookies can be protected with <strong>HttpOnly</strong> and <strong>Secure</strong> flags to mitigate risks like <strong>XSS</strong> and <strong>man-in-the-middle</strong> attacks.</li></ul><p><strong>Revocation</strong>:</p><ul><li>JWTs cannot be easily revoked until they expire unless you implement a custom revocation mechanism (e.g., blacklisting).</li><li>Cookie-based authentication allows for easier <strong>session revocation</strong> since the session is stored on the server.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*nnjFt4GbPXH3m_rSjVcA-Q.jpeg" /></figure><h3>Conclusion</h3><p>Both JWT and cookie-based authentication have their strengths and weaknesses. JWT shines in stateless, scalable environments, making it a preferred choice for modern APIs and mobile apps. On the other hand, cookie-based authentication, with its long-standing history and server-side control, is well-suited for traditional web applications where sessions and revocation are key concerns.</p><p>Choosing between these two methods depends largely on the specific requirements of your application, including the environment, security considerations, and scalability needs. Understanding the differences will help you implement the right solution for your use case.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52f74ddca93f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>