11/28 Totally Turktacular Tuesday

Discussion in 'Daily mTurk HITs Threads' started by ezdzd, Nov 28, 2017.

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

    jdzane Survey Slinger

    Messages:
    9,239
    Gender:
    Female
    Ratings:
    +8,650
    Woot! They're coming today!!! And now I have the number for the manager for the local UPS plant! Super helpful lol
     
    • Like Like x 5
  2. Totally Not Salem

    Totally Not Salem Survey Slinger

    Messages:
    5,664
    Gender:
    Male
    Ratings:
    +5,034
    Make sure you go to chrome://extensions and enable "local URI/URL (they keep changing what they call it) access" for Tampermonkey. Otherwise you'll end up in a lot of frustration. And I'm sure you already know to prefix your local URLs with file:///, but I'll put it here for anyone that's driving by the conversation and whats to try it out.
     
    • Today I Learned Today I Learned x 1
  3. MrTrentSD

    MrTrentSD Survey Slinger

    Messages:
    5,908
    Gender:
    Male
    Ratings:
    +9,645

    I saw accunt used as a word in Kasistos today.

    [​IMG]
     
    • LOL LOL x 3
  4. purplepoppi

    purplepoppi Survey Slinger

    Messages:
    2,406
    Gender:
    Female
    Ratings:
    +3,591
    I checked and I have 4 of my orders all coming in today.
     
    • 5/5 Pay 5/5 Pay x 1
  5. NBadger

    NBadger Mod of Cat Gifs

    Messages:
    14,386
    Gender:
    Female
    Ratings:
    +40,289
    HAHAHAHAHA

    Has found the 0 day VRAPI CT stole the other day
     
    • LOL LOL x 3
    • 5/5 Pay 5/5 Pay x 1
  6. smiley edna

    smiley edna Well-Known Turker

    Messages:
    1,612
    Gender:
    Female
    Ratings:
    +2,743
    I'm about to throw a Mad Labs back. I just dont wanna.
     
  7. smiley edna

    smiley edna Well-Known Turker

    Messages:
    1,612
    Gender:
    Female
    Ratings:
    +2,743
    fly, little mad labs, fly free
     
    • LOL LOL x 2
  8. Rocknrolla

    Rocknrolla Survey Slinger

    Messages:
    10,014
    Gender:
    Male
    Ratings:
    +7,585
    @ChrisTurk what are the benefits of WebStorm that would make it a good purchase over opensource?
     
  9. Totally Not Salem

    Totally Not Salem Survey Slinger

    Messages:
    5,664
    Gender:
    Male
    Ratings:
    +5,034
    I feel ya. I don't bother setting up a local file when I'm just writing a few lines of code.

    I have this set up as my default skeleton (needs a few additions I'd been meaning to get around to, now that I think about it):

    PHP:
    // ==UserScript==
    // @name         New Script (, skeleton)
    // @namespace    ,
    // @version      1
    // @description  .
    // @author       Cuyler Stuwe (,)
    // @include      *
    // @grant        GM_info
    // ==/UserScript==

    const DEBUG_RUN_IN_TOP_FRAME false;
    const 
    DEBUG_RUN_IN_IFRAME_ONLY_BUT_DONT_REQUIRE_MTURK_REFERRER false;
    const 
    DEBUG_ALWAYS_PASS_SANITY_CHECK false;
    const 
    DEBUG_PAINT_TRIGGERED_FRAMES_RED false;

    const 
    SANITY_CHECK_TEXT_STRING "Words go here";

    function 
    isInMturkIframe() {
        if(
    DEBUG_RUN_IN_TOP_FRAME) {return true;}
        else if(
    DEBUG_RUN_IN_IFRAME_ONLY_BUT_DONT_REQUIRE_MTURK_REFERRER) {return (window !== window.top);}
        return ( 
    window !== window.top && (document.referrer.includes("mturk.com/mturk/preview") || document.referrer.includes("mturk.com/mturk/accept") || document.referrer.includes("mturk.com/mturk/continue") || document.referrer.includes("mturk.com/mturk/return") || document.referrer.includes("mturk.com/mturk/previewandaccept") || document.referrer.includes("worker.mturk.com/projects/")));
    }
    if (!
    isInMturkIframe()) {return;}

    function 
    passSanityCheck() {
        if(
    DEBUG_ALWAYS_PASS_SANITY_CHECK) {return true;}
        if(
    SANITY_CHECK_TEXT_STRING && SANITY_CHECK_TEXT_STRING.length 0) {
            return 
    document.body.innerHTML.includes(SANITY_CHECK_TEXT_STRING);
        }
    }

    function 
    runOnStart() {
        if(
    DEBUG_PAINT_TRIGGERED_FRAMES_RED) {
            
    document.body.style.backgroundColor "red";
        }
        
    // CODE THAT RUNS AS SOON AS HIT IS LOADED GOES HERE
    }

    function 
    keyListener(event) {
        if(
    event.type === 'keydown') {

            
    // SCRIPT KEYDOWN CODE GOES HERE

        
    }
        else if(
    event.type === 'keyup') {

            
    // SCRIPT KEYUP CODE GOES HERE

        
    }
    }

    function 
    clickListener(event) {

        
    // SCRIPT CLICK CODE GOES HERE
        
    switch(event.target) {
            default:
                break;
        }

    }

    (function 
    main() {

        if(!
    passSanityCheck()) {
            
    console.log(`FAILED SANITY CHECK: ${GM_info.script.name}`);
            return;
        }
        else {
            
    console.log(`PASSED SANITY CHECK: ${GM_info.script.name}`);
        }

        
    runOnStart();

        
    document.addEventListener('keydown'keyListener);
        
    document.addEventListener('keyup'keyListener);
        
    document.addEventListener('click'clickListener);
    })();
    Starting from this skeleton these days when writing scripts for HITs is why a lot of my scripts seem like they have way more code than they need to have.
     
  10. ChrisTurk

    ChrisTurk Administrator

    Messages:
    56,746
    Ratings:
    +163,330
    Technically I use PHPStorm. As for benefits over opensource, probably none? Its just what I picked and stuck with it. Once I set up plugins/settings/themes I mate for life with software :dunno:
     
    • Like Like x 1
  11. Rocknrolla

    Rocknrolla Survey Slinger

    Messages:
    10,014
    Gender:
    Male
    Ratings:
    +7,585
    I have the number for my local USPS branch manager but the thing is...they just dont give a shit. You call USPS and complain and they are like "So what" - Nothing like unions
     
  12. Totally Not Salem

    Totally Not Salem Survey Slinger

    Messages:
    5,664
    Gender:
    Male
    Ratings:
    +5,034
    I REALLY wanted to like WebStorm/etc. (I have an academic license and it's the IDE I started with), but I HATE the concept of software by subscription. So I abandoned it for VS Code, which runs faster on my Yoga anyway. JetBrains has a good product line on their hands, though.
     
  13. MNHammer

    MNHammer Survey Slinger

    Messages:
    3,965
    Gender:
    Male
    Ratings:
    +23,836
    • Nom Nom Nom! Nom Nom Nom! x 21
  14. slothbear

    slothbear Survey Slinger

    Messages:
    10,822
    Gender:
    Male
    Ratings:
    +22,072
    I copied that when you posted it before. I pared it down a little, since most of my scripts get turned off when not in use. But it has helped me make things a little more organized. Oooh PFA byeeeee!
     
    • Like Like x 1
  15. Addie

    Addie New Turker

    Messages:
    5
    Gender:
    Female
    Ratings:
    +28
    Morning everyone. Looks like I woke up just in time for some PFA. :emoji_grin:
     
    • Like Like x 1
    • Love Love x 1
  16. MNHammer

    MNHammer Survey Slinger

    Messages:
    3,965
    Gender:
    Male
    Ratings:
    +23,836
    • Nom Nom Nom! Nom Nom Nom! x 13
  17. fuzzybunny

    fuzzybunny Active Turker

    Messages:
    147
    Gender:
    Male
    Ratings:
    +110
    PFA?
     
  18. MNHammer

    MNHammer Survey Slinger

    Messages:
    3,965
    Gender:
    Male
    Ratings:
    +23,836
    Title: 8min psychology experiment | PANDA
    Worker: Preview | Accept | Requester
    Requester: MTurk CoCoSci [A2Y1E53SQ094V4] (Contact)
    TO 1: [Pay: 4.17] [Fast: 5.00] [Comm: 5.00] [Fair: 5.00] [Reviews: 6] [ToS: 0]
    TO 2:
    [Rate: $9.47/hr] [Pen: -- days] [Res: -- of 0] [Rec: -- of 0] [Rej: 0] [ToS: 0] [Brk: 0]
    Reward:
    $0.50
    Duration: 30 minutes
    Available: 1
    Description: The experiment takes ~5 minutes. Your task is to evaluate whether you think something almost happened.
    Requirements: HIT approval rate (%) GreaterThanOrEqualTo 95; Location EqualTo US;
    HIT exported from Mturk Suite v1.25.8
     
    • Nom Nom Nom! Nom Nom Nom! x 9
  19. gurlondrums

    gurlondrums Cracker of the Step Whip

    Messages:
    27,160
    Gender:
    Female
    Ratings:
    +76,023
    *mid-conference call*

    Boss: gurlondrums, what are you working on?
    gurlondrums: I am working on--
    computer: HIT FOUND! PICS FROM ABOVE!

    [​IMG]
     
    • LOL LOL x 4
    • 5/5 Pay 5/5 Pay x 1
  20. RobertDevious

    RobertDevious Survey Slinger

    Messages:
    4,000
    Gender:
    Male
    Ratings:
    +5,859
    I don't understand how PFA is $10/hr on TV. These images load so slow.
     
Thread Status:
Not open for further replies.