Writing about AI, Machine Learning and Programming
How to schedule posts for future publication?
Sometimes you may write several posts in one sitting when you have ideas, but you may not want to publish them all at once. Instead, you’d like to publish them one at a time on future dates. You can automate this with GitHub Actions. Here’s how. Step 1: Add a scheduled trigger to the GitHub Actions workflow First, set the schedule in hugo.yml. Open your Hugo workflow file, usually at .github/workflows/hugo.yml or .github/workflows/hugo.yaml. In the on: section, add a schedule trigger as follows: ...
I tried to learn GitHub Actions twice: I failed the first time, but AI helped me succeed the second time
The first time I tried to deploy a static site using GitHub Actions, I gave up halfway through the tutorials. The second time, with the help of an AI agent, I had the site deployed in several hours — and I finally understood how it all worked. The first time, I gave up I first encountered GitHub Actions while reading Hugo static site deployment tutorials. Most showed the classic approach: run hugo locally, push the public folder to GitHub, done. A few mentioned GitHub Actions. This approach uses a workflow and saves time. The automatic workflow sounded efficient and I wanted to give it a try. ...
AI writes code now — so what should we actually learn?
With AI coding, I can build things faster than ever. Yet I’ve never felt less in control. Last November, with the launch of GPT 5.1 and Claude Opus 4.5, something changed: AI started producing production-ready code in minutes. Since then, I’ve found myself thinking about building more things. In the past, a lot held me back: where should I start? Should I learn more frontend and backend before diving in? Now AI can put together a project in minutes, and I can study the code afterwards. ...
Which comes first, data cleaning or model training?
In the past, I spent a lot of time on exploratory data analysis(EDA) and data cleaning before putting data into training. After that, I’d like to pick a state-of-the-art model. However, fastai course changed my idea. ...
How to train an image classification model using fastai?
Can you believe it? On the very first class of fast.ai course: Practical Deep Learning for Coders 2022, I trained an image classification using fastai to tell apples from peaches. (you may click Kaggle link to have a look). Amazing! You may wonder: can I make it too? Yes, of course. Then how to do it? Let’s dive into it. ...
How to add a Mailto link on each page in Hugo?
On this website, I put my email link at the end of each post in place of the comment system. This was inspired by Eli Bendersky’s website. How to make it? ...