<?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 Vidushi Gupta on Medium]]></title>
        <description><![CDATA[Stories by Vidushi Gupta on Medium]]></description>
        <link>https://medium.com/@vidushig2020?source=rss-d038b39fcee4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*J5gvd7u2EmYHPtaWzwU8Yg.png</url>
            <title>Stories by Vidushi Gupta on Medium</title>
            <link>https://medium.com/@vidushig2020?source=rss-d038b39fcee4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 08:47:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vidushig2020/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[22 Takeaways at 22]]></title>
            <link>https://medium.com/@vidushig2020/22-takeaways-at-22-6245e790b884?source=rss-d038b39fcee4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6245e790b884</guid>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Vidushi Gupta]]></dc:creator>
            <pubDate>Fri, 07 Jul 2023 11:53:00 GMT</pubDate>
            <atom:updated>2023-07-07T11:53:00.309Z</atom:updated>
            <content:encoded><![CDATA[<p>Reflections on My 22 Years of Life</p><p>As I turn 22 today, I wanted to take some time out and share a few takeaways that I have from this journey of life. This blog post is inspired by <a href="https://twitter.com/jasleen101010">Jasleen’s</a> blog — <a href="https://jasleen101010.medium.com/22-things-i-learned-as-i-turned-22-c9a54eac4c">“22 Things I learned as I turned 22”</a>. I wanted to write this when I turned 21 last year but I guess I had too much on my plate back then!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EQ3PxrasnjqByHuHRpW43A.jpeg" /></figure><p>As I stand at the crossroads between youth and adulthood, I find myself compelled to pause and reflect on the wisdom gained, the challenges faced, and the dreams that continue to inspire me.</p><p>Here’s a list of my takeaways and reflections that have shaped me into the person I am today.</p><ol><li><strong>Declutter your relationships: </strong>Spend your time with people who respect it.</li><li><strong>Action &gt;&gt; Overthinking: </strong>Work on it rather than overthinking about the past or the result.</li><li><strong>No knowledge acquired at any time and any where goes waste</strong>: Could be as simple as learning the meaning of a word.</li><li><strong>Taking breaks</strong> is just as important as meeting deadlines.</li><li><strong>Feel connected</strong>: Connected to yourself, connected to your pet or connected to your loved ones.</li><li><strong>Sleep &gt;&gt; Netflix marathons</strong>: A well rested mind is an efficient mind.</li><li><strong>If it’s not a ‘hell yes’, it’s a no</strong>: Priortize your calendar and learn to say no to non-priorities. If something on my calendar does not make me excited or say ‘hell yes’, I don’t block time for it.</li><li><strong>Overwhelmed &lt;&lt; Write it down: </strong>Write down, priortize and get to it. You’ll feel better when it’s done.</li><li><strong>Big NO to negative self talk: </strong>You don’t know when it triggers the imposter syndrome.</li><li><strong>No harm in trying</strong></li><li><strong>Learn to sell</strong>: Sell your skill!</li><li>We mirror people around us. This is human nature. But <strong>mirror what you ‘like’ about them and not the whole person</strong>. After all we all have to be unique in our own way.</li><li><strong>Own your feelings</strong>: It’s okay to feel low, high, sad, overwhelmed, on cloud 9. Own it, feel it and work towards/away from it.</li><li><strong>You have to invest to socialize</strong>: You don’t just have/make friends. You have to build friendships and maintain for them to last.</li><li><strong>No caffeine after 6 pm</strong>: As cliche as it sounds, I think one of the best decisions I took is to go off coffee on weekends and after 6pm on weekdays. Coffee gets me into work mode and I am using it to my advantage for when I need it.</li><li><strong>Self care is not self indulgence, it is self preservation</strong> ~ Audre Lorde</li><li><strong>Perfectionism is less of a blessing and more of a curse</strong>: You’ll end up compromising your sleep and socializing to make that one assignment look perfect.</li><li><strong>Small steps in the right direction can lead to become the biggest steps that you needed to achieve the milestone.</strong></li><li><strong>Write your definition of success: </strong>Don’t attribute happiness to the next goal/success. Write what success means to you and also enjoy your life beyond it.</li><li><strong>Time is a healer.</strong></li><li><strong>Never revolve your life around one soul</strong>: Not him, not her, not yourself.</li><li><strong>Direction and consistency are more important than your speed.</strong></li></ol><p>Both you and I have read these somewhere. But, what’s important is to see what works for you and to keep doing it over and over again. I’m not perfect but these are the small hacks that worked for me!</p><p>See you next July with a new list of takeaways?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*ozadB5AonR8Zo06dsIDAbQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6245e790b884" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Share Your GitHub Releases to Your Communities with Just One Click]]></title>
            <link>https://medium.com/geekculture/share-your-github-releases-to-your-communities-with-just-one-click-65050ef69d0b?source=rss-d038b39fcee4------2</link>
            <guid isPermaLink="false">https://medium.com/p/65050ef69d0b</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[github-api]]></category>
            <category><![CDATA[appsmith]]></category>
            <category><![CDATA[discord-bot]]></category>
            <category><![CDATA[low-code]]></category>
            <dc:creator><![CDATA[Vidushi Gupta]]></dc:creator>
            <pubDate>Fri, 15 Jul 2022 20:32:46 GMT</pubDate>
            <atom:updated>2022-07-15T20:32:46.676Z</atom:updated>
            <content:encoded><![CDATA[<p>Developers spend many hours coding, refining the product, and releasing enhancements, fixes, and improvements. These updates can be critical for users of the product. An organization must announce updates to their users to improve awareness about the product and help users make the most of an improved product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtSD09BoF_Q-R6DbtAMS8g.png" /></figure><p>In this tutorial, we will learn how to build a Discord bot that shares the latest releases in a channel on your desired Discord server within 10 minutes. Let’s build!</p><p>Here’s what the <a href="https://app.appsmith.com/templates/62c2cd58e8e73110ce252a8f">app</a> looks like; feel free to take it for a ride.</p><h3>Setting up Appsmith</h3><ul><li>Head onto <a href="http://appsmith.com/">appsmith.com</a> to sign up for a new account or log in to an existing account.</li><li>Create a new application in your preferred organization, and you’ll now see an editor where you can drag and drop UI widgets to build UI.</li></ul><h3>Set up UI for your app</h3><p>For the UI, add in the following widgets:</p><ul><li>Choose a theme that you like!</li><li>A container with a text widget and icon button for the header of the app</li><li>Two buttons — one for previewing the message and the other to send the message on Discord</li><li>A text widget to preview the text message that the bot would send on the channel</li></ul><p>And that’s it for the UI. You got the UI for your app set up in just four simple steps 🎊. Below is how it looks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OATzRcNmO4cIUsE1" /><figcaption>App UI</figcaption></figure><h3>Integrating Discord and GitHub on Appsmith</h3><p>You’ll be using a Discord webhook on the server that you want the bot to be on. This webhook will help you send automated messages on your server’s text channel. You can read more about Discord webhooks <a href="https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks">here</a>.</p><ul><li>Follow the procedure mentioned in this <a href="https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks">article</a> to set up a webhook.</li><li>Once the webhook is generated, copy the URL to the webhook.</li></ul><p>You’ll use the <a href="http://docs.github.com/en/rest/releases/releases">GitHub releases API</a> to look for the latest releases and get information about them.</p><ul><li>Generate your GitHub personal access token according to the steps mentioned in the <a href="http://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token">GitHub docs</a>. You’ll need this token for <a href="http://docs.github.com/en/rest/overview/other-authentication-methods#basic-authentication">Basic authentication</a> of the Releases API.</li></ul><h3>Setting up Queries and APIs</h3><p>You’ll first set up an API to get the latest release of a GitHub repository. To do this, follow the following steps:</p><ul><li>Create a ‘New Blank API’ from the query pane.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/0*rwAgcDCm9JMJmErx" /><figcaption>Query pane</figcaption></figure><ul><li>Rename the query as <strong>GetRelease</strong>. Set the API for a <strong>GET </strong>request since we want to <em>get </em>the information of the latest release.</li><li>Add this URL for the API</li></ul><pre>https://api.github.com/repos/&lt;USERNAME&gt;/&lt;REPO-NAME&gt;/releases/latest</pre><p>Make sure to add in the repository name of the repository for which you would want the latest releases in place of <strong>&lt;REPO-NAME&gt;</strong> and the username of the owner of the repository in place of <strong>&lt;USERNAME&gt;</strong></p><ul><li>Add in the Authorization key in the headers with the value set to be Basic <strong>&lt;ACCESS-TOKEN&gt;. </strong>Make sure to add in your access token that you copied earlier in place of <strong>&lt;ACCESS-TOKEN&gt;</strong></li></ul><p>Hit the ‘<strong>Run</strong>’ button, and you should see an API response with the details of the latest release.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_Un30ivKIoKyG63x" /><figcaption>API Response</figcaption></figure><p>Next, we’ll set up the Discord Webhook in Appsmith. To do this,</p><ul><li>Click ‘New API’ from the query pane and name it <strong>PostDiscord</strong>.</li><li>Set the API to a <strong>POST </strong>request since we would be <em>posting </em>the message to the Discord server.</li><li>Paste your webhook URL into the URL of the API.</li><li>Set the <strong>content type</strong> as key in the headers with the value set to <strong>application/json</strong></li></ul><p>This is what the PostMessage API looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RJ0vNu4NcEsxxEM7" /><figcaption>PostMessage API</figcaption></figure><p>Let us now write a query to customize the message you want to send on the Discord server channel.</p><ul><li>Create a new JSObject</li><li>Add this function in the JSObject</li></ul><pre>message: () =&gt; {</pre><pre>var apibody=GetRelease.data.body</pre><pre>const body= apibody.replace(/ *\([^)]*\) */g, “”)</pre><pre>return((GetRelease.data.name) + “ is out🎉 \n\n” + (body) + “\n\nCheck the release out at “ + (GetRelease.data.html_url) )</pre><pre>}</pre><p>Here, we use <strong>(GetRelease.data.body)</strong> to get the body of the release notes, <strong>(GetRelease.data.name)</strong> to get the name of the release, and the <strong>(GetRelease.data.html_url)</strong> to get the link to the release notes.</p><p>You are free to customize the message further with as many attributes as you want!</p><h3>Binding queries to app UI</h3><p>Now that you have all the APIs and the queries set up, you just have to bind these to the widgets.</p><ul><li>Bind <strong>{{GetRelease.run()}}</strong> to run on <strong>onClick </strong>in the Preview Message button.</li><li>Bind <strong>{{JSObject1.message()}}</strong> to the <strong>Text </strong>in the property pane of the text widget.</li><li>Bind <strong>{{PostMessage.run()}}</strong> to run on <strong>onClick </strong>in the Send Message to Discord button.</li></ul><p>And, that’s it. Test and run your bot!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*6TEpacwv9Rbdp1FeSq9RNg.gif" /><figcaption>Screen recording</figcaption></figure><p>Now, you can share your releases within your communities like a pro!</p><p>To test this bot, we have a<a href="https://app.appsmith.com/templates/62c2cd58e8e73110ce252a8f"> Discord bot for GitHub releases template</a>, which you can fork and use.</p><p>Please let us know if you have any template requests that could help speed up making internal tools <a href="https://app.appsmith.com/app/request-templates/request-form-6241b5a8c99df2369931a656">via this form</a>.</p><p>Hit us on <a href="https://discord.com/invite/rBTTVJp"><strong>Discord</strong></a> for any queries, and follow us on <a href="https://www.youtube.com/c/Appsmith"><strong>YouTube</strong></a> and <a href="https://twitter.com/theappsmith"><strong>Twitter</strong></a> to stay up to date.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65050ef69d0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/share-your-github-releases-to-your-communities-with-just-one-click-65050ef69d0b">Share Your GitHub Releases to Your Communities with Just One Click</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Going from a half-day wasted to a non-zero day!]]></title>
            <link>https://medium.com/@vidushig2020/going-from-a-half-day-wasted-to-a-non-zero-day-98cd947be3df?source=rss-d038b39fcee4------2</link>
            <guid isPermaLink="false">https://medium.com/p/98cd947be3df</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[pomodoro-technique]]></category>
            <category><![CDATA[organization]]></category>
            <category><![CDATA[organizing]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Vidushi Gupta]]></dc:creator>
            <pubDate>Sun, 31 Oct 2021 09:49:05 GMT</pubDate>
            <atom:updated>2021-10-31T09:49:05.919Z</atom:updated>
            <content:encoded><![CDATA[<p>Sitting near your desk, looking out of the window? Everything seems grey and an upcoming deadline is haunting you? Feeling overwhelmed looking at your calendar? Here are a few tips that can help you to sabotage your success smartly:</p><ul><li><strong>Why am I doing this?</strong>: Start your work by answering “<em>Why am I going to work today?</em>” or “<em>Why am I doing this?</em>”. Answering these questions aloud to yourself will give you the motivation boost you need to work in the right spirit.</li><li><strong>Have a healthy breakfast:</strong> Breakfast is the meal that provides you the energy and fuel for the rest of the day to be productive and get the work done. If you skip breakfast, you lose out on the energy needed for the day whereas if you have a heavy junk loaded breakfast, it makes you feel sleepy on the desk.</li><li><strong>Stay hydrated</strong>: Water is the food for your brain. Just like we need food, the brain needs water to stay alert, focused and to provide the right attention span. Even though it increases the number of bio breaks you have to take in a day, it also makes you walk to the restroom, keeping you active.</li><li><strong>Organize! Organize! Organize!:</strong> It is very essential to declutter your desk. Research proves that having only minimal things that you need handy on the desk allows you to work for 7.5 minutes longer without losing your focus. It also saves time as you don’t have to keep looking for the folder in a big pile of clutter.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CzUq7q2ODdxwH7DlJ61aFw.jpeg" /><figcaption>Source: pinterest</figcaption></figure><ul><li><strong>Get to the desk and get done with a thing:</strong> Follow the <a href="https://www.reddit.com/r/NonZeroDay/">non-zero day</a> principle wherein you do at least one thing that takes you closer to your goal. Even if it’s 2359 hours, you can still send a text, make your to-do, do 5 squats, anything but 0.</li><li><strong>Follow the 5 minute rule:</strong> If it takes just 5 minutes to get a task off from your to-do list, do it right away. This would lessen the tasks you need to get done with and also prevent delays.</li><li><strong>Plan 30 minute meetings:</strong> Having a short meeting ensures focus and attention span. Since it is a short meeting, everyone looks forward to the meeting and comes in well thought about the agenda.</li><li><strong>Pomodoro Technique:</strong> This is a proven technique to save the time you spend to refocus your brain to work after a lengthy work session. A pomodoro involves working for 25 minutes and then having a 5 minute break. After 4 pomodoros taking a longer break helps you rejuvenate and work with greater efficiency.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uifBnKDsvy7PkQcC07eUaA.jpeg" /><figcaption>Source: sketchplanations</figcaption></figure><ul><li><strong>Pet/ Hug your pet:</strong> Cuddling your furry friends helps you to get your mind off work. I’m sure your dog/cat is going to love you for the hourly treats they get when you get off your desk for a break.</li><li><strong>Don’t worry:</strong> Even if your to-do runs in pages, do not worry. You would end up wasting valuable time worrying, wherein you could actually get something done and strike it off your list. The moment you get started, you’re halfway there to ace the day.</li><li><strong>Mondays for planning and Fridays for relieving:</strong> Try to schedule meetings after noon on Monday so that you have the first half to plan the week for yourself without getting overwhelmed. Similarly try to get done with meetings by noon on Fridays so that you have enough time to wrap up work and relieve yourself for the weekend.</li><li><strong>Maintain a sleep schedule: </strong>It is better to not pull extra hours in the night to get something done because that just makes you feel sleepy and tired the next day.</li></ul><p>Apart from these tricks here are a few apps to help you ace the day:</p><ul><li>Calm.com : Meditation for newbies</li><li>Headspace: Keep your well-being in check</li><li>Zapier: Offers seamless software integrations</li><li>Microsoft OneNote: Your go-to note making software</li></ul><p>Get to organizing now and remember that<strong> Urgency ≠ Priority!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*_0hM6_hzPghx_o1OyHQbnQ.gif" /><figcaption>(Source: holidogtimes.com)</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98cd947be3df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set up the backend for your first app in the no-code way!]]></title>
            <link>https://medium.com/@vidushig2020/set-up-the-backend-for-your-first-app-in-the-no-code-way-6052b348d045?source=rss-d038b39fcee4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6052b348d045</guid>
            <category><![CDATA[appwrite]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[web-app-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Vidushi Gupta]]></dc:creator>
            <pubDate>Fri, 15 Oct 2021 06:24:08 GMT</pubDate>
            <atom:updated>2021-10-15T06:24:08.691Z</atom:updated>
            <content:encoded><![CDATA[<p><em>(Hint: Appwrite)</em></p><p>Are you a <strong>no-code</strong> or a <strong>low-code</strong> developer? Or Are you trying to <strong>get started</strong> with developing web apps or mobile applications?</p><p>What if I could tell you, that you can set up the backend for your app without getting <em>overwhelmed</em> with long lines of code? Exciting, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*D-e6CVtPPBd5o8jzWthX0w.gif" /></figure><p>Let’s get started by setting up a backend server for our first/next web application on Appwrite!</p><h3>What is Appwrite?</h3><p><a href="https://appwrite.io/">Appwrite</a> is an open-source solution that helps developers to manage their core backend needs by providing easy-to-use and integrate REST APIs. They provide these solutions for web, mobile and flutter application developers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Gt6rH5AR9w5RNCgu8hadow.png" /></figure><h3>Setting up the backend server:</h3><p><strong>Step 1:</strong> Install and launch Appwrite, compatible to your device using the <a href="https://appwrite.io/docs/installation">official docs for installation</a>.</p><p><strong>Step 2:</strong> Sign up on Appwrite after launching it on your localhost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*Tseq5AQl7bP8rIzEGWAWcg.png" /><figcaption>Sign in page</figcaption></figure><p>After you successfully sign up, this is your dashboard. You can view all the projects that you have ever created on this account.</p><p><strong>Step 3:</strong> Click “Create Project” button in order to create a new project for which we have to set up the backend server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-7Er4Te7z2Tld9a3JeAHA.png" /><figcaption>Dashboard</figcaption></figure><p>Provide a suitable name to your project and then create the project. I am using the name “First-Project” for demo purposes.</p><p>This is the homepage of the project that we just created. It gives information on the essential parameters for the project we just created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgP00sgGeOLbTnNKYkOt8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*80m82greIlgaqXNS_v22_A.png" /><figcaption>Project homepage</figcaption></figure><p><strong>Step 4:</strong> Using the “Add Platform” button, add a platform suitable to your application. I would be using the web application platform for this demonstration.</p><p>Provide a name for the web app, a hostname where it runs and register it using the “Register” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*rbzy31JDjcv3BrCXWupYAA.png" /><figcaption>Registering a web app</figcaption></figure><p>On successful registering, your homepage reflects the platforms that your project consists of. You can see the “My First Web App” registered on the hostname provided in the screenshot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Sn1Gvmf4py-GZp91bhskQ.png" /><figcaption>Successfully registered web app</figcaption></figure><p>Now, we would add the other parameters to our backend. Check out the features in the tool bar at the left. Let’s create a <a href="https://appwrite.io/docs/client/database">database</a> for the web app.</p><p><strong>Step 5:</strong> Click on “Add Collection” to add a new database to your Web App and name it as you like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3684NoQDOYxrf-QLj8D25g.png" /><figcaption>Adding database</figcaption></figure><p>On creating a collection, you can then see the Collection ID generated for this collection on the right. This page also shows you the rules and the permissions that have been set up for this collection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2rhsdliHaHwzQHcMJgQYUg.png" /><figcaption>Collection homepage</figcaption></figure><p>You can add a rule for a label and a key, edit or remove an existing rule using the same page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NEZXaQS8rigmJ_79_HxyzA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3fNL3glbSohQWhxJVp9SaA.png" /><figcaption>Added new rule to collection</figcaption></figure><p>Similarly, we can set the read and write access permissions for this collection to a particular user ID, team ID, a role or provide wildcard access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1ZFeeopmX5-f5SIycSNeQ.png" /><figcaption>Provided wildcard read access</figcaption></figure><p>And then here is a view of all the collections that the project database consists of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5MZpFjgV0XZH5-g-sF24w.png" /></figure><p><strong>Step 6:</strong> We can now add <a href="https://appwrite.io/docs/server/users">users</a> to our project. For this, select users from the left bar and then create a user by providing the credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6phL7QLoHywUgmuEtl8MeA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1B6I7ZZl3rjjj6XqxMGjvQ.png" /><figcaption>Added user1</figcaption></figure><p>Similarly, we can also add scheduled tasks every few minutes or hours. You can read more about scheduling tasks from the <a href="https://appwrite.io/docs/tasks">official docs</a>.</p><p>Step 7: Add a new task and then you can view all the tasks that have been scheduled on the Tasks homepage as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nAP2ooqnntEaiKfVM1dLRQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*51s5uXeQJOW-aPKZykjQVg.png" /><figcaption>Adding Tasks</figcaption></figure><p><strong>Step 8: </strong>We can also add <a href="https://appwrite.io/docs/keys">API keys</a> and provide scopes for each API key. Select “API Keys” from the left bar and then create a new API key with the desired scope as shown below. On creating, you can see the API Keys homepage listing out all the API keys that you have added in your project. You can view the secret API key for every key by clicking on the “Show Secret” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1XOXzdhP-aWeKlBJnXeJvA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZPtoao6mlYwVhZzv9lAXAQ.png" /><figcaption>Added API keys</figcaption></figure><p>And, woah! You have created a basic backend server for your first project in just 8 steps. You can keep customizing this server as you realize the addition or deletion of more features in your project. This is what the homepage of the project looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zo-EC-gpP3WzHikLaKcFaQ.png" /></figure><p>Wasn’t this easy and stress-free? Check out <a href="https://appwrite.io/contact">Appwrite</a> and wishing you all the very best for your next project!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6052b348d045" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[COVID-19 in India: Trends and Determinants]]></title>
            <link>https://medium.com/@vidushig2020/covid-19-in-india-trends-and-determinants-fcd2cee5e9fc?source=rss-d038b39fcee4------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcd2cee5e9fc</guid>
            <category><![CDATA[covid-india]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[maharashtra]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Vidushi Gupta]]></dc:creator>
            <pubDate>Wed, 29 Jul 2020 07:14:23 GMT</pubDate>
            <atom:updated>2020-07-29T07:14:23.662Z</atom:updated>
            <content:encoded><![CDATA[<p>Since the COVID-19 outbreak in March in India, this Novel virus has been living amongst us. The SARS-CoV-2, which causes COVID-19, pandemic in India is a part of the worldwide pandemic caused due to the novel coronavirus. In this battle to tackle the unprecedented crisis, let us utilize this as an opportunity by analyzing every little aspect of this pandemic which may be lessons for strengthening our preparedness for any future pandemic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*bpdwwhYR7xyz_o7g.jpg" /><figcaption>Before and after of Tourist Places due to COVID-19</figcaption></figure><p>The analysis presented here aims to present the spatial distribution and spread of the COVID-19 over time in India. In addition, the analysis further attempts to elicit linkages between high COVID-19 prevalence states and their economic contribution to the nation.</p><h3><strong>Methods and Data Analysis</strong></h3><p>The analysis was conducted in Python language(version 2.7.16) using the Pandas, Numpy, Matplotlib, Seaborn and Geopandas libraries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*g673MMP1ItZnUS1-x7DEBA.png" /></figure><h3><strong>Spatial Trend Analysis</strong></h3><p>To analyze the trend in the spread of the virus, a state-wise daily cases dataset was imported from <a href="https://api.covid19india.org/"><strong>https://api.covid19india.org/</strong></a>. From the dataset, the confirmed COVID cases were considered for each state and then a time resampling was performed with regards to ‘M’. Time series resampling was performed on the dataframe to convert it from a daily to a monthly dataframe. Following this it was merged with a shapefile of India and the Matplotlib library was used in order to plot a choropleth map for the month of March, April and May.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*CeaSumfSzChIzFoAH7ceNg.png" /><figcaption>Table 1:Merged dataframe with shapefile and time-series resampled data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uDUXP_Gu5lMZz11bAdiDHA.png" /><figcaption>Choropleth Maps of confirmed COVID cases (March, April, May)</figcaption></figure><p>With regards to the scale, the colour towards the shade of purple shows a higher prevalence of COVID (i.e. higher number of confirmed cases) in a particular state. As observed in the trends, the states of Maharashtra, Tamil Nadu and Delhi have been the worst affected cumulatively over the span of three months. The hotspots reflected by the maps highlight the need for a comparison of this distribution with the economic contribution to gain a deeper insight.</p><h3><strong>Comparison: Prevalence to Economic contribution</strong></h3><p>For the comparative analysis of the prevalence of COVID-19 and the economic contribution, I took into consideration the RBI dataset which provides the net value added (in Rs. crore) by each state into the national economy for the year 2017–2018.</p><p>The net value added is defined as the rupee value for the number of goods and services that have been produced in a country, minus the cost of all inputs or raw materials that are directly attributable to that production and the depreciation involved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/325/1*cF4LbjWKHQazcB6u7nZmXA.png" /><figcaption>Table 2:RBI dataset for Net state value-added in 2017–18</figcaption></figure><p>This dataset was combined with the COVID confirmed cases dataset and a combined bar and line plot was plotted using the seaborn library for the top 3 entries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*43c72UIg7ozbDj5WraW8wg.png" /><figcaption>Table 3: Dataframe of top 3 states economic contribution and confirmed COVID cases</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*-o1CDOwY-zoLZR3w8a5EVg.png" /><figcaption>Plot 1: Comparison Plot for Economic contribution and COVID prevalence</figcaption></figure><p>The red colour line shows the confirmed COVID-19 cases in each state with its corresponding scale in red on the right-hand side.</p><p>The bar plot is a measure of the economic contribution for each state with its corresponding scale on the left-hand side.</p><h3><strong>Further More:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*NF3bGgxnexlXXifq6yAxfA.png" /></figure><p>Another spatial analysis was conducted for the state of Maharashtra wherein district wise confirmed, active, recovered and the deceased dataset was acquired from <a href="https://api.covid19india.org/"><strong>https://api.covid19india.org/</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*taG9qsZcnkbT7g-oqP_qmw.png" /><figcaption>Table 4: Maharashtra district wise dataframe</figcaption></figure><p>Using Matplotlib library, a choropleth map was plotted on a shapefile of Maharashtra for all these categories for all the cases reported until mid-June. This analysis was done in order to gain an insight into the district wise spread of this virus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CVGpSrme-kGr93XucM8hvA.png" /><figcaption>Choropleth Maps for Maharashtra(district wise)</figcaption></figure><p>The following maps make it evident that the virus has been most prevalent in Mumbai and adjoining districts, with the other districts being less affected than the hotspot.</p><h3><strong>Limitations</strong></h3><p>Every analysis has a few limitations and may be explored further.</p><ol><li>The data for the state of Ladakh was merged with the data of Jammu and Kashmir due to the absence of the geometry of Ladakh in the shapefile.</li><li>The RBI dataset for the Net State Value Added shows the values for the year of 2017–2018. The latest dataset wasn’t considered because of the greater number of missing values.</li><li>The data for the district of Palghar in Maharashtra was merged into the Thane district due to the absence of geometry of Palghar in the shapefile.</li><li>The greyish extensions in the maps are due to some coordinates missing in the shapefile used in the analysis.</li></ol><h3>Conclusions and Findings</h3><p>Through this exploratory data analysis, the following inferences have been derived. the prevalence of COVID has increased in various clusters in states of Maharashtra, Tamil Nadu and Delhi being highly affected.</p><p>The greater the economic activities undertaken in a state, the greater the number of COVID-19 positive cases. Higher economic activity also means a higher population and a much more developed area which would mean more testing resulting in higher confirmed cases count.</p><p>The qualitative reasoning to the following inference would be that a greater economic activity means a greater inflow and outflow of migrants both domestic and international. Since travelling and contact with infected (asymptomatic or symptomatic) carriers are the major cause of the spread of the virus, thus, it validates the above findings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcd2cee5e9fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[String matching like a boss in Python]]></title>
            <link>https://medium.com/data-science-community-srm/string-matching-like-a-boss-in-python-a8a84b161e96?source=rss-d038b39fcee4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8a84b161e96</guid>
            <category><![CDATA[fuzzywuzzy]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[fuzzy-logic]]></category>
            <category><![CDATA[fuzzy-matching]]></category>
            <category><![CDATA[string-matching]]></category>
            <dc:creator><![CDATA[Vidushi Gupta]]></dc:creator>
            <pubDate>Thu, 16 Jul 2020 13:46:41 GMT</pubDate>
            <atom:updated>2020-07-16T13:46:41.890Z</atom:updated>
            <content:encoded><![CDATA[<h3>String matching like a boss</h3><h4>Hint: FuzzyWuzzy</h4><p>If you’ve been handling large datasets, you might have come across misspelt strings or strings with partial words referring to the same topic. Fuzzy string matching is the solution to such problems.</p><p>Usually, we would do the following for matching strings in python:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/0*PunTavGBO1NNuZpu" /><figcaption>Fig 1: String matching in Python</figcaption></figure><p>But, what about string matching for such strings?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/0*zGpdZeLTcYyrl7yE" /><figcaption>Fig 2: String matching in Python</figcaption></figure><p>Or this?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*Qde42CRr1-DNufrM0cpoXQ.png" /><figcaption>Fig 3: String matching in Python</figcaption></figure><p>This is where the <strong>FuzzyWuzzy</strong> library comes in handy for data analysis.</p><p>According to <strong>pypi.org</strong>,</p><blockquote>The FuzzyWuzzy library uses Levenshtein Distance to calculate the differences between sequences in a simple-to-use package.</blockquote><p>This library allows you to match strings according to a pattern also called the <strong>approximate string matching library.</strong></p><p>The Levenshtein distance measures the <strong>minimum</strong> number of edits that you need to do to change a one-word sequence into the other. (source:datacamp.com)</p><h3>Applications:</h3><p>Leading consultancies perform string matching using FuzzyWuzzy for a lot of data processes:</p><ol><li>Softwares with fuzzy string matching are used to find different accounts that place the order to the same address due to different styles of address entries or typos in the name (like Vidushi Gupta or Vidhushi G.). This helps the firms in realizing the <strong>concentration of their brand</strong> geographically thereby providing an idea of brand expansion.</li><li>Its quality of identifying reuse of text makes it helpful in identifying <strong>plagiarism</strong> texts and <strong>spam</strong> filtering.</li><li>Another simple application would be searching in search engines. They show the “<strong>showing results for _____</strong>” which checks for the typos and similar strings to get better-customized results.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*XU3r6iBySqmazZewuL7_Cw.png" /><figcaption>Fig 4: Application of Fuzzy logic in search engines</figcaption></figure><h3>Comparing two columns with FuzzyWuzzy:</h3><p>Firstly, we have to determine the appropriate fuzzy logic for our dataset by applying the functions to two strings of the same dataset.</p><p>Install fuzzywuzzy using</p><pre>!pip install fuzzywuzzy</pre><p>And then import the required package</p><pre>From fuzzywuzzy import fuzz</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*G3v_COiQ5n56ZGgWD52hmA.png" /><figcaption>Fig 5: Import fuzz</figcaption></figure><p>Now we use the 4 popular fuzzy logics on the two strings:</p><ol><li><strong>Fuzz.ratio</strong>: It matches using the pure Levenshtein Distance.</li><li><strong>Fuzz.partial_ratio:</strong> It matches using the best Match substrings.</li><li><strong>Fuzz.token_sort_ratio:</strong> It tokenizes the strings and sorts them alphabetically before matching.</li><li><strong>Fuzz.token_set_ratio:</strong> It tokenizes the strings and compares the intersection and the remainder.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/0*ojxIKYbA9LNAOyiN" /><figcaption>Fig 6:Fuzzy logics on two strings</figcaption></figure><p>The above code makes it clear that we should use a token set ratio as our fuzzy logic and apply it to the dataframe for analysis.</p><pre>df[‘ResultCol’] = df.apply(lambda x: yourFuzzyWuzzyFunction(x[‘col1’], x[‘Col2’]), axis=1)</pre><p>On the application of the above code, it would create a new column in the existing dataframe and give the percentage of matching on a comparison row-wise for both the columns. According to your desired threshold, you can filter out the top few entries and derive the conclusions.</p><p>Hence, FuzzyWuzzy is the go-to library for string matching in large datasets thereby easing the process. Not only does FuzzyWuzzy come handy for analysis in <strong>Python</strong>, but also in other languages like <strong>Java, C++, C#, R</strong>, etc.</p><p>Kudos! Happy fuzzing :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8a84b161e96" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science-community-srm/string-matching-like-a-boss-in-python-a8a84b161e96">String matching like a boss in Python</a> was originally published in <a href="https://medium.com/data-science-community-srm">DataX Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>