<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sunyeon Heo</title>
    <description>The latest articles on DEV Community by Sunyeon Heo (@maolrate).</description>
    <link>https://dev.to/maolrate</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267162%2Fe4c2ff97-dc62-430c-883e-189d2b776ff2.png</url>
      <title>DEV Community: Sunyeon Heo</title>
      <link>https://dev.to/maolrate</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maolrate"/>
    <language>en</language>
    <item>
      <title>Two people's YouTube subscriptions as a data source: what surprised me</title>
      <dc:creator>Sunyeon Heo</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:57:02 +0000</pubDate>
      <link>https://dev.to/maolrate/two-peoples-youtube-subscriptions-as-a-data-source-what-surprised-me-bdd</link>
      <guid>https://dev.to/maolrate/two-peoples-youtube-subscriptions-as-a-data-source-what-surprised-me-bdd</guid>
      <description>&lt;p&gt;I built a small tool that compares two people's YouTube taste, and I learned more from the data model than from the UI. It doesn't ask a quiz and it doesn't read a horoscope. It takes the channels you actually subscribe to and the videos you actually liked, and works out how much those two sets overlap.&lt;/p&gt;

&lt;p&gt;Here is what surprised me.&lt;/p&gt;

&lt;h2&gt;
  
  
  The subscription list is a much better signal than the liked list
&lt;/h2&gt;

&lt;p&gt;A subscription list is small and chosen on purpose. A liked-videos list is larger, noisier, and full of impulse clicks - a video someone half-watched while eating. When I weighted subscriptions above likes, results moved much closer to what people said "felt right" when I showed them the output. The liked list is still useful, but as a tiebreaker rather than as half the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Raw overlap is really a popularity score
&lt;/h2&gt;

&lt;p&gt;Counting shared channels without normalising means two people who both subscribe to a big music channel look compatible, and two people with genuinely similar niche taste look unrelated. The fix that helped most was weighting each shared channel by 1/log(subscriber count): a shared 4,000-subscriber channel says much more about two people than a shared 40M one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Jaccard similarity gives numbers that feel wrong
&lt;/h2&gt;

&lt;p&gt;Plain Jaccard on two subscription sets lands in the low teens even for people who clearly have the same taste, because set sizes differ and any one person's list is a small slice of YouTube. I ended up blending a weighted Jaccard with a cosine over the same channel vectors and mapping the result onto a range that behaves sensibly on screen. The percentage is cosmetic; the ranking between pairs is what has to be right.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparing inputs beats comparing recommendations
&lt;/h2&gt;

&lt;p&gt;Most "taste match" features compare outputs - your recommended feed. But a recommended feed is already blended with what the platform wants you to watch next, so comparisons converge: everyone who watched the same popular video ends up with overlapping recommendations. Comparing the input set keeps individual differences visible, which is the whole point.&lt;/p&gt;

&lt;h2&gt;
  
  
  The unglamorous wall is quota
&lt;/h2&gt;

&lt;p&gt;YouTube Data API v3 gives 10,000 units a day. subscriptions.list and videos.list are cheap per page but not free, and a comparison needs both users' lists plus channel metadata for whatever is shared. At a few dozen comparisons a day that is fine; the moment it isn't, caching saves you, not a better algorithm. Cache channel metadata by ID, snapshot a user's list when they ask for a comparison instead of polling it, and fetch metadata only for the intersection when you render.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy shapes the product more than the maths
&lt;/h2&gt;

&lt;p&gt;The only scope the app asks for is youtube.readonly. Whoever opens a comparison link sees the overlap and the score, not the other person's raw subscription list, because the list is the private part - it says more about someone than most profiles do.&lt;/p&gt;

&lt;p&gt;I'm curious how others handle the normalisation step, especially the channel-size weighting. Is log(subscribers) the right curve, or does average engagement per channel work better for you?&lt;/p&gt;

&lt;p&gt;If you want to see what the output looks like without signing in, there's a sample comparison of six preset pairs at &lt;a href="https://maolrate.com/en/demo/" rel="noopener noreferrer"&gt;https://maolrate.com/en/demo/&lt;/a&gt; (the first lands at 84.5%). It's my own project, so take the framing with the usual grain of salt - the method notes above are the part worth arguing with.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>api</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
