Hacker News new | comments | show | ask | jobs | submit login
Codersumo - Challenge your inner sumo coder. (codersumo.com)
38 points by sarhus on Nov 26, 2012 | hide | past | web | favorite | 27 comments

Adding "/correct" to your submitted solution bypasses any further checking.

For instance, without entering any changes, I got: http://codersumo.com/solutions/Id1SOh

[Not there yet. Your solution is not correct. Try again!]

Then, going to: http://codersumo.com/solutions/Id1SOh/correct gives a welcome page.

It seems like sites like this are becoming more popular, or at least the idea of them is. This is the second one I've seen recently, the other is http://www.codewa.rs/, this one looks interesting since it's for more languages than just javascript. Regardless it defiantly looks like fun, can't wait till the real version is released.

Pitching a slow ball just begging to be hit out of the park. Nice hook ;)

The interesting thing for me was which language to do it in. I hovered over JavaScript and Python before finally opting to do it in "safe" Java... a language I haven't programmed in for ten years but whose C-style syntax I could write in my sleep.

Attempting challenges could be helpful for keeping me on my toes in other languages.

It would be possible to add Perl and Clojure to the list of supported languages, would that be interesting?

Clojure would be great! It's an awesome language with a great community behind it, it would be awesome to see it get more traction and start making it into more challenge sites like this one.

Looking forward to its launch! First challenge is easy, indeed, but I guess there will be much more difficult ones in the real competitions. Well, perhaps you could have different difficulty levels... and from what I see know, it looks like you are already moving in that direction

Looks like you've included your /assets/application-<hash>.js on every page, not just the homepage. This makes ACE throw errors because you don't have an element with an ID of "editor" on every page as well.

Hope this helps! :)

Oh! ok, thanks! need to have a look at it.

A for in Scala? That's ridiculous!

That's more like this: http://alan.dipert.org/post/172774481/fizzbuzz-in-scala-and-...

just for giggles, this is a valid solution:

    print """1

You know, I wonder if the massive failure of people trying to do fizzbuzz getting reported widely has lead people to memorize how to do it.

There's a bug in the code submission, it didn't like <> in haskell, replacing it with `mappend` was fine

thanks for reporting that

I like the peer review idea - looking forward to getting an email to see what you guys are up to!

Great! First one done and signed up, was looking for something like this to improve.

Looks lovely:) Interested in seeing what's next, two thumbs up!

C/C++ would be a good addition.

First challenge is too easy.

If something is too easy to be interesting, find ways to make it more interesting.

Like, after the naive solution try without if statement, then without switch statement, and so on, until you are eventually left with just a print statement (+ given for loop) :)

I don't really know what direction the site will take, but I think you are missing the point there.

The FizzBuzz test might be very easy, but you are assuming that these challenges will be for people of your own skill level. Probably the site will want to cater for a wider audience, from beginner to advanced, and FizzBuzz provides a good starting point for both.

And anyway, we have all read enough about FizzBuzz to know that even "experienced" "professionals" can fail spectacularly at it.

Depends on what you want it to achieve. If you want to reach out to people with a minimum experience in coding I think it does a great job.

I was expecting some kind of code-golf mark for that challenge though. There are many ways to solve it.

Is meant as a hook. And the most important part is that you complete it, that's the kind of validation they are after. But all feedback is good, so I am sure they'll have harder challenges soon.

Try it in all the languages.

Good idea, that's probably the best way to make the most out of this simple challenge.

Depends. Apparently, 80%* of applicants can't do fizzbuzz right.

*: random figure


No C, no Perl.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact