Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Credit Report

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

https://www.optoutprescreen.com/

you can opt out electrically for 5 years

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 …

Tips on the Fish Shell

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

Configuration

~/.config/fish

Key Bindings

Shortcuts Description
Alt-. Get parameter of previous commands.
Alt-e Edit the current command line in an external editor.

Please refer to Interactive use for a more …

Manage Python Projects Using uv

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

Installation

curl -LsSf https://astral.sh/uv/install.sh | sh

curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh

Usage

Ad-hoc Python Shell & Scripts

  1. You can …

Recommendation of Credit Card Usage

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

Tips and Traps

  1. Avoid AMEX as it is nutorious for closing many customers' credit cards without valid reasons.

  2. Costco is a wholesale. It is not considered as a grocery or supermarket …

Tips on PSE

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

  • Energy Adviser Department: 800-562-1482
  • Time-of-Use: tou@pse.com