2011.08.28 in #5
Quick note on character encoding and using the JSON module
Flavio Poletti goes into a detailed description on how strings are handled within Perl regarding bytes and characters and how you should handle them. Then he explains how to use the JSON module to avoid issues with Unicode.
2011.09.09 in #7
Flavio Poletti introduces his 'yet to be fully released' module to make it easy to handle the environment in DotCloud
2011.11.19 in #17
Dist::Zilla, Pod::Weaver and bin
Flavio Poletti fights Dist::Zilla and Pod::Weaver in public. And wins! There is a certain value when someone describes the path to the solution and not only the solution. That helps people accept, that they are not expected to come up with a solution out of the blue. It also helps people learning the fine art of problem solving.
2012.03.24 in #35
Flavio Poletti created a command line tool that can take files and act on their lines as elements of sets to find out union and intersect and even to subtract one from the other. It looks interesting though I'd like to see an explanation of the use case his co-worker had that prompted the creation of this tool.
2012.03.28 in #36
Logging in Dancer
Flavio Poletti writes about the use of Log4perl together with Dancer.
2012.04.06 in #37
Parse::RecDescent and number of elements read on the fly
Flavio Poletti explains how he parses some grammar that has parts that are declared dynamically. Sort of changing the rules as you go along. I have a feeling that there should be an easer way to solve this but have not checked it deeply. Maybe you could do it? Maybe using Marpa?
2012.08.07 in #55
How to create Origami envelopes using Perl
I love it when people do nice things with Perl. I don't mean nice code, but nice results. Like in this case Flavio Poletti took a nice images, manipulated it a bit and created a printable PDF. All that using Image::Magick.
2013.12.26 in #127
Potrace is a tool to transform bitmaps into vector graphics. Graphics::Potrace, written by Flavio Poletti provides the Perl binding to it.
2015.02.15 in #186
"deployable" is a handful of tools to help you with remote management of multiple servers. It was born when there was no Puppet or Chef in town.
2015.04.26 in #196
Flavio presents his wrapperl script, which is on github. It provides a mechanism for localising scripts to multiple different environments.
2015.04.27 in #197
A general profile photo that looks in the camera
Flavio reminds us all that when you put a picture of a person on a slide (or a blog post, or an e-mail), make sure the person does not look away from the text. Either the person on the side should look at the text, s/he should straight ahead. The latter will indicate that the person on the page is interested in the reader.
2015.09.02 in #215
Changes, nags and git hooks
Want Dist::Zilla to check that the Changelog of your module has been updated before releasing a new version? Flavio did, and discovered that he was naught but a configuration away of total bliss.
2015.12.27 in #231
teepee — a command-line tool that takes JSON or YAML (eg retrieved from some API using
curl) and lets you slice and dice parts of it.
2016.01.23 in #235
2016.04.01 in #245
If I am not mistaken it is a templating engine using tags that resemble the tags of Template::Toolkit and input data in PSKV format. That might stand for Pipe Separated Keys and Values.
2016.05.19 in #252
Travis-CI and Perl
Notes from Flavio on using Travis-CI with perl projects.
2016.06.11 in #255
Do you document your functions as =headN or in a list as =item ? (Editor: I think POD should have semantic tags such as =function and =method)
2016.10.10 in #273
Dokku - Your Tiny PaaS
Flavio introduces Dokku, a tiny platform-as-a-service, which aims to make it easy to deploy a single service on a machine. The example he presents is a simple Mojolicious app.
2016.11.27 in #279
WebService::Fake - but still usable!
Working on something interfacing to a web service, but don't want to hit the real web service during development? Well, you know the saying: fake it till you can make it (build on production).
2017.03.01 in #293
Telegram Keyboard Button Encoding
Telegram is a messaging service, one of the best-known features of which is end-to-end encryption of your messages. In the client you can define custom buttons, and Flavio has used Perl to abuse this feature.
2018.01.06 in #337
Some Maths for Dobble
2018.01.14 in #338
A Simple Telegram Bot
Flavio gives us a great how-to for building bots with Bot::ChatBots::Telegram.
2018.04 in #352
A tiny post about a small app to draw random pictures, I hope you will enjoy!
2019.04.08 in #403
Hi from dibs... and more
A collection of articles about dibs, the Docker image build system
2019.04.08 in #403
Dibs - Remote Packs
2020.01 in #444
Reading QR Codes from Perl
2020.01.07 in #442
A RANDOM Maze with Curses
A brilliant thought provoking blog by Flavio. Please checkout the blog to learn about Curses.
2020.01.14 in #444
Scrape a Thread of Tweets
2020.01.20 in #444
2020.04 in #457
Euclid's Elements, illustrated
2020.04.07 in #455
More constraint programming
2020.04.12 in #455
Many articles by Flavio
I did not have his blog in my feed reader so now you just get a link to all his recent post, but from now on I hope I'll be able to include more of his posts.
2020.04.20 in #457
Allocating games in tournaments - 6 players matches, premium
also: Allocating games in tournaments - a program
2020.04.22 in #457
The Spatial Game of Ur
2020.04.23 in #457
Conway's Game of Life
Also: Conway's Game of Life - Sweeping counting
2020.04.25 in #457
2020.04.28 in #458
Ouch in Mojolicious
Flavio shared how to use Ouch in Mojolicious.
2020.05.05 in #459
Sorting an incidence matrix
2020.05.08 in #459
Resolving a (Steiner) design - constraints and search
2020.05.08 in #459
Vue this blog
Getting started to convert a plain blog to use Vue.js
2020.05.10 in #459
Content negotiation in Mojolicious
2020.05.11 in #460
A 4-faces die from a 6-faces die
Flavio sharing ideas how to deal with 4-faces die.
2020.05.14 in #460
Counting tags in this blog
Flavio shared Perl solution for counting tags in blog.
2020.05.19 in #461
A Quiz from my past self
What is Ordeal::Model::ChaCha20 ?
2020.05.20 in #461
Global string matching quirks
Looking at the source code of Ordeal::Model::Parser
2020.05.21 in #461
A parser for Ordeal::Model
2020.05.22 in #461
2020.05.25 in #462
Ordeal::Model::Parser: parsing generics
Flavio shared generics parsing function using Ordeal::Model::Parser.
2020.05.26 in #462
Flavio shared domain parsing function using Ordeal::Model::Parser.
2020.05.28 in #462
Flavio shared his experience with Git::Wrapper. Must Read.
2020.05.29 in #462
ETOOBUSY automated publishing
Falvio shared his fun with automated publishing.
2020.05.30 in #462
Post status on Mastodon
Falvio shared his work on Mastodon.
2020.06.01 in #463
Post status on Twitter
use MojoX::Twitter; that leverages the excellent Mojo toolkit that is shipped with Mojolicious.
2020.06.02 in #463
Notifications for busypub
busypub, a little Perl program to automate publishing blog posts that were written beforehand.
2020.06.08 in #464
Some CC0 images
Interesting facts about the change in licensing of images by Pixabay.
2020.06.09 in #464
Fun project similar to iGal. Worth checking out.
2020.06.10 in #464
Find out more about Path::Tiny.
2020.06.11 in #464
Rebase and retag
Find out more about busypub system.
2020.06.12 in #464
Rebase and retag, but manually
Interesting take on Git hooks.
2020.06.13 in #464
Multipath TCP - reminder to study
Have fun with Multipath TCP.
2020.06.20 in #465
Restart from skfold
I was wondering why have Flavio not posted for so long
2020.06.21 in #465
skfold is usable!
skfold is a universal scaffolding tool. It sounds like a very nice project. It could be extended to all kinds of non-Perl projects to provide an 'easy way to get started with X'. The question though how can you make skafold easily distributable? Asking the users to install Perl and on top of that install skafold would probably limit the reach of the project.
2020.06.22 in #466
skfold - getting started with simple files
Quick and short introduction to skfold by Flavio.
2020.06.23 in #466
skfold - repeated files
In this blog, Flavio dealing issues with skfold.
2020.06.24 in #466
skfold - one-off files
Flavio sharing tips to use dibs module.
2020.06.25 in #466
Today I Learned: fatpack and PERL5LIB
Flavio shared the issue and fix using PERL5LIB.
2020.06.26 in #466
Finally getting skfold fatpacked.
2020.06.27 in #466
Dice for Bargain Basement Bathysphere (of Beachside Bay)
Flavio shared dice game in this blog.
2020.06.28 in #466
skfold - documentation
Deal with skfold documentation.
2020.07 in #471
Benchmarking simplified implementations of NestedLoops
Iterative counterparts of recursive function are not always more efficient.
2020.07 in #471
Iterator from loop
A way to turn an exhaustive loop into an iterator.
2020.07.01 in #467
Docker base images for Perl
Check out ,perldi,the GitHub repository of Docker images for Perl developer
2020.07.02 in #467
SVG documentation cleanup proposal
There are several modules on CPAN dealing with SVG and some of them has issues with their documentation.
2020.07.04 in #467
SVG DOM tree visit
I have written about SVG extensively. I event maintained the SVG module for some time and now Manwar is the maintainer. So I am happy Flavio is playing with it.
2020.07.06 in #468
What is Bézier curves? well read the short blog to find out more about it.
2020.07.07 in #468
Posts publishing routine in a script
In the blog, Flavio shared his automation script for publishing.
2020.07.08 in #468
Derivatives of Bézier curves
If you read the earlier blog about Bézier curves then you are going to find this interesting as well.
2020.07.09 in #468
Extremes for Bézier curves
In this blog, Flavio take us through the mathematic formula behind the derivative for Bézier curves.
2020.07.10 in #468
This was fun reading, as it solved the encoding issue in one of Flavio script.
2020.07.11 in #468
Parsing toolkit in cglib
Find out about Parser for Object::Model. I am not sure if I understood the point behind it.
2020.07.12 in #468
Parsing SVG paths
A complete solution to parsing SVG path, pretty serious coding.
2020.07.14 in #469
SVG path bounding box: segments
Where Flavio start looking into the SVG path bounding box... starting simple.
2020.07.15 in #469
SVG path bounding box: merge multiple boxes
Merging many bounding boxes together.
2020.07.20 in #470
Ellipses (for SVG): mapping to SVG representation
Flavio dealing with Ellipses in this short blog.
2020.07.21 in #470
Ellipses (for SVG): finding the center
Flavio continued playing with Ellipses finding the center.
2020.07.22 in #470
Ellipses (for SVG): parameter values
In this blog, Flavio trying to figure out parameter values.
2020.07.23 in #470
Ellipses (for SVG): transformation implementation
Time to de some transformation now in this blog.
2020.07.24 in #470
SVG path bounding box: arcs of ellipses
Exploring bounding box in this short blog.
2020.07.25 in #470
Trigger rebuild of blog in GitHub Pages
Interesting blog dealing with breakdown of GitHub services.
2020.07.26 in #470
Some Time Later
Flavio is having too much fun with SVG. Check it out yourself.
2020.07.27 in #471
NestedLoops from Algorithm::Loops
2020.07.28 in #471
A simplified recursive implementation of NestedLoops
A possible implementation that is compatible in interface but only offers a subset of the functionalities.
2020.07.29 in #467
skfold - a Docker image
Flavio responds to the question I asked 2 weeks ago about the ease of installation of skfold with 3 different answers. Which one do you like?
2020.07.30 in #467
suexec with user id 0
2020.08 in #475
A card layout - in Perl
2020.08.03 in #472
Support of dynamic dimensions for nested loops
Flavio nested lLoops implementation of the iterator solution.
2020.08.04 in #472
Deep clone of a data structure in Perl
Flavio shared various method of deep cloning.
2020.08.05 in #472
Encrypting with OpenSSL enc
Deep secret of openssl command is exposed in the blog.
2020.08.06 in #472
Find out the power of Log::Log4perl::Tiny as shared by Flavio.
2020.08.07 in #472
SVG path in a rectangle
Detailed SVG analysis with regard to dealing with rectangle.
2020.08.08 in #472
Term::ANSIColor and (lack of) the terminal
Did you ever want to have colourful terminal? Please checkout the blog for answer.
2020.08.09 in #472
JSON::PP - an unsung hero?
Flavio shared the little secret JSON::PP has been part of core Perl since May 2011.
2020.08.10 in #473
Module::Runtime helps you load modules whose name you don’t know beforehand.
2020.08.11 in #473
Digest and identifiers
Digest comes handy for generating quick and dirty identifiers.
2020.08.12 in #473
A couple thoughts about Perl 7
2020.08.14 in #473
Base64 in Perl
2020.08.15 in #473
Automated Mozart, by larsen
Larsen (aka. Stefano Rodighiero) used Markov chains to generate music automatically, starting from an example MIDI file. Alas, after some time his Automatic Music with Perl became a bit stale and the pointer to the code was lost...
2020.08.17 in #474
Rational numbers in Perl
Ever had to deal with rational numbers, please check out the blog for short introduction.
2020.08.18 in #474
Quick-and-dirty capturing of STDOUT in Perl
Another short and sweet introduction about capturing STDOUT.
2020.08.19 in #474
Take it as a gentle reminder about the cool distribution.
2020.08.20 in #474
Interesting take on hash-based message authentication code.
2020.08.21 in #474
HMAC in Perl
Flavio introduction to Digest::SHA.
2020.08.22 in #474
SVG Ellipses again: representing with NURBS
In this blog, Flavio shared the further discussion on SVG Ellipses.
2020.08.23 in #474
A card layout
Flavio playing with card layout in this blog.
2020.08.30 in #475
TechWorld with Nana
2020.09 in #477
Ordeal::Model gets a Raw backend
Ordeal::Model is a Perl module that basically serves the needs of ordeal, a small semi-public web application to randomly draw cards.
2020.09 in #479
Another look at parsing XML... this time with more meat inside.
2020.09.02 in #480
PWC080 - Count Candies
Thoroughly discussed the task in great detail.
2020.09.04 in #476
Fixing an example in Mojolicious
Flavio fixed bug he found in a Cookbook for Mojolicious.
2020.09.08 in #477
EventSource and buffering
If your application serving the EventSource web service is behind a (reverse) proxy, you might want to know how to disable buffering.
2020.09.09 in #477
CORS quick note
2020.09.10 in #477
Sending 204 'No Content' from Mojolicious
Set status to 204 AND pass an empty text/data too.
2020.09.11 in #477
New release of Bot::ChatBots::Telegram
Just upgrading the dependency.
2020.09.12 in #477
Trying Cairo: a Docker image
Cairo is a 2D graphics library with support for multiple output devices.
2020.09.13 in #477
Trying Cairo in Perl
2020.09.14 in #478
A wrapper for asciinema
It is nice introduction to Asciineme for me. Never heard of it before.
2020.09.18 in #478
I loved the discussion of task. It is fun to see how others look at a particular problem. There is plenty to learn from it.
2020.09.19 in #478
PWC - Left Rotation
Flavio discussed various aspects of task. It is worth reading the discussion.
2020.09.21 in #479
CSS sprites can be cute
2020.09.22 in #479
PWC079 - Count Set Bits
Flavio made the blog to his daily blog routine. Cool attempt.
2020.09.23 in #479
PWC079 - Trapped Rain Water
A very interesting approach to Trapped Rain Water task. Nice work.
2020.09.24 in #479
Disabling autohistory in Term::ReadLine
It's possible to disable the autohistory feature in Term::ReadLine backends and take control of how to populate history.
2020.09.25 in #479
REX - Shallow XML parsing
Shallow parsing of XML with a regular expression.
2020.09.27 in #479
Looking at the internals of Mojolicious is always interesting.
2020.09.28 in #480
An update to quenv
Short blog post about quenv - quick environment
2020.09.29 in #480
One year of posting on ETOOBUSY
Finally completed one year of daily posting on ETOOBUSY.
2020.09.30 in #480
PWC080 - Smallest Positive Number
Nice and simple solution to the Smallest Positive Number task.
2020.10.01 in #480
Area of a triangle
Interesting way to figure out the area of a triangle.
2020.10.03 in #480
PDF::Reuse - deep diving in the past
Nice use of PDF::Reuse.
2020.10.04 in #480
Blog: align master to commit
Handy tips to align master.
2020.10.06 in #481
Area of a triangle, again
How the triangle's area should be really calculated.
2020.10.07 in #481
Stockpiling blog posts
Sometimes I can write a few posts ahead of time... but stockpile them for publishing when I run out of time. Git helps.
2020.10.08 in #481
PWC081 - Common Base String
Thorough analysis of Common Base String task.
2020.10.09 in #481
PWC081 - Frequency Sort
Interesting discussion about the Frequency Sort task.
2020.10.11 in #481
A little shell script to keep a Perl program under check.
2020.10.13 in #482
PWC082 - Common Factors
Flavio continued fun with weekly challenge task Common Factors.
2020.10.14 in #482
PWC082 - Interleave String (but not really!)
Flavio discussing interleave string task with question.
2020.10.20 in #483
Stein's algorithm for GCD
Flavio read about Stein's algorithm for calculating the greatest common divisor between two integers and found it interesting.
2020.10.21 in #483
PWC083 - Words Length
Regex at its best, must read.
2020.10.22 in #483
PWC083 - Flip Array
Flavio shared detailed analysis of Flip Array task.
2020.10.28 in #484
PWC084 - Reverse Integer
Flavio continued his daily blog posts with yet another one sharing his solution to Reverse Integer.
2020.10.29 in #484
PWC084 - Find Square
Flavio discusses the Find Square task with great detail in this blog post.
2020.11.01 in #484
Add line numbers to code snippets
Flavio shared a tip to add line numbers to code snippets.
2020.11.03 in #485
Fantasy Name Generator - a parser
A parser for the grammar in Fantasy Name Generator
2020.11.04 in #485
Global matching in scalar context
2020.11.05 in #485
PWC085 - Triplet Sum
You don't want to miss this discussion on the subject. It is always fun to read Flavio's blog.
2020.11.06 in #485
PWC085 - Power of two integers
Flavio made the task look like a walk in the park. I loved this approach.
2020.11.08 in #485
2020.11.11 in #486
PWC086 - Pair Difference
Flavio shared his solution to Pair Difference with a cool discussion.
2020.11.12 in #486
PWC086 - Sudoku Puzzle
Flavio made a difficult task look simple. Amazing blog post.
2020.11.13 in #486
Find fishy Pods in Kubernetes
Flavio was playing with Kubernetes in his blog post to figure out pods.
2020.11.14 in #486
Pointer to element
Flavio shared a gem of code to traverse a hash of hashes to get to a specific item.
2020.11.15 in #486
Hanging Persistent Volumes in Kubernetes
Flavio continued playing with Kubernetes with regard to Persistent Volumes.
2020.11.18 in #487
PWC087 - Longest Consecutive Sequence
Flavio took the discussion to another level. Highly Recommended.
2020.11.19 in #487
PWC087 - Largest Rectangle
Flavio once again shared nice ideas. Must Read.
2020.11.23 in #488
Variables, loops, and redirections
Interesting discussion about the very basics of variables, loops and redirections.
2020.11.24 in #488
Put a file in a Kubernetes Pod
Flavio has another gem of a blog post showing how to put a file in a Kubernetes pod.
2020.11.26 in #488
PWC088 - Array of Product
Flavio continued his weekly challenge journey, having so much fun.
2020.11.27 in #488
PWC088 - Spiral Matrix
Flavio's style of question and answer in his blog post makes me think again and again.
2020.11.29 in #488
Peek in containers
Take a peek into containers with this short blog post.
2020.12 in #481
A cheap trick to manipulate PERL5LIB
Manipulating PERL5LIB for locally installed programs.
2020.12.01 in #489
PWC089 - GCD Sum
I love Flavio in the same spirit as he mentioned me in this blog post. He is simply incredible.
2020.12.02 in #489
PWC089 - Magical Matrix
Flavio's engaging writing skill is very addictive. Please check it out yourself.
2020.12.03 in #489
The blessing of forgetting
Forgetting is good because you can enjoy the (re)discovery.
2020.12.11 in #490
PWC090 - DNA Sequence
One might say there is not much to talk about in DNA task. I would recommend Flavio's blog post to disprove that point.
2020.12.12 in #490
PWC090 - Ethiopian Multiplication
Straight to the solution without any discussion.
2020.12.15 in #491
PWC091 - Count Number
Flavio showing the power of Perl regexes. If that's not enough, then you also get non-regex solution as well.
2020.12.16 in #491
PWC091 - Jump Game
Flavio made the Jump Game task look like schoolboy job. Impressive.
2020.12.17 in #491
Advent of Code 2020 - Day 13
2020.12.18 in #491
Multidimensional Conway's Game of Life
Addressing Conway's Game of Life with a different approach for a multidimensional infinite space.
2020.12.20 in #491
Try Marpa to blow a mosquito with a cannon.
2020.12.22 in #492
PWC092 - Isomorphic Strings
Flavio knows the art of breaking task into pieces and then everything looks so simple and easy. Great job.
2020.12.23 in #492
PWC092 - Insert Interval
Flavio pictorial breakdown of Insert Interval task is really cool. Must Read.
2020.12.24 in #492
The Definitive Conway's Game of Life
Flavio introducing the Conway's Game of Life.
2020.12.26 in #492
Generalized Chinese Remainder Theorem
Flavio playing with Chinese Remainder Theorem. Nice trick with numbers.
2020.12.28 in #493
PWC093 - Max Points
As expected, Flavio took us to the another planet with great story line. Highly Recommended.
2020.12.29 in #493
PWC093 - Sum Path
Flavio dealt with 'Sum Path' task in a unique way. Interesting take, must read.
2020.12.31 in #493
2020 in retrospect
2021.01 in #497
AoC 2016/19 - Dynamic Josephus
I was very happy to get past puzzle 19 from the 2016 edition of Advent of Code, but let's admit two facts: I didn't demonstrate that the heuristic is actually a rule; This wouldn't help in some other general case.
2021.01 in #497
Permutations with Heap's Algorithm
All permutations over N objects can be generated by Heap's Algorithm.
2021.01.02 in #493
Dijkstra Algorithm - as functions only
2021.01.06 in #494
PWC094 - Group Anagrams
Flavio's style of blogging is very interesting. Reading his blog is a kind of magic; it always keeps you engaged.
2021.01.07 in #494
PWC094 - Binary Tree to Linked List
Flavio showing the power of code reuse and proving the point - 'Don't reinvent the wheel'.
2021.01.11 in #495
AoC 2016/11 - New algorithm: A*
On with Advent of Code puzzle 11 from 2016: moving to the A* algorithm.
2021.01.12 in #495
AoC 2016/11 - New representation
Adopting a new, more compact representation.
2021.01.13 in #495
PWC095 - Palindrome Number
Flavio is being a daily-blogging star. Please find yet another powerful discussion about 'Palindrome Number' task.
2021.01.14 in #495
PWC095 - Demo Stack
Before I read anything else, I check the section 'The questions' as it explains the technical errors in the task. It really scares me everytime.
2021.01.15 in #495
AoC 2016/11 - New parsing
Parsing inputs to fit the New representation.
2021.01.16 in #495
AoC 2016/11 - New identifier
A new identifier sub for the new representation.
2021.01.17 in #495
AoC 2016/11 - New heuristic
2021.01.18 in #495
AoC 2016/11 - New successors
2021.01.19 in #496
AoC 2016/11 - Part 2 solution
Setup search using AstarX.pm
2021.01.20 in #496
PWC096 - Reverse Words
Flavio using the power of regex to solve the "Reverse Words" task. Nice and easy to follow.
2021.01.21 in #496
PWC096 - Edit Distance
Straight implementation of pseudocode from Wikipedia. No fancy stuff. A pure Perl solution.
2021.01.22 in #496
AoC 2016/11 - Optimization
2021.01.23 in #496
AoC 2016/15 - Chinese Reminder Theorem - again!
Thank you Flavio for the refresher, it is always fun to revisit.
2021.01.24 in #496
AoC 2016/19 - Josephus problem
Never heard of it before, thanks to Flavio, I learnt something new today.
2021.01.25 in #497
AoC 2016/19 - Halving Josephus
Realizing the folly of their present-exchange rules, the Elves agree to instead steal presents from the Elf directly across the circle. If two Elves are across the circle, the one on the left (from the perspective of the stealer) is stolen from. The other rules remain unchanged: Elves with no presents are removed from the circle entirely, and the other elves move in slightly to keep the circle evenly spaced.
2021.01.27 in #497
PWC097 - Caesar Cipher
Flavio is not scared of an eval-based solution. Must Read.
2021.01.28 in #497
PWC097 - Binary Substrings
Flavio kept the binary substrings solution simple using just a for loop.
2021.01.30 in #497
Iterator-based implementation of Permutations
An iterator-based implementation of Permutations with Heap's Algorithm. You saw it coming.
2021.01.31 in #497
AoC 2016/24 - Brute-force for a Traveling-Salesman-like problem
On with Advent of Code puzzle 24 from 2016: a brute-force approach to a problem similar to the Traveling Salesman Problem.
2021.02 in #501
How to make Perl much more readable by formatting the code. Though I am not sure having a variable called $star = '*'; is a good idea, neither do I easily understand multi-level ternary operators.
2021.02.02 in #498
AoC 2017/12 - Rediscovering Union-Find
Union-Find algorithm implemented in Perl.
2021.02.03 in #498
PWC098 - Read N-characters
You don't want to miss the Questions section followed by the solution. Great work.
2021.02.04 in #498
PWC098 - Search Insert Position
Flavio seems to have endless energy to carry on blogging on daily basis for months. The best part is that the quality is top of the range.
2021.02.05 in #498
xmpl - an example web application
A web application to demonstrate a persistent key-value store.
2021.02.06 in #498
xmpl - the key/value API
Explore the model behind the API for xmpl web application.
2021.02.08 in #499
xmpl - on-file key/value store
We will take a closer look at the implementation of an on-file key/value store in xmpl. This post is part of a series.
2021.02.09 in #499
xmpl - remote key/value store
We will take a closer look at the implementation of a remote key/value store in xmpl. This post is part of a series.
2021.02.10 in #499
PWC099 - Pattern Matching
Flavio made good use of Perl regexes to solve the "Pattern Match" task.
2021.02.11 in #499
PWC099 - Unique Subsequence
Flavio presented us two flavours: recursive and regex versions. Highly Recommended.
2021.02.12 in #499
xmpl - the API for browsers
We will take a closer look at the implementation of the API available to the browsers in xmpl. This post is part of a series.
2021.02.13 in #499
xmpl - the "healthz" API
A closer look at the implementation of the “healthz” API in xmpl. This is a series of posts.
2021.02.14 in #499
xmpl - the metrics API
A closer look at the implementation of the metrics API in xmpl. This is a series of posts.
2021.02.17 in #500
PWC100 - Fun Time
Flavio's beautifully laid out solution is very pleasing.
2021.02.18 in #500
PWC100 - Triangle Sum
I enjoy the story behind the solution. The solution itself is so trivial.
2021.02.22 in #501
Mojo::UserAgent introductory notes
Some notes about using Mojo as a web client.
2021.02.23 in #501
xmpl - remote key/value store healthz revisited
Changing approach to establish the health of a KVStore::Remote object for xmpl. With rationale.
2021.02.28 in #501
xmpl - visibility API
So you thought that the neverending series about xmpl was over, didn't you?!? Yet another little facility...
2021.02.28 in #501
IPC::Cmd considered harmful
I prefer to use Capture::Tiny, but it is not in the core. (Which is a whole separate discussion.) The post got extensive feedback on Reddit.
2021.03.03 in #502
PWC102 - Rare Numbers
For me, the section "The questions" is more important than "The solution". He explained in great detail.
2021.03.04 in #502
PWC102 - Hash-counting String
Flavio threw out a challenge to readers of his blog. Find out more about it.
2021.03.08 in #503
One of the virtues of Perl is the long backward compatibility, but the developers of Mojolicious play by a different ruleset. They are ready to break backward compatibility to allow for development. It certainly has a disadvantage when it bites you, but maybe that's a better choice than being stuck with features that could be provided in a better way, or that were just plain wrong even when they were introduced. Perl has plenty of both. By being ready to pay the price of incompatible changes Mojolicious can clean up those issues.
2021.03.09 in #503
dibspack-basic enhancement for packages
2021.03.10 in #503
PWC103 - Chinese Zodiac
Flavio is on fire with his task analysis. Always pleasure to read his blog. Keep it up.
2021.03.11 in #503
PWC103 - What's playing?
The typo in the original task description seems to have confused him a lot. Anyway he got it in the end. Great.
2021.03.13 in #503
A path function in dibs
2021.03.15 in #504
A very interesting find by Flavio that can make testing apps hassle-free.
2021.03.16 in #504
Quick introduction to teepee.
2021.03.17 in #504
PWC104 - FUSC Sequence
Flavio making good use of the bit operator to get the job done. Interesting.
2021.03.18 in #504
PWC104 - NIM Game
Interactive game by Flavio. Have fun.
2021.03.23 in #505
Mininet topology visualization with Graphviz
2021.03.24 in #505
PWC105 - Nth root
I am not sure if I understood the line "the exponentiation operator in Perl is right associative". I wish the was more discussion on this subject.
2021.03.25 in #505
PWC105 - The Name Game
I absolutely love "the questions" section and had a laugh. Keep up the humour.
2021.03.26 in #505
Poor man's sequence diagrams
2021.03.27 in #505
Mininet topology visualization with Graphviz from Perl
2021.03.28 in #505
... and at first I thought Flavio is talking about xkcd...
2021.03.29 in #505
2021.03.30 in #506
A pull request for Crypt::LE
Flavio's contribution to Crypt::LE is very handy. Please check it out.
2021.03.31 in #506
PWC106 - Maximum Gap
Flavio's style of blogging is really cool as you don't just get a fine solution but also fun discussion as well.
2021.04 in #507
2021.04. in #506
Flavio shared the power of Date::Parse. Find out the secret for yourself.
2021.04.01 in #506
PWC106 - Decimal String
Flavio went beyond what was expected in the task. I need to revisit hi blog post to get to the bottom of it.
2021.04.06 in #507
Fatpack makes it easy to create a single-file distribution from your perl-only application. So how can you distribute Fatpack itself as a Fatpack?
2021.04.07 in #507
PWC107 - Self-descriptive Numbers
Flavio was curious to know the reason behind the weekly challenge. Well, the motto is to have fun and share knowledge. Thanks for your participation.
2021.04.08 in #507
PWC107 - List Methods
Flavio's fun story around the task is very creative. You don't want to miss it either.
2021.04.09 in #507
Readonly::Tiny is better than constant.
2021.04.14 in #508
PWC108 - Locate Memory
Flavio makes good use of the core Perl library. Nice interpretaion.
2021.04.15 in #508
PWC108 - Bell Numbers
Flavio shares the power of state variables. Please check it out yourself.
2021.04.17 in #508
Another trick for PERL5LIB
Flavio shared a really useful trick dealing with PERL5LIB.
2021.04.19 in #509
All positive integer sums, as an iterator
2021.04.20 in #509
All partitions of a set - preliminary considerations
2021.04.21 in #509
PWC109 - Chowla Numbers
Very nicely organised one-line subroutines. Looks elegant and clean. Great work.
2021.04.22 in #509
PWC109 - Four Squares Puzzle
Flavio never just solves the task but also gives us more than just solution. You don't want to miss out.
2021.04.23 in #509
All partitions of a set - rearranging addends
2021.04.25 in #509
All partitions of a set into same-sized subsets
2021.04.28 in #510
PWC110 - Valid Phone Numbers
Flavio never misses the opportunity to surprise us. Thanks for the short and sweet discussion on the subject.
2021.04.29 in #510
PWC110 - Transpose File
Flavio shared a special use of open(). Thanks for sharing the knowledge.
2021.04.30 in #510
Heail - head and tail together
Flavio once again created a very handy tool, Heail, in this blog post.
2021.05 in #511
xmpl - the page configuration API
xmpl allows you to set up a quick webbish example application that provides, at its basic level, a key-value store. With time, it has grown to support a few additional integrations, e.g. it supports Prometheus-compatible metrics and Kubernetes-compatible 'healtz' endpoints.
2021.05.01 in #510
JSONify a string
Flavio continued with his daily blogging series and presents how to stringify CSS as JSON.
2021.05.05 in #511
PWC111 - Search Matrix
I am amazed how algorithm complexity is calculated. I still don't understand it, sorry.
2021.05.06 in #511
PWC111 - Ordered Letters
Flavio always surprises me with his analysis. This time we get a Unicode lesson.
2021.05.07 in #511
All partitions of a set - W. Luis Mochán style
2021.05.08 in #511
Avoid the 'butterfly operator' with command-line options
2021.05.09 in #511
2021.05.12 in #512
PWC112 - Canonical Path
Flavio presented a very concise regex solution to the Canonical Path task. Thanks for sharing.
2021.05.13 in #512
PWC112 - Climb Stairs
Flavio shared a very interesting story and a unique algorithm. Well done. Keep it up.
2021.05.14 in #512
Thank you Flavio for a detailed discussion on this subject.
2021.05.17 in #513
Killing spiders - a fresh look on Chowla Numbers
2021.05.19 in #513
PWC113 - Represent Integer
Flavio shared the mathematical expression for the task. Lot to learn from his work. Keep up the great work.
2021.05.20 in #513
PWC113 - Recreate Binary Tree
I have a high regard for those who present the tree like structure. Although it is not part of the task, some did it on their own. Thank you.
2021.05.25 in #514
Flavio continued with his daily blog series and introduced Term::Twiddle with a nice short video.
2021.05.26 in #514
PWC114 - Next Palindrome Number
When I see no questions being asked in the blog post, it means a lot. It reminds me of my early days with Raku.
2021.05.27 in #514
PWC114 - Higher Integer Set Bits
Flavio used brute force method to get the desired result. Small and compact solution.
2021.06 in #517
The real PAUSE workaround
2021.06 in #517
Plot data on the terminal
2021.06.01 in #515
Open, sysopen, read, sysread... oh my!
open and read are usually fine
2021.06.04 in #515
Crypt::URandom might come handy for portability.
2021.06.05 in #515
Using Crypt::Argon2 is probably a better alternative to Bcrypt password hashing.
2021.06.06 in #515
Notes/tutorial for using Mojolicious::Plugin::Authentication.
2021.06.07 in #516
A practical use case showing the power of Mojolicious::Plugin::Authentication.
2021.06.09 in #516
PWC116 - Number Sequence
I enjoyed Raku solution more as it reminds me how I started using Raku. Brilliant job.
2021.06.10 in #516
PWC116 - Sum of Squares
Flavio's commentary on Raku features in interesting. Once again, the Raku solution wins the race for me. Thanks for sharing.
2021.06.12 in #516
use VERSION - but how?
Flavio sharing an interesting use of VERSION.
2021.06.13 in #516
EPAN - Exclusive Perl Archive Nook
Flavio's 10-year-old code is finally out in public.
2021.06.14 in #517
PAUSE parses the text in your code to see which modules you provide. Unfortunately that means it also includes names that are only mentioned in the documentation or in strings that never get executed. This can lead to unpleasant side-effects. How can you avoid these?
2021.06.16 in #517
PWC117 - Missing Row
Flavio's regex magic for the Missing Rows task is mindblowing. It took me some time to understand it. Thanks for sharing.
2021.06.17 in #517
PWC117 - Find Possible Paths
Flavio's extensive discussion of the Find Possible Paths task is something you don't want to miss. It is the kind of discussion I always look for in a PWC blog. Thank you Flavio.
2021.06.18 in #517
More robust self-recursion
2021.06.20 in #517
One complete year, yay!
Only one year? It feels as if Flavio has been posting for ages... Congratulations!
2021.06.23 in #518
PWC118 - Binary Palindrome
Bitwise operations are rare these day.s Thank you Flavio for reminding us of them.
2021.06.24 in #518
PWC118 - Adventure of Knight
Usually Flavio keeps his blog posts short and sweet but for this task he went into more detail to share a behind the scenes story.
2021.06.28 in #519
A block... blocks
Unsurprisingly, a BLOCK in Perl blocks a lot of things, including a package statement.
2021.06.30 in #519
PWC119 - Swap Nibbles
2021.06.31 in #515
Random bytes and co.
Generating some randomness for seeds, using some salt for flavoring.
2021.07.01 in #519
PWC119 - Sequence without 1 on 1
2021.07.03 in #519
To write a CLI with a hierarchy of sub-commands. Something like the Git command-line interface client.
2021.07.04 in #519
2021.07.05 in #520
App::Easer "multilevel" example
Cool example of App::Easer for you to try.
2021.07.07 in #520
PWC120 - Swap Odd/Even bits
Flavio explained the bit operations so brilliantly that any layperson can understand. Thank you for sharing the knowledge.
2021.07.08 in #520
PWC120 - Clock Angle
The highlight of Flavio's post is not limited to Perl but also Raku. You will find lots of magic from both world.
2021.07.09 in #520
App::Easer finally uploaded to CPAN.
2021.07.13 in #521
Finding Vim snippets in Bash
A little Bash program (with completions) to show Vim snippets.
2021.07.14 in #521
PWC121 - Invert Bit
Flavio seems to be enjoying Raku lot more than Perl these days. You have made good progress, good luck.
2021.07.15 in #521
PWC121 - The Travelling Salesman
Flavio is one of the few selected members who attempted to solve The Travelling Salesman task. His solution is well documented for anyone to read. Thanks.
2021.07.17 in #521
Web nostalgia: MojoX::Mechanize
Back when the web was simpler, the clients were dumb and Perl ruled as the server frontend, interfaces were IMHO more clearly defined and somehow standardized.
2021.07.18 in #521
More commenting... maybe?
My code might use some more commenting, maybe? - A reflection on The Weekly Challenge
2021.07.19 in #522
Brute forcing a puzzle
Flavio came up nice little puzzle and showed the fun behind the scenes. Nice puzzle, could be a nice easy task for the weekly challenge.
2021.07.20 in #522
A toy RSA implementation
Although it says toy, in my opinion it is a serious talk. Thanks Flavio for sharing it with us. You made it look so easy.
2021.07.21 in #522
PWC122 - Average of Stream
2021.07.22 in #522
PWC122 - Basketball Points
2021.07.24 in #522
Brute forcing "The monkey and the coconuts"
Flavio is in a puzzle mood this week. It is always pleasure to read his blog. Enjoy.
2021.07.25 in #522
More on monkeys and coconuts
More on the monkey and coconut puzzle. More fun and laughs.
2021.07.28 in #523
PWC123 - Ugly Numbers
You can never get bored of reading blog posts by Flavio. I most enjoyed the discussion of the task itself which was then followed up with code. Keep up the great work.
2021.07.29 in #523
PWC123 - Square Points
Flavio touched on a bit that I hadn't even thought of when I proposed the task. At times, I doubt my ability to analyze a task. I am learning every week from Flavio. Thanks for sharing.
2021.08.01 in #523
International Space Station passage
2021.08.03 in #524
Well, in the blog, Flavio promoting a book, Think Bayes, that he is reading at the moment. Nice introduction, I must say. Bookmarking it for later reading.
2021.08.04 in #524
PWC124 - Happy Women Day
Flavio also took the task seriously and presented a really cool solution.
2021.08.05 in #524
PWC124 - Tug of War
Keeping up his tradition, Flavio, presents solutions in Perl and Raku. I loved the reasoning behind his approach.
2021.08.10 in #525
Newbies luck hitting a bug on the first try.
2021.08.11 in #525
PWC125 - Pythagorean Triples
Flavio's love for Raku shows in his daily blog posts. Nice read for someone new to Raku.
2021.08.12 in #525
PWC125 - Binary Tree Diameter
Flavio gave Perl the first preference and shared a well-documented solution. Keep up the great work.
2021.08.15 in #525
2021.08.16 in #526
Patched the inconsistency in how default-child and children behave.
2021.08.17 in #526
binmode option added and utf8 option is documented now.
2021.08.18 in #526
PWC126 - Count Numbers
The best part of this blog post is the performance matrix at the end showing two different approaches. Smart approach.
2021.08.19 in #526
PWC126 - Minesweeper Game
Well-documented solution to the Minesweeper Game task. Bonus you get a Raku version as well.
2021.08.24 in #527
Pod::Markdown and Pod::Markdown::Github for the win!
Convert POD documentation to Markdown with one (or two) command-line tools.
2021.08.25 in #527
PWC127 - Disjoint Sets
Flavio plays with Raku consistently and it shows in the quality of his contributions. Keep it up.
2021.08.26 in #527
PWC127 - Conflict Intervals
Great example to help you learn Raku. Cool translation of Perl code. Thanks for sharing.
2021.08.27 in #527
unit sub MAIN (...);
How to define command line options in Raku
2021.09.01 in #528
PWC128 - Maximum Sub-Matrix
Flavio once again shares bonus Raku magic along with Perl. You don't want to miss it.
2021.09.02 in #528
PWC128 - Minimum Platforms
Flavio went into the finer details of the Minimum Platforms task. I wonder at times, how did I miss the point.
2021.09.05 in #528
Today I Learned: Portable Grayscale Map
Flavio discusses something I have never touched before. Thanks for sharing.
2021.09.06 in #529
Advent of Code 2018, puzzle 6: get the job done!
2021.09.07 in #529
Fun with Advent of Code 2018
If you’re looking for some diversion or something to do some exercising (e.g. learning some Raku), Flavio suggests you giving Advent of Code a try.
2021.09.08 in #529
PWC129 - Root Distance
Flavio continued his fun with Raku, There are plenty to learn every week by just reading his blog. You don't want to miss the fun ride.
2021.09.09 in #529
PWC129 - Add Linked Lists
Flavio being very kind in his observation about the task. Thanks for sharing the knowledge with us every week.
2021.09.10 in #529
Crop an image with ImageMagick
ImageMagick is an amazing set of command-line tools for doing image manipulation.
2021.09.11 in #529
No voids, please
A small filtering program to rename files removing spaces and tabs.
2021.09.15 in #530
PWC130 - Odd Number
I love the fact that the Perl solution looks like Raku and not the other way. Nice attempt.
2021.09.15 in #531
PWC130 - Odd Number
Cool use of hashes to solve the task in both Perl and Raku. Keep it up great work.
2021.09.16 in #530
PWC130 - Binary Search Tree
For a change, we have the Perl solution first followed by Raku.
2021.09.16 in #531
PWC130 - Binary Search Tree
Flavio used a recursive function to solve the task. Implementation is really simple and easy to follow.
2021.09.21 in #531
2021.09.21 in #531
... and List::MoreUtils
2021.09.22 in #531
Term::QRCode generates QR Codes on the terminal.
2021.09.23 in #531
Terminal QR Code with Unicode characters
2021.09.28 in #532
Flavio continued his research on import-related CPAN distributions.
2021.09.29 in #532
PWC132 - Mirror Dates
Flavio continued his fun with Raku and Perl showing the power of a Date library is each language. Keep it up.
2021.09.30 in #532
PWC132 - Hash Join
Flavio shared the complexity aspect of the Hash Join task. It is something I find very interesting. Thanks for sharing.
2021.10.01 in #532
Work with XML files with ease as shown by Flavio in this blog post.
2021.10.02 in #532
A pull request for Path::Tiny
Flavio talking about an issue related to Path::Tiny and his workaround.
2021.10.04 in #533
Waiting with pull-requests till October arrives.
2021.10.05 in #533
Configuration for tmux
2021.10.06 in #533
PWC133 - Integer Square Root
Flavio solved the Integer Square Root task with the help of a bit operation to make it compact. Keep it up great work.
2021.10.07 in #533
PWC133 - Smith Numbers
Flavio's solution to the Smith Number task is also very simple and easy to follow. Thanks for sharing the knowledge.
2021.10.08 in #533
2021.10.09 in #533
2021.10.10 in #533
2021.10.11 in #534
Great example of a CPAN distribution and how it can be useful to solve a day-to-day task.
2021.10.13 in #534
PWC134 - Pandigital Numbers
Flavio's smooth handling of Perl and Raku makes his blog fun to read. Thanks for the contributions.
2021.10.14 in #534
PWC134 - Distinct Terms Count
Not sure about others, but I enjoyed the reading Raku solution. Keep sharing the knowledge.
2021.10.18 in #535
Looking at Beancount
After doubting about Accounting::Kitty, I had to look more in depth into the alternatives. Inside the Ledger and co. heap I chose Beancount, which is supposed to be stricter in doing checks.
2021.10.19 in #535
Beancount for Kitty, simple model
After laying down the needs in looking at Beancount, I went for a direct mapping of the different accounts, setting most of them as Assets and the External one as an Equity.
2021.10.20 in #535
PWC135 - Middle 3-digits
This is an ideal for Perl programmers to learn Raku. You get to compare the two next to each other. Easy to follow style. Thank you for your contributions.
2021.10.21 in #535
PWC135 - Validate SEDOL
Yet another cool solution in both Perl and Raku. Not too difficult to read Raku code even for Perl developer. Thanks for sharing.
2021.10.22 in #535
It seems that about 9 years ago I started working on Graphics::Potrace
2021.10.27 in #536
PWC136 - Two Friendly
Flavio's compact solutions are very impressive. He has done it in both Perl and Raku. Thank you.
2021.10.28 in #536
PWC136 - Fibonacci Sequence
Flavio presented a handful of choices to pick from. You pick your favourite. Thank you Flavio.
2021.11.01 in #537
Reinventing Netcat in Perl
2021.11.02 in #537
Proxy setup for Netcat in Perl
2021.11.03 in #537
PWC137 - Long Year
I enjoyed the Raku solution more than the Perl one. It is so obviously written by a Perl developer. Great piece of work as always.
2021.11.04 in #537
PWC137 - Lychrel Number
The discussion made reading the code so easy that anyone can follow it. Thanks for sharing your knowledge with us.
2021.11.05 in #537
AnyEvent for Netcat?
2021.11.06 in #537
Cross-posting considered harmful?
2021.11.08 in #538
Perl OpenAPI with Mojolicious
Find out the power of OpenAPI.
2021.11.09 in #538
Installing DBD::Oracle in Perl
2021.11.10 in #538
PWC138 - Workdays
Flavio using a 'subset' of Raku is nice and clean. Nice mathematical hack to get the end result. You are a great storyteller too. Thanks for entertaining us every week.
2021.11.11 in #538
PWC138 - Split Number
A very interesting approach to the 'Split Number' task. I had to read the text twice to understand the flow. I loved the logic - something to keep in mind.
2021.11.13 in #538
Cool mix of LDAP and Perl.
2021.11.16 in #539
LDAP program: eldap
2021.11.16 in #539
encode_json does encoding
2021.11.17 in #539
PWC139 - JortSort
Nice and easy solutions in Perl and Raku to deal with the JortSort task. Raku seems to be the winner this week.
2021.11.18 in #539
PWC139 - Long Primes
I liked the Raku solution more than the Perl one. Raku rocks. Keep up the great work.
2021.11.19 in #539
Remove objects from an array with jq
2021.11.21 in #539
Perl OpenAPI with Mojolicious - an update!
2021.11.22 in #540
2021.11.23 in #540
A bare-bones kinit in Perl
Implementing a very basic kinit functionality using Authen::Krb5 in Perl.
2021.11.24 in #540
PWC140 - Add Binary
Nice attempt to show the operator overloading feature of Raku with the help of the task. Well done.
2021.11.25 in #540
PWC140 - Multiplication Table
I like how Flavio always pushes the limit higher up and then deals with it. I am pleasantly surprised to see the end result. Great work, keep it up.
2021.11.26 in #540
Perl GSSAPI options
Passing options to Perl's GSSAPI module is a bit clunky but doable.
2021.11.27 in #540
Example LDAP with on-the-fly Kerberos authentication
An example of how to do Kerberos authentication in memory, i.e. without needing to use [kinit] beforehand or to save anything on the disk.
2021.11.30 in #541
Feature creep in App::Easer
2021.12.01 in #541
PWC141 - Number Divisors
Thank you Flavio for educating us with your task analysis. I find it very useful. Thanks for your continuous support.
2021.12.02 in #541
PWC141 - Like Numbers
I enjoy reading the Question section. It raises an interesting point that I miss most of the time. Thanks for being soft and kind in your response. I loved how you approach the task. Keep it up; great work.
2021.12.03 in #541
Advent of Code 2021 is onto us!
2021.12.04 in #541
A (possible) bug in RRDTool
2021.12.08 in #542
PWC142 - Divisor Last Digit
Loved the Raku solution with all the type constraints. Raku Rocks.
2021.12.09 in #542
PWC142 - Sleep Sort
Thanks for introducing Raku's Promise feature. Nice example to learn new tricks in Raku. Thanks for sharing.
2021.12.13 in #543
AoC 2021/09 - Flood fill
The Advent of Code puzzle 9 from 2021: using the flood fill algorithm.
2021.12.14 in #543
AoC 2021/10 - Syntax scoring
Playing with parentheses.
2021.12.15 in #543
PWC143 - Calculator
Another cool example of Raku Grammars. Well organised blog, worth keeping it bookmarked. Thanks for sharing.
2021.12.16 in #543
PWC143 - Stealthy Number
Looking at the quality Raku solutions, I feel like start contributing in Raku again. Thanks for the motivation.
2021.12.17 in #543
AoC 2021/11 - Calm Dumbo Octopuses
On with Advent of Code puzzle 11 from 2021: taking it with calmness.
2021.12.18 in #543
AoC 2021/12 - A trip in the caves
2021.12.20 in #544
AoC 2021/13 - Transparent origami
On with Advent of Code puzzle 13 from 2021: folding transparent paper, origami style.
2021.12.21 in #544
AoC 2021/14 - Exponential polymerization
On with Advent of Code puzzle 14 from 2021: taming exponential growth in the evolution mechanism.
2021.12.22 in #544
PWC144 - Semiprime
Flavio has been kind and shared multiple approaches to solve the task. Hard to pick one; thanks for sharing.
2021.12.23 in #544
PWC144 - Ulam Sequence
The questions section of this blog post brought a big smile to my face. I didn't plan it, honestly. Raku solution is my favourite this week.
2021.12.24 in #544
AoC 2021/15 - A* in the sea
On with Advent of Code puzzle 15 from 2021: using A*.
2021.12.26 in #544
AoC 2021/16 - Bitstream decoding
On with Advent of Code puzzle 16 from 2021: good old bit stream decoding
2021.12.27 in #545
AoC 2021/17 - Ballistic
This day's puzzle is about throwing stuff around. It involves some physics models.
2021.12.28 in #545
AoC 2021/18 - Fishy accordion
Something about balancing binary trees.
2021.12.29 in #541
Tutorials for modules
Some thoughts about writing tutorials for Perl modules.
2021.12.29 in #545
PWC145 - Dot Product
Flavio gave us a flavour of Raku classes in this blog post. You should check it out if you want to know more.
2021.12.30 in #545
AoC 2021/19 - GPS is smarter
2021.12.30 in #545
PWC145 - Palindromic Tree
I am glad Flavio didn't have any questions about the Palindromic Tree task. Also we got real graphs using Raku. Thanks for sharing with us.
2022.01.01 in #545
Happy 2022! And a reflection
Why and how can Flavio write so many blog posts? How could you also do it?
2022.01.02 in #545
AoC 2021/19 - GPS is smarter - part 2
2022.01.05 in #546
PWC146 - 10001st Prime Number
Flavio continued showing the power of his Raku skills with a compact solution. Great work, keep it up.
2022.01.06 in #546
PWC146 - Curious Fraction Tree
Flavio is very clever; sharing the finer details. The best solution IMHO so far. Thank you.
2022.01.10 in #547
AoC 2021/23 - Then came amphipods...
Advent has been over for almost 3 weeks now, but Flavio just continues, and continues. We can only envy his persistence. (We could also follow it, but that's much harder.)
2022.01.11 in #547
AoC 2021/24 - Blockchain under the sea
The fun of processing some assembly code in Perl
2022.01.12 in #547
PWC147 - Truncatable Prime
These days, Flavio's blog is mostly filled with Raku knowledge. Nice promotion of the language. Keep it up.
2022.01.13 in #547
PWC147 - Pentagon Numbers
Thank you Flavio for sharing the maths behind the Pentagon Numbers task. It makes it easy to follow the code.
2022.01.14 in #547
AoC 2021/25 - Sea traffic jam
Wow, it seems we arrived at the end of the Advent of Code. I am not worried, but OMG, what will Flavio write about now?
2022.01.15 in #547
AoC 2021/01 - Up and down
Oh, I thought the AoC is over. But no, this is a Raku solution.
2022.01.16 in #547
AoC 2021/02 - Ready, set, go!
Another Raku solution
2022.01.18 in #548
Data::Tubes release and... how cool is CPAN Testers?!?
Find out more about the recent release of Data::Tubes by Flavio.
2022.01.19 in #548
PWC148 - Eban Numbers
Flavio shared two flavours this week, and they were both in Perl and Raku. Keep it up; great work.
2022.01.20 in #548
PWC148 - Cardano Triplets
Flavio's lazy solution to the Cardano Triplets task is very cool. Thanks for your contributions, as always.
2022.01.22 in #548
Ever wanted to share code, then this is your friend.
2022.01.23 in #548
Thanks to Flavio for sharing tutorials on App::Easer.
2022.01.24 in #549
Ticket to Write
2022.01.25 in #549
Ticket to Write - chart
2022.01.26 in #549
PWC149 - Fibonacci Digit Sum
Flavio has more Raku features and is sharing the power of the language. Keep it up; great work.
2022.01.27 in #549
PWC149 - Largest Square
Flavio presented two different approaches to solving the largest square task. Highly recommended.
2022.01.28 in #549
For most people I know their disk is always full, but if you are not one of those then this advice about the /dev/full device from Su-Shee via Flavio can help.
2022.01.29 in #549
Ticket to Write - playable!
2022.01.30 in #549
LDAP filter to search for absence of an attribute
2022.02.01 in #550
A very short and sweet introduction to ProtoWebz
2022.02.02 in #550
PWC150 - Fibonacci Words
I love Raku classes. Lots of Raku magic presented in the blog post. Thanks for sharing.
2022.02.03 in #550
PWC150 - Square-free Integer
Once again lots of pretty Raku code, easy to follow. Cool promotion of the language. Thank you.
2022.02.06 in #550
Flavio shared the widely-discussed topic 'import' and how he visualises the feature.
2022.02.07 in #551
One way to add methods in a class, similar to how roles would work.
2022.02.08 in #551
So pleased to use Perl
It is easy to make Flavio happy. You just need give him a -r flag.
2022.02.09 in #551
PWC151 - Binary Tree Depth
The question section is the highlight for me every week. This is where I get to know the gaps in the task description. The solution itself is a masterpiece. Highly Recommended.
2022.02.10 in #551
PWC151 - Rob The House
I found the Raku solution more compact than the Perl solution, although they are identical in nature. Keep it up great work.
2022.02.12 in #551
Active Directory time thing
Converting from and to the Active Directory way of representing time.
2022.02.13 in #551
App::Easer V2 - let's start!
2022.02.16 in #552
PWC152 - Triangle Sum Path
Flavio show off his Raku skill with one liner, I am impressed. Thanks for sharing.
2022.02.17 in #552
PWC152 - Rectangle Area
Lots of calculation with the power of Raku is the right mix. Keep it up great work.
2022.02.18 in #552
Ticket to Write - thoughts
Only Flavio can do it, he has shown it time and again. I love his story telling quality.
2022.02.19 in #552
Nice introduction to Gitolite. I must confess, I didn't knew about it before. Thanks for sharing.
2022.02.22 in #553
Gitolite image - Helm chart
2022.02.23 in #553
PWC153 - Left Factorials
Checking out Flavio blog always brought smile with his approach. Found more Raku magic than Perl, well done.
2022.02.24 in #553
PWC153 - Factorions
Cool hack shared in the blog to solve the task. Thanks for sharing the knowledge.
2022.02.28 in #553
GeoIP database from MaxMind
2022.02.28 in #554
GeoIP database from MaxMind
Cool use of IP::Geolocation::MMDB and a free database from MaxMind to create magic.
2022.03.01 in #554
Short demo of Fail2ban2geo tool.
2022.03.02 in #554
PWC154 - Missing Permutation
The best part is a home-grown solution for permutation in Perl. Cool attempt. Keep it up great work.
2022.03.03 in #554
PWC154 - Padovan Prime
I liked the order of solution, Perl first then Raku. It gives better comparison how Raku behaves. Thank you for your effort.
2022.03.05 in #554
App::Easer - tree auto-command
Introduction of tree sub-command to the automatically available ones.
2022.03.07 in #555
App::Easer and Moo
2022.03.08 in #555
App::Easer - more tests for V2
2022.03.09 in #555
PWC155 - Fortunate Numbers
Flavio's blog seems to be more Raku-centric than Perl, and I am not complaining. In fact, I enjoy it thoroughly.
2022.03.10 in #555
PWC155 - Pisano Period
The detailed analysis of the task makes it easy to follow the code. Keep it up, great work.
2022.03.12 in #555
The Monty Hall problem
2022.03.16 in #556
PWC156 - Pernicious Numbers
I liked how easily Flavio used the bit operator. It did make the end result sleek. Thanks for sharing the knowledge.
2022.03.17 in #556
PWC156 - Weird Number
Kudos to Flavio for the poetry in the middle of the blog. Keep surprising us every week.
2022.03.20 in #556
It is aimed to fix issue and allow intermix text parts in the messages to log with sub references.
2022.03.21 in #557
Tricked by __PACKAGE__
__PACKAGE__ (and __LINE__ and __FILE__) cannot be treated like a sub in versions of Perl prior to 5.16.
2022.03.22 in #557
Local to remote port forwarding with socat
You may wish to view a site that is only accessible within a VM on the host machine. In this post, Flavio demonstrates how to use socat to listen on a local port and send the traffic to a remote host/port.
2022.03.23 in #557
PWC157 - Pythagorean Means
I loved the re-use of arithmetic mean in the calculation of harmonic mean - you must check it out!
2022.03.24 in #557
PWC157 - Brazilian Number
The generalization of determining Brazilian Numbers from an initial brute-force approach is really cool. Worth checking out!
2022.03.25 in #557
Corkscrew in Perl
Corkscrew is a tool to set up SSH connectivity through a web proxy that supports the CONNECT verb.
2022.03.26 in #557
OpenAPI with Mojolicious - using name for default_response
Mojolicious::Plugin::OpenAPI author Jan Henning Thorsen provides Flavio with a handy short-circuit trick to avoid loading an API specification twice.
2022.03.27 in #557
Minion is a high-performance job queue for Perl that integrates with Mojolicious applications and leading databases.
2022.03.29 in #558
PWC158 - Additive Primes
Don't you like 'The questions' section? I liked it personally. Raku one-liners are really cool. Thanks for sharing your knowledge with us!
2022.03.30 in #558
PWC158 - First Series Cuban Primes
Flavio has been sharing Perl and Raku magic every week. Thank you for being so supportive of the Weekly Challenge!
2022.04.01 in #558
Split a PDF into individual pages
Using PDF::API2 to split a PDF into separate pages.
2022.04.02 in #558
A quick introduction to sending email with Email::Stuffer.
2022.04.05 in #559
PWC159 - Farey Sequence
Use of method signature in Perl solution makes it very similar to Raku. It would be nice to see it become part of core Perl. Thanks for sharing.
2022.04.06 in #559
PWC159 - Moebius Number
Raku method name with Unicode character. Really cool, never seen before. Thanks for sharing the knowledge.
2022.04.10 in #559
Using ongoing developed libraries
2022.04.12 in #560
PWC160 - Four Is Magic
I noticed something new in this Raku solution '.tclc', which I'd never seen before. Keep it up!
2022.04.13 in #560
PWC160 - Equilibrium Index
I liked the compact solution in Raku, taking full advantage of the language. Very smart. Thank you!
2022.04.15 in #560
Echoes from the past: LavaRnd
Flavio delves into his past and remembers random number generation using LavaRnd.
2022.04.16 in #560
A short and sweet introduction to Imager::QRCode.
2022.04.17 in #560
PerlMagick PDF pages
Flavio picked up the most complicated topic this week: PerlMagick and PDF. Very happy to see the solution in the end!
2022.04.18 in #561
Flavio is working on QRate, a tool to backup stuff as QR codes in a PDF that can be printed.
2022.04.19 in #561
PWC161 - Abecedarian Words
No question as far as the task 'Abecedarian Words' is concerned. Mission accomplished. Enjoy Perl and Raku solutions. Thanks for sharing.
2022.04.20 in #561
PWC161 - Pangrams
Not so luck for the task 'Pangrams'. Better luck next time, Ryan Thompson. A very thorough solution in Perl, I must admit. Keep it up great work.
2022.04.21 in #561
QRate - High Level Design (provisional)
2022.04.22 in #561
QRate - encoding
2022.04.23 in #561
QRate - iterators for encoding
2022.04.24 in #561
QRate - decoding
2022.04.25 in #562
QRate - complete program
finally we got the complete program. I would recommend you checkout earlier post first.
2022.04.26 in #562
PWC162 - ISBN-13
Compact solution in Perl and Raku, loved the hack. Thanks for sharing.
2022.04.27 in #562
PWC162 - Wheatstone-Playfair
Comparison of Perl and Raku solution is fun. Plenty to learn from. Thank you.
2022.04.28 in #562
App::Easer options collection
Please checkout how to collect options using App:Easier.
2022.04.29 in #562
App::Easer help as (command line) option
Please find out various ways to get the full text for hep
2022.05.02 in #563
Random thought about "a year" (or two)
2022.05.03 in #563
PWC163 - Sum Bitwise Operator
Comparison of multi sub of Raku and counterpart in Perl. Fun analysis. Thanks for sharing the knowledge.
2022.05.05 in #563
It was funny to see these two posts - the random thoughts about the 'year' and about the specific year of 1970 - together.
2022.05.05 in #563
PWC163 - Summations
The headline has typo, rare event. Just loved the compact solution in Perl. Keep it up great work.
2022.05.06 in #563
App::Easer - moving ahead with tests
App::Easer was created to simplify writing (hierarchical) CLI applications
2022.05.07 in #563
Read YAML front-matter with teepee
The power of being able to add your own flags to an open source project.
2022.05.08 in #563
Getopt::Long long options are case-insensitive
In other words: test the command line options with incorrect values as well!
2022.05.10 in #564
PWC164 - Prime Palindrome
Cool one-liner in Perl using home grown subroutines makes it attractive. Well done. Thanks for sharing.
2022.05.11 in #564
PWC164 - Happy Numbers
Flavio showing off Raku power using Unicode operator. Keep it up great work.
2022.05.12 in #564
Getopt::Long long options can be case-sensitive
It is something that I didn't know before. How can I miss it? Thank you for keeping the daily blog alive.
2022.05.16 in #565
ActiveDirectory password encoding in Perl and shell
2022.05.17 in #565
PWC165 - Scalable Vector Graphics (SVG)
Nice representation of SVG in Raku makes it look simple and easy to follow. Beauty, thanks.
2022.05.18 in #565
PWC165 - Line of Best Fit
Too much maths involved but the end result looks not that bad. Nice work, keep it up.
2022.05.20 in #565
Adding functions in Template::Perlish
'As any average Perl hacker, ...' Flavio opens his post. On the second reading I understood that he means that many Perl hackers do it, but first I thought he think of himself as being average. If that was the case, Perl would not be declining and we would have so many articles for the Perl weekly that we would not be able to include even 10% of them. Anyway, who does not want to maintain a templating system?
2022.05.21 in #565
Curses::UI and signatures
2022.05.22 in #565
2022.05.23 in #566
Interesting subject discussed in the post about how pos() influence regex match.
2022.05.24 in #566
PWC166 - Hexadecimal Words
Making good use of Raku power dealing with I/O and finally getting a compact solution. Keep it up great work.
2022.05.25 in #566
PWC166 - K-Directory Diff
I loved the fact Falvio making use of method signatures is really cool. I encourage everyone to follow up. Great work as always.
2022.05.29 in #566
Perl v5.36 is out
Flavio's take on features introduced in Perl v5.36.
2022.05.31 in #567
PWC167 - Circular Prime
Flavio is holding the Raku flag very tight. For Perl, the good old friend CPAN came handy. Thanks for sharing the knowledge.
2022.06.01 in #567
PWC167 - Gamma Function
Flavio is one of few, who attempted the Gamma function task. Raku and Perl solutions look very identical. Keep it up great work.
2022.06.02 in #567
Caching with CHI
2022.06.03 in #567
Short flight over Tickit
Tickit is Terminal Interface Construction KIT by Paul Evans. A few notes by Flavio.
2022.06.05 in #567
Curses::UI data viewer
An example application with Curses::UI
2022.06.07 in #568
Curses::UI data viewer becomes dew
Structure data viewer got new home. Nice demo of Perl power.
2022.06.08 in #568
PWC168 - Perrin Prime
Flavio mostly blog about Perl but for weekly challenge he makes sure to contribute in Raku as well. Keep it up great work.
2022.06.09 in #568
PWC168 - Home Prime
I love 'The questions' section more than the solution itself to be honest. I know, too many prime number related tasks, being served in recent weeks. Thank you for support and contribution.
2022.06.13 in #569
A long due interface change in skfold
Apparently this is the 900th post by Flavio. Congratulations!
2022.06.14 in #569
Adopting Shame Driven Development for App::Easer
2022.06.15 in #569
PWC169 - Brilliant Numbers
Lucky to have Perl and Raku solutions as always every week. It is nice refresher for me personally. Keep it up great work.
2022.06.16 in #569
PWC169 - Achilles Numbers
Structured and organised solution in Raku. It makes so easy to follow. Well done and keep sharing.
2022.06.17 in #569
The Foo::Bar mystery in Strawberry Perl
2022.06.18 in #569
Wondering whether builtin::readonly will ever appear.
2022.06.19 in #569
App::Easer V2 is out... and can be improved!
2022.06.22 in #570
PWC170 - Primorial Numbers
Just loved how Flavio get the end result building block by block. Elegant looking solution at the end. Well done.
2022.06.23 in #570
PWC170 - Kronecker Product
Good use of CPAN module, Math::Matrix. Nice example showing the clean interface. Keep it up great work.
2022.06.24 in #570
A skfold module for Mojolicious applications
Cool introduction to skfold for all Mojolicious fan. Thank you Flavio.
2022.06.28 in #571
Flavio discovered that there are a couple of CPAN modules to help with OATH stuff... like App::OATH and Authen::OATH, which are worth investigating.
2022.06.29 in #571
PWC171 - Abundant Number
If you are new to Raku then I would highly recommend this post. Keep it up great work.
2022.06.30 in #567
Rendering trees in the terminal
The tree command in Linux would show a directory structure as a tree, but what if you have some in-memory tree-like data-structure? How can you visualize that?
2022.06.30 in #571
PWC171 - First-class Function
Short and sweet solutions in both Perl and Raku. Thank you for sharing the knowledge.
2022.07.01 in #571
Reverse printing the QR Code in the terminal
2022.07.03 in #571
Private git repos (some thoughts)
2022.07.05 in #572
Nice and easy tutorial on Git hosting service Codeberg.
2022.07.06 in #572
PWC172 - Prime Partition
I was spared in the Question section. Breakdown of task is interesting. Keep it up great work.
2022.07.07 in #572
PWC172 - Five-number Summary
Raku version seems more fun than Perl one. You don't want to miss it.
2022.07.08 in #572
Codeberg - signing up
Flavio sharing his signup process to Codeberg.
2022.07.09 in #572
If you are GitHub page fan then you are going to love this. I would definitely have a closer look.
2022.07.10 in #572
For all crypto fans, this should be a good read.
2022.07.12 in #573
ETOOBUSY on Codeberg
You know, you can create a static blog on GitHub pages or Codeberg and you hardly need to do anything. And it is fun.
2022.07.13 in #573
PWC173 - Esthetic Number
Elegant mix of Perl and Raku like always, you don't want to skip it. Highly recommended.
2022.07.14 in #573
PWC173 - Sylvester's Sequence
Interesting use of Raku class. Always fun reading the blog. Keep it up great work.
2022.07.16 in #573
Why did I think that this is about Easter? Anyway, Falvio thought that he could get away with sloppyness, but could not. You see that's the problem with open source :-)
2022.07.18 in #573
Codeberg Pages - Custom domains
2022.07.19 in #574
Cryptopals 1 - Convert hex to base64
Nice use of pack and unpack for cryptopaks. Thanks for sharing the knowledge.
2022.07.21 in #574
PWC174 - Disarium Numbers
The caching and parallelisation are key factors when dealing with such tasks. Thanks for sharing.
2022.07.22 in #574
PWC174 - Permutation Ranking
Translation of Python to Perl, not a bad chocce. Good decision. Keep it up great work.
2022.07.24 in #574
Cryptopals 2 - Fixed XOR
Clever hack using Perl latest feature, always fun. Keep it up great work.
2022.07.25 in #575
Cryptopals 3 - Single-byte XOR cipher
2022.07.26 in #575
Cryptopals 4 - Detect single-character XOR
2022.07.27 in #575
PWC175 - Last Sunday
Raku version gets my vote this time. I simply loved it. Thank you for everything.
2022.07.28 in #575
PWC175 - Perfect Totient Numbers
For this task, Flavio went a bit more and shared his creative mind. Well done.
2022.07.29 in #575
Cryptopals 5 - Implementing repeated-key XOR
2022.07.30 in #575
Cryptopals 6 - Break repeated-key XOR
2022.07.31 in #575
AES is doable
AES is Advanced Encryption Standard
2022.08.01 in #576
AES - SubBytes
2022.08.02 in #576
AES - ShiftRows
2022.08.03 in #576
PWC176 - Permuted Multiples
Nice comparative solutions in Perl and Raku. Plenty to learn, thanks for sharing.
2022.08.04 in #576
PWC176 - Reversible Numbers
Use of fun mathematical formula is very clever. Keep it up great work.
2022.08.05 in #576
AES - multiplications in GF(256)
2022.08.06 in #576
AES - MixColumns
2022.08.07 in #576
AES - Key stuff
If you are not yet subscribed, you can do it now. Free of charge:
Just ONE e-mail each Monday. Easy to unsubscribe
. No spam. Your e-mail address is safe.
This newsletter is about the Perl Programming languages.