02/17 - Fun Friday!

Discussion in 'Daily mTurk HITs Threads' started by TissueHime, Feb 17, 2017.

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

    BadPanda Survey Slinger

    Messages:
    12,058
    Gender:
    Male
    Ratings:
    +54,826
    Title: Participate in an interactive negotiation with other MTurkers! Get $.70 for a 6-8 min study. Payment within 48 hours | PANDA
    Requester: ISSRC [A1B3KCK75Z8IEU] (Contact)
    TO: [Pay: 4.19] [Fair: 4.54] [Comm: 2.86] [Fast: 4.50] [Reviews: 209] [ToS: 2]
    Description:
    Participate in an interactive negotiation with other MTurkers that will take around 6-8 mins to complete (ONLY PARTICIPATE ONCE THIS MONTH)
    Time: 30 minutes
    HITs Available: 99
    Reward: $0.70
    Qualifications: HIT approval rate (%) is not less than 97; Location is US;
    HIT posted from Mturk Suite v1.11.7
     
    • Nom Nom Nom! Nom Nom Nom! x 1
  2. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
    Title: None | PANDA
    Requester: timothy powell [A3QO9VSBQE8THU] (Contact)
    TO: This requester currently has no TO reviews. [url=Leave one!
    Description: None
    Time: Unable to pull duration
    HITs Available: 1
    Reward: $0.65
    Qualifications: None
    This HIT was posted through TurkerHub xPort Script v2.1 • Learn MoreInstall Here
    lol get your "None"
     
  3. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
    I'm not saying do this I just found it funny
     
  4. Melting Glacier

    Melting Glacier PE: $30.01 - That's over $1.25/hour! ┬┴┤( ͡° ͜ʖ├┬┴

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    rofl, you should share the script but only as a screenshot of the code. That would get more people ''''coding''''. :emoji_joy:
    and with comic sans as the font
     
    • Like Like x 1
  5. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
    I still wouldn't be able to grasp it I have tried and tried but it just isn't my thing :(

    I think had i been born 5 to 10 years later my school would have taught me a bunch in computer lab but my generation only learned Oregon trail
     
    Last edited: Feb 18, 2017
  6. ceedj

    ceedj Survey Slinger

    Messages:
    2,846
    Gender:
    Male
    Ratings:
    +6,319
    Like this?

    [​IMG]

    I just had to see what it looked like. :lol:
     
  7. Melting Glacier

    Melting Glacier PE: $30.01 - That's over $1.25/hour! ┬┴┤( ͡° ͜ʖ├┬┴

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    Ah, that brings me back... there's a couple good videos I know of done by turkers if you ever wanna give it a shot!
    Ooh, that is just downright painful to look at. :emoji_dizzy_face: Yep, that's pretty much what I had in mind!

    Alright cuties, gotta bounce for a while~ :emoji_kissing_cat:
     
    • Like Like x 2
  8. Yuk

    Yuk Zing King

    Messages:
    2,585
    Ratings:
    +5,060
    I just took a look at the script you're referencing. Were you pressing numpad keys? You can change it so the "normal" number keys work but it's coded so that it only registers numpad key presses currently
     
    • Like Like x 1
  9. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
    Tried both before I decided I didn't care about the hits enough to keep fussin with it lol

    Only thing that worked for me was enter to submit...it is possible I messed up something when copy/pasting I'll delete it and try again
     
  10. TissueHime

    TissueHime Survey Slinger

    Messages:
    2,313
    Gender:
    Male
    Ratings:
    +2,554
    1 hour left for dibs!
    if you do call it, please tag me or else i might miss it
     
  11. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,368
    Ratings:
    +8,597
    @Randomacts what linux + version are you on and chrome + version that you use MTS on.
     
  12. slothbear

    slothbear Survey Slinger

    Messages:
    10,822
    Gender:
    Male
    Ratings:
    +22,072
    Here's a quick script for the hotels...
    0-9 to select
    it will submit after making the final selection...

    Code:
    // ==UserScript==
    // @name         Cliff DesPeaux Helper
    // @version      0.1
    // @author       slothbear
    // @include      https://www.mturkcontent.com/dynamic/*
    // @require      http://code.jquery.com/jquery-3.1.1.min.js
    
    // ==/UserScript==
    
    //  HOTEL IMAGE RATING:
    //  0-9 for rating (number row or numpad)
    //  submits after last entry
    
    
    $(function(){
        "use strict";
    
        if ($('p').eq(0).text().indexOf('Rate the attractiveness of') > -1) hotelImageRating();
    
    
        function hotelImageRating(){   
            console.log('Starting hotelImageRating()...');
            var counter = 1;
            $('#rating1-1').focus();
    
            var keys = {97: 1, 98: 2, 99: 3, 100: 4, 101: 5, 102: 6, 103: 7, 104: 8, 105: 9, 96: 10,
                        49: 1, 50: 2, 51: 3, 52: 4, 53: 5, 54: 6, 55: 7, 56: 8, 57: 9, 58: 10};
    
            $(document).keydown(function(e){
                if (keys.hasOwnProperty(e.which)) {
                    $('#rating' + counter + '-' + keys[e.which]).click();
                    counterUp();
                }
            });
    
            function counterUp(){
                if (counter > 9) {
                    $('#submitButton').click();
                } else {
                    counter++;
                    $('html, body').animate({
                        scrollTop: $('#rating' + counter + '-1').focus().offset().top
                    }, 250);
                }
            }
        }
    });
     
    • Today I Learned Today I Learned x 2
    • 5/5 Pay 5/5 Pay x 1
    • Love Love x 1
  13. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
  14. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
    Nice thank you just tried it out and I can handle these now :) Owe ya a beer or glass of milk or something :emoji_wink:
     
    • Like Like x 1
  15. slothbear

    slothbear Survey Slinger

    Messages:
    10,822
    Gender:
    Male
    Ratings:
    +22,072
    Added a little highlighting to it:
    Code:
    // ==UserScript==
    // @name         Cliff DesPeaux Helper
    // @version      0.1
    // @description  try to take over the world!
    // @author       slothbear
    // @include      https://www.mturkcontent.com/dynamic/*
    // @require      http://code.jquery.com/jquery-3.1.1.min.js
    
    // ==/UserScript==
    
    //  HOTEL IMAGE RATING:
    //  0-9 for rating (number row or numpad)
    //  submits after last entry
    
    
    $(function(){
        "use strict";
    
        if ($('p').eq(0).text().indexOf('Rate the attractiveness of') > -1) hotelImageRating();
    
    
        function hotelImageRating(){   
            console.log('Starting hotelImageRating()...');
            $('div.panel-primary').remove();
            var counter = 1;
            $('#rating1-1').focus();
            $('span.img-wrap').eq(0).css('background-color', '#FBEC5D');
    
            var keys = {97: 1, 98: 2, 99: 3, 100: 4, 101: 5, 102: 6, 103: 7, 104: 8, 105: 9, 96: 10,
                        49: 1, 50: 2, 51: 3, 52: 4, 53: 5, 54: 6, 55: 7, 56: 8, 57: 9, 58: 10};
    
            $(document).keydown(function(e){
                if (keys.hasOwnProperty(e.which)) {
                    $('#rating' + counter + '-' + keys[e.which]).click();
                    counterUp();
                }
            });
    
            function counterUp(){
                if (counter > 9) {
                    $('#submitButton').click();
                } else {
                    counter++;
                    $('span.img-wrap').css('background-color', '');
                    $('span.img-wrap').eq(counter-1).css('background-color', '#FBEC5D');
                    $('html, body').animate({
                        scrollTop: $('#rating' + counter + '-1').focus().offset().top
                    }, 250);
                }
            }
        }
    });
     
    • Like Like x 3
    • Love Love x 2
    • 5/5 Pay 5/5 Pay x 1
  16. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,368
    Ratings:
    +8,597
    Looks good, A cool trick would be this for the keydown. It gets rid of the need to make the giant array for the keycodes.

    Code:
    document.addEventListener(`keydown`, function (e) {
      if (e.key.match(/[0-9]/)) {
        document.getElementById(`rating${ counter }-${ e.key !== `0` ? e.key : `10` }`).click();
        counterUp();
      }
    });
    
     
    • Today I Learned Today I Learned x 2
  17. slothbear

    slothbear Survey Slinger

    Messages:
    10,822
    Gender:
    Male
    Ratings:
    +22,072
    ugh...last time i posted something with keydowns and switches you said use arrays...now you say use this new magic that I don't understand. :)
     
    • LOL LOL x 2
  18. SAJ

    SAJ Survey Slinger

    Messages:
    27,502
    Gender:
    Male
    Ratings:
    +51,488
    Nice I see what you are doing now ...trying to get cookies with the milk :emoji_joy:
     
    • Like Like x 1
  19. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,368
    Ratings:
    +8,597
    I don't think that was me, that object looks like something rdaneel uses, something I've never used. Give me a sec to write up the explanation of the new thing.
     
    • Like Like x 1
  20. slothbear

    slothbear Survey Slinger

    Messages:
    10,822
    Gender:
    Male
    Ratings:
    +22,072
    Yeah, might have been rdaneel. I think I see what's going on...mostly. What's the {e.key !== `0` ? e.key : `10`} ?
    ...If e.key is 0, make it a 10?...
     
Thread Status:
Not open for further replies.