News for hackers. Stuff that matters.
Re:Ask HN: Am I living in a parallel universe to think my id... by trevyn on Wednesday February 25, 2015 @10:25PM (#9111102)
Nope, this is an awesome idea, I've had it myself several years ago.

My immediate reaction to your implementation:

- C# is icky.

- Would be cool to automatically compare performance of solutions, e.g. timing, memory footprint, etc.

- "Run" button doesn't appear to provide any output?

When I had this idea, I also wanted to be able to provide sample inputs and outputs, and have all potentially matching functions run, to see if any match.

In general, you've hit the problem of building a community without an actual community magically appearing. Keep at it.

Re:Ask HN: Am I living in a parallel universe to think my id... by trevyn on Wednesday February 25, 2015 @11:02PM (#9111176)
Ok, played with this a bit, and added the Hamming Weight snippet. Seems to work fine in the solution-tryer, but I can't add a test case; even the blank default gives:

[CS1501] No overload for method 'TestCase_0710c06f5bfa4a9b9b44678df9dd933e' takes 0 arguments

Again, I'd say keep at it, and try adding a lot more content. Hell, I wonder if this is something you could even hire random CS students to add content to.

Re:Ask HN: Am I living in a parallel universe to think my id... by bursurk on Wednesday February 25, 2015 @11:08PM (#9111190)
Hey.. Thanks for trying it out. I'll see what is the problem with the test cases.. You see nobody was using it..
Re:Ask HN: Am I living in a parallel universe to think my id... by bursurk on Thursday February 26, 2015 @08:18AM (#9112304)
btw.. Thanks for pointing out the issue with the test cases, I have fixed it and added some quick test cases + some basic description http://www.volatileread.com/UtilityLibrary?id=2093
Re:Ask HN: Am I living in a parallel universe to think my id... by bursurk on Wednesday February 25, 2015 @10:29PM (#9111108)
You need to write code to use the object, as per your needs, and then it will show all the Console.WriteLines. performance metrics is something I was implementing before getting demotivated.
Re:Ask HN: Am I living in a parallel universe to think my id... by trevyn on Wednesday February 25, 2015 @10:32PM (#9111112)
Ah, cool! Might be nice to auto-fill an example for that.
Re:Ask HN: Am I living in a parallel universe to think my id... by Avalaxy on Thursday February 26, 2015 @11:00AM (#9113174)
> - C# is icky.

Your opinion, and adds nothing to the discussion.