Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The installation instructions being a `curl | sh` writing to the user's bashrc does not inspire confidence.


They did say it was inspired by cargo, which is often installed using rustup as such:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh


Sure but being inspired by something doesn't mean you have to cargo cult the worst aspects of it.


I don’t love this approach either (what a security nightmare…) - but it is easy to do for users and developers alike. Having to juggle a bunch of apt-like repositories for different distros is a huge time sink and adds a bunch of build complexity. Brew is annoying with its formulae vs tap vs cask vs cellar - and the associated ruby scripting… And then there’s windows - ugh.

I wish there was a dead simple installer TUI that had a common API specification so that you could host your installer spec on your.domain.com/install.json - point this TUI at it and it would understand the fine grained permissions required, handle required binary signature validation, manifest/sbom validation, give the user freedom to customize where/how things were installed, etc.


This is fitting for something simulating cargo, which is a huge supply chain risk itself.


Given you're about to run a binary, it's no worse than that.


It is definitely worse. At leas a binary is constant, on your system, can be analyzed. Curl|sh can give you different responses than just curling. Far far worse


Only if you download an analyse it. You’re free to download the install script and analyze that too in the same way. The advantage that the script has is it’s human readable unlike the binary you’re about to execute blindly.


[flagged]


If you'd just left off "to fuck" you'd end up way less downvoted, if it even happened at all.


Probably not. This isn't prime time TV, some foul language is tolerated - but complaining about down-votes, especially preemptively, has a predictable response (IMO rightfully so).


No complaints about down votes, simply warning the OP that (s)he will be getting some. Personally I quite like them, they indicate that I've irritated a Rust evangelist; that gives me a warm feeling inside.


With fucks, without fucks, in iambic pentameter, anything vaguely critical of Rust will be downvoted. As you can see.


[flagged]


Knowing the reason something is considered bad does not immediately change that fact that it is considered bad.

Social / emotional signals still exist around that word.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: