Time for my weekly diary
-= Personal Website =- ๐
Last week I migrated my website to PostgreSQL, and this week I found an interesting bug ๐ It turns out that the Go driver for PostgreSQL doesn't have a connection timeout. When my program tries to open a new connection to the database and the connection limit is already reached, it goes into an infinite wait. Why - only the author of the library knows. You can't just set a timeout; you have to write clever code with contexts, as shown in the screenshot.
I'm currently making various UI updates and plan to continue next week. I'm improving the Hamburger Menu and want to add a language switcher so users can change languages without going to settings.
I also noticed that the Parcel builder I use in the project broke image compilation ๐คจ Ugh, it seems like updates these days often break something rather than improve things?
-= Star Rail =- ๐
I've reached the end of the main story on the fourth planet in Star Rail and felt a bit down. I think my personal website, created from my posts on smart-progress, will become my memory book where my life is recorded. ๐โ๏ธ Smart-progress had some issues this week (shown in the screenshot), so it's good to have my own archive.
The fourth planet's book records my victories and defeats in fighting evil, while my personal website documents the features I've built and the bugs I've fought ๐ชฒ๐ค One day, a thousand years from now, someone might find my personal website and read my diary. But that's not certain.