News for hackers. Stuff that matters.
Re:Broot – A new way to see and navigate directory trees by throwaway77384 on Thursday January 09, 2020 @08:01AM (#22000811)
I second this. This has replaced nnn for me and solves so many devops headaches. Excellent work!

This should teach anyone that tackling something that's considered "the basics" is not a bad idea. It is astounding how these really simple things can still be enhanced (or even revolutionised ;)) in 2020.

Re:Broot – A new way to see and navigate directory trees by apjana on Thursday January 09, 2020 @09:49AM (#22001604)
> This has replaced nnn for me and solves so many devops headaches

Can you please elaborate? Is that specifically because nnn[1] doesn't show a complete overview of the filesystem or some other features are missing?

One of the guiding principles of nnn is to generate minimum disk IOs.

Reading through a complete volume on a stuffed microSD or SD card attached to a RaspberryPi to list the filesystem (even if compacted) and then supporting filesystem changes dynamically is resource-intensive. nnn development is driven by minimum resource availability and usage.

[1] https://github.com/jarun/nnn

Re:Broot – A new way to see and navigate directory trees by throwaway77384 on Thursday January 09, 2020 @02:41PM (#22004768)
You know, I hadn't considered that. This distinguishes nnn from Broot. I would revise my comment if I could, but in the absence of that ability, consider this my correction.
Re:Broot – A new way to see and navigate directory trees by apjana on Thursday January 09, 2020 @03:12PM (#22005135)
No problem! Just wanted to get some insight and explain things as they are with nnn.
Re:Broot – A new way to see and navigate directory trees by apjana on Thursday January 16, 2020 @01:28AM (#22062141)
A new version of nnn is released - https://github.com/jarun/nnn/releases/tag/v2.9

It simplifies a lot of workflows and reduces the number of keys.

Re:Broot – A new way to see and navigate directory trees by dod9er on Thursday January 09, 2020 @09:39AM (#22001512)
Could you elaborate which devops headaches got solved ? :)
Re:Broot – A new way to see and navigate directory trees by throwaway77384 on Thursday January 09, 2020 @02:49PM (#22004865)
At the risk of embarrassing myself: The ":s" verb for easily viewing the size of directories / files, the overview of multiple directories at once, the gitignore handling, at a glance. There might be more, but I would have to spend more time with it.

disclaimer: my definition of "devops" is sitting in a remote terminal for where I run docker and chasing down which files take up all my precious space, or not remembering where I put something, which makes the tree overview very useful. I know I could achieve this via many other means also (and did before Broot), but Broot is also very pretty, so I quite like that, too :)

Re:Broot – A new way to see and navigate directory trees by apjana on Thursday January 09, 2020 @03:20PM (#22005213)
> The ":s" verb for easily viewing the size of directories / files

It's the keybind "S" with nnn (or "A" for apparent usage). You can also use the same option ("-S") to open nnn in du mode.

> the overview of multiple directories at once

I explained the nnn design strategy in my other response

> the gitignore handling

This can be added but it changes the current generic way of handling directory entries

> There might be more, but I would have to spend more time with it

That would actually be a constructive data to improve nnn as well.

Thanks for the notes!

Re:Broot – A new way to see and navigate directory trees by throwaway77384 on Friday January 10, 2020 @05:24AM (#22009959)
No worries. I wish I was able to give better feedback, but I am nowhere near as expert a user as many others surely are.

I like how 'on the ball' you are with this though, it's that kind of passion that makes projects like nnn so strong!

Re:Broot – A new way to see and navigate directory trees by apjana on Friday January 10, 2020 @11:16AM (#22011990)
Yep, great ideas are always welcome! There's always room for improvement.