aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-117/colin-crain/perl/ch-1.pl76
-rw-r--r--challenge-117/colin-crain/perl/ch-2.pl114
-rw-r--r--challenge-117/colin-crain/raku/ch-1.raku54
-rw-r--r--challenge-117/colin-crain/raku/ch-2.raku58
-rw-r--r--stats/pwc-current.json280
-rw-r--r--stats/pwc-language-breakdown-summary.json58
-rw-r--r--stats/pwc-language-breakdown.json1624
-rw-r--r--stats/pwc-leaders.json746
-rw-r--r--stats/pwc-summary-1-30.json112
-rw-r--r--stats/pwc-summary-121-150.json108
-rw-r--r--stats/pwc-summary-151-180.json98
-rw-r--r--stats/pwc-summary-181-210.json44
-rw-r--r--stats/pwc-summary-211-240.json50
-rw-r--r--stats/pwc-summary-31-60.json58
-rw-r--r--stats/pwc-summary-61-90.json90
-rw-r--r--stats/pwc-summary-91-120.json36
-rw-r--r--stats/pwc-summary.json490
17 files changed, 2203 insertions, 1893 deletions
diff --git a/challenge-117/colin-crain/perl/ch-1.pl b/challenge-117/colin-crain/perl/ch-1.pl
new file mode 100644
index 0000000000..c9ac472cdf
--- /dev/null
+++ b/challenge-117/colin-crain/perl/ch-1.pl
@@ -0,0 +1,76 @@
+#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# missing-in-sequence.pl
+#
+# Missing Row
+# Submitted by: Mohammad S Anwar
+# You are given text file with rows numbered 1-15 in random order but
+# there is a catch one row in missing in the file.
+#
+# 11, Line Eleven
+# 1, Line one
+# 9, Line Nine
+# 13, Line Thirteen
+# 2, Line two
+# 6, Line Six
+# 8, Line Eight
+# 10, Line Ten
+# 7, Line Seven
+# 4, Line Four
+# 14, Line Fourteen
+# 3, Line three
+# 15, Line Fifteen
+# 5, Line Five
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+use List::Util qw( max );
+
+my %lookup = map { split /,/, $_, 2 } <>;
+
+my @missing = grep { say $_; ! exists $lookup{$_} } (1..max(keys %lookup));
+
+## output
+if (my $count = scalar @missing) {
+ say $count, ($count == 1
+ ? " line is "
+ : " lines are "), "missing:";
+ say "line $_" for @missing;
+}
+else {
+ say "all lines accounted for!";
+}
+
+
+=cut
+The Data File, 'missing.txt':
+
+11, Line Eleven
+1, Line One
+9, Line Nine
+13, Line Thirteen
+2, Line Two
+6, Line Six
+8, Line Eight
+10, Line Ten
+7, Line Seven
+14, Line Fourteen
+3, Line Three
+15, Line Fifteen
+5, Line Five
+
+The Result:
+
+2 lines are missing:
+line 4
+line 12
diff --git a/challenge-117/colin-crain/perl/ch-2.pl b/challenge-117/colin-crain/perl/ch-2.pl
new file mode 100644
index 0000000000..8de28bcc8b
--- /dev/null
+++ b/challenge-117/colin-crain/perl/ch-2.pl
@@ -0,0 +1,114 @@
+#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# triangular-tour.pl
+#
+#
+# Find Possible Paths
+# Submitted by: E. Choroba
+# You are given size of a triangle.
+#
+# Write a script to find all possible paths from top to the bottom right
+# corner.
+#
+# In each step, we can either move horizontally to the right (H), or
+# move downwards to the left (L) or right (R).
+#
+# BONUS: Try if it can handle triangle of size 10 or 20.
+#
+# Example 1:
+# Input: $N = 2
+#
+# S
+# / \
+# / _ \
+# /\ /\
+# /__\ /__\ E
+#
+# Output: RR, LHR, LHLH, LLHH, RLH, LRH
+# Example 2:
+# Input: $N = 1
+#
+# S
+# / \
+# / _ \ E
+#
+# Output: R, LH
+#
+# method:
+#
+# verified to n=13:
+#
+# A006318 Large Schröder numbers (or large Schroeder numbers, or big
+# Schroeder numbers).
+# 1, 2, 6, 22, 90, 394, 1806, 8558, 41586, 206098, 1037718, 5293446,
+# 27297738, 142078746, 745387038, 3937603038, 20927156706, 111818026018,
+# 600318853926, 3236724317174, 17518619320890, 95149655201962,
+# 518431875418926, 2832923350929742, 15521467648875090
+#
+# tp(n) = S(n+1)
+#
+# tp(10) = 1_037_718
+# tp(20) = 17_518_619_320_890
+#
+
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+my $tri_size = shift // 10;
+my $mat = [ map { ['L' x $_] } (0..$tri_size) ];
+
+for my $pos (1..$tri_size) { ## horz position in the tri
+ my @next;
+ for my $level ($pos..$tri_size) { ## tri level
+ push $next[$level]->@*, (map { $_ . 'L' } $next[$level-1]->@*)
+ if defined $next[$level-1];
+ push $next[$level]->@*, (map { $_ . 'R' } $mat->[$level-1]->@* );
+ push $next[$level]->@*, (map { $_ . 'H' } $mat->[$level]->@*)
+ }
+ $mat = \@next;
+}
+
+say "results: ", scalar $mat->[-1]->@*;;
+say $_ for $mat->[-1]->@*;
+
+
+
+=cut
+[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-3.pl 10
+result:
+1037718
+
+real 0m0.916s
+user 0m0.842s
+sys 0m0.070s
+[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-3.pl 11
+result:
+5293446
+
+real 0m4.694s
+user 0m4.311s
+sys 0m0.377s
+[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-3.pl 12
+result:
+27297738
+
+real 0m24.150s
+user 0m22.166s
+sys 0m1.974s
+[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-2.pl 13
+result:
+142078746
+
+real 6m52.523s
+user 2m42.176s
+sys 2m48.754s <-- grinding
diff --git a/challenge-117/colin-crain/raku/ch-1.raku b/challenge-117/colin-crain/raku/ch-1.raku
new file mode 100644
index 0000000000..c3b0614a1c
--- /dev/null
+++ b/challenge-117/colin-crain/raku/ch-1.raku
@@ -0,0 +1,54 @@
+#!/usr/bin/env perl6
+#
+#
+# missing-in-sequence.raku
+#
+# Missing Row
+# Submitted by: Mohammad S Anwar
+# You are given text file with rows numbered 1-15 in random order but
+# there is a catch one row in missing in the file.
+#
+# 11, Line Eleven
+# 1, Line one
+# 9, Line Nine
+# 13, Line Thirteen
+# 2, Line two
+# 6, Line Six
+# 8, Line Eight
+# 10, Line Ten
+# 7, Line Seven
+# 4, Line Four
+# 14, Line Fourteen
+# 3, Line three
+# 15, Line Fifteen
+# 5, Line Five
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+unit sub MAIN ( $file = './missing.txt' ) ;
+
+my %set = $file.IO
+ .lines
+ .map( *.comb: /\d+/, 1 )
+ .Set;
+
+my @missing = (1..%set.keys.max({$_.Int})).grep: { $_.Str ∉ %set } ;
+
+if @missing.elems -> $count {
+ say $count, ($count == 1
+ ?? " line is "
+ !! " lines are "), "missing:";
+ "line $_".say for @missing;
+}
+else {
+ say "all lines accounted for!";
+}
+
+
+
+
diff --git a/challenge-117/colin-crain/raku/ch-2.raku b/challenge-117/colin-crain/raku/ch-2.raku
new file mode 100644
index 0000000000..fc68e36c46
--- /dev/null
+++ b/challenge-117/colin-crain/raku/ch-2.raku
@@ -0,0 +1,58 @@
+#!/usr/bin/env perl6
+#
+#
+# triangular-tour.raku
+#
+# Find Possible Paths
+# Submitted by: E. Choroba
+# You are given size of a triangle.
+#
+# Write a script to find all possible paths from top to the bottom right
+# corner.
+#
+# In each step, we can either move horizontally to the right (H), or
+# move downwards to the left (L) or right (R).
+#
+# BONUS: Try if it can handle triangle of size 10 or 20.
+#
+# Example 1:
+# Input: $N = 2
+#
+# S
+# / \
+# / _ \
+# /\ /\
+# /__\ /__\ E
+#
+# Output: RR, LHR, LHLH, LLHH, RLH, LRH
+# Example 2:
+# Input: $N = 1
+#
+# S
+# / \
+# / _ \ E
+#
+# Output: R, LH
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+unit sub MAIN (Int $tri-size = 5) ;
+
+my @mat = (0..$tri-size).map({ ('L' x $_ ).Array });
+
+for 1..$tri-size -> $pos {
+ my @next;
+ for $pos..$tri-size -> $level {
+ @next[$level-1].defined &&
+ @next[$level].push: |@next[$level-1].map({ $_ ~ 'L' });
+ @next[$level].push: |@mat[$level-1].map({ $_ ~ 'R' });
+ @next[$level].push: |@mat[$level].map({ $_ ~ 'H' });
+ }
+ @mat = @next;
+}
+
+say "results: ", @mat[*-1].elems;;
+.say for |@mat[*-1];
+
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index 29505c5423..7ab8346a60 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,9 +1,17 @@
{
- "xAxis" : {
- "type" : "category"
+ "tooltip" : {
+ "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>",
+ "followPointer" : 1,
+ "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>"
},
- "chart" : {
- "type" : "column"
+ "plotOptions" : {
+ "series" : {
+ "borderWidth" : 0,
+ "dataLabels" : {
+ "enabled" : 1,
+ "format" : "{point.y}"
+ }
+ }
},
"series" : [
{
@@ -11,13 +19,13 @@
"name" : "Perl Weekly Challenge - 117",
"data" : [
{
- "name" : "Aaron Smith",
"drilldown" : "Aaron Smith",
+ "name" : "Aaron Smith",
"y" : 1
},
{
- "name" : "Abigail",
"drilldown" : "Abigail",
+ "name" : "Abigail",
"y" : 2
},
{
@@ -36,59 +44,59 @@
"name" : "Arne Sommer"
},
{
- "name" : "Athanasius",
+ "drilldown" : "Athanasius",
"y" : 4,
- "drilldown" : "Athanasius"
+ "name" : "Athanasius"
},
{
"name" : "Cheok-Yin Fung",
- "drilldown" : "Cheok-Yin Fung",
- "y" : 2
+ "y" : 2,
+ "drilldown" : "Cheok-Yin Fung"
},
{
- "drilldown" : "Colin Crain",
- "y" : 1,
- "name" : "Colin Crain"
+ "name" : "Colin Crain",
+ "y" : 5,
+ "drilldown" : "Colin Crain"
},
{
- "y" : 1,
"drilldown" : "Cristina Heredia",
- "name" : "Cristina Heredia"
+ "name" : "Cristina Heredia",
+ "y" : 1
},
{
"y" : 4,
- "drilldown" : "Dave Jacoby",
- "name" : "Dave Jacoby"
+ "name" : "Dave Jacoby",
+ "drilldown" : "Dave Jacoby"
},
{
- "drilldown" : "E. Choroba",
+ "name" : "E. Choroba",
"y" : 2,
- "name" : "E. Choroba"
+ "drilldown" : "E. Choroba"
},
{
- "name" : "Feng Chang",
"y" : 2,
+ "name" : "Feng Chang",
"drilldown" : "Feng Chang"
},
{
- "y" : 6,
"drilldown" : "Flavio Poletti",
+ "y" : 6,
"name" : "Flavio Poletti"
},
{
+ "name" : "James Smith",
"y" : 3,
- "drilldown" : "James Smith",
- "name" : "James Smith"
+ "drilldown" : "James Smith"
},
{
- "name" : "Jan Krnavek",
"drilldown" : "Jan Krnavek",
+ "name" : "Jan Krnavek",
"y" : 2
},
{
+ "name" : "Jorg Sommrey",
"y" : 2,
- "drilldown" : "Jorg Sommrey",
- "name" : "Jorg Sommrey"
+ "drilldown" : "Jorg Sommrey"
},
{
"name" : "Laurent Rosenfeld",
@@ -96,48 +104,48 @@
"drilldown" : "Laurent Rosenfeld"
},
{
- "name" : "Luca Ferrari",
"drilldown" : "Luca Ferrari",
+ "name" : "Luca Ferrari",
"y" : 4
},
{
+ "name" : "Lucas Ransan",
"y" : 2,
- "drilldown" : "Lucas Ransan",
- "name" : "Lucas Ransan"
+ "drilldown" : "Lucas Ransan"
},
{
- "y" : 2,
"drilldown" : "Mark Anderson",
- "name" : "Mark Anderson"
+ "name" : "Mark Anderson",
+ "y" : 2
},
{
+ "drilldown" : "Mohammad S Anwar",
"name" : "Mohammad S Anwar",
- "y" : 1,
- "drilldown" : "Mohammad S Anwar"
+ "y" : 1
},
{
- "name" : "Niels van Dijke",
"drilldown" : "Niels van Dijke",
- "y" : 2
+ "y" : 2,
+ "name" : "Niels van Dijke"
},
{
- "name" : "Paulo Custodio",
+ "drilldown" : "Paulo Custodio",
"y" : 2,
- "drilldown" : "Paulo Custodio"
+ "name" : "Paulo Custodio"
},
{
+ "drilldown" : "Pete Houston",
"name" : "Pete Houston",
- "y" : 2,
- "drilldown" : "Pete Houston"
+ "y" : 2
},
{
- "name" : "Roger Bell_West",
+ "drilldown" : "Roger Bell_West",
"y" : 5,
- "drilldown" : "Roger Bell_West"
+ "name" : "Roger Bell_West"
},
{
- "name" : "Simon Green",
"drilldown" : "Simon Green",
+ "name" : "Simon Green",
"y" : 3
},
{
@@ -146,9 +154,9 @@
"drilldown" : "Simon Proctor"
},
{
- "y" : 1,
"drilldown" : "Steven Wilson",
- "name" : "Steven Wilson"
+ "name" : "Steven Wilson",
+ "y" : 1
},
{
"drilldown" : "Stuart Little",
@@ -157,13 +165,13 @@
},
{
"name" : "Ulrich Rieke",
- "drilldown" : "Ulrich Rieke",
- "y" : 2
+ "y" : 2,
+ "drilldown" : "Ulrich Rieke"
},
{
"drilldown" : "Vinod Kumar K",
- "y" : 1,
- "name" : "Vinod Kumar K"
+ "name" : "Vinod Kumar K",
+ "y" : 1
},
{
"drilldown" : "W. Luis Mochan",
@@ -171,38 +179,13 @@
"name" : "W. Luis Mochan"
},
{
- "name" : "Wanderdoc",
+ "drilldown" : "Wanderdoc",
"y" : 2,
- "drilldown" : "Wanderdoc"
+ "name" : "Wanderdoc"
}
]
}
],
- "plotOptions" : {
- "series" : {
- "dataLabels" : {
- "format" : "{point.y}",
- "enabled" : 1
- },
- "borderWidth" : 0
- }
- },
- "yAxis" : {
- "title" : {
- "text" : "Total Solutions"
- }
- },
- "title" : {
- "text" : "Perl Weekly Challenge - 117"
- },
- "tooltip" : {
- "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>",
- "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>",
- "followPointer" : 1
- },
- "subtitle" : {
- "text" : "[Champions: 33] Last updated at 2021-06-20 22:57:03 GMT"
- },
"drilldown" : {
"series" : [
{
@@ -216,27 +199,28 @@
"name" : "Aaron Smith"
},
{
+ "id" : "Abigail",
"name" : "Abigail",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Abigail"
+ ]
},
{
"id" : "Adam Herzog",
+ "name" : "Adam Herzog",
"data" : [
[
"Perl",
1
]
- ],
- "name" : "Adam Herzog"
+ ]
},
{
"id" : "Adam Russell",
+ "name" : "Adam Russell",
"data" : [
[
"Perl",
@@ -246,11 +230,9 @@
"Blog",
2
]
- ],
- "name" : "Adam Russell"
+ ]
},
{
- "name" : "Arne Sommer",
"id" : "Arne Sommer",
"data" : [
[
@@ -265,11 +247,11 @@
"Blog",
1
]
- ]
+ ],
+ "name" : "Arne Sommer"
},
{
"name" : "Athanasius",
- "id" : "Athanasius",
"data" : [
[
"Perl",
@@ -279,7 +261,8 @@
"Raku",
2
]
- ]
+ ],
+ "id" : "Athanasius"
},
{
"id" : "Cheok-Yin Fung",
@@ -292,27 +275,36 @@
"name" : "Cheok-Yin Fung"
},
{
+ "id" : "Colin Crain",
+ "name" : "Colin Crain",
"data" : [
[
+ "Perl",
+ 2
+ ],
+ [
+ "Raku",
+ 2
+ ],
+ [
"Blog",
1
]
- ],
- "id" : "Colin Crain",
- "name" : "Colin Crain"
+ ]
},
{
- "name" : "Cristina Heredia",
"id" : "Cristina Heredia",
"data" : [
[
"Perl",
1
]
- ]
+ ],
+ "name" : "Cristina Heredia"
},
{
"id" : "Dave Jacoby",
+ "name" : "Dave Jacoby",
"data" : [
[
"Perl",
@@ -322,31 +314,30 @@
"Blog",
2
]
- ],
- "name" : "Dave Jacoby"
+ ]
},
{
+ "id" : "E. Choroba",
+ "name" : "E. Choroba",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "E. Choroba",
- "name" : "E. Choroba"
+ ]
},
{
- "name" : "Feng Chang",
- "id" : "Feng Chang",
"data" : [
[
"Raku",
2
]
- ]
+ ],
+ "name" : "Feng Chang",
+ "id" : "Feng Chang"
},
{
- "name" : "Flavio Poletti",
+ "id" : "Flavio Poletti",
"data" : [
[
"Perl",
@@ -361,9 +352,10 @@
2
]
],
- "id" : "Flavio Poletti"
+ "name" : "Flavio Poletti"
},
{
+ "name" : "James Smith",
"data" : [
[
"Perl",
@@ -374,31 +366,29 @@
1
]
],
- "id" : "James Smith",
- "name" : "James Smith"
+ "id" : "James Smith"
},
{
"id" : "Jan Krnavek",
+ "name" : "Jan Krnavek",
"data" : [
[
"Raku",
2
]
- ],
- "name" : "Jan Krnavek"
+ ]
},
{
+ "id" : "Jorg Sommrey",
+ "name" : "Jorg Sommrey",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Jorg Sommrey",
- "name" : "Jorg Sommrey"
+ ]
},
{
- "name" : "Laurent Rosenfeld",
"id" : "Laurent Rosenfeld",
"data" : [
[
@@ -413,7 +403,8 @@
"Blog",
1
]
- ]
+ ],
+ "name" : "Laurent Rosenfeld"
},
{
"data" : [
@@ -426,8 +417,8 @@
2
]
],
- "id" : "Luca Ferrari",
- "name" : "Luca Ferrari"
+ "name" : "Luca Ferrari",
+ "id" : "Luca Ferrari"
},
{
"data" : [
@@ -436,8 +427,8 @@
2
]
],
- "id" : "Lucas Ransan",
- "name" : "Lucas Ransan"
+ "name" : "Lucas Ransan",
+ "id" : "Lucas Ransan"
},
{
"id" : "Mark Anderson",
@@ -450,47 +441,48 @@
"name" : "Mark Anderson"
},
{
- "id" : "Mohammad S Anwar",
+ "name" : "Mohammad S Anwar",
"data" : [
[
"Perl",
1
]
],
- "name" : "Mohammad S Anwar"
+ "id" : "Mohammad S Anwar"
},
{
+ "id" : "Niels van Dijke",
+ "name" : "Niels van Dijke",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Niels van Dijke",
- "name" : "Niels van Dijke"
+ ]
},
{
- "name" : "Paulo Custodio",
- "id" : "Paulo Custodio",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "name" : "Paulo Custodio",
+ "id" : "Paulo Custodio"
},
{
+ "id" : "Pete Houston",
"data" : [
[
"Perl",
2
]
],
- "id" : "Pete Houston",
"name" : "Pete Houston"
},
{
"id" : "Roger Bell_West",
+ "name" : "Roger Bell_West",
"data" : [
[
"Perl",
@@ -504,10 +496,11 @@
"Blog",
1
]
- ],
- "name" : "Roger Bell_West"
+ ]
},
{
+ "id" : "Simon Green",
+ "name" : "Simon Green",
"data" : [
[
"Perl",
@@ -517,19 +510,17 @@
"Blog",
1
]
- ],
- "id" : "Simon Green",
- "name" : "Simon Green"
+ ]
},
{
"id" : "Simon Proctor",
+ "name" : "Simon Proctor",
"data" : [
[
"Raku",
2
]
- ],
- "name" : "Simon Proctor"
+ ]
},
{
"name" : "Steven Wilson",
@@ -542,8 +533,8 @@
"id" : "Steven Wilson"
},
{
- "name" : "Stuart Little",
"id" : "Stuart Little",
+ "name" : "Stuart Little",
"data" : [
[
"Perl",
@@ -556,24 +547,24 @@
]
},
{
- "name" : "Ulrich Rieke",
"id" : "Ulrich Rieke",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "name" : "Ulrich Rieke"
},
{
"id" : "Vinod Kumar K",
+ "name" : "Vinod Kumar K",
"data" : [
[
"Perl",
1
]
- ],
- "name" : "Vinod Kumar K"
+ ]
},
{
"name" : "W. Luis Mochan",
@@ -596,12 +587,29 @@
2
]
],
- "id" : "Wanderdoc",
- "name" : "Wanderdoc"
+ "name" : "Wanderdoc",
+ "id" : "Wanderdoc"
}
]
},
+ "subtitle" : {
+ "text" : "[Champions: 33] Last updated at 2021-06-20 23:05:46 GMT"
+ },
+ "yAxis" : {
+ "title" : {
+ "text" : "Total Solutions"
+ }
+ },
"legend" : {
"enabled" : 0
+ },
+ "title" : {
+ "text" : "Perl Weekly Challenge - 117"
+ },
+ "xAxis" : {
+ "type" : "category"
+ },
+ "chart" : {
+ "type" : "column"
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index 80acc21112..24c9f4fbe5 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,12 +1,30 @@
{
+ "subtitle" : {
+ "text" : "Last updated at 2021-06-20 23:05:46 GMT"
+ },
"yAxis" : {
+ "min" : 0,
"title" : {
"text" : null
- },
- "min" : 0
+ }
+ },
+ "tooltip" : {
+ "pointFormat" : "<b>{point.y:.0f}</b>"
},
"series" : [
{
+ "dataLabels" : {
+ "enabled" : "true",
+ "format" : "{point.y:.0f}",
+ "style" : {
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
+ },
+ "rotation" : -90,
+ "align" : "right",
+ "color" : "#FFFFFF",
+ "y" : 10
+ },
"data" : [
[
"Blog",
@@ -14,50 +32,32 @@
],
[
"Perl",
- 5565
+ 5567
],
[
"Raku",
- 3518
+ 3520
]
],
- "dataLabels" : {
- "style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
- },
- "rotation" : -90,
- "y" : 10,
- "enabled" : "true",
- "color" : "#FFFFFF",
- "align" : "right",
- "format" : "{point.y:.0f}"
- },
"name" : "Contributions"
}
],
- "chart" : {
- "type" : "column"
+ "title" : {
+ "text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
},
"xAxis" : {
- "type" : "category",
"labels" : {
"style" : {
"fontSize" : "13px",
"fontFamily" : "Verdana, sans-serif"
}
- }
+ },
+ "type" : "category"
+ },
+ "chart" : {
+ "type" : "column"
},
"legend" : {
"enabled" : "false"
- },
- "subtitle" : {
- "text" : "Last updated at 2021-06-20 22:57:03 GMT"
- },
- "tooltip" : {
- "pointFormat" : "<b>{point.y:.0f}</b>"
- },
- "title" : {
- "text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index a294e6d0c2..46dae9bf45 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -1,15 +1,631 @@
{
+ "legend" : {
+ "enabled" : "false"
+ },
"title" : {
"text" : "Perl Weekly Challenge Language"
},
- "subtitle" : {
- "text" : "Click the columns to drilldown the language breakdown. Last updated at 2021-06-20 22:57:03 GMT"
+ "chart" : {
+ "type" : "column"
+ },
+ "xAxis" : {
+ "type" : "category"
},
+ "plotOptions" : {
+ "series" : {
+