The Weekly Challenge - 230

Monday, Aug 14, 2023| Tags: Perl, Raku

TABLE OF CONTENTS


01. HEADLINES

02. SPONSOR

03. RECAP

04. PERL REVIEW

05. RAKU REVIEW

06. CHART

07. NEW MEMBERS

08. GUESTS

09. TASK #1: Separate Digits

10. TASK #2: Count Words


HEADLINES


Welcome to the Week #230 of The Weekly Challenge.

This week challenge is coming from my native town, Jamshedpur, India.

Last 5 weeks mainstream contribution stats. Thank you Team PWC for your support and encouragements.

  Week      Perl       Raku       Blog   
   225       56       31       24   
   226       59       32       25   
   227       53       30       26   
   228       58       28       24   
   229       57       30       24   

Last 5 weeks guest contribution stats. Thank you each and every guest contributors for your time and efforts.

  Week      Guests       Contributions       Languages   
   225       13       63       21   
   226       13       52       14   
   227       09       36       11   
   228       15       57       18   
   229       13       55       17   

TOP 10 Guest Languages


Do you see your favourite language in the Top 10? If not then why not contribute regularly and make it to the top.

 1. Python     (1745)
 2. Haskell    (574)
 3. Ruby       (563)
 4. Lua        (501)
 5. C          (433)
 6. Rust       (412)
 7. C++        (396)
 8. BQN        (305)
 9. Go         (262)
10. JavaScript (243)

Blogs with Creative Title


1. Indexed bits by Andreas Voegele.

2. Out of Order by Arne Sommer.

3. Don’t be Sad by Dave Jacoby.

4. One for the Regex, and Two for the Three by Matthias Muth.

5. This is somewhat embarrassing, isn’t it? by Packy Anderson.

6. Count the unsorted and two thirds is enough by Peter Campbell Smith.

7. Three, Two, Out of Order by Roger Bell_West.


GitHub Repository Stats


1. Commits: 33,737 (+121)

2. Pull Requests: 8,538 (+37)

3. Contributors: 227

4. Fork: 286

5. Stars: 162



Our solo sponsor Pete Sergeant has been a great support to keep us motivated. We are lucky that he agreed to continue the journey with us in the year 2023. I would like to personally thank Pete and his entire team for their generosity. It would be great if we could add few more to sponsor the prize money so that we could go back and declare weekly champions as we have done in the past. I hope and wish this will become possible in 2023. The amount doesn’t have to be huge. However, it would be nice to show off bunch of supporters. If an organisation comes forward and supports us then that would be the ultimate achievement.


RECAP


Quick recap of The Weekly Challenge - 229 by Mohammad S Anwar.


PERL REVIEW


If you missed any past reviews then please check out the collection.


RAKU REVIEW


If you missed any past reviews then please check out the collection.


CHART


Please take a look at the charts showing interesting data.

I would like to THANK every member of the team for their valuable suggestions. Please do share your experience with us.


NEW MEMBERS


Please find out How to contribute?, if you have any doubts.

Please try the excellent tool EZPWC created by respected member Saif Ahmed of Team PWC.


GUESTS


Please check out the guest contributions for the Week #229.

Please find past solutions by respected guests. Please share your creative solutions in other languages.


Task 1: Separate Digits

Submitted by: Mohammad S Anwar

You are given an array of positive integers.

Write a script to separate the given array into single digits.

Example 1

Input: @ints = (1, 34, 5, 6)
Output: (1, 3, 4, 5, 6)

Example 2

Input: @ints = (1, 24, 51, 60)
Output: (1, 2, 4, 5, 1, 6, 0)

Task 2: Count Words

Submitted by: Mohammad S Anwar

You are given an array of words made up of alphabetic characters and a prefix.

Write a script to return the count of words that starts with the given prefix.

Example 1

Input: @words  = ("pay", "attention", "practice", "attend")
       $prefix = "at"
Ouput: 2

Two words "attention" and "attend" starts with the given prefix "at".

Example 2

Input: @words  = ("janet", "julia", "java", "javascript")
       $prefix = "ja"
Ouput: 3

Three words "janet", "java" and "javascripr" starts with the given prefix "ja".


Last date to submit the solution 23:59 (UK Time) Sunday 20th August 2023.


SO WHAT DO YOU THINK ?

If you have any suggestions or ideas then please do share with us.

Contact with me