beiryu
  • Projects
  • Blog
  • About

© 2026 Khanh Dinh. I build software and write about the journey.

  • GitHub
  • LinkedIn
  • X

The beiryu letter

Notes on building software, shipping side projects, and what I learn along the way.

Free. Unsubscribe any time.

  • GitHub
  • LinkedIn
  • X

Featured

Jun 8, 2024 · 0 views

How to Set Up Real Time Performance Monitoring with Netdata

Netdata provides real-time performance monitoring for Linux systems, visualizing processes and services through web dashboards. The tutorial outlines how to install and configure Netdata, including installing dependencies, cloning the Netdata repository, building and installing the application, and configuring memory usage. It also covers enabling Kernel Same-page Merging to optimize performance, and hosting the Netdata dashboard through Nginx for secure access. The tutorial concludes with a brief exploration of the Netdata dashboard.

All posts

38
Jul 14, 2026· 0 views

The Difference Between Polar and Other Payment Providers

Polar is a Merchant of Record (MoR) billing platform built for developers selling software and digital products. Unlike payment processors like Stripe, Polar handles global tax compliance, automated benefit delivery (license keys, GitHub access, Discord), and full billing infrastructure in one product at 4% + 40¢. Compared to other MoR options (Paddle, Lemon Squeezy), Polar is open source, offers lower fees, framework adapters for a 6-line integration, and is designed to scale from indie to enterprise without switching platforms.

37
Jan 1, 2026· 0 views

What is MCP Server? A Deep Dive into the Model Context Protocol

MCP (Model Context Protocol) is an open standard that lets AI apps connect to external data and tools. An MCP server is a program that exposes three things to the AI: Resources (read-only data), Tools (callable actions), and Prompts (reusable templates). One host (e.g. Claude or ChatGPT) can talk to many servers—files, calendar, database, Slack—so the AI can read your context and take actions in one place. Think of it as USB-C for AI: one protocol, many integrations.

36
Apr 14, 2025· 0 views

Ferrero WAF, The Need to Retest All Stories

In the previous part, we discussed the challenges and experiences of building the "Let's Story" feature in the Applaydu application. However, with the introduction of Ferrero WAF (Web Application Firewall), a new requirement emerged: we needed to thoroughly retest all the stories.

35
Mar 30, 2025· 0 views

How to write technical specification

Because after a long period of time, we may not be able to remember what and why we decide for that design.

34
Mar 14, 2025· 0 views

Friend Service System Design

The Friend feature facilitates the management of user relationships, enabling connections and providing options for blocking interactions when necessary. This functionality enhances player connectivity and serves as a foundation for additional features, such as activity tracking and social engagement opportunities.

33
Mar 1, 2025· 0 views

Exploring Colyseus: Building Scalable Game Servers and Enhancing Team Performance

In the world of multiplayer game development, having a robust and scalable game server is crucial for delivering a seamless gaming experience to players. In this blog post, we'll dive into Colyseus, a powerful framework for building game servers, and explore its features, benefits, and how it can improve team performance. We'll also take a closer look at the Colyseus playground and its role in game server development.

32
Feb 14, 2025· 0 views

My Journey of Finding a Remote Job and Balancing Work-Life

In today's digital age, remote work has become increasingly popular, offering flexibility and new opportunities for professionals. In this blog post, I want to share my personal experience of finding a remote job, the challenges I faced, and how I manage to balance my work and personal life effectively.

31
Jan 28, 2025· 0 views

Mastering the Art of Confident Presentations: Overcoming Fear and Embracing Your Voice

Public speaking is a skill that can open doors to countless opportunities, both in personal and professional life. However, for many people, the thought of standing in front of an audience and delivering a presentation can be daunting. The fear of public speaking, also known as glossophobia, is one of the most common phobias. But with the right mindset and techniques, anyone can overcome this fear and become a confident presenter.

30
Jan 15, 2025· 0 views

Hành trình xây dựng tính năng đọc truyện trong ứng dụng Applaydu (phần 1)

Xin chào các bạn, hôm nay mình sẽ chia sẻ với các bạn về hành trình xây dựng tính năng đọc truyện "Let's Story" trong ứng dụng Applaydu và những câu chuyện thú vị xoay quanh quá trình phát triển tính năng này.

