New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Advogato User Stats
Users13998
Observer11498
Apprentice498
Journeyer1013
Master985

New Advogato Members

18 Apr 2018 2bruce (Observer)
6 Apr 2018 Mule (Observer)
23 Feb 2018 kennyrowe (Observer)
1 Feb 2018 Maria4dj (Observer)
3 Jan 2018 nagarajbr (Observer)
29 Oct 2017 procrasti (Observer)
29 Oct 2017 xerox (Master)
29 Oct 2017 blastar (Observer)
29 Oct 2017 v2dev (Observer)

Recently modified projects

26 Feb 2018 Accord-search
8 Nov 2017 aamath
6 Nov 2017 OpenSync
30 Oct 2017 mod_virgule
30 Oct 2017 libxml++
28 Oct 2017 Apache Portable Runtime
14 Jun 2016 luxdvd
8 Mar 2016 ShinyCMS
8 Feb 2016 OpenBSC
5 Feb 2016 Abigail
19 Sep 2015 Break Great Firewall
20 Jul 2015 Justice4all
25 May 2015 Molins framework for PHP5
25 May 2015 Beobachter
7 Mar 2015 Ludwig van

New projects

28 Oct 2017 Accord-search
8 Mar 2016 ShinyCMS
5 Feb 2016 Abigail
2 Dec 2014 Justice4all
11 Nov 2014 respin
8 Mar 2014 Noosfero
17 Jan 2014 Haskell
17 Jan 2014 Erlang
17 Jan 2014 Hy
17 Jan 2014 clj-simulacrum
17 Jan 2014 Haskell-Lisp
17 Jan 2014 lfe-disco
17 Jan 2014 clj-openstack
17 Jan 2014 lfe-openstack
17 Jan 2014 LFE

Recent blog entries

17 Jul 2018 2bruce   » (Observer)

source: https://www.wenku1.com/news/5627A8DD6A117258.html

多多,原名栗世征,小名毛头。香港诗人黄灿然对多多十分推崇,他评价说:“多多的意义就在于,他忠于他与诗歌之间那个最初的契约,直取并牢牢抓住诗歌的核心。”诗歌是个体者的独特言说,它与自由、与生命相通。正是在这一角度的照映下,海外汉学家Gregory Lee(格里高利·李)在英译多多诗集的导言中写道:“在多多的作品里,我们看到了近来中国的现代主义的最新鲜的表现之一。虽然多多是一位纯粹的中国诗人而很少表现出许多当代诗人的作品所显示的模仿而陈旧的毛病,他还是一位完全现代的诗人,因为在他的作品中可以看出某些经过选择的世界主义的影响,建立了一种对人类的终极关怀。”

#致太阳

给我们家庭,给我们格言

你让所有的孩子骑上父亲肩膀

给我们光明,给我们羞愧

你让狗跟在诗人后面流浪

给我们时间,给我们劳动

你在黑夜中长睡,枕着我们的希望

给我们洗礼,让我们信仰

我们在你的祝福下,出生然后死亡

查看和平的梦境(顿号)笑脸

你是上帝的大臣

没收人间的贪婪(顿号)嫉妒

你是灵魂的君王

热爱名誉,你鼓励我们勇敢

抚摩每个人的头,你尊重平凡

你创造,从东方升起

你不自由,像一枚四海通用的钱!

#《北方的海》

北方的海,巨型的玻璃混在冰中汹涌

一种寂寞,海兽发现大陆之前的寂寞

土地呵,可曾知道取走天空意味着什么

在运送猛虎过海的夜晚

一只老虎的影子从我脸上经过

--噢,我吐露我的生活

而我的生命没有任何激动。没有

我的生命没有人与人交换血液的激动

如我不能占有一种记忆--比风还要强大

我会说:这大海也越来越旧了

如我不能依靠听力--那消失

声音的东西

如我不能研究笑声

--那期待着从大海归来的东西

我会说:靠同我身体同样渺小的比例

我无法激动

但是天以外的什么引得我的注意

石头下蛋,现实的影子移动

在坚起来的海底,大海日夜奔流

--初次呵,我有了喜悦

这些都是我不曾见过的

绸子般的河面,河流是一座座桥梁

绸子抖动河面,河流在天上疾滚

一切物象让我感动

并且奇怪喜悦,在我心中有了陌生的作用

在这并不比平时更多地拥有时间的时刻

我听到蚌,在相爱时刻

张开双壳的声响

多情人流泪的时刻--我注意到

风暴掀起大地的四角

大地有着被狼吃掉最后一个孩子的寂静

但是从一只高高升起的大篮子中

我看到所有爱过我的人们

是这样紧紧地紧紧地紧紧地--搂在一起

1984年
从死亡的方向看

从死亡的方向看总会看到

一生不应见到的人

总会随便地埋到一个地点

随便嗅嗅,就把自己埋在那里

埋在让他们恨的地点

他们把铲中的土倒在你脸上

要谢谢他们。再谢一次

你的眼睛就再也看不到敌人

就会从死的方向传来

他们陷入敌意时的叫喊

你却再也听不见

那完全是痛苦的叫喊!

1983年
《阿姆斯特丹的河流》

十一月入夜的城市

惟有阿姆斯特丹的河流

突然

我家树上的桔子

在秋风中晃动

我关上窗户,也没有用

河流倒流,也没有用

那镶满珍珠的太阳,升起来了

也没有用

鸽群像铁屑散落

没有男孩子的街道突然显得空阔

秋雨过后

那爬满蜗牛的屋顶

——我的祖国

从阿姆斯特丹的河上,缓缓驶过……

1989
《在英格兰》

当教堂的尖顶与城市的烟囱沉下地平线后

英格兰的天空,比情人的低语声还要阴暗

两个盲人手风琴演奏者,垂首走过

没有农夫,便不会有晚祷

没有墓碑,便不会有朗诵者

两行新栽的苹果树,刺痛我的心

是我的翅膀使我出名,是英格兰

使我到达我被失去的地点

记忆,但不再留下犁沟

耻辱,那是我的地址

整个英格兰,没有一个女人不会亲嘴

整个英格兰,容不下我的骄傲

从指甲缝中隐藏的泥土,我

认出我的祖国——母亲

已被打进一个小包裹,远远寄走……

1989-1990
《我始终欣喜有一道光在黑夜里》

我始终欣喜有一道光在黑夜里

在风声与钟声中我等待那道光

在直到中午才醒来的那个早晨

最后的树叶做梦般地悬着

大量的树叶进入了冬天

落叶从四面把树围拢

树,从倾斜的城市边缘集中了四季的风——

谁让风一直被误解为迷失的中心

谁让我坚持倾听树重新挡住风的声音

为迫使风再度成为收获时节被迫张开的五指

风的阴影从死人手上长出了新叶

指甲被拔出来了,被手。被手中的工具

攥紧,一种酷似人而又被人所唾弃的

像人的阴影,被人走过

是它,驱散了死人脸上最后那道光

却把砍进树林的光,磨得越来越亮!

逆着春天的光我走进天亮之前的光里

我认出了那恨我并记住我的唯一的一棵树

在树下,在那棵苹果树下

我记忆中的桌子绿了

骨头被翅膀脱离惊醒的五月的光华,向我展开了

我回头,背上长满青草

我醒着,而天空已经移动

写在脸上的死亡进入了字

被习惯于死亡的星辰所照耀

死亡,射进了光

使孤独的教堂成为测量星光的最后一根柱子

使漏掉的,被剩下。

1991
《墓碑》

北欧读书的漆黑的白昼

巨冰打扫茫茫大海

心中装满冬天的风景

你需要忍受的记忆,是这样强大。

倾听大雪在屋顶庄严的漫步

多少代人的耕耘在傍晚结束

空洞的日光与灯内的寂静交换

这夜,人们同情死亡而嘲弄哭声:

思想,是那弱的

思想者,是那更弱的

整齐的音节在覆雪的旷野如履带辗过

十二只笨鸟,被震昏在地

一个世纪的蠢人议论受到的惊吓:

一张纸外留下了田野的图画。

披着旧衣从林内走出,用

打坏的田野捂住羞恨的脸

你,一个村庄里的国王

独自向郁闷索要话语

向你的回答索要。

1986
附:八月空旷——关于诗人多多

作者:朴素

