Ad
  • Custom User Avatar

    Not a suggestion.

  • Custom User Avatar

    Is that a suggestion? Because there are only 2 languages (JS and Python), and both of them have easy ways to print to stdout. What you're saying makes no sense.

  • Default User Avatar

    Next update I can just block your comment

  • Default User Avatar

    and you're one to talk you're username is retarded

  • Default User Avatar

    theres a new feature coming out where I can block people from commenting:)

  • Custom User Avatar

    Done!

  • Custom User Avatar

    I agree with you and was thinking the same these days while authoring katas.

    What's the point of making some challenging kata that will always stay in beta (with maybe 5 people solving it), if people keep making 8kyu katas about string reversing?
    How can a 4kyu/3kyu kata can even come to existence out of beta if it will take forever for enough people to solve it and rank it?

    I shouldn't say this as I've authored myself a string reversing kata, but it was still a challenging Shell language kata; so why have I done that? I had to translate it in javascript and python to make it popular with the result that it has become very easy in these 2 languages (and even got some down-votes).

    My possible suggestions:

    • give the honour points after solving and ranking;
    • decrease the amount of honour points awarded after many people have solved a kata (to reward the real pioneers and encourage the research of old beta katas and the difficult ones);
    • reduce/remove honour points for katas officially ranked 7/8kyu;
    • remove points if you create obviously duplicate katas;
    • reduce points if you make a long streak of weak katas;
    • reward authors of katas with many warriors training/skipping if the kata has no issues and it's just plain hard;
    • force users to author katas at some point;
  • Custom User Avatar
  • Custom User Avatar

    From a mathematical standpoint, returning zero is not that bad. Only if the calculation really was wrong you should throw an error (inserting letters for example)

  • Default User Avatar

    As the cw currency is honor, I would suggest higher incentive. E.g., solving a kata while still in beta could return twice as much honor (or some other reasonable amount) than solving it after it has left beta.

  • Custom User Avatar

    Hey.

    We expect 0 in this case because that was the challenge set by @renjia93 for this kumite. Namely

    "if no positive number in array, return 0."

  • Custom User Avatar

    @Blackmetalmcdonalds,

    Your translation was not compatible with Python 3 because of this error:

    AttributeError: module 'string' has no attribute 'uppercase'
    
    

    I simply changed string.uppercase -> string.ascii_uppercase and string.lowercase -> string.ascii_lowercase so that it's now compatible with both versions of Python.

    Here is the fork.

    Thanks!

  • Default User Avatar

    Thanks for the hint and the translations. ;-)

  • Custom User Avatar

    Not sure if I am up for a gaffe, but this new Pythonista's name would look like a girl, not a "man" name, just telling because it is in my native language :p

    Other than that, nice kata and Crystal and Ruby translations available now!

  • Default User Avatar

    Thanks a lot!! ;-) It is approved!

  • Loading more items...