#metabrainz

/

      • D4RK-PH0ENiX has quit
      • 2020-04-02 09315, 2020

      • Chinmay3199 has quit
      • 2020-04-02 09304, 2020

      • D4RK-PH0ENiX joined the channel
      • 2020-04-02 09327, 2020

      • supersandro20002 joined the channel
      • 2020-04-02 09355, 2020

      • supersandro2000 has quit
      • 2020-04-02 09351, 2020

      • d4rkie joined the channel
      • 2020-04-02 09336, 2020

      • D4RK-PH0ENiX has quit
      • 2020-04-02 09332, 2020

      • rohitdandamudi_ joined the channel
      • 2020-04-02 09349, 2020

      • thomasross has quit
      • 2020-04-02 09348, 2020

      • Chinmay3199 joined the channel
      • 2020-04-02 09335, 2020

      • BrainzGit
        [listenbrainz-server] ishaanshah opened pull request #774 (master…artist_mbid): Change "listened_from" to "listening_from" https://github.com/metabrainz/listenbrainz-server…
      • 2020-04-02 09325, 2020

      • ishaanshah[m]
        iliekcomputers: Sorry for that, fixed it :)
      • 2020-04-02 09352, 2020

      • supersandro20002 has quit
      • 2020-04-02 09308, 2020

      • supersandro2000 joined the channel
      • 2020-04-02 09350, 2020

      • rohitdandamudi_
        https://opensource.googleblog.com/2020/04/code-se… This will take our googlefu to next level
      • 2020-04-02 09317, 2020

      • goldenshimmer has quit
      • 2020-04-02 09318, 2020

      • heyarne[m] has quit
      • 2020-04-02 09320, 2020

      • reg[m] has quit
      • 2020-04-02 09322, 2020

      • adi5026[m] has quit
      • 2020-04-02 09328, 2020

      • ishaanshah[m] has quit
      • 2020-04-02 09328, 2020

      • kepstin has quit
      • 2020-04-02 09330, 2020

      • elomatreb[m] has quit
      • 2020-04-02 09331, 2020

      • MagnusSvensson[m has quit
      • 2020-04-02 09330, 2020

      • Chinmay3199 has quit
      • 2020-04-02 09357, 2020

      • cleo joined the channel
      • 2020-04-02 09311, 2020

      • cleo is now known as Guest56966
      • 2020-04-02 09329, 2020

      • Guest56966 is now known as c1e0
      • 2020-04-02 09301, 2020

      • prabal joined the channel
      • 2020-04-02 09313, 2020

      • MagnusSvensson[m joined the channel
      • 2020-04-02 09355, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1448 (master…MBS-10364-pt-3): MBS-10364 (II): Convert release merge page to React https://github.com/metabrainz/musicbrainz-server/…
      • 2020-04-02 09357, 2020

      • BrainzBot
        MBS-10364: Convert entity merge pages to React https://tickets.metabrainz.org/browse/MBS-10364
      • 2020-04-02 09309, 2020

      • reg[m] joined the channel
      • 2020-04-02 09309, 2020

      • adi5026[m] joined the channel
      • 2020-04-02 09309, 2020

      • kepstin joined the channel
      • 2020-04-02 09310, 2020

      • elomatreb[m] joined the channel
      • 2020-04-02 09310, 2020

      • goldenshimmer joined the channel
      • 2020-04-02 09310, 2020

      • heyarne[m] joined the channel
      • 2020-04-02 09317, 2020

      • ishaanshah[m] joined the channel
      • 2020-04-02 09302, 2020

      • Gazooo has quit
      • 2020-04-02 09340, 2020

      • Gazooo joined the channel
      • 2020-04-02 09341, 2020

      • shivam-kapila joined the channel
      • 2020-04-02 09313, 2020

      • c1e0 has quit
      • 2020-04-02 09345, 2020

      • v6lur joined the channel
      • 2020-04-02 09320, 2020

      • cleo joined the channel
      • 2020-04-02 09343, 2020

      • cleo is now known as Guest20632
      • 2020-04-02 09351, 2020

      • ruaok
        shivam-kapila: hey, I fixed the test setup and the first test is nearly working.
      • 2020-04-02 09303, 2020

      • ruaok
        I have one more function to update and then that should be passing.
      • 2020-04-02 09302, 2020

      • BrainzGit
        [bookbrainz-site] MonkeyDo closed pull request #380 (master…BB-333_Implement-RelationshipType-Enum): [BB-333] Implement RelationshipType Enum https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2020-04-02 09303, 2020

      • BrainzBot
        BB-333: Implement a RelationshipType enum https://tickets.metabrainz.org/browse/BB-333
      • 2020-04-02 09308, 2020

      • shivam-kapila
        ruaok: Heya. I couldnt work yesterday as I was not so good. Energetic to work today. Will work on the tests full on
      • 2020-04-02 09304, 2020

      • ruaok
        cool. let me update the missing function, then turn it over to you.
      • 2020-04-02 09338, 2020

      • Sigyn has left the channel
      • 2020-04-02 09300, 2020

      • c1e0 joined the channel
      • 2020-04-02 09335, 2020

      • Guest20632 has quit
      • 2020-04-02 09314, 2020

      • modwizcode has quit
      • 2020-04-02 09355, 2020

      • modwizcode joined the channel
      • 2020-04-02 09310, 2020

      • cleo joined the channel
      • 2020-04-02 09333, 2020

      • cleo is now known as Guest49000
      • 2020-04-02 09347, 2020

      • c1e0 has quit
      • 2020-04-02 09332, 2020

      • ruaok
        shivam-kapila: 1 test now passes. I've pushed the changes to the timescale branch.
      • 2020-04-02 09349, 2020

      • ruaok
        please note that we cannot test the listen_counts the way we used to.
      • 2020-04-02 09345, 2020

      • ruaok
        we built our own mechanism for keeping track of counts -- and that needed to be tested.
      • 2020-04-02 09314, 2020

      • ruaok
        but now we're relying on timescale functions to do that, so we dont need to test that. we do need to add a test to ensure
      • 2020-04-02 09327, 2020

      • ruaok
        that listen_count view is in place, but that is about it.
      • 2020-04-02 09323, 2020

      • shivam-kapila
        So I need to test whether the view exists or not
      • 2020-04-02 09316, 2020

      • ruaok
        that would be ideal, but don't worry about that yet. lets get the other tests flowing first.
      • 2020-04-02 09334, 2020

      • ruaok
        and when tests start failing, commit some code and I'll help fix them. just ping me.
      • 2020-04-02 09318, 2020

      • shivam-kapila
        ruaok: Okay okay. Thanks :)
      • 2020-04-02 09314, 2020

      • ishaanshah[m]
        iliekcomputers: Should we rename the jsx directory to src, as it no longer contains jsx files only?
      • 2020-04-02 09303, 2020

      • iliekcomputers
        yeah, that sounds reasonable
      • 2020-04-02 09308, 2020

      • iliekcomputers
        can you post the full path ?
      • 2020-04-02 09323, 2020

      • iliekcomputers
        i wonder if it makes sense to bring these files out of webserver/views/static
      • 2020-04-02 09345, 2020

      • ishaanshah[m]
        ./listenbrainz-server/listenbrainz/webserver/static/js/src
      • 2020-04-02 09301, 2020

      • ishaanshah[m]
        js directory has dist and lib as well
      • 2020-04-02 09323, 2020

      • iliekcomputers
        Ideally I'd like it to be listenbrainz/webserver/frontend/ or somethinf
      • 2020-04-02 09336, 2020

      • iliekcomputers
        But I'm not sure how much work that is
      • 2020-04-02 09355, 2020

      • iliekcomputers
        Eh
      • 2020-04-02 09303, 2020

      • iliekcomputers
        Let's just rename it to src for now
      • 2020-04-02 09328, 2020

      • ishaanshah[m]
        Also I am using babel-typescript instead of ts-loader
      • 2020-04-02 09359, 2020

      • ishaanshah[m]
        that will allow us to seperately type-check
      • 2020-04-02 09348, 2020

      • ishaanshah[m]
        So we won't run into migration issues
      • 2020-04-02 09354, 2020

      • ishaanshah[m]
        Is that fine?
      • 2020-04-02 09307, 2020

      • iliekcomputers
        Sgtm
      • 2020-04-02 09358, 2020

      • BrainzGit
        [listenbrainz-server] paramsingh merged pull request #774 (master…artist_mbid): Change "listened_from" to "listening_from" https://github.com/metabrainz/listenbrainz-server…
      • 2020-04-02 09301, 2020

      • c1e0 joined the channel
      • 2020-04-02 09345, 2020

      • d4rkie has quit
      • 2020-04-02 09340, 2020

      • Guest49000 has quit
      • 2020-04-02 09348, 2020

      • Chinmay3199 joined the channel
      • 2020-04-02 09335, 2020

      • c1e0 has quit
      • 2020-04-02 09314, 2020

      • travis-ci joined the channel
      • 2020-04-02 09314, 2020

      • travis-ci
        Project bookbrainz-site build #2775: passed in 2 min 27 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2020-04-02 09314, 2020

      • travis-ci has left the channel
      • 2020-04-02 09318, 2020

      • cleo joined the channel
      • 2020-04-02 09342, 2020

      • cleo is now known as Guest68048
      • 2020-04-02 09308, 2020

      • D4RK-PH0ENiX joined the channel
      • 2020-04-02 09334, 2020

      • Guest68048 has quit
      • 2020-04-02 09358, 2020

      • alastairp
        hi iliekcomputers
      • 2020-04-02 09358, 2020

      • alastairp
        It'd be nice for you to step me through how to deploy AB some time if you have time. Today/tomorrow?
      • 2020-04-02 09358, 2020

      • ruaok notes that there is still no PR for the meb team page
      • 2020-04-02 09358, 2020

      • alastairp
        oh yeah, you're one of _those_ bosses, huh? :)
      • 2020-04-02 09358, 2020

      • alastairp
        PR incoming today
      • 2020-04-02 09358, 2020

      • alastairp
        I even found a photo of myself!
      • 2020-04-02 09358, 2020

      • alastairp
        ruaok: what's the process for updating syswiki? just make a change, or make a PR?
      • 2020-04-02 09358, 2020

      • ruaok
        normally skip the PR
      • 2020-04-02 09358, 2020

      • ruaok
        alastairp: I only nag the people who don't do what they should've already done. :)
      • 2020-04-02 09358, 2020

      • alastairp
        k, thanks
      • 2020-04-02 09353, 2020

      • iliekcomputers
        alastairp: today evening should work for me.
      • 2020-04-02 09323, 2020

      • BestSteve has quit
      • 2020-04-02 09306, 2020

      • BestSteve joined the channel
      • 2020-04-02 09335, 2020

      • alastairp
        iliekcomputers: if that's within the next 3-4 hours, perfect
      • 2020-04-02 09352, 2020

      • alastairp
        oh, I guess you're in more or less the same tz as me. what time do you finish?
      • 2020-04-02 09352, 2020

      • ABCbum joined the channel
      • 2020-04-02 09342, 2020

      • iliekcomputers
        5 PM mostly
      • 2020-04-02 09359, 2020

      • ABCbum has quit
      • 2020-04-02 09335, 2020

      • byyz joined the channel
      • 2020-04-02 09335, 2020

      • byyz
        hey guys, quick question. It looks like XML genre/tags data is sorted alphabetically instead of by popularity(?). For example, https://musicbrainz.org/artist/39c2a93d-9afa-4a22… correctly has psychedelic as the top genre for Jefferson Airplane, but the XML data is listed alphabetically so it shows folk as the genre if pulling the top result. Since I dont know how many genres each artist has, I'm not sure how to pull the correct
      • 2020-04-02 09335, 2020

      • byyz
        one each time (in this case I should pull 4). Any ideas?
      • 2020-04-02 09338, 2020

      • alastairp
        cool. how about 6pm/7pm?
      • 2020-04-02 09303, 2020

      • iliekcomputers
        6 pm would be nice
      • 2020-04-02 09332, 2020

      • Lotheric_ joined the channel
      • 2020-04-02 09306, 2020

      • Lotheric has quit
      • 2020-04-02 09338, 2020

      • shivam-kapila
        ruaok: I think we need to modify the `fetch_recent_listens_for_users`
      • 2020-04-02 09309, 2020

      • ruaok
        k, what needs to be done?
      • 2020-04-02 09320, 2020

      • shivam-kapila
        The reason being when we apply limit say 2 then it will fetch only 2 rows rather than 2 per user
      • 2020-04-02 09336, 2020

      • shivam-kapila
        so we need output as 4 rows but it will return only 2
      • 2020-04-02 09358, 2020

      • shivam-kapila
        did I explain properly?
      • 2020-04-02 09308, 2020

      • sweta05 joined the channel
      • 2020-04-02 09323, 2020

      • ruaok
        yes. I see. ok, hang on.
      • 2020-04-02 09325, 2020

      • alastairp
        byyz: how are you getting these tags? from the webservice? I'm not sure I understand your problem
      • 2020-04-02 09350, 2020

      • alastairp
        to get the most popular tag, yes you will need to load all tags + their counts, and order by count yourself
      • 2020-04-02 09338, 2020

      • ruaok
        shivam-kapila: confirmed. let me see how to best fix.
      • 2020-04-02 09357, 2020

      • shivam-kapila
        ruaok: Also you need to modify the lines 250-260 as
      • 2020-04-02 09302, 2020

      • shivam-kapila
      • 2020-04-02 09324, 2020

      • shivam-kapila
        ruaok: We can iterate per user as we did in influx
      • 2020-04-02 09349, 2020

      • ruaok
        influx is stupiud, whereas postgres is much smarter. it would be better to have postgres do it.
      • 2020-04-02 09304, 2020

      • ruaok
        so, missing is the tuple() around user_list?
      • 2020-04-02 09329, 2020

      • shivam-kapila
        removed the () in the query around user_list
      • 2020-04-02 09351, 2020

      • shivam-kapila
        and ORDER BY time to ORDER BY listened_at
      • 2020-04-02 09339, 2020

      • sweta05
        iliekcomputers: https://pasteboard.co/J1XuLSu.png have a look at the checkbox, i tried to change a bit. Let me know if there are still some changes to be made.
      • 2020-04-02 09319, 2020

      • iliekcomputers
        sweta05: that looks good to me!
      • 2020-04-02 09326, 2020

      • shivam-kapila
        ruaok: and args need not be in sqlalchemy.text(). It gives bind error.
      • 2020-04-02 09352, 2020

      • ruaok
        ok.
      • 2020-04-02 09308, 2020

      • sweta05
        iliekcomputers: great! shall i go ahead and commit these changes?
      • 2020-04-02 09326, 2020

      • iliekcomputers
        yes, in general feel free to push changes and ask for reviews on the PR
      • 2020-04-02 09340, 2020

      • alastairp
        sweta05: oh, I was going to make a comment on the PR too about that ccheckbox :)
      • 2020-04-02 09357, 2020

      • alastairp
        it seems like the most amount of work for such a small part of the page :)
      • 2020-04-02 09327, 2020

      • alastairp
        I told you to order it as [box] [text] because that's the order that it was in the new dataset page. but then when I saw your changes I realised that on the import page we have [label] [input] for all other fields, and we should make them consistent
      • 2020-04-02 09349, 2020

      • alastairp
        sorry about that, I didn't pay enough attention to the layout of that page before suggesting that you change it
      • 2020-04-02 09354, 2020

      • sweta05
        alastairp: Yeah initially, even i thought of the same but i felt the checkbox and the text were little far away so i tried having the text before the checkbox.
      • 2020-04-02 09332, 2020

      • sweta05
        it is always good to maintain consistency right, so i think it is better this way.