Ben Chuanlong Du's Blog

It is never too late to learn.

Label Image Data Quickly Without Crowdsourcing

If you have to label images for your project but have no budget for crowdsourcing, here are some simple tips which might help you reduce time on human labeling significantly.

Approach 0: Train a Model on Already Labeled Data and Use it to Label New Data

If you already have some labeled data, you can train a simple model on it and use it to help you label new data.

String in Golang

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

Tips and Traps

  1. string is a primitive type in Golang, which means a string value has no methods on it but instead you have to use built-in functions (e.g., len) or functions in other modules (e.g., the strings

Embed File in Golang Binary

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

Tips and Traps

  1. My understanding is that embeded files are loaded into memory, which means that the Go app might consume large memory if you embed a large file.

  2. The "embed" package does not work with the Gophernotes kernel (for Jupyter/Lab notebooks).

Search Engine for Static Web Sites

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

Below is a list of search engines which run on the client side.

tinysearch

Tiny, full-text search engine for static websites built with Rust and Wasm.

stork

Stork is a library …