Is the author still adding the "cite me or pay 10000€" notice to the output? And calling that GPL? And still answering every xargs Stackoverflow question with "you should use GNU Parallel" instead of answering the question? That really gets old quickly when googling for xarg answers. These are just some of the reasons I'll never use parallel. xargs is perfectly fine for most usecases, and it can do everything I need…
> Is the author still adding the "cite me or pay 10000€" notice to the output? And calling that GPL? IIRC the citation notice was cleared by Stallman as GPL compatible. I’d be surprised if anyone’s paid, I assumed that’s rhetoric to imply the value of a citation, or lack of citation, for anyone publishing scientific works. > These are just some of the reasons I’ll never use parallel. Hey I’ve actually ranted on HN be…
GNU Parallel, where have you been all my life?
121–130 of 277 posts
Re: GNU Parallel, where have you been all my life?
#122Earlier quoted context omitted.
> it’s not tradition to write citations for tools used to conduct research Academics seem to have a very blinkered attitude to this. I wrote some software that was popular for a while in a niche field, and people were forever asking me to waste my time by 'publishing' the manual in some pointless journal so that they could cite something and give me credit. Writing useful software counts for less in that world than p…
A more useful option is to use Zenodo to provide a DOI for a GitHub repository. https://docs.github.com/en/repositories/archiving-a-github-r...
Re: GNU Parallel, where have you been all my life?
#123Earlier quoted context omitted.
> Tange, O. (2023, July 22). GNU Parallel 20230722 ('Приго́жин'). Looks like the latest release is named after Prigozhin. Yeah, probably that one, although I couldn't find anything in the mailing list to confirm it. https://en.wikipedia.org/wiki/Yevgeny_Prigozhin edit: all releases are named after current political events: https://git.savannah.gnu.org/cgit/parallel.git/refs/
Looking at the release history it may be that the releases are named after some front page daily news headline or something. Even so, knowingly naming a release after a war criminal is very off-putting.
Re: GNU Parallel, where have you been all my life?
#124You guys know that in bash you can use `&` to pass a foreground terminal process to the background and then use `wait` to wait for all the session's background process to end, right?
Re: GNU Parallel, where have you been all my life?
#125Earlier quoted context omitted.
parallel --embed > parallel.sh Then store that in your source repo and use it wherever shells are used!
On Debian 11.7: $ parallel --embed > parallel.sh Unknown option: embed [edit] Ran it in Ubuntu 22.04, it does output a bash script ... which still depends on Perl.
Re: GNU Parallel, where have you been all my life?
#126I'm using task spooler a lot for parallel background processing. What I like the most it the ability to add further tasks to the queue after processing has already started. https://manpages.ubuntu.com/manpages/xenial/man1/tsp.1.html
from that man page, there is a name clash with "ts" from moreutils
Re: GNU Parallel, where have you been all my life?
#127It's a nice tool, but it also shows the shortcomings of shell commands. In a proper programming language, we'd have something like parallel [1..5], i => { sleep random()*10+5; possibly_flaky i } // [{"Seq": 4, "Host": ":", "Starttime": 1692491267... And `parallel` would only have to worry about parallelization. Instead, the shell environment forces programs to invent their own parameter separator (:::), a templating…
Re: GNU Parallel, where have you been all my life?
#128Is the author still adding the "cite me or pay 10000€" notice to the output? And calling that GPL? And still answering every xargs Stackoverflow question with "you should use GNU Parallel" instead of answering the question? That really gets old quickly when googling for xarg answers. These are just some of the reasons I'll never use parallel. xargs is perfectly fine for most usecases, and it can do everything I need…
> Is the author still adding the "cite me or pay 10000€" notice to the output? And calling that GPL? IIRC the citation notice was cleared by Stallman as GPL compatible. I’d be surprised if anyone’s paid, I assumed that’s rhetoric to imply the value of a citation, or lack of citation, for anyone publishing scientific works. > These are just some of the reasons I’ll never use parallel. Hey I’ve actually ranted on HN be…
This doesn't scale. Imagine if all the software you used nagged you and had their own individual methods to silence them. I don't think this would be reasonable.
What makes this particular software so special?
Re: GNU Parallel, where have you been all my life?
#129Earlier quoted context omitted.
The entirety of GNU Parallel is just one Perl program. It could be copied over and used in a pinch. The installation itself is very simple and no special dependencies or privileges are needed.
Except Perl isn't always present by default either (e.g. in Arch Linux or FreeBSD).
On all such systems, it is very easy for the user to install any missing POSIX utility, but it is also easy to install any non-POSIX GNU utility.
So not even xargs is certain to exist by default on all systems.
Moreover, POSIX xargs is restricted to execute sequentially all processes.
Any use of xargs for parallel execution is non-POSIX, so in that case there is no reason to not use "parallel" instead.
Re: GNU Parallel, where have you been all my life?
#130I have wanted to parallelize my .zshrc file for a while – all those environment setup scripts for nvm, pyenv, starship, etc really makes the startup time noticably slow. Does anyone know how to do this?