• 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
Shuwiku Avatar
Name:Shuwiku
Clan:Unknown
Skills:python3, java, lua
Member Since:Jul 2022
Last Seen:Mar 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (21)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • SimyaoMCabral
    • commented on "Convert string to camel case" kata
    • 4 months ago

    O que significa palavra capitalizada?

  • Custom User Avatar
    • Shuwiku
    • commented on "Tribonacci Sequence" python solution
    • 4 months ago

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

  • Custom User Avatar
    • hobovsky
    • resolved a suggestion on "Counting Duplicates" kata
    • 4 months ago

    Approved.

  • Custom User Avatar
    • hobovsky
    • resolved a suggestion on "Counting Duplicates" kata
    • 4 months ago

    Approved.

  • Custom User Avatar
    • Chrono79
    • commented on "Sum of Digits / Digital Root" kata
    • 4 months ago

    Your code should return the result instead of printing it. Mark your post as having spoiler content next time, please.

  • Custom User Avatar
    • Sharu411
    • commented on "Sum of Digits / Digital Root" kata
    • 4 months ago

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

  • Custom User Avatar
    • Damim-03
    • commented on "Sum of Digits / Digital Root" kata
    • 4 months ago

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

  • Custom User Avatar
    • Shuwiku
    • created a suggestion for "Counting Duplicates" kata
    • 4 months ago

    Please check Lua translation.

  • Custom User Avatar
    • hobovsky
    • resolved a suggestion on "Sum of Digits / Digital Root" kata
    • 4 months ago

    Approved.

  • Custom User Avatar
    • hobovsky
    • commented on ""Sum of Digits / Digital Root" Lua Translation"
    • 4 months ago

    Why are you nervous? Don't be nervous. There is no need to be nervous. When people are nervous, they make mistakes. And we do not want anyone to make mistakes, do we? So there is no reason to be nervous <smile emoji> <wink emoji>.

    For a first attempt, the translation is very good. Good job!

  • Custom User Avatar
    • Shuwiku
    • commented on ""Sum of Digits / Digital Root" Lua Translation"
    • 4 months ago

    I made adjustments in accordance with your comments. I'm sorry, this is my first translation, and I am nervous and making silly mistakes.

  • Custom User Avatar
    • hobovsky
    • commented on ""Sum of Digits / Digital Root" Lua Translation"
    • 4 months ago

    The translation is not bad, but nonetheless has some problems:

    • math.random(0, 10) ^ math.random(1, 20) is not the best way to generate random inputs:
      • it produces many zeros and ones (the base could be randomized from range 2..10)
      • it produces floats and not integers
      • it can create numbers which overflow max precise float value, because 10^20 will be an imprecise float and not an int.
    • Test titles could be slightly improved by changing "Basic: " .. key to "Basic: n=" .. key or somethign similar, and remaining titles in similar manner.
  • Custom User Avatar
    • Shuwiku
    • created a suggestion for "Sum of Digits / Digital Root" kata
    • 4 months ago

    Greetings! I made the 'coolest' fork of the Kata translation to Lua. I'm not sure if I should post this here, but I followed the example of user 4500zenja1.

  • Custom User Avatar
    • natan
    • created an issue for "Convert string to camel case" kata
    • 4 months ago

    lua:

    • doesn't produce uppercase characters in input (it attempts to do table indexing on string, which results in nil instead of a character)
                local alphabet = "abcdefghijklmnopqrstuvwxyz"
                for _ = 1, math.random(10) + 1 do
                    local w = { alphabet:upper()[math.random(#alphabet)] }  -- incorrect string indexing
    
    • produces empty words (resulting in leading _- and double _- , I would argue that description promises well formed input)
  • Custom User Avatar
    • natan
    • commented on "Convert string to camel case" kata
    • 4 months ago

    The tests are probably still very wrong though. It's somewhat implied that the input should be well formed and it's suggested that there are going to be uppercase characters which there isn't

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...