• 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
FesterBesterTester Avatar
Name:Unknown
Clan:Candoran
Skills:c/c++, python, objective-c, javascript, html/css
Member Since:Feb 2014
Last Seen:Apr 2025
Profiles:
    Following:0
    Followers:3
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies
    • Authored (29)
    • Needs Resolution
    • Custom User Avatar
      • FesterBesterTester
      • commented on "Sentence Smash" c solution
      • 6 years ago

      The problem description states "You cannot assume the size of the array". This solution will attempt to write past the end of the allocated memory if the words and added spaces exceed 1000 characters.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Sentence Smash" c solution
      • 6 years ago

      The problem description states "You cannot assume the size of the array". This solution will attempt to write past the end of the allocated memory if the words and added spaces exceed 100 characters.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Sentence Smash" c solution
      • 6 years ago

      The problem description states "You cannot assume the size of the array". This solution will attempt to write past the end of the allocated memory if the words and added spaces exceed 512 characters.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Sentence Smash" c solution
      • 6 years ago

      The problem description states "You cannot assume the size of the array". This solution will attempt to write past the end of the allocated memory if the words and added spaces exceed 256 characters.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Sentence Smash" c solution
      • 6 years ago

      The problem description stated "You cannot assume the size of the array". This solution will crash if the words and added spaces exceed 1000 characters.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Regular Ball Super Ball" kata
      • 11 years ago

      Your code differs from the solutions in a small, but significant way. You'll kick yourself when you see it.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Color Ghost" kata
      • 11 years ago

      Even better would be to test that each color occurs with roughly even frequency. Otherwise, solutions that can return any color, but that favor certain colors, will pass.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Single-Use Tickets: Don't Let Anyone Sneak In!" kata
      • 11 years ago

      I'm pretty sure some of your test cases want me to say a newly created ticket is invalid even though it matches correctCode.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "sliceBits(int, from, count)" kata
      • 11 years ago

      Nope. Looks good.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Use map() to double the values in an array" kata
      • 11 years ago

      Fixed the bracket. Thanks.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Use map() to double the values in an array" kata
      • 11 years ago

      I switched to Test.assertSimilar() as you suggested. Thanks.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "Use map() to double the values in an array" kata
      • 11 years ago

      Ouch. Thanks for the heads up. I thought it was ok to use since the kata editor didn't complain. Fixed now.

    • Custom User Avatar
      • FesterBesterTester
      • commented on "sliceBits(int, from, count)" kata
      • 11 years ago
      (0xFFFFFFFF >> 2).toString(2)
      // -1 !?! (Node.js v0.10.28, phantomjs 1.9.7)
      

      This is exactly what we would expect if bitwise operands are treated as signed 32 bit integers, since the >> operator will sign extend its operands.

      To avoid sign extension, we need the >>> operator.

      (0xFFFFFFFF >>> 2).toString(2);
      // '111111111111111111111111111111'
      
      (0xFFFFFFFF >>> 2).toString(2).length;
      // 30
      
    • Custom User Avatar
      • FesterBesterTester
      • commented on "sliceBits(int, from, count)" kata
      • 11 years ago

      Good point. In the description, maybe

      (NOTE: a number has 32 bits).

      could be changed to something like

      (NOTE: Although javascript numbers are always 64 bit floating point, javascript bitwise operators treat their operands as signed 32 bit integers).

    • Custom User Avatar
      • FesterBesterTester
      • commented on "sliceBits(int, from, count)" kata
      • 11 years ago

      Your description states

      count, an optional integer value for how many bits to include in the slice. If this argument was omitted, all bits after from should be extracted.

      but it seems that none of your test cases omit the count. Additionally, it seems you expect us to treat a count of "null" as if the count were omitted, but "null" and omitted are not the same.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...