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