<?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 Diwangshukakoty on Medium]]></title>
        <description><![CDATA[Stories by Diwangshukakoty on Medium]]></description>
        <link>https://medium.com/@diwangshukakoty?source=rss-3a3157bcc03e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3WyfLW5_tE0JqmZI</url>
            <title>Stories by Diwangshukakoty on Medium</title>
            <link>https://medium.com/@diwangshukakoty?source=rss-3a3157bcc03e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 16:46:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diwangshukakoty/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[Contributed a New Feature to a FOSS Project!]]></title>
            <link>https://medium.com/@diwangshukakoty/contributed-a-new-feature-to-a-foss-project-6daf96cfbf6e?source=rss-3a3157bcc03e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6daf96cfbf6e</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[music]]></category>
            <dc:creator><![CDATA[Diwangshukakoty]]></dc:creator>
            <pubDate>Wed, 23 Apr 2025 19:21:24 GMT</pubDate>
            <atom:updated>2025-04-23T19:32:31.626Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I am Diwangshu Kakoty, a passionate software developer and a lifelong computer science student. I am a sophomore pursuing my Bachelor’s degree in Technology.</p><p>My interests lie in creativity and making something new that could benefit society, and through coding, I can achieve this. At the end of November 2024, when my sem exams were finally over, I wanted to try open-source contributions to learn more about real-world projects. How is software developed? How do developers work in a team? What are the coding practices that professionals use? I sought answers to these questions and found them when I joined Sugar Labs and its awesome community of developers.</p><p>Sometime ago, I had the opportunity to contribute to Music Blocks by implementing a new feature for adding lyrics through the phrase maker widget. For people who are not aware of Music Blocks, it is a visual programming and learning platform for children where music and code are blended. It helps kids develop logical thinking that is required for coding while teaching music simultaneously. This journey has been enriching, as it allowed me to deepen my understanding of coding practices, how to understand a codebase, and finally improve a tool that can inspire creativity.</p><p>Watch the demonstration video on my <a href="https://youtu.be/Mj-eAYyLSXg">YouTube</a> channel.</p><h4>Development Journey</h4><p>I am still contributing to SugarLabs/Music Blocks, and this project continues to be one of the most challenging. When I started, I was excited to dive into a new codebase that was written by experienced programmers.</p><ol><li>The first step was understanding how Music Blocks handles its blocks and interactions, which required me to carefully analyze the existing structure and logic. From there, I planned how the ‘print’ block is going to be added to the action block when it is generated. This part took some time, but it was easy.</li><li>The next step was to figure out how the phrase maker widget is going to know that it has a ‘<em>print</em>’ block in it. Thanks to Mr. Bender, he suggested looking into other blocks’ code. I followed his advice, and this problem was solved.</li><li>After that came the challenging part: to create a new row in the phrase maker widget. It was challenging because the existing implementation of the phrase maker was only for holding note values in cells by showing a ‘black’ background color. But we wanted to keep string values in cells, which will represent lyrics. I tried modifying existing functions for it, but then realized that this approach is a bit complex and would change their very definition. Therefore, I took a very simple and perhaps tangential approach. With this approach, the lyrics row is no more a part of ‘<em>rowLabels</em>’ — a list of all the rows of the matrix. And so no need to change existing functions whose purpose is to handle note values.</li><li>At last, I removed keyboard shortcuts when typing in the lyrics input box and other stuff so that it will behave like other rows.</li></ol><h4>Conclusion</h4><p>Overall, this was one of the brainstorming issues that I have worked on, and I enjoyed every moment of it. I feel that tackling this problem was a stepping stone to becoming an intermediate contributor, if not a pro, from a newbie.</p><p>I would also like to express my gratitude to the repository maintainers, Mr. Walter and Mr. Devin, for their ongoing guidance and patience. I look forward to learning even more from your invaluable support in the future.</p><p>I encourage everyone to check out this feature and <a href="https://musicblocks.sugarlabs.org/">Music Blocks</a> as a whole. It’s primarily designed for kids, but if you’re an adult, a programmer, a music enthusiast, or all of the above, you’ll likely enjoy it just as much as I do.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6daf96cfbf6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>