<?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 Samuel Villavicencio on Medium]]></title>
        <description><![CDATA[Stories by Samuel Villavicencio on Medium]]></description>
        <link>https://medium.com/@samuelrey010?source=rss-e9e5bf37b46c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*w0CZZf2N7dWJgs2d1GTb6w.jpeg</url>
            <title>Stories by Samuel Villavicencio on Medium</title>
            <link>https://medium.com/@samuelrey010?source=rss-e9e5bf37b46c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 13:37:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@samuelrey010/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[Open Source as a Relay Race]]></title>
            <link>https://samuelrey010.medium.com/open-source-as-a-relay-race-76c32fdeccc0?source=rss-e9e5bf37b46c------2</link>
            <guid isPermaLink="false">https://medium.com/p/76c32fdeccc0</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[spotify]]></category>
            <dc:creator><![CDATA[Samuel Villavicencio]]></dc:creator>
            <pubDate>Thu, 24 Jun 2021 22:29:23 GMT</pubDate>
            <atom:updated>2021-06-24T22:29:23.439Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Before the Whistle</strong></p><p>There are many open source projects which make up the building blocks for other projects to stand on. But what happens when those building blocks don’t support our needs? This is my experience realizing that a library I relied on didn’t have a feature I needed and how I dealt with the situation.</p><p>I was building a program to create collaborative playlists on Spotify. Their documentation recommended the <a href="https://github.com/zmb3/spotify">zmb3/spotify</a> so I pulled the library it into my project. I called the CreatePlaylistForUser function from the library, but my friends weren’t able to add tracks to the resulting playlist.</p><p>I turned to the Spotify API documentation and found that the endpoint to create playlists does accept a parameter to make playlists collaborative. It was the case that the library hadn’t yet made it possible to create collaborative playlists.</p><p><strong>My Leg of the Race</strong></p><p>I might have had luck finding another library or having the users of my program manually update the playlist. But it had also crossed my mind that maybe I could add that functionality.</p><p>The library was open source after all.</p><p>After I forked and cloned the repo, I was left to figure out what had to be done to get to my destination. My initial approach was to update the parameter list of the existing function — this kept me from adding duplicate code and more accurately reflected the Spotify API topology.</p><p>I submitted my additions in a pull request and received a comment from a maintainer later that day as an acknowledgement of the changes. After some thought, they asked that I write a separate function for creating collaborative playlists in order to avoid breaking other projects using the library.</p><p>After updating my changes, tests and comments, the maintainer accepted and merged my pull request. Now that I was unblocked, I updated my own project to use the new function.</p><p><strong>Over the Finish Line</strong></p><p>The nature of open source is to be adopted and adapted to fit our use case. The key takeaway of this experience for me was to trust that maintainers will be open to collaborating on improvements to their projects and that I have to skills to contribute to their projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76c32fdeccc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>