GNU parallel by Ciro Santilli 37 Updated +Created
The author Ole Tange answers every question about it on Stack Exchange. What a legend!
This program makes you respect GNU make a bit more. Good old make with -j can not only parallelize, but also take in account a dependency graph.
Some examples under:
man parallel_exampes
To get the input argument explicitly job number use the magic string {}, e.g.:
printf 'a\nb\nc\n' | parallel echo '{}'
sample output:
a
b
c
To get the job number use {#} as in:
printf 'a\nb\nc\n' | parallel echo '{} {#}'
sample output:
a 1
b 2
c 3
c 3
{%} contains which thread the job running in, e.g. if we limit it to 2 threads with -j2:
printf 'a\nb\nc\nd\n' | parallel -j2 echo '{} {#} {%}'
sample output:
a 1 1
b 2 1
c 3 2
d 4 1
The percent must be a reference to "split the inputs module the number of workers", and modulo uses the % symbol in many programming languages such as C.
To pass multiple CLI arguments per command you can use -X e.g.:
printf 'a\nb\nc\nd\n' | parallel -j2 -X echo '{} {#} {%}'
sample output:
a b 1 1
c d 2 2
htop by Ciro Santilli 37 Updated +Created
Shor's algorithm by Ciro Santilli 37 Updated +Created
Video 1.
Shor's algorithm Explained by minutephysics (2019)
Source.
LLVM IR hello world by Ciro Santilli 37 Updated +Created
Example: llvm/hello.ll adapted from: llvm.org/docs/LangRef.html#module-structure but without double newline.
To execute it as mentioned at github.com/dfellis/llvm-hello-world we can either use their crazy assembly interpreter, tested on Ubuntu 22.10:
sudo apt install llvm-runtime
lli hello.ll
This seems to use puts from the C standard library.
Or we can Lower it to assembly of the local machine:
sudo apt install llvm
llc hello.ll
which produces:
hello.s
and then we can assemble link and run with gcc:
gcc -o hello.out hello.s -no-pie
./hello.out
or with clang:
clang -o hello.out hello.s -no-pie
./hello.out
hello.s uses the GNU GAS format, which clang is highly compatible with, so both should work in general.
Diamond Sutra by Ciro Santilli 37 Updated +Created
Windows Subsystem for Linux by Ciro Santilli 37 Updated +Created
Even added UI app support as of 2022: learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps That's awesome!
ncurses program by Ciro Santilli 37 Updated +Created
ColdQuanta by Ciro Santilli 37 Updated +Created
Not a quantum computing pure-play, they also do sensing.
Frontier (supercomputer) by Ciro Santilli 37 Updated +Created
Optoelectronics by Ciro Santilli 37 Updated +Created
Phasecraft by Ciro Santilli 37 Updated +Created
The co-founder's name, Toby Cubitt, is the mos awesome thing ever (Cubitt -> qubit). From UCL.
Optical component by Ciro Santilli 37 Updated +Created
Vinaya Pitaka by Ciro Santilli 37 Updated +Created
Sutta Piṭaka by Ciro Santilli 37 Updated +Created
Abhidhamma Pitaka by Ciro Santilli 37 Updated +Created
Fermions, bosons and anyons by Ciro Santilli 37 Updated +Created

There are unlisted articles, also show them or only show them.