<?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 Waishnav Deore on Medium]]></title>
        <description><![CDATA[Stories by Waishnav Deore on Medium]]></description>
        <link>https://medium.com/@waishnav?source=rss-67a79beabc0c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*D5FLpbG6uwSVhDKgRGAz-Q.jpeg</url>
            <title>Stories by Waishnav Deore on Medium</title>
            <link>https://medium.com/@waishnav?source=rss-67a79beabc0c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 20:33:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@waishnav/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[Week 11–12 of GSoC @CircuitVerse]]></title>
            <link>https://medium.com/@waishnav/week-11-12-of-gsoc-circuitverse-33880348e508?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/33880348e508</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[gsoc2024]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 10:35:41 GMT</pubDate>
            <atom:updated>2024-08-24T10:35:56.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*2IKZ49Y2-xGPE51dFHG2Vw.png" /></figure><p>It’s been really great journey so far. As you might know, implementation part of my project was already done, only thing remaining thing was testing.</p><p>In these two weeks, I worked on writing tests for my previous PRs.</p><p><a href="https://github.com/CircuitVerse/simple_discussion/pull/25">https://github.com/CircuitVerse/simple_discussion/pull/25</a><br><a href="https://github.com/CircuitVerse/simple_discussion/pull/28">https://github.com/CircuitVerse/simple_discussion/pull/28</a><br><a href="https://github.com/CircuitVerse/simple_discussion/pull/32">https://github.com/CircuitVerse/simple_discussion/pull/32</a></p><p>These test were mostly integration test. After talking with Aboobacker (Mentor), since only two weeks were remaining we skip the idea of unit testing. We are not entirely skipping it but I will be adding those tests after GSoC.</p><p>Also, there were some UI changes in the <a href="https://github.com/CircuitVerse/simple_discussion/pull/32">forum leaderboard PR</a>.</p><p>Initially I design and implemented this page by taking <a href="https://gorails.com/forum/leaderboard">gorails leaderboard page</a> as inspiration. Now Nitin is helping me out with the design of this page.</p><p>Once design is ready, I’ll be making those UI changes in that PR.</p><p>Lastly, thanks for reading this so far. If you wanna talk with me let’s have it on <a href="https://x.com/wshxnv">twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33880348e508" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 9–10 GSoC Report | Leaderboard ranking feature]]></title>
            <link>https://medium.com/@waishnav/week-9-10-gsoc-report-leaderboard-ranking-feature-7c9067eb01e4?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c9067eb01e4</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[gsoc24]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Sun, 11 Aug 2024 10:41:38 GMT</pubDate>
            <atom:updated>2024-08-11T10:41:38.665Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*7pUgXeat4Xg5jxFv.png" /></figure><p>As we move into the second phase of GSoC, the contribution period is nearing its end with just two weeks left. I’m currently focused on implementing the final feature for my project: a leaderboard ranking system for forum users.</p><h4>Why a Leaderboard Feature?</h4><p>From the CircuitVerse community’s perspective, a leaderboard is a crucial addition. It helps build user credibility by displaying rankings based on their contributions. Our forum serves as a hub for discussing users’ circuits, addressing queries, and solving problems encountered while using the CircuitVerse Simulator. A leaderboard can motivate users to engage more actively and contribute valuable content, enhancing the overall experience.</p><h4>Implementation Strategy</h4><p>Given the simplicity of our requirements, the leaderboard rewards users with points for specific actions:</p><ul><li><strong>Creating a New Thread:</strong> Encouraging users to start discussions.</li><li><strong>Posting Solutions:</strong> Incentivizing helpful responses.</li><li><strong>Engaging with the Community:</strong> Promoting active participation.</li></ul><p>To maintain the quality of content, we also need to deduct points from users who post spam or unrelated content.</p><p>The initial database structure for this feature is straightforward. We introduce a new table to store user points, with the following columns:</p><ul><li>userId — Reference ID of the user.</li><li>points — The total number of points.</li></ul><p>To display the leaderboard, we simply query this table and order the results in descending order based on points.</p><h4>Avoiding Over-Engineering</h4><p>Initially, I was concerned that not storing ranks explicitly and relying solely on ordering by points might become a performance bottleneck. However, after discussing with my mentors, I learned an important lesson: <strong>“Don’t over-engineer things until necessary.”</strong> We decided that there was no need to store and update ranks with every forum interaction, as the current approach was efficient for our needs.</p><p>This experience taught me the value of simplicity in design and implementation.</p><p>Here’s a final screenshot of the leaderboard page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wFmmrDPccITDJc-p8QaOw.png" /></figure><p>And here is the PR you can checkout to know more about implementation.<br><a href="https://github.com/CircuitVerse/simple_discussion/pull/32">https://github.com/CircuitVerse/simple_discussion/pull/32</a></p><h4>What Next in the two weeks?</h4><p>Most of the implementation for my project is now complete, but I still need to write integration tests for my previous PRs. Over the next two weeks, I’ll be merging all the previous PRs and ensuring they are covered by comprehensive integration tests.</p><p>Thanks for reading this so far. If you wanna talk with me let’s have it on <a href="https://x.com/wshxnv">twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c9067eb01e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7 & 8 — GSoC report | Markdown Editor and Topic Search]]></title>
            <link>https://medium.com/@waishnav/week-7-8-gsoc-report-markdown-editor-and-topic-search-447803c514f7?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/447803c514f7</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[circuitverse]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Mon, 29 Jul 2024 07:38:10 GMT</pubDate>
            <atom:updated>2024-07-29T07:38:10.556Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 7 &amp; 8 — GSoC report | Markdown Editor and Topic Search</h3><p>Over the past two weeks, I’ve been focused on enhancing the markdown editor by adding more buttons to the toolbar and implementing a topic search feature for the forum. Here’s a detailed overview of the progress made:</p><h3>Week 7</h3><p>PR: <a href="https://github.com/CircuitVerse/simple_discussion/pull/27">https://github.com/CircuitVerse/simple_discussion/pull/27</a></p><p>This PR introduces three new buttons to the toolbar of the Markdown editor. These buttons are responsible for functionality of <em>embedding circuit</em>, <em>embedding video</em> and <em>tagging user </em>respectively.</p><p>To achieve this, we extended the markdown syntax for both client-side preview and server-side post rendering. For the client side, we used the marked library and some regex to extend the markdown syntax, while for the server side, we utilized the redcarpet gem.</p><pre>- [@(name)](link_to_user_profile)<br>- ![Video](youtube_link)<br>- ![Circuit](circuit_embeded_link)</pre><p><strong>Final Results:</strong></p><figure><img alt="Embed CircuitVerse Circuit iframe in markdown" src="https://cdn-images-1.medium.com/max/630/0*AaPsKbcrZyW6kG3J" /></figure><figure><img alt="Embed video modal" src="https://cdn-images-1.medium.com/max/634/1*0K5Yw5oMIM4zsNlSwd41cQ.png" /></figure><figure><img alt="tagging user in markdown editor" src="https://cdn-images-1.medium.com/max/605/0*g_tGd4dpaY52ZLP-" /></figure><h3>Week 8</h3><p>PR: <a href="https://github.com/CircuitVerse/simple_discussion/pull/28">https://github.com/CircuitVerse/simple_discussion/pull/28</a></p><p>This PR is currently in draft status as the implementation details are still being finalized. I was unable to meet with my project mentor, Aboobacker, last week, so we haven’t discussed it yet.</p><p>This feature is crucial to prevent users from filling our forum with similar questions and queries, as it will enable them to search across all forum threads. However, we don’t need highly advanced search indexing like ElasticSearch. After researching, we decided to use PostgreSQL’s full-text search capabilities.</p><p>Using the pg_search gem, the implementation is straightforward. The steps include:</p><ul><li>Adding a new column in the forum_thread table to store tsvector</li><li>Implementing a search method on the model to allow access like ForumThread.topic_search</li></ul><p>The challenge with this approach is that we are unsure if the host Rails application will use PostgreSQL, SQLite, or another database. To address this, I created two implementations of the topic_search method: one for Rails applications using PostgreSQL and another for databases like SQLite or MySQL.</p><p><strong>Final Results:</strong> You can see in the image below, the basic search functionality for the forum thread is now working as intended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6wBCwiYdGWTXkgwQeOKVqw.png" /></figure><p>Finally, Thanks for reading this so far and have good day. If you have any question or anything wants to share ping me on <a href="https://x.com/wshxnv">twitter</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=447803c514f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 5–6 GSoC report]]></title>
            <link>https://medium.com/@waishnav/week-5-6-gsoc-report-68ac34e8101d?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/68ac34e8101d</guid>
            <category><![CDATA[gsoc]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Sun, 28 Jul 2024 21:09:28 GMT</pubDate>
            <atom:updated>2024-07-28T21:09:28.283Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*05eIcK0kSbjYZmaq.png" /></figure><p>Due to illness, I had to slightly adjust my timeline after consulting with Tanmoy. We reorganized the project board, shifting the Slack integration task to week 5 and the basic Markdown editor implementation to week 6. This flexibility allowed me to maintain productivity while managing my health.</p><h3>Week 5</h3><p>PR: <a href="https://github.com/CircuitVerse/CircuitVerse/pull/5005">https://github.com/CircuitVerse/CircuitVerse/pull/5005</a></p><p>Our primary channel for formal communication is Slack, where users can discuss issues related to our simulator. Each contributor is also active on Slack. Therefore, it’s important to implement Slack integration so that whenever a new thread is created on the forum, the Slack community is notified.</p><p>Following Slack’s <a href="https://api.slack.com/messaging/webhooks">official guide</a> and the <a href="https://github.com/excid3/noticed/tree/v1.6.0">Noticed gem</a> documentation, I made some modifications to get the webhook working. Essentially, Slack provides a webhook to post messages to a specified pre-defined channel.</p><p>Steps for it were as below:<br>1. Generate webhook url for specific channel<br>2. POST request to webhook url for new message</p><h4>Final result:</h4><p>New forum Thread now trigger automatic notifications in our Slack channel, keeping our community informed and engaged.</p><p><a href="https://blog.circuitverse.org/images/waishnav_deore/slack-notification.mp4">https://blog.circuitverse.org/images/waishnav_deore/slack-notification.mp4</a></p><h3>Week 6</h3><p>PR: <a href="https://github.com/CircuitVerse/simple_discussion/pull/26">https://github.com/CircuitVerse/simple_discussion/pull/26</a></p><p>In Week 6, I started feeling better and recovered from my sickness. I was happy to take on a challenging task, especially since the previous week was relatively relaxed. I decided to work on the Markdown Editor feature, which involves a lot of complexity.</p><p>First, let me explain what this feature entails.</p><p>For drafting forum posts, it’s important to provide a UI for adding headings, links, circuits, videos, etc. This enhances the overall message drafting experience. There are several libraries that offer markdown editors with the ability to extend functionalities. We chose simplemde, which is based on the open-source project codemirror.</p><p>So, adding a simple markdown editor using this library is straightforward, right? Yes, it solves most of our problems. However, we plan to extend the markdown syntax by adding toolbar buttons for tagging users, embedding circuits, embedding YouTube videos, and more. Therefore, choosing the right library is crucial. Fortunately, after reviewing the documentation for simplemde, it meets our needs perfectly.</p><h4>Final result:</h4><p><strong>Client Side markdown Editor</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*sYev0G2w7kwzUcTH3KvurQ.png" /></figure><p><strong>Server Side rendered forum post</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*-xlt1vtx2OMQyPf3CZYZoQ.png" /></figure><p>Thanks for reading this so far and have good day. If you have any question or anything wants to share ping me on <a href="https://x.com/wshxnv">twitter</a>!</p><p>Thanks for reading this so far and have good day. If you have any question or anything wants to share ping me on <a href="https://x.com/wshxnv">twitter</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68ac34e8101d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moderation Tools and Spam Reports | Week 3–4 Report | GSoC’24 CircuitVerse]]></title>
            <link>https://medium.com/@waishnav/moderation-tools-and-spam-reports-week-3-4-report-gsoc24-circuitverse-f0d214648bf3?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0d214648bf3</guid>
            <category><![CDATA[spam-filter]]></category>
            <category><![CDATA[gsoc24]]></category>
            <category><![CDATA[spam-detection]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[language-filter]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Tue, 25 Jun 2024 12:49:39 GMT</pubDate>
            <atom:updated>2024-06-25T12:49:39.701Z</atom:updated>
            <content:encoded><![CDATA[<p>These two weeks, my focus was on the fixing bugs and UI, adding new moderation tooland adding report as spam feature.</p><h4><strong>WeeK 3</strong></h4><p>I worked on the <a href="https://github.com/CircuitVerse/simple_discussion/pull/24">PR</a> , where I added the Language filters to let user know if they are posting absurd and inappropriate content in the community. I utilise the <a href="https://github.com/chrisvfritz/language_filter">LanguageFilter</a> gem for implementing this. The implementation was straight forward, but I learned a new thing while implementing it. During Proposal drafting period, I implemented this feature in the controller level but handling this validation in controller adds too many lines of code for such simple thingy.</p><p>Now in the PR, you can see validation is done through active records helper i.e usingvalidate</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*qQIAGLqKTQyCLBinj-GH_g.png" /></figure><p>Errors are attached with the record object. so in the view file of our form for adding new forum post or forum threads we can render the error messages.</p><p><strong>Final result:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ej9b6iEiESVmpINm" /></figure><p><strong>UI fixes: <br></strong>In the week 3, I also worked on improving UI and UX of forum. you can checkout following screenshots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a0NHEHEwOAZPdCcAHgfOsg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*072tYai23WERcvGZK8LCGg.png" /></figure><p>Dropdown action bar change was needed cause before, theseaction buttons were separated across the forum post card. <br>I also added Jump to Solution button for users to quickly read the solution instead of going through whole thread.</p><h4>WeeK 4</h4><p>This week was full of challenges cause I have to implement one of the major features which is <strong>Moderation tools with Spam reporting.</strong></p><p>You can checkout the week 4 <a href="https://github.com/CircuitVerse/simple_discussion/pull/25">PR</a> here for reference.<br>Before going forward let met tell you the brief of the implementation.<br>Currently database for forum is designed like this, there are 4 tables named <strong><em>forum_threads</em></strong>, <strong><em>forum_posts</em></strong>, <strong><em>forum_categories</em></strong>, <strong><em>forum_subscription.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8P6Uo73ZKwhLggHxGwGigQ.png" /></figure><p>so you might have wondering why there is no forum thread body field right? well answer is for each forum thread, first forum post is its body, so we don’t need another field in this table.</p><p>Well then, for designing the db for spam reports, we got to have another table right? Well yes you can look below and get the understanding of gist of implementation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bft3Yez1ZxUTsH7QVEX7uQ.png" /></figure><p>Action record is very good ORM, which has supports for feature like enums, these enums let us saves the space in db and letting us define the map of the values in runtime in our backend rails app. But it comes up with tradeoffs that we can’t changes this enum object very often cause it directly reflects the meaning of previously filled reason in the db. But our usecase was not to change this often so it fits perfectly for such case.</p><p>If there would have no enums, I had gone with the option to store the reasons in another table and have reference this reason in spam_reports table.</p><p>Later on implementation was farely simple as it involved only few CRUD routes for reporting and viewing the spam reports in moderator’s dashboard.</p><p><strong>Final Results:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/0*Ix8I9B-6n1Jq5yiM" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TnJ40fxIZEZxNtTt" /></figure><p>Finally, Thanks for reading this so far and have good day 😃 If you have any question or anything wants to share ping me on <a href="https://x.com/wshxnv">twitter</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0d214648bf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 1–2 Report | GSoC’24 CircuitVerse]]></title>
            <link>https://medium.com/@waishnav/week-1-2-report-gsoc24-circuitverse-a686730276d7?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a686730276d7</guid>
            <category><![CDATA[gsoc24]]></category>
            <category><![CDATA[gsoc2024]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[rails-engine]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Fri, 14 Jun 2024 16:45:11 GMT</pubDate>
            <atom:updated>2024-06-14T16:48:21.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eU_y_ELIJd7IfHfA.png" /></figure><p>Alright!! Week 1–2 was pretty fun and interesting in a way I had to work on new stuff which I was not aware of few!</p><p>This two weeks was for setting up the project i.e setting up development environment and testing environment so that I can have good DX while working on this project!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PEQey_eMVQVLJprYo5M57Q.png" /></figure><h3><strong>LSP Setup:</strong></h3><p>In this two weeks, I worked on two PRs, which leading me to understand the benifits of LSP — Language Server Protocal setup in your text editor i.e NeoVim, VSCode etc</p><p>Ruby is dynamically typed language, so there are two major option for ruby development:</p><ol><li>RubyLSP — developed and maintain by Spotify</li><li>Solargraph — maintained by open source community</li></ol><p>I initially setuped with Solargraph, but after talking to my project mentor Aboobacker, he suggested RubyLSP since it will be getting part of rails in future and it is being actively developed by shopify team.</p><p>Also Solargraph has extra support for Yard Docs, if I had gone with this option then I had to write documentation of the each class and module obeve it, so that editor will know about it through LSP.</p><p>Even though, I read few cotoomments on stackoverflow and github about solargraph not being accurate for go to defination</p><h3><strong>Test Environment and CI fails:</strong></h3><p>So while working on writing gem, it is very important for testing it against the environment where it is being used in production. In our case, gem is rails engine, So we have to test it against different Rails version.</p><p>Currently in the simple_discussion gem, Appraisal is being used to perform such test, these test are very important since it help us understand where the gem might fail.</p><p>Initially I underestimated this task, since it was fairly simple — just to add new rails 7 in Appraisal file for testing. As I started working on it. Test were failing, reason being in rails 7, sprocket-rails which manage assets, is added as separate package, before it was included in the rails itself.</p><p>Later on I test it for previous old rails version i.e rails 6 and 5.2 which were included in Appraisal file before, test were failing. I panicked and tried solving those error overnight one by one. Most of the error was coming from ruby version of required gems from gemfiles not matched with my local ruby version. So I had to switch to different ruby version to make test working. I switched to ruby 2.7 and 3.0.3 and 3.1.4</p><p>Errors were coming from nakogiri, psych , sqlite3 with mismatched ruby version and their dependencies.</p><p>I solved most of them with the help of my mentor Tanmoy. But this all debugging session with myself as well as Tanmoy was unnecesarry. Cause those rails version i.e 5.2 and 6 is not even currently supported and maintained by rails team.</p><p>So after talking with Aboobacker, I removed old rails version tests from Appraisal file.</p><p>Followed, CI tests were also failing since for old rails version so I removed them.</p><p>These two week were fun with lots of time me being infront of my laptop, debugging through those tests fail error messages, tracing each and every error and searching across internet and reading through comments and reading through gemspec file of each gems we have! It was fun and learnt a lot of stuffs.</p><p>Upcoming week will be about implementable of Spam detection and Language filters to avoid hateful, abusive language in forum posts. <br>Thanks for reading this so far! And stay tuned for upcoming blogs of my GSoC journey 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a686730276d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Community Bonding Period- GSoC’24 at CircuitVerse]]></title>
            <link>https://medium.com/@waishnav/community-bonding-period-gsoc24-at-circuitverse-22fc4f7c96cb?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/22fc4f7c96cb</guid>
            <category><![CDATA[project-development]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[gsoc2024]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Fri, 31 May 2024 10:41:47 GMT</pubDate>
            <atom:updated>2024-05-31T10:41:47.931Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8UWPtAsUzNvZnUtuRBvkMQ.png" /></figure><h3>What is Community Bonding Period?</h3><p>Hello readers, I’m Vaishnav, recently got selected for project at CircuitVerse for Google Summer of Code 2024. The Community Bonding Period is spans of several weeks leading up to the official start of coding in GSoC.<br>In this blog, I’ll sharing some bits around my experience during this period.</p><h3>How did I spend it?</h3><p>It started with Google’s official meet and soon after CircuitVerse official introductory meet. In this meet, <a href="https://github.com/vedant-jain03">Vedant</a> introduced himself and shared his experience of becoming Org Admin from being contributor. Later in the meet every mentor, <a href="https://github.com/tanmoysrt">Tanmoy</a>, <a href="https://github.com/VaibhavUpreti">Vaibhav</a> and <a href="https://github.com/Prerna-0202">Prerna</a> shared their own pat year GSoC experience how their skills grew cause of CV community. For me it was truly an inspiring moment, and this was the time I got to know a lot about my mentor. Due to this meet I’m got more hype up about my project since CV culture is so friendly and professional.</p><p>Later on we had weekly meets, where we had discussion not only around project but also around software development in general. In the second week, I had very good conversation with <a href="https://github.com/tanmoysrt">Tanmoy</a> amd he shared his internship experiences at Frappe. He shared helpful insights on approaching a career in software engineering. Also we had all sorts of chats around India colleges and his UG experience.</p><p>We also conducted some unofficial meets just among us (GSoC mentee) and discussed each other projects helped each other figure out few workarounds.</p><p>One week prior to the start of coding period I had a detailed call with my mentor <a href="https://github.com/tachyons">Aboobacker</a> and <a href="https://github.com/tanmoysrt">Tanmoy</a>, we had a discussion about the timeline of my project and the order of tasks. My proposed timeline was little bit tweak with their feedbacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bhpcRN4Fq5BcqGw30_KNwg.png" /><figcaption>Finalize project board</figcaption></figure><h3>Conclusion</h3><p>This is first blog me sharing my GSoC experience, honestly speaking I’m very excited for upcoming contribution period. So stay tuned for upcoming weekly blogs. I’ll be discussing project more in depth in upcoming weeks. Thanks for reading so far!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22fc4f7c96cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MonitorMe.io Freelance Experience]]></title>
            <link>https://medium.com/@waishnav/monitorme-io-freelance-experience-b16a76c25c38?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b16a76c25c38</guid>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[freelance]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Fri, 19 Apr 2024 11:28:54 GMT</pubDate>
            <atom:updated>2024-04-19T12:28:44.365Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e2PW-GoDgZcpgCB7H8bQ7g.png" /></figure><h3>Introduction</h3><p>As this month marks the upcoming launch of the entire product, I’ll soon be bidding farewell to the MonitorMe.io team. With that in mind, I figured, why not document the entire experience and journey, detailing each step of my work as a frontend developer?</p><p>So, grab yourself a cup of coffee, settle in, and enjoy the read! 😊</p><h3>Beginning</h3><p>In early September 2023, my friend <a href="https://www.linkedin.com/in/chinmay-r-joshi/">Chinmay</a> told me about a opportunity to work at <a href="https://monitorme.io/">MonitorMe.io</a> and recommended me as a frontend freelancer to join the project. I’m really thankful to him and <a href="https://www.linkedin.com/in/ghoshbishakh/">Bishakh Gosh</a> —Co-Founder of Pinggy.io as they helped me getting this opportunity.</p><p>My journey with the team began on September 15th. On the very first day, the Shuvam and Abhishek walked me through the product’s idea and vision. Understanding this was crucial for me to design UI and experiences that aligned perfectly with their vision. They were incredibly helpful in explaining the product and delving into the nitty-gritty details of the market’s existing competition.</p><p>I quickly learned that in the Uptime Monitoring and Synthetic Monitoring market, UI and UX often take a backseat. Recognizing this, we aimed to prioritize improving the user experience for our MVP. So, throughout the first week, I sketched out basic designs for each frontend route, laying the groundwork for the months to come.</p><blockquote>MonitorMe is the platform where business can track their mirco-services, monolith web applications, and host their public status pages.</blockquote><h3>Tech stack and Languages</h3><p>Our frontend stack is Nextjs and to pace up the process of writing the UI, we choose Mantine UI library — a perfect abstraction of UI components which you need to build B2B or B2C web applications.</p><p>While deciding between TypeScript and JavaScript, Abhishek granted me the freedom to make the call, since I would be working on the frontend solo. After thorough research and consideration of the pros and cons of both options, I leaned towards TypeScript for its strong typing system. However, I also weighed the fact that our API endpoints’ responses were not yet fully defined and could change as we progressed with each feature.</p><p>Ultimately, I chose JavaScript over TypeScript to avoid type masterbation.</p><blockquote>Reflecting on that decision, I realize there wasn’t a clear winner between TypeScript and JavaScript. The only advantage TypeScript would have provided is a well-documented code base for our response data, which could have been beneficial for new developers joining the project.</blockquote><h3>Frontend is not only about UI</h3><h4>Long polling data with Redux:</h4><p>In the dashboard view, we stumbled upon an opportunity to display live data for each monitor created by the user. There are two possible ways for this implementation</p><p>1. using sockets <br> 2. long polling</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BXeVXR18NJ_YDpboV0r6GQ.png" /></figure><p>We settled on long polling for its simplicity and because we weren’t certain whether this feature would be a long-term necessity.</p><p>At first glance, this feature may seem straightforward — the frontend hits an endpoint to retrieve new data and renders the data again. However, I took it a step further. By predicting the timestamp of the next data point, which we can predict based on monitor’s heartbeat and the last data point received, I optimized our polling strategy. This allowed us to hit the endpoint right after a new data point is being created, enhancing the real-time nature of our data display.</p><p>Without delving into socket implementation, I successfully integrated live monitor data, enabling the rendering of each candle, as shown in the image.</p><p>Also I made good use of Redux to manage the global state corresponding to this live chart data of each monitor. This setup made frontend development much smoother by keeping the data layer separate from UI components and routes with single source of truth for data.</p><p>However, I have to admit, I wasn’t a big fan of the boilerplate code required to set up Redux in React using redux-toolkit. Nevertheless, the benefits it brings, like simplifying state management and ensuring consistency across the app, make it all worth it in the end.</p><h4>Public Static Status Pages:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j04t2_Es6FaQMcLCInKeWw.jpeg" /></figure><p>You’ve probably seen those branded status pages of companies, displaying the live status of their services — whether they’re up and running or facing issues, along with a history of past incidents. Since we can’t expose our API endpoint publicly so we can’t use client-side rendered status pages.</p><p>I came up with a solution using Next.js’s ISR (Incremental Static Regeneration) feature. It’s pretty cool — it helps us regenerate the page every 15–20 minutes and update the data/prop right on the server itself. This way, our status pages stay fresh without exposing any sensitive endpoints. Plus, as our status pages are static, we don’t need to make round trips to the database to render the page. This would have been the case if we have chosen the client side rendered page with exposing the endpoint publicly accessible.</p><h4>Live Charts:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*nxyO3PYNgvg_BDwE9jLD-g.gif" /></figure><p>As you can see in the GIF above, we’ve incorporated a live chart to display the candles and monitor latency. I opted for ApexChart due to its extensive customization options. Initially, I implemented this feature by referring to the documentation. However, a problem arose: every time a new data point was polled from the backend, the entire graph would rerender (each and every point). This was caused due to I had passed the global state as prop to the LiveChart component, since this state is getting mutate by long-polling mechanism and in action’s fulfilled callback, I had used shift operation on array of this live chart data. Since this operation causes array to remove the first index datapoint but with the cost of reindexing all other elements in the array. Due to this rendering of all points was happening in apex chart.</p><p>I solved this issue by managing a new local state within the LiveChart component itself. I updated this state by appending new data points and adjusted the view of the graph using the minand max range in the xaxis option provided by ApexChart. This way, whenever a new data point was polled, it was simply added to our local array, and the view was adjusted to display only the last 48 points.</p><h3>What I learnt?</h3><ul><li>Importance of communication — I always prefer to ask questions rather than be in doubt. It helped me make things clear early instead of overthinking.</li><li>Writing a composable and clean code — I learned that the code, especially for composables and components, should be written in a way that makes it reusable across products.</li><li>Importance of code review: Initially, Abhishek and Shuvam reviewed my frontend changes and provided some valuable feedback. One key point was to avoid using abbreviations in naming variables and functions. Instead of something like SpCandle, they suggested using StatusPageCandle for clarity. This ensures that even new developers can easily understand the code without needing to decipher abbreviations and context</li></ul><h3>What better could I have done?</h3><ul><li>Of course, seeing my code after a while, I always find few improvements that can be made.</li><li>Better communication across backend team</li><li>As this was my first gig, I was not much confident in the negotiation</li></ul><h3>Conclusion</h3><p>We built a really great product in the last few months and I’m really proud of the work and frontend code that I wrote for <a href="https://monitorme.io/">MonitorMe.io</a><br>MonitorMe is great project by Shuvam and Abhishek and both are really passionate to solve the monitoring and testing problem. Despite they are building this project alongside with their daily job, I never felt difference in their energy while in the daily sync up meet. Someday, I aspire to be a developer as dedicated and passionate as them! 😊</p><p>Thank you 🙏 for reading until now, I hope you enjoyed it.</p><p>If you want to connect with me find the link below:</p><p><a href="https://twitter.com/waishnav_deore">Twitter</a>.<br><a href="https://www.linkedin.com/in/waishnav-deore/">Linkedin</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b16a76c25c38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Got Opened to the World of Linux: My Journey to Ricing]]></title>
            <link>https://medium.com/@waishnav/how-i-got-opened-to-the-world-of-linux-my-journey-to-ricing-7f09a59c78e8?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f09a59c78e8</guid>
            <category><![CDATA[customization]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ricing]]></category>
            <category><![CDATA[arch-linux]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Mon, 16 Jan 2023 10:00:53 GMT</pubDate>
            <atom:updated>2024-04-19T12:35:17.114Z</atom:updated>
            <content:encoded><![CDATA[<h3>Linux Ricing : Why you should try Linux?</h3><blockquote>The Linux philosophy is ‘Laugh in the face of danger’. Oops. Wrong One. ‘Do it yourself’. <br> — Linus Torwald</blockquote><p>I never thought I would be writing a blog about my experience with Linux, but here I am. It all started before I went to college for undergrad and I was introduced to the concept of “ricing.” For those who don’t know, ricing is the process of customizing the appearance and hacking functionality of your operating system to make it look and feel more visually appealing or it could be to make it less UI bloaty but efficient. Or in other words, making your computer work the way you want it to be.</p><p>For context, I was always been a Windows user before this summer, but always intrigued by the idea of ricing so during summer break I decided to give Linux ricing a try. I started with Ubuntu, which is one of the most popular and user-friendly Linux distributions out there. At first, I was overwhelmed by the terminal and the command-line interface, but I quickly got the hang of it. Now I can finally say that I’m a terminal pro. To back this statement I use the following command to record the screen instead of GUI apps :)</p><p>`ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -c:v libx264 -c:a -preset medium -crf 23 -pix_fmt yuv420p lol.mp4`</p><p>Further as I explored more and more of what Linux offers, I discovered the world of customization. I started by tweaking my desktop with different themes and icons, but it soon evolved into more advanced customization such as creating my own scripts to automate tasks and creating my own window manager. I found the ricing communities on Reddit and Discord, specifically <a href="https://www.reddit.com/r/unixporn/">unixporn</a>, helped me a lot in learning and finding new ways to customize my setup.</p><p>I eventually settled on using Arch Linux as my distribution of choice, as it allowed me to have complete control over my system and tailor it to my exact needs. I also found the Arch Linux community to be very helpful and supportive, which made the transition to Linux even easier.</p><p>One of the major advantages of using a standalone window manager, rather than a desktop environment, is the increased performance and speed. Standalone window managers are lightweight and don’t come with unnecessary features, which allows for a more efficient use of system resources. This results in a snappier and more responsive system. Think of it like upgrading from a bicycle to a sports car.</p><p>I’ve been using Linux for a 6 months now and I can say that it has changed the way I think about computing. The ability to customize and tailor my system to my exact needs has made my experience so much more enjoyable. And the best part? Everything is open-source, meaning that I have the freedom to make changes and share my creations with others. It’s like a potluck, but instead of bringing food, we bring our custom scripts and themes.</p><p>If you’re curious about Linux and ricing, I highly recommend giving it a try. It may be intimidating at first, but the community is there to help and the sense of accomplishment you get from customizing your own system is worth it. Happy ricing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f09a59c78e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[KUNAL SHAH'S DELTA-4 THEORY EXPLAINED...]]></title>
            <link>https://medium.com/@waishnav/kunal-shahs-delta-4-theory-explained-dc2191dfd76c?source=rss-67a79beabc0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc2191dfd76c</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[banglore]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[startup-culture]]></category>
            <dc:creator><![CDATA[Waishnav Deore]]></dc:creator>
            <pubDate>Mon, 16 Jan 2023 08:08:18 GMT</pubDate>
            <atom:updated>2023-01-16T09:13:24.802Z</atom:updated>
            <content:encoded><![CDATA[<h3>Evaluate your startup idea using Delta 4 theory</h3><blockquote>Inefficiency is the largest employer of the world. Remove inefficiency too quickly with tech and you are setup for a major civil unrest.<br> — Kunal Shah</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sYpLKNj7UzUX0KRHM9OVOw.png" /></figure><h3>Context</h3><p>A year ago, I stumbled upon a theory that completely blew my mind. I became curious and delved deeper into it, researching every aspect of it. If you’re looking to evaluate your startup idea or any innovative idea based on its ability to go viral, then keep reading!</p><h3>Delta-4 theory</h3><p>Kunal explains, using the example of Truecaller, how they were able to acquire a large userbase without any marketing efforts and minimal customer acquisition costs. The product was unique and far more efficient than similar products in the market at the time (people used to rely on phonebooks to find other people’s numbers). When users find a product that is more efficient than what they were previously using, they naturally develop a bias towards it and tend to brag about it to their friends and family. For example, I first heard about Truecaller from my uncle who was raving about its usefulness. It felt like he was a Truecaller salesperson.</p><h3>In practice with some Examples</h3><p>Now, let’s dive deeper into the theory. When a product replaces an old behavior with a new behavior, if the Delta (Δ) between the two behaviors is greater than 4, then the product will spread through word of mouth. If the Delta is not greater than 4, then you will need to provide incentives to users to encourage them to adopt the new behavior. Note: Delta is calculated based on intuition and efficiency.</p><p>For example, before UPI apps, people used to rely on wallet apps such as PayTM, Mobikwik, or Freecharge to transfer money. These apps were not very efficient because users had to first add money to their wallets before they could make a transaction. But with UPI apps like Google pay or PhonePe, there is no extra step required to make a transaction. Note: UPI apps offered rewards as an incentive in the Indian market, where there was some hesitation about making money transfers online.</p><p>Another example would be buying t-shirts online vs offline. Most people would prefer offline shopping because they could try on the t-shirts before buying and avoid the hassle of returning them if they didn’t like them. To overcome this, startups like Myntra and AJIO provided incentives to users to make them more inclined towards online shopping. Once customers were hooked on the service, they stopped providing incentives.</p><h3>Conclusion</h3><p>In conclusion, this theory is incredibly useful across all domains when it comes to analyzing ideas based on efficiency and inefficiency. If you found this blog helpful, spread the word on Twitter and don’t forget to tag me. I would love to hear your thoughts and examples of how you’ve used this theory in your own projects. Let’s start a conversation and see how we can continue to improve and innovate together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc2191dfd76c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>