nojhan

Results 122 comments of nojhan

Catégoriser les classe dans « Particle Swarm Optimization »

Fait un `rebase` pour virer les commits de tests fantômes

Il serait pratique d'avoir la possibilité de rediriger le flux de log sur plusieurs streams, est-ce qu'il y a un outils pour ça dans la STL ou est-ce qu'il serait...

Thanks for this feature. To answer your questions: 1) yes, tests should be added in the /test/ directory. It's just a matter of adding a `t-.cpp` binary that use `assert`...

Run OneMax (`--problem=0`) for all combinations, and check if some operator instances are involved in zero performance. On OneMax with random init, it should never be far lesser than n/2...

Probably more a job for [direnv](https://direnv.net/) or [autoenv](https://github.com/hyperupcall/autoenv) than for the prompt.

Using `df` would have the advantage of being quite portable. What about just checking the filesystem mounted for the current directory? Zsh can do it with a one-liner: ```zsh echo...

Here is [how Powerlevel10k is doing it](https://github.com/romkatv/powerlevel10k/blob/master/internal/p10k.zsh#L8416) in at most 3 subshell calls (MIT licensed): ```sh _p9k_uname="$(uname)" [[ $_p9k_uname == Linux ]] && _p9k_uname_o="$(uname -o 2>/dev/null)" _p9k_uname_m="$(uname -m)" if [[...

`_LP_SHELL_*` variables are sufficient to build up theme displaying the shell name, so I close this issue.

Technically, an associative array is just an array of pair with fancy access. So we can configure this with an array of strings figuring a pair: ```bash LP_ENV_TAGS=( "HTTP_PROXY ↥"...