Chen22'S BLOG

2022年习惯养成

2022年习惯养成#关于习惯这个事情,这么多年来来回回折腾过好多次。我尝试过打卡来监督自己养成某个习惯。曾经弄过一个excel表格,列了十几二十个每天要做的事情,把自己的生活搞得很焦虑。这个文档主要会维护2022要养成的一些习惯,习惯的养成情况以及遇到的困难和阻碍,可能的解决方案以及效果。 技术 Leetcode 每天一道题基本已经能保持。easy和medium的题目问题都不打。har......

DDIA读书笔记-Replication复制(二)

复制(二)#本文是(Designing Data-Intensive Applications)第五章的读书笔记的第二部分。我们在复制(一)中介绍了分布式系统下复制的作用,面临的主要问题并重点介绍了Single-leader Replication(单主机复制)。本文会接着介绍Multi-leader replication。而Leaderless replication会下后续的笔记中讨论......

DDIA读书笔记-Replication复制(一)

Replication复制(一)#Why: 为什么我们需要复制#What: 先说定义,什么是复制: Replication means keeping a copy of the same data on multiple machines that are connected via a network. 用我的话说就是,在一个分布式集群里,为一份数据,维护多分副本,存在多台设备上。 ......

我要开始有规律的写文章了

我要开始有规律的写文章了#起因是前些天读到寫一年技術文章的心得,受到了启发,作者在文章叙述自己1年以来写部落格的心得体会。感兴趣的朋友可以移步去看。这边我摘出几段对我冲击(启发)比较大的文字: 我什麼都不會要寫什麼#這是讓最多人難起步的理由之一 但我開始寫了之後才知道原來寫部落格或寫書不是你會了之後才寫出來教別人 而是你決定要寫了之後 你才開始必須要去會 所以剛寫部落格的時候 不要在乎有沒......

reading-note-technical-writing

Choose strong verbs# Weak Verb Strong Verb The error occurs when clicking the Submit button. Clicking the Submit button triggers the error. This error message happens when… The system gener......

How to document your code

Recently, I need to document my project code. It’s chanllenge since I’ve never done that before. Long story short, finnaly, we pick up Doxygen. It can documenting the code. See Doxygen for more dea......

API Notes: Abstract RDD

Catalog# Reference Outline Reference#Spark3.1.1 API Spark 3.1.1 RDD Outline#In this article, we are going to deeper insight into what is going on with RDD. ...

梁漱溟《深思与省悟》摘抄

梁漱溟《深思与省悟》# 在这个时代的青年,能够把自己安排对了的很少。在这时代,有一个大的欺骗他,或耽误他,容易让他误会,或让他不留心的一件事,就是把欲望当志气。这样的用功,自然不得其方。也许他很卖力气,因为背后存个贪的心,不能不如此。可是他这样卖力气,却很不自然,很苦,且难以长进。虽有时也会起一个大的反动,觉得我这样是干什么?甚或会完全不干,也许勉强干。但当自己勉强自己时,读书做事均难入,无......

Paper Notes: Resilient Distributed Datasets: A Fault-Tolerant Abstraction for In-Memory Cluster Computing

Catalog# Reference Introduction Abstract Motivation Resilient Distributed Datasets (RDDs) RDD Abstraction Spark Programming Interface Advantages of the RDD Model Applications Not Suitable for ......

Paper Notes: Spark: Cluster Computing with Working Sets

Catalog# Reference Introduction Programming Model a driver program Resilient Distributed Datasets (RDDs) Parallel Operations Shared Variables Exampels Text Search Implementation Related Wo......