• 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
macnick Avatar
Name:Nick Haras
Clan:Microverse
Skills:javascript, react, ruby, rails, sql, html5, css3, jest, rspec
Member Since:Mar 2018
Last Seen:May 2025
Profiles:
Following:276
Followers:302
Allies:270
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (311)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • macnick
    • commented on "What is between?" javascript solution
    • 6 months ago

    Thank you!

  • Custom User Avatar
    • MahmoudHussien111
    • commented on "What is between?" javascript solution
    • 6 months ago

    cool!, your code help me to know more info about Array.from. Good job

  • Custom User Avatar
    • macnick
    • commented on "Valid number to 2 decimal places" javascript solution
    • 6 months ago

    Indeed. And it has some more faults, but this is a 7kyu kata, so simpler solutions are acceptable.

  • Custom User Avatar
    • jaytitto
    • commented on "Valid number to 2 decimal places" javascript solution
    • 6 months ago

    I think this regex would still say that this is a valid number: "--+--+1.33".

  • Custom User Avatar
    • macnick
    • commented on "Sum by Factors" javascript solution
    • 10 months ago

    Thanks! I've read it somewhere, liked it also and implemented it.

  • Custom User Avatar
    • Kamika
    • commented on "Sum by Factors" javascript solution
    • 10 months ago

    I like this prime checking function! Good thinking :D

  • Custom User Avatar
    • macnick
    • commented on "MotoGP commentator" javascript solution
    • 12 months ago

    🏍🏍🏍

  • Custom User Avatar
    • macnick
    • resolved an issue on "MotoGP commentator" kata
    • 13 months ago

    Issue resolved.

  • Custom User Avatar
    • macnick
    • resolved an issue on "MotoGP commentator" kata
    • 13 months ago

    I think the tests now offer better coverage. Thank you for the suggestions.

  • Custom User Avatar
    • macnick
    • commented on "MotoGP commentator" kata
    • 13 months ago

    Thank you for you input. Fixed that.

  • Custom User Avatar
    • macnick
    • commented on "MotoGP commentator" kata
    • 13 months ago

    Thank you so much for your comment. I will work on these fixes and update. Cool solution!

  • Custom User Avatar
    • hobovsky
    • created an issue for "MotoGP commentator" kata
    • 13 months ago

    A bunch of problems with this one:

    • The failure messages are inconveniently truncated (see the issue below).
    • It would be nice to know the max possible position. Without this info, it is not known if the only cardinal suffixes we have to handle are 2nd and 3rd, or maybe there also is 21st, 22nd, 23rd, etc.
    • It would be nice if failed tests presented inputs to help users with recreating filed test cases.
    • I would suggest to improve coverage of tests by creating some guaranteed amount of racers starting at positions 1-20 to make 100% sure that random tests cover positions like 1st, 2nd, 3rd, 11th, 12th, 13th. You can see the example kata for tests with targeted random generators.

    See JavaScript authoring guide for help.

  • Custom User Avatar
    • ejini战η₯ž
    • created an issue for "MotoGP commentator" kata
    • 13 months ago

    Expected info cannot be displayed fully without code below.

    const chai = require("chai");
    const assert = chai.assert;
    chai.config.truncateThreshold=0;
    
  • Custom User Avatar
    • Krif_A
    • commented on "What is between?" javascript solution
    • 16 months ago

    I think it's nice to study ninja code. You learn more stuff this way. It's ok to reproduce it for studying reasons.

  • Custom User Avatar
    • macnick
    • commented on "Showing X to Y of Z Products." ruby solution
    • 17 months ago

    Mine is probably the most brain dead solution :-D

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...