• 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
systemovich Avatar
Name:Geoffrey Van Wyk
Clan:Unknown
Skills:php, javascript, moodle, drupal
Member Since:Jun 2016
Last Seen:Apr 2025
Profiles:
Following:1
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (35)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • NoneAli
    • commented on "Find the missing term in an Arithmetic Progression" javascript solution
    • 2 months ago

    where is the missing term in this serie ?

    • this question is not valid for this kata.
    • the equation above works along with serie that missing a term only.
  • Custom User Avatar
    • itsronyinit
    • commented on "Reverse words" python solution
    • 2 years ago

    i don't get why mine doesn't work, it seems like it's identical to your code, please tell me what's the difference between them and what's wrong with my code >_<

  • Custom User Avatar
    • systemovich
    • commented on "Reverse words" python solution
    • 2 years ago

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

  • Custom User Avatar
    • Chrono79
    • resolved a suggestion on "Exclamation marks series #1: Remove a exclamation mark from the end of string" kata
    • 4 years ago

    Done.

  • Custom User Avatar
    • systemovich
    • created a suggestion for "Exclamation marks series #1: Remove a exclamation mark from the end of string" kata
    • 4 years ago

    Please fix the grammar in the description. Instead of "Remove a exclamation...", it should be "Remove an exclamation...".

  • Custom User Avatar
    • akar-0
    • commented on "Moving Zeros To The End" php solution
    • 4 years ago

    :D

  • Custom User Avatar
    • khlivnyuk
    • commented on "Moving Zeros To The End" php solution
    • 4 years ago

    Then someone would invent the floatiest floaty zero ever.

  • Custom User Avatar
    • systemovich
    • commented on "Moving Zeros To The End" php solution
    • 4 years ago

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

  • Custom User Avatar
    • systemovich
    • commented on "Moving Zeros To The End" php solution
    • 4 years ago

    My solution started out like this as well, but I used !== and ===, which failed the tests.

  • Custom User Avatar
    • dts2
    • commented on "Who likes it?" php solution
    • 5 years ago

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

  • Custom User Avatar
    • systemovich
    • commented on "Exclamation marks series #1: Remove a exclamation mark from the end of string" php solution
    • 5 years ago

    I wish I had thought of preg_replace.

    I think the i and s modifiers are not necessary.

  • Custom User Avatar
    • orangeornithus
    • commented on "Where my anagrams at?" php solution
    • 5 years ago

    Thank you for the constructive feedback! I've had some struggles deciding how best to handle return points in conditional-based functions, reframing it as "what output do I want?" makes a lot of sense.

  • Custom User Avatar
    • systemovich
    • commented on "Where my anagrams at?" php solution
    • 5 years ago

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

  • Custom User Avatar
    • jacobb
    • commented on "Counting Duplicates" javascript solution
    • 5 years ago

    I can at least say that user-input regex is not for prod on account of they can be used for denial of service attacks, though Python's regex engine seems to be capable of running system interrupts if a regular expression is taking too long (the use of goto statements makes this very hard to analyze). I'm not so sure about Javascript being able to be interrupted so that'd be something to look into if you're thinking user-defined regex.

    The criticisms here aren't about using regular expressions, but how long the regular expression takes to execute compared to an alternative solution that doesn't use regular expressions, so it's always going to be slower than that particular alternative solution, but the inherent increase in slowness is limited by the data it's being applied too. So if you're running it on very large strings or a lot of strings it's going to be much slower (O(n^2)) as the string size increases, but if the amount of data you're applying it to is small/infrequent, the increased slowness is negligible.

    So from the time complexity side of things, the faster solution is better. And computer science programmers are usually taught about time complexity, though there's also another dimension called space complexity that often gets overlooked which this solution performs better on than the faster solution (uses fewer system memory resources).

    And from the practical application side of things, it suffices in certain but not all contexts because you've obviously got trade offs on what resources are available (processing time available vs. space available in system memory).

  • Custom User Avatar
    • Alex.Alekseichuk
    • commented on "Counting Duplicates" javascript solution
    • 5 years ago

    just for understanding,
    regex is not for prod,
    or greedy regex is not for prod,
    or it depends,
    or if don't know/sure, then don't use regex on prod?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...