aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <mohammad.anwar@yahoo.com>2021-05-02 09:11:13 +0100
committerMohammad S Anwar <mohammad.anwar@yahoo.com>2021-05-02 09:11:13 +0100
commit1e387fae1cd65bbb26cda9b918684adafd507452 (patch)
tree9112f8bc1a91daea62aa1a2caaa84c903586e92b
parent24d00718ffaca48c58ac87d40a8689a3eb3c3589 (diff)
downloadperlweeklychallenge-club-1e387fae1cd65bbb26cda9b918684adafd507452.tar.gz
perlweeklychallenge-club-1e387fae1cd65bbb26cda9b918684adafd507452.tar.bz2
perlweeklychallenge-club-1e387fae1cd65bbb26cda9b918684adafd507452.zip
- Added solutions by Colin Crain.
-rw-r--r--challenge-110/colin-crain/perl/ch-1.pl96
-rw-r--r--challenge-110/colin-crain/perl/ch-2.pl84
-rw-r--r--challenge-110/colin-crain/python/ch-1.py42
-rw-r--r--challenge-110/colin-crain/python/ch-2.py52
-rw-r--r--challenge-110/colin-crain/raku/ch-1.raku45
-rw-r--r--challenge-110/colin-crain/raku/ch-2.raku50
-rw-r--r--stats/pwc-current.json189
-rw-r--r--stats/pwc-language-breakdown-summary.json64
-rw-r--r--stats/pwc-language-breakdown.json1520
-rw-r--r--stats/pwc-leaders.json712
-rw-r--r--stats/pwc-summary-1-30.json108
-rw-r--r--stats/pwc-summary-121-150.json42
-rw-r--r--stats/pwc-summary-151-180.json46
-rw-r--r--stats/pwc-summary-181-210.json90
-rw-r--r--stats/pwc-summary-211-240.json38
-rw-r--r--stats/pwc-summary-31-60.json110
-rw-r--r--stats/pwc-summary-61-90.json32
-rw-r--r--stats/pwc-summary-91-120.json112
-rw-r--r--stats/pwc-summary.json488
19 files changed, 2154 insertions, 1766 deletions
diff --git a/challenge-110/colin-crain/perl/ch-1.pl b/challenge-110/colin-crain/perl/ch-1.pl
new file mode 100644
index 0000000000..1626a7c36e
--- /dev/null
+++ b/challenge-110/colin-crain/perl/ch-1.pl
@@ -0,0 +1,96 @@
+#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# phone-block.pl
+#
+# Valid Phone Numbers
+# Submitted by: Mohammad S Anwar
+# You are given a text file.
+#
+# Write a script to display all valid phone numbers in the given text file.
+#
+# Acceptable Phone Number Formats
+# +nn nnnnnnnnnn
+# (nn) nnnnnnnnnn
+# nnnn nnnnnnnnnn
+#
+# Input File
+# 0044 1148820341
+# +44 1148820341
+# 44-11-4882-0341
+# (44) 1148820341
+# 00 1148820341
+#
+# Output
+# 0044 1148820341
+# +44 1148820341
+# (44) 1148820341
+#
+#
+# method:
+# we are given a specific text file which we will assume is selected
+# to be representative of the typical data:
+# * 1 possible number per line
+# * possible whitespace before and after
+# * internal whitespace between beginning and end block is
+# significant
+#
+# the '00' prefix on the last line seems like it should be
+# disqualifying, but it's already out for not wearing the proper
+# attire. So it is not removed for its insensibility but rather its
+# sartorial malfesance. I have no idea what city codes (?) are or
+# are not allowed.
+#
+# These rules seem pretty strict; over here we tolerate phone
+# numbers in a little more variety of related formats:
+# (212) 555-1212
+# (212)555-1212
+# 212-555-1212
+# 212.555.1212
+# or even 212 555 1212
+#
+# although the parentheses if present are exclusively around the
+# area code, other combinations of dashes, dots and spaces can be
+# found in the wild and all are considered perfectly acceptable.
+#
+# the most important part being the breaking into 3 digits, 3 digits
+# and 4 digits. The delimiters are varied, the single dot being the
+# most recent addition, but still decades old by now. Rarely you
+# might still see a number without an area code, but I live in a big
+# city and haven't seen this for years. I have, in my life, lived in
+# communities where is was acceptable to go with the last four
+# digits if the others could be assumed to be the common exchange
+# prefix (and at that point the area code is obvious). I'm not sure
+# when the last time I was not required to dial an area code.
+#
+# to me the ten-number segment looks brutal to scan. Just sayin'.
+#
+# to solve the task we will write a regular expression that will
+# match the three valid cases. Woe to those who stray from the path
+# of rightousness.
+#
+
+
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+@ARGV = qw( phone-numbers.txt );
+my @numbers;
+
+my $regex = qr/((?: \d{4} | \(\d\d\) | \+\d\d ) \s \d{10}) (?!\d)/x;
+
+while (<>) {
+ push @numbers, $_ for /$regex/;
+}
+
+say $_ for @numbers;
+
+
+
diff --git a/challenge-110/colin-crain/perl/ch-2.pl b/challenge-110/colin-crain/perl/ch-2.pl
new file mode 100644
index 0000000000..2fbbfe5ec0
--- /dev/null
+++ b/challenge-110/colin-crain/perl/ch-2.pl
@@ -0,0 +1,84 @@
+#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# reflect.pl
+#
+# Transpose File
+# Submitted by: Mohammad S Anwar
+# You are given a text file.
+#
+# Write a script to transpose the contents of the given file.
+#
+# Input File
+# name,age,sex
+# Mohammad,45,m
+# Joe,20,m
+# Julie,35,f
+# Cristina,10,f
+#
+# Output:
+# name,Mohammad,Joe,Julie,Cristina
+# age,45,20,35,10
+# sex,m,m,f,f
+
+# method:
+# Are we going to assume this is proper CSV data as distinguished from
+# a bunch of data separated by commas? The difference being one has
+# edge-cases covered and the other will presumably break sooner or
+# later.
+#
+# We'll start with use split on the commas and proceed with our arrays
+# from there.
+#
+# What do we do if the data doesn't align? I think we need to fill
+# with undefs to keep the transposed data relationships intact. It's
+# the decent thing to do.
+#
+# T(N) ∘ T⁻ⁱ(N) = N
+#
+# So the dimensions of the transposition will be based on the largest
+# dimensions of the rows and columns. This doesn't affect the given
+# input but should a datum be missing the record would look like:
+#
+# Joe,,m
+#
+# We'll assume there are no commas in the data to keep the clutter
+# down. Maybe we'll bring in CSV.pm when we're done, but the logic
+# isn't about that really so it's just a distraction.
+
+
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+@ARGV = qw( transpose-data.txt );
+
+my @mat;
+my @trans;
+
+my $max = 0;
+
+while (<>) {
+ chomp;
+ push @mat, [ split ',', $_ ];
+ $mat[-1]->@* > $max and $max = $mat[-1]->@*;
+}
+
+for my $i (0..@mat-1) {
+ for my $j (0..$max-1) {
+ $trans[$j][$i] = $mat[$i][$j];
+ }
+}
+
+local $" = ',';
+say "@$_" for @trans;
+
+
diff --git a/challenge-110/colin-crain/python/ch-1.py b/challenge-110/colin-crain/python/ch-1.py
new file mode 100644
index 0000000000..7c381f1c37
--- /dev/null
+++ b/challenge-110/colin-crain/python/ch-1.py
@@ -0,0 +1,42 @@
+#!/usr/bin/env python3
+#
+#
+# phone-block.py
+#
+# Valid Phone Numbers
+# Submitted by: Mohammad S Anwar
+# You are given a text file.
+#
+# Write a script to display all valid phone numbers in the given text file.
+#
+# Acceptable Phone Number Formats
+# +nn nnnnnnnnnn
+# (nn) nnnnnnnnnn
+# nnnn nnnnnnnnnn
+#
+# Input File
+# 0044 1148820341
+# +44 1148820341
+# 44-11-4882-0341
+# (44) 1148820341
+# 00 1148820341
+#
+# Output
+# 0044 1148820341
+# +44 1148820341
+# (44) 1148820341
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+import re
+
+f = open("phone-numbers.txt", "r")
+for line in f:
+ pn = re.search(r"((?:\d{4}|\(\d\d\)|\+\d\d)\s\d{10}(?!\d))", line)
+ if pn != None:
+ print('{0:>16s}'.format(pn.group()))
+
+f.close
diff --git a/challenge-110/colin-crain/python/ch-2.py b/challenge-110/colin-crain/python/ch-2.py
new file mode 100644
index 0000000000..d76f2bdaf4
--- /dev/null
+++ b/challenge-110/colin-crain/python/ch-2.py
@@ -0,0 +1,52 @@
+#!/usr/bin/env python3
+#
+# reflect.py
+#
+# Transpose File
+# Submitted by: Mohammad S Anwar
+# You are given a text file.
+#
+# Write a script to transpose the contents of the given file.
+#
+# Input File
+# name,age,sex
+# Mohammad,45,m
+# Joe,20,m
+# Julie,35,f
+# Cristina,10,f
+#
+# Output:
+# name,Mohammad,Joe,Julie,Cristina
+# age,45,20,35,10
+# sex,m,m,f,f
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+import re
+
+mat = []
+trans = []
+cols = 0
+
+f = open("transpose-data.txt", "r")
+for line in f:
+ row = re.split(",", line.rstrip())
+ mat.append(row)
+ cols = max(cols, len(row))
+f.close
+
+
+trans = [[mat[j][i] for j in range(len(mat))] for i in range(len(mat[0]))]
+
+for i in mat:
+ print( *i )
+
+print()
+
+for i in trans:
+ print( *i )
+
diff --git a/challenge-110/colin-crain/raku/ch-1.raku b/challenge-110/colin-crain/raku/ch-1.raku
new file mode 100644
index 0000000000..30ea2860e2
--- /dev/null
+++ b/challenge-110/colin-crain/raku/ch-1.raku
@@ -0,0 +1,45 @@
+#!/usr/bin/env perl6
+#
+#
+# phone-block.raku
+#
+# Valid Phone Numbers
+# Submitted by: Mohammad S Anwar
+# You are given a text file.
+#
+# Write a script to display all valid phone numbers in the given text file.
+#
+# Acceptable Phone Number Formats
+# +nn nnnnnnnnnn
+# (nn) nnnnnnnnnn
+# nnnn nnnnnnnnnn
+#
+# Input File
+# 0044 1148820341
+# +44 1148820341
+# 44-11-4882-0341
+# (44) 1148820341
+# 00 1148820341
+#
+# Output
+# 0044 1148820341
+# +44 1148820341
+# (44) 1148820341
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+unit sub MAIN ( Str $file = "phone-numbers.txt" ) ;
+
+my $regex = rx/ [ \d\d\d\d || \(\d\d\) || \+\d\d ] \s \d ** 10 /;
+
+my @numbers = $file.IO.lines
+ .map({$_~~$regex})
+ .grep({.defined}) ;
+
+say $_.Str.fmt("%16s") for @numbers;
+
diff --git a/challenge-110/colin-crain/raku/ch-2.raku b/challenge-110/colin-crain/raku/ch-2.raku
new file mode 100644
index 0000000000..5abe9abcbe
--- /dev/null
+++ b/challenge-110/colin-crain/raku/ch-2.raku
@@ -0,0 +1,50 @@
+#!/usr/bin/env perl6
+#
+#
+# reflect.raku
+#
+# Transpose File
+# Submitted by: Mohammad S Anwar
+# You are given a text file.
+#
+# Write a script to transpose the contents of the given file.
+#
+# Input File
+# name,age,sex
+# Mohammad,45,m
+# Joe,20,m
+# Julie,35,f
+# Cristina,10,f
+#
+# Output:
+# name,Mohammad,Joe,Julie,Cristina
+# age,45,20,35,10
+# sex,m,m,f,f
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+unit sub MAIN ( Str $input = 'transpose-data.txt' ) ;
+
+
+my @mat.push( $_.split(',') ) for $input.IO.lines;
+my $max = @mat.map( *.elems )
+ .max;
+my @trans;
+
+for ^@mat.elems -> $i {
+ for ^$max -> $j {
+ @trans[$j][$i] = @mat[$i][$j];
+ }
+}
+
+say $_.list for @mat;
+say '';
+say $_.list for @trans;
+
+
+
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index 27c8cb19b3..6bd140b52b 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,15 +1,11 @@
{
- "subtitle" : {
- "text" : "[Champions: 20] Last updated at 2021-05-02 07:53:19 GMT"
- },
- "title" : {
- "text" : "Perl Weekly Challenge - 110"
- },
- "legend" : {
- "enabled" : 0
+ "chart" : {
+ "type" : "column"
},
"series" : [
{
+ "colorByPoint" : 1,
+ "name" : "Perl Weekly Challenge - 110",
"data" : [
{
"name" : "Aaron Smith",
@@ -17,19 +13,24 @@
"y" : 3
},
{
- "name" : "Abigail",
"y" : 2,
- "drilldown" : "Abigail"
+ "drilldown" : "Abigail",
+ "name" : "Abigail"
},
{
+ "name" : "Andinus",
"drilldown" : "Andinus",
- "y" : 4,
- "name" : "Andinus"
+ "y" : 4
+ },
+ {
+ "name" : "Colin Crain",
+ "drilldown" : "Colin Crain",
+ "y" : 4
},
{
"name" : "Dave Jacoby",
- "y" : 3,
- "drilldown" : "Dave Jacoby"
+ "drilldown" : "Dave Jacoby",
+ "y" : 3
},
{
"name" : "Flavio Poletti",
@@ -38,8 +39,8 @@
},
{
"name" : "James Smith",
- "drilldown" : "James Smith",
- "y" : 3
+ "y" : 3,
+ "drilldown" : "James Smith"
},
{
"name" : "Jan Krnavek",
@@ -47,19 +48,19 @@
"drilldown" : "Jan Krnavek"
},
{
- "name" : "Joan Mimosinnet",
+ "drilldown" : "Joan Mimosinnet",
"y" : 2,
- "drilldown" : "Joan Mimosinnet"
+ "name" : "Joan Mimosinnet"
},
{
- "name" : "Jorg Sommrey",
"y" : 2,
- "drilldown" : "Jorg Sommrey"
+ "drilldown" : "Jorg Sommrey",
+ "name" : "Jorg Sommrey"
},
{
- "y" : 5,
+ "name" : "Laurent Rosenfeld",
"drilldown" : "Laurent Rosenfeld",
- "name" : "Laurent Rosenfeld"
+ "y" : 5
},
{
"drilldown" : "Luca Ferrari",
@@ -67,55 +68,72 @@
"name" : "Luca Ferrari"
},
{
- "y" : 2,
"drilldown" : "Mark Anderson",
+ "y" : 2,
"name" : "Mark Anderson"
},
{
"name" : "Mohammad S Anwar",
- "y" : 4,
- "drilldown" : "Mohammad S Anwar"
+ "drilldown" : "Mohammad S Anwar",
+ "y" : 4
},
{
- "y" : 2,
"drilldown" : "Niels van Dijke",
+ "y" : 2,
"name" : "Niels van Dijke"
},
{
- "y" : 5,
+ "name" : "Roger Bell_West",
"drilldown" : "Roger Bell_West",
- "name" : "Roger Bell_West"
+ "y" : 5
},
{
- "name" : "Ryan Thompson",
"drilldown" : "Ryan Thompson",
- "y" : 4
+ "y" : 4,
+ "name" : "Ryan Thompson"
},
{
- "y" : 3,
"drilldown" : "Simon Green",
+ "y" : 3,
"name" : "Simon Green"
},
{
- "name" : "Stuart Little",
"drilldown" : "Stuart Little",
- "y" : 4
+ "y" : 4,
+ "name" : "Stuart Little"
},
{
+ "name" : "Ulrich Rieke",
"y" : 4,
- "drilldown" : "Ulrich Rieke",
- "name" : "Ulrich Rieke"
+ "drilldown" : "Ulrich Rieke"
},
{
"y" : 3,
"drilldown" : "W. Luis Mochan",
"name" : "W. Luis Mochan"
}
- ],
- "colorByPoint" : 1,
- "name" : "Perl Weekly Challenge - 110"
+ ]
}
],
+ "tooltip" : {
+ "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>",
+ "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>",
+ "followPointer" : 1
+ },
+ "xAxis" : {
+ "type" : "category"
+ },
+ "yAxis" : {
+ "title" : {
+ "text" : "Total Solutions"
+ }
+ },
+ "legend" : {
+ "enabled" : 0
+ },
+ "subtitle" : {
+ "text" : "[Champions: 21] Last updated at 2021-05-02 08:10:43 GMT"
+ },
"plotOptions" : {
"series" : {
"borderWidth" : 0,
@@ -125,18 +143,11 @@
}
}
},
- "yAxis" : {
- "title" : {
- "text" : "Total Solutions"
- }
- },
- "chart" : {
- "type" : "column"
- },
"drilldown" : {
"series" : [
{
"id" : "Aaron Smith",
+ "name" : "Aaron Smith",
"data" : [
[
"Raku",
@@ -146,22 +157,21 @@
"Blog",
1
]
- ],
- "name" : "Aaron Smith"
+ ]
},
{
"name" : "Abigail",
- "id" : "Abigail",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "id" : "Abigail"
},
{
- "name" : "Andinus",
"id" : "Andinus",
+ "name" : "Andinus",
"data" : [
[
"Raku",
@@ -174,6 +184,22 @@
]
},
{
+ "id" : "Colin Crain",
+ "name" : "Colin Crain",
+ "data" : [
+ [
+ "Perl",
+ 2
+ ],
+ [
+ "Raku",
+ 2
+ ]
+ ]
+ },
+ {
+ "id" : "Dave Jacoby",
+ "name" : "Dave Jacoby",
"data" : [
[
"Perl",
@@ -183,9 +209,7 @@
"Blog",
1
]
- ],
- "id" : "Dave Jacoby",
- "name" : "Dave Jacoby"
+ ]
},
{
"name" : "Flavio Poletti",
@@ -202,8 +226,6 @@
"id" : "Flavio Poletti"
},
{
- "name" : "James Smith",
- "id" : "James Smith",
"data" : [
[
"Perl",
@@ -213,39 +235,42 @@
"Blog",
1
]
- ]
+ ],
+ "name" : "James Smith",
+ "id" : "James Smith"
},
{
"name" : "Jan Krnavek",
- "id" : "Jan Krnavek",
"data" : [
[
"Raku",
2
]
- ]
+ ],
+ "id" : "Jan Krnavek"
},
{
- "name" : "Joan Mimosinnet",
"id" : "Joan Mimosinnet",
"data" : [
[
"Raku",
2
]
- ]
+ ],
+ "name" : "Joan Mimosinnet"
},
{
- "name" : "Jorg Sommrey",
"data" : [
[
"Perl",
2
]
],
+ "name" : "Jorg Sommrey",
"id" : "Jorg Sommrey"
},
{
+ "id" : "Laurent Rosenfeld",
"name" : "Laurent Rosenfeld",
"data" : [
[
@@ -260,11 +285,9 @@
"Blog",
1
]
- ],
- "id" : "Laurent Rosenfeld"
+ ]
},
{
- "name" : "Luca Ferrari",
"data" : [
[
"Raku",
@@ -275,19 +298,21 @@
2
]
],
+ "name" : "Luca Ferrari",
"id" : "Luca Ferrari"
},
{
- "id" : "Mark Anderson",
"data" : [
[
"Raku",
2
]
],
- "name" : "Mark Anderson"
+ "name" : "Mark Anderson",
+ "id" : "Mark Anderson"
},
{
+ "name" : "Mohammad S Anwar",
"data" : [
[
"Perl",
@@ -298,22 +323,21 @@
2
]
],
- "id" : "Mohammad S Anwar",
- "name" : "Mohammad S Anwar"
+ "id" : "Mohammad S Anwar"
},
{
- "id" : "Niels van Dijke",
"data" : [
[
"Perl",
2
]
],
- "name" : "Niels van Dijke"
+ "name" : "Niels van Dijke",
+ "id" : "Niels van Dijke"
},
{
- "name" : "Roger Bell_West",
"id" : "Roger Bell_West",
+ "name" : "Roger Bell_West",
"data" : [
[
"Perl",
@@ -330,7 +354,6 @@
]
},
{
- "name" : "Ryan Thompson",
"data" : [
[
"Perl",
@@ -341,10 +364,10 @@
2
]
],
+ "name" : "Ryan Thompson",
"id" : "Ryan Thompson"
},
{
- "id" : "Simon Green",
"data" : [
[
"Perl",
@@ -355,7 +378,8 @@
1
]
],
- "name" : "Simon Green"
+ "name" : "Simon Green",
+ "id" : "Simon Green"
},
{
"name" : "Stuart Little",
@@ -372,7 +396,6 @@
"id" : "Stuart Little"
},
{
- "id" : "Ulrich Rieke",
"data" : [
[
"Perl",
@@ -383,10 +406,10 @@
2
]
],
- "name" : "Ulrich Rieke"
+ "name" : "Ulrich Rieke",
+ "id" : "Ulrich Rieke"
},
{
- "name" : "W. Luis Mochan",
"data" : [
[
"Perl",
@@ -397,16 +420,12 @@
1
]
],
+ "name" : "W. Luis Mochan",
"id" : "W. Luis Mochan"
}
]
},
- "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 - 110"
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index a314bea5e0..ed1a99d898 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,15 +1,34 @@
{
- "subtitle" : {
- "text" : "Last updated at 2021-05-02 07:53:19 GMT"
- },
"title" : {
"text" : "Perl Weekly Challenge Contributions [2019 - 2020]"
},
+ "subtitle" : {
+ "text" : "Last updated at 2021-05-02 08:10:42 GMT"
+ },
"legend" : {
"enabled" : "false"
},
+ "xAxis" : {
+ "labels" : {
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ }
+ },
+ "type" : "category"
+ },
+ "yAxis" : {
+ "min" : 0,
+ "title" : {
+ "text" : null
+ }
+ },
+ "tooltip" : {
+ "pointFormat" : "<b>{point.y:.0f}</b>"
+ },
"series" : [
{
+ "name" : "Contributions",
"data" : [
[
"Blog",
@@ -17,47 +36,28 @@
],
[
"Perl",
- 5191
+ 5193
],
[
"Raku",
- 3302
+ 3304
]
],
"dataLabels" : {
- "style" : {
- "fontSize" : "13px",
- "fontFamily" : "Verdana, sans-serif"
- },
"color" : "#FFFFFF",
- "enabled" : "true",
"y" : 10,
- "format" : "{point.y:.0f}",
+ "rotation" : -90,
"align" : "right",
- "rotation" : -90
- },
- "name" : "Contributions"
+ "enabled" : "true",
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ },
+ "format" : "{point.y:.0f}"
+ }
}
],
- "yAxis" : {
- "min" : 0,
- "title" : {
- "text" : null
- }
- },
"chart" : {
"type" : "column"
- },
- "xAxis" : {
- "type" : "category",
- "labels" : {
- "style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
- }
- }
- },
- "tooltip" : {
- "pointFormat" : "<b>{point.y:.0f}</b>"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index f18139b776..24fa26bad0 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -1,589 +1,11 @@
{
- "plotOptions" : {
- "series" : {
- "borderWidth" : 0,
- "dataLabels" : {
- "enabled" : 1,
- "format" : "{point.y}"
- }
- }
- },
- "legend" : {
- "enabled" : "false"
- },
- "series" : [
- {
- "name" : "Perl Weekly Challenge Languages",
- "data" : [
- {
- "name" : "#001",
- "y" : 161,
- "drilldown" : "001"
- },
- {
- "y" : 125,
- "drilldown" : "002",
- "name" : "#002"
- },
- {
- "name" : "#003",
- "drilldown" : "003",
- "y" : 81
- },
- {
- "drilldown" : "004",
- "y" : 99,
- "name" : "#004"
- },
- {
- "y" : 78,
- "drilldown" : "005",
- "name" : "#005"
- },
- {
- "name" : "#006",
- "drilldown" : "006",
- "y" : 58
- },
- {
- "drilldown" : "007",
- "y" : 64,
- "name" : "#007"
- },
- {
- "y" : 78,
- "drilldown" : "008",