Viliam_Bur comments on [moderator action] Eugine_Nier is now banned for mass downvote harassment - Less Wrong Discussion
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (366)
Questions:
How are you going to deal with socks?
Are you going to be implementing a more systematic process for detecting karma abuses?
Can those who have been negatively affected by this receive an adjustment?
3a. If you are considering karma adjustments, could you please do them in a way that restores percentages rather then points? I, for one, don't care about my "fake internet points" very much, but the ratio of upvotes to downvotes is VERY useful to me as a barometer for the overall integrity of my thought processes. (If others who have been affected by this disagree, please speak up.)
Does the system keep track about individual downvotes (who downvoted what)? If yes, then it could be possible to simply revert all votes ever by Eugine. Which should solve all the problems: everyone would have the same total karma and comment karma as if this whole thing never happened.
It has to - otherwise you wouldn't be able to see what YOU upvoted/downvoted.
Also, otherwise you would be able to upvote or downvote something multiple times.
So clearly, it has to track somewhere.
If you guys need a SQL guy to help do some development work to make meta-moderation easier, let me know; I'll happily volunteer a few hours a week.
EDIT: AAAUUUGH REDDIT'S DB USES KEY-VALUE PAIRS AIIEEEE IT ONLY HAS TWO TABLES OH GOD WHY WHY SAVE ME YOG-SOTHOTH I HAVE GAZED INTO THE ABYSS AAAAAAAIIIIGH okay. I'll still do it. whimper
Maybe that's why volunteer dev work for LW is so hard to come by. Everybody takes one look at the DB and decides they would prefer a very long vacation in Sarlacc, Tatooine.
Didn't even get to the point of getting the DB up and running when I looked into it before I ran out of motviation (at that time). LW-hacking is not particularly accessible, though it's not clear how high making it more accessible is as a priority.
When did you last try? You should be able to more-or-less go
git checkout->vagrant upand have everything pretty much ready to go. https://github.com/tricycle/lesswrong/wiki/Development-VM-ImageThe Reddit guys really, really dislike doing schema updates at their scale. They were getting very slow, and their replication setup was not happy about being told to, say, index a new column while people are doing lots of reads and writes at the same time. So they eventually said "to hell with it; we'll just make a document database, with no schema, and handle consistency problems by not handling them. Man, do not even ask us about joins." This seems to have made them much happier than the 'better' database design they used to use, which is important when you're a too-small team dealing with terrifying scaling issues, and you know that a lot of people are watching you because they are the ones causing the scaling issues.
This design sure does make writing SQL queries a pain, though, and it's less than ideal for a site like Less Wrong, which doesn't do much changing the code.
Being fairly ignorant of databases... how would you have laid it out better, in a general sense?
Structured tables. One for posts, one for comments, one or more for karma and so on, with appropriately typed columns for each attribute such things have. Alternatively if the data really is unstructured then I'd use a key-value store like Cassandra or something.
(For the record many modern key-value stores didn't exist when the Reddit code was originally written).
Seconding this. A proper relational database would look something like this:
With that schema, all you'd have to do to see someone's effect on another person's karma is:
EDIT: Wow, formatting is a pain.
It's heartwarming to see off-the-cuff SQL that includes foreign key constraints.
Heartwarming enough to offer me a job? ;)
EDIT: Downvoted? Ouch...
Well, that explains a couple of things.
GIVE THAT USER UPVOTES FOR BRAVERY. Thank you.
I was scrolling through, saw this comment and reread ialdabaoth's comment and upvoted, which I wouldn't have without yours. upvoted.