29
Dec 24, 2024· 0 views

Snowflake - Giải pháp lưu trữ và xử lý dữ liệu đám mây trong môi trường production

Xin chào các bạn, hôm nay mình sẽ chia sẻ với các bạn về Snowflake - một nền tảng dữ liệu đám mây mà mình đã có cơ hội làm việc và triển khai trong các dự án gần đây. Mình sẽ giải thích về Snowflake, lý do tại sao nó lại quan trọng trong môi trường production, và chia sẻ một số kinh nghiệm thực tế khi làm việc với Snowflake và AWS.

28
Dec 12, 2024· 0 views

Exploring Communication Patterns in Microservices: A Closer Look at REST APIs

Microservices have become a popular architectural style for building large-scale and complex applications. One of the key aspects of microservices is how they communicate with each other. In this blog post, we'll explore different communication patterns used in microservices and take a closer look at REST APIs, which are widely used for inter-service communication. We'll also discuss the advantages and disadvantages of using REST APIs based on my experience in a current project.

27
Dec 1, 2024· 0 views

The Changing Landscape of the Tech Industry: Layoffs, Hiring Trends, and the Rise of A

The tech industry has long been known for its rapid growth, lucrative salaries, and innovative products. However, recent developments have shed light on the challenges faced by tech companies, leading to significant changes in the employment landscape. In this blog post, we will explore the current state of the tech industry, focusing on the decline in business performance, layoffs, hiring trends, and the disruptive potential of artificial intelligence (AI).

26
Nov 16, 2024· 0 views

A Comprehensive Guide to Deployment and Infrastructure: AWS, NestJS, MongoDB

This article provides a detailed overview of the deployment process, infrastructure. It covers everything from Git branching strategies to AWS infrastructure, CI/CD pipelines, database setup, and security considerations.

25
Oct 28, 2024· 0 views

Xây dựng hệ thống streaming video

Xin chào các bạn, hôm nay mình sẽ chia sẻ với các bạn về kinh nghiệm xây dựng hệ thống streaming video và cách tích hợp với các dịch vụ của bên thứ ba như Dropbox và Bunny. Qua bài viết này, mình hy vọng sẽ cung cấp cho các bạn một cái nhìn tổng quan về kiến trúc streaming video và những lựa chọn phổ biến khi làm việc với các dịch vụ bên ngoài.

24
Oct 15, 2024· 0 views

Xây dựng thói quen để thành công

Trong văn hóa châu Á, đặc biệt là ở Việt Nam, chúng ta thường nghe câu "Có công mài sắt, có ngày nên kim". Điều này hoàn toàn đúng với việc học lập trình. Việc code mỗi ngày, dù chỉ một chút, cũng như giọt nước mưa kiên trì rơi xuống, từng giọt một sẽ tạo nên đại dương mênh mông của kiến thức và kinh nghiệm.

23
Oct 2, 2024· 0 views

Sự thật thú vị: Không phải code đẹp mới là code tốt

Làm việc trong ngành phát triển phần mềm được một thời gian, tôi nhận ra một điều thú vị: không phải lúc nào code đẹp cũng đồng nghĩa với thành công về mặt kinh doanh. Hãy cùng tôi đi sâu vào một vài ví dụ điển hình và bài học từ thực tế.

22
Sep 18, 2024· 0 views

Gaming Industry from the Inside: My Gameloft Experience

After facing challenges in job hunting and going through a rigorous 5-round interview process at Gameloft, I found myself in a professional environment that values work-life balance, documentation, and team bonding. The experience at Gameloft, from the welcoming first day to memorable team trips to Vinh Hy and Cam Ranh, has shown me that a workplace can be more than just about work - it can be a place where lasting relationships are built and professional growth is nurtured.

21
Sep 6, 2024· 0 views

Consolidate various health tracking platforms (Garmin, Polar, Apple Watch, etc.) into a single system.

In the ever-evolving landscape of digital health, the need for a unified platform that consolidates data from various health tracking devices has become paramount. This article provides an in-depth look at how to create a system that seamlessly integrates data from popular platforms such as Garmin, Polar, Apple Watch, Dexcom, Withings, Fitbit, and Spotify.

20
Aug 22, 2024· 0 views

