Wenzel P.P. Peppmeyer has taken last week’s Weekly Challenge to show how you can have your math look like Raku, or was it the other way around? And using a simple tweak, making the code use multiple CPU’s to get results faster (/r/rakulang comments)!
The minutes of the first online meeting of people working on the Raku Documentation have been published. Wanna get involved? Check out the rest of the documentation wiki or show yourself on the #raku-doc IRC channel!
Did You Know?
That you can use more than one adverb on hash slices? For instance, you can use the
:delete adverbs at the same time to easily split a hash into two hashes:
my %h = a => 42, b => 666, c => 314, d => 737; my %s = %h<a c>:p:delete; say %h.kv; # (d 737 b 666) say %s.kv; # (a 42 c 314)
:p adverb makes sure that key/value
Pairs are returned, and the
:delete adverb makes sure that the selected keys are removed. The result from the slice then feeds the new hash.
Weekly Challenge #166 is available for your perusal.
New Pull Requests
- Subclasses of
:max_threads(*|Inf)as option to ThreadPoolScheduler
- Vadim Belman fixed a race condition with the use of Stashes and pre-compilation repositories.
- Elizabeth Mattijsen made the several types of
.tailmethods on native arrays between 60% and 25x faster, and fixed the
- Stefan Seifert worked a lot on the RakuAST branch, increasing the number of completely passing spectest files to 432 (out of 1353).
Questions about Raku
- Is this Raku code a close equivalent to this Ruby code in the book Practical Object-Oriented Design? by ElusiveLambdas.
- Rakudo on M1? by Solomon Foster.
- Retract a module from the ecosystem? by markldevine.
- What is the practically minimum raku startup time? by mr_dj_kuro.
- Taking too long to warm up on Docker by Jonathan Stowe.
Meanwhile on Twitter
- Leaving hard things until the end by Bill McGonigle.
- Yada yada yada by Mohammad S Anwar.
- Package renaming on Debian Bookworm by Daniel Böhmer.
- Introduction to Raku tutorial (en Español) by Ramiro Encinas.
- Give me static typing! by Ville Vooutilainen.
- Willing to blend in by ISnarkYouSnarkWeSnark.
- Superior to Latin by JJ Merelo.
- Named capturing by Mohammad S Anwar.
- Transitioning to Raku this summer by Josh.
Comments about Raku
- On Chemistry::Stoichiometry on /r/rakulang.
- None of these are true by Ralph Mellor.
- A little more nuanced by mattkrause.
- Not a mistake by munificent.
- Multiple dispatch as a selling point by klibertp.
- Raku to prove a point by atweiden.
New Raku Modules
- Geo::Geometry “A series of classes for storing geographic data” by Kevin Pye.
Updated Raku Modules
- Term::Choose by Matthäus Kiem.
- PDF::Font::Loader, Font::FreeType, PDF, CSS::Properties by David Warring.
- Physics::Measure by Steve Roe.
- Locale::US , IRC::Utils, Lingua::Conjunction, Inline::Brainfuck, Benchy, WhereList, RakudoPrereq, Acme::Anguish, Games::TauStation::DateTime, Trait::IO, Proc::Q, Proxee, Subset::Helper, Rakudo::CORE::META by Elizabeth Mattijsen.
- Geo::Coordinates::UTM by Kevin Pye.
- Lingua::NumericWordForms, Data::ExampleDatasets by Anton Antonov.
- Scientist by Lance Wicks.
- Test::Async by Vadim Belman.
A slow week ahead of the 2022.05 release. The movement of Raku community modules from the git ecosystem to the zef ecosystem is progressing nicely. And at least one new module showing a lot of promise!
This week’s image was created using two bicycle bags. The Rakudo Weekly News will continue to show Ukrainian inspired images in support of Ukrainian people, and any other people who are trying to make an end to the Russian aggression in Ukraine. Слава Україні! Героям слава!
In the mean time, 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!