Normal view

There are new articles available, click to refresh the page.
Yesterday — 28 October 2025Main stream

Medium and Message: Soot and milk

By: hoakley
28 October 2025 at 20:30

Since ancient times people have written, drawn and painted using pigments and dyes in water, often without any binder to adhere them to the ground. These are generically termed inks, and distinct from other media such as watercolours or the temperas. Most common among them is India ink, whose essential ingredients are carbon particles from soot, suspended in water. When applied to a suitably absorbent ground that has stood the test of centuries.

boschowlsnest
Hieronymus Bosch (c 1450–1516), The Owl’s Nest (c 1505-1516), pen and brown ink on paper, 14 x 19.6 cm, Museum Boijmans Van Beuningen, Rotterdam. Wikimedia Commons.

Hieronymus Bosch’s study of The Owl’s Nest from around 1505-1516 is a good example of a pen and ink drawing starting to transcend into painting.

vanderpoelfirenieuwekerk
Egbert van der Poel (1621–1664), The Fire in the Nieuwe Kerk, Amsterdam, in 1645 (c 1645), brush and gray wash and black wash with touches of pen and brown ink, 12.5 × 19.4 cm, location not known. Wikimedia Commons.

Washes applied using a brush became common in sketches made in front of the motif, such as Egbert van der Poel’s Fire in the Nieuwe Kerk, Amsterdam, in 1645. Known for his paintings of fires, he used these sketches to paint his famous brandjes in the studio. Landscape artists such as Nicolas Poussin and Claude Lorrain used the same sketching media working en plein air to build image libraries for the idealised landscapes used in their finished paintings.

Samuel Palmer, Cornfield and Church by Moonlight (c 1830), black ink on paper, 15.2 x 18.4 cm, Yale Center for British Art, New Haven, CT. Wikimedia Commons.
Samuel Palmer (1805-1881), Cornfield and Church by Moonlight (c 1830), black ink on paper, 15.2 x 18.4 cm, Yale Center for British Art, New Haven, CT. Wikimedia Commons.

By the early nineteenth century, artists like Samuel Palmer were creating works that are to all intents and purposes full-blown paintings using black and coloured inks, such as this atmospheric nocturne of Cornfield and Church by Moonlight from about 1830.

rackham03
Arthur Rackham (1867–1939), Illustration for Edition of ‘A Christmas Carol’ (1915), pen, ink and watercolour, further details not known. Images from the British Library and others, via Wikimedia Commons.

Used without a binder, inks normally rewet and smudge or blur, so have to be applied after any watercolour. Adding a binder such as shellac to India ink makes it waterproof when it has dried, and this was used in combination with watercolours by illustrators and painters such as the great Arthur Rackham, here in one of his illustrations for an edition of Charles Dickens’ A Christmas Carol.

A related medium that also crossed over from drawings and illustrations into paintings is casein, a protein-based tempera. It too has a long history, but didn’t become popular among artists until the late nineteenth century. Casein is a protein originally obtained from sour milk, but by the nineteenth century it was more usually prepared by the addition of rennet, enzymes used in cheese manufacture, extracted from the stomachs of calves.

Casein powder is then turned into paint by dispersion in an alkaline solution, typically made from lime or borax, and pigment is ground in. When lime is used the paint works best on porous grounds, but must be used fresh. When a little linseed oil is added to borax casein, a shelf-life of several months or more is possible. Casein paints dry as quickly as egg tempera, but can be reworked for a period until their binder has fully hardened. Once that has taken place, their paint film is robust and stable.

wmhuntniagaraboston
William Morris Hunt (1824–1879), Niagara (1879), casein on canvas, 158.1 × 253.4 cm, Museum of Fine Arts, Boston, MA. Wikimedia Commons.

The earliest painting I have seen that is known to have been made using casein paints is William Morris Hunt’s unusual view of Niagara from 1879. Hunt deviated here from his customary use of oils, although he still applied his paint to a prepared canvas support.

klimtbeethovenpowers
Gustav Klimt (1862–1918), Beethoven Frieze (‘The Hostile Powers’) (1902), casein, stucco, gold leaf, on mortar, 217 x 639 cm, Österreichische Galerie Belvedere, Vienna, Austria. Wikimedia Commons.

One of the most famous artists to have used casein paint is Gustav Klimt. In 1902, he used it in a frieze of 24 metres (nearly 80 feet) length for the fourteenth exhibition of the Vienna Secession, his Beethoven Frieze, of which that above is a section known as The Hostile Powers, and that below is Nagging Grief. He applied his casein paint directly onto mortar with added stucco, gold leaf, and other materials. This is known to be a robust form of wall-painting that is much more accommodating than fresco, and just as enduring, but has never become popular.

klimtbeethovengrief
Gustav Klimt (1862–1918), Beethoven Frieze (‘Nagging Grief’) (1902), casein, stucco, gold leaf, on mortar, 220 x 640 cm, Österreichische Galerie Belvedere, Vienna, Austria. Wikimedia Commons.
cooperflatironbuilding
Colin Campbell Cooper (1856–1937), Flatiron Building, Manhattan (c 1908), casein on canvas, 102 x 76.2 cm, Dallas Museum of Art, Dallas, TX. Wikimedia Commons.

