I’ve been doing the Weekly Challenges. The latest involved array analysis and matrix incrementing. (Note that this ends today.)| RogerBW's Blog: Latest posts
I’ve been doing the Weekly Challenges. The latest involved string manipulation. (Note that this ends today.)| RogerBW's Blog
This is the ninth of the HARC Stack essays. Previous <= HARC Stack combines HTMX with raku Air, Red and Cro to supply a fresh approach to website authoring. It may have taken nine instalments to get here, but it was worth the wait. Today we get to use the power of Red. Component Here’s […]| Raku::Journey
At the latest German Perl Workshop I held a 40 min beginner- to mid level talk about Raku (slides). It was about the habits of Perl programmers that turn contra productive in this new language. This article is a summarizing recapitulation of the pitfalls minus the intro about the history of Raku, the zef ecosystem and some general knowledge - for all those who could not attend or don't speak German.| blogs.perl.org
I’ve been doing the Weekly Challenges. The latest involved a date calculation and run-length encoding. (Note that this ends today.)| RogerBW's Blog
This document shows how to do Function Calling workflows with Large Language Models (LLMs) of Google's Gemini.| Raku for Prediction
This document shows how to do Function Calling workflows with Large Language Models (LLMs) of OpenAI.| Raku for Prediction
Този блог пост представя различни визуализации, свързани с хипотезата на Колац, използвайки Raku.| Raku for Prediction
Last week I attended the German Perl/Raku workshop 2025 in Munich, Germany. This is a retrospective of my experiences there and a summary of the talks.| P.T.C.
Perl I had a reasonably productive year, releasing several modules that I think/hope are useful for the wider ecosystem. Crypt::Passphrase This module manages the passwords in a cryptographically agile manner. That means that it can not only verify passwords using...| Leon Timmermans
Hi hackers! Today the MoarVM JIT project is nearly 9 years old. I was inspired by Jonathan's presentation reflecting on the development of MoarVM, to do the same for the MoarVM JIT, for which I have been responsible.| brrt to the future
Many years back, Larry Wall shared his thesis on the nature of scripting. Since recently even Java gained 'script' support I thought it would be fitting to revisit the topic, and hopefully relevant to the perl and raku language community.| brrt to the future
This year, there was another London Perl Workshop 2024, I decided to attend it.| Andrew Shitov
Solving the task from The Weekly Challenge 233, where you need to sort numbers by two dimensions.| Andrew Shitov
A solution to the task 1 of the Weekly Challenge 233, where the goal is to find the words constructed from the same letters.| Andrew Shitov
Two tasks from the Weekly Challenge 231 solved in the Raku programming language.| Andrew Shitov
Using Raku grammar, I created a simple calculator that works with Roman numbers, for example: `XXI + MCMXIX`.| Andrew Shitov
The Raku solution to the following task: Write a script to find out how many dates in the year are Friday 13th, assume that the current Gregorian calendar applies.| Andrew Shitov
Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.| Andrew Shitov
Let us ask ChatGPT to find a solution and then correct it to make it more Raku-ish. This task, the machine solved the thing from the first attempt, but you can follow how we managed to make it better and more compact. Most (except one) of the generated code workes without compiler errors, so I will not concentrate on it here.| Andrew Shitov
In this post, I am demonstrating different ways of computing factorials using the Raku programming language.| Andrew Shitov
I am happy to report that the first part of the Raku course is completed and published. The course is available at course.raku.org.| Andrew Shitov
This week’s task has an interesting solution in Raku. So, here’s the task: You are given two strings $A and $B. Write a script to check if the given strings are Isomorphic. Print 1 if they are otherwise 0.| Andrew Shitov
Today there’s a chance to demonstrate powerful features of Raku on the solution of Day 18 of this year’s Advent of Code. The task is to print the sum of a list of expressions with +, *, and parentheses, but the precedence of the operations is equal in the first part of the problem, and … Continue reading "Advent of Code 2020 Day 18/25 in the Raku programming language"| Andrew Shitov
In this post, I am telling a story of how updating covid.observer became a bit problematic, and how one of the developers of the Rakudo compiler helped not only to remove the errors but also to speed up the whole system by 2x.| Andrew Shitov
Here’s my Raku breakfast with the solutions of Week 91 of The Weekly Challenge. A couple of simple programs with Raku arrays.| Andrew Shitov
Here is my solution of the first part of Day 12 of this year’s Advent of Code. The point in this solution is that I use multi functions a lot. Well, actually, the whole logic of the program is based on the dispatching rules of the variants of a single multi function. We start with … Continue reading "Advent of Code 2020 Day 12.1/25 in the Raku programming language"| Andrew Shitov
Day 9 of Advent of Code is here and the task is the following. Take a list of numbers and find the first one, which is not the sum of two of the 25 preceding numbers.| Andrew Shitov
In this blog post, we explore some neat examples of graph computations using Raku. These examples are designed to be concise, straightforward, and compelling, showcasing the capabilities of Raku an…| Raku for Prediction
This year's London Perl and Raku Workshop is just 4 weeks away. We now have a pretty full schedule, so the call for presentations is now closed, however we might have room for one or two more talks depending...| lpw
Many years back, Larry Wall shared his thesis on the nature of scripting. Since recently even Java gained 'script' support I thought it wo...| brrt-to-the-future.blogspot.com
Hi hackers! Today the MoarVM JIT project is nearly 9 years old. I was inspired by Jonathan's presentation reflecting on the development of ...| brrt-to-the-future.blogspot.com
Back in ’21 I asked the question Can Raku replace HTML? As expected that rather click-baity title got a lot of complaints. So I couldn’t resist repeating the meme. If you are wondering,…| Open::Journey
The schedule for this year's London Perl & Raku Workshop is now visible: https://act.yapc.eu/lpw2024/schedule. Please please please (please please) make a point to mark those talks that you plan to attend as this will allow us to tweak the schedule a bit if some talks are more heavily favourited than others.| blogs.perl.org
Hi All! Given the number of talks submitted to this year's London Perl & Raku Workshop we have decided to reserve a third room in the venue. This will give us a bit more room on the schedule for talks, which is good as the other two rooms are now 90% full.| blogs.perl.org
Yep, that's right - the second half dozen talks have been accepted for this year's London Perl and Raku Workshop. This puts our schedule at approximately 80% full, so if you are thinking about talking at the workshop then submit your proposal now!| blogs.perl.org
Yep, that's right - the first dozen talks have been accepted for this year's London Perl and Raku Workshop. This puts our schedule at approximately 50% full, so if you are thinking about talking at the workshop then submit your proposal now!| blogs.perl.org
In which thousands become millions, as we achieve a near-linear solution.| blogs.perl.org
A toolbox language is a programming language that’s good at solving problems without requiring third party packages. My default toolbox languages are Python and shell scripts, which you probably already know about. Here are some of my more obscure ones. AutoHotKey Had to show up! Autohotkey is basically “shell scripting for GUIs”. Just a fantastic tool to smooth over using unprogrammable applications. It’s Windows-only but similar things exist for Mac and Linux.| Hillel Wayne
The question has been raised, how to get named arguments into sub EXPORT via a use-statement. The ever helpful raiph provided an answer, which in turn left me with the question, why he didn’t…| Playing Perl 6␛b6xA Raku
The London Perl & Raku Workshop (LPW) will take place this year on Saturday 26th October and you are encouraged to submit your talk proposals now. We have already had 30 registrations for the workshop so we anticipate a good turnout this year.| blogs.perl.org
Now and then, it’s good to remind ourselves what “There Is More Than One Way to Do It” means.| Code = Conversation
I’ve been doing the Weekly Challenges. The latest involved counting digits and matching bit-counts. (Note that this ends today.)| RogerBW's Blog
As the title states, I made Raku bigger because lol context (that’s how the Synopsis is calling **@) makes supporting feed operators fairly easy. I wonder if Larry added this syntax to Signat…| Playing Perl 6␛b6xA Raku
Picat is a research language intended to combine logic programming, imperative programming, and constraint solving. I originally learned it to help with vacation scheduling but soon discovered its planner module, which is one of the most fascinating programming models I’ve ever seen. First, a brief explanation of logic programming (LP). In imperative and functional programming, we take inputs and write algorithms that produce outputs. In LP and constraint solving, we instead provide a set o...| Hillel Wayne
I’ve been doing the Weekly Challenges. The latest involved array analysis and string merging. (Note that this ends today.)| RogerBW's Blog
In this blog post we provide aids and computational workflows for the analysis of the first Carlson-Putin interview held in February 9th, 2024. We mostly use Large Language Models (LLMs). We walk t…| Raku for Prediction
I’ve been doing the Weekly Challenges. The latest involved a lot of counting. (Note that this ends today.)| RogerBW's Blog
for a while, it has been bugging me that teams, companies, institutions and tool vendors keep on re-inventing the same wheels I have lost count of the ways that Contact information has been (re)imp…| Raku::Journey
Over on Reddit zeekar wasn’t too happy about Raku’s love of Seq. It’s immutability can be hindering indeed. my @nums = [ [1..10], ];@nums[0] .= grep: * % 2;@nums�…| Playing Perl 6␛b6xA Raku
The Perl 6 Weekly has been renamed to the Rakudo Weekly and can be found at: Thank you for visiting the Perl 6 Weekly the past years. It was a blast! Please adjust your RSS readers, email noti…| Weekly changes in and around Raku (Née Perl 6)
Larry Wall emerged, almost like a deus ex machina, to give his approval of changing the name of the Perl 6 Programming Language to “Raku”. This stirred up quite some reactions on t…| Weekly changes in and around Raku (Née Perl 6)
Consider the following Raku-developer-centric applications of ML/AI vision models: – Narration of UML diagrams – Code generation from narrated (and suitably tweaked) narrations of archi…| Raku for Prediction
According to Larry, laziness is a programmers virtue. The best way to be lazy is having somebody else do it. By my request, SmokeMachine kindly did so. This is not fair. We both should have been la…| Playing Perl 6␛b6xA Raku
My version of JSON::Class is now released. The previous post explains why does this worth a note.| LFlat, The Home of Vrurg
This will be a short one. I have recently released a family of WWW::GCloud modules for accessing Google Cloud services. Their REST API is, apparently, JSON-based. So, I made use of the existing JSON::Class. Unfortunately, it was missing some features critically needed for my work project. I implemented a couple of workarounds, but still felt like it’s not the way it has to be. Something akin to LibXML::Class would be great to have… There was a big “but” in this. We already have XML::C...| LFlat, The Home of Vrurg
In which I must change a conference talk.| blogs.perl.org
In which we pine for The Good Place,| blogs.perl.org
In which we reach the first plateau of clever, then (unfortunately) stop climbing.| blogs.perl.org
In which we search for a needle in a lendee | blogs.perl.org
In which we see Leonardo outside his native Nums, and that the World is not made of Ones.| blogs.perl.org
(Currently editing)| blogs.perl.org
In which we see that you can spell "numbers" without an e, and realize that first implies an ordering.| blogs.perl.org
IRC keeps insisting on being a good source of thought. A few days ago rcmlz wished to parallelise quicksort. Raku doesn’t sport a facility to make recursion “just work” with oodle…| Playing Perl 6␛b6xA Raku
While fighting with NativeCall to get github-flavoured-markdown to work, I stepped onto a nice idiom. As many C-libs, cmark-gfm does enjoy enums that hide bitmasks. They have to do that because C d…| Playing Perl 6␛b6xA Raku
While reading the source of RakuDoc::To::Text I spotted lizmat doing dispatch by hand. She defines quite a few subs that all take a RakuAST::Doc-type and return a Str. However, they are multi-candi…| Playing Perl 6␛b6xA Raku
This blogpost is written in memory of Bram Moolenaar — a true hero of text. Greg Donald reminded me of an old itch of mine. Any object does refer to its base-class but the other way is omitted. So …| Playing Perl 6␛b6xA Raku
I was always concerned about making things easier. No, not this way. A technology must be easy to start with, but also be easy in accessing its advanced or fine-tunable features. Let’s have an example of the former.| LFlat, The Home of Vrurg
I have managed to finish one more article in the Advanced Raku For Beginners series, this time about type and object composition in Raku.| LFlat, The Home of Vrurg
Once, long ago, coincidentally a few people were asking the same question: how do I get a method object of a class?| LFlat, The Home of Vrurg
The recording quality of the first Rakudo Core Development Class happened to be disastrous. Due to this I was very hesitant to publish it without attempting to get it fixed first. To the full extreme of it, I thought I can just re-record the screen part in higher quality and then apply the original audio. But last day I did some assessment of the video and came to the conclusion that even if re-recording is ever possible technically, it’d be too costly time-wise. Besides, the entire ending ...| LFlat, The Home of Vrurg
After a long marathon of coding for different projects a change of activity was required. Meanwhile, the series of publications had been neglected for too long. This needed to be fixed. It has been fixed..| LFlat, The Home of Vrurg
Let’s assume we have a type with multi-component name, like: class Foo::Bar { } And there is another class Baz for which we want it to be coercible into Foo::Bar. No problem!| LFlat, The Home of Vrurg
In which we move beyond Perfect Permutation.| blogs.perl.org