Day 23 – The Life of Raku Module Authoring

by Tony O’Dell Hello, world! This article is a lot about fez and how you can get started writing your first module and making it available to other users. Presuming you have rakudo and zef installed, install fez! Make sure that the last line is in your $PATH so the next set of commands all run smoothly. Now we can start writing the actualContinue reading “Day 23 – The Life of Raku Module Authoring”

Day 20 – Create beautiful text charts

Santa got his weekly gift-wrapping report from the Gift Wrapping department. It contained lots of numbers Every number corresponded to the gifts wrapped by every elf in the department in alphabetical order, starting with Alabaster Snowball, and continuing with Bushy Evergreen. But numbers don’t sing, and that made Santa not sing either. A simple wayContinue reading “Day 20 – Create beautiful text charts”

Day 12 – A long journey to Ethereum signatures

The Ethereum blockchain is essentially a transaction-based state machine. We begin with a blank state, before any transactions have happened on the network, and move into some final state when transactions are executed. The state of Ethereum relies on past transactions. These transactions are grouped into blocks and each block is chained together with itsContinue reading “Day 12 – A long journey to Ethereum signatures”

Day 11 – Unix philosophy without left-pad, Part 2: Minimizing dependencies with a utilities package

In the previous post, I made a case for why programming languages should have a utility library that provides small-but-commonly-needed functions. Today I’m introducing a Raku package that I hope will fill that gap and discussing how this fits with the Unix philosophy

Day 17: Becoming a Time Lord in Raku

I’ve lived within a few minutes of a time zone border for most of my life. The way we distinguished time wasn’t with the official monickers of “Eastern” and “Central” time. No, we used the much more folksy (and yet, also much cooler) terms “fast time” and “slow time”. Knowing which zone you were talkingContinue reading “Day 17: Becoming a Time Lord in Raku”

Day 15: Rudolph on Raku

Finding a way home to the North pole with Physics::Navigation So, Rudolph has been worried about getting Santa and the other reindeer back home to the North Pole after an exhausting flight to visit all the (well-behaved) Children on the Globe. He has heard a rumour that the North Pole keeps moving due to theContinue reading “Day 15: Rudolph on Raku”

Day 12: That Raku feeling

When we talk about measuring time, we could be thinking of a number of different ways to measure a number of different things. But in principle, I suppose we could group them into two large categories: We could be measuring the time that has passed in relation to some previous event, to see for exampleContinue reading “Day 12: That Raku feeling”

Day 8: Raku web templating engines: boost up the parsing performance

Modern Raku web templating engines A templating engine basically provides tools for effective metadata interpolation inside static files (templates). At web application runtime, the engine parses and replaces variables with actual content values. Finally client gets a HTML page generated from the template, where all metadata (variables, statements, expressions) has been processed. Raku ecosystem hasContinue reading “Day 8: Raku web templating engines: boost up the parsing performance”

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 18: What is my concurrent or parallel Raku program doing?

Raku makes it easy to introduce a bit of parallelism into a program – at least, when the solution lends itself to that. Its asynchronous programming capabilities also shine when building concurrent applications. During the last year, I’ve enjoyed employing both of these in my work. However, I also discovered that something was missing. ItContinue reading “Day 18: What is my concurrent or parallel Raku program doing?”