Day 18 – Dissecting the Go-Ethereum keystore files using Raku tools

Generally the Ethereum (Web3) keystore file is a kind of container for the private key, it has the specific structure mostly related to encryption details. Actually you will not find the private key there as a plain text, but the keystore file has everything to decrypt the private key… with some tricks surely. When youContinue reading “Day 18 – Dissecting the Go-Ethereum keystore files using Raku tools”

Day 14: Trove – yet another TAP harness

Since the early Pheix versions, I have paid a lot of attention to testing system. Initially it was a set of unit tests – I tried to cover a huge range of units like classes, methods, subroutines and conditions. In some cases I have combined unit and functional testing within one .t file, like it’sContinue reading “Day 14: Trove – yet another TAP harness”

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”