#rakulang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rakulang, aggregated by home.social.
-
The Weekly Challenge 372: Space is the Largest Place #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/05/The_Weekly_Challenge_372__Space_is_the_Largest_Place.html
-
Until about 2022, I loved to program in Raku, the language formerly know as Perl 6. (Sadly, since then, genAI has ruined that for me.)
Raku has neat feature called Junctions. A junction is a lazy expression of values of any type combined with Boolean-like operators `|`, `&` and `^`. When an operation is applied to a Junction, it is carried out for each junction element, and the result is the junction of the return values of the operations. You can optionally evaluate a Junction in a Boolean context using `so`.
So you can do things like
my \jj = 1&2;
say so jj; # True
say so (->\x {x-1})( jj ); # FalseBack in 2020 I pointed out an issue with Junctions, [The strange case of the greedy junction](https://limited.systems/articles/greedy-junctions/). Junctions are *greedy*, they turn anything they are combined with also into a Junction. This is not always desirable. I proposed an additional operation ("collapse") to undo this behaviour.
In a second post [Reconstructing Raku's Junctions](https://limited.systems/articles/reconstructing-raku-junctions/) I provided a proof for both the observed behaviour and the need for a "collapse" operation, by formalising Junction semantics in terms of polymorphic algebraic data types. I just re-read it and I still think it is very cool.
The `collapse` method never made it into the language (https://github.com/rakudo/rakudo/pull/3944) but my implementation still works.
What I think is neat is that my formalisation lets you implement Junctions in any language.
-
The Weekly Challenge 371: Missing Equilibrium #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/05/The_Weekly_Challenge_371__Missing_Equilibrium.html
-
The Weekly Challenge 369: Divided Validity #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/04/The_Weekly_Challenge_369__Divided_Validity.html
-
The Weekly Challenge 368: Omega is Bigger #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/04/The_Weekly_Challenge_368__Omega_is_Bigger.html
-
The Weekly Challenge 367: Binary Conflict #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/04/The_Weekly_Challenge_367__Binary_Conflict.html
-
The Weekly Challenge 366: The Time of the Count is Over #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/03/The_Weekly_Challenge_366__The_Time_of_the_Count_is_Over.html
-
The Weekly Challenge 365: Alphabet Digit Counter Token #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/03/The_Weekly_Challenge_365__Alphabet_Digit_Counter_Token.html
-
Auf zum #perl / #rakulang Workshop in #berlin. Anreise mit #flixtrain ab #heidelberg bisher pünktlich. Ausser dem nicht funktionierenden/vorhandenen WLAN bisher alles top. Noch ne knappe Stunde. Da wird hoffentlich nichts mehr schief gehen.
-
Auf zum #perl / #rakulang Workshop in #berlin. Anreise mit #flixtrain ab #heidelberg bisher pünktlich. Ausser dem nicht funktionierenden/vorhandenen WLAN bisher alles top. Noch ne knappe Stunde. Da wird hoffentlich nichts mehr schief gehen.
-
Auf zum #perl / #rakulang Workshop in #berlin. Anreise mit #flixtrain ab #heidelberg bisher pünktlich. Ausser dem nicht funktionierenden/vorhandenen WLAN bisher alles top. Noch ne knappe Stunde. Da wird hoffentlich nichts mehr schief gehen.
-
Auf zum #perl / #rakulang Workshop in #berlin. Anreise mit #flixtrain ab #heidelberg bisher pünktlich. Ausser dem nicht funktionierenden/vorhandenen WLAN bisher alles top. Noch ne knappe Stunde. Da wird hoffentlich nichts mehr schief gehen.
-
The Weekly Challenge 364: Decrypted Goals #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/03/The_Weekly_Challenge_364__Decrypted_Goals.html
-
The Weekly Challenge 363: Stringy Sheriff #Perl #RakuLang #RustLang #Postscript #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/03/The_Weekly_Challenge_363__Stringy_Sheriff.html
-
The Weekly Challenge 362: Spellbound Echo #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/03/The_Weekly_Challenge_362__Spellbound_Echo.html
-
The Weekly Challenge 361: Celebrity Zeckendorf #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/02/The_Weekly_Challenge_361__Celebrity_Zeckendorf.html
-
The Weekly Challenge 360: Justify the Words #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/02/The_Weekly_Challenge_360__Justify_the_Words.html
-
The Weekly Challenge 359: Roots and Digits #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/02/The_Weekly_Challenge_359__Roots_and_Digits.html
-
The Weekly Challenge 358: Encrypted Max #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/02/The_Weekly_Challenge_358__Encrypted_Max.html
-
The Weekly Challenge 357: Uniquely Kaprekar #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/01/The_Weekly_Challenge_357__Uniquely_Kaprekar.html
-
The Weekly Challenge 356: Kolakoski Wins #Perl #RakuLang #RustLang #Postscript #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/01/The_Weekly_Challenge_356__Kolakoski_Wins.html
-
The Weekly Challenge 355: Mountains by the Thousand #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/01/The_Weekly_Challenge_355__Mountains_by_the_Thousand.html
-
The Weekly Challenge 354: Min Grid Diffs the Shift #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2026/01/The_Weekly_Challenge_354__Min_Grid_Diffs_the_Shift.html
-
The more I think about it, the more I want it.
A #guix system and #nix system compatible package manager/distro but using #rakulang for the language. Not sure how hard it would be to make a Raku lib that understands Guix packages definitions, but for basics ones should be doable. Lisp syntax just stops me too much from being able to make packages or services (#shepherd) but except the syntax I just love Guix and Shepherd. -
Nice!
Someone has begun an #HPMOR comic! 😄
Who would have known that a JKR-free #rational fan fiction of #HarryPotter (love the work, don't care for the author) would be awesome enough to be made into both audiobooks, podcasts and a cartoon?
I'm really happy more are exposed to this work. It's _really_ good! 😄
(Triva: I learned of it in the #rakulang IRC channel, back when it was called #perl6 <3)
Recommended!
If you like the first chapters, you'll like it all!
-
Raku: The match of a regex is automatically stored in $/, and this variable then also provides access to the text before ($/.prematch), to the text after ($/.postmatch), and to the match's position ($/.from and $/.to). Nice.
https://docs.raku.org/language/regexes#Literals_and_metacharacters
-
#Perl: older than some #programming careers, younger at heart than you think.
It’s evolved a lot since 1999 — modern features, cleaner syntax — yet it still runs code you wrote decades ago.
(And if you’re wondering: #Perl6 was renamed Raku in 2019 — it’s a sister language, not a successor.)
Curious? Returning after a long break? @shiar’s cheat sheet is a perfect quick‑scan: https://sheet.shiar.nl/perl
#coding #SoftwareDevelopment #SoftwareEngineering #RakuLang #Perl5
-
Dear #OpenSource #Fediverse: Is it time to revive some of the good old parts of the #Perl and #RakuLang communities?
I'm specifically thinking of the "fun-with-perl" mailing list...
https://www.nntp.perl.org/group/perl.fwp/2001.html
(or maybe we already have enough #fun in our lives? 😅)
-
@lemgandi @cstross The reputation was for being "write-only", and was propagated by people who didn't realize one does NOT have to know "every" way to code it in order to write something well.
What one _does_ need is the ability to learn and teach, and to write code with a human audience in mind.
Coding can be extremely fun, and especially with #Perl and #RakuLang - IF you allow yourself to play and share the joy.
Don't be a #toolblamer, be a good colleague instead.
-
@swaggboi @silberfuchs @AnarchoDoggo Fun fact 2: #YAPC officially and legally took up the name “The #Perl Conference” (and now “The Perl and Raku Conference”) *years* ago. The Perl and Raku Foundation (previously “The Perl Foundation”) is a “doing business as” name for Yet Another Society, which was formed for organizing past YAPCs.
When (not if!) you donate to @PerlRakuFoundation it goes to YAS.
-
Useful things in #Linux lately: apt-clone, #emacs & #elisp, #rakulang, #smallbasic (github version), silver searcher (ag), htop, pal calendar, #gimp, #kolourpaint, #vlc, #doublecommander, #gambas3, #geany, and distros like #manjaro, #pclos, #almalinux, #kubuntu, and #q4os
Pictured: An old photo of my #UbuntuStudio desktop from 2009, watching "The Cat From Outer Space".
The same system ran WinXP and Win 7 inside of VMs, allowing use of Adobe software and other Windows apps.
At the time I had been using Linux full-time at my business for about 4-5 years.
Soon I would take a Linux netbook with me for working abroad (running Ubuntu's netbook distro), along with a Nokia n810 as media station. The years 2009-2012 were, in my work, the second big wave of Linux on the Desktop. It was extremely fun and I'm still trying to recapture some of the enjoyment of those days, which faded a bit with the rise of the cloud. -
@Perl Per @PerlRakuFoundation's announcement yesterday,* The #Perl & #RakuLang Conference 2024 in Las Vegas is now accepting proposals for live in-person session talks! https://tprc.us/talks
Need ideas? That page also has previous conference schedules as well as a wiki link to request topics.
New this year: a peer-reviewed #science track with its own #CallForPapers process: https://science.PerlCommunity.org
-
@rq @0xabad1dea Throwback to #YAPC 19100: https://yapc.org/America/previous-years/19100/
#Perl was always as “#Y2K compliant” as #C, but very naïve developers would sometimes use ` '19' . (localtime)[5] ` for the current year, thus the jokey name for the final #conference of the previous century.
It’s now called “The Perl and #RakuLang Conference” by @PerlRakuFoundation and will be in #LasVegas next June: https://tprc.us/tprc-2024-las/. See you there!
-
@mort You can get pretty far with #Perl 5* #RegularExpressions. Here's @perlancar’s #CPAN module based on @randalschwartz’s minimal #JSON parser as a single #regex: https://metacpan.org/pod/JSON::Decode::Regexp
Full docs on conditional #regexes, including the special `(DEFINE)` form that merlyn used: https://perldoc.perl.org/perlre#condition-yes-pattern-no-pattern
* #RakuLang hasn't been called #Perl6 for four years now. You're deadnaming the language.
-
@profoundlynerdy I don’t know anything about #Rakudo’s internals, but Is there any conceivable way for a language-neutral subset of #RakuLang #regexes to be based on or share its code rather than reimplement them?
The subset might omit things like code interpolation. Or is it all-or-nothing?
It would be a nice teaser for the full power of Raku grammars, kind of like how #iTunes for Windows was #SteveJobs’ offer of “a glass of water to somebody in hell.” https://a.co/5J0CTSL
-
@profoundlynerdy I don’t think other languages *have* “ripped off” #RakuLang #regexes and grammars. The point of a notional “RCRE” library would be to enable that.
-
Well deserved!
Kijk 'White Camel Award Acceptance - Mohammad Sajid Anwar - TPRC 2023' op YouTube
#tprc2023 #tprc #perl #rakulang #raku
#WhiteCamel #Challenges #PerlWeeklyChallenge #Award #Programming
https://youtu.be/PMGKwuTiEJk -
Any #RakuLang core hackers want to take up this challenge?
#RegularExpressions #RegExps #RegExes #RegEx https://ruby.social/@gd/110718818730295923
-
Kijk 'Sorting *Whatever in $LANG - Bruce Gray - The Perl and Raku Conference 2023' op YouTube
#tprc2023 #tprc #perl #rakulang
https://youtu.be/sTB-blT9UnY -
@Perl Check out @talexb’s announcement of this year’s North American #Perl and #RakuLang #Conference coming up this summer! #Toronto sounds lovely!
https://fosstodon.org/@talexb/109951265793957313
Also note the Call For Papers deadline is in *thirty days*. Submit those talks!
-
@Perl Don’t fear #Perl’s grep and map functions! Here’s a lightning talk I gave at last year’s Perl & Raku Conference in Houston that will help you understand and know when and how to use them for list processing. Not everything should be a for/foreach loop!
More on my blog: https://phoenixtrap.com/tag/lists/
And @lizmat has written no less than six articles on how #RakuLang does things: https://dev.to/lizmat/series/20328
-
Having said all that, to ensure continued success with #Perl and #RakuLang you can donate to The Perl and Raku Foundation here: https://www.perlfoundation.org/donate.html
To ensure continued access to high-quality search and online #documentation of the hundreds of thousands of #FOSS @Perl modules on #CPAN, please donate to #MetaCPAN via @opencollective here: https://opencollective.com/metacpan-core
Or email [email protected] about joining the growing list of MetaCPAN sponsors (https://metacpan.org/about/sponsors) -
@Perl A few #Perl projects to follow in the #fediverse:
• @mojolicious: A real-time web framework for Perl and #NodeJS
• @opencage: Perl-powered #geocoding and #geosearch service with SDKs for dozens of other languages and environments. Also a #MetaCPAN sponsor!
• @PerlFFI: An interface for writing Perl extensions in C, C++, #GoLang, and #RustAnd don’t forget our sister language, #RakuLang: @rakulang
Any more to add?
-
I don't know if #TheWeeklyChallenge has a Mastadon presence yet. If you're interested in fun coding challenges it can be worth a look.
https://theweeklychallenge.org/
The second of this weeks challenges is one of those fun O(2**n) ones where you want to come up with a plan beyond the obvious.
I'm happy I got it down to 1.5 mins in #Rakulang. And it will take pretty much the same time to calculate 1 through 15 which is cool.
(Of course that's on my 16 core dev box YMMV).
-
How to write Raku's trans routine/operator in Go
https://www.ciavash.name/blog/2022/02/13/how-to-write-raku-trans-sub-operator-in-go
#rakulang #go #golang #transliteration #WebScraping -
T - Easy way of writing test assertions which output good test descriptions and error messages in Raku
https://www.ciavash.name/blog/2022/02/13/T-easy-way-writing-test-assertions-good-test-descriptions-error-messages-in-raku
#rakulang #raku #testing #assertion #RakuModule #slang #RakuSlang -
[Ru] Библиотека модулей Raku: Зеркалируем репозитории
[En] Raku Module Library: Mirroring repositories
https://rakurs.atroxaper.net/2021-11-30-mirroring-zef-repository
#rakulang #zef #mirror -
Curry - A Raku module for currying functions plus partially applying them #rakulang #currying #FunctionalProgramming #PartialApplication
https://github.com/CIAvash/Curry