Posts

平凡人的因缘 --- 观后感

  《前度人生》两个儿时亲密伙伴因为一方要移民而只能分开,但一直心里惦记着对方,“藕断丝连” 的故事。 非常贴近现实的作品,没有轰轰烈烈的跨越国界和大洋阻隔而一定要在一起的爱情,只有基于现实和自身追求而做的取舍和平衡,但是心里依然保留着那丝惦记和牵挂,抑或是不舍。这就是所谓的因缘吧。 人与人之间就是这样,有些人只是你人生中的过客,在某个时间点有一段共同的经历,在这个过程中有快乐,有爱,可能还有痛苦和恨,然后又因为各种原因而断了联系。另一些人则会让你一直有所惦念,虽然远隔万里但依旧以各种形式保持着联系。 这部电影也很好得诠释人与人之间的这种因缘,男女主在儿童期,青春期,成熟期这三个不同时期的交往片段突出了因缘的感觉,虽然在这些交往中没有过于强烈的情感表达,但是这正是普通人的交往方式吧,平淡、自制、但又温情脉脉,一切强烈复杂的情感都蕴藏在克制的举动和言语下。这部电影把这些东西通过简单的台词表现得玲离尽致。 令我印象最深的是男主对女主说的一段话,大致意思是“ 我喜欢你,因为你敢于追求自己想要的东西,如果你当时不选择出国,不去追求你的理想,那你也就不是我喜欢的那个人了” 这就是因缘吧。 看完之后回想,如果当初自己没有出国,只是一直呆在老家,对这些或许不会有什么体会。因为出国,因为身处人员流动性巨大的环境,才深刻体会到因缘这个词的含义。

一个在中央集权和地方自治之间来回摇摆的案例----- 《讲谈社日本史》笔记 & 思考

  这套书有很多册,中国只挑选引进了其中几册 王权的诞生:弥生时代至古坟时代 弥生时代 相当于中国战国到三国时代,再之前还有一册,但是过于原始,材料不可靠,所以没有引进 战国时期中国十分动荡,很多人逃去日本,外加沿海贸易发达,也有很多人去日本做生意,于是把水稻带去了日本,日本学会种植水稻后逐步形成聚落,一个聚落外部一圈有两层壕沟,社会形成阶层,因为种植水稻需要协调人力,需要经验丰富的人传授技术,所以高阶的人能指挥低阶的人做苦力活。古代自然资源相对丰富,所以人口太多时相比打仗抢夺资源,开辟荒地是更加好的应对方式,低阶层的人会被派去开辟荒地。青铜器的引入使得日本开始有祭祀,进一步连接各个聚落,形成城市群。之后统治者依靠对外打仗凝聚内部力量,因为打仗需要调集人力物力,统治者的权力进一步加强。在靠近朝鲜半岛的九州形成倭国这样的早期国家,倭国就是遥远的国家的意思。汉武帝时开疆辟土,在朝鲜半岛设立一些管理机构和势力,有些倒了,但是有些一直存在,倭国和这些在朝鲜半岛的汉朝政权建立联系,进贡,进一步稳固自己的势力。东汉末年,汉朝大乱,九州的倭国失去了和汉朝的联系,于是内部发生了内乱,然后产生了位于奈良的新政权。新政权引入道教,并且进行了一些改变,形成本土宗教,进一步在日本扩大统治力和影响力,同时垄断从中国的铁器进口,甚至在朝鲜半岛设置了一些机构,对其形成一定控制。奈良的政权依赖的是三国时期的公孙氏,后来依赖魏国,因为魏国需要盟友对抗吴国。 从大王到天皇 古坟时代,大概是西晋到南北朝,倭国逐步强大,很多高级古坟墓建立。倭国大王,也称也马台倭国,也马台也是大和的意思,受到朝鲜影响很多,因为很多技术物资都是经过朝鲜进入日本。他们为了获得地位请求当时南朝宋的册封,但是南朝宋给了朝鲜的几个国家册封大将军,对他们之册封将军,没有大。导致他们不满,于是进一步改革。倭国大王通过改革逐渐增强权力,削弱其他部落藩王的力量,主要几个方法,一个是控制朝鲜物资进入日本的通道,这样其他藩王只能依赖他们获取物资。一个是藩王继承权内乱中扶植支持自己的势力。一个是把人口按照职业分类记录。一个是在各个藩王管辖地设置直接收税地,相当于打入藩王管辖地的钉子。之后进入另一个时代,和隋朝交好,在交流中发现自己文字使用的鄙陋,比如天子在中国是至高无上的,在日本只是很普通的神之子的意思。于是进一步引入隋朝的各种...