诗人多多即将执教海南大学,这样的消息让我复活了从前的一些记忆。街上的风已经平静下来,南国独有的热带气息弥漫在燥热的八月。远处,有武警持枪而立。我读多多的诗歌已有经年,尤其对他在1974年所写的《玛格丽和我的旅行》一诗,感到不可思议。诗云:“像对太阳答应过的那样/疯狂起来吧,玛格丽:/我将为你洗劫/一千个巴黎最阔气的首饰店/电汇给您十万个/加勒比海岸湿漉漉的吻/……”1974年就能写下这样的诗句,让我体验了“常识”的局限。我终于明白——任何时代都可以写出伟大的文学作品,只要你内心保持一种自由。

1998年,海南《天涯》杂志(1998年第6期)的“文学版块”发表了《九十年代诗歌精选之四:多多诗歌专辑》(内收多多的13首诗)并附有香港诗人黄灿然的评论文章《多多:直取诗歌的核心》。我反复地阅读这13首诗,“一个故事中有他全部的过去”这个题目仿佛是一种寓言,让1989年侨居海外的诗人多多面孔深奥。多多曾经写过一篇催人泪下的回忆性散文《被埋葬的中国诗人(1972——1978)》,他深情回忆了与郭路生、芒克、岳重等诗人的交往,寄寓了对历经苦难的中国诗人的一种忧伤的怀念。然而多多是激愤的,他说:“我所经历的一个时代的精英已被埋入历史,倒是一些孱弱者在今日飞上天空。因此,我除了把那个时代叙述出来,别无他法。”

1972年,多多写下了这样的一些诗歌——《当人民从干酪上站起》、《黄昏》、《无题》等等,“在这座漆黑的空空的城市中/又传来红色恐怖的急促的敲击声”,这样的诗句在今天读来,仍觉得寒意逼人。离国之后的多多,在《北方的记忆》中写道:“吸收冬天的寒冷,倾听云的逍遥的运动/北方的树,站在二月的风里/离别,也站在那里/在玻璃窗上映得又远又清晰/”。

一个汉语写作者,离开本土的语境,如何言说?多多自云:“在中国,我总有一个对立面可以痛痛快快地骂它;而在西方,我只能折腾我自己,最后简直受不了。” 没有故乡的人身后一无所有。不知这是不是多多回来的理由?

八月空旷。我站在南国的天空下。法国人托克维尔说过:“当过去不再照亮将来时,人心将在黑暗中徘徊。”平庸的生活如流水一样静静而过,尘世间已经多年不再信仰诗歌,而此时,诗人多多从郁金香的故乡返回故土。卡莱尔曾经说过:“诗人就是英雄。”然而一个真正的诗人是否愿意充当世俗中的英雄或斗士?1989已成过去,流亡者的身份渐渐不为人知,后起的新新人类对所有的过去不屑一顾。流亡成为闹剧,历史变成戏说。正如诗人艾伦所云:“再也没有鲜花开放在纽约夏天的田野里”。

当满头白发的诗人多多站在海南大学的教室内,当他朗诵自己的诗作时,我静静谛听。多多认为诗是直观、瞬间的感受,正如他在《歌声》中写到的那样:“是我的歌声曾使满天的星星无光,我也再不会是树林上空的一片星光。” 香港诗人黄灿然对多多十分推崇,他评价说:“多多的意义就在于,他忠于他与诗歌之间那个最初的契约,直取并牢牢抓住诗歌的核心。” 诗歌是个体者的独特言说,它与自由、与生命相通。正是在这一角度的照映下,海外汉学家Gregory Lee(格里高利.李)和John CayLey(约翰.卡雷)英译多多诗集为《从死亡的方向看:从文革到天安门广场》。

Gregory Lee(格里高利.李)在英译多多诗集的导言中写道:“在多多的作品里,我们看到了近来中国的现代主义的最新鲜的表现之一。虽然多多是一位纯粹的中国诗人而很少表现出许多当代诗人的作品所显示的模仿而陈旧的毛病,他还是一位完全现代的诗人,因为在他的作品中可以看出某些经过选择的世界主义的影响。”西方汉学家在面对中国文学时,常常说中国作家必须“建立一种对人类的终极关怀。”这种说法意味着一种要求,中国作家必须首先是“世界作家”,然后才能是个中国作家。

多多游走在中国文化与西方文化之间,他看到了一切同时也见证着一切;然而乡愁无法掩饰,正如记忆无法遗忘。“从指甲缝中隐蔽的泥土/我/认出我的祖国——母亲/已被打进一个小包裹,远远寄走……”(多多的诗《在英格兰》)诗歌标明一种生存状态,这种生存状态并不总是处在我们每个人的经验之中。我所理解的中国诗人必然与西方汉学家所理解的中国诗人有所不同,但我理解他们的想象空间,西方已经习惯于把中国现当代文学作为“关于中国的社会学材料”,这是弱势文明不可避免的命运,我们无法选择。

记忆有时格外沉重,在著名诗人廖亦武先生主编的《沉沦的圣殿:中国20世纪70年代地下诗歌遗照》一书里,我看到了诗人多多的另一种面貌。多多,原名栗世征,小名毛头。《沉沦的圣殿:中国20世纪70年代地下诗歌遗照》收录了多多曾经最好的朋友——周舵的一篇文章,文章回忆了他与多多在1970年代一1980年代的交往;其结尾如是说:“在我心里,当年那个可爱可敬的毛头早已死去。留下的,只是一段心酸不已的、抹不去的伤痛。”

source: https://www.wenku1.com/news/5627A8DD6A117258.html

16 Jul 2018 2bruce   » (Observer)

