pixelbeat
Joined 18 years ago
Karma
1,141
Submissions
137
Member since
Sep 12
http://www.pixelbeat.org/
http://twitter.com/pixelbeat_
View on Hacker NewsJoined 18 years ago
Some extra notes...
Accurate (cgroup aware) nproc is important, as detailed in: https://danluu.com/cgroup-throttling/
The new base58 encoding performs well being around 500 times faster than arbitrary int implementation internal to cpython 3.13 for example
It's also worth mentioning a recent improvement we made (in coreutils 8.28) to the operation of the `tail | grep` example in the article. tail now notices if the pipe goes away, so one could wait for something to appear in a log, like:
tail -f /log/file | grep -q match
then_do_something
There are lots of gotchas to pipe handling really.
See also: https://www.pixelbeat.org/programming/sigpipe_handling.htmluutils uses the coreutils test suite, so it makes sense to add a test case for that, which uutils will eventually get to. I'll do that now.