Posts

Realize a mistake today

Should learn from Tarun:  Ensure things are absolutely clear before making decisions. (Mistake regarding iOS Developer Enterprise Program vs iOS Developer Program) (Or actually I do not make mistake? Should write email for important decision next time)

感触

诺尔曼,吉祥三宝,黑暗笼罩不了你,你自己就是发光体

10 Morning Habits Geniuses Use To Jump Start Their Brain

Check Jim Kwik video

Read book in one book a week!

mindvalley.com Jim Kwik leaders are readers 45 minutes a day Schedule book reading Self love and self care is not selfish Read when you awake https://jimkwik.com/about/

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.