<?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 Harshed on Medium]]></title>
        <description><![CDATA[Stories by Harshed on Medium]]></description>
        <link>https://medium.com/@harshedabdulla?source=rss-e174fe5b7406------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Sp2zXxo6YNg5NUYO9ODXHA.jpeg</url>
            <title>Stories by Harshed on Medium</title>
            <link>https://medium.com/@harshedabdulla?source=rss-e174fe5b7406------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:42:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harshedabdulla/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[Building bloggy_: A Decentralized Blogging DApp on the Internet Computer]]></title>
            <link>https://medium.com/@harshedabdulla/building-bloggy-a-decentralized-blogging-dapp-on-the-internet-computer-f6f812b02307?source=rss-e174fe5b7406------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6f812b02307</guid>
            <category><![CDATA[dfinity]]></category>
            <category><![CDATA[aide]]></category>
            <category><![CDATA[dapps]]></category>
            <category><![CDATA[ic-protocol]]></category>
            <category><![CDATA[icp]]></category>
            <dc:creator><![CDATA[Harshed]]></dc:creator>
            <pubDate>Thu, 20 Jun 2024 11:22:20 GMT</pubDate>
            <atom:updated>2024-06-20T11:22:20.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCiEH8RbB8kEuggFOvhw0w.jpeg" /></figure><h3>Introduction</h3><p>In the rapidly evolving world of blockchain technology, decentralized applications (DApps) are becoming increasingly popular. They offer enhanced security, transparency, and autonomy compared to traditional centralized applications. One such innovative project is <strong>bloggy_</strong>, a decentralized blogging application built on the Internet Computer (ICP) platform. This blog will take you through the journey of building bloggy_, its features, and the technologies used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Ipqfz877eJ2qdSMzib4FA.png" /></figure><h3>Why Decentralized Blogging?</h3><p>Decentralized blogging platforms provide several advantages:</p><ul><li><strong>Censorship Resistance:</strong> Unlike traditional platforms, no single entity can control or censor the content.</li><li><strong>Enhanced Security:</strong> Content is stored on the blockchain, making it tamper-proof and secure.</li><li><strong>User Ownership:</strong> Users have full control over their data and posts.</li></ul><h3>Project Overview</h3><p><strong>bloggy_</strong> is designed to be a simple yet effective blogging platform that leverages the capabilities of the Internet Computer. Users can create, view, and manage their blog posts with ease. The application supports authentication via the Plug wallet using the Artemis wallet adapter, ensuring a secure and seamless user experience.</p><h3>Features</h3><ol><li><strong>Create Posts:</strong> Users can easily create new blog posts.</li><li><strong>View Posts:</strong> Users can view all existing blog posts.</li><li><strong>Delete Posts:</strong> Users have the ability to delete their posts.</li><li><strong>Stable Upgrades:</strong> Post and pre-upgrade functions ensure that the application remains stable during updates.</li></ol><h3>Technologies Used</h3><ul><li><strong>Frontend:</strong> The frontend is built using React and styled with React Bootstrap. It provides a user-friendly interface for interacting with the application.</li><li><strong>Authentication:</strong> Authentication is handled using the Artemis wallet, which connects to the Plug wallet for secure login.</li><li><strong>Backend:</strong> The backend is written in Motoko, a language specifically designed for the Internet Computer. It handles the core functionalities such as creating, viewing, and deleting posts.</li><li><strong>State Management:</strong> React Query is used for efficient data fetching and state management.</li><li><strong>Deployment:</strong> The application is deployed on the Internet Computer, leveraging its decentralized infrastructure.</li></ul><h3>Authentication with Artemis Wallet</h3><p>The application uses the Artemis wallet adapter to connect to the Plug wallet. This integration ensures that user authentication is secure and straightforward.</p><h3>Backend in Motoko</h3><p>The backend is the heart of the application, written in Motoko. Here are the main functions:</p><ul><li><strong>Create Post:</strong> Allows users to create new blog posts.</li><li><strong>View Posts:</strong> Retrieves all existing blog posts.</li><li><strong>Delete Posts:</strong> Provides functionality to delete posts.</li><li><strong>Upgrade Functions:</strong> Ensures the stability of the application during upgrades.</li></ul><h3>Example Code Snippets</h3><h4>Frontend (React)</h4><pre>const UserLogin = () =&gt; {<br>  const { connectWallet } = useAuth()<br>  const navigate = useNavigate()</pre><pre>  const mutation = useMutation({<br>    mutationFn: connectWallet,<br>    onSuccess: () =&gt; {<br>      navigate(&#39;/posts&#39;)<br>    },<br>    onError: (error) =&gt; {<br>      console.error(&#39;Error connecting wallet:&#39;, error)<br>    },<br>  })</pre><pre>  return (<br>    &lt;Container className=&quot;d-flex align-items-center justify-content-center&quot; style={{ height: &#39;100vh&#39; }}&gt;<br>      &lt;Row&gt;<br>        &lt;Col&gt;<br>          &lt;div className=&quot;text-center mb-4 typed-out&quot;&gt;<br>            &lt;h1&gt;bloggy_&lt;/h1&gt;<br>          &lt;/div&gt;<br>          &lt;Card style={{ width: &#39;24rem&#39; }} className=&quot;text-center shadow-sm&quot;&gt;<br>            &lt;Card.Body&gt;<br>              &lt;Card.Title className=&quot;mb-4&quot;&gt;Connect to your wallet&lt;/Card.Title&gt;<br>              &lt;Card.Text className=&quot;mb-4&quot;&gt;Connect your Plug wallet to start creating and viewing posts.&lt;/Card.Text&gt;<br>              {mutation.isError &amp;&amp; (<br>                &lt;Alert variant=&quot;danger&quot;&gt;{mutation.error.message}&lt;/Alert&gt;<br>              )}<br>              {!mutation.isSuccess &amp;&amp; (<br>                &lt;Button variant=&quot;primary&quot; onClick={() =&gt; mutation.mutate()} disabled={mutation.isLoading}&gt;<br>                  {mutation.isLoading ? &lt;Spinner animation=&quot;border&quot; size=&quot;sm&quot; /&gt; : &#39;Connect&#39;}<br>                &lt;/Button&gt;<br>              )}<br>              {mutation.isSuccess &amp;&amp; (<br>                &lt;Button variant=&quot;success&quot; disabled&gt;<br>                  Connected<br>                &lt;/Button&gt;<br>              )}<br>            &lt;/Card.Body&gt;<br>          &lt;/Card&gt;<br>        &lt;/Col&gt;<br>      &lt;/Row&gt;<br>    &lt;/Container&gt;<br>  )<br>}</pre><pre>export default UserLogin</pre><h4>Backend (Motoko)</h4><pre>/// function to create new post</pre><pre>public func createPost(title: Text, description: Text, principal: Principal): async Result.Result&lt;(), Text&gt; {</pre><pre>switch(Validate.validatePost(title, description)) {</pre><pre>case (#err(error)){</pre><pre>return #err(error);</pre><pre>};</pre><pre>case (#ok()){</pre><pre>};</pre><pre>};</pre><pre>let newPost: Type.Post = {</pre><pre>id = nextId;</pre><pre>title = title;</pre><pre>description = description;</pre><pre>upvotes = 0;</pre><pre>downvotes = 0;</pre><pre>author = principal;</pre><pre>isPublic = false;</pre><pre>};</pre><pre>posts.add(newPost);</pre><pre>nextId += 1;</pre><pre>return #ok(());</pre><pre>};</pre><h3>State Management with React Query</h3><p>React Query simplifies data fetching, caching, synchronization, and more in React applications. It provides a powerful toolset for managing server state in your application. Here is how it is used in bloggy_:</p><h4>Fetching Posts with React Query</h4><pre>const fetchPosts = async () =&gt; {<br>  const posts = await bloggy_backend.viewPosts()<br>  return posts<br>}</pre><pre>const Posts = () =&gt; {<br>  const {<br>    data: posts,<br>    error,<br>    isLoading,<br>  } = useQuery({<br>    queryKey: [&#39;posts&#39;],<br>    queryFn: fetchPosts,<br>  })<br>  const { logOut } = useAuth()</pre><pre>  return (<br>    &lt;Container&gt;<br>      &lt;div className=&quot;d-flex justify-content-between align-items-center my-4&quot;&gt;<br>        &lt;div&gt;<br>          &lt;h2 className=&quot;text-center&quot;&gt;Posts&lt;/h2&gt;<br>        &lt;/div&gt;<br>        &lt;Link to=&quot;/post/new&quot; className=&quot;btn border-black mr-2&quot;&gt;<br>          + New Post<br>        &lt;/Link&gt;<br>        &lt;Button variant=&quot;outline-danger&quot; onClick={logOut}&gt;<br>          Log Out<br>        &lt;/Button&gt;<br>      &lt;/div&gt;<br>      {isLoading ? (<br>        &lt;div className=&quot;text-center mt-5&quot;&gt;<br>          &lt;Spinner animation=&quot;border&quot; role=&quot;status&quot;&gt;<br>            &lt;span className=&quot;sr-only&quot;&gt;Loading...&lt;/span&gt;<br>          &lt;/Spinner&gt;<br>        &lt;/div&gt;<br>      ) : error ? (<br>        &lt;Alert variant=&quot;danger&quot; className=&quot;text-center mt-5&quot;&gt;<br>          {error.message}<br>        &lt;/Alert&gt;<br>      ) : (<br>        &lt;Row xs={1} md={2} lg={3} className=&quot;g-4&quot;&gt;<br>          {posts.map((post, index) =&gt; (<br>            &lt;Col key={index}&gt;<br>              &lt;Card&gt;<br>                &lt;Card.Body&gt;<br>                  &lt;Card.Title&gt;{post.title}&lt;/Card.Title&gt;<br>                  &lt;Card.Text&gt;{post.description}&lt;/Card.Text&gt;<br>                  &lt;div className=&quot;d-flex justify-content-between align-items-center&quot;&gt;<br>                    &lt;div&gt;<br>                      &lt;span role=&quot;img&quot; aria-label=&quot;upvote&quot;&gt;👍&lt;/span&gt;<br>                      {post.upvotes}<br>                    &lt;/div&gt;<br>                  &lt;/div&gt;<br>                &lt;/Card.Body&gt;<br>              &lt;/Card&gt;<br>            &lt;/Col&gt;<br>          ))}<br>        &lt;/Row&gt;<br>      )}<br>    &lt;/Container&gt;<br>  )<br>}</pre><pre>export default Posts</pre><p>In this example, useQuery is used to fetch posts from the backend. It manages the loading, error, and success states, providing a seamless experience for the user.</p><h3>Conclusion</h3><p>bloggy_ showcases the power and potential of building decentralized applications on the Internet Computer. With features like secure authentication, user-friendly interfaces, and robust backend functionality, bloggy_ is a great example of how blockchain technology can be used to create innovative and secure applications. Whether you are a developer looking to explore decentralized technologies or a user interested in secure blogging platforms, bloggy_ offers a compelling solution.</p><p>Feel free to explore the GitHub <a href="https://github.com/harshedabdulla/bloggy">repository</a> for more details and contribute to the project. Happy blogging!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6f812b02307" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring ICP and Motoko Development]]></title>
            <link>https://medium.com/@harshedabdulla/exploring-icp-and-motoko-development-4a0a53e7ced9?source=rss-e174fe5b7406------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a0a53e7ced9</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[aide]]></category>
            <category><![CDATA[icp]]></category>
            <category><![CDATA[motoko]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Harshed]]></dc:creator>
            <pubDate>Sun, 12 May 2024 08:27:51 GMT</pubDate>
            <atom:updated>2024-05-12T08:27:51.497Z</atom:updated>
            <content:encoded><![CDATA[<h4>Transforming Computing with Distributed Intelligence and Internet Computer Protocol</h4><h4>Introduction</h4><p>In the vast expanse of the digital universe, where data flows like a firehose and algorithms rule the roost, a revolution is brewing. It’s a revolution that promises to level the playing field for intelligence, leaving the old ways of computing in the dust. Forget AI locked away in secret labs — we’re talking about a future where it’s accessible to everyone with a dream and a keyboard. This is the world of decentralised AI, and the Internet Computer Protocol (ICP) is our ticket in, with Motoko as our language of choice.</p><p>Imagine a world where AI isn’t used to track your every move or shove ads in your face. What if intelligence could be used to create a better online experience, one that’s safe, respectful, and truly yours to control? Enter decentralized AI (DeAI)!</p><p>DeAI breaks down AI tasks into smaller pieces, spreading them across a network of computers. This way, no single entity controls the data, potentially giving you more privacy and control.</p><h4><strong>Building a Supercomputer in the Cloud: Introducing ICP</strong></h4><p>The Internet Computer Protocol (ICP) is like a giant, powerful computer built on a network of independent machines, not some single server in a dark room. This “supercomputer in the cloud” offers incredible security, scalability, and a revolutionary platform for building applications you can trust.</p><p>Imagine a social media platform called HarmonyNet, built on DeAI and ICP. HarmonyNet’s AI constantly monitors interactions, not to spy, but to promote a positive and inclusive environment. It can detect bullying or hate speech and gently nudge users towards better behavior, offering resources or even temporarily limiting functionality for repeat offenders.</p><p>But HarmonyNet doesn’t stop there. You’ll have complete control over what you see and share. Imagine customizing your feed, blocking unwanted content, and using secure identity systems that hold everyone accountable.</p><h4>Breaking Down the Building Blocks of ICP:</h4><p>The Internet Computer Protocol (ICP) is like a bustling city built on three key components:</p><ul><li><strong>AI Apartments (Canisters):</strong> These secure, self-contained spaces house the magic of decentralized AI. Imagine them as studios where programmers can build and run their AI creations without worrying about them interfering with each other, kind of like a safe playground for code.</li><li><strong>Mini-Networks (Subnets):</strong> The ICP network is cleverly divided into smaller, specialized neighborhoods called subnets. Each subnet can be customized to handle specific tasks, like finance or social media, just like different city districts cater to different needs. This keeps things organized and efficient!</li><li><strong>Community Rule (Governance):</strong> Forget about a central authority! In the world of ICP, decisions are made by the people who use it. Think of it like a democratic city where everyone has a say in how things are run. Token holders and stakeholders can vote on proposals and influence the network’s future.</li></ul><h4>Motoko: The Language for Building on ICP</h4><p>Motoko is a programming language specifically designed for building decentralized applications (dApps) on the Internet Computer Protocol (ICP). As the native language of the Internet Computer, Motoko offers several features and advantages tailored to the unique requirements of decentralized application development:</p><ol><li><strong>Native Integration with ICP</strong>: Motoko is tightly integrated with the Internet Computer Protocol, allowing developers to interact seamlessly with canisters, the fundamental units of computation and storage on the Internet Computer network. This native integration simplifies the development process and enables efficient utilization of the platform’s capabilities.</li><li><strong>Smart Contract Development</strong>: Motoko simplifies the development of smart contracts, which are essential components of decentralized applications. With built-in support for canister creation, management, and interaction, Motoko enables developers to write smart contracts in a straightforward and intuitive manner, abstracting away complexities associated with blockchain development.</li><li><strong>Concurrency and Asynchrony:</strong> Motoko supports concurrency and asynchrony natively, making it well-suited for building scalable and responsive decentralized applications. Developers can leverage asynchronous programming paradigms to handle concurrent tasks efficiently, ensuring optimal performance and resource utilization.</li><li><strong>Type Safety and Expressiveness</strong>: Motoko is a statically typed language with expressive features that enable developers to write concise and readable code. Its type system helps catch errors at compile time, reducing the likelihood of runtime failures and enhancing code reliability and maintainability.</li></ol><h4>Use Cases of Decentralized AI on ICP</h4><p>Breve, the platform I developed during a DeAI hackathon, addresses the critical need for safer and more respectful communication in digital interactions. By leveraging decentralized AI on the Internet Computer Protocol (ICP), Breve offers users a unique platform where they can express themselves freely without fear of causing harm or violating privacy.</p><p>The core functionality of Breve revolves around its AI-powered analysis of outgoing messages. Using sophisticated language models, Breve’s AI engine evaluates messages in real-time to identify potential toxicity, offensive language, or the presence of sensitive information. This analysis occurs entirely within the application, ensuring that users’ privacy is protected, and their messages remain confidential.</p><p>One of the key innovations of Breve is its decentralized architecture, enabled by the Internet Computer Protocol. Instead of relying on centralized servers that could compromise user privacy or security, Breve operates on a decentralized network of nodes. This decentralized approach not only enhances privacy but also ensures the resilience and availability of the platform, even in the face of network disruptions or attacks.</p><p>Breve’s use of decentralized AI on ICP opens up exciting possibilities for fostering healthier and more respectful online interactions. Users can engage in open communication without worrying about inadvertently causing harm or exposing sensitive information. Whether it’s in social networking, messaging, or collaborative environments, Breve’s decentralized AI capabilities offer a new paradigm for safer and more responsible digital communication.</p><h4>Development Guide: Building Decentralized AI on ICP with Motoko</h4><p>Here’s a step-by-step guide to help you get started with developing decentralized AI applications using Motoko on the Internet Computer Protocol (ICP):</p><p><strong>Step 1: Setting Up Your Development Environment</strong></p><ol><li>Install the DFINITY Canister SDK: Follow the instructions on the official DFINITY SDK documentation to install the necessary tools for developing on the Internet Computer.</li><li>Set up a Motoko development environment: You can use your preferred code editor with support for Motoko syntax highlighting and code completion.</li></ol><h4>Step 2: Understanding Canisters and Motoko</h4><ol><li>Learn about canisters: Understand the concept of canisters as the building blocks of decentralized applications on ICP. Canisters are secure, sandboxed environments that host code and state.</li><li>Familiarize yourself with Motoko: Explore the features and syntax of the Motoko programming language, paying attention to its support for concurrency, type safety, and integration with the Internet Computer Protocol.</li></ol><p>Videos: <a href="https://www.youtube.com/watch?v=H3Z4K63JMo0">https://www.youtube.com/watch?v=H3Z4K63JMo0</a></p><h3>Step 3: Developing Decentralized AI Models</h3><ol><li>Choose an AI framework: Select a machine learning framework suitable for decentralized environments, such as TensorFlow.js or PyTorch.js, which can run directly in the browser or within canisters.</li><li>Develop your AI model: Use Motoko to develop and train your AI model, leveraging the chosen machine learning framework. Write code to preprocess data, define the model architecture, train the model, and evaluate its performance.</li><li>Optimize for decentralization: Consider the constraints of decentralized environments, such as limited computational resources and network bandwidth. Optimize your AI model for efficiency and scalability, minimizing resource consumption while maintaining performance.</li></ol><h3>Step 4: Building and Deploying Your Decentralized AI Application</h3><ol><li>Write Motoko code: Develop the frontend and backend components of your decentralized AI application using Motoko. Write code to interact with canisters, handle user input, and communicate with the AI model.</li><li>Test your application locally: Use the DFINITY Canister SDK to test your decentralized AI application locally before deploying it to the Internet Computer network.</li><li>Deploy your application: Follow the deployment guidelines provided by the DFINITY SDK to deploy your decentralized AI application to the Internet Computer network.</li></ol><p>Sample code in Motoko:</p><pre>import Array &quot;mo:base/Array&quot;;<br>import Nat &quot;mo:base/Nat&quot;;<br><br>// Define a simple AI model using Motoko<br>public actor class SimpleAI {<br>  // Define the model parameters<br>  var weights : [Float];<br><br>  // Initialize the model with random weights<br>  public func init() : async () {<br>    self.weights := Array.init(10, func(_ : Nat) =&gt; Float.random());<br>  }<br><br>  // Predict the output based on input features<br>  public func predict(inputs : [Float]) : async Float {<br>    var sum : Float = 0.0;<br>    for (i, input) in inputs.entries() {<br>      sum += input * weights[i];<br>    }<br>    return sum;<br>  }<br>}</pre><p>Running large AI models on decentralized platforms like the Internet Computer presents challenges due to limited computational resources, resource constraints on individual canisters, network bandwidth limitations, cost considerations, scalability challenges, decentralization overhead, and complexities in model deployment and management. Decentralized platforms operate on a network of nodes with finite computational capabilities, making it difficult to execute resource-intensive AI computations. Additionally, decentralized platforms impose constraints on canisters, limiting the amount of CPU, memory, and storage available for running AI models. Transmitting large model parameters or processing large datasets over a decentralized network can be inefficient, and the cost of running large AI models may be prohibitive. Ensuring efficient deployment, scaling, and management of large AI models in a decentralized environment requires careful optimization and consideration of platform limitations and trade-offs between decentralization and performance.</p><p>Decentralized AI is no longer science fiction. It’s here, and it’s changing the way we interact with technology. Platforms like Breve showcase the power of this technology to create a safer and more positive online experience. Whether you’re a developer, an entrepreneur, or simply someone who cares about the future of the internet, there’s a place for you in this revolution. Learn more about ICP, explore Motoko, and be a part of building the next generation of decentralized AI applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a0a53e7ced9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Gated Recurrent Units (GRUs) in Deep Learning]]></title>
            <link>https://medium.com/@harshedabdulla/understanding-gated-recurrent-units-grus-in-deep-learning-4404599dcefb?source=rss-e174fe5b7406------2</link>
            <guid isPermaLink="false">https://medium.com/p/4404599dcefb</guid>
            <category><![CDATA[lstm-networks]]></category>
            <category><![CDATA[gated-recurrent-unit]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Harshed]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 17:19:28 GMT</pubDate>
            <atom:updated>2024-04-15T14:37:20.954Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding Gated Recurrent Units in Deep Learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*v9QKo-C5gL8dL1Vp5wvvQQ.png" /></figure><h4>Introduction:</h4><p>So, picture this: you’re chilling with your neural network crew, brainstorming how to tackle those pesky sequential data problems. Suddenly, someone yells ‘GRU time!’ — and no, it’s not a new dance move. We’re talking about Gated Recurrent Units (GRUs), the unsung heroes of deep learning. But fear not, we’re here to demystify GRUs without a single boring lecture slide in sight</p><p>Recurrent Neural Networks (RNNs) are a class of artificial neural networks designed to handle sequential data by retaining memory of past inputs. However, traditional RNNs suffer from limitations in capturing long-term dependencies and are prone to the vanishing gradient problem.</p><p>The vanishing gradient problem occurs when gradients diminish exponentially as they propagate back through time during training, making it challenging for RNNs to learn from distant past inputs. As a result, traditional RNNs struggle to effectively model sequences with long-range dependencies, limiting their performance in tasks such as language translation and speech recognition.</p><p>These limitations have prompted the development of more advanced recurrent architectures, such as Gated Recurrent Units (GRUs) and Long Short-Term Memory (LSTM) units, which aim to address the shortcomings of traditional RNNs. GRUs were designed with gated mechanisms to regulate the flow of information, allowing them to selectively retain or discard information based on its relevance.</p><p><strong>Anatomy of Gated Recurrent Units (GRUs):</strong></p><p>Gated Recurrent Units (GRUs) are a type of recurrent neural network architecture designed to better capture long-term dependencies in sequential data. The key components of a GRU include the update gate, reset gate, and candidate activation vector.</p><p>The update gate controls how much of the previous hidden state should be retained and how much of the candidate activation should be added to the new hidden state. The reset gate determines which parts of the previous hidden state should be reset or forgotten based on the current input.</p><p>The candidate activation vector represents the new candidate values that could be added to the memory of the GRU, computed based on the current input and a transformed version of the previous hidden state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*v9QKo-C5gL8dL1Vp5wvvQQ.png" /></figure><p><strong>Comparing GRUs with LSTMs:</strong></p><p>While both GRUs and LSTMs have gating mechanisms, GRUs are generally simpler in structure with fewer parameters compared to LSTMs. GRUs have two gates — the update gate and the reset gate, while LSTMs have three gates — the input gate, forget gate, and output gate, along with a memory cell.</p><p>Despite their simpler architecture, GRUs have been shown to perform comparably to LSTMs in various tasks and are often preferred in scenarios where computational resources are limited. LSTMs may offer slightly better performance in tasks requiring more sophisticated memory management, but GRUs are often more efficient to train and deploy.</p><p><strong>Applications of GRUs in Real-World Scenarios:</strong></p><ol><li>In speech recognition systems, GRUs are employed for tasks like speech-to-text conversion, phoneme recognition, and speaker identification.</li><li>GRUs are also utilized in time series prediction tasks, including financial forecasting, stock market analysis, and weather prediction.</li><li>Their ability to capture temporal dependencies and handle sequential data makes GRUs suitable for applications in video analysis, gesture recognition, and action recognition.</li><li>In healthcare, GRUs are used for patient monitoring, disease prediction, and medical image analysis, leveraging sequential patient data for diagnosis and treatment planning.</li></ol><p><strong>Conclusion:</strong></p><p>Gated Recurrent Units (GRUs) offer a powerful solution for effectively modelling sequential data, overcoming the limitations of traditional recurrent neural networks (RNNs). By incorporating gating mechanisms, GRUs enable better capture of long-term dependencies and more efficient memory management in various applications.</p><p>GRUs have demonstrated effectiveness in tasks such as natural language processing, speech recognition, time series prediction, and beyond. As research in deep learning continues to evolve, GRUs remain a key component in the toolkit of machine learning practitioners and researchers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4404599dcefb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Through the Eyes of Time]]></title>
            <link>https://medium.com/@harshedabdulla/through-the-eyes-of-time-a-day-at-the-senior-residence-d574611b7369?source=rss-e174fe5b7406------2</link>
            <guid isPermaLink="false">https://medium.com/p/d574611b7369</guid>
            <category><![CDATA[old-age-home]]></category>
            <category><![CDATA[hospitality]]></category>
            <category><![CDATA[old-age]]></category>
            <category><![CDATA[elder-care]]></category>
            <category><![CDATA[health]]></category>
            <dc:creator><![CDATA[Harshed]]></dc:creator>
            <pubDate>Sat, 27 Jan 2024 11:39:55 GMT</pubDate>
            <atom:updated>2024-04-15T14:36:39.747Z</atom:updated>
            <content:encoded><![CDATA[<p>On Saturday, the 27th of January 2024, my team members and I visited a nearby old age home. It was a substantial facility, housing a diverse group of elderly individuals. Some were struggling with mental illnesses, others had no one to look after them, and many enjoyed the company of their peers in their twilight years. This home was managed by nuns, and we had the opportunity to meet one of them. She was a kind-hearted woman who impressed us with her warmth and friendliness. Her enthusiasm for our project was evident, and she encouraged us to share our ideas with the residents in a manner that would be easy for them to understand.</p><p>Initially, we considered approaching the residents in pairs, but soon realised that individual interactions might be more effective. Our project involved developing an app designed to assist the elderly who lack constant care. It featured health data monitoring and a notification system, all secured with blockchain technology. Our visit aimed to empathize with the residents and understand their preferences and lifestyles.</p><p>The first resident I met was a woman not very old, quietly watching TV outside her room. She responded to my questions with nods and smiles but seemed reluctant to engage further. Recognizing her discomfort, I moved on.</p><p>The next few encounters were similar, with residents responding mostly with smiles. It was becoming clear that my approach might need adjustment.</p><p>Then, I met a woman in her bed, who spoke about her life and her longstanding struggle with leg problems. She expressed a simple desire for human connection, lamenting that many residents hadn’t seen their children since being admitted to the home. This conversation struck a chord with me, highlighting the profound loneliness some elderly people face.</p><p>Another resident, significantly older, eagerly awaited her meal. Her charm was evident despite the sadness in her eyes. She shared her life stories and hobbies with me, even asking for help with an itch on her back. After I assisted her, she fell asleep peacefully. She showed interest in our project and asked me to return with the finished product.</p><p>I then met a woman from North India who initially seemed to understand Malayalam but later requested Hindi, which I spoke hesitantly. She sang a beautiful song, brightening the atmosphere with her melody.</p><p>One resident mistook me for a doctor, inquiring about her health. After reassuring her, she tearfully revealed that her children hadn’t visited since leaving her there. I tried to console her, promising that we were there for her.</p><p>The visit concluded with my college mates conducting cultural programs, singing and dancing, which brought joy to the residents. We also served them food before leaving.</p><p>This experience profoundly affected me. It opened my eyes to the emotional needs of the elderly and reminded me of the importance of cherishing and caring for my parents. The visit was not only enlightening but also heartwarming, and I hope to return and engage more with these incredible individuals.</p><blockquote>“As we lose ourselves in the service of others, we discover our own lives and our own happiness.” — Dieter F. Uchtdorf</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d574611b7369" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>