Yes, it’s almost October, which means it’s time for the HacktoberFest again. If you’re a Raku developer, these best practices are the most important in the eyes of yours truly:
- Add the “hacktoberfest” topic to your repository to OPT-IN TO HACKTOBERFEST and indicate you’re looking for contributions.
- Apply the “hacktoberfest” label to issues you want contributors to help with in your GitHub or GitLab project.
- Be ready to review pull/merge requests, accepting those that are valid by merging them, leaving an overall approving review, or by adding the “hacktoberfest-accepted” label.
- Reject any spammy requests you receive by labeling them as “spam,” and any other invalid contributions by closing them or labeling them as “invalid.”
If you’d like to contribute, make sure to register, as the first 40,000 participants (maintainers and contributors) who complete Hacktoberfest can elect to receive one of two prizes: a tree planted in their name, or the Hacktoberfest 2022 t-shirt. Let’s have a lot of trees planted!
Tony’s Corner
Tony O’Dell has published the second part of their blog about building a Cro app in Building a Cro App – Part B (Part A).
Alexey’s Corner
Alexey Melezhik published an update about SparkyCI, the dead simple Continuous Integration service.
Anton’s Corner
Anton Antonov introduces their Markdown::Grammar module in a blog post.
Did You Know?
That you can remove all punctuation from a string with a single .subst
statement?
$ raku -e 'say "Hey, how are you doing?".subst(/ <punct> /, :g)'
Hey how are you doing
Note that <punct>
is only one of the predefined character classes in Raku! If you want to use any other Unicode property for matching, that is also quite easy. For instance, getting rid of all references to money in a string:
$ raku -e 'dd "£ £ ₠ € $ $ ¥/.subst(/ <:Sc> /, :g)'
" "
This week’s “Did you know” was suggested by Steve Roe. Check out the “did you know” registry, started by Wenzel P.P. Peppmeyer. Suggestions as Pull Requests welcome!
Weeklies
Weekly Challenge #184 is available for your perusal.
New Pull Requests
- [JVM] Improve handling of unicode numbers
- Add a
.warn
method to exceptions - Keep version file when cleaning an installation
Core Developments
- Christian Bartolomäus un-todo’d a now passing test on the JVM backend.
- Although not strictly core, Nick Logan released a version of
zef
that is up-to 2x as fast as before.
Questions about Raku
- How are dynamically scoped variables implemented? by WhiteMist.
- Constrain return type to be type captured by role parameter by user1915829.
- listop operator causing infinite recursion, any way to fix? by Steve Dondley.
- Converting module with ObjectiveC extensions by Steve Dondley.
- Looking for TK in Raku by BaileysHuman.
- Regex in Raku by tobbysingh.
Meanwhile on Twitter
- A senior engineer as well? by SwiftOnSecurity.
- Not making this up by Matthew Miller.
- Making things atomic by Daniel Feldman.
- On-brand by Greg Kemp.
- On Ovaltine by Scott Williams.
- Help with testing by Wim Vanderbauwhede.
- Nifty! by Will Coleda.
- Experimenting with Raku-Dan by Massa Humberto.
- Rolling the dice by Solomon Foster.
- Pay me! by darth saibot.
- Much tastier! by Josh.
- No more off-license by Alexey Melezhik.
- Still trying to decipher by Massa Humberto.
- My first tool by Kay Rhodes.
- Bounding minmax by Kang-min Liu.
- Secretly gradual by Mark Gardner.
- A bit like… by Alexandre Derumier.
- What? That? by えび@プログラマー.
- Rooting then by It’s in the trees! It’s coming!.
- Splitting and classifying by Fernando Corrêa de Oliveira.
Comments about Raku
- Future with proper extendable compile-time types by Al Newkirk.
- A hint of cyber security by Totally_Not_A_Haxer.
- Zero indent by Ralph Mellor.
- Would need dynamic flex rules by Reini Urban.
- Applying the old approach by Pawel Pabian.
Updated Raku Modules
- RakuConfig, Collection-Plugins, Collection, Collection-Raku-Documentation, GTK::Simple by Richard Hainsworth.
- String::Utils, path-utils, Git::Files, rak, META::constants, CLI::Version, App::Rak, CLI::Help by Elizabeth Mattijsen.
- Sparky by Alexey Melezhik.
- CSS::TagSet, Pod::To::PDF, Cairo by David Warring.
- DateTime::US, DateTime::Julian by Tom Browder.
- zef by Nick Logan.
- Geo::WellKnownText by Kevin Pye.
- Digest by Lucien Grondin.
- HTTP::Tiny, PublicSuffix by JJ Atria.
- App::Zef-Deps by Will Coleda.
- Markdown::Grammar by Anton Antonov.
- File::HomeDir, Selenium::WebDriver, Terminal::Caca, Odoo::Client, Browser::Open by Ahmad M. Zawawi.
Winding down
This week’s image is of an installation by Maarten Inghels called Save Our Souls (sadly Google Translate could not provide a stable link for an English version). It reminded yours truly of Ukraine in their and our fight against the Russian aggression. Слава Україні! Героям слава!
In the meantime, please stay safe, stay healthy, keep up the good work!
If you like what I’m doing, committing to a small sponsorship would mean a great deal!