Programming/Development Leftovers
Perl / Raku
-
Eagle's Path: podlators 5.01 (2022-12-25)
podlators is the Perl distribution providing Pod::Man and Pod::Text, along with related modules and supporting scripts.
The primary change in this release is the addition of configurable guesswork for Pod::Text, paralleling Pod::Man. I had forgotten that Pod::Text also had complex heuristics for whether to quote C<> text that have the same Perl-specific properties as Pod::Man. This is now configurable via a guesswork option, the same as in Pod::Man, although the only type of guesswork supported is quoting. I also updated the default regexes, which include some fixes from Pod::Man.
-
Eagle's Path: rra-c-util 10.3 (2022-12-25)
This is a minor feature and bug fix release of my collection of utilities and tests intended for copying into other packages I maintain.
The new feature is an additional Perl test using Test::Kwalitee to check a few more things about the Perl packaging, and a MANIFEST.SKIP file that is suitable for copying as-is into most Perl packages.
-
Raku Advent Calendar: The 2022 Raku Advent Posts
Python
-
How to Call a function in Python - TecAdmin
In Python, a function is a block of code that performs a specific task and can be called from other parts of your program. Functions are an essential part of Python programming, and they allow you to write reusable, modular code that is easier to maintain and debug.
In this tutorial, we will learn how to call a function in Python. We will discuss the different ways you can pass arguments to a function, and we will also look at some common mistakes to avoid when calling functions in Python.
-
Current Date and Time in Python: In-Depth Tutorial - TecAdmin
Getting the current date and time is a common task in Python programming. There are several ways to do this, depending on your needs and the libraries you have available. In this article, we will explore some of the most common methods for getting the current date and time in Python, including using the built-in datetime module, the time module, and the dateutil module. We will also discuss how to format the date and time values as strings, and how to convert between timezones. Whether you are working with timestamps, scheduling tasks, or just want to display the current date and time in your Python program, this article will provide you with the tools you need.
Rust
-
Day 15 (Advent of Code 2022)
The day 15 puzzle falls into the "math puzzle" territory more than "let's learn something new about Rust", but since several folks asked if I was going to continue... let's continue.
Kubernetes
-
Kubernetes 1.26: Pod Scheduling Readiness | Kubernetes
Kubernetes 1.26 introduced a new Pod feature: scheduling gates. In Kubernetes, scheduling gates are keys that tell the scheduler when a Pod is ready to be considered for scheduling.