Live data from Hacker News

Htop 3.0

github.com

111–112 of 112 posts

Re: Htop 3.0

#111
post #79

Earlier quoted context omitted.

Bat is a cat replacement with syntax highlighting, formatting options; it works great with fd. What's rg?

ripgrep (the binary name is rg) is a faster grep written in Rust.

https://blog.burntsushi.net/ripgrep/ explains in detail _how_ it's so fast, and is a great reading on practical performance engineering.

The interface is nearly 1:1 with `ag` (and the older `ack`). One notable difference is that ag enables `--smart-case` by default, so it treats an all-lowercase pattern as case-insensitive, while `rg` doesn't, you need an explicit `rg -i`. (or set it in a config file, but I'd rather not learn defaults that won't work out-of-the-box on other machines).

Re: Htop 3.0

#112
post #111
post #79

Earlier quoted context omitted.

ripgrep (the binary name is rg) is a faster grep written in Rust.

https://blog.burntsushi.net/ripgrep/ explains in detail _how_ it's so fast, and is a great reading on practical performance engineering. The interface is nearly 1:1 with `ag` (and the older `ack`). One notable difference is that ag enables `--smart-case` by default, so it treats an all-lowercase pattern as case-insensitive, while `rg` doesn't, you need an explicit `rg -i`. (or set it in a config file, but I'd rather…

Note that -i will always enable case insensitivity. The -S flag will enable the same kind of smart case behavior that ag has (and with fewer bugs).
Post reply on HN