From d4e0892c2069c2b6d8317938c1d8704a47fcb8ec Mon Sep 17 00:00:00 2001 From: Andrey Shitov Date: Thu, 6 Jul 2023 22:36:47 +0200 Subject: ash 224, task 1 --- challenge-224/ash/perl/blog.txt | 1 + challenge-224/ash/perl/ch-1.pl | 98 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 challenge-224/ash/perl/blog.txt create mode 100644 challenge-224/ash/perl/ch-1.pl diff --git a/challenge-224/ash/perl/blog.txt b/challenge-224/ash/perl/blog.txt new file mode 100644 index 0000000000..8bcec81e08 --- /dev/null +++ b/challenge-224/ash/perl/blog.txt @@ -0,0 +1 @@ +https://andrewshitov.com/2023/07/06/built-in-classes-in-perl-5-38/ diff --git a/challenge-224/ash/perl/ch-1.pl b/challenge-224/ash/perl/ch-1.pl new file mode 100644 index 0000000000..f4a8dede62 --- /dev/null +++ b/challenge-224/ash/perl/ch-1.pl @@ -0,0 +1,98 @@ +# A solution of Task 1 of the Weekly Challenge 224. +# https://theweeklychallenge.org/blog/perl-weekly-challenge-224/#TASK1 + +# Comments to the code: https://andrewshitov.com/2023/07/06/built-in-classes-in-perl-5-38/ + +# The solution demonstrates the use of the new Perl's feature, built-in native +# classes available since Perl 5.38: https://perldoc.perl.org/perlclass. + +# The below program is intentionnaly over-engineered to try as many new +# features as possible. Do not consider it as a practice to follow +# (but the algorithm in the 'SpecialNotes::solve' method is a good thing to use). + +# How to run it: +# $ perl5.38.0 ch-1.pl +# +# Expected output: +# 'abc' vs. 'xyz' => false +# 'scriptinglanguage' vs. 'perl' => true +# 'aabbcc' vs. 'abc' => true + +use v5.38; + +use feature 'class'; +no warnings 'experimental::class'; + +class MyString { + field $string :param; + + method string { + return $string; + } + + method chars { + return split //, $string; + } + + method count_chars { + my %count; + + for my $char ($self->chars) { + $count{$char}++; + } + + return %count; + } + + method compare($other_string) { + return $string eq $other_string->string; + } + + method len { + return length $string; + } +} + +class SpecialNotes { + field $source :param; + field $target :param; + + field $source_string; + field $target_string; + + ADJUST { + $source_string = MyString->new(string => $source); + $target_string = MyString->new(string => $target); + } + + method dump { + return "'$source' vs. '$target'"; + } + + method solve { + return 'true' if $source_string->compare($target_string); + + my %source_chars = $source_string->count_chars; + my %target_chars = $target_string->count_chars; + + my $count = 0; + for my $char (keys %target_chars) { + last unless exists $source_chars{$char}; + last if $source_chars{$char} < $target_chars{$char}; + $count++; + } + + return $count == $target_string->len ? 'true' : 'false'; + } +} + +my @tests = ( + [abc => 'xyz'], + [scriptinglanguage => 'perl'], + [aabbcc => 'abc'], +); + +for my $test (@tests) { + my $note = SpecialNotes->new(source => $test->[0], target => $test->[1]); + say $note->dump . " => " . $note->solve; +} -- cgit From f99b967f32786b8aaeb2fe68a4c3042bd1a94b70 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Fri, 7 Jul 2023 09:41:34 +0100 Subject: - Added solutions by Andrew Shitov. --- challenge-219/avery-adams/blog.txt | 1 + challenge-219/avery-adams/blog2.txt | 1 - challenge-220/avery-adams/blog.txt | 1 + challenge-220/avery-adams/blog2.txt | 1 - challenge-224/ash/blog.txt | 1 + challenge-224/ash/perl/blog.txt | 1 - stats/pwc-challenge-219.json | 438 +- stats/pwc-challenge-220.json | 276 +- stats/pwc-current.json | 289 +- stats/pwc-language-breakdown-summary.json | 76 +- stats/pwc-language-breakdown.json | 8726 ++++++++++++++--------------- stats/pwc-leaders.json | 754 +-- stats/pwc-summary-1-30.json | 112 +- stats/pwc-summary-121-150.json | 34 +- stats/pwc-summary-151-180.json | 98 +- stats/pwc-summary-181-210.json | 104 +- stats/pwc-summary-211-240.json | 114 +- stats/pwc-summary-241-270.json | 46 +- stats/pwc-summary-271-300.json | 26 +- stats/pwc-summary-31-60.json | 116 +- stats/pwc-summary-61-90.json | 44 +- stats/pwc-summary-91-120.json | 104 +- stats/pwc-summary.json | 1814 +++--- 23 files changed, 6598 insertions(+), 6579 deletions(-) create mode 100644 challenge-219/avery-adams/blog.txt delete mode 100644 challenge-219/avery-adams/blog2.txt create mode 100644 challenge-220/avery-adams/blog.txt delete mode 100644 challenge-220/avery-adams/blog2.txt create mode 100644 challenge-224/ash/blog.txt delete mode 100644 challenge-224/ash/perl/blog.txt diff --git a/challenge-219/avery-adams/blog.txt b/challenge-219/avery-adams/blog.txt new file mode 100644 index 0000000000..9a6b351aaf --- /dev/null +++ b/challenge-219/avery-adams/blog.txt @@ -0,0 +1 @@ +https://blogs.perl.org/users/oldtechaa/2023/06/perl-weekly-challenge-219---squaring-up.html diff --git a/challenge-219/avery-adams/blog2.txt b/challenge-219/avery-adams/blog2.txt deleted file mode 100644 index 9a6b351aaf..0000000000 --- a/challenge-219/avery-adams/blog2.txt +++ /dev/null @@ -1 +0,0 @@ -https://blogs.perl.org/users/oldtechaa/2023/06/perl-weekly-challenge-219---squaring-up.html diff --git a/challenge-220/avery-adams/blog.txt b/challenge-220/avery-adams/blog.txt new file mode 100644 index 0000000000..ff9808f955 --- /dev/null +++ b/challenge-220/avery-adams/blog.txt @@ -0,0 +1 @@ +https://blogs.perl.org/users/oldtechaa/2023/06/perl-weekly-challenge-220---ive-seen-these-characters-round-these-parts.html diff --git a/challenge-220/avery-adams/blog2.txt b/challenge-220/avery-adams/blog2.txt deleted file mode 100644 index ff9808f955..0000000000 --- a/challenge-220/avery-adams/blog2.txt +++ /dev/null @@ -1 +0,0 @@ -https://blogs.perl.org/users/oldtechaa/2023/06/perl-weekly-challenge-220---ive-seen-these-characters-round-these-parts.html diff --git a/challenge-224/ash/blog.txt b/challenge-224/ash/blog.txt new file mode 100644 index 0000000000..8bcec81e08 --- /dev/null +++ b/challenge-224/ash/blog.txt @@ -0,0 +1 @@ +https://andrewshitov.com/2023/07/06/built-in-classes-in-perl-5-38/ diff --git a/challenge-224/ash/perl/blog.txt b/challenge-224/ash/perl/blog.txt deleted file mode 100644 index 8bcec81e08..0000000000 --- a/challenge-224/ash/perl/blog.txt +++ /dev/null @@ -1 +0,0 @@ -https://andrewshitov.com/2023/07/06/built-in-classes-in-perl-5-38/ diff --git a/stats/pwc-challenge-219.json b/stats/pwc-challenge-219.json index cb975dc218..f41f581677 100644 --- a/stats/pwc-challenge-219.json +++ b/stats/pwc-challenge-219.json @@ -1,10 +1,161 @@ { - "xAxis" : { - "type" : "category" - }, + "series" : [ + { + "data" : [ + { + "drilldown" : "Arne Sommer", + "y" : 3, + "name" : "Arne Sommer" + }, + { + "name" : "Athanasius", + "y" : 2, + "drilldown" : "Athanasius" + }, + { + "name" : "Avery Adams", + "y" : 3, + "drilldown" : "Avery Adams" + }, + { + "y" : 2, + "drilldown" : "BarrOff", + "name" : "BarrOff" + }, + { + "name" : "Bruce Gray", + "y" : 2, + "drilldown" : "Bruce Gray" + }, + { + "y" : 2, + "drilldown" : "David Ferrone", + "name" : "David Ferrone" + }, + { + "drilldown" : "E. Choroba", + "y" : 2, + "name" : "E. Choroba" + }, + { + "y" : 6, + "drilldown" : "Flavio Poletti", + "name" : "Flavio Poletti" + }, + { + "drilldown" : "Jaldhar H. Vyas", + "y" : 5, + "name" : "Jaldhar H. Vyas" + }, + { + "name" : "Jan Krnavek", + "drilldown" : "Jan Krnavek", + "y" : 2 + }, + { + "drilldown" : "Jorg Sommrey", + "y" : 1, + "name" : "Jorg Sommrey" + }, + { + "name" : "Lance Wicks", + "drilldown" : "Lance Wicks", + "y" : 1 + }, + { + "drilldown" : "Laurent Rosenfeld", + "y" : 3, + "name" : "Laurent Rosenfeld" + }, + { + "name" : "Lubos Kolouch", + "y" : 2, + "drilldown" : "Lubos Kolouch" + }, + { + "name" : "Luca Ferrari", + "y" : 8, + "drilldown" : "Luca Ferrari" + }, + { + "drilldown" : "Mariano Spadaccini", + "y" : 1, + "name" : "Mariano Spadaccini" + }, + { + "drilldown" : "Mark Anderson", + "y" : 1, + "name" : "Mark Anderson" + }, + { + "y" : 3, + "drilldown" : "Matthias Muth", + "name" : "Matthias Muth" + }, + { + "name" : "Peter Campbell Smith", + "drilldown" : "Peter Campbell Smith", + "y" : 3 + }, + { + "name" : "Robbie Hatley", + "drilldown" : "Robbie Hatley", + "y" : 2 + }, + { + "name" : "Robert DiCicco", + "drilldown" : "Robert DiCicco", + "y" : 2 + }, + { + "drilldown" : "Robert Ransbottom", + "y" : 2, + "name" : "Robert Ransbottom" + }, + { + "name" : "Roger Bell_West", + "y" : 5, + "drilldown" : "Roger Bell_West" + }, + { + "name" : "Simon Green", + "y" : 3, + "drilldown" : "Simon Green" + }, + { + "name" : "Solathian", + "y" : 1, + "drilldown" : "Solathian" + }, + { + "name" : "Stephen G. Lynn", + "y" : 3, + "drilldown" : "Stephen G. Lynn" + }, + { + "drilldown" : "Thomas Kohler", + "y" : 4, + "name" : "Thomas Kohler" + }, + { + "drilldown" : "Ulrich Rieke", + "y" : 2, + "name" : "Ulrich Rieke" + }, + { + "drilldown" : "W. Luis Mochan", + "y" : 3, + "name" : "W. Luis Mochan" + } + ], + "name" : "The Weekly Challenge - 219", + "colorByPoint" : 1 + } + ], "drilldown" : { "series" : [ { + "name" : "Arne Sommer", "data" : [ [ "Raku", @@ -15,10 +166,10 @@ 1 ] ], - "name" : "Arne Sommer", "id" : "Arne Sommer" }, { + "id" : "Athanasius", "data" : [ [ "Perl", @@ -29,12 +180,10 @@ 1 ] ], - "name" : "Athanasius", - "id" : "Athanasius" + "name" : "Athanasius" }, { "name" : "Avery Adams", - "id" : "Avery Adams", "data" : [ [ "Perl", @@ -44,11 +193,12 @@ "Blog", 2 ] - ] + ], + "id" : "Avery Adams" }, { - "id" : "BarrOff", "name" : "BarrOff", + "id" : "BarrOff", "data" : [ [ "Perl", @@ -77,18 +227,18 @@ 2 ] ], - "name" : "David Ferrone", - "id" : "David Ferrone" + "id" : "David Ferrone", + "name" : "David Ferrone" }, { "id" : "E. Choroba", - "name" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "E. Choroba" }, { "name" : "Flavio Poletti", @@ -109,7 +259,6 @@ ] }, { - "id" : "Jaldhar H. Vyas", "name" : "Jaldhar H. Vyas", "data" : [ [ @@ -124,7 +273,8 @@ "Blog", 1 ] - ] + ], + "id" : "Jaldhar H. Vyas" }, { "data" : [ @@ -137,28 +287,27 @@ "name" : "Jan Krnavek" }, { - "name" : "Jorg Sommrey", "id" : "Jorg Sommrey", "data" : [ [ "Perl", 1 ] - ] + ], + "name" : "Jorg Sommrey" }, { + "name" : "Lance Wicks", + "id" : "Lance Wicks", "data" : [ [ "Perl", 1 ] - ], - "name" : "Lance Wicks", - "id" : "Lance Wicks" + ] }, { "name" : "Laurent Rosenfeld", - "id" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -172,21 +321,21 @@ "Blog", 1 ] - ] + ], + "id" : "Laurent Rosenfeld" }, { "name" : "Lubos Kolouch", - "id" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Lubos Kolouch" }, { "id" : "Luca Ferrari", - "name" : "Luca Ferrari", "data" : [ [ "Raku", @@ -196,29 +345,32 @@ "Blog", 6 ] - ] + ], + "name" : "Luca Ferrari" }, { + "id" : "Mariano Spadaccini", "data" : [ [ "Perl", 1 ] ], - "id" : "Mariano Spadaccini", "name" : "Mariano Spadaccini" }, { + "id" : "Mark Anderson", "data" : [ [ "Raku", 1 ] ], - "name" : "Mark Anderson", - "id" : "Mark Anderson" + "name" : "Mark Anderson" }, { + "name" : "Matthias Muth", + "id" : "Matthias Muth", "data" : [ [ "Perl", @@ -228,9 +380,7 @@ "Blog", 1 ] - ], - "name" : "Matthias Muth", - "id" : "Matthias Muth" + ] }, { "data" : [ @@ -248,7 +398,6 @@ }, { "name" : "Robbie Hatley", - "id" : "Robbie Hatley", "data" : [ [ "Perl", @@ -258,9 +407,11 @@ "Blog", 1 ] - ] + ], + "id" : "Robbie Hatley" }, { + "id" : "Robert DiCicco", "data" : [ [ "Perl", @@ -271,18 +422,17 @@ 1 ] ], - "name" : "Robert DiCicco", - "id" : "Robert DiCicco" + "name" : "Robert DiCicco" }, { + "id" : "Robert Ransbottom", "data" : [ [ "Raku", 2 ] ], - "name" : "Robert Ransbottom", - "id" : "Robert Ransbottom" + "name" : "Robert Ransbottom" }, { "name" : "Roger Bell_West", @@ -303,6 +453,7 @@ ] }, { + "name" : "Simon Green", "data" : [ [ "Perl", @@ -313,22 +464,21 @@ 1 ] ], - "id" : "Simon Green", - "name" : "Simon Green" + "id" : "Simon Green" }, { - "id" : "Solathian", "name" : "Solathian", "data" : [ [ "Perl", 1 ] - ] + ], + "id" : "Solathian" }, { - "id" : "Stephen G. Lynn", "name" : "Stephen G. Lynn", + "id" : "Stephen G. Lynn", "data" : [ [ "Perl", @@ -341,6 +491,7 @@ ] }, { + "name" : "Thomas Kohler", "data" : [ [ "Perl", @@ -351,10 +502,11 @@ 2 ] ], - "id" : "Thomas Kohler", - "name" : "Thomas Kohler" + "id" : "Thomas Kohler" }, { + "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -364,13 +516,10 @@ "Raku", 1 ] - ], - "name" : "Ulrich Rieke", - "id" : "Ulrich Rieke" + ] }, { "name" : "W. Luis Mochan", - "id" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -380,192 +529,43 @@ "Blog", 1 ] - ] + ], + "id" : "W. Luis Mochan" } ] }, - "chart" : { - "type" : "column" + "legend" : { + "enabled" : 0 + }, + "xAxis" : { + "type" : "category" + }, + "title" : { + "text" : "The Weekly Challenge - 219" }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "subtitle" : { - "text" : "[Champions: 29] Last updated at 2023-06-12 04:11:27 GMT" - }, - "series" : [ - { - "colorByPoint" : 1, - "data" : [ - { - "name" : "Arne Sommer", - "drilldown" : "Arne Sommer", - "y" : 3 - }, - { - "y" : 2, - "drilldown" : "Athanasius", - "name" : "Athanasius" - }, - { - "y" : 3, - "drilldown" : "Avery Adams", - "name" : "Avery Adams" - }, - { - "name" : "BarrOff", - "drilldown" : "BarrOff", - "y" : 2 - }, - { - "drilldown" : "Bruce Gray", - "y" : 2, - "name" : "Bruce Gray" - }, - { - "drilldown" : "David Ferrone", - "y" : 2, - "name" : "David Ferrone" - }, - { - "y" : 2, - "drilldown" : "E. Choroba", - "name" : "E. Choroba" - }, - { - "name" : "Flavio Poletti", - "drilldown" : "Flavio Poletti", - "y" : 6 - }, - { - "name" : "Jaldhar H. Vyas", - "y" : 5, - "drilldown" : "Jaldhar H. Vyas" - }, - { - "drilldown" : "Jan Krnavek", - "y" : 2, - "name" : "Jan Krnavek" - }, - { - "y" : 1, - "drilldown" : "Jorg Sommrey", - "name" : "Jorg Sommrey" - }, - { - "y" : 1, - "drilldown" : "Lance Wicks", - "name" : "Lance Wicks" - }, - { - "drilldown" : "Laurent Rosenfeld", - "y" : 3, - "name" : "Laurent Rosenfeld" - }, - { - "name" : "Lubos Kolouch", - "y" : 2, - "drilldown" : "Lubos Kolouch" - }, - { - "drilldown" : "Luca Ferrari", - "y" : 8, - "name" : "Luca Ferrari" - }, - { - "name" : "Mariano Spadaccini", - "drilldown" : "Mariano Spadaccini", - "y" : 1 - }, - { - "name" : "Mark Anderson", - "drilldown" : "Mark Anderson", - "y" : 1 - }, - { - "y" : 3, - "drilldown" : "Matthias Muth", - "name" : "Matthias Muth" - }, - { - "drilldown" : "Peter Campbell Smith", - "y" : 3, - "name" : "Peter Campbell Smith" - }, - { - "name" : "Robbie Hatley", - "drilldown" : "Robbie Hatley", - "y" : 2 - }, - { - "name" : "Robert DiCicco", - "drilldown" : "Robert DiCicco", - "y" : 2 - }, - { - "y" : 2, - "drilldown" : "Robert Ransbottom", - "name" : "Robert Ransbottom" - }, - { - "name" : "Roger Bell_West", - "y" : 5, - "drilldown" : "Roger Bell_West" - }, - { - "name" : "Simon Green", - "y" : 3, - "drilldown" : "Simon Green" - }, - { - "drilldown" : "Solathian", - "y" : 1, - "name" : "Solathian" - }, - { - "name" : "Stephen G. Lynn", - "y" : 3, - "drilldown" : "Stephen G. Lynn" - }, - { - "name" : "Thomas Kohler", - "drilldown" : "Thomas Kohler", - "y" : 4 - }, - { - "drilldown" : "Ulrich Rieke", - "y" : 2, - "name" : "Ulrich Rieke" - }, - { - "name" : "W. Luis Mochan", - "drilldown" : "W. Luis Mochan", - "y" : 3 - } - ], - "name" : "The Weekly Challenge - 219" - } - ], - "legend" : { - "enabled" : 0 - }, - "tooltip" : { - "headerFormat" : "{series.name}
", - "pointFormat" : "{point.name}: {point.y:f}
", - "followPointer" : 1 + "chart" : { + "type" : "column" }, - "title" : { - "text" : "The Weekly Challenge - 219" + "subtitle" : { + "text" : "[Champions: 29] Last updated at 2023-07-07 08:27:47 GMT" }, "plotOptions" : { "series" : { "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 + "enabled" : 1, + "format" : "{point.y}" }, "borderWidth" : 0 } + }, + "tooltip" : { + "pointFormat" : "{point.name}: {point.y:f}
", + "followPointer" : 1, + "headerFormat" : "{series.name}
" } } diff --git a/stats/pwc-challenge-220.json b/stats/pwc-challenge-220.json index 3dd64b4dbb..ba63363185 100644 --- a/stats/pwc-challenge-220.json +++ b/stats/pwc-challenge-220.json @@ -1,23 +1,4 @@ { - "title" : { - "text" : "The Weekly Challenge - 220" - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "xAxis" : { - "type" : "category" - }, - "tooltip" : { - "followPointer" : 1, - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "{series.name}
" - }, - "subtitle" : { - "text" : "[Champions: 33] Last updated at 2023-06-25 09:01:15 GMT" - }, "drilldown" : { "series" : [ { @@ -31,7 +12,6 @@ "name" : "Ali Moradi" }, { - "name" : "Arne Sommer", "id" : "Arne Sommer", "data" : [ [ @@ -42,10 +22,10 @@ "Blog", 1 ] - ] + ], + "name" : "Arne Sommer" }, { - "name" : "Athanasius", "id" : "Athanasius", "data" : [ [ @@ -56,9 +36,12 @@ "Raku", 2 ] - ] + ], + "name" : "Athanasius" }, { + "name" : "Avery Adams", + "id" : "Avery Adams", "data" : [ [ "Perl", @@ -68,11 +51,10 @@ "Blog", 2 ] - ], - "id" : "Avery Adams", - "name" : "Avery Adams" + ] }, { + "name" : "BarrOff", "id" : "BarrOff", "data" : [ [ @@ -83,8 +65,7 @@ "Raku", 2 ] - ], - "name" : "BarrOff" + ] }, { "id" : "Bob Lied", @@ -97,8 +78,6 @@ "name" : "Bob Lied" }, { - "name" : "Bruce Gray", - "id" : "Bruce Gray", "data" : [ [ "Perl", @@ -112,7 +91,9 @@ "Blog", 1 ] - ] + ], + "id" : "Bruce Gray", + "name" : "Bruce Gray" }, { "name" : "Cheok-Yin Fung", @@ -126,27 +107,25 @@ }, { "name" : "David Ferrone", + "id" : "David Ferrone", "data" : [ [ "Perl", 2 ] - ], - "id" : "David Ferrone" + ] }, { - "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] ], - "id" : "E. Choroba" + "name" : "E. Choroba" }, { - "name" : "Flavio Poletti", - "id" : "Flavio Poletti", "data" : [ [ "Perl", @@ -160,10 +139,13 @@ "Blog", 2 ] - ] + ], + "id" : "Flavio Poletti", + "name" : "Flavio Poletti" }, { "name" : "Jaldhar H. Vyas", + "id" : "Jaldhar H. Vyas", "data" : [ [ "Perl", @@ -177,41 +159,40 @@ "Blog", 1 ] - ], - "id" : "Jaldhar H. Vyas" + ] }, { + "name" : "Jan Krnavek", "id" : "Jan Krnavek", "data" : [ [ "Raku", 1 ] - ], - "name" : "Jan Krnavek" + ] }, { - "id" : "John Horner", + "name" : "John Horner", "data" : [ [ "Perl", 2 ] ], - "name" : "John Horner" + "id" : "John Horner" }, { + "name" : "Jorg Sommrey", "id" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] - ], - "name" : "Jorg Sommrey" + ] }, { - "id" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -226,30 +207,29 @@ 2 ] ], - "name" : "Laurent Rosenfeld" + "id" : "Laurent Rosenfeld" }, { - "name" : "Lubos Kolouch", - "id" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Lubos Kolouch", + "name" : "Lubos Kolouch" }, { - "id" : "Mark Anderson", "data" : [ [ "Raku", 2 ] ], + "id" : "Mark Anderson", "name" : "Mark Anderson" }, { - "name" : "Matthias Muth", "data" : [ [ "Perl", @@ -260,20 +240,21 @@ 1 ] ], - "id" : "Matthias Muth" + "id" : "Matthias Muth", + "name" : "Matthias Muth" }, { - "name" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] ], - "id" : "Niels van Dijke" + "id" : "Niels van Dijke", + "name" : "Niels van Dijke" }, { - "name" : "Peter Campbell Smith", + "id" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -284,7 +265,7 @@ 1 ] ], - "id" : "Peter Campbell Smith" + "name" : "Peter Campbell Smith" }, { "data" : [ @@ -297,7 +278,6 @@ "name" : "Peter Meszaros" }, { - "id" : "Robbie Hatley", "data" : [ [ "Perl", @@ -308,10 +288,10 @@ 1 ] ], + "id" : "Robbie Hatley", "name" : "Robbie Hatley" }, { - "id" : "Robert DiCicco", "data" : [ [ "Perl", @@ -322,21 +302,21 @@ 2 ] ], + "id" : "Robert DiCicco", "name" : "Robert DiCicco" }, { + "name" : "Robert Ransbottom", "data" : [ [ "Raku", 2 ] ], - "id" : "Robert Ransbottom", - "name" : "Robert Ransbottom" + "id" : "Robert Ransbottom" }, { "name" : "Roger Bell_West", - "id" : "Roger Bell_West", "data" : [ [ "Perl", @@ -350,9 +330,11 @@ "Blog", 1 ] - ] + ], + "id" : "Roger Bell_West" }, { + "name" : "Simon Green", "data" : [ [ "Perl", @@ -363,31 +345,29 @@ 1 ] ], - "id" : "Simon Green", - "name" : "Simon Green" + "id" : "Simon Green" }, { "name" : "Simon Proctor", - "id" : "Simon Proctor", "data" : [ [ "Raku", 2 ] - ] + ], + "id" : "Simon Proctor" }, { + "name" : "Solathian", "id" : "Solathian", "data" : [ [ "Perl", 2 ] - ], - "name" : "Solathian" + ] }, { - "name" : "Stephen G. Lynn", "id" : "Stephen G. Lynn", "data" : [ [ @@ -398,9 +378,11 @@ "Blog", 1 ] - ] + ], + "name" : "Stephen G. Lynn" }, { + "name" : "Thomas Kohler", "data" : [ [ "Perl", @@ -411,11 +393,9 @@ 2 ] ], - "id" : "Thomas Kohler", - "name" : "Thomas Kohler" + "id" : "Thomas Kohler" }, { - "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -426,10 +406,12 @@ 2 ] ], + "id" : "Ulrich Rieke", "name" : "Ulrich Rieke" }, { "name" : "W. Luis Mochan", + "id" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -439,58 +421,46 @@ "Blog", 1 ] - ], - "id" : "W. Luis Mochan" + ] } ] }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 - } - }, "series" : [ { - "colorByPoint" : 1, - "name" : "The Weekly Challenge - 220", "data" : [ { + "name" : "Ali Moradi", "y" : 2, - "drilldown" : "Ali Moradi", - "name" : "Ali Moradi" + "drilldown" : "Ali Moradi" }, { + "name" : "Arne Sommer", "y" : 3, - "drilldown" : "Arne Sommer", - "name" : "Arne Sommer" + "drilldown" : "Arne Sommer" }, { "y" : 4, - "name" : "Athanasius", - "drilldown" : "Athanasius" + "drilldown" : "Athanasius", + "name" : "Athanasius" }, { "y" : 3, - "name" : "Avery Adams", - "drilldown" : "Avery Adams" + "drilldown" : "Avery Adams", + "name" : "Avery Adams" }, { + "name" : "BarrOff", "y" : 3, - "drilldown" : "BarrOff", - "name" : "BarrOff" + "drilldown" : "BarrOff" }, { - "y" : 2, "name" : "Bob Lied", + "y" : 2, "drilldown" : "Bob Lied" }, { - "drilldown" : "Bruce Gray", "name" : "Bruce Gray", + "drilldown" : "Bruce Gray", "y" : 5 }, { @@ -499,54 +469,54 @@ "name" : "Cheok-Yin Fung" }, { - "y" : 2, + "name" : "David Ferrone", "drilldown" : "David Ferrone", - "name" : "David Ferrone" + "y" : 2 }, { "drilldown" : "E. Choroba", - "name" : "E. Choroba", - "y" : 2 + "y" : 2, + "name" : "E. Choroba" }, { - "y" : 6, "name" : "Flavio Poletti", + "y" : 6, "drilldown" : "Flavio Poletti" }, { - "name" : "Jaldhar H. Vyas", + "y" : 5, "drilldown" : "Jaldhar H. Vyas", - "y" : 5 + "name" : "Jaldhar H. Vyas" }, { "drilldown" : "Jan Krnavek", - "name" : "Jan Krnavek", - "y" : 1 + "y" : 1, + "name" : "Jan Krnavek" }, { - "y" : 2, "drilldown" : "John Horner", + "y" : 2, "name" : "John Horner" }, { - "y" : 2, "name" : "Jorg Sommrey", + "y" : 2, "drilldown" : "Jorg Sommrey" }, { - "name" : "Laurent Rosenfeld", "drilldown" : "Laurent Rosenfeld", - "y" : 5 + "y" : 5, + "name" : "Laurent Rosenfeld" }, { - "drilldown" : "Lubos Kolouch", "name" : "Lubos Kolouch", - "y" : 2 + "y" : 2, + "drilldown" : "Lubos Kolouch" }, { + "y" : 2, "drilldown" : "Mark Anderson", - "name" : "Mark Anderson", - "y" : 2 + "name" : "Mark Anderson" }, { "y" : 3, @@ -554,13 +524,13 @@ "name" : "Matthias Muth" }, { - "y" : 2, + "name" : "Niels van Dijke", "drilldown" : "Niels van Dijke", - "name" : "Niels van Dijke" + "y" : 2 }, { - "y" : 3, "drilldown" : "Peter Campbell Smith", + "y" : 3, "name" : "Peter Campbell Smith" }, { @@ -569,48 +539,48 @@ "name" : "Peter Meszaros" }, { + "name" : "Robbie Hatley", "y" : 3, - "drilldown" : "Robbie Hatley", - "name" : "Robbie Hatley" + "drilldown" : "Robbie Hatley" }, { "y" : 4, - "name" : "Robert DiCicco", - "drilldown" : "Robert DiCicco" + "drilldown" : "Robert DiCicco", + "name" : "Robert DiCicco" }, { - "name" : "Robert Ransbottom", + "y" : 2, "drilldown" : "Robert Ransbottom", - "y" : 2 + "name" : "Robert Ransbottom" }, { + "y" : 5, "drilldown" : "Roger Bell_West", - "name" : "Roger Bell_West", - "y" : 5 + "name" : "Roger Bell_West" }, { + "drilldown" : "Simon Green", "y" : 3, - "name" : "Simon Green", - "drilldown" : "Simon Green" + "name" : "Simon Green" }, { "y" : 2, - "name" : "Simon Proctor", - "drilldown" : "Simon Proctor" + "drilldown" : "Simon Proctor", + "name" : "Simon Proctor" }, { - "name" : "Solathian", "drilldown" : "Solathian", - "y" : 2 + "y" : 2, + "name" : "Solathian" }, { + "y" : 3, "drilldown" : "Stephen G. Lynn", - "name" : "Stephen G. Lynn", - "y" : 3 + "name" : "Stephen G. Lynn" }, { - "y" : 4, "drilldown" : "Thomas Kohler", + "y" : 4, "name" : "Thomas Kohler" }, { @@ -623,13 +593,43 @@ "drilldown" : "W. Luis Mochan", "y" : 3 } - ] + ], + "name" : "The Weekly Challenge - 220", + "colorByPoint" : 1 } ], + "xAxis" : { + "type" : "category" + }, "legend" : { "enabled" : 0 }, + "title" : { + "text" : "The Weekly Challenge - 220" + }, "chart" : { "type" : "column" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "tooltip" : { + "headerFormat" : "{series.name}
", + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
" + }, + "subtitle" : { + "text" : "[Champions: 33] Last updated at 2023-07-07 08:27:47 GMT" + }, + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 + } } } diff --git a/stats/pwc-current.json b/stats/pwc-current.json index e1b37d65b8..349fdf3586 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,135 +1,40 @@ { - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "subtitle" : { - "text" : "[Champions: 15] Last updated at 2023-07-06 12:45:40 GMT" - }, - "legend" : { - "enabled" : 0 - }, - "tooltip" : { - "followPointer" : 1, - "headerFormat" : "{series.name}
", - "pointFormat" : "{point.name}: {point.y:f}
" - }, - "series" : [ - { - "data" : [ - { - "name" : "Andreas Voegele", - "y" : 2, - "drilldown" : "Andreas Voegele" - }, - { - "name" : "Avery Adams", - "y" : 3, - "drilldown" : "Avery Adams" - }, - { - "drilldown" : "David Ferrone", - "y" : 3, - "name" : "David Ferrone" - }, - { - "name" : "E. Choroba", - "y" : 2, - "drilldown" : "E. Choroba" - }, - { - "drilldown" : "Laurent Rosenfeld", - "y" : 3, - "name" : "Laurent Rosenfeld" - }, - { - "y" : 2, - "name" : "Lubos Kolouch", - "drilldown" : "Lubos Kolouch" - }, - { - "drilldown" : "Mark Anderson", - "y" : 2, - "name" : "Mark Anderson" - }, - { - "drilldown" : "Peter Campbell Smith", - "name" : "Peter Campbell Smith", - "y" : 3 - }, - { - "drilldown" : "Robert DiCicco", - "name" : "Robert DiCicco", - "y" : 2 - }, - { - "y" : 4, - "name" : "Roger Bell_West", - "drilldown" : "Roger Bell_West" - }, - { - "name" : "Simon Proctor", - "y" : 1, - "drilldown" : "Simon Proctor" - }, - { - "drilldown" : "Steven Wilson", - "y" : 1, - "name" : "Steven Wilson" - }, - { - "drilldown" : "Thomas Kohler", - "y" : 4, - "name" : "Thomas Kohler" - }, - { - "y" : 4, - "name" : "Ulrich Rieke", - "drilldown" : "Ulrich Rieke" - }, - { - "drilldown" : "W. Luis Mochan", - "name" : "W. Luis Mochan", - "y" : 3 - } - ], - "name" : "The Weekly Challenge - 224", - "colorByPoint" : 1 - } - ], "title" : { "text" : "The Weekly Challenge - 224" }, - "chart" : { - "type" : "column" - }, "xAxis" : { "type" : "category" }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } - } + "chart" : { + "type" : "column" }, "drilldown" : { "series" : [ { + "id" : "Andreas Voegele", "data" : [ [ "Perl", 2 ] ], - "name" : "Andreas Voegele", - "id" : "Andreas Voegele" + "name" : "Andreas Voegele" + }, + { + "id" : "Andrew Shitov", + "data" : [ + [ + "Perl", + 1 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Andrew Shitov" }, { - "name" : "Avery Adams", "data" : [ [ "Perl", @@ -140,7 +45,8 @@ 2 ] ], - "id" : "Avery Adams" + "id" : "Avery Adams", + "name" : "Avery Adams" }, { "id" : "David Ferrone", @@ -157,17 +63,17 @@ "name" : "David Ferrone" }, { + "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ], - "id" : "E. Choroba", - "name" : "E. Choroba" + ] }, { - "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -182,17 +88,17 @@ 1 ] ], - "id" : "Laurent Rosenfeld" + "name" : "Laurent Rosenfeld" }, { - "name" : "Lubos Kolouch", + "id" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] ], - "id" : "Lubos Kolouch" + "name" : "Lubos Kolouch" }, { "id" : "Mark Anderson", @@ -205,6 +111,7 @@ "name" : "Mark Anderson" }, { + "name" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -215,10 +122,10 @@ 1 ] ], - "id" : "Peter Campbell Smith", - "name" : "Peter Campbell Smith" + "id" : "Peter Campbell Smith" }, { + "id" : "Robert DiCicco", "data" : [ [ "Perl", @@ -229,10 +136,10 @@ 1 ] ], - "id" : "Robert DiCicco", "name" : "Robert DiCicco" }, { + "name" : "Roger Bell_West", "id" : "Roger Bell_West", "data" : [ [ @@ -243,30 +150,31 @@ "Raku", 2 ] - ], - "name" : "Roger Bell_West" + ] }, { - "id" : "Simon Proctor", "data" : [ [ "Raku", 1 ] ], + "id" : "Simon Proctor", "name" : "Simon Proctor" }, { - "name" : "Steven Wilson", "data" : [ [ "Perl", 1 ] ], - "id" : "Steven Wilson" + "id" : "Steven Wilson", + "name" : "Steven Wilson" }, { + "name" : "Thomas Kohler", + "id" : "Thomas Kohler", "data" : [ [ "Perl", @@ -276,12 +184,11 @@ "Blog", 2 ] - ], - "id" : "Thomas Kohler", - "name" : "Thomas Kohler" + ] }, { "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -291,10 +198,10 @@ "Raku", 2 ] - ], - "id" : "Ulrich Rieke" + ] }, { + "name" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -305,9 +212,121 @@ 1 ] ], - "name" : "W. Luis Mochan", "id" : "W. Luis Mochan" } ] + }, + "series" : [ + { + "data" : [ + { + "name" : "Andreas Voegele", + "y" : 2, + "drilldown" : "Andreas Voegele" + }, + { + "name" : "Andrew Shitov", + "y" : 2, + "drilldown" : "Andrew Shitov" + }, + { + "y" : 3, + "name" : "Avery Adams", + "drilldown" : "Avery Adams" + }, + { + "drilldown" : "David Ferrone", + "name" : "David Ferrone", + "y" : 3 + }, + { + "y" : 2, + "name" : "E. Choroba", + "drilldown" : "E. Choroba" + }, + { + "drilldown" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld", + "y" : 3 + }, + { + "name" : "Lubos Kolouch", + "y" : 2, + "drilldown" : "Lubos Kolouch" + }, + { + "drilldown" : "Mark Anderson", + "name" : "Mark Anderson", + "y" : 2 + }, + { + "y" : 3, + "name" : "Peter Campbell Smith", + "drilldown" : "Peter Campbell Smith" + }, + { + "y" : 2, + "name" : "Robert DiCicco", + "drilldown" : "Robert DiCicco" + }, + { + "y" : 4, + "name" : "Roger Bell_West", + "drilldown" : "Roger Bell_West" + }, + { + "name" : "Simon Proctor", + "y" : 1, + "drilldown" : "Simon Proctor" + }, + { + "drilldown" : "Steven Wilson", + "y" : 1, + "name" : "Steven Wilson" + }, + { + "name" : "Thomas Kohler", + "y" : 4, + "drilldown" : "Thomas Kohler" + }, + { + "drilldown" : "Ulrich Rieke", + "y" : 4, + "name" : "Ulrich Rieke" + }, + { + "name" : "W. Luis Mochan", + "y" : 3, + "drilldown" : "W. Luis Mochan" + } + ], + "colorByPoint" : 1, + "name" : "The Weekly Challenge - 224" + } + ], + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "legend" : { + "enabled" : 0 + }, + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } + }, + "subtitle" : { + "text" : "[Champions: 16] Last updated at 2023-07-07 08:36:47 GMT" + }, + "tooltip" : { + "pointFormat" : "{point.name}: {point.y:f}
", + "followPointer" : 1, + "headerFormat" : "{series.name}
" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 38fdddabf6..7a62cecc1b 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,63 +1,63 @@ { - "yAxis" : { - "title" : { - "text" : null - }, - "min" : 0 - }, - "legend" : { - "enabled" : "false" + "tooltip" : { + "pointFormat" : "{point.y:.0f}" }, "subtitle" : { - "text" : "Last updated at 2023-07-06 12:45:40 GMT" + "text" : "Last updated at 2023-07-07 08:36:46 GMT" + }, + "title" : { + "text" : "The Weekly Challenge Contributions [2019 - 2023]" }, "chart" : { "type" : "column" }, + "xAxis" : { + "type" : "category", + "labels" : { + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + } + } + }, + "yAxis" : { + "title" : { + "text" : null + }, + "min" : 0 + }, "series" : [ { "name" : "Contributions", + "dataLabels" : { + "y" : 10, + "rotation" : -90, + "align" : "right", + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + }, + "enabled" : "true", + "color" : "#FFFFFF", + "format" : "{point.y:.0f}" + }, "data" : [ [ "Blog", - 3710 + 3711 ], [ "Perl", - 11424 + 11425 ], [ "Raku", 6586 ] - ], - "dataLabels" : { - "align" : "right", - "style" : { - "fontSize" : "13px", - "fontFamily" : "Verdana, sans-serif" - }, - "enabled" : "true", - "color" : "#FFFFFF", - "rotation" : -90, - "format" : "{point.y:.0f}", - "y" : 10 - } + ] } ], - "tooltip" : { - "pointFormat" : "{point.y:.0f}" - }, - "title" : { - "text" : "The Weekly Challenge Contributions [2019 - 2023]" - }, - "xAxis" : { - "labels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - }, - "type" : "category" + "legend" : { + "enabled" : "false" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index b1448d8a90..83d04a14c6 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,4062 +1,15 @@ { - "drilldown" : { - "series" : [ - { - "data" : [ - [ - "Perl", - 105 - ], - [ - "Raku", - 47 - ], - [ - "Blog", - 11 - ] - ], - "id" : "001", - "name" : "001" - }, - { - "id" : "002", - "data" : [ - [ - "Perl", - 83 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 10 - ] - ], - "name" : "002" - }, - { - "data" : [ - [ - "Perl", - 48 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ], - "name" : "003", - "id" : "003" - }, - { - "data" : [ - [ - "Perl", - 60 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 10 - ] - ], - "id" : "004", - "name" : "004" - }, - { - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 12 - ] - ], - "id" : "005", - "name" : "005" - }, - { - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 18 - ], - [ - "Blog", - 7 - ] - ], - "name" : "006", - "id" : "006" - }, - { - "name" : "007", - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 10 - ] - ], - "id" : "007" - }, - { - "name" : "008", - "data" : [ - [ - "Perl", - 48 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 12 - ] - ], - "id" : "008" - }, - { - "data" : [ - [ - "Perl", - 46 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 13 - ] - ], - "id" : "009", - "name" : "009" - }, - { - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 11 - ] - ], - "name" : "010", - "id" : "010" - }, - { - "data" : [ - [ - "Perl", - 51 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 10 - ] - ], - "name" : "011", - "id" : "011" - }, - { - "id" : "012", - "data" : [ - [ - "Perl", - 51 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ], - "name" : "012" - }, - { - "data" : [ - [ - "Perl", - 49 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 13 - ] - ], - "name" : "013", - "id" : "013" - }, - { - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 15 - ] - ], - "name" : "014", - "id" : "014" - }, - { - "data" : [ - [ - "Perl", - 58 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 15 - ] - ], - "id" : "015", - "name" : "015" - }, - { - "name" : "016", - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 13 - ] - ], - "id" : "016" - }, - { - "name" : "017", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 12 - ] - ], - "id" : "017" - }, - { - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ], - "id" : "018", - "name" : "018" - }, - { - "id" : "019", - "data" : [ - [ - "Perl", - 58 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 13 - ] - ], - "name" : "019" - }, - { - "data" : [ - [ - "Perl", - 53 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 13 - ] - ], - "name" : "020", - "id" : "020" - }, - { - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 10 - ] - ], - "name" : "021", - "id" : "021" - }, - { - "id" : "022", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 10 - ] - ], - "name" : "022" - }, - { - "data" : [ - [ - "Perl", - 57 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 12 - ] - ], - "name" : "023", - "id" : "023" - }, - { - "name" : "024", - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 26 -