Ben Chuanlong Du's Blog

It is never too late to learn.

Useful Rust Crates for String

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

indoc

The indoc crate provides a procedural macro for indented string literals. The indoc!() macro takes a multiline string literal and un-indents it at compile time so the leftmost non-space character …

Useful Rust Crates for Database

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

Neon

Neon is a serverless open-source alternative to AWS Aurora Postgres. It separates storage and compute and substitutes the PostgreSQL storage layer by redistributing data across a cluster of nodes.

sqlx …

LLM in Rust

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

  • llm

    llm is an ecosystem of Rust libraries for working with large language models - it's built on top of the fast, efficient GGML library for machine learning.

  • llama2.rs

  • ollama-rs

    A …

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 …

Popular Databases

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

The YouTube video How to Choose The Right Database has great advices on how to choose the right databases.

Types of Databases

  • relational
  • non-relational
  • key value database
    • document database
    • wide column …