阿耐答晶报记者问编辑
记者:阿耐您好!首先我得向您致敬!我得承认我被您的《大江东去》震住了。用现在最流行的话说是“雷”倒了!一百五十万字,二十个年份,有个性的人物达十多个,主要人物也有七八个,这样的规模我只在托尔斯泰那批十九世纪现实主义作家中看到过,现在很少能看到这样的作品了,我想问的第一个问题是:是什么力量促使您有这样的写作冲动,完成这样一部宏大的作品的?
阿耐:有一个有趣的现象,写小说的作者笔下都有他最得心应手的时代,那个时代属于他的年轻时代。
人的成长从一张白纸,变为异彩纷呈,大约最醒目的记忆便在好奇而勇敢地认识这个世界,并无预设立场地定型世界观的时期。人生的第一次思考,和逐渐成熟的思维,都会在一个人的心中留下深刻烙印。同时初进社会,令一个年轻人有充分的视野,从底层看足这个有趣的社会,给记忆留下最丰富最有层次的内容。在经历世事,逐渐沉淀、回顾、反思,若还有什么能调动一个上老下小的人到中年者的笔写下长篇累牍,大约只有对年轻时代回忆的冲动。
而我有幸生活、成长在这个中国大变革大发展的年代。我和我的同龄人被时代的洪流裹挟着,也被心中对美好生活的欲望驱使着,全身心地投入大家小家的建设,我们取得骄人成绩。但是伫足回望,却是看到很多盲目,很多不足,很多遗憾。我们在建设中放弃了谁,剥夺了谁,遗忘了谁;我们的同路人有谁掉队,有谁失足,有谁超前;我们的物质生活进步清晰可见,而我们的精神世界却偏离崇高、尊严、真实,日益被物质侵蚀;为什么?我们,该如何走出下一步?
我经历过,我正思考。我需要写出来,先给自己一个回答。
记者:今年是改革开放三十周年,不少出版社都推出了反映三十年社会变迁的文学或准文学作品,您读过的有吗?如有,您怎么看这些作品,您觉得您《大江东去》的特色在哪里?
阿耐:我看了吴晓波的《激荡三十年》,这是一本以人文角度看经济社会的很精炼的书。也看了一些本地报纸的回顾,正因为报纸的地域性,正好适合这个地域出生成长的我。但我喜欢自己寻找旧时报刊杂志,查阅第一手的未经现代人加工的资料。
《大江东去》的特色在于提取人物样本的全面,描述事件的系列,还有故事的有趣——小说首先是给人看的。因此它几乎是文字版的《清明上河图》。
记者:您的责编说您的这部作品是“改革三十年的记忆之书”,这是否是说这部作品是对三十年的记录呢?或者是能够唤醒人们对三十年的回忆呢?您认同这样的说法吗?
阿耐:严格地说,目前这本只描述了二十年,后十年我还在酝酿中。写这本书,我首先需要面对的是自己,如何凭良心发掘、回顾、反思、提炼……。如果有读者从中看到他们消逝的青春,或者因此书而思考,那是我的额外收获。作为小说作者,首先要勇敢自信地面对自己,然后才能接受读者评价。
记者:《大江东去》里每一章节都以年份命名,从1979年开始,每一年就是一个章节,这种编年体的写法运用到小说中我还是头一回见到,您这样做的原因是什么?不怕人们误认为它是一部纪实文学而影响它的艺术性吗?
阿耐:原因很不文学,纯粹私人因素。从小阅读那种时间跨度大,人物涉及众多的演义类文章,都喜欢另取一张纸,上面随手记录下时间段和其中发生的标志性事件及思考推测。我记得最夸张的是看《东周列国志》时,用的是三张A3纸粘联起来的表格,因此可以保证看到后面而前事不忘,甚至不仅是不忘。也因此很遗憾地发现几本名著人物细节设定的前后矛盾。遗憾或许是美,或许是艺术,但艺术和美不应该建立在错误之上。若干年后若还有人阅读《大江东去》,我希望此书不会误人子弟。
记者:小说人物的设置看来是非常有代表性的,宋运辉也好,雷东宝也好,杨巡也好包括梁思申几乎是改革开放三十年不同经济形式的形象代表,您在写到他们时除了抓住他们每个人的不同个性特征外,有过考虑他们代表的群体性吗?如果要您概括出这四种人代表的不同经济体的特征,您如何看?
阿耐:问得好。改革是因各阶层人们对尊严生活的需求。这种需求可能是自发的,也可能是自觉的。可以来自农村广阔天地,也可以来自高等学府。我国改革的特点是,在自觉尚未突破意识形态桎梏的时候,农村自觉发起的改革已经泼辣辣星火燎原。由此改革的进程,我设定四个典型人物的先后出场,雷东宝代表农村因温饱所迫而自发改革,而后转向乡镇企业的那个群体。宋运辉则是代表我们国家大多数时候抱着,可也一直有力限制着,更有一段时间只取不给的老大哥国企那个群体。杨巡则是很典型的个体形象,如果再细分一点儿,更代表浙闽一带个体户发展至私营经济的那个群体。梁思申与外公代表的是外资那个群体。他们曾经有过自发的带有点革命性的浪漫主义,但是面对现实社会的种种,他们本能地自觉地转向实用主义,甚至功利主义。转换中有人因为修养的缺位,因为认识的止步不前,而终至走向他们最初出发点的反面。
记者:同样是写改革开放三十年的作品,作为一个企业管理者,您最关注的可能是经济,但经济和政治必然联系在一起,您认为在这三十年里,中国最关键的一个词是什么呢?是经济吗?
阿耐:我认为最关键的一个词是“人”。
记者:您一直以来的写作主题几乎都是和经济题材有关,媒体也称您为财经作家,您认为《大江东去》是一部财经小说或商战小说吗?其实这里面的商战也够厉害的。
阿耐:我更喜欢的是写人。可能因为我身份局限,我更多描写的是商业社会中的人。
记者:您认为《大江东去》最让您有成就感的地方是什么?有不满意的地方吗?
阿耐:写《大江东去》的过程,也是我梳理反思提高的过程。因此我目前为止最大的成就感是自己对世界认识的提升——更全面,更系统,更深入,也更宽容。落实到实际生活中,因为有对前三十年经济和社会的总结回顾,面对目前席卷世界的金融危机,我可以有更理性的判断,有更从容的应对。
记者:听说网络上有读者拿着每年的《人民日报》对照您的小说读,并作了专门的阅读笔记,真有趣。您觉得这说明了些什么?
阿耐:这可能是因为大家都对那段历史有共鸣吧。三十年弹指一挥间,蓦然回首,发现时间过得太快太快,世界也变得太快太快,快得我们目不暇接,心浮气躁,快得我们都来不及静下心来思考。《大江东去》成了一个引信,触发某一部分的人们对精神领域的探索。
记者:因为时间关系,我想问您最后一个问题。您认为这部小说如果没有改革开放三十年的宣传背景,它应该是什么面目呢?我想真正读小说的读者一定很关心这个问题。谢谢您!
阿耐:历史是一枚钩子,《大江东去》是被宣传挂到钩子上的衣物。去掉钩子,衣物依然是衣物。

16 Jul 2018 2bruce   » (Observer)

今集主題是「一言九鼎」。
中國全國人大常委會十二月廿七日在北京以158票全票通過《內地與香港特別行政區關於在廣深港高鐵西九龍站設立口岸實施「一地兩檢」的合作安排》(下稱合作安排)的決定,將於明年第三季通車的高鐵「一地兩檢」的「三步走」方案,只剩下本地立法的最後步驟。《基本法》基本無法,「高度自治」陷於「不治」,宣告死亡!

人大常委會副秘書長兼基本法委員會主任李飛表示,人大常委會的決定具有憲制性地位、最高法律效力,是「一言九鼎」。真是用詞不當,引喻失義!
「一言九鼎」這句成語出自《史記.卷七六.平原君虞卿列傳.平原君》:「毛先生一至楚而使趙重於九鼎大呂。毛先生以三寸之舌,強於百萬之師。」

戰國時,秦國攻打趙國,首都邯鄲被圍,情況相當危急。趙王派平原君到楚國求援,想聯合楚國來抵抗秦國。平原君要從門下食客選二十個人一起去楚國,但挑來挑去只挑到十九人,有個叫毛遂的人便自我推薦,「毛遂自薦」,平原君就接納他。到了楚國,平原君一直不能說服楚王援助趙國。毛遂向楚王分析情勢,痛陳利害,令楚王答應與趙國訂立盟約。平原君完成任務回到趙國後,讚賞毛遂說:「毛先生一到楚國,就使我們趙國的地位大大提升,比九鼎大呂還要有份量。毛先生的口才,真是比百萬軍力還要強大。」那就是毛遂講的話扺得上九鼎重,很有份量。自此之後,人們便用「一言九鼎」來形容一句說話能夠起到很大的作用,很有影響力,或者形容說話很有信用。

毛遂憑著三寸不爛之舌說服楚王援趙,也可以說是「政治傳播學」中的出色的「政治遊說」。

共幹李飛以「一言九鼎」形容人大常委會破壞香港「高度自治」的決定,除了用詞失當,也無法令港人信服。在「毛主席的話一句頂一萬句」時代,林彪說:「毛主席的話,理解的要執行,不理解的更要執行。」於是神州大地「萬馬齊瘖究可哀」!今天中國,「習近平新時代中國特色社會主義思想」成為最高思想指導原則,習近平「一言而為天下法」。如果毛習的話在中國是「一言九鼎」。那麼「一言九鼎」這句成語的詞意就由褒義變成貶義了!
黃毓民

16 Jul 2018 2bruce   » (Observer)

读书的三重境界
孙杰远

  王国维《人间词话》曾经谈到,古今之成大事业、大学问者,必经过三种境界:“昨夜西风凋碧树。独上高楼,望尽天涯路。”此第一境。“衣带渐宽终不悔,为伊消得人憔悴。”此第二境。“众里寻他千百度,蓦然回首,那人却在灯火阑珊处。”此第三境。

  王国维先生提到的三重境界,围绕“人”来表达。

  我认为,读书也有三重境界,可以围绕“书”来表达:

  第一重境界,书,就是“诗和远方”。用余秋雨的话来讲,“我们读书的一切初衷就是为了摆脱平庸”,这是第一重境界。从一个人的谈吐间、言辞间、行走间就可以看得出来有没有读过书;可以看得出是一个平庸的人,还是一个高雅的人。如果读的书多,读的书好,那肯定能摆脱平庸。阅读了,修养体现出来了,就是一个有知识的人。但是,这还只是关乎一个人的修养,还不能算高的境界。

  第二重境界,“文章是案头之山水,山水乃地上之文章”,这是林语堂先生的话,我非常欣赏。书要读活,要在大自然中阅读,要阅读经典的同时,阅读自然、阅读社会,才能真正读懂书,才能真正汲取书的精华,化为我们人生的信念。所谓“世事洞明皆学问,人情练达及文章”,但是,这还不是最高境界。

  第三重境界,“腹有诗书气自华,读书万卷始通神”,这句话出自苏东坡。佛家有“心能转物”的说法,当读到一定程度,一切都可以化解,一切都可把控。也可以说,第一重境界,是“知”的境界;第二重境界,是“知行合一”的境界;第三重境界,是“智”的境界。

