Vuet.js是什么? Vuet.js是给Vue.js提供状态管理的一个工具,与vuex不同,它是一种崇尚规则定制的状态管理模式。事先将状态更新的规则写好,然后将规则注入到组件中,然后状态按照预订的规则来进行更新。github:Vuet.js 主动型和被动型规则 Vuet.js内置了life、man ...
分类:
Web程序 时间:
2020-05-13 17:00:09
阅读次数:
104
DRY原则:(don’t repeat yourself): writing code more than once is not a good fit for a lazy developer ;) It also makes your software more difficult to mai ...
分类:
其他好文 时间:
2020-05-13 11:53:27
阅读次数:
56
You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once. ...
分类:
其他好文 时间:
2020-05-13 10:07:23
阅读次数:
62
Do the Real Thing May, 2020 | Comments | Share Success largely boils down to a simple distinction. It’s glaringly obvious once you see it, but also ea ...
分类:
其他好文 时间:
2020-05-13 09:41:28
阅读次数:
83
讨论一下分布式系统传输过程中常见的at least once 还是 at most once 问题。一般在一次传输过程中,失败与否是使用最大等待时间(记为time out)来判断是否传输成功,如果超过了这个时间,说明传输失败。但是用time out来判断是否传输成功,如果失败的时候无法判断是传送过程 ...
分类:
其他好文 时间:
2020-05-10 17:14:04
阅读次数:
502
进程,系统性能和计划任务 1 进程和内存管理 内核功用:进程管理、内存管理、文件系统、网络功能、驱动程序、安全功能等 1.1 什么是进程 Process: 运行中的程序的一个副本,是被载入内存的一个指令集合,是资源分配的单位 进程ID(Process ID,PID)号码被用来标记各个进程 UID、G ...
分类:
系统相关 时间:
2020-05-10 10:58:03
阅读次数:
111
Anton likes to listen to fairy tales, especially when Danik, Anton's best friend, tells them. Right now Danik tells Anton a fairy tale: "Once upon a t ...
分类:
其他好文 时间:
2020-05-08 16:30:33
阅读次数:
73
Before we start to research tail recursion, let’s first have a look at the normal recursion. A simple factorial implementation by recursion: Let N = 5 ...
分类:
编程语言 时间:
2020-05-07 18:12:04
阅读次数:
95
本文摘自书籍《Flink基础教程》 一、一致性的三种级别 当在分布式系统中引入状态时,自然也引入了一致性问题。一致性实际上是“正确性级别”的另一种说法,即在成功处理故障并恢复之后得到的结果,与没有发生任何故障时得到的结果相比。在流处理中,一致性分为 3 个级别。 at-most-once:数据最多被 ...
分类:
其他好文 时间:
2020-05-06 22:08:07
阅读次数:
113
1.pulsar概述 Apache Pulsar 是灵活的发布-订阅消息系统(Flexible Pub/Sub messaging),采用分层分片架构(backed by durable log/stream storage)。 Apache Pulsar 是一个开源的分布式pub-sub消息系统, ...
分类:
其他好文 时间:
2020-05-06 17:53:05
阅读次数:
75