Improve Performance by 56% by Replacing Library

I have a side project called “comics.” It’s a simple HTTP server that serves comics so I can access them anywhere. According to the Chrome documentation, to make images lazy-loaded, the server needs to run an initial scan and retrieve the dimensions of images when it starts. However, its performance is poor on my NAS, which uses HDD drives. Initially, I used the image-rs library, which I found widely recommended online....

June 20, 2024 · henry40408

Repurchase on Nintendo Switch

I bought a Nintendo Switch in 2017. On September 28, 2019, I purchased a game called “Dead Cells” in the North America region because, at that time, customers could only buy digital copies of games via the Nintendo eShop in either Japan or North America. I don’t speak Japanese, so I opted for the North America region. On December 3, 2019, Nintendo announced an update to the eShop, enabling customers to buy digital games in the Hong Kong region starting December 17: The Nintendo eShop is scheduled to update on Tuesday, December 17th....

February 18, 2024 · henry40408

Tachyons

I discovered this Tachyons, a CSS library, while using Ananke as my blog theme. It reminds me of tailwindcss, but it seems it doesn’t require an asset pipeline. I wrote HTML and CSS when I was employed at a small company founded by a Ph.D. student during my college years. Their primary tool was Drupal, a CMS developed in PHP. I recall struggling with frequently switching between class names and stylesheets, getting lost in different naming conventions, lengthy class names, and unexpected overrides from various modules....

February 18, 2024 · henry40408

Resurrection

The last post I published on my blog was in 2019, so it has been a while. A random idea struck me that I should resume my blog in 2024. Here are my considerations: Choosing a Long-Standing Static Website Generator I choose Hugo. Although I am fond of HTML5 and vanilla JavaScript and initially wanted to build my new blog solely with them, I face several challenges that I would have had to handle myself, such as generating an RSS feed....

February 17, 2024 · henry40408