Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- Prefer
Option<&T>
to&Option<T>
as data APIs. for more discussions, please refer to Choose the Right Option .
Parse Command Line Arguments in Go
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
flag is a Go standard library for parsing command-line arguments. It is simple but limited. For more discussions, please refer to Parse Command Line Arguments Using Flag in Go .
Engine and Runtime for JavaScript
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
JavaScript Engines
v8
V8 is Google's open source JavaScript engine.
Starlight
Starlight is a JS engine in Rust which focuses on performance rather than ensuring 100% safety of JS runtime.
JerryScript …
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¶
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., thestrings
Embed File in Golang Binary
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!