diff options
| author | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2019-12-08 10:59:42 +0000 |
|---|---|---|
| committer | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2019-12-08 10:59:42 +0000 |
| commit | 8271fcf23a3c9ff9df501c607c96a2c1bb1ab10a (patch) | |
| tree | 56447e0d5a097c4f66082d7cbebb4f8c9efe5e99 | |
| parent | 1bc39b559acfabc89a8baacda6c665a0329a52fb (diff) | |
| download | perlweeklychallenge-club-8271fcf23a3c9ff9df501c607c96a2c1bb1ab10a.tar.gz perlweeklychallenge-club-8271fcf23a3c9ff9df501c607c96a2c1bb1ab10a.tar.bz2 perlweeklychallenge-club-8271fcf23a3c9ff9df501c607c96a2c1bb1ab10a.zip | |
- Added solutions by Laurent Rosenfeld.
| -rw-r--r-- | challenge-037/laurent-rosenfeld/blog.txt | 1 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl5/ch-1.pl | 28 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl5/ch-2.pl | 107 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl6/ch-1.p6 | 12 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl6/ch-1a.sh | 1 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl6/ch-2.p6 | 17 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl6/december_2019.txt | 31 | ||||
| -rw-r--r-- | challenge-037/laurent-rosenfeld/perl6/november_2019.txt | 30 | ||||
| -rw-r--r-- | stats/pwc-current.json | 161 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 76 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 322 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 560 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 56 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 52 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 114 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 56 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 98 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 42 |
18 files changed, 1007 insertions, 757 deletions
diff --git a/challenge-037/laurent-rosenfeld/blog.txt b/challenge-037/laurent-rosenfeld/blog.txt new file mode 100644 index 0000000000..91646f4cf1 --- /dev/null +++ b/challenge-037/laurent-rosenfeld/blog.txt @@ -0,0 +1 @@ +http://blogs.perl.org/users/laurent_r/2019/12/perl-weekly-challenge-37-week-days-in-each-month-and-daylight-gainloss.html diff --git a/challenge-037/laurent-rosenfeld/perl5/ch-1.pl b/challenge-037/laurent-rosenfeld/perl5/ch-1.pl new file mode 100644 index 0000000000..a8f2af2082 --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl5/ch-1.pl @@ -0,0 +1,28 @@ +#!/usr/bin/perl +use strict; +use warnings; +use feature qw/say/; +use Time::Local; + +my $yr = shift // 2019; +my @months = (0, 31, is_leap($yr) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); +my $start_date = timegm( 0, 0, 0, 1, 0, $yr - 1900 ); # Jan 1st +my $day_in_week = (gmtime $start_date)[6]; + +for my $month (1..12) { + my $weekdays = 20; + for my $day (29..$months[$month]) { + $weekdays ++ unless $day_in_week =~ /[607]/; + $day_in_week ++; + } + printf "%02d/%d has $weekdays week days.\n", $month, $yr; + $day_in_week -= 7 if $day_in_week > 6; +} + +sub is_leap { + my $yr = shift; + return 0 if $yr % 4; # no if not divisible by 4 + return 1 if $yr % 100; # yes if divisible by 4 but not by 100 + return 0 if $yr % 400; # no if divisible by 100 and not by 400 + return 1; # yes if divisibe by 400 +} diff --git a/challenge-037/laurent-rosenfeld/perl5/ch-2.pl b/challenge-037/laurent-rosenfeld/perl5/ch-2.pl new file mode 100644 index 0000000000..7c78c81c0d --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl5/ch-2.pl @@ -0,0 +1,107 @@ +#!/usr/bin/perl +use strict; +use warnings; +use feature qw/say/; + +sub hrs2sec { + my ($hrs, $min, $sec) = split /:/, shift; + return $hrs * 3600 + $min * 60 + $sec; +} +sub sec2hrs { + my $sec = shift; + my $hrs = int $sec / 3600; + $sec = $sec % 3600; + my $min = int $sec / 60; + $sec = $sec % 60; + return sprintf "$hrs:%02d:%02d", $min, $sec; +} +my (@nov, @dec); +my $aref = \@nov; +while (<DATA>) { + chomp; + $aref = \@dec if /^Dec/; + next unless /^\d/; + my ($date, $duration) = (split /\s+/)[0, 3]; + $aref->[$date] = hrs2sec $duration; +} +my $total_diff; +say "Daylight change between:"; +for my $i (1..30) { + my $diff = $dec[$i] - $nov[$i]; + $total_diff += $diff; + my $dif_hrs = sec2hrs abs $diff; + $dif_hrs = "- $dif_hrs" if $diff < 0; + printf "%02d Nov and %02d Dec: $dif_hrs\n", $i, $i; +} +say "Average change between Nov and Dec: ", $total_diff < 0 ? "- " : "", sec2hrs (abs $total_diff / 30); + +__DATA__ + + Sunrise Sunset Length + +Nov 2019 + +1 06h53 16h34 9:40:44 +2 06h55 16h32 9:37:10 +3 06h56 16h30 9:33:37 +4 06h58 16h28 9:30:07 +5 07h00 16h27 9:26:38 +6 07h02 16h25 9:23:11 +7 07h03 16h23 9:19:45 +8 07h05 16h22 9:16:22 +9 07h07 16h20 9:13:01 +10 07h09 16h18 9:09:42 +11 07h10 16h17 9:06:25 +12 07h12 16h15 9:03:11 +13 07h14 16h14 8:59:59 +14 07h16 16h12 8:56:50 +15 07h17 16h11 8:53:44 +16 07h19 16h10 8:50:40 +17 07h21 16h08 8:47:39 +18 07h22 16h07 8:44:42 +19 07h24 16h06 8:41:48 +20 07h26 16h05 8:38:57 +21 07h27 16h04 8:36:09 +22 07h29 16h03 8:33:25 +23 07h31 16h01 8:30:45 +24 07h32 16h00 8:28:09 +25 07h34 15h59 8:25:36 +26 07h35 15h59 8:23:08 +27 07h37 15h58 8:20:44 +28 07h38 15h57 8:18:24 +29 07h40 15h56 8:16:09 +30 07h41 15h55 8:13:59 + +Dec 2019 + +1 07h43 15h55 8:11:53 +2 07h44 15h54 8:09:53 +3 07h46 15h53 8:07:57 +4 07h47 15h53 8:06:07 +5 07h48 15h53 8:04:22 +6 07h49 15h52 8:02:42 +7 07h51 15h52 8:01:08 +8 07h52 15h51 7:59:40 +9 07h53 15h51 7:58:17 +10 07h54 15h51 7:57:00 +11 07h55 15h51 7:55:50 +12 07h56 15h51 7:54:45 +13 07h57 15h51 7:53:46 +14 07h58 15h51 7:52:54 +15 07h59 15h51 7:52:07 +16 08h00 15h51 7:51:27 +17 08h00 15h51 7:50:54 +18 08h01 15h52 7:50:27 +19 08h02 15h52 7:50:06 +20 08h02 15h52 7:49:52 +21 08h03 15h53 7:49:44 +22 08h04 15h53 7:49:43 +23 08h04 15h54 7:49:48 +24 08h04 15h54 7:50:00 +25 08h05 15h55 7:50:19 +26 08h05 15h56 7:50:44 +27 08h05 15h57 7:51:15 +28 08h06 15h57 7:51:53 +29 08h06 15h58 7:52:37 +30 08h06 15h59 7:53:27 +31 08h06 16h00 7:54:24 diff --git a/challenge-037/laurent-rosenfeld/perl6/ch-1.p6 b/challenge-037/laurent-rosenfeld/perl6/ch-1.p6 new file mode 100644 index 0000000000..e713e25ddb --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl6/ch-1.p6 @@ -0,0 +1,12 @@ +use v6; + +sub MAIN (UInt $yr = 2019) { + for 1..12 -> $mth { + my $weekdays = 20; + for 29..Date.new($yr, $mth, 1).days-in-month -> $day { + $weekdays++ if + Date.new($yr, $mth, $day).day-of-week == (1..5).any; + } + printf "%02d/%d has $weekdays week days.\n", $mth, $yr; + } +} diff --git a/challenge-037/laurent-rosenfeld/perl6/ch-1a.sh b/challenge-037/laurent-rosenfeld/perl6/ch-1a.sh new file mode 100644 index 0000000000..cdcc2cd268 --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl6/ch-1a.sh @@ -0,0 +1 @@ +perl6 -e 'my @a; for Date.new(2019, 1, 1) .. Date.new(2019, 12, 31) -> $day { @a[$day.month]++ if $day.day-of-week == (1..5).any}; for @a[1..12].kv -> $k, $v {printf "%02d/2019: %d week days\n", $k+1, $v};' diff --git a/challenge-037/laurent-rosenfeld/perl6/ch-2.p6 b/challenge-037/laurent-rosenfeld/perl6/ch-2.p6 new file mode 100644 index 0000000000..8699a3d2e6 --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl6/ch-2.p6 @@ -0,0 +1,17 @@ +use v6; +sub hrs2sec ($hms) { + my ($hrs, $min, $sec) = split /\:/, $hms; + return $hrs * 60² + $min * 60 + $sec; +} +sub sec2hrs (Numeric $sec) { + my @duration = $sec.abs.polymod(60, 60); + my $fmt = ($sec < 0 ?? "-" !! "") ~ "%d:%02d:%02d"; + return sprintf $fmt, @duration[2, 1, 0]; +} + +my @nov = 'november_2019.txt'.IO.lines[0..29].map({(.split(/\s+/))[3]}); +my @dec = 'december_2019.txt'.IO.lines[0..29].map({(.split(/\s+/))[3]}); +my @diff = @dec.map({hrs2sec $_}) Z- @nov.map({hrs2sec $_}); +say "Daylight changes between Dec and Nov:"; +for @diff.kv -> $k, $v { printf "%2d: %s\n", $k + 1, sec2hrs( $v) }; +say "\nAverage change between Nov and Dec: ", sec2hrs ([+] @diff) / 30; diff --git a/challenge-037/laurent-rosenfeld/perl6/december_2019.txt b/challenge-037/laurent-rosenfeld/perl6/december_2019.txt new file mode 100644 index 0000000000..171f239307 --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl6/december_2019.txt @@ -0,0 +1,31 @@ +1 07h43 15h55 8:11:53 +2 07h44 15h54 8:09:53 +3 07h46 15h53 8:07:57 +4 07h47 15h53 8:06:07 +5 07h48 15h53 8:04:22 +6 07h49 15h52 8:02:42 +7 07h51 15h52 8:01:08 +8 07h52 15h51 7:59:40 +9 07h53 15h51 7:58:17 +10 07h54 15h51 7:57:00 +11 07h55 15h51 7:55:50 +12 07h56 15h51 7:54:45 +13 07h57 15h51 7:53:46 +14 07h58 15h51 7:52:54 +15 07h59 15h51 7:52:07 +16 08h00 15h51 7:51:27 +17 08h00 15h51 7:50:54 +18 08h01 15h52 7:50:27 +19 08h02 15h52 7:50:06 +20 08h02 15h52 7:49:52 +21 08h03 15h53 7:49:44 +22 08h04 15h53 7:49:43 +23 08h04 15h54 7:49:48 +24 08h04 15h54 7:50:00 +25 08h05 15h55 7:50:19 +26 08h05 15h56 7:50:44 +27 08h05 15h57 7:51:15 +28 08h06 15h57 7:51:53 +29 08h06 15h58 7:52:37 +30 08h06 15h59 7:53:27 +31 08h06 16h00 7:54:24 diff --git a/challenge-037/laurent-rosenfeld/perl6/november_2019.txt b/challenge-037/laurent-rosenfeld/perl6/november_2019.txt new file mode 100644 index 0000000000..c1e5ceeca9 --- /dev/null +++ b/challenge-037/laurent-rosenfeld/perl6/november_2019.txt @@ -0,0 +1,30 @@ +1 06h53 16h34 9:40:44 +2 06h55 16h32 9:37:10 +3 06h56 16h30 9:33:37 +4 06h58 16h28 9:30:07 +5 07h00 16h27 9:26:38 +6 07h02 16h25 9:23:11 +7 07h03 16h23 9:19:45 +8 07h05 16h22 9:16:22 +9 07h07 16h20 9:13:01 +10 07h09 16h18 9:09:42 +11 07h10 16h17 9:06:25 +12 07h12 16h15 9:03:11 +13 07h14 16h14 8:59:59 +14 07h16 16h12 8:56:50 +15 07h17 16h11 8:53:44 +16 07h19 16h10 8:50:40 +17 07h21 16h08 8:47:39 +18 07h22 16h07 8:44:42 +19 07h24 16h06 8:41:48 +20 07h26 16h05 8:38:57 +21 07h27 16h04 8:36:09 +22 07h29 16h03 8:33:25 +23 07h31 16h01 8:30:45 +24 07h32 16h00 8:28:09 +25 07h34 15h59 8:25:36 +26 07h35 15h59 8:23:08 +27 07h37 15h58 8:20:44 +28 07h38 15h57 8:18:24 +29 07h40 15h56 8:16:09 +30 07h41 15h55 8:13:59 diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 1ff0c9a5de..79c1664904 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,25 +1,29 @@ { - "legend" : { - "enabled" : 0 - }, - "xAxis" : { - "type" : "category" - }, "tooltip" : { "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", "followPointer" : 1, "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>" }, - "title" : { - "text" : "Perl Weekly Challenge - 037" + "chart" : { + "type" : "column" + }, + "legend" : { + "enabled" : 0 + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } }, "series" : [ { + "name" : "Perl Weekly Challenge - 037", + "colorByPoint" : 1, "data" : [ { + "y" : 2, "name" : "Andrezgz", - "drilldown" : "Andrezgz", - "y" : 2 + "drilldown" : "Andrezgz" }, { "name" : "Arne Sommer", @@ -27,24 +31,24 @@ "y" : 3 }, { - "drilldown" : "Daniel Mita", + "y" : 3, "name" : "Daniel Mita", - "y" : 3 + "drilldown" : "Daniel Mita" }, { - "name" : "Dave Jacoby", + "y" : 3, "drilldown" : "Dave Jacoby", - "y" : 3 + "name" : "Dave Jacoby" }, { - "y" : 1, + "drilldown" : "Duane Powell", "name" : "Duane Powell", - "drilldown" : "Duane Powell" + "y" : 1 }, { - "y" : 2, "drilldown" : "Duncan C. White", - "name" : "Duncan C. White" + "name" : "Duncan C. White", + "y" : 2 }, { "drilldown" : "E. Choroba", @@ -53,13 +57,18 @@ }, { "y" : 5, - "drilldown" : "Javier Luque", - "name" : "Javier Luque" + "name" : "Javier Luque", + "drilldown" : "Javier Luque" }, { - "y" : 2, + "y" : 5, + "drilldown" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld" + }, + { + "drilldown" : "Lubos Kolouch", "name" : "Lubos Kolouch", - "drilldown" : "Lubos Kolouch" + "y" : 2 }, { "drilldown" : "Mark Anderson", @@ -67,14 +76,14 @@ "y" : 2 }, { - "y" : 1, "name" : "Pete Houston", - "drilldown" : "Pete Houston" + "drilldown" : "Pete Houston", + "y" : 1 }, { - "name" : "Richard Nuttall", + "y" : 2, "drilldown" : "Richard Nuttall", - "y" : 2 + "name" : "Richard Nuttall" }, { "y" : 4, @@ -97,30 +106,23 @@ "drilldown" : "Simon Proctor" }, { + "y" : 1, "name" : "Steven Wilson", - "drilldown" : "Steven Wilson", - "y" : 1 + "drilldown" : "Steven Wilson" }, { - "y" : 2, + "drilldown" : "Ulrich Rieke", "name" : "Ulrich Rieke", - "drilldown" : "Ulrich Rieke" + "y" : 2 } - ], - "colorByPoint" : 1, - "name" : "Perl Weekly Challenge - 037" + ] } ], - "subtitle" : { - "text" : "[Champions: 18] Last updated at 2019-12-08 03:30:51 GMT" - }, - "chart" : { - "type" : "column" + "xAxis" : { + "type" : "category" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } + "subtitle" : { + "text" : "[Champions: 19] Last updated at 2019-12-08 10:59:28 GMT" }, "drilldown" : { "series" : [ @@ -135,7 +137,6 @@ "name" : "Andrezgz" }, { - "id" : "Arne Sommer", "data" : [ [ "Perl 6", @@ -146,11 +147,11 @@ 1 ] ], + "id" : "Arne Sommer", "name" : "Arne Sommer" }, { "name" : "Daniel Mita", - "id" : "Daniel Mita", "data" : [ [ "Perl 5", @@ -160,9 +161,11 @@ "Perl 6", 2 ] - ] + ], + "id" : "Daniel Mita" }, { + "name" : "Dave Jacoby", "data" : [ [ "Perl 5", @@ -173,31 +176,29 @@ 1 ] ], - "id" : "Dave Jacoby", - "name" : "Dave Jacoby" + "id" : "Dave Jacoby" }, { "name" : "Duane Powell", + "id" : "Duane Powell", "data" : [ [ "Perl 5", 1 ] - ], - "id" : "Duane Powell" + ] }, { - "id" : "Duncan C. White", + "name" : "Duncan C. White", "data" : [ [ "Perl 5", 2 ] ], - "name" : "Duncan C. White" + "id" : "Duncan C. White" }, { - "id" : "E. Choroba", "data" : [ [ "Perl 5", @@ -208,11 +209,11 @@ 1 ] ], + "id" : "E. Choroba", "name" : "E. Choroba" }, { "name" : "Javier Luque", - "id" : "Javier Luque", "data" : [ [ "Perl 5", @@ -226,27 +227,46 @@ "Blog", 1 ] - ] + ], + "id" : "Javier Luque" }, { + "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld", "data" : [ [ "Perl 5", 2 + ], + [ + "Perl 6", + 2 + ], + [ + "Blog", + 1 ] - ], - "id" : "Lubos Kolouch", - "name" : "Lubos Kolouch" + ] }, { + "name" : "Lubos Kolouch", + "id" : "Lubos Kolouch", "data" : [ [ "Perl 5", 2 ] - ], + ] + }, + { + "name" : "Mark Anderson", "id" : "Mark Anderson", - "name" : "Mark Anderson" + "data" : [ + [ + "Perl 5", + 2 + ] + ] }, { "data" : [ @@ -269,8 +289,6 @@ "name" : "Richard Nuttall" }, { - "name" : "Roger Bell West", - "id" : "Roger Bell West", "data" : [ [ "Perl 5", @@ -280,16 +298,18 @@ "Perl 6", 2 ] - ] + ], + "id" : "Roger Bell West", + "name" : "Roger Bell West" }, { - "id" : "Ryan Thompson", "data" : [ [ "Perl 5", 2 ] ], + "id" : "Ryan Thompson", "name" : "Ryan Thompson" }, { @@ -313,33 +333,36 @@ "name" : "Simon Proctor" }, { + "name" : "Steven Wilson", "id" : "Steven Wilson", "data" : [ [ "Perl 5", 1 ] - ], - "name" : "Steven Wilson" + ] }, { "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl 6", 2 ] - ], - "id" : "Ulrich Rieke" + ] } ] }, + "title" : { + "text" : "Perl Weekly Challenge - 037" + }, "plotOptions" : { "series" : { "borderWidth" : 0, "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 + "enabled" : 1, + "format" : "{point.y}" } } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 1f97203870..2323945220 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,63 +1,63 @@ { - "legend" : { - "enabled" : "false" - }, - "chart" : { - "type" : "column" - }, "yAxis" : { - "min" : 0, "title" : { "text" : null - } + }, + "min" : 0 }, "subtitle" : { - "text" : "Last updated at 2019-12-08 03:31:00 GMT" + "text" : "Last updated at 2019-12-08 10:59:36 GMT" + }, + "tooltip" : { + "pointFormat" : "<b>{point.y:.0f}</b>" + }, + "xAxis" : { + "type" : "category", + "labels" : { + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + } + } + }, + "title" : { + "text" : "Perl Weekly Challenge Contributions - 2019" }, "series" : [ { - "name" : "Contributions", + "dataLabels" : { + "align" : "right", + "format" : "{point.y:.0f}", + "color" : "#FFFFFF", + "enabled" : "true", + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + }, + "y" : 10, + "rotation" : -90 + }, "data" : [ [ "Blog", - 396 + 397 ], [ "Perl 5", - 1538 + 1540 ], [ "Perl 6", - 912 + 914 ] ], - "dataLabels" : { - "enabled" : "true", - "format" : "{point.y:.0f}", - "align" : "right", - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - }, - "rotation" : -90, - "y" : 10, - "color" : "#FFFFFF" - } + "name" : "Contributions" } ], - "xAxis" : { - "type" : "category", - "labels" : { - "style" : { - "fontSize" : "13px", - "fontFamily" : "Verdana, sans-serif" - } - } - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions - 2019" + "chart" : { + "type" : "column" }, - "tooltip" : { - "pointFormat" : "<b>{point.y:.0f}</b>" + "legend" : { + "enabled" : "false" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index c3cfc34829..c7775a8720 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,91 +1,75 @@ { - "tooltip" : { - "headerFormat" : "<span style=\"font-size:11px\"></span>", - "pointFormat" : "<span style=\"color:{point.color}\">Challenge {point.name}</span>: <b>{point.y:f}</b><br/>", - "followPointer" : "true" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } - }, - "title" : { - "text" : "Perl Weekly Challenge Language" - }, - "xAxis" : { - "type" : "category" + "chart" : { + "type" : "column" }, "series" : [ { + "name" : "Perl Weekly Challenge Languages", "data" : [ { - "name" : "#001", "drilldown" : "001", + "name" : "#001", "y" : 132 }, { - "name" : "#002", + "y" : 104, "drilldown" : "002", - "y" : 104 + "name" : "#002" }, { "y" : 67, - "drilldown" : "003", - "name" : "#003" + "name" : "#003", + "drilldown" : "003" }, { + "drilldown" : "004", "name" : "#004", - "y" : 87, - "drilldown" : "004" + "y" : 87 }, { + "name" : "#005", "drilldown" : "005", - "y" : 67, - "name" : "#005" + "y" : 67 }, { + "name" : "#006", "drilldown" : "006", - "y" : 48, - "name" : "#006" + "y" : 48 }, { - "y" : 56, + "name" : "#007", "drilldown" : "007", - "name" : "#007" + "y" : 56 }, { - "drilldown" : "008", "y" : 70, - "name" : "#008" + "name" : "#008", + "drilldown" : "008" }, { "name" : "#009", - "y" : 68, - "drilldown" : "009" + "drilldown" : "009", + "y" : 68 }, { - "drilldown" : "010", "y" : 60, - "name" : "#010" + "name" : "#010", + "drilldown" : "010" }, { - "drilldown" : "011", "y" : 79, - "name" : "#011" + "name" : "#011", + "drilldown" : "011" }, { "y" : 83, - "drilldown" : "012", - "name" : "#012" + "name" : "#012", + "drilldown" : "012" }, { - "name" : "#013", "y" : 76, - "drilldown" : "013" + "drilldown" : "013", + "name" : "#013" }, { "name" : "#014", @@ -98,29 +82,29 @@ "name" : "#015" }, { + "name" : "#016", "drilldown" : "016", - "y" : 66, - "name" : "#016" + "y" : 66 }, { - "name" : "#017", "y" : 79, + "name" : "#017", "drilldown" : "017" }, { - "y" : 76, "drilldown" : "018", - "name" : "#018" + "name" : "#018", + "y" : 76 }, { + "drilldown" : "019", "name" : "#019", - "y" : 95, - "drilldown" : "019" + "y" : 95 }, { "y" : 95, - "drilldown" : "020", - "name" : "#020" + "name" : "#020", + "drilldown" : "020" }, { "y" : 67, @@ -128,69 +112,69 @@ "name" : "#021" }, { - "y" : 63, + "name" : "#022", "drilldown" : "022", - "name" : "#022" + "y" : 63 }, { - "name" : "#023", "y" : 91, + "name" : "#023", "drilldown" : "023" }, { - "drilldown" : "024", "y" : 70, + "drilldown" : "024", "name" : "#024" }, { - "name" : "#025", "y" : 55, + "name" : "#025", "drilldown" : "025" }, { - "drilldown" : "026", "y" : 70, - "name" : "#026" + "name" : "#026", + "drilldown" : "026" }, { - "drilldown" : "027", "y" : 58, + "drilldown" : "027", "name" : "#027" }, { - "name" : "#028", "y" : 78, + "name" : "#028", "drilldown" : "028" }, { "y" : 77, - "drilldown" : "029", - "name" : "#029" + "name" : "#029", + "drilldown" : "029" }, { - "name" : "#030", + "y" : 115, "drilldown" : "030", - "y" : 115 + "name" : "#030" }, { - "name" : "#031", + "y" : 87, "drilldown" : "031", - "y" : 87 + "name" : "#031" }, { - "name" : "#032", "drilldown" : "032", + "name" : "#032", "y" : 92 }, { - "name" : "#033", "y" : 108, + "name" : "#033", "drilldown" : "033" }, { - "y" : 59, + "name" : "#034", "drilldown" : "034", - "name" : "#034" + "y" : 59 }, { "name" : |
