Posts

Learning on Java

Null check is required before call of a function synchronized is critical section Exception chaining String is immutable == comparing the address, use .equals instead Refer to https://www.javatpoint.com/

Ruby native gem installation

On 2.5: gem install ox --platform=ruby On 1.9.3: Error occurs with following steps Download "DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe" from https://rubyinstaller.org/downloads/archives/ Follow https://github.com/oneclick/rubyinstaller/wiki/Development-Kit But compilation issue of "undefined reference to `RSTRUCT_GET'" is encountered

Java

My knowledge is rusty, needs to constantly reading and writing. volatile (vs synchronized) has different meaning in Java. Unlike C++, everything is either volatile or constant. immutable is important keyword in Java, means the value cannot be changed. Java slowness is on garbage collector. Thus, implementation should be organized in certain way.

钱的教训

事情要摊开来讲,和亲爱的人。

人是多面的

Joeman对费尔马大定理有了解真的震撼到我了。 没想到娱乐性的youtuber也对数学有一定的了解。 人是多面的。所以我也应该多开放自己,投入一定的时间学习不一样的东西。

手工

想锻炼和小孩子一起玩的手工。也想录影。 开始准备工具吧。清空电话的照片。

长大了要变得有城府

受伤了,长大了,要变得有城府。