Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Sep 21, 2022

=> Free, Libre, and Open Source Software Leftovers | Android Leftovers

Content based change detection with Make

=> ↺ Content based change detection with Make

We can use Make and a couple of short shell scripts to implement file content-based caching and read/write that cache to remote storage, such as S3. The demo repository contains a version using minio for ease of demonstration.

Futures Concurrency IV: Join Ergonomics

=> ↺ Futures Concurrency IV: Join Ergonomics

On Thursday this week Rust 1.64 will be released, and in it it will include a stabilized version of IntoFuture. Much like IntoIterator is used in the desugaring of for..in loops, IntoFuture will be used in the desugaring of .await.
In this post I want to show some of the ergonomics improvements IntoFuture might enable, inspired by Swift's recent improvements in async/await ergonomics.

The perils of pinning

=> ↺ The perils of pinning

Instead, he has come up with a solution that uses (or abuses) struct initialization and macros. Your editor will not attempt a full description of how it works; the whole thing can be seen in Lossin's slides. Among other things, it requires using some complex macros that implement a not-Rust-like syntax, making the code look foreign even to those who are accustomed to Rust.

Enforcing Style in an R Project

=> ↺ Enforcing Style in an R Project

In the previous post we looked at how to apply a linter and styler to a Python Project. Now we’re going to do the same for an R project. We’ll use the {precommit} R package to make the setup a breeze.

Escaping strings faster with AVX-512

=> ↺ Escaping strings faster with AVX-512

Such a character-by-character approach is unlikely to provide the best possible performance on modern hardware.

Java's Cultural Problem

=> ↺ Java's Cultural Problem

Java is good by modern standards, from a technical perspective, the platform having received a lot of improvements from Java 8 to 17. Unfortunately, it still stinks, and the problem is its "enterprise" culture.
Let me illustrate the problem via examples …

The 25 most popular programming languages and trends [Ed: It seems like a bunch of Microsoft boosters though; mentions "list of fastest-growing languages in GitHub’s 2018 and 2019 State of the Octoverse" (i.e. Microsoft as the dataset)]

=> ↺ The 25 most popular programming languages and trends

CircleCI released the 2022 State of Software Delivery report, which examines two years of data from more than a quarter billion workflows and nearly 50,000 organizations around the world, and provides insight for engineering teams to understand how they can better succeed.

6 Python interpreters to try in 2022

=> ↺ 6 Python interpreters to try in 2022

Python, one of the most popular programming languages, requires an interpreter to execute the instructions defined by the Python code. In contrast to other languages, which compile directly into machine code, it’s up to the interpreter to read Python code and translate its instructions for the CPU performing the related actions. There are several interpreters out there, and in this article, I’ll take a look at a few of them.

Standards, Protocols, and Platforms

=> ↺ Standards, Protocols, and Platforms

I came across an interesting article on standards/platforms by Michael Mignano, The Standards Innovation Paradox (and a rebuttal The Standards Innovation Paradox: is it real?). I don't feel as strongly as the authors do about RSS, although I've collected my thoughts on RSS.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2022/09/21/Programming_Leftovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
139.876725 milliseconds
Gemini-to-HTML Time
1.279903 milliseconds

This content has been proxied by September (3851b).