icon
Personal Website

Weekly Coding โ€ข 2026-02-15

This text was automatically translated to English language by LLM tool.

Time for the weekly diary

-= Personal Website =- ๐ŸŒ

Last week I moved 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 the program tries to open a new database connection and the connection limit has already been reached, it starts waiting forever. Only the author of the library knows whyโ€”you can’t just go ahead and specify a timeout. You have to write some clever code using contexts, as shown in the screenshot. I think context.Context is a pretty annoying feature in the Go programming language ๐Ÿค”โš™๏ธ

Right now Iโ€™m making various small UI updates and plan to continue them next week. I’m improving the Hamburger Menu and want to add a language switcher there so you can change the language without going into the settings.

I also noticed that the Parcel bundler I use in my project broke image compilation ๐Ÿคจ Man, is it just me, or do recent updates constantly break things and rarely improve anything?

-= Star Rail =- ๐ŸŒ 

I finished the main story of the fourth planet in Star Rail and felt a bit sentimental. I think that my personal website, created from my smart-progress posts, will become my book of memories where my life is recorded. ๐Ÿ“–โœ’๏ธ Smart-progress had some interruptions again (shown in the screenshot), so it’s useful to have your own archive.

In the book of the fourth planet, victories and defeats in the fight against evil are recorded, while on my personal website, the features I built and the bugs I fought are recorded ๐Ÿชฒ๐Ÿ˜ค Someday in 1000 years, someone will find my personal website and read my diary. But that’s not for sure.