Archive for Sherlock Holmes

eliminating the impossible [xkcd]

Posted in Books, Kids, pictures, Statistics with tags , , , , , , , , on March 17, 2026 by xi'an

a journal of the di[y]sruption year

Posted in Books, Kids, Mountains, pictures, Running, Travel, University life, Wines with tags , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , on February 28, 2026 by xi'an


R
ead The Fifth Heart, by Dan Simmons. The same author who wrote the Hyperion Cantos, an impressive creation of a completely alien universe! A winner of both Hugo and Locus Awards. Alas, this book does not belong to the same category. Based on an attractive premise of Henry James meeting Sherlock Holmes, it peters out after a few pages, with no-one at the wheel. The paradox of a famous author meeting a famous character is abandoned after a few pages, Henry James is endlessly wondering about his own writing and position in society, his American friends are all conveniently famous, since they re-enact real characters like John Hay, private secretary of Abraham Lincoln, or the historian Henry Adams. Each new (historical) character comes with a biography complete enough to become a Wikipedia page, just as the geography of each place they visit. The attempt of Henry James at sleuthing is ridiculous and the investigations of both a possible crime (on Adams’s wife, Clover, instead of a suicide) and an anarchist nationwide plot run by… Prof Moriarty are unconvincing. In addition, I find the overall tone of the book highly reactionary and racist, with a fairly long, terrifying, quote from Charles Pearson—unrelated with Karl and Egon—, which could have been intentional to reflect the epoch. But the revisionist approach to the Haymarket massacre adopted by Holmes cannot be seen as such.

Cooked more veg curries and less buckwheat galettes, as my sugar levels went up from the last test! Possibly connected with my intensity training over the period… Still worth trying to cut on high glucose foods! On the home front, I also spent a long morning replacing (and cursing) the (cheap plastic) switch of my vacuum cleaner, despite the guidance of DIY videos where every step seemed so smooth and easy!

Watched the 1995 Western The Quick and the Dead that I found terrible and artificial, despite the collection of famous or soon-famous actors. And a few minutes of two TV Japanese series, SPEC and Silent Truth, not to be continued! As well as skimmed through 96 minutes, a very soapy and un-believable Taiwanese version of Bullet Train Explosion. And listened repeatedly to the guitar adaptation of the Goldberg Variations by Thibaut Garcia & Antoine Morinière, which I first heard on the French Public Radio, France Inter. The pair thought of the project during COVID and had two identical guitars designed and built from the same rosewood tree for the variations. (I have at least six versions of the Goldberg Variations at home, which I discovered via Glenn Gould’s latest interpretation. I remember most fondly driving through Ontario in May 1986, on my way to Ottawa from West Lafayette, and hitting by chance a Canadian radio channel broadcasting the entirety of the 1956 frantic version! As a coïncidence, I found out today—again listening to France Inter and Sophie Marceau—that Thomas Bernhard wrote a novel, Der Untergeher, involving Glenn Gould as one of the characters.)

journal of the [second] plague year [con’d]

Posted in Books, Kids, Mountains, pictures, Travel, University life with tags , , , , , , , , , , , , , , , , , , , , , , , , , on April 24, 2021 by xi'an

Read The Office of Gardens and Ponds (in French), by Didier Decoin [whom John l’Enfer I read more than forty years ago, with no lasting memories!], another random book found in the exchange section of our library!  While a pastiche of Japanese travel novels, the book is quite enjoyable and reminded me of our hike on the Kumano Kodō routes, two years ago. The tale takes place in 12th Century Japan and tells of the epic travel of a widow to the capital, Kyoto, carrying live carps for the gardens of the emperor. While some sections are somewhat encyclopedic on the culture of medieval Japan [and I thus wonder how Japanese readers have reacted to this pastiche], the scenario is rather subtle and the characters have depth, incl. the dead husband. The scene of the perfume competition is particularly well-imagined and worth reading on its own. I figure I will not bring the book back. (Warning: this book was voted a 2019 winner of the Bad Sex Award!). Also read Patti Smith’s Devotion, which was one of my Xmas presents. I had never read anything but Smith’s songs, since 1976 (!) with Horses, missing by little some of her concerts as on the week I was in Rimini… The book is quite light, and not only length-wise, made of two travel diaries in (to?) Paris and in (to?) Southern France, where she visits Camus’ house, and of a short story she writes on the train. While the diaries are mildly interesting, if a bit American-Tourist-in-Paris-cliché (like this insistence to find glamour in having breakfast at Café Flore!), the story comes as a disappointment, both for being unrealistic [in the negative sense] and for reproducing the old trope of the young orphan girl becoming the mistress of a much older man [to continue skating]. The connection with Estonia reminded me of Purge, by Sofi Oksanen, a powerful novel about the occupations of Estonia by Nazis and Soviet troups, an haunting novel of a different magnitude…