点击:595 发布:2018-06-22 12:18 责编:linxingzi 来源:中华读书报

13 Jul 2018 sye   » (Journeyer)

Institutional Isolation

Commentary by Katherine Dunlop

When I went to hear Melanie Thernstrom read from Halfway Heaven at the Cambridge Public Library, I had what turned out to be a unique chip on my shoulder: I seemed to be the only person in the audience who lived in Dunster House in May of 1995, when junior Sinedu Tadesse stabbed junior Trang Ho, her roommate, to death and then hanged herself. To the extent that the tragedy was a part of my life, I resent those who have sensationalized it and are profiting from Dunster House’s notoriety. Immediately after the incident, and again a year later, students were besieged by reporters intent on recording our grief—in words, on tape, or in still photos—when all we wanted was to come to terms with our experiences in private. I was also suspicious of Halfway Heaven for another reason: as one review noted, it was a book about isolation at Harvard written by the “ultimate insider.” Thernstrom graduated from Harvard in 1987, was a tutor and instructor in the English department, and is the daughter of Professor Stephan Thernstrom and scholar Abigail Thernstrom. Melanie Thernstrom never specifies steps Harvard could take to improve student life, yet she seems to be a part of the institution she shows to be severely flawed. Suppose Thernstrom wrote her book to document Harvard’s misconduct. If her Harvard connections enabled her to uncover the actions she criticizes, don’t those connections oblige her to do something about the problems, or at least to suggest solutions?

I didn’t ask Thernstrom about these issues, but some of her comments addressed them. When questioned about Harvard’s culpability, she said that interpreting events in that way was a “misreading” of her work: “You can’t see an institution as responsible for something like murder.” Thernstrom never explained why she accepted the New Yorker assignment that culminated in the 1996 article which Halfway Heaven expands, but she did tell us why she made the article into a book: her Freedom of Information Act request unexpectedly won her access to Tadesse’s diaries. Thernstrom described the book as an “attempt to understand what happened, to get inside Sinedu’s mind, to unravel the mystery.”

Focus on Harvard

Thernstrom’s account of her motives sounds good, but it isn’t substantiated by Halfway Heaven, which does not quote Tadesse’s journals until its halfway point. Early in the book, Thernstrom presents moving biographies of Tadesse and Ho, but Harvard soon became the focus. In the chapter which catalogues the reactions of Harvard and Dunster administrators to the tragedy and to previous signs that Tadesse needed help, Thernstrom describes the experiences of three other Harvard students as evidence of “Harvard’s incompetence at dealing with students suffering from psychiatric disorders.” Even if Thernstrom isn’t responsible for the jacket blurb, which mentions Harvard’s “calculated efforts to whitewash the story, and to protect and promote its distinguished reputation at the cost of its own student body,” her book is generous in providing ammunition to critics of Harvard’s administration.

What exactly did Thernstrom discover? The disclosure she made in her New Yorker piece is still one of the most disturbing: the Dunster House file on Tadesse contained a long letter she had written in 1993, a letter describing her misery and alienation which she had sent to randomly chosen strangers (one of whom forwarded it to Harvard). Thernstrom quotes a police report as saying that Master Karel Liem knew of the letter, but he seems never to have taken any action based on it. Halfway Heaven also reveals that Tadesse saw a therapist at UHS’s Mental Health Service for her three years at Harvard. This therapist, an Ed.D., saw Tadesse only infrequently and admits that he did not realize the extent of her illness. Thernstrom suggests that UHS did not identify Tadesse’s problems because it wasn’t looking for them; she says that Dr. Randolph Catlin, head of the Mental Health Service, told her that its staff is “oriented toward and trained in dealing with ordinary neurotic problems of adjustment, not psychoses.” But as a prominent psychiatrist told me, depression screening “can be done in only a few minutes and should be routine in a student health service.” Thus UHS’s failure to screen for cases of severe mental illness is inexplicable as well as tragic. Even if Tadesse did not disclose her homicidal and suicidal thoughts, she went to UHS because she felt profoundly alienated, a symptom often seen in major depression. If she had been screened and referred to an MD, she might have been successfully treated.

Lack of Coverage
Thernstrom is courageous enough to discuss the paucity of treatment options available to students who suffer from severe mental illness, even when they are correctly diagnosed. UHS’s own personnel admit that the facility is not equipped to handle long-term, intensive treatment. But the insurance plan forced on all students without their own coverage is typical in that its provisions for mental health are stingy, especially compared to its coverage of physical illness. The plan, which covers services provided outside UHS, gives students only $500 worth of outpatient treatment (and 60 days of inpatient), which probably translates to fewer than five visits to a clinician in a year. (Some Harvard administrators claim that the Bureau of Study Counsel helps take up the slack, but the BSC’s clinical staff does not include any MDs or nurse practitioners, so it cannot prescribe medication.) While Thernstrom makes good points, the conspiratorial tone she uses to talk about Harvard undercuts her content—in truth, the lack of parity in mental health coverage is a catastrophe that extends far beyond Harvard.

I think, though, that Thernstrom’s instinct in linking the structural problems with mental health services to Harvard’s climate of denial is probably right. The most damning aspect of the discovery that Tadesse was seen by a UHS therapist is that Harvard had specifically denied that fact. Similarly, Thernstrom reveals that Ansgar Hansen, an off-campus Dunster affiliate who committed suicide in early 1995, was being counseled by Senior Tutor Suzi Naiburg at the time of his death, contrary to Naiburg’s public statements. Harvard, which could have held this information confidential, lied about it instead—a strange choice in light of the University’s confidence that its student services are irreproachable. While Harvard cannot be blamed for the Dunster House tragedy, it is subject to one categorical criticism: it has refused to even consider that the tragedy might indicate that it neglects its students; in fact, it has refused to discuss its role in the tragedy at all. What Liem told Boston magazine, “That [Tadesse] could keep [her problems] to herself without any indication to others, I find it remarkable,” was just the party line. Dunster affiliate Harvey Silverglate has it right, for once, when he says that Harvard’s public silence “is precisely part of the problem. The outrage is that they’re [Harvard’s administration] more interested in preserving the reputation of the university, when its real interest should be in getting people to talk about the tragedy as much as possible to figure out what went wrong.” Harvard’s silence is personally offensive as well: those of us who knew Sinedu and Trang found it very strange to return in the fall of 1995 to a campus which almost never mentioned them.

Unclear Motives
Thernstrom deserves some credit—her book does talk intelligently about the tragedy, and seems to be prompting dialogue at Harvard as well as outside it. And although Harvard eclipses other aspects of the tragedy in Thernstrom’s treatment, she writes thoughtfully about other issues, such as the isolation that afflicted Tadesse as an Ethiopian immigrant. Even so, Thernstrom’s motives remain unclear. When she writes about the attempts of Harvard bureaucrats to stymie her investigation, she describes the change in her own feelings toward Harvard; it’s interesting stuff (despite its petulant tone), but it sounds a little like an inappropriate identification with Tadesse. Just because Harvard doesn’t comply with the requests of a New Yorker reporter doesn’t mean that that reporter knows how it feels to be a socially awkward, poor, 21-year-old foreign student. In fact, some of Thernstrom’s personal experience is searingly relevant: when she was an undergraduate, her best friend, Roberta (Bibi) Lee, was murdered by a man Lee was dating. But she mentions the incident only infrequently in Halfway Heaven.

My questions regarding Thernstrom’s intentions were answered when I read the author’s book about Lee, The Dead Girl. The Dead Girl is a wildly intriguing, manifestly sincere, 400+-page memoir of Lee’s life and examination of her death that makes almost no reference to domestic violence as a broader social issue. Clearly Lee’s murder was an instance of a wider phenomenon, and it seems likely that Thernstrom’s detailed narration of it could contribute to our understanding of domestic violence (and, incidentally, putting the issue into political terms might have helped Thernstrom marshal her emotions). But The Dead Girl is worthwhile despite this lack of scope. And to the extent that Halfway Heaven depicts the individuals Trang Ho and Sinedu Tadesse, it keeps them from becoming, as Thernstrom kept Roberta Lee from becoming,

