diff --git a/danci.tex b/danci.tex index 966c31d..cceb34f 100644 --- a/danci.tex +++ b/danci.tex @@ -50,7 +50,12 @@ \item[watch out for] make an effort to be aware of what is happening. so that you'll notice if anything bad or unusual happens. \item[seek out] look for and find. \item[in detail] fully - + \item[recipient] someone who receives something + \item[replca] an accurate copy of something + \item[compliment] 1.to combine well with something, often something that has different qualities;2.to add another thing to something + \item[denote] to mean something + \item[intrinsically] 内在的,本质上的 + \item[] diff --git a/fenbushi.tex b/fenbushi.tex index 00b33f0..073a53d 100644 --- a/fenbushi.tex +++ b/fenbushi.tex @@ -263,6 +263,22 @@ RMI实现: \emph{在组播中的可靠性和排序} 点对点通信中的可靠性:完整性(接收到的和发送的消息是一样的,没有消息传递两次)、有效性(任何要外发的消息最终都会被传递)。在可靠组播中,完整性保证消息至多被正确地传递一次,有效性保证消息最终会被传递。为了扩展语义以覆盖对多个接收者的消息传递,需要增加第三个特性,即协定(agreement),如果消息被传递到一个进程,那么该消息被传递到本组中的所有进程。除了可靠性,组通信要求对传递到多个目的地的消息提供消息相对排序方面的额外保障。 组成员管理四个主要任务:提供组成员改变接口,故障检测,组成员改变时通知成员,执行组地址扩展。 +\section{Publish-subscribe systems} +A publish-subscribe system is a sysem where publishers publish structured events to an event service and subscribers express interest in particular events through subscriptions which can b arbitrary patterns over the structured events. + +Publish-subscribe systems have two main characteristics: +\begin{itemize} + \item Heterogeneity: When event notifications are used as a means of communication, components in a distributed system that were not designed to interoperate can be made to work together. + \item Aysnchronicity: Notifications are sent asynchronously by event-generating publishers to all the subscribers that have expressed an interest in them to prevent publishers needing to synchronize with subscibers-publishers and subscribers need to be decoupled. + +\end{itemize} +a number of schemes defines and considered here in increasing order of sophistication: +\begin{itemize} + \item Channel-based: In this approach,publishers publish events to named channels and subscribers then subscribe to one of these named channels to recieve all events sent to that channel. + \item Topic-based: In this approach, we make the assumption that each notification is expressed in terms of a number of fields, with one field denoting the topic. + \item Content-based approaches are a generalization of topic-based approaches allowing the expression of subscriptions over a range of fields in an event notification. + \item type-based: These approaches are intrinsically linked with object-based approaches where objects have a specified type. +\end{itemize} diff --git a/wenzhang.tex b/wenzhang.tex new file mode 100644 index 0000000..2974ead --- /dev/null +++ b/wenzhang.tex @@ -0,0 +1,50 @@ +\documentclass[a4paper,12pt]{report} +\usepackage[utf8]{inputenc} +\usepackage[UTF8]{ctex} +\usepackage{xcolor} +%\setmainfont{Noto Serif CJK SC} +%\setmainfont{FangSong} +\setmainfont{SimSun} +%\fontsize{16pt} + + +% Title Page +\title{学习过的短文} +\author{行走的芦苇} + + +\begin{document} +\maketitle + +\begin{abstract} +\end{abstract} + +\section{非攻} +今有一人,入人園圃,竊其桃李,衆闻则非之,上为政者得则罚之。此何也,以亏人自利也。至攘人犬豕鸡豚者,其不义又甚入人园圃窃桃李。是何故也?以亏人愈多,其不仁兹甚,罪益厚。至入人栏厩,取人马牛者,其不仁又甚攘人犬豕鸡豚。此何故也?以其亏人愈多。苟亏人愈多,其不仁兹甚,罪益厚。至杀不辜人也,扡其衣裘,取戈剑者,其不义又甚入人栏厩,取人马牛。此何故也?以其亏人愈多。苟亏人愈多,其不仁兹甚矣,罪益厚。当此,天下之君子皆知而非之,谓之不义。今至大为攻国,则弗知非,从而誉之,谓之义。此可谓知义与不义之别乎? + +杀一人,谓这不义,必有一死罪矣。若以此说往,杀十人,十重不义,必有十死罪矣;杀百人,百重不义,必有百死罪矣。当此,天下之君子皆知而非之,谓之不义。今至大为不义,攻国,则弗知非,从而誉之,谓之义。情不知其不义也,故书其言以遗后世;若知其不义,夫奚说书其不义以遗后世哉? + +今有人于此,少见黑曰黑,多见黑曰白,则以此人不知白黑之辩矣;少尝苦曰苦,多尝苦曰甘,则必以此人为不知苦苦之辩矣。今小为非,则知而非之;大为非攻国,则不知非,从而誉之,谓之义,此可谓知义与不义之辨乎?是以知天下之君子也,辨义与不义之乱也。 + +窃钩者诛,窃国者为诸侯。诸侯之门仁义存焉。 + +\section{老子四章} +天下皆知美之为美,其恶已;皆知善之为善,斯不善已。故有无相生,难易相成,长短相形,同下相倾,音声相和,前后相随。是以圣人处无为之事,行不言之教,万物作焉而不辞,生而不有,为而不恃,功成而弗居。夫唯不居,是以不去。 + + + + + + + + + + + + + + + + + +\end{document} diff --git a/yuwen.tex b/yuwen.tex index c8b23fc..4ead91f 100644 --- a/yuwen.tex +++ b/yuwen.tex @@ -597,7 +597,12 @@ 年:收成,冬,有大年;年龄,年几何矣?寿命,小年不及大年。\par 岁:木星;时间、光阴,日月逝矣,岁不我与;\par 箕踞:你簸箕似的蹲在地上,这是一种傲慢的姿态。\par - +非:非难,责备\par +成:定、平定,夫一人善射,百夫决拾,胜未可成也;已定的、现成的,昊天有成命,二后受之;讲和、和解、不打仗,秦晋为成。\par +倾:侧、斜,国有四维,一维绝则倾,二维绝则危,三维绝则覆,四维绝则灭;邪恶、行为不正,淳心以成,其行不倾;倒塌、倾覆,哲夫成城,哲妇倾城;排挤、倾轧,以利相倾;压倒、胜过,势倾天下;钦佩、倾慕,一坐尽倾;倒出来,觞至则倾杯;竭尽、尽其所有,倾家竭产\par +音:乐音,声成文谓之音;声音,鸡狗之音相闻;言辞,德音莫违,及尔同死;消息,常音讯,音信,音书;通荫,鹿死不择音。八音:古代对乐器的统称,指金石土革丝木匏竹八类,如钟、铃属于金类,磬属石类,埙属土类,鼓属革类,琴、瑟属丝类,柷属木类,竽、笙属于匏类,管、箫属竹类。\par +声:言语、音讯,恶声至,必反之;名义,与实相对,臣恐其攻齐为声而以袭秦为实也;名声、声望,声闻邻国,声名鹊起;声势,吾三战而三胜,声威天下;宣布、宣扬,声其罪也;量词,转轴拨弦三两声。\par +相反相成:指两个对立的事物既互相排斥又互相促成。即相反的东西也相互依赖,具有同一性。 @@ -630,9 +635,5 @@ -\section{短文} - - - \end{document} diff --git a/zaji.tex b/zaji.tex index efedd61..d2ce9b1 100644 --- a/zaji.tex +++ b/zaji.tex @@ -61,9 +61,13 @@ 想多读些书,开阔一下眼界,提升一下素养,却老感觉没有时间。 -2024.10.11 自以为是,刚愎自用,不听从意见,事业危矣!感冒,口腔溃疡,搞得我头发胀。从昨天开始恢复锻炼,今天浑身酸疼,这种状态可能要持续1周左右。看了会西游记,觉得八戒特别爱接话茬,然后把气氛烘托起来。我上初三和高中时,也喜欢在课堂上接老师话茬,想来真是不应该。 +2024.10.11 自以为是,刚愎自用,不听从意见,事业危矣!感冒,口腔溃疡,搞得我头发胀。从昨天开始恢复锻炼,今天浑身酸疼,这种状态可能要持续1周左右。看了会西游记,觉得八戒特别爱接话茬,然后把气氛烘托起来。我上初三和高中时,也喜欢在课堂上接老师话茬,真是不应该。 + +2024.10.12 +\strong{我们每个人都是被关进自己认知框架内的囚徒。} 2024.10.13 今天请老领导吃饭。从05年来到这里,在工作和生活中给予了很大的帮助,少走了很多弯路。在单位里,有人愿意带,是非常幸运的事。期间一个新朋友问我从人行到现单位是否后悔。很多人问过我这个问题了,其实这个问题是无解的。大学毕业,本来是分配了工作的,没想到给家人说了句我想回老家工作,就给安排了人行这么好的单位。考研也不是我是多么上进,大多是我哥催着考的。复习时间很短,总共才7个多月,本来是放弃了的,巧的是数学题竟有三道大题是我做过的。上与不上,我纠结了很久。世事难料,就像是被安排的一样,一步步走到现在在处境。很多情况下,当面临选择时,我都要问一下做与不做会不会后悔。 + \chapter{git} git add .命令把所有文件都加进去了,目前采用 git add *.tex ,另一解决方案是编辑.gitignore文件,还没试。