til
繁体的「门」字——「門」,是可以拆开成两部分的「𠁣」和「𠃛」 ,拟声词,只在闽南语中有读音(ihⁿ和oa̍ihⁿ),意思是门开合时的吱呀声
https://zh.wiktionary.org/wiki/%F0%A0%81%A3%F0%A0%83%9B#%E6%BC%A2%E8%AA%9E
乒乓一隻舟,𰛄𰛅水中流。𠁣𠃛搖船櫓,彳亍到揚州。——《澎湖褒歌》
拎起拳來,或上或下,𠁣𠁣𠃛𠃛,一氣打有一二十拳。——《封神演義·第十三回》
(这些字可能在某些操作系统及apps中无法正常显示)
#TIL `JSON.parse` has a second parameter to accept a reviver.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#reviver
Why isn't there a library to generate revivers based on a given schema? The closest to what I am expecting is https://github.com/badcafe/jsonizer and it doesn't seem to get a lot traffic. Nobody likes type-safe JSON parsing?
#TIL 原来“一”虽然是一声,但是在某些情况下会变其他声调,比如“在一起”,“人的一生”。
> (「一」字單用或在一詞一句的末尾,念陰平聲;在去聲字前,念陽平聲;在陰平、陽平、上聲之前,念去聲。)
https://dict.revised.moe.edu.tw/dictView.jsp?ID=10504&la=0&powerMode=0
原来五四的时候除了提出德先生(Democracy)赛先生(Science)以外,还有与之相对的费小姐(Freedom)和穆姑娘(Moral)。同样都是进步的口号和主张,什么时候是先生什么时候是小姐姑娘也挺有意思的……
#TIL 今天又学到一招怎么给纸质笔记本加标签,号称 Japanese notebook hack,非常简单,只需在笔记本里定一页做为标签的索引页,以后记笔记时按照标签在索引的行数给笔记页边缘对应的位置染上颜色,本子合上后可以看见各种标签(“类别”)怎么自然生长。我要马上用到我的 BuJo 里去,这个妙招还可以帮我提炼常用的大类而不是给每条信息瞎加一堆标签。
[image via HighFive Blog]
#TIL 真的有人可以闻到人身体的chemical的气味,震惊!朋友的描述是,他能闻到别人感到horny时breath里的气味。这个气味困扰了他很多年到底是什么,因为从小就能闻到,后来才和horny联系了起来
而且会因为程度不同有intensity的差异。好有趣……
#TIL that it is possible to display images in some terminals and I'm nerding out about it. MacOS, iTerm2 has imgcat. So of course I use it to display a dog.
It would be fun but not very practical if the image was rendered all retro pixellated. I understand the kitty terminal has it's own version of this.
Yeah, it doesn't take much to humor me today.
#TIL that "spike" as a verb means specifically "to undergo a sudden sharp increase"
I had always thought that it meant suddenly up *and then suddenly back down again* such that the figure would show a spike shape - thin as well as tall. But nope!
Hoje eu aprendi que, por exemplo, dá pra acompanhar o canal
MemeTube diretamente pelo
, adicionando seu
como podcast: https://fediverse.tv/feeds/podcast/videos.xml?videoChannelId=25373#PeerTube #VLC #podcast #videocast #MemeTheCat #Flokinho #PeerTubeCats #catsOfPeerTube #TIL
#TIL (Backup) GitHub Copilot to Generate Conventional Commit Messages
VSCode settings.json:
"github.copilot.chat.commitMessageGeneration.instructions": [
{ "text": "Use conventional commit format: type(scope): description." },
{ "text": "Use imperative mood: 'Add feature' not 'Added feature'." },
{ "text": "**Strictly use only lowercase English letters and safe English punctuation (like hyphens, commas, colons, and parentheses) in the commit message. Do not use uppercase letters or other languages' characters.**" },
{ "text": "Keep subject line under 50 characters." },
{ "text": "Use types: feat, fix, docs, style, refactor, perf, test, chore, ci." },
{ "text": "Include scope when relevant (e.g., api, ui, auth)." },
{ "text": "For additional details, use a well-structured body section." },
{ "text": "Use bullet points (*) for clarity." }
]
#TIL that you can rip an audio CD in #KDE just by opening it in dolphin and copying out the folder named for the format you want it in.
These are a set of virtual folders that represent the formats supported by your system to rip them into.
How cool is that?
#audiocd #ripping #music #opticaldisc #Linux #tech #deadformats
前几天刚刚给家里的软化水系统加盐,洗澡的时候明显感觉打完肥皂以后皮肤是滑的而不是涩的。我以前一直觉得那种涩的感觉才是真正洗干净了,今天留了个心眼,去查了一批文献。结论大概是这样:
* 硬水洗完以后那种很涩的感觉其实是钙镁和表面活性剂结合以后的沉淀,疏水。
* 软水洗完以后的很滑的感觉是残留的表面活性剂,溶于水。
由于钙镁沉淀疏水,所以很难洗掉。尽管软水那种很滑的感觉会让人觉得肥皂老洗不掉,其实这种情况下表面活性剂的残留是比硬水情形要少的。
具体数据见 https://www.jidonline.org/article/S0022-202X(17)32938-X/fulltext
顺便说一下软化水的原理。家庭软化水系统一般是两部分:一个滤芯状的东东和一个盐池。那个滤芯里面是一些带钠离子的 polymer,硬水进来的时候水里的二价金属离子会和 polymer 结合,换走钠离子。那个盐池里面一般就是正常的氯化钠或者氯化钾(但是比食盐要纯),软化水装置会定时(好像是吧)用盐水冲刷 polymer,再把 polymer 里面的二价金属换走变成氯化钙或氯化镁沉淀,最后把这些沉淀冲到下水道里。
好下面再看肥皂。众所周知,肥皂其实就是表面活性剂,一般是一个长的碳链一端带着一个钠离子。碳链亲油,钠离子亲水。用硬水洗澡的话,水里的钙离子会换走表面活性剂里的钠离子,变成沉淀。
……
……
……
所以结果就是你洗澡的过程变成了软化水的过程,但是换出来的二价金属最后没冲走,留在皮肤上了……
你就是个一直需要补充 polymer 的软水机……
#TIL that HDD prices also increased (because of "AI") like the SSD/memory prices before. I was slowly building my home NAS, thinking that if I use HDD, not SSD, then I should race only with the possibility of Internet shutdown in my country and hope that I'll build the machine before the Internet will become unusable or completely turned off, and I will be able to preserve at least something from human knowledge and creativity. But … looks like for now I should race not only with censorship, but also with fucking "AI" corporations 
The worst timeline ever, I never saw how the price of something was decreased in my life. When I moved to my city at 2008, the bus fare was near 18 roubles. For now it is 88 roubles — the 389% rise. Fuck this shit.
I think, one time the novel "Walkaway" from Cory Doctorow will become not a novel but a real-life. Because there are no mass-adopted solution for now — you could choose only in between "you own nothing and be happy" and "you own nothing and welcome to GULAG"
. So the good enough solution — not to participate in that circus at all and walk away.

