#metabrainz

/

      • supersandro2000 has quit
      • 2020-07-12 19414, 2020

      • supersandro2000 joined the channel
      • 2020-07-12 19408, 2020

      • Lotheric joined the channel
      • 2020-07-12 19400, 2020

      • Nyanko-sensei has quit
      • 2020-07-12 19439, 2020

      • D4RK-PH0ENiX joined the channel
      • 2020-07-12 19418, 2020

      • goldenshimmer
        Well, not getting duplicates any more, but a whole lot of listens are entirely missing… at least it's narrowed down to a problem with using the Audacious plugin anyway!
      • 2020-07-12 19432, 2020

      • v6lur has quit
      • 2020-07-12 19416, 2020

      • d4rkie has quit
      • 2020-07-12 19417, 2020

      • Nyanko-sensei joined the channel
      • 2020-07-12 19456, 2020

      • CallerNo6 has quit
      • 2020-07-12 19429, 2020

      • sumedh joined the channel
      • 2020-07-12 19437, 2020

      • CallerNo6 joined the channel
      • 2020-07-12 19437, 2020

      • CallerNo6 has quit
      • 2020-07-12 19437, 2020

      • CallerNo6 joined the channel
      • 2020-07-12 19453, 2020

      • shivam-kapila
        Morning!
      • 2020-07-12 19421, 2020

      • shivam-kapila
      • 2020-07-12 19402, 2020

      • sumedh has quit
      • 2020-07-12 19425, 2020

      • sumedh joined the channel
      • 2020-07-12 19428, 2020

      • pristine___
        alastairp: I am not able to call an instantance method of parent class from a class method of dervied class. Do you know any work around or what the problem is?
      • 2020-07-12 19453, 2020

      • pristine___
        Instance*
      • 2020-07-12 19416, 2020

      • _lucifer
        pristine___: python?
      • 2020-07-12 19404, 2020

      • _lucifer
        reosarevok, yvanzo: how can i search for recordings which have external links associated with them ?
      • 2020-07-12 19427, 2020

      • reosarevok
        A specific link?
      • 2020-07-12 19453, 2020

      • _lucifer
        no just any link
      • 2020-07-12 19428, 2020

      • reosarevok
        You can do that with the DB but I don't think you can do it via the API
      • 2020-07-12 19447, 2020

      • reosarevok
        If you have a DB copy, then check for recordings that join with l_recording_url
      • 2020-07-12 19448, 2020

      • pristine___
        _lucifer: yeah
      • 2020-07-12 19415, 2020

      • _lucifer
        pristine___: may i take a look
      • 2020-07-12 19412, 2020

      • _lucifer
        in general, call super in child class if overriding otherwise calling directly should work
      • 2020-07-12 19408, 2020

      • _lucifer
        ok reosarevok, i just need one for a unit test. do you any in mind?
      • 2020-07-12 19458, 2020

      • reosarevok
      • 2020-07-12 19402, 2020

      • reosarevok
        Feel free to test with it
      • 2020-07-12 19430, 2020

      • _lucifer
        thanks!
      • 2020-07-12 19421, 2020

      • pristine___
        _lucifer: here you go!
      • 2020-07-12 19422, 2020

      • pristine___
      • 2020-07-12 19429, 2020

      • pristine___
        It says one positional arg file_name missing for path_to_data_file
      • 2020-07-12 19440, 2020

      • pristine___
        Which is weird imo.
      • 2020-07-12 19408, 2020

      • pristine___
        Somehow the class is not being passed :(
      • 2020-07-12 19408, 2020

      • _lucifer
        pristine___: try passing as cls.path_to_data_file(cls, 'msid_mbid_mapping.json')
      • 2020-07-12 19454, 2020

      • _lucifer
        not sure if its the best way to do things but should work
      • 2020-07-12 19421, 2020

      • pristine___
        _lucifer: I did that, I know it it works that way but I wonder why I have to pass cls explicitly
      • 2020-07-12 19435, 2020

      • _lucifer
        The issue is probably because you are calling an instance method from a class method
      • 2020-07-12 19405, 2020

      • pristine___
        Hmmm.
      • 2020-07-12 19406, 2020

      • _lucifer
        try adding @classmethod to the method in parent class or removing it from the child method
      • 2020-07-12 19421, 2020

      • pristine___
        Jinx.
      • 2020-07-12 19454, 2020

      • pristine___
        I finally added Classmethod to the method in parent class
      • 2020-07-12 19457, 2020

      • _lucifer
        then you shouldnt need to pass the cls explicitly
      • 2020-07-12 19427, 2020

      • pristine___
        I was reluctant to do that before because it required like code change here and there and I was too lazy to do that
      • 2020-07-12 19429, 2020

      • pristine___
        :p
      • 2020-07-12 19438, 2020

      • pristine___
        But thanks _lucifer
      • 2020-07-12 19450, 2020

      • pristine___
        Little*
      • 2020-07-12 19442, 2020

      • pristine___
        I wonder is there is way to call instance method from classmethod. Maybe it's not allowed
      • 2020-07-12 19444, 2020

      • yvanzo
        _lucifer: if you need to test anything in MusicBrainz, you can just do it at https://test.musicbrainz.org/ as well.
      • 2020-07-12 19431, 2020

      • _lucifer
        yvanzo: yeah, sure. I had forgotten about it 😅
      • 2020-07-12 19413, 2020

      • _lucifer
      • 2020-07-12 19438, 2020

      • pristine___
        Ooooo
      • 2020-07-12 19453, 2020

      • pristine___
        I think converting it to classmethod is a fine choice for now :)
      • 2020-07-12 19422, 2020

      • BrainzGit
        [listenbrainz-server] vansika opened pull request #957 (master…test-dataframe): Refactor tests for create_dataframes: add testdata https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-12 19411, 2020

      • BrainzGit
        [listenbrainz-server] vansika opened pull request #958 (master…update-steps-to-go-to-next-month): update steps to reach next month https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-12 19452, 2020

      • shivam-kapila
        Looks like pristine___ invented a time machine
      • 2020-07-12 19416, 2020

      • pristine___
        shivam-kapila: :p
      • 2020-07-12 19458, 2020

      • ruaok
        moooin!
      • 2020-07-12 19412, 2020

      • ruaok is about to try and work down the incoming migration queue.
      • 2020-07-12 19402, 2020

      • Gazooo has quit
      • 2020-07-12 19401, 2020

      • Gazooo joined the channel
      • 2020-07-12 19450, 2020

      • sumedh has quit
      • 2020-07-12 19458, 2020

      • shivam-kapila
        ruaok: import done?
      • 2020-07-12 19416, 2020

      • ruaok
        yes and now working on importing all the queued up listens.
      • 2020-07-12 19419, 2020

      • ruaok
        gonna take a while too
      • 2020-07-12 19429, 2020

      • ruaok
      • 2020-07-12 19418, 2020

      • ruaok
        ok and we just passed the point where everything was duplicates and now we're importing new listens that came after the dump
      • 2020-07-12 19450, 2020

      • shivam-kapila
        Nice that everything is going smooth
      • 2020-07-12 19427, 2020

      • shivam-kapila
        Uh. I dont have access to Grafana.
      • 2020-07-12 19454, 2020

      • shivam-kapila
        Dont knw what u shared 😅
      • 2020-07-12 19434, 2020

      • ruaok
        anyone can create an account to view!
      • 2020-07-12 19402, 2020

      • ruaok
        the queue is being worked down very slowly. I might try my hand at improving that real quick.
      • 2020-07-12 19426, 2020

      • shivam-kapila
        IIRC we discovered this thing while porting timescale writer that queue is slow
      • 2020-07-12 19443, 2020

      • shivam-kapila signs up on grafana
      • 2020-07-12 19448, 2020

      • ruaok
        and that is what I am trying to triage
      • 2020-07-12 19453, 2020

      • shivam-kapila
        Oh
      • 2020-07-12 19405, 2020

      • ruaok
        its pretty tricky though.
      • 2020-07-12 19413, 2020

      • shivam-kapila
        Why so
      • 2020-07-12 19435, 2020

      • ruaok
        the basic idea is to collect 1000 listens and then go to the DB. rather than 1 or 2 or 50 listens.
      • 2020-07-12 19425, 2020

      • ruaok
        the way that listens are ack'ed is tricky -- the function works as a callback.
      • 2020-07-12 19444, 2020

      • shivam-kapila
        Yeah. Right
      • 2020-07-12 19421, 2020

      • CatQuest
        hi $TIME_OF_DAY
      • 2020-07-12 19422, 2020

      • Nyanko-sensei has quit
      • 2020-07-12 19407, 2020

      • Nyanko-sensei joined the channel
      • 2020-07-12 19425, 2020

      • MusicbrainzB0T2 joined the channel
      • 2020-07-12 19454, 2020

      • MusicbrainzB0T has quit
      • 2020-07-12 19452, 2020

      • sumedh joined the channel
      • 2020-07-12 19456, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1593 (master…MBS-10948): MBS-10948: Allow label baike.baidu.com links https://github.com/metabrainz/musicbrainz-server/…
      • 2020-07-12 19458, 2020

      • BrainzBot
        MBS-10948: Baidu Baike links on Labels are flagged as not allowed or incorrectly formatted https://tickets.metabrainz.org/browse/MBS-10948
      • 2020-07-12 19420, 2020

      • sumedh has quit
      • 2020-07-12 19409, 2020

      • ruaok
      • 2020-07-12 19414, 2020

      • ruaok
        shivam-kapila: ^^
      • 2020-07-12 19401, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1594 (master…MBS-10943): MBS-10943: Fix loading attribute on Relationship::Delete https://github.com/metabrainz/musicbrainz-server/…
      • 2020-07-12 19403, 2020

      • BrainzBot
        MBS-10943: Attribute value not shown on "remove relationship" edits for events https://tickets.metabrainz.org/browse/MBS-10943
      • 2020-07-12 19456, 2020

      • shivam-kapila
        ruaok: so all the listens in queue are now written. Right?
      • 2020-07-12 19424, 2020

      • ruaok
        In theory, yes. Once I get home, I'll bring the web container up and we can see.
      • 2020-07-12 19404, 2020

      • shivam-kapila
        I am waiting
      • 2020-07-12 19446, 2020

      • iliekcomputers
        Exciting!
      • 2020-07-12 19439, 2020

      • sumedh joined the channel
      • 2020-07-12 19414, 2020

      • sumedh has quit
      • 2020-07-12 19454, 2020

      • sumedh joined the channel
      • 2020-07-12 19446, 2020

      • Reem joined the channel
      • 2020-07-12 19450, 2020

      • Reem
        Hello
      • 2020-07-12 19426, 2020

      • Reem
        I've build musicbrainz dockerran those commands:sudo docker-compose run --rm musicbrainz fetch-dump.sh searchsudo AND docker-compose run --rm search load-search-indexes.shnow I am trying to query the server, but I get only empty resultsdo you have any idea why?
      • 2020-07-12 19431, 2020

      • pristine___
        ruaok: #958 is tiny tini. Can you have a quick look
      • 2020-07-12 19435, 2020

      • killme has quit
      • 2020-07-12 19416, 2020

      • Reem
        nevermind, fixed
      • 2020-07-12 19401, 2020

      • killme joined the channel
      • 2020-07-12 19450, 2020

      • Reem
        Hello Everyone. how do I set manual host and port for local musicbrainz docker?
      • 2020-07-12 19413, 2020

      • Reem
        for java library
      • 2020-07-12 19402, 2020

      • pristine___
        Covid cases in my neighborhood. 😮
      • 2020-07-12 19457, 2020

      • yokel has quit
      • 2020-07-12 19441, 2020

      • yokel joined the channel
      • 2020-07-12 19411, 2020

      • CatQuest
        pristine___: :C
      • 2020-07-12 19441, 2020

      • shivam-kapila
        pristine___: there's a quarntine center in my colony :/
      • 2020-07-12 19425, 2020

      • pristine___
        😔
      • 2020-07-12 19422, 2020

      • Sophist-UK has quit
      • 2020-07-12 19451, 2020

      • Reem
        I need your help with something weird I see using htop
      • 2020-07-12 19456, 2020

      • Reem
        there are few java processes which consuming huge virtual memory
      • 2020-07-12 19401, 2020

      • Reem
        how they are related to the musicbrainz docker, what's the context?
      • 2020-07-12 19417, 2020

      • BrainzGit
        [musicbrainz-android] amCap1712 merged pull request #47 (master…Design): Tagger Activity Basic Frontend Design Setup https://github.com/metabrainz/musicbrainz-android…
      • 2020-07-12 19434, 2020

      • sumedh has quit
      • 2020-07-12 19412, 2020

      • sumedh joined the channel
      • 2020-07-12 19406, 2020

      • shivam-kapila
        ruaok: hey, did that work?
      • 2020-07-12 19445, 2020

      • shivam-kapila
        Reem: Hi. Welcome. Its weekend so mostly people are afk. I wouls suggest you to wait till monday and then you may get answers to your questions. Thanks :)
      • 2020-07-12 19457, 2020

      • ruaok
        shivam-kapila: pristine___ I've been (and still am) AFK.
      • 2020-07-12 19444, 2020

      • shivam-kapila
        No problem. Was just curious
      • 2020-07-12 19447, 2020

      • shivam-kapila
        GN
      • 2020-07-12 19447, 2020

      • sumedh has quit
      • 2020-07-12 19408, 2020

      • Reem
        ohh
      • 2020-07-12 19412, 2020

      • Reem
        thank you Shivam
      • 2020-07-12 19425, 2020

      • shivam-kapila
        Happy to help
      • 2020-07-12 19456, 2020

      • d4rkie joined the channel
      • 2020-07-12 19404, 2020

      • Nyanko-sensei has quit