2024-01

Docker

[Docker🐳] Docker Tips (updatable)

Forcus on mysql container. pull image docker pull mysql build and run container from pulling image docker run --name por...
未分類

[Rust🦀] Rust Web Application Framework Actix Setup

# What is Actix? Actix is one of the most high performance web framework written in Rust. If you want to know in the det...
Rust

[Rust🦀]I analysed the error to make me level up as a Rust developer !!

# ownership and borrowing I'm always confused about which valuable has `ownership` or `borrowing`. The following code wa...
Rust

[Rust🦀] How To Pass The Closure To The Function Argument

For example `execute()` function can take the type of closure as `F` F defines `FnOnece() + Send + 'static` ('static is ...
General

[Programming]Multiple Producer Single Consumer (MPSC)

# What is MPSC? multiple entities (producers) generate or produce data, and a single entity (consumer) processes or cons...
未分類

[Linux🐧]Oops!! My port has already bound!! How to kill it ?

How to search the process that buinding the port? You can see it by th command! lsof -i TCP | grep 7878 /*result here*/ ...
Rust

[Rust🦀] Features Accomodating Everyday

Rust features Features of the language connect some &str variables Best way Use to_string() let str1 = "Hello, "; let st...
Dart

[Flutter/Dart]My project doesn’t have `analysis_options.yaml` in the root directory

A question I could not find analysis_options.yaml in my project. And I didn't know how Flutter/Dart analyze errors and w...
Dart

[Flutter/Dart💠]I read a valuable article about `null safety`

I feel hazy about 'null safety' When I review the code written by my collegue by using Dart(Flutter), I came across the ...
Swift

[Swift🕊️] `guard let` must not fall through !

I believed Swift could the following code like this. Swift guard let a = a else { assert(false, "This code would be comp...