03/31 - Fabulous Friday!

Discussion in 'Daily mTurk HITs Threads' started by TissueHime, Mar 31, 2017.

Thread Status:
Not open for further replies.
  1. SoonerChris

    SoonerChris Survey Slinger

    Messages:
    5,033
    Gender:
    Male
    Ratings:
    +6,959
    Keith, where are you Keith? Need that batch. Did it ever drop last night?
     
    • Like Like x 1
  2. gurlondrums

    gurlondrums Cracker of the Step Whip

    Messages:
    27,160
    Gender:
    Female
    Ratings:
    +76,023
    No, he tried but mturk wouldn't comply. I'm watching MTC today to see if he tries to post it again so I can let you guys know asap.
     
    • Love Love x 2
    • Like Like x 1
  3. ThisPoorGuy

    ThisPoorGuy ThisPoorMod

    Messages:
    39,486
    Gender:
    Male
    Ratings:
    +81,571
    KEITH DANCE!
    [​IMG]
     
    • Like Like x 1
    • LOL LOL x 1
  4. SoonerChris

    SoonerChris Survey Slinger

    Messages:
    5,033
    Gender:
    Male
    Ratings:
    +6,959
    :emoji_thumbsup:

    Hopefully this morning.
     
    • Like Like x 1
  5. Hummingbirdee

    Hummingbirdee Big Bird

    Messages:
    54,302
    Gender:
    Female
    Ratings:
    +115,710
    Yeah, sure Porgy, that seems comfortable, thanks for the scratch marks.

    [​IMG]
     
    • LOL LOL x 1
    • Love Love x 1
  6. ThisPoorGuy

    ThisPoorGuy ThisPoorMod

    Messages:
    39,486
    Gender:
    Male
    Ratings:
    +81,571
    I'm angry you live in a place where you can have a window open.
     
    • LOL LOL x 1
  7. Jagdpanzer

    Jagdpanzer Survey Slinger

    Messages:
    2,960
    Gender:
    Male
    Ratings:
    +3,443

    Most likely not. Just make sure you save the original unedited version so you can reload a clean copy if need be. I would save the original under a new name and make edits under the new name. Just remember to pick the new one tomorrow.


    So instead of:
    // @name Joe Lo - Pick whether you think the following 100 will be slaughtered next season.

    Make it:

    // @name TESTING NEW Joe Lo


    Or whatever else you want to call it.
     
    • Today I Learned Today I Learned x 1
  8. Salamander

    Salamander Survey Slinger

    Messages:
    6,816
    Gender:
    Female
    Ratings:
    +31,720
    Title: Write a brief comment about a product or service for a website proof-of-concept | PANDA
    Worker: Preview | Accept | Requester
    Requester: MAD Labs [AH3L9684FUCS6] (Contact)
    TO 1: [Pay: 4.03] [Fast: 4.29] [Comm: 2.91] [Fair: 4.17] [Reviews: 47] [ToS: 3]
    TO 2:
    Not Available
    Description: You will write five brief comments about your perception of how well 5 products or services solve a given problem. Your comments will be used in a non-commercial website prototype.
    Time: 5 hours
    HITs Available: 1
    Reward: $2.25
    Qualifications: Location is US;
    HIT exported from Mturk Suite v1.20.14
     
    • Nom Nom Nom! Nom Nom Nom! x 4
    • 5/5 Pay 5/5 Pay x 1
  9. Salamander

    Salamander Survey Slinger

    Messages:
    6,816
    Gender:
    Female
    Ratings:
    +31,720
    • Nom Nom Nom! Nom Nom Nom! x 20
  10. MNHammer

    MNHammer Survey Slinger

    Messages:
    3,965
    Gender:
    Male
    Ratings:
    +23,836
    [​IMG]
     
    • LOL LOL x 4
  11. SoonerChris

    SoonerChris Survey Slinger

    Messages:
    5,033
    Gender:
    Male
    Ratings:
    +6,959
    • Nom Nom Nom! Nom Nom Nom! x 1
  12. Hummingbirdee

    Hummingbirdee Big Bird

    Messages:
    54,302
    Gender:
    Female
    Ratings:
    +115,710
    Sorry? I mean...we have two guest rooms and a farm that needs work...so uh, come fix the barn?

    [​IMG]
     
    • LOL LOL x 2
    • Like Like x 1
  13. leafs4_cup

    leafs4_cup Ugly Mug

    Messages:
    10,421
    Gender:
    Male
    Ratings:
    +31,313
    Here is the frame source of one I randomly saved to practice scripting on:

    (I had to cut out a bunch of individual stocks because my post was too long)

    Code:
    <!DOCTYPE html>
    <html><head><title>HIT</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script type="text/javascript" src="hit_data/externalHIT_v1.js"></script></head><body><form name="mturk_form" method="post" id="mturk_form" action="https://www.mturk.com/mturk/externalSubmit"><input value="3PEIJLRY6UKZ7D498QGYXVREXYEXW2" name="assignmentId" id="assignmentId" type="hidden"><script src="hit_data/jquery.js"></script><script>
    var total_questions = 100;
    var answered_questions = 0;
    var successful_transmissions = {};
    $().ready(
        function() {       
            // Catch the Submit event.
            $( "form" ).submit(
                function( event )
                {
                    var results = all_answered();
                    if ( results == "" )
                    {
                        return;
                    }
                    alert( results );
                    event.preventDefault();
                }
            );
        }
    );
    function all_answered() {
        total_questions = $("input[type=radio]").length / 2;
        answered_questions = $("input[type=radio]:checked").length;
       
        if (answered_questions != total_questions)
        {
            return "Please answer all the provided questions.";
        }
       
        if ( total_questions * 0.98 > Object.keys(successful_transmissions).length )
        {
            // If less than 98% of the questions were successfully transmitted,
            // block the submission and continue to wait.
            return "Please wait a few moments while your votes are saved by our system, and then press submit again."
        }
        return "";
    }
    var operators = [{
            sign: "+",
            method: function(a,b){ return a + b; }
        },{
            sign: "-",
            method: function(a,b){ return a - b; }
        },{
            sign: "*",
            method: function(a,b){ return a * b; }
        }];
       
    var default_seed = 30;
    var current_seed = default_seed; // Will be used to prevent a "cancel" from bypassing the prompts entirely.
       
    function math_captcha(prompt_every_x_answers)
    {
        // Decide whether to run the captcha. We will do this randomly;
        // aiming for about 1 prompt every prompt_every_x_answers answers.
        // Note you can pass 0 to guarantee a prompt.
        if (Math.floor(Math.random()*prompt_every_x_answers) != 0)
        {
            return true;
        }
        var selectedOperator = Math.floor(Math.random()*operators.length);
       
        // random number between 1 and 10 (don't want 0 because then
        // they can get 0 + 0 and hit "OK" and be correct without answering anything.)
        var rnum1 = 1 + Math.floor(Math.random()*10);
        var rnum2 = 1 + Math.floor(Math.random()*10);
       
        var op = operators[selectedOperator].sign; // This will give you the sign
        var result = operators[selectedOperator].method(rnum1, rnum2);
       
        var answer = prompt("How much is " + rnum1 + " " + op + " " + rnum2 + "?");
       
        if (!answer)
        {
            // Box canceled or closed. Just return false.
            // But, set the seed to 0 so they will be prompted on the next click.
            current_seed = 0;
            return false;
        }
       
        if (result != answer)
        {
            alert("Sorry, that is incorrect, please try again.");
            return math_captcha(0);
        }
       
        // Reset the seed now that they have correctly answered.
        current_seed = default_seed;
       
        return true;
    }
    function update_progress()
    {
        total_questions = $("input[type=radio]").length / 2;
        answered_questions = $("input[type=radio]:checked").length;
        successes = Object.keys(successful_transmissions).length;
        $("#progress").html("Progress: " + answered_questions + " / " + total_questions + " answered; " + successes + " / " + answered_questions + " saved.")
    }
    var ie = "";
    function sendit(tf, pd, symbol, sid)
    {
        if (is_preview_mode())
        {
            alert("Sorry, you need to accept this HIT in order to start the survey. Please tap the Accept HIT button to get started.");
            return;
        }
       
        if (!math_captcha(current_seed))
        {
            return false;
        }
        var sendit_url = "https://yp83etk8d5.execute-api.us-west-2.amazonaws.com/prod?oid=59&sid=" + sid + "&tf=" + tf + "&pd=" + pd + "&symbol=" + symbol + "&source=MechTurk&contestid=0";
        if (ie == "")
        {
            $.ajax({
              url: "https://yp83etk8d5.execute-api.us-west-2.amazonaws.com/prod/ie?Method=getpredictorid&ExternalIdentifier=" + get_worker_id(),
              method: 'GET'
            }).then(function(data, textStatus, jqXHR) {
                ie = data;
                if (ie)
                {
                    $.ajax({
                      url: sendit_url + "&ie=" + ie,
                      method: 'GET'
                    }).then(function(data, textStatus, jqXHR) {
                        // Done function
                        console.log("response with new ie " + ie + " is " + data);
                        successful_transmissions[sid] = pd;
                        update_progress();
                    },
                    function(data, textStatus, jqXHR) {
                        // Fail function
                        update_progress();
                    }
                    );
                }
            });
        }
        else
        {
            $.ajax({
              url: sendit_url + "&ie=" + ie,
              method: 'GET'
            }).then(function(data, textStatus, jqXHR) {
                // Done function
                console.log("response is " + data);
                successful_transmissions[sid] = pd;
                update_progress();
            },
            function(data, textStatus, jqXHR) {
                // Fail function
                update_progress();
            }
            );
        }
    }
    function is_preview_mode()
    {
        var assignmentId = get_querystring_value('assignmentId');
        if (assignmentId != undefined && assignmentId != "ASSIGNMENT_ID_NOT_AVAILABLE")
        {
            return false;
        }
        return true;
    }
    function get_querystring_value(querystring_key)
    {
        var href = window.location.href.toString(); // Get URL of mturk webpage which may or may not include the worker ID
        var queryString = {};
        href.replace(new RegExp("([^?=&]+)(=([^&]*))?", "g"),function($0, $1, $2, $3){queryString[$1] = $3;});//Populates variable named queryString (created above) with the actual queryString variable names and values
        return queryString[querystring_key];
    }
    function get_worker_id()
    {
        var worker_id = get_querystring_value('workerId');
        //If queryString contains a variable names workerId, check if the white list contains that value of that variable, if not, ask the user to input their ID.
        if(worker_id != undefined)
        {
            return worker_id;
        }
        return "";
    }
    </script><!-- Bootstrap v3.0.3 -->
    <link href="hit_data/bootstrap.css" rel="stylesheet">
    <section class="container" id="Survey" style="margin-bottom:15px; padding: 10px 10px; font-family: Verdana, Geneva, sans-serif; color:#333333; font-size:0.9em;">
    <div class="row col-xs-12 col-md-12"><!-- Instructions -->
    <div class="panel panel-primary">
    <div class="panel-heading"><strong>Instructions</strong></div>
    <div class="panel-body">
    <p>Pick whether you think the following 100 U.S. stocks will go up or
    down tomorrow (from tomorrow's opening price to tomorrow's closing
    price). Click the links to open a quote page at Yahoo Finance (opens in a
    new window).</p>
    </div>
    </div>
    <!-- End Instructions --><!-- Survey Body -->
    <section>
    <fieldset><label><img alt="SWN - Southwestern Energy Company" src="hit_data/SWN.gif" align="left"> SWN - Southwestern Energy Company <a href="http://finance.yahoo.com/quote/SWN" target="_blank">http://finance.yahoo.com/quote/SWN</a> </label>
    <div class="radio"><label><input name="SWN" onclick="sendit(1, 1, 'SWN', 44509);" value="1" checked="checked" type="radio">UP </label></div>
    <div class="radio"><label><input name="SWN" onclick="sendit(1, 0, 'SWN', 44509);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="CCL - Carnival Corporation" src="hit_data/CCL.gif" align="left"> CCL - Carnival Corporation <a href="http://finance.yahoo.com/quote/CCL" target="_blank">http://finance.yahoo.com/quote/CCL</a> </label>
    <div class="radio"><label><input name="CCL" onclick="sendit(1, 1, 'CCL', 6558);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="CCL" onclick="sendit(1, 0, 'CCL', 6558);" value="0" checked="checked" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="AKAM - Akamai Technologies, Inc." src="hit_data/AKAM.gif" align="left"> AKAM - Akamai Technologies, Inc. <a href="http://finance.yahoo.com/quote/AKAM" target="_blank">http://finance.yahoo.com/quote/AKAM</a> </label>
    <div class="radio"><label><input name="AKAM" onclick="sendit(1, 1, 'AKAM', 1445);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="AKAM" onclick="sendit(1, 0, 'AKAM', 1445);" value="0" checked="checked" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="IPG - Interpublic Group of Companies, Inc. (The)" src="hit_data/IPG.gif" align="left"> IPG - Interpublic Group of Companies, Inc. (The) <a href="http://finance.yahoo.com/quote/IPG" target="_blank">http://finance.yahoo.com/quote/IPG</a> </label>
    <div class="radio"><label><input name="IPG" onclick="sendit(1, 1, 'IPG', 26193);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="IPG" onclick="sendit(1, 0, 'IPG', 26193);" value="0" checked="checked" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="ECL - Ecolab Inc." src="hit_data/ECL.gif" align="left"> ECL - Ecolab Inc. <a href="http://finance.yahoo.com/quote/ECL" target="_blank">http://finance.yahoo.com/quote/ECL</a> </label>
    <div class="radio"><label><input name="ECL" onclick="sendit(1, 1, 'ECL', 14031);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="ECL" onclick="sendit(1, 0, 'ECL', 14031);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="UNP - Union Pacific Corporation" src="hit_data/UNP.gif" align="left"> UNP - Union Pacific Corporation <a href="http://finance.yahoo.com/quote/UNP" target="_blank">http://finance.yahoo.com/quote/UNP</a> </label>
    <div class="radio"><label><input name="UNP" onclick="sendit(1, 1, 'UNP', 47714);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="UNP" onclick="sendit(1, 0, 'UNP', 47714);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="ROST - Ross Stores, Inc." src="hit_data/ROST.gif" align="left"> ROST - Ross Stores, Inc. <a href="http://finance.yahoo.com/quote/ROST" target="_blank">http://finance.yahoo.com/quote/ROST</a> </label>
    <div class="radio"><label><input name="ROST" onclick="sendit(1, 1, 'ROST', 40015);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="ROST" onclick="sendit(1, 0, 'ROST', 40015);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="ED - Consolidated Edison, Inc." src="hit_data/ED.gif" align="left"> ED - Consolidated Edison, Inc. <a href="http://finance.yahoo.com/quote/ED" target="_blank">http://finance.yahoo.com/quote/ED</a> </label>
    <div class="radio"><label><input name="ED" onclick="sendit(1, 1, 'ED', 14110);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="ED" onclick="sendit(1, 0, 'ED', 14110);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="TSN - Tyson Foods, Inc." src="hit_data/TSN.gif" align="left"> TSN - Tyson Foods, Inc. <a href="http://finance.yahoo.com/quote/TSN" target="_blank">http://finance.yahoo.com/quote/TSN</a> </label>
    <div class="radio"><label><input name="TSN" onclick="sendit(1, 1, 'TSN', 46721);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="TSN" onclick="sendit(1, 0, 'TSN', 46721);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="MA - Mastercard Incorporated" src="hit_data/MA.gif" align="left"> MA - Mastercard Incorporated <a href="http://finance.yahoo.com/quote/MA" target="_blank">http://finance.yahoo.com/quote/MA</a> </label>
    <div class="radio"><label><input name="MA" onclick="sendit(1, 1, 'MA', 30041);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="MA" onclick="sendit(1, 0, 'MA', 30041);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    <fieldset><label><img alt="TXT - Textron Inc." src="hit_data/TXT.gif" align="left"> TXT - Textron Inc. <a href="http://finance.yahoo.com/quote/TXT" target="_blank">http://finance.yahoo.com/quote/TXT</a> </label>
    <div class="radio"><label><input name="TXT" onclick="sendit(1, 1, 'TXT', 47100);" value="1" type="radio">UP </label></div>
    <div class="radio"><label><input name="TXT" onclick="sendit(1, 0, 'TXT', 47100);" value="0" type="radio">DOWN</label></div>
    </fieldset>
    </section>
    <!-- End Survey Body --></div>
    </section>
    <!-- close container -->
    <style type="text/css">fieldset {
        padding: 10px;
        background:#fbfbfb;
        border-radius:5px;
        margin-bottom:5px;
    }
    </style>
    <p class="text-center"><input id="submitButton" class="btn btn-primary" value="Submit" type="submit"></p></form><script language="Javascript">turkSetAssignmentID();</script></body></html>
    
     
    • Like Like x 1
  14. Alina

    Alina Survey Slinger

    Messages:
    5,277
    Ratings:
    +18,501
    @ChrisTurk just had to ask if Dick Daily was an employee hahaha
     
  15. ThisPoorGuy

    ThisPoorGuy ThisPoorMod

    Messages:
    39,486
    Gender:
    Male
    Ratings:
    +81,571
    • Nom Nom Nom! Nom Nom Nom! x 1
    • 5/5 Pay 5/5 Pay x 1
  16. ThisPoorGuy

    ThisPoorGuy ThisPoorMod

    Messages:
    39,486
    Gender:
    Male
    Ratings:
    +81,571
    Sorry, it's the bitterness that comes with living in Upstate New York when everybody else is posting pictures of their nice breezes and shorts and stuff ;)
     
    • Like Like x 1
    • LOL LOL x 1
  17. humbleturker

    humbleturker Survey Slinger

    Messages:
    5,697
    Gender:
    Male
    Ratings:
    +11,133
  18. BadPanda

    BadPanda Survey Slinger

    Messages:
    12,058
    Gender:
    Male
    Ratings:
    +54,826
    [​IMG]
     
    • Like Like x 1
  19. Alina

    Alina Survey Slinger

    Messages:
    5,277
    Ratings:
    +18,501
    yes that's what i did
     
    • Today I Learned Today I Learned x 2
  20. MNHammer

    MNHammer Survey Slinger

    Messages:
    3,965
    Gender:
    Male
    Ratings:
    +23,836
    [​IMG]
     
    • LOL LOL x 3
    • Like Like x 1
Thread Status:
Not open for further replies.