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 gathering in the evening and even sang karaoke with the pain. It was painful but enjoyable.
Maybe because of feeling unwell, I experienced a leisurely afternoon nap that I hadn't had in a long time. Waking up with a sore body, I felt lazy and comfortable.
In terms of work, a business feature I developed about a year ago finally became usable recently. The good thing is that the feature has finally started to be used in commercial settings, but the downside is that it now exposes some real user issues. However, solving such problems is still 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 it is necessary to eject the source code and rely on dependency plugins to develop the capabilities of small components.
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, and it can be bypassed 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 page information to search engines.
- And using the link canonical tag to consolidate redundant pages.
In addition, it is extremely important to have a robust alert strategy to handle 500 errors caused by incomplete logic in updating service mobile code.