News for hackers. Stuff that matters.

akane

Re:Find anything fast with Google's vector search technology on Tuesday December 14, 2021 @03:58PM (#29557608)
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).
Re:Why access and API tokens are the new passwords but worse on Wednesday January 16, 2019 @01:23AM (#18918669)
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.
Re:The Waiting Time Paradox, Or, Why Is My Bus Always Late? on Sunday October 28, 2018 @09:16PM (#18324263)
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
Re:Show HN: Create beautiful charts with one line of React on Wednesday November 22, 2017 @12:58PM (#15758873)
Thanks for the feedback. I created a better landing page here: https://www.chartkick.com/react
Re:Show HN: Create beautiful charts with one line of React on Tuesday November 21, 2017 @12:13PM (#15749463)
Thanks nk1tz. Done!
Re:Show HN: Create beautiful charts with one line of React on Tuesday November 21, 2017 @01:16AM (#15746030)
Thanks for the feedback!

Older »