Thái Anh Đức

Software architect from Việt Nam. Partner at https://ritvn.com/.  Train with Kettlebells. Run with minimal shoes and sandals.
June 15, 2026

How Tony Stark survive

Iron Man Tony Stark with super amor. Under the mighty amor is human flesh and bones and joins. For years, I could not explain how he performs with the speed of the machine. We have AI in reality. There are agents. Unfortunately, we are not Iron Man, not in Marvel. How could our brain operate and/or catch up with AI?
Read more
June 11, 2026

Walk

He walked. His mind wondered. What has he become? Who sold him that plan? And how long has he been on the plan? After 30 minutes, he even did not know what that plan was. The power of walking alone. At first, the resistant, the self inquiry questions. It was boring. After a few days, those questions disappeared. Another series came up....
Read more
June 10, 2026

Look around

A man sitting on the side road with cigarette and phone. A woman running a round the blocks. She does it every night. A girl taking her dog for a walk. A man pulling a tyre. A few couples walking hands in hands. Some rushed after a late work. A peaceful night. Almost every night since one started noticing it.
Read more
June 9, 2026

Take your time

Take your time. Everything takes time. Good thing takes longer time. Great thing takes a great deal of time. Perception of time is interesting. The same 1 hour passed. It might feel fast or slow depending on the time of the day, the mood, the physical condition. Waiting in the red light, 30s feels like hours. It all takes time. TAKE YO...
Read more
June 8, 2026

Fear of running

Fear of overstride, hammering the road. Fear of injury. Fear of being slow to others. Fear of being seen lazy. Fear of not train enough. Fear of ... well of ... All are imagined. They feel real. The body is tensed or sluggish. No rhyme no soul in every step. Just run.
Read more
June 8, 2026

The fear costs the soul

THE FEAR COSTS THE SOUL. MOST OF THEM ARE UNREAL. THEY COME. SAY HI! AND SILIENT.
Read more
June 5, 2026

Opinioned slice architecture solution structure

When I started my software engineer career, layered structure was the default. There were Api, Application, Infrastructure, Abstraction, Data Access projects. There were also unit test and integration test projects. When I heard about Vertical/Feature/Slice Architecture, It reasoned well with me. I liked it immediately. Since then, it ...
Read more
May 29, 2026

Three questions for Agent

I used Claude Code to build Agent Skills. A planner skill, an implementer skill, ... Took a few iterations to get the basic. They worked. Sometimes, I revisisted to improve them. The three questions for Agent: 1. What can we improve? 2. Which parts are not good? 3. Which parts are not useful? The first question always generates a lot o...
Read more
May 10, 2026

Evolve my AI Coach

Two weeks ago, I built a CLI application that allows me to register my training, very customized to me. It then connects to my Strava and acts as an AI Running Coach. The command to log a strength training session It has a fixed "weight". Which is not accurate for my training. Simple and Sinister program has different weights for Swing...
Read more
May 9, 2026

Faster development feedback loop with Claude Code

I were working on a new project. The critical part of any project I have been working on is the Data Model. The data model evolves over time. There are a few steps in our working style: 1. Define the minimal data model to work with at the time. 2. Database schema. We use EF Core with relational database. Schema is auto generated. 3. Ne...
Read more
May 8, 2026

Modernize unit test with Claude Code

With a large codebase for over 7 years, the unit tests carries a legacy. It has been designed and built with technologies then and with special purposes: to run both Unit Tests and Integration Tests with the shared test code. In short, the actual tests are used for both scenarios. We dropped the Integration Tests a few years ago. The r...
Read more
May 2, 2026

My self-made AI Coach

I built an AI Coach https://world.hey.com/thaianhduc/the-new-way-of-building-apps-9b4c36d4 as an experiment to explore Claude Code. Today, I chatted with it how is my training looking so far? Pretty cool. The cool thing is that I can build it with my personal philosophies, custom training. For example, I can add some context in my ques...
Read more
May 1, 2026

Slice architecture and Claude Code

I am a fan of Slice Architecture for years. The basic idea is that an application is sliced vertically. The goal is to keep features separated as much as possible. Isolation is the key benefit. There is still Layers with Api, Application, Core/Domain. Recently with Claude Code, I asked it to explore one feature in the project. The CLAU...
Read more
April 28, 2026

The new way of building apps

I have logged my training activities on Strava. I wanted to build an app, preferably CLI type, to connect to my Strava and analyze them. And do a few other things. There are many things to consider for such an app. And sometimes, we might not even know where to start. 1. What interfaces does it support? for example: load, analyze, plan...
Read more
April 24, 2026

My first PowerShell command

For two decades, I did not pay attention to creating or using PowerShell (PS) scripts/commands. I was not in the terminal, script mode. My time are in Visual Studio, Rider, or Visual Studio Code. Some short of IDE. I have changed since I started Claude Code. More time in terminal. Started to enjoy the command line (CLI) world. I like b...
Read more
April 24, 2026

