4 ms·
Hacker News source: http://github.com/nex3/arc/blob/master/news.arc http://github.com/nex3/arc/blob/master/news.arc Check out vote-for at line 1351. I'm looki
by ratsbane 17y ago
Hacker News source: http://github.com/nex3/arc/blob/master/news.arc http://github.com/nex3/arc/blob/master/news.arc Check out vote-for at line 1351. I'm looking at the code and wondering how it keeps users from up/down voting for the same article more than once.* It must be there but I'm not yet following how this works. Interesting code, though. I wish I understood it better.
*[edit] as this implies that it's keeping a list of votes as article-user records somewhere.