The motivation One of the Rakudo features I worked on this year was to resolve an annoyance related to the Array.splice method. As reported in a GitHub issue called Array.splice insists on flattening itself: The author of the ticket tried all sorts of mechanisms to inform splice that the @newrow array should be inserted asContinue reading “Day 16 – Revision gating in Rakudo core”
Monthly Archives: December 2024
Day 15 – Matching Maps
Lizzybel was again walking through the corridors of North Pole Grand Central and was stopped by Nanunanu, one of the IT elves, with a face a little paler than usual. “So what is the problem?” Lizzybel asked. Nanunanu took a deep breath and started: “…so we have built this sorta in-memory database in a RakuContinue reading “Day 15 – Matching Maps”
Day 14 – Playing around with the new documentation components
After living with RakuDoc v2 for over a year, some things become normal that surprise others when I explain them. Here are a few things I do when documenting my software. 1. Shoving stuff down the file There are a couple of items needed in a changing document that should be easily managed, probably atContinue reading “Day 14 – Playing around with the new documentation components”
Day 13 – Content Storage For Raku Distributions
The S22 Content Storage speculation describes how Raku distributions could be stored and accessed by a (possibly federated) Raku ecosystem. The content-storage repository contains an implementation of that speculation, implemented using the Cro framework. This blog post gives a quick overview of the functionalities that are provided by the web-service that is provided by the content-storageContinue reading “Day 13 – Content Storage For Raku Distributions”
Day 12 – Graphs in Raku
This blog post discusses the development of graph theory algorithms in Raku. Moderate number of examples is used.
Day 11 – Counting up concurrency
by Hillel Wayne Consider the 4-step process S = abcd and the 3-step process T = xyz. The processes run concurrently and can interleave at any point, but must execute in sequence. So abxcyzd is a valid interleaving, but baxcyzd is not. Also, steps in different processes can occur simultaneously: abxcyzd is different from a[bx]cyzd. How many valid interleavings are there? I ran into thisContinue reading “Day 11 – Counting up concurrency”
Day 10 – How to give a Raku talk at TPRC – and why you should
My goal for this post is to convince you – yes, you, current reader – that you both can and should present a talk about Raku for The Perl & Raku Conference this year. Statistically, I’m assuming that you’re not currently planning to give a Raku talk, so I’ve got my work cut out forContinue reading “Day 10 – How to give a Raku talk at TPRC – and why you should”
Day 9 – The end of the year
Yes, this year is almost finished, and Santa Claus needs to get his work done. Of course, helped by many volunteers. But sometimes it is a bit too much. Well, Santa Claus is a tough man, I know that for sure, he can handle stress! The other day, however, he came rushing in, terrified, paleContinue reading “Day 9 – The end of the year”
Day 8 – Yet More Abilities for Iterables
by Mustafa Aydın Raku has a superb support for Iterables — for example, map is almost like a basis for whatever operation you’d like to do with your iterable or there is the Iterator protocol that is kind of a NAND gate that you can use to build any circuitry over your iteration logic. But would it be even finer to have moreContinue reading “Day 8 – Yet More Abilities for Iterables”
Day 7 – Conditionally Writeable Attributes
by landyacht While designing an event system for a personal project, I ran across a requirement which I knew could be implemented elegantly with Raku’s metaprogramming capabilities. Specifically, I wanted both sync and async events, with the sync events allowing mutation of fields (e.g. for cancellation), and the async ones being merely informational and thusContinue reading “Day 7 – Conditionally Writeable Attributes”