Ben Chuanlong Du's Blog

It is never too late to learn.

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 …

SQL Equivalent

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

SQL translation is a great tool that transalte any SQL statement(s) to a different dialetc using the JOOQ Parser.

SQL Variant Code
List
databases [1 …

The NeoVim Plugin for Visual Studio Code

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

https://github.com/asvetliakov/vscode-neovim

Installation

  1. Install NeoVim 0.5+ using icon.

    icon nvim -ic --ppa
    
  2. Install the NeoVim plugin from the extension market in VSCode or Code Server.

  3. Set the …

Common Type of Iterators in Rust

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

There are 3 ways:

  1. convert both iterators to concrete collections with the same type
  2. enum
  3. Box<dyn Iterator<Item=Type>>

Develop Macros in Rust

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

Useful Crates for Macro Development

syn

Syn is a parsing library for parsing a stream of Rust tokens into a syntax tree of Rust source code.

quote

Quote provides the quote! macro for turning Rust syntax tree data structures into tokens of source code.