• 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
bejczib Avatar
Name:Unknown
Clan:Emarsys
Skills:ruby
Member Since:Nov 2015
Last Seen:Jun 2024
Profiles:
Following:40
Followers:41
Allies:39
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (51)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • HODOR72
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 3 years ago

    same solution)

  • Custom User Avatar
    • Twilight_Sun
    • created an issue for "Quipu Calculator" kata
    • 3 years ago

    there are no real random tests in Ruby

  • Custom User Avatar
    • martynov-94
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 4 years ago

    It's regular expressions, they are not supposed to be readable. It's a great tool that you shouldn't avoid just because it doesn't look pretty.

  • Custom User Avatar
    • RealKenshiro
    • commented on "Quipu Calculator" kata
    • 4 years ago

    Very nice and original kata.

  • Custom User Avatar
    • ejini战神
    • created an issue for "Quipu Calculator" kata
    • 4 years ago

    Ruby 3.0 should be enabled (Refer this & this for more detail)

  • Custom User Avatar
    • Glyxerine
    • created a suggestion for "Quipu Calculator" kata
    • 6 years ago

    Need more some specific, random, as well as, corner test case.

  • Custom User Avatar
    • staticVoidMan
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 7 years ago

    Well thought regex. Simply loved it!

  • Custom User Avatar
    • staticVoidMan
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 7 years ago

    Removing the last $ would leak matches such as 255.255.255.255.123456789.
    However, removing the second last $ would still work.

  • Custom User Avatar
    • WanQiong
    • created a question for "Quipu Calculator" kata
    • 8 years ago

    Could you help me understand the rule?

    Test.assertSimilar(calculate("@~~~~@+@~@@"), "@~~~@~@@@") // 1001+12 => 1013
    

    I'm coufunsed why the result is "@~~~@@@@" rather than "@~~@@@@". Thanks.

  • Custom User Avatar
    • Firefly2002
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 8 years ago

    Agreed... definitely not best practices haha. As Voile said though it's a RegEx issue, not a JS issue.

  • Custom User Avatar
    • bcole
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 8 years ago

    Awesome! I think you can save one char; redundant $ at the very end. Unless someone can find a case where it's needed?

  • Custom User Avatar
    • Voile
    • commented on "Regexp Basics - is it IPv4 address?" javascript solution
    • 8 years ago

    To be fair, it has nothing to do with JS but has to do with regexes. There's another kata of the same task (but in C#) and it's still the same kind of mess.

  • Custom User Avatar
    • bejczib
    • commented on "Quipu Calculator" kata
    • 9 years ago

    I think it's not a bug rather than lack of proper documentation. (updated)
    But thanks for asking! :)

  • Custom User Avatar
    • peterwang1996
    • commented on "Quipu Calculator" kata
    • 9 years ago

    I just worried about I've asked a stupid question, rather than having found a bug on the kata 

  • Custom User Avatar
    • bejczib
    • commented on "Quipu Calculator" kata
    • 9 years ago

    The original rules of calculating quipu is what I mentioned above. (I will update the description instead of the tests)
    Do you mind to change it according to that?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...