#metabrainz

/

      • Gentlecat
        and then just catch them all (DatabaseException) and return an error
      • 2016-08-31 24431, 2016

      • kartikgupta0909
        yepp
      • 2016-08-31 24443, 2016

      • alastairp
        right. now, the stuff that Gentlecat is adding
      • 2016-08-31 24402, 2016

      • alastairp
        see my other links above. we're being inconsistent in the two get methods when the data doesn't exist
      • 2016-08-31 24409, 2016

      • Gentlecat
        because if job_id is not a UUID, postgres will start complaining
      • 2016-08-31 24401, 2016

      • alastairp
        in the dataset get we raise an exception, in the job get we return None. We should do the same in both of them, so you should also change the get_job method to raise NoDataFoundException instead
      • 2016-08-31 24412, 2016

      • alastairp
        Gentlecat: right. this is a common pattern. I wonder if we should have a decorator for it
      • 2016-08-31 24445, 2016

      • Gentlecat
        for validating an argument?
      • 2016-08-31 24411, 2016

      • alastairp
        can you do that? perhaps not
      • 2016-08-31 24414, 2016

      • Gentlecat
        it might be a bit ugly because it's not going to be very obvious
      • 2016-08-31 24426, 2016

      • Gentlecat
        and it will always have to be in the same position I think
      • 2016-08-31 24436, 2016

      • alastairp
        anyway, at least some validation util
      • 2016-08-31 24436, 2016

      • kartikgupta0909
        ah Okay
      • 2016-08-31 24437, 2016

      • Gentlecat
        or not, if it's named
      • 2016-08-31 24449, 2016

      • kartikgupta0909
        I ll add the NoDataFoundException
      • 2016-08-31 24451, 2016

      • Gentlecat
        still a bit ugly. I think it's better to just have a function
      • 2016-08-31 24400, 2016

      • alastairp
        let's leave it out of this PR for now, because it's bigger than just the get_job
      • 2016-08-31 24408, 2016

      • alastairp
        I want to get this merged first
      • 2016-08-31 24428, 2016

      • alastairp
        yeah, a method is probably fine
      • 2016-08-31 24445, 2016

      • alastairp
        ruaok: OK. I'll take a look through it
      • 2016-08-31 24451, 2016

      • ruaok
        thx
      • 2016-08-31 24411, 2016

      • ruaok
        data flows nicely to Big Query. I'm collecting queries for use later.
      • 2016-08-31 24418, 2016

      • ruaok goes to importa nasasie
      • 2016-08-31 24426, 2016

      • kartikgupta0909
        also alastairp: Do you know some company related to music technology where I could apply for an internship for next summer?
      • 2016-08-31 24449, 2016

      • alastairp
        many
      • 2016-08-31 24423, 2016

      • alastairp
        do you have any preferred areas or countries?
      • 2016-08-31 24403, 2016

      • kartikgupta0909
        umm Dj software, or something like the EchoNest Labs
      • 2016-08-31 24447, 2016

      • kartikgupta0909
        regions I am fine with Europe or US
      • 2016-08-31 24455, 2016

      • kartikgupta0909
        preferably US since I havent been there
      • 2016-08-31 24449, 2016

      • ariscop joined the channel
      • 2016-08-31 24409, 2016

      • vin-ivar has quit
      • 2016-08-31 24439, 2016

      • vin-ivar joined the channel
      • 2016-08-31 24422, 2016

      • Catgroove
        :D
      • 2016-08-31 24425, 2016

      • Gentlecat
        zas: what do I need to do to relay through gmail?
      • 2016-08-31 24431, 2016

      • zas
        from which machine do you want to relay ?
      • 2016-08-31 24441, 2016

      • zas
        and which domain?
      • 2016-08-31 24402, 2016

      • Gentlecat
        whichever will host MeB.org when we deploy dockerized version
      • 2016-08-31 24404, 2016

      • Gentlecat
      • 2016-08-31 24450, 2016

      • MBJenkins
        Project listenbrainz-server build #193: SUCCESS in 2 min 6 sec: https://ci.metabrainz.org/job/listenbrainz-server…
      • 2016-08-31 24439, 2016

      • ruaok
        Catgroove: do me a quick favor?
      • 2016-08-31 24450, 2016

      • ruaok
        can you import into test.listenbrainz.org ?
      • 2016-08-31 24459, 2016

      • MBJenkins
        Project listenbrainz-server build #194: SUCCESS in 1 min 40 sec: https://ci.metabrainz.org/job/listenbrainz-server…
      • 2016-08-31 24430, 2016

      • mihaitish joined the channel
      • 2016-08-31 24443, 2016

      • ariscop has quit
      • 2016-08-31 24408, 2016

      • ariscop joined the channel
      • 2016-08-31 24403, 2016

      • alastairp
        🍺
      • 2016-08-31 24405, 2016

      • alastairp
        uh
      • 2016-08-31 24431, 2016

      • alastairp
        well, it *is* after midday
      • 2016-08-31 24415, 2016

      • kyan joined the channel
      • 2016-08-31 24417, 2016

      • CatQuest
        ruaok: i cna do it now
      • 2016-08-31 24421, 2016

      • ruaok
        thx
      • 2016-08-31 24429, 2016

      • CatQuest
        hmm how od i know if it's working?
      • 2016-08-31 24449, 2016

      • ruaok
        is the dialog saying it is importing?
      • 2016-08-31 24459, 2016

      • ruaok
        if so, open another tab and go to "your listens"
      • 2016-08-31 24402, 2016

      • ruaok
        are they appearing?
      • 2016-08-31 24428, 2016

      • CatQuest
        the dialogue has just thel istenbrianz logo and no listens are apearing. gonan try with the othe firefox
      • 2016-08-31 24414, 2016

      • CatQuest
        works with the other firefox
      • 2016-08-31 24409, 2016

      • ruaok
        k
      • 2016-08-31 24413, 2016

      • CatQuest
        it's gonna take a while though, it's on page 805 of 21279
      • 2016-08-31 24422, 2016

      • ruaok
        yeah.
      • 2016-08-31 24414, 2016

      • CatQuest
        'ill be leaving at 15:40 some time before that..
      • 2016-08-31 24414, 2016

      • CatQuest
        actulaly I'll be leaving NOW since I haven't even figured out what to waer because weather is so unpredictable
      • 2016-08-31 24427, 2016

      • CatQuest
        i'll jsut leave it unning
      • 2016-08-31 24435, 2016

      • CatQuest
        running even
      • 2016-08-31 24458, 2016

      • ruaok
        k, thx
      • 2016-08-31 24420, 2016

      • ruaok
        still going?
      • 2016-08-31 24411, 2016

      • CatQuest
        quarter way about
      • 2016-08-31 24428, 2016

      • CatQuest
        I must go now so I can't reply to many more questions, sorry
      • 2016-08-31 24402, 2016

      • drsaunde joined the channel
      • 2016-08-31 24400, 2016

      • ruaok
        no worries.
      • 2016-08-31 24450, 2016

      • D4RK-PH0ENiX has quit
      • 2016-08-31 24417, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-08-31 24449, 2016

      • D4RK-PH0ENiX has quit
      • 2016-08-31 24453, 2016

      • drsaunde has quit
      • 2016-08-31 24409, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-08-31 24407, 2016

      • Lotheric has quit
      • 2016-08-31 24411, 2016

      • Zialus joined the channel
      • 2016-08-31 24405, 2016

      • Yurim joined the channel
      • 2016-08-31 24417, 2016

      • drsaunders joined the channel
      • 2016-08-31 24422, 2016

      • zas
        bitmap: ping
      • 2016-08-31 24422, 2016

      • diana_olhovyk has quit
      • 2016-08-31 24403, 2016

      • kyan has quit
      • 2016-08-31 24428, 2016

      • drsaunders has quit
      • 2016-08-31 24420, 2016

      • dehy has quit
      • 2016-08-31 24417, 2016

      • dehy joined the channel
      • 2016-08-31 24442, 2016

      • Lotheric joined the channel
      • 2016-08-31 24451, 2016

      • JesseW joined the channel
      • 2016-08-31 24454, 2016

      • zas
        bitmap, ruaok, Gentlecat: i'm testing cAdvisor to monitor docker containers, reporting to influxdb, and grafana
      • 2016-08-31 24432, 2016

      • zas
        http://dockertest1.brainz.io:8080/containers/ is the web output for cAdvisor
      • 2016-08-31 24453, 2016

      • zas
      • 2016-08-31 24447, 2016

      • zas
        cAdvisor is collecting data for each container on the machine it is running on, it forwards metrics to our influxdb
      • 2016-08-31 24430, 2016

      • diana_olhovyk_ joined the channel
      • 2016-08-31 24424, 2016

      • yeeeargh joined the channel
      • 2016-08-31 24419, 2016

      • yvanz
        zas: is it fine to now replace webstats and mrtg by grafana in the wiki doc?
      • 2016-08-31 24426, 2016

      • zas
        yes, if links are broken
      • 2016-08-31 24414, 2016

      • yvanz
        yes, done https://wiki.musicbrainz.org/index.php?title=Host… (my first-ever wiki edit)
      • 2016-08-31 24429, 2016

      • JesseW has quit
      • 2016-08-31 24408, 2016

      • dehy has quit
      • 2016-08-31 24452, 2016

      • CampSoup joined the channel
      • 2016-08-31 24424, 2016

      • CampSoup
        I am trying to create a listing for Festival Of Irish Music, Vol. 6 ( https://www.amazon.com/dp/B000006185 ). I found that this album was previously released under a different title and label number as "The Very Best Of Irish Music" ( https://musicbrainz.org/release/59d3cec4-34bd-4d0… ). Is it possible to get this album listed as a 'Release Duplicate' so that I don't need to manually import all the information
      • 2016-08-31 24441, 2016

      • CampSoup
        artist and songs that are already in the database? Thank you
      • 2016-08-31 24438, 2016

      • reosarevok
        CampSoup: #musicbrainz is better :) But you can click "Add Medium" on the tracklist page and search for the existing medium there
      • 2016-08-31 24455, 2016

      • CampSoup
        Ok, Ill try that
      • 2016-08-31 24441, 2016

      • CampSoup
        Thank you
      • 2016-08-31 24410, 2016

      • Slurpee joined the channel
      • 2016-08-31 24410, 2016

      • CampSoup
        I didn't think of that even though I had actually looked at that feature earlier...
      • 2016-08-31 24417, 2016

      • CampSoup
        Last question, do I have to submit the new listing before I could submit the disc ID for the second disc in the album?
      • 2016-08-31 24454, 2016

      • diana_olhovyk_ has quit
      • 2016-08-31 24457, 2016

      • reosarevok
        Yeah :/
      • 2016-08-31 24405, 2016

      • reosarevok
        I think that's still how it works
      • 2016-08-31 24408, 2016

      • CampSoup
        Thats what I also thought. Thank you
      • 2016-08-31 24435, 2016

      • Mineo joined the channel
      • 2016-08-31 24442, 2016

      • lazka joined the channel
      • 2016-08-31 24446, 2016

      • CampSoup has quit
      • 2016-08-31 24422, 2016

      • bitmap
        zas: cool
      • 2016-08-31 24446, 2016

      • lazka has quit
      • 2016-08-31 24413, 2016

      • zas
        bitmap: i created 2 scripts, one to install docker with docker-compose on 16.04, another to deploy cAdvisor container, see https://github.com/metabrainz/docker-helpers
      • 2016-08-31 24430, 2016

      • dehy joined the channel
      • 2016-08-31 24401, 2016

      • zas
        i'm currently testing ways to clean old containers & images (because those leftover are using a lot of diskspace)
      • 2016-08-31 24412, 2016

      • bitmap
        are we not using docker-machine stuff?
      • 2016-08-31 24427, 2016

      • bitmap
        (I thought it installed docker for you)
      • 2016-08-31 24447, 2016

      • zas
        dunno
      • 2016-08-31 24455, 2016

      • zas
        docker run -ti -v /var/run/docker.sock:/var/run/docker.sock yelp/docker-custodian dcgc --max-image-age 1h --max-container-age 1h
      • 2016-08-31 24408, 2016

      • zas
        works well
      • 2016-08-31 24435, 2016

      • zas
        bitmap: i created a vm for docker tests
      • 2016-08-31 24444, 2016

      • zas
        i'll add your key
      • 2016-08-31 24445, 2016

      • bitmap
        I should run that locally...
      • 2016-08-31 24452, 2016

      • bitmap
        great
      • 2016-08-31 24430, 2016

      • lazka joined the channel
      • 2016-08-31 24448, 2016

      • dehy has quit
      • 2016-08-31 24442, 2016

      • dehy joined the channel
      • 2016-08-31 24459, 2016

      • diana_olhovyk joined the channel
      • 2016-08-31 24420, 2016

      • dehy has quit
      • 2016-08-31 24403, 2016

      • dehy joined the channel
      • 2016-08-31 24414, 2016

      • zas
        ruaok: what are the limits for google cloud instances ? we need to create few vms for tests and wonder about that
      • 2016-08-31 24445, 2016

      • ruaok
        how long do you want to run them for?
      • 2016-08-31 24447, 2016

      • ruaok
        hours or weeks?
      • 2016-08-31 24415, 2016

      • zas
        weeks for most, until we switch to NewHost
      • 2016-08-31 24445, 2016

      • zas
        basically we'll need them to play with docker swarm and our containers and see if everything plays well together
      • 2016-08-31 24406, 2016

      • ruaok
        how many vms?
      • 2016-08-31 24410, 2016

      • ruaok
        and what size?
      • 2016-08-31 24434, 2016

      • dehy has quit
      • 2016-08-31 24441, 2016

      • zas
        check current list, we may need one more, dockertest1 & dockertest2
      • 2016-08-31 24443, 2016

      • ruaok
        guesses ok. :)
      • 2016-08-31 24428, 2016

      • _Dave_ joined the channel
      • 2016-08-31 24451, 2016

      • kyan joined the channel
      • 2016-08-31 24408, 2016

      • lazka has quit
      • 2016-08-31 24437, 2016

      • mihaitish has quit
      • 2016-08-31 24452, 2016

      • kyan has quit
      • 2016-08-31 24424, 2016

      • CallerNo6 has quit