Reputation
1,272
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
9 26
Newest
 Revival
Impact
~107k people reached

Feb
1
accepted Why deleting big files from tmpfs is not instantaneous?
Feb
1
asked Why deleting big files from tmpfs is not instantaneous?
Jan
16
accepted How do I turn entire stdin into a command line argument verbatim?
Jan
15
comment How do I turn entire stdin into a command line argument verbatim?
Waiting for not that easy to be filled in before accepting. I doubt it would be "properly, reliably, readably, compatibly" although...
Jan
14
comment How do I turn entire stdin into a command line argument verbatim?
@TNW, I wanted it to handle binary data as well, but now I see that it's not a good idea.
Jan
14
revised How do I turn entire stdin into a command line argument verbatim?
added 104 characters in body
Jan
14
comment How do I turn entire stdin into a command line argument verbatim?
@Celada, @TNW, Then the remaining issue is multiple processes from xargs instead of one...
Jan
14
asked How do I turn entire stdin into a command line argument verbatim?
Jan
3
comment How do I decrease brightness even further on Thinkpad X230?
@monsune, This (and most other topics I found on Internet) deals with inability to control brightness using standard means and treat /sys/class/backlight/intel_backlight/brightness as a reference thing. Backlight control already work for me. But minimum is not minimal enough.
Jan
3
asked How do I decrease brightness even further on Thinkpad X230?
Dec
30
comment What to use instead of `buffer` for 1GB buffer?
Yes, cat is somewhat buffering because of pipe's buffer in kernel. INPUT | OUTPUT is one pipe, INPUT | cat | OUTPUT is two pipes, hence twice bigger buffer. I want to have big (gigabyte and more) buffer, that can, for example, house a couple of seconds of uncompressed video.
Dec
30
comment What to use instead of `buffer` for 1GB buffer?
No, buffer just reads input and writes it to output (like cat), but also remembers some data if output is slower than input. Compare INPUT | cat | OUTPUT (it would also do some buffering, but too little).
Dec
30
comment What to use instead of `buffer` for 1GB buffer?
What is work_it? INPUT is producer, OUTPUT is consumer. All the rest should be just buffering.
Dec
30
comment Utility to buffer an unbounded amount of data in a pipeline?
pv -B 4096 -c -N in /dev/zero | pv -q -B 1000000000 | pv -B 4096 -c -N out -L 100k > /dev/null - I expect both pvs on ends to be smooth (although one being 1GB ahead). It doesn't work this way, unlike with mbuffer
Dec
30
awarded  Revival
Dec
30
answered Utility to buffer an unbounded amount of data in a pipeline?
Dec
30
comment What to use instead of `buffer` for 1GB buffer?
How is tmpfs protected from overflow? I expect INPUT to block and wait if buffer is full.
Dec
23
asked How do I change NAT type for UDP to be more P2P-friendly?
Nov
24
revised What command should I use to explicitly set list of groups and execute a command?
added 233 characters in body
Nov
24
comment What command should I use to explicitly set list of groups and execute a command?
Implemented this mode in my tool: github.com/vi/dive/blob/…