Sleep#
Sleep Time | Quality Sleep | Bedtime | Heart Rate | Deep Sleep |
---|---|---|---|---|
6:44 | 5:41 | 2:27 | 59 | 2:19 |
+13 | +6 | -9 | - | -2 |
Diet & Exercise & Habits#
High Sugar Food | Milk | Exercise | Fruits | Acne | Stay Focused | Write Blog | Read | Learn Japanese |
---|---|---|---|---|---|---|---|---|
13 | 4 | 18 | 20 | 1 | 28 | 7 | 25 | 29 |
-5 | -2 | -3 | +4 | -3 | - | +1 | +3 | -1 |
Books & Movies & Music#
Books | Movies | Music |
---|---|---|
2 | 1 | 1 |
- | -2 | +1 |
Work & Life & Random Thoughts#
Started to decorate the new home with various soft furnishings, thanks to IKEA, thanks to Double Eleven, and thanks to others' work. Slowly, everything is almost done, and I still need to add some small decorations and happy life items. Then I can move in beautifully.
After getting a camera, it seems that I want to go out more. However, I still resist crowded places and try to choose some off-the-beaten-path places to take photos and enjoy the tranquility.
This month, I had a magical experience. One day, after enjoying 2 steaks, 1 bowl of crab roe noodles, and 1 bottle of ice-cold cola, I got gastroenteritis the next day. But I still went to a hot pot dinner that night and even sang K despite the gastroenteritis. It was painful but enjoyable.
Maybe because I wasn't feeling well, I experienced the leisurely afternoon nap that I hadn't had in a long time. When I woke up, I felt sore all over and felt lazy and comfortable.
In terms of work, a business feature that was developed about a year ago can finally be used now. The good thing is that the feature has finally started to be used in commercial settings, but the downside is that it will now expose some real user issues. However, solving these problems feels interesting.
Learning#
Capacitor and Expo are frameworks that can be used to develop native iOS and Android applications using JavaScript. However, Capacitor mainly utilizes the capabilities of webviews, while Expo relies on React Native and runs JavaScript using its built-in JavaScript engine. Additionally, neither of them has built-in encapsulation for small components, so the ability to develop small components relies on ejecting the source code and using dependency plugins to enhance the capability.
When performing clipboard-related operations in Safari, if the pasted function context also includes asynchronous request logic, a security confirmation prompt window will appear. This is different from other browsers. You can bypass the prompt window logic by using special handling methods as follows:
const text = new ClipboardItem({
"text/plain": fetch(this.sourceUrlValue)
.then(response => response.text())
.then(text => new Blob([text], { type: "text/plain" }))
})
navigator.clipboard.write([text])
There are still many unclear points in the details of SEO, and some of these points imply other details that I am not familiar enough with. The best approach is to include them in a version and inform QA about the changes for thorough testing.
- For example, using JSON-LD to provide mature information to search engines.
- And using the link canonical tag to consolidate redundant pages.
In addition, it is extremely important to have a sound alert strategy for improving services due to incomplete logic in updating service mobile code, which can lead to 500 errors in production.