Blog on IPFS with ENS
Terms ENS: The Ethereum Name Service (ENS) is a distributed, open, and extensible naming system based on the Ethereum blockchain. IPFS: The InterPlanetary File System (IPFS) is a set of composable, peer-to-peer protocols for addressing, routing, and transferring content-addressed data in a decentralized file system. IPNS: The InterPlanetary Name System (IPNS) is a system for creating mutable pointers to CIDs known as names or IPNS names. IPNS names can be thought of as links that can be updated over time, while retaining the verifiability of content addressing....
Hugo Refused to Connect on WSL2
It has been a while since I wrote the latest post on my blog. Recently, I started a development server for Hugo on my Windows machine, but I kept encountering a “Refused to connect” error in the browser. I searched the Internet and found that someone had encountered the same issue: Hugo local development serve stopped working. So, I changed the bound port to 3000, the port I use for my Nuxt....
Single Question in Interview
The Question “Tell me about some of the most difficult problems you worked on and how you solved them.” - Elon Musk asks this question at every interview to spot a liar—why science says it actually works Credit to Elon Musk. From this question, I can find answers to the following questions: How difficult is the problem? It’s subjective. As a back-end engineer, centering a div is more difficult than finding a race condition in the back-end server, though race conditions are challenging even for back-end engineers....
Improve Performance by 56% by Replacing Library
Background 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....
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....
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....