Day 12 – Mathematician’s Yahtzee

Santa was playing and losing yet another game of Yahtzee with Mrs. Claus and the elves when a thought occurred to him: why don’t you get points for rolling the first 5 digits of the Fibonacci sequence (1, 1, 2, 3, 5)? For that matter, why isn’t there a mathematician’s version of Yahtzee where you get points for rollingContinue reading “Day 12 – Mathematician’s Yahtzee”

Day 11 – Raku To The Stars

Datastar is a hypermedia systems library in the same tradition as htmx, Unpoly, Alpine AJAX, and Hotwire‘s Turbo. These libraries are generally Javascript/Typescript bundles that utilize the HTML standard to allow you to declaratively write AJAX calls or JS-powered CSS transitions as HTML tag attributes instead of hand-writing Javascript. @librasteve has been working on AirContinue reading “Day 11 – Raku To The Stars”

Day 5 – Tools for Gnome::Gtk4

A short while ago, Santa Claus came to me for a short visit to drink a cup of tea together. That was very pleasant, but I had the idea that there was something more, knowing that he is always busy, especially these days. After some time, he came forward and said that the elves hadContinue reading “Day 5 – Tools for Gnome::Gtk4”

Day 4 – Gift yourself a merry little PDF journal

I wanted to give myself the Xmas gift of a 2026 pdf journal this year. I had grand plans to create a fully fledged library for doing this, but ironically enough I just wasn’t that organised! But courtesy or the comprehensive PDF api by dwarring https://raku.land/zef:dwarring/PDF::API6 and with help from tbrowder’s Date::Names for human datesContinue reading “Day 4 – Gift yourself a merry little PDF journal”

Day 22 – Wrapping a Christmas Present

A few months back In the smoke-filled (virtual) room of the council of the high (from the smoke) elves, the wizened textualist Geoff, said “All of my stuff is in boxes and containers.” Empty shelves behind him indicated he was moving house. “When you have a complex module,” Geoff continued, “and its difficult to describeContinue reading “Day 22 – Wrapping a Christmas Present”

Day 25: Rakudo 2022 Review

In a year as eventful as 2022 was in the real world, it is a good idea to look back to see what one might have missed while life was messing with your (Raku) plans. Rakudo saw about 1500 commits this year, about the same as the year before that. Many of these were bugContinue reading “Day 25: Rakudo 2022 Review”

Day 12: RedFactory

Since the elves started using Red (https://raku-advent.blog/2019/12/21/searching-for-a-red-gift/) they thought it was missing a better way of testing code that uses it. They tested it using several SQL files that would be used before each test to populate the database with test data. That works ok, but that’s too hard to understand what’s expected from the test notContinue reading “Day 12: RedFactory”