Earlier quoted context omitted.
I request one thing, you send me something completely different. I don't see how making the "something" an ASCII script makes it easier than a random binary (and there's no requirement that the random binary has any relationship with what I requested). Oddly, I'm more used to seeing arguments that distributing source code is better than distributing binaries because you can inspect source code.
The scenario isn't that I send you something different, but that somebody else gets in between us and tampers with the data. That's what https tries to avoid. We're arguing levels of badness here so it's a little hokey. But if you decide to open up your machine to run arbitrary code, a machine that can run shell will arguably get more infections than one that runs executables. To infect the ladder any script kiddies…
Introducing Pow, a zero-configuration Rack server for Mac OS X
101–110 of 146 posts
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#102Earlier quoted context omitted.
I request one thing, you send me something completely different. I don't see how making the "something" an ASCII script makes it easier than a random binary (and there's no requirement that the random binary has any relationship with what I requested). Oddly, I'm more used to seeing arguments that distributing source code is better than distributing binaries because you can inspect source code.
The scenario isn't that I send you something different, but that somebody else gets in between us and tampers with the data. That's what https tries to avoid. We're arguing levels of badness here so it's a little hokey. But if you decide to open up your machine to run arbitrary code, a machine that can run shell will arguably get more infections than one that runs executables. To infect the ladder any script kiddies…
We're already talking about running arbitrary code on a machine, compiled versus interpreted is irrelevant. And I think you have forgotten that a script with the appropriate hash-bang and file permissions is indistinguishable to most users from a compiled executable.
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#103 function pow {
if [ -d "`cd $1; pwd`" ]; then
ln -s "`cd $1; pwd`" ~/.pow/
fi
}Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#104This is very nice documentation. Is it generated using a freely available tool?
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#105This is a great web page, but I think it's borderline irresponsible to keep using this gimmick: curl get.pow.cx | sh for installation. Yes, it's easy and slick. Yes, you'd have to read the code itself to make sure Pow didn't own your machine up after a secure install. Yes, you can just read the shell script. But 0.0001% of people playing with Pow will do that. Why make things easier for attackers at all? This is an i…
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#106http://pow.cx/docs/ This is very nice documentation. Is it generated using a freely available tool?
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#107Earlier quoted context omitted.
It would improve the situation but I'm still not a fan of perpetuating the pipe-into-shell idiom.
The only meaningful difference between the two techniques is the extra step required to explicitly execute an installer. Is that your objection, that you don't like something being automatically executed upon download?
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#108As a minor aside, is there a way to get Chrome to treat .dev domain the same as .com? Whenever I type in my .dev app name, it tries to google search for it.
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#109Earlier quoted context omitted.
yep, same thing here. I get this if I launch it manually on 10.6.7: launchctl load "$HOME/Library/LaunchAgents/cx.pow.powd.plist" Bug: launchctl.c:2325 (23930):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1 launch_msg(): Socket is not connected
yeah, that seemed to have fixed it. Terminal works, iTerm doesn't.
Re: Introducing Pow, a zero-configuration Rack server for Mac OS X
#110Pretty awesome. It took a restart to get it to work, but it's great now. As a minor aside, is there a way to get Chrome to treat .dev domain the same as .com? Whenever I type in my .dev app name, it tries to google search for it.
EDIT: scratch that. You can't do this.