• Sign Up
  • Kata
  • Docs
  • Blog
  • Kumite
  • Forum
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:SLC JS Learners
Skills:lifelong learning
Member Since:Nov 2014
Last Seen:Apr 2021
Profiles:
Following:72
Followers:77
Allies:65
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (59)
  • Replies
  • Authored
  • Needs Resolution
    • Harizzzh Zedt
    • commented on "Basic Mathematical Operations" javascript solution

    Well...I don't know what the name of this trick?

    • FArekkusu
    • created an issue for "Find The Parity Outlier redux" kata

    There're already numerous O(n) solutions to the original kata which can be trivially copied from there.

    • titanzq
    • commented on "Is it even?" javascript solution

    perfect

    • metasean
    • commented on "Function 1 - hello world" javascript solution

    Add console.info(prev/Math.pow(2,32), prev/Math.pow(2,32) * 26 + 65) in the middle of the the iife's random function, then run it and see if you can figure out what's happening. ;-)

    (function () { 
    ...
      function random() {
        prev = (multiplier * prev + increment) % modulus;
        console.info(prev/Math.pow(2,32), prev/Math.pow(2,32) * 26 + 65)
        return prev/Math.pow(2,32);
      }
    ...
    
    • ernestomelchor
    • commented on "Is it even?" javascript solution

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

    • ajLapid718
    • commented on "Count the smiley faces!" javascript solution

    For example, how exactly does the regular expression test truthy for the smiley ";)"?

    • ajLapid718
    • commented on "Count the smiley faces!" javascript solution

    Nice and clean solution! I'm only slightly familiar with regular expressions, but I am trying to improve my understanding of it. Would you mind explaining the "?" between the valid noses and the valid mouths in your variable titled smileyRegExp? I've seen others describe it as a lookahead, but its purpose and effect are still a bit unclear to me. Thank you for your time ^.^

    • Voile
    • created an issue for "Deterministic Coin Flip - Simple" kata

    I don't think 3.14159 is either an even number or an odd number, since it's not even an integer.

    • Blind4Basics
    • resolved an issue on "Find something in an Array" kata

    not an issue.

    • Fosna
    • commented on "Get a Bouncer for Your Club" kata

    Your suggestion is accepted and included in this kata.

    • metasean
    • resolved an issue on "Get a Bouncer for Your Club" kata

    Your wording is fine! I should have done a better job of reading.

    However, an example would have actually cleared it right up for me (and I was actually disappointed there wasn't one to reference).

    For example:

    const ted = new Bouncer({ minAge: 18, guestList: ["Lo", "Mc"] })
    
    ted.letIn([
        { name: "Joe", age: 6 },
        { name: "Lo", age: 3 },
        { name: "Hugh", age: 33 }
    ])
    

    returns: [ { name: 'Lo', age: 3 }, { name: 'Hugh', age: 33 } ]

    • Fosna
    • commented on "Get a Bouncer for Your Club" kata

    Sorry but I don't understand what you mean. Lo should get it, since she is on guest list.
    Age should be equal or above bouncers's age limit or *name should be on guest list to enter the club*.
    Can you suggest message that would be easier to understand please?

    • metasean
    • created an issue for "Get a Bouncer for Your Club" kata

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

    • metasean
    • commented on "Kata Suggestions" topic

    @Lazy Cat - Each kata has a discussion area, and you should post your questions and comments directly to that discusison area. In addition, since you're showing code, you should mark your comment as a "Spoiler" so that you aren't showing that code to other people who are also trying to train on that kata.

    The discussion area for the kata you're having issues with is https://www.codewars.com/kata/583203e6eb35d7980400002a/discuss/php

    • metasean
    • commented on "What's the Highest Number?" kata

    @AcesOfGlory - Thank you. It's always the little things that trip me up the worst. :-(

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

Confirm

  • Cancel
  • Confirm