02/27 - Money Monday!

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

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

    hofrungur Active Turker

    Messages:
    506
    Ratings:
    +819
    can't work

    length() isn't a function.

    u can do
    Code:
    bullshit = function() {
    if(this.length > 0) {
    if (!this.questions[this.length-1].submit()) {return;}
    }
    if(this.length == exampleUIDs.length) {
    mturkSubmit();
    return;
    }
    const url = "/load_answer_sentence_task";
    const data = {workerId: httpGetParameter('workerId'), exampleUID: exampleUIDs[this.length]};
    const settings = {data: data, method: "POST"};
    const request = $.ajax(url, settings);
    request.done(function (data) {
    question = new Question(data, hit.length());
    hit.questions.push(question);
    });
    };
    
    Code:
    $('#button0').click(bullshit)
    
    but still broke :( :( :(
     
    • Today I Learned Today I Learned x 2
    • LOL LOL x 1
  2. Sleeping Dog

    Sleeping Dog Well-Known Turker

    Messages:
    555
    Gender:
    Female
    Ratings:
    +2,008
    Hitting enter at the end of the sentence works on some of them.
     
    • Today I Learned Today I Learned x 2
  3. Jagdpanzer

    Jagdpanzer Survey Slinger

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

    Star Trek?
     
  4. Hummingbirdee

    Hummingbirdee Big Bird

    Messages:
    54,302
    Gender:
    Female
    Ratings:
    +115,710
    Brought some nip home from the grocery store, Bearnie doesn't want to share. The lure of the nip managed to grace us with a rare sighting of Matt's fat cat Holly!

    [​IMG]
     
    • Like Like x 2
    • Love Love x 2
    • LOL LOL x 1
  5. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    Some pretty solid evidence right there... Thanks! gonna return all of mine. :-\

    Woops, I actually kept one of them. And.. that's working for me! :eek: It's a bit slow between sentences. Got to submit that one. Thanks! :D
     
    • Like Like x 1
    • LOL LOL x 1
  6. jdzane

    jdzane Survey Slinger

    Messages:
    9,239
    Gender:
    Female
    Ratings:
    +8,650
    Code guru's can you take a look at this and figure out what's missing? I really want to start the damn hit....
    i
    Code:
    f (mturkworkerID == "" ) {
    assignment_id_field.innerHTML = '<tt>The link will appear here only if you accept this HIT.</tt>';
    } else {
    newHREF = 'https://www.soniabishoplab.com/instructions_GoogleFaces?MID=' + mturkworkerID + '&amp;assign_id=' + ass_id + '&amp;hit_id=' + hit_id + '&amp;ratingType=Valence&amp;setType='
    console.log(newHREF)
    newHTML = '<a target="_blank" href="' + newHREF + '"><h1><span ><span style="font-family: Courier New;"><b>Click here to begin!</b></span></span></h1></a>'
    console.log(newHTML)
    assignment_id_field.innerHTML = newHTML;
    }
     
  7. Randomacts

    Randomacts Survey Slinger

    Messages:
    94,624
    Gender:
    Male
    Ratings:
    +124,077
    Hey look ... $1002 worth of Visual Genome that nobody is going to do are up.
     
    • LOL LOL x 2
  8. hofrungur

    hofrungur Active Turker

    Messages:
    506
    Ratings:
    +819
    sorry i didn't add context. the problem is in Hit.prototype.nextQuestion percy has this.length() when it should be this.length. if u change that it'll actually submit but won't advance so i'm missing something.

    but now enter works so fixed???
     
    • Today I Learned Today I Learned x 1
  9. Kayrad

    Kayrad Survey Slinger

    Messages:
    1,017
    Gender:
    Male
    Ratings:
    +1,619
    I'm like telling my mom about that Trappist 1 system and stuff and shes all into it but shes like your lying and I'm like no this and that showing her articles and stuff. (me and my mom really into sci-fi stuff)

    then I'm like yea and this was NASA's next move



    hahaha, and she was like ahh u liar! but I'm like nah I wasn't lying and started tell her about Trappist more and then I was like

    but yea they said NASA started looking for places to go after trump won the election (shes a trump supporter I'm not) and shes like the whole thing was a lie!!! I'm LMFAO rn
     
  10. Melting Glacier

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

    Messages:
    6,157
    Gender:
    Male
    Ratings:
    +11,423
    Paging Dr. Scamley Milgram... paging Dr. Scamley Milgram... :emoji_joy_cat:

    That's okay! I appreciate you trying to tackle it and figure out what's wrong. I never pass up a chance to analyze some code and look better. :emoji_thumbsup:
     
    • LOL LOL x 4
  11. Clozy

    Clozy Well-Known Turker

    Messages:
    712
    Gender:
    Male
    Ratings:
    +1,642
    About 5 minutes and a half going slow

    Title: Short survey (about 10 mins) | PANDA
    Requester: Smith Lab [AM08M2RSHL9D2] (Contact)
    TO: [Pay: 3.41] [Fair: 5.00] [Comm: 3.67] [Fast: 4.88] [Reviews: 67] [ToS: 0]
    Auto Approval:
    1 day
    Time: 45 minutes
    HITs Available: 81
    Reward: $0.80
    Qualifications: Norm_Bus Seat has not been granted ; HIT approval rate (%) is not less than 95; Location is US;
     
    • Nom Nom Nom! Nom Nom Nom! x 6
  12. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,368
    Ratings:
    +8,598
    What url does it take you to?
     
  13. jdzane

    jdzane Survey Slinger

    Messages:
    9,239
    Gender:
    Female
    Ratings:
    +8,650
  14. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,368
    Ratings:
    +8,598
  15. hofrungur

    hofrungur Active Turker

    Messages:
    506
    Ratings:
    +819
    thx i'm new to code and i was wrong. my new theory
    Code:
    Hit.prototype.length = function() {
    return this.questions.length;
    };
    
    percy actually does define it but for some reason it doesn't work with the button correctly. hitting enter triggers "this" properly. i'm mostly talking out my ass trying to help. i was excited when my function worked to submit but it didn't advance the screen.
    big applause to the just hit enter. when i did it didn't do anything but i was being impatient.
     
    • Today I Learned Today I Learned x 1
  16. jdzane

    jdzane Survey Slinger

    Messages:
    9,239
    Gender:
    Female
    Ratings:
    +8,650
    Right. What is "setType" and where would I find it?
     
  17. WishATurkerWould

    WishATurkerWould Survey Slinger

    Messages:
    2,151
    Ratings:
    +8,800
    Mark Klein and Melba toast. :emoji_confounded:
     
    • LOL LOL x 2
  18. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,368
    Ratings:
    +8,598
    Whatever they want it to be. That is their custom thing so there isn't a way to pull it without know what it is in reference to.
     
  19. jdzane

    jdzane Survey Slinger

    Messages:
    9,239
    Gender:
    Female
    Ratings:
    +8,650
    and it makes sense that it's bringing me to a completely blank white page, rather than a page not found error page?
     
  20. nice dog

    nice dog Active Turker

    Messages:
    416
    Ratings:
    +339
    We can't really tell. As far as I know, it's their own thing and it's not meant to be i.setType, and even if it was that, we'd have to guess at what they would have wanted.

    The HTML is just unfinished.
     
Thread Status:
Not open for further replies.