Hacker News new | past | comments | ask | show | jobs | submit | akane's comments login

Check out pgvector: https://github.com/ankane/pgvector (disclosure: am author)

It uses IVFFlat indexing, but could be extended to support product quantization / ScaNN.


Homomorphic encryption reveals less information to the server about the query than if you were to encrypt keys (with deterministic encryption) and values. It hides the fact that the same query was run multiple times and which key (if any) was matched.


I mainly thought it was neat there's a way to do matching on encrypted data without deterministic encryption. It's based on this example - https://github.com/homenc/HElib/tree/master/examples/BGV_cou... - which explains more about how it works and why it's O(N).


The post doesn't say you should give out your login. It says you should encrypt your access tokens and explains some security implications of current implementations that use them, like how they often give too broad permissions. When you change your password, you often need to reauth all of your devices, but you don't need to reauth your access tokens.


Why would I want the access tokens to be revoked if I change my password, unless I revoke the token it should be valid.


On a related note, arrival time predictions can be biased early to prevent people from missing buses, which also increases the perception of lateness.

https://nextbus.cubic.com/FAQs


On a related note, here's an open-source project I created that you can use to check your own S3 buckets: https://github.com/ankane/s3tk


Thanks for the feedback. I created a better landing page here: https://www.chartkick.com/react


Thanks nk1tz. Done!


Thanks for the feedback!


Update: Hey ak4g, the latest version of pgslice uses this approach. We're seeing roughly 20% less load on inserts with it (in the short time it's been in production). Thanks for the suggestion!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: