Day 13 – A Little R&R

A Little R&R Introduction Raku is a really nice language. Versatile, expressive, fast, dwimmy. The only problem I sometimes have with it is that it can be a little slow. Fortunately that can easily be solved by the NativeCall interface, which makes it easy to call C code in your Raku program. Now, as niceContinue reading “Day 13 – A Little R&R”

Day 12 – Making a simple bot in Raku

Making IRC bots is incredibly simple in Raku, thanks to IRC::Client. It allows you to create a very simple bot in about 20 lines of code. There’s a plugin system that allows easy re-use of code between multiple bots, and adding customized features can be as easy as dropping in an anonymous class. So, let’sContinue reading “Day 12 – Making a simple bot in Raku”

Day 8 – Parsing Firefox’ user.js with Raku (Part 2)

Yesterday, we made a short Grammar that could parse a single line of the user.js that Firefox uses. Today, we’ll be adding a number of test cases to make sure everything we want to match will match properly. Additionally, the Grammar can be expanded to match multiple lines, so we can let the Grammar parseContinue reading “Day 8 – Parsing Firefox’ user.js with Raku (Part 2)”

Day 7 – Parsing Firefox’ user.js with Raku

One of the simplest way to properly configure Firefox, and make the configurations syncable between devices without the need of 3rd party services, is through the user.js file in your Firefox profile. This is a simple JavaScript file that generally contains a list of user_pref function calls. Today, I’ll be showing you how to useContinue reading “Day 7 – Parsing Firefox’ user.js with Raku”

Day 4 – Not tripping over tripcodes

Greetings. Today we are going to look at an implementation of tripcodes, a kind of hashing used for signing posts anonymously on the Internet. There are different algorithms to do so, but one that we are interested in is one generating non-secure, old-fashioned tripcodes. So what is it? Say there is a website allowing toContinue reading “Day 4 – Not tripping over tripcodes”

Day 2 – CRUD with Cro::HTTP, a tutorial

Greetings! Today we will go through this tutorial about writing a simple CRUD service using Cro. For the impatient ones, link to the sources is at the end of the post. Why would I want to read this piece of text and code? A Cro::HTTP usage for a server-side application with authentication + authorization andContinue reading “Day 2 – CRUD with Cro::HTTP, a tutorial”