0%

Author’s Note: Scroll down for English version

1. 市场中没有任何的信息差，意味着你的能力点数是完全公开且清晰可见的。
1. 但在现实中雇主需要先对潜在的员工进行评估，以确认他们是否能胜任工作
2. 能力点数的增长成指数型增长
1. 个人认为其实能力点数的增长是线性然后逐渐趋于平缓的，但是工资对于能力点数的增长是指数型的
2. 而且上学时长与能力点数也不是完全1.0的正相关
3. 但也不完全，针对这个要做一个合理的模型是非常困难的
3. 假设银行对借贷/存款没有数量限额

1. 最大化快乐函数
1. 这里的是指第一年的工作时间和娱乐时间，是指第一年的消费
2. 限制自己的消费不超过自己这辈子能赚的总量
1. 当年不足的部分可以借贷
2. 当年多余的部分可以存起来

I suddenly thought of this question when I was reviewing macroeconomics today. In macroeconomics, a person’s salary depends on

where

refers to the length of schooling

Where is the expected salary, is your skill points, and is the salary you can get per skill points.
First of all this formula is only a model for estimation - meaning it cannot be used as any reference to the real world under any circumstances, but I feel that intuitively, I can use this model to analyze the working mode of the whole world.
But before we get started, I need to be careful to point out that this introductory economics class I took made the following assumptions about markets:

1. There is no information gap in the market, which means that your ability points are completely open and clearly visible.
1. But in reality, employers need to assess potential employees first to confirm whether they are qualified for the job
2. The growth of skill points is exponential
1. I personally think that the growth of ability points is linear and then gradually flattened, whereas the growth of salary is exponential for ability points
2. Moreover, the length of schooling and the ability points are not completely positively correlated with a coefficient of 1.0
3. But anyhow, it is very difficult to make a reasonable model for this
3. The bank has no quantitative limit on loans/deposits

In the case where these assumptions are established, assuming that a person can freely allocate his/her time (work/entertainment), then in order to maximize the his/her happiness, a completely rational person needs to do the following optimization problem:

1. Maximize the happy(utility) function
1. Here and refer to the working time and entertainment time in the first year, and refers to the consumption in the first year
2. Limit his/her spending to no more than what he/she can earn in his/her lifetime
1. The shortfall of the current year can be borrowed
2. The surplus of the current year can be saved

The solution to this problem is a very simple function, but I don’t want to write it here, because I think the solution to this problem should not be the focus of this article, but the meaning of the solution to this problem.

Since rational consumption maximizes this optimization problem, once irrational decision-making leads to decisions that is different from rational decision-making, it is almost certain that the happiness level of this person will decline. Another interpretation of this is that this person has wasted his innate resources. . Of course, the reason why this model can only be used as an amateur analysis is because no one can predict their own needs and happiness in advance, and people themselves are biased, so this model can only be used as a reference.

But no matter what, we still need to know more about ourselves and plan our consumption, salary, and asset investment in advance, so that we can be happier in our future life.

UC的资费问题其实不只是过于驳杂的行政人员占用工资的问题，归根究底还是州立大学无法收到像私立学校一般的高昂学费而导致的。目前UAW(工会联盟)要求的是开除一部分行政人员以达成他们诉求的50%的工资涨幅并招募更多的TA以满足学生需求(和解决TA们Overwork的问题) - 但是这个钱从何而来啊！学校开除这么多行政人员几乎就是一个完全不可能的事情，尤其是在短时间内会造成学校的大规模瘫痪，那学校为何要冒这么大的风险在学生雇员罢工只是有可能学校停摆的情况下选择一个完全百分之百导致学校停摆的选择呢？我不理解。

UC系统内部的腐败，行政手续的驳杂，和资金不足导致的痛苦深深的扎入到了每个同学的骨髓里，强迫这里的每一个人自力更生，却又紧紧的拥抱，团结在一起。但我深知这样的痛苦只有像Strike这样被表达出来才有意义，才会促进整个系统的良好发展。可是 - 我们大学生真的只是离开了大学生的小孩罢了，谁又希望自己的大学生活被流浪汉，游行，和深夜因教育资源不足的哭泣所完全占据呢。伯克利是一个矛盾的大学，在这里，破烂的街道与昂贵的租金，睡在街角的流浪汉与Haas学生们身上的名牌组成了一切，荒诞但又是真实世界甚至未来世界的一面缩影。

↑伯克利选课实录好吧，大三下了还选不到课

↑摆

Author Note: Scroll down for english version text

Hello 家人们，距离上次生活更新已经经过两周啦，这两周我在持续给新进的Lab PhD打工的同时也在生活中经历了许许多多。

Hello y’all, it has been two weeks since the last life update. In the past two weeks, I have experienced a lot in my life while continuing to work for the new Lab’s PhD.

First of all, I have passed the US driver’s license test! The efficiency and service attitude of DMV is really low to absurd! But I may not be ready to buy a car recently (Unless I find a GF…), because it is too expensive to keep a car, and the inflation pressure has been very high recently, therefore I want to try my best to save money for my parents.

In addition, I am a junior, and I should have some relationship conditions, but now I am in a state of working and studying every single day and I really don’t have much time to fall in love (unless it is someone I particularly like, and this person just happens to like me, and this person is willing to spend every single date studying with me…), I am VERY anxious.

Then yesterday was the day when the results of special master entry program without examination (for universities in China) were released(meaning that those people who secured a place in this program don’t need to apply for master after graduation; they just go to the school that they secured a place at). My friends really made me “wow” yesterday. There’s a particular friend who grew up with me together since elementary school also successfully secured a position in this special entry program! I am very, very happy for him!

