#metabrainz

/

      • modwizcode joined the channel
      • 2019-08-19 23130, 2019

      • modwizcode has quit
      • 2019-08-19 23140, 2019

      • kori has quit
      • 2019-08-19 23109, 2019

      • d4rkie joined the channel
      • 2019-08-19 23107, 2019

      • D4RK-PH0ENiX has quit
      • 2019-08-19 23147, 2019

      • d4rkie has quit
      • 2019-08-19 23122, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-08-19 23140, 2019

      • modwizcode joined the channel
      • 2019-08-19 23137, 2019

      • kori joined the channel
      • 2019-08-19 23152, 2019

      • kori has quit
      • 2019-08-19 23124, 2019

      • modwizcode has quit
      • 2019-08-19 23101, 2019

      • modwizcode joined the channel
      • 2019-08-19 23142, 2019

      • modwizcode has quit
      • 2019-08-19 23154, 2019

      • kori joined the channel
      • 2019-08-19 23116, 2019

      • modwizcode joined the channel
      • 2019-08-19 23102, 2019

      • modwizcode has quit
      • 2019-08-19 23145, 2019

      • chaban has quit
      • 2019-08-19 23122, 2019

      • cats has quit
      • 2019-08-19 23156, 2019

      • cats joined the channel
      • 2019-08-19 23137, 2019

      • BrainzGit
        [listenbrainz-server] paramsingh opened pull request #605 (master…param/lbdumps-use): Create a lbdumps user inside the container to use new storage boxes correctly. https://github.com/metabrainz/listenbrainz-server…
      • 2019-08-19 23143, 2019

      • BrainzGit
        [listenbrainz-server] paramsingh merged pull request #603 (master…automatic-username-changes): Update the musicbrainz ID of users if it has changed https://github.com/metabrainz/listenbrainz-server…
      • 2019-08-19 23117, 2019

      • Darkloke joined the channel
      • 2019-08-19 23126, 2019

      • BrainzGit
        [bookbrainz-site] akhilesh26 opened pull request #300 (master…rate_limiter): feat(rate_limiter): add basic rate limiter, slow down the response af… https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2019-08-19 23111, 2019

      • travis-ci joined the channel
      • 2019-08-19 23111, 2019

      • travis-ci
        metabrainz/picard#4814 (master - a6b7722 : Philipp Wolfer): The build passed.
      • 2019-08-19 23111, 2019

      • travis-ci
      • 2019-08-19 23111, 2019

      • travis-ci
      • 2019-08-19 23111, 2019

      • travis-ci has left the channel
      • 2019-08-19 23145, 2019

      • yvanzo
        mo’’in’
      • 2019-08-19 23133, 2019

      • akhilesh
        Moin!!!!!
      • 2019-08-19 23157, 2019

      • akhilesh
        Mr_Monkey: Hi!
      • 2019-08-19 23102, 2019

      • ruaok
        Moin!
      • 2019-08-19 23108, 2019

      • ruaok
      • 2019-08-19 23130, 2019

      • alastairp
        hi
      • 2019-08-19 23131, 2019

      • alastairp
        interesting
      • 2019-08-19 23149, 2019

      • alastairp
        student here has just finished https://github.com/jordipons/musiCNN
      • 2019-08-19 23153, 2019

      • alastairp
        as part of his phd work
      • 2019-08-19 23125, 2019

      • alastairp
        > The goal of this project is to utilize the GTZAN dataset to train a convolutional neural network to classify melspectrograms into music genres
      • 2019-08-19 23152, 2019

      • alastairp
        so it will suffer from bad training data, as usual. It'd be interesting to see how well the network works with better data
      • 2019-08-19 23158, 2019

      • ruaok
        Another job for AB, in time...
      • 2019-08-19 23130, 2019

      • alastairp
        we were looking to see if it would be possible to integrate one of these autotaggers into the extractor
      • 2019-08-19 23121, 2019

      • alastairp
        it's too much data to extract enough info from audio to store in AB and build models, but we could extract a middle-ground that's useful for lots of tasks, and then integrate some really well-functioning models directly into the extractor to get some tags/annotations
      • 2019-08-19 23142, 2019

      • alastairp
        it has the unfortunate limitation that we can't do the incremental model generation like we currently do
      • 2019-08-19 23139, 2019

      • gr0uch0mars joined the channel
      • 2019-08-19 23101, 2019

      • Gazooo has quit
      • 2019-08-19 23118, 2019

      • rdswift has quit
      • 2019-08-19 23106, 2019

      • akhilesh
        Mr_Monkey: Please ping me, when you are available!
      • 2019-08-19 23131, 2019

      • D4RK-PH0ENiX has quit
      • 2019-08-19 23148, 2019

      • Mr_Monkey
        Hi akhilesh ! I'll be around in 10-15 minutes
      • 2019-08-19 23131, 2019

      • akhilesh
        Ok, Thanks!
      • 2019-08-19 23110, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-08-19 23140, 2019

      • Mr_Monkey
        OK akhilesh, I'm all ears
      • 2019-08-19 23144, 2019

      • Mr_Monkey
        Or eyes I guess
      • 2019-08-19 23127, 2019

      • CatQuest
        Mr_Monkey: did you see my previous?
      • 2019-08-19 23135, 2019

      • CatQuest
        Mr_Monkey: this page has quite a lot of links to things that might be relevant ot link to things on bb https://en.wikipedia.org/wiki/Special:BookSources…
      • 2019-08-19 23138, 2019

      • CatQuest
        not just the area ones, but the booksellers thing
      • 2019-08-19 23159, 2019

      • akhilesh
        We will start from search endpoint, Please fetch search_api branch Mr_Monkey
      • 2019-08-19 23117, 2019

      • D4RK-PH0ENiX has quit
      • 2019-08-19 23144, 2019

      • CatQuest
        (also good morning to both of you ^__^)
      • 2019-08-19 23154, 2019

      • Mr_Monkey
        Yes, thanks CatQuest I saw but haven't yet had time to have a good look
      • 2019-08-19 23102, 2019

      • CatQuest
        :)
      • 2019-08-19 23104, 2019

      • Mr_Monkey
        akhilesh: Pulled and started!
      • 2019-08-19 23138, 2019

      • akhilesh
        check req `localhost:9098/search?q=Harry&collection=work&limit=5&offset=0`
      • 2019-08-19 23155, 2019

      • akhilesh
        is everything running ok
      • 2019-08-19 23134, 2019

      • akhilesh
        change collection, limit, offset to check
      • 2019-08-19 23117, 2019

      • akhilesh
        Mr_Monkey: ^
      • 2019-08-19 23152, 2019

      • akhilesh
        Good Morning CatQuest, How are you?
      • 2019-08-19 23158, 2019

      • Mr_Monkey
        akhilesh: So far from what I see it's working fine, great to see !
      • 2019-08-19 23128, 2019

      • akhilesh
        now run the test-search.js only
      • 2019-08-19 23144, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-08-19 23155, 2019

      • CatQuest
        akhilesh: I'm awake and i'm doing the dishes and making brekafast :D
      • 2019-08-19 23104, 2019

      • akhilesh
        something `npm test /...../test-search.js`
      • 2019-08-19 23114, 2019

      • akhilesh
        Mr_Monkey: ^
      • 2019-08-19 23127, 2019

      • CatQuest
        (i knew that wasnt for me akilesh ;))
      • 2019-08-19 23147, 2019

      • alastairp
        pristine__: hi, you mentioned me a few days ago. how are you?
      • 2019-08-19 23123, 2019

      • Mr_Monkey
        akhilesh: I see the "expected null to equal 'Work'" issue
      • 2019-08-19 23130, 2019

      • akhilesh
        yes, same request goes from test but result not coming from elasticsearch, check your test.json
      • 2019-08-19 23142, 2019

      • akhilesh
        that the issue Mr_Monkey
      • 2019-08-19 23138, 2019

      • Mr_Monkey
        akhilesh: I just put a breakpoint and ran the test again, and it looks like in the search endpoint definition, `const collection = req.query.collection || null;` ends up as null, because req.query.collection is undefined
      • 2019-08-19 23127, 2019

      • Mr_Monkey
        Looks like the request sent doesn't have the collection
      • 2019-08-19 23109, 2019

      • akhilesh
        that ok I think, collection is not essential
      • 2019-08-19 23112, 2019

      • Mr_Monkey
        OK, sorry, that's not the issue
      • 2019-08-19 23112, 2019

      • akhilesh
        is any problem with config/test.json Mr_Monkey
      • 2019-08-19 23140, 2019

      • gr0uch0mars has quit
      • 2019-08-19 23159, 2019

      • Mr_Monkey
        I need a bit of time, this is all new code for me. I'm walking through bit by bit to see what the problem might be
      • 2019-08-19 23116, 2019

      • akhilesh
        Mr_Monkey: once again, please share your debugging configuration in .vscode folder
      • 2019-08-19 23147, 2019

      • Mr_Monkey
        akhilesh: vscode folder is ignored by git, but here's my config:
      • 2019-08-19 23133, 2019

      • Mr_Monkey
      • 2019-08-19 23146, 2019

      • Mr_Monkey
        So I confirm that when the tests are running and I use Postman to query the search endpoint, I get null results:
      • 2019-08-19 23151, 2019

      • Mr_Monkey
      • 2019-08-19 23123, 2019

      • akhilesh
        I think, the problem is on connection of elasticsearch when tests are running Mr_Monkey
      • 2019-08-19 23104, 2019

      • akhilesh
        Did not mentioned anywhere connection with es when running test
      • 2019-08-19 23106, 2019

      • Mr_Monkey
        Well, the configuration is the same, and I do get a response to the query.
      • 2019-08-19 23126, 2019

      • Mr_Monkey
        Riht.
      • 2019-08-19 23154, 2019

      • Mr_Monkey
        Then we'll need to initialize it like we do in app.js. Let me have a look
      • 2019-08-19 23152, 2019

      • akhilesh
      • 2019-08-19 23118, 2019

      • pristine__
        alastairp: hey
      • 2019-08-19 23124, 2019

      • pristine__
        i am good
      • 2019-08-19 23125, 2019

      • pristine__
        how are you?
      • 2019-08-19 23132, 2019

      • pristine__
        Needed your guidance.
      • 2019-08-19 23134, 2019

      • pristine__
      • 2019-08-19 23154, 2019

      • pristine__
        I tried to give you a overview of the prob here.
      • 2019-08-19 23120, 2019

      • alastairp
        thanks for writing it up, I'll have a look this afternoon or tomorrow for you
      • 2019-08-19 23133, 2019

      • pristine__
        sure. Thank you :)
      • 2019-08-19 23140, 2019

      • akhilesh
        Try after putting breakpoint here : https://github.com/akhilesh26/bookbrainz-site/blo… run test, then check options value Mr_Monkey
      • 2019-08-19 23112, 2019

      • Mr_Monkey
        akhilesh: The options are fine, and they're the same as the non-test setup.
      • 2019-08-19 23128, 2019

      • akhilesh
        Mr_Monkey: Then, what is the problem? I spent lots of time yesterday to find it,
      • 2019-08-19 23137, 2019

      • Mr_Monkey
        I'm looking too
      • 2019-08-19 23143, 2019

      • Mr_Monkey
        I do seem to get the right results from ES . In `_fetchEntityModelsForESResults` in the .map `hit._source` has all the right data from ES
      • 2019-08-19 23135, 2019

      • Mr_Monkey keeps digging
      • 2019-08-19 23152, 2019

      • Lotheric has quit
      • 2019-08-19 23128, 2019

      • travis-ci joined the channel
      • 2019-08-19 23128, 2019

      • travis-ci
        metabrainz/picard#4817 (master - a4c2e74 : Philipp Wolfer): The build passed.
      • 2019-08-19 23128, 2019

      • travis-ci
      • 2019-08-19 23128, 2019

      • travis-ci
      • 2019-08-19 23128, 2019

      • travis-ci has left the channel
      • 2019-08-19 23102, 2019

      • Lotheric joined the channel
      • 2019-08-19 23104, 2019

      • akhilesh
        Mr_Monkey: did you find?
      • 2019-08-19 23121, 2019

      • Mr_Monkey
        Not yet. A bit of patience please :)
      • 2019-08-19 23146, 2019

      • akhilesh
        I reached at issue Mr_Monkey, It the problem of reindexing, If you will change the data base in the test.json, will work fine. Please check
      • 2019-08-19 23128, 2019

      • akhilesh
        Means on testing time orm of bb_test database passed to the elastic search
      • 2019-08-19 23151, 2019

      • Mr_Monkey
        Not sure I understand that last sentence akhilesh. But an index issue is likely. I tried to reindex earlier but saw no issue
      • 2019-08-19 23121, 2019

      • Mr_Monkey
        That being said, I shouldn't get search results from my test database, which means the index must be that of the main DB
      • 2019-08-19 23144, 2019

      • akhilesh
        did you check after changing `"database": "bookbrainz",` in test.json Mr_Monkey
      • 2019-08-19 23151, 2019

      • amCap1712
        gr0uch0mars: hi
      • 2019-08-19 23123, 2019

      • Mr_Monkey
        I trust your result, but let me check as well if you want
      • 2019-08-19 23147, 2019

      • akhilesh
        why not, please
      • 2019-08-19 23111, 2019

      • Mr_Monkey
        Well, I'm pretty sure the test code is going to wipe a lot of data from the database, but I can always recreate it
      • 2019-08-19 23146, 2019

      • Mr_Monkey
        Tests do pass after changing the databse akhilesh
      • 2019-08-19 23121, 2019

      • akhilesh
        What it means?
      • 2019-08-19 23148, 2019

      • akhilesh
        I think, when test.search.js running no data present in the test db, that's why all result are null Mr_Monkey
      • 2019-08-19 23116, 2019

      • akhilesh
        But Not sure
      • 2019-08-19 23133, 2019

      • Mr_Monkey
        OK, I need a bit of time to think about this issue. we currently get ES indexes of the main database rather than the test one.
      • 2019-08-19 23133, 2019

      • Mr_Monkey
        That being said, with the test currently as is, the search shouldn't return anything, as there are no entities in it when we start the test.
      • 2019-08-19 23133, 2019

      • Mr_Monkey
        So we can either 1) fake the ES response or 2) add entity to the database and make sure ES has it indexed before querying it.
      • 2019-08-19 23108, 2019

      • akhilesh
        what do you prefer? Mine option 2
      • 2019-08-19 23104, 2019

      • Mr_Monkey
        akhilesh: I think it'll have to be option 1, as we don't have ElasticSearch set up for the automated tests
      • 2019-08-19 23141, 2019

      • akhilesh
        ok, that s also good option
      • 2019-08-19 23143, 2019

      • Mr_Monkey
        And it's likely to be a headache to set it up, slow down the tests, and become irrelevant soon
      • 2019-08-19 23157, 2019

      • akhilesh
        If I will remove second test, then no problem, In first test we are checking response structure which is passing in this situation also. Whats your opinion Mr_Monkey ?
      • 2019-08-19 23134, 2019

      • Mr_Monkey
        akhilesh: Let's do that for now, that give me the time to se if we need that second test and how to best fake ES
      • 2019-08-19 23141, 2019

      • akhilesh
        ok, Is any more functionality required for search endpoint Mr_Monkey ? I think it's fine for now.
      • 2019-08-19 23131, 2019

      • Mr_Monkey
        akhilesh: Seems OK for now. I'll have another read through later today
      • 2019-08-19 23151, 2019

      • Mr_Monkey
        As well as for the other PRs
      • 2019-08-19 23159, 2019

      • akhilesh
        I have another issue on browse, May we discuss now or later Mr_Monkey
      • 2019-08-19 23109, 2019

      • Mr_Monkey
        Let's do it now !
      • 2019-08-19 23122, 2019

      • akhilesh
        ok
      • 2019-08-19 23138, 2019

      • akhilesh
        Mr_Monkey: Now fetch phase2_api branch please
      • 2019-08-19 23155, 2019

      • Mr_Monkey
        I'm on #297 now
      • 2019-08-19 23107, 2019

      • akhilesh
        with latest pull?