Ad
  • Custom User Avatar

    Nice and short. :-)

  • Custom User Avatar

    Your Java qualifying question about "greeting" is wrong. It expects the user to switch the order of names, but the code is already correct as given. The OO metaphor for calling a function with an argument on an object is "tell the object to perform the function on the argument". So if the object is Jim, Jim.greet("Joe") means "tell Jim to greet Joe", and "Hi, Joe, my name is Jim" is the right thing to do.

  • Custom User Avatar

    We have cheat detection that happens outside of the normal test run process. You will get the honor/rank credit at first, but you will eventually lose it once the cheat detection runs.

  • Custom User Avatar

    From what I'm encountered some exceptions from Java do not cause the test cases to fail, nor are the cases shown as succeeded - but the whole kata shows as succeeded which can be misleading and allow for a final solution to be posted which doesn't pass some cases.
    ie, http://www.codewars.com/kata/54f7d97f8c2d9e9a110004ff
    In that scenario, if one test case succeeds and others fail with an ArrayIndexOutOfBoundsException those with the exception do not cause the whole kata to show as failure.

  • Custom User Avatar

    Thanks Jake. That sounds logical.

    I'll set it to "Rank Up" now.

    p.s. No matter how many 'learn to code' site/books I've followed, there's always the frustration of the examples not working and you have no idea why
    Codewars is fantastic for guided learning. Cheers!

  • Default User Avatar

    Yup. Every Javascript kata can be broken ...

    @jhoffner & other admins i think you SHOULD look at the solutions of this kata :
    http://www.codewars.com/kata/find-a-way-to-cheat-the-codewars-testing-system/solutions/javascript

  • Custom User Avatar

    Haskell tests seem really unreliable, maybe about 4 out of 5 attempts or more seem to result in "Unknown error" or some timeout (not the 6000ms one)

  • Custom User Avatar

    Thanks. We will look into the Twitter issue. As for the beta kata, the setting you have shown is just for the default within the kata list. Is the list loading with approved + beta set as your filter?

    Beta kata will still be shown within the dashboard kata suggestions from time to time, especially if you have already exhausted your list of approved kata. In your case you have "Fundamentals" set, so if you change it to "Rank Up" then you will be shown harder kata as a higher priority over beta kata.

  • Custom User Avatar

    Couple of weird quirks today.

    I'm getting Beta Kata when the setting's off and I tried linking my twitter account and it failed.
    13:15 Pacific Standard Time

    Let me know if you want any more info.

    Cheers.

    Twitter error screen:
    https://www.dropbox.com/s/ay2qbv4njwdm0qj/Screenshot%202015-03-04%2013.11.19.png?dl=0

    Beta Kata shown:
    https://www.dropbox.com/s/gfjozn80n40h68g/Screenshot%202015-03-04%2013.16.02.png?dl=0

    Beta setting disabled:
    https://www.dropbox.com/s/y4scj2yzy3z1ysv/Screenshot%202015-03-04%2013.14.51.png?dl=0

  • Custom User Avatar

    uhm, you're making a new Calculator variable and you set it equal to your constructor... it's supposed to be something like var myCalc = new Calculator(); and then you can call it as myCalc.add(1,2); and so on. Also on your divide function, you re checking both variables to see if they're zero. That's mathematically not correct. In a/b , a can be very well 0, the result will be zero.

  • Custom User Avatar

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

  • Custom User Avatar

    True story. Thanks @jhoffner

  • Custom User Avatar

    This is the first time I've actually had time to use the site and was really disappointed that it seemed to hard to use:
    "Submission timed out. Please try again."
    Glad to hear it's not just me.

    Is there supposed to be notification via twitter @codewars or somewhere else?