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: Unique Occurrences
10. TASK #2: Dictionary Rank
HEADLINES
Welcome to the Week #260
of The Weekly Challenge
.
Did I tell you that I submitted The Weekly Challenge
project to the upcoming Outreachy Program
sponsored by TPRF
?
Well, it is first time for us. Last week, we started getting response from applicants of the program. They have already started working on the project. The plan is move the current static website to realtime interactive website. For this we are using Dancer2
web framework with MySQL
as the database. For frontend we are using HTML
, JavaScript
and Bootstrap
.
If you have any suggestion to improve the user experience then please do share with us.
Working with interns have been great so far. They are all full of energy and ready to take on challenge. I just guide them when they are stuck.
Last 5 weeks
mainstream contribution stats. Thank you Team PWC
for your support and encouragements.
Week |
Perl |
Raku |
Blog |
255 |
55 | 30 | 26 |
256 |
57 | 32 | 26 |
257 |
41 | 25 | 22 |
258 |
56 | 38 | 30 |
259 |
41 | 19 | 22 |
Last 5 weeks
guest contribution stats. Thank you each and every guest contributors for your time and efforts.
Week |
Guests |
Contributions |
Languages |
255 |
17 | 60 | 18 |
256 |
17 | 63 | 17 |
257 |
19 | 61 | 20 |
258 |
17 | 67 | 19 |
259 |
13 | 44 | 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 (2290)
2. Ruby (658)
3. Haskell (638)
4. Lua (582)
5. Rust (545)
6. C (487)
7. C++ (485)
8. JavaScript (344)
9. Go (336)
10. BQN (318)
Blogs with Creative Title
1. Banking Left Into the Parser Zone by Adam Russell.
2. Day Parser by Arne Sommer.
3. What We Did On Our Bank Holiday by Dave Jacoby.
4. Holiday Parser by Jorg Sommrey.
5. too much work to do! by Luca Ferrari.
6. I Have a Date With a Parser by Matthias Muth.
7. Ba-a-nking Day! Ba-a-nking Day! That’s all I really wanted to say… by Packy Anderson.
8. Dates and parsing by Peter Campbell Smith.
9. Banking Parser by Roger Bell_West.
GitHub Repository Stats
1. Commits: 37,049 (+162
)
2. Pull Requests: 9,710 (+36
)
3. Contributors: 243
4. Fork: 306 (+2
)
5. Stars: 170 (+1
)
SPONSOR
In the year 2024
, we are looking for new sponsor for monthly winner. If anyone interested please get in touch with us at perlweeklychallenge@yahoo.com
. Thanks for your support in advance.
RECAP
Quick recap of The Weekly Challenge - 259 by Mohammad Sajid 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 #259.
Please find past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Unique Occurrences
Submitted by: Mohammad Sajid Anwar
You are given an array of integers, @ints
.
Write a script to return 1 if the number of occurrences of each value in the given array is unique or 0 otherwise.
Example 1
Input: @ints = (1,2,2,1,1,3)
Output: 1
The number 1 occurred 3 times.
The number 2 occurred 2 times.
The number 3 occurred 1 time.
All occurrences are unique, therefore the output is 1.
Example 2
Input: @ints = (1,2,3)
Output: 0
Example 3
Input: @ints = (-2,0,1,-2,1,1,0,1,-2,9)
Output: 1
Task 2: Dictionary Rank
Submitted by: Mark Anderson
You are given a word, $word
.
Write a script to compute the dictionary rank of the given word.
Example 1
Input: $word = 'CAT'
Output: 3
All possible combinations of the letters:
CAT, CTA, ATC, TCA, ACT, TAC
Arrange them in alphabetical order:
ACT, ATC, CAT, CTA, TAC, TCA
CAT is the 3rd in the list.
Therefore the dictionary rank of CAT is 3.
Example 2
Input: $word = 'GOOGLE'
Output: 88
Example 3
Input: $word = 'SECRET'
Output: 255
Last date to submit the solution 23:59 (UK Time) Sunday 17th March 2024.