Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-04-08

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:05 BenBE left #rosettacode
00:19 Mathnerd314 joined #rosettacode
01:00 BenBE joined #rosettacode
01:04 Hypftier left #rosettacode
01:04 Hypftier joined #rosettacode
01:48 kpreid left #rosettacode
02:41 parsleyfirefly joined #rosettacode
02:43 r4m left #rosettacode
02:47 r4m joined #rosettacode
02:53 r4m left #rosettacode
02:58 r4m joined #rosettacode
02:58 parsleyfirefly is now known as dagny
02:59 dagny is now known as parsleyfirefly
02:59 parsleyfirefly is now known as dagnyscott
04:05 r4m left #rosettacode
05:05 Mathnerd314 left #rosettacode
10:51 r4m joined #rosettacode
10:54 kpreid joined #rosettacode
12:31 r4m left #rosettacode
12:36 l3p joined #rosettacode
13:23 parsleyfirefly joined #rosettacode
13:27 dagnyscott left #rosettacode
13:27 parsleyfirefly left #rosettacode
13:27 dagnyscott joined #rosettacode
15:30 dagnyscott left #rosettacode
15:32 dagnyscott joined #rosettacode
15:36 FireFly joined #rosettacode
16:51 kpreid left #rosettacode
18:03 kpreid joined #rosettacode
18:19 mwn3d_phone Ok so a while ago I had the idea to have an NHL playoffs task to show which teams were eliminated from the playoffs based on their records
18:20 mwn3d_phone It turns out the tiebreaker rules are really complicated and the data required for evaluating them would make it pretty impractical
18:21 mwn3d_phone (It requires records for each of 30 teams against all the other teams, total goals for, wins, losses, some specific types of wins, etc.)
18:22 mwn3d_phone So I saw a blog post where someone listed out all of the possible final rankings the teams that can still get into the playoffs would be
18:23 mwn3d_phone 9 teams are still in contention for 8 playoff spots
18:24 mwn3d_phone I have a list like "capitals: 1st or 2nd, flyers: 1st 2nd 3rd or 4th,..."
18:24 mwn3d_phone I want to use that list to make a task to generate all of the possible playoff matchups (the teams play against other teams so their ranks add to 9 so 1 plays 8, 2 plays 7, etc.)
18:25 mwn3d_phone It sounds like that is already an algorithm but I don't know which one
18:26 mwn3d_phone In summary: I have a list of n teams that can be placed in n slots. Each team also has a list of x slots where it can possibly go. What algorithm is that a setup for?
18:33 opticron I'd end up brute forcing it
18:34 opticron just iteratively generating all possible combinations and checking each against the rules
18:41 mwn3d_phone I'm trying to think of how to do that so that I make sure I get them all. Its a bit of a brain twister.
18:41 mwn3d_phone And for that task you'd have to brute force it anyway since it would require generating all the scenarios
18:46 kpreid left #rosettacode
18:47 opticron if I knew any of the NHL rules that apply, I'd probably be able to help you out
18:48 mwn3d_phone Well the second setup I had doesn't require any NHL rules really
18:49 mwn3d_phone A set of 9 items each has a list of possible placements. Each item can only go in one of 9 spots. All spots must be filled. The first 8 are "in the playoffs".
18:52 mwn3d_phone I'll keep thinking about it...its interesting and it has a "real world" connection.
18:53 mwn3d_phone Plus I like hockey so its fun for me
18:53 opticron I'm a hockey fan as well
18:53 opticron but it's mostly SPHL for me
18:53 opticron because I can go to those games
19:02 mwn3d_phone left #rosettacode
19:03 mwn3d_phone joined #rosettacode
19:06 FireFly left #rosettacode
19:10 FireFly joined #rosettacode
19:11 mwn3d_phone opticron: SPHL? I'm living in the south now. I'm in charlotte though and we have an AHL team so I don't see that league.
19:11 mwn3d_phone It was ECHL before but we moved up this season.
19:11 opticron southern pro
19:11 opticron includes several teams down here
19:11 opticron 6 or so
19:12 mwn3d_phone The AHL playoffs are even more complex because the divisions are different sizes. Id hate to make that computer program.
19:13 mwn3d_phone 8 on WP. And it looks like they've moved a bunch.
19:41 mwn3d_phone left #rosettacode
19:42 mwn3d_phone joined #rosettacode
20:13 dagnyscott left #rosettacode
20:23 FireFly left #rosettacode
20:26 FireFly joined #rosettacode
20:42 kpreid joined #rosettacode
21:04 Mathnerd314 joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary