Normal view

There are new articles available, click to refresh the page.
Today — 8 November 2024Main stream

Why % CPU in Activity Monitor isn’t what you think

By: hoakley
8 November 2024 at 15:30

One of the most frequently quoted measurements in Activity Monitor is % CPU. When the fans blow, or a Mac becomes sluggish, it’s often the first figure to look at and wonder why that process is pulling over 100%. That’s the first thing you learn: here, per cent doesn’t mean out of 100, but the sum of the real percentage for each core. As this Mac has eight cores, that allows it up to 800%, until you realise that Intel processors can use Hyper-Threading to pretend that each is two cores, making a maximum of 1,600%, not bad for a single processor. Then you come completely unstuck with Apple silicon.

Apple defines % CPU as “the percentage of CPU capability that’s being used”, a phrase that doesn’t appear to have any definition either in Apple’s documentation or elsewhere. So like everyone else, you assume that 100% for a core represents its maximum processing capacity. Only you couldn’t be more incorrect: in truth, the number given as % CPU is nothing like that.

Tests

To examine this more clearly, I have an app that runs tight loops of assembly code to load CPU cores on Apple silicon chips and measure their performance. For this, I got it to run several threads, each consisting of 500 million loops of floating point calculations. By running those at different Quality of Service (QoS) settings, macOS will send them to different core types.

When I run two threads at low QoS so they’re run only on E cores of a MacBook Pro M3 Pro, each takes 10.2 seconds to complete. If I instead run eight threads at high QoS, the first six of those will be run on the P cores, but the remaining two spill over onto two of the E cores, where they complete in just 3.0 seconds each.

Yet, according to % CPU in Activity Monitor, the two threads on the E cores come to 200%, and the two from eight run in the second test also come to 200%. You can see this in the CPU History window.

m3activitymon

Here are the 6 E cores at the top, and 6 P cores below. ① marks the first test on two E cores, and shows the total of 200% spread across all six E cores over the 10.2 seconds it took to complete. ② marks the second test, with all 6 P cores and two E cores hitting 100% each, for a total of 800%, as shown in Activity Monitor’s window.

By now I’m sure you guessing how running the same code on the E cores could vary in speed by a factor of 3.4 (10.2 against 3.0 seconds) although they’re the same % CPU: that measurement doesn’t take into account core frequency.

Frequency

Unlike traditional Intel CPUs, CPU cores in Apple silicon chips can be run at a wide range of frequencies, as set by macOS. To make this frequency control a bit simpler, cores are grouped into clusters, that also share L2 cache, and within each cluster all cores run at the same frequency. The M3 Pro chip consists of two clusters, one of 6 E cores, the other of 6 P cores.

When macOS loads two of those E cores with low QoS threads, it sets them to run at a low frequency to make the most of their energy efficiency. When it loads two E cores with threads that were intended to be run on P cores, as they have a high QoS, it runs the E cluster up to high frequency, so they perform better.

Measuring frequency of CPU cores is straightforward using the powermetrics command tool. When those threads were being run on E cores at low QoS, frequency was held at their minimum of 744 MHz, but run at high QoS their frequency was set to maximum, at 2748 MHz, 3.7 times faster. If full load at maximum frequency is 100% of their capability, then at low QoS they were really running at 27%, not the 100% given by Activity Monitor, and that largely accounts for the difference in time that those threads took to complete their floating point calculations.

What is % CPU?

What Activity Monitor actually shows as % CPU or “percentage of CPU capability that’s being used” is what’s better known as active residency of each core, that’s the percentage of processor cycles that aren’t idle, but actively processing threads owned by a given process. But it doesn’t take into account the frequency or clock speed of the core at that time, nor the difference in core throughput between P and E cores.

The next time that you open Activity Monitor on an Apple silicon Mac, to look at % CPU figures, bear in mind that while those numbers aren’t completely meaningless, they don’t mean what you might think, and what’s shown as 100% could be anything between 27-100%.

Yesterday — 7 November 2024Main stream

Commemorating the centenary of the death of Hans Thoma: 2, from 1886

By: hoakley
7 November 2024 at 20:30

One century ago today, 7 November 1924, the German painter Hans Thoma died in Karlsruhe, Germany. This is the second of two articles commemorating his life and art. Prior to 1886, he had struggled to get the critical attention and patronage that he thought his work deserved.

thomaapollomarsyas
Hans Thoma (1839–1924), Apollo and Marsyas (1886), oil on panel, 45 × 55 cm, location not known. Wikimedia Commons.

Apollo and Marsyas (1886) is his painting of the grisly myth of the contest between the god Apollo and the satyr Marsyas, playing the aulos, a type of double oboe commonly referred to as a flute. This was judged by the nine Muses, and resulted in the horrific flaying of the satyr, a popular motif for the great classical narrative painters. Thoma chooses to show the contest itself, with Marsyas playing, and only three of the Muses in the background. Although not a strongly narrative painting, as it makes no reference to the outcome, this was probably appreciated by contemporary viewers.

thomaeightdancingwomen
Hans Thoma (1839–1924), Eight Dancing Women with Bird Bodies (1886), oil on panel, 38 × 58.5 cm, location not known. Wikimedia Commons.

Eight Dancing Women with Bird Bodies (1886) is a more puzzling mythological painting. The best-known women with bird bodies were the sirens, who range in number from two to five. In another painting showing the sirens trying to lure a passing ship, Thoma paints similar figures, suggesting these are intended to be sirens.

thomaheavyshower
Hans Thoma (1839–1924), The Sower (1886), oil on canvas, 60.5 × 73 cm, location not known. Wikimedia Commons.

The Sower in Thoma’s 1886 painting is strongly reminiscent of Jean-François Millet’s sowers, here at work in the ploughed field in the foreground. Beyond, the heavens have opened in a sudden downpour.

thomamemoriesumbria
Hans Thoma (1839–1924), Memories of Orte or Travel Memories to Orte in Umbria (1887), oil on cardboard, 51.5 × 71.5 cm, Neue Pinakothek, Munich, Germany. Wikimedia Commons.

Memories of Orte from 1887 refers to Thoma’s second visit to Italy, and this ancient town about forty miles north of Rome. Two cloaked riders are silhouetted against the glowing buildings of Orte, perched on its tuff butte above the valley of the River Tiber.

thomalonelyride
Hans Thoma (1839–1924), Lonely Ride (1889), oil on canvas, 74.1 × 62.4 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

Lonely Ride (1889) shows a mediaeval knight riding alone in full armour, through rolling, hilly countryside. This and others of his paintings suggest Thoma may have seen and been influenced by paintings of the Pre-Raphaelite movement when he visited Britain.

In 1890, Thoma’s career was transformed by his first one-man show in Munich, which brought him critical acclaim and national recognition. For the next twenty years or so, he was ranked among the leading artists in Germany.

thomasummerkarlsruhe
Hans Thoma (1839–1924), Summer (Landscape near Karlsruhe) (1891), oil on canvas, 71.1 × 88.9 cm, North Carolina Museum of Art, Raleigh, NC. Wikimedia Commons.

Summer (Landscape near Karlsruhe) (1891) shows a fine summer’s afternoon on a country track, on the plain which he must have known well.

thomawondrousbirds
Hans Thoma (1839–1924), Wondrous Birds (1892), oil on cardboard, 92.4 × 74 cm, North Carolina Museum of Art, Raleigh, NC. Wikimedia Commons.

He returned to his idiosyncratic mythology with this fascinating painting of Wondrous Birds completed in 1892. The birds shown here aren’t storks or cranes, but are based on the grey heron, a common sight across much of the countryside of Europe. There are various myths and legends associated with storks and cranes, but I’m not aware of any for the heron.

thomaspring
Hans Thoma (1839–1924), Spring (1895), oil on canvas, 113 × 87.6 cm, Los Angeles County Museum of Art, Los Angeles, CA. Wikimedia Commons.

Spring (1895) refers not to the season, but to the source of water shown here, in German, Die Quelle, the source). Thoma avoids the conventional classical treatment with an old river god, but shows a young man slaking his thirst. The woman with the lute could perhaps be a water nymph, or Naiad.

thomaspringfairytale
Hans Thoma (1839–1924), Spring Fairytale, An Allegory (1898), oil on canvas, 120 × 75 cm, location not known. Wikimedia Commons.

Thoma does refer to the season in his Spring Fairytale, An Allegory (1898), showing a woman who may have been influenced by the figure of Flora in Botticelli’s famous Primavera (c 1482). She is surrounded by meadow flowers, two small fawns, and sundry winged putti. Thoma seldom if ever depicted his putti with bird-like wings, but seems to have preferred the more unusual insect or butterfly wings, with their rich colours.

By 1899, Thoma had become associated with the Kronberg artists’ colony, and could afford to move his family into an apartment with its own studio near to the Schloss Friedrichshof in Kronberg im Taunus, outside Frankfurt. He was appointed professor at the academy in Karlsruhe (to the south of Frankfurt), and director of the Kunsthalle in that city, posts he held until he retired in 1920.

thomaselfportrait
Hans Thoma (1839–1924), Self-portrait in Front of a Birch Grove (1899), oil on canvas, 91 × 75.5 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

Thoma’s Self-portrait in Front of a Birch Grove (1899) is his best-known self-portrait, and probably marked his sixtieth birthday that year.

thomalauterbrunner
Hans Thoma (1839–1924), The Lauterbrunnen Valley (1904), oil on canvas, 130 × 110 cm, location not known. Wikimedia Commons.

The Lauterbrunnen Valley (1904) shows one of the deepest valleys in the Swiss Alps, a gorge travelling five miles up to the spectacular Staubbach Falls, with the Eiger and other peaks beyond.

From 1905 to 1918, Thoma served in the upper chamber of the Baden State Parliament.

thomawar
Hans Thoma (1839–1924), War (1907), oil on canvas, 72 × 64 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

Prior to the First World War, like many German artists of the day including Lovis Corinth, Thoma was strongly supportive of the militarisation of Germany. His painting of War from 1907 thus seems strange, with its bleak apocalyptic vision.

thomaspringmelody
Hans Thoma (1839–1924), Spring Melody (1914), oil on canvas, 101 × 76 cm, location not known. Wikimedia Commons.

In the year that war broke out, Thoma painted Spring Melody (1914), which could be interpreted as an idealistic longing for peace, rather than a statement of nationalism.

thomalandscape
Hans Thoma (1839–1924), Landscape (1917), oil on cardboard, 80.3 × 100.3 cm, North Carolina Museum of Art, Raleigh, NC. Wikimedia Commons.

Thoma continued to paint through the war, and completed this Landscape in 1917. Then in his late seventies, this almost deserted view expresses a tranquillity that must have been wishful thinking at the time.

His eightieth birthday in 1919 was marked by a celebration organised by Ernst Oppler and Lovis Corinth. He died five years later, in 1924.

Reference

Wikipedia (in German).

Which M4 chip and model?

By: hoakley
7 November 2024 at 15:30

In the light of recent news, you might now be wondering whether you can afford to wait until next year in the hope that Apple then releases the M4 Mac of your dreams. To help guide you in your decision-making, this article explains what chip options are available in this month’s new M4 models, and how to choose between them.

CPU core types

Intel CPUs in modern Macs have several cores, all of them identical. Whether your Mac is running a background task like indexing for Spotlight, or running code for a time-critical user task, code is run across any of the available cores. In an Apple silicon chip like those in the M4 family, background tasks are normally constrained to efficiency (E) cores, leaving the performance (P) cores for your apps and other pressing user tasks. This brings significant energy economy for background tasks, and keeps your Mac more responsive to your demands.

Some tasks are normally constrained to run only on E cores. These include scheduled background tasks like Spotlight indexing, Time Machine backups, and some encoding of media. Game Mode is perhaps a more surprising E core user, as explained below.

Most user tasks are run preferentially on P cores, when they’re available. When there are more high-priority threads to be run than there are available P cores, then macOS will normally send them to be run on E cores instead. This also applies to threads running a Virtual Machine (VM) using lightweight virtualisation, whose threads will be preferentially scheduled on P cores when they’re available, even when code being run in the VM would normally be allocated to E cores.

macOS also controls the clock speed or frequency of cores. For background tasks running on E cores, their frequency is normally held relatively low, for best energy efficiency. When high-priority threads overspill onto E cores, they’re normally run at higher frequency, which is less energy-efficient but brings their performance closer to that of a P core. macOS goes to great lengths to schedule threads and control core frequencies to strike the best balance between energy efficiency and performance.

Unfortunately, it’s normally hard to see effects of frequency in apps like Activity Monitor. Its CPU % figures only show the percentage of cycles that are used for processing, and make no allowance for core frequency. It will therefore show a background thread running at low frequency but 100%, the same as a thread overspilt from P cores running at the maximum frequency of that E core. So when you see Spotlight indexing apparently taking 200% of CPU % on your Mac’s E cores, that might only be a small fraction of their maximum capacity if they were running at maximum frequency.

There are no differences between chips in the M4 family when it comes to each type of CPU core: each P core in a Base variant is the same as each in an M4 Pro or Max, with the same maximum frequency, and the same applies to E cores. macOS also allocates threads to different types of core using the same rules, and their frequencies are controlled the same as well. What differs between them is the number of each type of core, ranging from 4 P and 4 E in the 8-core variant of the Base M4, up to 12 P and 4 E in the 16-core variant of the M4 Max. Thus, their single-core benchmark results should be almost identical, although their multi-core results should vary according to the number of cores.

Game Mode

This mode is an exception to normal CPU and GPU core use, as it:

  • gives preferential access to the E cores,
  • gives highest priority access to the GPU,
  • uses low-latency Bluetooth modes for input controllers and audio output.

However, my previous testing didn’t demonstrate that apps running in Game Mode were given exclusive access to E cores. But for gamers, it now appears that the more E cores, the better.

GPU cores

These are also used for tasks other than graphics, such as some of the more demanding calculations required for Machine Learning and AI. However, experience so far with Writing Tools in Sequoia 15.1 is that macOS currently offloads their heavy lifting to be run off-device in one of Apple’s dedicated servers. Although having plenty of GPU cores might well be valuable for non-graphics purposes in the future, for now there seems little advantage for many.

Thunderbolt 5

M4 Pro and Max, but not Base variants, come equipped with Thunderbolt ports that not only support Thunderbolt 3 and 4, but 5, as well as USB4. Thunderbolt 5 should effectively double the speed of connected TB5 SSDs, but to see that benefit, you’ll need to buy a TB5 SSD. Not only are they more expensive than TB3/4 models, but at present I know of only one range that’s due to ship this year. There will also be other peripherals with TB5 support, including at least one dock and one hub, although neither is available yet. The only TB5 accessories that are already available are cables, and even they are expensive.

TB5 also brings increased video bandwidth and support for DisplayPort 2.1, although even the M4 Max can’t make full use of that. If you’re looking to drive a combination of high-res displays, consult Apple’s Tech Specs carefully, as they’re complicated.

Although TB5 will become increasingly important over the next few years, TB3/4 and USB4 are far from dead yet and are supported by all M4 models.

Which M4 chip?

The table below summarises key figures for each of the variants in the M4 family that have now been released. It’s likely that next year Apple will release an Ultra, consisting of two M4 Max chips joined in tandem, in case you feel the burning desire for 24 P and 8 E cores.

m4configs2

Models available next week featuring each M4 chip are shown with green rectangles at the right.

There are two variants of the Base M4, one with 4P + 4E and 8 GPU cores, the same as Base variants in M1 to M3 families. There’s also the more capable variant, for the first time with 4P + 6E, which promises to be a better all-rounder, and when in Game Mode. It also has an extra couple of GPU cores.

The M4 Pro also comes in two variants, this time differing in the number of P cores, 8 or 10, and GPU cores, 16 or 20. Those overlap with the M4 Max, with 10 or 12 P cores and 32 or 40 GPU cores. Thus the gap between M4 Pro and Max isn’t as great as in the M3, with the GPUs in the M4 Max being aimed more at those working with high-res video, for instance. For more general use, there’s little difference between the 14-core Pro and Max.

Memory and storage

Chips in the M4 family also determine the maximum memory and internal SSD capacity. Apple has at last eliminated base models with only 8 GB of memory, and all now start with at least 16 GB. Base M4 chips are limited to a maximum of 32 GB, while the M4 Pro can go up to 64 GB, and the 16-core Max up to 128 GB, although in its 14-core variant, the Max is only available with 36 GB (I’m very grateful to Thomas for pointing this out below).

Unfortunately, Apple hasn’t increased the minimum size of internal SSD, which remains at 256 GB for some base models. Smaller SSDs may be cheaper, but they are also likely to have shorter lives, as under heavy use their small number of blocks will be erased for reuse more frequently. That may shorten their life expectancy to much less than the normal period of up to 10 years, as was seen in some of the first M1 models. This is more likely to occur when swap space is regularly used for virtual memory. I for one would have preferred 512 GB as a starting point.

