A while back I wrote a similar tool in go to scratch my own itch and use it every day: https://github.com/robbiev/numberwang
Facebook PathPicker
61–70 of 168 posts
Re: Facebook PathPicker
#62Although I kind of enjoy the process of going though each one and studying how the features fit my own workflow.
Re: Facebook PathPicker
#63junk/foo/bar.txt
instead of just
./junk/foo/bar.txt
?
Re: Facebook PathPicker
#64Hey everyone, I'm in the main engineer on this project if anyone has questions. Facebook has a large codebase, so naturally we have a lot of long filenames and paths. It's a pain to type these out by hand, so I'd see a lot of (new) engineers select the text with their mouse before pasting it into the command line. This is pretty inefficient and I knew there had to be a better way, so a few of us started hacking on a…
Thank you for making the mouse a thing in a keyboard driven world. As someone who grew up with gaming and learned IT as a result I never was able to fully give up on the mouse during my daily workflows. I admire people who can use VIM etc only by keyboard, but my muscle memory just says: mouse. Thanks for establishing something that embraces this.
Re: Facebook PathPicker
#65Re: Facebook PathPicker
#66Earlier quoted context omitted.
[pierce@plo-pro team15]$ time (find . -print0 | xargs -0 stat -f '%N' | wc -l) 4901 real 0m0.079s user 0m0.043s sys 0m0.060s
@ploxiln -- edited my comment explaining a lot of devs here use network mounts (in which case checking for existence takes a lot longer). I'd love to explore this though, either behind a config setting or eventually as the default behavior! What do you think?
Re: Facebook PathPicker
#67http://linuxcommand.org/man_pages/urlview1.html
:-)
Re: Facebook PathPicker
#68Some people, when confronted with a command line problem, think "I know, I'll use my mouse." Now they have two problems. I'm joking, and this looks neat, but the optimal solution is almost certainly to keep your hands on the keyboard while in the shell.
Re: Facebook PathPicker
#69A while back I wrote a similar tool in go to scratch my own itch and use it every day: https://github.com/robbiev/numberwang
🎉 That’s numberwang! 🎉
Re: Facebook PathPicker
#70Hey everyone, I'm in the main engineer on this project if anyone has questions. Facebook has a large codebase, so naturally we have a lot of long filenames and paths. It's a pain to type these out by hand, so I'd see a lot of (new) engineers select the text with their mouse before pasting it into the command line. This is pretty inefficient and I knew there had to be a better way, so a few of us started hacking on a…
I am still thinking about different selection modes and how the UI would work. Usually I see a need to either copy several full lines, or columns from a table like structure (rectangle selection) or from a regex.
Looks good so far!