#metabrainz

/

      • ishaanshah
        We can just add the format in a doctstring
      • iliekcomputers
        although, it is a pretty nice guarantee that the data is in the same format from start to end
      • D4RK-PH0ENiX has quit
      • ishaanshah
        > although, it is a pretty nice guarantee that the data is in the same format from start to end
      • We are validating before insertion and after rwtrieval right?
      • retrieval*
      • iliekcomputers
        for code readability, i meant
      • hmm
      • D4RK-PH0ENiX joined the channel
      • 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
      • ishaanshah
        Ok, I will do that, just to be clear the feedback module should remain in the db dir right?
      • only the new listening_activity model in the root
      • iliekcomputers
        yeah
      • ishaanshah
        Cool, I will do that
      • jmp_music has quit
      • shivam-kapila
        iliekcomputers: Made some changes to the docs along with resolving some Sphinx errors
      • ishaanshah
        shivam-kapila: I guess this endpoint is also not needed
      • Can you remove this too
      • shivam-kapila
        Sure
      • ishaanshah
        Thanks :)
      • shivam-kapila
        removed
      • ishaanshah
        nice commit message :P
      • shivam-kapila
        haha.
      • So relatable 🤣
      • 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
      • ishaanshah
        Why is Jenkins asking me for user name and password?
      • shivam-kapila
      • jmp_music joined the channel
      • ishaanshah
        How do I check the build now?
      • shivam-kapila
        I dont think we are registered into ci.meb.org
      • Did you run the spark tests locally?
      • ishaanshah
        Not, yet
      • jmp_music
        alastairp: Hello! Do you have any time for short meeting sometime today?
      • ishaanshah
        I will do that
      • shivam-kapila
        They will give you the same logs
      • and errors
      • ishaanshah
        Yeah I will do that
      • alastairp
        jmp_music: yes sure, in 90 minutes?
      • jmp_music
        cool!
      • thanks
      • 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/p...
      • travis-ci joined the channel
      • travis-ci
        Project bookbrainz-site build #3137: passed in 3 min 19 sec: https://travis-ci.org/bookbrainz/bookbrainz-sit...
      • travis-ci has left the channel
      • prabal
        Mr_Monkey: niccee api is almost done. Search pr and late limiter pr left
      • Mr_Monkey
        🎉 Weee !
      • Thanks for you help on these PRs, it's been really helpful
      • prabal
        😁😁
      • sumedh has quit
      • yvanzo
        ruaok: yes, you can stop it right away, I stopped containers and saved any useful stuff yesterday.
      • ruaok
        great, thanks!
      • ruaok rushes to close that account
      • Mr_Monkey
        prabal: How is the collections project going? Is there anything you want to discuss, or requests I might have missed?
      • prabal
        It's been going fineee
      • I've made changes you suggested in last review wi
      • Will push them today
      • sumedh joined the channel
      • Mr_Monkey
        Great :) Don't hesitate if you have questions!
      • shivam-kapila
        ruaok: 2 months gap?
      • iliekcomputers
        ishaanshah: bitmap or zas can probably create an account for you in the meanwhile, it is a regression
      • shivam-kapila ishaanshah: bitmap or zas can probably create an account for you in the meanwhile, it is a regression
      • shivam-kapila
        oops. sorry
      • alastairp
        jmp_music: hi, I'm here
      • jmp_music
        Hey!
      • So, till now, gaia is installed successfully in a docker image
      • However, I cannot load as a module the train_model() which is located inside the scripts.classification.train_model script
      • I ve tested the generate_project() from another script that is located inside the classification project, and it is loaded successfully
      • alastairp
        let me open this project
      • jmp_music
        ok! I 've experimented with this in a new repo
      • do you want to share it with you?
      • alastairp
        yes, of course
      • so you're trying to run gaia2.scripts.classification.train_model.train_model() ?
      • jmp_music
        I 've tried to run this script in many ways
      • but it cannot be loaded
      • the docker image can be built by the dockerfile which is located inside the gaia_python2-7 directory
      • in the repo I shared with you
      • just to mention, the generate_classification_project successfully creates the project.yaml file of the project based on the template
      • alastairp
        do you have a specific error message?
      • I'm just building the project now
      • jmp_music
        ok!
      • just uncomment first the "from gaia2.scripts.classification.train_model \ import train_model as training_model"
      • and the function call inside the main()
      • alastairp
        right
      • jmp_music
        the error is that it cannot import the training_model (or even the train_model when I call it)
      • alastairp
        ImportError: cannot import name train_model
      • this error?
      • jmp_music
        exactly
      • alastairp
        oh, one sec
      • jmp_music
        the documentantion in gaia says this is the function to build a projecy
      • project*
      • alastairp
      • jmp_music
        yeah take your time
      • alastairp
        we use an old version of gaia in acousticbrainz
      • you'll want to use master
      • jmp_music
        Oh! Ok I'll test it
      • alastairp
        you'll also have to install the libeigen3-dev package to compile gaia
      • I did this:
      • >>> from gaia2.scripts.classification import train_model
      • >>> dir(train_model)
      • 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 _
      • 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
      • alastairp
        ask sooner! if you have a problem like this just let me know
      • you don't need to wait for a specific meeting time or anything
      • just say "hey, I'm trying to run this <example script> and I'm getting an error <the error>"
      • I'll be happy to help
      • jmp_music
        I appreciate it, I just don't want to bother. I'm a little shy of what you understand :) haha
      • alastairp
        yeah, I understand. it can be hard to know when to ask questions too
      • remember that the only reason this channel exists is for people to ask development questions, so we may as well use it
      • feel free to send me an email too if you prefer
      • sumedh has quit
      • sumedh joined the channel
      • c1e0 joined the channel
      • 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
      • ishaanshah
        iliekcomputers: 10:30 is good for me
      • IST*
      • iliekcomputers
        great, thanks!
      • updated the invite
      • sumedh has quit
      • bitmap
        ishaanshah: can you see jenkins now? somehow the anonymous permissions got changed, should be fixed now
      • ishaanshah
        bitmap: Yes I can see it now, thanks :)
      • bitmap
        but if you need an account to trigger/cancel jobs I can make one for you too
      • ishaanshah
        that would be great
      • should I dm you my email?
      • bitmap
        nope, I'll just send you a temporary password, one moment
      • BrainzGit
        [bookbrainz-site] MonkeyDo merged pull request #299 (master…search_api): feat(search): add search endpoint for API https://github.com/bookbrainz/bookbrainz-site/p...
      • 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
      • bitmap
        ohh ok
      • alastairp
        I see that reosarevok's broken link works now (MBH-543)
      • BrainzBot
        MBH-543: Can't see Jenkins job at all when not logged in https://tickets.metabrainz.org/browse/MBH-543
      • bitmap
        do you need permissions for something?
      • alastairp
        so it seems that it was broken before yesterday before I started poking at it
      • iliekcomputers
        there is also an alert in telegram going off every two hours
      • Mr_Monkey
        That one should be fixed now iliekcomputers
      • 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
      • iliekcomputers
        ah. ok.
      • 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 ;)
      • travis-ci joined the channel
      • travis-ci
        Project bookbrainz-site build #3141: failed in 3 min 25 sec: https://travis-ci.org/bookbrainz/bookbrainz-sit...
      • travis-ci has left the channel
      • bitmap
        alastairp: darn! did it help any?
      • if it's a critical ingredient I might be able to post some :)
      • travis-ci joined the channel
      • travis-ci
        Project bookbrainz-site build #3141: passed in 3 min 32 sec: https://travis-ci.org/bookbrainz/bookbrainz-sit...
      • travis-ci has left the channel
      • 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
      • 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
      • reg[m] joined the channel
      • bitmap
        alastairp: awesome