banner
AgedCoffee

AgedCoffee

2024-1

image

Sleep#

Sleep TimeQuality SleepBedtimeHeart RateDeep Sleep
7:015:482:21592:17
+6+4+1--2

Diet & Exercise & Habits#

High-sugar FoodsMilkExerciseFruitsAcneStay FocusedWrite Blog PostsReadLearn JapaneseSit-ups & Push-ups
183232732452227-
-4+2+1+1--5-3+1-2-

Books & Movies & Music#

BooksMoviesMusic
143
--4-

I 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. In ordinary work, although he is not talkative, he has a clear understanding of many things in his heart. He always keeps thinking and deliberately practices writing about his work experience, adding 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 this book in one go, which is both accidental and inevitable.


I finished watching "Jobless Reincarnation". I only knew the gossip about this work before, and I didn't carefully taste the work myself. After watching it, I have to admit that it is indeed a classic and refreshing work. It is also a different kind of isekai work.

The growth of the protagonist is not forced. Based on the portrayal of an immersive different world, the personality traits of each character are enriched. 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#

The miscellaneous finishing work of the new home is finally almost done. I really like the projector in the living room. The 100-inch viewing experience is great.


Successfully completed the moving ceremony on the day my parents watched~


Suddenly found that German looks pretty.


About a colleague who loves to slack off

The scene is that a colleague loves to send some kpi projects or things that unite the team atmosphere in the work group during non-working hours, and also likes to post related content on Moments.

  • Never speculate about a person with malicious intent. Here, it is about the matter, not the person. I believe that he takes the initiative to unite the team atmosphere out of hobbies and good intentions, and does kpi projects because he likes and pursues technology.
  • Based on my observations, the things he does are not well-planned activities and his technical abilities are average.
  • Sending group messages outside of working hours and not urgently needing to be resolved is, in my opinion, inviting credit and meaningless slack off. If he seeks help from everyone during working hours, I fully support it. If the problem can be of higher quality, I will support it even more.

Unrestrained Disgust for Foolishness

When I talk about disgust for foolishness, I don't simply mean disliking people who, in my opinion, are not intelligent and do not think for themselves, and who mechanically respect others' arrangements for doing things. On this basis, I also need to subjectively believe that after possessing the above characteristics, they do not honestly admit their mistakes, and always make excuses or use the excuse that others are like this in order to justify themselves.

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 have no effect on 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 teach me this kind of thing, it's fine, you didn't explain the steps in enough detail and blame me for not understanding, it's ridiculous. In the end, it makes me angry and blamed by others.

Study#

It's annoying when the server and client times are not consistent for hydration. Today, I started to practice and realized that it was because the server and client were in different time zones.

I learned that when defining state changes in useEffect, they should only be rendered on the client side after the first frame. It was quite difficult to solve the hydration error when dynamically introducing it.

For many things, if they are placed in a similar way in the non-first frame, remember to reserve enough container space for the content that may appear so that the page does not shake violently.

Further thinking about deployment optimization space, Node.js is single-threaded, so giving one copy to one CPU is enough. The memory should be at least 512MB, or 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:

  1. Look for current mainstream and popular technology solutions.
  2. Find more alternative solutions for a specific point.
  3. Consider whether multiple technology selections can meet business requirements.
  4. Consider performance and scalability if business requirements are met.
  5. If there is no obvious difference, consider the cost of use, learning, and collaboration.
  6. Finally, determine a technology.
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.