Review: The Library of Broken Worlds, by Alaya Dawn Johnson
Publisher:
Scholastic Press
Copyright:
June 2023
ISBN:
1-338-29064-9
Format:
Kindle
Pages:
446
The Library of Broken Worlds is a young-adult far-future science
fantasy. So far as I can tell, it's stand-alone, although more on that
later in the review.
Freida is the adopted daughter of Nadi, the Head Librarian, and her
greatest wish is to become a librarian herself. When the book opens,
she's a teenager in highly competitive training. Freida is low-wetware,
without the advanced and expensive enhancements of many of the other
students competing for rare and prized librarian positions, which she
makes up for by being the most audacious. She doesn't need wetware to
commune with the library material gods. If one ventures deep into their
tunnels and consumes their crystals, direct physical communion is
possible.
The library tunnels are Freida's second home, in part because that's where
she was born. She was created by the Library, and specifically by Iemaja,
the youngest of the material gods. Precisely why is a mystery. To Nadi,
Freida is her daughter. To Quinn, Nadi's main political rival within the
library, Freida is a thing, a piece of the library, a secondary and
possibly rogue AI. A disruptive annoyance.
The Library of Broken Worlds is the sort of science fiction where
figuring out what is going on is an integral part of the reading
experience. It opens with a frame story of an unnamed girl (clearly
Freida) waking the god Nameren and identifying herself as designed for
deicide. She provokes Nameren's curiosity and offers an Arabian Nights
bargain: if he wants to hear her story, he has to refrain from killing her
for long enough for her to tell it. As one might expect, the main
narrative doesn't catch up to the frame story until the very end of the
book.
The Library is indeed some type of library that librarians can search for
knowledge that isn't available from more mundane sources, but Freida's
personal experience of it is almost wholly religious and oracular. The
library's material gods are identified as AIs, but good luck making sense
of the story through a science fiction frame, even with a healthy
allowance for sufficiently advanced technology being indistinguishable
from magic. The symbolism and tone is entirely fantasy, and late in the
book it becomes clear that whatever the material gods are, they're not
simple technological AIs in the vein of, say, Banks's Ship Minds.
Also, the Library is not solely a repository of knowledge. It is the
keeper of an interstellar peace. The Library was founded after the Great
War, to prevent a recurrence. It functions as a sort of legal system and
grand tribunal in ways that are never fully explained.
As you might expect, that peace is based more on stability than fairness.
Five of the players in this far future of humanity are the Awilu, the most
advanced society and the first to leave Earth (or Tierra as it's called
here); the Mah m, who possess the material war god Nameren of the frame
story; the Lunars and Martians, who dominate the Sol system; and the
surviving Tierrans, residents of a polluted and struggling planet that is
ruthlessly exploited by the Lunars. The problem facing Freida and her
friends at the start of the book is a petition brought by a young Tierran
against Lunar exploitation of his homeland. His name is Joshua, and
Freida is more than half in love with him. Joshua's legal argument
involves interpretation of the freedom node of the treaty that ended the
Great War, a node that precedent says gives the Lunars the freedom to
exploit Tierra, but which Joshua claims has a still-valid originalist
meaning granting Tierrans freedom from exploitation.
There is, in short, a lot going on in this book, and "never fully
explained" is something of a theme. Freida is telling a story to Nameren
and only explains things Nameren may not already know. The reader has to
puzzle out the rest from the occasional hint. This is made more difficult
by the tendency of the material gods to communicate only in visions or
guided hallucinations, full of symbolism that the characters only partly
explain to the reader.
Nonetheless, this did mostly work, at least for me. I started this book
very confused, but by about the midpoint it felt like the background was
coming together. I'm still not sure I understand the aurochs, baobab, and
cicada symbolism that's so central to the framing story, but it's the
pleasant sort of stretchy confusion that gives my brain a good workout. I
wish Johnson had explained a few more things plainly, particularly near
the end of the book, but my remaining level of confusion was within my
tolerances.
Unfortunately, the ending did not work for me. The first time I read it,
I had no idea what it meant. Lots of baffling, symbolic things happened
and then the book just stopped. After re-reading the last 10%, I think
all the pieces of an ending and a bit of an explanation are there, but
it's absurdly abbreviated. This is another book where the author appears
to have been finished with the story before I was.
This keeps happening to me, so this probably says something more about me
than it says about books, but I want books to have an ending. If the
characters have fought and suffered through the plot, I want them to have
some space to be happy and to see how their sacrifices play out, with more
detail than just a few vague promises. If much of the book has been
puzzling out the nature of the world, I would like some concrete
confirmation of at least some of my guesswork. And if you're going to end
the book on radical transformation, I want to see the results of that
transformation. Johnson does an excellent job showing how brutal the
peace of the powerful can be, and is willing to light more things on fire
over the course of this book than most authors would, but then doesn't
offer the reader much in the way of payoff.
For once, I wish this stand-alone turned out to be a series. I think an
additional book could be written in the aftermath of this ending, and I
would definitely read that novel. Johnson has me caring deeply about
these characters and fascinated by the world background, and I'd happily
spend another 450 pages finding out what happens next. But,
frustratingly, I think this ending was indeed intended to wrap up the
story.
I think this book may fall between a few stools. Science fiction readers
who want mysterious future worlds to be explained by the end of the book
are going to be frustrated by the amount of symbolism, allusion, and
poetic description. Literary fantasy readers, who have a higher tolerance
for that style, are going to wish for more focused and polished writing.
A lot of the story is firmly YA: trying and failing to fit in, developing
one's identity, coming into power, relationship drama, great betrayals and
regrets, overcoming trauma and abuse, and unraveling lies that adults tell
you. But this is definitely not a straight-forward YA plot or world
background. It demands a lot from the reader, and while I am confident
many teenage readers would rise to that challenge, it seems like an
awkward fit for the YA marketing category.
About 75% of the way in, I would have told you this book was great and you
should read it. The ending was a let-down and I'm still grumpy about it.
I still think it's worth your attention if you're in the mood for a
sink-or-swim type of reading experience. Just be warned that when the
ride ends, I felt unceremoniously dumped on the pavement.
Content warnings: Rape, torture, genocide.
Rating: 7 out of 10
Welcome to the December 2023 report from the Reproducible Builds project! In these reports we outline the most important things that we have been up to over the past month. As a rather rapid recap, whilst anyone may inspect the source code of free software for malicious flaws, almost all software is distributed to end users as pre-compiled binaries (more).
Reproducibility to affect package migration policy in Debian
In a post summarising the activities of the Debian Release Team at a recent in-person Debian event in Cambridge, UK, Paul Gevers announced a change to the way packages are migrated into the staging area for the next stable Debian release based on its reproducibility status:
The folks from the Reproducibility Project have come a long way since they started working on it 10 years ago, and we believe it s time for the next step in Debian. Several weeks ago, we enabled a migration policy in our migration software that checks for regression in reproducibility. At this moment, that is presented as just for info, but we intend to change that to delays in the not so distant future. We eventually want all packages to be reproducible. To stimulate maintainers to make their packages reproducible now, we ll soon start to apply a bounty [speedup] for reproducible builds, like we ve done with passing autopkgtests for years. We ll reduce the bounty for successful autopkgtests at that moment in time.
Speranza: Usable, privacy-friendly software signing
Kelsey Merrill, Karen Sollins, Santiago Torres-Arias and Zachary Newman have developed a new system called Speranza, which is aimed at reassuring software consumers that the product they are getting has not been tampered with and is coming directly from a source they trust. A write-up on TechXplore.com goes into some more details:
What we have done, explains Sollins, is to develop, prove correct, and demonstrate the viability of an approach that allows the [software] maintainers to remain anonymous. Preserving anonymity is obviously important, given that almost everyone software developers included value their confidentiality. This new approach, Sollins adds, simultaneously allows [software] users to have confidence that the maintainers are, in fact, legitimate maintainers and, furthermore, that the code being downloaded is, in fact, the correct code of that maintainer. []
Nondeterministic Git bundles
Paul Baecher published an interesting blog post on Reproducible git bundles. For those who are not familiar with them, Git bundles are used for the offline transfer of Git objects without an active server sitting on the other side of a network connection. Anyway, Paul wrote about writing a backup system for his entire system, but:
I noticed that a small but fixed subset of [Git] repositories are getting backed up despite having no changes made. That is odd because I would think that repeated bundling of the same repository state should create the exact same bundle. However [it] turns out that for some, repositories bundling is nondeterministic.
Paul goes on to to describe his solution, which involves forcing git to be single threaded makes the output deterministic . The article was also discussed on Hacker News.
Rework the generate-id() function to return deterministic values. We use
a simple incrementing counter and store ids in the 'psvi' member of
nodes which was freed up by previous commits. The presence of an id is
indicated by a new "source node" flag.
This fixes long-standing problems with reproducible builds, see
https://bugzilla.gnome.org/show_bug.cgi?id=751621
This also hardens security, as the old implementation leaked the
difference between a heap and a global pointer, see
https://bugs.chromium.org/p/chromium/issues/detail?id=1356211
The old implementation could also generate the same id for dynamically
created nodes which happened to reuse the same memory. Ids for namespace
nodes were completely broken. They now use the id of the parent element
together with the hex-encoded namespace prefix.
Community updates
There were made a number of improvements to our website, including Chris Lamb fixing the generate-draft script to not blow up if the input files have been corrupted today or even in the past [], Holger Levsen updated the Hamburg 2023 summit to add a link to farewell post [] & to add a picture of a Post-It note. [], and Pol Dellaiera updated the paragraph about tar and the --clamp-mtime flag [].
On our mailing list this month, Bernhard M. Wiedemann posted an interesting summary on some of the reasons why packages are still not reproducible in 2023.
diffoscope is our in-depth and content-aware diff utility that can locate and diagnose reproducibility issues. This month, Chris Lamb made a number of changes, including processing objdump symbol comment filter inputs as Python byte (and not str) instances [] and Vagrant Cascadian extended diffoscope support for GNU Guix [] and updated the version in that distribution to version 253 [].
Challenges of Producing Software Bill Of Materials for Java
Musard Balliu, Benoit Baudry, Sofia Bobadilla, Mathias Ekstedt, Martin Monperrus, Javier Ron, Aman Sharma, Gabriel Skoglund, C sar Soto-Valero and Martin Wittlinger (!) of the KTH Royal Institute of Technology in Sweden, have published an article in which they:
deep-dive into 6 tools and the accuracy of the SBOMs they produce for complex open-source Java projects. Our novel insights reveal some hard challenges regarding the accurate production and usage of software bills of materials.
Debian Non-Maintainer campaign
As mentioned in previousreports, the Reproducible Builds team within Debian has been organising a series of online and offline sprints in order to clear the huge backlog of reproducible builds patches submitted by performing so-called NMUs (Non-Maintainer Uploads).
During December, Vagrant Cascadian performed a number of such uploads, including:
In addition, Holger Levsen performed three no-source-change NMUs in order to address the last packages without .buildinfo files in Debian trixie, specifically lorene (0.0.0~cvs20161116+dfsg-1.1), maria (1.3.5-4.2) and ruby-rinku (1.7.3-2.1).
Reproducibility testing framework
The Reproducible Builds project operates a comprehensive testing framework (available at tests.reproducible-builds.org) in order to check packages and other artifacts for reproducibility. In December, a number of changes were made by Holger Levsen:
Detect failures due to rename of the vmlinuz file. []
Improve the grammar of an error message. []
Document that freebsd-jenkins.debian.net has been updated to FreeBSD 14.0. []
In addition, node maintenance was performed by Holger Levsen [] and Vagrant Cascadian [].
Upstream patches
The Reproducible Builds project detects, dissects and attempts to fix as many currently-unreproducible packages as possible. We endeavour to send all of our patches upstream where appropriate. This month, we wrote a large number of such patches, including:
If you are interested in contributing to the Reproducible Builds project, please visit our Contribute page on our website. However, you can get in touch with us via:
Having had success running Trisquel on the ppc64 Talos II, I felt ready to get an arm64 machine running Trisquel. I have a Ampere Altra Developer Platform from ADLINK, which is a fairly powerful desktop machine. While there were some issues during installation, I m happy to say the machine is stable and everything appears to work fine.
ISO images for non-amd64 platforms are unfortunately still hidden from the main Trisquel download area, so you will have to use the following procedure to download and extract a netinst ISO image (using debian-installer) and write it to a USB memory device. Another unfortunate problem is that there are no OpenPGP signatures or hash checksums, but below I publish one checksum.
Insert the USB stick in a USB slot in the machine, and power up. Press ESCAPE at the BIOS prompt and select the USB device as the boot device. The first problem that hit me was that translations didn t work, I selected Swedish but the strings were garbled. Rebooting and selecting the default English worked fine. For installation, you need Internet connectivity and I use the RJ45 port closest to VGA/serial which is available as enP5p1s0 in the installer. I wouldn t connect the BMC RJ45 port to anything unless you understand the security implications.
During installation you have to create a EFI partition for booting, and I ended up with one 1GB EFI partition, one 512GB ext4 partition for / with discard/noatime options, and a 32GB swap partition. The installer did not know about any Trisquel mirrors, but only had the default archive.trisquel.org, so if you need to use a mirror, take a note of the necessary details. The installation asks me about which kernel to install, and I went with the default linux-generic which results in a 5.15 linux-libre kernel. At the end of installation, unfortunately grub failed with a mysterious error message: Unable to install GRUB in dummy. Executing 'grub-install dummy' failed. On another console there is a better error message: failed to register the EFI boot entry. There are some references to file descriptor issues. Perhaps I partitioned the disk in a bad way, or this is a real bug in the installer for this platform. I continued installation, and it appears the installer was able to write GRUB to the device, but not add the right boot menu. So I was able to finish the installation properly, and then reboot and manually type the following GRUB commands: linux (hd0,gpt2)/boot/vmlinuz initrd (hd0,gpt2)/boot/initrd.img boot. Use the GRUB ls command to find the right device. See images below for more information.
Booting and installing GRUB again manually works fine:
root@ampel:~# update-grub
Sourcing file /etc/default/grub'
Sourcing file /etc/default/grub.d/background.cfg'
Sourcing file /etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found initrd image: /boot/initrd.img-5.15.0-58-generic
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
root@ampel:~#
During installation I tend to avoid selecting any tasksel components, in part because it didn t use a local mirror to gain network speed, and in part because I don t want to generate OpenSSH keys in a possibly outdated environment that is harder to audit and reproducible rebuild than the finally installed system. When I selected the OpenSSH and GNOME tasksel, I get an error, but fortunately using apt get directly is simple.
Graphics in GNOME was slow using the built-in ASPEED AST2500 VGA controller with linux-libre 5.15. There are kernels labeled 64k but I haven t tested them, and I m not sure they would bring any significant advantage. I simply upgraded to a more recent linux-libre 6.2 kernel via the linux-image-generic-hwe-11.0 virtual package. After a reboot, graphics in GNOME is usable.
There seems to be some issue with power-saving inside GNOME, since the machine becomes unresponsive after 20 minutes, and I m unable to make it resume via keyboard or power button. Disabling the inactivity power setting in GNOME works fine to resolve this.
I will now put this machine to some more heavy use and see how it handles it. I hope to find more suitable arm64-based servers to complement my ppc64el-based servers in the future, as this ADLINK Ampere Altra Developer Platform with liquid-cooling is more of a toy than a serious server for use in a datacentre.
Happy Trisquel-on-arm64 Hacking!
SAS and SATA are electrically compatible to a degree that allows connecting a SATA storage device to a SAS controller. The SAS controller understands the SATA protocol so this works. A SAS device can t be physically connected to a SATA controller and if you did manage to connect it then it wouldn t work.
Some SAS RAID controllers don t permit mixing SAS and SATA devices in the same array, this is a software issue and could be changed. I know that the PERC controllers used by Dell (at least the older versions) do this and it might affect many/most MegaRAID controllers (which is what PERC is).
If you have a hardware RAID array of SAS disks and one fails then you need a spare SAS disk and as the local computer store won t have any you need some on hand.
The Linux kernel has support for the MegaRAID/PERC superblocks so for at least some of the RAID types supported by MegaRAID/PERC you can just connect the disks to a Linux system and have it work (I ve only tested on JBOD AKA a single-disk RAID-0). So if you have a server from Dell or IBM or any other company that uses MegaRAID which fails you can probably just put the disks into a non-RAID SAS controller and have them work. As Linux doesn t care about the difference between SAS and SATA at the RAID level you could then add a SATA disk to an array of SAS disks. If you want to move an array from a dead Dell to a working IBM server or the other way around then you need it to be all SATA or all SAS. You can use a Linux system to mount an array used by Windows or any other OS and then migrate the data to a different array.
If you have an old array of SAS disks and one fails then it might be a reasonable option to just migrate the data to a new array of SATA SSDs. EG if you had 6*600G SAS disks you could move to 2*4TB SATA SSDs and get more storage, much higher performance, less power use, and less noise for a cost of $800 or so (you can spend more to get better performance) and some migration time.
Having a spare SAS controller for data recovery is convenient. Having a spare SAS disk for any RAID-5/RAID-6 is a good thing. Having lots of spare SAS disks probably isn t useful as migrating to SATA is a better choice. SATA SSDs are bigger and faster than most SAS disks that are in production. I m sure that someone uses SAS SSDs but I haven t yet seen them in production, if you have a SAS system and need the performance that SSDs can give then a new server with U.2 (the SAS equivalent of NVMe) is the way to go). SATA hard drives are also the solution for seriously large storage, 16TB SATA hard drives are cheap and work in all the 3.5 SAS systems.
It s hard to sell old SAS disks as there isn t much use for them.
So this blog is now celebrating its 21st birthday (or 20 if you count
from zero, or 18 if you want to be pedantic), and I figured I would do
this yearly thing of reviewing how that went.
Number of posts
2022 was the official 20th
anniversary in any case, and
that was one of my best years on record, with 46 posts, surpassed only
by the noisy 2005 (62) and matching 2006 (46). 2023, in comparison,
was underwhelming: a feeble 11 posts! What happened!
Well, I was busy with other things, mostly away from keyboard, that I
will not bore you with here...
The other thing that happened is that the one-liner I used to collect
stats was broken (it counted folders and other unrelated files) and
wildly overestimated 2022! Turns out I didn't write that much then:
But even that is inaccurate because, in ikiwiki, I can tag any page as
being featured on the blog. So we actually need to process the HTML
itself because we don't have much better on hand without going through
ikiwiki's internals:
Anyway. 2023 is certainly not a glorious year in that regard, in any case.
Visitors
In terms of visits, however, we had quite a few hits. According to
Goatcounter, I had 122 300 visits in 2023! 2022, in comparison,
had 89 363, so that's quite a rise.
What you read
I seem to have hit the Hacker News front page at least twice. I say
"seem" because it's actually pretty hard to tell what the HN
frontpage actually is on any given day. I had 22k visits on
2023-03-13, in any case, and you can't see me on the front that
day. We do see a post of mine on 2023-09-02, all the way down
there, which seem to have generated another 10k visits.
In any case, here were the most popular stories for you fine visitors:
Framework 12th gen laptop
review: 24k visits, which is
surprising for a 13k words article "without images", as some
critics have complained. 15k referred by Hacker News. Good
reference and time-consuming benchmarks, slowly bit-rotting.
That is, by far, my most popular article ever. A popular article in
2021 or 2022 was around 6k to 9k, so that's a big one. I suspect it
will keep getting traffic for a long while.
Calibre replacement considerations:
15k visits, most of which without a referrer. Was actually an old
article, but I suspect HN brought it back to light. I keep updating
that wiki page regularly when I find new things, but I'm still
using Calibre to import ebooks.
Hacking my Kobo Clara HD: is not
new but always gathering more and more hits, it had 1800 hits in
the first year, 4600 hits last year and now brought 6400 visitors
to the blog! Not directly related, but this iFixit
battery replacement guide I wrote also seem to be quite popular
Where you've been
People send less and less private information when they browse the
web. The number of visitors without referrers was 41% in 2021, it rose
to 44% in 2023. Most of the remaining traffic comes from Google, but
Hacker News is now a significant chunk, almost as big as Google.
In 2021, Google represented 23% of my traffic, in 2022, it was down to
15% so 18% is actually a rise from last year, even if it seems much
smaller than what I usually think of.
Ratio
Referrer
Visits
18%
Google
22 098
13%
Hacker News
16 003
2%
duckduckgo.com
2 640
1%
community.frame.work
1 090
1%
missing.csail.mit.edu
918
Note that Facebook and Twitter do not appear at all in my referrers.
Where you are
Unsurprisingly, most visits still come from the US:
Ratio
Country
Visits
26%
United States
32 010
14%
France
17 046
10%
Germany
11 650
6%
Canada
7 425
5%
United Kingdom
6 473
3%
Netherlands
3 436
Those ratios are nearly identical to last year, but quite different
from 2021, where Germany and France were more or less reversed.
Back in 2021, I mentioned there was a long tail of countries with at
least one visit, with 160 countries listed. I expanded that and
there's now 182 countries in that list, almost all of the 193 member
states in the UN.
What you were
Chrome's dominance continues to expand, even on readers of this blog,
gaining two percentage points from Firefox compared to 2021.
Ratio
Browser
Visits
49%
Firefox
60 126
36%
Chrome
44 052
14%
Safari
17 463
1%
Others
N/A
It seems like, unfortunately, my Lynx and Haiku users have not visited
in the past year. It seems like trying to read those metrics is like
figuring out tea leaves...
In terms of operating systems:
Ratio
OS
Visits
28%
Linux
34 010
23%
macOS
28 728
21%
Windows
26 303
17%
Android
20 614
10%
iOS
11 741
Again, Linux and Mac are over-represented, and Android and iOS are
under-represented.
What is next
I hope to write more next year. I've been thinking about a few posts I
could write for work, about how things work behind the scenes at Tor,
that could be informative for many people. We run a rather old setup,
but things hold up pretty well for what we throw at it, and it's worth
sharing that with the world...
So anyway, thanks for coming, faithful reader, and see you in the
coming 2024 year...
The Faithless is the second book in a political fantasy series that
seems likely to be a trilogy. It is a direct sequel to
The Unbroken, which you should read
first. As usual, Orbit made it unnecessarily hard to get re-immersed in
the world by refusing to provide memory aids for readers who read books as
they come out instead of only when the series is complete, but this is not
the fault of Clark or the book and you've heard me rant about this before.
The Unbroken was set in Qaz l (not-Algeria). The Faithless,
as readers of the first book might guess from the title, is set in
Balladaire (not-France). This is the palace intrigue book. Princess Luca
is fighting for her throne against her uncle, the regent. Touraine is
trying to represent her people. Whether and to what extent those
interests are aligned is much of the meat of this book.
Normally I enjoy palace intrigue novels for the competence porn: watching
someone navigate a complex political situation with skill and cunning, or
upend the entire system by building unlikely coalitions or using
unexpected routes to power. If you are similar, be warned that this is
not what you're going to get. Touraine is a fish out of water with no
idea how to navigate the Balladairan court, and does not magically become
an expert in the course of this novel. Luca has the knowledge, but she's
unsure, conflicted, and largely out-maneuvered. That means you will have
to brace for some painful scenes of some of the worst people apparently
getting what they want.
Despite that, I could not put this down. It was infuriating, frustrating,
and a much slower burn than I prefer, but the layers of complex
motivations that Clark builds up provided a different sort of payoff.
Two books in, the shape of this series is becoming clearer. This series
is about empire and colonialism, but with considerably more complexity
than fantasy normally brings to that topic. Power does not loosen its
grasp easily, and it has numerous tools for subtle punishment after
apparent upstart victories. Righteous causes rarely call banners to your
side; instead, they create opportunities for other people to maneuver to
their own advantage. Touraine has some amount of power now, but it's far
from obvious how to use it. Her life's training tells her that exercising
power will only cause trouble, and her enemies are more than happy to
reinforce that message at every opportunity.
Most notable to me is Clark's bitingly honest portrayal of the supposed
allies within the colonial power. It is clear that Luca is attempting to
take the most ethical actions as she defines them, but it's remarkable how
those efforts inevitably imply that Touraine should help Luca now in
exchange for Luca's tenuous and less-defined possible future aid. This is
not even a lie; it may be an accurate summary of Balladairan politics.
And yet, somehow what Balladaire needs always matters more than the needs
of their abused colony.
Underscoring this, Clark introduces another faction in the form of a
populist movement against the Balladairan monarchy. The details of that
setup in another fantasy novel would make them allies of the Qaz l. Here,
as is so often the case in real life, a substantial portion of the
populists are even more xenophobic and racist than the nobility. There
are no easy alliances.
The trump card that Qaz l holds is magic. They have it, and (for reasons
explored in The Unbroken) Balladaire needs it, although that is a
position held by Luca's faction and not by her uncle. But even Luca wants
to reduce that magic to a manageable technology, like any other element of
the Balladairan state. She wants to understand it, harness it, and bring
it under local control. Touraine, trained by Balladaire and facing
Balladairan political problems, has the same tendency. The magic, at
least in this book, refuses not in the flashy, rebellious way that it
would in most fantasy, but in a frustrating and incomprehensible lack of
predictable or convenient rules. I think this will feel like a plot
device to some readers, and that is to some extent true, but I think I see
glimmers of Clark setting up a conflict of world views that will play out
in the third book.
I think some people are going to bounce off this book. It's frustrating,
enraging, at times melodramatic, and does not offer the cathartic payoff
typically offered in fantasy novels of this type. Usually these are
things I would be complaining about as well. And yet, I found it
satisfyingly challenging, engrossing, and memorable. I spent a lot of the
book yelling "just kill him already" at the characters, but I think one of
Clark's points is that overcoming colonial relationships requires a lot
more than just killing one evil man. The characters profoundly fail to
execute some clever and victorious strategy. Instead, as in the first
book, they muddle through, making the best choice that they can see in
each moment, making lots of mistakes, and paying heavy prices. It's
realistic in a way that has nothing to do with blood or violence or
grittiness. (Although I did appreciate having the thin thread of Pruett's
story and its highly satisfying conclusion.)
This is also a slow-burn romance, and there too I think opinions will
differ. Touraine and Luca keep circling back to the same arguments and
the same frustrations, and there were times that this felt repetitive. It
also adds a lot of personal drama to the politics in a way that
occasionally made me dubious. But here too, I think Clark is partly using
the romance to illustrate the deeper political points.
Luca is often insufferable, cruel and ambitious in ways she doesn't
realize, and only vaguely able to understand the Qaz l perspective; in
short, she's the pragmatic centrist reformer. I am dubious that her
ethics would lead her to anything other than endless compromise without
Touraine to push her. To Luca's credit, she also realizes that and wants
to be a better person, but struggles to have the courage to act on it.
Touraine both does and does not want to manipulate her; she wants Luca's
help (and more), but it's not clear Luca will give it under acceptable
terms, or even understand how much she's demanding. It's that
foundational conflict that turns the romance into a slow burn by pushing
them apart. Apparently I have more patience for this type of on-again,
off-again relationship than one based on artificial miscommunication.
The more I noticed the political subtext, the more engaging I found the
romance on the surface.
I picked this up because I'd read several books about black characters
written by white authors, and while there was nothing that wrong with
those books, the politics felt a little too reductionist and simplified.
I wanted a book that was going to force me out of comfortable political
assumptions. The Faithless did exactly what I was looking for, and
I am definitely here for the rest of the series. In that sense,
recommended, although do not go into this book hoping for adroit court
maneuvering and competence porn.
Followed by The Sovereign, which does not yet have a release date.
Content warnings: Child death, attempted cultural genocide.
Rating: 7 out of 10
Posted on January 5, 2024
Tags: madeof:atoms
Lately I ve seen people on the internet talking about victorian crazy
quilting. Years ago I had watched a Numberphile video about Hitomezashi
Stitch Patterns based on numbers, words or randomness.
Few weeks ago I had cut some fabric piece out of an old pair of jeans
and I had a lot of scraps that were too small to do anything useful on
their own.
It easy to see where this can go, right?
I cut a pocket shape out of old garment mockups (this required some
piecing), drew a square grid, arranged scraps of jeans to cover the
other side, kept everything together with a lot of pins, carefully
avoided basting anything, and started covering everything in sashiko /
hitomezashi stitches, starting each line with a stitch on the front or
the back of the work based on the result of:
import random
random.choice(["front", "back"])
For the second piece I tried to use a piece of paper with the square
grid instead of drawing it on the fabric: it worked, mostly, I would not
do it again as removing the paper was more of a hassle than drawing the
lines in the first place. I suspected it, but had to try it anyway.
Then I added a lining from some plain black cotton from the stash; for
the slit I put the lining on the front right sides together, sewn
at 2 mm from the marked slit, cut it, turned the lining to the back
side, pressed and then topstitched as close as possible to the slit from
the front.
I bound everything with bias tape, adding herringbone tape loops at the
top to hang it from a belt (such as one made from the waistband of one
of the donor pair of jeans) and that was it.
I like the way the result feels; maybe it s a bit too stiff for a
pocket, but I can see it work very well for a bigger bag, and maybe even
a jacket or some other outer garment.
In 2023, I finished and reviewed 53 books, continuing a trend of
year-over-year increases and of reading the most books since 2012 (the
last year I averaged five books a month). Reviewing continued to be
uneven, with a significant slump in the summer and smaller slumps in
February and November, and a big clump of reviews finished in October in
addition to my normal year-end reading and reviewing vacation.
The unevenness this year was mostly due to finishing books and not writing
reviews immediately. Reviews are much harder to write when the finished
books are piling up, so one goal for 2024 is to not let that happen again.
I enter the new year with one book finished and not yet reviewed, after
reading a book about every day and a half during my December vacation.
I read two all-time favorite books this year. The first was Emily Tesh's
debut novel Some
Desperate Glory, which is one of the best space opera novels I have ever
read. I cannot improve on Shelley Parker-Chan's blurb for this book:
"Fierce and heartbreakingly humane, this book is for everyone who loved
Ender's Game, but Ender's Game didn't love them back." This
is not hard science fiction but it is fantastic character fiction. It was
exactly what I needed in the middle of a year in which I was fighting a
"burn everything down" mood.
The second was Night
Watch by Terry Pratchett, the 29th Discworld and 6th Watch novel.
Throughout my Discworld read-through, Pratchett felt like he was on the
cusp of a truly stand-out novel, one where all the pieces fit and the book
becomes something more than the sum of its parts. This was that book.
It's a book about ethics and revolutions and governance, but also about
how your perception of yourself changes as you get older. It does all of
the normal Pratchett things, just... better. While I would love to point
new Discworld readers at it, I think you do have to read at least the
Watch novels that came before it for it to carry its proper emotional
heft.
This was overall a solid year for fiction reading. I read another 15
novels I rated 8 out of 10, and 12 that I rated 7 out of 10. The largest
contributor to that was my Discworld read-through, which was reliably
entertaining throughout the year. The run of Discworld books between
The Fifth Elephant
(read late last year) and Wintersmith (my last of this year) was the best run of Discworld
novels so far. One additional book I'll call out as particularly worth
reading is Thud!,
the Watch novel after Night Watch and another excellent entry.
I read two stand-out non-fiction books this year. The first was Oliver
Darkshire's delightful memoir about life as a rare book seller,
Once Upon a Tome.
One of the things I will miss about Twitter is the regularity with which I
stumbled across fascinating people and then got to read their books. I'm
off Twitter permanently now because the platform is designed to make me
incoherently angry and I need less of that in my life, but it was very
good at finding delightfully quirky books like this one.
My other favorite non-fiction book of the year was Michael Lewis's
Going Infinite, a
profile of Sam Bankman-Fried. I'm still bemused at the negative reviews
that this got from people who were upset that Lewis didn't turn the story
into a black-and-white morality play. Bankman-Fried's actions were
clearly criminal; that's not in dispute. Human motivations can be complex
in ways that are irrelevant to the law, and I thought this attempt to
understand that complexity by a top-notch storyteller was worthy of
attention.
Also worth a mention is Tony Judt's
Postwar, the first
book I reviewed in 2023. A sprawling history of post-World-War-II Europe
will never have the sheer readability of shorter, punchier books, but this
was the most informative book that I read in 2023.
2024 should see the conclusion of my Discworld read-through, after which I
may return to re-reading Mercedes Lackey or David Eddings, both of which I
paused to make time for Terry Pratchett. I also have another re-read
similar to my Chronicles of
Narnia reviews that I've been thinking about for a while. Perhaps I will
start that next year; perhaps it will wait for 2025.
Apart from that, my intention as always is to read steadily, write reviews
as close to when I finished the book as possible, and make reading time
for my huge existing backlog despite the constant allure of new releases.
Here's to a new year full of more new-to-me books and occasional old
favorites.
The full analysis includes some
additional personal reading statistics, probably only of interest to me.
The Hound of Justice is a near-future thriller novel with Sherlock
Holmes references. It is a direct sequel to A Study in Honor. This series is best read in order.
Janet Watson is in a much better place than she was in the first book.
She has proper physical therapy, a new arm, and a surgeon's job waiting
for her as soon as she can master its features. A chance meeting due to
an Inauguration Day terrorist attack may even develop into something more.
She just needs to get back into the operating room and then she'll feel
like her life is back on track.
Sara Holmes, on the other hand, is restless, bored, and manic, rudely
intruding on Watson's date. Then she disappears, upending Watson's living
arrangements. She's on the trail of something. When mysterious
destructible notes start appearing in Watson's books, it's clear that she
wants help.
The structure of this book didn't really work for me. The first third or
so is a slice-of-life account of Watson's attempt to resume her career as
a surgeon against a backdrop of ongoing depressing politics. This part
sounds like the least interesting, but I was thoroughly engrossed. Watson
is easy to care about, hospital politics are strangely interesting, and
while the romance never quite clicked for me, it had potential. I was
hoping for another book like A Study in Honor, where Watson's life
and Holmes's investigations entwine and run in parallel.
That was not to be. The middle third of the book pulls Watson away to
Georgia and a complicated mix of family obligations and spy-novel
machinations. If this had involved Sara's fae strangeness, verbal
sparring, and odd tokens of appreciation, maybe it would have worked, but
Sara Holmes is entirely off-camera. Watson is instead dealing with a
minor supporting character from the first book, who drags her through
disguises, vehicle changes, and border stops in a way that felt excessive
and weirdly out of place. (Other reviews say that this character is the
Mycroft Holmes equivalent; the first initial of Micha's name fits, but
nothing else does so far as I can tell.)
Then the last third of the novel turns into a heist.
I like a heist novel as much as the next person, but a good heist story
needs a team with chemistry and interplay, and I didn't know any of these
people. There was way too little Sara Holmes, too much of Watson being
out of her element in a rather generic way, and too many steps that Watson
is led through without giving the reader a chance to enjoy the competence
of the team. It felt jarring and disconnected, like Watson got pulled out
of one story and dropped into an entirely different story without a proper
groundwork.
The Hound of Justice still has its moments. Watson is a great
character and I'm still fully invested in her life. She was pulled into
this mission because she's the person Holmes knows with the appropriate
skills, and when she finally gets a chance to put those skills to use,
it's quite satisfying.
But, alas, the magic of A Study in Honor simply isn't here, in part
because Sara Holmes is missing for most of the book and her replacements
and stand-ins are nowhere near as intriguing. The villain's plan seems
wildly impractical and highly likely to be detected, and although I can
come up with some explanations to salvage it, those don't appear in the
book. And, as in the first book, the villain seems very one-dimensional
and simplistic. This is certainly not a villain worthy of Holmes.
Fittingly, given the political movements O'Dell is commenting on, a lot of
this book is about racial politics. O'Dell contrasts the microaggressions
and more subtle dangers for Watson as a black woman in Washington, D.C.,
with the more explicit and active racism of the other places to which she
travels over the course of the story. She's trying very hard to give the
reader a feeling for what it's like to be black in the United States. I
don't have any specific complaints about this, and I'm glad she's
attempting it, but I came away from this book with a nagging feeling that
Watson's reactions were a tiny bit off. It felt like a white person
writing about racism rather than a black person writing about racism:
nothing is entirely incorrect, but the emotional beats aren't quite where
black authors would put them. I could be completely wrong about this, and
am certainly much less qualified to comment than O'Dell is, but there were
enough places that landed slightly wrong that I wanted to note it.
I would still recommend A Study in Honor, but I'm not sure I can
recommend this book. This is one of those series where the things that I
enjoyed the most about the first book weren't what the author wanted to
focus on in subsequent books. I would read more about the day-to-day of
Watson's life, and I would certainly read more of Holmes and Watson
sparring and circling and trying to understand each other. I'm less
interested in somewhat generic thrillers with implausible plots and
Sherlock Holmes references.
At the moment, this is academic, since The Hound of Justice is the
last book of the series so far.
Rating: 6 out of 10
Read all parts of the series
Part 1
// Part 2
// Part 3
// Part 4
I ve been wanting to write this post for over a year, but lacked energy
and time. Before 2023 is coming to an end, I want to close this series
and share some more insights with you and hopefully provide you with a
smile here and there.
For this round of interviews, four more kids around the ages of 8 to 13
were interviewed, 3 of them have a US background these 3
interviews were done by a friend who recorded these interviews for me,
thank you!
As opposed to the previous interviews, these four kids have parents who
have a more technical professional background. And this seems to make a
difference: even though none of these kids actually knew much better how
the internet really works than the other kids that I interviewed,
specifically in terms of physical infrastructures, they were much more
confident in using the internet, they were able to more correctly name
things they see on the internet, and they had partly radical ideas about
what they would like to learn or what they would want to change about
the internet!
Looking at these results, I think it s safe to say that social
reproduction is at work and that we need to improve education for kids
who do not profit from this type of social and cultural wealth at home.
But let s dive into the details.
The boy and the aliens
(I ll be mostly transribing the interview, which was short, and which I
find difficult to sum up because some of the questions are written
in a way to encourage the kids to tell a story, and this particular kid
had a thing going on with aliens.)
He s a 13 year old boy living in the US. He has his own computer, which
technically belongs to his school but can be used by him freely and he
can also take it home.
He s the first kid saying he s reading the news on the internet; he does
not actually use social media, besides sometimes watching TikTok.
When asked: Imagine that aliens land and come to you and say: We ve
heard about this internet thing you all talk about, what is it? What do
you tell them? he replied:
Well, I mean they re aliens, so I don t know if I wanna tell them
much.
(Parents laughing in the background.)
Let s assume they re friendly aliens.
Well, I would say you can look anything up and play different games.
And there are alien games. But mostly the enemies are aliens which you
might be a little offended by. And you can get work done, if you
needed to spy on humans. There s cameras, you can film yourself, yeah.
And you can text people and call people who are far away
And what would be in a drawing that would explain the internet?
And here s what he explains about his drawing:
First, I would draw what I see when you open a new tab, Google.
On the right side of the drawing we see something like Twitch.
I don t wanna offend the aliens, but you can film yourself playing a
game, so here is the alien and he s playing a game.
And then you can ask questions like: How did aliens come to the Earth? And
the answer will be here (below). And there ll be different websites
that you can click on.
And you can also look up Who won the alien contest? And that would
be Usmushgagu, and that guy won the alien contest.
Do you think the information about alien intergalactic football is
already on the internet?
Yeah! That s how fast the internet is.
On the bottom of the drawing we see an iPhone and an instant messaging software.
There s also a device called an iPhone and with it you can text your
friends. So here s the alien asking: How was ur day? and the friend
might answer IDK [I don t know].
Imagine that a wise and friendly dragon could teach you one thing about
the internet that you ve always wanted to know. What would you ask the
dragon to teach you about?
Is there a way you don t have to pay for any channels or subscriptions
and you can get through any firewall?
Imagine you could make the internet better for everyone. What would you do first?
Well you wouldn t have to pay for it [paywalls].
Can you describe what happens between your device and a website when you
visit a website?
Well, it takes 0.025 seconds. [ ] It s connecting.
Wow, that s indeed fast! We were not able to obtain more details about
what is that fast thing that s happening exactly
The software engineer s kid
This kid identifies as neither boy nor girl, is 10 years old and lives
in Germany. Their father works as a software engineer, or in the words
of the child:
My dad knows everything.
The kid has a laptop and a mobile phone, both with parental
control they don t think that the controlling is fair.
This kid uses the internet foremostly for listening to music and
watching prank channels on Youtube but also to work with Purple Mash (a
teaching platform for the computing curriculum used at their school),
finding 3d printing models (that they ask their father to print with
them because they did not manage to use the printer by themselves yet).
Interestingly, and very differently from the non-tech-parent kids, this
kid insists on using Firefox and Signal - the latter is not only used by
their dad to tell them to come downstairs for dinner, but also to call
their grandmother. This kid also shops online, with the help of the
father who does the actual shopping for them using money that the kid
earned by reading books.
If you would need to explain to an alien who has landed on Earth what
the internet is, what would you tell them?
The internet is something where you search, for example, you can look
for music. You can also watch videos from around the world, and you
can program stuff.
Like most of the kids interviewed, this kid uses the internet mostly for
media consumption, but with the difference that they also engage with
technology by way of programming using Purple Mash.
In their drawing we see a Youtube prank channel on a screen, an external
trackpad on the right (likely it s not a touch screen), and headphones.
Notice how there is no keyboard, or maybe it s folded away.
If you could ask a nice and friendly dragon anything you d like to
learn about the internet, what would it be?
How do I shutdown my dad s computer forever?
And what is it that he would do to improve the internet for
everyone?
Contrary to the kid living in the US, they think that
It takes too much time to load stuff!
I wonder if this kid experiences the internet as being slow because they use
the mobile network or because their connection somehow gets throttled as a
way to control media consumption, or if the German internet
infrastructure is just so much worse in certain regions
If you could improve the internet for everyone, what would you do
first?
I d make a new Firefox app that loads the internet much faster.
The software engineer s daughter
This girl is only 8 years old, she hates unicorns, and her dad is also a
software engineer. She uses a smartphone, controlled by her parents. My
impression of the interview is that at this age, kids slightly mix up
the internet with the devices that they use to access the internet.
In her drawing, we see again Google - it s clearly everywhere - and also
the interfaces for calling and texting someone.
To explain what the internet is, besides the fact that one
can use it for calling and listening to music, she says:
[The internet] is something that you can [use to] see someone who is
far away, so that you don t need to take time to get to them.
Now, that s a great explanation, the internet providing the possibility
for communication over a distance :)
If she could ask a friendly dragon something she always wanted to know,
she d ask how to make her phone come alive:
that it can talk to you, that it can see you, that it can smile and
has eyes. It s like a new family member, you can talk to it.
Sounds a bit like Siri, Alexa, or Furby, doesn t it?
If you could improve the internet for everyone, what would you do
first?
She d have the phone be able to decide over her free time, her phone
time. That would make the world better, not for the kids, but certainly
for the parents.
The antifascist kid
This German boy s dad has a background in electrotechnical engineering.
He s 10 years old and he told me he s using the internet a lot for
searching things for example about his passion: the firefighters. For
him, the internet is:
An invisible world. A virtual world. But there s also the darknet.
He told me he always watches that German show on public TV for kids that
explains stuff: Checker Tobi. (In 2014, Checker Tobi actually produced an episode about the
internet, which I d criticize for having only male characters,
except for one female character: a secretary Google, a nice and
friendly woman guiding the way through the huge library that s the
internet )
This kid was the only one interviewed who managed to actually explain
something about the internet, or rather about the hypertextual structure
of the web. When I asked him to draw the internet, he made a drawing of
a pin board. He explained:
Many items are attached to the pin board, and on the top left corner
there s a computer, for example with Youtube and one can navigate like
that between all the items, and start again from the beginning when
done.
When I asked if he knew what actually happens between the device and a
website he visits, he put forth the hypothesis of the existence of some
kind of
Waves, internet waves - all this stuff somehow needs to be transmitted.
What he d like to learn:
How to get into the darknet? How do you become a Whitehat? I ve heard
these words on the internet, the internet makes me clever.
And what would he change on the internet if he could?
I want that right wing extreme stuff is not accessible anymore, or
at least, that it rains turds ( Kackw rste ) whenever people watch
such stuff. Or that people are always told: This video is scum.
I suspect that his father has been talking with him about these things,
and maybe these are also subjects he heard about when listening to punk
music (he told me he does), or browsing Youtube.
Future projects
To me this has been pretty insightful. I might share some more internet
drawings by adults in the future, which I think are also really
interesting, as they show very different things depending on the age of
the person.
I ve been using the information gathered to work on a children s
book which I hope to be able to share with you next year.
The Afterward is a standalone young adult high fantasy with a
substantial romance component. The title is not misspelled.
Sir Erris and her six companions, matching the number of the new gods,
were successful in their quest for the godsgem. They defeated the Old God
and destroyed Him forever, freeing King Dorrenta from his ensorcellment,
and returned in triumph to Cadrium to live happily ever after. Or so the
story goes.
Sir Erris and three of the companions are knights. Another companion is
the best mage in the kingdom. Kalanthe Ironheart, who distracted the Old
God at a critical moment and allowed Sir Erris to strike, is only an
apprentice due to her age, but surely will become a great knight. And
then there is Olsa Rhetsdaughter, the lowborn thief, now somewhat
mockingly called Thief of the Realm for all the good that does her. The
reward was enough for her to buy her freedom from the Thief's Court. It
was not enough to pay for food after that, or enough for her to change her
profession, and the Thief's Court no longer has any incentive to give her
easy (or survivable) assignments.
Kalanthe is in a considerably better position, but she still needs a good
marriage. Her reward paid off half of her debt, which broadens her
options, but she's still a debt-knight, liable for the full cost of her
training once she reaches the age of nineteen. She's mostly made her
peace with the decisions she made given her family's modest means, but
marriages of that type are usually for heirs, and Kalanthe is not looking
forward to bearing a child. Or, for that matter, sleeping with a man.
Olsa and Kalanthe fell in love during the Quest. Given Kalanthe's debt
and the way it must be paid, and her iron-willed determination to keep
vows, neither of them expected their relationship to survive the end of
the Quest. Both of them wish that it had.
The hook is that this novel picks up after the epic fantasy quest is over
and everyone went home. This is not an entirely correct synopsis;
chapters of The Afterward alternate between "After" and "Before"
(and one chapter delightfully titled "More or less the exact moment of"),
and by the end of the book we get much of the story of the Quest. It's
not told from the perspective of the lead heroes, though; it's told by
following Kalanthe and Olsa, who would be firmly relegated to supporting
characters in a typical high fantasy. And it's largely told through the
lens of their romance.
This is not the best fantasy novel I've read, but I had a fun time with
it. I am now curious about the intended audience and marketing, though.
It was published by a YA imprint, and both the ages of the main characters
and the general theme of late teenagers trying to chart a course in an
adult world match that niche. But it's also clearly intended for readers
who have read enough epic fantasy quests that they will both be amused by
the homage and not care that the story elides a lot of the typical
details. Anyone who read David Eddings at an impressionable age will
enjoy the way Johnston pokes gentle fun at The Belgariad (this book is dedicated to David and Leigh
Eddings), but surely the typical reader of YA fantasy these days isn't
also reading Eddings. I'm therefore not quite sure who this book was for,
but apparently that group included me.
Johnston thankfully is not on board with the less savory parts of
Eddings's writing, as you might have guessed from the sapphic romance.
There is no obnoxious gender essentialism here, although there do appear
to be gender roles that I never quite figured out. Knights are referred
to as sir, but all of the knights in this story are women. Men still seem
to run a lot of things (kingdoms, estates, mage colleges), but apart from
the mage, everyone on the Quest was female, and there seems to be an
expectation that women go out into the world and have adventures while men
stay home. I'm not sure if there was an underlying system that escaped
me, or if Johnston just mixed things up for the hell of it. (If the
latter, I approve.)
This book does suffer a bit from addressing some current-day
representation issues without managing to fold them naturally into the
story or setting. One of the Quest knights is transgender, something
that's revealed in a awkward couple of paragraphs and then never mentioned
again. Two of the characters have a painfully earnest conversation about
the word "bisexual," complete with a strained attempt at in-universe
etymology. Racial diversity (Olsa is black, and Kalanthe is also not
white) seemed to be handled a bit better, although I am not the reader to
notice if the discussions of hair maintenance were similarly awkward.
This is way better than no representation and default-white characters, to
be clear, but it felt a bit shoehorned in at times and could have used
some more polish.
These are quibbles, though. Olsa was the heart of the book for me, and is
exactly the sort of character I like to read about. Kalanthe is pure
stubborn paladin, but I liked her more and more as the story continued.
She provides a good counterbalance to Olsa's natural chaos. I do wish
Olsa had more opportunities to show her own competence (she's not a very
good thief, she's just the thief that Sir Erris happened to know), but the
climax of the story was satisfying. My main grumble is that I badly
wanted to dwell on the happily-ever-after for at least another chapter,
ideally two. Johnston was done with the story before I was.
The writing was serviceable but not great and there are some bits that I
don't think would stand up to a strong poke, but the characters carried
the story for me. Recommended if you'd like some sapphic romance and
lightweight class analysis complicating your Eddings-style quest fantasy.
Rating: 7 out of 10
Nettle & Bone is a standalone fantasy novel with fairy tale vibes.
T. Kingfisher is a pen name for Ursula Vernon.
As the book opens, Marra is giving herself a blood infection by wiring
together dog bones out of a charnel pit. This is the second of three
impossible tasks that she was given by the dust-wife. Completing all
three will give her the tools to kill a prince.
I am a little cautious of which T. Kingfisher books I read since she
sometimes writes fantasy and sometimes writes horror and I don't get along
with horror. This one seemed a bit horrific in the marketing, so I held
off on reading it despite the Hugo nomination. It turns out to be just on
the safe side of my horror tolerance, with only a couple of parts that I
read a bit quickly.
One of those is the opening, which I am happy to report does not set the
tone for the rest of the book. Marra starts the story in a wasteland full
of disease, madmen, and cannibals (who, in typical Ursula Vernon fashion,
turn out to be nicer than the judgmental assholes outside of the blistered
land). She doesn't stay there long. By chapter two, the story moves on
to flashbacks explaining how Marra ended up there, alternating with
further (and less horrific) steps in her quest to kill the prince of the
Northern Kingdom.
Marra is a princess of a small, relatively poor coastal kingdom with a
good harbor and acquisitive neighbors. Her mother, the queen, has
protected the kingdom through arranged marriage of her daughters to the
prince of the Northern Kingdom, who rules it in all but name given the
mental deterioration of his father the king. Marra's eldest sister Damia
was first, but she died suddenly and mysteriously in a fall. (If you're
thinking about the way women are injured by "accident," you have the right
idea.) Kania, the middle sister, is next to marry; she lives, but not
without cost. Meanwhile, Marra is sent off to a convent to ensure that
there are no complicating potential heirs, and to keep her on hand as a
spare.
I won't spoil the entire backstory, but you do learn it all. Marra is a
typical Kingfisher protagonist: a woman who is way out of her depth who
persists with stubbornness, curiosity, and innate decency because what
else is there to do? She accumulates the typical group of misfits and
oddballs common in Kingfisher's quest fantasies, characters that in the
Chosen One male fantasy would be supporting characters at best. The
bone-wife is a delight; her chicken is even better. There are fairy
godmothers and a goblin market and a tooth extraction that was one of the
creepiest things I've read without actually being horror. It is, in
short, a Kingfisher fantasy novel, with a touch more horror than average
but not enough to push it out of the fantasy genre.
I think my favorite part of this book was not the main quest. It was the
flashback scenes set in the convent, where Marra has the space (and the
mentorship) to develop her sense of self.
"We're a mystery religion," said the abbess, when she'd had a bit more
wine than usual, "for people who have too much work to do to bother
with mysteries. So we simply get along as best we can. Occasionally
someone has a vision, but [the goddess] doesn't seem to want anything
much, and so we try to return the favor."
If you have read any other Kingfisher novels, much of this will be
familiar: the speculative asides, the dogged determination, the slightly
askew nature of the world, the vibes-based world-building that feels more
like a fairy tale than a carefully constructed magic system, and the sense
that the main characters (and nearly all of the supporting characters) are
average people trying to play the hands they were dealt as ethically as
they can. You will know that the tentative and woman-initiated romance is
coming as soon as the party meets the paladin type who is almost always
the romantic interest in one of these books. The emotional tone of the
book is a bit predictable for regular readers, but Ursula Vernon's brain
is such a delightful place to spend some time that I don't mind.
Marra had not managed to be pale and willowy and consumptive at any
point in eighteen years of life and did not think she could achieve it
before she died.
Nettle & Bone won the Hugo for Best Novel in 2023. I'm not sure
why this specific T. Kingfisher novel won and not any of the half-dozen
earlier novels she's written in a similar style, but sure, I have no
objections. I'm glad one of them won; they're all worth reading and
hopefully that will help more people discover this delightful style of
fantasy that doesn't feel like what anyone else is doing. Recommended,
although be prepared for a few more horror touches than normal and a
rather grim first chapter.
Content warnings: domestic abuse. The dog... lives? Is equally as alive
at the end of the book as it was at the end of the first chapter? The dog
does not die; I'll just leave it at that. (Neither does the chicken.)
Rating: 8 out of 10
A Study in Scarlet is the short mystery novel (probably a novella,
although I didn't count words) that introduced the world to Sherlock
Holmes.
I'm going to invoke the 100-year-rule and discuss the plot of this book
rather freely on the grounds that even someone who (like me prior to a few
days ago) has not yet read it is probably not that invested in avoiding
all spoilers. If you do want to remain entirely unspoiled, exercise
caution before reading on.
I had somehow managed to avoid ever reading anything by Arthur Conan
Doyle, not even a short story. I therefore couldn't be sure that some of
the assertions I was making in my review of A Study in Honor were correct. Since A Study in Scarlet
would be quick to read, I decided on a whim to do a bit of research and
grab a free copy of the first Holmes novel. Holmes is such a part of
English-speaking culture that I thought I had a pretty good idea of what
to expect.
This was largely true, but cultural osmosis had somehow not prepared me
for the surprise Mormons.
A Study in Scarlet establishes the basic parameters of a Holmes
story: Dr. James Watson as narrator, the apartment he shares with Holmes
at 221B Baker Street, the Baker Street Irregulars, Holmes's competition
with police detectives, and his penchant for making leaps of logical
deduction from subtle clues. The story opens with Watson meeting Holmes,
agreeing to split the rent of a flat, and being baffled by the apparent
randomness of Holmes's fields of study before Holmes reveals he's a
consulting detective. The first case is a murder: a man is found dead in
an abandoned house, without a mark on him although there are blood
splatters on the walls and the word "RACHE" written in blood.
Since my only prior exposure to Holmes was from cultural references and a
few TV adaptations, there were a few things that surprised me. One is
that Holmes is voluble and animated rather than aloof. Doyle is clearly
going for passionate eccentric rather than calculating mastermind.
Another is that he is intentionally and unabashedly ignorant on any topic
not related to solving mysteries.
My surprise reached a climax, however, when I found incidentally that
he was ignorant of the Copernican Theory and of the composition of the
Solar System. That any civilized human being in this nineteenth
century should not be aware that the earth travelled round the sun
appeared to be to me such an extraordinary fact that I could hardly
realize it.
"You appear to be astonished," he said, smiling at my expression of
surprise. "Now that I do know it I shall do my best to forget it."
"To forget it!"
"You see," he explained, "I consider that a man's brain originally is
like a little empty attic, and you have to stock it with such
furniture as you chose. A fool takes in all the lumber of every sort
that he comes across, so that the knowledge which might be useful to
him gets crowded out, or at best is jumbled up with a lot of other
things so that he has a difficulty in laying his hands upon it. Now
the skilful workman is very careful indeed as to what he takes into
his brain-attic. He will have nothing but the tools which may help
him in doing his work, but of these he has a large assortment, and all
in the most perfect order. It is a mistake to think that that little
room has elastic walls and can distend to any extent. Depend upon it
there comes a time when for every addition of knowledge you forget
something that you knew before. It is of the highest importance,
therefore, not to have useless facts elbowing out the useful ones."
This is directly contrary to my expectation that the best way to make
leaps of deduction is to know something about a huge range of topics so
that one can draw unexpected connections, particularly given the
puzzle-box construction and odd details so beloved in classic mysteries.
I'm now curious if Doyle stuck with this conception, and if there were any
later mysteries that involved astronomy.
Speaking of classic mysteries, A Study in Scarlet isn't quite one,
although one can see the shape of the genre to come. Doyle does not "play
fair" by the rules that have not yet been invented. Holmes at most points
knows considerably more than the reader, including bits of evidence that
are not described until Holmes describes them and research that Holmes
does off-camera and only reveals when he wants to be dramatic. This is
not the sort of story where the reader is encouraged to try to figure out
the mystery before the detective.
Rather, what Doyle seems to be aiming for, and what Watson attempts
(unsuccessfully) as the reader surrogate, is slightly different: once
Holmes makes one of his grand assertions, the reader is encouraged to
guess what Holmes might have done to arrive at that conclusion. Doyle
seems to want the reader to guess technique rather than outcome, while
providing only vague clues in general descriptions of Holmes's behavior at
a crime scene.
The structure of this story is quite odd. The first part is roughly what
you would expect: first-person narration from Watson, supposedly taken
from his journals but not at all in the style of a journal and explicitly
written for an audience. Part one concludes with Holmes capturing and
dramatically announcing the name of the killer, who the reader has never
heard of before. Part two then opens with... a western?
In the central portion of the great North American Continent there
lies an arid and repulsive desert, which for many a long year served
as a barrier against the advance of civilization. From the Sierra
Nevada to Nebraska, and from the Yellowstone River in the north to the
Colorado upon the south, is a region of desolation and silence. Nor
is Nature always in one mood throughout the grim district. It
comprises snow-capped and lofty mountains, and dark and gloomy
valleys. There are swift-flowing rivers which dash through jagged
ca ons; and there are enormous plains, which in winter are white with
snow, and in summer are grey with the saline alkali dust. They all
preserve, however, the common characteristics of barrenness,
inhospitality, and misery.
First, I have issues with the geography. That region contains some of the
most beautiful areas on earth, and while a lot of that region is arid,
describing it primarily as a repulsive desert is a bit much. Doyle's
boundaries and distances are also confusing: the Yellowstone is a
northeast-flowing river with its source in Wyoming, so the area between it
and the Colorado does not extend to the Sierra Nevadas (or even to Utah),
and it's not entirely clear to me that he realizes Nevada exists.
This is probably what it's like for people who live anywhere else in the
world when US authors write about their country.
But second, there's no Holmes, no Watson, and not even the pretense of a
transition from the detective novel that we were just reading. Doyle just
launches into a random western with an omniscient narrator. It features a
lean, grizzled man and an adorable child that he adopts and raises into a
beautiful free spirit, who then falls in love with a wild gold-rush
adventurer. This was written about 15 years before the first critically
recognized western novel, so I can't blame Doyle for all the cliches here,
but to a modern reader all of these characters are straight from central
casting.
Well, except for the villains, who are the Mormons. By that, I don't mean
that the villains are Mormon. I mean Brigham Young is the on-page
villain, plotting against the hero to force his adopted daughter into a
Mormon harem (to use the word that Doyle uses repeatedly) and ruling Salt
Lake City with an iron hand, border guards with passwords (?!), and secret
police. This part of the book was wild. I was laughing out-loud
at the sheer malevolent absurdity of the thirty-day countdown to marriage,
which I doubt was the intended effect.
We do eventually learn that this is the backstory of the murder, but we
don't return to Watson and Holmes for multiple chapters. Which leads me
to the other thing that surprised me: Doyle lays out this backstory, but
then never has his characters comment directly on the morality of it, only
the spectacle. Holmes cares only for the intellectual challenge (and for
who gets credit), and Doyle sets things up so that the reader need not
concern themselves with aftermath, punishment, or anything of that sort.
I probably shouldn't have been surprised this does fit with the Holmes
stereotype but I'm used to modern fiction where there is usually at
least some effort to pass judgment on the events of the story. Doyle
draws very clear villains, but is utterly silent on whether the murder is
justified.
Given its status in the history of literature, I'm not sorry to have read
this book, but I didn't particularly enjoy it. It is very much of its
time: everyone's moral character is linked directly to their physical
appearance, and Doyle uses the occasional racial stereotype without a
second thought. Prevailing writing styles have changed, so the prose
feels long-winded and breathless. The rivalry between Holmes and the
police detectives is tedious and annoying. I also find it hard to read
novels from before the general absorption of techniques of emotional
realism and interiority into all genres. The characters in A Study
in Scarlet felt more like cartoon characters than fully-realized human
beings.
I have no strong opinion about the objective merits of this book in the
context of its time other than to note that the sudden inserted western
felt very weird. My understanding is that this is not considered one of
the better Holmes stories, and Holmes gets some deeper characterization
later on. Maybe I'll try another of Doyle's works someday, but for now my
curiosity has been sated.
Followed by The Sign of the Four.
Rating: 4 out of 10
A Study in Honor is a near-future science fiction novel by Claire
O'Dell, a pen name for Beth Bernobich. You will see some assertions,
including by the Lambda Literary Award judges, that it is a mystery novel.
There is a mystery, but... well, more on that in a moment.
Janet Watson was an Army surgeon in the Second US Civil War when New
Confederacy troops overran the lines in Alton, Illinois. Watson lost her
left arm to enemy fire. As this book opens, she is returning to
Washington, D.C. with a medical discharge, PTSD, and a field replacement
artificial arm scavenged from a dead soldier. It works, sort of, mostly,
despite being mismatched to her arm and old in both technology and
previous wear. It does not work well enough for her to resume her career
as a surgeon.
Watson's plan is to request a better artificial arm from the VA (the
United States Department of Veterans Affairs, which among other things is
responsible for the medical care of wounded veterans). That plan meets a
wall of unyielding and uninterested bureaucracy. She has a pension, but
it's barely enough for cheap lodging. A lifeline comes in the form of a
chance encounter with a former assistant in the Army, who has a difficult
friend looking to split the cost of an apartment. The name of that friend
is Sara Holmes.
At this point, you know what to expect. This is clearly one of the many
respinnings of Arthur Conan Doyle. This time, the setting is in the
future and Watson and Holmes are both black women, but the other elements
of the setup are familiar: the immediate deduction that Watson came from
the front, the shared rooms (2809 Q Street this time, sacrificing homage
for the accuracy of a real address), Holmes's tendency to play an
instrument (this time the piano), and even the title of this book, which
is an obvious echo of the title of the first Holmes novel, A Study
in Scarlet.
Except that's not what you'll get. There are a lot of parallels and
references here, but this is not a Holmes-style detective novel.
First, it's only arguably a detective novel at all. There is a mystery,
which starts with a patient Watson sees in her fallback job as a medical
tech in the VA hospital and escalates to a physical attack, but that
doesn't start until a third of the way into the book. It certainly is not
solved through minute clues and leaps of deduction; instead, that part of
the plot has the shape of a thriller rather than a classic mystery. There
is a good argument that the thriller is the modern mystery novel, so I
don't want to overstate my case, but I think someone who came to this book
wanting a Doyle-style mystery would be disappointed.
Second, the mystery is not the heart of this book. Watson is. She, like
Doyle's Watson, is the first-person narrator, but she is far more present
in the book. I have no idea how accurate O'Dell's portrayal of Watson's
PTSD is, but it was certainly compelling and engrossing reading. Her
fight for basic dignity and her rage at the surface respect and underlying
disinterested hostility of the bureaucratic war machinery is what kept me
turning the pages. The mystery plot is an outgrowth of that and felt more
like a case study than the motivating thread of the plot.
And third, Sara Holmes... well, I hesitate to say definitively that she's
not Sherlock Holmes. There have been so many versions of Holmes over the
years, even apart from the degree to which a black woman would necessarily
not be like Doyle's character. But she did not remind me of Sherlock
Holmes. She reminded me of a cross between James Bond and a high fae.
This sounds like a criticism. It very much is not. I found this high elf
spy character far more interesting than I have ever found Sherlock Holmes.
But here again, if you came into this book hoping for a Holmes-style
master detective, I fear you may be wrong-footed.
The James Bond parts will be obvious when you get there and aren't the
most interesting (and thankfully the misogyny is entirely absent). The
part I found more fascinating is the way O'Dell sets Holmes apart by
making her fae rather than insufferable. She projects effortless
elegance, appears and disappears on a mysterious schedule of her own,
thinks nothing of reading her roommate's diary, leaves meticulously
arranged gifts, and even bargains with Watson for answers to precisely
three questions. The reader does learn some mundane explanations for some
of this behavior, but to be honest I found them somewhat of a letdown.
Sara Holmes is at her best as a character when she tacks her own
mysterious path through a rather grim world of exhausted war,
penny-pinching bureaucracy, and despair, pursuing an unexplained agenda of
her own while showing odd but unmistakable signs of friendship and care.
This is not a romance, at least in this book. It is instead a
slowly-developing friendship between two extremely different people, one
that I thoroughly enjoyed.
I do have a couple of caveats about this book. The first is that the
future US in which it is set is almost pure Twitter doomcasting. Trump's
election sparked a long slide into fascism, and when that was arrested by
the election of a progressive candidate backed by a fragile coalition,
Midwestern red states seceded to form the New Confederacy and start a
second civil war that has dragged on for nearly eight years. It's a very
specific mainstream liberal dystopian scenario that I've seen so many
times it felt like a cliche even though I don't remember seeing it in a
book before. This type of future projection of current fears is of course
not new for science fiction; Cold War nuclear war novels are probably
innumerable. But I had questions, such as how a sparsely-populated,
largely non-industrial, and entirely landlocked set of breakaway states
could maintain a war footing for eight years. Despite some hand-waving
about covert support, those questions are not really answered here.
The second problem is that the ending of this book kind of falls apart.
The climax of the mystery investigation is unsatisfyingly straightforward,
and the resulting revelation is a hoary cliche. Maybe I'm just
complaining about the banality of evil, but if I'd been engrossed in this
book for the thriller plot, I think I would have been annoyed.
I wasn't, though; I was here for the characters, for Watson's PTSD and
dogged determination, for Sara's strangeness, and particularly for the
growing improbable friendship between two women with extremely different
life experiences, emotions, and outlooks. That part was great, regardless
of the ending.
Do not pick this book up because you want a satisfying deductive mystery
with bumbling police and a blizzard of apparently inconsequential clues.
That is not at all what's happening here. But this was great on its own
terms, and I will be reading the sequel shortly. Recommended, although if
you are very online expect to do a bit of eye-rolling at the setting.
Followed by The Hound of Justice, but the sequel is not required.
This book reaches a satisfying conclusion of its own.
Rating: 8 out of 10
This post describes how I m using
semantic-release on
gitlab-ci to manage versioning automatically
for different kinds of projects following a simple workflow (a develop branch
where changes are added or merged to test new versions, a temporary
release/#.#.# to generate the release candidate versions and a main branch
where the final versions are published).
What is semantic-releaseIt is a Node.js application designed to manage project
versioning information on Git Repositories using a
Continuous integration
system (in this post we will use gitlab-ci)
How does it workBy default semantic-release uses semver for versioning
(release versions use the format MAJOR.MINOR.PATCH) and commit messages are
parsed to determine the next version number to publish.
If after analyzing the commits the version number has to be changed, the command
updates the files we tell it to (i.e. the package.json file for nodejs
projects and possibly a CHANGELOG.md file), creates a new commit with the
changed files, creates a tag with the new version and pushes the changes to the
repository.
When running on a CI/CD system we usually generate the artifacts related to a
release (a package, a container image, etc.) from the tag, as it includes the
right version number and usually has passed all the required tests (it is a good
idea to run the tests again in any case, as someone could create a tag manually
or we could run extra jobs when building the final assets if they fail it is
not a big issue anyway, numbers are cheap and infinite, so we can skip releases
if needed).
Commit messages and versioningThe commit messages must follow a known format, the default module used to
analyze them uses the
angular
git commit guidelines, but I prefer the
conventional commits one, mainly because
it s a lot easier to use when you want to update the MAJOR version.
The commit message format used must be:
The system supports three types of branches: release, maintenance and
pre-release, but for now I m not using maintenance ones.
The branches I use and their types are:
main as release branch (final versions are published from there)
develop as pre release branch (used to publish development and testing
versions with the format #.#.#-SNAPSHOT.#)
release/#.#.# as pre release branches (they are created from develop
to publish release candidate versions with the format #.#.#-rc.# and once
they are merged with main they are deleted)
On the release branch (main) the version number is updated as follows:
The MAJOR number is incremented if a commit with a BREAKING CHANGE:
footer or an exclamation (!) after the type/scope is found in the list of
commits found since the last version change (it looks for tags on the same
branch).
The MINOR number is incremented if the MAJOR number is not going to be
changed and there is a commit with type feat in the commits found since
the last version change.
The PATCH number is incremented if neither the MAJOR nor the MINOR numbers
are going to be changed and there is a commit with type fix in the the
commits found since the last version change.
On the pre release branches (develop and release/#.#.#) the version and
pre release numbers are always calculated from the last published version
available on the branch (i. e. if we published version 1.3.2 on main we need
to have the commit with that tag on the develop or release/#.#.# branch
to get right what will be the next version).
The version number is updated as follows:
The MAJOR number is incremented if a commit with a BREAKING CHANGE:
footer or an exclamation (!) after the type/scope is found in the list of
commits found since the last released version.In our example it was 1.3.2 and the version is updated to 2.0.0-SNAPSHOT.1
or 2.0.0-rc.1 depending on the branch.
The MINOR number is incremented if the MAJOR number is not going to be
changed and there is a commit with type feat in the commits found since
the last released version.In our example the release was 1.3.2 and the version is updated to
1.4.0-SNAPSHOT.1 or 1.4.0-rc.1 depending on the branch.
The PATCH number is incremented if neither the MAJOR nor the MINOR numbers
are going to be changed and there is a commit with type fix in the the
commits found since the last version change.In our example the release was 1.3.2 and the version is updated to
1.3.3-SNAPSHOT.1 or 1.3.3-rc.1 depending on the branch.
The pre release number is incremented if the MAJOR, MINOR and PATCH
numbers are not going to be changed but there is a commit that would
otherwise update the version (i.e. a fix on 1.3.3-SNAPSHOT.1 will set the
version to 1.3.3-SNAPSHOT.2, a fix or feat on 1.4.0-rc.1 will set the
version to 1.4.0-rc.2 an so on).
How do we manage its configurationAlthough the system is designed to work with nodejs projects, it can be used
with multiple programming languages and project types.
For nodejs projects the usual place to put the configuration is the project s
package.json, but I prefer to use the .releaserc file instead.
As I use a common set of CI templates, instead of using a .releaserc on each
project I generate it on the fly on the jobs that need it, replacing values
related to the project type and the current branch on a template using the
tmpl command (lately I use a
branch of my own fork while I wait
for some feedback from upstream, as you will see on the Dockerfile).
Container used to run itAs we run the command on a gitlab-ci job we use the image built from the
following Dockerfile:
Dockerfile
How and when is it executedThe job that runs semantic-release is executed when new commits are added
to the develop, release/#.#.# or main branches (basically when something
is merged or pushed) and after all tests have passed (we don t want to create a
new version that does not compile or passes at least the unit tests).
The job is something like the following:
semantic_release:image:$SEMANTIC_RELEASE_IMAGErules:-if:'$CI_COMMIT_BRANCH=~/^(develop main release\/\d+.\d+.\d+)$/'when:alwaysstage:releasebefore_script:-echo "Loading scripts.sh"-. $ASSETS_DIR/scripts.shscript:-sr_gen_releaserc_json-git_push_setup-semantic-release
Where the SEMANTIC_RELEASE_IMAGE variable contains the URI of the image built
using the Dockerfile above and the sr_gen_releaserc_json and
git_push_setup are functions defined on the $ASSETS_DIR/scripts.sh file:
The sr_gen_releaserc_json function generates the .releaserc.json file
using the tmpl command.
The git_push_setup function configures git to allow pushing changes to the
repository with the semantic-release command, optionally signing them with a
SSH key.
The sr_gen_releaserc_json functionThe code for the sr_gen_releaserc_json function is the following:
sr_gen_releaserc_json()# Use nodejs as default project_typeproject_type="$ PROJECT_TYPE:-nodejs"# REGEX to match the rc_branch namerc_branch_regex='^release\/[0-9]\+\.[0-9]\+\.[0-9]\+$'# PATHS on the local ASSETS_DIRassets_dir="$ CI_PROJECT_DIR/$ ASSETS_DIR"sr_local_plugin="$ assets_dir/local-plugin.cjs"releaserc_tmpl="$ assets_dir/releaserc.json.tmpl"pipeline_runtime_values_yaml="/tmp/releaserc_values.yaml"pipeline_values_yaml="$ assets_dir/values_$ project_type_project.yaml"# Destination PATHreleaserc_json=".releaserc.json"# Create an empty pipeline_values_yaml if missingtest-f"$pipeline_values_yaml" : >"$pipeline_values_yaml"# Create the pipeline_runtime_values_yaml fileecho"branch: $ CI_COMMIT_BRANCH">"$pipeline_runtime_values_yaml"echo"gitlab_url: $ CI_SERVER_URL">"$pipeline_runtime_values_yaml"# Add the rc_branch name if we are on an rc_branchif["$(echo"$CI_COMMIT_BRANCH"sed-ne"/$rc_branch_regex/ p ")"];then
echo"rc_branch: $ CI_COMMIT_BRANCH">>"$pipeline_runtime_values_yaml"elif["$(echo"$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"sed-ne"/$rc_branch_regex/ p ")"];then
echo"rc_branch: $ CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"\>>"$pipeline_runtime_values_yaml"fi
echo"sr_local_plugin: $ sr_local_plugin">>"$pipeline_runtime_values_yaml"# Create the releaserc_json file
tmpl -f"$pipeline_runtime_values_yaml"-f"$pipeline_values_yaml"\"$releaserc_tmpl" jq .>"$releaserc_json"# Remove the pipeline_runtime_values_yaml filerm-f"$pipeline_runtime_values_yaml"# Print the releaserc_json file
print_file_collapsed "$releaserc_json"# --*-- BEG: NOTE --*--# Rename the package.json to ignore it when calling semantic release.# The idea is that the local-plugin renames it back on the first step of the# semantic-release process.# --*-- END: NOTE --*--if[-f"package.json"];then
echo"Renaming 'package.json' to 'package.json_disabled'"mv"package.json""package.json_disabled"fi
Almost all the variables used on the function are defined by gitlab except the
ASSETS_DIR and PROJECT_TYPE; in the complete pipelines the ASSETS_DIR is
defined on a common file included by all the pipelines and the project type is
defined on the .gitlab-ci.yml file of each project.
If you review the code you will see that the file processed by the tmpl
command is named releaserc.json.tmpl, its contents are shown here:
The values used to process the template are defined on a file built on the fly
(releaserc_values.yaml) that includes the following keys and values:
branch: the name of the current branch
gitlab_url: the URL of the gitlab server (the value is taken from the
CI_SERVER_URL variable)
rc_branch: the name of the current rc branch; we only set the value if we
are processing one because semantic-release only allows one branch to match
the rc prefix and if we use a wildcard (i.e. release/*) but the users
keep more than one release/#.#.# branch open at the same time the calls to
semantic-release will fail for sure.
sr_local_plugin: the path to the local plugin we use (shown later)
The template also uses a values_$ project_type _project.yaml file that
includes settings specific to the project type, the one for nodejs is as
follows:
The replacements section is used to update the version field on the relevant
files of the project (in our case the package.json file) and the assets
section includes the files that will be committed to the repository when the
release is published (looking at the template you can see that the
CHANGELOG.md is only updated for the main branch, we do it this way because
if we update the file on other branches it creates a merge nightmare and we are
only interested on it for released versions anyway).
The local plugin adds code to rename the package.json_disabled file to
package.json if present and prints the last and next versions on the logs with
a format that can be easily parsed using sed:
local-plugin.cjs
// Minimal plugin to:// - rename the package.json_disabled file to package.json if present// - log the semantic-release last & next versionsfunctionverifyConditions(pluginConfig,context)varfs=require('fs');if (fs.existsSync('package.json_disabled'))fs.renameSync('package.json_disabled','package.json');context.logger.log( verifyConditions: renamed 'package.json_disabled' to 'package.json' );functionanalyzeCommits(pluginConfig,context)if (context.lastRelease&&context.lastRelease.version)context.logger.log( analyzeCommits: LAST_VERSION=$ context.lastRelease.version);functionverifyRelease(pluginConfig,context)if (context.nextRelease&&context.nextRelease.version)context.logger.log( verifyRelease: NEXT_VERSION=$ context.nextRelease.version);module.exports=verifyConditions,analyzeCommits,verifyRelease
The git_push_setup functionThe code for the git_push_setup function is the following:
git_push_setup()# Update global credentials to allow git clone & push for all the group repos
git config --global credential.helper store
cat>"$HOME/.git-credentials"<<EOF
https://fake-user:$ GITLAB_REPOSITORY_TOKEN@gitlab.com
EOF
# Define user name, mail and signing key for semantic-releaseuser_name="$SR_USER_NAME"user_email="$SR_USER_EMAIL"ssh_signing_key="$SSH_SIGNING_KEY"# Export git user variablesexport GIT_AUTHOR_NAME="$user_name"export GIT_AUTHOR_EMAIL="$user_email"export GIT_COMMITTER_NAME="$user_name"export GIT_COMMITTER_EMAIL="$user_email"# Sign commits with ssh if there is a SSH_SIGNING_KEY variableif["$ssh_signing_key"];then
echo"Configuring GIT to sign commits with SSH"ssh_keyfile="/tmp/.ssh-id"
: >"$ssh_keyfile"chmod 0400 "$ssh_keyfile"echo"$ssh_signing_key"tr-d'\r'>"$ssh_keyfile"
git config gpg.format ssh
git config user.signingkey "$ssh_keyfile"
git config commit.gpgsign true
fi
The function assumes that the GITLAB_REPOSITORY_TOKEN variable (set on the
CI/CD variables section of the project or group we want) contains a token with
read_repository and write_repository permissions on all the projects we are
going to use this function.
The SR_USER_NAME and SR_USER_EMAIL variables can be defined on a common file
or the CI/CD variables section of the project or group we want to work with and
the script assumes that the optional SSH_SIGNING_KEY is exported as a CI/CD
default value of type variable (that is why the keyfile is created on the fly)
and git is configured to use it if the variable is not empty.
Warning: Keep in mind that the variables GITLAB_REPOSITORY_TOKEN and SSH_SIGNING_KEY
contain secrets, so probably is a good idea to make them protected (if you do
that you have to make the develop, main and release/* branches protected
too).
Warning: The semantic-release user has to be able to push to all the projects on those
protected branches, it is a good idea to create a dedicated user and add it as a
MAINTAINER for the projects we want (the MAINTAINERS need to be able to push
to the branches), or, if you are using a Gitlab with a Premium license you can
use the
api
to allow the semantic-release user to push to the protected branches without
allowing it for any other user.
The semantic-release commandOnce we have the .releaserc file and the git configuration ready we run the
semantic-release command.
If the branch we are working with has one or more commits that will increment
the version, the tool does the following (note that the steps are described are
the ones executed if we use the configuration we have generated):
It detects the commits that will increment the version and calculates the
next version number.
Generates the release notes for the version.
Applies the replacements defined on the configuration (in our example updates
the version field on the package.json file).
Updates the CHANGELOG.md file adding the release notes if we are going to
publish the file (when we are on the main branch).
Creates a commit if all or some of the files listed on the assets key have
changed and uses the commit message we have defined, replacing the variables
for their current values.
Creates a tag with the new version number and the release notes.
As we are using the gitlab plugin after tagging it also creates a release
on the project with the tag name and the release notes.
Notes about the git workflows and merges between branchesIt is very important to remember that semantic-release looks at the commits of
a given branch when calculating the next version to publish, that has two
important implications:
On pre release branches we need to have the commit that includes the tag
with the released version, if we don t have it the next version is not
calculated correctly.
It is a bad idea to squash commits when merging a branch to another one, if
we do that we will lose the information semantic-release needs to calculate
the next version and even if we use the right prefix for the squashed commit
(fix, feat, ) we miss all the messages that would otherwise go to the
CHANGELOG.md file.
To make sure that we have the right commits on the pre release branches we
should merge the main branch changes into the develop one after each release
tag is created; in my pipelines the fist job that processes a release tag
creates a branch from the tag and an MR to merge it to develop.
The important thing about that MR is that is must not be squashed, if we do that
the tag commit will probably be lost, so we need to be careful.
To merge the changes directly we can run the following code:
# Set the SR_TAG variable to the tag you want to processSR_TAG="v1.3.2"# Fetch all the changes
git fetch --all--prune# Switch to the main branch
git switch main
# Pull all the changes
git pull
# Switch to the development branch
git switch develop
# Pull all the changes
git pull
# Create followup branch from tag
git switch -c"followup/$SR_TAG""$SR_TAG"# Change files manually & commit the changed files
git commit -a--untracked-files=no -m"ci(followup): $SR_TAG to develop"# Switch to the development branch
git switch develop
# Merge the followup branch into the development one using the --no-ff option
git merge --no-ff"followup/$SR_TAG"# Remove the followup branch
git branch -d"followup/$SR_TAG"# Push the changes
git push
If we can t push directly to develop we can create a MR pushing the followup
branch after committing the changes, but we have to make sure that we don t
squash the commits when merging or it will not work as we want.
The Blackwing War is the first book of a projected space opera
series. I previously reviewed Stoneskin,
which was intended as a prelude to this series. In theory you can start
here, but I would read Stoneskin first.
Tembi is a Witch, which means she can ask the Deep to do things for her.
At the start of the book, those things mostly involve disarming bombs.
The galaxy is in the middle of a genocidal war between the well-equipped
and all-but-officially supported Sagittarius Armed Forces, also known as
the Blackwings, and the Sabenta resistance movement. To settle the
galaxy, humans fiddled with their genes to adapt themselves to
otherwise-hostile planets. The Blackwings take exception, in the
tradition of racist humans throughout history, and think it's time to
purify human bloodlines again. Both sides are using bombs.
The Deep is the brilliant idea of this series. It seems to exist
everywhere simultaneously, it's alive, it adores teleporting things, and
it's basically a giant cosmic puppy. Humans are nearly incomprehensible
to the Deep, and it's nearly incomprehensible to humans, but it somehow
picks out specific humans who can (sort of) understand it and whom it gets
attached to and somehow makes immortal. These are the Witches, and they
have turned the Deep into the logistical backbone of human civilization.
Essentially all commerce and travel is now done through Deep
teleportation, requested by a Witch and coordinated by Lancaster, the
Witches' governing council.
The exception is war. Lancaster is strictly neutral; it does not take
sides, even in the face of an ongoing genocide, and it refuses to
transport military ships, any type of weapons, or even war refugees.
Domino, Lancaster's cynically manipulative leader, is determined to
protect its special privileges and position at all costs. Tembi is one of
the quasi-leaders of a resistance against that position, but even they are
reluctant to ask the Deep to take sides in a war. To them, the Deep is a
living magical creature that they are exploiting, and which also tends to
be a bundle of nerves. Using it as a weapon feels like a step too far.
That's how the situation lies at the start of this book when, after a
successful bomb defusing, the Deep whisks Tembi away to watch an unknown
weapon blow up a moon.
A lot of this book consists of Tembi unraveling a couple of mysteries,
starting with the apparent experimental bomb and then expanding to include
the apparent drugging and disappearance of her former classmate. The
low-grade war gets worse throughout, leaving Tembi torn between the
justifications for Lancaster's neutrality and her strong sense of basic
morality. The moments when Tembi gets angry enough or impatient enough to
take action are the best parts, but a lot of this book is quite grim. Do
not expect all to be resolved in a happy ending. There is some catharsis,
but The Blackwing War is also clearly setup for a longer series.
Tembi is a great character and the Deep is even better. I thoroughly
enjoyed reading about both of them, and Tembi's relationship with the Deep
is a delight. Usually I get frustrated by baffling incomprehensibility as
a plot devices, but Spangler pulls it off as well as I've seen it done.
But unfortunately, this book is firmly in the "gets worse before it will
get better" part of the overall story arc, and the sequels have not yet
appeared. The Blackwing War ends on a cliffhanger that portends
huge changes for the characters and the setting, and if I had the next
book to rush into, I wouldn't mind the grimness as much. As is, it was a
somewhat depressing reading experience despite its charms, and despite a
somewhat optimistic ending (that I doubt will truly resolve anything).
I think the world-building elements were a touch predictable, and I wish
Spangler wouldn't have her characters keep trying to justify Domino's
creepy, abusive, and manipulative actions. But the characters are so much
fun, and the idea of the Deep as a character is such a delight, that I am
hooked on this series regardless. Recommended, although I will
(hopefully) be able to recommend it more heartily once at least one sequel
has been published.
Content warnings: genocide, racism, violent death.
Rating: 7 out of 10
Liberty's Daughter is a stand-alone near-future science fiction
fix-up novel. The original stories were published in Fantasy and
Science Fiction between 2012 and 2015.
Beck Garrison lives on New Minerva (Min), one of a cluster of libertarian
seasteads 220 nautical
miles off the coast of Los Angeles. Her father brought her to Min when
she was four, so it's the only life she knows. As this story opens, she's
picked up a job for pocket change: finding very specific items that people
want to buy. Since any new goods have to be shipped in and the seasteads
have an ambiguous legal status, they don't get Amazon deliveries, but
there are enough people (and enough tourists who bring high-value goods
for trade) that someone probably has whatever someone else is
looking for. Even sparkly high-heeled sandals size eight.
Beck's father is high in the informal power structure of the seasteads for
reasons that don't become apparent until very late in this book. Beck
therefore has a comfortable, albeit cramped, life. The social
protections, self-confidence, and feelings of invincibility that come with
that wealth serve her well as a finder. After the current owner of the
sandals bargains with her to find a person rather than an object, that
privilege also lets her learn quite a lot before she starts getting into
trouble.
The political background of this novel is going to require some suspension
of disbelief. The premise is that one of those harebrained libertarian
schemes to form a freedom utopia has been successful enough to last for 49
years and attract 80,000 permanent residents. (It's a libertarian
seastead so a lot of those residents are indentured slaves, as one does in
libertarian philosophy. The number of people with shares, like Beck's
father, is considerably smaller.) By the end of the book, Kritzer has
offered some explanations for why the US would allow such a place to
continue to exist, but the chances of the famously fractious con artists
and incompetents involved in these types of endeavors creating something
that survived internal power struggles for that long seem low. One has to
roll with it for story reasons: Kritzer needs the population to be large
enough for a plot, and the history to be long enough for Beck to exist as
a character.
The strength of this book is Beck, and specifically the fact that Beck is
a second-generation teenager who grew up on the seastead. Unlike a lot of
her age peers with their Cayman Islands vacations, she's never left and
has no experience with life on land. She considers many things to be
perfectly normal that are not at all normal to the reader and the various
reader surrogates who show up over the course of the book. She also has
the instinctive feel for seastead politics of the child of a prominent
figure in a small town. And, most importantly, she has formed her own
sense of morality and social structure that matches neither that of the
reader nor that of her father.
Liberty's Daughter is told in first-person by Beck. Judging the
authenticity of Gen-Z thought processes is not one of my strengths, but
Beck felt right to me. Her narration is dryly matter-of-fact, with only
brief descriptions of her emotional reactions, but her personality shines
in the occasional sarcasm and obstinacy. Kritzer has the teenage
bafflement at the stupidity of adults down pat, as well as the tendency to
jump head-first into ideas and make some decisions through sheer
stubbornness.
This is not one of those fix-up novels where the author has reworked the
stories sufficiently that the original seams don't show. It is very
episodic; compared to a typical novel of this length, there's more plot
but less character growth. It's a good book when you want to be pulled
into a stream of events that moves right along.
This is not the book for deep philosophical examinations of the basis of a
moral society, but it does have, around the edges, is the humans build
human societies and develop elaborate social conventions and senses of
belonging no matter how stupid the original philosophical foundations
were. Even societies built on nasty exploitation can engender a sort of
loyalty. Beck doesn't support the worst parts of her weird society, but
she wants to fix it, not burn it to the ground. I thought there was a
profound observation there.
That brings me to my complaint: I hated the ending.
Liberty's Daughter is in part Beck's fight for her own autonomy,
both moral and financial, and the beginnings of an effort to turn her home
into the sort of home she wants. By the end of the book, she's testing
the limits of what she can accomplish, solidifying her own moral compass,
and deciding how she wants to use the social position she inherited. It
felt like the ending undermined all of that and treated her like a child.
I know adolescence comes with those sorts of reversals, but I was still so
mad.
This is particularly annoying since I otherwise want to recommend this
book. It's not ground-breaking, it's not that deep, but it was a
thoroughly enjoyable day's worth of entertainment with a likable
protagonist. Just don't read the last chapter, I guess? Or have more
tolerance than I have for people treating sixteen-year-olds as if they're
not old enough to make decisions.
Content warnings: pandemic.
Rating: 7 out of 10
Bookshops & Bonedust is a prequel to the cozy fantasy
Legends & Lattes. You can read them in
either order, although the epilogue of Bookshops & Bonedust spoils
(somewhat guessable) plot developments in Legends & Lattes.
Viv is a new member of the mercenary troop Rackam's Ravens and is still
possessed of more enthusiasm than sense. As the story opens, she charges
well ahead of her allies and nearly gets killed by a pike through the leg.
She survives, but her leg needs time to heal and she is not up to the
further pursuit of a necromancer. Rackam pays for a room and a doctor in
the small seaside town of Murk and leaves her there to recuperate. The
Ravens will pick her up when they come back through town, whenever that
is.
Viv is very quickly bored out of her skull. On a whim, and after some
failures to find something else to occupy her, she tries a run-down local
bookstore and promptly puts her foot through the boardwalk outside it.
That's the start of an improbable friendship with the proprietor, a
rattkin named Fern with a knack for book recommendations and a serious
cash flow problem. Viv, being Viv, soon decides to make herself useful.
The good side and bad side of this book are the same: it's essentially the
same book as Legends & Lattes, but this time with a bookstore.
There's a medieval sword and sorcery setting, a wide variety of humanoid
species, a local business that needs love and attention (this time because
it's failing instead of new), a lurking villain, an improbable store
animal (this time a gryphlet that I found less interesting than the cat of
the coffee shop), and a whole lot of found family.
It turns out I was happy to read that story again, and there were some
things I liked better in this version. I find bookstores more interesting
than coffee shops, and although Viv and Fern go through a similar process
of copying features of a modern bookstore, this felt less strained than
watching Viv reinvent the precise equipment and menu of a modern coffee
shop in a fantasy world. Also, Fern is an absolute delight, probably my
favorite character in either of the books. I love the way that she uses
book recommendations as a way of asking questions and guessing at answers
about other people.
As with the first book, Baldree's world-building is utterly unconcerned
with trying to follow the faux-medieval conventions of either sword and
sorcery or D&D-style role-playing games. On one hand, I like this; most
of that so-called medievalism is nonsense anyway, and there's no reason
why fantasy with D&D-style species diversity should be set in a medieval
world. On the other hand, this world seems exactly like a US small town
except the tavern also has rooms for rent, there are roving magical
armies, and everyone fights with swords for some reason. It feels weirdly
anachronistic, and I can't tell if that's because I've been brainwashed
into thinking fantasy has to be medievaloid or if it's a true criticism of
the book. I was reminded somewhat of reading Jack McDevitt's SF novels, which are supposedly set in the far future
but are indistinguishable from 1980s suburbia except with flying cars.
The other oddity with this book is that the reader of the series knows Viv
isn't going to stay. This is the problem with writing a second iteration
of this story as a prequel. I see why Baldree did it the story wouldn't
have worked if Viv were already established but it casts a bit of a pall
over the cheeriness of the story. Baldree to his credit confronts this
directly, weaves it into the relationships, and salvages it a bit more in
the epilogue, but it gave the story a sort of preemptive wistfulness that
was at odds with how I wanted to read it.
But, despite that, the strength of this book are the characters. Viv is a
good person who helps where she can, which sounds like a simple thing but
is so restful to read about. This book features her first meeting with
the gnome Gallina, who is always a delight. There are delicious baked
goods from a dwarf, a grumpy doctor, a grumpier city guard, and a whole
cast of people who felt complicated and normal and essentially decent.
I'm not sure the fantasy elements do anything for this book, or this
series, other than marketing and the convenience of a few plot devices.
Even though one character literally disappears into a satchel, it felt
like Baldree could have written roughly the same story as a contemporary
novel without a hint of genre. But that's not really a complaint, since
the marketing works. I would not have read this series if it had been
contemporary novels, and I thoroughly enjoyed it. It's a slice of life
novel about kind and decent people for readers who are bored by
contemporary settings and would rather read fantasy. Works for me.
I'm hoping Baldree finds other stories, since I'm not sure I want to read
this one several more times, but twice was not too much. If you liked
Legends & Lattes and are thinking "how can I get more of that,"
here's the book for you. If you haven't read Legends & Lattes, I
think I would recommend reading this one first. It does many of the same
things, it's a bit more polished, and then you can read Viv's adventures
in internal chronological order.
Rating: 8 out of 10
Wintersmith is the 35th Discworld novel and the 3rd Tiffany Aching
novel. You could probably start here, since understanding the backstory
isn't vital for following the plot, but I'm not sure why you would.
Tiffany is now training with Miss Treason, a 113-year-old witch who is
quite different in her approach from Miss Level, Tiffany's mentor in
A Hat Full of Sky. Miss Level was the
unassuming and constantly helpful glue that held the neighborhood
together. Miss Treason is the judge; her neighbors are scared of her and
proud of being scared of her, since that means they have a proper witch
who can see into their heads and sort out their problems. On the surface,
they're quite different; part of the story of this book is Tiffany
learning to see the similarities.
First, though, Miss Treason rushes Tiffany to a strange midnight Morris
Dance, without any explanation. The Morris Dance usually celebrates the
coming of spring and is at the center of a village party, so Tiffany is
quite confused by seeing it danced on a dark and windy night in late
autumn. But there is a hole in the dance where the Fool normally is, and
Tiffany can't keep herself from joining it.
This proves to be a mistake. That space was left for someone very
different from Tiffany, and now she's entangled herself in deep magic that
she doesn't understand.
This is another Pratchett novel where the main storyline didn't do much
for me. All the trouble stems from Miss Treason being maddeningly opaque,
and while she did warn Tiffany, she did so in that way that guarantees a
protagonist of a middle-grade novel will ignore. The Wintersmith is a
boring, one-note quasi-villain, and the plot mainly revolves around
elemental powers being dumber than a sack of hammers.
The one thing I will say about the main plot is that the magic Tiffany
danced into is entangled with courtship and romance, Tiffany turns
thirteen over the course of this book, and yet this is not weird and
uncomfortable reading the way it would be in the hands of many other
authors. Pratchett has a keen eye for the age range that he's targeting.
The first awareness that there is such a thing as romance that might be
relevant to oneself pairs nicely with the Wintersmith's utter confusion at
how Tiffany's intrusion unbalanced his dance. This is a very specific age
and experience that I think a lot of authors would shy away from,
particularly with a female protagonist, and I thought Pratchett handled it
adroitly. I personally found the Wintersmith's awkward courting tedious
and annoying, but that's more about me than about the book.
As with A Hat Full of Sky, though, everything other than the main
plot was great. It is becoming obvious how much Tiffany and Granny
Weatherwax have in common, and that Granny Weatherwax recognizes this and
is training Tiffany herself. This is high-quality coming-of-age material,
not in the traditional fantasy sense of chosen ones and map explorations,
but in the sense of slowly-developing empathy and understanding of people
who think differently than you do. Tiffany, like Granny Weatherwax, has
very little patience with nonsense, and her irritation with stupidity is
one of her best characteristics. But she's learning how to blunt it long
enough to pay attention, and to understand how people she doesn't like can
still be the right people for specific situations.
I particularly loved how Granny carries on with a feud at the same time
that Tiffany is learning to let go of one. It's not a contradiction or
hypocrisy; it's a sign that Tiffany is entitled to her judgments and
feelings, but has to learn how to keep them in their place and not let
them take over.
One of the great things about the Tiffany Aching books is that the
villages are also characters. We don't see that much of the individual
people, but one of the things Tiffany is learning is how to see the
interpersonal dynamics and patterns of village life. Somehow the feelings
of irritation and exasperation fade once you understand people's motives
and see more sides to their character.
There is a lot more Nanny Ogg in this book than there has been in the last
few, and that reminded me of how much I love her character. She has a
completely different approach than Granny Weatherwax, but it's just as
effective in different ways. She's also the perfect witch to have around
when you've stumbled into a stylized love story that you don't want to be
a part of, and yet find oddly fascinating.
It says something about the skill of Pratchett's characterization that I
could enjoy a book this much while having no interest in the main plot.
The Witches have always been great characters, but somehow they're even
better when seen through Tiffany's perspective. Good stuff; if you liked
any of the other Tiffany Aching books, you will like this as well.
Followed by Making Money in publication order. The next Tiffany
Aching novel is I Shall Wear Midnight.
Rating: 8 out of 10