Blogs
Discover tech insights, tutorials, and coding tips


Speed Up Independent Queries Using Rails load_async
When you're building a dashboard, it's common to fetch multiple, independent datasets. The page loading might be slow because it has to fetch all data to render a page. A common solution is using AJAX to load pieces of the dashboard, which is great, ...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails



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


.jpeg)
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



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



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



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



How Google achieves seamless SSO across multiple domains like Gmail and Youtube?
Have you ever wondered how logging into Gmail can automatically sign you into YouTube, Google Drive, and all other Google services? This behind-the-scenes technique is called Single Sign-On (SSO). In this blog, I will show you some techniques that Go...
Software Engineer
Software Engineer


.jpeg)
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



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


Hello Golang: My First Steps to the Language
I’ve worked with Ruby in several projects, which is defined as "a programmer’s best friend" for its clean and English-like syntax. While my back-end experience is rooted in the Ruby on Rails framework, I prefer TypeScript for building CLI tools and s...
Software Engineer
Software Engineer


Reducing ActiveRecord Queries to Speed Up Your Requests
In Rails, ActiveRecord is one of the things that makes the framework so enjoyable to use. It reads almost like natural language and lets you write database logic in a clean, Ruby-style way.But every line of Active Record still turns into real SQL beh...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails


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

Loading more ...