Live data from Hacker News

PG: What's your current take on reddit's comment system?

reddit.com

61–67 of 67 posts

Re: PG: What's your current take on reddit's comment system?

#61
post #23

Earlier quoted context omitted.

How do you get the full thread for a given parent? Selecting based on the parentid alone gives you only immediate descendants. Recursive queries are generally a no-no, as they drag your performance down fairly quickly. Selecting based on the newsid gives you every single comment on the item, and then you'll have to do a lot of work (basically building up the full tree structure in memory) to find out which are childr…

You would find the full thread by searching for comments with the appropriate newsid. To simplify the recursive function (using data in memory, not in the database), you could also have another field, called indent, that stores the level in the comments. You could find all the comments with one SQL statement (where newsid = news.id), then go through each level of each comment, and sort it that way. You could even mak…

i'm not sure why nobody has said this already... but why would you need an extra filed for keeping indentattion nuber when you can use
 in html for that.

Re: PG: What's your current take on reddit's comment system?

#62
post #56

Earlier quoted context omitted.

I'm interested in these mathematical models used for content filtering, and I made up a little thought experiment as an exercise, but somehow it was too convoluted and I couldn't get an answer. Basically it ended up being something like, how many cookies would you give to a well-behaving kid? Yeah, it's about as general as that, although I had all these different rules for the game. It seems rather futile to predict…

Here's one model I'd be interested in testing. Three roles: basic, member, and administrator. Each account has karma (natural numbers), but the exact of karma is invisible to all except the administrator. There is a karma meter which displays karma as a color gradient with different levels assigned different colors. Content rating is done on a color gradient, from white to blue. Blue is good, white is bad, light blue…

Similar, but a non-karma karma system. :)

One thing though, I am fairly uncertain about the color gradient. In the beginning I used red-green. But some cultures have the order reversed, and total red and total green excite the eyes differently. Then I opted for using colorless-color (white-"gold", since gold is supposed to be culture-neutral), but when I showed some people they were confused and told me to use red-green :/

I also considered the "full functionality after x threshold" but It's opaque to me what would be a reasonable x. I hope I'll be able to make a judgement later, based on real user data.

Re: PG: What's your current take on reddit's comment system?

#63
post #56

Earlier quoted context omitted.

Here's one model I'd be interested in testing. Three roles: basic, member, and administrator. Each account has karma (natural numbers), but the exact of karma is invisible to all except the administrator. There is a karma meter which displays karma as a color gradient with different levels assigned different colors. Content rating is done on a color gradient, from white to blue. Blue is good, white is bad, light blue…

Similar, but a non-karma karma system. :) One thing though, I am fairly uncertain about the color gradient. In the beginning I used red-green. But some cultures have the order reversed, and total red and total green excite the eyes differently. Then I opted for using colorless-color (white-"gold", since gold is supposed to be culture-neutral), but when I showed some people they were confused and told me to use red-gr…

Yeah, I'm not big on the word 'karma' myself, but it happens to be what is out there.

I'm not sure about 'x threshold' either. If 'karma' assignment is weighted it wouldn't matter much anyways.

As for colors, what about a bar that increases vertically and has multiple segments? Higher is better and darker? This would give people two things to lock onto, just in case color is not enough.

just my two beans...

Re: PG: What's your current take on reddit's comment system?

#64

I have the same problem with reddit and digg: I like to read exceptionally downmodded comments. When comments get modded down so much that they are not displayed, and also they generate a lot of responses, it's the kind of thing I can help but look at. Like a train wreck I suppose. It actually sucks me into the troll MORE when they get such special highlighting. I should say I do like how top level troll posts get pu…

It bugs me that downmodded comments trash karma - political disagreements often get downmodded not because they aren't valid, but because someone disagrees fundamentally. That doesn't seem right.

Reddit comments DO NOT AFFECT KARMA.

Only submitted articles do.

I have no idea how you got any different idea into your head, but it was not through observation of reality.

Re: PG: What's your current take on reddit's comment system?

#66

I have the same problem with reddit and digg: I like to read exceptionally downmodded comments. When comments get modded down so much that they are not displayed, and also they generate a lot of responses, it's the kind of thing I can help but look at. Like a train wreck I suppose. It actually sucks me into the troll MORE when they get such special highlighting. I should say I do like how top level troll posts get pu…

You can set the threshold or turn off the hiding of downmodded comments on reddit.

Re: PG: What's your current take on reddit's comment system?

#67
post #29

Earlier quoted context omitted.

Just thinking off the cuff here, but couldn't one store a lisp-style list as a string in a relational database. If I was using Ruby on Rails, I could simply build a simple lisp interpreter in Ruby to parse the string, then capture it as an in-memory tree. This way I would only have active items in memory and could use some of the advantages of the standard web development platforms for whatever else I was doing. Edit…

Sure you could. You could also select all comments on the item and rebuild the tree in-memory, as Vlad suggests elsewhere on this thread. The code isn't even as hard as I'd thought it'd be: comments = dbh.query('SELECT * FROM comments WHERE news_id = $newsid') response_tree = {} for comment in comments: comment.children = [] response_tree[comment.id] = comment for comment in comments: response_tree[comment.parent_id]…

This is closely resembles the way i did it... With recurrsive includes (views). Performs flawlessly.
Post reply on HN