Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ole_tange
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
ole_tange
10y ago
cat bigfile | parallel --pipe -k gzip > out.gz parallel --pipepart -a bigfile -k gzip > out.gz The last is faster.
32.
▲
by
ole_tange
10y ago
Ahh, but Sir, I think thou did not test it. Otherwise thou would have written differently.
33.
▲
by
ole_tange
10y ago
The examples in the GIF-animation can be emulated by GNU Parallel using this: To make the emulation easier, make a simple alias: alias par_emul="parallel -j0 --ssh 'sshpass ssh' --nonall --tag --linebuffer" If you
34.
▲
by
ole_tange
10y ago
If it is more: define a function. myfunc() { echo stuff; # More stuff } export -f myfunc parallel -Shost{1..10} --tag --env myfunc --nonall myfunc
35.
▲
by
ole_tange
10y ago
Use --line-buffer to get line buffered output.
36.
▲
by
ole_tange
11y ago
Does --retries count as fault tolerance?
37.
▲
by
ole_tange
12y ago
Just for completeness https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518696 Had parallel been packaged at that time (Mar 2009), it would have pre-empted the parallel in moreutils (which was added June 2009).
38.
▲
by
ole_tange
12y ago
See comparison here: http://www.gnu.org/software/parallel/man.html#DIFFERENCES-BE...
39.
▲
by
ole_tange
12y ago
You view was heard in the design of GNU Parallel: It defaults to newline separation, escapes the argument, and is for most cases a drop-in replacement of xargs. This does what you would expect: echo My brother\'s 12\" records.
40.
▲
by
ole_tange
12y ago
histogram, https://github.com/ole-tange/tangetools/blob/master/histogra... , So you got this table and you are not really in the mood of firing up GNUplot/a spreadsheet/R but you would like a qu
41.
▲
by
ole_tange
12y ago
Be aware that xargs does not deal nicely with race conditions: (Parallel grep) http://www.gnu.org/software/parallel/man.html#differences_be...
42.
▲
by
ole_tange
12y ago
Consider running 'parallel --bibtex' once.
43.
▲
by
ole_tange
13y ago
You have more than 1 space from uniq. 2 options: parallel --colsep ' +' echo {2} {3} or: parallel --colsep ' ' echo {7} {8}
44.
▲
by
ole_tange
13y ago
A lot of the users of GNU Parallel have felt exactly the same way.
45.
▲
by
ole_tange
13y ago
Remember to show them 'parallel --bibtex'