Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: PerlMonks Survivor would be won this season by:

by fraktalisman (Hermit)
on Jul 21, 2005 at 10:16 UTC ( #476765=note: print w/replies, xml ) Need Help??


in reply to PerlMonks Survivor would be won this season by:

Who or what is Vote Fairy? I visited Vote Fairy's homenode, but I still don't get it, could someone please explain?

  • Comment on Re: PerlMonks Survivor would be won this season by:

Replies are listed 'Best First'.
Re: PerlMonks Survivor would be won this season by:
by jonadab (Parson) on Jul 21, 2005 at 10:38 UTC
    Who or what is Vote Fairy?

    A figure of speech. You know how you have a limited number of votes (for upvoting and downvoting nodes) each day, but once per day they get replenished? There's a once-per-day process (a cron job or some similar thing) that looks at each user in the database and sets the votes left number up to the correct number, based on the user's level. Some people like to call this the "Vote Fairy". Unlike some of the others, a user account is not really needed for this. (NodeReaper needs one because somebody has to own the reaped-node placeholder nodes; im2 needs one so you can /msg it, among other reasons; Anonymous Monk needs one because, again, somebody has to own his nodes. But the Vote Fairy doesn't need to exist as a user, it was just somebody's idea of an interesting joke.) I was a little surprised that root was not included in the poll.

      I was a little surprised that root was not included in the poll.

      root's running the contest ;)

      "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://476765]
help
Chatterbox?
[Corion]: choroba: Yeah, but handing off the request to Dancer,Plack, Mojolicious,LWP is easy once I have the data filled into some structure ;))
[choroba]: Algorithm::Loops
[Corion]: choroba: I'm using that to generate the permutations, but I don't know how the user can pass the intended values to my function in a sane way
[Corion]: I have a prototype that permutes the get_parameters, but the values used for the get parameters should be different from the values used for the headers and potentially for parts of the URL
[Corion]: But yes, in general, my approach will be "split the URL into another set of parameters, generate an array of allowed values for each parameter and then NestedLoops() over the set"
[choroba]: hmm... so you need something like bag from Test::Deep, but not for checking, but for generation
[Corion]: This has the dual use of easily requesting sequential URLs and also being suitable for testing
[Corion]: For testing, I want to skip all tests with the same value(s) once one test fails to cut down on the number of failing tests
[Corion]: choroba: Yes, in a way I
[Corion]: ... I'm treating the incoming value sets as bags... Maybe I'll just put the burden on the user, at least in the first attempt at a full API. generate( headers => [{ 'Content-Type' => 'text/plain' }, {'Content-Type' => 'text/json' ] ), even ...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-01-17 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (152 votes). Check out past polls.