Site seems dead for me. Anybody have a tl;dr or cached version?
It's back - our servers got a bit overloaded due to the rush.
Show HN: March Madness for Hackers
21–30 of 63 posts
Re: Show HN: March Madness for Hackers
#22This is awesome! I went to UConn, so I'll obviously hard-code a UConn win there. But I heard on NPR today that, historically, a 12 seed has a 50% chance of upsetting a 5 seed in the first round. If I'm biasing towards the higher seeds everywhere else, that means my code looks like this: function (game, team1, team2) { var winner_team = "Connecticut"; if (team1.name == winner_team) { team1.winsGame(); } else if (team2…
Re: Show HN: March Madness for Hackers
#23Any functionality to create a pool? That would be great.
Re: Show HN: March Madness for Hackers
#24Would be cool to run your algorithm against previous years to see how it would have done so you can refine it before submitting.
I'm imagining coloring the final bracket green/red for correctly/incorrectly predicted games in the simulation.
Re: Show HN: March Madness for Hackers
#25Could you add the last couple years' brackets and stats as an algorithm tester? Would be cool to run your algorithm against previous years to see how it would have done so you can refine it before submitting. I'm imagining coloring the final bracket green/red for correctly/incorrectly predicted games in the simulation.
Re: Show HN: March Madness for Hackers
#26This is awesome! I went to UConn, so I'll obviously hard-code a UConn win there. But I heard on NPR today that, historically, a 12 seed has a 50% chance of upsetting a 5 seed in the first round. If I'm biasing towards the higher seeds everywhere else, that means my code looks like this: function (game, team1, team2) { var winner_team = "Connecticut"; if (team1.name == winner_team) { team1.winsGame(); } else if (team2…
Re: Show HN: March Madness for Hackers
#27Some small comments:
I found the tutorial video painfully slow, but maybe you're targeting beginning programmers. All I was looking for was-- what's the language, what's the api.
The determining function could easily be a pure function. I.e., it could designate the winner by returning true, or false, or an enum/constant.
Actually, I think I would prefer this API:
function (team) { return team.off_reb * team.win_pct; }
And then play the teams by calculating the scores for each team and comparing them. But then of course, you can't have different scores depending on the opponent. I wouldn't use that information, but perhaps others would.
Re: Show HN: March Madness for Hackers
#28Re: Show HN: March Madness for Hackers
#29Re: Show HN: March Madness for Hackers
#30This is awesome! I took the time to create a pretty in-depth function only to find out you apparently can't do that :(