Ad
  • Custom User Avatar

    I have tried to update the Kata however it freezes whenever I hit the Re-Publish button. I have tried on multiple browsers and multiple computers but it never actually publishes the changes. Is this a known bug?

    I then thought I could remove this Kata and publish a new one with the updated information however it won't let me remove Un-Publish this Kata either...

    Any ideas?

  • Custom User Avatar

    I very much apologize for not updating the Kata in a timely fashion; work is eating up a majority of my time (Our company writes drivers for optical disc drives (the FAA still uses SCSI drives, who knew?), it's a ton of fun I promise :p). I'm about to head to bed for the night, however I will make the edits to the Kata tomorrow during lunch or when I get home. In hindsight, I probably shouldn't have submitted the Kata until I had time to work on the issues but I will resolve them tomorrow.

    As to your question about the return value of possiblyKolakoski([1,3,3]), it would return false as [1, 2] is different than [1, 3]. However, that is not how I explained the function in the description and that is obviously a problem. Thank you for pointing this out.

    I would very much like to read how you would describe the kata, as well as what changes you would make to it. I'm not sure about the possibly_kolakoski function thinking about it now; maybe it would be better to label it is_currently_kolakoski?

    Here is a list of the changes I plan to make tomorrow

    • Add random tests + add more static tests
    • Update explanation of the RLE used in the kata as to not confuse people
    • Update explanation and naming of possiblyKolakoski to better reflect what it should return
    • Update explanation and naming of generateKolakoski to avoid confusion

    Feel free to add more to that list before I start hacking away tomorrow; I appreciate all the effort you have put in helping me with the kata. I'm sure we will arrive at a kata that everyone is satisfied with; that is my goal (as well as everyone elses I assume).

    I look forward to chatting with you tomorrow over the changes!

    Also, this is probably not where I should ask this but I just thought I'd take the opportunity since I have your ear (eyes?) at the moment. Is pulling ideas and content for kata's from other sources discouraged? I am a huge Project Euler fan and there are lots of extremely interesting and fun problems that I think would make great kata's. As long as I don't just copy & paste the description of the problem, is it okay for me to translate my project euler solutions?

    Anyway, thank you again!

    Best Regards,
    Kevin

  • Custom User Avatar

    To be honest, I did not mean to set the level at 3 either. I agree, this is definitely not a 3 kyu level problem; I thought that the rank was determined during the beta stage by the people who solve it (like you said) so I have no issue with it being ranked whatever everyone sees fit. I just thought it was an interesting sequence when I first ran across it and thought others would find it fascinating as well!

    Thank you for the link, I will make some adjustments to the kata and see what people think.

  • Custom User Avatar

    Yes, I agree that normally run-length encoding includes the element itself however I do not think that has to be the case. I gave an example of what I meant by run-length encoding as it applies to the problem but I can see how this might cause confusion. Do you think I should change the text to "modified run-length encoding" or should I just make an extra note that the RLE used in this Kata is slightly different than the canonical implementation?

  • Custom User Avatar

    I must have accidentally click JavaScript, it was not meant to be a JavaScript kata. How do I delete that language?

    Starting with the list [ 1, 2, 1 ] we would get the first 30 elements as [ 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1 ] which is NOT a Kolakoski sequence.

    As I said in the description, the numbers in the sequence must be in the same order as the starting list but the same character can be repeated. I'll try to word this better in the description of the problem. Thank you so much for the responses.