• 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
dgrcode Avatar
Name:Daniel
Clan:Unknown
Member Since:Jul 2016
Last Seen:Oct 2021
Profiles:
Following:149
Followers:147
Allies:147
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (29)
  • Needs Resolution
  • Custom User Avatar
    • dgrcode
    • commented on "The Snake in the Square" kata
    • 6 years ago

    That's awesome! :)
    Thanks for writing the translation!

  • Custom User Avatar
    • dgrcode
    • commented on "The Snake in the Square" kata
    • 6 years ago

    I'm glad you liked it. Thanks! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Breadcrumb Generator" javascript solution
    • 6 years ago

    haha thanks!

    Well I completely forgot about this code I wrote. Nedless to say, this is not something I'd write in production code! 😅

  • Custom User Avatar
    • dgrcode
    • commented on "Find Transcription Factors" javascript solution
    • 9 years ago

    You are completely right This would improve a bit the performance.

    Thanks for the tip! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Find Transcription Factors" javascript solution
    • 9 years ago

    I'm glad you liked it! :)

    Actually I had to struggle a bit until using that trick. I read all the documentation I could find about regexes and finally found something similar in StackOverflow. Regexes are so powerful! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Number encrypting: decypher" kata
    • 9 years ago

    I understand your suggestion. How would you clarify it?

    1.Any single 'i' followed...

    2.Any single letter 'i' followed...

    3.Specially for letter 'i', when followed...

    4.Given the special behavior of letter 'i', when followed...

    Please, let me know how you think it best clarified to improve the description.

    Thank you for your suggestion! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Number encrypting: decypher" kata
    • 9 years ago

    Great! I'm glad you liked it! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Molecule to atoms" javascript solution
    • 9 years ago

    Very clever replacing at the beginning all the [] and {} with standard brackets! I had a headache matching the same opening and closing type of brakets with regex...

    Nice solution! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Molecule to atoms" javascript solution
    • 9 years ago

    Best approach that I've seen here. Very original! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Prime in Nature: The Cicada" javascript solution
    • 9 years ago

    Thank you for the explanation! I'm learning a lot from your solutions.

    I saw the ~~ once, but I didn't know what was that. I think I still have a long walk before I understand the logic behind bitwise operations...

    Thanks! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Make the small words big!" javascript solution
    • 9 years ago

    Nice arrow function there! ;)

  • Custom User Avatar
    • dgrcode
    • commented on "Measuring Average Speed" javascript solution
    • 9 years ago

    Hey! nice solution there :)

    It's the first time that I see !! in a boolean expression. What is that used for?

    Thanks! :)

  • Custom User Avatar
    • dgrcode
    • commented on "Prime in Nature: The Cicada" javascript solution
    • 9 years ago

    Nice solution again!

    I see that you are not using Math.floor, but at the same time you're using |0 at the end of the expression. Is that used for "flooring" the result?

  • Custom User Avatar
    • dgrcode
    • commented on "Measuring Average Speed" javascript solution
    • 9 years ago

    You've done it again! that d.replace('km','000') is just great.

    One question, how is your code working with input distance given in meters?

  • Custom User Avatar
    • dgrcode
    • commented on "Prime in Nature: The Cicada" kata
    • 9 years ago

    I agree with that. A few random tests would be better to test if the solutions actually work

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...