Skip to content

Blog

TIL: Semi-Linear History

I have been doing this for a while, but I only recently learned that it’s called “semi-linear history”.

Semi-automatically Generate PDF Table of Contents

I wanted to read Building a UI Framework by Ian Hickson. However, the PDF file is quite long and I can’t read it all at once. To better understand the content, and to be able to jump to specific sections, I wanted to create a table of contents for the PDF file.

I thought about manually creating a table of contents (ToC) for the PDF file, but it’s too tedious. After some research, I found a nice tool that can generate ToC for PDF files semi-automatically.

Are Git Commits States or Changes?

I recently got confused while I was using Git. Does each Git commit store states or changes? I remember they store states, but why do I sometimes feel they store changes/diffs?

A few years ago, I read The Design of Everyday Things, and learned the terms “conceptual model” and “mental model”. A conceptual model is a simple representation of how things work, and a mental model is the user’s internal understanding of it. When there’s a mismatch between the two, confusion arises and it might further lead to user errors.