From d433b6e28a4d15e724a423272ded765b7d4eebc8 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Sun, 29 Nov 2020 20:12:58 +0000 Subject: - Added solutions by Colin Crain. --- challenge-088/colin-crain/blog.txt | 1 + challenge-088/colin-crain/perl/ch-1.pl | 65 + challenge-088/colin-crain/perl/ch-2.pl | 88 + challenge-088/colin-crain/raku/ch-1.raku | 20 + stats/pwc-current.json | 593 ++--- stats/pwc-language-breakdown-summary.json | 88 +- stats/pwc-language-breakdown.json | 3498 ++++++++++++++--------------- stats/pwc-leaders.json | 410 ++-- stats/pwc-summary-1-30.json | 40 +- stats/pwc-summary-121-150.json | 44 +- stats/pwc-summary-151-180.json | 122 +- stats/pwc-summary-181-210.json | 92 +- stats/pwc-summary-31-60.json | 40 +- stats/pwc-summary-61-90.json | 122 +- stats/pwc-summary-91-120.json | 48 +- stats/pwc-summary.json | 460 ++-- 16 files changed, 2964 insertions(+), 2767 deletions(-) create mode 100644 challenge-088/colin-crain/blog.txt create mode 100644 challenge-088/colin-crain/perl/ch-1.pl create mode 100644 challenge-088/colin-crain/perl/ch-2.pl create mode 100644 challenge-088/colin-crain/raku/ch-1.raku diff --git a/challenge-088/colin-crain/blog.txt b/challenge-088/colin-crain/blog.txt new file mode 100644 index 0000000000..14dedbcc28 --- /dev/null +++ b/challenge-088/colin-crain/blog.txt @@ -0,0 +1 @@ +https://colincrain.com/2020/11/29/the-product-of-the-absence-spiralize-the-day-away/ diff --git a/challenge-088/colin-crain/perl/ch-1.pl b/challenge-088/colin-crain/perl/ch-1.pl new file mode 100644 index 0000000000..a7d644afa6 --- /dev/null +++ b/challenge-088/colin-crain/perl/ch-1.pl @@ -0,0 +1,65 @@ +#! /opt/local/bin/perl +# +# product_of_the_absence.pl +# +# TASK #1 › Array of Product +# Submitted by: Mohammad S Anwar +# You are given an array of positive integers @N. +# +# Write a script to return an array @M where $M[i] is the product of all +# elements of @N except the index $N[i]. +# +# Example 1: +# Input: +# @N = (5, 2, 1, 4, 3) +# Output: +# @M = (24, 60, 120, 30, 40) +# +# $M[0] = 2 x 1 x 4 x 3 = 24 +# $M[1] = 5 x 1 x 4 x 3 = 60 +# $M[2] = 5 x 2 x 4 x 3 = 120 +# $M[3] = 5 x 2 x 1 x 3 = 30 +# $M[4] = 5 x 2 x 1 x 4 = 40 +# Example 2: +# Input: +# @N = (2, 1, 4, 3) +# Output: +# @M = (12, 24, 6, 8) +# +# $M[0] = 1 x 4 x 3 = 12 +# $M[1] = 2 x 4 x 3 = 24 +# $M[2] = 2 x 1 x 3 = 6 +# $M[3] = 2 x 1 x 4 = 8 +# +# 2020 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +use warnings; +use strict; +use feature ":5.26"; + +## ## ## ## ## MAIN: + +my @input = @ARGV; + +@ARGV == 0 and @input = (5, 2, 1, 4, 3); + +my $product = 1; +$product *= $_ for @input; + +my @output = map { $product / $_ } @input; + +say "@input"; +say "@output"; + + + + + + + + +## ## ## ## ## SUBS: + diff --git a/challenge-088/colin-crain/perl/ch-2.pl b/challenge-088/colin-crain/perl/ch-2.pl new file mode 100644 index 0000000000..11b16a1b3f --- /dev/null +++ b/challenge-088/colin-crain/perl/ch-2.pl @@ -0,0 +1,88 @@ +#! /opt/local/bin/perl +# +# spiral.pl +# +# TASK #2 › Spiral Matrix +# Submitted by: Mohammad S Anwar +# You are given m x n matrix of positive integers. +# +# Write a script to print spiral matrix as list. +# +# Example 1: +# Input: +# [ 1, 2, 3 ] +# [ 4, 5, 6 ] +# [ 7, 8, 9 ] +# Ouput: +# [ 1, 2, 3, 6, 9, 8, 7, 4, 5 ] +# +# Example 2: +# Input: +# [ 1, 2, 3, 4 ] +# [ 5, 6, 7, 8 ] +# [ 9, 10, 11, 12 ] +# [ 13, 14, 15, 16 ] +# Output: +# [ 1, 2, 3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 6, 7, 11, 10 ] +# +# 2020 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +use warnings; +use strict; +use feature ":5.26"; + +use POSIX qw( ceil floor ); + +## ## ## ## ## MAIN: +my $mat; +$mat = [ [1,2,3,4], [5,6,7,8], [9,10,11,12] ]; +# $mat = [ [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15] ]; +# $mat = [ [1], [2], [3], [4] ]; +# $mat = [ [1,2,3,4] ]; +# $mat = [ +# [ 1, 2, 3, 4, 5, 6], +# [ 7, 8, 9,10,11,12], +# [13,14,15,16,17,18], +# [19,20,21,22,23,24], +# [25,26,27,28,29,30] +# ]; + +my @out = spiralize($mat)->@*; + +say "@out"; + +## ## ## ## ## SUBS: + +sub spiralize { + my ($mat) = @_; + my $cols = $mat->[0]->@*; + my $rows = $mat->@*; + my $rank = 0; ## loop count of spiral, 0-based + my $out = []; + + while (-spiraling) { + ## upper - left to right + return $out if $rank > ceil( $rows / 2 - 1); + push $out->@*, $mat->[$rank]->@[$rank..$cols-$rank-1]; + + ## right - top to bottom + return $out if $rank > ceil( $cols / 2 - 1); + for my $row ( $rank+1..$rows-$rank-2 ) { + push $out->@*, $mat->[$row][$cols-$rank-1]; + } + + ## lower - right to left + return $out if $rank > floor( $rows / 2 - 1); + push $out->@*, reverse $mat->[$rows-$rank-1]->@[$rank..$cols-$rank-1] ; + + ## left - bottom to top + return $out if $rank > floor( $cols / 2 - 1); + for my $row ( reverse $rank+1..$rows-$rank-2 ) { + push $out->@*, $mat->[$row][$rank]; + } + $rank++ + } +} diff --git a/challenge-088/colin-crain/raku/ch-1.raku b/challenge-088/colin-crain/raku/ch-1.raku new file mode 100644 index 0000000000..ca578b9ebd --- /dev/null +++ b/challenge-088/colin-crain/raku/ch-1.raku @@ -0,0 +1,20 @@ +#!/usr/bin/env perl6 +# +# +# .raku +# +# +# +# 2020 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +unit sub MAIN (*@input) ; +@input.elems == 0 and @input = 5, 2, 1, 4, 3; + +my $product = [*] @input; +my @output = @input.map: {$product/$_}; + +say @input; +say @output; diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 5bf263a09d..eb7f1fc5c1 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,235 +1,9 @@ { - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } - }, - "xAxis" : { - "type" : "category" - }, - "tooltip" : { - "followPointer" : 1, - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "{series.name}
" - }, - "chart" : { - "type" : "column" - }, - "series" : [ - { - "name" : "Perl Weekly Challenge - 088", - "colorByPoint" : 1, - "data" : [ - { - "name" : "Aaron Smith", - "drilldown" : "Aaron Smith", - "y" : 2 - }, - { - "drilldown" : "Abigail", - "y" : 3, - "name" : "Abigail" - }, - { - "y" : 3, - "drilldown" : "Adam Russell", - "name" : "Adam Russell" - }, - { - "name" : "Andrew Shitov", - "drilldown" : "Andrew Shitov", - "y" : 1 - }, - { - "y" : 5, - "drilldown" : "Arne Sommer", - "name" : "Arne Sommer" - }, - { - "drilldown" : "Athanasius", - "y" : 4, - "name" : "Athanasius" - }, - { - "name" : "Cheok-Yin Fung", - "y" : 3, - "drilldown" : "Cheok-Yin Fung" - }, - { - "name" : "Cristina Heredia", - "drilldown" : "Cristina Heredia", - "y" : 1 - }, - { - "name" : "Dave Jacoby", - "drilldown" : "Dave Jacoby", - "y" : 2 - }, - { - "name" : "Duane Powell", - "y" : 2, - "drilldown" : "Duane Powell" - }, - { - "name" : "E. Choroba", - "y" : 2, - "drilldown" : "E. Choroba" - }, - { - "name" : "Feng Chang", - "drilldown" : "Feng Chang", - "y" : 2 - }, - { - "y" : 4, - "drilldown" : "Flavio Poletti", - "name" : "Flavio Poletti" - }, - { - "y" : 5, - "drilldown" : "Jaldhar H. Vyas", - "name" : "Jaldhar H. Vyas" - }, - { - "y" : 2, - "drilldown" : "James Smith", - "name" : "James Smith" - }, - { - "drilldown" : "Jan Krnavek", - "y" : 2, - "name" : "Jan Krnavek" - }, - { - "y" : 2, - "drilldown" : "Jorg Sommrey", - "name" : "Jorg Sommrey" - }, - { - "y" : 4, - "drilldown" : "Julio de Castro", - "name" : "Julio de Castro" - }, - { - "name" : "Kang-min Liu", - "drilldown" : "Kang-min Liu", - "y" : 3 - }, - { - "name" : "Laurent Rosenfeld", - "y" : 5, - "drilldown" : "Laurent Rosenfeld" - }, - { - "y" : 3, - "drilldown" : "Lubos Kolouch", - "name" : "Lubos Kolouch" - }, - { - "name" : "Mark Anderson", - "drilldown" : "Mark Anderson", - "y" : 2 - }, - { - "drilldown" : "Miguel Prz", - "y" : 2, - "name" : "Miguel Prz" - }, - { - "name" : "Myoungjin Jeon", - "drilldown" : "Myoungjin Jeon", - "y" : 4 - }, - { - "y" : 2, - "drilldown" : "Niels van Dijke", - "name" : "Niels van Dijke" - }, - { - "name" : "Nuno Vieira", - "drilldown" : "Nuno Vieira", - "y" : 2 - }, - { - "name" : "PJ Durai", - "drilldown" : "PJ Durai", - "y" : 2 - }, - { - "drilldown" : "Pete Houston", - "y" : 2, - "name" : "Pete Houston" - }, - { - "name" : "Philip Hood", - "y" : 2, - "drilldown" : "Philip Hood" - }, - { - "name" : "Roger Bell_West", - "drilldown" : "Roger Bell_West", - "y" : 5 - }, - { - "name" : "Samir Parikh", - "y" : 3, - "drilldown" : "Samir Parikh" - }, - { - "drilldown" : "Simon Green", - "y" : 3, - "name" : "Simon Green" - }, - { - "name" : "Simon Proctor", - "drilldown" : "Simon Proctor", - "y" : 2 - }, - { - "y" : 2, - "drilldown" : "Stuart Little", - "name" : "Stuart Little" - }, - { - "y" : 2, - "drilldown" : "Tejas", - "name" : "Tejas" - }, - { - "y" : 4, - "drilldown" : "Ulrich Rieke", - "name" : "Ulrich Rieke" - }, - { - "y" : 3, - "drilldown" : "W. Luis Mochan", - "name" : "W. Luis Mochan" - }, - { - "y" : 3, - "drilldown" : "Walt Mankowski", - "name" : "Walt Mankowski" - }, - { - "y" : 2, - "drilldown" : "Wanderdoc", - "name" : "Wanderdoc" - } - ] - } - ], - "legend" : { - "enabled" : 0 - }, "drilldown" : { "series" : [ { - "name" : "Aaron Smith", "id" : "Aaron Smith", + "name" : "Aaron Smith", "data" : [ [ "Raku", @@ -238,7 +12,7 @@ ] }, { - "id" : "Abigail", + "name" : "Abigail", "data" : [ [ "Perl", @@ -249,7 +23,7 @@ 1 ] ], - "name" : "Abigail" + "id" : "Abigail" }, { "name" : "Adam Russell", @@ -276,6 +50,7 @@ "name" : "Andrew Shitov" }, { + "id" : "Arne Sommer", "data" : [ [ "Perl", @@ -290,12 +65,11 @@ 1 ] ], - "id" : "Arne Sommer", "name" : "Arne Sommer" }, { - "name" : "Athanasius", "id" : "Athanasius", + "name" : "Athanasius", "data" : [ [ "Perl", @@ -308,7 +82,7 @@ ] }, { - "name" : "Cheok-Yin Fung", + "id" : "Cheok-Yin Fung", "data" : [ [ "Perl", @@ -319,11 +93,29 @@ 1 ] ], - "id" : "Cheok-Yin Fung" + "name" : "Cheok-Yin Fung" + }, + { + "id" : "Colin Crain", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 1 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Colin Crain" }, { - "name" : "Cristina Heredia", "id" : "Cristina Heredia", + "name" : "Cristina Heredia", "data" : [ [ "Perl", @@ -332,8 +124,8 @@ ] }, { - "name" : "Dave Jacoby", "id" : "Dave Jacoby", + "name" : "Dave Jacoby", "data" : [ [ "Perl", @@ -342,24 +134,24 @@ ] }, { - "name" : "Duane Powell", "data" : [ [ "Perl", 2 ] ], + "name" : "Duane Powell", "id" : "Duane Powell" }, { "name" : "E. Choroba", - "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "E. Choroba" }, { "id" : "Feng Chang", @@ -372,6 +164,7 @@ "name" : "Feng Chang" }, { + "id" : "Flavio Poletti", "name" : "Flavio Poletti", "data" : [ [ @@ -382,11 +175,11 @@ "Blog", 2 ] - ], - "id" : "Flavio Poletti" + ] }, { "id" : "Jaldhar H. Vyas", + "name" : "Jaldhar H. Vyas", "data" : [ [ "Perl", @@ -400,8 +193,7 @@ "Blog", 1 ] - ], - "name" : "Jaldhar H. Vyas" + ] }, { "name" : "James Smith", @@ -414,28 +206,28 @@ "id" : "James Smith" }, { - "id" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] ], - "name" : "Jan Krnavek" + "name" : "Jan Krnavek", + "id" : "Jan Krnavek" }, { + "id" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] ], - "id" : "Jorg Sommrey", "name" : "Jorg Sommrey" }, { - "name" : "Julio de Castro", "id" : "Julio de Castro", + "name" : "Julio de Castro", "data" : [ [ "Perl", @@ -448,8 +240,6 @@ ] }, { - "name" : "Kang-min Liu", - "id" : "Kang-min Liu", "data" : [ [ "Raku", @@ -459,9 +249,12 @@ "Blog", 1 ] - ] + ], + "name" : "Kang-min Liu", + "id" : "Kang-min Liu" }, { + "name" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -476,10 +269,11 @@ 1 ] ], - "id" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld" + "id" : "Laurent Rosenfeld" }, { + "id" : "Lubos Kolouch", + "name" : "Lubos Kolouch", "data" : [ [ "Perl", @@ -489,33 +283,31 @@ "Blog", 1 ] - ], - "id" : "Lubos Kolouch", - "name" : "Lubos Kolouch" + ] }, { - "name" : "Mark Anderson", + "id" : "Mark Anderson", "data" : [ [ "Raku", 2 ] ], - "id" : "Mark Anderson" + "name" : "Mark Anderson" }, { + "id" : "Miguel Prz", + "name" : "Miguel Prz", "data" : [ [ "Perl", 2 ] - ], - "id" : "Miguel Prz", - "name" : "Miguel Prz" + ] }, { - "name" : "Myoungjin Jeon", "id" : "Myoungjin Jeon", + "name" : "Myoungjin Jeon", "data" : [ [ "Perl", @@ -534,12 +326,12 @@ 2 ] ], - "id" : "Niels van Dijke", - "name" : "Niels van Dijke" + "name" : "Niels van Dijke", + "id" : "Niels van Dijke" }, { - "name" : "Nuno Vieira", "id" : "Nuno Vieira", + "name" : "Nuno Vieira", "data" : [ [ "Perl", @@ -558,26 +350,27 @@ "name" : "PJ Durai" }, { - "name" : "Pete Houston", "data" : [ [ "Perl", 2 ] ], + "name" : "Pete Houston", "id" : "Pete Houston" }, { - "id" : "Philip Hood", "data" : [ [ "Raku", 2 ] ], - "name" : "Philip Hood" + "name" : "Philip Hood", + "id" : "Philip Hood" }, { + "name" : "Roger Bell_West", "data" : [ [ "Perl", @@ -592,12 +385,10 @@ 1 ] ], - "id" : "Roger Bell_West", - "name" : "Roger Bell_West" + "id" : "Roger Bell_West" }, { "name" : "Samir Parikh", - "id" : "Samir Parikh", "data" : [ [ "Perl", @@ -607,10 +398,11 @@ "Blog", 1 ] - ] + ], + "id" : "Samir Parikh" }, { - "id" : "Simon Green", + "name" : "Simon Green", "data" : [ [ "Perl", @@ -621,7 +413,7 @@ 1 ] ], - "name" : "Simon Green" + "id" : "Simon Green" }, { "id" : "Simon Proctor", @@ -635,13 +427,13 @@ }, { "id" : "Stuart Little", + "name" : "Stuart Little", "data" : [ [ "Raku", 2 ] - ], - "name" : "Stuart Little" + ] }, { "data" : [ @@ -650,10 +442,11 @@ 2 ] ], - "id" : "Tejas", - "name" : "Tejas" + "name" : "Tejas", + "id" : "Tejas" }, { + "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -664,12 +457,11 @@ 2 ] ], - "id" : "Ulrich Rieke", "name" : "Ulrich Rieke" }, { - "name" : "W. Luis Mochan", "id" : "W. Luis Mochan", + "name" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -682,7 +474,6 @@ ] }, { - "id" : "Walt Mankowski", "data" : [ [ "Perl", @@ -693,29 +484,261 @@ 1 ] ], - "name" : "Walt Mankowski" + "name" : "Walt Mankowski", + "id" : "Walt Mankowski" }, { - "name" : "Wanderdoc", "id" : "Wanderdoc", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Wanderdoc" } ] }, + "title" : { + "text" : "Perl Weekly Challenge - 088" + }, + "tooltip" : { + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "{series.name}
" + }, "subtitle" : { - "text" : "[Champions: 39] Last updated at 2020-11-29 19:28:58 GMT" + "text" : "[Champions: 40] Last updated at 2020-11-29 20:09:48 GMT" + }, + "xAxis" : { + "type" : "category" }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "title" : { - "text" : "Perl Weekly Challenge - 088" + "series" : [ + { + "data" : [ + { + "drilldown" : "Aaron Smith", + "name" : "Aaron Smith", + "y" : 2 + }, + { + "drilldown" : "Abigail", + "name" : "Abigail", + "y" : 3 + }, + { + "drilldown" : "Adam Russell", + "y" : 3, + "name" : "Adam Russell" + }, + { + "drilldown" : "Andrew Shitov", + "y" : 1, + "name" : "Andrew Shitov" + }, + { + "drilldown" : "Arne Sommer", + "name" : "Arne Sommer", + "y" : 5 + }, + { + "y" : 4, + "name" : "Athanasius", + "drilldown" : "Athanasius" + }, + { + "drilldown" : "Cheok-Yin Fung", + "name" : "Cheok-Yin Fung", + "y" : 3 + }, + { + "drilldown" : "Colin Crain", + "y" : 4, + "name" : "Colin Crain" + }, + { + "y" : 1, + "name" : "Cristina Heredia", + "drilldown" : "Cristina Heredia" + }, + { + "y" : 2, + "name" : "Dave Jacoby", + "drilldown" : "Dave Jacoby" + }, + { + "drilldown" : "Duane Powell", + "name" : "Duane Powell", + "y" : 2 + }, + { + "drilldown" : "E. Choroba", + "y" : 2, + "name" : "E. Choroba" + }, + { + "drilldown" : "Feng Chang", + "y" : 2, + "name" : "Feng Chang" + }, + { + "y" : 4, + "name" : "Flavio Poletti", + "drilldown" : "Flavio Poletti" + }, + { + "y" : 5, + "name" : "Jaldhar H. Vyas", + "drilldown" : "Jaldhar H. Vyas" + }, + { + "drilldown" : "James Smith", + "y" : 2, + "name" : "James Smith" + }, + { + "drilldown" : "Jan Krnavek", + "y" : 2, + "name" : "Jan Krnavek" + }, + { + "drilldown" : "Jorg Sommrey", + "y" : 2, + "name" : "Jorg Sommrey" + }, + { + "name" : "Julio de Castro", + "y" : 4, + "drilldown" : "Julio de Castro" + }, + { + "y" : 3, + "name" : "Kang-min Liu", + "drilldown" : "Kang-min Liu" + }, + { + "y" : 5, + "name" : "Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld" + }, + { + "y" : 3, + "name" : "Lubos Kolouch", + "drilldown" : "Lubos Kolouch" + }, + { + "drilldown" : "Mark Anderson", + "y" : 2, + "name" : "Mark Anderson" + }, + { + "y" : 2, + "name" : "Miguel Prz", + "drilldown" : "Miguel Prz" + }, + { + "drilldown" : "Myoungjin Jeon", + "name" : "Myoungjin Jeon", + "y" : 4 + }, + { + "drilldown" : "Niels van Dijke", + "name" : "Niels van Dijke", + "y" : 2 + }, + { + "drilldown" : "Nuno Vieira", + "name" : "Nuno Vieira", + "y" : 2 + }, + { + "name" : "PJ Durai", + "y" : 2, + "drilldown" : "PJ Durai" + }, + { + "y" : 2, + "name" : "Pete Houston", + "drilldown" : "Pete Houston" + }, + { + "drilldown" : "Philip Hood", + "y" : 2, + "name" : "Philip Hood" + }, + { + "drilldown" : "Roger Bell_West", + "name" : "Roger Bell_West", + "y" : 5 + }, + { + "name" : "Samir Parikh", + "y" : 3, + "drilldown" : "Samir Parikh" + }, + { + "y" : 3, + "name" : "Simon Green", + "drilldown" : "Simon Green" + }, + { + "name" : "Simon Proctor", + "y" : 2, + "drilldown" : "Simon Proctor" + }, + { + "y" : 2, + "name" : "Stuart Little", + "drilldown" : "Stuart Little" + }, + { + "drilldown" : "Tejas", + "y" : 2, + "name" : "Tejas" + }, + { + "y" : 4, + "name" : "Ulrich Rieke", + "drilldown" : "Ulrich Rieke" + }, + { + "name" : "W. Luis Mochan", + "y" : 3, + "drilldown" : "W. Luis Mochan" + }, + { + "drilldown" : "Walt Mankowski", + "name" : "Walt Mankowski", + "y" : 3 + }, + { + "name" : "Wanderdoc", + "y" : 2, + "drilldown" : "Wanderdoc" + } + ], + "name" : "Perl Weekly Challenge - 088", + "colorByPoint" : 1 + } + ], + "legend" : { + "enabled" : 0 + }, + "chart" : { + "type" : "column" + }, + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + } + } } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 5b9ae4534b..824e3db539 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,63 +1,63 @@ { - "yAxis" : { - "min" : 0, - "title" : { - "text" : null - } - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" - }, - "subtitle" : { - "text" : "Last updated at 2020-11-29 19:28:57 GMT" - }, - "xAxis" : { - "type" : "category", - "labels" : { - "style" : { - "fontSize" : "13px", - "fontFamily" : "Verdana, sans-serif" - } - } - }, - "legend" : { - "enabled" : "false" - }, "tooltip" : { "pointFormat" : "{point.y:.0f}" }, - "chart" : { - "type" : "column" + "title" : { + "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" }, "series" : [ { + "dataLabels" : { + "align" : "right", + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + }, + "y" : 10, + "format" : "{point.y:.0f}", + "color" : "#FFFFFF", + "rotation" : -90, + "enabled" : "true" + }, + "name" : "Contributions", "data" : [ [ "Blog", - 1139 + 1140 ], [ "Perl", - 3956 + 3958 ], [ "Raku", - 2584 + 2585 ] - ], - "dataLabels" : { - "format" : "{point.y:.0f}", - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - }, - "align" : "right", - "y" : 10, - "enabled" : "true", - "color" : "#FFFFFF", - "rotation" : -90 - }, - "name" : "Contributions" + ] + } + ], + "xAxis" : { + "type" : "category", + "labels" : { + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + } + } + }, + "yAxis" : { + "min" : 0, + "title" : { + "text" : null } - ] + }, + "subtitle" : { + "text" : "Last updated at 2020-11-29 20:09:48 GMT" + }, + "chart" : { + "type" : "column" + }, + "legend" : { + "enabled" : "false" + } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index a3e1333ab3..84c9788fcd 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,1641 +1,53 @@ { - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-11-29 19:28:58 GMT" - }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "title" : { - "text" : "Perl Weekly Challenge Language" + "xAxis" : { + "type" : "category" }, - "drilldown" : { - "series" : [ - { - "data" : [ - [ - "Perl", - 89 - ], - [ - "Raku", - 47 - ], - [ - "Blog", - 11 - ] - ], - "id" : "001", - "name" : "001" - }, - { - "data" : [ - [ - "Perl", - 70 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 10 - ] - ], - "id" : "002", - "name" : "002" - }, - { - "name" : "003", - "id" : "003", - "data" : [ - [ - "Perl", - 34 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "id" : "004", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 10 - ] - ], - "name" : "004" - }, - { - "id" : "005", - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 12 - ] - ], - "name" : "005" - }, - { - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 16 - ], - [ - "Blog", - 7 - ] - ], - "id" : "006", - "name" : "006" - }, - { - "data" : [ - [ - "Perl", - 28 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 10 - ] - ], - "id" : "007", - "name" : "007" - }, - { - "name" : "008", - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 12 - ] - ], - "id" : "008" - }, - { - "name" : "009", - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 13 - ] - ], - "id" : "009" - }, - { - "name" : "010", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 11 - ] - ], - "id" : "010" - }, - { - "name" : "011", - "data" : [ - [ - "Perl", - 43 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 10 - ] - ], - "id" : "011" - }, - { - "id" : "012", - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 11 - ] - ], - "name" : "012" - }, - { - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 13 - ] - ], - "id" : "013", - "name" : "013" - }, - { - "name" : "014", - "id" : "014", - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 15 - ] - ] - }, - { - "name" : "015", - "id" : "015", - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ] - }, - { - "name" : "016", - "id" : "016", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 12 - ] - ], - "id" : "017", - "name" : "017" - }, - { - "name" : "018", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ], - "id" : "018" - }, - { - "name" : "019", - "id" : "019", - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "name" : "020", - "id" : "020", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "name" : "021", - "id" : "021", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "id" : "022", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 10 - ] - ], - "name" : "022" - }, - { - "name" : "023", - "data" : [ - [ - "Perl", - 49 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 12 - ] - ], - "id" : "023" - }, - { - "name" : "024", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 11 - ] - ], - "id" : "024" - }, - { - "data" : [ - [ - "Perl", - 26 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 12 - ] - ], - "id" : "025", - "name" : "025" - }, - { - "id" : "026", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 10 - ] - ], - "name" : "026" - }, - { - "name" : "027", - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 9 - ] - ], - "id" : "027" - }, - { - "id" : "028", - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 9 - ] - ], - "name" : "028" - }, - { - "id" : "029", - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 12 - ] - ], - "name" : "029" - }, - { - "name" : "030", - "data" : [ - [ - "Perl", - 74 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ], - "id" : "030" - }, - { - "name" : "031", - "id" : "031", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "name" : "032", - "id" : "032", - "data" : [ - [ - "Perl", - 57 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "id" : "033", - "data" : [ - [ - "Perl", - 62 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 10 - ] - ], - "name" : "033" - }, - { - "data" : [ - [ - "Perl", - 30 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 11 - ] - ], - "id" : "034", - "name" : "034" - }, - { - "name" : "035", - "id" : "035", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "name" : "036", - "id" : "036", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "id" : "037", - "data" : [ - [ - "Perl", - 34 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 9 - ] - ], - "name" : "037" - }, - { - "id" : "038", - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 12 - ] - ], - "name" : "038" - }, - { - "name" : "039", - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 12 - ] - ], - "id" : "039" - }, - { - "id" : "040", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 10 - ] - ], - "name" : "040" - }, - { - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ], - "id" : "041", - "name" : "041" - }, - { - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 11 - ] - ], - "id" : "042", - "name" : "042" - }, - { - "id" : "043", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 11 - ] - ], - "name" : "043" - }, - { - "data" : [ - [ - "Perl", - 41 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ], - "id" : "044", - "name" : "044" - }, - { - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 11 - ] - ], - "id" : "045", - "name" : "045" - }, - { - "name" : "046", - "id" : "046", - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 43 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 10 - ] - ], - "id" : "047", - "name" : "047" - }, - { - "name" : "048", - "id" : "048", - "data" : [ - [ - "Perl", - 59 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "id" : "049", - "data" : [ - [ - "Perl", - 48 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 12 - ] - ], - "name" : "049" - }, - { - "name" : "050", - "id" : "050", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 46 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ], - "id" : "051", - "name" : "051" - }, - { - "name" : "052", - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 14 - ] - ], - "id" : "052" - }, - { - "id" : "053", - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 39 - ], - [ - "Blog", - 15 - ] - ], - "name" : "053" - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 40 - ], - [ - "Blog", - 18 - ] - ], - "id" : "054", - "name" : "054" - }, - { - "data" : [ - [ - "Perl", - 41 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 14 - ] - ], - "id" : "055", - "name" : "055" - }, - { - "name" : "056", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 16 - ] - ], - "id" : "056" - }, - { - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ], - "id" : "057", - "name" : "057" - }, - { - "name" : "058", - "id" : "058", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "name" : "059", - "id" : "059", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "name" : "060", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 16 - ] - ], - "id" : "060" - }, - { - "name" : "061", - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 14 - ] - ], - "id" : "061" - }, - { - "data" : [ - [ - "Perl", - 26 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 11 - ] - ], - "id" : "062", - "name" : "062" - }, - { - "id" : "063", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 13 - ] - ], - "name" : "063" - }, - { - "name" : "064", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 16 - ] - ], - "id" : "064" - }, - { - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 15 - ] - ], - "id" : "065", - "name" : "065" - }, - { - "name" : "066", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ], - "id" : "066" - }, - { - "id" : "067", - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 18 - ] - ], - "name" : "067" - }, - { - "id" : "068", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 13 - ] - ], - "name" : "068" - }, - { - "name" : "069", - "id" : "069", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "name" : "070", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 17 - ] - ], - "id" : "070" - }, - { - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 15 - ] - ], - "id" : "071", - "name" : "071" - }, - { - "data" : [ - [ - "Perl", - 51 - ], - [ - "Raku", - 42 - ], - [ - "Blog", - 19 - ] - ], - "id" : "072", - "name" : "072" - }, - { - "data" : [ - [ - "Perl", - 53 - ], - [ - "Raku", - 40 - ], - [ - "Blog", - 17 - ] - ], - "id" : "073", - "name" : "073" - }, - { - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 39 - ], - [ - "Blog", - 20 - ] - ], - "id" : "074", - "name" : "074" - }, - { - "name" : "075", - "data" : [ - [ - "Perl", - 55 - ], - [ - "Raku", - 38 - ], - [ - "Blog", - 20 - ] - ], - "id" : "075" - }, - { - "name" : "076", - "id" : "076", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "name" : "077", - "data" : [ - [ - "Perl", - 48 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 14 - ] - ], - "id" : "077" - }, - { - "id" : "078", - "data" : [ - [ - "Perl", - 66 - ], - [ - "Raku", - 41 - ], - [ - "Blog", - 18 - ] - ], - "name" : "078" - }, - { - "name" : "079", - "id" : "079", - "data" : [ - [ - "Perl", - 66 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 17 - ] - ] - }, - { - "id" : "080", - "data" : [ - [ - "Perl", - 73 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 16 - ] - ], - "name" : "080" - }, - { - "name" : "081", - "data" : [ - [ - "Perl", - 63 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 15 - ] - ], - "id" : "081" - }, - { - "name" : "082", - "data" : [ - [ - "Perl", - 60 - ], - [ - "Raku", - 35 - ], - [ - "Blog", - 17 - ] - ], - "id" : "082" - }, - { - "name" : "083", - "id" : "083", - "data" : [ - [ - "Perl", - 71 - ], - [ - "Raku", - 38 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "name" : "084", - "id" : "084", - "data" : [ - [ - "Perl", - 69 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "id" : "085", - "data" : [ - [ - "Perl", - 62 - ], - [ - "Raku", - 32 - ], - [ - "Blog", -