Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kattouf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
kattouf
2y ago
Got it, no need to sorry, this is a still cool example :thumbs-up:
2.
▲
by
kattouf
2y ago
Thanks for noticing!
3.
▲
by
kattouf
2y ago
Nice! I would replace `ttysize w` with `tput cols` for use on macOS, and it works. However, for some reason, it erases too many lines when I tested it. Maybe something is going wrong with the "n" calculation. For test I used `ping
4.
▲
by
kattouf
2y ago
Yes, you’re right! But it was so difficult for me to come up with a fitting name that accurately reflects what it does (the classic computer science problem).
5.
▲
by
kattouf
2y ago
:thumbs-up:
6.
▲
by
kattouf
2y ago
Thank you for sharing, it really does a good job (real progress tracking) that my solution doesn't cover, maybe it will be more suitable for someone. I'll try to use it myself too :thumbs-up:
7.
▲
by
kattouf
2y ago
Thank you, I didn’t know about this tool, I’ll take it into service :thumbs-up:
8.
▲
by
kattouf
2y ago
Sorry if this is misleading: percentages are part of the standard log of the piped command (Swift compiler), you can see in the example on GitHub that without the utility, percentages are also present > does it just display the elapsed t
9.
▲
Show HN: ProgressLine – Track commands progress in a compact one-line format
(github.com)
31 points
by
kattouf
2y ago
|
16 comments