• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Hilary (hilz) Holz
Clan:Dictionary.com
Skills:ruby, javascript, coffeescript, python
Member Since:Jun 2015
Last Seen:Jul 2020
Profiles:
Following:15
Followers:19
Allies:8
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (406)
  • Replies
  • Authored
  • Needs Resolution
    • James Wilson
    • commented on "Sum of odd numbers" ruby solution

    Wow. I was just happy to solve this in about an hour. Bravo!

    • ejini战神
    • resolved a suggestion on "How many twos?" kata
    • uunnxx
    • commented on "Sum of odd numbers" ruby solution

    WHAT ???

    How the fkk is this even possible?
    HOW HOW HOW ????????????
    What it was ?

    I wrote 10 lines of code for this, who you are ?

    • jebreen
    • commented on ""Magic The Gathering #3: Spell Stack" Ruby Translation"

    Expect_error takes an optional message we're expecting and a block to run which we expect to raise an error:

    Test.expect_error(optional_message_if_any) { call to test }
    

    So, we can check for popping off an empty stack raising an error (which we don't know the message for):

    Test.expect_error { Magic.spell_stack }
    

    Or for pushing a sorcery spell when there's already spells on the stack

    Test.assert_equals(Magic.spell_stack({'name' => 'Enervate', 'type' => 'sorcery' }), 1)
    Test.expect_error { Magic.spell_stack({ 'name' => 'Enervate', 'type' => 'sorcery' }) }
    
    • Valentine-Mario
    • commented on "Sum of odd numbers" ruby solution

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

    • user8436785
    • commented on ""Grasshopper - Messi Goals" CoffeeScript Translation"

    Merge conflict. Fork and update the description.

    • Unnamed
    • resolved a suggestion on "Remove First and Last Character" kata

    It looks like it's been decided the other way...

    • Segrelove
    • commented on "Credit card issuer checking" ruby solution

    He is using Regex (Regular Expression) to match the conditions required. Regex is really powerful, but can be a pain in the ass to work with sometimes. But it's a clever solution :-)

    • cliffstamp
    • resolved an issue on "Die Rolling" kata

    Not an issue.

    • jayyv
    • commented on "Credit card issuer checking" ruby solution

    Can someone elaborate on this wonderful one? Thanks!

    • cliffstamp
    • resolved an issue on "Touchdown?" kata

    Duplicate.

    • cliffstamp
    • resolved an issue on "Trigrams" kata

    .

    • cliffstamp
    • commented on "Trigrams" kata

    Fixed.

    • cliffstamp
    • resolved an issue on "Array Exchange" kata

    Dup.

    • JohanWiltink
    • resolved an issue on "Alternating Loops" kata

    Or maybe you didn't refresh after the tests were updated.

    Closing.

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm