Ad
  • Custom User Avatar

    ImaginaryDevelopment has pointed out that the tests in F# have their "expected" and "actual" the wrong way around. Not a massive problem but it'd be nice to fix it. I'm happy to do it if the translator isn't around.

  • Custom User Avatar

    I think you have to make a new comment rather than reply to an existing one to create an issue. You're right though, the expected / actual do appear to be backwards in F#.

  • Custom User Avatar

    The initial code (in C#) said:

    // Write a *string* which represents a regular expression to detect whether a binary number is divisible by 7
    

    It wasn't clear to me whether the author meant:

    (a) "you, personally, write a string" - I should author a string which represents that regular expression, and then just create a one-line function in my language of choice which returns that constant string; or

    (b) "create a program to write a string" - I should author a program which will build that regular expression and return it as a string

    in the end I went for (a) because it was a lot quicker, but I can see from the solutions that many people interpreted this as (b).

  • Custom User Avatar

    You're welcome :)

  • Custom User Avatar

    Oh - sorry, I was sure I'd fixed that already. I meant to. I think it must have snuck back in again when I changed how the random tests worked. Fixed now :)

  • Custom User Avatar

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

  • Custom User Avatar

    When a kata is first published in a given language, the author has to provide a solution in that language and it has to pass all of the tests that you're currently trying to pass. Additionally, 1517 people have successfully completed this kata in JavaScript since it was published. I don't know what proof you could get that would be better than that :)

  • Custom User Avatar

    Erlang translation available! (Yes it has medved.) If approved, I think this is the first purple Erlang kata.

  • Custom User Avatar

    Voile has been on Codewars for a year and a half and has authored 44 kata. You've been here a month. I don't think it's unreasonable to think he might be a better judge of "kata creation mentality" at this point.

    Look, I get that you would rather the kata was a different puzzle that you like more. But it's this puzzle :)

    Why not solve more kata, earn more honour, then start authoring your own?

  • Custom User Avatar

    Hi Ionut,

    1. If your solution fails for one of the test cases, it's not a correct solution :)
    2. "8 solves" means that 8 other people have already solved it in C++. This is what the "8 of 150" means at the top of the page.
  • Custom User Avatar
  • Custom User Avatar

    Thanks for your input @Blind4Basics. @hufftheweevil let me know if there's anything I can do or clarify or whatever :)

  • Custom User Avatar

    I guess if you can see that there are tests, and the tests look ok to you, and it's passing the tests, that's sufficient? Maybe one doesn't need to 100% understand the solution itself.

  • Custom User Avatar

    To be honest I'm not sure exactly how the process works! My understanding is that the kata's author is the person who would normally approve translations - but I'm not sure what happens in the case where the translation is in a language they're not confident in.

    I think other "power users" can approve translations too, but I don't know how an author goes about asking for this to happen...?

  • Custom User Avatar

    Hi hufftheweevil, I just wondered if you'd had the chance to look at this yet? Is there anything you would like me to change or improve, or are you happy to approve this?

  • Loading more items...