Made  soba noodles with the machine, resulting into shorte-than-life noodles, due to the high percentage of buckwheat flour in the dough, still quite enjoyable in a cold salad. Also cooked a roghan josh lamb shack, along with chapatis flavoured with radish leaves [no fire alarm this time] and a vegetable dahl whose recipe I found in Le Monde the same morn. Also took advantage of the few weeks with fresh and tender asparagus sold at the local market to make salads.

Watched a few episodes of Better than Us, Лучше (чем люди), a Russian science-fiction series set in a close future with humanoid robots replacing menial workers, until one rogue version turns uncontrollable, à la Blade Runner. There are appealing aspects to the story, besides the peep into a Russian series and the pleasure of listening to Russian, about the porous frontier between human and artificial intelligence. The scenario however quickly turns into a predictable loop and I eventually lost interest. Even faster did that happen with the Irregulars of Baker Street horror series, which I simply could not stand any further (and which connection with Holmes and Watson is most tenuous).

Having registered for a vaccination to the local pharmacy, I most got surprisingly called a few days later mid-afternoon to come at once for a shot of AstraZeneca, as they had a leftover dose. And a rising share of reluctant candidates for the vaccine!, despite David’s reassurances. I am unsure this shot was done early enough to get abroad for conferences or vacations in July, but it is one thing done anyway. With no side effect so far.

Holmes alone

Posted in Books, Kids, pictures with tags , , , , , , , , on November 29, 2020 by xi'an

From reading a rather positive review in The New York Times (if less in The Guardian, which states that it all rattles along amiably enough!), and my love of everything Holmes (if not as much as George Casella!), I watched Enola Holmes almost as soon as it came out on Netflix. While the film was overall pleasant, with great acting from the main actress Millie Bobby Brown, I found quite light and missing in scenario (mystery? sleuthing? forking paths?) and suspense. Which is not that surprising given that it is adapted from a young adult book. (Making me laugh at the PG-13 label!) And rather anachronistic in depicting the free-spirited Enola, roving Victorian London as a modern teenager, masquerading like her famous older brother, and mastering jiu jitsu. I was also disappointed in the low key appearance of  Helena Bonham Carter as an (obviously) unconventional mother and a bomb throwing suffragette… Nothing to compare with the superlative reworkings of Wells’ stories by Benedict Cumberbatch. As a side anecdote, I read a few days later that the Arthur Conan Doyle estate is suing the film makers for presenting an emotional Sherlock!

simulating a sum of Uniforms

Posted in Statistics with tags , , , , , , , , , , on May 1, 2020 by xi'an

When considering the distribution of the sum (or average) of N Uniform variates, called either Irwin-Hall for the sum or Bates for the average, simulating the N uniforms then adding them shows a linear cost in N. The density of the resulting variate is well-known,

f_X(x;N)=\dfrac{1}{2(N-1)!}\sum_{k=0}^N (-1)^k{N \choose k} (x-k)^{N-1}\text{sign}(x-k)

but similarly is of order N. Furthermore, controlling the terms in the alternating sum may prove delicate, as shown by the R function unifed::dirwin.hall() whose code

for (k in 0:floor(x)) ret1 <- ret1 + (-1)^k * choose(n, k) * 
    (x - k)^(n - 1)

quickly becomes unreliable (although I managed an easy fix by using logs and a reference value of the magnitude of the terms in the summation). There is however a quick solution provided by [of course!] Devroye (NURVG, Section XIV.3, p.708), using the fact that the characteristic function of the Irwin-Hall distribution [for Uniforms over (-1,1)] is quite straightforward

\Phi_N(t) = [\sin(t)/t]^N

which means the density can be bounded from above and results in an algorithm (NURVG, Section XIV.3, p.714) with complexity at most N to the power 5/8, if not clearly spelled out in the book. Obviously, it can be objected that for N large enough, like N=20, the difference between the true distribution and the CLT approximation is quite negligible (reminding me of my early simulating days where generating a Normal was done by averaging a dozen uniforms and properly rescaling!). But this is not an exact approach and the correction proves too costly. As shown by Section XIV.4 on the simulation of sums in NURVG. So… the game is afoot!