I write about Revit, C#, and teaching software to do the boring parts.
I’m Tuan, a software engineer at Tiong Seng in Singapore. I build Revit add-ins and Autodesk Platform Services integrations, and lately agents — one that drives the Revit model, and one that reads drawings and project documents.
This is where I write down what I figure out — usually because I could not find it written down anywhere else.
Writing
August 2026 · 15 min read · rlhf / ppo / machine-learning
RLHF hoạt động thế nào, và tại sao lại là PPO
Không thể dạy một mô hình ngôn ngữ rằng "câu này hay hơn câu kia" bằng học có giám sát. RLHF biến phép so sánh đó thành gradient, còn PPO là thứ giữ cho gradient không phá nát mô hình.
August 2026 · 15 min read · math / machine-learning
Toán nền thực sự cần cho Machine Learning
Không phải một giáo trình. Vài ý cứ quay đi quay lại trong code, mỗi ý ở đó để làm gì, và phần nào trong sách giáo khoa có thể bỏ qua cho tới khi thực sự cần.
August 2022 · 3 min read · revit / revit-api
Crop View bằng RevitAPI
Một công cụ nhỏ giúp tạo nhanh vùng crop cho bất kỳ view nào, thay vì chỉnh tay từng cái một.
What I’m working on
Elsewhere
- Work
- Software Engineer at Tiong Seng, Singapore
- Before
- Software Engineer at Arent, Tokyo
- Studied
- Civil Engineering (PFIEV), HCMC University of Technology
- Code
- github.com/LDATuan