Ad
  • Custom User Avatar

    It's a 7 kyu, I wouldn't mind that solution to slip through once in a while tbh ..

  • Custom User Avatar

    One at a time :) The most recent was in beta for months, and I still consider that kata one of the "easier" algorithms. So don't expect many kata's soon ;)

  • Custom User Avatar

    I wish I had had the chance to solve this series before trying the 2-4 kyu Sudoku katas. It helps you build the idea step by step. Nice series! Will there be other katas continuing it?

  • Custom User Avatar

    Looks good. Thanks for the translation!

  • Custom User Avatar

    Python translaton available on Naked Single. Can you check if description is language-agnostic (enough) for you?

  • Custom User Avatar

    Found the bug in my Python translation, I now get good results, as in your kumite. I'll work on a Python translation. Thanks for the assistance.

  • Custom User Avatar

    Ok I found the bug in my dynamic rendering of the HTML. Now it works, as it does in your fork. I'll continue on a Python translation.

  • Custom User Avatar

    this looks good

  • Custom User Avatar

    that's expected

  • Default User Avatar

    Well, I put it in a kumite. It looks the same way to me there as it does in Naked Single. What am I missing? I might be a blathering idiot for not seeing the problem, I'm operating on the basis that it seems to me like this is something printed and thus language agnostic. I'm just copying it from the DOM in my browser so idk if there's something special you're doing on the js side or like at all how this appears to you.

  • Custom User Avatar

    It's only printing the first frame. I can't get it to animate.

  • Default User Avatar

    Not sure how or if I could be possibly adding anything, but it's all about what you print (I therefore don't imagine that the language has any impact), so I lifted this from one of those other kata:

    # run in kata
    print("""<style>.board0:after{ content: "";
                                   animation: anim0 1s infinite;
                                 } @keyframes anim0 {   0% { content: "A"; }
                                                      100% { content: "B"; }
                                                    }
             </style><span class="board0"></span>""")
    

    idk what's what exactly here tbh, especially where board0 is from (maybe they're unique for each animation, board0 board1 board2 etc ..). there were also a bunch of \a's in content that I have no clue what they were there for. I replaced contents with just A/B for this example, in that kata they are the entire boards which are replaced with one another.

  • Custom User Avatar

    Ah, then I will do my best and try to solve it in JS. :D

  • Custom User Avatar

    Well I tried, but I'm unable to make the animations work in Python. It will remain JS only.

  • Custom User Avatar

    The unit of x and phase is not mentioned. They're apparently different (x is in angular wavenumber, phase is in radians)

  • Loading more items...