Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Vote bot

by Beatnik (Parson)
on Apr 24, 2001 at 22:38 UTC ( #75192=CUFP: print w/replies, xml ) Need Help??

This code will grab the Newest nodes (Users not included) and will randomly pick X nodes and ++ em... (assuming you actually want that ofcourse)
Muchos kudos go to vroom for pointing out some things...
Once there was a Vote bot, which ate loads of XPs and was discussed throughout the land...

I felt that it would disturb the forces of the monestary, and therefor I edited... please forgive me :)

... Quidquid perl dictum sit, altum viditur.

Replies are listed 'Best First'.
Re: Vote bot
by deprecated (Priest) on Apr 24, 2001 at 23:03 UTC
    I am never one to call for a gag order. But I would hope that perhaps we could edit this in some fashion -- do something -- so that it cannot be abused. I, for one, cannot think of any legitimate use for spending random votes. This really defeats the purpose of voting. I won't comment further in the hopes of not putting ammunition in the hands of various evildoers.

    brother dep.

    Laziness, Impatience, Hubris, and Generosity.

Re: Vote bot
by Masem (Monsignor) on Apr 24, 2001 at 23:12 UTC
    I have to agree with merlyn, spending votes just to spend them is not a good use of votes. If anything, a better way to handle unused votes is to allow them to accummulate, but with only (somewhere between 0.33 and 0.5) of them carrying over; eg, if you have 10 votes left over from the previous day, you'd get up to 5 extra votes. Note that at 0.5 carryover, the maximum votes one could get after an indefinite lenght of time would be 2*(number of votes for one day), so this really doesn't out balance anything.

    But the fact that this can be done suggests that vroom should modify the code to prevent rapid vote issuing; you need to be able issue votes for nodes within the same thread at the same time, but you shouldn't be able to do votes across threads within a minute or 2 (but then we start running into the /. "whoa cowboy" troll-fest)...

    Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
      Normally when I vote on nodes, I pick a new node and check out the responses (and vote on them too). Technically it is possible to vote on 25 nodes with one press on the Vote! button so it would be rather hard to avoid 'rapid voting'.
      Since it's brief existence, this node has caused some discussion. I therefor decided to have it deleted...

      ... Quidquid perl dictum sit, altum viditur.
        Thanks, Beatnik, for not leaving this clever program available for abuse. The last thing PM needs is random noise introduced by bots. About as useful as the bot making random sarcastic remarks to randomly selected nodes. Fun, but not necessarily funny. It all depends on where the "educational" purpose of the program ceases to exist, and malicious amusement becomes the primary objective.

        Nice show, though. Points for style!
Re: Vote bot
by mirod (Canon) on Apr 24, 2001 at 23:24 UTC

    Hey, if you don't need End, Char and Default handlers you don't have to declare empty ones, just write:

    my $parser = new XML::Parser (Handlers =>{ Start =>\&hdl_start});

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://75192]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-08-23 14:34 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (353 votes). Check out past polls.