<?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 Abhay Garg on Medium]]></title>
        <description><![CDATA[Stories by Abhay Garg on Medium]]></description>
        <link>https://medium.com/@prayutsu?source=rss-f5b7bc799b60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jTVdJzjiPFGM15V8G8rtig.jpeg</url>
            <title>Stories by Abhay Garg on Medium</title>
            <link>https://medium.com/@prayutsu?source=rss-f5b7bc799b60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:50:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prayutsu/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[How to be a Google Summer of Code Student]]></title>
            <link>https://medium.com/@prayutsu/how-to-be-a-google-summer-of-code-student-4fcc43236ee6?source=rss-f5b7bc799b60------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fcc43236ee6</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[open-source-software]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[gsoc2021]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Abhay Garg]]></dc:creator>
            <pubDate>Mon, 30 Aug 2021 09:47:28 GMT</pubDate>
            <atom:updated>2021-12-03T15:29:22.496Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of the university students who study Computer Science aspire to participate in GSoC. There are already a lot of blogs and articles that talk about the perks of being a GSoC student, so in this blog, I am going to share how an average student like me got selected in GSoC and how you can also increase your chances of getting selected in GSoC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KgG-f4C7dYfZ1gCpuEwWrQ.jpeg" /></figure><p><strong>My Mentor Organization and Project</strong></p><p>I completed my GSoC project — Introducing Support for Copyright Licenses with <a href="https://medium.com/u/fb14e3d3f48e">Oppia</a>. Oppia is an online learning tool that enables anyone to easily create and share interactive activities (called ‘explorations’). These activities simulate a one-on-one conversation with a tutor, making it possible for students to learn by doing while getting feedback.</p><p>Oppia is one of the <a href="https://opensource.google/projects/oppia"><strong>open-source projects by Google</strong></a> so you can already anticipate how difficult it might be to complete a GSoC project here and how wonderful is the experience to contribute here.</p><p>My project was related to the Android application of Oppia where we needed to introduce the feature to attribute the third-party dependencies used to build the app and display their copyright licenses. It is a very common and important practice in Software Development and you can easily find it in most android applications, e.g, open Instagram on your Android device and go to <strong><em>Settings -&gt; About -&gt; Open Source Libraries. </em></strong>You will see a screen like this —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*Q8_kwDinFX-mbkxxTiZHpQ.jpeg" /></figure><p>Now Google already provides a <a href="https://developers.google.com/android/guides/opensource"><em>plugin</em></a> to implement this feature in Android apps but it is a Gradle-only plugin and we were migrating from Gradle to <a href="https://bazel.build/"><em>Bazel</em></a> so we could not use this plugin. Therefore in my project, we computed the list of dependencies with the help of the <a href="https://docs.bazel.build/versions/main/query-how-to.html"><em>Bazel query</em></a> and then looked up their license links in the POM files of the dependencies. You can read my work submission report <a href="https://medium.com/@prayutsu/google-summer-of-code-2021-oppia-7cb7588667ec"><em>here</em></a>.</p><h4>Steps To Be Followed</h4><p>The steps to be followed to increase your chances of getting selected remain the same that you might have already heard from every other GSoC student -</p><ol><li>Choose one or more organizations to contribute that have been coming for 2–3 years and have a project involving your favorite tech stack, e.g it was Android for me.</li><li>Be prepared to do a lot of reading, many projects already have very detailed <strong><em>How to Start Contributing</em></strong> guides and you should definitely read them in order to make it easy to contribute to the project.</li><li>Start contributing as early as possible, e.g I started contributing in August 2020.</li><li>Write a solid proposal when the applications are opened for the program (if you follow step 2, you would definitely write a stronger proposal than other candidates).</li></ol><p>You may face difficulty in step 2 because even if you are well familiar with the tech stack of the project you are trying to contribute to, there are chances that you’d find even the good-first issues very difficult to work on. So, if you aren’t able to understand the issues listed in the issue tracker of the project then do not worry, it is very normal and everybody is in the same position when they are trying to make their first open-source contributions. What you need to do is — read the README file of the project and find the link to their public chat group of the organization (like — Gitter, Slack, Zulip, etc) where you can ask your doubts from the maintainers.</p><p>Many projects also have a CONTRIBUTING.md file for first-time contributors where all the practices that the contributors need to follow are listed. You should definitely go through it to learn about the practices that are followed in the organization. You should also go through the wiki of the project (if there is one) as it contains much useful information about how to contribute to the project or set up the project.</p><p>So, I did the same when I was trying to contribute to Oppia, I went through the README file and read it thoroughly, it contained links to other several wiki pages of the project and I read them too. Before starting contributing, I had to sign the CLA (not all organizations ask you to sign CLA) and a contributor survey form. Following their wiki guide, I set up the project locally and asked for help in the Gitter channel on encountering errors. They had also linked a free 45-mins course for those who are trying to make their first open-source contribution. Many people skip this as they think that they already know enough about Git and Github and later face problems in creating PRs. I also recommend watching the same <a href="https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github"><strong><em>tutorial</em></strong></a> if you have never contributed to an open-source project.</p><p>Also, do not get afraid after seeing a large codebase, you don’t need to understand that completely. Nobody understands the codebase completely and it isn’t needed either. You just need to find out the files that are related to your issue.</p><p>One thing to note here is that this process takes time. For example, it can take a bunch of days even to set up the project locally as you can’t expect an instant reply from other contributors. There are contributors all around the globe and all have different time zones. Also, most of the developers rest on weekends, so if you ask for help on weekends, there might be some more delay in the reply. So you remain patient, especially in the initial delays. Remember open-source is not a one-day thing, it takes time.</p><p>After I set up the project successfully, I went through the good-first issues labeled issues and fortunately found a couple of very easy issues, I just needed to refactor a bunch of variable names, e.g — change ProfileActivity to AddProfileActivity. I created a PR to fix the issue and the reviewers suggested some things to be taken care of while and before making a PR —</p><ul><li>The title of the PR should match the style that is followed by the organization.</li><li>The issue that is fixed by the PR must be linked to the PR.</li><li>The branch name should be descriptive enough (and it should also follow the style as per the wiki).</li><li>Commit messages should be descriptive and meaningful.</li><li>Git hooks should never be bypassed (else the CI checks would fail).</li></ul><p>Don’t worry if you do not understand anything written above, it would take a bit of time and gradually you will automatically understand all these things. I am mentioning these things to make you believe that everyone makes mistakes and faces difficulty in the beginning. You just need to try and ask. Also, the PR review process is slow, it’s not like that the moment you ask the maintainers to review, you will get the review, so the patience rule applies here too.</p><h4>What to do when there are no starter issues or even the starter issues are too difficult?</h4><p>You should first try to search for the part that you don’t understand on the web. If you don’t get anything useful on the web ask for help by adding a comment below the issue itself or in the public channel of the organization. Remember while asking the question, you should always tell first what you tried and what part you don’t understand or where are you stuck. Ask other contributors directly to suggest some beginner-friendly issues if there are no good-first issue labeled issues. You can even ask if there are projects of the organization that has some beginner issues.</p><h4>What to Do Next?</h4><p>After fixing a couple of starter issues and learning about the contributing guidelines of the organization, you are now ready to take some harder issues. You may have to dig up a lot and you might need the help of the other contributors, so do not hesitate to ask, just tell them what you did understand and what you found out on the web, and about what part you do not have a clue. Your focus should entirely be on learning new things.</p><h4><strong>Writing A Strong Proposal</strong></h4><p>After you have made some contributions to a project, then you would have a natural advantage over other students and your proposal will likely be better than those who start contributing just before the application period. Start writing your proposal as soon as possible so that you can send it for review by the mentors. Ask questions and implement their suggestions in the proposal as only they are going to choose the best proposal after the application period is over.</p><h4>Waiting For Results</h4><p>After the application period is over, many students stop contributing as they wait for the results. You should continue contributing even after the application period as the motivation behind the program is to encourage students to contribute to open-source (not only during the GSoC period but even before and after the GSoC).</p><p>The final result may be positive or negative but you would learn a lot of new things even if you apply and give your best. Do not stop after the results, keep learning and keep contributing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fcc43236ee6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Summer Of Code 2021 Oppia]]></title>
            <link>https://medium.com/@prayutsu/google-summer-of-code-2021-oppia-7cb7588667ec?source=rss-f5b7bc799b60------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cb7588667ec</guid>
            <category><![CDATA[gsoc2021]]></category>
            <category><![CDATA[oppia]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Abhay Garg]]></dc:creator>
            <pubDate>Wed, 18 Aug 2021 09:39:50 GMT</pubDate>
            <atom:updated>2021-08-28T06:53:43.023Z</atom:updated>
            <content:encoded><![CDATA[<h3>Google Summer Of Code 2021 @<a href="https://medium.com/u/fb14e3d3f48e">Oppia</a></h3><figure><img alt="GSoC Logo" src="https://cdn-images-1.medium.com/max/1000/1*4FkOWgo5ou2OfJYrxrdZKw.png" /></figure><h3>Introducing Support for Displaying Copyright Licenses</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94AYbcZi30SX_xZXqd_0Mg.png" /></figure><p><strong>Introduction</strong></p><p>It’s important for software to properly attribute all dependencies on which it depends, and to display the specific copyright licenses for those dependencies. Beyond being the right thing to do, fulfilling this in a way that can scale across future dependencies can be difficult. In fact, Oppia Android already has nearly 100 transitive (direct + indirect) dependencies, each of which has its own license.</p><p>This project aims to introduce the necessary functionality to collect copyright licenses, build a UI (via the ‘Help’ menu) to display those licenses (similar to, and add CI checks to ensure future changes don’t break baseline expectations). Note that due to the difficulty of this problem, this project is being scoped down to a specific focus on Maven dependencies that we can more easily lookup. There will be additional work for the team to complete after this project is done to ensure <em>all</em> dependencies are being considered.</p><h3><strong>Goals</strong></h3><p><strong>Milestone 1</strong></p><ul><li>Introduce Maven artifacts pinning mechanism to generate a maven_install.json file.<br><strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3270"><strong>#3270</strong></a></li><li>Create a Kotlin Script that generates a list of third-party maven dependencies with the help of Bazel Query and the links to their copyright licenses that are used to build the Oppia Android app.<br><strong><em>Pull request:</em></strong><a href="https://github.com/oppia/oppia-android/pull/3434"> <strong>#3434</strong></a></li><li>Create another Kotlin script that scrapes the license texts for all the dependencies that are generated from the above script and writes them in a resource XML file so that it can be displayed in the actual UI.<br> <strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3450"><strong>#3450</strong></a></li></ul><p><strong>Milestone 2</strong></p><ul><li>Improve the error message of the exception thrown of the Dependencies list retriever script to call out the dependency names that need to be updated.<br><strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3503"><strong>#3503</strong></a></li><li>Set up a new UI to display the list of third-party maven dependencies and their copyright licenses via the Help menu.<br><strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3501"><strong>#3501</strong></a></li><li>Introduce a new Github Actions CI check that will be run on every PR that is to be merged into the main <em>develop</em> branch of the Oppia Android repository to ensure that the list of dependencies generated from the first Kotlin script is always up to date (it should not contain any redundant dependencies and it shouldn&#39;t miss any valid dependencies).<br><strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3520"><strong>#3520</strong></a></li><li>Introduce a new Github Actions CI check that will be run on every PR that is to be merged into the main <em>develop</em> branch of the Oppia Android repository to ensure that the license texts generated from the second Kotlin script never actually get checked into the codebase.<br><strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3632"><strong>#3632</strong></a></li><li>Add support for tablet devices to view the list of third-party dependencies and their licenses in split mode.<br><strong><em>Pull requests:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3671"><strong>#3671</strong></a><strong> and </strong><a href="https://github.com/oppia/oppia-android/pull/3680"><strong>#3680</strong></a></li><li>Correct typos in the scripts and fix the STRING_TOO_LONG error.<br><strong><em>Pull request:</em></strong> <a href="https://github.com/oppia/oppia-android/pull/3720"><strong>#3720</strong></a></li></ul><h3>Issues Closed</h3><ol><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3268"><strong>#3268</strong></a>: Introduce Pinning Artifacts Mechanism for Maven dependencies.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3284"><strong>#3284</strong></a>: Update Wiki to include instructions for updating Maven dependencies in the repository.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3285"><strong>#3285</strong></a>: Create a Kotlin script to generate the list of Maven dependencies, their versions, and license links.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3286"><strong>#3286</strong></a>: Update Wiki to include complete instructions for updating any Maven dependencies.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3287"><strong>#3287</strong></a>: Create a Kotlin script to extract the licenses for the Maven dependencies.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3486"><strong>#3486</strong></a>: Update GenerateMavenDependenciesList.kt to call out the first co-ordinate name that should be updated to update all occurrences of the license.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3495"><strong>#3495</strong></a>: Add support for displaying the list of dependencies in the app.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3496"><strong>#3496</strong></a>: Add support for displaying license texts for third-party dependencies.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3497"><strong>#3497</strong></a>: Implement Github CI check to verify the dependency list is always up-to-date.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3498"><strong>#3498</strong></a>: Add CI check to ensure that the actual license texts can’t be accidentally checked into Git.</li><li><strong><em>Issue </em></strong><a href="https://github.com/oppia/oppia-android/issues/3600"><strong>#3600</strong></a>: Hi-fi (Tablet) for displaying third-party dependencies and their license links.</li></ol><h3>Important Links</h3><ul><li><a href="https://github.com/oppia/oppia/wiki/pdfs/GSoC2021AbhayGarg.pdf">Proposal</a></li><li><a href="https://github.com/oppia/oppia/wiki/Google-Summer-of-Code-2021#introduce-support-for-displaying-copyright-licenses-in-the-app">Project Description</a></li><li><a href="https://github.com/oppia/oppia-android/projects/12">Github Project</a></li></ul><h3>Final Outcome</h3><ol><li>The developers contributing to the Oppia Android repository now need to take some additional steps<em> </em>following <a href="https://github.com/oppia/oppia-android/wiki/Updating-Maven-Dependencies"><em>this guide</em></a><em> </em>after updating any maven dependencies into the codebase.</li><li>The Oppia Android app now displays the list of third-party dependencies that are used to build it along with their license texts.</li></ol><p><strong>Some Screenshots of the newly added UI</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCF84_zc-y2a0QG732ZMpA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6q6acnFqcSikSqrKbIepHA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pZjOG1bdwjbZbvc68mCt0A.jpeg" /><figcaption>Phone Screens</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTXqRhVh4_aq5h23c3PzFw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P5_SOT3kaLShfGTvuBhS7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GM5r31Lu7S1SKX7osra3Jg.png" /><figcaption>Tablet Screens</figcaption></figure><h4>Future Work</h4><ol><li>The current implementation only supports displaying third-party maven dependencies, more work is to be done in the future to support displaying non-maven dependencies and their licenses.</li><li>Currently, if the license text is too long, we show the link to the license text in the app but we should display the license text wherever we can and thus some additional changes need to be done to ensure that the entire license text is displayed even if it is too long. <br><strong><em>Issue: </em></strong><a href="https://github.com/oppia/oppia-android/issues/3738"><strong><em>#3738</em></strong></a></li></ol><blockquote>If you’d like to know more about my project and its implementation, feel free to reach out to me on :<br>→ LinkedIn: <a href="https://www.linkedin.com/in/prayutsu/">@prayustu</a><br>→ Email: gargabhay2000@gmail.com<br>→ Twitter: <a href="https://twitter.com/prayutsu_">@prayutsu_</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cb7588667ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>