Guidelines for Developing an OpenAI for a Health Advisory System

In the era of digital health, leveraging artificial intelligence to provide personalized health advice has become increasingly important. Today I want to guild you build an application that designed to provide personalized fitness coaching and activity tracking. The system leverages artificial intelligence, specifically OpenAI's GPT models, to offer tailored advice, generate challenges, and interact with users in a natural, conversational manner.

19
Jul 25, 2024· 0 views

3 Tips To Become A Powerful Human Being

Harnessing personal power is key to leading a fulfilling life. To do this, reduce your words and movements by 50 percent to conserve energy and enhance focus. Chanting a mantra can also generate personal power. This power is not about domination, but about becoming effective and empowered, allowing you to walk through life with dignity and grace.

18
Jun 20, 2024· 0 views

Swapping out newbie coders for AI: What can it do and where does it fall short?

So, we're gonna chat about whether AI (you know, artificial intelligence) can take over the jobs of newbie programmers. Sure, AI's pretty cool - it can handle the boring stuff, make your code look sharp, and even cut down on all that manual testing. But, can it fully take over? Nah, not really. Beginner programmers bring their own flair to coding, thanks to their learning journeys and their fresh-out-of-the-box ideas. Plus, they're really good at picking up new tech and working with their team. So, while AI's a great sidekick in coding, it's not about to steal the limelight from our entry-level programmers anytime soon.

17
Jun 8, 2024· 0 views

How to Set Up Real Time Performance Monitoring with Netdata

Netdata provides real-time performance monitoring for Linux systems, visualizing processes and services through web dashboards. The tutorial outlines how to install and configure Netdata, including installing dependencies, cloning the Netdata repository, building and installing the application, and configuring memory usage. It also covers enabling Kernel Same-page Merging to optimize performance, and hosting the Netdata dashboard through Nginx for secure access. The tutorial concludes with a brief exploration of the Netdata dashboard.

16
May 8, 2024· 0 views

How to notify Slack for AWS CodePipeline

To notify Slack for AWS CodePipeline, create a notification rule for the pipeline, selecting all events and Slack as the target. Register the Slack channel as a target and configure a new chatbot client. After authorizing Slack, specify the Slack channel to connect to, set the chatbot's privileges, and establish guard rules. With read-only access for both allowed rules and guard conditions, the pipeline can trigger notifications to the Slack channel.

15
Apr 26, 2024· 0 views

Jenkins Slack Integration

The tutorial outlines how to integrate Jenkins and Slack for monitoring CI/CD pipelines. It involves setting up a custom Slack app to receive messages from Jenkins, configuring Jenkins with the Slack Notification plugin, and adding the OAuth token from Slack as a secret text credential in Jenkins. Both traditional Jenkins jobs and Jenkins pipelines can be configured to send Slack notifications, with pipeline scripts used to send messages in the latter case.

14
Mar 10, 2024· 0 views

The Purpose of Life: A Unique Perspective

The purpose of life is to live fully and explore every aspect of existence. The search for a higher, god-given purpose often leads to harm and neglect of life itself. The need for purpose stems from our psychological structure, not the process of life. Achieving balance allows us to dismantle the walls of our psychological maze and experience freedom. This exploration and understanding of all dimensions of life is the true purpose of life.

13
Feb 17, 2024· 0 views

The Misunderstood Nature of Stress: A Perspective

Stress is not an inherent part of our lives, but a result of our inability to manage our minds, emotions, bodies, and energies effectively. It's not external situations, but our internal mechanisms that cause stress. A daily routine called 'inner engineering' can help reduce stress significantly. By understanding and managing ourselves better, we can avoid stress altogether.

12
Jan 13, 2024· 0 views

The Miracle of Yoga: Health and Balance from Within

Yoga promotes health and wellness by balancing the energy body, which can alleviate physical and psychological ailments. This balance is achieved through simple practices, not necessarily complex yoga poses. Chronic ailments, which account for over 70% of health issues, are self-produced and can be managed by activating the body's internal repair mechanisms. Thus, yoga is a tool that enables individuals to take charge of their health and wellness.

11
Jan 1, 2024· 0 views

How to build a Portfolio Tracking like CoinMarketCap from Zero (Part 1)

