• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Disassembler0 Avatar
Name:Unknown
Clan:Unknown
Member Since:Jan 2017
Last Seen:May 2019
Profiles:
Following:0
Followers:3
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (51)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Nnaemeka-ch
    • commented on "Unique In Order" python solution
    • 4 months ago

    Think also that the underscore is used to indicate that you don't need or care about those values, serving as a placeholder for the unused variables.

  • Custom User Avatar
    • LamLing0909
    • commented on "A Chain adding function" python solution
    • 9 months ago

    d*mn, I don't know int can be inherted

  • Custom User Avatar
    • ahmet_popaj
    • commented on "Domain name validator" kata
    • 11 months ago

    Fancy kata on pattern matching, I really like it.

  • Custom User Avatar
    • Romikou
    • commented on "Unique In Order" python solution
    • 11 months ago

    Underscore is just a convention, "k for k,g in groupby(iterable)" also works perfectly.

  • Custom User Avatar
    • CClairvoyant
    • commented on "A Chain adding function" python solution
    • 12 months ago

    How does repr have anything to do with this kata?

  • Custom User Avatar
    • cleverboy1
    • commented on "Domain name validator" kata
    • 16 months ago

    The rules are somewhat vague, but I really enjoyed creating efficient regex for this kata.

  • Custom User Avatar
    • gabrielhom
    • commented on "A Chain adding function" python solution
    • 17 months ago

    You cannot get that behaviour wihout using any classes or objects in python

  • Custom User Avatar
    • ah2023
    • created a suggestion for "Domain name validator" kata
    • 2 years ago

    In the test category "LengthTests" I think instead of "some-horribly-long-domain-name-this-time-longer-than-63-charaters.zzz" the given text should be "some-horribly-long-LEVEL-name-this-time-longer-than-63-charaters.zzz".

    As the level name is longer than 63 characters I think the result for this test should be false not true.
    BUT I am not quite sure because it is not clear from the output which test of the test category it refers to.

  • Custom User Avatar
    • mauro-1
    • created a suggestion for "Domain name validator" kata
    • 2 years ago

    Python fork with random tests and standard failure messages: https://www.codewars.com/kumite/64b321a2206744001d337b9e?sel=64b321a2206744001d337b9e

  • Custom User Avatar
    • evanrh
    • commented on "Domain name validator" kata
    • 2 years ago

    Submitted a Javascript translation for this kata.

  • Custom User Avatar
    • SerGreen
    • resolved a question on "Domain name validator" kata
    • 2 years ago

    Oh right, i can print that, i forgor 💀.

    My regex is wrong, i know it, i just couldn't figure out why it was failing one of the tests. Now that i printed it, i see that it was the test for 253 total characters limit (and that it's not 7th, it's #8 out of 10 length tests...).

    Thanks for the assist.

  • Custom User Avatar
    • avermakov
    • commented on "Domain name validator" kata
    • 2 years ago

    Fix:

    https://www.codewars.com/kumite/64b45a832067442d2333832f

  • Custom User Avatar
    • natan
    • commented on "Domain name validator" kata
    • 2 years ago

    Not sure what you're asking, do you mean which rule are you getting wrong? Which test is the seventh test? Easier for people to answer you if you show the output and argue for why it should be your answer instead of the one the test wants. Or if you're wondering what the input was, then I mean ask what the input was, but, you can print that. All around I'm really confused.

  • Custom User Avatar
    • SerGreen
    • created a question for "Domain name validator" kata
    • 2 years ago

    My solution [python] is passing all of the tests except one and i have no idea what is wrong because all it says is "value is not what was expected". But what was expected? I only know it's something about length, but i already tried every "missed by one" possible errors and no luck.

    What does the 7th test in the length group test for?

  • Custom User Avatar
    • hobovsky
    • resolved an issue on "Domain name validator" kata
    • 2 years ago

    .

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...