Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I still see the issue on Chrome/Windows as well as Firefox/Windows.

    I created a new account and the test ouput is showing up as expected... so it seems like it's a problem specifically with this account. Do you want details about the second account that I created?

  • Custom User Avatar

    Yes, I'm still experiencing this issue. I'm on a chromebook. I haven't checked to see if this happens on my windows machine.

  • Custom User Avatar

    This is now happening for me. It was fine last night but every Kata I've tried this morning returns nothing when I test / submit.

    Edit: Appears to be working again.

  • Custom User Avatar

    Is this still an issue?

  • Custom User Avatar

    Thanks! I understand now. My confusion was a result of me misreading the instructions. I can see that once is indeed only called once; I thought "logOnce" was the name of the "once" function; so I thought it was being called multiple times in the example given in the instructions.

  • Custom User Avatar

    Please google "closure" and you should be more clear on what he have done here. This "once" function is returning another function. The call variable is set to true the first time in "once" and it will not be set back to true again since we are calling the returned function not the "once" function in the main program.

  • Custom User Avatar

    I guess I don't understand this Kata, but wouldn't this function always run the given argument function? You're setting call to true everytime, so in what case would it be false in the anonymous function that is being returned? I can see its being set to false in the anon function, but once that function runs and you call once again, you run through the beginning again which sets call to true, and would make the function run again, wouldnt it?

    Thakns.

  • Custom User Avatar

    Sure. You can send us a message through the intercom Feedback (Lightbulb icon at the bottom left of the screen).

  • Custom User Avatar

    I've been waiting a couple days to reply to see if this is still happening. And haven't had this happen any time recently, but it's always been intermittent, i.e. it works great for a week, than I can't do anything for days at a time. Is there something I should do besides posting here if it starts up again?

  • Custom User Avatar

    Angle brackets (greater than, less than, < or >) seem to not be handled very well across the site. The syntax hilighting often get's muddled with them, making all the text between a < and > red. Also, in some places code that looks like a HTML tag (such as

    ) is left as such, hidding or mis-formatting code.

  • Custom User Avatar

    I'm constantly getting "NameError: constant FileUtils not defined for Object" when submitting or running tests in Ruby. I can't submit any Ruby solutions because of that.

  • Custom User Avatar

    When I run my own tests and the submissions tests, the output window is compeltely empty; I can't see any text describing which tests passed or failed.