<?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 Divyadrishti Chhetri on Medium]]></title>
        <description><![CDATA[Stories by Divyadrishti Chhetri on Medium]]></description>
        <link>https://medium.com/@dvdc1001?source=rss-3ff1e10e1184------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ehglaPIh5H46kWk2</url>
            <title>Stories by Divyadrishti Chhetri on Medium</title>
            <link>https://medium.com/@dvdc1001?source=rss-3ff1e10e1184------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 17:56:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dvdc1001/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[The Art of Designing “Intelligent” UIs (UI Meets AI: Designing Intelligent Interfaces 1)]]></title>
            <link>https://medium.com/@dvdc1001/the-art-of-designing-intelligent-uis-81963b1e3c0f?source=rss-3ff1e10e1184------2</link>
            <guid isPermaLink="false">https://medium.com/p/81963b1e3c0f</guid>
            <category><![CDATA[ux-for-ai]]></category>
            <category><![CDATA[ui-design]]></category>
            <dc:creator><![CDATA[Divyadrishti Chhetri]]></dc:creator>
            <pubDate>Sun, 20 Apr 2025 15:07:29 GMT</pubDate>
            <atom:updated>2025-04-20T15:11:33.615Z</atom:updated>
            <content:encoded><![CDATA[<p>UX Principles That Make AI Tools Feel Smart</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6dsQpqomkPZutjyX" /><figcaption>Photo by <a href="https://unsplash.com/@uxstore?utm_source=medium&amp;utm_medium=referral">UX Store</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>Even without a model, your interface can think.</em></p><h3>Why UI/UX Matters in AI</h3><p>While advanced models do the heavy lifting behind the scenes, it’s <strong>design</strong> that shapes the interaction, builds trust, and gives tools that “smart” feel.</p><ul><li>Good design makes a product usable.</li><li>Great design makes it feel intelligent.</li></ul><p>Oh and also before we start I would like to make an <strong>announcement</strong>: This is the first post in a<strong> new series</strong> where I explore <strong>frontend-first techniques</strong> to design interfaces that <em>feel AI-powered:</em></p><h4><em>“UI Meets AI: Designing Intelligent Interfaces”</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*25BKA2XvZ0bjcuYfk5t3ew.gif" /></figure><p>Yeah, I know you read it in the title but I wanted to do that. Now lets dive back into it….</p><h3><strong>🧠 What Makes a UI Feel “Smart”?</strong></h3><p>Think of tools like:</p><ul><li>🧑‍💻 <strong>ChatGPT</strong> — Typing indicators, conversational flow, natural language</li><li>📝 <strong>Notion AI</strong> — Minimalistic prompts, intuitive handoff, clean output</li><li>✍️ <strong>Grammarly</strong> — Inline suggestions, subtle animations, real-time feedback</li><li>🔍 <strong>Perplexity AI</strong> — Follow-up questions auto-generate. Answers come with cited sources. The experience feels like guided research.</li></ul><p>These tools don’t just <em>use</em> AI — they make it feel human, thoughtful, and responsive.</p><p>And they do that through <strong>intentional UX design.</strong></p><h3>🎨 UX Patterns That Simulate Intelligence</h3><p>Here are a few design patterns that give interfaces that “intelligent” touch:</p><h4>1.🗨️ Conversational Prompts</h4><p>Instead of “Enter text,” try:</p><blockquote>What can I help you with today?</blockquote><p>Small copy changes create warmth and approachability.</p><h4>2. ⏳ Simulated Thinking State</h4><p>When a user sends a message, show a brief delay with a message like:</p><blockquote>Thinking…<em><br> This gives the illusion of processing and builds anticipation. It also makes the response feel more thoughtful.</em></blockquote><h4>3. ⌨️ Typing Effect</h4><p>Reveal output character by character instead of showing it all at once.<br> This mirrors how real AI tools (like ChatGPT) respond and enhances realism.</p><pre>const fakeType = (text, setText) =&gt; {<br>  let i = 0;<br>  const interval = setInterval(() =&gt; {<br>    setText((prev) =&gt; prev + text[i]);<br>    i++;<br>    if (i &gt;= text.length) clearInterval(interval);<br>  }, 40);<br>};</pre><h4>4. 🧼 Clean, High-Focus Layout</h4><p>A smart UI is often a <strong>simple UI</strong> — especially when there’s a huge amount of data to process.</p><p>Overly fancy interfaces that take time to load can become bottlenecks, adding unnecessary friction to the experience.</p><p>The best designs prioritize clarity and speed over flashiness.</p><blockquote><em>Fewer distractions = more clarity<br> Clarity = trust<br> Trust = intelligence</em></blockquote><h3>💡 The idea behind this series</h3><p>You don’t need a model to explore AI UX.</p><p>By prototyping the <em>feel</em> of intelligent systems, you can:</p><ul><li>Practice designing human-centric interactions</li><li>Build a portfolio with polished concepts</li><li>Validate product ideas without engineering overhead</li><li>Develop a strong design/dev instinct for AI-powered tools</li></ul><p>Simulation is a creative superpower. We will learn how to do all these things together step-by-step. Lets start this journey together…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*R9VaxiUTh0lFtCm1ikzl0Q.gif" /></figure><h3>🔮 What’s Next in This Series?</h3><h4>In the next post, we willbuild a <strong>chat-style interface</strong> that:</h4><ul><li>Supports multi-turn conversations</li><li>Shows real-time typing indicators</li><li>Differentiates between user, assistant, and system messages</li><li>Introduces light personalization</li></ul><p>And don’t worry — we won’t need a backend to learn all these. It’s 100% frontend. ✨</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*OuWUxaQ77j2g2vTmLh1pug.gif" /></figure><p>Thanks for reading! 🙌 See you soon!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81963b1e3c0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I was messing up my major project college presentations and how you can slay yours]]></title>
            <link>https://medium.com/@dvdc1001/how-i-was-messing-up-my-major-project-college-presentations-and-how-you-can-slay-yours-d3ba6e520fc4?source=rss-3ff1e10e1184------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3ba6e520fc4</guid>
            <category><![CDATA[college-presentation]]></category>
            <category><![CDATA[final-year-presentation]]></category>
            <category><![CDATA[final-year-projects]]></category>
            <dc:creator><![CDATA[Divyadrishti Chhetri]]></dc:creator>
            <pubDate>Mon, 22 Jul 2024 18:19:59 GMT</pubDate>
            <atom:updated>2024-07-22T18:40:29.856Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*tD2rvrGqVnh9ZKA5EiINlQ.png" /><figcaption>Tips and tricks!!! Also, please excuse her hand, thanks.</figcaption></figure><p>When I was starting out my third year in college, I remember my seniors always saying, “8th Sem is easy peasy, just give your presentation and if they ask any question just say, N D A.” I gave it spaces because in my head it was that powerful. But guess what, it is not. Your college professors are not dumb. They have seen it all and heard it all.</p><p>I realized this early on and never used it as an excuse for my college presentations. But this doesn’t mean my presentation was the best thing in the world. After almost getting my synopsis rejected and one redo, I realized the following things:</p><h3><strong>1. Do not let your anger get the best of you.</strong></h3><p>Flight or fight instincts always kick in during stressful situations, and you may get the urge to just talk back when the teacher points out something. But honestly, this will only backfire on you. Complaining and whining about how terrible your college is or how none of your teachers know anything is a poor way of dealing with things. Always stay calm and composed. Negative talk and actions only increase stress and are of no help.</p><h3><strong>2. Take the feedback from your teachers seriously.</strong></h3><p>In my college, we had one synopsis, one progress presentations and two guide-initiated presentations before the final presentation. In all these, the panel would point out the mistakes, things that were missing etc., from our presentation and report. Taking these feedbacks and working on them will really take you a long way.</p><h3>3. Use AI tools to your advantage.</h3><p>Honestly, in today’s time and day, it is very easy and quick to do things. So if you do not know what to put in your ppt and report, use ChatGPT, Gemini or any other AI tool that may work for you. I would suggest writing long prompts and really explain what kind of work you are doing in your internship or what you are making for your major project.</p><h3><strong>4. Make a lot of design diagrams</strong></h3><p>Flowcharts, use-case diagrams, activity diagram etc., add at least three of these in your ppt. Just as a side note though, please learn to make them first before jumping on making them because this is where most mistakes are pointed out.</p><h3><strong>5. Add as many relevant information about your project as possible</strong></h3><p>I know, I know, “But Divya, NDA…….”. Relax, you don’t have to pay a fine or go to jail for this. What I am saying is, make a sort-of dummy project or something. This again takes me back to my GPT point. I worked on UI and frontend during my internship so I created some wireframes and UI screens in Figma and added them to my presentation. Took me barely a day and I had something to show during my final presentation. Wish I had done it earlier though.</p><h3>6. Follow the ppt and report format</h3><p>This is one of the most, most important point. If your college has provided you a format, please stick to it from the font to the layout to the content, everything. The heading font and size, the body font and size, how to write contents, how to number pages and chapters, what else to add. Do everything that the format tells you to.</p><h3>7. Be confident about what you have done</h3><p>I used to be really intimidated initially while presenting. UI and frontend was something most people looked down at, even some teachers to be honest. But then I realized, I had actually done a lot of work and learnt a lot and that frontend is not as easy as people think it is. In the beginning, it was difficult to convince my teachers this because I was not convinced myself. I was scared that I would be looked down because I did not do something in the backend or AI/ML. But at one point, I had enough of this. I took it as a challenge and showcased everything I had learnt and worked on. This way, I could answer almost all technical questions from my ppt although I did get scolded a lot for not following the format properly, hehe.</p><h3>8. Start working on your ppt and report early on</h3><p>This pretty much speaks for itself. More time = more ideas = good presentation and report. Also this way you get to format your ppt and report in the correct layout and use the correct fonts etc. One of my biggest mistakes was rushing into making the ppt and report the night before the presentation. Ugh…. stress, we do not want that.</p><p>Okay, that was all I could come up with. Thanks kids, please learn from my mistakes so you don’t have to learn from yours.</p><p><em>PS: Was too lazy to edit this so sorry for any mistakes…. Also this article is not to offend anyone, it is just my personal experience.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3ba6e520fc4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Explore Server Sent Events (SSE) for Instant Updates!]]></title>
            <link>https://medium.com/@dvdc1001/lets-explore-server-sent-events-sse-for-instant-updates-14082801b0f5?source=rss-3ff1e10e1184------2</link>
            <guid isPermaLink="false">https://medium.com/p/14082801b0f5</guid>
            <category><![CDATA[web-communications]]></category>
            <category><![CDATA[server-sent-events]]></category>
            <dc:creator><![CDATA[Divyadrishti Chhetri]]></dc:creator>
            <pubDate>Fri, 26 Apr 2024 12:33:11 GMT</pubDate>
            <atom:updated>2024-04-26T19:28:23.817Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the world of real-time web communication, where servers and clients chat without skipping a beat! Today, we’re spilling the tea on Server Sent Events (SSE) — a dope trick that keeps your web game strong with lightning-fast updates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*BwfL7BasnFMFZgTF3MSfXA.png" /><figcaption>Web Communication these days feels like talking face to face.</figcaption></figure><h3>What’s the Hype About SSE?</h3><p>In SSE, the server sends updates automatically to the client at any time, over a well established HTTP connection. The client does not need to keep requesting the server for updates, hence SSE is much faster.</p><p>Picture this: instead of clients constantly badgering servers for updates, SSE flips the script, allowing servers to take the lead and push updates to waiting clients. It’s like having a personal messenger delivering hot-off-the-press news directly to your doorstep!</p><p>It can be used for things that need real time updates like notifications, messaging, statistics etc. Unlike Polling, Long Polling and WebSocket, SSE is unidirectional. Only the server sends data to the client.</p><h3>Setting Up SSE with Node.js and Express</h3><p>Now, let’s get down to business and set up SSE using Node.js and Express. We’ll whip up a server that can slide those updates to connected clients like a pro.</p><pre>// Node.js and Express setup<br>const express = require(&quot;express&quot;);<br>const cors = require(&quot;cors&quot;);<br>const bodyParser = require(&quot;body-parser&quot;);<br>const events = require(&quot;events&quot;);<br><br>const app = express();<br>app.use(cors());<br>app.use(bodyParser.json());<br><br>const port = 1515; // my favorite number<br><br>const event = new events.EventEmitter();<br><br>// Register SSE route<br>app.get(&quot;/sse&quot;, (req, res) =&gt; {<br>  res.setHeader(&quot;Content-Type&quot;, &quot;text/event-stream&quot;);<br>  res.setHeader(&quot;Cache-Control&quot;, &quot;no-cache&quot;);<br>  res.setHeader(&quot;Connection&quot;, &quot;keep-alive&quot;);<br>  res.flushHeaders();<br><br>  // Send data from the &#39;event&#39; event<br>  event.on(&quot;event&quot;, (data) =&gt; {<br>    res.write(`data: ${JSON.stringify({ data })}\n\n`);<br>  });<br>});<br><br>// Handle incoming messages<br>app.post(&quot;/talk&quot;, (req, res) =&gt; {<br>  res.json(true);<br>  event.emit(&quot;event&quot;, req.body.text);<br>});<br><br>// Serve the chat UI<br>app.get(&quot;/chat&quot;, (req, res) =&gt; {<br>  res.write(`<br>    &lt;div style=&quot;height: calc(100% - 100px)&quot;&gt;&lt;/div&gt;<br>    &lt;textarea style=&quot;width: 100%; height: 100px&quot;&gt;&lt;/textarea&gt;<br>    &lt;script&gt;<br>      const origin = window.location.origin;<br>      const eventSource = new EventSource(origin + &quot;/sse&quot;);<br>      eventSource.onmessage = (event) =&gt; {<br>        const eventData = JSON.parse(event.data.replace(/^data: /g, &quot;&quot;));<br>        document.querySelector(&quot;div&quot;).innerHTML += &quot;&lt;p&gt;&quot; + JSON.stringify(eventData.data) + &quot;&lt;/p&gt;&quot;;<br>      };<br><br>      document.querySelector(&quot;textarea&quot;).addEventListener(&quot;keypress&quot;, () =&gt; {<br>        var key = window.event.keyCode; //if the user has pressed enter<br><br>        if (key === 13) {<br>          var text = document.querySelector(&quot;textarea&quot;).value;<br><br>          fetch(origin + &quot;/talk&quot;, {<br>            method: &quot;POST&quot;,<br>            headers: {<br>              &quot;Content-Type&quot;: &quot;application/json&quot;,<br>            },<br>            body: JSON.stringify({ text }),<br>          });<br><br>          document.querySelector(&quot;textarea&quot;).value = &quot;&quot;;<br>        }<br>      });<br>    &lt;/script&gt;<br>  `);<br>});<br><br>app.listen(port, () =&gt; {<br>  console.log(<br>    `Example app listening on port ${port}, open http://localhost:1515/chat`<br>  );<br>});</pre><p>In this code, we’ve set up a server with Node.js and Express. We’ve defined two endpoints: /talk, where clients send messages, and /sse, where the magic of Server-Sent Events (SSE) unfolds. Whenever clients send messages, the server emits an event, and the SSE endpoint promptly dispatches updates to connected clients.</p><p>Here’s the cherry on top: we’re using the EventSource API in the browser to establish a connection with the SSE endpoint (/sse). This API enables clients to receive updates from the server in real-time. When the server sends updates, our code captures them in the onmessage event handler and displays them in the browser.</p><p>So, there you have it! With SSE, you’re cruising in the fast lane of real-time web vibes. Whether it’s live updates, notifications, or just kicking it in a chat app, SSE has your back for those instant connections. So, what are you waiting for? Dive in and vibe out with SSE! 🚀✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14082801b0f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>