#metabrainz

/

      • ishaanshah
        We can just add the format in a doctstring
      • 2020-06-19 17123, 2020

      • iliekcomputers
        although, it is a pretty nice guarantee that the data is in the same format from start to end
      • 2020-06-19 17133, 2020

      • D4RK-PH0ENiX has quit
      • 2020-06-19 17129, 2020

      • ishaanshah
        > although, it is a pretty nice guarantee that the data is in the same format from start to end
      • 2020-06-19 17129, 2020

      • ishaanshah
        We are validating before insertion and after rwtrieval right?
      • 2020-06-19 17137, 2020

      • ishaanshah
        retrieval*
      • 2020-06-19 17147, 2020

      • iliekcomputers
        for code readability, i meant
      • 2020-06-19 17112, 2020

      • iliekcomputers
        hmm
      • 2020-06-19 17135, 2020

      • D4RK-PH0ENiX joined the channel
      • 2020-06-19 17123, 2020

      • iliekcomputers
        let's just put the model in a root data module, i don't really think it's a nice idea to use these models in some place and not use them in other places
      • 2020-06-19 17136, 2020

      • ishaanshah
        Ok, I will do that, just to be clear the feedback module should remain in the db dir right?
      • 2020-06-19 17152, 2020

      • ishaanshah
        only the new listening_activity model in the root
      • 2020-06-19 17159, 2020

      • iliekcomputers
        yeah
      • 2020-06-19 17121, 2020

      • ishaanshah
        Cool, I will do that
      • 2020-06-19 17123, 2020

      • jmp_music has quit
      • 2020-06-19 17108, 2020

      • shivam-kapila
        iliekcomputers: Made some changes to the docs along with resolving some Sphinx errors
      • 2020-06-19 17112, 2020

      • ishaanshah
        shivam-kapila: I guess this endpoint is also not needed
      • 2020-06-19 17112, 2020

      • ishaanshah
      • 2020-06-19 17152, 2020

      • ishaanshah
        Can you remove this too
      • 2020-06-19 17103, 2020

      • shivam-kapila
        Sure
      • 2020-06-19 17110, 2020

      • ishaanshah
        Thanks :)
      • 2020-06-19 17136, 2020

      • shivam-kapila
        removed
      • 2020-06-19 17116, 2020

      • ishaanshah
        nice commit message :P
      • 2020-06-19 17129, 2020

      • shivam-kapila
        haha.
      • 2020-06-19 17109, 2020

      • shivam-kapila
        So relatable 🤣
      • 2020-06-19 17125, 2020

      • ruaok
        yvanzo: did you see my message about the MB VM VM on azure? I would like to stop that instance and close our azure account near the end of the month
      • 2020-06-19 17123, 2020

      • ishaanshah
        Why is Jenkins asking me for user name and password?
      • 2020-06-19 17137, 2020

      • ishaanshah
      • 2020-06-19 17139, 2020

      • shivam-kapila
      • 2020-06-19 17150, 2020

      • jmp_music joined the channel
      • 2020-06-19 17147, 2020

      • ishaanshah
        How do I check the build now?
      • 2020-06-19 17136, 2020

      • shivam-kapila
        I dont think we are registered into ci.meb.org
      • 2020-06-19 17108, 2020

      • shivam-kapila
        Did you run the spark tests locally?
      • 2020-06-19 17117, 2020

      • ishaanshah
        Not, yet
      • 2020-06-19 17122, 2020

      • jmp_music
        alastairp: Hello! Do you have any time for short meeting sometime today?
      • 2020-06-19 17122, 2020

      • ishaanshah
        I will do that
      • 2020-06-19 17131, 2020

      • shivam-kapila
        They will give you the same logs
      • 2020-06-19 17134, 2020

      • shivam-kapila
        and errors
      • 2020-06-19 17138, 2020

      • ishaanshah
        Yeah I will do that
      • 2020-06-19 17126, 2020

      • alastairp
        jmp_music: yes sure, in 90 minutes?
      • 2020-06-19 17149, 2020

      • jmp_music
        cool!
      • 2020-06-19 17151, 2020

      • jmp_music
        thanks
      • 2020-06-19 17139, 2020

      • BrainzGit
        [bookbrainz-site] MonkeyDo merged pull request #297 (master…phase2_api): feat(browseRequests): add browse endpoints with test and documentation in progress https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2020-06-19 17135, 2020

      • travis-ci joined the channel
      • 2020-06-19 17135, 2020

      • travis-ci
        Project bookbrainz-site build #3137: passed in 3 min 19 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2020-06-19 17135, 2020

      • travis-ci has left the channel
      • 2020-06-19 17121, 2020

      • prabal
        Mr_Monkey: niccee api is almost done. Search pr and late limiter pr left
      • 2020-06-19 17135, 2020

      • Mr_Monkey
        🎉 Weee !
      • 2020-06-19 17146, 2020

      • Mr_Monkey
        Thanks for you help on these PRs, it's been really helpful
      • 2020-06-19 17109, 2020

      • prabal
        😁😁
      • 2020-06-19 17142, 2020

      • sumedh has quit
      • 2020-06-19 17126, 2020

      • yvanzo
        ruaok: yes, you can stop it right away, I stopped containers and saved any useful stuff yesterday.
      • 2020-06-19 17142, 2020

      • ruaok
        great, thanks!
      • 2020-06-19 17135, 2020

      • ruaok rushes to close that account
      • 2020-06-19 17149, 2020

      • Mr_Monkey
        prabal: How is the collections project going? Is there anything you want to discuss, or requests I might have missed?
      • 2020-06-19 17149, 2020

      • prabal
        It's been going fineee
      • 2020-06-19 17111, 2020

      • prabal
        I've made changes you suggested in last review wi
      • 2020-06-19 17117, 2020

      • prabal
        Will push them today
      • 2020-06-19 17110, 2020

      • sumedh joined the channel
      • 2020-06-19 17130, 2020

      • Mr_Monkey
        Great :) Don't hesitate if you have questions!
      • 2020-06-19 17141, 2020

      • shivam-kapila
        ruaok: 2 months gap?
      • 2020-06-19 17108, 2020

      • iliekcomputers
        ishaanshah: bitmap or zas can probably create an account for you in the meanwhile, it is a regression
      • 2020-06-19 17158, 2020

      • shivam-kapila ishaanshah: bitmap or zas can probably create an account for you in the meanwhile, it is a regression
      • 2020-06-19 17157, 2020

      • shivam-kapila
        oops. sorry
      • 2020-06-19 17120, 2020

      • alastairp
        jmp_music: hi, I'm here
      • 2020-06-19 17131, 2020

      • jmp_music
        Hey!
      • 2020-06-19 17126, 2020

      • jmp_music
        So, till now, gaia is installed successfully in a docker image
      • 2020-06-19 17124, 2020

      • jmp_music
        However, I cannot load as a module the train_model() which is located inside the scripts.classification.train_model script
      • 2020-06-19 17117, 2020

      • jmp_music
        I ve tested the generate_project() from another script that is located inside the classification project, and it is loaded successfully
      • 2020-06-19 17153, 2020

      • alastairp
        let me open this project
      • 2020-06-19 17129, 2020

      • jmp_music
        ok! I 've experimented with this in a new repo
      • 2020-06-19 17136, 2020

      • jmp_music
        do you want to share it with you?
      • 2020-06-19 17100, 2020

      • alastairp
        yes, of course
      • 2020-06-19 17145, 2020

      • alastairp
        so you're trying to run gaia2.scripts.classification.train_model.train_model() ?
      • 2020-06-19 17121, 2020

      • jmp_music
        I 've tried to run this script in many ways
      • 2020-06-19 17143, 2020

      • jmp_music
        but it cannot be loaded
      • 2020-06-19 17121, 2020

      • jmp_music
        the docker image can be built by the dockerfile which is located inside the gaia_python2-7 directory
      • 2020-06-19 17129, 2020

      • jmp_music
        in the repo I shared with you
      • 2020-06-19 17128, 2020

      • jmp_music
        just to mention, the generate_classification_project successfully creates the project.yaml file of the project based on the template
      • 2020-06-19 17116, 2020

      • alastairp
        do you have a specific error message?
      • 2020-06-19 17120, 2020

      • alastairp
        I'm just building the project now
      • 2020-06-19 17125, 2020

      • jmp_music
        ok!
      • 2020-06-19 17126, 2020

      • jmp_music
        just uncomment first the "from gaia2.scripts.classification.train_model \ import train_model as training_model"
      • 2020-06-19 17148, 2020

      • jmp_music
        and the function call inside the main()
      • 2020-06-19 17159, 2020

      • alastairp
        right
      • 2020-06-19 17100, 2020

      • jmp_music
        the error is that it cannot import the training_model (or even the train_model when I call it)
      • 2020-06-19 17101, 2020

      • alastairp
        ImportError: cannot import name train_model
      • 2020-06-19 17103, 2020

      • alastairp
        this error?
      • 2020-06-19 17105, 2020

      • jmp_music
        exactly
      • 2020-06-19 17137, 2020

      • alastairp
        oh, one sec
      • 2020-06-19 17140, 2020

      • jmp_music
        the documentantion in gaia says this is the function to build a projecy
      • 2020-06-19 17144, 2020

      • jmp_music
        project*
      • 2020-06-19 17148, 2020

      • alastairp
      • 2020-06-19 17149, 2020

      • jmp_music
        yeah take your time
      • 2020-06-19 17103, 2020

      • alastairp
        we use an old version of gaia in acousticbrainz
      • 2020-06-19 17110, 2020

      • alastairp
        you'll want to use master
      • 2020-06-19 17144, 2020

      • jmp_music
        Oh! Ok I'll test it
      • 2020-06-19 17100, 2020

      • alastairp
        you'll also have to install the libeigen3-dev package to compile gaia
      • 2020-06-19 17145, 2020

      • alastairp
        I did this:
      • 2020-06-19 17147, 2020

      • alastairp
        >>> from gaia2.scripts.classification import train_model
      • 2020-06-19 17151, 2020

      • alastairp
        >>> dir(train_model)
      • 2020-06-19 17120, 2020

      • alastairp
        and saw that there was a method `trainModel` - I remembered that one thing we did when we updated these tools was to change the name of the methods to use _
      • 2020-06-19 17115, 2020

      • jmp_music
        ok! I 'll make the changes and I 'll inform you. Big big thanks! I'm breaking my head two days now to figure out what happens '=D
      • 2020-06-19 17151, 2020

      • alastairp
        ask sooner! if you have a problem like this just let me know
      • 2020-06-19 17103, 2020

      • alastairp
        you don't need to wait for a specific meeting time or anything
      • 2020-06-19 17127, 2020

      • alastairp
        just say "hey, I'm trying to run this <example script> and I'm getting an error <the error>"
      • 2020-06-19 17132, 2020

      • alastairp
        I'll be happy to help
      • 2020-06-19 17154, 2020

      • jmp_music
        I appreciate it, I just don't want to bother. I'm a little shy of what you understand :) haha
      • 2020-06-19 17129, 2020

      • alastairp
        yeah, I understand. it can be hard to know when to ask questions too
      • 2020-06-19 17101, 2020

      • alastairp
        remember that the only reason this channel exists is for people to ask development questions, so we may as well use it
      • 2020-06-19 17110, 2020

      • alastairp
        feel free to send me an email too if you prefer
      • 2020-06-19 17111, 2020

      • sumedh has quit
      • 2020-06-19 17104, 2020

      • sumedh joined the channel
      • 2020-06-19 17117, 2020

      • c1e0 joined the channel
      • 2020-06-19 17138, 2020

      • iliekcomputers
        ishaanshah: hey, i won't be able to make it to our meeting, we can either push it an hour or just cancel it, whatever works for you
      • 2020-06-19 17109, 2020

      • ishaanshah
        iliekcomputers: 10:30 is good for me
      • 2020-06-19 17114, 2020

      • ishaanshah
        IST*
      • 2020-06-19 17130, 2020

      • iliekcomputers
        great, thanks!
      • 2020-06-19 17136, 2020

      • iliekcomputers
        updated the invite
      • 2020-06-19 17120, 2020

      • sumedh has quit
      • 2020-06-19 17109, 2020

      • bitmap
        ishaanshah: can you see jenkins now? somehow the anonymous permissions got changed, should be fixed now
      • 2020-06-19 17148, 2020

      • ishaanshah
        bitmap: Yes I can see it now, thanks :)
      • 2020-06-19 17157, 2020

      • bitmap
        but if you need an account to trigger/cancel jobs I can make one for you too
      • 2020-06-19 17124, 2020

      • ishaanshah
        that would be great
      • 2020-06-19 17106, 2020

      • ishaanshah
        should I dm you my email?
      • 2020-06-19 17141, 2020

      • bitmap
        nope, I'll just send you a temporary password, one moment
      • 2020-06-19 17106, 2020

      • BrainzGit
        [bookbrainz-site] MonkeyDo merged pull request #299 (master…search_api): feat(search): add search endpoint for API https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2020-06-19 17148, 2020

      • alastairp
        bitmap: mmm, I tried to play with the permissions yesterday and accidentally deleted a bunch of them, but I guess I didn't restore them all properly
      • 2020-06-19 17113, 2020

      • bitmap
        ohh ok
      • 2020-06-19 17116, 2020

      • alastairp
        I see that reosarevok's broken link works now (MBH-543)
      • 2020-06-19 17117, 2020

      • BrainzBot
        MBH-543: Can't see Jenkins job at all when not logged in https://tickets.metabrainz.org/browse/MBH-543
      • 2020-06-19 17126, 2020

      • bitmap
        do you need permissions for something?
      • 2020-06-19 17129, 2020

      • alastairp
        so it seems that it was broken before yesterday before I started poking at it
      • 2020-06-19 17142, 2020

      • iliekcomputers
        there is also an alert in telegram going off every two hours
      • 2020-06-19 17159, 2020

      • Mr_Monkey
        That one should be fixed now iliekcomputers
      • 2020-06-19 17104, 2020

      • alastairp
        I'm an admin I believe, I was trying to work out why his issue ^ was happening, but it's not happening any more to me in an incognito window
      • 2020-06-19 17108, 2020

      • iliekcomputers
        ah. ok.
      • 2020-06-19 17103, 2020

      • alastairp
        bitmap: btw, we finished the beer additive that you bought last year... a pity there won't be a summit this year for me to order more ;)
      • 2020-06-19 17105, 2020

      • travis-ci joined the channel
      • 2020-06-19 17105, 2020

      • travis-ci
        Project bookbrainz-site build #3141: failed in 3 min 25 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2020-06-19 17105, 2020

      • travis-ci has left the channel
      • 2020-06-19 17126, 2020

      • bitmap
        alastairp: darn! did it help any?
      • 2020-06-19 17139, 2020

      • bitmap
        if it's a critical ingredient I might be able to post some :)
      • 2020-06-19 17159, 2020

      • travis-ci joined the channel
      • 2020-06-19 17159, 2020

      • travis-ci
        Project bookbrainz-site build #3141: passed in 3 min 32 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2020-06-19 17159, 2020

      • travis-ci has left the channel
      • 2020-06-19 17108, 2020

      • alastairp
        bitmap: yeah! it really did - all of our gluten-intolerant-ish friends say that it's much easier on their stomachs than regular beer
      • 2020-06-19 17109, 2020

      • alastairp
        I think one of my local shops can source it for me. he doesn't want to carry it, but will get it on request if needed
      • 2020-06-19 17129, 2020

      • reg[m] joined the channel
      • 2020-06-19 17108, 2020

      • bitmap
        alastairp: awesome