you may want to copy some code from there to interface with the indices, but you can hack your way through it if you just use the api calls from annoy https://github.com/spotify/annoy
2019-09-30 27327, 2019
aidanlw17
you need to initialize `index = annoy.AnnoyIndex(f, 'angular')` with f as the dimensionality of a metric, then call `index.load(<file_path>)`
2019-09-30 27359, 2019
aidanlw17
then can query with `index.get_nns_by_item(<lowlevel.id>, <number_of_neighbours>, include_distances=True)`
2019-09-30 27335, 2019
aidanlw17
should return something like a list of tuples (lowlevel.id, distance)
2019-09-30 27302, 2019
okno joined the channel
2019-09-30 27337, 2019
okno
hello, are you aware of an issue concerning GPS coordinate in the json API? Sometime i get them as strings in the json outpout, some times I get floats
2019-09-30 27331, 2019
ruaok
aidanlw17: alastairp : thanks, I'll play later.
2019-09-30 27352, 2019
ruaok
okno: doesn't seem to be known, can you please open a ticket?
2019-09-30 27323, 2019
okno
I am not a 100% sure yet, I am trying to reproduce with a simple curl
2019-09-30 27331, 2019
aidanlw17
cool, can’t wait to see what you come up with! Hopping on the plane now so I’ll be afk for a while.
2019-09-30 27340, 2019
okno
but it seems to be happening only in my integration test
2019-09-30 27325, 2019
okno
I'll open a ticket as soon as I can reproduce outside the scope of my app
none of these are important for ensuring that this package works with python3, and can only be performed by a metabrainz member
2019-09-30 27319, 2019
alastairp
you should focus on the result of installing the dependencies and running `make`
2019-09-30 27307, 2019
Pac23
i did alastairp,i know that the later part would cause problems anyways,it the schema updation part that got me questioning is the git pull part not working for schema updation
2019-09-30 27305, 2019
ruaok
pristine__: you're the last person in both airbnb's tomorrow. please make sure you're out of the flat by 11am, ok?
2019-09-30 27308, 2019
alastairp
but if you're asking for help, you can't just say something like "i am getting the no rule error", or "cant find ref prod error". it's much easier if you paste the output of the command including what you ran and what the error message is. we can't guess what you are doing, helping us to help you as much as possible makes it easier for everyone
2019-09-30 27357, 2019
Pac23
i do realize that sorry alastairp
2019-09-30 27306, 2019
pristine__
alastairp: okay
2019-09-30 27339, 2019
Pac23
anyways yvanzo i did endup autogenerating models.py and pushed to the pr
2019-09-30 27305, 2019
yvanzo
Pac23: great, i will check that tomorrow, ty!
2019-09-30 27304, 2019
Freso
reosarevok: This is the code from the output I sent you earlier, if you want to rerun it sometime. I’ll probably add some genre requests based on this. :) https://gist.github.com/Freso/802c5b4c1d698f211d0…
2019-09-30 27330, 2019
Pac23
thanks for helpiing out yvanzo
2019-09-30 27330, 2019
chaban joined the channel
2019-09-30 27357, 2019
moufl has quit
2019-09-30 27354, 2019
antfoo joined the channel
2019-09-30 27329, 2019
BrainzGit
[listenbrainz-server] dependabot-preview[bot] opened pull request #650 (master…dependabot/pip/flask-sqlalchemy-2.4.1): Bump flask-sqlalchemy from 2.4.0 to 2.4.1 https://github.com/metabrainz/listenbrainz-server…