Wisdom from Empire of the Vampire

I’m reading a second book over 1000 pages this year, called Empire of the Vampire by Jay Kristoff. The book is full of exceptionally powerful vampires that are quickly turning humans extinct.

The main character says that the vampires are people free from consequences. Not facing consequences is what makes them evil, not the vampirism (well, at least for now). It clicked with me because it makes total sense in a world where people compete to be as free from consequences as possible, yet the consequences are everywhere.

I have the feeling this book will get 5*, if I manage to read the whole thing.

Reading in June

I had a good month and read some great books. I’m currently on sabbatical, a three-month paid leave that Automattic awards as an anniversary benefit every five years. I’ll dedicate a separate post to that because it’s a very significant event for me, but until I write it, I wanted to mention it here for context. I’m AFK, logged out of most systems, chilling, and not paying attention to bugs.

So, June.

Best books

  1. Thrawn – a pretty hardcover book with a classic Star Wars space opera inside. 5/5, pure joy. Looking forward to reading part 2
  2. Lost in Math – popular science and part of my journey to discover why certain things happen that shouldn’t, if the math was right. 5/5 but maybe not for everyone.
  3. None of This Is True – an unusual thriller, defining what the new usual looks like. 5/5, but also maybe not for everyone.
  4. Look Alike Twenty-Five – a bit of spice for my month, another Stephanie Plum novel. These are 5/5 if you don’t read them often and degrade quickly if read in succession.
  5. Killer Weekend – a killer has one weekend to execute an order but is facing Walt Fleming. Both will make mistakes. I liked it enough for 4/5 and consider reading the continuation.

Worst

  1. The Proving Ground – Michael Connelly’s take on AI. Not bad but not interesting either. 3/3
  2. Guess Again – I already don’t remember what it was about, other than finding it readable but not memorable.

The Proving Ground by Michael Connelly, Book Review

Michael Connelly is one of my all-time most favorite authors. One of the few, whose books mostly got better over the years.

The Proving Ground is his latest creation, rated the absurdly high 4.5 on Goodreads. Unfortunately, although far more interesting than the last one, we’ve seen better it didn’t qualify for 4* on my shelves.

Mickey Haller is tired from criminal cases and moved to the area of civil law. He’s suing an AI company, whose AI-assistant convinced a teenager to commit murder. The settlement offers go up and down, and the ruthless billionaire behind the company will no spare additional efforts to end the case and hide everything behind a NDA.

The topic is deep and the plot is plausible, actually it could be something that has already happened. I have no objections in that area. The reason why the book didn’t click with me is that it was just uninteresting, and some was even meaningless. But while I have significant tolerance for inaccuracies, reaching page 250 or 300 without anything of substance happening was not good for me.

The plot offered many chances that could develop to be interesting. It had a secondary case. Harry Bosch and Renee Ballard got a shout out. But none of that had a meaningful follow-up, it was almost like it had to be included for the sake of being there, proving that the story is from the Harry Bosch universe. The billionaire wasn’t really a good match for the Lincoln Lawyer or some cat walked on the keyboard and we didn’t get far.

Overall, the book left me with a bad taste. I awarded it with an honest 3/5. Felt like it was written by the late John Grisham, whose stories are written to convince the reader that a certain causes are just. If you want to be convinced that AI is biased and can kill, look no further. The tagline could’ve been “garbage in, garbage out”.

Reverend Bayes

Thomas Bayes was an 18th century minister, the fruit of whose work I currently study.

Bayes was curious about probabilities, which in the 1700s primarily meant things like predicting dice rolls, coin flips, and the position of billiard balls. We don’t flip coins very often so here’s a more modern example that can be used to understand his line of study.

A Covid test says that you have Covid. The test is 95% accurate and would sometimes yield a false positive, telling that you have Covid while in reality, you don’t, measured during the pandemic. It’s 2026 and you’re positive. Do you really have Covid? Intuitively, you say “Yes, 95% chance is a lot”. But if you test the 1700 population England with the same test, 5.5 million people in total, you’d get 275000 false positives (or less, assuming part of the accuracy issues are false negatives). We tested 1700 England and declared a Covid pandemic 300 years before it happened.

The missing piece, according to Bayes, is the prior probability: how likely it was that you had Covid before taking the test. If Covid is very common, a positive result strongly suggests that you are infected. However, if Covid is rare and only a small fraction of the population is infected, even a highly accurate test can produce enough false positives that a positive result may be meaningless and using even a very accurate test is counter-productive.

So, Thomas Bayes came up with the following theorem:

P(A|B)=P(B|A)P(A)P(B)P(A \mid B) = \frac{P(B \mid A)\,P(A)}{P(B)}

The probability of a hypothesis given some evidence equals the likelihood of observing that evidence if the hypothesis were true, multiplied by the prior belief in the hypothesis, and divided by the overall probability of observing the evidence. In practice, it provides a formal way of answering the question: “Given what I already believed, how much should this new information change my mind?

Bayes’ theorem combines the test accuracy with the prior likelihood of infection to estimate the actual probability that you have Covid.

That thinking is wonderful, and it created a cult following, very strong in the line of Software Engineering. However, it’s not unambiguous, and not universally applicable. Imagine I’m polling for two presidential candidates. I want to guess who will win based on the data we have, let’s say, 1000 interviews across the country. Where’s my prior knowledge? How do I fit in Bayes into that?

I studied Stats from 9th to 12th grade in high school, we had statistics every semester. Then I studied it during my bachelors, together with a separate exam in probability. That was awhile back but I remember enough that my teachers were frequentists, their approach in inference revolved around the null hypothesis and the normal distribution – you’d define a hypothesis you wanted to disprove, collect data, and calculate a p-value to decide whether the evidence was strong enough to reject it. The underlying assumption was that probability meant the long-run frequency of an event across many repeated trials, not a degree of belief. The alternative approach to look into it, introduced by Thomas Bayes was not a highlight, leaving a gap in both my knowledge, and my intuitive understanding of data, which I’m trying to fill.

Okay, so why I’m writing all of this? Because it’s in my mind. Making sense of data seems to be significantly harder than the surface level analysis. I want to improve my understanding and have acquired a collection of books on the subject. Currently reading Everything Is Predictable: How Bayes’ Remarkable Theorem Explains the World. It’s a popular science book, not a school book, but I think it’s a good introduction to this idea before looking into more complicated math. Wish me luck.

Star Wars: Thrawn by Timothy Zahn

Thrawn is a highly creative blue humanoid smurf-like creature from the Star Wars universe.

You can’t take this book too seriously, knowing it’s part of the Star Wars universe. However, Zahn gave his best here and the story significantly exceeded my expectations. It is a fine quality space opera, with a charismatic main character, whose superpower is his military skill. He’s a mix of Ender and the Stainless Steel Rat.

The supporting characters aren’t two dimensional and I suspect we’ll see some of them again in the sequels. Vanto, in particular, could have his own book. There is no mention of the force anywhere, no midichlorians, no magic at all. The storm troopers are able to hit their targets. This is an improvement over the usual trope in the Star Wars universe I’ve seen so far, where the final battle is decided by use of the force, rather than skill.

The print quality is superb and despite that it’s possibly targeting teenage readers, I enjoyed it. 5*/5 and will order the continuation soon.