#engineering
43 posts
- Using LLMs to Secure Source Code
AI Engineer 2026 · Sharing what we learned from Project Glasswing.
- Product Evals in Three Simple Steps
Label some data, align LLM-evaluators, and run the eval harness with each change.
- Advice for New Principal Tech ICs (i.e., Notes to Myself)
Based on what I've learned from role models and mentors in Amazon
- Improving RecSys & Search with LLM techniques
AI Engineer 2025 · Recsys & search are converging with LLMs via semantic IDs, data augmentation, and unified foundation models.
- An LLM-as-Judge Won't Save The Product—Fixing Your Process Will
Applying the scientific method, building via eval-driven development, and monitoring AI output.
- Building LLM-Powered Applications
NVIDIA GTC 2025 · Chip Huyen and I share what we've learned, best practices, and insights at NVIDIA GTC 2025.
- My Minimal MacBook Pro Setup Guide
Setting up my new MacBook Pro from scratch
- 39 Lessons on Building ML Systems, Scaling, Execution, and More
ML systems, production & scaling, execution & collaboration, building for users, conference etiquette.
- Building the Same App Using Various Web Frameworks
FastAPI, FastHTML, Next.js, SvelteKit, and thoughts on how coding assistants influence builders' choices.
- What We Learned from a Year of LLMs
AI Engineer 2024 Keynote · Special double-feature closing keynote from the 6 authors of the hit O'Reilly article on Applied LLMs.
- Applying LLMs to Recommendation Experiences
Netflix PRS 2024 · Challenges and lessons from deploying LLM experiences: evals, scalability, guardrails.
- What We've Learned From A Year of Building with LLMs
From the tactical nuts & bolts to the operational day-to-day to the long-term business strategy.
- Don't Mock Machine Learning Models In Unit Tests
How unit testing machine learning code differs from typical software practices
- Building Blocks for LLM Systems
AI Engineer 2023 Keynote · Evals, retrieval-augmented generation, guardrails, and collecting feedback; all that good stuff.
- Patterns for Building LLM-based Systems & Products
Evals, RAG, fine-tuning, caching, guardrails, defensive UX, and collecting user feedback.
- Obsidian-Copilot: An Assistant for Writing & Reflecting
Writing drafts via retrieval-augmented generation. Also reflecting on the week's journal entries.
- More Design Patterns For Machine Learning Systems
9 patterns including HITL, hard mining, reframing, cascade, data flywheel, business rules layer, and more.
- RecSys 2022: Recap, Favorite Papers, and Lessons
My three favorite papers, 17 paper summaries, and ML and non-ML lessons.
- Is the Juice Worth the Squeeze?
RecSys 2022 Keynote · Invited keynote at the Workshop for Online Recommender Systems and User Modeling (ORSUM)
- Writing Robust Tests for Data & Machine Learning Pipelines
Or why I should write fewer integration tests.
- Simplicity is An Advantage but Sadly Complexity Sells Better
Pushing back on the cult of complexity.
- Uncommon Uses of Python in Commonly Used Libraries
Some off-the-beaten uses of Python learned from reading libraries.
- Design Patterns in Machine Learning Code and Systems
Understanding and spotting patterns to use code and components as intended.
- Traversing High-Level Intent and Low-Level Requirements
How they differ and why they work better in different situations.
- Data Science Project Quick-Start
Hard-won lessons on how to start data science projects effectively.
- System Design for Recommendations and Search
Breaking it into offline vs. online environments, and candidate retrieval vs. ranking steps.
- How to Write Design Docs for Machine Learning Systems
Pointers to think through your methodology and implementation, and the review process.
- How to Write Better with The Why, What, How Framework
Three documents I write (one-pager, design doc, after-action review) and how I structure them.
- Feature Stores: A Hierarchy of Needs
Access, serving, integrity, convenience, autopilot; use what you need.
- How to Win a Data Hackathon (Hacklytics 2021)
What the top teams did to win the 36-hour data hackathon. No, not machine learning.
- Applied / Research Scientist, ML Engineer: What’s the Difference?
A personal take on their deliverables and skills, and what it means for the industry and your team.
- Data Discovery Platforms and Their Open Source Solutions
What questions do they answer? How do they compare? What open-source solutions are available?
- How to Test Machine Learning Code and Systems
Checking for correct implementation, expected learned behaviour, and satisfactory performance.
- Adding a Checkbox & Download Button to a FastAPI-HTML app
Updating our FastAPI app to let users select options and download results.
- How to Set Up a HTML App with FastAPI, Jinja, Forms & Templates
I couldn't find any guides on serving HTML with FastAPI, thus I wrote this to plug the hole on the internet.
- How to Update a GitHub Profile README Automatically
I wanted to add my recent writing to my GitHub Profile README but was too lazy to do manual updates.
- How to Set Up a Python Project For Automation and Collaboration
After this article, we'll have a workflow of tests and checks that run automatically with each git push.
- Why Are My Airflow Jobs Running “One Day Late”?
A curious discussion made me realize my expert blind spot. And no, Airflow is not late.
- A Practical Guide to Maintaining Machine Learning in Production
Can maintaining machine learning in production be easier? I go through some practical tips.
- 6 Little-Known Challenges After Deploying Machine Learning
I thought deploying machine learning was hard. Then I had to maintain multiple systems in prod.
- OMSCS CS6200 (Introduction to OS) Review and Tips
OMSCS CS6200 (Introduction to OS) - Moving data from one process to another, multi-threaded.
- Asia's Tech Giants & SuperApps
OLX Prod Tech 2019 Keynote · Keynote on how Asia's tech giants scale and their SuperApp strategy.
- OMSCS CS6300 (Software Development Process) Review and Tips
OMSCS CS6300 (Software Development Process) - Java and collaboratively developing an Android app.