Re:Isso – Open Source Alternative to Disqus
by infogulch on Tuesday January 27, 2015 @02:06PM
(#8954989)
I noticed they use a Bloom Filter based on ip address to prevent people from voting multiple times. According to the implementation[1] it uses a 256-byte structure and limits the total number of votes on a post to 142 [2] (more than that and the false-positive rate > 0.001). This is stored as a sqlite BLOB on the same row as the comment.
But if you're limiting votes to ~142 anyways, you can just store the exact ip address of every voter (packed in the BLOB at 4 bytes each) and it would only reach up to double the space (~560). But since the overwhelmingly vast majority of comments won't get nearly that many votes, you'd actually be saving space compared to keeping a bloom filter for each comment.
It seems like an overengineered and unnecessary technical complexity.
Re:Isso – Open Source Alternative to Disqus
by infogulch on Tuesday January 27, 2015 @07:26PM
(#8957181)
We're limited to ipv4 so even if you hash it you could still test every possible address within a few minutes. You can even do the same with the bloom filter, since there's at worst only a 1/1000 false positive rate (and likely much smaller). The bloom filter isn't designed to provide security, and trying to make (ipv4) IPs private if you're using them as identities is a lost cause.
Re:Isso – Open Source Alternative to Disqus
by pdx on Tuesday January 27, 2015 @01:56PM
(#8954928)
I love the idea, but I don't love forcing non-technical users to learn Markdown.
Hmmm, actually, it occurs to me that formatted comments are in general, annoying and ugly, so perhaps hiding the fact that formatting is even possible by not providing formatting buttons, is just fine.
Re:Isso – Open Source Alternative to Disqus
by liotier on Tuesday January 27, 2015 @04:16PM
(#8955974)
No mention of the word 'spam' anywhere on the site, apart from rate limiting. To me, spam handling is pretty much the primary feature of a comments system.
Re:Isso – Open Source Alternative to Disqus
by yellowapple on Tuesday January 27, 2015 @07:06PM
(#8957082)
For me, it's not really so much "not good enough" as much as it is "I'm already using PostgreSQL as a database and I'd rather not have to maintain two separate SQL database implementations on my servers if I can avoid it".
Re:Isso – Open Source Alternative to Disqus
by jtwebman on Tuesday January 27, 2015 @06:08PM
(#8956787)
If you are going to run your own comment system why not embed them in the HTML? At least then the search engines could index them. Does it have this option?
But if you're limiting votes to ~142 anyways, you can just store the exact ip address of every voter (packed in the BLOB at 4 bytes each) and it would only reach up to double the space (~560). But since the overwhelmingly vast majority of comments won't get nearly that many votes, you'd actually be saving space compared to keeping a bloom filter for each comment.
It seems like an overengineered and unnecessary technical complexity.
[1]: https://github.com/posativ/isso/blob/master/isso/utils/__ini...
[2]: https://github.com/posativ/isso/blob/master/isso/db/comments...
Given the focus on allowing anonymous commenting [1] this seems to make sense.
[1]: http://posativ.org/isso/docs/#what-s-wrong-with-disqus
I'd be tempted to go with exponential back off for voting. eg. the more votes, the less effect they have on the total score.
[1] http://en.wikipedia.org/wiki/Randall_Munroe
Hmmm, actually, it occurs to me that formatted comments are in general, annoying and ugly, so perhaps hiding the fact that formatting is even possible by not providing formatting buttons, is just fine.
Here is an analysis worth reading: http://ux.stackexchange.com/a/15929/57347
https://github.com/thoughtbot/carnival
Made in Haskell, so it compiles to a binary for you deploying pleasure and performance needs :)
P.S.: I may be completely wrong but... isn't that a Pokémon (on the logo)? Being so, is possible that you guys would have copyright issues (right?).
http://www.staticgen.com/deadsimplelog
Ty :)
Any reason why this choice was made?
http://www.sqlite.org/whentouse.html
How about something towards the Cloud direction, like AWS RDS? MySQL, Oracle, SQL Server, PostgreSQL or Aurora might work better.
However, I also think it is totally wrong for this use case.
Is there a way to change the SQLite backend?