banner
AgedCoffee

AgedCoffee

2023-10

Previously, I used Notion to record fragments of my life. However, there was a server outage issue with Yuque, so I decided to transfer everything to my blog and write using markdown directly. The experience of using VSCode as a writing editor seems to be good, and I also decided to switch to local recording. Since everything is recorded in markdown, I can also sync it with xLog for simple sharing.

th714

Sleep#

Sleep TimeQuality SleepBedtimeHeart RateDeep Sleep
6:315:352:36592:21

Diet & Exercise & Habits#

High Sugar FoodMilkExerciseFruitAcneFocusWrite BlogReadLearn Japanese
182211642862230

Books & Movies & Music#

BooksMoviesMusic
230

I finished reading "Chang'an's Lychee" and my expectations for it were that an official would accomplish an impossible task, involving power and exploitation. The story ultimately leads to the success of this person.

When I actually started reading it, I was deeply attracted by Ma Boyong's writing. It's hard to imagine how vivid and lively each character in the story is. The depiction of each scene makes you feel like you are there. Especially the character of A Tong is portrayed as so lovely. The ending made me yearn for it even more. To give your all to fulfill the wishes of the powerful without being assimilated by them, and to continue to have a sensitive heart for the ordinary emotions in the world. Finally, farming lychees in Lingnan, living such a comfortable life.

Work & Life#

Records#

Confirmed the checklist for the Japan visa.


Explored some AI products and tried out their user experience. It's interesting how they integrate AI into the entire process of generating landing pages, SEO, and SEM. Maybe I can try building such a toy myself.


Tried using NX to set up a new workplace and clarified the functional requirements for a landing page project:

  • Support for both PC and H5 platforms, with considerations for mobile development and compatibility.
  • Provide a deployment verification solution and demo files for both platforms.
  • Lazy loading of route pages, with support for configuring page Helmet in the root layout and built-in baseUrl logic for quickly mounting services to existing sub-routes of the official website.
  • Provide examples of using form components and security validation.
  • Provide examples of integrating data from platforms such as Douyin and Baidu.
  • Support multiple styles of writing CSS, such as styled-components, unocss (with built-in support for Tailwind), and less. Other style requirements can be easily extended in the Vite configuration.

Travelogue on October 27th:

It was my first trip outside the mainland. I collected various things I needed for Macau on Xiaohongshu. At the beginning, I didn't even know there was a dedicated counter for international flights at the domestic airport. Fortunately, after checking my flight on Fliggy, I found the information about a counter. I arrived at the airport more than two hours in advance, but the procedures were completed in just a few minutes.

When I arrived in Macau, I was completely lost. I asked an uncle for directions to the subway, but he didn't speak Mandarin. He could only use English to try to tell me to go upstairs and then straight ahead on the 1st floor. He also gestured with his hands. Fortunately, I found the location successfully. I used Alipay to exchange for a chip-like single ticket at a window. This ticket can be swiped directly at the gate. However, I took the wrong direction, which was quite embarrassing. Luckily, I didn't have to pay extra for the ticket. Also, this is not a subway but a light rail. Fortunately, the uncle understood what I meant by subway.

When I arrived at the hotel, I ordered a local favorite, silk stocking milk tea. Unfortunately, it was just average. Around 8 o'clock in the evening, I went out with my camera for a city walk. The first stop was Senado Square. There were many snacks, but they didn't seem to be more delicious than the ones in Huzhou Yishang Street. I had a bitter melon lemon tea and continued walking towards the city center. Along the way, I saw a large area of open-air barbecue. Many foreigners were eating barbecue. It seems that such food still has an international market. The buses and taxis along the way had local characteristics, giving a sense of luxury for no reason. It may be due to my preconceived image of Hong Kong and Macau, but when I reached Venetian, Parisian, and Londoner's Rotunda, I truly felt the bustling atmosphere. It felt similar to the feeling at the Rotunda of the Oriental Pearl Tower in Shanghai, but Shanghai is definitely better. I continued walking to my final destination, Wynn Palace, and was amazed by its grandeur. At the entrance, there was a paid cable car with continuously changing fountains for sightseeing. Many people were taking photos with the fountains on their backs.

On the way back, I put down my camera and used my eyes and ears to experience more. It felt comfortable and pleasant. However, the wind here was too humid and hot.


Travelogue on October 28th:

I woke up late and naturally slept until 12 o'clock. I opened my phone and watched the LGD vs. AR match. AR had a big advantage, but Wang Zhi from LGD showed his true strength in the following games. In the end, AR lost 2:0.

