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
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
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
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
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
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
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
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
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
Read more
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
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
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
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
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
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
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
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
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
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
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
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
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
Read more
January 8, 2026
Day 123 average sucks
Wake up 4:45 Prepare coffee 10 push ups 6 pull ups 10 KB 32kg deadlifts Rope 2x2 Turkish get ups 24kg Awesomizer 45 minutes tyre walking 2x10 scorpion push ups
Read more
Read more
January 6, 2026
Day 122 average sucks
Wake up 4:45 Prepare coffee 10 pushups 6 pullups 10 KB 32kg deadlifts Rope and Awesomizer 2x2 Turkish get ups 20kg Tyre walking 2x10 scorpion push ups
Read more
Read more
January 6, 2026
Visual studio 2026 default theme
As far as I remember, Visual Studio (VS) has a default Blue theme for years. It is simple and easy for me. I am kind of color-blind guy. I am fine with colors in rainbow. I think there were discussions and debated in VS team. And they had reasons to change. I just do not get it personally. It is one of the many things in recently years...
Read more
Read more
January 6, 2026
Day 121 average sucks
Wake up 4:45 Prepare coffee 10 push ups 6 pull ups 10 KB 32kg deadlifts 2x10 Turkish get ups 20kg Rope and Awesomizer 7.4km run slow and speed Back walking recovery
Read more
Read more
January 5, 2026
The predictive brain
An interesting information I heard this morning from the book "Explore Gene": The brain guesses the surrounding environment, so the world around us, and then sends signal to peripheral sensors. The sensors send back the actual information to the brain. It will calculate the delta. The goal is to minimize the delta. And the brain is con...
Read more
Read more
January 5, 2026
Day 120 average sucks
Wake 4:45 Prepare coffee and egg 6 pull ups 10 push ups 10 KB deadlifts 32kg Rope flow 2x2 Turkish Get Up 20kg 6km speed run 2x10 scorpion push ups Relax and rest back walking
Read more
Read more
January 3, 2026
Day 119 average sucks
Wake up 6:30 6 pull ups 1h Tyre walking - Incredible feeling. I felt like I were flying after that. 5km run in the afternoon
Read more
Read more
January 2, 2026
Day 118 average sucks
Wake up 7:15 5km run
Read more
Read more
See more posts »