While Base M4 chips come with SSDs up to 2 TB in size, both Pro and Max can be supplied with internal SSDs of up to 8 TB.

I hope this proves useful in guiding your decision.

Before yesterdayMain stream

The Real Country: Potatoes

By: hoakley
6 November 2024 at 20:30

One important staple crop has been largely forgotten from both agricultural and rural history: the humble potato. First imported from South America to Europe in the latter half of the sixteenth century, for the first couple of centuries it was considered exotic eating. It quietly became increasingly important during the eighteenth century, and is now widely credited as the food that enabled the population boom in much of Europe in the nineteenth century.

For several years from 1845, a fungus-like organism late blight caused widespread crop failure in the poorer parts of Ireland, Scotland and elsewhere, causing the Great Irish Famine, with at least a million dying from starvation.

The potato is unusual for storing large amounts of starch in its tuber. Although starch is only about one fifth of the potato by weight, the remainder being water, it came be the staple food for much of the working population, in both country and city. Overton has calculated using estimated crop yields from the early nineteenth century that an acre of potatoes would have provided about 2.5 times as many calories as an acre of wheat.

Like wheat, growing potatoes is a process of amplification. Tubers from the previous crop are sown in the ground, and multiply to yield many times the weight originally sown. Production is thus not dependent on conventional seed, but on seed potatoes with a more limited life. If a whole crop is destroyed by blight, not only is there nothing to eat that year, but the seed potatoes for the following year are also lost. Blight remains in the soil, and once affected that land has to be used for crops other than potatoes.

However, potatoes had other advantages in a war-torn and taxed Europe. While troops rampaging in foreign countryside would often raid or burn fields of grain, damaging or stealing potatoes proved more resistant to invaders. They were also likely to escape taxes or charges levied on other arable crops.

During the eighteenth century, labourers fortunate enough to have a little land they could farm for themselves started to grow potatoes, to supplement their limited diet. Small potato patches sprung up in the countryside, and around towns. Production at scale remained unusual until the following century, when some English counties including Lancashire and Middlesex devoted significant areas to supply the growing cities. That in turn depended on transport such as canals and then railways to deliver sacks of potatoes to urban consumers.

vangoghpotatoes
Vincent van Gogh (1853–1890), Still Life with Potatoes (September 1885), oil on canvas, 47 x 57 cm, Museum Boijmans Van Beuningen, Rotterdam, The Netherlands. Wikimedia Commons.

When Vincent van Gogh was living in Borinage in Belgium, he was among labourers whose staple food was potatoes, in one of the areas that had grown them for longer than most. His Still Life with Potatoes, painted in September 1885, is his tribute to the humble vegetable.

Potato production was painted extensively by social realists including Jean-François Millet, in the middle of the nineteenth century.

milletpotatoplanters
Jean-François Millet (1814–1875), Potato Planters (c 1861), oil on canvas, 82.5 x 101.3 cm, Museum of Fine Arts Boston, Boston, MA. Wikimedia Commons.

Millet shows this back-breaking work in his Potato Planters from about 1861.

milletpotatoharvestwalters
Jean-François Millet (1814–1875), The Potato Harvest (1855), oil on canvas, 54 x 65.2 cm, Walters Art Museum, Baltimore, MD. Wikimedia Commons.

The Potato Harvest from 1855 is another more substantial work developed from Millet’s drawings. In the foreground, a man and woman are working together to fill sacks with the harvested potatoes, to be loaded onto the wagon behind them. The other four work as a team to lift the potatoes using forks and transfer them into wicker baskets, a gruelling task. Although the fields in the left distance are lit by sunshine, the dark scud-clouds of a heavy shower fill the sky at the right. Being poor, none of the workers has any wet-weather gear. The soil is also poor, full of stones, and yields would have been low despite the full sacks shown at the right.

milletangelus
Jean-François Millet (1814–1875), L’Angélus (The Angelus) (1857-59), oil on canvas, 55 x 66 cm, Musée d’Orsay, Paris. Wikimedia Commons.

Millet’s most famous single work, The Angelus, was completed around 1857-59. This had been commissioned by the American collector Thomas Gold Appleton, as Prayer for the Potato Crop, but underwent modification before Millet renamed it. At some stage, it’s thought to have included a child’s coffin, but that was overpainted.

It shows a couple, praying the Angelus devotion normally said at six o’clock in the evening, over the potatoes they have been harvesting. It’s dusk, and as the last light of the day fades in the sky, the bell in the distant church is ringing to mark the end of work, and the start of the evening. Next to the man is the fork he has been using to lift potatoes from the poor, stony soil; his wife has been collecting them in a wicker basket, now resting at her feet. Behind them is a basic wheelbarrow with a couple of sacks of potatoes on it, ready to be taken home.

blepageoctober
Jules Bastien-Lepage (1848–1884), October: Potato Gatherers (1878), oil on canvas, 180.7 x 196 cm, National Gallery of Victoria, Melbourne. Wikimedia Commons.

Twenty years later, Jules Bastien-Lepage painted what’s now sometimes known as October or Potato Gatherers (1878), but was originally shown as October: Potato Gatherers.

vangoghpotatoharvest
Vincent van Gogh (1853–1890), Woman Lifting Potatoes (1885), oil on canvas, dimensions not known, Van Gogh Museum, Amsterdam. Wikimedia Commons.

Vincent van Gogh painted Woman Lifting Potatoes (1885) and similar scenes during his time living with his parents in Nuenen, in North Brabant, the Netherlands.

molnarpotatoharvest
János Pentelei Molnár (1878–1924), The Potato Harvest (1901), oil on canvas, 79 x 109 cm, Private collection. Wikimedia Commons.

János Pentelei Molnár’s The Potato Harvest from 1901 takes this theme into the early years of the twentieth century, in Hungary.

ringmandiggingpotatoes
Laurits Andersen Ring (1854–1933), A Man Digging Potatoes (1901), oil on canvas, 86 x 67.5 cm, Statsministeriet, Copenhagen, Denmark. Wikimedia Commons.

Laurits Andersen Ring’s A Man Digging Potatoes from 1901 is pure social realism, as this smallholder uses his spade to lift the potatoes that are his staple diet. I believe that the plants shown here have suffered from potato blight, which also swept Europe periodically causing more famine and death.

fredericthreesisters
Léon Frédéric (1856–1940), The Three Sisters (1896), oil on canvas, dimensions not known, Private collection. Wikimedia Commons.

Although the girls shown in Léon Frédéric’s Three Sisters from 1896 are clean and well dressed, they’re sat together peeling their staple diet of potatoes in a plain and barren farmhouse. A glimpse of the shoes of the girl at the left confirms that they’re neither destitute nor affluent.

vangoghpotatoeaters
Vincent van Gogh (1853–1890), The Potato Eaters (1885), oil on canvas, 82 × 114 cm, Van Gogh Museum, Amsterdam, The Netherlands. Wikimedia Commons.

Vincent van Gogh’s The Potato Eaters (1885) is another revealing insight into the lives of poor labourers in Nuenen, who are about to feast on a large dish of potatoes under the light of an oil lamp.

friantfrugalmeal
Émile Friant (1863–1932), The Frugal Meal (1894), oil, dimensions and location not known. Wikimedia Commons.

Émile Friant’s The Frugal Meal (1894) continues the social theme, as a poor family with four daughters sits down to a meal consisting of a bowl piled high with potatoes, and nothing else. More worryingly, the pot on the floor at the left is empty.

Further reading

Christopher Shepherd’s brilliant essay on the history of the potato in The Oxford Handbook of Agricultural History (2024), ed. Jeannie Whayne, Oxford UP, ISBN 978 0 19 092416 4.

Sequoia catches: periodic and VMs

By: hoakley
6 November 2024 at 15:30

This article describes one change that has caught out some using macOS Sequoia, and considers what has changed in Sequoia Virtual Machines (VMs).

periodic has been removed

After many years of deprecation, the periodic scheduled maintenance command tool has been removed from macOS 15.0. In its heyday, periodic was responsible for running daily, weekly and monthly maintenance and housekeeping schedules including rolling the system logs. Over that time, macOS has been given other means for achieving similar ends. For example, logs are now maintained constantly by the logd service, and aren’t retained by age, but to keep the total size of log files fairly constant. I don’t think that Sonoma performed any routine maintenance using periodic.

If you use periodic, then the best option is to use launchd with a LaunchAgent or LaunchDaemon. If you’d prefer to use cron, that’s still available but is disabled in macOS standard configuration.

Sequoia VMs: AI

Sequoia VMs created from an IPSW image of Sequoia (rather than upgraded from Sonoma or earlier) running on Sequoia hosts are the first to gain access to iCloud features. Now that 15.1 has been released with AI, I’ve been trying to discover whether that can also be used in a VM. So far, my 15.1 VM has sat for hours ‘preparing’, but AI still hasn’t activated on it. I suspect that, for the present, AI isn’t available to VMs. If you have had success, please let me know.

Sequoia VMs: macOS builds

My test 15.1 VM has also behaved strangely. It was originally created in 15.0, updated successfully to 15.0.1, then to 15.1, where it was running build 24B83, the version released generally on 28 October. Later that week Software Update reported that a macOS update was available, and that turned out to be a full install of 15.1 build 24B2083, released on 30 October for the new M4 Macs. This VM is hosted on a Studio M1 Max!

Installation completed normally, and that VM now seems to be running the new build perfectly happily, although it hasn’t proved any help in activating AI.

Don’t be surprised if your 15.1 build 24B83 VMs behave similarly. If anyone can suggest why that occurred I’d be interested to know, as it’s generally believed that build 24B2083 has been forked to support only M4 models.

Apple has just released an update to XProtect for all macOS

By: hoakley
6 November 2024 at 03:13

Apple has just released an update to XProtect for all supported versions of macOS, bringing it to version 5279. As usual, Apple doesn’t release information about what security issues this update might add or change.

Relative to the last version released for all supported versions of macOS (5278), this version makes a small amendment to the detection rule for MACOS.PIRRIT.CHU.

You can check whether this update has been installed by opening System Information via About This Mac, and selecting the Installations item under Software.

A full listing of security data file versions is given by SilentKnight, LockRattler and SystHist for El Capitan to Sequoia available from their product page. If your Mac hasn’t yet installed this update, you can force it using SilentKnight, LockRattler, or at the command line.

If you want to install this as a named update in SilentKnight, its label is XProtectPlistConfigData_10_15-5279.

For Sequoia only: there’s no sign of this update being made available in iCloud, which now returns an XProtect version of 5278. If you download and install it using Software Update, softwareupdate or SilentKnight, then once that’s complete you need to update the primary XProtect bundle in Terminal using the command
sudo xprotect update
then entering your admin password. If you’re unsure what to do, this article explains it comprehensively and simply.

I have updated the reference pages here which are accessed directly from LockRattler 4.2 and later using its Check blog button.

I maintain lists of the current versions of security data files for Sequoia on this page, for Sonoma on this page, Ventura on this page, Monterey on this page, Big Sur on this page, Catalina on this page, Mojave on this page, High Sierra on this page, Sierra on this page, and El Capitan on this page.

Reading visual art: 171 Coffin

By: hoakley
5 November 2024 at 20:30

After death, most of us will end up in a coffin, sometimes known euphemistically as a casket. Despite their widespread use, they seldom appear in paintings, perhaps because they obscure the body. Although there’s no shortage of deaths in classical myth and legend, I’ve been unable to find any conventional narrative painting that includes a coffin. There is, though, one remarkable history painting that does.

pradillaortizjuanathemad
Francisco Pradilla Ortiz (1848–1921), Doña Juana “la Loca” (Juana the Mad) (1877), oil, 340 × 500 cm, Museo Nacional del Prado, Madrid. Wikimedia Commons.

This is Francisco Pradilla’s painting of Doña Juana “la Loca” – Juana or Joanna the Mad – from 1877, which won the Medal of Honour at the National Exhibition in Spain, went on to the Exposition Universel in Paris, and won further acclaim in Berlin.

Queen Joanna of Castile, or Juana the Mad, brought about the union of the kingdoms of Castile and Aragon, forming the basis of modern Spain. She married Philip the Handsome in 1496, shortly before her seventeenth birthday. He was crowned king of Castile in 1506, and was the first of the Habsburg monarchs in Spain. He died suddenly later that year, probably from typhoid fever, and Juana became mentally ill, refusing to let Philip’s body be buried. This is the basis of Pradilla’s painting, where Juana is shown in the nun’s habit she would have worn when she was eventually secreted into a convent. When her father, Ferdinand II, died in 1516, Juana inherited Aragon, and Spain was ruled under the personal union of her son Charles I, who was also elected Holy Roman Emperor.

Coffins do appear more in symbolic roles.

eggerlienzchristresurrected
Albin Egger-Lienz (1868–1926), Resurrection of Christ (1923-24), oil on canvas, 197 x 247 cm, Tirol Art Museum, Austria. Wikimedia Commons.

In 1923-24, Albin Egger-Lienz painted a thoroughly modern account of the Resurrection of Christ. His finished painting includes contemporary peasants, and the risen Christ standing in his own coffin.

And the Sea Gave Up the Dead Which Were in It exhibited 1892 by Frederic, Lord Leighton 1830-1896
Frederic, Lord Leighton (1830–1896), And the Sea Gave Up the Dead Which Were in It (1892), oil on canvas, 228.6 x 228.6 cm, The Tate Gallery (Presented by Sir Henry Tate 1894). Photographic Rights © Tate 2016, CC-BY-NC-ND 3.0 (Unported), http://www.tate.org.uk/art/artworks/leighton-and-the-sea-gave-up-the-dead-which-were-in-it-n01511

They also appear in Frederic, Lord Leighton’s unusual And the Sea Gave Up the Dead Which Were in It (1892), whose title is a quotation from the Book of Revelation:
And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: and they were judged every man according to their works.
(Revelation Chapter 20, verse 13.)

Considered to be one of his most dramatic paintings, it was initially intended to decorate Saint Paul’s Cathedral in London, but was rejected as unsuitable. It was then commissioned at reduced size by Henry Tate for his new gallery of British art, now The Tate Gallery in London.

Unlike much of the fearsome imagery of the Second Coming described in the book of Revelation, this is essentially an optimistic scene, being the resurrection and spiritual salvation of those who have died at sea, an all too common fate around the British coast. A central family group shows stages of awakening: the man has been fully awakened, his son is just starting to breathe but still white, and his wife still bears the pale green hue of the dead.

Around them, others are likewise being awoken from their coffins, presumably from burial at sea, or from the water itself. Leighton’s tones and colours refer to Géricault’s The Raft of the Medusa (1819), by far the most famous painting of shipwreck and death at sea, with which Leighton was very familiar. There are also references to Michelangelo’s Entombment (1500-1), in the National Gallery and a favourite of Leighton’s at the time.

boecklinislanddead3
Arnold Böcklin (1827–1901), Island of the Dead (version 3) (1883), oil on panel, 80 x 150 cm, Alte Nationalgalerie, Berlin. Wikimedia Commons.

This third version of Arnold Böcklin’s famous Island of the Dead was painted in 1883 for his dealer. As with others he painted, this shows a coffin being brought by boat to the island for interment.

The few other paintings of coffins show them in more ordinary funerals.

axentowiczhutsulfuneral
Teodor Axentowicz (1859–1938), Pogrzeb huculski (Hutsul Funeral) (1882), oil on canvas, 86 x 115 cm, Private collection. Wikimedia Commons.

At the end of his training in Munich, Teodor Axentowicz paid his first visit to the lands of the Hutsul people, in the Carpathian Mountains of Ukraine. His oil painting of a Hutsul Funeral from 1882 shows the Hutsul in the rigours of winter, the coffin being towed on a sledge behind a cart, and the mourners clutching candles as they make their way through the snow to the stave church in the distance.

schikanedersadway
Jakub Schikaneder (1855–1924), The Sad Way (1886), oil on canvas, 141 × 217 cm, Národní galerie v Praze, Prague, The Czech Republic. Image by Ophelia2, via Wikimedia Commons.

Jakub Schikaneder’s finished version of The Sad Way from 1886 shows a single weary horse drawing the cart bearing a coffin. The woman, presumably a widow before her time, stares emptily at the rutted mud track, as a man walks beside them. In the background is the floodplain of a river in full flood. It appears to be in the late autumn, with the last of the brown leaves remaining on the trees. Schikaneder’s world is barren, bleak, and forlorn.

astrupfuneralday
Nikolai Astrup (1880–1928), Funeral Day in Jølster (before 1908), oil on canvas, 68 x 73 cm, Bergen Kunstmuseum, KODE, Bergen, Norway. The Athenaeum.

