News for hackers. Stuff that matters.

prosaole

Re:Neat Parallel Output in Python on Monday February 26, 2024 @06:00AM (#39509860)
Try:

    parallel --latestline seq ::: {1..10}0000000
(Requires version 20220522)
Re:Show HN: Repeater – A tool which repeats CLI commands on Thursday November 30, 2023 @10:41AM (#38474834)
If speed is the most important factor, a more interesting comparison would be to parallel-bash:

https://www.gnu.org/software/parallel/parallel_alternatives....

> getting the shell quoting hell right

Running `parallel --shellquote --shellquote --shellquote` and pasting in the line you want to quote thrice may alleviate some of the pain.

By no means ideal, though.

Re:A few ops lessons we all learn the hard way (2020) on Tuesday August 23, 2022 @10:04AM (#32565081)
> and my complete ignorance of GNU parallel [...] 16 years later

Parallel was created 2002-01-06: https://www.gnu.org/software/parallel/20th-birthday.html

It did, however, only become a GNU tool in 2011, so I think it is completely fair that you were ignorant about it 16 years ago.

For color coding try:

    seq 10 | parallel --lb --ctag ping {}.1.1.1