Nikolaus Rath's Website

How to find oldest tagged descendant of a given changeset

I occasionally want to know at which version a specific change was first released. Finding the commit that introduced the change is typically easy using hg blame. However, it always takes me several minutes to figure out the correct syntax to figure out the command to find the oldest tagged descendant of this changeset, i.e. (assuming you are tagging releases) the first release that contains the change. Here it is:

hg log -r 'first(sort(descendants(<commit-id>) and tag …

Book Review: The long way to a small, angry planet

This is a review for The long way to a small, angry planet, written by Becky Chambers.

This is a very interesting book. The overarching plot is not particularly novel or intriguing, but the author does an amazing job describing the different characters and the world they live in. Normally, the lack of an intriguing story arc is something that I very much dislike (e.g. I think that Kim Robinsons' "2312" is just boring), but I absolutely loved this …

Book Review: Half-Life

This is a review for the second book in the Russell's Attic series by SL Huang.

I really liked the first book in this series (Zero-sum game), but unfortunately the second one does not reach the quality of the first. At the beginning, the story is very slow-paced and tedious, but it picks up in the second half. However, at that point the overall story arc also becomes rather predictable (in short, Cas builds herself a little team), and the …

Book Review: Mastering C-Make

This is a review for Mastering C-Make, written by Ken Martin, and published by Kitware.

I bought this book in the hope of getting a structured introduction to CMake. While the CMake online documentation appears to be comprehensive, it seems mostly intended as a reference and is thus rather difficult to use as a starting point, so I was hoping this book would provide more guidance. Unfortunately this is not what the book delivers.

While it comes in with 685 …

Book Review: Invincible

This is a review for the second book in the The Lost Fleet: Beyond the Frontier series by Jack Campbell.

Here is a best-of of the first ~20% of the book. I don't think there are any significant spoilers.

  • The main protagonist has the rank of admiral, his wife is captain on his flagship. They have to be careful not to stand too close to each other when looking at a screen (it would be inappropriate) and they must not …