• 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
BinaryEclipse Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2017
Last Seen:Aug 2022
Profiles:
Following:3
Followers:3
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (20)
  • Needs Resolution
  • Custom User Avatar
    • BinaryEclipse
    • commented on ""Read a UPC/Barcode" Ruby Translation"
    • 5 years ago

    Thanks, approved.

  • Custom User Avatar
    • BinaryEclipse
    • commented on ""Read a UPC/Barcode" Ruby Translation"
    • 5 years ago

    Remove the TODO comments and we're good.

  • Custom User Avatar
    • BinaryEclipse
    • commented on ""No oddities here" Python Translation"
    • 5 years ago

    That's smart, I believe that's fixed now and changed references of array to list.

  • Custom User Avatar
    • BinaryEclipse
    • commented on ""No oddities here" Python Translation"
    • 5 years ago

    @Unnamed original author is inactive for 2 years, I have a fork with negative and random tests here https://www.codewars.com/kumite/558ba15428ca7d957c00004a?sel=5e58bfb2d33709001487916e

  • Custom User Avatar
    • BinaryEclipse
    • commented on "V A P O R C O D E" python solution
    • 6 years ago

    It's hard to judge actual speed of python based on theoretical time complexity, it varies a lot depending on user implementation and the internal C implementation of that code. For example, a, b = min(list), max(list) is usually a bit faster than iterating once with a for loop. Your solution is about 4-5x slower, from my tests at least.

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Linked Lists - Sorted Insert" python solution
    • 7 years ago

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

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Read a UPC/Barcode" kata
    • 7 years ago

    I suppose they're similar, but mine needs an extra conversion. I'm planning on making this a multi-parter with increasing difficulty/error checking, so this is more of a stepping stone(for me as well, being my first kata).

  • Custom User Avatar
    • BinaryEclipse
    • resolved an issue on "Read a UPC/Barcode" kata
    • 7 years ago
    1. Done, added an example key/value and mentioned left and right are complements.
    2. I tried doing individual strings but it gave me a scroll bar, settled for one big string, like you said it probably doesn't matter though.
    3. Done. That was more for my sanity when I was writing it, but I guess the tests will show the number anyways.
  • Custom User Avatar
    • BinaryEclipse
    • commented on "Classy Classes" python solution
    • 7 years ago

    It's pythons way of making getters/setters. The @ symbol means the property function is used as a decorator, this is syntactic sugar for property(fget=info)(fget is the getter function). When someone wants the property named info(which was a variable initially) it returns the result of the info function instead.

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Unknown amount of duplicates. One missing number." python solution
    • 7 years ago

    (double post)

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Unknown amount of duplicates. One missing number." python solution
    • 7 years ago

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

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Remove duplicate words" python solution
    • 7 years ago

    Depends on whether you want an entire list to be generated or you might only need a partial, say if you had a for loop and wanted to break out of it when you get to a specific element.
    In this case I don't believe it makes sense because you're returning the entire result anyway.

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Find heavy ball - level: novice" kata
    • 7 years ago

    It means you can only call the getWeight funcion 4 times.

  • Custom User Avatar
    • BinaryEclipse
    • commented on "Ziggurat Ride of Fortune" kata
    • 7 years ago

    Love this one, great description/explanation and the right kind of challenging.

  • Custom User Avatar
    • BinaryEclipse
    • commented on "The Park Ranger's Umbrella" kata
    • 8 years ago

    @dinglemouse
    Thanks for the explanation. I noticed the sections rule but couldn't figure out what the purpose was, as it isn't clear from the examples what the significance is or what a day is in terms of the array.

    To be more clear the description should say something along the lines of:

    • "A day is made up of morning, afternoon, and evening (every 3 values in the array is a full day)" - then followed by the other rules, perhaps nicely formatted.
    • When it rains or there is a thunderstorm he takes his umbrella out of his backpack and when it stops raining he puts it back.
    • Every day starts with his umbrella in his backpack.

    How many times does Joe take his umbrella out of his backpack?

    You will receive an array of weather conditions, possible weather conditions are sunny, cloudy, rainy and thunderstorm.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...