In his village in Norway, Nikolai Astrup recorded the public rites of the community, as in his Funeral Day in Jølster (before 1908). With the grandeur of the hills behind, a small party escorts the coffin of one of the villagers. The artist’s father, the pastor, leads the procession to the small churchyard.

Perhaps the most famous painting of a burial in European art is that below, Gustave Courbet’s Burial at Ornans (1849-50).

courbetburialatornans
Gustave Courbet (1819–1877), A Burial at Ornans (1849-50), oil on canvas, 315 x 668 cm, Musée d’Orsay, Paris. Wikimedia Commons.

Courbet’s monumental Burial at Ornans (1849-50), shows in remarkably unemotional and objective terms the funeral of the artist’s great uncle in this small provincial town. The event took place in September 1848, but the painting gives the impression that it is a faithful record.

Courbet actually painted the work entirely in the studio, using those who were present as models. It shows a moment that could only have existed in the artist’s memory: like Géricault’s Raft of the Medusa, it doesn’t necessarily represent an image that ever existed in reality. But it has been carefully researched, imagined, composed, and painted to give the impression of accuracy and objectivity, rather than some Romantic fantasy. Another feature it has in common is that its most significant object, the coffin, is almost obscured here by the bearers.

Finally, there’s one painting that explores one of the great fears of the nineteenth century, that of being presumed dead and being buried alive.

wiertzprematureburial
Antoine Wiertz (1806–1865), Premature Burial (1854), oil on canvas, 160 × 235 cm, Le Musée Antoine Wiertz, Brussels. Wikimedia Commons.

After his mother’s death, Antoine Wiertz became progressively more obsessed with death. His Premature Burial (1854) visits this not uncommon dread of the nineteenth century: that of being presumed dead, buried, and then recovering to find yourself in a coffin. This did happen, particularly during cholera epidemics, as indicated by the lettering on the opening coffin. The profound shock resulting from choleric dehydration could make the pulse and breathing so feeble as to escape detection; with hundreds or thousands of dead, many were dumped hurriedly into mass-produced coffins and so into mass graves. And a very few managed to survive, leading to coffins being designed with bells that could be rung by a recovered occupant. Wiertz’s victim is left with the nightmare scenario of trying to make it back to the land of the living.

Why notarize apps?

By: hoakley
5 November 2024 at 15:30

Signing and notarization of apps and other executable code is a controversial topic. Over the last decade and more Apple has steadily introduced increasingly demanding standards, now requiring developers to notarize apps and other code they distribute outside the App Store. This article tries to explain why, and how this contributes to Mac security.

I would hope that what we all want is confidence that all executable code that our Mac runs, in particular apps, is exactly as was built by its developer. In addition to that, in the event that any code is found to be malicious, then macOS can promptly protect us by refusing to launch it. The first requirement is thus about verification of apps and code, and the second is about having a system that can block code from being launched in the first place.

CDHashes

The well-proven way to verify that files and bundles haven’t changed is using cryptographic hashes of their contents. Compute a hash, save it in a way that can’t be tampered with, and you can verify a bundle by recomputing its hash and confirming that it hasn’t changed. Apple has been using this for a long time, and its approach is a little more complex, as explained in detail in this excellent tech note.

When an app is signed, hashes are computed for different parts of its contents and assembled into a code directory, a data structure rather than a folder/directory. That data structure is then hashed to form the cdhash, or CDHash with mixed case to aid its reading. Because it’s a hash of hashes, it uniquely identifies that app, bundle or other executable code. CDHashes are thus part of the signing process, and the signature contains those CDHashes. They are also part of the notarization process, in which Apple’s Notary Service signs the CDHashes for code when it undergoes notarization, and that forms the notarization ticket that’s issued for that app, and normally attached or ‘stapled’ to it.

Between them, code signing and notarization thus provide two levels of verification, in a signature attached to the code itself, and in a record kept by Apple following successful notarization.

Unsigned apps

An unsigned app has no CDHashes, so its contents are uncontrolled and no verification is possible. It can change its own contents, morph itself from benign to malicious, forge its identity by posing as a completely different app, or be hijacked to run malicious code. While macOS could compute its CDHashes and Apple could try to track them, there’s no way to verify its identity, so external checks aren’t feasible, and there’s no way to block the code from being launched, as all it would need to do to evade that would be to change itself so its CDHashes changed.

Although macOS running on Intel Macs long tolerated this, from their release four years ago, Apple silicon Macs have refused to run such unsigned code.

Ad-hoc signed apps

Since Apple required code to be signed for Apple silicon Macs, all self-respecting build systems for macOS have automatically signed the code they generate. However, unless the developer has a certificate issued by Apple, by default they use ‘ad hoc’ certificates that are created locally and lack any chain of trust. That enables anyone to create CDHashes at any time, without any traceability to a trusted root certificate.

This is a slight improvement on completely unsigned code, and does enable an app to be identified by its CDHashes, but as they’re so easy to create, there’s no reliable way to verify that the app hasn’t changed since its original build. Although Apple could try to collect those CDHashes, there’s no useful way to block code from being launched, as all an adversary needs is to resign the code to change its CDHashes: they’re simply too labile to be trustworthy.

Certificate signed apps

For many years, before Apple introduced notarization over six years ago, this was the standard expected, but not required, of apps distributed by third-party developers. Although in theory developers could have used certificates provided by other authorities, not all Certificate Authorities are equal in their diligence, and Apple rightly wanted to be responsible for all revocations.

Certificates add control and verification, within limits determined by the certificate user. CDHashes gathered from code can be collected, but again their provenance relies on their user. At one time, they were commonly abused by those distributing malicious software. Although abused certificates were revoked by Apple, before that could happen, the malware had to be detected and identified, which could allow it to be run by many users for long before it could be blocked.

Certificate checks were another problem with this approach. It isn’t practical to check each certificate every time code is to be launched, so approvals have to be cached locally, adding to the delay before any revocation becomes effective.

notariznhashes1

Notarization

To address the limitations of signing code using developer certificates, Apple introduced the process of notarization. In this context, it adds:

  • CDHashes from notarization are known to Apple, and stored in its database, for quicker online checks, and more rapid revocation.
  • Apple screens apps being notarized to detect those that may be malicious.
  • Apple has a complete copy of every app that has been notarized, and already knows its CDHashes.

This finally checks the provenance of all code being run, through its CDHashes; if they’re not already known to Apple, then that build of the app can’t have been notarized, and can be blocked from launching, provided the user doesn’t disable notarization checks. Screening for malware forces those trying to get malicious code notarized to adopt techniques of obfuscation, but even if those are successful, Apple already has a copy of that app and its CDHashes. That eliminates much of the delay incurred by certificate-signed apps. Together these have proved sufficient disincentive to malware developers to try to abuse notarization.

Key features of notarization are thus:

  • Verification that the app or code hasn’t changed since it was built by its developer, up to the moment that it’s run.
  • Independent verification against Apple’s database.
  • Rapid blocking if the app or code is discovered to be malicious.
  • Apple is provided with a full copy of the app or code, to aid any further investigation.
  • All apps or code are checked independently for evidence that they’re malicious, before they can be released.

If you can come up with a system that achieves those and could replace notarization, I’m sure that Apple would love to hear of it.

Changing Paintings: 44 The birth of Hercules

By: hoakley
4 November 2024 at 20:30

Having just told us of the events leading to the death and apotheosis of Hercules, Ovid continues book 9 of his Metamorphoses by telling the story of his birth. He leads into this by telling us that Alcmena, Hercules’ mother, had found Iole, Hercules’ lover, a good confidante. Since Hercules’ apotheosis, and at the hero’s instruction, Hyllus had married Iole, and she was now pregnant with his child.

This reminds Alcmena of her own pregnancy with Hercules, that had been cursed by Juno to be a difficult one. She was in labour for seven days and nights, in agony, and called on Lucina and the multiple Roman deities of childbirth to deliver her child. But Lucina had received instructions from Juno, and would not let the labour progress.

Lucina sat on an altar by the door, her legs crossed and her hands linked, preventing delivery. One of Alcmena’s most loyal maids, Galanthis, took matters into her own hands, and announced to Lucina that Hercules had been born. The goddess was so shocked that she jumped up, parting her hands, so allowing Alcmena’s labour to conclude at last. But Galanthis ridiculed Lucina for this. The goddess seized Galanthis by her hair and dragged her along the ground. As the maid struggled to rise she was transformed into a weasel, and Hercules entered the world.

I’ve been unable to find any paintings of this story, but there are several engravings.

solisalcmene
Virgil Solis (1514-1562), Alcmena’s Labour (date not known), engraving for Ovid’s Metamorphoses Book IX, 285-323. Francfurt, 1581, fol. 118 v., image 5. Wikimedia Commons.

Virgil Solis engraved Alcmena’s Labour at some time around 1550. Alcmena is in the left foreground, in the throes of her protracted labour, with four women attending to her. In the background, two women are talking, and at the far right, Lucina is dragging Galanthis to the ground by her hair. There’s also a weasel walking past.

Subsequent engravings have drawn on this. Some show Lucina and Galanthis fighting in the background, but most omit the weasel. One other comes close to showing the story as told by Ovid.

anonalcmenegivingbirth
Artist not known, Alcmena Giving Birth to Hercules: Juno, Jealous of the Child, Attempts to Delay the Childbirth (c 1606), line engraving in Nicolas Renouard, Les Métamorphoses d’Ovide, traduites en prose françoise, 11.5 x 14.1 cm, 1606, Wellcome Library (no. 16885i), London. Courtesy of The Wellcome Library, via Wikimedia Commons.

The unknown engraver who made Alcmena Giving Birth to Hercules: Juno, Jealous of the Child, Attempts to Delay the Childbirth, in about 1606, has an almost identical group around Alcmena. The same two women are talking in the background, but the weasel is prominent.

Other stories about Hercules as a baby and young child, which Ovid doesn’t tell here, have been much better represented in paintings. According to older Greek myths, the sons of Jupiter could only become divine if they were suckled at Juno’s breast. Shortly after the birth of Hercules, Mercury took the infant to Juno, who put him to her breast. When she realised who the baby was, she pulled him away, and the excess milk released as a result sprayed over the heavens, forming the Milky Way.

There are two outstanding paintings showing this unusual scene.

tintorettooriginmilkyway
Jacopo Tintoretto (c 1518–1594), The Origin of the Milky Way (c 1575), oil on canvas, 149.4 × 168 cm, The National Gallery (Bought, 1890), London. Image courtesy of and © The National Gallery, London.

Jacopo Tintoretto’s The Origin of the Milky Way from about 1575 shows the infant Hercules being pulled away by an anonymous assistant, with fine streams of milk gushing upwards to generate individual stars. In the background, Jupiter’s eagle appears to have a crablike object in its talons, perhaps representing the constellation of the Crab (Cancer), and Juno’s peacocks are at the right.

rubensbirthmilkyway
Peter Paul Rubens (1577–1640), The Birth of the Milky Way (1636-37), oil on canvas, 181 × 244 cm, Museo Nacional del Prado, Madrid, Spain. Wikimedia Commons.

Just a few years before his death, Rubens painted an even more wonderful version, The Birth of the Milky Way (1636-37). Jupiter sits in the background on the left, seemingly bored. Juno’s milk arcs out from her left breast over the heavens, and her peacocks look distressed.

Other myths tell that Juno was still furious that Hercules had been born, so she placed two serpents in his cradle, in an attempt to kill the child. Hercules’ mortal twin Iphicles (not mentioned by Ovid) screamed at the snakes, bringing their father Amphitryon running. He found Hercules strangling the serpents with his bare hands: proof that he was indeed the son of Jupiter.

Several fine paintings seize this unique opportunity to show an infant strangling serpents.

meiinfancyhercules
Bernardino Mei (1612–1676) (attr), Scene from the Infancy of Hercules (date not known), oil on canvas, 135 x 96 cm, location not known. Wikimedia Commons.

This painting from the mid seventeenth century, attributed to Bernardino Mei, has been neutrally titled Scene from the Infancy of Hercules. Rather than let his father discover the baby’s strange abilities, it’s Alcmena who has come running into his nursery.

batoniinfanthercules
Pompeo Batoni (1708–1787), The Infant Hercules Strangling Serpents in his Cradle (1743), oil on canvas, dimensions not known, Palazzo Pitti, Florence. Wikimedia Commons.

Pompeo Batoni’s account, The Infant Hercules Strangling Serpents in his Cradle from 1743, succeeds because it shows so well Hercules’ parents, disturbed from their bed, discovering their baby despatching the snakes, all by the light of an oil lamp.

The third version of this story comes from Sir Joshua Reynolds, who was commissioned by Catherine the Great of Russia in 1785 to paint her a history subject of his choice. Reynolds thought that he could flatter the Empress of Russia, perhaps, and produced this preparatory study for the heart of his final work.

reynoldsinfanthercules
Joshua Reynolds (1723–1792), The Infant Hercules (c 1785-89), oil on millboard, 25.5 x 21 cm, Princeton University Art Museum, Princeton, NJ. Wikimedia Commons.

The Infant Hercules was painted between about 1785-88, then exhibited at the Royal Academy before being sent to Russia. Reynolds is reputed to have used a real baby as his model, and later reused this for a painting of Puck as a baby.

reynoldsinfantherculesstrangling
Joshua Reynolds (1723–1792), The Infant Hercules Strangling Serpents in his Cradle (1788), oil on canvas, 307 × 297 cm, Hermitage Museum Государственный Эрмитаж, Saint Petersburg, Russia. Wikimedia Commons.

Reynolds’ finished painting of The Infant Hercules Strangling Serpents in his Cradle (1788) loses the baby among its elaborate supporting cast. It has also suffered problems with deterioration in its paint layer, a common issue with many of Reynold’s paintings.

Solutions to Saturday Mac riddles 280

By: hoakley
4 November 2024 at 17:00

I hope that you enjoyed Saturday’s Mac Riddles, episode 280. Here are my solutions to them.

1: Third prime should run at twice three or four, and four times two.

Click for a solution

(Thunderbolt) 5

Third prime (5) should run at twice three or four (Thunderbolt 5 should deliver 80 Gb/s speed, twice that of TB3 or TB4), and four times two (and four times that of TB2).

2: The third of XV brought AI for some.

Click for a solution

(macOS) 15.1

The third (version of macOS 15, which is shipping in last week’s new M4 Macs) of XV (macOS 15) brought AI for some (it did).

3: If E > P and E + P = GPU what does E equal?

Click for a solution

6

If E > P (6 > 4) and E + P = GPU (Macs with the full base M4 chip have 10-core GPUs) what does E equal? (6, the number of E cores in the full base M4 chip.)

The common factor

Click for a solution

They are properties of the new M4 Macs announced last week.

I look forward to your putting alternative cases.

How does QuickLook create Thumbnails and Previews? With an update to Mints

By: hoakley
4 November 2024 at 15:30

If you encounter problems with QuickLook not creating Thumbnails or Previews properly, one of the first steps is to discover which code is responsible for generating those for QuickLook. Prior to macOS Sequoia, the standard way to do that was using the command tool qlmanage, among whose options is -m, to list all the qlgenerators available on your Mac. If you’ve tried that in Sequoia, you’ll surely have noticed that no longer works.

qlmanage

Since Catalina, Apple has been encouraging developers to switch away from qlgenerators to app extensions to create custom Thumbnails and Previews for QuickLook, and Sequoia is the first version of macOS that can’t use third-party qlgenerators. I have noticed some document types that only a few weeks ago in Sonoma still used custom thumbnails and full previews, but now can’t do so, although others continue to work normally.

These are controlled in the Quick Look item in Login Items & Extensions in General settings.

qlextnsseq

That should list all third-party app extensions providing this service, and enabling the right one(s) could fix some of those problems. But it turns out this list isn’t complete, and doesn’t in any case tell you which app extension handles which file type. For those, you’d normally turn to qlmanage, but its -m option can only see the qlgenerators in macOS, and no third-party app extensions at all. In fact, qlmanage is now of little help for anything related to QuickLook. I’ve gone back through Sonoma and Ventura, and qlmanage there is no different: although it does list third-party qlgenerators, none of those provided in app extensions appear in its list.

QuickLook app extensions

As far as I can discover, Apple doesn’t provide any equivalent of qlmanage that can report on QuickLook app extensions. The closest it comes is in the pluginkit tool, that can list all app extensions known to macOS. With a bit of tweaking, its -m option can reveal which of those use the QuickLook SDKs for Thumbnails or Previews.

Armed with the appex bundle path from pluginkit, you can then inspect the Info.plist in each, where there’s an array of QLSupportedContentTypes giving the UTIs of all file types supported by that appex. Although I’m sure someone could implement that in a shell script, this seemed an ideal task for my free utility Mints.

Mints and QuickLook

