Day 16 – It’s Too Generic; Please Instantiate!

As the Christmas approaches, the time for unwrapping presents is near. Let’s review a present Rakudo release 2023.12 is going to have for you. Long ago I once got a question related to type capturing. Don’t remember the question itself, but remember the answer Jonathan Worthington gave to it (rephrasing up to what my memory managed to keep): “YouContinue reading “Day 16 – It’s Too Generic; Please Instantiate!”

Day 15 – An Object Lesson for the Elven

This post is a continuation of Day 5 – The Elves go back to Grammar School, you may recall that our elfin friends had worked out how to parse all the addresses from the many, many children who had emailed in their wish lists. Now, as they sing along to “Christmas is Coming”, they realiseContinue reading “Day 15 – An Object Lesson for the Elven”

Day 14 – The Magic Of Q (Part 2)

A few days after having done The Magic Of Q presentation, Lizzybel was walking through the corridors of North Pole Grand Central and ran into some of elves that had attended that presentation. When will you do the final part of your presentation? one of them asked. We could do it now if you want,Continue reading “Day 14 – The Magic Of Q (Part 2)”

Day 13 – Networks Roasting on an Open Fire, Part 3: Feeling Warm and Looking Cool

by Geoffrey Broadwell In parts 1 and 2 of these blog posts, I roughed out a simple ping chart program and then began to refactor and add features to improve the overall experience. It’s functional, but there’s a lot to improve upon — it doesn’t use the screen real estate particularly well, there are someContinue reading “Day 13 – Networks Roasting on an Open Fire, Part 3: Feeling Warm and Looking Cool”

Day 12 – Perspectives on RakuDoc Version 2

Just in time for Christmas This project started with the modest aim of documenting parts of Rakudoc V1 (what used to be called POD6 that had been specified, but not included in the original documentation. Except … some parts of the specification had not been implemented in the Pod::To::HTML renderer. And some parts were outdated. So aContinue reading “Day 12 – Perspectives on RakuDoc Version 2”

Day 11 – Networks Roasting on an Open Fire, Part 2: Axes to Grind

by Geoffrey Broadwell In part 1 of these blog posts, I roughed out a simple ping chart program that produced output like this as it ran: This is over-minimalist; a user couldn’t even tell the scale of the latency measurements. It’s not at all obvious whether this is a fast or slow connection, and whetherContinue reading “Day 11 – Networks Roasting on an Open Fire, Part 2: Axes to Grind”

Day 10 – The Magic Of Q

Santa continued their dabbling in the Raku Programming Language, but got confused by single quotes, double quotes, and all the things that start with q/. So they decided to have Lizzybel do an exposé about the mechanisms behind quoting. But I already did that 9 years ago! Lizzybel exclaimed! Well, I certainly don’t remember that,Continue reading “Day 10 – The Magic Of Q”

Day 9 – Networks Roasting on an Open Fire, Part 1: Whipuptitude

by Geoffrey Broadwell My home Internet connection is less than ideal. On the good days it’s fine I suppose, but on the bad days — and there are a lot of them — well, my ISP seems to be doing its darnedest to be earning coal in its collective stockings. Meanwhile I hear shouts across theContinue reading “Day 9 – Networks Roasting on an Open Fire, Part 1: Whipuptitude”

Day 8 – Make it Snow 2.0: The Snowfall Strikes Back

Introduction Seven years ago I wrote a blog post on the previous incarnation of this advent calendar that demonstrated a new library I had written, called Terminal::Print, by making a (very primitive) snowfall simulator. However, I was never entirely pleased with the outcome, especially after I saw this video about an implementation in APL thatContinue reading “Day 8 – Make it Snow 2.0: The Snowfall Strikes Back”

Day 7 – The Magic Of $/

Santa was dabbling a bit with regexes in the Raku Programming Language, just to satisfy their curiosity. Trying to find out how many children have a first name that starts with a vowel. That seemed like a nice little project! Since the Big Database Server at the North Pole was already heating up a lot,Continue reading “Day 7 – The Magic Of $/”