“any Dead Girl … who died young and violently, who was beautiful but tragic, and whose memory people mourn … [Sadness] is seductive if you tell it well. People will cry for the girl who died if you tell it well enough, although all that is said in that kind of story is that the girl is dead. [She] is forgotten among the glamour of symbolism, the pose of the photo, the closure of narrative.”
Politics of the Personal
This passage could be used to justify Thernstrom’s focus, but Halfway Heaven’s single-minded pursuit of the personal is still objectionable in light of its blatantly political implications. Thernstrom sets down the ways in which Harvard failed Tadesse and Ho in exhaustive detail, but she balks at analyzing the story closely or taking the next logical step: explaining how Harvard could keep from failing other students like them. Doing so would not commemorate what was unique about them, but it would still be a way to honor them. Thernstrom’s emphasis on narrative is most distasteful when the subject of the narrative is Harvard. Harvard is a glamorous subject for readers outside it, a subject uniquely accessible to Thernstrom, and (perhaps because it’s a subject) she points out its flaws but does not suggest how it can be changed—all very well, unless you have a bigger stake in Harvard’s character because you happen to live here. What is “personal” about Harvard as an institution is necessarily political for us.

12 Jul 2018 sye   » (Journeyer)

古之所謂豪傑之士者,必有過人之節。人情有所不能忍者,匹夫見辱,拔劍而起,挺身而鬥,此不足爲勇也。天下有大勇者,卒然臨之而不驚,無故加之而不怒。此其所挾持者甚大,而其志甚遠也。

——北宋 · 蘇轼 · 《留侯論》

11 Jul 2018 sye   » (Journeyer)

眾芳搖落獨暄妍,
占斷風情向小園。
疏影橫斜水清淺,
暗香浮動月黃昏。
霜禽欲下先偷眼,
粉蝶如知合斷魂。
幸有微吟可相狎,
不須檀板共金樽。

When everything has faded they alone shine forth,
encroaching on the charms of smaller gardens.
Their scattered shadows fall lightly on clear water,
their subtle scent pervades the moonlit dusk.
Snowbirds look again before they land,
butterflies would faint if they but knew.
Thankfully I can flirt in whispered verse,
I don't need a sounding board or winecup.

source: https://en.wikipedia.org/wiki/Prunus_mume

8 Jul 2018 sye   » (Journeyer)

卜算子·咏梅
宋代:陆游

驿外断桥边,寂寞开无主。已是黄昏独自愁,更著风和雨。
无意苦争春,一任群芳妒。零落成泥碾作尘,只有香如故。


By a broken bridge of deserted outpost,
No more master no new post
yet opens spring plum blossom

Dusk falling, its melancholy is itself
or perhaps wind and rain in its company.

Willingly to let spring season hurry by,
full of envies from hundred other blossoming flowers

Its kindred self being scattered and turning into dust
Only a whiff of sweet scent lingered long after.



卜算子1·咏梅 by Mao Zedong

读陆游咏梅词2,反其义而用之。

风雨送春归3,飞雪迎春到。已是悬崖百丈冰,犹4有花枝俏。
俏5也不争春,只把春来报。待到山花烂漫6时,她在丛中笑。

28 Jun 2018 sye   » (Journeyer)