Author Note: Scroll down for english version text

FTC中国那篇文章我有空就更新，但目前看来这个周末都要被学业占满啦~

It’s been a long time since I last updated on my life, and I’ve been busy recently, so I’ve been putting it off.

This month is the first month of school, and as a third-year student, I should continue to study hard, Pick up from where I left off, and strive to become a Berkeley “roll in the roll” - it’s a chinese slang that basically says a person’s super nerdy and studies his ass off.

In the first month of school, on one hand, I worked hard to submit my resume to apply for an internship, and on the other hand, I applied to enter labs. I have repeatedly hit a wall when it comes to job hunting: I have invested in many large Internet companies, but I have no response. I only received an Automatic SDE Assessment from Amazon, and I did not get any follow-up with regard to any interviews. I think this is because from my resume, I don’t have any excellent internship experience in small companies, and I haven’t learned too many advanced algorithm courses @ Berkeley.

But in scientific research (applying for labs), I was very fortunate to get an offer from a very good Lab in our school (RAIL Lab @ BAIR). For the lab interview, I was forced to read two very new papers, both of which are by students of the faculty(Sergey Levine) of the Lab. One is Implicit Q-Learning => Use Expectile Regression + Entropy to modify the loss function of reinforcement learning to off- The effect of policy learning, another article is Making many large DL models into robots for Self-Supervised Learning, I found both of them very interesting!

After entering the Lab, I am honored to have a very chill & beautiful PhD and a very chill & handsome Post-doc as my Supervisor! At present, we are working on how the robot dog can learn to walk in a self-supervised sertting quickly under different terrains in the reinforcement learning environment, while retaining the memory of the previously learned terrain.

I will update the article on FTC China when I have time. However, it seems that this weekend will be full of schoolwork~

# 在开始之前

## 契机

2020年3月，因为疫情原因春假结束的我被高中逼着买了回国的机票，运气也非常好地赶在了五个一政策生效前在上海落地，然后经历了14天的隔离后成功回家。由于美国比赛进度对比中国比较提前，我早在2020年2月就与队伍一同完成了在佐治亚州的Skystone Season州赛。这一年同时也是我的最后一任赛期（高中毕业了），我们队伍由于机械结构不稳定，作为第一位备选，与进入世界赛的名额失之交臂。但是作为队长我没有感到太强的遗憾（肯定还是有一点遗憾的），因为这个赛季我们队伍在赛事前期因为良好的自动程序（我写的，叉腰）挺进过北美赛事排名的第六名。（而且我还进了伯克利，再次叉腰）

2022年6月3日北美太平洋时间，我作为一个准大三学生踏上了前往新加坡的旅程。作为一个不需要工资的免费实习生，我在新加坡一个叫OneRHT的公司实习了大约2个月(2022-6-8 to 2022-7-28)。

1. 使用Rust编写后端可以承载大规模的API并发并减少延时
2. 使用Python编写AI逻辑可以方便的进行热更新和调试(Python Research => Python Deploy)，在不损失太多性能的情况下减少许多运维(Python Research 转 AI通用模型 => 然后用MLOps 高性能C++/Rust推理)的成本

Rust是Mozilla基金会提出的新一代内存安全的C++和C的替代品，可以用来制造操作系统内核，后端应用程序，跨平台应用程序等等，包含丰富的std支持库，内存安全特性，和爆发式增长的生态。

C++最让人诟病的几点是：

1. 指针释放问题
1. 可能会造成内存泄露，多次释放指针导致权限问题的Segmentation Fault
2. 被弱指针和所有权指针部分解决，但是C++的原生指针历史遗留问题注定了这个内存管理问题的存在。
2. 多进程/协程支持非常有限
1. 多进程std支持在C++11标准中提出，现在基本所有编译器都支持
2. 但问题是指针问题导致的两个内存同时写可能需要调用互斥锁(mutex)或者atomic标准库，没有更优雅的解决方式，如果一个进程使用了一个变量，很难保持对其他进程使用情况的追踪(需要程序员自己keep track)。
3. std标准推进缓慢
1. 乃至于2015年立项的Networking Draft到了2022年都没有进入C++23标准。
2. 非常离谱，强烈阻碍了C++生态的发展
4. 没有统一的包管理
1. 致命！装一个库可能得下3-4个包管理软件例如make,cmake,vcpkg,等等
2. 有的时候甚至不知道动态链接的库的头文件该怎么找

1. 有了GC可以大范围的节省开发成本
1. 程序员不再需要管理内存释放
2. 但是GC对于一些对于实时性要求高的任务可能不太适合，因为运行时什么时候进行GC Sweep是不太能预测的。
1. 火箭发射 / 手术或者工业界的控制程序 / …

C++和Rust都是做实时内存释放，但是C++要求程序员手动释放内存，而Rust通过变量作用域和所有权这两大神器可以帮助程序员自动释放内存。

1. 程序员需要管理变量的作用域
1. Rust对于引用，自动引用追踪的管理及其严格，这要求程序员在编写时时刻想着引用，所有权，和作用域的概念，我这个C++和61C脑子一时半会还转不过来(主要是C++太不安全了写惯了哈哈哈)
2. 并且因为Halting Problem(一个CS领域非常有名的问题)，明明是安全的内存使用缺无法在编译时检测是否安全，Rust将默认弹出错误，这时可以通过使用一个特殊类型来套过编译时检查转而使用运行时检查。