The MVP will focus on essential features required to track and manage portfolios of various assets, including cryptocurrencies. It will serve as a foundation for future feature enhancements adding later: NFTs, stocks, re

10
Dec 15, 2023· 0 views

The Importance of Competence Over Competition

The pursuit of success should focus on personal growth and competence rather than competition. The satisfaction derived from being better than others can lead to an unhealthy mindset. Instead, individuals should strive to reach their full potential, which requires a nurturing environment rather than a competitive one. By fostering a positive atmosphere, we can replace competition with competence and truly thrive.

9
Nov 1, 2023· 0 views

Event-Driven Architecture

Event-driven architecture, Reactive programming, and technologies like NodeJS, Play, and Akka.io are gaining popularity in modern web application development. This shift is driven by technical reasons such as the need for non-blocking approaches for IO-intensive operations and the ability to handle large-scale concurrent scenarios. Event-driven architecture allows applications to react to asynchronous data streams and process events regularly. While traditional tech is not obsolete, non-blocking tech provides higher levels of abstraction and eliminates concerns about low-level memory management and multi-threading. Each technology has its use cases, and upcoming lessons will provide guidelines for choosing the right server-side technology.

8
Oct 23, 2023· 0 views

2FA in NestJS Application & ReactJS using Google Authenticator

This document provides a step-by-step guide on implementing two-factor authentication (2FA) in a NestJS application with ReactJS using Google Authenticator. It covers initializing the NestJS project with basic login password authentication, creating the authentication module, implementing local authentication strategy, adding JWT management, and integrating 2FA. The document includes code snippets and instructions for each step.

7
Sep 20, 2023· 0 views

Reading opensource to become more professional

In the modern technology world, reading open source code is becoming increasingly popular and important for developers. This not only helps them improve their programming skills, but also saves them time and enhances their careers. Below are some benefits of daily reading of open source code for developers.

6
Aug 4, 2023· 0 views

New features of Next.js

Hey there! Ever heard of Next.js? It's a pretty cool tool for creating single page web apps (SPA) and static web apps (SSG). Built on React, Next.js is packed with handy features that can shave hours off your development time and make your pages load lightning fast. In this piece, we're gonna check out what's new and exciting in the latest version of Next.js. Stay tuned!

5
Jul 1, 2023· 0 views

Caching Data from CMS in Next.js

Hey there! This piece will show you how to supercharge your page loading on NextJs with data caching. It's pretty cool, you can use getStaticProps or getServerSideProps to nab data from CMS API and then store it using lru-cache or react-cache - they let you set a lifespan for your data. And that's not all, we're also gonna talk about Redis - a whizz-kid of a global cache solution for your NextJs app.

4
Jun 15, 2023· 0 views

Do These 5 Things Before Sleeping: Tips for a Better Night's Sleep

To improve your sleep quality, try eating a few hours before bedtime, taking a shower, burning an organic oil lamp, practicing a nightly yogic chant, and reminding yourself that you're not just your body. These tips can help eliminate negative thoughts from your bedtime routine and improve your overall well-being.

3
May 26, 2023· 0 views

The rollercoaster ride of landing a programming job as a student

Hey there, programming students! Job hunting can be a real grind, right? But don't sweat it, if you go about it the right way, you can totally ace it and land a cool gig at a groovy programming company. Just do your homework about the company, spruce up that CV and portfolio of yours, and practice your interview skills. Remember, every step counts towards reaching that dream job of yours.

2
May 7, 2023· 0 views

What's up with the future of IT and programming: The cool stuff and the tricky bits

This piece is all about what's next for the IT world, especially for the coding gurus out there. Cool new tech stuff like AI, machine learning, VR, blockchain, and IoT are going to open up a whole bunch of job opportunities and make a difference in all sorts of areas. But here's the kicker - if you want to do well in this space, you've gotta keep on learning and stay up-to-date with the latest and greatest.

1
Apr 6, 2023· 0 views

Start learning programming from scratch: Necessary steps and advice

Hey there! This article's gonna show you all the steps you need to start learning programming from zero, no sweat. We'll walk you through picking a programming language, finding study materials, and getting in some good practice. Plus, we'll show you how to join the programming community and connect with other folks who are just as into this stuff as you are.