Version 1.20 of my free utility Mints is now available from here: mints120
from Downloads above, from its Product Page, and via its auto-update mechanism.

mints1201

This adds a twenty-fifth button to the app’s control window, named QuickLook, at the bottom left. Click on that and Mints will open a new window and fill it with information about all the qlgenerators and QuickLook appexes your Mac knows about.

mints1202

For qlgenerators, you’re given the file UTI, the path to the qlgenerator file, and (when available) its version number, e.g.
com.adobe.pdf 👉/System/Library/QuickLook/PDF.qlgenerator (1002.2.3)

App extensions are divided into two, the first are those providing Previews, and the second those for Thumbnails, e.g.
com.apple.applescript.text 👉/Applications/PreviewCode.app/Contents/PlugIns/Code Previewer.appex

This is an appex provided in one of Black Pyramid Software’s superb Preview series, in PreviewBundle 2 from the App Store (highly recommended).

You will see a few entries like Safari’s
[none] 👉/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app/Contents/PlugIns/SafariQuickLookPreview.appex
with an appex that doesn’t have a list of file types in QLSupportedContentTypes.

Checking UTIs

It’s easy to guess which UTIs represent many file types, but some are a bit more cryptic. For those, copy and paste the UTI into the UTI field of my free UTIutility and it will give you clues as to its identity, including file extensions.

utilutil121

Unfortunately, some of the system qlgenerators support generic UTIs such as
public.audio 👉/System/Library/QuickLook/Audio.qlgenerator (1002.2.3)
public.image 👉/System/Library/QuickLook/Image.qlgenerator (1002.2.3)
public.movie 👉/System/Library/QuickLook/Movie.qlgenerator (1002.2.3)
which clearly cover broad ranges of more specific file types, but don’t provide any more specific information.

How to identify QuickLook extensions

  • List installed QuickLook extensions using Mints’ QuickLook button.
  • Identify the file’s UTI using UTIutility.
  • Locate the UTI in the list of extensions.
  • If no match is found, check UTIs listed in UTIutility as Conforms.
  • Check Quick Look item in Login Items & Extensions in General settings, to ensure that extension is enabled.

Next up for Mints is a feature to explore app extensions. I may be a little longer on that one.

Paintings of Gloucester Harbour and Dogtown: 1910-1936

By: hoakley
3 November 2024 at 20:30

We’re spending this weekend in the city of Gloucester, to the north-east of Boston, Massachusetts, in the company of some of the fine paintings of its harbour and coast. In the first of these two articles, I showed views from those of pioneer Fitz Henry Lane in 1850, up to Frank Duveneck in 1910.

glosmap
United States Geological Survey, Map of Annisquam River (Massachusetts) and environs (1893), printed map, USGS 15 Minute Series, Gloucester, MA Quadrangle, 1893. Northwest corner. United States Geological Survey, US Department of the Interior. Wikimedia Commons.

To remind you of the location, here’s the map from 1893 again.

Louise Upton Brumback was a pupil of William Merritt Chase, friend and contemporary of Frank Duveneck. She learned to paint en plein air in Chase’s summer school on Long Island, before moving to live in Kansas City, Missouri. From 1909, the Brumbacks spent their summers in the artists’ colony of Gloucester, Massachusetts, and the rest of the year in Manhattan; those summers were to prove her most productive seasons.

brumbackbathersalongshore
Louise Upton Brumback (1867-1929), Bathers Along the Shore (1910), oil on panel, 25.4 x 35.6 cm, Private collection. Wikimedia Commons.

From the outset, Brumback’s paintings reflected her nature. Bathers Along the Shore (1910) is decidedly post-Impressionist, highly individual, colourful, and expressed in strong terms.

brumbackgloucester
Louise Upton Brumback (1867-1929), Gloucester, Massachusetts (1912), oil on canvas, 60.3 x 72.4 cm, Private collection. Wikimedia Commons.

Gloucester, Massachusetts (1912) is an unusual view of part of what had been one of the USA’s busiest seaports.

In 1912 the Brumbacks had a house built for them in East Gloucester, and Louise started to exhibit more frequently, and much more successfully. By 1914, she showed paintings at the National Academy of Design, the Art Institute of Chicago, the Corcoran Gallery in Washington DC and in Boston, and had a solo show at the Fine Arts Institute in Kansas City. Her husband had been able to retire early from his legal practice, and devoted his time and effort to supporting her career.

brumbackgoodharborbeach
Louise Upton Brumback (1867-1929), Good Harbor Beach (1915), oil on canvas, 59.7 x 70 cm, Private collection. Wikimedia Commons.

With her more mature style, she became best-known for vibrantly colourful beach scenes, such as her Good Harbor Beach, showing the coast near Gloucester in 1915.

brumbackgoodharbour
Louise Upton Brumback (1867-1929), Good Harbor Gloucester (date not known), oil on canvas, 59.7 x 70 cm, Private collection. The Athenaeum.

Her undated Good Harbor Gloucester was probably painted in the same, or an adjacent, summer.

brumbackthreeumbrellas
Louise Upton Brumback (1867-1929), Three Umbrellas (date not known), oil on canvas, 63.5 x 76.2 cm, Private collection. The Athenaeum.

Three Umbrellas (undated) features impasto across the beach, and unusual brushstrokes in the sky.

brumbackgreydaygloucester
Louise Upton Brumback (1867-1929), Grey Day Gloucester (1920), oil, dimensions not known, Private collection. Wikimedia Commons.

Even some of her later paintings have a primitive look about them, as in Grey Day Gloucester from 1920, with its boxy houses, relaxed perspective, and simple reflections.

brumbackgloucesterharbor
Louise Upton Brumback (1867-1929), Gloucester Harbour (c 1921), oil on canvas, 76.3 x 102 cm, The Brooklyn Museum, New York, NY (gift of Alfred Bossom). Courtesy of The Brooklyn Museum. Note the original painting is in full colour.

Although I have only been able to obtain this monochrome image of her later view of Gloucester Harbour from about 1921, its details show a marked contrast. She died in Gloucester in 1929.

My last artist was another of Chase’s pupils, who was influenced by Henry David Thoreau, Ralph Waldo Emerson and the Transcendentalists: the Modernist painter Marsden Hartley. Although more strongly associated with his native Maine, he too visited Gloucester.

hartleygloucesterfantasy
Marsden Hartley (1877–1943), Gloucester Fantasy (c 1934-36), oil and pencil on board, 59.7 x 44.5 cm, Private collection. The Athenaeum.

Gloucester Fantasy (c 1934-36) shows the seaport of Gloucester Harbour, with graffiti made by Hartley using a pencil in the oil paint.

Both Brumback and Hartley visited a historic area in the hills between Gloucester and Rockport. Between 1693 and 1830, this had been a flourishing settlement known as Dogtown. In the middle of the eighteenth century this housed up to a hundred families. The growth of Gloucester drew people away, and in the early nineteenth century Dogtown had been largely depopulated, leaving a few occupants, some of whom were accused of witchcraft. The last building was demolished in 1845, and the land returned to dense forest.

brumbackdogtown
Louise Upton Brumback (1867-1929), Dogtown, Cape Ann, Massachusetts (1920), oil on canvas, 63.5 x 76.2 cm, Private collection. Wikimedia Commons.

Louise Upton Brumback’s Dogtown, Cape Ann, Massachusetts (1920) shows this area. Rocky and with poor soil, it now consists of woodland with a mesh of trails and old roads, as seen in the valley on the right.

hartleyblueberryhighway
Marsden Hartley (1877–1943), Blueberry Highway, Dogtown (1931), oil on composition board, 46.4 x 61 cm, High Museum of Art, Atlanta, GA. Wikimedia Commons.

When Marsden Hartley returned to the USA in 1930, he toured some of the classic locations in Massachusetts, including Dogtown. On an early visit there in 1931, he painted his Blueberry Highway, Dogtown, an unusual take on this desolate wooded and rocky area, which must have been in the fall/autumn. He wrote that Dogtown was a cross between Easter Island and Stonehenge.

hartleydogtowncommon
Marsden Hartley (1877–1943), Dogtown Common (1936), oil on academy board, 23.2 x 33 cm, Frederick R. Weisman Art Museum, Minneapolis, MN. The Athenaeum.

Dogtown Common (1936) is Hartley’s later and more conventional depiction of this abandoned settlement.

Last Week on My Mac: M4 incoming

By: hoakley
3 November 2024 at 16:00

Almost exactly a year after it released its first Macs featuring chips in the M3 family, Apple has replaced those with the first M4 models. Benchmarkers and core-counters are now busy trying to understand how these will change our Macs over the coming year or so. Before I reveal which model I have ordered, I’ll try to explain how these change the Mac landscape, concentrating primarily on CPU performance.

CPU cores

CPUs in the first two families, M1 and M2, came in two main designs, a Base variant with 4 Performance and 4 Efficiency cores, and a Pro/Max with 8 P and 2 or 4 E cores, that was doubled-up to make the Ultra something of a beast with its 16 P and 4 or 8 E cores. Last year Apple introduced three designs: the M3 Base has the same 4 P and 4 E CPU core configuration as in the M1 and M2 before it, but its Pro and Max variants are more distinct, with 6 P and 6 E in the Pro, and 10-12 P and 4 E cores in the Max. The M4 family changes this again, improving the Base and bringing the Pro and Max variants closer again.

As these are complicated by sub-variants and binned versions, I have brought the details together in a table.

mcorestable2024

I have set the core frequencies of the M4 in italics, as I have yet to confirm them, and there’s some confusion whether the maximum frequency of the P core is 4.3 or 4.4 GHz.

Each family of CPU cores has successively improved in-core performance, but the greatest changes are the result of increasing maximum core frequencies and core numbers. One crude but practical way to compare them is to total the maximum core frequencies in GHz for all the cores. Strictly speaking, this should take into account differences in processing units between P and E cores, but that also appears to have changed with each family, and is hard to compare. In the table, columns giving Σfn are therefore simply calculated as
(max P core frequency x P core count) + (max E core frequency x E core count)

Plotting those sum core frequencies by variant for each of the four families provides some interesting insights.

mcoresbars2024

Here, each bar represents the sum core frequency of each full-spec variant. Those are grouped by the variant type (Base, Pro, Max, Ultra), and within those in family order (M1 purple, M2 pale blue, M3 dark blue, M4 red). Many trends are obvious, from the relatively low performance expected of the M1 family, except the Ultra, and the changes between families, for example the marked differences in the M4 Pro, and the M3 Max, against their immediate predecessors.

Sum core frequencies fall into three classes: 20-30, 35-45, and greater than 55 GHz. Three of the four chips in the M1 family are in the lowest of those, with only the M1 Ultra reaching the highest. The M4 is the first Base variant to reach the middle class, thanks in part to its additional two E cores. Two of the M4 variants (Pro and Max) have already reached the highest class, and any M4 Ultra would reach far above the top of the chart at 128 GHz.

Real-world performance will inevitably differ, and vary according to benchmark and app used for comparison. Although single-core performance has improved steadily, apps that only run in a single thread and can’t take advantage of multiple cores are likely to show little if any difference between variants in each family.

Game Mode is also of interest for those considering the two versions of the M4 Base, with 4 or 6 E cores. This is because that mode dedicates the E cores, together with the GPU, to the game being played. It’s likely that games that are more CPU-bound will perform significantly better on the six E cores of the 10-Core version of the iMac, which also comes with a 10-core GPU and four Thunderbolt 4 ports.

Memory and GPU

Memory bandwidth is also important, although for most apps we should assume that Apple’s engineers match that with likely demand from CPU, GPU, neural engine, and other parts of the chip. There will always be some threads that are more memory-bound, whose performance will be more dependant on memory bandwidth than CPU or GPU cores.

Although Apple claims successive improvements in GPU performance, the range in GPU cores has started at 8 and attained 32-40 in Max chips. Where the Max variants come into their own is support for multiple high-res displays, and challenging video editing and processing.

Thunderbolt and USB 3

The other big difference in these Macs is support for the new Thunderbolt 5 standard, available only in models with M4 Pro or M4 Max chips; Base variants still only support Thunderbolt 4. Although there are currently almost no Thunderbolt 5 peripherals available apart from an abundant supply of expensive cables, by the end of this year there should be at least one range of SSDs and one dock shipping.

As ever with claimed Thunderbolt performance, figures given don’t tell the whole story. Although both TB4 and USB4 claim ‘up to’ 40 Gb/s transfer rates, in practice external SSD performance is significantly different, with Thunderbolt topping out at about 3 GB/s and USB4 reaching up to 3.4 GB/s. In practice, TB5 won’t deliver the whole of its claimed maximum of 120 Gb/s to a single storage device, and current reports are that will only achieve disk transfers at 6 GB/s, or twice TB4. However, in use that’s close to the expected performance of internal SSDs in Apple silicon Macs, and should make booting from a TB5 external SSD almost indistinguishable in terms of speed.

As far as external ports go, this widens the gap between the M4 Pro Mac mini’s three TB5 ports, which should now deliver 3.4 GB/s over USB4 or 6 GB/s over TB5, and its two USB-C ports that are still restricted to USB 3.2 Gen 2 at 10 Gb/s, equating to 1 GB/s, the same as in M1 models from four years ago.

My choice

With a couple of T2 Macs and a MacBook Pro M3 Pro, I’ve been looking to replace my original Mac Studio M1 Max. As it looks likely that an M4 version of the Studio won’t be announced until well into next year, I’m taking the opportunity to shrink its already modest size to that of a new Mac mini. What better choice than an M4 Pro with 10 P and 4 E cores and a 20-core GPU, and the optional 10 Gb Ethernet? I seldom use the fourth Thunderbolt port on the Studio, and have already ordered a Kensington dock to deliver three TB5 ports from one on the Mac, and I’m sure it will drive my Studio Display every bit as well as the Studio has done.

If you have also been tempted by one of the new Mac minis, I was astonished to discover that three-year AppleCare+ for it costs less than £100, that’s two-thirds of the price that I pay each year for AppleCare+ on my MacBook Pro.

I look forward to diving deep into both my new Mac and Thunderbolt 5 in the coming weeks.

Paintings of Gloucester Harbour: 1850-1910

By: hoakley
2 November 2024 at 20:30

This weekend I’d like you join me on a trip to one of the oldest artist’s colonies in America, and once one of it’s busiest ports, the city of Gloucester in Massachusetts, just over thirty miles (50 km) north-east of Boston. Its large natural harbour has been painted by a succession of many of the greatest American landscape artists since the middle of the nineteenth century, and my selection of their works in this weekend’s two articles is a potted history of modern painting styles.

glosmap
United States Geological Survey, Map of Annisquam River (Massachusetts) and environs (1893), printed map, USGS 15 Minute Series, Gloucester, MA Quadrangle, 1893. Northwest corner. United States Geological Survey, US Department of the Interior. Wikimedia Commons.

This map of the Cape Ann peninsula from 1893 shows the areas that you’ll see pictured, around Gloucester Harbor that encloses Ten Pound Island to the south of the city, surrounding beaches, and as a finale to tomorrow’s article, the old abandoned settlement of Dogwood in the hills to the north.

laneglosharbour1850
Fitz Henry Lane (1804–1865), Gloucester Harbor (1850), oil on canvas, dimensions not known, Cape Ann Museum, Gloucester, MA. Image by Daderot, via Wikimedia Commons.

It was local artist Fitz Henry Lane who first started painting the coast here, in the first half of the nineteenth century. His early style steadily evolved through paintings like this of Gloucester Harbor from 1850 as he increasingly explored the effects of light and atmosphere.

laneshipfog1860
Fitz Henry Lane (1804–1865), Ship in Fog, Gloucester Harbor (c 1860), oil on canvas, 61 x 99 cm, Princeton University Art Museum, Princetown, NJ. Wikimedia Commons.

By about 1860, when Lane painted Ship in Fog, Gloucester Harbor, this had reached Luminism, an approach allied with the writing of Ralph Waldo Emerson and the Transcendentalist movement.

In the summer of 1873, the aspiring Boston artist Winslow Homer visited, at a critical time in his career. He was in the process of making watercolour his preferred medium, and abandoning work as an illustrator, to devote his time to landscape painting.

Winslow Homer, Gloucester Harbour (1873), watercolour and gouache on paper, 24.1 x 34.3 cm, Private collection. Wikimedia Commons.
Winslow Homer (1836-1910), Gloucester Harbour (1873), watercolour and gouache on paper, 24.1 x 34.3 cm, Private collection. Wikimedia Commons.

This matching pair of watercolour (above) and oil (below) versions of the same motif demonstrate his skill in both.

Winslow Homer, Gloucester Harbour (1873), oil on canvas, 39.37 x 56.83 cm, Nelson-Atkins Museum of Art, Kansas City, MO. Wikimedia Commons.
Winslow Homer (1836-1910), Gloucester Harbour (1873), oil on canvas, 39.37 x 56.83 cm, Nelson-Atkins Museum of Art, Kansas City, MO. Wikimedia Commons.