Voting right, what counts as a vote in our civil society?
{ this article didn't pass the approval thresh hold on by alienable admin... in June 2018 - the gist of complaint is about Quora moved _all_ of my past 'comment' to questions on their site )

One always had to pick a battle to fight, so that the next Joe might gain benefit of your fight. Why Quora.com requires stringent 'naming policy'? Their rep even asked me to provide government issued ID for my legal name verification. I've been on the internet governance since 1995(?), so I have quite some baggage to wish the Net do more than e-commerce! All I wish to 'express' on Quora is to vote other's saying UP or Down... but I need to give AWAY my Identity for doing that? What State of Union are we living NOW ?

And my rational is anything said to a total stranger via internet should NOT be construed as 'legally' binding utterance. As there is too many abuses from all sides, I am unmoved on my own resolve. Our lack of intelligence and common sense at maintain any meaningful dialogue as a nation of all people has already been severely curtailed due to bankruptcy in literature and art of letter in general. ( let alone interpretive power in 'other' tongues.)

None the less, it is interesting to read others opinion on this strictly 'enforced' policy

https://www.usatoday.com/story...
https://www.quora.com/Do-I-hav...
https://www.quora.com/Why-is-Q...

27 Jun 2018 xerox   » (Master)

Deals of the day-Mergers and acquisitions
(Adds Oetker Group, LINET Group)

June 19 (Reuters) - The following bids, mergers, acquisitions and disposals were reported by 2000 GMT on Tuesday:

** Germany's family-owned Oetker Group has acquisition targets in its sights after selling the Hamburg Sued shipping line to Danish giant Maersk for 3.7 billion euros ($4.28 billion) last year, the company's finance chief said.

** European hospital and nursing bed maker LINET Group is in talks with private equity firms interested in buying a stake in the company, sources with knowledge of the deal said.

** Videogame and electronics retailer GameStop Corp confirmed that it is in exploratory talks with third parties about a possible transaction.

** BHP, has agreed to sell Cerro Colorado copper mine to private equity fund EMR Capital, two sources close to the deal said.

** Private equity firm Veritas Capital will buy Cotiviti Holdings Inc in a deal valued at $4.9 billion, the U.S. healthcare analytics company said.

** The chief executive of doBank said Italy's biggest debt servicing firm would take part in a bad loan sale by Italian lender Banco BPM.

** Norwegian Air Shuttle is reaching a size at which it can be profitable, its founder and CEO said, while reiterating that he will not block a sale of the budget carrier if other shareholders want out.

** Cheerleading uniform retailer Varsity Brands Inc said it will be bought by private equity firm Bain Capital.

** Swiss drugmaker Roche is paying $2.4 billion to buy the rest of Foundation Medicine, raising its bet on the U.S. genomic profiling group's ability to personalize cancer care.

** UK-based packaging group DS Smith said it would look to raise around 1 billion pounds ($1.32 billion) via a rights issue to help fund its biggest-ever acquisition of Spanish rival Europac.

** German consumer electronics group Ceconomy said it expects to strike a deal shortly to sell its loss-making Russian business to Russia's Safmar group, and take a 15 percent stake in Safmar's M.video.

** Deutsche Bank is selling a $1 billion portfolio of legacy shipping loans to an entity owned by funds managed by Oak Hill Advisors and Varde Partners, it said.

** Australian iron ore miner Atlas Iron said it would give Mineral Resources three business days to match a buyout offer made from Hancock Prospecting.

** Insurance Australia Group (IAG) said it will sell its Thai and Indonesian operations to Japanese insurer Tokio Marine Holdings for A$525 million ($390 million).

** Shareholders in South Africa's Murray & Roberts MURJ.J voted for the company to look into a potential tie up with construction rival Aveng AEGJ.J, sending Aveng's shares around 25 percent higher.

** The Abu Dhabi Investment Authority (ADIA) said its private equity department would acquire a stake of up to 21.4 percent in Pension Insurance Corporation Group from funds advised by private equity firm J.C. Flowers & Co.

** A unit of Abu Dhabi Financial Group has made a conditional offer to buy private equity firm Abraaj's investment management business for $50 million, according to a document reviewed by Reuters. (Compiled by Karan Nagarkatti and Vibhuti Sharma in Bengaluru)

24 Jun 2018 2bruce   » (Observer)

一竅不通

台上数盆梅,
临门静静开。
不招蜂与蝶,
唯待小龙来。

台下几枝蘭
及时悠悠放
不惹鷹与雕
唯恐洋秀才。

六月 2018 - 受 魏兄 启蒙

15 Jun 2018 LaForge   » (Master)

Re-launching openmoko USB Product ID and Ethernet OUI registry

Some time after Openmoko went out of business, they made available their USB Vendor IDs and IEEE OUI (Ethernet MAC address prefix) available to Open Source Hardware / FOSS projects.

After maintaining that for some years myself, I was unable to find time to continue the work and I had handed it over some time ago to two volunteers. However, as things go, those volunteers also stopped to respond to PID / OUI requests, and we're now launching the third attempt of continuing this service.

As the openmoko.org wiki will soon be moved into an archive of static web pages only, we're also moving the list of allocated PID and OUIs into a git repository.

Since git.openmoko.org is also about to be decommissioned, the repository is now at https://github.com/openmoko/openmoko-usb-oui, next to all the archived openmoko.org repository mirrors.

This also means that in addition to sending an e-mail application for getting an allocation in those ranges, you can now send a pull-request via github.

Thanks to cuvoodoo for volunteering to maintain the Openmoko USB PID and IEEE OUI allocations from now on!

Syndicated 2018-06-08 22:00:00 from LaForge's home page

15 Jun 2018 benad   » (Observer)

Watching YouTube and Twitch with MPV

My biggest annoyance with my Ubuntu 16.04 Linux laptop is that watching a video in a web browser takes way too much CPU. Maybe it’s because I use a high-DPI display, maybe it’s the version of Unity that I’m using, I can’t tell. I’ve tried tweaking obscure Google Chrome options to enable hardware acceleration and installed extensions to force YouTube to use H.264, with little to no difference. I’ve also tried using other web browsers like the latest Firefox.

All the while, the MPV video player, a descendent of MPlayer, played any video I’ve thrown at it will little CPU usage and with full hardware acceleration. What if I could stream at least YouTube and Twitch directly to it?

Twitch

For Twitch, there is a command-line Python 3 tool called Streamlink that can lauch MPV for many video streaming web sites, including Twitch.

  $ sudo -H pip install streamlink
$ streamlink --player mpv https://www.twitch.tv/PreviouslyRecorded_Live best

For a nicer GUI experience to find and view Twitch streams, you can install Streamlink Twitch GUI. It also makes it easy to launch both the video and the chat room of a stream, and get notifications when a channel you follow goes live. Make sure to select MPV in the settings of the GUI if you prefer it over VLC (like I do).

YouTube

For YouTube, I found the mps-youtube tool. It is designed to play YouTube music video playlists, but you can enable video display and play individual video pages.

In my tests, version 0.2.7 worked well for me, though later versions had issues.

  $ sudo -H pip install youtube-dl mps-youtube==0.2.7
$ mpsyt
> set show_video true
> exit
$ mpsyt playurl https://www.youtube.com/watch?v=wcnBl6gNIhQ

Syndicated 2018-05-08 23:47:22 from Benad's Blog

15 Jun 2018 cbbrowne   » (Master)

PGCon 2018 Unconference

I attended the PGCon 2018 Developer Unconference, on May 30, 2018, which had, as always, a goodly mixture of discussions of things in progress.

Schema Deployment

I proposed a discussion of schema deployment methods; it fell just short of attracting enough interest to get a room. A few people asked me in passing about what I’d had in mind; I’ll point at the Github project, Mahout, which indicates the set of “agenda” that I have in the matter.

Mahout is a lightweight tool (e.g. – needs Bash, psql, and the most sophisticated shell thing needed is tsort), which, being PostgreSQL-specific, could readily be extended to support PG-specific tooling such as Slony.

In the documentation for Mahout, I describe my goals for it, and the things I hope it solves more satisfactorily than some of the other tools out there. I’d be particularly keen on getting any input as to useful purposes that point to changes in functionality.

JIT Compilation

– Andres Freund
– Biggest benefit comes in aggregate processing, that is where there is huge computational work
– planning is presently too simplistic
– no cacheing of compiled JIT code
– code is somewhat slow in some cases
– JIT compilation of COPY would probably be helpful
– COPY, cuts out a lot of presently kludgy C code
– Sorts
– hashing for hash aggregates and hash joins, there is already a prototype…
– interesting idea to capture generated code in a table (Jeff)
– either C or LLVM bitcode
– bitcode may be architecture-dependent
– want better EXPLAIN [ANALYZE] output (Teodor)
– better code generation for expression evaluation (Andres)
– Presently no Windows support
– Once you have cacheing, OLTP performance will improve, but we’re certainly not there now
– local cache, initially; eventually a global cache
– LRU cache
– If I generated much the same code last time, can reuse the compiled code
– would move some work from executor to the planner, but this is a pretty deep architectural change for now
– can definitely get degenerate optimization cases; gotta watch out for that
– generated code is way denser than the executor plans, so there are cases of significant improvements in memory usage
– Incremental JIT compilation (do it in background, after starting query, but before execution)
– impact of threading? Worker backends + data marshalling?

Connection pooler – Odyssey

– Multithreaded connection pooler and request router
– Open source release
Yandex/Odyssey @ GitHub
– Multithreaded via worker thread
– each thread arranges authentication and proxying of client-to-server and server-to-client requests
– worker threads share global server connection pools
– SSL/TLS supported
– tracks transaction state
– can emit CANCEL on connections and ROLLBACK of abandoned transactions before returning connection to pool
– Pools defined as pair of DB/User
– Each pool can authenticate separately and have different mode/limit settings
– UUID identifiers for each connection
– Log events and client error responses include the UUID

Monitoring

– Greg Stark
– Splunk with alerts based on log data
– Nice to have things actively exported by PostgreSQL
– Exposing
– Aggregating
– Reporting
– Error reporting
– Log files too chatty, lot of data all together
– Could different data be separated?
– But how about when it needs to be correlated?
– Sensitive data…
– Too much parsing needs to be done
– Loading into DB makes it structured, but recursive problems, and can overload the DB
– Metrics
– start with What You Want Measured…
– Rates of many things
– vacuum activity
– WAL generation
– error rates
– index usages
– violation statistics, rates of rollbacks and errors
– Nice to have…
– pg stats with numbers of violations and contentions
– let the stats collector collect a bit more data
– connection usage statistics
– Some tools
– Jaeger – JaegerTracing
Zipkin – distributed tracing system to find latency issues in microservice architectures
Opentracing – vender neutral APIs and instrumentation for distributed tracing
– Can there be a “pg stat user table” indicating bloat information?

Query Optimization with Partitioned Tables

– Planned improvements in PG11
– Partition wise pairs
– Partition wise aggregation
– Partition pruning
– Planning time
– Runtime

TDE – Transparent Data Encryption

– Inshung Moon
– Buffer level encryption/decryption
– Per table encryption
– Perhaps should be per-column???
– 2-tier encryption key management
– Working with external key management services (KMS)
– WAL encryption
– only doing encryption on parts other than header
– Nice to have it on LOB (large objects API) too, but no easy way…
– Log file data needs to be encrypted before submission to destinations

Concerns

– Encryption of indexes is troublesome
– You lose the usefulness of ordering of disk
– Table added with a per-table/column private key
– What if some data seems to be exposed? Need to generate new key
and rewrite? This would be arbitrarily expensive…
– Changing master key is easy, as long as the function for
generating the private symmetric (per-table key) is symmetric

Threat model

– Translucent Databases
– Peter Wayner
– Order preserving encryption
– Agrawal encryption scheme
Order Preserving Encryption for Numeric Data, by Agrawal, Kernan, Srikant, Xu
IBM Almaden
SIGMOD paper

Syndicated 2018-06-11 16:47:54 from linuxdatabases.info

15 Jun 2018 elwell   » (Observer)

Overlaying SLURM job timings on Grafana plots

As you may have noticed, I'm quite fond of Grafana and use it at home and work. One of the dashboards I have at work is the general state of our lustre filesystems, showing IO and metadata traffic, collected by a custom python script (I'm working on converting this to a real collectd python plugin) which stores the data in an influxDB.

I've since written a small python script that talks to our SLURM accounting DB, so that given a jobID, we can get the start/end times and overlay those using the annotations API. One minor niggle in that the API expects epoch milliseconds, and seems to be tied to the TZ of the browser that generated the API key.

however...

~$ annotate_job 2924399
Found the following job:
   User: bskjerven (pawsey0001)
   Cluster: magnus, Partition: workq, QOS: normal
   Nodes: 768, CPUs: 36864
   Start: 2018-06-11 17:23:22, End: 2018-06-11 19:54:44
Got something back - Annotate? (y/n) y
200 - Annotation added

and lo - 


Syndicated 2018-06-14 12:14:00 (Updated 2018-06-14 12:15:24) from Andrew Elwell

