Hello everyone, This is Qimeng
I'm Qimeng, this blog is going to talk about:
- Introduce myself
- my best blog
- bin bot
- state machine
Introduce myself
Taizhou “Gan Si” (dried shredded tofu) is a famous local dish from Taizhou, China. It’s made by slicing firm tofu into very thin strips, then lightly seasoning (often with soy sauce, sesame oil, vinegar, garlic, and chili) to create a fresh, savory, and slightly crunchy cold appetizer.
And I am also interest in sports. I love football. I can play many position like CB, CF, DM, and AM. Yes, I can play everywhere. By the way, I got the first goal in my team. My favorite football player is Messi who won the World Cup in 2022.
The blog
The bin bot
State machine
This ATM state machine shows the whole user flow as clear state (Reading Card → Reading PIN → Choosing Transaction → Performing Transaction → Ejecting Card) with transitions for normal paths and error paths (Invalid Card, Invalid PIN, Cancel). It ensures the ATM always ends in a safe state—usually Ejecting card—no matter what happens.
They make complex logic predictable. You can see every allowed step, block impossible actions (e.g., no transaction before PIN), and handle failures consistently. That makes the system safer, easier to test, and easier to debug
It’s a real-world system with lots of edge cases (wrong card, wrong PIN, cancel, repeat transactions). The diagram proves the ATM behaves like a well-designed product: structured, user-friendly, and secure.
This is my state machine diagram in drawio for DRS.





Comments
Post a Comment