A few of Colin Campbell Cooper’s skyscraper cityscapes were painted using casein media, including this view of Flatiron Building, Manhattan from about 1908. He was equally proficient in watercolour and oils, and I don’t know why he experimented with casein, nor why he used it so infrequently.

eggerlienztotentanz1915
Albin Egger-Lienz (1868–1926), Totentanz (Dance of Death) IV (1915), casein on canvas, 201.5 × 243 cm, Leopold Museum (Die Sammlung Leopold), Vienna, Austria. Wikimedia Commons.

Another Vienna-based artist, Albin Egger-Lienz, also used casein on occasion, here in this fourth of several different versions of Totentanz (Dance of Death) from 1915.

During the twentieth century, casein paints didn’t become popular but continued in use, particularly by those who also made illustrations. Just when they were attracting a following among artists such as Andy Warhol, they were rapidly displaced by acrylics. Despite that, casein paint is still available today, sold by Pelikan under the brand name of Plaka.

Before yesterdayMain stream

Explainer: inodes and inode numbers

By: hoakley
4 October 2025 at 15:00

Every self-respecting file system identifies files and directories using numbered data structures. In most modern file systems, those data structures are known as inodes, and their numbers are inode numbers, sometimes shortened to inodes. The term is thought to be a contraction of index node, which certainly makes sense, but is lost in the mists of time.

In any file system, for example an individual APFS volume, the inode numbers uniquely identify each inode, and each object within that file system has its own inode. Whatever else the file system might do, the inode number identifies one and only one object within it. Thus one invariant way of identifying any file is by referencing the file system containing it, and its inode number.

HFS+

The Mac’s original native file systems, ending most recently in Mac OS Extended File System, or HFS+ from its origins in the Hierarchical File System, don’t use inodes as such, and don’t strictly speaking have inode numbers. Instead, the data structures for their files and folders are kept in Catalogue Nodes, and their numbers are Catalogue Node IDs, CNIDs.

With Mac OS X came Unix APIs, and their requirement to use inodes and inode numbers. As CNIDs are unique to each file and folder within an HFS+ volume, for HFS+ they are used as inode numbers, although in some ways they differ. CNIDs are unsigned 32-bit integers, with the numbers 0-15 reserved for system use. For example, CNID 7 is normally used as the Startup file’s ID.

Although not necessarily related to CNIDs, it’s worth noting that the Mac’s original file system MFS allowed a maximum of 4,094 files, its successor HFS was limited to 65,535, and HFS+ to 4,294,967,295. Those are in effect the maximum number of inode numbers or their equivalents allowed in that file system.

APFS

Unlike HFS+, APFS was designed from the outset to support standard Posix features, so has inodes numbered using unsigned 64-bit integers.

Strictly, the APFS inode number is the object identifier in the header of the file-system key. Not all unsigned 64-bit integers can be used as inode numbers, though, as a bit mask is used, and the number includes an encoded object type. APFS also makes special allowance for volume groups consisting of firmlinked System and Data volumes, to allow for their inode numbers to remain unique across both volumes. Officially, those allow for a maximum number of inode numbers of 9,223,372,036,854,775,808, either in single APFS file systems, or shared across two in a volume group.

fileobject1

Every file in APFS is required to have, at an absolute minimum, an inode and its associated attributes, shown above in blue, including a set of timestamps, permissions, and other essential information about that file.

There are also three optional types of component:

  • although some files may be dataless, most have data, for which they need file extents (green), records linking to the storage blocks containing that file’s data (pink);
  • smaller extended attributes (yellow), named metadata objects that are stored in a single record;
  • larger extended attributes (yellow), over 3,804 bytes in size, whose data is stored separately in a data stream.

Interpretation

When looking at inode numbers in volume groups, they can be used to determine which of the firmlinked file systems contains any given file. Both volumes share the same volume ID, and files in the System volume have very high inode numbers, while those in the Data volume are relatively low. I have given further details here.

Inode numbers are more generally useful in distinguishing files whose data appears identical, and the behaviour of various methods of linking files.

Copying a file within the same file system (volume) creates a new file with its own inode number, of course. However, duplicating a file within the same file system results in an APFS clone file, with a distinct inode, although it shares common data, so their inode numbers are also different.

fileobject3

Instead of duplicating everything, only the inode and its attributes (blue and pink) are duplicated, together with their file extent information. There’s a flag in each clone file’s attributes to indicate that cloning has taken place.

A symbolic link or symlink is merely a pointer to the linked file’s path, and doesn’t involve inode numbers at all. Because of that, changing the linked file’s name or path breaks its link. Finder aliases and their kindred bookmarks do contain inode numbers, so should be able to cope with changes to the linked file’s name or path, provided it remains in the same file system and doesn’t change inode number.

Hard links are more complex, and depend on the way in which the file system implements them, although the fundamental rule is that each object that’s hardlinked to the same file has the same inode number. According to Apple’s reference to APFS, this is how it handles hard links.

fileobject6