Claude Code and I

Claude Code is an Agentic Loop agent. It will figure things out on its own given the task and context. We should avoid giving it concrete instructions of how to do things. Our focus should be expressing our intent as clear as possible to Claude Code, giving it enough context. There is no hard rule of how much is enough. It is context d...
Read more
April 12, 2026

The case of background job

The other day, I had a task to design a feature that accepts a list of items and returns an ID to the caller. The caller can use that ID to query the status and download the result. It is a classic problem that background job comes to mind. My project is on .NET Core running on Azure. There are a number of options to implement a backgr...
Read more
April 4, 2026

API design

The other day I had a discussion with the team regarding an API design. We designed Web API endpoints to manage "self-service" functionalities. Basically, we need APIs to allow front end applications to call our API to manage the current user. From the endpoint perspective, there are two options. Implicit. The API implementation will f...
Read more
March 26, 2026

Learn to code with Agent

Approach AI Agent to code as learning my first programming language. Remember the time when we started our career, we learned how to write a method, how to use a library, ... we learned to code to tell computers what to do. AI Agent, especially for developers, is the abstraction above programming language. In a way that, we do not need...
Read more
March 24, 2026

Pair programming with AI Agent

I had a hard time to capture the nuance of AI hype. Often, I heard people said: Create an instruction file Create skills file Create pattern And describe problem/solution clearly And the AI will do the work for you. Bump. Easy pieces. I do not believe it. It sounds so simple and easy. Meaning there are tons of layers below. They are co...
Read more
March 13, 2026

Write your own messages

Back a few years ago, I read messages, texts from developers, CVs from applicants. There were many mistakes in writing. Terrible grammar. Sentence by sentence. Writing sucks and so do I. Yet they were simple and straight to the point. I understood what they wanted to tell immediately. I spent less time and cognitive power to proceed in...
Read more
March 12, 2026

What do we train, exactly?

I joined the running community for a few years. Recently, I started trail running. The same pattern emerged from people I have seen. Just a small number. So a pure observation on a small number of datasets. They seem to train to know how to use gears. So much attention to Shoe, Gel, Electrolytes drink, Poles. And with the goal of tryin...
Read more
February 24, 2026

Organic code

Will AI Agent coding be like another Food Industry? We grew crop, chicken, pig, cow, ... on farm. We eat all natural food. No massive production. Everything was good and healthy (as we know now). But, with limited supplies. It took time to farm crop, to raise chicken and harvest eggs. We invented machine and chemical stuff to massive p...
Read more
February 12, 2026

Two decades of writing code

Graduated September 2025. 4 months in the Army. 4 years with Catglobe Vietnam. 2 years with Xn Hotels Vietnam. 14+ years with RITVN + Consultant for Globeteam Denmark. Write code in .NET stack. Build and Lead teams to deliver good stuff. I love being in a small reasonable team size around 7-9 members. It is the size of a unit in the Ar...
Read more
February 2, 2026

I cannot outsmart biology

For years, I had been on 6-7 hours sleep schedule; usually at the low end. Work. Train. Eat. Had coffee every day in the morning. A consistent pattern showed up: • Feel sleepy kind of all day. If I sit alone for 5 minutes, I could sleep immediately. • Lunch crash. After lunch, I cannot do anything except for a nap, from 15 to 30 minute...
Read more
January 28, 2026

More sleep, restructure training

Have been running on less 6-7 range sleep for years. It seems fine. However, I noticed I felt asleep at day without coffee; and seems not fully awake or felt energized. Let try with 7-9 range sleep. With the cap wake up time at 6:00AM. Go to bed before 10:00PM. If I wake up before 6:00AM, then up and train. Else alarm at 6:00AM. Saturd...
Read more
January 19, 2026

Running training strategy in 2026

How well: Technique Tyre walking, rope flow, awesomizer, skipping, happy hip hack. Run "fast" with fluidity. Not trying to run fast. How fast: Speed Speed work. Engage more ass muscle at faster speed, shorter time. How far/long: Endurance Long run ranging from 15km to 21km or 28km. "Slow" with good form. Comfortable running and breathing.
Read more
January 13, 2026

Day 125 average sucks

Wake up 4:45 Prepare coffee and 10 push ups while waiting 6 pull ups 10 KB 32kg deadlifts Rope + Awesomizer 1h Tyre walking Focus on building base and running mechanic
Read more
January 9, 2026

As ... what?

Sometimes we see As a software developer As a project manager As an architect As ... [what-ever] As if you can deliberately separate your mind to play a complete differently role at different time at will. Human is a mess, a beautiful mess. Messy inputs, messy outputs. Try to remember a time when we were angry, yelled at others, even o...
Read more
January 8, 2026

Day 124 average sucks

Wake up 4:45 Prepare coffee 10 push ups 6 pull ups Rope Awesomizer Run 6km 2x10 scorpion push ups
Read more

See more posts »