cross-posted from: https://lemm.ee/post/40942420