This reminds me of https://github.com/mooz/percol
Percol was actually a source of inspiration as well, but I got tired of typing things like: git checkout $(git branch | percol) Since I had to almost compose my command beforehand rather than decide once I saw the output. So we take the opposite approach. Great UI though!
Facebook PathPicker
81–90 of 168 posts
Re: Facebook PathPicker
#82Earlier quoted context omitted.
If it's pure python why not use pip?
@rmc we have a dependency on a bash script as well, since we need to redirect stdin to tty input and such. So getting the bash file to distribute with PIP and symlink as well was slightly complicated. I only recently realized that the entire program could be ported over to python (the stdin redirection is supported in python as well) but I still think homebrew is slightly more popular than having pip installed, espec…
Re: Facebook PathPicker
#83Haven't we learned by now, my fellow HN readers? All of Facebook's open source "gifts" are patent Trojan horses. Go take a look at their PATENTS file before going anywhere near this stuff. The fact that Facebook, at such a level of wealth and success, gets away with this stuff is despicable. It's also an insult to the great legacy of companies like Sun, which gave freely without strangling its beneficiaries. It says…
>Notwithstanding the foregoing, if Facebook or any of its subsidiaries or corporate affiliates files a lawsuit alleging patent infringement against you in the first instance, and you respond by filing a patent infringement counterclaim in that lawsuit against that party that is unrelated to the Software, the license granted hereunder will not terminate under section (i) of this paragraph due to such counterclaim.
Source: https://github.com/facebook/PathPicker/blob/master/PATENTS
See also the announcement of the change: https://news.ycombinator.com/item?id=9356508
Re: Facebook PathPicker
#84Haven't we learned by now, my fellow HN readers? All of Facebook's open source "gifts" are patent Trojan horses. Go take a look at their PATENTS file before going anywhere near this stuff. The fact that Facebook, at such a level of wealth and success, gets away with this stuff is despicable. It's also an insult to the great legacy of companies like Sun, which gave freely without strangling its beneficiaries. It says…
Re: Facebook PathPicker
#85 grep -nri searchterm * | vim -
You can then use 'gF' over a file name to open the file in question (and be taken to the right line number if specified in the form somefile.txt:42). You can use 'gF' to open the file in a new tab, or 'F' to open the file in a split instead.As an added bonus you can re-filter the file list from within vim to, for example, remove things from a test directory without having to run the original command again:
:%!grep -v ^testRe: Facebook PathPicker
#86Re: Facebook PathPicker
#87Dozens of cool utilities like this are created every week and launched at Show HN, but without "Facebook" in their names you need at least 10 of them to get the many points this thread has gathered.
Re: Facebook PathPicker
#88Some 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.
Couldn't agree more staunch! I silently weep every time I have to use the mouse during development
Re: Facebook PathPicker
#89Earlier quoted context omitted.
@andyl We are working on getting a linuxbrew recipe working. There's shouldn't be anything blocking this from working on linux systems (assuming Python 2.7 is installed). In the meantime you can try the manual installation method listed in the README: https://github.com/facebook/pathpicker/ @itsbits Why do you say that? curious if you found anything
If it's pure python why not use pip?
Re: Facebook PathPicker
#90Haven't we learned by now, my fellow HN readers? All of Facebook's open source "gifts" are patent Trojan horses. Go take a look at their PATENTS file before going anywhere near this stuff. The fact that Facebook, at such a level of wealth and success, gets away with this stuff is despicable. It's also an insult to the great legacy of companies like Sun, which gave freely without strangling its beneficiaries. It says…
What is a patent Trojan horse? I just read the PATENTS file, but cannot think of a scenario that could affect me negatively. Can you give one?
An older version of their patents file used language that suggested to some that the license would be void if you attempted to defend against a patent suit from Facebook and it could therefore be dangerous to use.
They recently updated the file to clarify some terms, particularly the one the parent is complaining about, and I haven't heard anybody complaining about the new language.