Perhaps as a result of his visit to France, many of Homer’s paintings during the 1870s showed very loose brushwork, and greater emphasis on markmaking than previously. At first the critics were disparaging of his watercolours, but they were popular and sold well. He also developed and often used a wide range of techniques to enhance his watercolours. These included the use of both transparent and opaque watercolour, thin layered washes, scraping, texture, resist, splattering, and even abrasive paper.

In the late 1870s Homer became more reclusive, lived in Gloucester, and at one time in Eastern Point Lighthouse, before he travelled to England, where he lived and painted in the coastal village of Cullercoats in 1881-82.

metcalfgloucesterharbour
Willard Metcalf (1858–1925), Gloucester Harbour (1895), oil on canvas, 66.4 × 74.3 cm, Mead Art Museum, Amherst College, Amherst, MA. Wikimedia Commons.

Willard Metcalf, an American Impressionist who was born near Boston, visited and painted Gloucester Harbour in 1895. This is his view of Smith Cove in East Gloucester, looking towards its inner harbour, with the town itself on the opposite shore. It’s a superb set-piece of what had been a couple of decades earlier the busiest port in the USA. With the rapid decline of sail at the end of the nineteenth century, though, it was slowly returning to a quieter existence, with its supporting industries reducing.

Frederick Childe Hassam, Gloucester Inner Harbor (c 1899), oil on canvas, 61 x 50.8 cm, Dumbarton Oaks Research Library and Collection, Washington, DC. WikiArt.
Frederick Childe Hassam (1859-1935), Gloucester Inner Harbor (c 1899), oil on canvas, 61 x 50.8 cm, Dumbarton Oaks Research Library and Collection, Washington, DC. WikiArt.

In about 1899, Metcalf’s contemporary Frederick Childe Hassam, another American Impressionist, visited and painted Gloucester Inner Harbor. Hassam had also been born in Boston, and like Homer had been a successful illustrator before visiting Europe in 1883.

duveneckhorizongloucester
Frank Duveneck (1848–1919), Horizon at Gloucester (c 1905), oil on canvas, 61 × 91.4 cm, Cape Ann Museum, Gloucester, MA. Wikimedia Commons.

Frank Duveneck had been born in Kentucky and joined the German community in Cincinnati, Ohio, before studying alongside William Merritt Chase in Munich, Germany. When he returned to the USA, he found first success in Boston. Later in his career, he spent his summers in and around Gloucester, where he painted his Horizon at Gloucester (c 1905), showing the port’s distinctive skyline from Eastern Point.

duveneckyellowpiershed
Frank Duveneck (1848–1919), The Yellow Pier Shed (c 1910), oil on canvas, 30 x 36 cm, Private collection. The Athenaeum.

The Yellow Pier Shed (c 1910) is another of Duveneck’s summer paintings of Gloucester’s harbour.

duveneckbracesrock
Frank Duveneck (1848–1919), Brace’s Rock (c 1916), oil on canvas, dimensions not known, Private collection. The Athenaeum.

Curiously, in his final years he painted several views of Brace’s Rock (c 1916), off Eastern Point, Gloucester. Fitz Henry Lane had done the same shortly before his death.

Saturday Mac riddles 280

By: hoakley
2 November 2024 at 17:00

Here are this weekend’s Mac riddles to entertain you through family time, shopping and recreation.

1: Third prime should run at twice three or four, and four times two.

2: The third of XV brought AI for some.

3: If E > P and E + P = GPU what does E equal?

To help you cross-check your solutions, or confuse you further, there’s a common factor between them.

I’ll post my solutions first thing on Monday morning.

Please don’t post your solutions as comments here: it spoils it for others.

A brief history of icons, thumbnails and QuickLook

By: hoakley
2 November 2024 at 16:00

One of the novel features in the original Finder in Classic Mac OS was the use of distinctive icons for different types of document in an extensible scheme.

Every file had its type and creator codes, each consisting of four single-byte characters. The Desktop databases contained indexes to those, to enable the Finder to display the appropriate icon for a text document of type TEXT created by an app with the creator code of ttxt, SimpleText, for instance.

Apps provided a custom icon in their Resource fork for each type of document they supported. Periodically, those Desktop databases became broken, and documents lost their custom icons. The solution was to rebuild those Desktop databases from the data in each app’s Resources, a procedure that every Mac user became only too familiar with.

At some stage, perhaps in System 6 of 1988, or System 7 of 1991, document icons such as images could be displayed as miniatures or thumbnails instead. This was accomplished by apps creating that file’s thumbnail and saving it as an ICN# resource in the file’s Resource fork. Amazingly, this still works in Sequoia, where I pasted a prepared Resource fork into a Zip file to give it an inappropriate thumbnail.

qlthumbnail1

The raw Resource fork is shown below in xattred as a com.apple.ResourceFork extended attribute.

qlthumbnail2

Initially, Mac OS X continued a similar system, including custom thumbnails, until Apple introduced Quick Look in Mac OS X 10.5 Leopard, in 2007. This came with built-in support for a wide range of common document types, extending to QuickTime media including audio and video. One curious omission at first was that animated GIFs weren’t supported as animations until OS X 10.7.

Display of Thumbnails used the QuickLook framework documented here. This enabled third-parties to extend coverage to their own document types using QuickLook generators with the extension .qlgenerator. Initially, they were installed into /Library/QuickLook from each app bundle.

Normally, when QuickLook generated a Thumbnail or Preview, that was stored in its cache database kept in NSTemporaryDirectory in the path C/com.apple.QuickLook.thumbnailcache/. Those could give revealing insights into images and other documents accessed recently, and Wojciech Regula and Patrick Wardle discovered that, in High Sierra and earlier, it was easy for malicious software to examine that cache. Apple addressed that in macOS 10.14 Mojave by making the cache completely inaccessible.

In-memory caching of Thumbnails has also proved controversial in more recent versions of macOS. To deliver smooth scrolling of Thumbnails in the Finder’s Gallery views in particular, the Finder has taken to caching them in memory for up to two days, sometimes using several GB in the process. That can readily be mistaken for a memory leak, until those cached Thumbnails are finally flushed.

I described how QuickLook Thumbnails worked in early 2019, in the days before the SSV.

getdocicon01

When you select a document in the Finder, a dialog, or somewhere else where you expect its icon to be shown, the Finder passes details of the document path and its type (UTI) to IconServices, to fetch the appropriate icon. This calls on its main service, iconservicesd in /System/Library/CoreServices, to check its icon cache.

Although the main icon store is locked away in /Library/Caches/com.apple.iconservices.store, there’s additional data in a folder on a path based on /private/var/folders/…/C/com.apple.iconservices, where … is an unreadable alphanumeric name. For icons used in the Dock, their cache is at /private/var/folders/…/C/com.apple.dock.iconcache. If the icon should be replaced by a QuickLook Thumbnail, such as in a Finder column view, QuickLook is asked to provide that thumbnail. That in turn may be cached in its protected cache at /private/var/folders/…/C/com.apple.QuickLook.thumbnailcache.

QuickLook then relies on there being an appropriate qlgenerator to create a thumbnail of that document type; if the qlgenerator is flawed or can’t cope with the document’s contents, that could easily fall over. For example, if you renamed a text file with a .jpeg extension so that macOS considered it was a JPEG image, the bundled qlgenerator might have simply resulted in the display of a busy spinner, rather than resolving to a generic JPEG document icon. IconServices should then deliver the appropriate icon back to the Finder to display it.

In macOS 10.15 Catalina (2019), Apple started replacing this system with a new framework named QuickLook Thumbnailing, documented here. That replaces qlgenerators with QuickLook preview extensions, in particular Thumbnail Extensions, as explained to developers at WWDC in 2019.

macOS 15.0 Sequoia has finally removed support for qlgenerators. That has resulted in the unfortunate loss of custom Thumbnails and Previews for document types of third-party apps that are still reliant on qlgenerators, and haven’t yet got round to providing equivalent app extensions. It’s almost as if the Desktop databases need to be rebuilt again.

Interiors by design: Revival

By: hoakley
1 November 2024 at 20:30

After the popularity of genre scenes and interiors in the Dutch Golden Age, the middle classes had less influence over themes in art until the nineteenth century.

kernstudyinteriorstpolten
Matthäus Kern (1801–1852), A Study Interior at St. Polten (1837), brush and watercolor on white wove paper, dimensions not known, Cooper Hewitt, Smithsonian Design Museum, New York, NY. Wikimedia Commons.

They were then able to indulge in a few paintings and framed prints of their own, although most would have been family portraits rather than anything of greater aesthetic or cultural value. Matthäus Kern’s watercolour showing A Study Interior at St. Polten from 1837 is unusual for being an early pure interior, with no sign of figures, except in the portraits.

Then came Orientalist interiors.

Eugène Delacroix (1798–1863), Women of Algiers in their Apartment (1834), oil on canvas, 180 x 229 cm, Musée du Louvre, Paris. Wikimedia Commons.
Eugène Delacroix (1798–1863), Women of Algiers in their Apartment (1834), oil on canvas, 180 x 229 cm, Musée du Louvre, Paris. Wikimedia Commons.

Eugène Delacroix’s Women of Algiers in their Apartment is his first Orientalist masterpiece, based in part on the watercolours and sketches made of local models during his visits to Morocco and Tangier, combined with studio work in Paris using a European model dressed in clothing the artist had brought back from North Africa. The black servant at the right appears to be an invention added for effect, as an extra touch of exoticism. The end result is harmonious, and makes exceptional use of light and colour, the fine details of the interior giving the image the air of complete authenticity.

chasseriauinteriornudeharem
Théodore Chassériau (1819–1856), Orientalist Interior: Nude in a Harem (1850-52), oil on panel, 46 x 38 cm, Private collection. Wikimedia Commons.

In the mid-1850s, Théodore Chassériau’s Orientalism took the inevitable turn towards the erotic. This started with his Orientalist Interior: Nude in a Harem from 1850-52, referring strongly to Delacroix’s Women of Algiers, and equally rich in detail.

Narrative painting also started to turn away from classical themes, and became framed around open-ended narrative and ‘problem pictures’ to challenge those trying to read them.

The Awakening Conscience 1853 by William Holman Hunt 1827-1910
William Holman Hunt (1827-1910), The Awakening Conscience (1851-53), oil on canvas, 76.2 x 55.9 cm, The Tate Gallery (Presented by Sir Colin and Lady Anderson through the Friends of the Tate Gallery 1976), London. © The Tate Gallery and Photographic Rights © Tate (2016), CC-BY-NC-ND 3.0 (Unported), https://www.tate.org.uk/art/artworks/hunt-the-awakening-conscience-t02075

As far as I can discover, one of the earliest major paintings that intentionally lacks narrative closure is William Holman Hunt’s The Awakening Conscience, painted during the period 1851-53. As with most masterly narrative paintings, its story is assembled from a multitude of clues to be found in the image.

It shows a fashionable young man seated at a piano in a small if not cramped house in the leafy suburbs of London, in reality Saint John’s Wood. Half-risen from the man’s lap is a young woman who stares absently into the distance. They’re clearly a couple in an intimate relationship, but conspicuous by its absence is any wedding ring on the fourth finger of the woman’s left hand, at the focal point of the painting. This is, therefore, extra-marital.

The interior around them has signs that she’s a kept mistress with time on her hands. Her companion, a cat, is under the table, where it has caught a bird with a broken wing, a symbol of her plight. At the right edge is a tapestry with which she whiles away the hours, and her wools below form a tangled web in which she is entwined. On top of the gaudy upright piano is a clock. By the hem of her dress is her lover’s discarded glove, symbolising her ultimate fate when he discards her into prostitution. The room itself is decorated as gaudily as the piano, in poor taste.

The couple have been singing together from Thomas Moore’s Oft in the Stilly Night when she appears to have undergone some revelatory experience, causing her to rise. For Hunt this is associated with a verse from the Old Testament book of Proverbs: “As he that taketh away a garment in cold weather, so is he that singeth songs to an heavy heart.” Ironically, his model was his girlfriend at the time, Annie Miller, an uneducated barmaid who was just sixteen.

Kit's Writing Lesson 1852 by Robert Braithwaite Martineau 1826-1869
Robert Braithwaite Martineau (1826–1869), Kit’s Writing Lesson (1852), oil on canvas, 52.1 x 70.5 cm, The Tate Gallery (Presented by Mrs Phyllis Tillyard 1955), London. Photographic Rights © Tate 2016, CC-BY-NC-ND 3.0 (Unported), http://www.tate.org.uk/art/artworks/martineau-kits-writing-lesson-t00011

The only artist in the nineteenth century who seems to have painted any significant number of narrative works based on popular contemporary writers is Robert Braithwaite Martineau. The Tate Gallery has two such paintings of his: above is Kit’s Writing Lesson (1852), showing a less than memorable scene from Charles Dickens’ The Old Curiosity Shop, with its elaborately detailed interior. The other (not shown here) is Picciola (1853), based on the 1836 novel of the same name by the obscure French novelist Xavier Boniface Saintine (1798-1865).

Solomon, Rebecca, 1832-1886; The Appointment
Rebecca Solomon (1832-1886), The Appointment (1861), media and dimensions not known, The Geffrye, Museum of the Home. Wikimedia Commons.

Rebecca Solomon’s Appointment (1861) appears to be another early problem picture, with a deliberately open-ended narrative set in an interior. A beautiful woman stands in front of a mirror, and looks intently at a man, who is only seen in his reflection in the mirror, and is standing in a doorway behind the viewer’s right shoulder. The woman is dressed to go out, and is holding a letter in her gloved hands. The clock on the mantlepiece shows that it’s about thirteen minutes past seven.

millaisevestagnes
John Everett Millais (1829–1896), The Eve of St Agnes (1863), oil on canvas, 117.8 x 154.3 cm, The Royal Collection of Her Majesty Queen Elizabeth II, London. Wikimedia Commons.

John Everett Millais painted his Eve of St Agnes in 1863, in the King’s Bedroom in the Jacobean house at Knole Park, near Sevenoaks in Kent. His model is his wife Effie, formerly Euphemia Gray, who married John Ruskin, and is here set in a rich period interior.

The last of these open-ended narratives set in interiors is the most puzzling, Edgar Degas’s Interior from 1868-9, also known as The Rape.

degasinterior
Edgar Degas (1834–1917), Interior (‘The Rape’) (1868-9), oil on canvas, 81.3 x 114.3 cm, Philadelphia Museum of Art, Philadelphia, PA. Wikimedia Commons.

A man and a woman are in a bedroom together. She’s at the left, partly kneeling down, facing to the left, and partially (un)dressed. He’s at the right, fully dressed in street clothes, standing in front of the door, with his hands thrust deep into his trouser pockets.

The woman’s outer clothing is placed at the foot of the bed, and her corset has been hurriedly or carelessly cast onto the floor beside the bed. She clearly arrived in the room before the man, removed her outer clothing, and at some stage started to undress further, halting when she was down to her shift or chemise. Alternatively, she may have undressed completely, and at this moment have dressed again as far as her chemise.

Just behind the woman is a small occasional table, on which there is a table-lamp and a small open suitcase. Some of the contents of the suitcase rest over its edge. In front of it, on the table top, is a small pair of scissors and other items from a clothes repair kit or ‘housewife’. There’s a wealth of detail that can fuel many different accounts of what is going on in this interior.

Why you need to make archives, and how to

By: hoakley
1 November 2024 at 15:30

We back up to ensure that we can recover files, whole volumes, our complete Mac if needed. When that crucial document you were working on earlier has vanished, or becomes damaged, or disaster strikes a disk, backups are essential. But how do you preserve all those documents that used to come on paper, records, correspondence and certificates? How will you or your successors be able to retrieve them in ten or thirty years time? This brief article considers how you should archive them safely, which isn’t the same as backing them up.

By archiving, I mean putting precious files somewhere they can be retrieved in at least ten years time. They may include financial, business, employment and personal records, as well as all finished work that you want to record for posterity. For most, they’ll also include a careful selection of still images, movies, and the more important documents you might create, such as books, theses and papers. They’re what you and the law want you to keep in perpetuity, and to be able to retrieve even after you’re gone.

To see how this can be achieved, I consider: the storage medium to be used, file formats that will be retrievable, how to index them for access, physical storage conditions, and the checks of their integrity that are needed.

Storage medium

While backups are most likely to be kept on hard disks or SSDs, neither of those is in the least suitable for archives, as they have relatively short lifetimes and are too sensitive to storage conditions. Instead, you need a removable medium, today probably Blu-ray disks intended for archival use, such as M-DISC.

