Live data from Hacker News

Show HN: Kvass, a personal key-value store

github.com

91–100 of 129 posts

Re: Show HN: Kvass, a personal key-value store

#91
post #82
post #76

Earlier quoted context omitted.

To be news. I can understand if you missed that, it's not very obvious from visiting the home page.

That is very much not the purpose of HN, it's in https://news.ycombinator.com/newsguidelines.html

not sure what you were trying to prove with that, but it seems you proved yourself wrong. The link says "news", not "entertainment"

Re: Show HN: Kvass, a personal key-value store

#92
post #91
post #82

Earlier quoted context omitted.

That is very much not the purpose of HN, it's in https://news.ycombinator.com/newsguidelines.html

not sure what you were trying to prove with that, but it seems you proved yourself wrong. The link says "news", not "entertainment"

It doesn't say 'news' and the fact that HN is not about 'news' is in the first sentence of the guidelines beside being repeated in moderator comments endlessly for more than a decade. If you thought HN was about news because it says 'news' in the URL, you're mistaken.

Re: Show HN: Kvass, a personal key-value store

#93
post #11

Nice project! I'm wondering why you choose to implement your own cryptography routines instead of using something standard like TLS. Apparently your `DecryptData` and `Encrypt` methods are vulnerable to replay attacks due to a lack of (EC)DH-style key exchange.

Thanks for the critique! I wanted to use symmetric crypto as its trivial to use without domains and certificates. The possibility of replays is a non-issue, as the key-value store is implemented as a CRDT and therefore all operations are idempotent. On the other hand, I didn't anticipate replay attacks in the design and thanks to your comment, I'll keep them in mind should I ever find myself in a scenario where they…

It doesn't matter if the operations are idempotent. The point is that an eavesdropper can replay a message that sets a key, for example, overwriting whatever was there previously.

It would be better to use an established cryptography system. You could do self-signed certs with TLS, like Syncthing does. Or just use SSH.

Re: Show HN: Kvass, a personal key-value store

#95
post #92
post #91

Earlier quoted context omitted.

not sure what you were trying to prove with that, but it seems you proved yourself wrong. The link says "news", not "entertainment"

It doesn't say 'news' and the fact that HN is not about 'news' is in the first sentence of the guidelines beside being repeated in moderator comments endlessly for more than a decade. If you thought HN was about news because it says 'news' in the URL, you're mistaken.

> Type of site

> News aggregator

https://wikipedia.org/wiki/Hacker_News

Re: Show HN: Kvass, a personal key-value store

#96
post #43

Earlier quoted context omitted.

About as good a name as the password manager which I'm unable to read in any other way than keep ass . (Just in case you are unaware, kvas/kvass is a traditional north-eastern europe drink.)

Kvas means yeast, could be also a drink name.

Since this is on top of the readme they refer to the drink: https://user-images.githubusercontent.com/5411096/179968508-...

You could call yeast kvas, but in slavic languages there are usually other nouns used. (drozdze, drozdie, kvasok, kvasnice, закваска , дрожжи). Kvas (the drink) is kvas everywhere.

Re: Show HN: Kvass, a personal key-value store

#97
post #52

Earlier quoted context omitted.

For example > Its trivial to set up and operate kvass across multiple devices > remember the file we stored earlier? Let's get a shareable url for it!

> Its trivial to set up and operate kvass across multiple devices Still, using a distributed file system is so much better, as its API is supported by basically everything else (including Dropbox!). I feel that a key-value store goes against the Unix philosophy and is solving an imaginary problem.

A distributed file system seems like way more work to set up.

Also not everything has to follow the Unix philosophy. Plenty of very useful things are better off less Unix-y eg ffmpeg. But this doesn’t seem to do a bad job - it’s a very dedicated tool to do one thing, it just doesn’t store everything as files.

Re: Show HN: Kvass, a personal key-value store

#98
post #46
post #9

For personal use, I’ve had good luck storing things in files. Then when I need those those things, I read the files.

To your point, the very first examples don’t really demonstrate much value, even if they are the most basic examples of how it works. It’s a bit like selling a car by showing all the different things you can hold in the cup holders.

There are literally hundreds of distributed networked KV stores used by software developers for all sorts of projects. Showing how to store “hello world” seems like a pretty good intro.

Why can’t people see a use case for this? It maybe doesn’t compare as unique against the hundred other KV stores but it’s also a toy project and a KV store seems to have an obvious use?

Personal, I’m going to try this out since I was actually looking for a similar KV store. Only because I was looking and HN presented it to me tbh.

My use case is that I have a few Raspberry Pis at home (aka low powered) that I wanted to have a distributed config on. I wanted something easy to manipulate with a command line that was lightweight (eg not redis or consul or a password manager). Since it’s for LAN use (or actual Tailscale) the security wasn’t really important.

Re: Show HN: Kvass, a personal key-value store

#99
post #95
post #92

Earlier quoted context omitted.

It doesn't say 'news' and the fact that HN is not about 'news' is in the first sentence of the guidelines beside being repeated in moderator comments endlessly for more than a decade. If you thought HN was about news because it says 'news' in the URL, you're mistaken.

> Type of site > News aggregator https://wikipedia.org/wiki/Hacker_News

That's interesting but you're better off going by the actual guidelines of the actual site and the many times they've been restated and commented upon by the actual moderators. Many relevant ones here

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

or here

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Re: Show HN: Kvass, a personal key-value store

#100
post #99
post #95

Earlier quoted context omitted.

> Type of site > News aggregator https://wikipedia.org/wiki/Hacker_News

That's interesting but you're better off going by the actual guidelines of the actual site and the many times they've been restated and commented upon by the actual moderators. Many relevant ones here https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... or here https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

sorry but you don't get to redefine the word "news". The site is literally called "hacker news". so by definition, its a news site. granted, its news specific to computing and technology, but news just the same. unless everyone in the world got together behind my back, and changed the entire english language, then its a news site.
Post reply on HN