Little flakey (running on Chrome Mac). I type in an answer, press Submit, and nothing happens. When I reload it finally updates and shows the next question.
Same here (even on Chrome Mac), but I get an "unknown error". But when I switch to coffeescript or ruby, it then shows up that I got the correct answer (in the Earn an Invite section).
I ended up making it all the way past the third question (though I had to enter the same solution a few times). I ended up getting the invite page but then just left.
Also experiencing both issues. I'm curious how some people have got onto #2 already-- maybe it's looking for a specific solution rather than a valid one
Wow! We had no idea someone would be posting about us on HN today. We were not prepared. The site has been scaled up and it should working now.
UPDATE:
I was a bit hasty with my original comment. There was a regression bug that was still causing the landing page to be broken. A fix has been deployed and things should be working now.
Actually it seems to work, accepting a solution and allowing to progress, if you enter your solution as desired and then click on the type/icon of language you answered for.
Nice idea, but its hard to get any reason to register if there is no bigger picture or the ability to interact in any way with the site.
A bit strange written in your "privacy policy" by scattering through:
"credit card... obtain payment from you." ? ->
"Our Site’s subscription registration form will request that you give us your name, email address, credit card information, and certain other information that will enable us to provide our services to you and obtain payment from you. We may from time to time send information in the form of email to those who register with us at codewars.com. You may always opt out of receiving future mailings."
Maybe there is not everything correct and might need modification?
Q: Given 2 strings, a and b, return a string of the form short+long+short, with the shorter string on the outside and the longer string on the inside. The strings will not be the same length, but they may be empty (length0).
My Answer:
function solution(a, b){
if(typeof(undefined) == typeof(a))
a = "";
if(typeof(undefined) == typeof(b))
b = "";
if(a.length > b.length)
return b + a + b;
else
return a + b + a;
}
Result:
"Unknown Error"
Of course my solution doesn't account for a.length == b.length, but the question is somewhat nonsensical in that it states '...strings will not be the same length, but they may be empty...' (2 empty strings would be the same length)...
The site is definitely buggy. I'm getting the following errors in Chrome:
no pushstate application-2667ae701c78991056dcdf4c46459327.js:19
Uncaught TypeError: Cannot call method 'replace' of undefined ace.js:1
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
Thanks for all the feedback - we got caught in the middle of a performance upgrade so the sites code challenge engine isn't working under load right now.
36 comments
[ 2.1 ms ] story [ 73.8 ms ] threadYou probably want to fix this bit too: http://imgur.com/KqYuCHn
Also, if your browser window is too narrow it suddenly thinks you're on a mobile device and ceases to work.
UPDATE:
I was a bit hasty with my original comment. There was a regression bug that was still causing the landing page to be broken. A fix has been deployed and things should be working now.
Nice idea, but its hard to get any reason to register if there is no bigger picture or the ability to interact in any way with the site.
A bit strange written in your "privacy policy" by scattering through:
"credit card... obtain payment from you." ? ->
"Our Site’s subscription registration form will request that you give us your name, email address, credit card information, and certain other information that will enable us to provide our services to you and obtain payment from you. We may from time to time send information in the form of email to those who register with us at codewars.com. You may always opt out of receiving future mailings."
Maybe there is not everything correct and might need modification?
Q: Given 2 strings, a and b, return a string of the form short+long+short, with the shorter string on the outside and the longer string on the inside. The strings will not be the same length, but they may be empty (length0).
My Answer:
Result: "Unknown Error"Of course my solution doesn't account for a.length == b.length, but the question is somewhat nonsensical in that it states '...strings will not be the same length, but they may be empty...' (2 empty strings would be the same length)...
Unknown error.
"Katas"? an Ensō? It's code, chill out.
Check out rubymonk.com, seemed like a similar idea.
def multiply(a b)
endHowever I just reloaded the page and it's showing a different code snippet and says 1 of 3 completed.
I'm glad it's their fault, i was actually getting depressed not finding my error...
Maybe it's not talking about the function.
I guess the challenge is to build a working version of their site for them?
Don't let the bug comments get you down - this is cool.
$.post(App.route("attempt",this.playData),e,function(e){var n;return n=e.reason,n||(n=e.valid?["Good Job!","Correct!"].sample():"Unknown error")
When I pop open the Chrome network tab, this is what the response to /attempt looks like: {success: true, dmid: ikspmzs0}
Given that .sample() just returns a random array element, I'm assuming it's freaking out because it's expecting "valid" and getting "success" instead.
Chrome: "TypeError: Cannot call method 'replace' of undefined"
Safari: "TypeError: 'undefined is not an object (evaluating 'f.text.replace')"
Firefox: "TypeError: f.text is undefined"
Not exactly advertising competence in JS ... (Wasn't there any testing?)