From 2beb95259d12881339724ae087a44d7220360c29 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Wed, 8 Jan 2020 11:58:07 +0000 Subject: - Added solutions by Saif Ahmed. --- challenge-042/saiftynet/perl/ch-1.pl | 58 +++ challenge-042/saiftynet/perl/ch-2.pl | 40 ++ challenge-042/saiftynet/perl5/ch-1.pl | 58 --- challenge-042/saiftynet/perl5/ch-2.pl | 40 -- stats/pwc-current.json | 165 ++++--- stats/pwc-language-breakdown-summary.json | 54 +-- stats/pwc-language-breakdown.json | 300 ++++++------ stats/pwc-leaders.json | 736 +++++++++++++++--------------- stats/pwc-summary-1-30.json | 100 ++-- stats/pwc-summary-121-150.json | 86 ++-- stats/pwc-summary-31-60.json | 52 +-- stats/pwc-summary-61-90.json | 44 +- stats/pwc-summary-91-120.json | 116 ++--- stats/pwc-summary.json | 324 ++++++------- 14 files changed, 1094 insertions(+), 1079 deletions(-) create mode 100644 challenge-042/saiftynet/perl/ch-1.pl create mode 100644 challenge-042/saiftynet/perl/ch-2.pl delete mode 100644 challenge-042/saiftynet/perl5/ch-1.pl delete mode 100644 challenge-042/saiftynet/perl5/ch-2.pl diff --git a/challenge-042/saiftynet/perl/ch-1.pl b/challenge-042/saiftynet/perl/ch-1.pl new file mode 100644 index 0000000000..3a4e4bd343 --- /dev/null +++ b/challenge-042/saiftynet/perl/ch-1.pl @@ -0,0 +1,58 @@ +#!/usr/env perl +# Perl Weekly Challenge 42-1 Script +# Octal Number System Write a script to print decimal number 0 to 50 +# in Octal Number System. +# Task extended to allow conversion into any base +# from 2 to 36 (using A-Z), and also converts back from any base +# back to decimal + +use strict; use warnings; + +my $base=8; + +print "Converting from decimal to octal (base 8)\n"; + +for my $n (1..50){ + printf ("Decimal %2s is %2s in base %1s\n",$n, decimalTobaseN($base,$n), $base) ; +} + +sub decimalTobaseN{ + my ($base,$number)=@_; # Function receives base and the number to convert + my @digits=(0..9,'A'..'Z'); # potential output characters + + my $string=""; # holds the output as string of characters + + while ($number>0){ # continue until no more required + my $remainder=$number % $base; # get the remainder after division with base + $string=$digits[$remainder].$string; # add that to the left most side of string + $number=($number-$remainder)/$base; # divide the residual number by base + } + + return $string # return the result +} + +# The following section describes a function inverse of decimalToBaseN() +# Goal is to convert baseN string generated above back to decimal + +print "\n\nPress any key to continue\n"; +; +print "Converting decimal 100 into bases 2 to 36 and then back again\n\n"; + +for $base (2..36){ # for each valid base + my $a = decimalTobaseN($base,100); # convert decimal 100 into that base + my $b = baseNToDecimal($base,$a); # then convert result back to decimal + + printf ("Decimal 100 in base %2s is %2s and converted back is %2s\n",$base, $a, $b) ; +} + +sub baseNToDecimal{ + my ($base,$string)=@_; # Function receives base and the string to convert + my %baseValues; # the base characters to decimal value are + @baseValues{(0..9,'A'..'Z')}=(0..36); # stored in a hash + my $result=0; # initial value is zero + foreach (split //,$string){ # go over each character in the string + # multiplying result by the base before adding + $result=$result*$base+$baseValues{$_}; # next character value to result + } + return $result; # return the result +} diff --git a/challenge-042/saiftynet/perl/ch-2.pl b/challenge-042/saiftynet/perl/ch-2.pl new file mode 100644 index 0000000000..6b741af435 --- /dev/null +++ b/challenge-042/saiftynet/perl/ch-2.pl @@ -0,0 +1,40 @@ +#!/usr/env perl +# Perl Weekly Challenge 42-2 Script +# Write a script to generate a string with random number +# of ( and ) brackets. Then make the script validate the +# string if it has balanced brackets. + +# This contains two subroutines, 1 to generate random strings, +# (random in both length and sequence) and one to test whether +# the brackets are balanced or not. The script also shows which +# are the unmtached brackets. +# +# With random strings, unbalanced strings are far more common +# so 100 are generated and tested +use strict; use warnings; + +for (1..100){ + my $testString=randomString(); # generate random string + printf (" %-12s", $testString); # display it + print findError($testString), "\n"; # validate it +} + +sub randomString{ + my $string=""; # start with empty string + for (0..(rand()*5+1)){ # for a random length (2 - 7) + $string.=("(",")")[rand()*2]; # keep adding a random bracket + } + $string; # return the string +} + +sub findError{ + my $str=shift; + while ($str =~s/\((-*)\)/-\1-/){}; # keep replacing matched braces with + # hyphens. What is left are string + # contaning unmatched brackets + # If these exist, they show locations + # of errors + if ($str=~/\(|\)/){ return "Not ok unmatched brackets at $str "}; + "OK, Balanced brackets"; + +} diff --git a/challenge-042/saiftynet/perl5/ch-1.pl b/challenge-042/saiftynet/perl5/ch-1.pl deleted file mode 100644 index 3a4e4bd343..0000000000 --- a/challenge-042/saiftynet/perl5/ch-1.pl +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/env perl -# Perl Weekly Challenge 42-1 Script -# Octal Number System Write a script to print decimal number 0 to 50 -# in Octal Number System. -# Task extended to allow conversion into any base -# from 2 to 36 (using A-Z), and also converts back from any base -# back to decimal - -use strict; use warnings; - -my $base=8; - -print "Converting from decimal to octal (base 8)\n"; - -for my $n (1..50){ - printf ("Decimal %2s is %2s in base %1s\n",$n, decimalTobaseN($base,$n), $base) ; -} - -sub decimalTobaseN{ - my ($base,$number)=@_; # Function receives base and the number to convert - my @digits=(0..9,'A'..'Z'); # potential output characters - - my $string=""; # holds the output as string of characters - - while ($number>0){ # continue until no more required - my $remainder=$number % $base; # get the remainder after division with base - $string=$digits[$remainder].$string; # add that to the left most side of string - $number=($number-$remainder)/$base; # divide the residual number by base - } - - return $string # return the result -} - -# The following section describes a function inverse of decimalToBaseN() -# Goal is to convert baseN string generated above back to decimal - -print "\n\nPress any key to continue\n"; -; -print "Converting decimal 100 into bases 2 to 36 and then back again\n\n"; - -for $base (2..36){ # for each valid base - my $a = decimalTobaseN($base,100); # convert decimal 100 into that base - my $b = baseNToDecimal($base,$a); # then convert result back to decimal - - printf ("Decimal 100 in base %2s is %2s and converted back is %2s\n",$base, $a, $b) ; -} - -sub baseNToDecimal{ - my ($base,$string)=@_; # Function receives base and the string to convert - my %baseValues; # the base characters to decimal value are - @baseValues{(0..9,'A'..'Z')}=(0..36); # stored in a hash - my $result=0; # initial value is zero - foreach (split //,$string){ # go over each character in the string - # multiplying result by the base before adding - $result=$result*$base+$baseValues{$_}; # next character value to result - } - return $result; # return the result -} diff --git a/challenge-042/saiftynet/perl5/ch-2.pl b/challenge-042/saiftynet/perl5/ch-2.pl deleted file mode 100644 index 6b741af435..0000000000 --- a/challenge-042/saiftynet/perl5/ch-2.pl +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/env perl -# Perl Weekly Challenge 42-2 Script -# Write a script to generate a string with random number -# of ( and ) brackets. Then make the script validate the -# string if it has balanced brackets. - -# This contains two subroutines, 1 to generate random strings, -# (random in both length and sequence) and one to test whether -# the brackets are balanced or not. The script also shows which -# are the unmtached brackets. -# -# With random strings, unbalanced strings are far more common -# so 100 are generated and tested -use strict; use warnings; - -for (1..100){ - my $testString=randomString(); # generate random string - printf (" %-12s", $testString); # display it - print findError($testString), "\n"; # validate it -} - -sub randomString{ - my $string=""; # start with empty string - for (0..(rand()*5+1)){ # for a random length (2 - 7) - $string.=("(",")")[rand()*2]; # keep adding a random bracket - } - $string; # return the string -} - -sub findError{ - my $str=shift; - while ($str =~s/\((-*)\)/-\1-/){}; # keep replacing matched braces with - # hyphens. What is left are string - # contaning unmatched brackets - # If these exist, they show locations - # of errors - if ($str=~/\(|\)/){ return "Not ok unmatched brackets at $str "}; - "OK, Balanced brackets"; - -} diff --git a/stats/pwc-current.json b/stats/pwc-current.json index b3ee593018..d2598782d8 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,6 +1,25 @@ { - "chart" : { - "type" : "column" + "tooltip" : { + "pointFormat" : "{point.name}: {point.y:f}
", + "headerFormat" : "{series.name}
", + "followPointer" : 1 + }, + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + } + } + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "legend" : { + "enabled" : 0 }, "drilldown" : { "series" : [ @@ -29,24 +48,24 @@ "name" : "Arne Sommer" }, { - "name" : "Daniel Mita", + "id" : "Daniel Mita", "data" : [ [ "Raku", 2 ] ], - "id" : "Daniel Mita" + "name" : "Daniel Mita" }, { "name" : "Duane Powell", + "id" : "Duane Powell", "data" : [ [ "Perl", 2 ] - ], - "id" : "Duane Powell" + ] }, { "id" : "E. Choroba", @@ -60,17 +79,15 @@ }, { "id" : "Fabrizio Poggi", - "name" : "Fabrizio Poggi", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Fabrizio Poggi" }, { - "id" : "Javier Luque", - "name" : "Javier Luque", "data" : [ [ "Perl", @@ -84,41 +101,43 @@ "Blog", 1 ] - ] + ], + "id" : "Javier Luque", + "name" : "Javier Luque" }, { - "id" : "Kivanc Yazan", "data" : [ [ "Perl", 2 ] ], + "id" : "Kivanc Yazan", "name" : "Kivanc Yazan" }, { "name" : "Markus Holzer", + "id" : "Markus Holzer", "data" : [ [ "Raku", 2 ] - ], - "id" : "Markus Holzer" + ] }, { - "name" : "Nazareno Delucca", "data" : [ [ "Perl", 2 ] ], - "id" : "Nazareno Delucca" + "id" : "Nazareno Delucca", + "name" : "Nazareno Delucca" }, { - "id" : "Roger Bell West", "name" : "Roger Bell West", + "id" : "Roger Bell West", "data" : [ [ "Perl", @@ -132,7 +151,6 @@ }, { "id" : "Ruben Westerberg", - "name" : "Ruben Westerberg", "data" : [ [ "Perl", @@ -142,6 +160,17 @@ "Raku", 2 ] + ], + "name" : "Ruben Westerberg" + }, + { + "name" : "Saif Ahmed", + "id" : "Saif Ahmed", + "data" : [ + [ + "Perl", + 2 + ] ] }, { @@ -155,69 +184,63 @@ "name" : "Simon Proctor" }, { + "id" : "Ulrich Rieke", "data" : [ [ "Raku", 2 ] ], - "name" : "Ulrich Rieke", - "id" : "Ulrich Rieke" + "name" : "Ulrich Rieke" }, { - "id" : "Walt Mankowski", - "name" : "Walt Mankowski", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Walt Mankowski", + "name" : "Walt Mankowski" }, { - "id" : "Wanderdoc", "data" : [ [ "Perl", 2 ] ], + "id" : "Wanderdoc", "name" : "Wanderdoc" } ] }, - "subtitle" : { - "text" : "[Champions: 16] Last updated at 2020-01-08 11:12:30 GMT" + "title" : { + "text" : "Perl Weekly Challenge - 042" }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - }, - "borderWidth" : 0 - } + "subtitle" : { + "text" : "[Champions: 17] Last updated at 2020-01-08 11:57:41 GMT" }, "xAxis" : { "type" : "category" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } + "chart" : { + "type" : "column" }, "series" : [ { + "colorByPoint" : 1, + "name" : "Perl Weekly Challenge - 042", "data" : [ { - "y" : 2, "name" : "Alicia Bielsa", - "drilldown" : "Alicia Bielsa" + "drilldown" : "Alicia Bielsa", + "y" : 2 }, { - "y" : 3, + "name" : "Arne Sommer", "drilldown" : "Arne Sommer", - "name" : "Arne Sommer" + "y" : 3 }, { "y" : 2, @@ -231,8 +254,8 @@ }, { "y" : 2, - "drilldown" : "E. Choroba", - "name" : "E. Choroba" + "name" : "E. Choroba", + "drilldown" : "E. Choroba" }, { "y" : 2, @@ -245,64 +268,56 @@ "drilldown" : "Javier Luque" }, { - "y" : 2, + "name" : "Kivanc Yazan", "drilldown" : "Kivanc Yazan", - "name" : "Kivanc Yazan" + "y" : 2 }, { - "drilldown" : "Markus Holzer", "name" : "Markus Holzer", + "drilldown" : "Markus Holzer", "y" : 2 }, { - "y" : 2, + "drilldown" : "Nazareno Delucca", "name" : "Nazareno Delucca", - "drilldown" : "Nazareno Delucca" + "y" : 2 }, { - "drilldown" : "Roger Bell West", + "y" : 4, "name" : "Roger Bell West", - "y" : 4 + "drilldown" : "Roger Bell West" }, { - "drilldown" : "Ruben Westerberg", "name" : "Ruben Westerberg", + "drilldown" : "Ruben Westerberg", "y" : 4 }, { - "y" : 2, + "drilldown" : "Saif Ahmed", + "name" : "Saif Ahmed", + "y" : 2 + }, + { "name" : "Simon Proctor", - "drilldown" : "Simon Proctor" + "drilldown" : "Simon Proctor", + "y" : 2 }, { "y" : 2, - "name" : "Ulrich Rieke", - "drilldown" : "Ulrich Rieke" + "drilldown" : "Ulrich Rieke", + "name" : "Ulrich Rieke" }, { - "y" : 2, "name" : "Walt Mankowski", - "drilldown" : "Walt Mankowski" + "drilldown" : "Walt Mankowski", + "y" : 2 }, { - "y" : 2, + "name" : "Wanderdoc", "drilldown" : "Wanderdoc", - "name" : "Wanderdoc" + "y" : 2 } - ], - "name" : "Perl Weekly Challenge - 042", - "colorByPoint" : 1 + ] } - ], - "legend" : { - "enabled" : 0 - }, - "title" : { - "text" : "Perl Weekly Challenge - 042" - }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "followPointer" : 1, - "pointFormat" : "{point.name}: {point.y:f}
" - } + ] } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 997fd8be34..2a4c299895 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,12 +1,25 @@ { + "title" : { + "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" + }, + "subtitle" : { + "text" : "Last updated at 2020-01-08 11:57:41 GMT" + }, + "legend" : { + "enabled" : "false" + }, "yAxis" : { - "min" : 0, "title" : { "text" : null - } + }, + "min" : 0 + }, + "tooltip" : { + "pointFormat" : "{point.y:.0f}" }, "series" : [ { + "name" : "Contributions", "data" : [ [ "Blog", @@ -14,50 +27,37 @@ ], [ "Perl", - 1710 + 1712 ], [ "Raku", 1034 ] ], - "name" : "Contributions", "dataLabels" : { - "format" : "{point.y:.0f}", - "align" : "right", - "enabled" : "true", "color" : "#FFFFFF", + "align" : "right", "rotation" : -90, + "enabled" : "true", + "y" : 10, + "format" : "{point.y:.0f}", "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - }, - "y" : 10 + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + } } } ], - "legend" : { - "enabled" : "false" - }, - "tooltip" : { - "pointFormat" : "{point.y:.0f}" - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" - }, "chart" : { "type" : "column" }, - "subtitle" : { - "text" : "Last updated at 2020-01-08 11:12:30 GMT" - }, "xAxis" : { - "type" : "category", "labels" : { "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" } - } + }, + "type" : "category" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index 43792588a7..827eb70410 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,22 +1,30 @@ { - "xAxis" : { - "type" : "category" - }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-01-08 11:12:30 GMT" + "tooltip" : { + "headerFormat" : "", + "pointFormat" : "Challenge {point.name}: {point.y:f}
", + "followPointer" : "true" }, "plotOptions" : { "series" : { + "borderWidth" : 0, "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 + "format" : "{point.y}", + "enabled" : 1 + } } }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "legend" : { + "enabled" : "false" + }, "drilldown" : { "series" : [ { + "name" : "001", "data" : [ [ "Perl", @@ -31,11 +39,11 @@ 11 ] ], - "name" : "001", "id" : "001" }, { "name" : "002", + "id" : "002", "data" : [ [ "Perl", @@ -49,11 +57,11 @@ "Blog", 10 ] - ], - "id" : "002" + ] }, { "name" : "003", + "id" : "003", "data" : [ [ "Perl", @@ -67,8 +75,7 @@ "Blog", 9 ] - ], - "id" : "003" + ] }, { "id" : "004", @@ -90,6 +97,7 @@ }, { "name" : "005", + "id" : "005", "data" : [ [ "Perl", @@ -103,10 +111,10 @@ "Blog", 12 ] - ], - "id" : "005" + ] }, { + "name" : "006", "id" : "006", "data" : [ [ @@ -121,12 +129,10 @@ "Blog", 7 ] - ], - "name" : "006" + ] }, { "id" : "007", - "name" : "007", "data" : [ [ "Perl", @@ -140,9 +146,11 @@ "Blog", 10 ] - ] + ], + "name" : "007" }, { + "id" : "008", "data" : [ [ "Perl", @@ -157,12 +165,11 @@ 12 ] ], - "name" : "008", - "id" : "008" + "name" : "008" }, { - "id" : "009", "name" : "009", + "id" : "009", "data" : [ [ "Perl", @@ -197,7 +204,6 @@ "id" : "010" }, { - "id" : "011", "name" : "011", "data" : [ [ @@ -212,10 +218,12 @@ "Blog", 10 ] - ] + ], + "id" : "011" }, { "name" : "012", + "id" : "012", "data" : [ [ "Perl", @@ -229,11 +237,10 @@ "Blog", 11 ] - ], - "id" : "012" + ] }, { - "name" : "013", + "id" : "013", "data" : [ [ "Perl", @@ -248,11 +255,10 @@ 13 ] ], - "id" : "013" + "name" : "013" }, { "id" : "014", - "name" : "014", "data" : [ [ "Perl", @@ -266,10 +272,12 @@ "Blog", 15 ] - ] + ], + "name" : "014" }, { "name" : "015", + "id" : "015", "data" : [ [ "Perl", @@ -283,11 +291,9 @@ "Blog", 15 ] - ], - "id" : "015" + ] }, { - "name" : "016", "data" : [ [ "Perl", @@ -302,9 +308,12 @@ 12 ] ], - "id" : "016" + "id" : "016", + "name" : "016" }, { + "name" : "017", + "id" : "017", "data" : [ [ "Perl", @@ -318,12 +327,9 @@ "Blog", 12 ] - ], - "name" : "017", - "id" : "017" + ] }, { - "id" : "018", "name" : "018", "data" : [ [ @@ -338,7 +344,8 @@ "Blog", 14 ] - ] + ], + "id" : "018" }, { "id" : "019", @@ -359,8 +366,8 @@ "name" : "019" }, { - "id" : "020", "name" : "020", + "id" : "020", "data" : [ [ "Perl", @@ -377,7 +384,7 @@ ] }, { - "name" : "021", + "id" : "021", "data" : [ [ "Perl", @@ -392,9 +399,11 @@ 10 ] ], - "id" : "021" + "name" : "021" }, { + "name" : "022", + "id" : "022", "data" : [ [ "Perl", @@ -408,12 +417,9 @@ "Blog", 10 ] - ], - "name" : "022", - "id" : "022" + ] }, { - "id" : "023", "name" : "023", "data" : [ [ @@ -428,11 +434,12 @@ "Blog", 12 ] - ] + ], + "id" : "023" }, { - "id" : "024", "name" : "024", + "id" : "024", "data" : [ [ "Perl", @@ -463,11 +470,11 @@ 12 ] ], - "name" : "025", - "id" : "025" + "id" : "025", + "name" : "025" }, { - "id" : "026", + "name" : "026", "data" : [ [ "Perl", @@ -482,9 +489,10 @@ 10 ] ], - "name" : "026" + "id" : "026" }, { + "name" : "027", "id" : "027", "data" : [ [ @@ -499,11 +507,11 @@ "Blog", 9 ] - ], - "name" : "027" + ] }, { "name" : "028", + "id" : "028", "data" : [ [ "Perl", @@ -517,12 +525,11 @@ "Blog", 9 ] - ], - "id" : "028" + ] }, { - "id" : "029", "name" : "029", + "id" : "029", "data" : [ [ "Perl", @@ -540,6 +547,7 @@ }, { "name" : "030", + "id" : "030", "data" : [ [ "Perl", @@ -553,12 +561,11 @@ "Blog", 10 ] - ], - "id" : "030" + ] }, { - "id" : "031", "name" : "031", + "id" : "031", "data" : [ [ "Perl", @@ -575,8 +582,8 @@ ] }, { - "id" : "032", "name" : "032", + "id" : "032", "data" : [ [ "Perl", @@ -594,7 +601,6 @@ }, { "id" : "033", - "name" : "033", "data" : [ [ "Perl", @@ -608,7 +614,8 @@ "Blog", 10 ] - ] + ], + "name" : "033" }, { "data" : [ @@ -625,8 +632,8 @@ 11 ] ], - "name" : "034", - "id" : "034" + "id" : "034", + "name" : "034" }, { "name" : "035", @@ -661,12 +668,10 @@ 10 ] ], - "name" : "036", - "id" : "036" + "id" : "036", + "name" : "036" }, { - "id" : "037", - "name" : "037", "data" : [ [ "Perl", @@ -680,11 +685,12 @@ "Blog", 9 ] - ] + ], + "id" : "037", + "name" : "037" }, { "id" : "038", - "name" : "038", "data" : [ [ "Perl", @@ -698,10 +704,10 @@ "Blog", 11 ] - ] + ], + "name" : "038" }, { - "id" : "039", "data" : [ [ "Perl", @@ -716,10 +722,10 @@ 12 ] ], + "id" : "039", "name" : "039" }, { - "id" : "040", "name" : "040", "data" : [ [ @@ -734,11 +740,11 @@ "Blog", 9 ] - ] + ], + "id" : "040" }, { "id" : "041", - "name" : "041", "data" : [ [ "Perl", @@ -752,15 +758,16 @@ "Blog", 6 ] - ] + ], + "name" : "041" }, { - "id" : "042", "name" : "042", + "id" : "042", "data" : [ [ "Perl", - 22 + 24 ], [ "Raku", @@ -774,33 +781,32 @@ } ] }, - "chart" : { - "type" : "column" + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-01-08 11:57:41 GMT" }, "title" : { "text" : "Perl Weekly Challenge Language" }, - "tooltip" : { - "headerFormat" : "", - "followPointer" : "true", - "pointFormat" : "Challenge {point.name}: {point.y:f}
" + "xAxis" : { + "type" : "category" }, - "legend" : { - "enabled" : "false" + "chart" : { + "type" : "column" }, "series" : [ { "colorByPoint" : "true", + "name" : "Perl Weekly Challenge Languages", "data" : [ { - "name" : "#001", + "y" : 140, "drilldown" : "001", - "y" : 140 + "name" : "#001" }, { "y" : 109, - "drilldown" : "002", - "name" : "#002" + "name" : "#002", + "drilldown" : "002" }, { "y" : 71, @@ -809,13 +815,13 @@ }, { "y" : 91, - "name" : "#004", - "drilldown" : "004" + "drilldown" : "004", + "name" : "#004" }, { - "y" : 71, "name" : "#005", - "drilldown" : "005" + "drilldown" : "005", + "y" : 71 }, { "y" : 48, @@ -824,27 +830,27 @@ }, { "y" : 56, - "name" : "#007", - "drilldown" : "007" + "drilldown" : "007", + "name" : "#007" }, { - "y" : 70, "name" : "#008", - "drilldown" : "008" + "drilldown" : "008", + "y" : 70 }, { - "name" : "#009", + "y" : 68, "drilldown" : "009", - "y" : 68 + "name" : "#009" }, { - "drilldown" : "010", "name" : "#010", + "drilldown" : "010", "y" : 60 }, { - "drilldown" : "011", "name" : "#011", + "drilldown" : "011", "y" : 79 }, { @@ -853,9 +859,9 @@ "drilldown" : "012" }, { + "y" : 76, "drilldown" : "013", - "name" : "#013", - "y" : 76 + "name" : "#013" }, { "drilldown" : "014", @@ -864,13 +870,13 @@ }, { "y" : 93, - "name" : "#015", - "drilldown" : "015" + "drilldown" : "015", + "name" : "#015" }, { "y" : 66, - "drilldown" : "016", - "name" : "#016" + "name" : "#016", + "drilldown" : "016" }, { "drilldown" : "017", @@ -894,58 +900,58 @@ }, { "y" : 67, - "drilldown" : "021", - "name" : "#021" + "name" : "#021", + "drilldown" : "021" }, { - "y" : 63, + "name" : "#022", "drilldown" : "022", - "name" : "#022" + "y" : 63 }, { - "y" : 91, "name" : "#023", - "drilldown" : "023" + "drilldown" : "023", + "y" : 91 }, { - "name" : "#024", + "y" : 70, "drilldown" : "024", - "y" : 70 + "name" : "#024" }, { - "y" : 55, + "name" : "#025", "drilldown" : "025", - "name" : "#025" + "y" : 55 }, { - "y" : 70, "drilldown" : "026", - "name" : "#026" + "name" : "#026", + "y" : 70 }, { - "drilldown" : "027", + "y" : 58, "name" : "#027", - "y" : 58 + "drilldown" : "027" }, { "y" : 78, - "name" : "#028", - "drilldown" : "028" + "drilldown" : "028", + "name" : "#028" }, { + "y" : 77, "name" : "#029", - "drilldown" : "029", - "y" : 77 + "drilldown" : "029" }, { "y" : 115, - "name" : "#030", - "drilldown" : "030" + "drilldown" : "030", + "name" : "#030" }, { - "y" : 87, + "name" : "#031", "drilldown" : "031", - "name" : "#031" + "y" : 87 }, { "y" : 92, @@ -958,9 +964,9 @@ "y" : 108 }, { - "name" : "#034", + "y" : 60, "drilldown" : "034", - "y" : 60 + "name" : "#034" }, { "y" : 60, @@ -968,13 +974,13 @@ "name" : "#035" }, { - "name" : "#036", "drilldown" : "036", + "name" : "#036", "y" : 61 }, { - "drilldown" : "037", "name" : "#037", + "drilldown" : "037", "y" : 63 }, { @@ -988,27 +994,21 @@ "drilldown" : "039" }, { - "drilldown" : "040", + "y" : 66, "name" : "#040", - "y" : 66 + "drilldown" : "040" }, { - "y" : 67, + "name" : "#041", "drilldown" : "041", - "name" : "#041" + "y" : 67 }, { - "drilldown" : "042", "name" : "#042", - "y" : 40 + "drilldown" : "042", + "y" : 42 } - ], - "name" : "Perl Weekly Challenge Languages" - } - ], - "yAxis" : { - "title" : { - "text" : "Total Solutions" + ] } - } + ] } diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index c3d6fa0e86..1cafe3760c 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -1,282 +1,29 @@ { - "legend" : { - "enabled" : "false" - }, - "series" : [ - { - "data" : [ - { - "name" : "#1: Laurent Rosenfeld", - "drilldown" : "Laurent Rosenfeld", - "y" : 512 - }, - { - "name" : "#2: Joelle Maslak", - "drilldown" : "Joelle Maslak", - "y" : 334 - }, - { - "drilldown" : "Ruben Westerberg", - "name" : "#3: Ruben Westerberg", - "y" : 332 - }, - { - "drilldown" : "Jaldhar H. Vyas", - "name" : "#4: Jaldhar H. Vyas", - "y" : 326 - }, - { - "y" : 274, - "name" : "#5: Adam Russell", - "drilldown" : "Adam Russell" - }, - { - "name" : "#6: Arne Sommer", - "drilldown" : "Arne Sommer", - "y" : 258 - }, - { - "name" : "#7: Roger Bell West", - "drilldown" : "Roger Bell West", - "y" : 228 - }, - { - "y" : 224, - "drilldown" : "E. Choroba", - "name" : "#8: E. Choroba" - }, - { - "y" : 208, - "name" : "#9: Athanasius", - "drilldown" : "Athanasius" - }, - { - "drilldown" : "Andrezgz", - "name" : "#10: Andrezgz", - "y" : 166 - }, - { - "name" : "#11: Kian-Meng Ang", - "drilldown" : "Kian-Meng Ang", - "y" : 162 - }, - { - "name" : "#12: Simon Proctor", - "drilldown" : "Simon Proctor", - "y" : 162 - }, - { - "drilldown" : "Duncan C. White", - "name" : "#13: Duncan C. White", - "y" : 144 - }, - { - "y" : 132, - "name" : "#14: Dave Jacoby", - "drilldown" : "Dave Jacoby" - }, - { - "name" : "#15: Steven Wilson", - "drilldown" : "Steven Wilson", - "y" : 126 - }, - { - "name" : "#16: Javier Luque", - "drilldown" : "Javier Luque", - "y" : 120 - }, - { - "drilldown" : "Yet Ebreo", - "name" : "#17: Yet Ebreo", - "y" : 114 - }, - { - "y" : 112, - "drilldown" : "Kevin Colyer", - "name" : "#18: Kevin Colyer" - }, - { - "y" : 108, - "name" : "#19: Duane Powell", - "drilldown" : "Duane Powell" - }, - { - "name" : "#20: Ryan Thompson", - "drilldown" : "Ryan Thompson", - "y" : 102 - }, - { - "name" : "#21: Francis Whittle", - "drilldown" : "Francis Whittle", - "y" : 96 - }, - { - "y" : 90, - "name" : "#22: Noud Aldenhoven", - "drilldown" : "Noud Aldenhoven" - }, - { - "name" : "#23: Feng Chang", - "drilldown" : "Feng Chang", - "y" : 88 - }, - { - "drilldown" : "Colin Crain", - "name" : "#24: Colin Crain", - "y" : 84 - }, - { - "y" : 84, - "name" : "#25: Lubos Kolouch", - "drilldown" : "Lubos Kolouch" - }, - { - "drilldown" : "Daniel Mantovani", - "name" : "#26: Daniel Mantovani", - "y" : 82 - }, - { - "name" : "#27: Burkhard Nickels", - "drilldown" : "Burkhard Nickels", - "y" : 80 - }, - { - "name" : "#28: Mark Senn", - "drilldown" : "Mark Senn", - "y" : 80 - }, - { - "name" : "#29: Gustavo Chaves", - "drilldown" : "Gustavo Chaves", - "y" : 72 - }, - { - "y" : 70, - "drilldown" : "Yozen Hernandez", - "name" : "#30: Yozen Hernandez" - }, - { - "name" : "#31: Guillermo Ramos", - "drilldown" : "Guillermo Ramos", - "y" : 64 - }, - { - "y" : 64, - "name" : "#32: Ulrich Rieke", - "drilldown" : "Ulrich Rieke" - }, - { - "drilldown" : "Jo Christian Oterhals", - "name" : "#33: Jo Christian Oterhals", - "y" : 60 - }, - { - "y" : 56, - "drilldown" : "Ozzy", - "name" : "#34: Ozzy" - }, - { - "drilldown" : "Dr James A. Smith", - "name" : "#35: Dr James A. Smith", - "y" : 52 - }, - { - "drilldown" : "Randy Lauen", - "name" : "#36: Randy Lauen", - "y" : 52 - }, - { - "y" : 48, - "drilldown" : "Daniel Mita", - "name" : "#37: Daniel Mita" - }, - { - "y" : 46, - "name" : "#38: Dave Cross", - "drilldown" : "Dave Cross" - }, - { - "drilldown" : "Markus Holzer", - "name" : "#39: Markus Holzer", - "y" : 44 - }, - { - "drilldown" : "Veesh Goldman", - "name" : "#40: Veesh Goldman", - "y" : 44 - }, - { - "drilldown" : "Lars Balker", - "name" : "#41: Lars Balker", - "y" : 38 - }, - { - "drilldown" : "Kivanc Yazan", - "name" : "#42: Kivanc Yazan", - "y" : 32 - }, - { - "y" : 32, - "drilldown" : "Mark Anderson", - "name" : "#43: Mark Anderson" - }, - { - "y" : 32, - "name" : "#44: Nick Logan", - "drilldown" : "Nick Logan" - }, - { - "name" : "#45: Pete Houston", - "drilldown" : "Pete Houston", - "y" : 28 - }, - { - "y" : 26, - "name" : "#46: Alicia Bielsa", - "drilldown" : "Alicia Bielsa" - }, - { - "y" : 26, - "name" : "#47: Saif Ahmed", - "drilldown" : "Saif Ahmed" - }, - { - "y" : 26, - "drilldown" : "Walt Mankowski", - "name" : "#48: Walt Mankowski" - }, - { - "name" : "#49: Jaime Corchado", - "drilldown" : "Jaime Corchado", - "y" : 24 - }, - { - "y" : 24, - "name" : "#50: Lars Thegler", - "drilldown" : "Lars Thegler" - } - ], - "name" : "Perl Weekly Challenge Leaders", - "colorByPoint" : "true" - } - ], "yAxis" : { "title" : { "text" : "Total Score" } }, - "title" : { - "text" : "Perl Weekly Challenge Leaders (TOP 50)" + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 + } }, "tooltip" : { - "headerFormat" : "", "followPointer" : "true", + "headerFormat" : "", "pointFormat" : "{point.name}: {point.y:f}
" }, + "legend" : { + "enabled" : "false" + }, "drilldown" : { "series" : [ { - "id" : "Laurent Rosenfeld", "name" : "Laurent Rosenfeld", "data" : [ [ @@ -291,10 +38,12 @@ "Raku", 81 ] - ] + ], + "id" : "Laurent Rosenfeld" }, { "name" : "Joelle Maslak", + "id" : "Joelle Maslak", "data" : [ [ "Blog", @@ -308,11 +57,11 @@ "Raku", 81 ] - ], - "id" : "Joelle Maslak" + ] }, { "name" : "Ruben Westerberg", + "id" : "Ruben Westerberg", "data" : [ [ "Perl", @@ -322,11 +71,9 @@ "Raku", 83 ] - ], - "id" : "Ruben Westerberg" + ] }, { - "name" : "Jaldhar H. Vyas", "data" : [ [ "Blog", @@ -341,9 +88,11 @@ 70 ] ], - "id" : "Jaldhar H. Vyas" + "id" : "Jaldhar H. Vyas", + "name" : "Jaldhar H. Vyas" }, { + "name" : "Adam Russell", "data" : [ [ "Blog", @@ -358,11 +107,11 @@ 9 ] ], - "name" : "Adam Russell", "id" : "Adam Russell" }, { "name" : "Arne Sommer", + "id" : "Arne Sommer", "data" : [ [ "Blog", @@ -376,10 +125,10 @@ "Raku", 84 ] - ], - "id" : "Arne Sommer" + ] }, { + "name" : "Roger Bell West", "data" : [ [ "Blog", @@ -394,11 +143,10 @@ 35 ] ], - "name" : "Roger Bell West", "id" : "Roger Bell West" }, { - "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Blog", @@ -409,11 +157,9 @@ 77 ] ], - "id" : "E. Choroba" + "name" : "E. Choroba" }, { - "id" : "Athanasius", - "name" : "Athanasius", "data" : [ [ "Blog", @@ -427,17 +173,19 @@ "Raku", 38 ] - ] + ], + "id" : "Athanasius", + "name" : "Athanasius" }, { "id" : "Andrezgz", - "name" : "Andrezgz", "data" : [ [ "Perl", 83 ] - ] + ], + "name" : "Andrezgz" }, { "id" : "Kian-Meng Ang", @@ -472,7 +220,7 @@ "name" : "Simon Proctor" }, { - "name" : "Duncan C. White", + "id" : "Duncan C. White", "data" : [ [ "Blog", @@ -483,7 +231,7 @@ 71 ] ], - "id" : "Duncan C. White" + "name" : "Duncan C. White" }, { "id" : "Dave Jacoby", @@ -504,7 +252,6 @@ "name" : "Dave Jacoby" }, { - "id" : "Steven Wilson", "data" : [ [ "Blog", @@ -519,11 +266,10 @@ 1 ] ], + "id" : "Steven Wilson", "name" : "Steven Wilson" }, { - "id" : "Javier Luque", - "name" : "Javier Luque", "data" : [ [ "Blog", @@ -537,10 +283,12 @@ "Raku", 24 ] - ] + ], + "id" : "Javier Luque", + "name" : "Javier Luque" }, { - "id" : "Yet Ebreo", + "name" : "Yet Ebreo", "data" : [ [ "Blog", @@ -555,9 +303,10 @@ 21 ] ], - "name" : "Yet Ebreo" + "id" : "Yet Ebreo" }, { + "name" : "Kevin Colyer", "id" : "Kevin Colyer", "data" : [ [ @@ -572,21 +321,20 @@ "Raku", 53 ] - ], - "name" : "Kevin Colyer" + ] }, { - "id" : "Duane Powell", + "name" : "Duane Powell", "data" : [ [ "Perl", 54 ] ], - "name" : "Duane Powell" + "id" : "Duane Powell" }, { - "id" : "Ryan Thompson", + "name" : "Ryan Thompson", "data" : [ [ "Blog", @@ -601,9 +349,10 @@ 21 ] ], - "name" : "Ryan Thompson" + "id" : "Ryan Thompson" }, { + "name" : "Francis Whittle", "id" : "Francis Whittle", "data" : [ [ @@ -614,21 +363,19 @@ "Raku", 39 ] - ], - "name" : "Francis Whittle" + ] }, { + "name" : "Noud Aldenhoven", "id" : "Noud Aldenhoven", "data" : [ [ "Raku", 45 ] - ], - "name" : "Noud Aldenhoven" + ] }, { - "id" : "Feng Chang", "data" : [ [ "Perl", @@ -639,9 +386,11 @@ 23 ] ], + "id" : "Feng Chang", "name" : "Feng Chang" }, { + "name" : "Colin Crain", "id" : "Colin Crain", "data" : [ [ @@ -652,31 +401,29 @@ "Raku", 4 ] - ], - "name" : "Colin Crain" + ] }, { + "id" : "Lubos Kolouch", "data" : [ [ "Perl", 42 ] ], - "name" : "Lubos Kolouch", - "id" : "Lubos Kolouch" + "name" : "Lubos Kolouch" }, { + "id" : "Daniel Mantovani", "data" : [ [ "Perl", 41 ] ], - "name" : "Daniel Mantovani", - "id" : "Daniel Mantovani" + "name" : "Daniel Mantovani" }, { - "name" : "Burkhard Nickels", "data" : [ [ "Blog", @@ -691,9 +438,11 @@ 2 ] ], - "id" : "Burkhard Nickels" + "id" : "Burkhard Nickels", + "name" : "Burkhard Nickels" }, { + "name" : "Mark Senn", "data" : [ [ "Blog", @@ -704,10 +453,11 @@ 30 ] ], - "name" : "Mark Senn", "id" : "Mark Senn" }, { + "name" : "Gustavo Chaves", + "id" : "Gustavo Chaves", "data" : [ [ "Blog", @@ -717,12 +467,9 @@ "Perl", 32 ] - ], - "name" : "Gustavo Chaves", - "id" : "Gustavo Chaves" + ] }, { - "name" : "Yozen Hernandez", "data" : [ [ "Blog", @@ -733,17 +480,18 @@ 21 ] ], - "id" : "Yozen Hernandez" + "id" : "Yozen Hernandez", + "name" : "Yozen Hernandez" }, { - "id" : "Guillermo Ramos", "name" : "Guillermo Ramos", "data" : [ [ "Perl", 32 ] - ] + ], + "id" : "Guillermo Ramos" }, { "name" : "Ulrich Rieke", @@ -760,6 +508,8 @@ "id" : "Ulrich Rieke" }, { + "name" : "Jo Christian Oterhals", + "id" : "Jo Christian Oterhals", "data" : [ [ "Blog", @@ -773,21 +523,20 @@ "Raku", 17 ] - ], - "name" : "Jo Christian Oterhals", - "id" : "Jo Christian Oterhals" + ] }, { + "id" : "Ozzy", "data" : [ [ "Raku", 28 ] ], - "name" : "Ozzy", - "id" : "Ozzy" + "name" : "Ozzy" }, { + "name" : "Dr James A. Smith", "data" : [ [ "Perl", @@ -798,11 +547,10 @@ 10 ] ], - "name" : "Dr James A. Smith", "id" : "Dr James A. Smith" }, { - "name" : "Randy Lauen", + "id" : "Randy Lauen", "data" : [ [ "Perl", @@ -813,7 +561,7 @@ 17 ] ], - "id" : "Randy Lauen" + "name" : "Randy Lauen" }, { "name" : "Daniel Mita", @@ -830,7 +578,7 @@ "id" : "Daniel Mita" }, { - "name" : "Dave Cross", + "id" : "Dave Cross", "data" : [ [ "Blog", @@ -841,10 +589,9 @@ 21 ] ], - "id" : "Dave Cross" + "name" : "Dave Cross" }, { - "id" : "Markus Holzer", "data" : [ [ "Perl", @@ -855,10 +602,10 @@ 20 ] ], + "id" : "Markus Holzer", "name" : "Markus Holzer" }, { - "id" : "Veesh Goldman", "data" : [ [ "Blog", @@ -873,9 +620,11 @@ 2 ] ], + "id" : "Veesh Goldman", "name" : "Veesh Goldman" }, { + "name" : "Lars Balker", "id" : "Lars Balker", "data" : [ [ @@ -886,18 +635,17 @@ "Raku", 4 ] - ], - "name" : "Lars Balker" + ] }, { "name" : "Kivanc Yazan", + "id" : "Kivanc Yazan", "data" : [ [ "Perl", 16 ] - ], - "id" : "Kivanc Yazan" + ] }, { "data" : [ @@ -910,10 +658,11 @@ 2 ] ], - "name" : "Mark Anderson", - "id" : "Mark Anderson" + "id" : "Mark Anderson", + "name" : "Mark Anderson" }, { + "name" : "Nick Logan", "data" : [ [ "Perl", @@ -924,91 +673,342 @@ 8 ] ], - "name" : "Nick Logan", "id" : "Nick Logan" }, { "data" : [ + [ + "Blog", + 1 + ], [ "Perl", 14 ] ], - "name" : "Pete Houston", - "id" : "Pete Houston" + "id" : "Saif Ahmed", + "name" : "Saif Ahmed" }, { - "name" : "Alicia Bielsa", + "id" : "Pete Houston", "data" : [ [ "Perl", - 13 + 14 ] ], - "id" : "Alicia Bielsa" + "name" : "Pete Houston" }, { - "name" : "Saif Ahmed", "data" : [ - [ - "Blog", - 1 - ], [ "Perl", - 12 + 13 ] ], - "id" : "Saif Ahmed" + "id" : "Alicia Bielsa", + "name" : "Alicia Bielsa" }, { "id" : "Walt Mankowski", - "name" : "Walt Mankowski", "data" : [ [ "Perl", 13 ] - ] + ], + "name" : "Walt Mankowski" }, { - "id" : "Jaime Corchado", - "name" : "Jaime Corchado", "data" : [ [ "Perl", 12 ] - ] + ], + "id" : "Jaime Corchado", + "name" : "Jaime Corchado" }, { + "name" : "Lars Thegler", "id" : "Lars Thegler", "data" : [ [ "Perl", 12 ] - ], - "name" : "Lars Thegler" + ] } ] }, - "chart" : { - "type" : "column" + "subtitle" : { + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2020-01-08 11:57:41 GMT" + }, + "title" : { + "text" : "Perl Weekly Challenge Leaders (TOP 50)" }, "xAxis" : { "type" : "category" }, - "subtitle" : { - "text" : "Click the columns to drilldown the score breakdown. Last updated at 2020-01-08 11:12:30 GMT" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } + "series" : [ + { + "colorByPoint" : "true", + "name" : "Perl Weekly Challenge Leaders", + "data" : [ + { + "drilldown" : "Laurent Rosenfeld", + "name" : "#1: Laurent Rosenfeld", + "y" : 512 + }, + { + "drilldown" : "Joelle Maslak", + "name" : "#2: Joelle Maslak", + "y" : 334 + }, + { + "y" : 332, + "name" : "#3: Ruben Westerberg", + "drilldown" : "Ruben Westerberg" + }, + { + "y" : 326, + "name" : "#4: Jaldhar H. Vyas", + "drilldown" : "Jaldhar H. Vyas" + }, + { + "drilldown" : "Adam Russell", + "name" : "#5: Adam Russell", + "y" : 274 + }, + { + "name" : "#6: Arne Sommer", + "drilldown" : "Arne Sommer", + "y" : 258 + }, + { + "y" : 228, + "drilldown" : "Roger Bell West", + "name" : "#7: Roger Bell West" + }, + { + "y" : 224, + "name" : "#8: E. Choroba", + "drilldown" : "E. Choroba" + }, + { + "name" : "#9: Athanasius", + "drilldown" : "Athanasius", + "y" : 208 + }, + { + "dril