News for hackers. Stuff that matters.
Re:Kinda like apt-get, but for Windows by Nilzor on Wednesday February 06, 2013 @11:22AM (#5177181)
Apps should write data files to %APPDATA%, not Program Files where the executables shall reside. The only excuse for installing to c:\chocolatey is lazyness
Re:Kinda like apt-get, but for Windows by Shorel on Wednesday February 06, 2013 @12:37PM (#5177694)
In this case, Chocolatey's data files are actually program files for the rest of the system.

It's just a simple consequence to the fact that Chocolatey is not 'a program' with clearly defined 'data files', but a general purpose software manager (and one that should really be a part of Windows).

The Von Neumann architecture won over the Harvard architecture for a reason. You should learn about it.

Re:Kinda like apt-get, but for Windows by SideburnsOfDoom on Wednesday February 06, 2013 @02:29PM (#5178276)
> The Von Neumann architecture won over the Harvard architecture for a reason

And then we placed restrictions on it for another reason: security.

See Data Execution Prevention http://en.wikipedia.org/wiki/Data_Execution_Prevention Which, like these file system permissions, attempts to divide storage into things that you can write and things that you can execute, and the two only meeting in special cases.

You're saying that Chocolatey needs elevated privileges to do it's special thing. Sure. Then it shouldn't be designed around the needs of users who can't get those permissions.

Re:Kinda like apt-get, but for Windows by dkl on Wednesday February 06, 2013 @02:32PM (#5178306)
This is just plain naive. See Shorel's comment, and to that I'll add:

That is YOUR definition of where to write data files. Not mine and certainly not everyone's idea. Saying that all apps should fit this model is just absurd.

Re:Kinda like apt-get, but for Windows by SideburnsOfDoom on Wednesday February 06, 2013 @03:05PM (#5178476)
> That is YOUR definition of where to write data files

Well, Him and the designers of the operating system.

Re:Kinda like apt-get, but for Windows by dkl on Wednesday February 06, 2013 @04:50PM (#5179063)
My point is they changed the definition. It wasn't always that way.
Re:Kinda like apt-get, but for Windows by SideburnsOfDoom on Wednesday February 06, 2013 @05:59PM (#5179454)
You'd prefer that nothing changed? OSs evolve. Deal with it.