Day 9 – Raku code coverage

Although I love using Raku, the fact that it is still a relatively young language means that there is a fair amount that is lacking when it comes to tooling, etc. Until recently, this included a way to calculate code coverage: how much of the code in a library is exercised (=covered) by that library’sContinue reading “Day 9 – Raku code coverage”

Day 5 – Santa Claus is Rakuing Along

Santa’s operations were much improved year-over-year since his IT crew adopted Raku as their go-to programming language (see the articles from Raku Advent 2020). In addition, he and his non-techie elves found the language so easy for beginners to use, he decided to see if he could use it for managing the many task reports and other documents needed by individuals as well as managers.

Day 2 – Rotation of Log files in a nutshell

Santa has a cloud-based application that helps him to deliver the gifts to the children. Once the gifts have been delivered Santa registers the delivery operation through the deliveries.log file. Just after the inspector elves review this log file comparing it with the list of children to ensure that all the children have received correctlyContinue reading “Day 2 – Rotation of Log files in a nutshell”

Day 13 – Helping the Github Action elves

As a Raku Programming Language module developer, you are sometimes surprised by the tools that you use. In this case, yours truly was surprised by a recent update of the excellent App::Mi6 tool by Shoichi Kaji. After an upgrade, it started adding a .github/workflows/test.yml file to new distributions. And this in turn caused Github to test the distribution after each commit using GithubContinue reading “Day 13 – Helping the Github Action elves”

Day 10: My 10 commandments for Raku performances

1. The profiler you will use Raku has a nice visual profiler. No excuse to ignore it, it is extremely simple to use. Just run the profiler with raku –profile=myprofile.html foo.raku then open the generated HTML file in your favorite browser (for instance firefox myprofile.html &). This is an overview of what you can haveContinue reading “Day 10: My 10 commandments for Raku performances”

Day 7: Mixing Bash and Raku Using Sparrow

Sparrow is a Raku automation framework which could be easily integrated with many other programming languages. So if you come from no knowledge of the Raku language – you’re welcome. In this post I’ll show you have one can effectively mix Bash scripts and Raku language using Sparrow. The idea of Sparrow – to chooseContinue reading “Day 7: Mixing Bash and Raku Using Sparrow”

Day 5: Raku & Pakku

A hobby One day I woke and decided I want to learn programming as a hobby. For someone who doesn’t know much about the subject other than writing a few Bash scripts, words like Functional Programming, Object Oriented or even the word class by itself were mysterious. Lost Doing my research to find out whereContinue reading “Day 5: Raku & Pakku”

Day 9: a chain (or Russian doll) of containers

If you’re in the business, you’ve probably by now heard about containers. They can be described as executables on steroids, or also, as its namesake, a great way of shipping applications anywhere, or have then stored and ready to use whenever you need them. These kinda-executables are called images, and you can find them inContinue reading “Day 9: a chain (or Russian doll) of containers”