When you create a hard link to a file (blue), APFS creates two siblings (purple) with their own IDs and links, including different paths and names as appropriate. Those don’t replace the original inode, and there remains a single file object for the whole of that hardlinked file.

Inode attributes keep a count of the number of links they have to siblings in their link (or reference) count. Normally, when a file has no hard links that’s one, and there are no sibling files. When a file is to be deleted, if its link count is only 1, the file and all its associated components can be removed, subject to the requirements of any clones and applicable snapshots. If the link count is greater than 1, then only the sibling being removed is deleted.

Easy access

Inode numbers are readily accessed using command tools in Terminal. For example, ls -i lists items with their inode numbers shown. One free utility that displays full information about inode numbers and much more is Precize.

The volume ID is given as the first number in the volfs path, and the second is the inode number of that file within that. Note that the File Reference URL (FileRefURL) uses a different numbering system, and the Ref count of 1 indicates this file has no hard links.

海信A5的阅读设置

25 December 2019 at 18:13

双十二的时候购买了海信A5手机,这手机最大的特点是“卡”,特别卡,CPU是高通骁龙4字头的处理器,内存也只有4G,但因为它仅有一块5.84英寸1440X720分辨率的墨水屏(e-ink),流畅模式刷新率也只有7fps,所以卡已经不是一个bug而是一个feature了。

我购买的是64G版本,售价1499元人民币,为啥要买64G的?因为抢不到32G的。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f9e2ddeb-fa4d-4e51-afab-0579616d0a1d/DSCF3351.jpg

第一次使用海信手机,之前甚至不知道他们还做手机,初步使用后居然感觉系统还不错,全网通,打电话发短信肯定没问题,信号好的出奇,如果作为备用机,待机时间堪比诺基亚,可以聊微信,刷推特,看视频,打游戏(只要你不嫌卡),能自拍,能扫码,甚至还能看书。

先说缺点

  1. 无typc 接口。
  2. 无法安装谷歌全家桶。

作为一款主打阅读的手机有哪些特殊的设置?

既然采用了e-ink墨水屏作为唯一显示屏,自然主打功能就是阅读了,而这个用起来感觉还不错的系统还有哪些是专门针对阅读特别设置的功能?

1. 任何时候都方便呼出的“亮度及模式”调节界面。可以方便切换“流畅模式”和“清晰模式”,流畅模式会有残影,清晰模式则每次都整屏刷新。在这个界面还可以进一步设置显示对比度等。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/917f6a18-bdc1-4b58-a540-646c1eedfbe6/Screenshot_20191225_155237567_.jpg
https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2c2306e7-7031-494a-8d09-1a140c845e5a/Screenshot_20191225_155401821_.jpg

2.“显示和亮度”里可以设置“高对比度文字”。

3.“显示和亮度”里可以设置“应用显示模式”,可以单独设定某个app默认使用“流畅”或“清晰”模式,当然如果打开app想切换模式也可以像第1条所示那样直接呼出模式切换选项。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b87916fd-a843-423d-b4c4-61eadbed4b54/Screenshot_20191225_155347322_.jpg

4.单独的阅读模式设置,可以设置支持的app打开后进入阅读模式,但从说明理解只是减少通知,并没有对显示有任何优化。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6f030314-3af4-47ed-bb25-1c5d309e5cb3/Screenshot_20191225_155315808_.jpg

5.“智能辅助”里“整屏翻页”设置,可以设置单独app,这个功能可以去掉页面滑动的效果,刷推特、看网页就没那么眼花了。

6.“智能辅助”里“智慧识屏”功能,也就是“大爆炸”功能,方便处理一些文本。

7.机身左侧有一个唯一按键,海信称之为“墨智键”配合其它按键可以实现的功能就太多了。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/28acb653-d6d0-4b8d-af5f-aaccdd6c3953/Screenshot_20191225_155256785_.jpg

那么显示效果如何呢?

  1. 不论是否开背光,显示基本均匀,与我的kindle oasis二代比也不逊色。
  2. 开始的时候手机贴了一张磨砂膜,看起来比我的kindle要模糊很多,撕了以后好一些,但户外反光严重。
  3. 清晰模式翻页速度对比我的kindle慢了许多,流畅模式下速度差不多,但残影又多了许多。
  4. 考虑到可以安装各种app,以及方便携带的特点,上面2、3点可以忽略。

下面图片相机直出。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1a0ceba4-9301-4f0d-83cf-d6125683cbb1/DSCF3355.jpg

Kindle app

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d9f3166c-b59d-47c0-ac46-00f906c56438/DSCF3357.jpg

京东阅读

微信阅读

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0498e008-df9a-443f-ad4e-8824eb83ccab/DSCF3362.jpg

图片显示效果

适合阅读吗?

适合,而且还配备耳机接口,高清蓝牙输出,听书也是极好的,加上超长续航,带出门正常使用也没问题。

虽然可以看视频和打游戏,但肯定不建议这么做了。

至于拍照,择良辰吉日,单独说说。

最后,想到了那个”熊猫最大的心愿是想拍一张彩色照片“的笑话。😂😂😂

目前逐步将文章发布在我的notion 笔记
本文notion地址
我的notion注册邀请链接

❌
❌