Lurker News

Comments (62) 14 threads

Earlier comments
Lio5 replies#
Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.
arnarbi1 reply#
Are you less nervous running a binary installer?
beachstartup2 replies#
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.

ghshephard1 reply#
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.

Continue this thread — 1 reply

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

Android and Chrome for example are really ahead of this in my opinion. Apps are sandboxed and you know uninstall clears up traces of them. Obviously it's not perfect but it's miles ahead of installation scripts and binary installers which can do anything they want with your system and might be hard to get rid of.

Continue this thread — 4 replies

auvi1 reply#
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.

jlgaddis1 reply#
Or use curl's built-in options:

  curl -O ...
or

  curl -o install.sh ...

Continue this thread — 1 reply

javajosh#
You can always pull and build - but of course that's risky too, roughly in proportion to the size of the working copy.
curun1r1 reply#
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.
JadeNB#
> The install.sh stores INSTALL_DIR in a variable but does not allow that variable to be overridden by the environment.

Really? The documentation explicitly says that it does:

    INSTALL_DIR=$HOME/.m-cli sh <(curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.sh)
barefootcoder#
The thing is, in this case you can easily inspect the shell script that they're running with that curl command.
bubbleRefuge#
m dir tree returns:

/usr/local/m-cli/plugins/dir: line 3: /lib/functions.sh: No such file or directory

miles3 replies#
Thanks for crafting and sharing this.

I must admit to flagging this particular submission, as it is the fifth time it has been posted in as many days, with no other contributions (whether of comments or stories) to speak of. Forgive me if this seems harsh, but just to keep submitting the same item over and over without any other activity (including responding to comments made in the prior submissions) does not seem in alignment with HN.

javajosh1 reply#
I've been pretty active on HN the last few days, and this is the first I've seen of it. Is redundancy sufficient for flagging? I always thought flagging was only for abusive or off-topic content, and redundant submissions were a moderator thing.
privong1 reply#
> Is redundancy sufficient for flagging? I always thought flagging was only for abusive or off-topic content, and redundant submissions were a moderator thing.

It looks like the same person was submitting the same thing, daily, to try and make it stick (without any other apparent engagement with the site in terms of submissions or comments). So I think @miles is considering that abusive behavior?
I believe when the mods ask people to resubmit something, they only ask for 1 resubmission (at least that's how it went when I was asked to resubmit something: a second shot, and it didn't get picked up, so that's that).

kkirsche#
I don't know. I mean on one hand I get it but on the other I go plenty of times when people submit awesome stuff it's just bad timing. So I don't care.
visionscaper2 replies#
I read HN every day and this is the first time I've seen this submission...
mohsinr#
Same here.
sulam#
Super curious as to why you're getting downvotes... :/
fapjacks#
Wow! It really pays to go fishing on HN. That's what I see.

Load more comments