Programming Leftovers
-
Dirk Eddelbuettel: RDieHarder 0.2.4 on CRAN: Packaging Updates
An new version 0.2.4 of the random-number generator tester RDieHarder (based on the DieHarder suite developed / maintained by Robert Brown with contributions by David Bauer and myself along with other contributors) is now on CRAN.
This release comes ten months after the previous release 0.2.3. It is once more related to R and requested CRAN changes as clang-15 brings additional warnings concerning -Wstrict-prototyping. This make use of C more solid, but it was a metric ton of work (see pull request #8).
-
The painless way to multiple values on Scheme
So on Scheme and other Lisps, you don’t have to write “return” to return from functions, they just instead automatically return the value of the last expression.
If you wanna return multiple values, though, that’s when you can write (values foo bar).
-
Understanding '+incompatible' in Go module version names
As we all know, when Go code uses modules, you specify a version of the module, and the Go tooling will record its take on this version in places like go.mod. The exact details are covered in the "Versions" section of the documentation and the definition of canonical version. Since Go modules came in, I've seen a number of modules with a (canonical) version that included '+incompatible', and encountered Go generating them itself when I tried to experimentally modularize a non-modular third party Go program by hand. However, for a long time I didn't really understand what it meant and what you could do with this. The short version is that it's there to deal with a corner case for pre-modular packages.
-
Announcing GoReleaser v1.12 — the more-than-a-hundred commits release
The previous release had ~100 commits, and this one has 149 since previous feature release!
Definitely a big release, with some big features. Let’s dive in!
-
Perl Weekly Challenge 187: Days Together
-
Generating memes and infographics with Pillow
Pillow is used for simple operations on images, like resizing, converting to other file formats, and so on. It also can be used to generate custom graphics like infographics or composites of multiple images - memes, infographics, and more. Let's take a look at how it can be done.
-
10 Best Python Books for Experienced Programmers
If you want to level up your programming skills now or in the future, then learning Python is the best option. Python is a general-purpose, high-level modern programming language that is used almost in every field, including AI and computer science. Most big brands, like Google, Facebook, Netflix, etc., are utilizing this language for their development.
Python is a modern, easy-to-learn, and highly recommended language for new users or programmers. The simplicity of Python is attracting many developers worldwide right now, especially when it comes to developing web applications, games, and GUI applications.
So, if you already know the basics of Python and want to learn advanced concepts or looking to master your Python skills, then this tutorial is for you.
This write-up provides an in-depth overview of the 10 best books for experienced programmers.
-
How To Remove Backgrounds From Images With Python
In this how to, we will use two Python modules to create a GUI application that will remove the background from an image. The first module, rembg from Daniel Gatis will remove the background from any image presented to it. The second module, easygui provides a means to create dialogs and menus using the operating system’s toolkit. So a file open / save dialog box will look exactly like those used in many other applications.
-
How To Get The News With Raspberry Pi Pico W and CircuitPython
The Raspberry Pi Pico W was released with a robust MicroPython firmware, but CircuitPython, our favorite microcontroller Python release, was sadly missing support. It may have taken a few months but down to the hard work of @jeffepler we now have CircuitPython 8 Beta 2 which offers Wi-Fi support for the Pico W, while retaining the familiar CircuitPython ecosystem.
To celebrate this milestone we put together a project to highlight CircuitPython on the Raspberry Pi Pico W. We’ll be working with live data from an RSS news feed, converted to JSON and then displayed on a tiny OLED screen.