#metabrainz

/

      • D4RK-PH0ENiX has quit
      • 2016-05-04 12526, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-05-04 12523, 2016

      • JesseW joined the channel
      • 2016-05-04 12516, 2016

      • QuoraUK has quit
      • 2016-05-04 12513, 2016

      • D4RK-PH0ENiX has quit
      • 2016-05-04 12538, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-05-04 12539, 2016

      • Mineo has quit
      • 2016-05-04 12501, 2016

      • JesseW has quit
      • 2016-05-04 12520, 2016

      • dseomn joined the channel
      • 2016-05-04 12521, 2016

      • pingupingu joined the channel
      • 2016-05-04 12504, 2016

      • JesseW joined the channel
      • 2016-05-04 12553, 2016

      • pingupingu
        hello folks
      • 2016-05-04 12507, 2016

      • pingupingu
      • 2016-05-04 12542, 2016

      • bitmap
        no, search server is hosted at https://bitbucket.org/metabrainz/search-server
      • 2016-05-04 12551, 2016

      • bitmap
        anything in svn is dead
      • 2016-05-04 12506, 2016

      • pingupingu
        so what is the search server?
      • 2016-05-04 12530, 2016

      • pingupingu
        I am looking to deploy a local mb instance and use the api calls from python
      • 2016-05-04 12550, 2016

      • pingupingu
      • 2016-05-04 12519, 2016

      • bitmap
        are you going to be doing any queries like described in http://wiki.musicbrainz.org/Development/XML_Web_S…
      • 2016-05-04 12525, 2016

      • pingupingu
        and have a local install, I have not yet got the db populated with contents but the server is up and running
      • 2016-05-04 12531, 2016

      • bitmap
        if not, you won't need to set one up
      • 2016-05-04 12540, 2016

      • pingupingu
        hmm, doesnt musicbrainz server not use those xml webservice to query?
      • 2016-05-04 12527, 2016

      • bitmap
        hm?
      • 2016-05-04 12516, 2016

      • pingupingu
        I mean the musicbrainz server is already running on my localhost.. I presume it is internally querying using those xml endpoints no?
      • 2016-05-04 12506, 2016

      • bitmap
        there are different types of web service endpoints, and not all of them query the search server http://wiki.musicbrainz.org/Development/XML_Web_S…
      • 2016-05-04 12531, 2016

      • bitmap
        direct lookups and browse requests, for example
      • 2016-05-04 12508, 2016

      • bitmap
        also, if you don't set up your own search server, your local instance will call out to search.musicbrainz.org by default
      • 2016-05-04 12512, 2016

      • pingupingu
        right.. thats why I was stumped a bit because I searched on my local instance without loading any data to the mb db and it still gave me results
      • 2016-05-04 12500, 2016

      • bitmap
        you have to modify LUCENE_SERVER in lib/DBDefs.pm to change that
      • 2016-05-04 12502, 2016

      • pingupingu
        right.. so essentially I don't even need the music brainz server if I just run the search service?
      • 2016-05-04 12537, 2016

      • bitmap
        you'll need it, actually
      • 2016-05-04 12507, 2016

      • bitmap
        to import data, and to expose the search API as documented
      • 2016-05-04 12539, 2016

      • pingupingu
        righto.. the mb server for all the tools to import data/replication
      • 2016-05-04 12559, 2016

      • pingupingu
        then the seearch api/xml search api uses that mb server
      • 2016-05-04 12516, 2016

      • bitmap
        yes, you can technically query the search server directly, but the API is different
      • 2016-05-04 12505, 2016

      • pingupingu
        then I can use the python bindings here: https://blog.musicbrainz.org/2016/04/11/announcin…
      • 2016-05-04 12517, 2016

      • pingupingu
        if I use both the search server and the mb server
      • 2016-05-04 12541, 2016

      • pingupingu
        and those bindings talk to the mbserver which uses the searchserver to get the data
      • 2016-05-04 12554, 2016

      • pingupingu
        that is making more sense now
      • 2016-05-04 12557, 2016

      • bitmap
        yep
      • 2016-05-04 12526, 2016

      • pingupingu
        righto.. so I will need to get a local install of searchserver too
      • 2016-05-04 12534, 2016

      • pingupingu
      • 2016-05-04 12551, 2016

      • pingupingu
        compared to the xml webservice? I would prefer to use the json
      • 2016-05-04 12541, 2016

      • bitmap
        should be pretty stable now, we fixed some bugs in it recently and were planning on taking it out of beta
      • 2016-05-04 12536, 2016

      • bitmap
        it should return the same data
      • 2016-05-04 12540, 2016

      • pingupingu
        righto.. OK I am on a project where I might need to extend the mb schema to accommodate some more additional schema.. any ideas how difficult it is going to be?
      • 2016-05-04 12506, 2016

      • pingupingu
        I have no idea about perl and I am just starting out python
      • 2016-05-04 12543, 2016

      • bitmap
        well, will probably be kinda difficult if you're not familiar with the codebase
      • 2016-05-04 12503, 2016

      • bitmap
        depending on what kind of changes you're making
      • 2016-05-04 12502, 2016

      • JesseW has quit
      • 2016-05-04 12520, 2016

      • pingupingu
        well it will be just adding a few more attributes for the dataset that we got that had more detailed view of the number of times a song is played in a particular radio station etc
      • 2016-05-04 12515, 2016

      • bitmap
        it would probably be much easier to just store that in a separate database, keyed by mbid
      • 2016-05-04 12520, 2016

      • bitmap
        then look it up separately
      • 2016-05-04 12529, 2016

      • pingupingu
        but the thing is it could have artist/song that may not be available in mb
      • 2016-05-04 12544, 2016

      • bitmap
        then generate your own ids and have a column for the mbid if you know it :)
      • 2016-05-04 12556, 2016

      • pingupingu
        yeah that is the plan
      • 2016-05-04 12517, 2016

      • pingupingu
        so the serchserver is not on github?
      • 2016-05-04 12535, 2016

      • pingupingu
        or is the bitbucket the goto source location for all things mb?
      • 2016-05-04 12559, 2016

      • bitmap
        github is where we host most things, the search-server is on bitbucket for some reason
      • 2016-05-04 12524, 2016

      • bitmap
        maybe because it was preferred by the main developer who left
      • 2016-05-04 12537, 2016

      • pingupingu
        ohh ok
      • 2016-05-04 12558, 2016

      • pingupingu
        thanks a bunch bitmap that was a lot of help.. I was getting lost with the info overload
      • 2016-05-04 12508, 2016

      • bitmap
        :)
      • 2016-05-04 12538, 2016

      • pingupingu
        ha the search-server is java and mb is perl and the bindings are python
      • 2016-05-04 12540, 2016

      • pingupingu
        woah
      • 2016-05-04 12534, 2016

      • MBJenkins
        Project musicbrainz-server_master build #395: SUCCESS in 19 min: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-05-04 12550, 2016

      • kurros has quit
      • 2016-05-04 12501, 2016

      • kurros joined the channel
      • 2016-05-04 12549, 2016

      • JesseW joined the channel
      • 2016-05-04 12541, 2016

      • gcilou has quit
      • 2016-05-04 12536, 2016

      • Slurpee has quit
      • 2016-05-04 12500, 2016

      • linuxrocks has quit
      • 2016-05-04 12531, 2016

      • linuxrocks joined the channel
      • 2016-05-04 12539, 2016

      • dseomn has quit
      • 2016-05-04 12503, 2016

      • dseomn joined the channel
      • 2016-05-04 12504, 2016

      • JonnyJD joined the channel
      • 2016-05-04 12538, 2016

      • pingupingu has quit
      • 2016-05-04 12526, 2016

      • diana_olhovyk joined the channel
      • 2016-05-04 12520, 2016

      • JesseW has quit
      • 2016-05-04 12533, 2016

      • dseomn has quit
      • 2016-05-04 12523, 2016

      • dseomn joined the channel
      • 2016-05-04 12502, 2016

      • madmouser1
        do a check and if you have artist/song not in mb, then add it, that way you can use that as single source and mb get more data
      • 2016-05-04 12526, 2016

      • travis-ci joined the channel
      • 2016-05-04 12527, 2016

      • travis-ci
        phw/picard#35 (picard-777-more-detailed-icon - c27135c : Philipp Wolfer): The build passed.
      • 2016-05-04 12528, 2016

      • travis-ci
      • 2016-05-04 12528, 2016

      • travis-ci
      • 2016-05-04 12528, 2016

      • travis-ci has left the channel
      • 2016-05-04 12541, 2016

      • travis-ci joined the channel
      • 2016-05-04 12542, 2016

      • travis-ci
        metabrainz/picard#1338 (master - 978be5b : Philipp Wolfer): The build passed.
      • 2016-05-04 12542, 2016

      • travis-ci
      • 2016-05-04 12542, 2016

      • travis-ci
      • 2016-05-04 12542, 2016

      • travis-ci has left the channel
      • 2016-05-04 12530, 2016

      • JonnyJD has quit
      • 2016-05-04 12533, 2016

      • dseomn has quit
      • 2016-05-04 12520, 2016

      • Freso
        madmouser1: They're not around anymore.
      • 2016-05-04 12528, 2016

      • Freso
        (I was going to offer the same advice.)
      • 2016-05-04 12536, 2016

      • mihaitish joined the channel
      • 2016-05-04 12540, 2016

      • reosarevok
      • 2016-05-04 12553, 2016

      • dseomn joined the channel
      • 2016-05-04 12519, 2016

      • ariscop has quit
      • 2016-05-04 12507, 2016

      • ruaok
        reosarevok: nice. hard to get good feedback from brianG. :)
      • 2016-05-04 12525, 2016

      • zas
        Good morning
      • 2016-05-04 12556, 2016

      • ruaok
        morning.
      • 2016-05-04 12515, 2016

      • ruaok
        I keep forgetting that I was cut off during my report this week and I wasn't sure I really make it clear I am leaving for the weekend.
      • 2016-05-04 12521, 2016

      • ruaok
        starting at 16h today.
      • 2016-05-04 12535, 2016

      • ruaok hopes zas will be around
      • 2016-05-04 12527, 2016

      • zas
        Yes, i'll be around, though it is a long week end here, going to a party on thursday, so let's hope servers will not party ...
      • 2016-05-04 12528, 2016

      • alastairp
        ruaok: you can't let Freso keep walking all over you like that
      • 2016-05-04 12531, 2016

      • alastairp
        be strong!
      • 2016-05-04 12543, 2016

      • ruaok
        lol
      • 2016-05-04 12553, 2016

      • alastairp
        zas: I reproduced the /tmp issue on spike
      • 2016-05-04 12555, 2016

      • alastairp
        looking at it now
      • 2016-05-04 12528, 2016

      • alastairp
        I'm not sure about the tmpfs - I understand why you like it, but can we afford the memory for it?
      • 2016-05-04 12537, 2016

      • alastairp
        our postgres is quite big :)
      • 2016-05-04 12508, 2016

      • zas
        alastairp: tmpfs was just a temporary security since we don't a /tmp on its own disk partition.
      • 2016-05-04 12540, 2016

      • zas
        once the fix will be deployed we'll reverted back to disk tmp
      • 2016-05-04 12546, 2016

      • alastairp
        ok, cool
      • 2016-05-04 12505, 2016

      • alastairp
        I will get a patch made and ask Gentlecat to review it
      • 2016-05-04 12522, 2016

      • alastairp
        if he's as good at reviews as I am we might have a response in 2 months time! :)
      • 2016-05-04 12543, 2016

      • zas
        lol
      • 2016-05-04 12554, 2016

      • ariscop joined the channel
      • 2016-05-04 12515, 2016

      • ruaok
        alastairp: did you get a mail from groups.io about the musichackday mailing list?
      • 2016-05-04 12531, 2016

      • alastairp
        no
      • 2016-05-04 12541, 2016

      • ruaok
        they had a glitch in their system and invites didn't go out, but now say "sent".
      • 2016-05-04 12547, 2016

      • ruaok
        ok, I'll stat over.
      • 2016-05-04 12549, 2016

      • ruaok
        start
      • 2016-05-04 12507, 2016

      • alastairp
        yes
      • 2016-05-04 12510, 2016

      • alastairp
        did you just start over?
      • 2016-05-04 12513, 2016

      • alastairp
        because it just arrived
      • 2016-05-04 12525, 2016

      • ruaok
        yep.
      • 2016-05-04 12531, 2016

      • ruaok
        groups.io is awesome. :)
      • 2016-05-04 12525, 2016

      • Gentlecat
        ruaok: it looks like I can't join for some reason
      • 2016-05-04 12510, 2016

      • Gentlecat
        I click on "Join this group", but it just redirects to the same page and group doesn't show up in my list
      • 2016-05-04 12528, 2016

      • ruaok
        removed and re-added you. see if that improves it.
      • 2016-05-04 12503, 2016

      • Gentlecat
        nope
      • 2016-05-04 12513, 2016

      • kartikgupta0909 joined the channel
      • 2016-05-04 12515, 2016

      • alastairp
        fine for me
      • 2016-05-04 12548, 2016

      • Gentlecat
        you can try sending it to roman<at>tsukanov.me
      • 2016-05-04 12558, 2016

      • Gentlecat
        that's the email address associated with my account
      • 2016-05-04 12519, 2016

      • Gentlecat
        though I have @metabrainz.org alias specified in profile as well
      • 2016-05-04 12534, 2016

      • kanha has quit
      • 2016-05-04 12551, 2016

      • MBJenkins
        Project acousticbrainz-server build #50: SUCCESS in 4 min 26 sec: https://ci.metabrainz.org/job/acousticbrainz-serv…
      • 2016-05-04 12505, 2016

      • Gentlecat
        or use my username (@gentlecat) if it's possible
      • 2016-05-04 12504, 2016

      • kartikgupta0909
        alastairp: for AB-63, would you prefer pagination by page number with fixed page size or pagination using offsets and limits as suggested by Gentlecat ?
      • 2016-05-04 12559, 2016

      • alastairp
        I'm just looking at that review now
      • 2016-05-04 12515, 2016

      • kartikgupta0909
        oh cool
      • 2016-05-04 12507, 2016

      • alastairp
        offset and limit are more normal
      • 2016-05-04 12522, 2016

      • alastairp
        my recommendation would be for the view to convert from page number to offset/limit
      • 2016-05-04 12546, 2016

      • alastairp
        and use OFFSET and LIMIT in the sql query, instead of getting all results and filtering them
      • 2016-05-04 12514, 2016

      • alastairp
        Gentlecat: do you have a pylint configuration that you like?