15 Jun 2018 wingo   » (Master)

correct or inotify: pick one

Let's say you decide that you'd like to see what some other processes on your system are doing to a subtree of the file system. You don't want to have to change how those processes work -- you just want to see what files those processes create and delete.

One approach would be to just scan the file-system tree periodically, enumerating its contents. But when the file system tree is large and the change rate is low, that's not an optimal thing to do.

Fortunately, Linux provides an API to allow a process to receive notifications on file-system change events, called inotify. So you open up the inotify(7) manual page, and are greeted with this:

With careful programming, an application can use inotify to efficiently monitor and cache the state of a set of filesystem objects. However, robust applications should allow for the fact that bugs in the monitoring logic or races of the kind described below may leave the cache inconsistent with the filesystem state. It is probably wise to do some consistency checking, and rebuild the cache when inconsistencies are detected.

It's not exactly reassuring is it? I mean, "you had one job" and all.

Reading down a bit farther, I thought that with some "careful programming", I could get by. After a day of trying, I am now certain that it is impossible to build a correct recursive directory monitor with inotify, and I am not even sure that "good enough" solutions exist.

pitfall the first: buffer overflow

Fundamentally, inotify races the monitoring process with all other processes on the system. Events are delivered to the monitoring process via a fixed-size buffer that can overflow, and the monitoring process provides no back-pressure on the system's rate of filesystem modifications. With inotify, you have to be ready to lose events.

This I think is probably the easiest limitation to work around. The kernel can let you know when the buffer overflows, and you can tweak the buffer size. Still, it's a first indication that perfect is not possible.

pitfall the second: now you see it, now you don't

This one is the real kicker. Say you get an event that says that a file "frenemies.txt" has been created in the directory "/contacts/". You go to open the file -- but is it still there? By the time you get around to looking for it, it could have been deleted, or renamed, or maybe even created again or replaced! This is a TOCTTOU race, built-in to the inotify API. It is literally impossible to use inotify without this class of error.

The canonical solution to this kind of issue in the kernel is to use file descriptors instead. Instead of or possibly in addition to getting a name with the file change event, you get a descriptor to a (possibly-unlinked) open file, which you would then be responsible for closing. But that's not what inotify does. Oh well!

pitfall the third: race conditions between inotify instances

When you inotify a directory, you get change notifications for just that directory. If you want to get change notifications for subdirectories, you need to open more inotify instances and poll on them all. However now you have N2 problems: as poll and the like return an unordered set of readable file descriptors, each with their own ordering, you no longer have access to a linear order in which changes occurred.

It is impossible to build a recursive directory watcher that definitively says "ok, first /contacts/frenemies.txt was created, then /contacts was renamed to /peeps, ..." because you have no ordering between the different watches. You don't know that there was ever even a time that /contacts/frenemies.txt was an accessible file name; it could have been only ever openable as /peeps/frenemies.txt.

Of course, this is the most basic ordering problem. If you are building a monitoring tool that actually wants to open files -- good luck bubster! It literally cannot be correct. (It might work well enough, of course.)

reflections

As far as I am aware, inotify came out to address the needs of desktop search tools like the belated Beagle (11/10 good pupper just trying to get his pup on). Especially in the days of spinning metal, grovelling over the whole hard-drive was a real non-starter, especially if the search database should to be up-to-date.

But after looking into inotify, I start to see why someone at Google said that desktop search was in some ways harder than web search -- I mean we all struggle to find files on our own machines, even now, 15 years after the whole dnotify/inotify thing started. Part of it is that the given the choice between supporting reliable, fool-proof file system indexes on the one hand, and overclocking the IOPS benchmarks on the other, the kernel gave us inotify. I understand it, but inotify still sucks.

I dunno about you all but whenever I've had to document such an egregious uncorrectable failure mode as any of the ones in the inotify manual, I have rewritten the software instead. In that spirit, I hope that some day we shall send inotify to the pet cemetery, to rest in peace beside Beagle.

Syndicated 2018-05-21 14:29:32 from wingolog

15 Jun 2018 zeenix   » (Journeyer)

Collabora and GStreamer spring in Sweden

Earlier this month, a few of us from Collabora, Olivier Crête, Nicolas Dufresne, George Kiagiadakis and I attended the GStreamer Spring Hackfest in Lund, Sweden. Hosted by Axis Communications (who uses GStreamer in their surveillance cameras for many years now), it was a great opportunity for the GStreamer community to touch base and work on open bugs and pet projects.



While I've been involved in the GStreamer project in the past, it was my first GStreamer hackfest. While a lot was achieved during the event, the most exciting outcomes were no doubt the closing of more than 350 bugs, and the agreement on a transition plan to move to GitLab.

Overall, the hackfest was very productive, with each member of our team managing to progress in their list of tasks while all taking part in bug triaging & cleaning in preparation of moving GStreamer's issue tracking to GitLab.

George spent time working on improving the new library API that is needed to introduce support for the non-interleaved audio layout, discussed a gst-rtsp-server issue with the Axis team, and merged all qt-gstreamer patches that were lying around in bugzilla and resolved all reported bugs, then declared it as unmaintained.

For his part, Nicolas participated in the planar audio format and split field interlaced video support work, started looking at adding per element latency tracing to GStreamer's existing latency tracer, and also discussed GStreamer CI, which will also move to GitLab to be able to run on pull requests also.

Olivier, during the first day, focused on the collective effort of reviewing all of the open bugs, managing to close a number of them while confirming and commenting on others. He also merged some outstanding patches he had (stay tuned for more details on those), and forward ported gst-validate for Android with the goal of running the CI on Android. He also merged a series of patches that enable bitcode embedding on the iOS target with the eventual goal of supporting tvOS as well.

As for myself, I mainly worked on (or rather started to work on) split-field interlacing support in GStreamer, adding relevant formats and modes in the GStreamer video library. In addition, as a Meson developer (Nirbheek Chauhan) was present, I took the opportunity to discuss with him the last bit of porting build system of Geoclue to Meson, a side project I've been working on. It helped me get it done faster but also helped Nirbheek find some issues in Meson and fix them!

All in all, my first GStreamer hackfest was an awesome experience (even though I was not feeling well). It was also very nice to hangout and socialize with old and new friends in the GStreamer community after a long time. Many thanks again to Axis for hosting us in their offices! See you at the GStreamer Conference this fall!

Syndicated 2018-05-18 14:59:00 (Updated 2018-05-18 14:59:32) from zeenix

15 Jun 2018 sye   » (Journeyer)

《我所知道的李春平》

我认识李春平是一九六九年,但不熟。一九八三年又见稍微熟悉。一九九二年他从美国回来又见过几次。你转发的微信内容需要更正澄清一下,这样你会心里有数。
1.李春平的美国老太太根本不是明星,而是教师,微信照片借用的是美国影星。
2.微信上说李春平从美国带回七十亿美元,纯粹夸大其词。九十年 代初中国总的外汇儲备不过几十亿美元,李春平难道富可敌国吗?据我所知,他当时告诉我是二千多万美元。
3.李春平识的美国老太太,为什么十年沒结婚?因为他俩是倒卖中国古玩家具的伙伴。八十年代初俩人仅偷运倒卖明代宫庭一个黄花梨团龙顶厢柜,赚了几百万美元。李春平是老太太下线,负责在中国收货。
4.美国老太太早在病逝前俩人办了结婚手续。因李春平要出国,沒理由。老太太以结婚为由为他办理了出国手续。如此不用花钱,俩人都合适。哪有什么忘年之爱情,纯粹瞎编。
5.李春平在老太太病逝后裹挟其遗产,仓促回国,至今再未踏上美国的土地。为什么?因为老太太亲屬在追杀他,并要求美国法院追索遗产。李春平的美国护照现已过期。他拿的是中国永久居留权。
6.李春平九十年代中重操旧业,勾结承德避暑山庄仓库主任,偷盗倒卖文物被抓。后由公安部刘德(病逝),北京市局张越(后任河北政法委书记,已落马),俩人幕后活动保释。条件是向北京市局捐献车辆。从此,李搖身变为慈善家。
7.李春平极为嗜赌,目前仍欠下澳门很多睹债未还。其北京春平广场的物业资产,是他从北京的周某人手中讹诈来的。因周某人与李是朋友,搞地产,出点问题被拘押。托李春平保释,李假借张越等人需要好处名义,将周某名下资产转到自己名下。除此李春平除了倒卖古董,并未做过任何赚钱生意。
8.李春平前年九月因向张越等人行贿问题东窗事发,被中纪委带走配合调查三个月。他在审查期间刚开始,就马上招供,连小时候上学偷橡皮的事都交待了。后见中纪委仍不放人,索性装疯卖傻,假装老年痴呆,屎尿失禁。后保释出来。9.李春平出来后急于还债,将所有资产托管于一家民企,替他垫付约一亿多现金。那家民企转手又将他托管的物业抵押给银行借出两亿元。现在李春平与这家民企打官司。声称老年痴呆,无自主行为能力。原托管协议做废。
10.李春平原与他身边一位保姆有个私生子,但是李不承认。女方带着孩子做DNA测试,李春平担心女方要挟自己剩下的一点财产。立即与身边另一位四川保姆办了结婚手续。现在小保姆自认为草鸡变凤凰,成了李春平的正妻。坚决要续承李的剩余财产,与李的妹妹(两个亲妹)打成一锅粥。
10.李春平现在为了躲避澳门债主,与小保姆等人躲在北京郊区一所租住的小宾馆房子里。这就是真实的李春平。
(作者为百万庄朋友)[CoolGuy]

