#metabrainz

/

      • d4rkie joined the channel
      • 2021-07-26 20706, 2021

      • kepstin_ joined the channel
      • 2021-07-26 20726, 2021

      • kepstin_ has quit
      • 2021-07-26 20735, 2021

      • d4rkie has quit
      • 2021-07-26 20725, 2021

      • Sophist_UK joined the channel
      • 2021-07-26 20740, 2021

      • Sophist-UK has quit
      • 2021-07-26 20754, 2021

      • d4rkie joined the channel
      • 2021-07-26 20724, 2021

      • akashgp09 joined the channel
      • 2021-07-26 20731, 2021

      • peterhil joined the channel
      • 2021-07-26 20722, 2021

      • Etua joined the channel
      • 2021-07-26 20756, 2021

      • ruaok
        moin moin!
      • 2021-07-26 20702, 2021

      • ruaok
        lucifer: that does sound quite promising.
      • 2021-07-26 20705, 2021

      • d4rkie has quit
      • 2021-07-26 20724, 2021

      • d4rkie joined the channel
      • 2021-07-26 20728, 2021

      • Etua has quit
      • 2021-07-26 20740, 2021

      • Etua joined the channel
      • 2021-07-26 20756, 2021

      • Etua has quit
      • 2021-07-26 20755, 2021

      • Freso
        https://listenbrainz.org/similar-users suggests that the two users listed have identical listening histories, but that doesn’t seem apparent from looking at their profiles, and also their MB profiles don’t seem to hint at them being the same person. Any chance someone with more direct access to the data can give them a look and give me some more insight in what is or might be going on?
      • 2021-07-26 20738, 2021

      • lucifer
        Freso: that page is currently bugged. i'll look into fixing it soon.
      • 2021-07-26 20750, 2021

      • Freso
        lucifer: 👍
      • 2021-07-26 20725, 2021

      • Freso
        lucifer: Is there a ticket I can watch? :)
      • 2021-07-26 20758, 2021

      • lucifer
        Freso: none that i know of. but i'll ping you once its fixed.
      • 2021-07-26 20753, 2021

      • lucifer
        ruaok: hi! as you can see from my later comments, it worked but showed another problem. to fix the issue completely we also need to offload the spark invocation to a different thread. i'll probably take the MBID mapping writer route for that.
      • 2021-07-26 20701, 2021

      • lucifer
        ruaok: alastairp: let me know when you have some time. need to discuss about artist credit id -> artist mbid in LB stats.
      • 2021-07-26 20731, 2021

      • ruaok
        I have a few mins. (On mobile)
      • 2021-07-26 20735, 2021

      • ruaok
        What is the q?
      • 2021-07-26 20752, 2021

      • ruaok
        I suspect that you need a mapping available in spark, yes?
      • 2021-07-26 20725, 2021

      • lucifer
        lb stats now return artist_credit_id and artist name, but frontend needs a artist mbid so we need to add a translation step somewhere
      • 2021-07-26 20738, 2021

      • ruaok
        That should be easy to create when you have an mb db connection
      • 2021-07-26 20700, 2021

      • lucifer
        yeah so doing on LB side is probably better.
      • 2021-07-26 20722, 2021

      • ruaok
        Look at the mb schema and perhaps get reosarevok to help you with this query, if it isn't obvious.
      • 2021-07-26 20749, 2021

      • lucifer
        when LB receives stats from spark, replace artist_credit_ids with artist_mbids, right?
      • 2021-07-26 20757, 2021

      • ruaok
        Then write the data to a pandas dataframe then parquet, then import.
      • 2021-07-26 20708, 2021

      • lucifer
        ah ok, understood
      • 2021-07-26 20727, 2021

      • ruaok
        A longer term solution night be to have them included in the mbid mapping.
      • 2021-07-26 20751, 2021

      • ruaok
        Export ac id and array[mbids]
      • 2021-07-26 20703, 2021

      • ruaok
        It would make the mapping dump a bit larger...
      • 2021-07-26 20723, 2021

      • lucifer
        makes sense
      • 2021-07-26 20757, 2021

      • lucifer
        we are going to need artist mbid almost always though, artist credit are not very useful to expose to users.
      • 2021-07-26 20712, 2021

      • lucifer
        *artisy credit ids are not
      • 2021-07-26 20704, 2021

      • lucifer
        thanks, i'll try the separate dump for now. we can look into the longer term solution later
      • 2021-07-26 20759, 2021

      • peterhil has quit
      • 2021-07-26 20722, 2021

      • lucifer
        yvanzo: hi! i am investigating some rabbitmq issues in LB. i see sir is having those too according to rabbitmq-clash logs. mentioning in case its relevant.
      • 2021-07-26 20752, 2021

      • lucifer
      • 2021-07-26 20758, 2021

      • lucifer
        looks like the original channel got closed and then it was opened again and tried to ack a message that the old channel received.
      • 2021-07-26 20719, 2021

      • peterhil joined the channel
      • 2021-07-26 20742, 2021

      • peterhil has quit
      • 2021-07-26 20726, 2021

      • peterhil joined the channel
      • 2021-07-26 20705, 2021

      • alastairp
      • 2021-07-26 20739, 2021

      • alastairp
        annoy fails to compile on the prod build action, I just tried it locally from scratch and it worked fine. Perhaps something related to a cached layer that's incorrect?
      • 2021-07-26 20708, 2021

      • lucifer
        possible or maybe something do with buildx?
      • 2021-07-26 20703, 2021

      • alastairp
      • 2021-07-26 20744, 2021

      • alastairp
        I need a way to check the version of gcc in the build container, I'll check
      • 2021-07-26 20732, 2021

      • alastairp
        but I've just had a thought - It could be something weird like the the build farm hardware advertising that it has a particular avx extension
      • 2021-07-26 20755, 2021

      • alastairp
        which could cause problems if we try and build on one architecture and then deploy on another :(
      • 2021-07-26 20715, 2021

      • lucifer
        yeah :/, we'll need to configure according to our machine's hardware
      • 2021-07-26 20739, 2021

      • alastairp
        they have a fix for it which I think will help for now - because we're compiling on a lower version of gcc it'll skip the extension, but this is definitely something to check and fix when we upgrade gcc
      • 2021-07-26 20740, 2021

      • alastairp
      • 2021-07-26 20755, 2021

      • alastairp
        actually, there we go. they used to have a specific -no-avx flag
      • 2021-07-26 20753, 2021

      • alastairp
        they have the issue reported already: https://github.com/spotify/annoy/issues/472
      • 2021-07-26 20716, 2021

      • alastairp
        looks like a flag to say "only use ssse3 even if you have avx512 available" would be good
      • 2021-07-26 20701, 2021

      • lucifer
        oh! nice.
      • 2021-07-26 20732, 2021

      • lucifer
        fwiw we have avx, avx2 and sse(%d) on clash
      • 2021-07-26 20700, 2021

      • alastairp
        correct. avx-512 is a new intel extension, looks like it won't be supported in AMD until the next generation: https://www.techpowerup.com/279129/amd-zen-4-micr…
      • 2021-07-26 20741, 2021

      • alastairp
      • 2021-07-26 20709, 2021

      • alastairp
        unfortunately, you can only say "disable vectorisation", you can't say "disable avx512 but use sse3"
      • 2021-07-26 20749, 2021

      • alastairp
        there is this gcc flag -mtune=native, but from reading the docs it's not clear to me if this means that it'll use sse3: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.ht…
      • 2021-07-26 20720, 2021

      • lucifer
        we can write a few simple .c files and print out the flags and test maybe?
      • 2021-07-26 20739, 2021

      • lucifer
        the -mtune will probably just define the relevant headres
      • 2021-07-26 20751, 2021

      • lucifer
        s/headrs/macros
      • 2021-07-26 20742, 2021

      • lucifer
        btw i had rerun the job and it built fine this time https://github.com/metabrainz/acousticbrainz-serv…
      • 2021-07-26 20751, 2021

      • alastairp
        OK, I just worked out what mtune=native does. it means "use all of the flags that are available on this specific build machine", which isn't what we want
      • 2021-07-26 20752, 2021

      • alastairp
      • 2021-07-26 20708, 2021

      • alastairp
        in newer versions of gcc there are zen flags that we can use
      • 2021-07-26 20727, 2021

      • lucifer
        nice.
      • 2021-07-26 20730, 2021

      • alastairp
        oh amazing... I guess you don't know which machine you're going to run on!
      • 2021-07-26 20709, 2021

      • alastairp
        let me open another PR to upgrade the version of annoy. at least we'll use the right extensions when using gcc 5. We can address it again when we upgrade to a new baseimage
      • 2021-07-26 20730, 2021

      • lucifer
        +1
      • 2021-07-26 20751, 2021

      • lucifer
        yeah it just says it can run on any of these processors https://docs.microsoft.com/en-in/azure/virtual-ma…
      • 2021-07-26 20725, 2021

      • peterhil has quit
      • 2021-07-26 20727, 2021

      • peterhil joined the channel
      • 2021-07-26 20757, 2021

      • lucifer
        alastairp: can you take a look at https://github.com/metabrainz/listenbrainz-server… next? i have been looking int orabbitmq and have quite a few discrepancies in how LB connects to rabbitmq.
      • 2021-07-26 20736, 2021

      • lucifer
        you can ignore the latest commits, i am trying to come up with a threading solution but haven't reached there yet.
      • 2021-07-26 20752, 2021

      • lucifer
        i have written down the issue i found in context of the request consumer but these issues exist elsewhere as well. in api, spark reader so on. i didn't check ts writer yet so don't know about that one.
      • 2021-07-26 20737, 2021

      • peterhil has quit
      • 2021-07-26 20705, 2021

      • peterhil joined the channel
      • 2021-07-26 20719, 2021

      • yvanzo
        hi lucifer: thanks, it's likely relevant, btw you would be very welcome to look at sir again after you are done with your current project.
      • 2021-07-26 20722, 2021

      • lucifer
        sure :D
      • 2021-07-26 20739, 2021

      • yvanzo
        yyoung: thanks, did not reply the other thread yet, will check your PR as well.
      • 2021-07-26 20756, 2021

      • BrainzGit joined the channel
      • 2021-07-26 20723, 2021

      • alastairp
        lucifer: sure, I'll look at it tomororw when I'm on LB tasks
      • 2021-07-26 20710, 2021

      • lucifer
        awesome, thanks!
      • 2021-07-26 20735, 2021

      • CatQuest
        ok yvanzo I'm here now
      • 2021-07-26 20744, 2021

      • BrainzGit
        [acousticbrainz-server] 14alastair merged pull request #409 (03master…annoy-valid-extensions): Upgrade annoy, force a CPU architecture to avoid unavailable extensions https://github.com/metabrainz/acousticbrainz-serv…
      • 2021-07-26 20709, 2021

      • lucifer
        alastairp: https://github.com/actions/runner/issues/1069, unless this changed in last couple of months. i am not sure how avx512 caused that build issue
      • 2021-07-26 20736, 2021

      • alastairp
        shrug. it was clearly the same issue reported in the annoy repo
      • 2021-07-26 20745, 2021

      • alastairp
        the solution I just merged seems to work fine though
      • 2021-07-26 20701, 2021

      • lucifer
        ah cool then.
      • 2021-07-26 20703, 2021

      • BrainzGit
        [acousticbrainz-server] 14alastair opened pull request #410 (03master…similarity-n-jobs): Specify number of threads to use when building annoy index https://github.com/metabrainz/acousticbrainz-serv…
      • 2021-07-26 20729, 2021

      • KassOtsimine has quit
      • 2021-07-26 20738, 2021

      • KassOtsimine joined the channel
      • 2021-07-26 20758, 2021

      • alastairp
        lucifer: could you take a look at that + docker-server-configs? If it looks good I'll deploy on beta again to verify that the new index works
      • 2021-07-26 20758, 2021

      • lucifer
        on it
      • 2021-07-26 20707, 2021

      • lucifer
        done
      • 2021-07-26 20718, 2021

      • alastairp
        nice
      • 2021-07-26 20720, 2021

      • yvanzo
        CatQuest: ok thanks for having settled that
      • 2021-07-26 20720, 2021

      • peterhil has quit
      • 2021-07-26 20742, 2021

      • peterhil joined the channel
      • 2021-07-26 20721, 2021

      • wargreen joined the channel
      • 2021-07-26 20728, 2021

      • akshaaatt[m]
        Hi lucifer ! I was planning to release the wordpress blog I wrote a while back.
      • 2021-07-26 20713, 2021

      • lucifer
        akshaaatt[m]: hi! let's wait till the app update is released and published.
      • 2021-07-26 20729, 2021

      • akshaaatt[m]
        Sure! I was about to say that :)
      • 2021-07-26 20729, 2021

      • lucifer
        i have reviewd two of the PRs and two are left.
      • 2021-07-26 20741, 2021

      • akshaaatt[m]
        Sounds great!
      • 2021-07-26 20709, 2021

      • lucifer
        i'll get to the other two probably tonight or early tomorrow.
      • 2021-07-26 20723, 2021

      • ritiek joined the channel
      • 2021-07-26 20727, 2021

      • peterhil has quit
      • 2021-07-26 20722, 2021

      • BrainzGit
        [acousticbrainz-server] 14alastair merged pull request #410 (03master…similarity-n-jobs): Specify number of threads to use when building annoy index https://github.com/metabrainz/acousticbrainz-serv…
      • 2021-07-26 20750, 2021

      • BrainzGit
        [acousticbrainz-server] release 03v-2021-07-26.1 has been published by 14github-actions[bot]: https://github.com/metabrainz/acousticbrainz-serv…
      • 2021-07-26 20736, 2021

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #676 (03master…fix-achievement): FIX(BB-627): set badges in achievement section https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2021-07-26 20720, 2021

      • akshaaatt[m]
        Thanks a lot lucifer . I have written a medium article as well recently regarding the GSoC experience. Will share it when we have the meeting in an hour :D
      • 2021-07-26 20747, 2021

      • alastairp
        zas: I need to rsync 50gb of data between servers. should it be faster through public IP, or private network, or should they be the same? I'm seeing only 3-6MB/sec transfer, which seems low. Are you imposing any speed restrictions?
      • 2021-07-26 20754, 2021

      • alastairp
        (frank to clash)
      • 2021-07-26 20755, 2021

      • zas
        nope no speed restriction, it should be faster over private network
      • 2021-07-26 20744, 2021

      • ruaok
        Freso: slow week for me, just some bits and bobs, was on semi vacation am on vacation now.
      • 2021-07-26 20754, 2021

      • ruaok runs off to dinner
      • 2021-07-26 20720, 2021

      • ruaok
      • 2021-07-26 20711, 2021

      • zas
        enjoy!
      • 2021-07-26 20704, 2021

      • peterhil joined the channel
      • 2021-07-26 20716, 2021

      • Freso
        <BANG>
      • 2021-07-26 20716, 2021

      • Freso
        Estas Esperanta Lundo!
      • 2021-07-26 20716, 2021

      • Freso
      • 2021-07-26 20716, 2021

      • Freso
        Mi ricevis tri recenzojn senditajn al mi:
      • 2021-07-26 20716, 2021

      • Freso
        yyoung diras:
      • 2021-07-26 20716, 2021

      • Freso has quit
      • 2021-07-26 20725, 2021

      • Freso joined the channel
      • 2021-07-26 20740, 2021

      • Freso
        R.I.P. :(
      • 2021-07-26 20707, 2021

      • Freso
        """
      • 2021-07-26 20707, 2021

      • Freso
        - I made the last changes to PR #2151 and communicated with editors on the forum.
      • 2021-07-26 20707, 2021

      • Freso
        - Experimented a way to implement MBS-9902 and opened a PR for review.
      • 2021-07-26 20707, 2021

      • Freso
        - Made a UI prototype for MBS-3774 according to reosarevok 's suggestion and posted it on the forum for feedback.
      • 2021-07-26 20707, 2021

      • Freso
        - That's all, thank you.
      • 2021-07-26 20708, 2021

      • Freso
        """
      • 2021-07-26 20708, 2021

      • BrainzBot
        MBS-9902: Support auto-select/cleanup/validation of more than one relationship type for external links https://tickets.metabrainz.org/browse/MBS-9902
      • 2021-07-26 20708, 2021

      • BrainzBot
        MBS-3774: Add URL relationship with begin and end dates https://tickets.metabrainz.org/browse/MBS-3774
      • 2021-07-26 20718, 2021

      • Freso
        monkey diras:
      • 2021-07-26 20718, 2021

      • Freso
        """
      • 2021-07-26 20718, 2021

      • Freso
        Hi everyone!
      • 2021-07-26 20718, 2021

      • Freso
        Last week I mostly worked on some improvements for the ListenBrainz player. Some stability improvements and the addition of new features, namely native notifications and media control. Associated PRs are #1539 and #1561 which have more detailed descriptions.
      • 2021-07-26 20726, 2021

      • Freso
        You can test this all out on test.listenbrainz.org <http://test.listenbrainz.org/>, and feedback would be very appreciated if you find anything that looks broken or unintended (or if you’re happily surprised too).