army1987 comments on [META] Retributive downvoting: Why? - Less Wrong

12 Post author: ialdabaoth 27 November 2012 02:24AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (110)

You are viewing a single comment's thread. Show more comments above.

Comment author: [deleted] 28 November 2012 11:41:55AM 2 points [-]

Seriously, how long would it take? Unless the number of upvotes and the number of downvotes are not stored separately in the first place (which I don't think it's the case -- aren't the “Best”, “Popular” and “Controversial” sorting criteria based on them?), I wouldn't expect that to take more than 0.1 programmer-hours.

Comment author: mwengler 28 November 2012 07:11:09PM 4 points [-]

I was upvoting for the idea, but then retracted at the suggestion that ANYTHING real takes less than 0.2 programmer-hours.

Comment author: faul_sname 28 November 2012 10:42:58PM *  3 points [-]

Several real modifications to the code base I work on have taken less than 0.05 programmer-hours. About half of which was booting up and connecting to the server.

In this case, it would be a matter of changing something along the lines of this:

<span class="votes " id="score_<? echo $comment["ID"] ; ?>">
<? echo $comment["up"] - $comment["down"] ?> point<? echo $comment["up"] - $comment["down"] != 1 ? 's' : ''; ?>
</span>

and tacking something along the lines of this to the end:

(
<span class="votes " id="score_up_<? echo $comment["ID"] ; ?>">
<? echo $comment["up"] ?>
</span>
|
<span class="votes " id="score_down_<? echo $comment["ID"] ; ?>">
<? echo $comment["down"] ?>
</span>
)

I don't know the exact implementation details server-side on this, as I don't have access to the LW source code, but it really would be a minor tweak (unless upvotes and downvotes are counted together, in which case it would be nontrivial).

Comment author: ChristianKl 29 November 2012 01:09:06PM 2 points [-]

You are talking about code on which you work. That means that you already invested a lot of time into knowing the code base. If SI search someone to implement this they probably need to spend some time to understand the code base before they can make changes.

I don't know the exact implementation details server-side on this, as I don't have access to the LW source code

The source code is open source.