When executing npm commands on the target server, I encountered the error “node: /lib64/libm.so.6: version `GLIBC_2.27’ not found (required by node)”. Here I’ll mark down the repair process. Commands # Check current version ldd --version # Download wget http://ftp.gnu.org/gnu/libc/glibc-2.25.tar.gz
Dec 16, 2024
ChatGPT’s advanced voice mode now supports live video and screen sharing, giving the assistant “eyes” while you talk. After a few days of use, here are the highlights and drawbacks I’ve noticed.
Dec 16, 2024
Recently, a site was loading extremely slowly, and analysis revealed that one reason was that GZIP compression wasn’t enabled. However, I encountered issues during configuration, so I’m documenting this here.
Dec 14, 2024
Highlights how default lodash imports pull in the full bundle, shows safer import patterns, and compares the savings from switching to lodash-es.
Dec 11, 2024
In web page interactions, forms are common elements. For form validation/management, react-hook-form is a commonly used and excellent helper library. For example, useFieldArray is used for managing array values, and formContext is used for complex nested component forms. Understanding these usage patterns helps you use it more effectively.
Dec 6, 2024
I’ve been using Fantastical for many years, and recently saw that they released a Windows version. Excited about this, I decided to organize the features I frequently use.
Nov 29, 2024
Recently, in a private project, I encountered a requirement where sites embedded in iframes needed to implement passwordless login. Here are some initial thoughts on possible solutions. IP Whitelist for Passwordless Login? Any request to the server can obtain the client IP from the request object, making IP-based authentication possible. However, the drawback is that users cannot log in once they change their network environment.
Nov 24, 2024
Shows how to consume airport subscriptions for nodes while keeping your own policies and rules—no need to accept the provider’s full profile.
Nov 20, 2024
Recently, a work requirement needed to draw DAG graphs with interactive operations. After research, I decided to use AntV X6 as the solution. After using it in practice, here’s a summary of common issues.
Nov 20, 2024
This post explains how to use a Turkey-region Apple ID to subscribe to ChatGPT Plus at a lower cost, covering the registration steps, top-up methods, and key caveats so you can enjoy the service for less.
Nov 15, 2024