5 ms·
Code Wars (JS, Coffeescript & Ruby)
- paulhodge 13y agoLittle 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.
- russelluresti 13y agoSame 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).
- tehwebguy 13y agoSame, that only worked a couple of times for me though (Safari Mac)
- russelluresti 13y agoI 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.
- warfangle 13y agoThe first Javascript kata fails with an unknown error, even if the code is correct. You probably want to fix this bit too: http://imgur.com/KqYuCHn 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.
- martin_ 13y agoAlso 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
- scrabble 13y agoI'm glad it wasn't just me. I felt like something must be seriously wrong if I couldn't write a multiply function properly.
- camus 13y agosame stuff , doesnt work ...
- jhoffner 13y agoWow! 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.
- Malzahir 13y agoActually 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?
- mattezell 13y agoYea.. Can't get this to work.. 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)...
- timtamboy63 13y agoStupidly buggy. The correct answer tells me "Unknown Error".
- nathas 13y agoI love when a site asks me to write code that works when its own code doesn't. Unknown error.
- veinmelter 13y agoAside from the code tester not working properly, their branding and design are ignorant and overzealous. "Katas"? an Ensō? It's code, chill out.
- electrichead 13y agoI actually liked the design. There is always someone who looks at a "Show HN" just to tear it down though.
- ddunkin 13y agoIt's kind of funny. Check out rubymonk.com, seemed like a similar idea.
- Jonlz 13y agoNice, haven't touched ruby in awhile but glad it's not just me. I was worried when I couldn't troubleshoot a simple multiply function: def multiply(a b) a*b end
- gary4gar 13y agodef multiply(a, b) a*b end note the comma in params
- Jonlz 13y agoSorry wasn't clear in my post, that was the broken code I had to fix. I added the comma and got the unknown error message. However I just reloaded the page and it's showing a different code snippet and says 1 of 3 completed.
- gary4gar 13y agoI fixed the code, click submit. nothing happens?
- trit 13y agoThe 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.
- NicoJuicy 13y agoFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU... I'm glad it's their fault, i was actually getting depressed not finding my error...
- pschastain 13y agoApparently there wasn't a lot of collaboration on the site code itself; as has been mentioned, it's pretty buggy. Or maybe that's the REAL test...
- scrabble 13y agoIt's possible. The site does instruct the user: "The code does not execute properly. Try to figure out why." Maybe it's not talking about the function.
- georgebonnr 13y agoWhew. Yeah, I thought I was going crazy.
- georgebonnr 13y ago"The code does not execute properly. Try to figure out why." I guess the challenge is to build a working version of their site for them?
- cpursley 13y agoI like the concept + UI and have saved the bookmark. Don't let the bug comments get you down - this is cool.
- deleted 13y ago[deleted]
- scrabble 13y agoI still got Unknown Error on submission, but on page refresh would be pushed to the next snippet.
- nathas 13y agoRe: Unknown error -- $.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.
- masswerk 13y agoOoops – @setAnnotations: 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?)
- dccoolgai 13y agoI don't know what this is, but apparently I'm "enlisted" now... The design on the site looks really cool, though.
- exolxe 13y agoThanks 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.
- mattattaque 13y agoI dig it! Didn't get any of the errors everyone else here seems to be experiencing (Chrome on Win, v27). Looking forward to more of this. Nice job.