News for hackers. Stuff that matters.
Re:PHP: The Right Way by zdw on Saturday July 07, 2012 @06:32PM (#4212933)
RVM's installation is similar:

https://rvm.io/rvm/install/

A far cry from the safer/verified "download this and check it's MD5 checksum" method that I'd prefer.

Seriously, fixing package management so we can continuously integrate arbitrary code would be great. Getting arbitrary OS package creation to be almost as easy as pushing code to GitHub seems like a very worthy goal.

Re:PHP: The Right Way by anthonyb on Saturday July 07, 2012 @09:08PM (#4213221)
md5 is not going to protect you from much, especially if the md5 checksums are hosted on the same server.

Also, pushing random code via apt-get is not going to win you any sysadmin friends. They like their servers to be stable, and their packages to be well tested.

Re:PHP: The Right Way by zdw on Sunday July 08, 2012 @12:22AM (#4213611)
Seeing as you can remove said code via apt, you'd likely win them over compared to the alternative of being told to install compilers or some other non package managed software bundler like cpan/rvm/npm that can't be canned and easily deployed.
Re:PHP: The Right Way by anthonyb on Sunday July 08, 2012 @01:57AM (#4213811)
But why would you remove it? Because whatever you've installed has broken.

Much better not to be broken in the first place.

Re:PHP: The Right Way by adient on Monday July 09, 2012 @07:27AM (#4217611)
It seems you live in an idyllic world far, far away from reality.
Re:PHP: The Right Way by brohee on Monday July 09, 2012 @10:06AM (#4218205)
It's not the nineties anymore, MD5 doesn't protect you from much, and especially not from the author of the original package creating an alternate version.

Viable verification is based on an unbroken hash (preferably SHA-(256|384|512), but SHA1 still not broken even it it's definitely too short nowadays. And the hashes need to be distributed properly, either PGP signed or hosted on a trusted TLS protected site...

Yet many projects still distribute MD5 hashes, thinking it got any value.

Re:PHP: The Right Way by mark_story on Sunday July 08, 2012 @01:09AM (#4213712)
For the longest time the installation instructions for NPM were almost exactly the same. But its worse when PHP does it :)