Sleep#
Sleep Time | Quality Sleep | Sleep Time | Heart Rate | Deep Sleep |
---|---|---|---|---|
7:01 | 5:48 | 2:21 | 59 | 2:17 |
+6 | +4 | +1 | - | -2 |
Diet & Exercise & Habits#
High Sugar Food | Milk | Exercise | Fruit | Acne | Stay Focused | Write Blog | Read | Learn Japanese | Sit-ups & Push-ups |
---|---|---|---|---|---|---|---|---|---|
18 | 3 | 23 | 27 | 3 | 24 | 5 | 22 | 27 | - |
-4 | +2 | +1 | +1 | - | -5 | -3 | +1 | -2 | - |
Books & Movies & Music#
Books | Movies | Music |
---|---|---|
1 | 4 | 3 |
- | -4 | - |
Finished reading "I Deliver in Beijing". The whole book has a relaxed writing style, and it is easy to read. It describes the author's various work experiences before becoming a professional writer.
Although the author is engaged in physical labor that has nothing to do with mental work, he can always maintain a sensitive and love for life. Although he is usually quiet at work, he has a clear understanding of many things in his heart. He always keeps thinking and deliberately practices writing about his work experience and adds his thoughts at that time. He is not impetuous and does not give up his enthusiasm for life. Due to the black swan event of the epidemic, he has more time to calm down and organize his work experience, so he wrote a book like this in one go, which is both accidental and inevitable.
Finished watching "Jobless Reincarnation". I only knew the gossip about this work before, and I didn't carefully appreciate it. After watching it, I have to admit that it is indeed a classic and refreshing style of writing. It is a different kind of isekai work.
The growth of the protagonist is not forced. Based on the portrayal of an immersive different world, it enriches the personality traits of each character. The protagonist travels through such a world and experiences conflicts with different characters, and finally completes his growth and transformation. I like this immersive journey and the growth that leaves traces, rather than just being cool.
Work & Life & Random Thoughts#
Finally finished all the miscellaneous finishing work in the new home. I really love the projector in the living room. The 100-inch viewing experience is amazing.
Successfully completed the moving ceremony on the day my parents watched~
Suddenly discovered that German looks quite nice.
About a colleague who loves to slack off
The situation is that a colleague loves to send some things unrelated to work in the work group during non-working hours, such as KPI projects or things that promote team atmosphere. At the same time, he likes to post related content on social media.
- Never speculate about a person with malicious intent. Here, it is important to focus on the matter, and believe that he takes the initiative to promote team atmosphere out of hobbies and good intentions, and does KPI projects because of his interest and pursuit of technology.
- Based on my observation, the things he does are not well-planned and his technical ability is average.
- Sending group messages outside of working hours without urgent need is just showing off and meaningless. In my opinion, it is a form of slacking off. If he seeks help from everyone during working hours, I fully support it. If the problem can be of higher quality, I would support it even more.
Uncontrollable Disgust for Stupidity
When I talk about disgust for stupidity, I don't simply mean disliking people who, in my opinion, are not smart and don't think for themselves, and mechanically follow others' arrangements. On top of this meaning, I also need to subjectively believe that after possessing the above characteristics, they are not honest in admitting their mistakes, and always find excuses or use the excuse that others are to blame for their own shortcomings.
I don't think my thoughts are wrong, but upon careful consideration, it seems that having negative emotions because of such people is completely meaningless and even harmful.
For myself, besides satisfying my own vanity of thinking that I know more than others, there is no substantial effect.
Although my starting point is definitely to hope that others can also become comprehensive thinkers, I also know deeply that my emotions cannot affect others who have not deeply reflected on themselves.
For others, I still have to curse in my heart, for example, this person is really problematic, I just need to do my own job well, if you want to teach me, just do it, if the steps you provided are not detailed enough and you blame me for not understanding, it's ridiculous. In the end, it makes me angry and blamed by others.
Learning#
I hate the problem of inconsistent time between the hydration server and the client. Today, I started to practice and realized that it was because the server and the client were in different time zones.
I learned that when defining a state change in useEffect, it will only render if it is not the first frame on the client. It was quite difficult for me to solve the hydration error when introducing this dynamically.
For many things, if you put similar methods in the non-first frame, remember to reserve space for the content that may appear so that the page does not shake violently.
Furthermore, I have been thinking about optimization space for deployment. Node.js is single-threaded, so giving one copy to one CPU is enough. The memory should be at least 512MB and up to 1-2GB for stability. Alternatively, multiple copies can be used with multiple cores using PM2, but when I tried it personally, it just threw an error. It's better to have multiple copies for isolation.
How to make a technology selection:
- Look for current mainstream and popular technology solutions.
- Find more alternative solutions for a specific point.
- Consider whether multiple technology selections can meet business requirements.
- Consider performance and scalability if business requirements are met.
- If there is no obvious difference, consider the cost of use, learning, and collaboration.
- Finally, determine a technology.