Ben Chuanlong Du's Blog

It is never too late to learn.

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 Scripts

  1. Initialize a uv managed …

Prompt Engineering for LLM Tools

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

Tips and Traps

  1. set temporature

  2. give some examples

  3. leverage built tools provided by LLM products. For example, Google AI Studio provides tools

    • grounding with google search, etc.

Tools for Generating and …

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

  • llama-node

  • rllama …

FireNVim Brings NeoVim into Your Browser

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

Installation

  1. Install icon.

    curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | sudo bash -
    
  2. Install and configure NeoVim using icon.

    icon nvim -ic
    
  3. Install the FireNVim plugin for your …

Editing Text in Browser Using Vim

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

Firenvim Alternatives Summary
Tool How it Works Pros Cons Best For...
Firenvim Embeds a real Neovim instance Full power of Neovim, embedded directly in the page. Can be complex to set …