Live data from Hacker News

Show HN: Swiss Army Knife for Mac OS X

github.com

31–40 of 67 posts

Re: Show HN: Swiss Army Knife for Mac OS X

#33
post #2

Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.

Also not to like about the install method: The install.sh stores INSTALL_DIR in a variable but does not allow that variable to be overridden by the environment. So you're forced to install into /usr/local despite then being asked to add /usr/local/m-cli to your path. It would be better to allow /usr/local to be overridden so that installation doesn't require sudo. It's just as easy to add ~/.m-cli to your path.

Re: Show HN: Swiss Army Knife for Mac OS X

#34
post #5

Earlier quoted context omitted.

the best way to get rid off the discomfort is to first check the shell script: curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.... | pbcopy Then you can paste it in a text editor and if it is not too long you can verify the script. And as this one is on github you can take a look directly.

Just pipe the script to a file so you can read it without having to copy-paste. :) curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.... . > install.sh

Or use curl's built-in options:

  curl -O ...
or

  curl -o install.sh ...

Re: Show HN: Swiss Army Knife for Mac OS X

#35
post #3
post #2

Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.

Are you less nervous running a binary installer?

i'm not. all of it makes me nervous. even package managers with supposedly cryptographically secure verification make me nervous.

but, you gotta do what you gotta do to actually do stuff.

i sure as hell ain't going back to the days of compiling everything from source.

Re: Show HN: Swiss Army Knife for Mac OS X

#36
post #3

Earlier quoted context omitted.

Are you less nervous running a binary installer?

i'm not. all of it makes me nervous. even package managers with supposedly cryptographically secure verification make me nervous. but, you gotta do what you gotta do to actually do stuff. i sure as hell ain't going back to the days of compiling everything from source.

Okay - I'm curious. What is wrong with:

  ./configure
  make
  make install
I do that a lot, and 90+% of the time, it's that simple.

Re: Show HN: Swiss Army Knife for Mac OS X

#37

Earlier quoted context omitted.

i'm not. all of it makes me nervous. even package managers with supposedly cryptographically secure verification make me nervous. but, you gotta do what you gotta do to actually do stuff. i sure as hell ain't going back to the days of compiling everything from source.

Okay - I'm curious. What is wrong with: ./configure make make install I do that a lot , and 90+% of the time, it's that simple.

uh yeah, it's the other 10% that's the problem.

not to mention the tracking of installed files and library dependencies that slowly develop into an accumulated spiderweb shitstorm of runtime conflicts.

have you tried maintaining multiple versions of a shared object libraries by hand? do you remember the 'make install' wrappers that never worked right? pepperidge farm remembers.

Re: Show HN: Swiss Army Knife for Mac OS X

#38
That something like this exists shows some problems with the unix shell: No standardized commands exist for many common actions (sleep, wifi, etc). The syntax is different across commands even on a single system.

It's really nice, but I'd like to see something like that as a standard in shells.

Re: Show HN: Swiss Army Knife for Mac OS X

#40

Does it need to be ran as root? Downloading m-cli from git to /usr/local fatal: could not create work tree dir '/usr/local/m-cli': Permission denied Failed to clone => https://github.com/rgcr/m-cli.git Off course it won't be able to access the /usr/local/

Most people using this probably have homebrew installed, which makes /usr/local writable for the main user.
Post reply on HN