
Nam Vo Website
I developed this website to
share my knowledge and satisfy my coding passion
LATEST BLOG

Choose the Correct HTTP Status Codes for CRUD APIs
When building REST APIs, many people default to returning 200 OK for everything. But HTTP provides a rich set of status codes that communicate exactly what happened. Using them correctly makes your API more predictable, debuggable, and self-documenti...

Software Engineer
Software Engineer

Ha Giang – Riding the passes and slopes in the northernmost part of Vietnam
Last week, I had a wonderful trip to Ha Giang, the northernmost part of Vietnam. It’s famous for its mountain passes and slopes, breathtaking mountains and forests, and unique local cuisine and experiences. Vietnam has really diverse terrain: high mo...

Life Experience
Life Experience
Top blogs
Explore the most popular blog posts. View all

Custom Fullscreen Button: A Cross-Browser Solution
Fullscreen functionality is a common requirement in web development, especially with media elements like custom video player. In this blog post, I'll share my experience working with fullscreen APITL;DRNote: On iOS browsers, the element must be a vid...
Frontend
Frontend

How to get table index size in PostgreSQL
Indexes play a crucial role in enhancing the performance of database queries. They allow for faster data retrieval by creating a separate data structure pointing to the data stored in a table. However, indexes come with a cost in terms of disk space ...
Software Engineer
Software Engineer

How to restore scroll position in React Router 6
When developing a Single Page Application (SPA) with React and React Router V6, I encountered a scroll restoration issue. When I go to the new page, the scroll position persists instead of being on the topReact Router V6 offers a ScrollRestoration co...
Frontend
Frontend

How to customize YJIT in the Rails app
In this post, we'll dive into what YJIT is, how to enable it in your Rails app, and how to monitor and configure it for optimal performance.What is YJIT?YJIT is a lightweight Just-In-Time (JIT) compiler introduced in Ruby to speed up method execution...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails

