#metabrainz

/

      • Mr_Monkey
        prabal: about that typo Yeah, I'm surprised too ! I must have read it a hundred times…wrong.
      • 2020-08-10 22342, 2020

      • Mr_Monkey
        SomalRudra: What can I help you with?
      • 2020-08-10 22338, 2020

      • reosarevok
        yvanzo: we should consider upgrading Jira again :) Either to 8.5 or 8.11ç
      • 2020-08-10 22350, 2020

      • reosarevok
        "The End of Life date for JIRA version 8.0 is Feb 9, 2021. To ensure you're still fully supported, you should upgrade before this date."
      • 2020-08-10 22318, 2020

      • yvanzo
        reosarevok: right, I will check add-ons compatibility
      • 2020-08-10 22345, 2020

      • ishaanshah
      • 2020-08-10 22350, 2020

      • ishaanshah
        iliekcomputers: fixed it
      • 2020-08-10 22310, 2020

      • ruaok
        ishaanshah: well done!
      • 2020-08-10 22332, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1641 (master…MBS-11025): MBS-11025: Update the SoundCloud logo https://github.com/metabrainz/musicbrainz-server/…
      • 2020-08-10 22334, 2020

      • BrainzBot
        MBS-11025: Update the SoundCloud logo used in the sidebar https://tickets.metabrainz.org/browse/MBS-11025
      • 2020-08-10 22349, 2020

      • alastairp
        good morning
      • 2020-08-10 22303, 2020

      • alastairp
        hi jmp_music_, yes, I'm around. how about in 1 hour?
      • 2020-08-10 22357, 2020

      • white_snack joined the channel
      • 2020-08-10 22332, 2020

      • white_shadow has quit
      • 2020-08-10 22319, 2020

      • outsidecontext
        rdswift: are you around? We are preparing the Picard 2.4 release today. What's needed for the docs site? I think you had the changes already lined up, right?
      • 2020-08-10 22341, 2020

      • prabal
        Mr_Monkey: https://test.bookbrainz.org/collection/caf53b17-3… you made me a collaborator of this collection. I should have an option to remove myself as a collaborator. I am thinking of adding a button `remove yourself as collaborator` in this page.
      • 2020-08-10 22341, 2020

      • prabal
        I am confused whether I should re-use the `delete-collection-modal` here or should i make a new `remove-collaborator` modal.
      • 2020-08-10 22341, 2020

      • prabal
        https://github.com/bookbrainz/bookbrainz-site/blo… . The structure of `remove-collaborator-modal` will be pretty much same as `delete-modal` which makes me think I should re-use the modal but there are few changes - postUrl, body-text, header, button-text - which will make reusing it little messy
      • 2020-08-10 22310, 2020

      • prabal
        what do you think?
      • 2020-08-10 22304, 2020

      • Mr_Monkey
        prabal: I think you could refactor to resuse the same modal. for the modal body, you could pass the contents to the component using `{children}` inside the modal component so you'd call it like this: `<RefactoredModal> <div>the modal body</div></RefactoredModal>
      • 2020-08-10 22329, 2020

      • Mr_Monkey
        That could save you a bit of trouble. The rest of the elements could be passed as props without problem I think
      • 2020-08-10 22338, 2020

      • prabal
        yeahh okayy
      • 2020-08-10 22323, 2020

      • iliekcomputers
        ishaanshah: awesome!
      • 2020-08-10 22333, 2020

      • iliekcomputers
        when in doubt, create your own component :D
      • 2020-08-10 22307, 2020

      • ishaanshah
        Yeah I just looked up the source code and reimplemented it with slight changes
      • 2020-08-10 22338, 2020

      • ruaok
      • 2020-08-10 22348, 2020

      • jmp_music_
        alastairp: nice!
      • 2020-08-10 22351, 2020

      • ruaok
        I decided to split it into two PRs. ok to merge that one?
      • 2020-08-10 22356, 2020

      • ruaok
        next one coming right up.
      • 2020-08-10 22308, 2020

      • ruaok
        zas: ^^
      • 2020-08-10 22312, 2020

      • zas
        yes better
      • 2020-08-10 22316, 2020

      • ruaok
        ok
      • 2020-08-10 22358, 2020

      • ruaok
      • 2020-08-10 22331, 2020

      • ruaok
        and I'll let you and bitmap finish this one off -- the DB on paco is already restarted with the right setting, but bitmap may need to do more work on it.
      • 2020-08-10 22348, 2020

      • abhinavohri joined the channel
      • 2020-08-10 22311, 2020

      • sumedh joined the channel
      • 2020-08-10 22337, 2020

      • white_snack has quit
      • 2020-08-10 22332, 2020

      • white_shadow joined the channel
      • 2020-08-10 22338, 2020

      • white_shadow has quit
      • 2020-08-10 22309, 2020

      • abhinavohri
        iliekcomputers: Can u help me with the` url_for`method? For my test ,i want that it does not return a trailing slash at the end of the url. How can i do it?
      • 2020-08-10 22337, 2020

      • iliekcomputers
        just put in the string directly, instead of using url_for
      • 2020-08-10 22343, 2020

      • iliekcomputers
        i think it's ok for this case
      • 2020-08-10 22314, 2020

      • BrainzGit
        [listenbrainz-server] ishaanshah opened pull request #1026 (master…ishaan/artist_map_500_fix): [WIP] LB-692: Fix 500s on artist-map endpoint https://github.com/metabrainz/listenbrainz-server…
      • 2020-08-10 22315, 2020

      • BrainzBot
        LB-692: 500s on the artist-map endpoint https://tickets.metabrainz.org/browse/LB-692
      • 2020-08-10 22323, 2020

      • iliekcomputers
        self.client.get('/user/blahdeblah/')
      • 2020-08-10 22346, 2020

      • abhinavohri
        ok thanks
      • 2020-08-10 22317, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1642 (master…MBS-11028): MBS-11028: Convert historic Edit Release Language edit to React https://github.com/metabrainz/musicbrainz-server/…
      • 2020-08-10 22319, 2020

      • BrainzBot
        MBS-11028: Convert historic Edit Release Language edit to React https://tickets.metabrainz.org/browse/MBS-11028
      • 2020-08-10 22330, 2020

      • abhinavohri
        What is `self.assertContext('user', self.user)` doing?
      • 2020-08-10 22332, 2020

      • abhinavohri
        I am not using 'url_for' method so should i keep it or omit it?
      • 2020-08-10 22326, 2020

      • iliekcomputers
        ishaanshah: will have to cancel our meeting today. Apologies!
      • 2020-08-10 22311, 2020

      • rdswift
        outsidecontext, zas: I've been collecting the new version documentation changes in a separate branch, so all I should need to do is rebase it and merge.
      • 2020-08-10 22357, 2020

      • zas
        ok, thanks, we are preparing the release, binaries are built, website updated (but not deployed yet)
      • 2020-08-10 22301, 2020

      • rdswift
        Just waiting for the release before doing that, but I can start a pr for it now. Thanks for the "heads up".
      • 2020-08-10 22303, 2020

      • outsidecontext
        rdswift: yep, already found it :) I did some additions regarding the WAVE files and opened https://github.com/rdswift/picard-docs/pull/21
      • 2020-08-10 22318, 2020

      • rdswift
        Beat me to it. Thanks.
      • 2020-08-10 22323, 2020

      • zas
        we expect to release later today
      • 2020-08-10 22331, 2020

      • rdswift
        Super!
      • 2020-08-10 22307, 2020

      • sumedh has quit
      • 2020-08-10 22331, 2020

      • pristine___
        ruaok: user_name [ rdswift, Mr_Monkey, ishaanshah, zas]
      • 2020-08-10 22338, 2020

      • pristine___
        List of user name
      • 2020-08-10 22349, 2020

      • ruaok
        on it
      • 2020-08-10 22357, 2020

      • pristine___
        Cool.
      • 2020-08-10 22302, 2020

      • ruaok
        any code changes?
      • 2020-08-10 22308, 2020

      • pristine___
        Nope
      • 2020-08-10 22338, 2020

      • ruaok
        request_dataframes and request_model as well?
      • 2020-08-10 22341, 2020

      • pristine___
        ruaok escaped *master*
      • 2020-08-10 22343, 2020

      • pristine___
        :p
      • 2020-08-10 22356, 2020

      • pristine___
        > request_dataframes and request_model as well?
      • 2020-08-10 22300, 2020

      • ruaok
        or request_candidate_sets and request_recommendations?
      • 2020-08-10 22302, 2020

      • pristine___
        Yeah. No need to run that
      • 2020-08-10 22313, 2020

      • pristine___
        > request_candidate_sets and request_recommendations?
      • 2020-08-10 22318, 2020

      • pristine___
        Just these two
      • 2020-08-10 22339, 2020

      • ruaok
        ok. heh, I forgot the -- in front of user-name .. I think I may have just requested *all* users. 🙄
      • 2020-08-10 22352, 2020

      • ruaok
        if so I will kill the request consumer and start over.
      • 2020-08-10 22301, 2020

      • ruaok
        but first some stats are running.
      • 2020-08-10 22354, 2020

      • pristine___
        :p
      • 2020-08-10 22356, 2020

      • pristine___
        Cool
      • 2020-08-10 22305, 2020

      • pristine___
        ( just fyi, it is good to give list name with candidate_sets, and run recommendation as such)
      • 2020-08-10 22351, 2020

      • BrainzGit
        [bookbrainz-site] prabalsingh24 opened pull request #488 (UserCollection…remove-collaborator): Feature: Remove Collaboration https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2020-08-10 22305, 2020

      • shivam-kapila
        I am removed from list.
      • 2020-08-10 22308, 2020

      • shivam-kapila
        :p
      • 2020-08-10 22348, 2020

      • v6lur has quit
      • 2020-08-10 22300, 2020

      • v6lur joined the channel
      • 2020-08-10 22358, 2020

      • kieto has quit
      • 2020-08-10 22356, 2020

      • ruaok
        gah, what a busy day. but, PRs submitted, board meeting prepared, interview given, beer in hand. phew.
      • 2020-08-10 22327, 2020

      • iliekcomputers
        interview?
      • 2020-08-10 22331, 2020

      • alastairp
        german beer at that?
      • 2020-08-10 22353, 2020

      • ruaok
      • 2020-08-10 22320, 2020

      • iliekcomputers
        noice
      • 2020-08-10 22336, 2020

      • iliekcomputers
        i have the https://www.pythonpodcast.com/ thing in ~45 min
      • 2020-08-10 22349, 2020

      • ruaok
      • 2020-08-10 22358, 2020

      • ruaok
        alastairp: black forest beer is really quite good.
      • 2020-08-10 22303, 2020

      • alastairp
        beer _and_ woods
      • 2020-08-10 22309, 2020

      • alastairp
        jealous
      • 2020-08-10 22332, 2020

      • ruaok
        Waldhaus Naturtrüb that I got from the honor system beer manger in the woods was hands down the best beer in weeks.
      • 2020-08-10 22352, 2020

      • alastairp
        !!
      • 2020-08-10 22319, 2020

      • ruaok
      • 2020-08-10 22336, 2020

      • alastairp
        iliekcomputers: hey, I guess you're working and then interview? I had some thoughts about spark that I wanted to run past you
      • 2020-08-10 22343, 2020

      • alastairp
        got some time around meeting-time?
      • 2020-08-10 22354, 2020

      • ruaok
        its an honor system drinks station. each drink 2€. some chap was there swapping out cooling packs.
      • 2020-08-10 22358, 2020

      • ruaok
        only in germany.
      • 2020-08-10 22325, 2020

      • alastairp
        ruaok: did you see the recent photos of the mini wine windows in italy?
      • 2020-08-10 22334, 2020

      • iliekcomputers
        alastairp: probably not today, is tomorrow ok?
      • 2020-08-10 22344, 2020

      • alastairp
        any day is fine
      • 2020-08-10 22345, 2020

      • ruaok
        yes, resurrected because of covid? great!
      • 2020-08-10 22354, 2020

      • alastairp
        let's talk tomorrow. thanks
      • 2020-08-10 22358, 2020

      • iliekcomputers
        sounds good.
      • 2020-08-10 22324, 2020

      • iliekcomputers
        pristine___ probably has more context on the collaborative filtering stuff re spark btw
      • 2020-08-10 22353, 2020

      • alastairp
        it's more about the workflow, rather than tools/algorithms
      • 2020-08-10 22334, 2020

      • iliekcomputers
        ok. cool. that's probably me then. :P
      • 2020-08-10 22340, 2020

      • ruaok
        iliekcomputers: "[2020-08-10 14:57:44,631] DEBUG in request_consumer: Pushing result to RabbitMQ..."
      • 2020-08-10 22354, 2020

      • ruaok
        is that stats being pushed? it takes a looong time....
      • 2020-08-10 22311, 2020

      • iliekcomputers
        Which stat is it?
      • 2020-08-10 22309, 2020

      • iliekcomputers
        Note that because spark is lazy, it only does the actual computations when it needs to start pushing stuff which means the logs aren't exact. It's calculating the stat after it logs the pushing message.
      • 2020-08-10 22324, 2020

      • iliekcomputers
        Still don't expect anything to take hours though...
      • 2020-08-10 22330, 2020

      • ruaok
        I dunno. I can't tell from the logs.
      • 2020-08-10 22351, 2020

      • ruaok
        and I requested some recs, buts its been stuck like this for a while.
      • 2020-08-10 22307, 2020

      • alastairp
        hey, so this is actually my question. maybe I'll open the discussion now, and we can continue it whenever
      • 2020-08-10 22343, 2020

      • alastairp
        I understand that after you send a message to compute something, it's sent back to the listenbrainz side over rabbitmq
      • 2020-08-10 22326, 2020

      • alastairp
        I was just thinking through this - is there a reason why we don't save it to hdfs and just return a filename? and then have listenbrainz download it from hdfs and do whatever with it
      • 2020-08-10 22323, 2020

      • ruaok
        alastairp: they are hosted in two different places.
      • 2020-08-10 22349, 2020

      • ruaok
        consider the machines at hetzner to be "permanent machines". We can expect them to be there at all times.
      • 2020-08-10 22350, 2020

      • alastairp
        right, so that would require opening hdfs up on the public internet?
      • 2020-08-10 22325, 2020

      • ruaok
        whereas the spark cluster is more flexible. right now its stored on 4 machines (dirt cheap, the stuff that someone has used before) at hetzner.
      • 2020-08-10 22339, 2020

      • ruaok
        if someone were to offer us a better cluster for free, we'd move there.
      • 2020-08-10 22340, 2020

      • MFCR_ColbyRay joined the channel
      • 2020-08-10 22310, 2020

      • ruaok
        I'd love to have a 16 node cluster with loads of disk space, but alas, we're have a tiny 4 node cluster.
      • 2020-08-10 22323, 2020

      • alastairp
        I'm not sure that that strictly discounts my suggestion, but it seems likely that it introduces additional complexity to the idea
      • 2020-08-10 22338, 2020

      • ruaok
        this arrangement allows us to pass data back and forth using a mechanism we already rely on with minimal config exceptions.
      • 2020-08-10 22300, 2020

      • ruaok
        it doesn't... yet.
      • 2020-08-10 22315, 2020

      • ruaok
        the spark cluster is considered "disposable" and "batch oriented".
      • 2020-08-10 22336, 2020

      • ruaok
        whereas our productions servers are considered to be "stable" and "per request fast".
      • 2020-08-10 22351, 2020

      • alastairp
        right. it was just a thought that I had after looking through this part of the code, and after remembering these types of discussions happening a few times before (e.g. "does all of the data that we want to return fit inside rabbitmq?")
      • 2020-08-10 22352, 2020

      • ruaok
        so, results being stored in PG for fast response to the user.
      • 2020-08-10 22307, 2020

      • alastairp
        sure, I'm not suggesting removing results from pg
      • 2020-08-10 22321, 2020

      • ruaok
        loads of discussions, yes.
      • 2020-08-10 22335, 2020

      • alastairp
        the idea would be for the pg writer to request from hdfs, and then write to pg. instead of sending the results directly back in a rabbitmq message
      • 2020-08-10 22336, 2020

      • ruaok
        and its a shitty balance between what I am willing to open our wallets for and what we need to work extra for.
      • 2020-08-10 22355, 2020

      • alastairp
        instead, rabbitmq would just be a signaling mechanism
      • 2020-08-10 22316, 2020

      • ruaok
        I see where you're going with that.
      • 2020-08-10 22324, 2020

      • ruaok
        except docker. docker swarm in particular.
      • 2020-08-10 22328, 2020

      • ruaok
        its.. special.
      • 2020-08-10 22301, 2020

      • ruaok
        if you publish a port from a service, then docker goes and opens those ports for that server to the WORLD.
      • 2020-08-10 22308, 2020

      • ruaok
        and you CANNOT say don't do that.
      • 2020-08-10 22310, 2020

      • alastairp
        where does rabbitmq live? it's the main mb cluster, and is publicly accessible for spark to connect to?
      • 2020-08-10 22322, 2020

      • alastairp
        right, got it
      • 2020-08-10 22354, 2020

      • ruaok
        hetzer. lemmy has an opening that allows the spark leader to connect to rabbitmq. but lemmy only allows that from that one IP of the leader.
      • 2020-08-10 22301, 2020

      • alastairp
        got it
      • 2020-08-10 22308, 2020

      • iliekcomputers
        ~lemmy~ trille