#metabrainz

/

      • Quesito
        ;)
      • 2017-02-24 05509, 2017

      • hibiscuskazeneko
        "bonamassa"?
      • 2017-02-24 05511, 2017

      • ruaok
        March 25th in Cunit.
      • 2017-02-24 05519, 2017

      • CatQuest
        avaryty of musical acts, not jsut this weird cage stuff and whatever those other things are :P
      • 2017-02-24 05525, 2017

      • Quesito
        where is Cunit?
      • 2017-02-24 05536, 2017

      • ruaok
        1 hour south by train. we meet at Sants.
      • 2017-02-24 05541, 2017

      • CatQuest
        ss..sounds likea other word o_O
      • 2017-02-24 05544, 2017

      • ruaok
        short walk from station to restaurant.
      • 2017-02-24 05554, 2017

      • Quesito
        hmmm possibly!
      • 2017-02-24 05503, 2017

      • ruaok
        then we take over a rail car on the way back.
      • 2017-02-24 05523, 2017

      • Quesito
        my calcots are still growing too....need to have our calcotada at some point!
      • 2017-02-24 05535, 2017

      • ruaok
      • 2017-02-24 05545, 2017

      • ruaok
        more calçotadas!
      • 2017-02-24 05518, 2017

      • CatQuest
        ruaok: does hetzner give us images of our servers?
      • 2017-02-24 05522, 2017

      • CatQuest
        probably not :/
      • 2017-02-24 05524, 2017

      • Quesito
        ;)
      • 2017-02-24 05546, 2017

      • ruaok
        CatQuest: nope
      • 2017-02-24 05548, 2017

      • ruaok
        Quesito: invited.
      • 2017-02-24 05551, 2017

      • CatQuest
        sad
      • 2017-02-24 05529, 2017

      • Quesito
        👍I check the sch.
      • 2017-02-24 05521, 2017

      • newbie_ joined the channel
      • 2017-02-24 05514, 2017

      • newbie_ has quit
      • 2017-02-24 05519, 2017

      • hibiscuskazeneko has quit
      • 2017-02-24 05543, 2017

      • UmkaDK has quit
      • 2017-02-24 05506, 2017

      • zas
        ruaok: lemmy is ready, docker installed + our basic services (consul/dnsmasq/registrator), nagios/telegraf should be ok too
      • 2017-02-24 05536, 2017

      • ruaok
        fabulous, thanks.
      • 2017-02-24 05538, 2017

      • zas
        you can start with it, i'm off for lunch
      • 2017-02-24 05548, 2017

      • ruaok
        perfect, I'm off to the office.
      • 2017-02-24 05553, 2017

      • ruaok
        good teamwork!
      • 2017-02-24 05508, 2017

      • UmkaDK joined the channel
      • 2017-02-24 05525, 2017

      • agentsim has quit
      • 2017-02-24 05516, 2017

      • saifulbkhan joined the channel
      • 2017-02-24 05543, 2017

      • agentsim joined the channel
      • 2017-02-24 05505, 2017

      • Freso doesn't want to go out in the rain -.-
      • 2017-02-24 05516, 2017

      • CatQuest
        Freso: ædda bædda: det regner ikke her!
      • 2017-02-24 05545, 2017

      • Freso
        No, but it's probably freezing (literally, or at least figuratively) instead. 🙄
      • 2017-02-24 05524, 2017

      • agentsim has quit
      • 2017-02-24 05548, 2017

      • CatQuest
        it's pretty balmy right now. at the week it'll be +6
      • 2017-02-24 05502, 2017

      • CatQuest
        (tomorow it'll be -5 isntead but hey. it's getting warmer :D)
      • 2017-02-24 05512, 2017

      • CatQuest
        and this year's winte has been.. not ery cold :/
      • 2017-02-24 05559, 2017

      • reosarevok
        Freso: not in BCN anymore?
      • 2017-02-24 05518, 2017

      • alastairp
        reosarevok: it's raining here
      • 2017-02-24 05522, 2017

      • Freso
        I am.
      • 2017-02-24 05533, 2017

      • saifulbkhan
        Gentlecat: Hey!
      • 2017-02-24 05549, 2017

      • Freso
        I wanted to go to the office... but I don't want to go out in the rain. :|
      • 2017-02-24 05519, 2017

      • saifulbkhan
        Not sure if this is entirely my fault... but using brainzutils/cache module gives me this: https://hastebin.com/raw/ukupojurin
      • 2017-02-24 05528, 2017

      • saifulbkhan
        when asking for a recording's summary
      • 2017-02-24 05506, 2017

      • saifulbkhan
      • 2017-02-24 05525, 2017

      • alastairp
        saifulbkhan: you have to be careful about what you use as UUIDs
      • 2017-02-24 05537, 2017

      • alastairp
        if you get it from a database, you may have a UUID object (uuid.UUID)
      • 2017-02-24 05549, 2017

      • alastairp
        you can turn it into a string by calling str(theuuid)
      • 2017-02-24 05552, 2017

      • saifulbkhan
        yes that is indeed whats causing the error
      • 2017-02-24 05509, 2017

      • alastairp
        or in the database query, `SELECT id::text` so that it comes out as a string not object
      • 2017-02-24 05515, 2017

      • saifulbkhan
        but is it in ab-server's scope to do that?
      • 2017-02-24 05525, 2017

      • saifulbkhan
        oh ok I could try that
      • 2017-02-24 05532, 2017

      • alastairp
        yes, in AB I've started to return ::text for uuid fields
      • 2017-02-24 05551, 2017

      • alastairp
        because most of the time it's more useful for us to work with strings instead of objects
      • 2017-02-24 05514, 2017

      • saifulbkhan
        alastairp: hm I see... thx! :)
      • 2017-02-24 05545, 2017

      • alastairp
      • 2017-02-24 05519, 2017

      • saifulbkhan
        cool
      • 2017-02-24 05545, 2017

      • saifulbkhan
        alastairp: oh btw... I dont think my hl-extractor is working :(
      • 2017-02-24 05547, 2017

      • alastairp
        what are you caching?
      • 2017-02-24 05521, 2017

      • saifulbkhan
        I didnt pay much attention to it cus I thought it wouldnt matter much for server dev for the itme being .... but I cant just ignore it alws
      • 2017-02-24 05545, 2017

      • saifulbkhan
        alastairp: I'm trying my luck on AB-92
      • 2017-02-24 05546, 2017

      • BrainzBot
        AB-92: Memcached namespace key should be stored outside of memcahced https://tickets.metabrainz.org/browse/AB-92
      • 2017-02-24 05559, 2017

      • alastairp
        yeah, but what specific output are you caching?
      • 2017-02-24 05517, 2017

      • alastairp
        you must have done some kind of db query which resulted in you getting a UUID object
      • 2017-02-24 05547, 2017

      • saifulbkhan
        I think its one of the views asking for a recording summary
      • 2017-02-24 05531, 2017

      • saifulbkhan
        like localhost:8080/<MBID> kinda summary
      • 2017-02-24 05557, 2017

      • saifulbkhan
        I think this is what they mean by the recording summary
      • 2017-02-24 05527, 2017

      • alastairp
        ah, this isn't a postgress issue, sorry
      • 2017-02-24 05527, 2017

      • alastairp
      • 2017-02-24 05532, 2017

      • alastairp
        it's related to flask
      • 2017-02-24 05541, 2017

      • alastairp
        this param is a UUID object too
      • 2017-02-24 05552, 2017

      • saifulbkhan
        yes thats the one
      • 2017-02-24 05534, 2017

      • alastairp
        I think the call to `musicbrainz.get_recording_by_id` should be a string
      • 2017-02-24 05551, 2017

      • alastairp
        str(mbid) is the best option here
      • 2017-02-24 05553, 2017

      • saifulbkhan
        so convert UUID to string then?
      • 2017-02-24 05559, 2017

      • saifulbkhan
        yes I agree
      • 2017-02-24 05505, 2017

      • ruaok
        reosarevok: let met take the latest what is my ID email, please.
      • 2017-02-24 05529, 2017

      • reosarevok
        ruaok: good point on asking where they're coming from :)
      • 2017-02-24 05543, 2017

      • ruaok
        yeah, so odd. My guess it setlist.fm
      • 2017-02-24 05547, 2017

      • reosarevok was thinking "we should probably ask wh..." oh, Rob did it
      • 2017-02-24 05534, 2017

      • ruaok
        aaaaand he failed to answer.
      • 2017-02-24 05544, 2017

      • ruaok
        man, email is hard.
      • 2017-02-24 05544, 2017

      • reosarevok
        Haha
      • 2017-02-24 05546, 2017

      • reosarevok
        Insist?
      • 2017-02-24 05506, 2017

      • reosarevok
        (he also failed to reply all, so I don't know what he said)
      • 2017-02-24 05515, 2017

      • ruaok
        probably just the "one topic per email, please" type of person. I asked a follow up email with just that.
      • 2017-02-24 05506, 2017

      • reosarevok wishes clients defaulted to reply all
      • 2017-02-24 05520, 2017

      • saifulbkhan has quit
      • 2017-02-24 05557, 2017

      • ruaok
        reosarevok: I thought about forwarding it, but his response would be an utter waste of bandwidth.
      • 2017-02-24 05559, 2017

      • saifulbkhan joined the channel
      • 2017-02-24 05513, 2017

      • ruaok
        waste of your effort to move the mouse finger and click delete
      • 2017-02-24 05519, 2017

      • reosarevok
        :D :D :D
      • 2017-02-24 05531, 2017

      • reosarevok
        I was looking for a conductor
      • 2017-02-24 05536, 2017

      • reosarevok
        "Michael Collins. Isabelle van Keulen's ex-husband"
      • 2017-02-24 05541, 2017

      • reosarevok
        It happened to a dude for once!
      • 2017-02-24 05549, 2017

      • reosarevok
        (he *is* also the conductor I was looking for)
      • 2017-02-24 05556, 2017

      • ruaok
        AFT
      • 2017-02-24 05517, 2017

      • Quesito
        ruaok: 8 pages of zvooq dossier is as complete as possible--of course needing your imput at this stage :)
      • 2017-02-24 05533, 2017

      • ruaok
        EIGHT?
      • 2017-02-24 05547, 2017

      • reosarevok
        Maybe you should actually give it to those journos, by now :p
      • 2017-02-24 05550, 2017

      • ruaok
        k, let me get one process started, then I'll have a look.
      • 2017-02-24 05534, 2017

      • Quesito
        no worries! when you can. it's kinda intense.
      • 2017-02-24 05543, 2017

      • saifulbkhan__ joined the channel
      • 2017-02-24 05555, 2017

      • ruaok
        lol
      • 2017-02-24 05520, 2017

      • saifulbkhan has quit
      • 2017-02-24 05540, 2017

      • samj1912 has quit
      • 2017-02-24 05548, 2017

      • Quesito
        ping me when you want to discuss....I'm gonna take a few minutes away from the intensity ;)
      • 2017-02-24 05547, 2017

      • ruaok
        k
      • 2017-02-24 05530, 2017

      • ruaok
        Quesito: signed contract forwarded
      • 2017-02-24 05532, 2017

      • Quesito
        👍
      • 2017-02-24 05558, 2017

      • saifulbkhan__ has quit
      • 2017-02-24 05554, 2017

      • ruaok
        Gentlecat, alastairp, zas, bitmap: anyone currently around to discuss a docker issue with me?
      • 2017-02-24 05514, 2017

      • zas
        i'm there
      • 2017-02-24 05527, 2017

      • ruaok
        kewl.
      • 2017-02-24 05527, 2017

      • saifulbkhan__ joined the channel
      • 2017-02-24 05541, 2017

      • ruaok
        for LB we need to have a json file with biquery credentials.
      • 2017-02-24 05510, 2017

      • ruaok
        this file cannot be pushed to docker hub since it contains private access info to our bigquery store.
      • 2017-02-24 05501, 2017

      • ruaok
        I stuck the file into "credentials" dir in the top level src and added credentials to .dockerignore
      • 2017-02-24 05505, 2017

      • ruaok
        now the COPY command ignores credentials and doesn't copy the contents.
      • 2017-02-24 05551, 2017

      • ruaok
        then I created a named volume for credentials, but I realize I don't think I want a named volume.
      • 2017-02-24 05551, 2017

      • ruaok
        hang on. :)
      • 2017-02-24 05535, 2017

      • alastairp
        You can use volume to map a file to a file in the container, don't do a "directory" volume
      • 2017-02-24 05541, 2017

      • zas
        you can use any local file as "volume" yourpath:container_path
      • 2017-02-24 05549, 2017

      • alastairp
        Snap
      • 2017-02-24 05531, 2017

      • ruaok
        oh, right, I keep forgetting about that.
      • 2017-02-24 05556, 2017

      • alastairp
        Or, environment variables
      • 2017-02-24 05511, 2017

      • alastairp
        Or docker secrets management, I guess
      • 2017-02-24 05521, 2017

      • alastairp
        But that needs swarm
      • 2017-02-24 05529, 2017

      • saifulbkhan__ has quit
      • 2017-02-24 05517, 2017

      • ruaok
      • 2017-02-24 05529, 2017

      • ruaok
        like that?
      • 2017-02-24 05520, 2017

      • zas
        ./ is a bad idea, use absolute paths
      • 2017-02-24 05549, 2017

      • zas
        hmm, wait, you are using compose ?
      • 2017-02-24 05551, 2017

      • ruaok
        mount path must be absolute <- :)
      • 2017-02-24 05500, 2017

      • ruaok
        for now, but not for prod.
      • 2017-02-24 05531, 2017

      • zas
        --volume localpath:targetpath is the docker run equivalent
      • 2017-02-24 05505, 2017

      • rvedotrc has quit
      • 2017-02-24 05532, 2017

      • rvedotrc joined the channel
      • 2017-02-24 05547, 2017

      • sfVictory joined the channel
      • 2017-02-24 05541, 2017

      • sfVictory
        hey guys, i messed up. i added an album two times, anyway to remove it instantly instead of merging? :D
      • 2017-02-24 05512, 2017

      • Freso
        sfVictory: 1) https://musicbrainz.org/doc/Merge_Rather_Than_Del… 2) Questions like that are better asked in #musicbrainz :)
      • 2017-02-24 05527, 2017

      • sfVictory
        ah wrong channel, haha sorry ;) thank you
      • 2017-02-24 05542, 2017

      • arbenina_ has quit
      • 2017-02-24 05534, 2017

      • ruaok
      • 2017-02-24 05500, 2017

      • ruaok
        that creates a *directory* called /code/bigquery-credentials.json
      • 2017-02-24 05513, 2017

      • ruaok
        which is empty. what am I doing wrong?
      • 2017-02-24 05532, 2017

      • ruaok
        the src ./credentials/bigquery-credentials.json is confirmed a json file