Live data from Hacker News

Facebook PathPicker

facebook.github.io

131–140 of 168 posts

Re: Facebook PathPicker

#132

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

Me, similarly:

https://github.com/ramses0/bash-dialog

...depends on dialog command being installed, or you could use bash's built-in "select" command.

Re: Facebook PathPicker

#133
Is there a reason why this is named Facebook PathPicker instead of PathPicker? It seems that the original author is giving up rights of their software to Facebook (it says copyright Facebook right in the license).

What troubles me is that this tool seems completely unrelated to Facebook's business so why must they assert ownership of their employee's side project? On the other hand, it could be the author's intent to give up their rights to Facebook, which seems dumb, there's nothing the author could gain from that other than the Facebook brand in front.

Re: Facebook PathPicker

#134

Hey 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…

Not sure, how much I'm going to use this. But I just hate the name (or command) `fpp`. Why put Facebook in the name?

Re: Facebook PathPicker

#135

Is there a reason why this is named Facebook PathPicker instead of PathPicker? It seems that the original author is giving up rights of their software to Facebook (it says copyright Facebook right in the license). What troubles me is that this tool seems completely unrelated to Facebook's business so why must they assert ownership of their employee's side project? On the other hand, it could be the author's intent to…

They probably wrote it at work or on a company machine or discussed it on company time, all of which can make it company property. (Read up on moonlighting.)

Re: Facebook PathPicker

#136
I use a combination of grep (to filter), awk (for projection), and xargs (to execute) to achieve similar result but it probably takes a little longer to construct.

Re: Facebook PathPicker

#137

One of the best little-known features of iTerm2 is Semantic History. Cmd-click on filenames and they will be opened by the default application (or you can configure an action to be performed). It's working directory aware and works great with all output. I connected it to Sublime and it even works with line numbers. (Same works for URLs, with the default browser)

Thanks! You made me very glad I came to the comments section.

Re: Facebook PathPicker

#138

Earlier quoted context omitted.

I'm only slightly ashamed to admit I like using a mouse. I get that some people can work faster with all-keyboard controls. I use both. I also like GUIs for certain things. The only thing I don't like GUIs for is when there is some repetitive thing that I have to do 50 times a day and would require 3 or 4 clicks or menu selections - for those I'd always rather have a single command. Sometimes I make those into shell…

Might already be familiar with it, but if you aren't, you should check out sikuli script [1] for when you have a repetitive GUI task you have to perform that can't be directly scripted. I've used it to script some really complex workflows through GUI's It's also just weird and interesting to program something to move through a GUI as fast as is possible 1: http://www.sikuli.org/

Wow. Never heard of it, but this must be the most amazing software idea I've seen in a while. It's gonna be a playful day :P

Re: Facebook PathPicker

#140
post #38

Earlier 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…

> I still think homebrew is slightly more popular than having pip installed

I disagree. On Linux, we have operating system package managers. pip is popular among python programmers, for python packages. Asking to install another random package manager is unlikely to be popular.

Post reply on HN