Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Corel

Journal Adolf Hitroll's Journal: Slashdot moderation suggestion (nothing to do with Corel)

I have a simple idea regarding slashdot moderation :

It should cost more moderation points to upmod an already highly modded (>=+3) post or to downmod a post that has already been modded to 0.

perl code :

#!/bin/perl

print "From     Vote    Cost            From    Vote    Cost\n";
for ($i = -1 ; $i < 6 ; $i ++) {
  print " $i    +1      " . cost($i, 1) . "             ";
  print " $i    -1      " . cost($i, -1) . "\n";
}

exit 0;

sub cost {
  $from = shift;
  $vote = shift;
  $cost = int(abs((3 + $vote * ($from - 1.5)) / 4) +1 );
  return $cost;
}

which displays as a result:
From    Vote    Cost            From    Vote    Cost
-1     +1      1                -1     -1      2
0      +1      1                0      -1      2
1      +1      1                1      -1      1
2      +1      1                2      -1      1
3      +1      2                3      -1      1
4      +1      2                4      -1      1
5      +1      2                5      -1      1

This discussion has been archived. No new comments can be posted.

Slashdot moderation suggestion (nothing to do with Corel)

Comments Filter:

An authority is a person who can tell you more about something than you really care to know.

Working...