#metabrainz

/

      • spuniun has quit
      • 2021-02-24 05517, 2021

      • spuniun joined the channel
      • 2021-02-24 05533, 2021

      • BrainzGit
        [listenbrainz-server] mayhem opened pull request #1293 (add-mbid-mapping-to-labs-api…add-recording-search-to-labs-api): Add user facing recording search https://github.com/metabrainz/listenbrainz-server…
      • 2021-02-24 05507, 2021

      • ruaok
        phew. these two PRs have been on my mind for 2 months now. finally out!
      • 2021-02-24 05559, 2021

      • alastairp
        !m ruaok
      • 2021-02-24 05559, 2021

      • BrainzBot
        You're doing good work, ruaok!
      • 2021-02-24 05500, 2021

      • alastairp
        ruaok: just as a headsup, LB is currently in an undeployable state, yvanzo's last patch requires consul-template 0.18, which is coming in #1237, I hope that _lucifer and I can deploy this tomorrow
      • 2021-02-24 05541, 2021

      • _lucifer
        i am available currently also if we want to do it today :)
      • 2021-02-24 05542, 2021

      • ruaok
        ok, good to know. I don't think my PRs have a snowball's chance in texas to get approved before you two fix the LB codebase, so....
      • 2021-02-24 05506, 2021

      • alastairp
        _lucifer: I don't have any time today, but you can have a look if you want
      • 2021-02-24 05536, 2021

      • ruaok
        alastairp: is all the code ready to go, so I can help _lucifer with the release? I have some time left in my day.
      • 2021-02-24 05545, 2021

      • alastairp
        no, I don't think it's ready
      • 2021-02-24 05500, 2021

      • ruaok
        ok, then I'll leave you to it.
      • 2021-02-24 05518, 2021

      • alastairp
        I rebased 1237, but I didn't realise that your 1282 was a PR onto that branch, so now we've got major conflicts between the 2 PRs
      • 2021-02-24 05518, 2021

      • ruaok
        _lucifer: if you're idle for a moment, we can chat about the spark work I am proposing for next week
      • 2021-02-24 05527, 2021

      • alastairp
        it's going to take some git-fu to unwind it
      • 2021-02-24 05529, 2021

      • _lucifer
        ruaok: sure
      • 2021-02-24 05542, 2021

      • ruaok
        doh. I was really hoping to make it easier by making a branch off a branch.
      • 2021-02-24 05554, 2021

      • ruaok
        not a good idea or does it need more highlighting in the docs.
      • 2021-02-24 05505, 2021

      • ruaok
        BTW: I've done that same thing again, with my two PRs for today.
      • 2021-02-24 05535, 2021

      • ruaok
        "not a good idea or does it need more highlighting in the docs." +?
      • 2021-02-24 05547, 2021

      • alastairp
        yeah, I marked my PR as WIP (at least in the title), because the initial changes that I did were just experiments, so I had planned to rebase it until I had a good solution
      • 2021-02-24 05513, 2021

      • alastairp
        perhaps we could be clearer about this. I think it was right that you made your one base off of mine, but perhaps we should have merged it sooner
      • 2021-02-24 05540, 2021

      • ruaok
        let me leave a comment in the future to make this more clear.
      • 2021-02-24 05551, 2021

      • _lucifer
        if i understand correctly, we want to rebase 1282 over 1237?
      • 2021-02-24 05537, 2021

      • ruaok personally avoids rebasing these days.
      • 2021-02-24 05550, 2021

      • ruaok
        merge master into my branch does what I mostly need.
      • 2021-02-24 05556, 2021

      • ruaok
        but that doesn't answer your question.
      • 2021-02-24 05558, 2021

      • ruaok
        :)
      • 2021-02-24 05501, 2021

      • ruaok
        _lucifer: 1282 was supposed to be merged into 1237 before reviewing 1237 and then merging both into master at the same time.
      • 2021-02-24 05547, 2021

      • ruaok
      • 2021-02-24 05510, 2021

      • ruaok
        the user similarity feature is what I think you and I should tackle next week
      • 2021-02-24 05543, 2021

      • ruaok
        the core of the feature is explained in "The actual calculation of the similarities is a statistical problem. Each user can be represented as a vector where the nth element of the vector is the number of times the user has listened to the nth artist. Once each user is represented as a vector, Spark provides an API to calculate the Correlation matrix for a list of vectors where matrix[i][j] = the correlation between the ith and jth
      • 2021-02-24 05543, 2021

      • ruaok
        element. "
      • 2021-02-24 05557, 2021

      • ruaok
        and that is clearly the right approach for this problem.
      • 2021-02-24 05534, 2021

      • _lucifer
        lol
      • 2021-02-24 05536, 2021

      • _lucifer
        do we want to allow users to see similiarity with another user or just show similiar users to them?
      • 2021-02-24 05501, 2021

      • iliekcomputers
        i would prefer A
      • 2021-02-24 05522, 2021

      • ruaok
        so that any user can see the similar user list for any other user?
      • 2021-02-24 05531, 2021

      • _lucifer
        yes
      • 2021-02-24 05539, 2021

      • _lucifer
        spark supports B out of the box
      • 2021-02-24 05544, 2021

      • ruaok
        we should allow that.
      • 2021-02-24 05553, 2021

      • iliekcomputers
        if i'm logged in and I go to ruaok's user page, i should see our "compatibility score"
      • 2021-02-24 05556, 2021

      • ruaok
        is that a function of spark or just showing the right data?
      • 2021-02-24 05519, 2021

      • iliekcomputers
        then we can show follower's compatibility and such along with most compatible users or something.
      • 2021-02-24 05500, 2021

      • ruaok
        do we need to calculate different data for the two approaches? I dont see that....
      • 2021-02-24 05502, 2021

      • yvanzo
        atj: No problem, can you please explain how you did resolve the issue so we can add it to a troubleshooting section for other macOS users?
      • 2021-02-24 05546, 2021

      • iliekcomputers
        ruaok: if you're just showing the user other similar user's, you can get away with just getting the similarity for the top X users.
      • 2021-02-24 05500, 2021

      • iliekcomputers
        but for A, you need the entire correlation matrix.
      • 2021-02-24 05546, 2021

      • ruaok
        ah, its the same algorithm, but the number of results we keep differs. is that right?
      • 2021-02-24 05541, 2021

      • _lucifer
        yes, A would allow seeing the similarity between any two users but B would only show between the top X similiar ones
      • 2021-02-24 05553, 2021

      • ruaok
        ok, that makes sense.
      • 2021-02-24 05504, 2021

      • ruaok
        but, that matrix will be VERY sparse.
      • 2021-02-24 05516, 2021

      • iliekcomputers
        yeah.
      • 2021-02-24 05522, 2021

      • ruaok
        and 90% of the users will relate to each other poorly which is useless info.
      • 2021-02-24 05505, 2021

      • ruaok
        which makes me think we should have a cut-off where don't keep the users. it doesn't scale otherwise.
      • 2021-02-24 05517, 2021

      • iliekcomputers
        so it really only matters on how we want to show the data to users.
      • 2021-02-24 05525, 2021

      • ruaok
        exactly.
      • 2021-02-24 05538, 2021

      • iliekcomputers
        if it's just compatability scores, i assume we can just do scales of 1 to 5 and get away with it
      • 2021-02-24 05551, 2021

      • BrainzGit
        [listenbrainz-server] shivam-kapila opened pull request #1294 (master…ws-rec_msid-fix): LB-821: Fix the position of recording_msid in WS messages https://github.com/metabrainz/listenbrainz-server…
      • 2021-02-24 05515, 2021

      • ruaok
        yeah, something like that.
      • 2021-02-24 05534, 2021

      • iliekcomputers
        so just store 2-5 for ranges, if the correlation is too low, just don't store it.
      • 2021-02-24 05509, 2021

      • ruaok
        I think a scale of 10 is better, but...
      • 2021-02-24 05525, 2021

      • ruaok
        "ohh, you're a perfect 10! 😍"
      • 2021-02-24 05553, 2021

      • _lucifer
        makes sense
      • 2021-02-24 05515, 2021

      • iliekcomputers
        sounds good.
      • 2021-02-24 05541, 2021

      • _lucifer
        also one correction, i had confused the B part with something else.
      • 2021-02-24 05550, 2021

      • _lucifer
        what spark supports out of the box is recommending a set of users for a given recording.
      • 2021-02-24 05511, 2021

      • ruaok
        ok, I need to get moving now.
      • 2021-02-24 05522, 2021

      • ruaok
        I'll keep working on this doc tomorrow, now that my PRs are out.
      • 2021-02-24 05522, 2021

      • Arlo has quit
      • 2021-02-24 05549, 2021

      • shivam-kapila
        We can use phrase like:
      • 2021-02-24 05549, 2021

      • shivam-kapila
        1. oh you share some music taste. Nice
      • 2021-02-24 05549, 2021

      • shivam-kapila
        2. You look like music buddies.
      • 2021-02-24 05549, 2021

      • shivam-kapila
        3. Damn. Are you sure you guys are not jamming twins!
      • 2021-02-24 05509, 2021

      • BrainzGit
        [musicbrainz-server] atj closed pull request #1932 (master…MBS-10312-fix): MBS-10312: Fix tracking parameter removal in Firefox 44 https://github.com/metabrainz/musicbrainz-server/…
      • 2021-02-24 05541, 2021

      • atj
        yvanzo: wasn't sure where to add it https://github.com/atj/musicbrainz-docker/commit/…
      • 2021-02-24 05538, 2021

      • reosarevok
        atj: you can edit the branch something points to, it might have been just fine :)
      • 2021-02-24 05519, 2021

      • reosarevok
        Anyway, did you manage to test in the end? if not, we can throw the patch on http://test.musicbrainz.org/ when you're ready :)
      • 2021-02-24 05505, 2021

      • atj
        reosarevok: it's turned into a bit of a nightmare :)
      • 2021-02-24 05542, 2021

      • atj
        I was previously tracking whether we made any changes to the url and if not returning the original string
      • 2021-02-24 05512, 2021

      • reosarevok
        Oh no :(
      • 2021-02-24 05523, 2021

      • atj
        however now we return url.href unconditionally, which has revealed that the URL object does weird things to unicode URLs etc.
      • 2021-02-24 05537, 2021

      • atj
        so it's actually revealed other bugs
      • 2021-02-24 05559, 2021

      • Mr_Monkey
        Eek, a fractalbug! The worst kind.
      • 2021-02-24 05542, 2021

      • travis-ci joined the channel
      • 2021-02-24 05542, 2021

      • travis-ci
        Project bookbrainz-site build #3657: passed in 6 min 5 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2021-02-24 05542, 2021

      • travis-ci has left the channel
      • 2021-02-24 05517, 2021

      • atj
      • 2021-02-24 05500, 2021

      • atj
        url.href returns the latter
      • 2021-02-24 05532, 2021

      • CatQuest
        ..so i t was punycode after all :P
      • 2021-02-24 05500, 2021

      • CatQuest
        heh. https://baike.baidu.com/item/%E5%95%8A%E5%91%80%E… automatically turns into https://baike.baidu.com/item/啊呀啦嗦 in the urlbox of the browser. but if I try copy pasting it from there again it's https://baike.baidu.com/item/%E5%95%8A%E5%91%80%E…
      • 2021-02-24 05500, 2021

      • Mr_Monkey
        Ugh.
      • 2021-02-24 05522, 2021

      • travis-ci joined the channel
      • 2021-02-24 05522, 2021

      • travis-ci
        Project bookbrainz-site build #3660: passed in 4 min 23 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2021-02-24 05522, 2021

      • travis-ci has left the channel
      • 2021-02-24 05553, 2021

      • sumedh has quit
      • 2021-02-24 05544, 2021

      • travis-ci joined the channel
      • 2021-02-24 05544, 2021

      • travis-ci
        Project bookbrainz-site build #3661: passed in 12 min 58 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2021-02-24 05544, 2021

      • travis-ci has left the channel
      • 2021-02-24 05521, 2021

      • chaban
        CatQuest: Set `browser.urlbar.decodeURLsOnCopy` to `true`
      • 2021-02-24 05510, 2021

      • chaban
        Oh wait, it seem that pref doesn't exist in old versions: https://bugzilla.mozilla.org/show_bug.cgi?id=1320…
      • 2021-02-24 05519, 2021

      • chaban
      • 2021-02-24 05505, 2021

      • atj
        reosarevok: I think the options are a) back out the change or b) fix some of the test URLs
      • 2021-02-24 05539, 2021

      • atj
      • 2021-02-24 05559, 2021

      • atj
        and it doesn't work, the URL is actually https://www.whosampled.com/Pet-Shop-Boys/Can-You-…
      • 2021-02-24 05540, 2021

      • CatQuest
        we should tell https://www.whosampled.com/about/ to use our updated logo :D
      • 2021-02-24 05501, 2021

      • BrainzGit
        [bookbrainz-site] MonkeyDo opened pull request #556 (master…snyk-fix-b36b5c206c21b7aa93f63d90135b1314): [Snyk] Security upgrade lodash from 4.17.20 to 4.17.21 https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2021-02-24 05508, 2021

      • travis-ci joined the channel
      • 2021-02-24 05508, 2021

      • travis-ci
        Project bookbrainz-site build #3664: passed in 4 min 33 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2021-02-24 05508, 2021

      • travis-ci has left the channel
      • 2021-02-24 05547, 2021

      • MajorLurker joined the channel
      • 2021-02-24 05504, 2021

      • MajorLurker has quit
      • 2021-02-24 05551, 2021

      • d4rkie joined the channel
      • 2021-02-24 05545, 2021

      • MajorLurker joined the channel
      • 2021-02-24 05550, 2021

      • Nyanko-sensei has quit
      • 2021-02-24 05553, 2021

      • MajorLurker has quit