I took a taxi to Dazimen Archway and arrived at a new Yaohan nearby. Since it was raining, I found shelter and also took the opportunity to see the local people's shopping mall. From the first floor to the top floor, there were various items ranging from luxury goods to daily necessities, fruits, vegetables, and snacks from overseas.

When the rain stopped, I went to Dazimen Archway and the nearby St. Lawrence Church. There were still many tourists. I took a simple walk and climbed up to the fort. It was magical to see many pigeons flying below the fort's platform. I also bought a ticket and visited the Museum of War and Peace, which I discovered here.

After leaving the museum, I found another street and went downhill. I opened the Aomi app and found a local shop where I had a delicious pork chop omelette rice, which was unexpectedly tasty. After eating, I thought it was time to take a taxi back to the hotel. However, I couldn't find a taxi at all. I had to exchange some change with the owner of the small shop and took a bus back to Macau.

Back at the hotel, I rested for a while and then walked to the concert venue. When I arrived near The Venetian, I completely lost my way. I asked around and found out that I just needed to go through the entertainment area to find the venue. I successfully found it and enjoyed the concert. The concert had a stage and a theme concept. It included new songs, old songs, love songs, philosophical songs, and electronic music. It was a great experience. I even heard my favorite song "Ren Wo Xing" and a live performance of "Seven Hundred Years Later". I was very satisfied.

After the concert, I walked back to the hotel and enjoyed the evening breeze in Macau. I had a seafood hotpot and durian dessert, feeling very comfortable.


Travelogue on October 29th:

I set an alarm for 8:45 am to have breakfast in Macau. I ordered noodles, which turned out to be local instant noodles. The noodles were chewy, and the pork chop was delicious. The best part was the Hong Kong-style milk tea, which had a strong and bitter taste that I liked.

After breakfast, I watched the TI Upper Bracket Finals. Spirit was amazing and won 2:0 against LGD. In the Lower Bracket, AR couldn't defeat GG, who was clearly not as strong as them.

I went out and walked along the familiar route to Senado Square. I had a great meal there, including spicy crab, 5 abalones, and shark fin soup. It cost a total of 875 Macau patacas, which used up most of the currency I exchanged.

With 1000 Hong Kong dollars left, I went to the last stop, the bank, hotel, and casino. When I arrived, I realized that their shopping mall was built around the casino. I had a cup of Starbucks and entered the casino. Inside, I couldn't understand the rules, so I relied on GPT to understand them.

I learned the rules of baccarat, but in the end, I didn't gamble. I felt that it was enough to learn and observe how different people played.

I went to the hotel, picked up my luggage, and took the light rail to the airport. I had a meal at a local McDonald's and was pleasantly surprised to find an unfamiliar drink, Ovaltine McFlurry. It tasted good. I checked in and went through immigration, ready to return to Hangzhou. It was a pleasant journey.

Learning#

I learned about the function call mode of GPT. Previously, I thought that a function was defined on the server side, and GPT would use the defined function logic to generate the result based on the parameters passed. However, there are more detailed steps involved:

  1. In the process of generating GPT dialogue, the execution logic of the function is already defined.
  2. When prompting the dialogue, the function name, its purpose, parameter definitions, and specific parameter effects need to be provided to GPT.
  3. When the user inputs a question, GPT further determines if it is related to the function's purpose defined at the beginning. If it is, GPT returns the function name.
  4. The client receives the function name and the parsed function parameters from GPT, and then calls the function.
  5. Finally, the generated result is passed back to GPT. At this point, the role is defined as a function, and GPT returns a summary of the entire dialogue, completing the function call.

I read the Chinese documentation of NestJS and gained a better understanding of the different concepts and their use cases. I now have a clearer understanding of the concepts and their usage in NestJS, beyond just using Express and MVC + middleware. However, I still need to gain practical experience by applying them in real applications to deepen my understanding.


I learned about how PostCSS in Vite reads the postcss.config.js file in the current root directory by default. If it is further declared in vite.config.js, the contents of the configuration file will not take effect.


I have been thinking more about the relationships between superiors and subordinates in the workplace. Previously, I would maintain a certain distance from my superiors, whether I liked them or not. I would keep my thoughts to myself and never express them unless they were related to interests. Now, I am trying to express my concerns and show respect through proactive communication. Although I still feel that I am not proactive enough, I believe that with time, I can become more proactive and natural in expressing myself. Ultimately, relationships need to be actively maintained.

Translation:

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.