Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
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?
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.
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.
Is this still an issue?
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.
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.
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.
Sure. You can send us a message through the intercom Feedback (Lightbulb icon at the bottom left of the screen).
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?
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.
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.
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.