For those with copious archives of importance beyond their family, Sony used to offer Optical Disk Archive systems, but those products were discontinued last year and don’t appear to have a suitable replacement. This illustrates one of the problems with planning for the more distant future: today’s technology can all too easily become orphaned.

Businesses are increasingly turning to cloud services to store their archives, but for the great majority of us the recurring cost makes this impractical. In any case, best practice should be to use cloud services as a supplement to a physical archive. iCloud is more affordable for the storage of most important documents, but requires a Legacy Contact to be appointed.

File formats

While it’s fine to archive documents in their original format, as you do in your backups, it’s also important to extract their contents into more permanent formats. Among those most likely to prove durable for the next 50-100 years are:

  • UTF-8 (and formerly ASCII) for text files,
  • JPEG and PNG for still images,
  • audio, video and rich media using one of the widely-used compression standards and file formats,
  • XML-based open document standards,
  • CSV for data,
  • PDF provided that it complies with one of the archival standards PDF/A-1 to /A-4.

You may find it worthwhile tarring together large collections of smaller files, but don’t use an unusual compression or ‘archive’ format, which might prove inaccessible in the future.

Indexing and access

For larger collections, even when structured carefully, a thorough list of contents in UTF-8 text format is essential. While there are index and search tools that could help, in this respect too archives are different from backups. If you’re going to be gathering TB of files, look at some of the commercial solutions. Although some are free to use, like the long-established Greenstone, they aren’t intended for casual users and might prove demanding.

Physical storage conditions

Never print on the disk itself, which can result in its degradation, and keep paper records alongside disks in the same container, but not inside the cases themselves, where they could damage them.

Archive optical disks should be stored in cases with centre hub security, not in sleeves. They must be kept in a cool, dry and dark container, in which there is no mould or fungus. They also need to be protected from physical threats such as flood and fire. Firesafes are popular furniture for this, but you must then ensure that their combination or keys are readily available and not separated from the safe.

There used to be a vogue for commercial data repositories, often underground storage sites that had been repurposed. Not only were those expensive, but many failed to take the care that they promised, and plenty went bankrupt and put their contents at risk. If you can arrange it, store one copy with you, and another at a friend’s or relative’s at least a few miles away.

Integrity checks

If you’re serious about maintaining your archives, some form of integrity checking, such as that provided by my free utilities Dintch, Fintch and cintch, is essential. Check a sample on each disk once a year, to ensure that none has started to deteriorate. If you do detect errors, that’s the time to burn a replacement before the original is lost to decay.

Conclusion

Backups are for recovery, while archives are for posterity. Start building your archives now, and keep them safe for the future.

Further reading

How to burn a Blu-ray disc in Monterey
Wikipedia point of entry

Postscript

Some of you are reporting widespread claims that some Blu-ray burners no longer work in Sequoia. I have therefore repeated the process that I described in Monterey, using exactly the same Pioneer burner connected to a Mac Studio M1 Max running macOS 15.1. I’m delighted to report that it still works perfectly, and I see no reason that any other recent Pioneer optical drive should prove incompatible. All you need to do is follow the instructions.

Happy archiving!

Commemorating the centenary of the death of Hans Thoma: 1, to 1885

By: hoakley
31 October 2024 at 20:30

Little known today outside his native Germany, Hans Thoma (1839–1924) was a prolific painter with a distinctive style, who died a century ago, on 7 November 1924. In this article, I look at his career and a small selection of his paintings up to the time that he achieved recognition around 1885, to be concluded next week marking the anniversary of his death.

Thoma was born in the Black Forest, in Germany, and started his training as a lithographer in Basel, before turning to painting ornamental clock faces. From 1859, he studied at the academy in Karlsruhe, under Johann Wilhelm Schirmer and Ludwig Des Coudres.

thomaautumntreewiesenthal
Hans Thoma (1839–1924), Autumn Tree, Wiesenthal (c 1862-63), oil on canvas, 24.4 × 38.5 cm, location not known. Wikimedia Commons.

Autumn Tree, Wiesenthal was painted when he was still a student in Karlsruhe, in about 1862-63. It has the high chroma colours and gestural brushwork indicative of Impressionist style, at a time when Claude Monet was still painting in a tighter, realist manner.

After completing his training in 1866, Thoma moved from Karlsruhe to Basel in north-west Switzerland, then to Düsseldorf. At that time, Düsseldorf was home to one of the leading landscape painting schools in Europe, and was a significant influence on the Hudson River School in the USA, and several of its members trained there.

thomachickenfeed
Hans Thoma (1839–1924), Chickenfeed (1867), oil on canvas, 104.5 × 62 cm, Staatliche Kunsthalle Karlsruhe, Karlsruhe, Germany. Wikimedia Commons.

In Chickenfeed (1867), Thoma tackles this genre scene in a more traditional and detailed realist style.

thomainsunshine
Hans Thoma (1839–1924), In the Sunshine (1867), oil on canvas, 108 × 85 cm, Staatliche Kunsthalle Karlsruhe, Karlsruhe, Germany. Wikimedia Commons.

At first sight, Thoma’s In the Sunshine (1867) appears to show an oddly flattened face, with both the woman’s eyes visible. In fact the woman’s head is shown in profile, and what seems to be her left eye is not part of her face at all. Otherwise he has combined colour contrasts with a carefully detailed landscape.

The following year he moved to Paris, where he came to admire the work of Gustave Courbet, and the Barbizon School. He returned to Germany in 1870, where he settled in Munich, then the centre of German arts, until 1876.

thomaunderelderberry
Hans Thoma (1839–1924), Under the Elderberry (1871), oil on canvas, 74.5 × 62.5 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

Under the Elderberry (1871) is a delightful portrait of a mother and her young child, with finely detailed hair and elder flowers. His colours are softer than before, as suits this subject.

thomachildrendancingring
Hans Thoma (1839–1924), Children Dancing in a Ring (1872), oil on canvas, 161 × 115 cm , Staatliche Kunsthalle Karlsruhe, Karlsruhe, Germany. Wikimedia Commons.

These eight Children Dancing in a Ring (1872) are set in a Bavarian alpine meadow, with pastures and high mountains in the far distance.

thomasummer
Hans Thoma (1839–1924), Summer (1872), oil on canvas, 76 x 104 cm, Alte Nationalgalerie, Berlin, Germany. Wikimedia Commons.

Thoma’s painting of two lovers in Summer from 1872 returns to a more painterly style in its flowers and vegetation. It also demonstrates his inclination towards mediaeval romance and ‘faerie’ paintings, with the chain of three winged putti in the upper right.

thomasiblings
Hans Thoma (1839–1924), Siblings (1873), oil on canvas, 103 × 75 cm, Staatliche Kunsthalle Karlsruhe, Karlsruhe, Germany. Wikimedia Commons.

Siblings (1873) is an example of his domestic genre scenes. The brother sits disconsolate at the table, while his sister reads intently. By the window is a spinning wheel, the wool above it adorned with a blue ribbon.

In 1874, Thoma visited Italy for the first time.

thomachildrenandputtiring
Hans Thoma (1839–1924), Children and Putti in a Ring (1874), oil on cardboard, 34 × 26 cm, location not known. Wikimedia Commons.

Ring dancing appears again in his Children and Putti in a Ring (1874), although now the winged putti have come down from the sky to follow a young faun-like figure and a nymph. At the bottom left is a snake threatening to disrupt the scene. As with his other mythical settings, Thoma doesn’t appear to be telling a specific story, but populates his enchanted landscape with curious creatures.

thomamainebene
Hans Thoma (1839–1924), Mainebene (the Main Plain) (1875), oil on canvas, 85 × 123 cm, Neue Pinakothek, Munich, Germany. Wikimedia Commons.

Thoma’s pure landscapes include explorations of big skies and the transient effects of light, as in his Mainebene (1875), showing the plain of the River Main lit by shafts of light. At the lower left is a team ploughing.

thomapeacefulsunday
Hans Thoma (1839–1924), A Peaceful Sunday (1876), oil on canvas, 79.5 × 107 cm, Hamburger Kunsthalle, Hamburg, Germany. Wikimedia Commons.

He handles backlighting skilfully in A Peaceful Sunday (1876). An elderly couple are sat at a plain wooden table, in their urban apartment. She works at her crochet, he reads. You can almost hear the soft, measured tick of the clock which is out of sight, slowly passing their remaining years.

thomathreemermaids
Hans Thoma (1839–1924), Three Mermaids (1879), oil on canvas, 106 × 77.6 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

Three Mermaids (1879) is a complete contrast, with its raucous nudity and frolics with fish under the light of the moon. Thoma’s mermaids are remarkably human in form, lacking fishtails.

In 1878, Thoma moved to Frankfurt, where he was a close friend of the painter Wilhelm Steinhausen. The following year he visited Britain, and a year later returned to Italy.

thomatrekofgods
Hans Thoma (1839–1924), The Trek of the Gods to Valhalla (1880), oil on canvas, 74.3 × 62 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

As was popular during the nineteenth century, Thoma repurposed Nordic mythology with a more Germanic interpretation. The Trek of the Gods to Valhalla (1880) shows a scene that may have been inspired by Wagner’s Ring cycle, first performed at Bayreuth in 1876. This is the group of gods known as the Æsir riding across the bridge Bifröst, which is formed from a burning rainbow and reaches between Midgard (the realm of humans) and Asgard (the realm of the gods). The Æsir traditionally include Odin, Frigg, Thor, Baldr, and Týr. Recognisable on the bridge are Odin, holding his staff, with Frigg, and Thor with his hammer. At the left is probably Iðunn, holding an apple of her youth aloft. In Nordic mythology, this is an event foretold as part of the process of Ragnarök.

thomaseawonders
Hans Thoma (1839–1924), Sea Wonders (1881), oil on cardboard, 74 × 63 cm, Museum der bildenden Künste, Leipzig, Germany. Wikimedia Commons.

I’m not sure of the mythical background to his Sea Wonders (1881), where four boys have raised up a surface on which stands a winged putto clutching an egg. It is, nevertheless, a powerful image.

thomaholzhausenpark
Hans Thoma (1839–1924), The Öd, View of Holzhausen Park in Frankfurt am Main (1883), oil on canvas, 85.5 × 117 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

The Öd, View of Holzhausenpark in Frankfurt am Main (1883) shows what is perhaps better-known as Adolph-von-Holzhausen Park, which started as the larger Holzhausen Oed in around 1552, and became a public park in 1912-13. The prominent white building is its distinctive moated baroque summer residence.

Reference

Wikipedia (in German).

How Sequoia has changed QuickLook and its thumbnails

By: hoakley
31 October 2024 at 15:30

QuickLook is the subsystem in macOS responsible for providing two types of document preview, small Thumbnails and full Previews. If you’ve already upgraded to Sequoia, you’ll have noticed that some document types are no longer displayed with their custom Thumbnails or Previews. This article explains what has happened, and how it should work in the future.

As I’ll detail on Saturday morning, QuickLook (or Quick Look) is the latest in a series of methods for providing custom icons and previews for documents, that started back in the initial versions of Classic Mac OS. macOS ships with its own code to generate Thumbnails and Previews for a wide range of standard file types, from text and PDF to audio and movies. To extend these to other types, developers are encouraged to provide their own code.

Prior to macoS 10.15 Catalina in 2019, the display of Thumbnails was supported by the QuickLook framework. From Catalina onwards, this is provided by a new framework named QuickLook Thumbnailing. The older framework is documented here, and had been deprecated for some years. Its replacement is documented here. To extend these, the older framework used QuickLook generators with the extension .qlgenerator, but in the newer framework this function is provided by QuickLook preview extensions, in particular Thumbnail Extensions, that were explained to developers at WWDC in 2019.

As with most deprecated features, eventually the time comes for Apple to remove support for the old, and for QuickLook generators that has occurred in macOS 15.0 Sequoia. From now on, QuickLook Generator plugins no longer work. Oddly, those provided by macOS in /System/Library/QuickLook are still named with the old extension of .qlgenerator, but all custom support now has to use the new framework in App Extensions.

To check whether an app is still trying to use an old QuickLook Generator, look inside the app bundle in Contents/Library/QuickLook. If you see one or more .qlgenerator bundles there, then those no longer work in Sequoia. Instead, you should see new Thumbnail Extensions in Contents/PlugIns, where you should see App Extension bundles with names ending in something like Thumbnail.appex and QuickLook.appex. Some of the better apps provide both QuickLook Generators for compatibility with Mojave and earlier, and App Extensions for more recent macOS.

If the app you rely on to generate custom QuickLook Thumbnails and Previews doesn’t yet come with those App Extensions, contact their Support and ask them when they’re going to implement the changes brought five years ago in Catalina. Particularly if you’re paying them a subscription, it’s time they caught up. Until they do, I’m afraid those Thumbnails and Previews simply won’t work in Sequoia, and you’ll continue to see generic icons rather than Thumbnails.

The Real Country: Hay

By: hoakley
30 October 2024 at 20:30

In the more northerly latitudes, grass that’s essential for cattle to graze grows little during the winter months. Farmers keeping cattle therefore have to provide alternative feed for their livestock for several months each year. This can include root crops such as brassica varieties including turnips and swedes (also known as rutabaga), but the most widespread is cut and dried grass as hay.

Where climate and day-length are suitable, as in much of England and France, dedicated hay meadows can provide two harvests each year. Left ungrazed through the winter, the first is normally ready to mow in the late Spring, and when there’s sufficient rainfall during the early summer, a second hay harvest can be obtained before the weather deteriorates in the early autumn. The mowing of hay has also been known as math, and mowing a second time is thus the aftermath or lattermath.

The essential requirement for hay is that it’s dried thoroughly, or it will rot over time and become unusable as fodder. In the centuries before mechanisation during the nineteenth century, this process was described as: first mow the grass, “scatter it about, gather it in windrows, cock it overnight, scatter it about, windrow it, cock it, and so on to the stack and stack it”. (Fussell) Those steps are shown well in paintings.

bruegelhayharvest
Pieter Bruegel the Elder (c 1525–1569), The Hay Harvest (1565), oil on panel, 114 x 158 cm, Lobkowicz Palace, Prague, Czechia. Wikimedia Commons.

The companion to Pieter Bruegel the Elder’s painting of the grain harvest, The Hay Harvest from 1565 shows all stages in progress. In the left foreground a man is beating the blade on his scythe to sharpen it ready for mowing. Three women are striding towards him with the rakes they use to scatter and gather the mown hay. Behind them, in the valley, others are gathering the hay into small stacks or cocks, where it continues to dry before being loaded onto the hay wagon to be taken back to the farm.

At the right are wicker baskets containing other crops, including what appear to be peas or beans, together with a red fruit.

hodlermower1898
Ferdinand Hodler (1853–1918), The Mower (c 1898), oil on canvas, 71.5 × 114 cm, Private collection. Wikimedia Commons.

Ferdinand Hodler’s marvellous Mower from about 1898 is seen sharpening the blade on his heavy scythe using a whetstone, as the sun rises behind and to the left.

blepagehaymaking
Jules Bastien-Lepage (1848–1884), Les Foins (Haymakers) (1877), oil on canvas, 160 x 195 cm, Musée d’Orsay, Paris. Wikimedia Commons.

The couple in Jules Bastien-Lepage’s Haymakers from 1877 are enjoying a short break from their labours, with the mown hay behind them still scattered to dry, before it can be raked into cocks.

Capitole Toulouse - Salle Henri-Martin - L'été par Henri Martin
Henri-Jean Guillaume Martin (1860–1943), Summer, or Mowers (1903), oil on canvas, dimensions not known, Capitole de Toulouse, Toulouse, France. Image by Didier Descouens, via Wikimedia Commons.

Henri-Jean Martin painted Summer, or Mowers in 1903, as mechanisation was spreading across Europe. Several small clusters of men are mowing the hay in this meadow with their scythes, as three young women are dancing in a ring on the bed of flowers, and another sits nursing an infant.

moretfenaisonbretagne
Henry Moret (1856–1913), Haymaking in Brittany (1906), oil on canvas, dimensions not known, Musée des beaux-arts de Vannes, Vannes, France. Wikimedia Commons.

Henry Moret’s Haymaking in Brittany from 1906 shows a smaller team busy mowing and raking on steeper ground.

pissarrohaymaking
Camille Pissarro (1830–1903), Haymaking, Éragny (1887), oil on canvas, 50 x 66 cm, Van Gogh Museum, Amsterdam, The Netherlands. Wikimedia Commons.

In Camille Pissarro’s Divisionist painting of Haymaking, Éragny from the summer of 1887, a team of women are raking the cocks into haystacks.

pymonenkohaymaking
Mykola Pymonenko (1862–1912), Haymaking (date not known), oil on canvas, dimensions not known, Fine Arts Museum Kharkiv Харківський художній музей, Kharkiv, Ukraine. Wikimedia Commons.

