Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Car Maintenance

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Wheel Realignment

  1. It's a good idea to have your wheel alignment checked at least annually. Many professionals recommend checking it every 10,000 to 15,000 miles.

  2. You definitely want to …

Tips on Purchasing or Leasing a Car

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Must-have Featuers

  • TPMS (tire pressure monitoring system)
  • surround camera
  • Lane keep warning
  • mirror blind spot

For EVs

  • able to switch between E-pedal and gas mode?
  • Is level I charing supported?

SUV …

Take Screenshot in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

scrap

scrap makes screen capture easy!

captrs

captrs is a library for cross-platform screen capture in Rust. Uses dxgcap for capture on Windows via the Desktop Duplication API, and X11Cap for …

Async in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Combining asynchronous code with synchronous code that can cause blocking is never a wise choice. When calling asynchronous code from a synchronous context, use futures::executor::block_on and spawn the async …