Blogs

Discover tech insights, tutorials, and coding tips

pinned blog cover
Summer in Phu Quy Island
Central Vietnam is famous for its beautiful seas with deep blue water and white sand beaches like Nha Trang, Phu Yen, and Quy Nhon. This summer, I chose Phu Quy, a small island in Binh Thuan Province, for my vacation. I had amazing experiences there....
Life Experience
Life Experience
published 2025-07-09 11:22:06 +0700 · 3 mins read
pinned blog cover
Vibe of nature in Bao Loc
I recently enjoyed a wonderful 3-day trip to Bao Loc, a city in the central highlands of Vietnam. I chose this destination because I was amazed by my previous trip to Ta Dung (which is also in central Vietnam), and I wanted to discover more of Vietna...
Life Experience
Life Experience
published 2025-05-24 14:18:34 +0700 · 2 mins read
pinned blog cover
How to add a custom Inline Code to Trix editor
Lately, I’ve been improving the writing experience in my Rails app, and something kept bugging me: I wanted a way to add inline code formatting in the Trix editor, just like those snippets you see on blogs and documentation sites.Turns out, Trix does...
Ruby on Rails
Ruby on Rails
Frontend
Frontend
published 2025-05-17 15:50:55 +0700 · 2 mins read
pinned blog cover
Discover the beauty of autumn in Hanoi
I just got back from an amazing trip to Hanoi, and I have to tell you all about it. I went in mid-October, right in the heart of autumn, and the city was just breathtaking. The cool air and that beautiful yellow sunlight made it perfect for exploring...
Life Experience
Life Experience
published 2024-11-17 17:25:55 +0700 · 4 mins read
pinned blog cover
How Google achieves seamless SSO across multiple domains like Gmail and Youtube?
Hey there! Ever wondered how you can log into Gmail and then magically find yourself logged into YouTube, Google Drive, and all other Google services without lifting a finger? This behind-the-scenes technique is called Single Sign-On (SSO)In this blo...
Software Engineer
Software Engineer
published 2024-10-13 18:14:25 +0700 · 2 mins read
pinned blog cover
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
published 2024-07-10 21:59:43 +0700 · 2 mins read
pinned blog cover
JavaScript Microtask and Macrotask Queue
JavaScript interviews often include questions about asynchronous programming, as it's a fundamental concept in modern web development. One common challenge is understanding the intricate dance between Promises, timers, and the event loop. The Ch...
Frontend
Frontend
Interview
Interview
published 2024-07-10 12:03:29 +0700 · 3 mins read
blog cover
JavaScript Immediately Invoked Function Expression
Today, we're diving into a common JavaScript pattern you've likely encountered: the Immediately Invoked Function Expression (IIFE). This pattern is used to manage scope and prevent global pollution.1. The ProblemConsider this simple script:// languag...
Interview
Interview
Frontend
Frontend
published 2025-07-17 14:50:21 +0700 · 4 mins read
blog cover
Modern JavaScript OOP Features: True Private Fields, Static Methods, and More
When I first started learning JavaScript, its object-oriented features felt like an afterthought. The language had objects and prototypal inheritance, but it was missing key features like true private fields and methods. That’s why many developers tu...
Software Engineer
Software Engineer
Frontend
Frontend
published 2025-06-28 21:18:52 +0700 · 5 mins read
blog cover
I just made a serious mistake with Rails destroy_all
Rails Active Record is convenient and human-readable for interacting with SQL models. But not understanding the generated SQL behind these elegant methods can cause serious data loss that might go unnoticed until it's too late.1. Setting the SceneThi...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
published 2025-06-23 18:47:22 +0700 · 4 mins read
blog cover
Standard convolution and lite versions
In school, you may have studied standard convolution in your lectures. Standard convolution is effective for image processing, but it requires a significant number of parameters and heavy computational resources. Recently, several research advances h...
AI
AI
published 2025-06-04 17:04:54 +0700 · 3 mins read
blog cover
Rails 7.2+: How to show all model attributes in Rails Console
With the release of Rails 7.2, a new change was introduced to the way ActiveRecord models are inspected in the Rails console. Prior to this version, calling inspect on an ActiveRecord model instance would display all the model's attributes by default...
Ruby on Rails
Ruby on Rails
published 2025-04-22 11:12:40 +0700 · 2 mins read
Loading more ...