from Hacker News

How I got banned from Codewars

by Poilon on 7/3/17, 8:02 AM with 47 comments

  • by pjc50 on 7/3/17, 10:12 AM

    I'm surprised that the test for pass/fail is within the interpreter, rather than a string match against the stdout of a sandboxed interpreter.
  • by jlebrech on 7/3/17, 9:13 AM

    1 they should give his account back, 2 did they fix it. and 3 they should have different categories of points: unverified, checked and stolen.

    then if you have the most "stolen" or hacked points you can boast your haxxor skillz.

  • by fworm on 7/3/17, 10:50 AM

    Uh, oh. You're the James T Kirk of CodeWars. It's like beating the kobayashi maru...
  • by AndrewDucker on 7/3/17, 8:58 AM

    Would have been nice to hear about the bit where they actually got banned from Codewars.

    (Rather than the bit where they found a way of cheating at Codewars. Also, does that still work, or have the Codewars people now patched the bug?)

  • by Kenji on 7/3/17, 5:22 PM

    I jumped into CodeWars.com just to see what it's about. Take a look at this puzzle:

    The code does not execute properly. Try to figure out why.

    int multiply(int a, char *b) {

      return a b;
    
    }

    WTF? Who the hell multiplies a char pointer with an int? Why not just a char? Do I need to multiply the pointer address or the value the pointer points at? Do I need to check for NULL?

    Why not write proper code instead of solving these "puzzles"?

  • by mcguire on 7/3/17, 4:37 PM

    "Of course this is cheating, but if someone had done this during code interviews, I think he would have a really good chance of being hired !

    "Ruby is love, ruby is jazz."

    Yeah. No, thanks.

  • by tianshuo on 7/3/17, 4:10 PM

    I reported multiple bugs in Codewars for Javascript, and created one of the hardest katas with anti-cheat here(https://www.codewars.com/kata/mystery-function-number-2). The founder remarks that Codewars has sanity checks if you are meddling with the test system and will punish you if you abuse it too much. Testing out one or two cheats is okay, using it for too much katas will get you banned.
  • by greyfox on 7/3/17, 3:09 PM

    I read the blog post but I didnt quite understand it. Specifically the coding part. Can someone break it down for the noobs please?
  • by kronos29296 on 7/3/17, 12:40 PM

    So the Ruby guys have an unfair advantage. As a non-Ruby guy hope they fix this. But it still feels bad. I only found that site a few days ago and it looked all flashy compared to codeforces but now - It raises severe questions about its accuracy. Kinda like Chrome dinosaur high scores.
  • by zem on 7/4/17, 9:07 AM

    that was delightful, both the content of the writeup and the happy voice in which it was written :)