Andrew Shitov has announced the second Raku Conference (Twitter feed) to be held online on 13-14 August 2022. The submission deadline for presentations is 1 August 2022! But of course, you can already submit a talk proposal! And order your free ticket (although a donation would be really appreciated)!
Anton’s Corner
Anton Antonov has published an extensive blog post the generation of UML diagrams for Raku namespaces (/r/rakulang comments).
Alexey’s Corner
Alexey Melezhik promises blazingly fast installation of Raku modules under Alpine Linux OS.
However, the given string must match exactly case-insensitive:
say "love".uniparse;
# Unrecognized character name [love]
Fortunately, there is a module called “uniname-words“, which (unsurprisingly) exports a subroutine called uniname-words
that you can use to look up graphemes by (partial) name:
use uniname-words;
say "&chr($_) &uniname($_)" for uniname-words("love");
# 🏩 LOVE HOTEL
# 💌 LOVE LETTER
# 🤟 I LOVE YOU HAND SIGN
The module also installs a script called “uw
” so you can easily use it as a CLI. And you can also lookup with partial matching (instead of whole words).
Weeklies
Weekly Challenge #169 is available for your perusal.
New Pull Requests
- Add
Int
/Real
coercing versions ofinfix:<div|mod>
- Consuming class must provide implementation of stubs
- Make coercions up to 1.6x as fast
- Micro-optimize
ADD-PAIRS-TO-BAG
…
Core Developments
- Claudio Ramirez announced 2022.06 Rakudo compiler packages with newly added support for el 9 (Red Hat, CentOS, Oracle, Amazon, …) and Alpine 3.16!
- Elizabeth Mattijsen fixed the
.Date
/.DateTime
coercers ofDate
/DateTime
when called on a subclass ofDate
/DateTime
, and madeDateTime
creation from a string up to 1.9x as fast. - Vadim Belman fixed a confusing error message when a
List
parameter was given aSeq
. - Stefan Seifert continued working on the RakuAST branch, adding full support for
BEGIN
blocks, which resulted in 453 roast files fully passing. - And some smaller optimizations and fixes.
Questions about Raku
- Unable to set attribute with
bless
method by Steve Dondley. - Haskell, Raku, and Functional Programming with Persistent Data Structures? by s-ro_mojosa.
- How can I create a factory for classes? by Steve Dondley.
- How to receive just one line from an
IO::Socket::Async
? by zentrunix. - Pushing elements to
Buf
by zentrunix. - Grammar Preview feature no longer working in Comma IDE CP by Steve Dondley.
- Raku project suddenly starts to fail by Patrick Böker.
- Replace newline with literal
\\n
by Skye Bleed. - Sort directory by last modified by Skye Bleed.
Meanwhile on Twitter
- A major step by Becca Royal-Gordon.
- On indexed by Mohammad S Anwar.
- On capture markers by Ramiro Encinas.
- Релиз компилятора by IT news for all.
- SparkyCI R3 Tool tests by Alexey Melezhik.
- On isa by Mohammad S Anwar.
- On indirect object syntax by Mohammad S Anwar.
- Eventually by JJ Merelo.
- Count the hours by JJ Merelo.
- Alpine package by Alexey Melezhik.
- On
ceil
andfloor
by Mohammad S Anwar. - Hosted online by Andrew Shitov.
- Slightly interesting features by Karl Pettersson.
- Its own thing by Anže Pečar.
- A combination of by sironekotoro.
- On (un)weaken by Mohammad S Anwar.
- Grammars did it better by John Siracusa.
- On trimming by Mohammad S Anwar.
- On constants by Mohammad S Anwar.
Meanwhile on the mailing list
- Dual
Buf
andStr
question by ToddAndMargo. - Tons of digits by ToddAndMargo.
- Easier way to load a buffer? by ToddAndMargo.
- BigRoot precision question by ToddAndMargo.
Comments about Raku
- Applied? by dvaun.
- Rulex – A new, portable, regular expression language on Hacker News.
- A shame by hestefisk.
- Modern frameworks by Discipulus.
- Popular programming language by Vinay Khatri.
- Grammars, Part 1 on Hacker News.
- Not grokking immediately by ElectricalUnion.
New Raku Modules
- sortuk “sorting strings by Ukrainian alphabet” by Andrij Mizyk.
- Trap “Trap $*OUT and/or $*ERR output” by Elizabeth Mattijsen.
- CWT-Repository-Hash “Uses Cro templates stored in a Hash” by Richard Hainsworth.
- ML::ROCFunctions “computations of Receiver Operating Characteristic (ROC) functions” by Anton Antonov.
Updated Raku Modules
- PDF::Grammar, PDF, PDF::Content, PDF::Class, PDF::Lite, FDF, Pod::To::PDF::Lite, LibXML by David Warring.
- Net::Ethereum by Konstantin Narkhov.
- Dan, Dan::Pandas by Steve Roe.
- Term::Choose::Util, Term::Choose by Matthäus Kiem.
- silently by Elizabeth Mattijsen.
- Geo::Ellipsoid, AVL-Tree by Tom Browder.
- WebService::GitHub by Patrick Böker.
- Config::BINDish by Vadim Belman.
- UML::Translators by Anton Antonov.
- Red by Fernando Correa de Oliveira.
- raku-pod-extraction, Raku::Pod::Render by Richard Hainsworth.
Winding down
A day later than normal, due to unexpected circumstances that required yours truly to be offline for most of Monday.
This week’s image is still inspired by Pride Month as well as to support Ukraine in their fight against the Russian aggression. Слава Україні! Героям слава!
In the mean time, please stay safe, stay healthy, keep up the good work! ‘Rona is also not over yet!
If you like what I’m doing, committing to a small sponsorship would mean a great deal!