Lurker News

Comments (322) 118 threads

Earlier comments
beggi1 reply#
I thought so too, one of the founders was an employee of Asana.
tlrobinson#
Well that explains it. Also, David Greenspan from AppJet/Etherpad.
delano4 replies#
This is a very uncool way to install something:

    $ curl install.meteor.com | /bin/sh
geoffschmidt4 replies#
I am to blame for that. Here is our thinking on it:

- Though it "feels wrong" (definitely with you there), is it really any different from downloading an installer package and running it?
- You can just go to install.meteor.com in your browser if you want to see what the script does (or just leave off the | sh), which is arguably better than other installation mechanisms.
Curious to hear people's thoughts :)

moe1 reply#
I'm chiming in here because it may still be early enough to stop you.

Do. Not. Require. Root. Not optionally, not sometimes, not "maybe". NEVER.
Your universe is ~/.meteor. Do not even think about touching anything outside that. It's taboo.
You clearly know what you're doing otherwise, so please get this one right from the start and save yourselves a lot of headache later on (cf. npm).
Install to ~/.meteor and provide the user with a small snippet to paste to their ~/.bash_profile ("source ~/.meteor/magic.sh").

mhansen6 replies#
It would be more helpful for people reading this comment if you gave reasons beyond "It's taboo".

I'm sure you have good reasons, I just can't see them here.

Continue this thread — 6 replies

cdmoyer#
I will admit that it's my preferred way to install things like this. I can look at it and see what will happen easily.

I will also admit to disagreeing with the poster suggesting that it should all go to ~/.meteor. I kind of hate that type of install... at least when I don't have an option. I don't want to install it multiple times for different users, and I don't like "system" software in my home directory, I like to keep my user data there and back it up more regularly that /usr/local which is all things I can reinstall in case of disaster.
I guess the ideal would be to ask the user.
Comment...

  # add to $PATH
  mkdir -p "$PARENT/bin"
  rm -f "$PARENT/bin/meteor"
  ln -s "$TARGET/bin/meteor" "$PARENT/bin/meteor"
This probably needs to check it $PARENT/bin is actually in the path, and maybe tell the user that they'll need to add it.
stuffihavemade1 reply#
Please provide an npm package! In addition to the security, uninstall and versioning problems mentioned by others, not every one runs Debian and Redhat. If you provide a node package, anyone who can install node can install meteor.

edit: Any by not every one, I mean me, running ArchLinux.

ghayes#
It's become all too common these days
WiseWeasel#
That's all fine and dandy until people start MitM injecting malicious shell scripts with 'YES' as their first line...
Kiro1 reply#
Why is it uncool?
delano#
You're running a script that you've never seen on your machine with your user account. It's a dangerous habit at best. At worst you're exposed to poor code and man-in-the-middle attacks.

As someone else pointed out, it also makes versioning difficult.

xxpor1 reply#
One comment on the screencast, isn't encouraging people to do

    curl $URI | sh
a really bad idea?
beaumartinez1 reply#
No. You can have the same confidence it's legit as when you download an installer and run that. The bonus here is that you can load $URI and read the source before you even run it.
xxpor#
Right, I guess I was just thinking of the opposite direction.

Usually I download something, look at it (more to see how it works, not security, but I digress) and then sh it.

jaredsohn2 replies#
Interesting (and smart) that they post to Hacker News a couple of days prior to the launch of Firebase (which provided the realtime functionality used by MMO Asteroids and has been active at hackathons.)
jamest#
(Co-founder of Firebase here)

We know the Meteor guys well and are really excited about what they're building. It's very complementary.
We're both advocating a new paradigm in software development and the faster it comes the better.

geoffschmidt#
I love Firebase. We were in their preview and they were in ours. It would make a lot of sense to use Firebase as the realtime database layer behind a Meteor app. Maybe it could be as easy as "meteor add firebase" :)

Load more comments