Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Reputation: -4 (+-0.5 -3.5)

by LanX (Archbishop)
on Jul 20, 2019 at 03:32 UTC ( #11103062=monkdiscuss: print w/replies, xml ) Need Help??

Something is strange ... Who has the power to split his vote? =}

See Reaped: Re^5: Solving possible missing links

I hope this is just a strange race condition from while reaping...

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re: Reputation: -4 (+-0.5 -3.5)
by dorko (Prior) on Jul 21, 2019 at 00:59 UTC
    While a part of me knows this is troublesome, the larger bit of me thinks we should keep it, a la "stumbit."

    Cheers,

    Brent

    -- Yeah, I'm a Delt.
      > the larger bit of me thinks we should keep it

      I agree, but I'm really curious to know HOW it's happening. Aren't votes integers? Hard to imagine an int update race the results in a float conversion :)


      Mike
        > Aren't votes integers?

        They most likely are.

        But before displaying them calculations happen :

        from node_rep_line

        14: my $up = ($N->{reputation} + $N->{votescast}) / 2; 15: my $down = $up - $N->{reputation};

        Looks like reputation was -4 and votescast 3 at the moment of my observation.

        Hence one votecast got lost ...

        update

        I seem to remember reading about a "multiple vote feature" (for janitors?) announced some month ago.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        ) @PmDevs I somehow "reverse engineered" this bug, because I was expecting a division by two. Search internal code for all code snippets with "vote" and narrowing the result to / 2 led me to this part.

      > me thinks we should keep it, a la "stumbit."

      sexisgreat! ;-)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://11103062]
Approved by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2019-09-18 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (219 votes). Check out past polls.

    Notices?