一部表面上很精彩的科幻片 — 《流浪地球2》观后感

  剧透慎点 这是一部表面看上去很棒的电影。电影各种特效拉满,从视觉到听觉,在amc 的高端放映厅里还能感受到陨石撞击地面的震动冲击感,有种身临其境的感觉。剧情也很丰富,有国际会议演讲的大场面,有惊险刺激的太空航行和战斗,也有细腻的个人亲情、友情、师徒情的纠葛,且这些场面互相穿插,节奏时急时缓,控制得当,没有明显长时间过于缓和无聊的片段,也没有长时间过度紧张激烈的片段。 但是看完之后,表面的冲击在我心里褪去之后,感觉什么也没留下,我的心立刻恢复了往日的平静。为什么呢,也许是因为没有什么真正打动我、让我认同的地方吧。 主旋律 这部片子毕竟是国产片,很多主旋律的内容不知道是主动或被动得被插入剧情之中。例如表现中国比西方更加人道,更有长远规划,突出西方的短视,自私自利,不团结,只顾眼前利益。然而现实呢,最近这一百年的历史,谁更人道不言自明。各种多边协议虽然执行的不完美,但还是起到一定作用,各国也都有付出,例如核武控制的系列协议。而那些目标宏大的长远计划则多缺乏可行性而烂尾收场。 责任 电影中有很多强调责任的场景。例如当一些国家的首脑面对汹涌的民意而不想执行流浪地球计划,周站出来,说我们要负起责任,让人类文明延续。例如对于国际分工,周的属下常常抱怨说不公平,为什么中国付出多,其他国家付出少。周则回应说要讲责任,他们要负起人类兴亡的责任。 责任是什么呢?责任是个人对他人对社会的付出。但是国际层面,国家交往的过程中,领导人承诺国际责任,对他们个人而言确实挣足了道德上的脸面,但最终那些责任都会成为人民的负担。人民具体到每个个体是否真的愿意担负那些责任呢?大部分普通百姓都只是想过完自己的一生,人类文明能否延续对他们来说真的有意义吗?反正人类早晚都会灭亡。文明的延续更多是精英的追求,因为他们的低级欲望都已经满足,所以开始追求更加宏大的东西。 另一个和责任相关的场景是最后要引爆核弹炸毁月球拯救地球,只能人去引爆,且有去无回。在招募志愿者时,中国的队长主动要求50岁以上的出列去执行任务。为什么要50岁以上的人呢?也许是中国文化中年长者自己觉得比年轻人地位更高,所以要担负更多责任。也许是觉得老年人剩下时间不多了,能发挥的作用少了,所以应该在关键时刻被当作炮灰牺牲。 对于个人而言,一般大家确实会认为强者、社会地位高的人要担负更多责任,关键时刻做更多牺牲,例如泰坦尼克...

Software Architecture Books Summary And Highlights -- Part 1 Goal, Introduction And Index

  Goal And Target Audience This is a summary and highlights of 6 software engineering and architecture related books I recently read. All the 6 books are very heavy and interesting. Reading real contents of them is always recommended. The target audience is experienced software engineers who want to learn more in larger system design and architecture. The goal of this article is to provide summaries of the 6 books as well as brief highlights of interesting or important contents from the 6 books so that the target audience could learn the 6 books’ important ideas quickly and read only important chapters and save time. The highlights and summaries will be divided into several general categories. Each category contains a highlight section and a related chapters section. The related chapters section contains all chapter references which are related to the category’s topic. The highlight section contains a brief summary of interesting or important or enlightening contents from the r...

Software Architecture Books Summary And Highlights -- Part 14 Testing

Image
  Highlights Beyoncé Rule: If a product experiences outages or other problems as a result of infrastructure changes, but the issue wasn’t surfaced by tests in our Continuous Integration (CI) system, it is not the fault of the infrastructure change. SWG ch 1 what is software engineering? Test Goal If a fault is present in a system, then we want it to fail during testing as quickly as possible. More emphasis should be placed on finding the most severe faults than on finding other faults. Test writing guideline Control and observe system state record and playback store states in a single place so that it is easy to start a system, subsystem, or component in an arbitrary state for a test, Preprocessor macros, when activated, can expand to state-reporting code or activate probe statements that return or display information, or return control to a testing console. limit nondeterminism Replace real implementation with test mocks usin...

Software Architecture Books Summary And Highlights -- Part 13 Dependency Management

  Dependency Management Highlights Shared Library vs Shared Service The shared library technique is a good approach for homogeneous environments where shared code change is low to moderate. One distinguishing factor about the shared service technique is that the shared code must be in the form of composition, not inheritance. The shared service technique is good to use in highly polyglot environments (those with multiple heterogeneous languages and platforms), and also when shared functionality tends to change often. SAH ch 8 Reuse Patterns Sidecar pattern and service mesh Share common operational lib such as logging, monitoring, service discovery, auth… and connect these lib among services. SAH ch 8 Reuse Patterns Source control vs Dependency-management All else being equal, prefer source control problems over dependency-management problems. Source control problems are a lot easier to think about and a lot cheaper to deal with than dependency-management ones. SWG C...

Software Architecture Books Summary And Highlights -- Part 12 Code Base Management

  Code Base Management Highlights Version controls and branch management branches are a drag on productivity. In many cases we think complex branch and merge strategies are a perceived safety crutch—an attempt to keep trunk stable. As we see throughout this book, there are other ways to achieve that outcome. Long-Lived dev Branches are expensive to maintain and sync developers must not have a choice when adding a dependency onto some library that is already in use in the organization. One native advantage of a many repo approach is that separate repositories are obviously capable of having different sets of authorized developers, visibility, permissions, and so on. Stitching that feature into a monorepo can be done but implies some ongoing carrying costs in terms of customization and maintenance. VCSs will focus on allowing larger repositories with better performance scaling, but also removing the need for larger repositories by providing better mechanisms to stitch them toge...