5 Jun 2018 sye   » (Journeyer)

old old news...

10月30日下午,西温莎市华人市长薛信夫在普兰斯堡召开记者会,宣布支持Mercer郡、Middlesex郡民主党候选人士。希望广大华人选民在11月8日星期二早6点至晚8点,前往投票地点,为他支持的候选人士投上一票。网络电视“北美新天地”前往录像向华人社区播放。此前,薛信夫、俞美美、张迎潮等发出公开信支持Greenstein连任州议员。

    在当天的记者发布会上,薛信夫市长首先与D-14选区的州Senator Linda Greenstein、Assemblyman Wayne DeAngelo、Assemblyman Daniel Benson 合影。支持他们竞选连任。第14区(D-14)包括Hamilton,Monroe,Jamesburg,Plainsboro,Cranbury,Hightstown,,East Windsor, Robbinsville,Spotswood等,居住着大量的华人。这三位议员在过去的几年中为社区作了大量工作。包括:平衡经济;支持公共教育;重视对基础设施的投资、发展绿色能源技术等。

  薛市长表示鼎力支持“西温莎市向前推进” 团队的 George Borek、Lindsay Diehl、Kristina Samonte竞选西温莎市的市议员。他们若能当选,将会配合薛市长建设西温莎市的新 “交通中心”( “Transit Village” )。该项目是西温莎市近年热议话题,得到了该市大多数不同族裔、阶层、年龄的选民的支持。

  薛市长还支持Peter Cantu连任普兰斯堡市长。Peter Cantu已在普兰斯堡市任市长31年。在其任内将普兰斯堡由一个普通小村庄发展成为欣欣向荣的居民城市。近年该市新建成的图书馆、普林斯顿大学医院让普兰斯堡朝气焕发。最新消息,原美林集团、Blackrock位于普兰斯堡市的办公楼将要经过2亿美元的整修,变为Novo Nordisk的全球总部。

  西温莎市和普兰斯堡市分属于Mercer郡和Middlesex郡,但两市公立学校合并,属同一学区。西温莎-普兰斯堡南北两所联合高中,今年在新州高中综合评估中分获全州第一、二名。两市优良的生活品质吸引了大量在纽约、费城工作的专业精英人士来此安家落户。全美10大火车站之一的Princeton Junction火车站位于西温莎。清新舒适安全的乡村生活、优良的教育质量、便利的交通、靠近普林斯顿大学,使得两市分别被Forbes杂志评为全国最适合生活、孩子成长、创业的城市之一。薛信夫任西温莎市长14年,Peter Cantu任普兰斯堡市长31年,将这两个城市打造成今天的规模。

  薛市长最后表示支持Mercer郡Brian Hughes、Lucy Walter、John Cimino、Sam Frisby竞选County Executives、Freeholder。

  11月第一周,薛信夫市长将在上午前往Princeton Junction火车站与广大通勤人士握手拜票。11月6日星期日,薛市长将携带以上各位候选人前往华夏普兰斯堡中文学校拜票。

23 May 2018 sye   » (Journeyer)

https://www.wsj.com/articles/wells-fargo-ceo-stumpf-to-retire-1476306019

http://www.chicagotribune.com/business/columnists/ct-hiltzik-wells-fargo-scandal-arbitration-20170403-story.html

16 May 2018 xerox   » (Master)

http://nonfictionwritersconference.com/wp-content/uploads/2018/04/NFWC-Past-Speakers-2018.jpg

14 May 2018 sye   » (Journeyer)

1-855-593-9258 ( magazine discount center) cancel anytime by calling #... subscribe 4 Vogue (12/yr) Vanity Fair(12/yr), Veranda (6/hr) & Field/Stream (6/hr)

provides this Travel + Leisure Family Club special offer.

OFFER DETAILS
Yes, please enroll me in Travel + Leisure Family Club. Unless I call to cancel before my 30-day free trial ends, I authorize Magazine Discount Center, an authorized reseller of Travel + Leisure Family Club, to charge the credit/debit card I just provided $4.95 monthly until I cancel. I may cancel my membership at any time by calling 1-855-500-4718 and be charged nothing more. Order is subject to approval. All prices are subject to applicable sales tax. For new members only. Offer void in AK, FL, HI, IA, ME, MN, UT,VT, and WI, or APO/FPO addresses. Privacy Policy. Please print/screenshot this page for your records. Enjoy!

10 May 2018 xerox   » (Master)

https://www.gov.uk/government/organisations/intellectual-property-office

"The UK is widely seen as a world leader in enforcement of IP. By working in partnership with law enforcement and industry, the government can deliver an IP environment where legitimate businesses thrive and consumers are protected.

For the time being the UK’s enforcement framework remains unchanged. We are still part of the EU and we will still play a part at the EU Observatory, and in bodies like Europol. The process for intercepting counterfeits and other infringing goods at the border remains unchanged.

The UK remains a part of the EU until the negotiations to exit conclude. We continue to play an active role in the review of the Enforcement Directive, and the Commission’s work on tackling commercial-scale infringement." - OK.

4 May 2018 sye   » (Journeyer)

https://cpb-us-w2.wpmucdn.com/u.osu.edu/dist/b/405/files/2015/12/kowallis-2010-1q41562.pdf

" before we start wagging our pen, we need to decide what our ideology is..." hmm...

15 Jun 2018 LaForge   » (Master)

openmoko.org archive down due to datacenter issues

Unfortunately, since about 11:30 am CEST on MAy 24, openmoko.org is down due to some power outage related issues at Hetzner, the hosting company at which openmoko.org has been hosting for more than a decade now.

The problem seems to have caused quite a lot of fall-out tom many servers (Hetzner is hosting some 200k machines, not sure how many affected, though), and Hetzner is anything but verbose when it comes to actually explaining what the issue is.

All they have published is https://www.hetzner-status.de/en.html#8842 - which is rather tight lipped about some power grid issues. But then, what do you have UPSs for if not for "a strong voltage reduction in the local power grid"?

The openmoko.org archive machine is running in Hetzner DC10, by the way. This is where they've had the largest number of tickets.

In any case, we'll have to wait for them to resolve their tickets. They appear to be working day and night on that.

I have a number of machines hosted at Hetzner, and I'm actually rather happy that none of the more important systems were affected that long. Some machines simply lost their uplink connectivity for some minutes, while some others were rebooted (power outage). The openmoko.org archive is the only machine that didn't automatically boot after the outage, maybe the power supply needs replacement.

In any case, I hope the service will be back up again soon.

btw: Guess who's been paying for hosting costs ever since Openmoko, Inc. has shut down? Yes, yours truly. It was OK for something like 9 years, but I want to recursively pull the dynamic content through some cache, which can then be made permanent. The resulting static archive can then be moved to some VM somewhere, without requiring a dedicated root server. That should reduce the costs down to almost nothing.

Syndicated 2018-05-24 22:00:00 from LaForge's home page

3 May 2018 caolan   » (Master)

Some Native GTK Dialogs in LibreOffice