Women in this hay meadow in Ukraine are raking in the harvest to be transported by a hay wain drawn by a pair of oxen, as painted in Mykola Pymonenko’s undated Haymaking.

millethaystacksautumn
Jean-François Millet (1814–1875), Haystacks: Autumn (c 1874), oil on canvas, 85.1 x 110.2 cm, The Metropolitan Museum of Art, New York, NY. Wikimedia Commons.

In Jean-François Millet’s Haystacks: Autumn from about 1874, the harvest has been gathered, and three huge haystacks dominate the canvas. At the foot of one of them, a shepherd leans on his staff, resting from his labours as his flock grazes on the stubble.

Surplus hay was also a good cash crop for those who could get it transported to towns and cities. Along the east coast of England, barges were filled with hay then taken to London for sale. Much of the land in the county of Middlesex, to the west of London, was devoted to producing hay to feed horses in the city.

bevanhaycarts
Robert Bevan (1865–1925), Hay Carts, Cumberland Market (1915), oil on canvas, 47.9 x 61 cm, Yale Center for British Art, New Haven, CT. Wikimedia Commons.

Robert Bevan’s painting of Hay Carts, Cumberland Market from 1915 is a view of London’s last hay market, near to the artist’s studio. By this time, the bales shown were made by mechanical baling machines and brought to London by barge.

In the next article in this series, I’ll look at a novel crop that soon became the staple food for many, the potato.

Securing the modern Mac: an overview

By: hoakley
30 October 2024 at 15:30

Modern Macs and macOS feature multiple layers of protection, most of which I have recently described. This article tries to assemble them into an overview to see how they all fit together, and protect your Mac from startup to shutdown. There are also many additional options in macOS and third-party products that can augment security, but I’ll here concentrate on making best use of those that come with a modern Mac and macOS. My recommendations are for the ‘standard’ user, as a starting point. If your needs differ, then you may of course choose to be different, but should always do so in the full knowledge of what you are doing and what its penalties are.

Startup

Whether your Mac has a T2 or Apple silicon chip, it’s designed to boot securely, which means that every stage of the boot process, from its Boot ROM to running the kernel and its extensions, is verified as being as Apple intends. To ensure that, your Mac should run at Full Security. For a T2 model, that means disabling its ability to boot from external disks; for an Apple silicon Mac, that means no third-party kernel extensions. If you need to run your Mac at reduced security, that should be an informed decision when there’s no good alternative.

A vital part of the Secure Boot process is the firmware loaded by the Boot ROM. That needs to be kept up to date by updating to the latest minor release of the major version of macOS. That doesn’t prevent your Mac from staying with an older supported version of macOS, as Apple supplies the same firmware updates for all three supported versions of macOS.

The System volume should be signed and sealed, as the SSV created by a macOS installer or updater. System Integrity Protection (SIP) should also be fully enabled, as without it many macOS security features work differently or not at all. Some need to disable specific SIP features, but again that should only be set when you’re fully aware of their effects and consequences, and should be the minimum needed for the purpose.

User Data

Having got the system up and running, the boot process moves to what is in mutable storage on the Mac’s Data volume. In the internal SSD of a modern Mac, that’s always encrypted, thanks to the Secure Enclave. Although that might appear sufficient, you should always turn FileVault on if your Mac starts up from its internal SSD. That ensures the encryption is protected by your password: an intruder then has to know your password before they can unlock the contents of its Data volume. They have limited attempts to guess that password before the Mac locks them out from making any further attempts. As FileVault comes free from any performance penalty, there’s no good reason for not using it.

Good security is even more important for Data volumes on external boot disks, where FileVault is just as important, but needs additional physical measures to ensure the external disk isn’t mislaid or stolen. That’s a more complex issue, for which the simplest solution is to start your Mac up from its internal SSD with the benefit from FileVault there.

Run Apps

With the user logged in successfully, and the Data volume fully accessible, the next stage to consider is running apps and other software. For this there’s another series of security layers.

When an app is launched or other code run, Gatekeeper will first check it, and in many circumstances run a check for malware using XProtect. Those shouldn’t be disabled, or macOS will still make those checks, but will simply ignore the results. XProtect looks for evidence that the code about to be run matches that of known malware. Although on its own this won’t detect unknown malware, it’s an effective screen against what’s most common. You also need to keep your Mac up to date with the latest security data updates, as those can change every week or two as new malware is identified and included.

Currently, no well-known malware has been notarized by Apple, and most isn’t even signed using a trusted developer certificate. Most therefore attempt to trick you into bypassing checks made by macOS. In Sonoma and earlier, the most common is to show you how to use the Finder’s Open command to bypass the requirement for notarization. As that has changed in Sequoia, those who develop malware have had to adapt, and some now try to trick you into dropping a malicious script into Terminal. Expect these to become more sophisticated and persuasive as more upgrade to Sequoia.

There are simple rules you can apply to avoid getting caught by these. The first time you run any new app supplied outside macOS or the App Store, drag the app to your Applications folder and double-click it in the Finder to open it. If it can’t be launched that way, don’t be tempted to use the Finder’s Open bypass, or (in Sequoia) to enable the app in Privacy & Security settings. Instead, ask its developer why it isn’t correctly notarized. Never use an unconventional method to launch an app: that’s a giveaway that it’s malicious and you shouldn’t go anywhere near it.

macOS now checks the hashes (CDHashes) of apps and code it doesn’t already recognise, for notarization and known malware. Those checks are run over a connection to iCloud that doesn’t need the user to be signed in. Don’t intentionally or inadvertently block those connections, for instance using a software firewall, as they’re in your interest.

Private Data

Traditional Unix permissions weren’t intended to protect your privacy. Now so many of us keep important or valuable secrets in our Home folders, privacy protection is essential. While you might trust an app to check through some files, you may not expect or want that app to be looking up details of your bank cards and accounts.

Privacy protection is centred on a system known as TCC (Transparency, Consent and Control), and its labyrinthine Privacy & Security settings. One of the most tedious but important routine tasks is to check through these every so often to ensure that nothing is getting access to what it shouldn’t.

No matter how conscientious we might be, there’s always the request for access that you don’t have time to read properly, or items that end up getting peculiar consents, like a text editor that has access to your Photos library or your Mac’s camera. Take the time to check through each category and disable those you don’t think are in your best interests. If you get through a lot of new apps, you might need to do this every week or two, but it needn’t be as frequent in normal use, and shouldn’t become an obsession.

There’s some dispute over whether it’s better to leave an app turned off in a category that you control, like Full Disk Access, or to remove it. I tend to disable rather than remove, with the intention of removal later, but seldom get round to that.

Downloaded Apps

While macOS continues checking apps in Gatekeeper and XProtect, there are a couple of other important protections you need to know about. Since macOS Catalina, every 24 hours or so macOS runs a paired set of scans by XProtect Remediator, looking for signs of known malware. If it finds any, it then attempts to remove, or remediate, that. The snag is that it does this in complete silence, so you don’t know whether it has run any scans, and you don’t know if it came across anything nasty, or removed it. I like to know about such things, and have written my own software that lets me find out, in SilentKnight, Skint and XProCheck. One day Apple might follow suit.

Some browsers like Safari have a potentially dangerous setting, in which they will automatically open files they consider to be safe, once they have been downloaded. This can include Zip archives that might not be as innocent as you expect. If you leave that behaviour set, you could discover your Downloads folder with all sorts of items in it. I much prefer to turn that off and handle those downloads myself. You’ll find this control in Safari’s General settings, where it’s called Open “safe” files after downloading.

Bad Links

Most of the protection so far relies more on features in your Mac and macOS, and less on your habits and behaviour. But it’s the user who is the kingpin in both security and privacy protection. Nowhere is this more important than dealing with links in web pages, emails, messages, and elsewhere. If you’re happy to click on a link without checking it carefully, you can so easily end up in the company of your attackers, inviting them into your Mac and all your personal data.

Unless it’s a trusted web page or contact, I always inspect each link before even considering whether to open it. For emails, my general rule is never, and I inspect the text source of each message to see what that really links to. It’s harder on the web, where even ads placed by Google can whisk your browser into an ambush. One invaluable aid here is Link Unshortener, from the App Store, which is a ridiculously cheap and simple way to understand just where those cryptic shortened links will take you. If you can’t convince yourself that a link is safe and wholesome, then don’t whatever you do click on it, just pass on in safety.

Summary

That has been a whirlwind tour through getting the best from macOS security, summarised in the following diagram. Fuller details about each of those topics are easy to find using the 🔎 Search tool at the top right of this page. There’s plenty more to read, and for deeper technical information, try Apple’s Platform Security Guide.

overallsecurity1

Work and play safely!

Watch for overdue Safari 18.1 updates for Sonoma and Ventura

By: hoakley
30 October 2024 at 00:15

If your Mac is still running Sonoma or Ventura, and you have already updated it to 14.7.1 or 13.7.1, you might have noticed that neither updated Safari, nor has there been a separate update released yet for Safari 18.1.

According to release notes for Safari 18.1 (20619.2.8), this new version has already been released for Sonoma and Ventura, but as of 1600 GMT on 29 October 2024, there’s still no sign of any separate update, nor was it bundled in the x.7.1 updates.

Sonoma and Ventura had Safari 18 released for them on 16 September 2024, concurrently with Sequoia 15.0. On 3 October 2024, at the same time that Apple released Safari 18.0.1 in Sequoia 15.0.1, it also released Safari 18.0.1 for Sonoma and Ventura, without any CVEs being reported as fixed.

Current versions of Safari read:

  • in Sequoia 15.1 – Safari 18.1 (20619.2.8.11.10)
  • in Sonoma 14.7.1 – Safari 18.0.1 (19619.1.26.111.11, 19619)
  • in Ventura 13.7.1 – Safari 18.0.1 (18619.1.26.111.11, 18619)

leaving the latter two due an update to Safari 18.1, which would ordinarily have been released with the x.7.1 macOS updates, but hasn’t been yet.

Update

As of 2150 on 29 October 2024, both Safari updates are now available through Software Update. Version and build numbers are 18.1 (19619.2.8.111.5, 19619) for Sonoma 14.7.1, and 18.1 (18619.2.8.111.5, 18619) for Ventura 13.7.1, and Apple lists the CVEs they address in this note.

Reading visual art: 170 Mermaid

By: hoakley
29 October 2024 at 20:30

Mermaids and mermen are mythical creatures with origins outside the classical Mediterranean civilisations. Conventionally, their upper body is human, while below the waist they have the form of a fish. Mermaids seem invariably young, beautiful and buxom, and are most frequently encountered by fishermen and those who go down to the sea. In the Middle Ages they became confounded with the sirens of Greek and Roman myth, who were part human and part bird.

waterhousemermaid
John William Waterhouse (1849–1917), A Mermaid (1900), oil on canvas, 96.5 x 66.6 cm, Royal Academy of Arts, London. Wikimedia Commons.

John William Waterhouse’s diploma study for the Royal Academy, painted in 1900, shows a conventional image of A Mermaid, seen combing her long tresses on the shore.

Despite their separate origin, mermaids have been depicted in accounts of some classical myths, perpetuating medieval confusion.

moreauvenusrising
Gustave Moreau (1826–1898), Venus Rising from the Sea (1866), oil on panel, 55.5 × 44.5 cm, Israel Museum מוזיאון ישראל, Jerusalem. Wikimedia Commons.

Gustave Moreau’s Venus Rising from the Sea from 1866 shows the goddess as she has just been born from the sea, and sits on a coastal rock, her arms outstretched in an almost messianic pose. On the left, a mermaid attendant holds up half an oyster shell with a single large pearl glinting in it. On the right, a merman proffers her a tree of bright pink coral, and cradles a large conch shell.

renancharybdisscylla
Ary Renan (1857–1900), Charybdis and Scylla (1894), oil on canvas, 89.5 x 130 cm, Musée de la Vie romantique, Paris. Wikimedia Commons.

Ary Renan’s Charybdis and Scylla (1894) is an imaginative painting of one of the dangers to mariners in the Strait of Messina, between Sicily and the Italian mainland. Scylla was said to be a six-headed sea monster, but was actually a rock shoal, and Charybdis was a whirlpool. Renan shows both together, the whirlpool with its mountainous standing waves at the left, and the rocks at the right, with the form of a beautiful mermaid embedded in them.

stuckfaunmermaid
Franz von Stuck (1863–1928), A Faun and a Mermaid (1918), oil on canvas, 156.7 × 61.5 cm, Private collection (also a copy in Alte Nationalgalerie, Berlin, Germany). Wikimedia Commons.

As the First World War was ending, Franz von Stuck returned to his favourite faun motif in A Faun and a Mermaid (1918). This has survived in two almost identical versions, the other now being in the Alte Nationalgalerie in Berlin. His version of a mermaid is a maritime equivalent of a faun, with separate scaly legs rather than the more conventional single fish tail. She grasps the faun’s horns and laughs with joy as the faun gives her a piggy-back out of the sea.

Perhaps the earliest painting of a mermaid in European art is in a Christian religious painting by Lucas Cranach the Elder, from 1518-20.

cranachestchristopher
Lucas Cranach the Elder (1472–1553), Saint Christopher (1518-20), oil on lime, 41.9 × 7.9 cm, Detroit Institute of Arts, Detroit, MI. Wikimedia Commons.

Cranach’s Saint Christopher shows the saint with his back and legs flexed as he bears the infant Christ on his left shoulder. In the foreground is an unusual putto-mermaid with a long coiled fish tail.

Mermaids feature in folktales from many of the traditions of Europe, where they’re known by local names such as havfrue in Denmark.

weguelinmermaidzennor
John Reinhard Weguelin (1849–1927), The Mermaid of Zennor (1900), watercolour, dimensions and location not known. Wikimedia Commons.

John Reinhard Weguelin’s watercolour of The Mermaid of Zennor (1900) tells the legend of a mermaid living in a cove near Zennor in Cornwall. This scene brings her together with Matthew Trewhella, a local chorister, whose voice she had fallen in love with. The legend tells that the couple went to live in the sea, and that his voice can still be heard in the cove.

arbolidengunvormerman
Peter Nicolai Arbo (1831–1892), Liden Gunver and the Merman (1874-1880), oil on canvas, 26.5 x 37 cm, Private collection. Wikimedia Commons.

Peter Nicolai Arbo’s Liden Gunver and the Merman (1874-1880) is drawn from an opera The Fishers, by Johannes Ewald and Johann Hartmann, first performed in Copenhagen in 1780. The young woman Liden Gunver, on the right, is taken to sea by the alluring but deceptive merman on the left.

thomathreemermaids
Hans Thoma (1839–1924), Three Mermaids (1879), oil on canvas, 106 × 77.6 cm, Städelsches Kunstinstitut und Städtische Galerie, Frankfurt, Germany. Wikimedia Commons.

Hans Thoma’s Three Mermaids (1879) lack fishtails as they frolic raucously with fish under the light of the moon.

klimtmermaids
Gustav Klimt (1862–1918), Mermaids (Silverfish) (c 1899), oil on canvas, 82 x 52 cm, Private collection. Wikimedia Commons.

Gustav Klimt’s Mermaids (Silverfish) (c 1899) appear to be tadpole-like creatures with smiling, womanly faces.

Check Writing Tools using AIR

By: hoakley
29 October 2024 at 15:30

Apple has made great play over the privacy provided in its new AI tools. If you’ve just updated your Apple silicon Mac to Sequoia 15.1 and are wondering how you can check on this for Writing Tools, this article explains how.

aisettings1

When running on a capable Mac, with an M-series chip, macOS captures details of all AI use in its Apple Intelligence Report (AIR). Control and access that from its new entry in Privacy & Security settings, where you’ll find it towards the end, just above the final Security section. Open that, and you’ll see you can set the Report Duration to 15 minutes, 7 days, or turn it off altogether. As report sizes can grow quickly with a little use of Writing Tools, I suggest you start off with 15 minutes, or you might get overwhelmed.

aisettings2

When you want to browse a report, simply click on the button to Export Activity, and save the AIR report.

Apple Intelligence Reports are written out to JSON files that can be viewed using a text editor if you don’t have a specialist JSON editor. They’re usually bulky, and much of their content may be encoded binary that’s of little meaningful use. However, at the start you’ll see a series of modelRequests.

Each modelRequest begins with the timestamp of the request, given in decimal seconds since 1970. That’s followed by a UUID, information on the prompt template used, and shortly after that is the text that was extracted and used by Writing Tools. For longer passages of text, you may see that it’s divided up into a series of shorter sections that match the paragraphs given in a summary.

