• 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
taw Avatar
Name:Tomasz Wegrzanowski
Clan:Unknown
Skills:ruby, cats
Member Since:Dec 2013
Last Seen:Mar 2021
Profiles:
Following:15
Followers:67
Allies:10
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (1132)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • tobeannouncd
    • created an issue for "Regexp basics - parsing time" kata
    • 15 days ago

    A valid time with a trailing newline (e.g. '12:30:00\n') should be added as a fixed test. Many solutions use regex patterns like /^([0-1]\d|2[0-3])(:[0-5]\d){2}$/, but the '$' token matches on different things depending on language, notably Python and Java, which will match the position before a terminal newline as well as the end of the string. Also, annoyingly, just replacing the '$' with '\Z' isn't always effective, as in Python, '\Z' matches only the end of the string, while in Java it's just a synonym for '$'.

  • Custom User Avatar
    • pedro.dp0
    • created a suggestion for "Regexp basics - parsing time" kata
    • 16 days ago

    Java translation!

  • Custom User Avatar
    • alivsey87
    • commented on "Categorize New Member" python solution
    • 23 days ago

    After doing so many Python Kata and learning from one-liner solutions, I'm happy that I can now have one-liner solutions equivalent to these :D

  • Custom User Avatar
    • colinmcnicholl
    • commented on "Geometry Basics: Triangle Perimeter in 2D" kata
    • 28 days ago

    No worries - I was just a little grumpy and should have walked away, calmed down and not posted and hence troubled you. Figuring out the solution once I realised what was expected was really simple, perhaps so simple being the reason I assumed the intent was to get us to create the classes, structs ow whatever we chose to be appropiate. Since solved.

  • Custom User Avatar
    • hobovsky
    • commented on "Geometry Basics: Triangle Perimeter in 2D" kata
    • 28 days ago

    You do not need to create them, they are already available in preloaded sinppet as:

    struct Point{
      double x;
      double y;
    };
    
    struct Triangle{
      Point a;
      Point b;
      Point c;
    };
    

    There is a sentence in the description which attempts to explain this, but yeah, mignt be not clear enough. You do not need to define anything, or include anything, you just use the existing classes.

  • Custom User Avatar
    • colinmcnicholl
    • commented on "Geometry Basics: Triangle Perimeter in 2D" kata
    • 28 days ago

    I created my own Point and Triangle classes in C++ and approriate class member functions then when I run the test I get an error: "Redefinition of Point, Triangle ... Point preveiously defined here." How do I get to see these existing definitions for Point and Triangle?

  • Custom User Avatar
    • Neffler
    • commented on "Categorize New Member" python solution
    • 2 months ago

    Thats just amazing

  • Custom User Avatar
    • Tanvir47
    • commented on "Categorize New Member" python solution
    • 2 months ago

    Lmao🤣🤣🤣🤣🤣

  • Custom User Avatar
    • Abadi11
    • commented on "Regexp basics - parsing prices" kata
    • 2 months ago

    Hi I don't know why the test got failed in the first test and passed in the second although they are the same amount $1.23.

    I need help please

  • Custom User Avatar
    • Just4FunCoder
    • commented on "Regexp Basics - is it all whitespace?" kata
    • 2 months ago

    "\nX" already included in the Ruby tests.

    Should include it for the other languages as well, for consistency.

  • Custom User Avatar
    • Just4FunCoder
    • commented on "Regexp Basics - is it a vowel?" kata
    • 2 months ago

    Ruby random tests added in this fork

  • Custom User Avatar
    • Just4FunCoder
    • created an issue for "Regexp Basics - is it a hexadecimal number?" kata
    • 2 months ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • Just4FunCoder
    • commented on "Regexp Basics - is it a digit?" kata
    • 2 months ago

    Done for Ruby, in this fork

  • Custom User Avatar
    • natan
    • commented on "Geometry Basics: Circle Circumference in 2D" kata
    • 2 months ago

    They may be well aware of that but they still might not be aware that they did that, and then didn't fully understand the situation described by the error message and seeing how that relates to their function's behaviour and what's in the test code, which they may not have looked at. They're also not posting the full error message here and .. and their current solution misinterprets how rounding is applied here. But that's just what it's like when everything is new isn't it. Nothing gets enough attention when everything demands attention. Not particularly strange.

  • Custom User Avatar
    • BobtheLantern
    • commented on "Geometry Basics: Circle Circumference in 2D" kata
    • 2 months ago

    How did you solve like 20 other kata without knowing that you're supposed to return the answer and not print it?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...