10/03 - Totally Technical Tuesday!

Discussion in 'Daily mTurk HITs Threads' started by Melting Glacier, Oct 3, 2017.

Thread Status:
Not open for further replies.
  1. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
  2. THFYM

    THFYM Survey Slinger Former MTG MotM

    Messages:
    8,887
    Gender:
    Male
    Ratings:
    +23,050
    [​IMG]
     
    • LOL LOL x 1
  3. rdaneel

    rdaneel Well-Known Turker

    Messages:
    315
    Gender:
    Male
    Ratings:
    +813
    Here's a quick and dirty script, for anyone working on the "Classify a Product" hits. Sets the default radio buttons, adds keybinds, and tries to grab the product info to make it nicer for multiple tabs. It'll read 'age not found' for pages that don't load. Cheers.
    https://greasyfork.org/en/scripts/3...assify-a-product-helper-mechanical-turk-mturk
    Code:
    // ==UserScript==
    // @name         Amazon FBABiz - Classify a product Helper
    // @icon         https://i.imgur.com/dn72hMb.png
    // @namespace    Scripts->Foundation->Humans->Public
    // @version      1.0.1.2017.10.01
    // @description  Keybinds, automated text parse - public
    // @author       D.M.K. & R.E.G. @ MegaCorp, Inc
    // @include      https://www.mturkcontent.com/dynamic/*
    // @grant        GM_xmlhttpRequest
    // @PANDA        https://www.mturk.com/mturk/previewandaccept?groupId=33QM7VBL68VW0NUBOZPLONAAMR83QY ( Classify a product - Bunde/Package or a simple product )
    // ==/UserScript==
    /* jshint expr: true */ // Make JSHint shut up about short circuiting
    /* Utility functions */
    const q=(q,el=document)=>el.querySelector(q);
    const c=(c,el=document)=>el.getElementsByClassName(c)[0];
    const e=(e, el=document)=>el.getElementById(e);
    const t=(t,el=document)=>el.getElementsByTagName(t)[0];
    const s=selector=>(selector[0] === '#')?e(selector.slice(1)):(selector[0] === '.')?c(selector.slice(1)):t(selector);
    const domReady = cb=>{(document.readyState === "interactive" || document.readyState === "complete") ? cb() : document.addEventListener("DOMContentLoaded", cb);};
    const thwack = sel=>{(el = q(sel)) && el.click();}; // Get an element and click on it, with complex selectors
    const clack = sel=>{(el = s(sel)) && el.click();}; // Get an element and click on it, with simple selectors
    const addKeyJumpHandler = j=>{document.addEventListener('keydown', e=>{ let k = e.which; if (j.hasOwnProperty(k)) {e.preventDefault();
             if (j[k][0] === '#' || j[k][0] === '.' ){clack(j[k]);} else if (j[k][0] === '['){thwack(j[k]);} else {j[k](k);}}});};
    const strToNode = s=>{let template = document.createElement('template'); template.innerHTML = s; return template.content.firstChild;}; // Takes an html string and returns a valid node
    
    /* Script constants */
    const chckfnc = (q('li')) && q('li').innerText;
    const chcksig = "Single Product - Example:  A Coffee maker";
    const defel = `<section class="col-xs-12 col-md-8 col-md-offset-2 image" id=skriptsec style="text: #b72c2c; padding: 2px; border: inset 3px #428bca; font-weight: bold;">
    <div id=skriptdiv>
    <p id=pscrape>Snarfing product data...</p>
    </div>
    </section>`;
    const howMuchHead = 50000; // Amount of Amazon bloat to load; don't grab all, it's too much.
    
    /* Keyboard Shortcuts */
    const jumps = {13: '#submitButton',
                   97: '[value=Single]', // np 1
                   98: '[value=Multi_Diff]', // np 2
                   99: '[value="Pack or set"]', // np 3
                   100: '[value=Y]', // np4
                   101: '[value=N]' // np5
                  };
    
    domReady(()=>{
       if (chckfnc === chcksig) {
          console.info(`${GM_info.script.name} ${GM_info.script.version}`);
          addKeyJumpHandler(jumps);
          q('[value=Single]').focus();
    
          // set some defaults
          thwack("input[name='classification'][value=Single]");
          thwack("input[name='name_suggest'][value=N]");
    
          e('workContent').before(strToNode(defel)); // Container for automated product text snarf
    
          // Try to automatically parse product info, just using the Amazon title.
          GM_xmlhttpRequest({
             method: "GET",
             url: c('dont-break-out').href, //Amazon product url
             onload: function (resp){
                temp = strToNode('<parsed>');
                temp.innerHTML = resp.responseText.slice(0, howMuchHead);
                document.getElementById('pscrape').innerText = t('title', temp).innerText.slice(12); /* Set the status, and nuke the Amazon.com */
             }
          });
       }
    });
    
     
    • Today I Learned Today I Learned x 4
    • Like Like x 2
    • Love Love x 2
  4. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    Good morning, night owls!
     
  5. THFYM

    THFYM Survey Slinger Former MTG MotM

    Messages:
    8,887
    Gender:
    Male
    Ratings:
    +23,050
    [​IMG]
     
    • LOL LOL x 1
    • 5/5 Pay 5/5 Pay x 1
  6. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    • Nom Nom Nom! Nom Nom Nom! x 9
  7. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    Title: Rate brands and product categories(~ 10 minutes) | PANDA
    Requester: Academic Survey [A1VNZG9E0OB7PY] (Contact)
    TO: [Comm: N/A] [Pay: 4.11] [Fair: 5.00] [Fast: 4.82] [Reviews: 19] [ToS: 0]
    Description: Short academic survey
    Time: 30 minutes
    HITs Available: 1
    Reward: $1.01
    Qualifications: Total approved HITs is not less than 100; Exc: [59449-58860] has not been granted; HIT approval rate (%) is not less than 90; Location is one of:;
    This HIT was posted through TurkerHub xPort Script v2.1 • Learn MoreInstall Here
     
    • Nom Nom Nom! Nom Nom Nom! x 11
  8. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    Title: High School Chemistry qualifying survey - Would you like to qualify for seven tests with ~30 chemistry questions at $1:00 each | PANDA
    Requester: John Murray [A2NRGDYFHA3HAF] (Contact)
    TO: [Comm: 5.00] [Pay: 4.61] [Fair: 5.00] [Fast: 4.93] [Reviews: 61] [ToS: 1]
    Description: Answer ten High School Chemistry questions and some demographic questions to qualify for six more chemistry knowledge surveys
    Time: 60 minutes
    HITs Available: 1
    Reward: $0.50
    Qualifications: HSCH has not been granted; Location is US;
    This HIT was posted through TurkerHub xPort Script v2.1 • Learn MoreInstall Here
     
    • Nom Nom Nom! Nom Nom Nom! x 6
  9. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    ... I read the last part of the HIT title as "one o' clock dollars each" :emoji_joy_cat:
     
    • LOL LOL x 2
    • Like Like x 1
  10. dan

    dan daelian

    Messages:
    28,285
    Gender:
    Male
    Ratings:
    +61,817
    You have no idea how many people sign credit card slips and fill out the totals with a colon. It's a minor pet peeve of mine. I just don't get why people do it. It's quite common though for whatever reason.
     
    • LOL LOL x 1
  11. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    Title: 8 minutes STANFORD UNIVERSITY study: Earn up to $1.50 | PANDA
    Requester: Yucheng Liang [A2V4H69B3XQPEQ] (Contact)
    TO: [Comm: 5.00] [Pay: 5.00] [Fair: 5.00] [Fast: 5.00] [Reviews: 8] [ToS: 0]
    Description: We are conducting an academic survey on individual decision making. In the course of the study, we will ask you to make several choices. In addition to the HIT reward, you may receive $1.00 of bonus, depending on your choices and some luck.
    Time: 2 hours
    HITs Available: 1
    Reward: $0.50
    Qualifications: Exc: [egb] has not been granted; Exc: [rd42199] has not been granted; Total approved HITs is not less than 1000; HIT approval rate (%) is not less than 99; Location is US;
    This HIT was posted through TurkerHub xPort Script v2.1 • Learn MoreInstall Here
     
    • Nom Nom Nom! Nom Nom Nom! x 14
  12. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    Oh man, that's just absolutely savage behavior right there. :emoji_confounded:

    "Nice, just got a ... six o' clock seventy-five minutes tip?" :lol:
     
    • LOL LOL x 1
  13. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    Title: Attitudes about the Bible (Christians who use the Bible as a guide to daily life only please)(~ 8 minutes) | PANDA
    Requester: Jason Miller [A2I68FGAX3MZR2] (Contact)
    TO: [Comm: N/A] [Pay: 4.20] [Fair: 5.00] [Fast: 5.00] [Reviews: 6] [ToS: 0]
    Description:
    This HIT will ask you some questions about the Bible (Christians who use the Bible as a guide to daily life only please)
    Time: 60 minutes
    HITs Available: 1
    Reward: $0.50
    Qualifications: Total approved HITs is not greater than 10000; Exc: [1667942158-59319] has not been granted; HIT approval rate (%) is not less than 90; Location is one of:;

    This HIT was posted through TurkerHub xPort Script v2.1 • Learn MoreInstall Here
    Definitely not for me. :emoji_laughing:
     
    • Nom Nom Nom! Nom Nom Nom! x 3
  14. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    Title: Intelligence Test Development - $1.25 ~ 12.5 min. (~ 12 minutes) | PANDA
    Requester: Christopher To [A1Z6WETFGYBDYY] (Contact)
    TO: [Comm: 5.00] [Pay: 3.06] [Fair: 4.71] [Fast: 4.64] [Reviews: 33] [ToS: 0]
    Description:
    Help us pilot an intelligence questionnaire
    Time: 60 minutes
    HITs Available: 1
    Reward: $1.25
    Qualifications: Total approved HITs is not less than 100; Exc: [59626-59037] has not been granted; HIT approval rate (%) is not less than 95; Location is one of:;

    This HIT was posted through TurkerHub xPort Script v2.1 • Learn MoreInstall Here
    Returned it.... writing.
     
    • Nom Nom Nom! Nom Nom Nom! x 9
  15. lemondrop

    lemondrop Active Turker

    Messages:
    497
    Ratings:
    +732
    • Nom Nom Nom! Nom Nom Nom! x 16
    • 5/5 Pay 5/5 Pay x 2
  16. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    • Like Like x 2
    • Love Love x 1
  17. Ten

    Ten Survey Slinger

    Messages:
    5,518
    Gender:
    Male
    Ratings:
    +8,149
    But don't do it more than once.
     
    • Today I Learned Today I Learned x 1
  18. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    [​IMG]
     
  19. GooseMcD

    GooseMcD Well-Known Turker

    Messages:
    1,694
    Gender:
    Female
    Ratings:
    +4,286
    I have close to 800 pending shoes. Gross
    [​IMG]
     
    • Like Like x 1
  20. Cosmo

    Cosmo Survey Slinger

    Messages:
    2,940
    Gender:
    Male
    Ratings:
    +4,140
    I missed a shoes HIT? :(
     
Thread Status:
Not open for further replies.