After that input text, the language localisation is given, currently en_US as other variants and languages won’t be available until macOS 15.2 later this year. Next, the response is provided, as inserted into the Writing Tools or text window. That section ends with:

  • model, the name of the AI model used, such as com.apple.fm.language.instruct_server_v1.text_summarizer, and the version.
  • clientIdentifier, such as com.apple.WritingTools.xpc.WritingToolsViewService for normal use of Writing Tools in an app.
  • executionEnvironment, currently expected to be PrivateCloudCompute, which tells you where the AI processing took place.

After the list of modelRequests, you’ll probably see a long series of privateCloudComputeRequests full of incomprehensible data for sepAttestations and provisioningCertificateChains, part of the validation information for use of PrivateCloudCompute. If this all seems a little long-winded, try looking in the logs when Writing Tools are in use!

I’m very grateful to Tim, who has drawn my attention to these reports, and points out that use of PrivateCloudCompute appears confined to macOS at the moment. A similar report is also available for iOS 18.1, but iPhones don’t appear to rely on PrivateCloudCompute in the same way.

We must remember that, while Apple considers Writing Tools now ready for general use, it’s still officially a beta-release, and over the coming months is likely to undergo significant change. This poses the question of whether Writing Tools will run on-device in the future, something only Apple can answer. What appears to happen at present is that the only local processing that takes place is tokenisation of text to prepare it for remote processing using Apple’s PrivateCloudCompute service, which actually performs the heavy lifting before returning its results to the Mac. However, macOS also appears to wake up the slumbering Neural Engine (ANE) for most Writing Tools services. Why that happens remains a mystery.

If you want to watch progress as AI features develop in macOS, you may find Apple Intelligence Reports a useful way to track that. If you do come across entries that seem to have used on-device services instead of PrivateCloudCompute, please let us know.

What has changed in macOS Sequoia 15.1?

By: hoakley
29 October 2024 at 05:00

The macOS 15.1 update is the first scheduled update since Sequoia’s release last month, and brings with it a great many fixes as expected. From user reports, it’s believed to complete correcting problems reported with networking in 15.0, some of which were addressed in 15.0.1, although Apple hasn’t confirmed that.

Apple’s release notes are helpfully more detailed than usual, and include the following:

  • new Writing Tools, but only for Apple silicon Macs set to US English as their primary language, with Siri also set to US English,
  • a new-look Siri with Type to Siri for those who don’t want to talk to it, richer language understanding and context, and Apple product knowledge,
  • Photos can find by description, and now features Clean Up to remove unwanted parts,
  • Notifications has summaries, and a new Reduce Interruptions focus,
  • Mail and Messages have Smart Reply for suggested responses,
  • Notes has transcription summaries,
  • iPhone Mirroring now supports drag and drop.

To clarify the requirement to get Writing Tools and other AI to work, the Mac must have an Apple silicon chip (M1 to M4), and:

  1. in System Settings, General, Language & Region, the Primary language must be set to English (US), although any other language can be set secondarily, and made the current language in the keyboard menu, and
  2. in Apple Intelligence & Siri, the Language set for Siri Requests must be English (United States), although you can turn Listen for Off if you don’t want to converse with Siri vocally.

Once those are set, you should be able to turn Apple Intelligence on. There will then be a short period on the waiting list, for macOS to download the additional models required. You’ll be notified when it’s ready to use.

Security release notes are available here, and list 50 entries, none of which Apple suspects may already have been exploited.

iBoot firmware on Apple silicon Macs is updated to version 11881.41.5, and T2 firmware to 2069.40.2.0.0 (iBridge: 22.16.11072.0.0,0). The macOS build number is 24B83, with kernel version 24.1.0. There are no firmware updates for Intel Macs without T2 chips.

Significant changes seen in bundled apps include:

  • Books, to version 7.1
  • Freeform, to version 3.1
  • iPhone Mirroring, to version 1.1
  • Mail and Messages, large build increments
  • Music, to version 1.5.1
  • News, to version 10.1
  • Passwords, to version 1.1
  • Photos, large build increment
  • Reminders, large build increment
  • Safari, to version 18.1 (20619.2.8.11.10)
  • Shortcuts, large build increment
  • TV, to version 1.5.1
  • Tips, to version 15.1.

Inevitably, there are many build increments in components related to Apple Intelligence. Other significant changes to /System/Library include:

  • Audio/Plug-Ins/HAL MacAudio driver, to version 510.2
  • CoreServices Desk View app, to version 2.0
  • CoreServices Siri app, to version 3401.24.3.14.7
  • Significant changes across many AGX and AppleEmbeddedAudio kernel extensions
  • A new AppleT8140 kernel extension
  • APFS is updated to version 2313.41.1
  • Many public frameworks have updated build numbers, among them FileProvider
  • A new ImagePlayground public framework, which has moved from being private, in anticipation of the new app coming in macOS 15.2
  • Many private frameworks have substantial increments in build numbers, particularly Biome, Cloud, Email, Mail, Photo, Photos, Spotlight and FileProvider
  • A new DesignLibrary private framework.

Although this isn’t a particularly large update, it does come with the first wave of AI features, and a wide range of other improvements and bug fixes.

Updated 2030 GMT 1 November 2024 with info on non-T2 Intel firmware updates.

Apple has released macOS Sequoia 15.1, and security updates to 14.7.1 and 13.7.1

By: hoakley
28 October 2024 at 23:34

As expected, Apple has released the update to macOS 15.1 Sequoia, together with security updates to bring Sonoma to version 14.7.1, and Ventura to 13.7.1. There should also be Safari updates to accompany the latter two.

The Sequoia update is around 2.9 GB for Apple silicon Macs, and about 2.4 GB for Intel models.

As expected, this brings the first release of Writing Tools, in the first wave of new AI features, only for Apple silicon Macs using US English as both their primary language, and that set for Siri. Apple hasn’t got round to providing any list of new or changed features, and you may find that offered by Software Update is the same as for 15.0.

Security release notes are available here for 15.1, which has around 50 entries, here for 14.7.1 with around 39, and here for 13.7.1 with around 36.

iBoot firmware on Apple silicon Macs is updated to version 11881.41.5, T2 firmware to 2069.40.2.0.0 (iBridge: 22.16.11072.0.0,0), and Safari to 18.1 (20619.2.8.11.10).

I will post details of changes found later tonight.

[Updated 1820 GMT 28 October 2024.]

Changing Paintings: 43 The death of Hercules

By: hoakley
28 October 2024 at 20:30

Once Achelous had completed telling the story of how his lost horn had been transformed into the Horn of Plenty, the floods had abated, so his guests left the banquet, leaving Ovid to explain the events leading to the death of the great hero Hercules. This reverses the chronological order, as the next story after that in Metamorphoses tells of his birth.

Having won her hand by defeating Achelous, Hercules married the beautiful Deianira, and was returning with her to his native city. The couple reached the River Euenus, which was still in spate from the winter’s rains. Hercules feared for his bride trying to cross the river, but the centaur Nessus came up and offered to carry her across.

Hercules had thrown his club and bow to the other bank and had swum across the river when he heard Deianira’s voice calling. He suspected Nessus was trying to abduct her, so shouted warning to him before loosing an arrow at the centaur’s back.

Ovid’s description of these events poses a problem for those trying to depict them, in choosing the right point of view and composition to remain faithful to that account.

renirapeofdeianira
Guido Reni (1575–1642), The Abduction of Deianeira (1617-21), oil on canvas, 239 x 193 cm, Musée du Louvre, Paris. Wikimedia Commons.

Guido Reni’s masterly painting from around 1620, one of the finest of its period in the Louvre, almost fills the canvas with Nessus, who looks worryingly heroic, and Deianeira, who seems to be flying. The small figure of Hercules in the distance is well-lit, but loses the details of bow and arrow. In any case, that arrow could hardly strike Nessus in the chest.

veroneseherculesdeianeiranessus
Paolo Veronese (1528–1588), Hercules, Deianira and the Centaur Nessus (c 1586), oil on canvas, 68.4 × 53.4 cm, Kunsthistorisches Museum, Vienna, Austria. Wikimedia Commons.

Paolo Veronese’s painting from about 1586 also elects for this early moment, as Hercules is readying his bow and arrow, with Nessus just reaching the opposite bank. He shows the scene from Hercules’ position, but discovers the problems with that point of view: Nessus and Deianeira are now small, and Nessus is looking away with his chest concealed, and even Hercules’ face is turned from the viewer. The result makes its hero look more like a furtive stalker.

rubenscentaur
Peter Paul Rubens (1577–1640) (workshop of), The Abduction of Deianeira by the Centaur Nessus (c 1640), oil on panel, 70.5 x 110 cm, Niedersächsisches Landesmuseum Hannover, Hanover, Germany. Wikimedia Commons.

This marvellous painting was probably made by Rubens’ workshop around the time of the Master’s death in 1640. It views the events from the bank on which Hercules is poised to shoot his arrow into Nessus. This has the centaur running across the width of the canvas, his face and body well exposed for Hercules’ arrow to enter his chest. To make clear Nessus’ intentions, a winged Cupid has been added, and Deianeira’s facial expression is clear in intent. An additional couple, in the right foreground, might be intended to be a ferryman and his friend, who appear superfluous apart from their role in achieving compositional balance.

pollaioloherculesdeianeira
Antonio del Pollaiolo (1431–1498), Hercules and Deianira (c 1475–80), oil on panel transferred to canvas, 54.6 × 79.2 cm, Yale University Art Gallery, New Haven, CT. Wikimedia Commons.

Antonio del Pollaiolo’s painting from about 1475–80 tries a side-on view, requiring Nessus to be shot while still in the river, in a slight adjustment to the original story. Deianeira appears precariously balanced, and must be grateful that Nessus’ muscular arms save her from being dropped into the river below. The artist also leaves it to the viewer to know that Hercules’ poisoned arrow strikes Nessus rather than Deianeira.

lagreneeabductiondeianeira
Louis-Jean-François Lagrenée (1724–1805), The Abduction of Deianeira by the Centaur Nessus (1755), oil on canvas, 157 × 185 cm, Musée du Louvre, Paris. Wikimedia Commons.

Three centuries later, Louis-Jean-François Lagrenée clearly understood the compositional problem, but didn’t arrive at such a good solution. Nessus, bearing a distressed Deianeira in his arms, has just reached the opposite bank, in the foreground. Hercules is on the left in the distance, and we can at least see his face, bow and arrow. There appears to be no way that Hercules’ arrow could impale Nessus’ chest, without first passing through some of the abundant Deianeira, nor his back. Lagrenée also adds a ferryman, who seems to have been knocked over in Nessus’ haste to make off with his captive.

moreauabductionofdeianira
Gustave Moreau (1826–1898), Enlèvement de Déjanire (Abduction of Deianeira) (c 1860), pen and brown ink wash on pencil on paper, 22.6 × 15.6 cm, Musée National Gustave-Moreau, Paris. Wikimedia Commons.

Gustave Moreau’s final drawing of about 1860, squared up and ready to transfer to canvas for painting, alters the story to make its composition feasible. He puts Nessus in the foreground, with the attendant risk of making him appear the hero, somehow supporting the upstretched body of Deianeira. In the right distance, Hercules has already loosed the fatal arrow, which is prominently embedded not in the front of Nessus’ chest, but in his back. The centaur’s legs have collapsed under him, and his head and neck are stretched up in the agony of death.

Gustave Moreau and Jules Élie Delaunay seem to have worked on a compositional solution together, resulting in Delaunay’s brilliant painting of 1870, which is sadly not available for use here.

That single shot ran Nessus through. He tore the arrow out, and his blood spurted freely, mixed with poison from the Lernaean hydra. Determined to avenge his own death, the centaur gave Deianira his tunic soaked with that poison, telling her to keep it to “strengthen waning love.”

ricciherculesnessus
Sebastiano Ricci (1659–1734), Hercules Fighting with the Centaur Nessus (1706-7), fresco, dimensions not known, Palazzo Marucelli-Fenzi, Florence. Wikimedia Commons.

In about 1706, Sebastiano Ricci embroidered this story further, showing Hercules, his left hand grasping Nessus’ mouth, about to club the centaur to death, while a slightly bedraggled Deianeira watches in the background. There’s no arrow in Nessus’ chest, and Hercules’ quiver is puzzlingly trapped under Nessus’ right foreleg. Three other figures of uncertain roles are at the right, and a winged putto hovers overhead, covering its eyes with its right hand.

39-16-05/57
Arnold Böcklin (1827–1901), Nessus and Deianira (1898), oil on panel, 104 x 150 cm, Museum Pfalzgalerie Kaiserslautern, Kaiserslautern, Germany.

In Arnold Böcklin’s puzzling painting from 1898, Nessus is far from part-human, and Deianeira isn’t the beauty she was claimed to be. As those two wrestle grimly, Hercules has stolen up behind them, and is busy pushing a spear into Nessus’ bulging belly. Blood pours from the wound, but Deianeira is in no position to collect it.

Years passed after Nessus’ death, and Hercules was away in Oechalia, intending to pay his respects to Jupiter at Cenaeum. Word reached Deianira that her husband had fallen in love there with Iole. Initially, she was upset, but then tried to devise a strategy to address his rumoured unfaithfulness. It was then that she recalled the blood of Nessus, and his dying words to her. She therefore impregnated a shirt with that blood, and gave that to Lichas, Hercules’ servant, to take to her husband.

anondeianirasendsshirt
Artist not known, Deianira Sends her Husband Hercules the Tunic Impregnated with the Blood of the Centaur Nessus (c 1510), miniature in Octavien de Saint-Gelais’ translation of Ovid’s Heroides (1496-1498), Folio 108v, Bibliothèque nationale de France, Paris. Wikimedia Commons.

This is shown in this beautiful miniature accompanying Octavien de Saint-Gelais’ translation of Ovid’s Heroides from about 1510.

Hercules donned the shirt as he was about to pray to Jupiter. He felt warmth spreading throughout his limbs, quickly growing into intense pain. Trying to tear the shirt off, he obtained no relief, and only ripped off his burnt skin from the burning flesh underneath. Hercules roamed through Oeta like a wounded beast, still trying to tear the shirt off his body. He came across Lichas, and accused him of being his murderer. His servant tried to protest his innocence, but Hercules picked him up, swung him around, and flung him out to sea, where he was transformed into a rock pinnacle.

Hercules then cut down trees and built himself a funeral pyre. Ordering this to be lit, he climbed on top, and lay back on his lionskin.

mastercadeathofhercules
Master of the English Chronicle (dates not known), The Death of Hercules (c 1470), in Histoires de Troyes, illuminated manuscript by Raoul Le Fèvre, Bruges folio, Folio 233v, location not known. Wikimedia Commons.

This is illustrated in another miniature, The Death of Hercules (c 1470), this time for Raoul Le Fèvre’s Histoires de Troyes.

zurbarandeathhercules
Francisco de Zurbarán (1598–1664), The Death of Hercules (1634), oil on canvas, 136 × 167 cm, Museo Nacional del Prado, Madrid, Spain. Wikimedia Commons.

Francisco de Zurbarán’s powerful Death of Hercules (1634) uses chiaroscuro as stark as any of Caravaggio’s to show a Christian martyrdom, with its victim staring up to heaven, commending his soul to God.

Jupiter came to the aid of the dying hero, calling on the gods to consent to Hercules being transformed into a god; they agreed, and his immortal form was carried away on a chariot drawn by four horses, into the stars above.

tiepoloapotheosishercules
Giovanni Domenico Tiepolo (1727–1804), The Apotheosis of Hercules (c 1765), oil on canvas, 102 x 86 cm, Museo Thyssen-Bornemisza, Madrid, Spain. Wikimedia Commons.

Tiepolo’s wonderful Apotheosis of Hercules (c 1765) portrays this as a saintly ascension, which seems inappropriate.

Solutions to Saturday Mac riddles 279

By: hoakley
28 October 2024 at 17:00

I hope that you enjoyed Saturday’s Mac Riddles, episode 279. Here are my solutions to them.

1: The first year it goes from London to Leeds with the First Eleven on its arm.

Click for a solution

2020

The first year (2020, the year Apple silicon Macs were released) it goes from London to Leeds (the M1 motorway in England) with the First Eleven (launched with macOS 11.0 Big Sur installed) on its arm (they use Arm CPUs).

2: When intel brought the fifth big cat in a solo or duo.

Click for a solution

2006

When intel (Intel) brought the fifth big cat (they came with OS X Tiger 10.4.4) in a solo or duo (they had Intel Core Solo or Duo processors in 2006).

3: When 6100-8100 came from the aim of seven.

Click for a solution

1994

When 6100-8100 (first PowerPC models were Power Mac 6100, 7100 and 8100 of 1994) came from the aim (the processors were developed by the AIM Alliance of Apple, IBM and Motorola) of seven (they shipped with System 7.1.2).

The common factor

Click for a solution

They are the years in which Apple released the first Macs in each of its new architectures.

I look forward to your putting alternative cases.

❌
❌