Slashdot Mirror


Zero Install: The Future of Linux on the Desktop?

SiegeX writes "Zero Install ,which is apart of the ROX desktop environment is not just a new packaging system, it's a whole new way of thinking; a way that I believe is exactly what Linux needs to become a serious contender for Joe User's desktop. Zero Install uses an NFS to both run *and* install apps from. The apps are all self-contained in their own directory; binaries, docs, source code and all. Once the app has been downloaded its kept in a cache from that point on to minimize delay. The beauty becomes apparent when Zero Install is combined with ROX which runs the application by just clicking on the directory it was installed to. Deleting the application along with all the other misc files is as simple as removing the directory it's contained in. This method of partitioning applications in their own directories also allows installing multiple versions of any application trivial. This is something even the greatest of technophobes could understand and use with ease."

718 comments

  1. Someone should tell Apple by SeanTobin · · Score: 5, Funny

    Someone should really point this out to Steve. I think using this type on installation on Macs would increase useability by leaps and bounds.

    --
    Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
    1. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      It's a whole new way of thinking! Apple would have a paradigm shift!@#

    2. Re:Someone should tell Apple by neutralstone · · Score: 2, Interesting

      Hear hear (though I'm sure their UI people are already aware of it---ZI has been in development for a while now). Certainly commercial app developers should like it because it gives the user a very easy way to try the "trial version". This would lead to more trials, presumably meaning more sales. It goes without saying that Free Software people should like it just from a usability standpoint.

      The only way it could *suck* is if Microsoft is the first company to use it in a big way.

    3. Re:Someone should tell Apple by hak1du · · Score: 5, Insightful

      Yes, someone should indeed point that out to Steve Jobs. Many Mac applications these days come with installers that drop bits all over the file system, and many of those don't come with clean uninstallers, making the problem worse.

    4. Re:Someone should tell Apple by ElGnomo · · Score: 1

      Isint this approach to installing already used in macs? Im not a mac user but the mountable disk images that you download and mount to run firefox on one seem very close in concept to this Zero Install

    5. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      hey dumbass, apple already does things this way.
      does this help?

    6. Re:Someone should tell Apple by Daniel+Dvorkin · · Score: 4, Interesting

      [snicker]

      Seriously, as an Apple user, I'm glad to see a Linux desktop system copying the MacOS instead of Windows. I've felt for some time that it is a huge mistake for KDE and GNOME to try so hard to make themselves look like Windows when, in OS X, there is a much better example of a Unix-based desktop. Why waste your time copying less than the best?

      Yeah, yeah, user familiarity, etc. Look, folks, I guarantee you that if all you've ever used is Windows, if you sit down at a good OS X machine, it will take you about half an hour to get used to the differences and be up to speed -- and after that you'll be discovering new and better ways to do things and saying, "That's so cool! Why didn't Microsoft ever think of that?" If a Linux desktop can have some nifty non-Windows features too (and I really don't care if the developers rip them off from Apple or come up with them on their own) it will do a lot more to enhance Linux desktop growth than just coming up with a system that's "like Windows, only not exactly."

      Next response I anticipate: "Yeah, well, if Mac OS X is so much better, how come it hasn't beat Windows in the marketplace?" The answer, of course, is that there is a lot of mindless anti-Apple prejudice, and regrettably I don't expect that to change any time soon. But anti-Linux prejudice is much milder, I think. A good Linux desktop with Mac OS X's best features (and maybe some of its own) especially if it were backed by IBM, could be the best shot at breaking the Windows stranglehold on the corporate desktop.

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    7. Re:Someone should tell Apple by Anonymous Coward · · Score: 1, Informative

      Close. I believe these guys actually export an NFS directory over the network and the system simply mounts it as the root file system. Apple does this also with NetBoot.

    8. Re:Someone should tell Apple by Shados · · Score: 2, Insightful

      The anti-apple prejudices will go away, but it will take time... For a lot of us, Mac OS 9 was really awful...yet from the little I had the chance to play with OS X(not that much...but chances if I spent more time it would get better), I was delightfully impressed...and if I had money Id get a Mac right here right now. its the kind of same thing that happened with Windows, from Win9x to WinNT5+...it doesnt crash that much anymore, but its still suffering from the bad experiences of the old days... Mac's reputation will recover, probably faster...

    9. Re:Someone should tell Apple by bryhhh · · Score: 3, Interesting

      Risc OS has used this approach since the mid/late 1980's when the OS was launched on the Acorn Archimedes.

      The only shared libraries are the ones built into the OS. (The OS was on ROM, so version incompatibilties didn't really exist like they would with the disk based OS's we use today).

      Their where special files placed in each directory (!boot and !run)

      !boot was executed when the filemanager loaded the directory and was responsible for replacing the applications default 'dir' icon with one that represented the application function.

      !run was executed when the user launched the program by double clicking on the folder.

      It was possible to open the directory rather than execute the application, IIRC a shift key was used in conjunction with a mouse click.

      Disclaimer: It's about 15 years since I used the above system, so details may be inaccurate.

    10. Re:Someone should tell Apple by Neophytus · · Score: 1, Redundant

      last time i checked a .app is just a renamed folder

    11. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      it was meant to be funny for the people in the "know"... laugh hahah.

    12. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      some people just don't have $2000 to shell out for a mac with a nice user interface. Furthermore, most people don't use the gui(as apposed to a program), enough to really care how nice it is.

    13. Re:Someone should tell Apple by lysander · · Score: 1

      There is that, but there is also that you can run some things directly from the disk image once it is mounted. This makes running and "uninstalling" a breeze.

      --
      GET YOUR WEAPONS READY! --DR.LIGHT
    14. Re:Someone should tell Apple by Cthefuture · · Score: 4, Interesting

      Look, folks, I guarantee you that if all you've ever used is Windows, if you sit down at a good OS X machine, it will take you about half an hour to get used to the differences and be up to speed

      True.

      and after that you'll be discovering new and better ways to do things and saying, "That's so cool! Why didn't Microsoft ever think of that?"

      Uh, I had the opposite response. "Why in the f*&k did they do it that way?!" Keyboard control is practically nonexistant. And Finder blows... Damn I hate the way it works. It doesn't allow to see where you are in the filesystem very well. It's just awkward and slow to use.

      The killer feature Apple has is that they have a GUI for everything in the system and it hides a lot of complex stuff so the end-user doesn't have to worry about every little detail (of course sometimes that backfires when I simply can't do something because it's hiding the details).

      Back on topic...

      I've found ROX is very similar to Finder. I hate it also.

      The ROX "all in one directory" is the exact same concept as Apple bundles. I can't believe how many people don't even know what they are. I guess that's what happens when you hide all the details. Anyway, the bundle concept is pretty cool. Just copy/move a directory to install your application.

      --
      The ratio of people to cake is too big
    15. Re:Someone should tell Apple by Ed+Avis · · Score: 1
      Seriously, as an Apple user, I'm glad to see a Linux desktop system copying the MacOS instead of Windows.

      Yes, I am glad too, but in this case the project was inspired by RISC OS rather than Mac OS X - they both use a similar system of application directories. I am not sure which came first of RISC OS and NeXT.

      Really, I'm glad to copy features from any operating system except Windows (although there must be a few things Windows gets right). It's just a shame that it has to be a small project picking up these ideas, rather than KDE or GNOME.
      --
      -- Ed Avis ed@membled.com
    16. Re:Someone should tell Apple by Daniel+Dvorkin · · Score: 4, Interesting

      I really hope you're right, and I'm glad to hear that you're so impressed with OS X. The reason I'm gloomy about the anti-Apple prejudice going away is that honestly, I can't remember a time when the Mac OS wasn't better than the comparable Windows version available at the time. Yeah, OS 9 sucked, but Windows ME sucked ever so much harder, and with teeth. OS 8 was mediocre, but it was competing against Windows 98, for God's sake! System 7 was quite good, albeit rather bare-bones by modern standards -- but compared to Windows 3.1 and 95, it was a thing of beauty and a joy forever. (I think I have the timelines right; apologies if I'm forgetting something.) Etc.

      And yet at every point in this history, the Mac was struggling against the dual prejudice of "M4XZ 5UX0RZ" from the script-kiddie brigade (and don't underestimate these people; even now, I suspect that Aunt Tillie is likely to go to her 17-year-old nephew for computer buying advice) and "Apple makes toys" from the suits. And even now, that the Mac OS has an industrial-strength Unix base and the hardware actually offers better price/performance than any comparable brand-name PC at all but the lowest of the low end, you still hear variants of these tired old prejudices trotted out every day.

      My advice for the Linux desktop developers is: please, please, rip off everything you can from the OS X desktop. But don't never admit to anyone where you got the idea. We Apple geeks will know regardless, and sit back in our half-bitter, half-proud glory. We've got plenty of practice. [1/2 g]

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    17. Re:Someone should tell Apple by edalytical · · Score: 2, Insightful
      Or if you're like me and suffered through Windows 98 for years, you don't what to use anything remotely similar Windows.

      I think Linux would win a lot more converts if KDE and GNOME where less like Windows. Especially in regards to Lindows, I think it will eventually end up making Linux a generic Window in the eyes of potential users. Just go into any $1 or less store and you'll see what I mean, a great deal of the packaging resembles name brand packaging found in grocery stores. Sure you might get some loyal users just looking for a cheap replacement. But most users when given the choice are going to go with the name brand stuff.

      --
      Win a signed Stephen Carpenter ESP Guitar from the Deftones: http://def-tag.com/?r=0008781
    18. Re:Someone should tell Apple by Daniel+Dvorkin · · Score: 1

      And Finder blows... Damn I hate the way it works. It doesn't allow to see where you are in the filesystem very well. It's just awkward and slow to use.

      Just out of curiosity, have you tried using it with the default set to Column view? (Cmd-3 to switch any Finder window.) That is, IMO, one of those small but incredibly cool features that makes the Mac OS X user experience such a joy. Certainly it's the fastest way I've ever seen to navigate through a deeply nested file system. One of my co-workers, who is generally as pro-Windows as they come, pronounced it "the best file view ever."

      The 10.3 window manager is ugly by default, I agree. It took me a little tinkering to get things set just the way I want. <ob-Machead-remark> But even out of the box, it's a hell of a lot better than anything Microsoft ships. </ob-Machead-remark>

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    19. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      MSDOS used this approach since early 1980's :)

    20. Re:Someone should tell Apple by mdwh2 · · Score: 3, Interesting

      Since everyone seems to be giving examples of earlier systems which install in this way, I should add that this is usual on the Amiga too.

      Application specific files and user preferences all live in the program's directory. However, 3rd party libraries and so on tend to be stored in the system folders, which IMO gives the best of both worlds - applications can share common code, but application specific code and data are easily removed, and not strewn about all over the place (libraries tend to be small on the Amiga, so the fact that you might acquire libraries over time that aren't being used by any installed applications isn't that great a problem, and anyway there is probably more bloat in having multiple copies of a library).

    21. Re:Someone should tell Apple by killjoe · · Score: 1

      Why doesn't the finder give you the full path to the item you have selected so you can copy it and paste it elsewhere.?

      Why does the finder refuse to open up in column view even though I tell it to?

      Why doesn't the finder give me the option of keeping the directory hierarchy together like windows explorer does?

      --
      evil is as evil does
    22. Re:Someone should tell Apple by marcello_dl · · Score: 1

      But in the old mac OS days it was just like that, a folder for every app and one (or more) system folders with (not-very-dynamic) libraries (extensions). Most apps allowed multiple preferences files too, and if they needed a dependent item, they popped up a dialog for the user to locate it, and remembered its position. Installers came later (and I always hated the concept) Not so difficult to concieve, after all.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    23. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      Keyboard control is practically nonexistant.

      that's just not true.

      Closing/Opening/Minimizing Windows, Switching/Hiding/Starting/Quitting Applications, changing directories, changing Icon-Views, getting information, selecting an Icon, loading a bookmark, activationg Expose, selecting a window within expose, ...

      I can do just anything only with the keyboard. not to mention that in the system prefs you can
      a) activate keyboard-control for dialogs
      b) define own system-wide shortcuts.

      so look again and see that Mac OS X is the most keyboard-controlled OS out there!

    24. Re:Someone should tell Apple by w3weasel · · Score: 2, Informative
      Apple has already implemented this archetecture... albeit without the nfs... but since ftp servers mount as any remote disk would (in 10.3) the nfs is pretty much there too.
      all the various bits and pieces of a well formed Mac app go into a 'package' (not RPM). See it here. a double-click on that folder launches the app, deleting the folder removes the app, and updates need only to replace affected files within the app.

      When developers take the time to use this structure, it works really really well. Unfortunately, Apple is not in a position to tell developers "if you want to write software for Mac, you must do it like this". So they gave developers the option of being messy.

      --

      Just as irrigation is the lifeblood of the Southwest, lifeblood is the soup of cannibals. -- Jack Handy

    25. Re:Someone should tell Apple by jack_csk · · Score: 1

      I am not a Mac lover, but I really appreciate the idea of the way new Mac OSX apps install.

      It makes so much more sense to drag the whole icon(shall we say, package) to folders rather than waiting forever for installshield to finish...

    26. Re:Someone should tell Apple by TwistedSquare · · Score: 4, Insightful

      I always thought that Mac OS suffered in the marketplace because it ran on propietary hardware that only came from one manufacturer, whereas x86 PC hardware was produced by loads of companies and hence the competition drove the price down. If Mac OS X was available for x86 I'd buy it. But it's not, and I don't have the money to shell out to buy a Mac, as well as my x86 PC that I've effectively had (via loads of upgrades) since a while before Windows 95 came out...

    27. Re:Someone should tell Apple by LordPhantom · · Score: 0

      Hmm... perhaps instead of copying they should attempt to innovate :-). I think it is a horrible mistake for OS to simply mimic Windows OR Mac... without getting into the depths of that argument other to imply that to mimic is to 'follow' only, I simply think that it would be interesting to see linux outshine not only windows but also the MAC OS in terms of UI.

    28. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      The reason I'm gloomy about the anti-Apple prejudice going away is that honestly, I can't remember a time when the Mac OS wasn't better than the comparable Windows version available at the time.

      The reason I'm gloomy about the anti-Apple prejudice going away is that honestly, Mac users are arrogant jackasses who think their opinion about the prettiness of their UI trumps everyone else's wants/needs/likes/desires in what they want in an OS.

      Better price/performance? Bwahahahahahahahahahahahahahahaha. Golly, how could people not believe you?

      Just be honest, and you'll actually turn fewer people off, and not leave people disappointed after dropping $3K for something slower than a $1.5K PC. Just say "Macs cost more and I like them so much I'll spend more and get less performance."

      How perfectly fitting for you to trot out some bizarre fabrications on why Macs aren't more widely used attached to an article about how netbooting is going to help Linux adoption.

    29. Re:Someone should tell Apple by garver · · Score: 1

      Steve should already know. NeXT used something similar over 10 years ago. An application was a directory; clicking the directory launched the app.

    30. Re:Someone should tell Apple by Azureash · · Score: 2, Interesting

      You know, there ARE other desktops out there besides Windows and Mac OSX. I don't think its quite fair to say the KDE and Gnome developers are trying to copy Windows. I see a lot of (good) ideas taken from other window managers and desktops, such as multiple desktops, window listing, etc.

      What people like in a desktop is subjective. I, for one, tend to use the mouse as little as possible and find most Mac desktops to be a bit mouse-intensive. Other people may work differently and never notice.

      I do agree with you on your overall point however; OSS should be pursuing the best of the closed-source technologies. And I believe the serious projects are doing just that. Both Gnome and KDE are already prettier and more useable than Windows, and I would love to see them catch OSX in the eye-candy department.

      Oh, and while we're at it, can I get fast user switching (OSX) and key-chain-binding (Waimea)?

      --
      Look at my karma - I'm bad, just like Michael Jackson!
    31. Re:Someone should tell Apple by Afrosheen · · Score: 1

      System 7 quite good? As if. I had to work on a powermac 9500 with 2 gigs of ram and a big scsi harddrive running MacOS 7.x (either .3 or .5 don't remember) and the memory leaks were constant. That thing liked to freeze when Photoshop ran out of memory, which was often. I'd work on 500M+ images for a big photography shop and sometimes it was really frustrating.

      When 8.1 came out I was lucky I was friends with the guys at the Apple shop. They hooked me up and it was MUCH better.

    32. Re:Someone should tell Apple by Rude+Turnip · · Score: 1

      If you drag the icon of a file into the terminal, the path+file name will show up.

    33. Re:Someone should tell Apple by Monx · · Score: 2, Informative

      Why doesn't the finder give you the full path to the item you have selected so you can copy it and paste it elsewhere.?

      Have you tried dragging the icon to where you want the pathname pasted? This works for the terminal and many html editors. It probably won't help with a word processor though, since it might try to embed the file.

      Personally, I think the new Finder blows compared to even the old System 6 version. I want a real Finder replacement that brings back all of the keyboard navigability (and key bindings) of the old one. I don't think it would be for everyone, but it would be great for people like me who keep hitting cmd-n only to close the window and hit shift-cmd-n. I want my old Finder Secrets back.

    34. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      And it never occured to you that that might be the POINT of the frickin POST?

    35. Re:Someone should tell Apple by eric76 · · Score: 3, Insightful

      There was more to it than that, but you are partly correct.

      The big reason was that enough of the details of the Windows operating system were available that people could actually do something. Apple wanted to be the single source for most of the software as well.

      From Apple's point of view, users were basically consumers of both hardware and software products.

      With the PC and many other competing systems, the barriers to entry were much lower -- you could also be a producer of software as well.

      Everyone I know who was into the Macintosh were strictly users with little idea of knowing how the software worked and no inclination to learn how to write their own software. Everyone with an interest in writing software were using other computers and operating systems.

      With OSX, I think there is finally room for the technically savvy users to do something more with their Macintosh systems than to just run programs from Apple and other software vendors.

    36. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      You're talking about all windowing operations.

      Try to use Finder or Apple mail using only the keyboard.

      Good luck dumbass.

    37. Re:Someone should tell Apple by Thomas+A.+Anderson · · Score: 1

      You're being funny, right? I have little experience with OSX, but it seems to be pretty sane as far as where files go....

      Greg

      --
      Personally its not God I dislike, its his fan club I cant stand (bash.org)
    38. Re:Someone should tell Apple by Anonymous Coward · · Score: 1, Insightful

      while you have valid complaints ... the point he was making was that their offering was better than microsoft's at the time. you'd have at least as much fun trying to do the same thing on an MS OS from the same era.

    39. Re:Someone should tell Apple by SirTalon42 · · Score: 1

      "What people like in a desktop is subjective. I, for one, tend to use the mouse as little as possible and find most Mac desktops to be a bit mouse-intensive. Other people may work differently and never notice."

      I'm the same way, I can quickly navigate all around on my KDE desktop, and on my Windows box (I prefer KDE's method, and sometimes on Windows I have to use third party programs)

      When I use my mom's mac (normally to fix it...) I'm always annoyed with the lack of power put into the keyboard.

      It took me about 3 years to get my mom to try to use Mozilla, now she loves it after only a few days.

    40. Re:Someone should tell Apple by cgenman · · Score: 1, Informative

      whereas x86 PC hardware was produced by loads of companies and hence the competition drove the price down.

      Except that, as the above poster pointed out, many Apples are cheaper. iBooks most famously, but their integrated line is also cheaper if you count the cost of the monitor. The high end of their line is very affordable... Compare the cost of a dual 1.8 G5 to a dual 2.8 Xenon, and recognize that the dual G5 is faster. Plus multiprocessing on the Mac has far fewer of the hitches of multiprocessing on the PC.

      Not to undercut my own argument, but in the (long) past Apple did make a few supplier decisions that didn't pan out. Specifically, apple's use of SCSI drives became a liability. While it was expected that with competition SCSI prices would eventually fall to be on parity with ATA drives, it never happened, despite being significantly faster for about the same cost to produce. Still, hot swapping external SCSI drives was one of the best reasons to own a Mac (and one of the easiest ways to transfer large amounts of data), you would just pay for the privilege. Now there is USB / Firewire to do that job affordably, and Apple has transitioned to ATA. Except for the Power PC processor and resultant motherboard, which I've always respected above the hot-running Pentium line, Apples these days pretty much use standard parts from the x86 universe.

      You'll notice that your x86 which you've had since before Win95 has come out has had the graphics card, sound card, power supply, hard drives, motherboard, cpu, network card, and probably the case replaced multiple times. I'm sorry, at that point it is not the same PC, you have just bought a new one in parts. You could probably rummage through your parts bin and reassemble your original 486, if you were so inclined. You can do the same thing (or, at least, similar things) in the Mac with judicious use of online retailers. In other words, the implication that an x86 is a better investment because it has stayed around for the past 10 years is a false one, as nothing of the original machine remains.

      Most people buy computers as a whole, and not as individual upgrades. Personally, if I get another motherboard incompatibility I'm going to track down and strangle the engineer who decided it should only work with Kingston(tm) ram. While I do buy pretty cheap for my non-main system, my new motherboard DOA rate is hovering around %50. I personally recommend to my family that if they want a machine either A: I should build it for them, and the flight out to California that would entail, or B: they should buy new. Building a system, while not requiring as many steps as it used to, is still a lot more effort than an average non technophile would want to put into it in the same way that non gearheads wouldn't want to build their car.

      And if you want to only have one computer, run windows under a virtualization layer on the Mac. Unlike the monolithic, hot-running Pentium line, the Power PC is adept at simulating other computing environments. While you're at it, add Linux for network administration duties. Apple for every day, Linux for networking, and Windows for legacy dependencies. Sounds just about right.

    41. Re:Someone should tell Apple by TwistedSquare · · Score: 1
      You'll notice that your x86 which you've had since before Win95 has come out has had the graphics card, sound card, power supply, hard drives, motherboard, cpu, network card, and probably the case replaced multiple times. I'm sorry, at that point it is not the same PC, you have just bought a new one in parts.... In other words, the implication that an x86 is a better investment because it has stayed around for the past 10 years is a false one, as nothing of the original machine remains.

      Just to clarify.. it is indeed a totally different machine now but I guess the point I was really trying to make was that I upgraded piece by piece, and at each stage this was cheaper than buying a new PC - hence I was sort of "locked in" to using the PC framework from way back then, as at no point have I had sufficient money to buy a whole new PC, just upgrading it every now and then. I admit a lot of people buy them whole although usually people will upgrade them in one or two ways before binning them for the next one

    42. Re:Someone should tell Apple by Tim+Browse · · Score: 1
      The only shared libraries are the ones built into the OS. (The OS was on ROM, so version incompatibilties didn't really exist like they would with the disk based OS's we use today).
      Well, you know, except they did. There were plenty of updates to OS modules, if I remember correctly - the CRT lib definitely got updated. Remember the !System folder? And how screwed you were if you didn't have one around? And you could only get the latest version of the shared CRT lib directly from Acorn or an Acorn dealer. You weren't even allowed to just give it to your friends. For Windows, this would be like Microsoft preventing you from distributing msvcrt.dll to anyone.

      !boot was executed when the filemanager loaded the directory and was responsible for replacing the applications default 'dir' icon with one that represented the application function.
      And also responsible for a number of !boot viruses, that could infect your machine even if you just opened a filer view onto a floppy. Not even Windows can do that :-).
    43. Re:Someone should tell Apple by Roark+Meets+Dent · · Score: 1

      How does one learn how to do this?

    44. Re:Someone should tell Apple by cpjackso · · Score: 1

      Never heard of a boot-sector virus??? Get your virus loaded before Windows even starts!!

      Or - how about Outlook viruses - which install a virus when you just open an email. Or Internet Explorer viruses which install a virus when you open a webpage. Or worms that scan the internet and install on your PC *WITHOUT YOU DOING ANYTHING*. Viruses were few and far between on RISC OS (and still are).

    45. Re:Someone should tell Apple by kcarlile · · Score: 1

      Just so you know, the way to get it to open in column view is to open the window, change the view, and immediately close it again. No problem! Yeah, it's stupid and undocumented, but there it is. I'm guessing you also use 10.2 or earlier. 10.3 is a lot nicer about holding onto the view. 10.1 and before would sometimes change over. 10.2 is what I described above.

    46. Re:Someone should tell Apple by Durandal64 · · Score: 1

      You might want to try Path Finder. I happily registered it; it's an awesome file browser.

    47. Re:Someone should tell Apple by killjoe · · Score: 1

      Wow I'll try that.

      That has got the be the weirdest use of drag and drop I have ever heard.

      --
      evil is as evil does
    48. Re:Someone should tell Apple by Anonymous Coward · · Score: 1, Insightful

      Risc OS has used this approach since the mid/late 1980's when the OS was launched on the Acorn Archimedes.

      Hardly a coincidence -- ROX == Risc OS on X
      (read the SF project pages) :-).

    49. Re:Someone should tell Apple by Afrosheen · · Score: 1

      Yeah you got a point there. Ultimately I wanted everything to work like the Irix machines that were 2 buildings over. Hated the fact that they had some ghetto fabulous custom software for retouching rather than Photoshop though. But they were rock solid and if anything thought about breaking, some magic gnomes from the service contract would dial in and fix stuff remotely without the user ever knowing it.

    50. Re:Someone should tell Apple by mnmn · · Score: 1

      That wont work. Telling Steve something will not convinvce him.

      Just implement it in FreeBSD and Linux, watch the world flock to it, and watch Steve and Gates try it on their OSes.

      We should teach them by example. They only know the language of success.

      --
      "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
    51. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      heh. agreed. i almost wrote that if you wanted to do real graphics processing at the time, one would have looked to SGI.

    52. Re:Someone should tell Apple by Salvo · · Score: 1

      If, instead of spending $200 on that Video Card and two weeks later spent $500 on that new Motherboard and CPU, you had saved that money, would you have had enough money to buy a Mac?

      I recently neglected my self-built, progressively constructed x86 for a year. After that Period, I assessed the cost of new components to bring it up to scratch. I decided to would be Cheaper to buy an iBook. Doing this also broadened my Horizons. I still have an x86 which can run Linux or BeOS or even W2k, but I find myself using my Mac for just about everything "Real World".

    53. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      But Apple hardware is not really more expensive than PCs. Sure the G5s and iMacs are quite expensive, but eMacs are cheap. It may be 100$ or 200$ more than a PC, but it comes with an OS, and there's a level a quality in their machines. No way you can beat that on a PC.

    54. Re:Someone should tell Apple by JohnsonWax · · Score: 1

      Uh, I had the opposite response. "Why in the f*&k did they do it that way?!" Keyboard control is practically nonexistant. And Finder blows... Damn I hate the way it works. It doesn't allow to see where you are in the filesystem very well. It's just awkward and slow to use.

      In 10.3 you can control *everything* from the keyboard if you want. I honestly don't see how OS X navigation is any different than Windows assuming you take advantage of all modes. Personally, I don't like the spatial Finder mode, I use column, or list with disclosure to see subdirectories.

      The killer feature Apple has is that they have a GUI for everything in the system and it hides a lot of complex stuff so the end-user doesn't have to worry about every little detail (of course sometimes that backfires when I simply can't do something because it's hiding the details).

      You've never seen Terminal, have you? Apple usually gives you two ways of doing it - the easy, GUI one, and the harder, totally complete in all detail CLI one. For example, creating a disk image is trivial in Disk Utility, if you want a fairly standard one. If you want to pick your compression scheme, and dozens of other options, you can use hdiutil and do all kinds of damage.

    55. Re:Someone should tell Apple by TwistedSquare · · Score: 1
      Well... Assessing the costs of the main parts over the last 4 years (leaving out hard disks etc as they were not necessary for performance) in GBP, rough prices:

      Graphics card x 2 - 80 quid
      CPU x 3 - 180 quid
      M/board x 3 - 150 quid
      Case x 2 - 100 quid
      Monitor x 1 - 100 quid
      Memory x ? - 50 quid

      So all that totals 650 pounds, still only just over half the cost of a Mac iBook. And out of the spare parts of that (plus a few other bits scrounged for free) I have a total of 3 PCs, two of which are Athlon XPs. So for me personally it clearly isn't a good idea to have saved for a Mac. Maybe one day though...

    56. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      Not to mention how horridly underpowered the eMac is compared to a similarly priced PC.

    57. Re:Someone should tell Apple by Spacejock · · Score: 1

      Yeah, and my Atari ST sure could have used a similar setup.

    58. Re:Someone should tell Apple by jonadab · · Score: 2

      > a number of !boot viruses, that could infect your machine even if you
      > just opened a filer view onto a floppy. Not even Windows can do that :-)

      Actually, Windows _can_ do that with CDs, unless you use TweakUI or regedit
      to turn off the AutoPlay "feature". This was less of a problem when CD
      burners were cost-prohibitive for most users, because people who caught
      anything this way couldn't spread it around, since they didn't have a
      burner. It worries me now, with burners being common these days. I always
      turn AutoPlay off on Windows systems that I administer.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    59. Re:Someone should tell Apple by jonadab · · Score: 1

      > For a lot of us, Mac OS 9 was really awful..

      Really aweful doesn't even cover it. Windows 95 was really aweful. MacOS 9
      (and earlier) was hideously and unforgivably Dain Brammaged. It's the only
      OS I've seen that manages to combine worse error messages than DOS[1] with
      worse memory management than Windows 3.1, while _claiming_ to have a great
      GUI but not supporting such basic features as minimize and maximize, yet
      also _claiming_ to support multitasking but in fact freezing up whenever
      any app does anything. Classic can't die soon enough to suit me.

      But note that I'm not anti-Apple anymore. Mac OS X is so much better than
      MacOS 9, it's like the difference between night in a cave and noon on a
      mountaintop. It's still not my favourite system, but it's a decent and
      viable OS, and I feel good about calling it one of the "big three" (the
      other two being Windows and *nix); before OS X, I cringed just thinking
      about Mac being one of the big three system types.

      [1] "Error: An error of type -876344 occurred." I've seen better error
      messages written by high-school students the first week of BASIC class.
      By comparison, "Error reading drive A: Abort, Retry, Ignore, Fail?"
      is a veritable fountain of information about what the problem is and
      what can be done about it.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    60. Re:Someone should tell Apple by salimma · · Score: 1
      I'm glad to see a Linux desktop system copying the MacOS instead of Windows. I've felt for some time that it is a huge mistake for KDE and GNOME to try so hard to make themselves look like Windows when, in OS X, there is a much better example of a Unix-based desktop

      Actually, GNOME seems to be lifting a page from Apple more than Windows these days, though not necessarily OS X. Spatial Finder? voila, Spatial Nautilus. Removable media showing up as an icon on the desktop? Check.

      ROX actually had its concepts of AppDirs from RISC OS, the OS running on Acorn's ARM-based machines, that was quite neat. Prob is, it did not sell well outside the UK, was written in Assembly language and was a co-operative multitasking system..

      Damn fast though. On a system without hardware FPU!

      --
      Michel
      Fedora Project Contribut
    61. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      As a Unix (including MacOS X) user, I agree that copying Windows behavior is one of the worst mistakes of the KDE and GNOME projects (as well as many other GUI applications on X11). The key bindings conflict with a lot of things that Unix users are used to (whereas on MacOS X, all text widgets support Emacs key bindings).

      However, I wouldn't want them to copy OS X mehavior in too many respects, either, but rather design their own and imitate those things that genuinely are good and work...however evaluating what's good requires significant experience in all available environments, which is rare. People are used to doing things one way, don't notice the idiosyncracies they're used to and complain about those they aren't.

      As for Apple popularity - the single hardware vendor has proven to be a significant issue (consider all the other PC alternatives, which have not been as fortunate as Macs).

    62. Re:Someone should tell Apple by Rick+Zeman · · Score: 1

      Why doesn't the finder give you the full path to the item you have selected so you can copy it and paste it elsewhere.?

      Lots of 3rd party pieces do that, or I have an AppleScript that I've had for 10 years doing that.

      Why doesn't the finder give me the option of keeping the directory hierarchy together like windows explorer does?

      Because it's not Windows Explorer? Windows Explorer is an abomination, one of the most functionally unusable programs MS ever released.

    63. Re:Someone should tell Apple by Rick+Zeman · · Score: 1

      I do agree with you on your overall point however; OSS should be pursuing the best of the closed-source technologies.

      I guess any originality is out of the question?

    64. Re:Someone should tell Apple by Ridgelift · · Score: 1

      Someone should really point this out to Steve. I think using this type on installation on Macs would increase useability by leaps and bounds.

      Isn't that what the original Mac did? Rox is a giant step backwards, back the way software _used_ to work...

      ...but it's a step in the right direction! The reason for installing programs was to take advantage of shared libraries (DLL's, .SO's, etc) to save on hard drive space due to the growing bloat of software programs.

      Hard drive isn't at a premium anymore, so maybe it's time to go back to the way things were. Shares libraries were perhaps a necessary idea to move computing forward, but now it's time to step back and realise they were a bad idea.

    65. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      Windows Explorer is an abomination, one of the most functionally unusable programs MS ever released.

      However, if you worked at learning its ins and outs, it could make doing various tasks much faster. Note that this was the Explorer from Win95c; the explorer from WinXP is a steaming pile of shit by default. Once you've swapped the settings around, it can be made into a simple pile of shit, as opposed to the steaming variety.

      Konqueror has some nice features, but I personally feel it's a mistake to have a file and internet browser be the same application, no matter how well the pieces are kept seperate. Mark my words folks, internet browsing and file browsing are seperate tasks. Still, the KDE folks do a good job, and I'm not trying to disparage them here with this paragraph.

    66. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      Since when is an ibook $2400? I'm typing this on the ibook I bought for $1099. They top out at only $1499. Seems pretty reasonable to me since most decent laptops from other makes are similarly priced.

    67. Re:Someone should tell Apple by coolsoldier · · Score: 1

      Keyboard control is practically nonexistant. Not nonexistent -- it's just not on by default. You can turn on "full keyboard access" in preferences, which lets you navigate the entire GUI with the keyboard, and define your own keyboard shortcuts. It should be on by default, but since full keyboard navigation is something that is generally only used by power users who are custom-configuring all of the preferences anyway, I don't see it as a problem.

    68. Re:Someone should tell Apple by Rick+Zeman · · Score: 1

      Windows Explorer is an abomination, one of the most functionally unusable programs MS ever released.

      However, if you worked at learning its ins and out


      I was never willing to make that effort.

      Konqueror has some nice features, but I personally feel it's a mistake to have a file and internet browser be the same application, no matter how well the pieces are kept seperate. Mark my words folks, internet browsing and file browsing are seperate tasks. Still, the KDE folks do a good job, and I'm not trying to disparage them here with this paragraph.

      Yep, I've said that since Win98 came out and they screwed up the paradigm by switching double clicks to single clicks. I don't know what's the best file browser (though I'm genetically programmed to do things The Mac Way), but the web browser paradigm ain't it...nor is Windows Explorer.

    69. Re:Someone should tell Apple by jonadab · · Score: 2, Informative

      > can't remember a time when the Mac OS wasn't better than the comparable
      > Windows version available at the time.

      In all respects except maybe security, this is a pretty bogus claim. MacOS
      was *different*, but it was not objectively *better* and in many ways was
      a good deal *worse*. For example, Windows 95 OSR2 had real multitaking --
      actual, factual, preemptive multitasking -- in 1996. MacOS didn't get it
      until OS X came out. We're talking here about an important key feature
      that *good* systems have had since the seventies: the ability for any
      random application to be running at the same time as any other random
      application, and the system doesn't freeze up for seconds-on-end while you
      wait for something to finish; each application is responsive as if it were
      running all the time (because, it is). So you can click on a link in Mozilla
      and *immediately* switch to another window and do stuff while you wait for
      the page to load. In MacOS 9.1, you can't do this; the browser monopolizes
      the system, as if the whole OS were frozen up (in a sense, it is), waiting
      for the page to load. This is a really big deal. It is, of course, fixed
      in OS X. But Windows had this in late 1995 (sooner, if you count NT).

      Then there's the dock. The Mac dock today (and since 10.0) is better than
      anything Windows will have at least until Longhorn comes out[1], but prior
      to that there was... there was... well, there was that little thing in the
      upper-right-hand corner, a holdover from the System 6 Multifinder, that shows
      which app is running, and you can pull it down and switch to a different one.
      And the menubar at the top did have a clock. But there was nothing that
      really could pass for an actual dock, bar, or panel.

      Windows also has had, since 1995 or before, better memory management than
      MacOS 9. This really shows up if you have more apps open than will fit in
      RAM all at once. The classic Mac does not perform well under these
      conditions; Windows 95 handles it much better; you only really notice the
      swapping delays when you switch between applications. Additionally, Windows
      95 does not require the user to configure VM manually, as MacOS 9 does.
      (Windows 3.1 did require this; going to automatic handling of virtual
      memory was a major leap forward in 1995.)

      The Apple HIG is arguably better and certainly more closely followed by
      most ISVs, but there are other niggly things about the Mac interface that
      suck in ways that almost make up for that. With the Classic Mac you
      basically *have* to have a third-party macro application, for example,
      because way too few things have keyboard shortcuts. (The mouse is great
      for discovering stuff you didn't know how to do, but it sucks for quickly
      doing something that you do very frequently.) Keyboard shortcuts are much
      more common in the Windows world (and almost totally universal in the *nix
      world). OS X is starting to fix this (though there is still more to be done).

      There are other things. To say that the MacOS is better than Windows *now*
      is a fairly credible claim; to say that it has *always* been better than the
      Windows available at the time is... bogus.

      Although, in the Windows 3.1 days, I'd agree that the Mac system was better.
      (I didn't use Windows much back then, though; I used DOS :-)

      [1] Gnome, however, is in some ways better. Notably, the applets are better,
      and the Mac dock doesn't support drawers, which are IMO a killer feature.
      The icon zooming on the Mac dock is better, however, and unifying the
      running process list with the launchers, only listing a given app once
      and indicating that it's running with the little arrow underneath, is a
      nice touch. But the Windows taskbar is clearly inferior. But it was
      better in 1995 than anything equivalent that the Mac had to offer until
      OS X came out. It took Apple four or five years to catch on to this.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    70. Re:Someone should tell Apple by TheCrazyFinn · · Score: 2, Informative

      Except for the fact that the eMac has a real GPU in it instead of the Equivalent PC's Intel Extreme Graphics with Shared Memory. Even the eMac's lowly Radeon 7500 is 2-3x faster than Intel's crap graphics. And it has 32MB of dedicated VRAM, instead of stealing from system memory.

      Just that will do wonders to equalize the eMac's slower CPU. And if you're comparing the eMac to a Celeron, the CPU ain't even slower.

      Another thing to consider is the fact that Apple uses high-quality tubes in their CRT's. This isn't the $75 special you get at the low end. Price out an equivalent box from a major maker (include a decent GPU and a Good monitor) and you'll see Apple fairs decently against them price-wise.

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
    71. Re:Someone should tell Apple by BobWeiner · · Score: 1

      ...and with free apps like Butler and QuickSilver you can launch apps, websites, and files with just a few keystrokes -- without even touching the mouse once.

      And let's not forget Desktop Manager, for those that moan about Macs not having virtual desktop environments.

      --
      The PC Weenies: 11 Years of Online Tech 'Too
    72. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      Yeah, but you're talking about using the keyboard as a mouse. That's too slow and defeats the whole purpose of using the keyboard.

      It needs better keyboard accessibility. Like Windows where you can quickly navigate the entire system with just the keyboard. And I don't mean by moving the mouse cursor around with keys.

    73. Re:Someone should tell Apple by MostlyHarmless · · Score: 1

      The bad news with static libraries comes when a security hole is found in a library. Now, you have 10 applications to patch instead of one library -- and there's always that one you miss.

      Of course, if you upgrade a library such that it breaks other applications, then that's the other edge to the shared-library sword. That's when the developer, if you were lucky, upped the .so.n number so the versions can co-exist. Or that's when your package manager keeps things properly synchronized so you don't have to worry.

      Isn't UNIX wonderful? :-P

      --
      Friends don't let friends misuse the subjunctive.
    74. Re:Someone should tell Apple by Art+Tatum · · Score: 1
      With OSX, I think there is finally room for the technically savvy users to do something more with their Macintosh systems than to just run programs from Apple and other software vendors.

      Yes, Cocoa and Objective-C kick ass. (And you can do cross-platform Cocoa with GNUstep.) Unfortunately, there's still a stigma held over from the pre-OS X days. Whenever somebody mentions the Mac around our CS professors, all I hear are jokes.

    75. Re:Someone should tell Apple by Art+Tatum · · Score: 1
      But the Windows taskbar is clearly inferior. But it was better in 1995 than anything equivalent that the Mac had to offer until OS X came out. It took Apple four or five years to catch on to this.

      Apple didn't really "catch on" to anything. They acquired the Dock concept from the same place they acquired almost everything else in OS X: OPENSTEP/Mach. Buying NeXT was the best decision anybody at Apple ever made. What's kind of interesting is that the Windows 95 look was heavily based on NeXTSTEP. Microsoft actually paid NeXT to use some of the 3D GUI concepts that had been part of NeXTSTEP since 1989. What a pity they didn't borrow the APIs as well. :-) At least we have GNUstep now for programming with decent APIs on all platforms.

    76. Re:Someone should tell Apple by N1KO · · Score: 1

      The hardware platform is still proprietary and extremely overpriced. The powerbook is really nice but if I were to buy a laptop I would need a very good reason to spend so much money on one.

    77. Re:Someone should tell Apple by Anonymous Coward · · Score: 1, Informative

      Do a man on lsbom and use it to check the .bom files in the directories under /Library/Receipts. That should tell you exactly which package installed which files. lsbom is part of the developer packages so this isn't a solution for the non-technical unfortunately. I think DarwinPorts installer should also be able to understand packages in the /Library/Receipts directory, but I'm not really sure about that.

    78. Re:Someone should tell Apple by cygnusx · · Score: 1

      > That has got the be the weirdest use of drag and drop I have ever heard.

      PS. Works on Windows too! (Drag a file from Explorer onto a cmd window)

    79. Re:Someone should tell Apple by Master+of+Transhuman · · Score: 1

      > And it has 32MB of dedicated VRAM

      Oh, wow, be still my heart...

      I paid around $575 IIRC a year ago for an AMD Athlon 2GHz (actually 1.66), a 60GB HD, a DVD drive, 512MB RAM, NIC, modem, yada, yada - AND 64MB of GeForce VRAM.

      Get serious.

      Apple has ALWAYS COST MORE. No comparison.

      And Apple is SINGLE-SOURCED so it will ALWAYS COST MORE.

      Now, it's nice hardware and a nice GUI and since it's closed it can control the user experience better than Wintel can - and far better than Linux probably ever will - at least until IBM and HP start leaning on the hardware manufacturers to write drivers.

      But it AIN'T CHEAPER.

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    80. Re:Someone should tell Apple by Anonymous Coward · · Score: 0
      And Finder blows... Damn I hate the way it works. It doesn't allow to see where you are in the filesystem very well. It's just awkward and slow to use.
      That's just plain silly. The finder gives you a choice of three views including the traditional view that you would get from Mac OS 9.x and earlier. That's the same style that Microsoft copied in MS Windows.
    81. Re:Someone should tell Apple by Angry+Pixie · · Score: 2, Interesting

      Everyone I know who was into the Macintosh were strictly users with little idea of knowing how the software worked and no inclination to learn how to write their own software. Everyone with an interest in writing software were using other computers and operating systems.
      I can second that as well as the parent. I've only met a few people who had any interest in developing software on the Mac, several people who were interested in developing multimedia on the Mac, and countless many people who just want a computer that worked like an appliance.

      I think another factor worth mentioning is gaming. I seem to recall Apple discouraging people from developing game software for a while since Apple wanted the Mac to be respected in the work environment, hence a lot of more science and educational apps. So, DOS ended up being the game platform, which worked out quite well since DOS developers had many more potential customers.

      I still want an Apple. I've wanted one for years, but I'm locked in, and I still see Apple as "benevolent dictator" that go back to the way it was when Steve really got overbearing.

    82. Re:Someone should tell Apple by True+Grit · · Score: 1
      1. I guess any originality is out of the question?


      When it comes to UIs, is anyone really originating? Little icons on a "desk top" and a pointing device moving a weird little hand to select them. Aren't we still using Xerox PARC's basic blueprint after all these years?

      Besides, when it comes to a Linux UI, it is virtually a no-win situation. A third say we should clone Windows, A third say we should clone Apple, and a third say we should do something completely different. Its an endless argument with a majority agreement unlikely anytime soon.
    83. Re:Someone should tell Apple by Mr.+Hankey · · Score: 1

      I have an old Mac laptop, a PB1400, having used Macs since the venerable Mac Plus. I eventually moved to the PC platform due to frustraction with Apple's lack of direction. (This was pre-Jobs' return, back when Apple really was dying.) I haven't even considered buying another one, despite Apple finally bringing their OS into the realm of modern software technology.

      The irony is that there's just one major issue that prevents me from getting another Mac laptop, and that's the lack of multiple buttons on the pointing device. Having used 3 button/wheel mice for so long, one button pointers just feel like a toy. Adding an external rodent isn't the answer, it's a laptop and should be portable. If Apple could see their way to fixing this issue, I'd probably buy a new Powerbook. I doubt that'll happen within my lifetime though.

      That being said, I don't think I'd ever buy another Mac desktop/tower. The Powerbooks are fine for the limited number of things I'd rather do on a laptop, but the desktops limit choice and expandability entirely too much for my taste. Even given competitive prices, the "CPU upgrade == new computer" paradigm is simply no longer attractive to me. Never mind that paying an extra $30 for year-old games gets old after a while.

      --
      GPL: Free as in will
    84. Re:Someone should tell Apple by TwistedSquare · · Score: 1

      Middle of the range iPod is 1000 pounds, which comes out to $1800.

    85. Re:Someone should tell Apple by Tim+Browse · · Score: 1
      Never heard of a boot-sector virus??? Get your virus loaded before Windows even starts!!

      Not really sure I follow that line of logic. If you've got a boot sector virus, then, well, you're kind of already infected, are you not?

      To get infected by a boot sector virus on a floppy on a PC, you'd have to boot off the floppy, not just open an explorer view onto it.

      Viruses were few and far between on RISC OS (and still are).

      Just like all the other types of software, then :-)

    86. Re:Someone should tell Apple by afd8856 · · Score: 1

      Same as PDF file viewing, image viewing, cvs repositories, etc. Konqueror is just a wrapper in most cases around a Kpart (in the case of web-browsing, Khtml). I think Konqueror is the best of the free browsers (and i include here the ones that come with the OS itself, too).

      --
      I'll do the stupid thing first and then you shy people follow...
    87. Re:Someone should tell Apple by cgenman · · Score: 1

      Wow, that's an expensive iPod. Must be really big to weigh 1000 pounds.

      I believe you meant iBook, and it's interesting to note that the 1000 pound iBook in the UK retails in the US for just 1,299 dollars, or about 700 pounds, the cost of your systems upgrade. Likewise, you can pick up the perfectly respectable 12" iBook for the equivalent of 600 pounds. It has pretty much all of the features of it's larger sibling, but in a smaller package.

      That 17" PowerBook costs the equivalent of 1,600 pounds in the US, but is sold in the UK for 2,399. Same numbers on the high-end G5's. You're getting them at an almost %50 markup.

      No wonder you think Apples are too expensive. Over there, they are.

    88. Re:Someone should tell Apple by Red+Alastor · · Score: 1

      Guess what ! It works on Linux too ! :-)

      Well... At least with nautilus and gnome-terminal, I didn't bothered trying something else.

      --
      Slashdot anagrams to "Sad Sloth"
    89. Re:Someone should tell Apple by Thing+1 · · Score: 1
      the implication that an x86 is a better investment because it has stayed around for the past 10 years is a false one, as nothing of the original machine remains.

      Nothing, that is, except that row of diodes down my left side that've been hurting for the past few millenia...

      --
      I feel fantastic, and I'm still alive.
    90. Re:Someone should tell Apple by TheCrazyFinn · · Score: 1

      And did you get a warantee that's actually good with that?

      You can't compare name-brand boxes with clones. Clones are good value, if you don't care about support/warrantee. Name-brand boxes offer support you aren't ever going to get from joe's house of boxen.

      Oh, and Apple isn't single-sourced. They've been multi-sourcing everything for years now except the CPU, and they have multiple vendors for the G4 (IBM fabs them for Moto)

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
    91. Re:Someone should tell Apple by Art+Tatum · · Score: 1

      I'm with you on that. Being a poor college student, it's just not in the cards.

    92. Re:Someone should tell Apple by TwistedSquare · · Score: 1
      Lol yep sorry I did mean iBook, must have had iPods on the brain or something.

      Apples are very expensive, even more so I believe than the usual US/UK price differences (usually explained away by us having higher living costs or something, but as the economy becomes more global people are beginning to suspect companies do it just because they used to be able to get away with it). Also Apple have very tight distributor-pricing control. A friend recently searched high and low for a cheap Apple here but the cheapest any distributor sold it was only ten pounds cheaper than Apple's price (i.e. the RRP).

      So Apple seem to be aiming for the high end ("luxury"?) market here, which is fine by me but they can't expect people like me to buy Apple if they do.

    93. Re:Someone should tell Apple by Anonymous Coward · · Score: 0

      You're already too late to evoke the "Why didn't Windows..." response. DotNet applications have shed the shared code model. It's like a Get-out-of-DLL-Hell-Free card. This means XCopy is the new installer, and a smart stub application can run the main from the net or local cache.

    94. Re:Someone should tell Apple by jonadab · · Score: 1

      > Buying NeXT was the best decision anybody at Apple ever made.

      Actually, they were thinking about buying Be, which would have been just
      about as good. (Be was better in a lot of ways, actually, but NeXT was
      where Jobs was...)

      --
      Cut that out, or I will ship you to Norilsk in a box.
    95. Re:Someone should tell Apple by Art+Tatum · · Score: 1

      Yes, but if they had bought Be, we'd all be subjected to the godawful monstrosity that is C++. /me loves Objective-C. :-)

  2. waste? by pholower · · Score: 2, Insightful
    I like the idea, but I worry that about speed regardless of what they say will occur. To me, it would be better to have to package load onto the HDD, and if there are any missing libraries, have that go and fetch them as well. This just seems like a waste of internet traffic to me.

    Isn't this already being done with apt_get? I just think Linux needs a more user friendly updating service. I hate to say it, but windows is much better at taking completely computer stupid people and having them screw up their own pc's, instead of having to call a family member to do it for them.

    --
    -- johntracy.com, because everybody else is wrong.
    1. Re:waste? by JaredOfEuropa · · Score: 4, Informative
      To me, it would be better to have to package load onto the HDD, and if there are any missing libraries, have that go and fetch them as well.
      That's exactly what is happening: the software is cached. From their website: "I've only got dial-up; can I still use Zero Install? Yes! Run each program you want while on-line and it will be cached. When you're off-line, the cached copy is used automatically."
      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    2. Re:waste? by caseydk · · Score: 2, Interesting


      I do something similar to this already.

      I keep all of my Java apps on a Samba share on my fileserver. Then, I set up aliases pointing at my standard version that I'm using.

      Then, from whatever system I use or plug into my network, I map the drives and I have all of my apps with no hassle.

      I've done this connecting Slackware, Redhat, win2k, and win98 systems to my network. It removes all the nastiness of having to maintance multiple copies.

    3. Re:waste? by LittleBigLui · · Score: 3, Interesting
      That's exactly what is happening: the software is cached. From their website: "I've only got dial-up; can I still use Zero Install? Yes! Run each program you want while on-line and it will be cached. When you're off-line, the cached copy is used automatically."


      Sounds a lot like Java Net Start to me.
      --
      Free as in mason.
    4. Re:waste? by RdsArts · · Score: 2, Informative
      To me, it would be better to have to package load onto the HDD, and if there are any missing libraries, have that go and fetch them as well.


      That's what it does. That is what they mean when they say 'cache'.

      What happens is the software is cached first. Then, all dependancies are listed as 0install directories, so if you have it already it'll use the cached version, but if not it'll pull a copy and cache that. This is nice because if, say, you don't use the help files, it won't pull them until you ask for them, so you don't have them clutering up your HDD or being downloaded. You just point the ROX-Filer at the 0install AppDir, click on it, and without you even needing to think about it everything is installed and the program runs.

      It also has a way to quickly update all apps, or if you just want one upgraded, open it in the Filer and hit 'reload.' Simple, easy, and intuitive. In general, I'd say this is even easier then the Windows Update and installers combo.
    5. Re:waste? by matithyahu · · Score: 1, Informative

      Well, yeah and the guy who wrote it admits it too. He says, however that he started working on Zero Install before he had heard of Java Net Start

    6. Re:waste? by TexasDex · · Score: 1

      For anybody with Broadband this will work just fine. For Dial-up users this is not going to cut it. Think of it this way: I go online to download an app and then go offline to use it. Where's the Help? Still online. I must sign back on to download the help files, and although that sounds trivial it's it's not (esp. with dial-up speeds). For somebody with an always-on connection this sort of caching is reasonable, but for dial-up users it would be a better idea to grab the whole app, help files and all. Or perhaps give the user the option to install the help files now or install them later when they are needed.

      --
      The Cheese Stands Alone.
    7. Re:waste? by Lumpy · · Score: 4, Interesting

      or simply run a STATICALLY compiled binary and not worry about dependancies...

      All my binaries are statically compiled for the downloaders... and I NEVER get a complaint how my apps dont work, in fact I get more comments on how my linux apps binaries work every time no matter what and is a stark difference to most of the other linux stuff out there.

      the typical response is "your binaires work every time... why can't other OSS developers do that?"

      --
      Do not look at laser with remaining good eye.
    8. Re:waste? by Anonymous Coward · · Score: 0

      THANK YOU.

      Life is fucking easy with static binaries, despite their disadvantages.

    9. Re:waste? by RdsArts · · Score: 1

      That's not realistic either. The Dialup user would be downloading the app one way or another at some point assuming the distro they use didn't come with it in the cache already. If they're upgrading, they have a CD with a cache or would be downloading it anyways, so that point is equally untrue. The few updates they need to do would be quick and painless, without them even needing to think about it. Many current 0install users use dial-up.

      Of course, my view is if your app needs help files, it's poorly designed to begin with, but still there's nothing about this that is prohibitive to dialup users.

    10. Re:waste? by Elbows · · Score: 1

      There are lots of well-known reasons why static linking is a bad idea:

      1) Ease of updating. If there's a new release of, say, Qt, I install it an all my dynamically-linked Qt apps get the upgrade. With static linking, I have to upgrade every app separately, which means either waiting for the distributor to release a new build, or compiling it myself.

      2) Load time. If all my Qt/KDE programs are statically linked, each one has to read ~10M of library code off the disk when it starts.

      3) Disk space. I have about 100 packages on my system that depend on KDE/Qt or Gnome/GTK. If each one has its own copy of the 10M of GUI libraries it needs, that wastes a gig of space. Not intolerable with today's hard drives, but a lot of space nonetheless.

      Static linking only solves dependency problems, and at a great cost. Good package management can also solve dependency problems without the problems of static linking.

      The Zero-Install concept is a nice way to install applications, but I think it would really shine if coupled with an apt-like system for automatically installing the needed libraries. Static linking is not the answer.

    11. Re:waste? by Elbows · · Score: 1

      Oops, it appears that Zero Install actually _does_ automatically resolve dependencies, in a rather elegant way even. (And without using static linking, I might add).

    12. Re:waste? by SirTalon42 · · Score: 1

      "Of course, my view is if your app needs help files, it's poorly designed to begin with, but still there's nothing about this that is prohibitive to dialup users."

      Not all people can use a program the first time they try, somebody has to be buying the Video Professor cds.

    13. Re:waste? by ajs318 · · Score: 1

      Dial-up was always a horrid bodge. The future is fibre-to-home. Your computer, TV and telephone -- and such appliances yet to be invented that perform analogous functions -- will use a single digital fibre optic cable.

      Until then, ADSL, whether carried over phone, TV or power cables -- incidentally, where was the April Fool story about broadband over water and sewage pipes? -- will have to do. And as it gains in popularity, things like this will take off. Some people probably would actually upgrade to broadband internet just to run software on a simple click-and-go basis.

      We just need an end to driver misery before it really takes off. I think over time, chipsets are all going to become compatible with one another eventually -- consolidation and standardisation do benefit the market to an extent. With the way XP and Mac OS X have borrowed so heavily from FreeBSD, and thus the possibility of cross-porting drivers easily, I would not be at all surprised to see some form of FreeBSD-based OS taking off on this.

      --
      Je fume. Tu fumes. Nous fûmes!
    14. Re:waste? by RdsArts · · Score: 1

      Poor UI design creating a market for people to help aclimate them to poor UI design does not a rule make. ;)

      If a App is designed so that it fits in well with the rest of the desktop, and is intuitive to even a first-time user to use, then help files are unneeded.

      Take RoxCD *shameless plug*, it's designed so that the first time you sit down you can easily understand what everything does without any help files. It's defaults are all set so most people should be able to just play and rip any CD they want to Ogg Vorbis. If someone wanted to do something deeper, documentation is there, but it's not needed. Eventually, even the documentation for that will be available next to the options, so at that point it will truely be rendered useless and removed. (Hey, it's a .4 release, I'm allowed to have some problems ;) ) All this is done with the hope that there is nothing that leave the user going 'how does this work.' If they ask this, then I have a bug to fix, not documentation to write.

      By the time a person would need to download help files, they would have already been upgrading their system, which implies they have some familiarity with it now, and should have a good idea of how to do things. Thus, negating the point of having help files for well designed apps. So at that point, IMHO, if a person needs help files it is not because they don't understand the app, but rather that the app itself is broken.

    15. Re:waste? by jelle · · Score: 1

      So what if you're not on-line when you run an application for the first time? For example, on laptops that may happen a lot.

      The reason why we install a program is so that it is there to work for us when we need it, not just when we need it for the second and following times.

      People already complain about download times of programs, if the first startup of a program includes the download, then the first experience with the program will be 'took forever just to start up'...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    16. Re:waste? by Anonymous Coward · · Score: 0

      fine then, write your apps and COMPILE the binaries on a stock redhat/mandrake whatever system that has NOT ben updated. this precludes you from using Uber-leet-lib-early-alpha-9pre6 in your program.

      99% of the "neato" programs written for linux that fail miserable in the hands of even a experienced linux user are because the developers want to use lib X that needs LibY that needs LibZ that needs LibQ and all of them are the latest CVS checkouts as that developer doesnt want to be called a lamer by his super hip OSS developer gang...

      I wonder why all loki's games, Open office, Netscape, and EVERY OTHER COMMERCIAL linux app that has a binary is a statically linked binary???they must be stupid compared to the oss programming gods that deem statically built to be lame.....

      not. statically bilt is the ONLY way to go if you want your app to "just work" as you cant keep the developers from installing all the latest CVS checkouts on their computers because it's the cool thing to do....

      Lumpy is right... the SUCESSFUL apps are statically built. besides, if you really care about the tiny performance hit, compile it yourself.

    17. Re:waste? by binary_life · · Score: 1
      Besides issues with performance vs size (that others have pointed out), there are also security concerns too.

      Suppose you statically compile your program with libfoo version 1.3. Hundreds of people download it and are running it. Later on the libfoo devs find a security hole or other bug in the library and release libfoo1.4 to patch it. Well even if all of your users upgrade to the newest version of libfoo, they will still be vunerable to the bug. Why? Because libfoo1.3 was statically compiled into your app, all your users will have to know that they need to download and install your application again to fix the security problem. THat also means you have to be aware of the libfoo bug and recompile and post a new version of your app.

      Thats asking alot of from both the developer and the user dont you think?

  3. I was afraid slashdot wasn't being slashdot by HappyCitizen · · Score: 2, Funny

    We haven't had a "Linux is going to take over the world" story in such a long time....

    --
    http://www.beyourowneviloverlord.tk
    http://www.frozenchickenthrowing.tk
    http://www.killercamel.tk
    1. Re:I was afraid slashdot wasn't being slashdot by ElGnomo · · Score: 1, Funny

      wow, it almost like your comment doesnt apply at all and youve been waiting to say that for a while.
      You blew your load prematurely there buddy. But dont worry, she understands, sure she does...

    2. Re:I was afraid slashdot wasn't being slashdot by Anonymous Coward · · Score: 0

      ok fucking idiot. like you no a lot of mac os x! surely you are an experenced system adminstarter because oh boy ou can yell at ppl on SLashdot!

  4. Potential for unpublishing apps? by tepples · · Score: 4, Interesting

    Slashdot has previously covered Rox here.

    But one thing I wonder about Zero Install: what if you launch an application, it needs a piece that you don't have cached, and the server hosting it is down? Is it possible for a maintainer to unpublish an application?

    1. Re:Potential for unpublishing apps? by RdsArts · · Score: 1

      If you mean 'remove app without the users knowledge,' no. 0install actually will store old versions of software you've cached even after you cache a new version until you yourself tell it to remove it.

      Other then that, the potential to 'unpublish' a app is no greater then any other app on SourceForge.

    2. Re:Potential for unpublishing apps? by Ozwald · · Score: 1

      as long as shared libraries are handled properly, anybody can install apps without worring about getting the system clobbered (like in Windows), and runtimes don't makes assumtions about my OS or hardware, then SURE!

    3. Re:Potential for unpublishing apps? by tal197 · · Score: 3, Informative
      But one thing I wonder about Zero Install: what if you launch an application, it needs a piece that you don't have cached, and the server hosting it is down? Is it possible for a maintainer to unpublish an application?

      Zero Install can download from mirrors, peer-to-peer, etc, provided it gets the master index with the GPG signature from the main server.

      If you want to get the master index from a backup server, you need manual intervention (root needs to indicate that the backup server can be trusted).

      However, since the signature part is small (about 1K), a single trusted backup site (debian.org?) could easily host every index in the world. The rest of the data can come through peer-to-peer, etc.

    4. Re:Potential for unpublishing apps? by Graphyx · · Score: 1

      If you want to get the master index from a backup server, you need manual intervention (root needs to indicate that the backup server can be trusted).

      That isn't really needed. Once you have the public key from the main server, you could validate the signatures of any other item regardless of where the package was downloaded from. A peer-to-peer setup would be just fine, once you had the information about who the peers were and the public key to verify the validity of everything.

  5. This sounds perfect... by gleffler · · Score: 5, Interesting

    For anybody. It emulates the best aspects of the mac's "packaging" system (bundles) while also making it easy to get new stuff.

    Hopefully, this takes off in more of the 'newbie oriented' distros so that we can say "Just type cp /software/openoffice /usr/software to install" instead of ./configure && make && make install. :)

    I still would like to know how they plan on fixing library dependencies, but ... assuming they get over that, I'll be very happy once this is released.

    1. Re:This sounds perfect... by Moth7 · · Score: 1

      I guess they'd get round dependancies the same way apt does - go to the repository, if it asks for dependancies that you don't currently have, then queue them for download too. Also, I think a newbie wouldn't be impressed about having to copy the file in the command prompt - especially if permissions started getting in the way. Maybe just have a shell script called "Install" on the distribution media and give it a nice icon? ;)

    2. Re:This sounds perfect... by AntiOrganic · · Score: 3, Insightful
      Maybe just have a shell script called "Install" on the distribution media and give it a nice icon? ;)
      You're over-thinking the solution; dragging and dropping it somewhere is a lot more intuitive for newbie users than using some cryptic global installation utility.
    3. Re:This sounds perfect... by Jah-Wren+Ryel · · Score: 2, Funny

      --
      Member of the Stop Fucking Saying 'M$' army


      Hhhm. I think your sig needs to be abbreviated.

      You should go with: M$F$M$A

      --
      When information is power, privacy is freedom.
    4. Re:This sounds perfect... by juhaz · · Score: 3, Insightful

      Dragging and dropping WHAT from WHERE to WHERE?

      Are you all guys seriously claiming that first
      a) finding right foo for your system,
      b) downloading foo,
      c) knowing where it went,
      d) knowing where to drag it,
      e) actually dragging it

      is simpler than cryptic
      a) "install foo"?

      Even if you automate all those steps and make a piece of software that has just a list of available applications and a place to drag it, you still need to know how start that, and it's not radically different or easier from how it's already done in most of cases (eg. checkbox in front of name and install button somewhere).

    5. Re:This sounds perfect... by imr · · Score: 1

      Hopefully, this takes off in more of the 'newbie oriented' distros so that we can say "Just type cp /software/openoffice /usr/software to install" instead of ./configure && make && make install. :)
      Actually, on the mandrake forums, which are quite newbie oriented, we say:
      "Just type:
      urpmi openoffice"
      So i don't see that aspect as being quite new or more effective.
      And i've been told that apt or yast are also effective.

    6. Re:This sounds perfect... by tal197 · · Score: 4, Informative
      Are you all guys seriously claiming that first
      a) finding right foo for your system,
      b) downloading foo,
      c) knowing where it went,
      d) knowing where to drag it,
      e) actually dragging it

      is simpler than cryptic
      a) "install foo"?
      [ b) enter root password and hope it doesn't mess up your system ]

      a) You don't have to find the right version for your system, just run the application. It will try to access the appropriate binary and that will get cached.
      b) Downloading happens automatically, just like viewing a web page through a web cache.
      c) It goes in the cache directory, whose structure mirrors the URI scheme (eg /var/cache/zero-inst/gimp.org/bin/gimp). You shouldn't care though, any more that you care about the structure of squid's web cache.
      d) Drag it where you want it. On your desktop, panel, start menu, etc.
      e) You could just run it where it is, without creating a short-cut at all.

    7. Re:This sounds perfect... by killjoe · · Score: 1

      Everybody here is oohing and aahing but let me go on the record as saying that this is actually a BadIdea (TM). Why?

      Let's say there is a vulnaribility in libxml. What do you do? You have to upgrade all your applications! Can you get a list of applications that use libxml? Can you just upgrade libxml and automatically fix all your applications? You know it's going to happen sooner or later.

      Where is you data kept? Is it also in the application folder? If so that really sucks. I want to back up my data every day and my applications only when I install something new.

      I also hate the fact that all configurations are kept with the application. I have gotten in the habit of checking my etc directory into CVS and I can't tell you how often it has saved my butt. Being able to roll back to a previous known good state is immeasurable and I won't use any system which does not give me that ability. Too many things can go wrong.

      "I still would like to know how they plan on fixing library dependencies, but ... assuming they get over that, I'll be very happy once this is released."

      It seems like they simply going to avoid the problem by shipping every library the application depends on with the app itself. Look forward to gigabyte sized apps in the not too distant future. I don't even want to think about how much memory it will take to load applications that load their own libraries as opposed to using shared ones.

      Just a bad idea taken to it's expreme. They should really look at something like encap before they roll this out into production.

      --
      evil is as evil does
    8. Re:This sounds perfect... by Anonymous Coward · · Score: 0

      I haven't used rox recently, but the idea is that the user can drag a link from a web page directly to the location they want to install it at.

      > a) finding right foo for your system,

      zero install provides a set of distribution independent dependencies. If the user doesn't have them, they will be automatically downloaded. If the application or its dependencies were compiled for a different architecture they are even recompiled the first time the user tries to run the application. Every application in the zero-install system will install on any system.

      > d) knowing where to drag it

      With this system, it doesn't matter where you drag the software to. You can put the application anywhere you want. Most people put it in ~/Apps, which is where the user will have been launching their applications from.

      Disributions that try to package everything end up with a huge list of software that the user could download. The user would probably have to browse the web to figure out what software they want. Then they have to figure out what the package is named in the apt or yum repository. It isn't quite as simple as it sounds.

    9. Re:This sounds perfect... by Entropius · · Score: 1

      This is sort of off the subject, but about urpmi:

      I recently installed Mandrake on this machine, which has only a dial-up connection. It took quite a bit of phone time to suck down the ~30-40 megs of hdlist files from the mirrors in order to set up urpmi.

      Couldn't versions of these files, up-to-date as of the distro release, be included on the CD's or iso's? Then, when setting up urpmi, you'd just have to download the changes in the hdlist made since the distro was released.

    10. Re:This sounds perfect... by Anonymous Coward · · Score: 0

      Let's say there is a vulnaribility in libxml. What do you do? You have to upgrade all your applications!

      no, you upgrade libxml, nice try though.

    11. Re:This sounds perfect... by tal197 · · Score: 3, Informative
      Everybody here is oohing and aahing but let me go on the record as saying that this is actually a BadIdea (TM). Why?

      Sorry to spoil your arguments, but each of your starting assumptions is wrong ;-)

      • It does use shared libraries, so just upgrading libxml will do, same as usual.
      • User data isn't kept inside the applications. The whole /uri/0install filesystem is read-only anyway.
      • Configuration isn't inside either.

      Just a bad idea taken to it's expreme.

      If you could point me to the places on the site where you got your information, I'll try to fix them / make it clearer. Thanks.

    12. Re:This sounds perfect... by steeviant · · Score: 1

      You left out all the steps after install foo, which is roughly equivalent to step b in the first example.

    13. Re:This sounds perfect... by Afrosheen · · Score: 1

      Here's your "" tag, no charge. Next time it'll be $50 though.

    14. Re:This sounds perfect... by Afrosheen · · Score: 1

      Versions of those files are indeed on the release cds and on your computer already. When you want to update, yes, you will have to download updated hdlist files. HOWEVER, you DO NOT require the big fat hdlist files. They are just there for verbose-ness. The small, light synthesis files are also an option. Mandrake started providing them for people with pathetic bandwidth a few years ago.

      If you use easy urpmi to add software sources, edit the end of the command to use synthesis.hdlist* instead of hdlist*. You won't get all the long winded descriptions of every single package, but you will get a super quick download every time you update a remote source.

    15. Re:This sounds perfect... by Anonymous Coward · · Score: 0

      A library should be signed with a hash of it's
      source code. This key would get put into the
      application using this library system at compile
      time.

      When you run the application, it will search
      for a library on your system signed with the
      same key.

    16. Re:This sounds perfect... by Anonymous Coward · · Score: 0

      Dragging and dropping isn't intuitive, nor is clicking on an icon. Pressing keys on a keyboard is, you should see my one year old with the tv remote.


      Moving a mouse and seeing a pointer move requires a lot more ... ah whatever, I can't be bothered

    17. Re:This sounds perfect... by MikeFM · · Score: 1

      It might be useful if something like apt-get could be called, by a user with suitable permissions, to install a program the first time that programs icon was selected from the desktop menu. That'd be pretty easy to make happen. It might even be useful to allow users to install those programs within their own home directories if the admin doesn't want them to be available to all users.. as long as the admin can easily remove those installations and install a system-wide copy at will. I think Red Carpet is easy enough that most users could already figure out installing software though. It's very much like apt but with a user-friendly interface on top of it.

      I do package software for my systems somewhat similar to what they described. I tend to put the packages under /opt/ with all files related to that release underneath. Typically a make file which can fetch and build the package is in /opt/ and /opt//src holds the source and /opt//bin holds the compiled version. In /opt I keep a make file that checks to make sure I have the newest versions of all the download scripts for each program. I like the Unix-like directory structure though so I create symlinks from the real files under /opt into the proper places in the filesystem.

      I can't really see any benefit to caching packages. If you want to cache packages why not just use Squid and set wget to use a proxy? Useful if you're managing a network of machines and want to save bandwidth but useless for a single machine.

      I've been toying with making my packages install under users accounts. Mostly because that's the way I like to run things like MySQL and Apache. Really there is nothing that tricky about it. Just configure the packages to run under the users directory and don't create the symlinks. I've been trying to figure out the best way to touch each users files at startup and shutdown so that services can be brought up or down properly without the admin needing to take any special action.

      I'm not sure it's a good idea to make software installation so easy that a chimp could do it. Then you're likely to wind up with severely messed up file installation like you get in Windows. If typing apt-get install , rug install , or make is to hard then really that user probably shouldn't be installing software. As long as it's confined to their own home directory though I guess the damage possible is limited so why not allow it? Wouldn't something like apt-get be easier than clicking and dragging, if a non root user running it, the packages were installed to their own home directory.. safe from destroying the system and no password required.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    18. Re:This sounds perfect... by imr · · Score: 1

      Let me add this to what Afrosheen already told you, this (the idea of hdlist files updating themselves rather than downloading the whole thing again) has just been discussed on the cooker mailling list after mandrake10 release, as they were debating how they could improve urpmi. This idea was rejected because, as much as it would be doable, the result would be a still important download but with a not negligeable data processing overhead. All in all a loss more than a gain.
      Especially when you consider that the synthesis files already exist.
      My take on it, and i believe i remember someone mentionning it in that discussion, would be an improvment in the syntax so that such possibilities of the software are easier to find for the beginner, in the help for the same reasons and maybe a choice by default of the synthesis file rather than the huge hdlist when on a slow link?
      Maybe a "wish feature" on their bugzilla would help them implement it?
      bugzilla

    19. Re:This sounds perfect... by ajs · · Score: 1

      Just sounds like an NFS-based apt to me... and then ROX has hooks for it... ok.

      Am I missing some actuall revolutionary feature, or did the submitter just get some bad koo aid?

    20. Re:This sounds perfect... by jelle · · Score: 1

      Hopefully, this takes off in more of the 'newbie oriented' distros so that we can say "Just type cp /software/openoffice /usr/software to install" instead of ./configure && make && make install. :)

      I still would like to know how they plan on fixing library dependencies, but ... assuming they get over that, I'll be very happy once this is released.

      Ouch!

      What is up with these people? Don't they know about "apt-get install openoffice.org"? It does everything needed, it does the copy and takes care of the dependencies. It even adds it to the menus and filetypes.

      Somehow I dont get how "cp /software/openoffice /usr/software" plus worry about dependencies is a step forward from "apt-get install openoffice.org".

      There are just so many things wrong with using "cp" to install, I don't know where to begin. Actually I do know where to begin: just how does a 'install with cp' OS find a library or binary to load/execute (does it search all of /usr/software/*/bin/*?). Good luck, your application should be loaded by next week or so.

      And how about filetypes, if you doubleclick on a file, then does the filemanager go to all programs in /usr/software/* and run a program there as in to check "Do you support this file type"? Double click -> time to get coffee...

      An application just needs to register with other OS components when it becomes available on an OS, and it needs to deregister when you remove it. That is why we have packagers (deb(dpkg)/rpm, or on windows installers/uninstallers).

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    21. Re:This sounds perfect... by tal197 · · Score: 1
      I can't really see any benefit to caching packages. If you want to cache packages why not just use Squid and set wget to use a proxy?

      Because it's much slower than Zero Install's caching (each time you pull in a library you have to open a connection to squid and copy the library with an HTTP GET). Also, the memory wouldn't be shared, because Linux would treat each fetched library as a new copy.

      Zero Install is just a much more efficient implementation of the same thing.

      Wouldn't something like apt-get be easier than clicking and dragging, if a non root user running it, the packages were installed to their own home directory.. safe from destroying the system and no password required.

      Well, Zero Install is also safe from destroying the system and no password required... but with the added benefit that all users shared the same cache (no duplicates) and the packages don't have to worry about whether a library they use is in ~/.local/lib or /usr/lib, etc.

    22. Re:This sounds perfect... by Anonymous Coward · · Score: 0

      Hey, Thomas, be careful to avoid that someone evil (hey, M$, just kidding!) patents your idea before you do...

      Thanks for the great work. It's even inspiring.

  6. 2 words .. by cyberchondriac · · Score: 1

    Disc space.
    Actually, as cheap as it is these days, I guess, why not ?

    --

    Look back up at my post, now look back down, you're on the Internet. Now look back up. I'm a signature.
  7. Right on. by Anonymous Coward · · Score: 1, Funny

    Now I can make my X-box even more useful

  8. apps contained in their own directories.... by Penguin+Follower · · Score: 0, Redundant

    ... reminds me a lot of Mac OS X where apps come in a "folder package".

    1. Re:apps contained in their own directories.... by Kralizec · · Score: 1, Funny

      Directory contained applications are hardly anything new. Remember DOS? Those days when Microsoft didn't make it impossible to remove an entire application from your computer.

    2. Re:apps contained in their own directories.... by Moth7 · · Score: 2

      And it doesn't remind you of Windows's "Program Files" too?

    3. Re:apps contained in their own directories.... by Kick+the+Donkey · · Score: 1

      That's like saying Program Files is the same thing as /usr. Stop being so obtuse.

      --
      /. is a bunch of nerds at a million typewriters. It's not a political conspiracy determined to undermine your beliefs.
    4. Re:apps contained in their own directories.... by Ummagumma · · Score: 5, Informative

      No, actually, not at all. Most programs on your windows pc that are 'installed' into Program Files still have obscure registry entries, and may require dlls and such in the \winnt and \winnt\system32 directories. You cant just remove a progam from the 'Program Files' folder, and have it gone.

      --
      "The natural progress of things is for liberty to yield and government to gain ground." - Thomas Jefferson
    5. Re:apps contained in their own directories.... by Tyler+Eaves · · Score: 1

      The difference is that app bundles on Mac OS X act like *files* not directorys, at least in Finder.

      --
      TODO: Something witty here...
    6. Re:apps contained in their own directories.... by Anonymous Coward · · Score: 0

      Actually, all Cocoa apps treat bundes as "files" too.

    7. Re:apps contained in their own directories.... by EnderWiggin99 · · Score: 1

      Interesting to note that this is for the most part because of shared libraries. Symantec being the worst example.

    8. Re:apps contained in their own directories.... by l33t+gambler · · Score: 0

      But some you can. Trillian keep everything in its own dir and writes nothing to the registry (except one .AIM file assosiation).

      Just keep it in d:\ and format c:\ all you want, history, servers, skin, "buddies," settings everything is there after a re-install.

      Opera is exactly the same, just it writes a strange pointer to its own dir in the registry but _everything else_ is in its own dir. Its pure bliss when you gotta test a lot of latest 3d card and motherboard driver releases.

      One bad thing is programs that doesnt clean up the registry when you "uninstall" it.

      http://jooh.no/prog_winxp.html

      --
      Teasing the nobles, and rightfully so!
  9. This is why... by ghettoboy22 · · Score: 4, Insightful

    I *love* my PowerBook G4. Seriously, Apple has had this for years going back to the old System 9, 8, 7, etc.... it's nice to see someone major is finally trying to copy 'ole Steve Jobs's team. If you ever wondered what life would be like without the Windows Registry, this is it.

    1. Re:This is why... by Endive4Ever · · Score: 2, Interesting

      Apple has had this for years going back to the old System 9, 8, 7, etc...

      How come the system folder on my MacOS machines is full of all sorts of 'preferences' and assorted debris and croft? Yours isn't??

      I was hoping maybe people here were talking exclusively about MacOS 10, because I *know* for a fact that apps spatter stuff all over in the system folder on older MacOS versions. Now I find more handwaving and mistruths and wonder if 10 does the same messy things. . .

      --
      ---
    2. Re:This is why... by Anonymous Coward · · Score: 2, Insightful

      How the hell is this "insightful"?

      "hehe, I love my mom! +5 insightful, please!"

    3. Re:This is why... by Anonymous Coward · · Score: 0

      Blimey!

    4. Re:This is why... by erikharrison · · Score: 4, Insightful

      Uh . . . . no.

      Classic Mac OS used the resource fork for storing associated files, but still had an OS wide location for preference files (MacHD:System:Preference). Sure, no registry, but frankly, LOTS of OS's don't have a registry.

      Mac OS X has bundles which resemble AppDir's (That Rox uses) a great deal, but OS X got them from NeXT not OS 9, and NeXT got it from RISC, which is the OS that Rox is trying to emulate in the first place. Mac OS emulation is the farthest thing from Thomas's mind, I assure you.

      The real interesting technology isn't the AppDir's anyway, it's ZeroInstall, which allows you to view the internet as a file system from which you can directly run applications.

    5. Re:This is why... by YouHaveSnail · · Score: 1

      It's great that Apple does things this way, and I'm just as big a fan, but really it's more like the absence of a huge mis-feature. The ridiculous maze of DLL's and other crap on Windows is just a poor solution to an old problem that was allowed to metastasize. And traditional Unixes have always lived under the assumption that a knowledgeable administrator would install software, manage permissions, etc., so complicated installs there were historically not viewed as much of a problem.

    6. Re:This is why... by tzanger · · Score: 1

      I'm sorry, but ROX is "major" ??

    7. Re:This is why... by gobbo · · Score: 2, Informative
      Now I find more handwaving and mistruths and wonder if 10 does the same messy things. . .

      System 7 on up to 9.2 wound up with all kinds of scat dribbled throughout the various subdirectories in the system folder, as well as associated files in the application folder -- but only some applications were to blame -- many classic apps are self enclosed and install with a drag'n'drop. OS X improves the ratio somewhat with its bundles, an even greater proportion of apps are install-friendly. Some developers still love to pollute files everywhere (are you listening Adobe?) -- though since we're generally talking about /Library, it isn't as big an issue as the conflicts arising out of the Extensions folder in Classic.

      It's all relative, though. Give me the 100,000+ file complexity of OS X with it's well-designed directory structure over a simpler but kludgy Mac OS 9 or Win9x anyday.

    8. Re:This is why... by Anonymous Coward · · Score: 0

      I don't know anything about how it worked, but Novell had something like this called "ZenWorks" a long time ago. Well, long in computer terms. I remember it being implemented on my college's network in 1998, so I assume it was around for a year or two before that at least.

      Of course, it was only for Novell Netware.

      Also, people hated it. It was a great idea that most people didn't like. But maybe that was cause Novell Netware sucked.

    9. Re:This is why... by Anonymous Coward · · Score: 0

      The ridiculous maze of DLL's and other crap on Windows is just a poor solution to an old problem that was allowed to metastasize.

      I don't follow.

      On Windows, there's a directory typically called C:\WINDOWS\SYSTEM32, which contains hundreds of .DLL files.

      On Linux, there's a directory typically called /usr/lib, which contains hundreds of .so files.

      Why do so many people consider Linux's solution better than Windows' solution, when in practice they're exactly the same?

    10. Re:This is why... by Bas_Wijnen · · Score: 1
      which allows you to view the internet as a file system from which you can directly run applications.

      I guess you need quite a hack in Linux to do that... I suppose you'd need to catch all filesystem related function calls and check them, probably with an LD_PRELOAD-ed library...

      GNU Hurd does all this without any hacks. It's designed allow users many things, among which creating their own filesystems (this is really just a filesystem implementation.) Too bad the Hurd isn't quite ready for the desktop yet.

    11. Re:This is why... by RustyTaco · · Score: 1
      are you listening Adobe?
      No, they arn't, and they are the bane of my existance.

      - RustyTaco
    12. Re:This is why... by Anonymous Coward · · Score: 0

      "which allows you to view the internet as a file system from which you can directly run applications."

      Ow, the virus/worm writers will love that feature.

      Let's just say: not on my system.

  10. Seamless install and use? by Moth7 · · Score: 1

    Sounds like the kind of thing that'll encourage similar behaviour to Windows whereby things get installed without the user "knowing" or "noticing". How long before Gator had something out via this? Although, that said, it does look very nice and I will be trying it out with a view to adding it to my "Convert to Linux" arsenal on the friends and family front :)

    1. Re:Seamless install and use? by trmj · · Score: 0

      Sounds like the kind of thing that'll encourage similar behaviour to Windows

      Funny, but this idea of "install a program and all files needed to run it to the program's own directory" sounds like precisely what the Program Files folder is for on Windows systems.

      Nothing new here, just having to do it in an extra step due to a different file system.

      --
      Work sucked, until it became unemployment, when it became slightly more tolerable. -Tet
    2. Re:Seamless install and use? by Beek · · Score: 1

      Actually, I think it discourages Gator-like behavior. Gator would be installed in Windows while running the installation program, which you'd have to do as Administrator in Win2K. On the Mac (or on Linux using this scheme), to install a program, you don't have to run an installation program, you just copy the directory as root. But when you run it, you run it as an unpriviledged user, and then such Malware doesn't have permission to wedge itself into your system.

    3. Re:Seamless install and use? by Moth7 · · Score: 1

      I wasn't actually focussing on that aspect. More the point and click install and run :-\

  11. You can already do this by Anonymous Coward · · Score: 0

    You can create a directory and put your app there, because Linux is modular. What a useless story.

  12. WBM link by dioscaido · · Score: 1, Funny

    Anyone have waybackmachine links to DOS or Mac installation routine instructions? It might help this project a lot!

  13. No, The future is thin clients by nurb432 · · Score: 2, Interesting

    This is the true power of Unix + X.. Running applications remote from the workstation..

    This aids in system management, resource control, data security, platform independence, .. most everything that a data center does, this improves it..

    It *is* the future.. ( and ironically the past.. remember VT100's and 3270's ? ) as is its the right way to do computing..

    --
    ---- Booth was a patriot ----
    1. Re:No, The future is thin clients by Inspector+Lopez · · Score: 4, Insightful

      As long as CPUs are so fast, RAM is so cheap, and disks are big ... and the net is relatively slow, thin clients will have only thin application.

      I *do* remember the good old days of VT100s, and they worked great; the thing that displaced VT100s in our research group was *Macintosh* --- those wascally little SEs and the occasional MacII had such nice software onboard, they were a delight to use. The Macs were in turn partially displaced by DEC RISC machines, which cost more but brought a lot of horsepower to the desktop.

      We used to use a Beowulf in our current project, but the blasted Pentia got so fast there was no point. Our real-time processor now relaxes on a single machine.

      It's not so hard to imagine the pendulum swinging back to thin clients (perhaps in the guise of wireless PDAs, or in a more sinister form via .NET), but there is no need for a thin client to run a word processor or mail client or www browser. Religious wars aside, our desktop software is quite capable, and getting more so.

    2. Re:No, The future is thin clients by Monkius · · Score: 1

      Not even remotely (so to speak), in my opinion.

      An architecture that wastes the power of the computers where the users are sitting, and overburdens some central computers where their apps run, and then puts every pixel on every screen in the company on the network wire, cannot be an appropriate solution to computer management problems.

      There are nice properties to sharing an environment with others, and that's actually what I miss most about timesharing. I think you need something a lot more sophisticated than remote desktops to bring it back, though.

      --
      Matt
    3. Re:No, The future is thin clients by Endive4Ever · · Score: 1

      The future is running all user apps on a bogged down server, and just hauling bitmaps back and forth to the workstations over the network?

      Which future is this? Are you firmly based in 1986?

      I'm sure I am not alone in remembering how much the 'mere users' hated running word processors like 'Lyrix' on VT100 terminals. 'Whoops. The server went down. Every employee in the company just lost whatever s/he was working on.'

      Yeah. Man. Yeah.

      --
      ---
    4. Re:No, The future is thin clients by starseeker · · Score: 3, Interesting

      I note the rather skeptical responses, and while I agree with you in broad I think the picture is going to vary slightly.

      As has been pointed out, the primary weakness of a network based thin client system is there exists a single point of failure. So I would propose the following for a corporate computer network:

      Two mainframe systems, in physically remote locations, each completely capable of handling the corporate network. The mainframe's will serve as the core of the network, but the thin clients will be slightly more than just monitors.

      A powerful thin client (I suppose thin client might not be the proper term) is what is needed to handle the reality of an iffy network. The thin client needs to be able to function independantly in the short term. It needs to be able to hold all of it's currently-in-use software and data in memory, and be engineered to make an emergency dump to some local nonvolital memory in case of a power failure. The key benefits to this "thick client" setup are a) because it is not an independant PC with the ability to boot and load software on its own, it is not a candidate for theft b) All data is preserved automatically at a central location except in the case of an emergency, and even then it is recoverable c) software updates only have to be performed one place to be deployed company wide d) maintainance is simpler since the thin clients can in theory be made without moving parts (i.e. hard drive) if they use solid state memory for the Gig or two of non-volital emergency storage they will need. They will be more expensive than a true thin client, but I rather suspect in bulk the economics would work and certainly maintainance costs would provide more than enough incentive.

      --
      "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    5. Re:No, The future is thin clients by Anonymous Coward · · Score: 0

      Yeah, I think Sun called them "Network Computers" five years ago when it was telling everyone the same thing.

      Thin clients have never been anyones future, so give it up.

    6. Re:No, The future is thin clients by westlake · · Score: 1

      redundant servers, physically isolated and remote, and a network of thick "thin" clients more or less able to function on their own doesn't strike me as a system that will be particularly cheap or easy to maintain.

    7. Re:No, The future is thin clients by starseeker · · Score: 2, Interesting

      It depends on the requirements of your company. Initially, it wouldn't be cheap. But then, neither is deploying 10,000 PCs. The question is what is least expensive over the long term, and my hunch is it WOULD be cheaper to maintain. I don't know, I haven't studied the problem in detail. But considering the manpower/lost productivity involved with maintaining individual Windows PC machines in my experience, a robust thick client with no moving parts talking to a reliable server would solve a lot of headaches. Taking system control out of the hands of the user and reducing moving parts in the client machines seem to me to be the big wins in such a setup. The expense of hardware up front would be high of course, but considering the hardware that goes into proper networks today would it really be that different? The proposed savings in this scheme are more in less downtime, less required upkeep, and less potential for stolen hardware than in upfront cost of hardware itself. There again though - I don't know what bulk production of thick clients would cost.

      --
      "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    8. Re:No, The future is thin clients by burns210 · · Score: 1

      Why? Thin clients were only good to offload heavy processing from the local cpu to the mainframe/server cpu that was more powerful... With 2-3 GHZ cpus in every junk emachine on the market, there is zero reason for the thin client model. There are no workstation tasks that are not overly doable on a workstation pc's cpu. Their usefullness has long since faded.

  14. Apple has done this for a while. About time. by Adolph_Hitler · · Score: 1

    Yes it's a good move/idea. Combine it with the new storage system in gnome, and you could really have something cool. This would also make Click N Run type functionality from websites a lot easier to do.

    --
    People don't exist to serve systems, systems exist to serve people.
  15. Everything old is new again by Anonymous Coward · · Score: 0

    Sounds good to me. I love how even .Net gets into this game with Microsoft touting simple 'xcopy deploys.'

  16. Going back in time? by TyrelHaveman · · Score: 2, Interesting

    This layout of program storage reminds me of The Olden Days on DOS, when the whole program was in one directory. It's still very much like this in Windows, in fact, with the "Program Files" directory often containing everything (although "Documents and Settings" is becoming more used for user settings storage).
    Personally I like the idea. I've always been confused trying to locate various files which belong to a single application in *nix.

    1. Re:Going back in time? by Kick+the+Donkey · · Score: 3, Funny

      Yeah.. Everything is stored in Program Files. Except when things are put into C:\Windows\System32. Or the Registery.

      --
      /. is a bunch of nerds at a million typewriters. It's not a political conspiracy determined to undermine your beliefs.
    2. Re:Going back in time? by 0x0d0a · · Score: 1

      Personally I like the idea. I've always been confused trying to locate various files which belong to a single application in *nix.

      Use rpm -ql [packagename]

    3. Re:Going back in time? by base_chakra · · Score: 2, Insightful

      Or in %sysroot% itself. Or in the maze of subdirectories (other than System32) under %sysroot%. Or in hidden files/directories in the root directory. But yeah, other than that, it's Program Files, the registry, or System32. :)

    4. Re:Going back in time? by Anonymous Coward · · Score: 0

      > This layout of program storage reminds me of The Olden Days on DOS

      The Unix hierarchy is much older than DOS.

    5. Re:Going back in time? by tzanger · · Score: 1

      Use rpm -ql [packagename]

      Even better:

      less /var/log/packages/[packagename]
  17. Well duh... by Enonu · · Score: 4, Interesting

    Sorry folks, we have the technology right now to support multiple version of libraries at the same time, disk space is no longer an issue, and it just makes logical sense to keep everything related to an application together in a logical unit that can be administrated with minimal effort. The /bin, /lib, /usr structure has to go. Applications locking in to configuration files across the file-system has to go. It's simply painful to use, and something like Rox here is the first step in the right direction.

    Not like this step hasn't been taken in the past by multiple other software solutions ...

    1. Re:Well duh... by Kick+the+Donkey · · Score: 1

      Disk space may not be a problem, but bandwidth still is. A vast majority of the world is still on dial-up, bub...

      --
      /. is a bunch of nerds at a million typewriters. It's not a political conspiracy determined to undermine your beliefs.
    2. Re:Well duh... by 0x0d0a · · Score: 3, Insightful

      Sorry folks, we have the technology right now to support multiple version of libraries at the same time

      Why would you want to do that?

      On my Fedora box, if I upgrade glibc to fix a bug, I want *all* my applications to benefit.

      Oh, and disk space is not the reason for having shared libraries -- memory usage is.

    3. Re:Well duh... by Anonymous Coward · · Score: 0

      Sorry but from a security perspective it's a step backwards having /lib/libc-2.3.2.so on every system if its needed or not! It's a microsoft style solution!

    4. Re:Well duh... by Anonymous Coward · · Score: 0

      Is it still true that a linux app can't get a "working directory" path when it's launched? And that all paths to libraries, etc, have to be hardcoded into the binary?

    5. Re:Well duh... by Endive4Ever · · Score: 1

      disk space is no longer an issue,

      Anybody I talk to is aware of the phenomenon that the new, larger drives are clearly less reliable. If apps spatter more binaries on an increasing amount of drive space, it is a given that the computer system will be less reliable. Plus, the whole idea of shared libraries is they take up a smaller memory footprint.

      Oh, I forgot. Memory is cheaper too, so we should make apps use more of it, otherwise we won't have to buy all new machines every two years and the economy will collapse.

      --
      ---
    6. Re:Well duh... by rusty0101 · · Score: 4, Insightful

      One reason you might want to support multiple versions of a library is that when a major upgrade to a library occurs, say going from libc2.3 to libc3, backwards compatibility is not assured. If one of the applications you are using can not use libc3, you as the user get to have the joy of re-compiling it to see if it will work with the new libc. If it doesn't, having a copy of the old libc2.3 lying around to run that application against would be handy. No?

      Granted as the last application requiring the old library is upgraded to being able to use the new library, the old library should be eliminated, but when a major upgrade breaking backwards compatibility happens, most people do not want to wait days or months for the application they have been using to be upgraded. They usually want to be able to continue to do the work that they need to do.

      Then again, I could be wrong. Perhaps most other people are happy to sit around on their thumbs.

      -Rusty

      --
      You never know...
    7. Re:Well duh... by Anonymous Coward · · Score: 0
      While I understand your point....

      Wouldn't a fundamental library like glibc have to be a system wide library anyway. My point being that the app bundle style packaging can only really be taken so far, some libs still need to be system wide.

    8. Re:Well duh... by pinkocommie · · Score: 1

      - Being a soldier means as much about loving war as being a firefighter does about loving fire. Just an OT Comment, a firefighter only 'fights' fires if they break out, while a soldier can be used in an offensive war as well (plug whatever country/war you want as an example germany, US, Britain,Iraq etc etc).

    9. Re:Well duh... by craXORjack · · Score: 1
      On my Fedora box, if I upgrade glibc to fix a bug, I want *all* my applications to benefit.

      Great idea! And if I upgrade glibc introducing a bug, I want *all* my applications to be broken! Or better yet, some to be broken but some to be fixed! I think the package maintainers can determine which version works best with their apps and 0install can just cache whatever the latest release is.

      --
      Liberals call everyone Nazis yet they are the closest thing to it.
    10. Re:Well duh... by Anonymous Coward · · Score: 0
      The /bin, /lib, /usr structure has to go. Applications locking in to configuration files across the file-system has to go
      I put all my conf files under /etc system libraries under /lib and non-system libraries under /usr/lib. I do this so that everything is in the obvious logical place! Why don't you write to Microsoft and tell them that System32 and the registry just have to go?
    11. Re:Well duh... by Jeremi · · Score: 1
      So you are suggesting that the only way to have a stable system is to keep your hard drive mostly empty? If so, I'd say you have much bigger problems to worry about than which installer to use.


      As for memory being cheaper, you're right -- the cost of computer resources goes down every year, while the value of the user's time goes up. So if we can save the user some time by throwing more computer resources at the problem, then that's generally a win.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    12. Re:Well duh... by Anonymous Coward · · Score: 0

      On my Fedora box, if I upgrade glibc to fix a bug, I want *all* my applications to benefit.

      libc isn't an application, it is a system library. There is a big difference between the two.

    13. Re:Well duh... by lpontiac · · Score: 3, Insightful
      and it just makes logical sense to keep everything related to an application together in a logical unit

      I propose we set aside a location on the system to hold subdirectories each dedicated to a single software package. Let's call it /opt.

    14. Re:Well duh... by Cid+Highwind · · Score: 1

      Disk space may no longer be in issue for some people, but memory space certainly is. Just think how mauch RAM you would need to run a functional desktop is every application had to keep a seperate copy of the Gnome or KDE core libraries in it's address space. Shared libraries may be messy, but they are the only way to run a system more complicated than DOS on currently available hardware.

      --
      0 1 - just my two bits
    15. Re:Well duh... by ciggieposeur · · Score: 2, Insightful

      But modern distributions like debian and gentoo have dependency checking, so if your attempt to upgrade libraryX is going to break appFOO, the upgrade tool itself will complain. So we've already got that functionality, IF you use applications that adhere to the local packaging system. And if you don't, well then you're obviously smart enough to fix the problem, right? Just compile the application and statically link to its older libc.

      Short form is, this argument about /bin /usr /lib etc. seems to come up all the time from people who refuse to do ANY of the following:

      1) Use apt-get/dpkg/etc to install things
      2) ./configure && make install

      Funny they hate 'make install' but have no trouble double-clicking an InstallShield that will do God-knows-what to their Windows system.

    16. Re:Well duh... by shadowmatter · · Score: 1

      it just makes logical sense to keep everything related to an application together in a logical unit

      On Windows, it's called "C:\" -- but how it organizes the files within that unit is anybody's guess.

      - sm

    17. Re:Well duh... by Bas_Wijnen · · Score: 1

      This is not about the user's time, it's about the developer's time. If the developer is too lazy to write a good application, and therefore the user needs to put more memory into his or her computer, then most users will not think that was a good idea.

      Of course they don't know, they just read the system requirements on the box and buy if it says they should. The developer has no incentive at all to use less resources. Except if the competition would, but they don't either. So only ethics remains, and that appears to be completely ignored in business decisions nowadays. :-(

    18. Re:Well duh... by Jeremi · · Score: 2, Insightful

      If the users don't have enough memory to run the program, they won't buy it and the developer won't get their money. If the users do have enough memory to run the program, then there isn't any problem with it using more memory. I don't see anything unethical about writing a program that uses lots of memory, as long as you are honest about its memory usage on the box. Whether the users want to buy a memory hogging program is up to them to decide.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    19. Re:Well duh... by Wyzard · · Score: 1

      By convention, when a new version of a library breaks binary compatibility with the old version, its soname version number is incremented, so the old and new versions of the library will have different filenames and can be installed alongside each other. These often correspond (in Debian at least; dunno about other distros) to changes in the package name, again so that both versions can be installed at the same time.

      For example, Debian has three versions of libgnutls: libgnutls5, libgnutls7, libgnutls10. Packages depend on whichever version provides the ABI they depend on. Periodic cleaning (using debfoster, for example) removes old versions that nothing depends on anymore.

      Applications that many things depend on, such as GCC and Python, are handled similarly. There are (currently) packages named "gcc-2.95", "gcc-3.2", and "gcc-3.3", and a dummy package called "gcc" which doesn't contain any files but depends on (currently) "gcc-3.3". When GCC 3.4 is released, a "gcc-3.4" package will be created, and the "gcc" package will be updated to depend on that. This way, you can just "apt-get install gcc" and you'll always have the most current compiler, but other packages can depend on whatever version they want. The same goes for Python, with "python2.1", "python2.2", "python2.3", and a "python" dummy package.

      My experience is with Debian, but I'm sure other distributions use similar conventions.

    20. Re:Well duh... by deblau · · Score: 3, Informative
      The /bin, /lib, /usr structure has to go.

      This kind of proposal about scrapping the current directory structure has been discussed ad nauseum on the Filesystem Hierarchy Standard mailing lists. Here is the Standard Rebuttal against scrapping /bin and /usr/bin:

      With each app in its own directory, your $PATH becomes a mile long, and too difficult to maintain.
      You can't have your cake and eat it too. Some have suggested the use of symbolic links in /bin and /usr/bin, but then you run into this Standard Counterargument:
      Different application packages can have identically-named binaries. Upgraded packages always have the same binary names.
      The best combination seems to be symbolic links to the most recently-installed apps, but overriding your $PATH in ~/.bash_profile for legacy versions.

      The Standard Rebuttal against scrapping /lib:

      Apps which depend on other apps for libraries won't know where to look. This is especially true if each installed version of a required app is stored in its own numbered directory.
      Another argument involves the use of 32-bit vs 64-bit libraries. Best practice seems to be making copies of the most recently installed libs in /lib and /usr/lib, and using environment variables ($LD_LIBRARY_PATH, e.g.) to run older apps.

      Rebuttals for getting rid of /usr (i.e., having a One (Partition) Size Fits All approach):

      #1: Some boxes have read-only disks for security (CD-ROM firewalls come to mind). Now you can't install new applications.
      #2: You have one 100GB partition and you get a power spike. Now you have to wait for the fsck to finish before you can troubleshoot the damage.
      #3: You're in a diskless environment with centralized, NFS-mounted applications. With no /usr, you have no suitable mount point.
      #3 is especially common in large enterprise and government environments. If you've ever talked to someone who admins 1,000 desktops for their department, you'll know what I mean.

      On the mailing lists, the use of /package (or /pkg) also has been discussed ad nauseum. Keep in mind that the filesystem hierarchy is designed so that non-local (commercial) packages don't step all over each other when installing. Local (enterprise) software installation can happen wherever the hell you want it to, as long as it doesn't have to play nice with COTS software.

      Executive summary: you can run whatever directory structure you want -- I won't stop you. Just expect to hear lots of complaints from your developers and sysadmins. The reason things are the way they are is partially due to industry inertia, but mostly due to the fact that they just work better that way. If you don't like it, go contribute.

      --
      This post expresses my opinion, not that of my employer. And yes, IAAL.
    21. Re:Well duh... by Endive4Ever · · Score: 1

      Looks like I'll have to simplify my message, sort of the 'short bus' version:

      Larger programs cover more area on the hard drive surface, meaning there's more likelihood of a read error. Larger programs take more instruction cycles to read the program into memory. Again, more liklihood of a read error.

      It doesn't appear to be your hard drive that is empty.

      --
      ---
    22. Re:Well duh... by Anonymous Coward · · Score: 0

      To add to this, glibc added symbol versioning in glibc 2.0 or 2.1, so technically glibc should never become binary incompatible, since it can always export the old versions of any library functions under the old version numbers. Of course, never isn't really never; if the kernel changed in some radical way, for example, making it impossible to backwardly support some entry point, then you'd have to move on. Still, the likelihood of this situation is so remote that we may never see a glibc3 to begin with.

    23. Re:Well duh... by Wyzard · · Score: 1

      However, at some point you want to be able to remove those ancient symbols that nobody uses anymore, so the binary doesn't keep getting bigger and bigger as new code is added but none is removed. This leaves distro builders with the task of having to decide where to draw the line between "old but supported" and "too old to be worth supporting", as the old symbols can't just be installed and uninstalled separately from the rest of the library. Maybe we'll start seeing packages like "libc6-backwardcompat" and "libc6-onlycurrent".

    24. Re:Well duh... by Enonu · · Score: 1

      With each app in its own directory, your $PATH becomes a mile long, and too difficult to maintain.

      For groups of related utilities run from the command line, this makes perfect sense. Perhaps at least grouping by function, e.g. bin/dev for development tools would be a compromise. For GUI applications, most everything is launched by the mouse directly, so altering the $PATH isn't necessary.

      Apps which depend on other apps for libraries won't know where to look. This is especially true if each installed version of a required app is stored in its own numbered directory.

      This is a bit short-sighted. This implies that the only way to locate a shared library is via the file system, and we're hopelessly locked into this state. As for the 32-bit and 64-bit libraries coexisting, the OS should be able to locate and load the correct one for you.

      #1: Some boxes have read-only disks for security (CD-ROM firewalls come to mind). Now you can't install new applications.
      #2: You have one 100GB partition and you get a power spike. Now you have to wait for the fsck to finish before you can troubleshoot the damage.
      #3: You're in a diskless environment with centralized, NFS-mounted applications. With no /usr, you have no suitable mount point.

      I agree on your points #1 and #3 about /usr for those specialized environments. I haven't had to run fsck since I switched to ReiserFS.

    25. Re:Well duh... by civilizedINTENSITY · · Score: 1

      So then every app that needs to call glibc will have its own copy of glibc in its own app/lib? I know that diskspace is cheap these days, but I'm thinking like worse case: multiply ( sizeOf(/usr/lib) + sizeOf(/usr/local/lib) ) * number of apps in both /usr/bin and /usr/local/bin...thats BIG. Of course not everything depends of everything...but still!

    26. Re:Well duh... by master_p · · Score: 1

      Hey, there is an easy solution to this: versioning.

      Vax did it. Each file had a minor and major version number, and two files can have the same name as long as they have different version numbers.

      Another way to do it on current filesystems is association: the O/S should keep a link between the applications that want version x and library x.

    27. Re:Well duh... by Jeremi · · Score: 1
      Again, if your hard drive is so unreliable that it can't keep large executables free from errors, then your problem isn't large executables, it's flaky hardware. The correct solution would be to replace your hard drive with something more reliable. Trying to work around the problem by limiting executable size is a non-solution, because even if your executables were teeny, your data files would still be at risk due to the same drive errors.


      You might also work on your attitude a bit, your attempted insults are juvenile and make you look bad.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    28. Re:Well duh... by jelle · · Score: 1

      "Sorry folks, we have the technology right now to support multiple version of libraries at the same time"

      Yes, for many years now and it is working very well, and no it doesn't need this 'everything in one directory' setup.

      "disk space is no longer an issue,"

      Libraries are not made to save disk space, they are made to allow reuse of code, and often made available in an OS as dynamically linked libraries (*.so.*, *.DLL) to save RAM, not disk space.

      "Applications locking in to configuration files across the file-system has to go."

      And debian administrators totally agree with that, and that is why /etc is used for all configuration files.

      Administration is made easy with your packager. There is no need to force all files in one directory: "dpkg --listfiles" will show you all files that a package has and using apt-get to install and remove packages takes care of all things related to copying/deleting files, package/library dependencies and downloading...

      It shouldn't even be hard to make an app ('file browser gui') that makes a standard debian machine look like it has each program in its own directory for those who think they can do administation better with that UI.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    29. Re:Well duh... by jelle · · Score: 1

      Yeah, good point. It's a been-there-done-that.

      By the way. I have invented this device. It is a round object that makes it a lot easier to move non-round objects around. I'm calling it a 'wheel'. I think it is so much better than those inneficient airplanes we use now.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    30. Re:Well duh... by Anonymous Coward · · Score: 0

      Replace 'memory usage' with 'gas mileage' and 'program' with 'car' and you'll find alot of people disagree.

    31. Re:Well duh... by Bas_Wijnen · · Score: 1

      Ethics is about what's good or bad for the world. I'm saying that forcing everyone to buy more memory (you need more memory to run Windows has nothing to do with choice for most people) is a bad thing, and therefore unethical.

      There are two reasons it is bad: First, you are giving the user unneccesary costs. And second, in a multitasking operating system, as most are nowadays, all resources which are used by one program could otherwise have been used by an other one. No program should think the user probably has at least 256M in his machine, I can use that. Because if your program uses all the memory, you are effectively saying buy more memory if you actually want to do multitasking.

      If you really need the memory, then it's acceptable. If you're simply too lazy to do a good job (or your boss doesn't pay you for it), then that's antisocial and unethical (of you or your boss respectively.)

    32. Re:Well duh... by burns210 · · Score: 1

      or how about /Applications or /Apps ? Why these somewhat cryptic abbreviations when in today's situations, we can afford to have full words as our directory names.... /usr/... is great and all, until the user finds out that usr doesn't stand for User, rather Universal System Resources... oh, ofcourse... that was obvious.

    33. Re:Well duh... by jc42 · · Score: 1

      I propose we set aside a location on the system to hold subdirectories each dedicated to a single software package. Let's call it /opt.

      Of course, a lot of people have already done just this.

      The problem is, they all pick a different name.

      This has happened from the start off unix. That's why we have /usr, /usr/bin, /usr/local/bin, /var, and on and on and on.

      If you look at the other messages, you'll see that lots of people here think this is a good idea. And most of them propose the best name, no two the same.

      Lots of vendors have implemented this, too. No two with the same name. I've been experimenting with OSX for the past year. It's lots of fun discovering where they hid things. I use the find command a lot. Recently I updated my Powerbook to 10.3 (panther). I still haven't found where they moved half the system.

      It's easy to rename a directory. Doing so often causes far more problems than it solves.

      OTOH, it does keep the virus writers on their toes.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    34. Re:Well duh... by Sigma+7 · · Score: 1
      #2: You have one 100GB partition and you get a power spike. Now you have to wait for the fsck to finish before you can troubleshoot the damage.


      I'm not sure what kind of damage an unclean unmounting of a filesystem does, but the worst thing that I've gotten under NTFS is unreferenced space allocated as used appearing only on my system drive. This only counts filesystem errors - instances where data was not saved correctly because of the forcful dismount are not counted.

      FAT, FAT32, EXT2 and other non-journaling filesystems are a different story. I usually get lost clusters in these cases, but received slightly more serious filesystem errors such as files being crosslinked (as a new file gets created, it overwrites data midway through another file.)
  18. check out epkg too... by Anonymous Coward · · Score: 1, Interesting

    epkg is a related utility that I found very useful...

  19. A good idea, here's why... by heyitsme · · Score: 5, Funny

    It has been implemented in OS X. This is what happens when you drag a .app file (really, a folder. try to cd into one sometime) and copy it to any point on your hard disk (typically /Applications).

    Reminds me of an old joke...

    Microsoft: Where do you want to go today?
    Linux: Where do you want to go tomorrow?
    BSD (in this case, OS X): Are you guys coming or what?!?

    1. Re:A good idea, here's why... by Anonymous Coward · · Score: 0

      Nobody meant 'MacOS 10' when they coined that joke.

      Please stop approprating culture, Apple Marketing Droid.

    2. Re:A good idea, here's why... by Homology · · Score: 1
      Microsoft: Where do you want to go today?

      Windows Update, of course.

    3. Re:A good idea, here's why... by Anonymous Coward · · Score: 0

      You cretin. RISC OS had this feature long, LONG before Apple. Go back to your gumdrop widgets and broken logic boards...

    4. Re:A good idea, here's why... by Anonymous Coward · · Score: 0


      BSD: (in this case *NOT* OS X): Are you guys coming or what?!?


      Win / Lin: Of course everybody has to go to a grave, but we will stick around for a while...

  20. Windows has had this for like eons... by Anonymous Coward · · Score: 0

    It's called Ghost. It's called unattended installs. It's called Zero Touch BDD using SMS 2003, PXE and Windows PE combined with RIS, disk imaging and group policy to deploy applications. Glad Linux is thinking the same way.

    1. Re:Windows has had this for like eons... by Anonymous Coward · · Score: 0

      Your posting is an example of why sys admins the world over love Windows. It's full of stupid overblown technologies that take thousands of support man hours (and hence $ for the admins) to do the equivalent of dragging and dropping an icon.

  21. You only have to download once by Adolph_Hitler · · Score: 4, Interesting

    After you download it, its cached. Basically you have to download the app anyway to run it. If you download say the new version of say GAIM it would be fantastic. I'd just drag it from the browser onto my desktop and then click it. Apt-Get is for nerds like you. Regular people want to accomplish a task in the least amount of steps. If you can bring the task to two steps, click n run, or drag n drop, this is what people want.

    --
    People don't exist to serve systems, systems exist to serve people.
    1. Re:You only have to download once by ImpTech · · Score: 1

      APT is two steps... open shell, type apt-get install gaim

      Or, with a GUI like synaptec: open synaptec, double-click gaim.

    2. Re:You only have to download once by BasilBrush · · Score: 1
      What's a shell? What's apt-get? What's gaim? How do I know I have to type "apt-get install gaim"?

      You can do it with a UI? Great!

      What's synaptec? You still haven't said what gaim is?

    3. Re:You only have to download once by Anonymous Coward · · Score: 0

      > What's a shell?

      that's that nerdy program people type commands into. On MacOS X it's "terminal". On Windows it's "MS DOS". Actually there's two parts, the terminal program and the shell but long story.

      > What's apt-get?

      a program on Debian Linux. It's designed to help you download and install Linux software. I don't use Debian Linux, or apt-get, but people say good things about it.

      > What's gaim?

      some program, dunno. Do a google on it. Probably a Linux program. Probably the G stands for GNU in there somewhere. Oh, I know, GAIM is Gnu AIM, and AIM is AOL Instant Messenger, that's the chat program. It's a chat program that's meant to imitate the AIM chat progrram. Not to be confused with the shell. I bet the GAIM peoplle don't have the permission from the AIM people but whatever. Go see the website I guess.

      > How do I know I have to type "apt-get install gaim"?

      man, I don't even know that shit. When you get to the shell, you type "man apt-get" which in english means "get manual entry for apt-get" and it'll tell you all about it. On Debian Linux. OK I just tried it on my mac and it's not there.

  22. Arrrggg....Joe dont care ! by MajorDick · · Score: 3, Insightful

    "a way that I believe is exactly what Linux needs to become a serious contender for Joe User's desktop"

    While I appreciate the posters enthusiasm this is not a panacea for oe User putting Linux on the desktop. What is in my opinion is a scale of compatibilty with both hardware and software. I mean Joe User (or Joe Six Pack) Only cares if he can do what he need to with apps he wants to. NOT what someone else tells him is a better application. He wants to play his games, surf the web, doodle with his digital checks and balance his checkbook, Tell me of any GOOD applications the average computer illeterate could use to do his checkbook, edit his pictures etc that is as brainless as developers make them for Windows/Mac ? ZIP , There are GREAT apps for doing all those things but in general they are for much more sophisticated users. When Jp can go to CompUsa and buy anything he wants , games, tools, etc, that will run on Linux and has some support number he can call when he breaks shit THEN Joe will use Linux on the desktop.

    1. Re:Arrrggg....Joe dont care ! by killjoe · · Score: 2, Interesting

      According to your criterea liux is coming along.

      Linux already has great compatibility with 90% of the hardware on market (more then windows probably), you can already call somebody when things go wrong. Moneydance is an excellent and easy to use program for balancing your check book, zip files are handled automatically by all the file managers, mozilla is better then IE in every respect including speed and ease of use. I don't edit pictures much but I imagine there are a few applications for that well.

      It sounds to me like all we have to do is to get a handful games to attract the 16 year olds and we are there!.

      BTW. There is not a comp-usa in my neigborhood but there is a best buy. I went in there to ask about some mac games and software and they told me that they don't carry anything for the mac but that I could check out their web site and maybe they would have some there. Apparently in this regard both the Mac and Linux platforms are suffering.

      Maybe we can start some sort of a boycott of stores that don't carry Linux distributions. I mean if the republicans can call for a boycott ot heinz ketchup because the wife of the democratic candidate owns a part of the company we can call for a boycott of best but don't you think?

      --
      evil is as evil does
    2. Re:Arrrggg....Joe dont care ! by ifwm · · Score: 1

      "mozilla is better then IE in every respect including speed and ease of use" One small nitpick here. I use mozilla exclusively for web browsing, and I like it, but it clearly is not easier to use than IE. Two specific examples I have dealt with illustrate this. Flash and PDF files. Mozilla required me to do too much to add this functionality. IE was much easier. Please don't take this the wrong way, I love Mozilla and I would never go back to IE, but ease of use is "click, click click" not opening a console and typing in jargon.

    3. Re:Arrrggg....Joe dont care ! by killjoe · · Score: 1

      That's odd. Flash and PDFs work out of box for me. I never had to do anything to get them working.

      Later on I installed the "press to play" mozilla plug in and now I don't see the annoying flash ad unless I want to. That feature alone is worth every penny I didn't pay.

      I am curious though. What console did you open up and what jargon you typed to get mozilla going?

      --
      evil is as evil does
    4. Re:Arrrggg....Joe dont care ! by Anonymous Coward · · Score: 0

      You likely have an old Netscape installation sitting around, and Mozilla is smart enough to find the Flash/PDF plugins.

      Mozilla does have an ActiveX-like installer (with even less security!!), but big vendors like Macromedia don't use it for whatever reason.

  23. If you can make more money, do harm. by Futurepower(R) · · Score: 2, Funny


    The full name is "Windows Registry Copy Protection and OS Degradation Scheme". It's part of the "Treat all customers like criminals because some are criminals" Initiative.

  24. Could there be a difference here? by expro · · Score: 4, Interesting

    Could there be a difference here? Hopefully they are not putting code into virus-writable directories, as often happens on Apple.

    1. Re:Could there be a difference here? by Anonymous Coward · · Score: 1, Insightful

      Virus-writable directories? As often happens? WTF are you babbling about? Name ONE example.

    2. Re:Could there be a difference here? by expro · · Score: 4, Informative

      I install Mozilla on OSX. It says, rather than using an install program, I should just drag the icon into a directory, such as the applications directory, making it writable by any unprivileged program the user may execute.

      This is not unlike I have seen for other programs for Mac as well.

      When I try to take the initiative and protect these directories, the programs often stop working, because the program writes these directories when run by the user.

      I am told by admins that program directories on OS X should generally be made user-writable.

      When I do a default install Eclipse on OS X, it places the user workspace underneath the Eclipse program directory, not naturally leading to program directories that are not virus writable. I run it on Linux, and the workspace is separated from the program directory off of my home directory, and the eclipse stuff installs nicely into a protected area.

    3. Re:Could there be a difference here? by koali · · Score: 4, Interesting

      When I do a default install Eclipse on OS X, it places the user workspace underneath the Eclipse program directory, not naturally leading to program directories that are not virus writable. I run it on Linux, and the workspace is separated from the program directory off of my home directory, and the eclipse stuff installs nicely into a protected area.

      Eclipse 3.0M8 is what you're looking for. It lets you choose the workspace location without fuss.

    4. Re:Could there be a difference here? by Anonymous Coward · · Score: 1, Informative

      > I install Mozilla on OSX. It says, rather than using an install program,
      > I should just drag the icon into a directory, such as the applications
      > directory, making it writable by any unprivileged program the user may
      > execute.

      Great, the power user can trow away unneeded language files. Other users have read only access.

      > When I try to take the initiative and protect these directories, the
      > programs often stop working, because the program writes these directories
      > when run by the user

      What?! Mozilla.app must be badly written / packaged. In no way should the application dir change during execution. Preferences or caches may not be stored in the application directory, they must be stored in user space for example: ~/library/preferences.
      --
      Dennis SCP

    5. Re:Could there be a difference here? by expro · · Score: 1

      >Great, the power user can trow away unneeded >language files. Other users have read only access.

      And how did you identify that this user was a power user, just because he was the primary user of the machine? Are Macs only for primary power users? Even if the primary user were a power user, vulnerability to an account used for common purposes means significantly increased vulnerability to viruses. The reason viruses happen is because they are not expected. OS X specifically disables logging in to the root account for performing administrative operations like this to keep secure ownership -- even that would not help when the primary user is administrator group.

      >What?! Mozilla.app must be badly written / >packaged. In no way should the application dir >change during execution. Preferences or caches >may not be stored in the application directory, >they must be stored in user space for example: >~/library/preferences.

      I did not say that Mozilla behaved that way. Mozilla apparently decided to make the directory vulnerable to avoid writing an install program. Even those written by Apple with install programs fail to secure the installations.

      Some others do require write access. Obviously Eclipse violates this rule in it's default install, placing the workspace there, and just for Apple, not for Linux, because Apple encourages this behavior by making the primary directory writable by the primary user, whereas Linux does not.

    6. Re:Could there be a difference here? by Anonymous Coward · · Score: 0

      >> Great, the power user can trow away unneeded language files.
      >> Other users have read only access.
      >
      > And how did you identify that this user was a power user, just because he
      > was the primary user of the machine? Are Macs only for primary power
      > users?

      Yes, the default configuration asumes a primary user who can add and remove applications and use the computer freely without needing root passwords all the time, Mac OS 9 users want that. And still the computer is safe enough so that you can clean up any mess you made with another account.

      Asking people for root access to trow away (parts of) applications does not make the computer more safe, it will make the average user use their root password as a magic key that will be typed without thought because the OS continually asks for it.

      The application belongs to the one who installed it, if you want to stand clear of that responsibility just use a normal user account for your daily work. This would also be good advice to any Mac OS X user you know. Asking users to verify themselves at appropriate times (when removing an application) does not help them to work secure, it confuses them and makes them screw up. Let them simply switch accounts.

      Mac OS X is a quick account switching OS (it can keep multiple account live at the same time), not a give your password whenever asked OS. This is comprehensible and good.
      --
      Dennis SCP

    7. Re:Could there be a difference here? by SphericalCrusher · · Score: 1

      I think they just want to add more and more to the compatibility of Windows and Linux together.

      --
      "Instant gratification takes too long." - Carrie Fisher
    8. Re:Could there be a difference here? by billcopc · · Score: 1

      The virus problem isn't about world-writable directories. The virus problem is about ignorants on P2P networks downloading warez all day long, and the virus writers who know damn well how to lure ignorants : with WAREZ!

      Comparatively, I miss the old QUALITY viruses that used to float around in the days of Dos. Boot sector viruses, bios-killing viruses, viruses that involved more than adding themselves to the StartUp folder and/or registry keys and hogging resources blindly. We once had truly malicious viruses coded by angry wizards that wanted to enact their revenge against the ignorants.

      But like everything in modern america, the ignorants won.

      --
      -Billco, Fnarg.com
  25. Yes by mrsev · · Score: 5, Informative

    This sounds great. Im no linux guru and the hardest thing I find is to install a programme that requires other files but one version is required for one app and the other for another. In this age disk space is trivial and stability and ease of use much more important. Granted many people like tinkering with their systems but for me I just want to get my work done..(and then play games).

    1. Re:Yes by Anonymous Coward · · Score: 0

      Have you tried it? You actually have to compile and install a kernel module (which needs to be repeated everytime your kernel is updated).

      I think they need to work on that side of it. For example have a wrapper that checks if the kernel module is up to date, and if not silently recompile it. Then the "right thing" will happen after a reboot due to a new kernel.

  26. Consider most people do have broadband now by Adolph_Hitler · · Score: 5, Insightful

    Also consider this, for the average person not only is this a more secure form of distribution, its more efficient, its easier, and for 99% of files people will download it just works. Unless you are going to compile your kernel or do serious changing to your machine you wont need apt get. Just to download GAIM, or KWORD or whatever, you only really need to drag drop and run, or even just click and run. I see nothing wrong with this, and you could give the browser enhanced UI features to embed some of the apps into it in the future.

    --
    People don't exist to serve systems, systems exist to serve people.
    1. Re:Consider most people do have broadband now by jelle · · Score: 1

      "Also consider this, for the average person not only is this a more secure form of distribution, its more efficient, its easier, and for 99% of files people will download it just works. "

      Back to the question at the start of this thread: this is already done with apt-get.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  27. This is also what Microsoft is trying by Koyaanisqatsi · · Score: 5, Informative

    Flame as you want, but .Net assemblies not published to the GAC (Global Assembly Cache) are exactely like that: all of the application files are kept under a single directory and all you need to setup the app is a "xcopy" of its files.

    Delete the directoty and the app is gone.

    This is here now, and altough .Net still have to catch on into the desktop, it is very much real on the server side. Gotta love it!

    1. Re:This is also what Microsoft is trying by Anonymous Coward · · Score: 1, Funny

      You still Windows?

    2. Re:This is also what Microsoft is trying by thoth · · Score: 1

      I'll believe Microsoft's hype about .NET (and managed C++, and all the other blahblahblah) as the second coming when I see:

      1) MS Exchange Server, MS SQL Server, MS IIS rewritten in managed code

      2) MS Office writen in C#/.NET assemblies.

      Microsoft touts how much cheaper migrations are when you stay within Windows, so clearly these tasks can't be too difficult. And they have the gigantic advantage of being in-house.

    3. Re:This is also what Microsoft is trying by egarland · · Score: 2, Insightful

      I'll believe Microsoft's hype about .NET (and managed C++, and all the other blahblahblah) as the second coming when I see:

      1) MS Exchange Server, MS SQL Server, MS IIS rewritten in managed code

      2) MS Office writen in C#/.NET assemblies.

      Microsoft touts how much cheaper migrations are when you stay within Windows, so clearly these tasks can't be too difficult. And they have the gigantic advantage of being in-house.


      Exactly. .NET's management system only works for things running in the .NET environment. That's a small subset of the programs that run under Windows. Zero Install is targetted to everything that runs on the platform. It sounds like a good idea but it's still not enough. A we need a robust package management system with lots of add-on packages that works on ALL VERSIONS of Linux.

      Companies can easily make a setup.exe that will install and work properly on Windows 95, Windows Server 2003 and everything inbetween. When we get a system that will do that for all versions of Linux (with the same cpu architecture), we'll have something. Then, add the ability to install that same package to only be available by a single user without root privs, and you have a winner.
      --
      set softtabstop=4 shiftwidth=4 expandtab nocp worlddomination
    4. Re:This is also what Microsoft is trying by Anonymous Coward · · Score: 0

      Right on. I've never understood why Redhat installs add-ons to /usr/local/bin,usr/local/share,etc - spreading everything around. Other distro's install add-ons to /opt/ - the way it should be. When you want to upgrade or replace the base installation then just put /opt aside until done. To delete the app just delete /opt/ - no registry settings to clean out as in Windows.
      But Linux does need a registry - not a common one as in Windows but one per app somewhere under /opt/. All in the same database format, as simple and close to the text file format as possible. To remove the burden of parsing text files - all in different formats - from config programs like YaST and the risk of loosing comments added by the user using a text editor.

  28. use P2P instead of client server. by Adolph_Hitler · · Score: 1, Insightful

    No one has to be the main server, let groups of people host to each other. Use mirrors, or use P2P on the school or work network. Client server need not be used in a LAN, or on college campus where I'm sure theres a lot of other linux users. For people at work I'm sure they have their own private servers. For people at home you pay a fee, big deal.

    --
    People don't exist to serve systems, systems exist to serve people.
  29. User settings storage in win32 by tepples · · Score: 4, Informative

    It's still very much like this in Windows, in fact, with the "Program Files" directory often containing everything (although "Documents and Settings" is becoming more used for user settings storage). Personally I like the idea. I've always been confused trying to locate various files which belong to a single application in *nix.

    Most *n?x apps seem to store all the per-user settings in a dot-file or dot-folder in the user's home directory. In Windows, they're often strewn about in at least three places: C:/Documents and Settings/Me/Application Data/, C:/Documents and Settings/Me/Local Settings/Application Data/, and HKEY_CURRENT_USER in the registry. In addition, a lot of the apps I have installed on my Windows 2000 machine came bundled with peripherals, where the app and a device driver came as part of the same install, the app in C:/Program Files/ and pieces of the driver in various folders in C:/Windows/.

    How does Rox handle it?

    1. Re:User settings storage in win32 by Anonymous Coward · · Score: 0

      The problem is that you're blaming windows for application developers using all three of the available options rather than a single one.

      Good developers who write good windows applications know how to handle user data.

      Look at some of the IBM Tivoli apps for Windows Servers for an example.

    2. Re:User settings storage in win32 by tal197 · · Score: 2, Informative
      How does Rox handle it? [ configuration files]

      Usually, ~/Choices/ROX-Filer/Options.xml, etc. Choices cascade (/usr/local/share/Choices, /usr/share/Choices, ~/Choices). You can change the location with CHOICESPATH.

      In future, we'll probably move over to the (very similar) freedesktop.org base dir system, which defaults to ~/.config instead but is otherwise pretty-much the same.

    3. Re:User settings storage in win32 by Jugalator · · Score: 3, Insightful

      One thing I don't really find logical in Windows ( heh, only one?? :-) ) is the invention of the registry.

      Why did Microsoft make this move? Not only is it "all eggs in one basket" so it becomes unsafe in case it would crash, but it's also hard to clean it when the installer don't do the job to 100%, which it almost never do. Often I simply don't dare to, since it could be spread out in more places than HKCU\Software\Company\blah.

      I'm not really interested in Microsoft bashing -- just an answer to why the app settings aren't stored in their respective folders. The OS settings could be stored in a win.ini just like before, or any other file structure that might be faster to navigate (like a hash table).

      I think the registry *is* pretty fast and that's one reason, but it still isn't reason enough since the apps could just store in their directories with a similar structure via the standard registry API's. Why in a single multi-Megabyte mess?

      --
      Beware: In C++, your friends can see your privates!
    4. Re:User settings storage in win32 by Pentagram · · Score: 3, Interesting

      Most *n?x apps seem to store all the per-user settings in a dot-file or dot-folder in the user's home directory.

      And, dammit, this is as messy as hell. I don't like having hundreds of .files in ~. I like to keep it tidy. Why can't we have a standard that says all config files are kept in ~/settings/ with default files in /settings/? Or at least make it user configurable. I also don't like the . prefix to make files hidden; feels like a nasty hack. If you keep the files tidied away I don't think it's even needed.

      </rant>

    5. Re:User settings storage in win32 by Anonymous Coward · · Score: 1, Informative
      Which is the point of the XDG Base Directory Specification. I wish more people liked this idea (I certainly do). It's not a long spec, either. From the spec:
      $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
    6. Re:User settings storage in win32 by Sesostris+III · · Score: 1

      Interestingly, with the .NET framework, Microsoft seem to be going back to separate configuration files for each application (XML based).

      Even more interestingly, one can create stand-alone .NET applications that will take all their dependent dlls etc with them. All you need to install is xcopy! This will permit different versions of the application to be held and run.

      Of course, there are still global dlls with the .NET framework, but even then, different versions can be referenced.

      Not to say that Microsoft is the be-all and end-all of computing (I'm typing this in Mozilla running under SuSE 9), but credit where credit is due. Even Microsoft can learn and make improvements.

      --
      You never know what is enough unless you know what is more than enough. - Blake
    7. Re:User settings storage in win32 by thoth · · Score: 1

      The registry evolved from its original purpose. If you looked way back on Win95 or even Win3.1, the registry was there, but it pretty much only stored COM/OLE related stuff. You know, a big mapping of guid's to binaries, app extensions to guid's, all that stuff, so when you install some program that wanted to populate the shell context menu, it would show up. And this hive of keys is still there today.

      This is speculation as I'm not sure which group (Win 3.1 -> Win95 branch) copied who (NT group). Most likely the 3.1/95 group copied since NT has always used the registry as a place to store system startup related stuff, buried in a different branch you'll find all the services and drivers and depencies, start parameters, etc.

      Somewhere along the way somebody wanted to phase out win.ini style files. Microsoft doesn't like text config files probably because they think gui's are better for editing things (yes, I run linux also and know this is sometimes the complete opposite) so they looked and lo and behold, they saw the "registry" which was already used by the NT branch for COM and system stuff and figured, hey we can use that for applications settings too.

      Something you'll find amusing is the original guideline was to store app setting in the windows directory! %systemroot% as I remember. This was because that was the only directory guarenteed to be writable ;). I forget the bizarro circumstances this came up, something to do with network intalls of apps where the app wound up on a different machine that was readable but not writable. So that was the guideline and vendors dutifully followed the advice and %systemroot% began to fill up with huge amounts of cruft. Now, that cruft has moved into the registry.

    8. Re:User settings storage in win32 by Anonymous Coward · · Score: 0

      "And, dammit, this is as messy as hell. I don't like having hundreds of .files in ~. I like to keep it tidy. Why can't we have a standard that says all config files are kept in ~/settings/ with default files in /settings/? Or at least make it user configurable. I also don't like the . prefix to make files hidden; feels like a nasty hack. If you keep the files tidied away I don't think it's even needed."

      Any specific reason you're using ls -a? A non -a combination of arguments to ls or just ls would not list the dot files. And as for system-wide settings, have you ever heard of the share directory? /usr/share/$app is where many defaults are kept on *nix(-like) systems. /usr/local/share/$app is where the defaults to non-base software installs locate their settings. This even makes it easier. If you installed the software, it's in /usr/local/share/$app. If, however, the software came preinstalled, it's in /usr/share/$app

    9. Re:User settings storage in win32 by Anonymous Coward · · Score: 0

      Hide .files and "assume" . is a directory - and before you say that dot is allready current directory - no, ./ is not the same as .file.

      Anyway, you have some point, in home directory there could be ~/etc for user specific configuration, ~/bin for personal binaries (in your PATH), ~/lib for libraries, ~/man ... /etc.

    10. Re:User settings storage in win32 by salimma · · Score: 1
      KDE app configs in ~/.kde/config, GNOME app configs in ~/.gconf and ~/.gnome2 ... with luck the situation should be getting simplified in the future. The problem is that there are lots of non-GNOME, non-KDE essential software - Gaim (~/.gaim), Mozilla (~/.mozilla) etc. ..

      Would be nice if freedesktop.org took a leaf off Apple and mandates, say, ~/Library/Preferences ..

      --
      Michel
      Fedora Project Contribut
    11. Re:User settings storage in win32 by Repugnant_Shit · · Score: 1

      If you build packages from source, there's often an option you can give the configure script to change where the program stores its system and per-user settings.

      Try ./configure --help next time and see if what's available.

    12. Re:User settings storage in win32 by John+Starks · · Score: 1

      You can't have per-user settings if you store ini files in the application directory. OTOH, it would be possible to store per-user settings in the user's Application Data folder. However, the gradual change from single-user to multi-user Windows has made that impossible.

  30. Not windows by Anonymous Coward · · Score: 0

    With the exception of agent, I don't think anything in my program files stands on its own. You have the registry, documents and settings, program files\common. Even \windows and \windows\system32 has dependencies. In short, application partitioning on windows is a complete mess. I just migrated an XP box to 2003 and you will spend most of your time recreating settings that have no consistency as to where you will find them.

  31. Hmm.. by arvindn · · Score: 0, Insightful
    I don't like the running-from-network part. At work, I execute run mozilla (fire-whatever) over an NFS. Startup time is significantly increased: even though the LAN is fast, it appears that the latency of fetching a large number of config files and other small files adds up.

    I wouldn't want to try that over the Internet.

    Maybe I'm missing something?

  32. Isn't this one already on the list? by Liquidrage · · Score: 2, Insightful

    You know, the list of single items that is what is needed to get Linux to JoeUser's desktop? I'm sure the concept was there already is not the exact tools to do it with.

    My list contains 1 item. One word actually. Unification
    The average computer user is not an IT person. They have problems when you upgrade their machine from 2000 to XP. Even if you give them XP with the old GUI.
    They would not be OK having to know 3 or 4 different desktops just to stay marketable.

    Likewise, 3 or 4 mail clients, 3 or 4 office suites, this is bad for them.
    This might change in 10 or 15 years when the business world is dominated by people that grew up using personal computers. But right now that isn't the case.
    And I fully realize my list is mine and yours may differ. But isn't that the problem?

    1. Re:Isn't this one already on the list? by Anonymous Coward · · Score: 0
      Oh really?

      They have problems when you upgrade their machine from 2000 to XP. Even if you give them XP with the old GUI.

      Oh so GUIs are not intuitative?! Of course they are not. Just as you say people have trouble going from 2000 to XP and would have just as much trouble with different Linux desktops. But I don't really know what you mean by Unification ??

      The fact that different Linux desktops exist is not what holds it back, GUIs by their very nature are NOT easy to understand, they are NOT intuitative. So a single Linux desktop isn't going to be some magic bullet.

  33. Don't bitch to Steve by SweetAndSourJesus · · Score: 5, Insightful

    Bitch to whoever decided that that app should have an installer.

    If MS Office can be a drag and drop install, almost anything can.

    --

    --
    the strongest word is still the word "free"
    1. Re:Don't bitch to Steve by lysander · · Score: 1

      It was with extreme sadness I discovered that OpenOffice has a disk image (dmg) but it just contains the installer. It wanted a real install.

      --
      GET YOUR WEAPONS READY! --DR.LIGHT
    2. Re:Don't bitch to Steve by YouHaveSnail · · Score: 1

      So create another disk image, run the installer, and point it at your new image. Once mounted, a disk image is just another volume.

      Disclaimer: I haven't installed OO, so I don't know if it's one of those that wants to install stuff all over the system. If it is, I'd just avoid it for now, or fix it.

    3. Re:Don't bitch to Steve by tzanger · · Score: 1

      Nope, OO is a clean installer. It spits stuff in ~/OpenOffice.orgv1.v2.v3/ and that's about it.

    4. Re:Don't bitch to Steve by Anonymous Coward · · Score: 0

      It doesn't..

      (at it least didn't used to in os 9), the first time you ran office after copying it to the hard drive, it installed a bunch of stuff into the system folder.

    5. Re:Don't bitch to Steve by Anonymous Coward · · Score: 2, Funny

      "Bitch to whoever decided that that app should have an installer."

      Installers are just a "solution" to make it more difficult to copy an application to a friend ("casual piracy").

      Soon they will be asking you to insert an original CD-ROM in order to play a game, and, eventually, they will come with a way to require you to "activate" the software. Oh, wait...

    6. Re:Don't bitch to Steve by Anonymous Coward · · Score: 0

      we are talking about OS X. a;sldfkjasdf OS 9 is not UNIX-like, which is the whole point of why Zero Install isn't that innovative. OS X apps are all designed so that the .app (the "file" you click on to start the application) is actually just a directory, according to the underlying file system. Which is how Office X does it. Exactly like he said.

    7. Re:Don't bitch to Steve by Anonymous Coward · · Score: 0

      I guess that means bitching to the makers of Adobe Photoshop since theirs requires installation and doesn't let you drag and drop it to install it.

    8. Re:Don't bitch to Steve by hak1du · · Score: 1

      So create another disk image, run the installer, and point it at your new image. Once mounted, a disk image is just another volume.

      Yes, and your shiny, new disk image will contain lots of references to paths and other configuration data that you ran the installer on originally. So, you have a disk image, but it won't run correctly.

    9. Re:Don't bitch to Steve by hak1du · · Score: 2, Insightful

      Bitch to whoever decided that that app should have an installer.

      You think people write installers for fun? They usually write them because they don't have a choice, because the OS lacks some piece of functionality or other that lets the system adapt dynamically.

      Besides, Mac-style drag-and-drop installs have their own problems: they don't get updated properly and they don't verify or deal with dependencies on install; they just dump the mess into the user's lap.

      If MS Office can be a drag and drop install, almost anything can.

      You got it backwards: the bigger and less integrated a package is, the less it needs an installer. After all, a 500M package can just carry all its own libraries with it and not worry about the fact that it will be out of sync with the rest of the world.

    10. Re:Don't bitch to Steve by Durandal64 · · Score: 1
      Besides, Mac-style drag-and-drop installs have their own problems: they don't get updated properly and they don't verify or deal with dependencies on install; they just dump the mess into the user's lap.
      Dran 'n drop installs are only supposed to be used when dependencies aren't a problem.
    11. Re:Don't bitch to Steve by Anonymous Coward · · Score: 1

      > If MS Office can be a drag and drop install, almost anything can.

      MS Office:Mac has a "fake" drag-n-drop install. You can drag-n-drop it, but it launches an Installer the first time you load an app.

    12. Re:Don't bitch to Steve by Angry+Pixie · · Score: 1

      I've always been curious about installers. I don't understand why they have to be complicated or why uninstalling should be such a problem. Providing the user doesn't move things around after the install, why can't the install app or script work in reverse to cleanly remove an app? Some Windows apps such as the newsreader Forte Agent, and the IRC client called mIRC use a simple installer to basically unpack files into a directory of the user's choosing. Later if I want to run multiple instances of these apps, or just relocate them to another partition or directory structure, I can simply drag them. I needn't worry about DLLs getting lost or registy/ini settings getting screwed up. I wish all Windows apps could be like this. But it seems like the larger and more complex a Windows app is the more likely it will have a complicated installer - or am I confused by what an installer actually is?

      Besides, Mac-style drag-and-drop installs have their own problems: they don't get updated properly and they don't verify or deal with dependencies on install; they just dump the mess into the user's lap.
      It probably leads to having multiple or redundant versions of the same library installed in several isolated locations needlessly sucking up space. Is there an app that Mac users use to deal with this, like some sort of library utility that scans a drive and pulls up a list of every library installed, including version information?

    13. Re:Don't bitch to Steve by Anonymous Coward · · Score: 0
      I've always been curious about installers. I don't understand why they have to be complicated or why uninstalling should be such a problem. Providing the user doesn't move things around after the install, why can't the install app or script work in reverse to cleanly remove an app?
      • They may depend on third-party components that should be shared rather than duplicated, or they may require certain OS patches. These dependencies need to be installed in the proper order, or located prior to installation, and they have their own complexities. Shared components (which may not initially have been shared) should not be removed on uninstallation.
      • It may be necessary to install different components in different versions of the OS, or depending on the user's privileges.
      • It may be necessary to hook the application into various parts of the OS (e.g. as a shell extension), and to remove these hooks on uninstallation.
      • It is usually necessary to add the program to a menu in the shell, which requires writing a file in a central location and removing it on uninstallation.
      • Upgrading a previous installation may require converting configurations and sometimes databases. Uninstallation should usually leave configuration and data files behind.
      • COM requires the locations of all components - even if they are only used by one application - to be stored in the registry. These registrations should be removed on uninstallation.
      • Replacing an executable or DLL that is loaded into a running program is impossible under Windows, so an upgrade sometimes needs to put a script under the RunOnce registry key and reboot. There is a similar problem on uninstallation.
  34. Why I dislike about installing softwareunder Linux by mst76 · · Score: 3, Insightful

    Most of the time you're assumed to have root access, especially with rpm and deb. This is supposed to be a multi-user system, right? What if I want to give users the ability to install end-user apps in their own /home to try out? Should I tell them to download the source and tweak the makefiles so make install will behave correctly? Is there no better way to do this?

  35. Store display problem by nilspace · · Score: 2, Interesting

    I remember reading an article by Dvorak where he was looking at computers in a consumer electronics retail chain. As he was standing there, a young man walked into the store, jacked his iPod into a mac on display with firewire, drag and dropped the Office.X folder from the mac to his iPod, unjacked and walked out.

    Unfortunately, ease of use can obviously be abused, but in such ingenious ways. ;)

  36. I thought I've done it in my LFS two years ago? by francium+de+neobie · · Score: 2, Insightful

    Installing different packages in their own directories... this is nothing new.
    Indeed, this has been specified in the FHS (Filesystem Hierarchy Standary) long long time ago. This is what the /opt tree is for.


    Indeed, I've always been wondering why major Linux distributors haven't been using the /opt tree for simplicity, but kept on keeping all the files together in /usr and /usr/local. That's a hell to clean up when your rpm or apt doesn't work.

  37. Famous last words by loyalsonofrutgers · · Score: 1

    "This is something even the greatest of technophobes could understand and use with ease."

    Overstating a bit much? There are people out there, a surprising amount no doubt, that would have trouble using a system that consisted of one giant button on the screen if you didn't walk them through it. Most 'technophobes', and a great deal many of your average users probably as well, don't install software at all. Their computer comes with office, and a web browser, and an email program, and that's all they use. Or, if they do get around to installing something, it sits on their computer until the end of time. Once again this is an overstimation of how similar your typical technically knowledgeable linux user is to the average user, and in this case your average technophobe.

    1. Re:Famous last words by binary+paladin · · Score: 1

      Pretty much. My parents are using Linux. Why? They have a home grown sysadmin. My dad says, "I need a program that does some task." I then install it.

      You know what? Windows was the same way. And if I had a Mac, it'd be the same way,

    2. Re:Famous last words by Anonymous Coward · · Score: 0
      Who really gives a fuck what technophobes think?!

      Technophobes by deffinition don't want to use computers, don't want to understand how to use computers, don't even like computers.

      Making things easy so that even 'phobes can use them is a waste of time and effort when computers could be taken foward and developed for real users. All this over-stated bollocks on everything has to be Mum or Grandma proof is just holding development in computering back, making interfaces slow cumbersome interfaces that are continuely tied to a warnout metaphore, which totally restricts what can be done with modern computers.

    3. Re:Famous last words by djr1952 · · Score: 1

      Well with Zero Install setup and application setup to use the AppDir format. Then all you would have to do when asked which program does such and such is say, "/uri/0install/{apps site}/{apps name}" if it's already been copied to the cache then it just runs, otherwise it's "copied" to the cache and ran.

      See http://zero-install.sourceforge.net/ for more details.

      -- DonJr

      --

      -- DonJr --

  38. Re:Hmm.. Yes you missed this by codepunk · · Score: 1

    The application is Cached and is not downloaded on the second attempt. The moderator that marked you post insightful is a idiot.

    --


    Got Code?
  39. duplicate detection, copy on write by hak1du · · Score: 3, Insightful

    Yes, it's nice to include all the dependencies in a single directory. However, there is a reason why not every Gnome desktop accessory includes 500M of Gnome libraries--disk space is cheap, but it isn't that cheap.

    Something like Zero Install should be combined with some form of duplicate file detection or duplicate block detection and sharing. Furthermore, to avoid a lot of tricky bookkeeping, there should be copy-on-write. And that kind of functionality really is best implemented in the file system itself. So, something to think about for the next major release of "ext". (Note that Microsoft is implementing something like this, but they certainly weren't the first to come up with it.)

    Note that the same thing should also happen on downloads: you only download application components you don't already have locally. NFS isn't a good protocol for that, but WebDAV could handle it.

    1. Re:duplicate detection, copy on write by Anonymous Coward · · Score: 0
      NFS isn't a good protocol for that, but WebDAV could handle it.

      It doesn't use NFS. It uses a network filing system, but even that is a misnomer. It actually just fetches everything over HTTP. (Bad wording in the post strikes again.)

  40. Hey, Rube! by grikdog · · Score: 1

    I agree, /usr, /opt, etc. is a helluva way to run a railroad. The OS should roll in, set up its big top and get out of the way of the actual circus - composed of primadonnas who won't be happy without their own vans and three feet of grass to tan on. Mac OS X does a fair job of this, but the underlying BSD Unix stuff is not safe to wander through without a guide. The fact that we're still using Unix twenty years after the Apple Lisa came out should tell us something about what sysops want. The fact that Bill Gates made billions with a cheesy product like Windows should tell us something about what users who pay for this stuff want. The rest is just friction.

    --
    ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
  41. YAWN. That is SO 4 years ago by SensitiveMale · · Score: 1, Insightful

    and you say linux isn't copying OS X.

    I'm surprised OS X isn't mentioned at the top.

  42. Zeroinstall. by Anonymous Coward · · Score: 1, Insightful

    You only get the performance hit when you try to run an app that lacks local components for the first time.

    It goes over the net, and runs it ( Yeah, slow loading, yadda yadda ). But as it's doing this, downloading the app, getting libs, etc, it's building a local cache. The second time you run the app, it uses the local copy.

    So executing a app you don't have 'installed' installs the app. After that, it's just like running the app off your local hd.

  43. Filesystem Hierarchical Standard by $calar · · Score: 1

    "The apps are all self-contained in their own directory; binaries, docs, source code and all."

    Does this violate the FHS?

    1. Re:Filesystem Hierarchical Standard by francium+de+neobie · · Score: 1

      The FHS specified that you can install packages independently in /opt.

      See it here

    2. Re:Filesystem Hierarchical Standard by user32.ExitWindowsEx · · Score: 1

      Does it matter?

      The FHS is why UNIX seems so cryptic to a lot of people I know.
      I think it needs to be done away with.

      --
      "Evil will always triumph because good is dumb." -- Dark Helmet
    3. Re:Filesystem Hierarchical Standard by francium+de+neobie · · Score: 1

      Sorry, it DOES matter.

      There are a lot of traditional paths for traditional programs in Linux system you need to adhere to, otherwise you break a lot of things.

      For example, you need to keep a ld-linux.so.2 link in /lib in order to get glibc to work. This is because the path is hardcoded. You can try to hack glibc, but it isn't really worth the trouble. There's no guaratee that no other apps are expecting the file there in the source.

      Another example would be interpreters. Interpreters like perl and python are traditionally located in /usr/bin. Thus when you encounter a third-party Perl script, it is very possible that it starts with:

      #!/usr/bin/perl

      You'll just get a lot of trouble if you don't have a link to perl or python there.

    4. Re:Filesystem Hierarchical Standard by cubic6 · · Score: 1

      And all of these things will *eventually* have to be broken. It's necessary for progress. Yeah, it will break a lot of old software. Yeah, we'll deal.

      --
      Karma: Contrapositive
  44. The future? not anymore by Cuthalion · · Score: 2, Insightful

    Just running an X server as a thin client used to be the future, but the present way UIs are presented to the user from a server is 95% of the time in a web browser, and if that changes, it's not going to be back to what used to be future (X).

    --
    Trees can't go dancing
    So do them a big favor
    Pretend dancing stinks!
  45. ah so the root pwd hiijacked through the web now? by Adolph_Hitler · · Score: 1

    Unless users in Linux start using IE, how exactly will gator do this? Is gator even open source? If it were open source and were a hiijacking program who would actually host it? Ease of use does not mean less security. OSX is doing pretty good with security and they are easy to use.

    --
    People don't exist to serve systems, systems exist to serve people.
  46. Piggyback on which P2P network? by tepples · · Score: 4, Insightful

    Why can't we list repositories on a P2P network, let a user connect to this network to constantly update their respositories, in the same way that emule works?

    I've tried eMule. I don't want to have to sit in a queue and wait for 1,759 other people to get something just because I told the file manager to start an app. What improvements would you make to the architecture of the network? No, BitTorrent doesn't scale well for small (<10 MB) files.

    Besides, P2P doesn't work well for residential or university dorm users who can't take incoming connections.

    1. Re:Piggyback on which P2P network? by Adolph_Hitler · · Score: 1

      Why cant we linux people design our own P2P system? Maybe use GNUnet when its done.

      --
      People don't exist to serve systems, systems exist to serve people.
    2. Re:Piggyback on which P2P network? by Entropius · · Score: 1

      "Besides, P2P doesn't work well for residential or university dorm users who can't take incoming connections."

      This is no excuse. The Internet is by definition a bi-directional system, and most of its promise comes from that: there are no "client" and "server" distinctions at the topology level.

      Universities that provide residents with access that can't accept incoming connections are doing their residents a disservice. Maybe if more applications require them, the uni's will change their tune?

    3. Re:Piggyback on which P2P network? by Kjella · · Score: 1

      A) The leechers-to-sharers ratio would be a lot better for *legal* software. Many people are likely to have only legal programs shared.
      B) The files are a lot smaller overall, compared to e.g. DVD rips etc. and such.
      C) P2P works a lot better than other ways. I can't set up an FTP server and share stuff with my FRIENDS, but I can connect to P2P networks and share stuff with the WORLD. Go figure.

      Kjella

      --
      Live today, because you never know what tomorrow brings
    4. Re:Piggyback on which P2P network? by Anonymous Coward · · Score: 0

      Because Linux people are only good at copying other people's ideas. Hey, you asked.

  47. Linux version of clippy? by Anonymous Coward · · Score: 0, Funny
    It looks like you're trying to run an application. Would you like to:
    1. Download the latest sourcecode and compile it? (~30 minutes)
    2. Download the pre-compiled binary? (~5 minutes)
    3. Just use the version you downloaded yesterday? (~1 second)
    >3

    You've chosen to run the version you downloaded yesterday. Are you SURE you want to do that? There could be a newer version available. You can't call yourself a hacker if you don't have the latest version.

    1. Yes I'm sure. Just run the program.
    2. I might have mistyped. Show me the options again.
    3. Reboot.
    >1

    Ok, but only because you insist.

    Starting "/usr/bin/bash"...

    1. Re:Linux version of clippy? by Anonymous Coward · · Score: 0
      It looks like you're trying to make a joke on Slashdot. Would you like to:
      • 1. Make a reference to Microsoft? (easy laugh)

      • 2. Make a reference to is dying? (staple laugh)
        3. Just wait for the puch line at the end? (tough guy option)
      >3

      You have choosen to wait until the end, are you SURE? This means that the heart of the joke comes at the end and you are letting it all hang out until then?

      • 1. yes I'm sure. Just make me laugh.

      • 2. I am not a comic genius, con you give me the options again.
        3. Do not submit comment.
      >1

      Ok, but only becuase scoring the funny is cool.

      Starting "Mod +5 Funny"

  48. Just like MacOS by chrysalis · · Score: 1

    This is the way MacOS works since day one.

    This is the way Atari (TOS) computers are working since day one.

    In fact this is the way almost any non-Windows non-Unix operating system works.

    --
    {{.sig}}
  49. For people who have not run into this before... by rusty0101 · · Score: 1

    Yes, Mac OS X does this. Actually the idea is even more like the method I first encountered in NeXT. Yep, another development of Steve.

    This is not to say it is a bad idea, in fact I happen to like the idea a lot. It would pracically eliminate concerns over what version of clib you needed. The installer would effectively do a "locate" for the presumed filename for the library, poll each copy found to determine what version is installed, if it finds a usable version it does a hardlink of that file into it's own directory. If no useable versions are installed, it downloads a usable version into it's own directory, and moves along.

    The "path" for the program would look something like:

    ${APPLICATION}/bin:${APPLICATION}/lib:/bin:/lib: /u sr/bin:/usr/lib

    and so forth.

    Hardlinking to the file should mean that if the original is upgraded, the install application would "delete" it from it's original location, which means that only that folder would loose a link to the file, all the other applications would remain hardlinked to the file.

    Then again, I could be wrong.

    -Rusty

    --
    You never know...
    1. Re:For people who have not run into this before... by Anonymous Coward · · Score: 0

      That's pretty neat, but you have to clue in the program to make it use that local version of the library. That probably means shoving all the binaries into another path and then using a shell script as a wrapper to call them. It would have to do the usual 'export LD_LIBRARY_PATH=...' stuff first.

    2. Re:For people who have not run into this before... by rusty0101 · · Score: 1

      Or possibly set the path so that the first few directory it checks for executables, libraries, etc. just happen to be children of the aplication's directory.

      If you use a variable placeholder in the path, and the application first substitutes the applications path for that variable, then checks the path, the first instance of a library that matches the expectations of the application should be the the ones that the application is expecting to be able to use.

      That way you don't have to export a custom path for each application, the application does that for you itself as it is launching.

      Not sure if that is implementable under linux however, so if it isn't my appologies to those of you reading this who are ready to get in my face for it.

      -Rusty

      --
      You never know...
  50. Re:Why not just use P2P? by Moth7 · · Score: 1

    And how hard is it for the installer to set a cron job to run 'apt-get update;apt-get upgrade' at every logon or 24 hour increments thereafter? This requires _no_ user interraction - less so than Windows Update or whatever magical solution they were using on their last box. And if they really want a graphical solution then Synaptic is great for that purpose.
    Also, what's the point of letting people use what they know? If F/OSS inherits familiar characteristics from proprietary software then it's going to bring some bad ones with it too - why have to wean them off it later when you can start immediately?

  51. Not in Korea or Japan. by Adolph_Hitler · · Score: 1

    I guess you are talking about Africa and India? Because actually Korea and a lot of Asia have more broadband than anywhere else in the world and guess where the Linux market is making money? Canada has plenty of broadband, the USA even has plenty of broadband. I don't see where you come up with this. Diskspace isnt a problem and neither is internet access, but for people who have poor internet connections let them use an old version of Linux and old software to go along with their old internet connection. Why hold the rest of the world back because a few people in rural America still have 56k?

    --
    People don't exist to serve systems, systems exist to serve people.
    1. Re:Not in Korea or Japan. by Anonymous Coward · · Score: 0
      Oh I don't know... Maybe because it reduces your userbase.

      Also, I think you are underestimating the number of people still on modems.

    2. Re:Not in Korea or Japan. by Kick+the+Donkey · · Score: 0

      There are plenty of people in urban America on dial-up. Its not as wide-spread as you seem think.

      --
      /. is a bunch of nerds at a million typewriters. It's not a political conspiracy determined to undermine your beliefs.
    3. Re:Not in Korea or Japan. by DarkSarin · · Score: 1

      Interesting psuedonym...

      However, I think that you SERIOUSLY underestimate the number of people who are on dialup. I am at a university in the southeast, and most of the other graduate students that I know do NOT have broadband internet. In fact, most of the other people I know don't.

      The trouble is that the cable company here is not all that great about it, and DSL is distance limited (as always).

      I know a LOT of people in big cities that still have dialup. My sister, in Manhattan, still does not have a decent internet connection.

      On Topic, though, I don't LIKE the idea of zero install. There's just something about it that weirds me out, and I don't see the future in it.

      I guess its partly due to having played UT2003 too much where the mods and mutes are cached, and having WAY too many problems with incompatible versions of the same mod on different servers and not being able to play because of it. If zero install is anything like that, then no thanks.

      That said, would someone PLEASE tell me WHY this is better than portage (gentoo), click-n-run (lindows), apt-get(debian), or the lycoris model (whatever they call it)? I personally would rather have it local.

      Diskspace not being a problem is actually more of an argument to install everything local, too. Sorry, I don't like it.

      --
      "We don't know what we are doing, but we are doing it very carefully,..." Wherry, R.J. Personnel Psychology (1995)
  52. About Licensing by craXORjack · · Score: 1

    If I understand it right, if I statically compile against a GPL library, that makes my app GPL'd. But I can compile against a shared object and it will not affect which licenses I can release under because I am only referencing GPL'd code rather than incorporating that code into my application. But with this 0install system I could use shared libraries and include those GPL'd libraries in the same directory along with their source and basically get the same convenience that I would by compiling statically? No more library version, dependency heck for my users? And the library authors who released under GPL still get what they want by allowing Free access for everyone to their code? And the only drawback seems to be additional disk space and bandwidth usage which continue to get cheaper and cheaper. That sounds pretty sweet!

    --
    Liberals call everyone Nazis yet they are the closest thing to it.
  53. Re:Well duh...Security... by Anonymous Coward · · Score: 0

    Security is an issue here. One reason that packages are spread across the file system is so that some of the file systems that are used can be mounted readonly or non-executable. I think that some common sense changes could be made to improve (newbie) usability of The Files System Standard, but being able to treat different areas of the file system, or program directories, with different attributes is central to usability and security. Also, NFS, again - for security reasons, is hardly the technology I would use to implement this solution.

  54. Like the DOS days by superpulpsicle · · Score: 4, Insightful

    Everything was just a matter of folder installs during the DOS days. You copy a binary and run a binary and delete a binary.

    Believe it or not part of the reason why M$ went with the setup.exe installation was because software was harder to distribute around requiring the setup binaries.

    Funny how things come around full circle.

    1. Re:Like the DOS days by jack_csk · · Score: 1

      Really? My "good" old DOS apps sometimes did a bunch of changes to the CONFIG.SYS and AUTOEXEC.BAT that made my system more unstable. How can it be considered as "copy a binary and run a binary and delete a binary"

    2. Re:Like the DOS days by igloo-x · · Score: 0

      That was the fault of the technology at the time, not DOS. Regardless, what you're on about there has nothing to do with the dos 'package management' system.

  55. The /bin, /lib, /usr structure has to go?!?!? by Baron+of+Greymatter · · Score: 0

    BLASPHEMY! Oops I mean "GNU/BLASPHEMY."

    What you suggest is heresy against The Unix Way. Your punishment is say 5 "Hail Stallmans" and promise never to speak such evil of The Ultimate Filesystem again. :-D

    Seriously, I don't think the Linux kernel supports anything other than the standard Unix filesystem layout. Other than that, what you say makes excellent sense.

    --
    Microsoft's VP of Customer Service is Helen Waite. If you are having problems with their products go to Helen Waite.
    1. Re:The /bin, /lib, /usr structure has to go?!?!? by Bas_Wijnen · · Score: 1
      Seriously, I don't think the Linux kernel supports anything other than the standard Unix filesystem layout.

      The linux kernel will look at /sbin/init for its first process if you don't specify a location for it with init=/somewhere/else in the kernel arguments (given with lilo, grub, loadlin, or whatever loader you use.) If you specify a -b argument, it tries to start /sbin/sulogin before that. That's all Linux knows of the filesystem (and how to handle request for it, of course.)

      Oh, and it knows about /proc and /dev, but they could be mounted anywhere as far as the kernel is concerned. It only knows about their contents (because it generates them, for /dev only in the case of devfs.)

      Perhaps you are confused with system files such as GNU init, GNU libc, GNU bash, and so on? Perhaps what you call the Linux kernel is in fact mostly GNU then. Please do some reading before making fun of RMS, just because he wants to make a better world.

      A quote from the link: [I]f there were nothing at stake except credit, perhaps it would be wiser to let the matter drop. But we are not in that position. To inspire people to do the work that needs to be done, we need to be recognized for what we have already done. Please help us, by calling the operating system GNU/Linux.

  56. Re:Why I dislike about installing softwareunder Li by LoveTheIRS · · Score: 1

    Here here.

  57. DOS: been there done that. by Anonymous Coward · · Score: 1, Informative

    As one other commenter pointed out, this is the way things have been done on the glorrious Disk Operating System since DOS 2.0 some 22 years ago!

    The headline for this story should be "Linux developer gets a clue".

  58. If you have Knoppix try klik by bfree · · Score: 4, Informative
    In the last few months klik came into being. klik is a point and click software store for Knoppix which uses AppDir (quoting from the architecture description):
    Mainly a philosophy about making each app package "self contained" (at least relative to some defined base system, Knoppix in our case).
    If you have a recent (say from last November or so) version of Knoppix fire it up and give it a go! You can even install software while running from the liveCD and retain it in a persistent home.
    --

    Never underestimate the dark side of the Source

  59. Zero Install Security? by Anonymous Coward · · Score: 0

    Why should anyone trust a given Zero Install site?
    It may as well be called a Virus Install site.

  60. Similarities to Archimedes by pigpogm · · Score: 5, Informative

    This sounds to me as though it has some similarities to the way the old Acorn Archimedes used to work (What? Oh, it was quite big over here in the UK ;)

    An 'application' looked like a single file that started with a '!'. It ran as though it was one file, copied and moved as though it was one file. If you used a modifier to open it (Ctrl-click, or something similar), though, it actually opened up as a folder. The app was really made of a number of files - the icon that the application/folder would have, the actual programs, any config files, a script that was run when the program was launched, and another script that would be run as soon as the OS 'saw' the app.

    Part of the config would tell the OS what file types the app could handle, so as long as the app had been 'seen' (ie, it's parent folder had been opened), the filetypes would be recognised until the next reboot.

    --
    PigPog.
    1. Re:Similarities to Archimedes by HolyCoitus · · Score: 1
      Yup

      Snipped:
      What is it?

      ROX is a desktop environment, like GNOME, KDE and XFCE.

      It is an attempt to bring some of the good features from RISC OS to Unix and Linux.
      More Info

      Snipped:
      Relation to RISC OS
      What's RISC OS?

      RISC OS is an operating system used in Acorn/Castle machines. It had some good GUI features, but was poor in other areas. ROX seeks to bring these good UI features to Unix-type platforms.
      --
      That's scary.
    2. Re:Similarities to Archimedes by pigpogm · · Score: 2, Funny

      I, er... didn't RTFA.

      I mustn't be new around here.

      --
      PigPog.
    3. Re:Similarities to Archimedes by pacman+on+prozac · · Score: 1

      Ah takes me back.

      I remember you could edit the graphics from some archimedes apps by opening those folders, we had a load of them lying around in my secondary school. Hours of fun to be had pornolizing games and various other bits of software they used.

      Luckily it was that long ago, the teachers were more impressed we'd managed to do it than upset at rude messages. Afaik they hardly got used except by us during breaks. I didn't ever have any lessons on them...although thinking back perhaps I can see why now..

  61. Solitaire and the Sims both work in Linux by Adolph_Hitler · · Score: 3, Insightful



    And those are the worlds most popular games. Games is not the major issue. The major issue is being able to download your porn, being able to surf the web, being able to burn pirated software, movies and DVDs, being able to get on AIM or some IM client, and occassionally use a word processor.

    This is what 99% of internet users do. They don't run some esoteric application by Microsoft, 99% of people don't use all the features of word or office. Most of them wouldnt know the difference between Word Perfect, Star Office and Microsoft Office. Most people just think "I need to use the word processor." or "I need to get on AIM" or "I need to browse the web."

    Simply name the App Web Browser, Word Processor, Instant Messager and 99% of users will know exactly what it is and what its for. They don't give a damn who makes it as long as it works and its easy to use. Functionality is what Linux needs, ease of use is what Linux needs, Eye candy is what Linux needs.

    Linux does not need more apps, right now Linux has just the right amount of apps to work as a typical desktop machine for 99% of the population. Instead of building more Apps, its time to refine the apps already in development and make them more intuitive.

    --
    People don't exist to serve systems, systems exist to serve people.
    1. Re:Solitaire and the Sims both work in Linux by westlake · · Score: 1
      Games is not the major issue. The major issue is being able to download your porn, being able to surf the web, being able to burn pirated software, movies and DVDs, being able to get on AIM or some IM client, and occassionally use a word processor.

      Perhaps it is a matter of age. Porn and piracy are obsessions for school boys. But I still see an extraordinary number of successful, consumer oriented, Windows apps that have no decent "free" Linux equivalents. The single most used Microsoft app in our local library isn't Word but Publisher.

    2. Re:Solitaire and the Sims both work in Linux by Bas_Wijnen · · Score: 1
      But I still see an extraordinary number of successful, consumer oriented, Windows apps that have no decent "free" Linux equivalents.

      I totally agree with RMS that we should all try to make the whole software world free (as in speech). But in this argument, it's about comparing Windows with GNU/Linux, from a simple user's perspective. Why do you demand the GUN/Linux equivalent to be free? Joe doesn't care. If he would care, he would have dropped Windows and all the Windows applications you're talking about long ago.

    3. Re:Solitaire and the Sims both work in Linux by westlake · · Score: 1

      I don't insist that a Linux equivalent be "free," and I regret using the word here. It is too much of a distraction.
      My quarrel with the parent post was the stereotypical Slashdot view of what "Joe" or "Jane" is looking for when he/she is out shopping for software.

  62. This is the best system by MemoryDragon · · Score: 1

    regarding installation which has come up in decades, besides the fact that Rox is one of the best desktops out there and highly overlooked,
    I think this should become the standard way of non apt installation on Linux.

    Just dump everything onto the hd and let the system configure itself, deinstallation is done by moving the installation to the garbage bin.

  63. Umm, what about shared libraries? by mentaldrano · · Score: 1

    Since when is going back to monolithic applications a good thing? I thought the whole point of having a /usr/lib directory was to share common functionality. Or will everyone have to install all the libraries for everything they might ever need, since the app can't do it? I predict library version hell!

    Where do you install kde, or gnome? X is going to have to change drastically to accommodate this, and I think we all know how quickly the Xfree86 guys move on something if it wasn't their idea. This is a nice idea for technophobes, but I don't think it is really practical for big applications, or an application using a shared library.

    1. Re:Umm, what about shared libraries? by zpok · · Score: 1

      What about shared libraries?

      OS X uses packages AND shared libraries. This system will too. It just means that the core application and all non-shared stuff is inside a directory that behaves like an app and can be installed and uninstalled by drag and drop or automated process.

      In OS X this means programs still access shared libraries and can install support files outside the package if they want, which can be removed with an optional uninstaller, or by cleaning up those files manually. Right-clicking (hard to do with that one-button mouse ;-) on a package gives access to its content, allowing for installing of plugins and such.

      It's a 90% perfect situation, I'd say, since it makes installing/uninstalling a trivial thing.

      --
      I think, therefore I am...I think.
  64. Can it be integrated with traditional packages? by Ed+Avis · · Score: 1

    I like the idea of this, having used the same system on RISC OS - and I really miss being able to install something simply by copying it. It is also neat to have a cache from which things can be deleted at any time and refetched; the only problem is that every app needs to run a quick zero-install-check before it starts to make sure the libs are there.

    Package systems like apt and rpm take a stricter approach: if you have the app, then you must need the libraries it depends on. If you remove the libraries then the app would be broken so you ought to remove it too. But you do have to use a special 'remove' operation to uninstall, rather than just deleting.

    I would like to see Zero Install get integration with conventional rpm or deb packages, so that the package is fetched off the net and installed into its own directory, and then can be used (as a library or whatever) by Zero Install apps. In other words, a way to automatically wrap legacy packaging formats (and I do not mean the word legacy unkindly). Inventing another package format is doomed; a new easier way of managing the packages that hundreds of people are already building could take off.

    --
    -- Ed Avis ed@membled.com
    1. Re:Can it be integrated with traditional packages? by Ed+Avis · · Score: 1

      I meant 'packaging systems like dpkg and rpm' - of course apt is a tool that helps download and manage packages for either of these two systems.

      --
      -- Ed Avis ed@membled.com
  65. Reminds me of GNU stow by Chris+Pimlott · · Score: 1
    Self-contained package directories under Unix is not a new idea. From the GNU software directory:

    stow - Manages installation process

    Manages the installation process by keeping packages separate while making them appear to be installed in the same place. Stow doesn't store an extra state between runs, so there's no danger of mangling directories when file hierarchies don't match the database. Also, stow will never delete any files, directories, or links that appear in a stow directory, so it is always possible to rebuild the target tree.

    Maybe they can work together with the ROX people since they have been doing something similar for a number of years now.
  66. This is so 1990s... by Anonymous Coward · · Score: 1, Informative

    We've seen this all before, back in 1992 when Next first started using "bundles" for appication resources and treating them as executable files. It's good to see that the world is finally catching up, if 10 years later.

  67. As many pointed out by TechniMyoko · · Score: 1, Informative

    Macs have been doing this for years. And Windows programs can do so if they want to

  68. Killer app for corporate Linux? by Precipitous · · Score: 1

    Distributing and updating applications accross a 10,000 machine corporate environment is painful at best. My company has good tools, and smart people working with this. Still, apps with less than 50-100 users don't get a lot of attention - and the tools that manage app policy manage to periodically break them when they push other apps' updates. The basic problems mostly stem from 1) Dependency hell in windose. 2) Needing to push apps out - this pulls apps and dependencies, which is much easier to make work.

    If I wasn't stuck in a Windoze shop, I'd think about hacking this to support the type of application policies my company needs: Mary has access to applications A,B,C, etc, Allow zero-install to install only from servers a.mycompany, b etc. A major problem here is that the current security model appears to allow an end user to install anything. Sure, it can't run as root, but they can waste time playing freeciv! This could easily make redundant a team or two of poor schmucks who currently work with the tools that push out software.

    Note that MS already has a variety of products in the works similiar to this. ClickOnce is the solve-all-your-distribution-problems widget in VS Widbey. Run-from-web and other tools already exist that are similar to this. Unfortunately, these only work with .NET apps. Most MS shops have a large number of legacy COM based apps giving them headaches.

    --
    My motto: "A cat is no trade for integrity."
  69. Package management by the desktop or the distro? by MoralHazard · · Score: 1

    You know, I saw this and said "fucking cool, man!" Package management has always been one of my least favorite things, and it sucks when you build something new only to realize that you've totally broken it. This is 10x worse when the package that breaks is, oh, say, RPM. (Fucking RedHat--Goddamn 8 and 9 were such crap.)

    But I digress. Point is, I thought about using this on my laptop, which runs Crux/Slackware in a dual boot setup. But HTF am I supposed to use this intelligently when I've already got a package management system?

    And wouldn't this mean that you have to either symlink all the binaries in each directory into /usr/bin, or add each app directory indivually to the path? Neither seems particularly cool.

    WHy is the desktop trying to manage apps, again?

  70. Yeaaah (all excited jumping up and down) by Britz · · Score: 2, Insightful

    Finally we have found the holy grail that for so many years all Linux users and developers have sought after:

    It is exactly what Linux needs to become a serious contender for Joe User's desktop.

    I wonder how many times have we read that on Slashdot. I wonder how this one slipped past the editors again. And it is boring, not important and proven wrong. There has never been, is not and will never be exactly what Linux needs to become a serious contender for Joe User's desktop. Let alone a single little thing being exactly what Linux needs to become a serious contender for Joe User's desktop.

    Apart from that I dread this technology where glibc will have to be included in every app. The beauty of free software is the fragmentation. Everyone makes a little app that is perfect at what it does and small enough that one person can write and maintain it. And bigger apps just bundle them together like libs (think of all the GUI cd burning apps that are frontends to at least cdrecord, mkisofs and cdparanoia, if not to many more small apps). Also the ability to upgrade and keep the custom settings and data for one the new one in .foo is something Windows is trying to copy in XP now, but many programs still have their own idea about where to store custom data.

    And that is only half of what is wrong with this post (I am sorry, but I did't even RTFA). Please don't get me started on NFS.

    'nuff said

    1. Re:Yeaaah (all excited jumping up and down) by Britz · · Score: 1

      Ouups, I just realized I most likely made myself a fool and a late April 1st prank.

    2. Re:Yeaaah (all excited jumping up and down) by zpok · · Score: 1

      hmmm....

      I agree, the obsession with Joe Six-pack is unwarranted and insulting - both for Joe Six-pack and the 98% of computer users that are normally targeted with this pseudonym when Linux people try to think about usability.

      But an installer that makes it possible for non-technical users to actually install and un-install all those different linux choices does make it at least *possible* that people adopt linux.

      If Linux doesn't adopt simpler install processes it will *never* be adopted. Before one can like or dislike an OS or application, one should at least be able to play with it without being slapped in the face.

      That's why for once I don't mind the Joe Average/Six-pack slur.

      --
      I think, therefore I am...I think.
  71. can anyone say, dotnet? by Anonymous Coward · · Score: 0

    maybe it's just me, but this seems to be following in dotnet's footprints.

    whoops, forgot I was reading slashdot, forget I said anything.

  72. Just why does this make me start thinking of by Eudial · · Score: 0

    Just why does running one of these servers make me start thinking of the alt.suicide.holiday suicide-method list?
    (http://www.depressed.net/suicide/suicidefa q/index .html)

    --
    GAAH! MY PRINTER IS ON FIRE!!! PUT IT OUT! PUT IT OUT!
  73. Don't overestimate morons by pinchhazard · · Score: 0

    This is something even the greatest of technophobes could understand and use with ease.

    You are giving people too much credit.

    --
    Do you love freedom??? Do you love freedom!!! DO YOU LOVE FREEDOM!!!!!!!!
  74. Just Like Risc OS by cpjackso · · Score: 1

    Wondered when ROX would get around to getting this done - it's exactly like the system utilised in RISC OS (From Acorn) in the UK. You could install multiple versions of applications (and often did) - and then take your pick. It also makes it a million times easier to remove stuff (and install stuff as well).

  75. Oh Yeah, Great Idea... by Jameth · · Score: 2, Funny

    With fully self-contained apps, we could do away with those silly shared libraries, and we could also just pitch reusing simple programs. Maybe, maybe if we ditched the fifo, we would have finally removed all the flaws in UNIX!

    1. Re:Oh Yeah, Great Idea... by Jeremi · · Score: 1
      With fully self-contained apps, we could do away with those silly shared libraries


      I don't see how 0install implies doing away with shared libraries. If your 0install app needs a shared library, it can just specify the version of the shared library it needs, and 0install can take care of making sure that library is installed (in its own appropriate 0install location) before your app runs.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    2. Re:Oh Yeah, Great Idea... by jelle · · Score: 1

      Still it's nothing new that dpkg and apt-get already do, except for needing Internet access when you run a program for the first time, and many other things like not getting unexpected behaviour if you uninstall by deleting the directory while the program is still running, and ending up with a gazillion directories of a gazillion different versions of libraries but knowing nothing about which programs depend on it.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  76. Re:Why I dislike about installing softwareunder Li by ananke · · Score: 2, Informative

    Insightfull my ass. ./configure --prefix=~/whatever

    --
    --- d'oh
  77. Re:Why I dislike about installing softwareunder Li by Anonymous Coward · · Score: 1, Informative

    To install to an alternate directory all you have to do is add prefix=/home/foo as a switch configure: ./configre --prefix=/home/foo
    make
    make install

  78. This is nice I guess... by phunster · · Score: 1

    What is amusing to me is that whenever the "Linux is too hard to install" argument comes up, I ask the person if they have ever installed windows. Invariably the answer is no. Frankly, I find a Linux install much easier.

    That said, I hope that this argument goes on for a long long time. The longer it goes on, the easier it becomes to install Linux.

    I think a face off today between a windows and a Linux install would end the argument once and for all in favor of Linux.

  79. Re:YAWN. That is SO 4 years ago by Endive4Ever · · Score: 2, Insightful

    Everything is copying OS X. Everything has always been copying OS X. When Napoleon rolled across Europe, it was because he'd seen the Apple Development Team approaching the NeXT compound and about to break down the door with a battering ram.

    When Moses came down from the mountain, he wasn't carrying a stone tablet, he had a PowerBook.

    Michaelangelo didn't do a single original thing in his life. He just travelled forward in a time machine (invented at Apple) and cribbed ideas off a blackboard in the Apple R&D facility.

    ----------

    The 'everything was invented here' frenzy of Applebots rivals the chauvanism of Soviet-era Communist-Party/Russian-nationalists.

    --
    ---
  80. Re:Why I dislike about installing softwareunder Li by Jameth · · Score: 1

    Go look at:

    http://www.csis.gvsu.edu/~abreschm/uafhs/

    If people start adopting that, some of your worries may be over. Plus, it doesn't destroy any old systems or make shared libraries messy.

  81. "apart" or "a part"? by cout · · Score: 1

    I think they are almost opposites.

  82. correction by Anonymous Coward · · Score: 0

    Their where special files placed in each directory (!boot and !run)

    There were special files placed in each directory (!boot and !run)

  83. standardized installs by cyko500 · · Score: 2, Insightful

    The day that linux gets standardized installers that are just "click and install" with some options (like a windows installers) and a standardized install directory (a "program files" directory) is the day that thousands apon thousands flock to linux.

    People give up on linux because they don't know how to install apps and games. They download stuff then say, "WTF is this shit? How do I use this?" Then, after realizing 90% of linux apps are like this just give up on linux.

    Even when people can learn to install stuff they often don't know where the hell to install it to (people are used to not having to organize programs themselves, just throw em wherever it wants to go). We don't need fancy caching of downloaded apps and shit. We just need some standardization of the installers (shortcuts on the desktop or popup menu couldn't hurt either). That's what your average computer user wants.

    1. Re:standardized installs by Coryoth · · Score: 1

      People give up on linux because they don't know how to install apps and games. They download stuff then say, "WTF is this shit? How do I use this?" Then, after realizing 90% of linux apps are like this just give up on linux.

      Even when people can learn to install stuff they often don't know where the hell to install it to (people are used to not having to organize programs themselves, just throw em wherever it wants to go).


      (DISCLAIMER: I'm more familiar with rpm, so I'm just going to say rpm here. I'm almost certain you could put ".deb" in it's place and everything would remain true.)

      This mostly exists. Currently double clicking on an rpm file in either Nautilus or Konqueror will ask you for the root password. Presuming that is given correctly it then happily installs the package for you. No questions of where to put it, no install procedure, just double click, enter the password, and you're done.

      Of course, the catch with this is dependencies. OSS has very good code reuse so there are often a lot of dependencies on various libraries. However, with apt and yum becoming standard in distributions these days, my understanding that using these tools to do dependency resolution and downloading and installing of any extra packages is becoming standard - that is, in the next round of distribution releases, you can mostly expect that double click on an rpm to automatically resolve any outstanding dependencies and download and install any extra required packages for you.

      Finally, there is autopackage, which is still getting going, but promises to be a better system for handling installs and dependency resolution in a much more vendor agnostic way (currently you can run into problems installing third party pckages because your vendor doesn't support the required dependencies in their repository)

      Jedidiah.

  84. Screw drag & drop by be-fan · · Score: 2, Insightful

    This is an example of Linux *regressing* to better fit the model of Mac/Windows. We've already got a much superior installation method: APT. What we need is a simple GUI for APT (or Yum or whatever) not a complex "app folder" system. APT is about as simple as installation can get. You double-click a program, and its installed and right in your programs menu. No manually searching for an installer, opening up the "applications folder", dragging & dropping, etc. Think about it: that requires so many more extra concepts for the user to learn! They have to first understand the filesystem (many users do not). Then they have to understand the concept of installer images. Then they have to understand how to drag & drop (many users do not). Then they have to understand the concept of a special "applications folder." Contrast this to the a GUI front-end for APT. Users would just have to understand how to start a program (which they already do), how to select the program they want, and how to double-click. It reuses existing concepts so much better.

    --
    A deep unwavering belief is a sure sign you're missing something...
    1. Re:Screw drag & drop by Bodhammer · · Score: 1
      There are two simple GUIs for APT. One is KPackage which is part of KDE, the other is synaptic.

      I don't think it could get much simplier...

      --
      "I say we take off, nuke the site from orbit. It's the only way to be sure."
    2. Re:Screw drag & drop by HolyCoitus · · Score: 2, Insightful

      The thing that makes zero install interesting is that you don't have to install the programs as root and how easily it does slots. As a user who knows what I am doing and is in full control of his computer, I have no need for this. Someone like my mom or brother though, I do not want to be installing every program as root that fits their fancy. That's too much like Windows. It's better if they can install the programs they want that are easily deleted and can't effect anything but the user environment. That's what zero install is striving for, not the group of users that should have root access. At least, that's what I see the purpose being.

      I'd also like to add, when I first saw this a while ago, I just glanced over it and said I have ports/apt-get/portage so I don't need this. However, even with a GUI, those programs would require a rewrite to do what zero-install does. I see it filling a purpose for a group of users. Choice is good.

      --
      That's scary.
    3. Re:Screw drag & drop by ImpTech · · Score: 1

      Ah, but with APT you still have to teach the users the concept of superuser priviledges... which I might add you really *don't* want to teach them.

    4. Re:Screw drag & drop by RdsArts · · Score: 4, Insightful

      Anyone who calls 'apt' a more apt installation structure has forgotten how most users use software.

      Most people don't want to learn a new packaging system. Most don't want to wait for someone else to package a program into the repos, assuming they even want to package it. The problem with Apt is it relies on someone else saying 'oh, that's great, I'll make some debs.' And it only works for someone with Debian or a Debian-compatable system like Lindows, Xandros, Knoppix, et al. A AppDir works on any distro that has ROX installed, so there's no more bullshit with having to package programs for 20 distros, or 20 versions of a distro. No 'Well, your using RedHat 8.2, which had this RPM, so here's a recompiled copy that works with that version, but if you have 9.1 it uses THIS RPM, which needs this recompile, or if-.' You just drop the AppDir in, and it works. No muss, no fuss.

      Additionally, to install a deb you need to be root. Most people don't want or need to use root. 0install fixes that, and AppDirs make it easy even without 0install.

      With AppDirs and 0install, you no longer have any of the problems software on GNU/Linux does. (Packaging for a number of distros and pushing it to the user with dependancies seamlessly) Apt only fixes one of those problems.

    5. Re:Screw drag & drop by Anonymous Coward · · Score: 0

      APT is very difficult for the inexpert user.

      For example, if I want to test php5 how can I do this with APT?, impossible, or too complicated for me.
      All of you talk about Joe Average User or the Mr. Expert, but you are wrong.

      The majority is neither Mr. Expert nor Joe Average User, the majority is Joe In The Middle.

      If we considered the medium or long term, a good part of who begin beeing Joe Average User, is going to want to learn or to prove new things.

      You must develop for Joe In The Middle.

      The major problem is not APT.
      The major problem is that there is no a place where one can see or change ALL the configurations.
      How do I know what packages I have installed, what versions, where are installed?
      When installing a program with APT surprises much to me that the program installer does questions to me like:
      - where it is the apache configuration? I don't know (in fact I do). Hey APT, check that yourself!!!! and then ask me if I want to use the one that you've found.
      - where is library xxxxx? Again, I don't know !!! check that yourself!!!!
      - Do you want to use the existing configuration or you want to change it by the maintainer's one? I don't know!!!
      If you want to change the timezone use 'tzconfig', if you want to see your network configuration use 'ifconfig', etc., etc.
      It's ridiculous.

    6. Re:Screw drag & drop by zpok · · Score: 3, Insightful

      That's the first time I heard a Linux user imply it's better to hide things from users.

      BTW, I don't doubt APT is good (have no idea) but the OS X install process is as simple as it gets, anybody could do it, since you don't have to learn new concepts, all concepts are borrowed from the real world.

      I don't know many Windows users (or non technical Linux users) who can manage an OS or even application install - without running in weird problems, I know no mac user who can't and doesn't do those things on his own.

      --
      I think, therefore I am...I think.
    7. Re:Screw drag & drop by beakburke · · Score: 1

      ROX doesn't solve the problem of different packages for different distros, unless you are going to statically compile everything. Talk about bloat.

      --
      ----- Question authority, but not ours. Hate the man, but we're not him.
    8. Re:Screw drag & drop by be-fan · · Score: 1

      Synaptic and KPackage still require way to many clicks for a conceptually simple operation. I have high hopes for Kapture, which is still in development.

      --
      A deep unwavering belief is a sure sign you're missing something...
    9. Re:Screw drag & drop by RdsArts · · Score: 1

      It compiles it when you click on it the first time.

      How does that not fix the problem?

    10. Re:Screw drag & drop by be-fan · · Score: 1

      Not really. You just have to teach them to type in the superuser password when prompted. I do think apt should allow you to install apps local to each user, though. However, I don't think it needs to be changed fundementally, just improved in implementation.

      --
      A deep unwavering belief is a sure sign you're missing something...
    11. Re:Screw drag & drop by burns210 · · Score: 1

      no, apt is not easy. it can be, once you fiddle around with how it works, but to the new user, or to the smart user who think it isn't worth his time to fiddle with a program that should be easy, it is hard.

      I am a yum fan(soley for the purpose that i think having to update a local cache is annoying). But that isn't perfect either.

      Single directory applications are a GOOD THING. you can use apt and yum to download a single file, uncompress it, and run whatever scripts needed to add bookmarks and listings.

      People, average people, people who don't want to waste their time, and people with the buying power to move linux into new markets understand and like single-directory installs. It makes sense, is easy to add, remove, switch and maintain.

    12. Re:Screw drag & drop by be-fan · · Score: 3, Informative

      Most people don't want to learn a new packaging system.
      With APT, they don't have to. They just have to be able to double-click on the program they want. I've seen lots of Windows users who love the concept and wish Windows had it.

      The problem with Apt is it relies on someone else saying 'oh, that's great, I'll make some debs.'
      Isn't that true for installers as well? Somebody has to make those too.

      And it only works for someone with Debian or a Debian-compatable system like Lindows, Xandros, Knoppix, et al.
      Ximian has a nifty tool called Build Buddy that automates the process of generating packages compatible with not just RPM and DEB systems, but Solaris and HP-UX package managers too.

      Additionally, to install a deb you need to be root.
      This needs improvement, yes.

      --
      A deep unwavering belief is a sure sign you're missing something...
    13. Re:Screw drag & drop by be-fan · · Score: 2, Insightful

      That's precisely what APT + a GUI does! How could it possibly get any simpler than just double-clicking on the application you want? The Mac installer mechanism requires so many extra concepts. They need to understand the concept of an installer package, app directories, drag & drop (the majority of computer users do not understand that, because Windows doesn't use it very much), and the filesystem. Selecting an app in an APT GUI just requires knowing what app you want, and how to double-click.

      --
      A deep unwavering belief is a sure sign you're missing something...
    14. Re:Screw drag & drop by be-fan · · Score: 1

      no, apt is not easy. it can be, once you fiddle around with how it works, but to the new user, or to the smart user who think it isn't worth his time to fiddle with a program that should be easy, it is hard.
      Have you ever used KPackage? How could you possibly say that it requires fiddling to use? Installing a program in KPackage/APT requires:

      - Select 'New' tab
      - Select app you want to install
      - Click install
      - (Install Summary pops up) Click Install
      - Click Done

      The GUI could be even more streamlined to eliminate a couple of more steps. Its easy enough for anyone who can use a web-browser to use. That is not the case for the appdirs system, which actually requires a user who understands the filesystem (which, in my experience, many users do not).

      --
      A deep unwavering belief is a sure sign you're missing something...
    15. Re:Screw drag & drop by RdsArts · · Score: 2, Insightful
      With APT, they don't have to. They just have to be able to double-click on the program they want. I've seen lots of Windows users who love the concept and wish Windows had it.


      Your assuming that a deb was even made. This requires the programmer A) has debian, and B) wants to make a deb. Or that someone else will make one. Which brings us back to the original problem.

      Isn't that true for installers as well? Somebody has to make those too.


      But you only make one. With debs you have to make them for Debian, then a RPM for RedHat, another for Fedora, another for Mandrake, another for SuSE, another fo-

      Regardles, AppDirs aren't installers. They are self-contained, and you just click on the AppDir to run it, regardless of where it is. Uninstalling is just a right-click, and delete. Most just check that it's compiled if it's C/C++/etc, and runs if it's compiled or just run if it is in Python/Ruby/etc.
    16. Re:Screw drag & drop by Xoro · · Score: 2, Informative

      Be-fan -- your deep unwavering belief is a sure sign you are missing something. There's no "drag and drop" involved -- zero install means zero install.

      It's based on a sort of virtualized internet filesystem. Here is their example:

      $ cd /uri/0install/www.gimp.org
      $ ls
      gimp1.2
      gimp1.3
      $ 0refresh
      $ ls
      gimp1.2
      gimp1.3
      gimp2.0

      You never install, you just run, either by command line or some form of gui contraption. Of course, this system places a lot of faith in the upstream developers, but their website paints a far more interesting picture than the summary given here. Here, for instance, is a decent comparison with apt. Check it out.

      --
      Kill, Tux, kill!
    17. Re:Screw drag & drop by be-fan · · Score: 1

      APT is very difficult for the inexpert user.
      How so? Or have you never used a GUI for it?

      For example, if I want to test php5 how can I do this with APT?, impossible, or too complicated for me.
      Because average users use unstable development releases so often! If you want to install php on Debian:

      - Start up KPackage
      - Click the "Search" icon
      - Find php4
      - Select it
      - Click install
      - Click install
      - Click done

      The major problem is that there is no a place where one can see or change ALL the configurations.
      We're not talking about that, however. We're talking about software installation.

      How do I know what packages I have installed, what versions, where are installed?
      Start up KPackage. Click on the "Installed" tab. Want to uninstall an existing program? Select it and click Uninstall. How could it possibly get easier???

      When installing a program with APT surprises much to me that the program installer does questions to me like:
      You're not comparing the same things. The Windows/Mac installers don't do software configuration, while Apt/DebConf do. That's why DebConf asks you those questions --- because its not just installing the program for you, but setting them up too. In Windows and Mac, you'd have to do the configuration manually.

      - where is library xxxxx? Again, I don't know !!! check that yourself!!!!
      What are you talking about? APT handles library dependencies automatically!

      Do you want to use the existing configuration or you want to change it by the maintainer's one?
      Are you installing via the command line? No wonder! Use a GUI! A GUI configured for new users would not ask those questions, but use the defaults.

      If you want to change the timezone use 'tzconfig', if you want to see your network configuration use 'ifconfig', etc., etc.
      It's ridiculous.

      That has nothing to do with package management! And I've been using Linux for years and I've never used tzconfig. I adjust the timezone by going into KControl. I don't use ifconfig either --- the Debian installer autodetected my network. If you do need to change it, most distros (SuSE, RedHat, etc) have nice easy GUI tools.

      --
      A deep unwavering belief is a sure sign you're missing something...
    18. Re:Screw drag & drop by Anonymous Coward · · Score: 0

      "Most people don't want to learn a new packaging system."

      Most people don't want to learn a new OS either, so we might as well just give up on Linux then? You know, sometimes progress means dropping some old assumptions and expectations.

      Additionally, the remainded of your post was nonsensical; the problem with software distribution on Linux is library dependencies, and bundling everything together in one directory won't solve that (unless you go statically-linked mad).

    19. Re:Screw drag & drop by be-fan · · Score: 1

      I was talking more about the appdirs system. You do still need to understand the filesystem to do things like find the installed apps, delete apps, etc.

      --
      A deep unwavering belief is a sure sign you're missing something...
    20. Re:Screw drag & drop by Anonymous Coward · · Score: 0

      The problem with Apt is it relies on someone else saying 'oh, that's great, I'll make some debs.

      An that is why dpkg repositories are so good - maintainers know with which libraries it works and maintain it properly. Although building dpkg is a matter of a runing a script, all additional info added prior it is what makes it great. Do you thong that whatever-new-great-cool-zero-install-infinity-frie ndly system will automagicaly know what is going on?

    21. Re:Screw drag & drop by An+Anonymous+Hero · · Score: 1
      You double-click a program, and its installed and right in your programs menu.

      The whole idea of an "Application menu" is an abomination, as is the parent "Start menu". It's duplicate information -- the root of all evil, isn't it? Once you start down that path, of course you'll need installers and package managers to keep things consistent.

      App dirs and drag & drop installation define those problems out of existence. Each GUI application becomes one object in the GUI shell (a.k.a. Finder). Double-clicking it launches the app. Trashing it uninstalls the app. You put it wherever you want; you (not some opaque installer) make a shortcut to it elsewhere, if you want one.

      (Of course it's fine to have installers for libraries and command line executables that are never launched from the GUI. Those can reside in hard coded locations where dependencies can find them.)

    22. Re:Screw drag & drop by cubic6 · · Score: 1

      The GUI doesn't fix the problems with the underlying system, which is what 0install is trying to address. We only need apt because the average Linux filesystem is so spread out and grossly difficult to use that the user needs a suite of programs just to keep track of where each application's files live. Dependencies are another problem, but both apt and 0install handle that quite well.

      --
      Karma: Contrapositive
    23. Re:Screw drag & drop by An+Anonymous+Hero · · Score: 1
      The Mac installer mechanism requires so many extra concepts. They need to understand the concept of an installer package,

      No, they don't. They get an icon. Moving it moves the app, double-clicking it launches the app.

      app directories,

      No, they don't. It appears as one object in the GUI shell (a.k.a icon in the Finder). Completely intuitive. No need to know anything about its inner structure.

      drag & drop (the majority of computer users do not understand that, because Windows doesn't use it very much),

      So just because Windows is a broken GUI that doesn't understand drag & drop, any other system should give up on it? People lean to use Macs just fine.

      and the filesystem.

      Yes. Understanding the filesystem is a good thing. And in fact, they'll only need it when they want to (say) clean their desktop

      Selecting an app in an APT GUI just requires knowing what app you want

      That alone is complicated. You need to map "the app you want" to some name in a list. That's an entire parallel, cryptic, redundant hierarchy to understand and operate.

    24. Re:Screw drag & drop by be-fan · · Score: 1

      The problem with getting rid of the applications menu is that most users don't understand the filesystem. So if you put apps in the filesystem, people will have trouble finding them. Indeed, in the future, with things like WinFS and Storage, the filesystem hierarchy is going away, with files hidden behind a query interface.

      --
      A deep unwavering belief is a sure sign you're missing something...
    25. Re:Screw drag & drop by be-fan · · Score: 1

      No, they don't. They get an icon. Moving it moves the app, double-clicking it launches the app.
      Mac users might be comfortable with drag & drop and the filesystem hierarchy, but Windows users decidedly are not. Windows users make up the majority of computer users out there, and if we're going to do things to make it easier for converts, its better to target them.

      So just because Windows is a broken GUI that doesn't understand drag & drop, any other system should give up on it?
      Drag & drop sucks for other reasons too. Its far too manual, and reeks of the outmoded "real-world metaphors" movement. Read this document on the Anti-Mac interface. The truth is that there are two types of computer users these days:

      - Those that have learned to use computers. These are mostly Windows users. We have to pay attention to them because they form the largest body of existing users who will transition to Linux.

      - Those that grew up with computers. Kids today readily understand the abstract nature of computers. They don't analogize the computer to "real world metaphors" but understand interfaces in their own terms.

      The traditional Finder-style UI interface doesn't serve either of these users. Existing Windows users aren't familiar with it, while the next generation of users doesn't need the artificial, time-wasting concrete metaphors. The web is the perfect example of an anti-mac interface. There aren't "real world" metaphors on the web. You don't waste time dragging and dropping. You've got infinite-length pages, linked words between pages, a search-based (Google!) UI, etc. Going forwards, that's what UIs will look like.

      That alone is complicated. You need to map "the app you want" to some name in a list. That's an entire parallel, cryptic, redundant hierarchy to understand and operate.
      Huh? You want php, so you find php in a list? Do you think people have trouble mapping from the food they want to order to a listing in a menu? The Mac equivilent of the a dinner menu would be a giant table full of cooked dishes, with the diners pointing and grunted at what they want!

      --
      A deep unwavering belief is a sure sign you're missing something...
    26. Re:Screw drag & drop by be-fan · · Score: 1

      No we don't. There aren't any problems with the underlying system. The underlying system is designed to be optimal for the system. Apt is designed to be optimal for the user. The appdirs model is a compromise between the two that isn't optimal for anyone. The system has to deal with lots of unshared data, while the user has to deal with futzing around in the filesystem to install apps, instead of using a simple high-level interface.

      --
      A deep unwavering belief is a sure sign you're missing something...
    27. Re:Screw drag & drop by salimma · · Score: 1
      Additionally, to install a deb you need to be root. Most people don't want or need to use root. 0install fixes that, and AppDirs make it easy even without 0install.

      Here's to it being included by default, and turned on, in major distros.

      Currently, you need to be root and know how to compile an external kernel module, in order to be able to use it, no?

      Granted, that holds for nVidia's binary drivers, and Livna.org has a trivial-to-use installer for that..

      --
      Michel
      Fedora Project Contribut
    28. Re:Screw drag & drop by Anonymous Coward · · Score: 0


      But you only make one. With debs you have to make them for Debian, then a RPM for RedHat, another for Fedora, another for Mandrake, another for SuSE, another fo-

      Regardles, AppDirs aren't installers. They are self-contained, and you just click on the AppDir to run it, regardless of where it is. Uninstalling is just a right-click, and delete. Most just check that it's compiled if it's C/C++/etc, and runs if it's compiled or just run if it is in Python/Ruby/etc.


      No, you're wrong.

      You seem to be thinking that the problem is about the different packaging formats. This is NOT the problem. I can use RPMs just fine on a debian system (better yet, use alien). The problem is not the different formats, but that the policy of distros differs wildly. Most Fedora RPMs do not follow the policy for a debian system. You could convert every single deb to an RPM and you would still not have a RedHat system. The packaging format does not define the distro.

      An AppDir package is just another policy, and trust me, it doesn't appeal to everyone, so it won't be revolutionizing things anytime soon.

    29. Re:Screw drag & drop by Ignominious+Cow+Herd · · Score: 1

      No, you don't. There is no 'special Applications dir' to put things in. There isn't one on OS X either. Drag and drop to your desktop, home dir. anywhere you f-ing want. OR just run from the Internet as described above. There is nothing special and nothing you need to learn about the filesystem. Find it, optionally drag and drop somewhere local, and run it. done.

      You are wrong about ROX and 0Install. Get over it.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    30. Re:Screw drag & drop by cubic6 · · Score: 1

      First, the writeup on this article was horrible. This system is *not* doing away with shared libraries, or anything of the sort. There isn't going to be a copy of Qt in every KDE package. The only thing that the ROX system is doing is taking the config files, documentation, source code, executable, and associated files for a single app and putting them all in one unique folder heirarchy for that app. There are still shared libraries, and there are still ways for programs to access each other's config or shared data.

      Second, the other part of the system, 0install, means that the user does not have to "futz" with the filesystem at all to install apps, if they don't want to. They just click the icon, and 0install downloads the program and any libraries it needs, copies them to the user's app folder, and runs them. If the user doesn't like the program, they can select it and hit delete, and it's gone.

      There aren't any problems with the underlying system? Let's make a list.

      • All files for a given program spread out in 8 or 9 different directories.
      • Names like "/etc" instead of "Configuration" and "/usr/bin" instead of "/User/Applications", relics from when the majority of users preferred the command line.
      • Hardcoded paths in most programs that use this system make it very inflexible to change.
      • Difficult to manage more than one version of an application without modifying the application.

      I'm sure you could also come up with a list of problems with ROX and 0install. No system is perfect for everybody. My point isn't that one is horrible and the other is perfect, just that for me and many others, the ROX way is better.

      --
      Karma: Contrapositive
    31. Re:Screw drag & drop by be-fan · · Score: 1

      Okay, you're right about the appdirs. BeOS had a special directory, so I just kind of assumed.

      However, you still have to know about the filesystem to use it. You have to get the .dmg file and drag it to a directory in the FS. That's beyond the capability of a lot of Windows users I know. You don't seem to understand just how limited they are. They aren't even aware that there is a filesystem. They open apps from the start menu, and open files from the file dialog. If they accidentally change directories in the file dialog and save somewhere else, they cannot find the file! A huge number of Office workers, who do anything but use Internet Explorer and MS Word, have no understanding of the FS.

      Drag & drop and the filesystem is not a skill Windows regularly exercises. Indeed, XP goes out of its way to *hide* the filesystem. As such, the majority of computer users do not understand these things. For these people, 0Install is not appropriate.

      --
      A deep unwavering belief is a sure sign you're missing something...
    32. Re:Screw drag & drop by be-fan · · Score: 1

      I think we fundementally disagree. I think the filesystem should be hidden deep within the bowels of the system, with the only thing exposed to the user being their home directory and a start menu. That's the way Linux and Windows are heading. Heck, even Apple is realizing that people have trouble understanding hierarchical structures. Why do you think iTunes, which is exalted for its usability, has a giant flat list of songs rather than a hierarchical structure?

      All files for a given program spread out in 8 or 9 different directories.
      It doesn't matter. From the system's point of view, each type of file is in its own directory, which makes sharing easier. Since the FS is a black-box to the user, this is an implementation detail.

      Names like "/etc" instead of "Configuration" and "/usr/bin" instead of "/User/Applications", relics from when the majority of users preferred the command line.
      Again, this is an implementation detail. Users shouldn't know that their apps are in /usr/bin. Apps are just an entry in the start menu. /etc is only accessed indirectly through GUI tools like YaST or gconf.

      Hardcoded paths in most programs that use this system make it very inflexible to change.
      Which programs use hardcoded paths?

      Difficult to manage more than one version of an application without modifying the application.
      Only if you insit on mucking around at the filesystem level instead of letting the system (package manager) do the work for you.

      --
      A deep unwavering belief is a sure sign you're missing something...
    33. Re:Screw drag & drop by Ignominious+Cow+Herd · · Score: 1

      1) I regularly download things to the Desktop, both in Windows and OS X. It is a folder in the FS. I can open the .dmg or .zip file right there and run the app. I can leave it there is I want to. If it has an installer I run the installer and it puts things in the App menu/desktop/quicklaunch bar. This takes about 5 minutes to learn.

      If users cannot figure at least this much out then they will continue to need some kind of admin/guru to help them until our OSes come with an AI to take on that role.

      Clueless is clueless, no package system in the world will help that.

      2) I disagree with your blanket statement that Windows users do not understand DnD. But maybe we just have different types of people in our clueless circles.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    34. Re:Screw drag & drop by be-fan · · Score: 1

      I regularly download things to the Desktop, both in Windows and OS X. It is a folder in the FS.
      Most Windows users do not see it that way. Indeed the fact that users prefer flat organizations to hierarchies can be seen in the fact that many Windows users keep *everything* on their desktop.

      I can open the .dmg or .zip file right there and run the app. I can leave it there is I want to.
      I don't think a system that basically makes it so users will have all their apps on their desktop is a good one. If the system can be smarter to make things easier for the user, it should be.

      admin/guru to help them until our OSes come with an AI to take on that role.
      We don't need an AI. An omnipotent package manager that handles all the dirty work of taking care of apps and just gives the user a little entry in a menu is pretty close.

      I disagree with your blanket statement that Windows users do not understand DnD.
      Windows doesn't use DnD anywhere. It can use it, but doesn't. Further, Windows doesn't use the filesystem. In XP, you can't even see the contents of your C drive by default! Windows users adopt an application-centric rather than file-centric mode. The first thing they do is open up an application that does what they want to do, and then find the file they want through that app's interface. A GUI like Synaptic fits that model, 0install does not.

      --
      A deep unwavering belief is a sure sign you're missing something...
    35. Re:Screw drag & drop by Ignominious+Cow+Herd · · Score: 1

      I am a Windows user. I use DnD all the time. I typically find the file I want and either double click on it, or right-click and select Open-with, or DnD it to an app icon to open it.

      Clearly you do not know everything about what Windows users do or don't do.

      I'm done talking about this now. Have a nice day.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    36. Re:Screw drag & drop by An+Anonymous+Hero · · Score: 1
      Alright. Happy to see you drop the claim that Mac users "need to understand the concepts of installer package and app directories" :)

      Mac users might be comfortable with drag & drop and the filesystem hierarchy, but Windows users decidedly are not. Windows users make up the majority of computer users out there, and if we're going to do things to make it easier for converts, its better to target them.

      I've watched Windows users, and patently, most of their problems stem from the fact that they never know where anything actually is. Instead they are constantly faced with "wizards" and opaque installers, black box after black box, "magic" designed to maintain them in a maximal state of ignorance and dependance.

      Duplicating this nightmare of an interface is an error -- and I've yet to hear about any switcher having problems adapting to the Finder-style UI.

      Think of that UI as the graphical equivalent of the Unix shell -- just the same, a unified, always-running environment that takes and pipes you commands, but graphically. Advocating instead the Windows train-wreck of wizards, "Start menus" and assorted toolbars is the equivalent of advocating DOS over the Unix shell, just because (at one point) "more people happen to be used to it".

      Read this document on the Anti-Mac interface.

      It was in my bookmarks. I think it's wrong. SQL-based file systems, WinFS and Storage are pie-in-the-sky vaporware. Google is a good interface to navigate a web that changes outside your control; not to manage your own hard drive, where you not only read but also write and execute stuff.

      You dislike drag & drop? Fine... The Finder shell is not tied to it, it's not the only mode of interaction. Anything you can do with drag & drop you can also do through cut & paste, or double-click, or menu selection. The point of it is not to be based or depend on drag & drop, it's to provide a self-contained, consistent graphical equivalent of the shell.

      Huh? You want php, so you find php in a list? Do you think people have trouble mapping from the food they want to order to a listing in a menu?

      Yes, and Brad Griffiths in today's article agrees:

      there needs to be a simple way for new users to install software. Projects like Synaptic Package Manager a step in the right direction, but they aren't perfect. Synaptic requires users to find and configure repositories and it doesn't use descriptive names for the packages it uses. I think one simple solution to this would be to divide packages between desktop applications and non-desktop applications.
      And I agree with this last distinction: GUI apps should not install the same way as libraries and CLI programs. Apt-get php: fine. We agree on this and I already said so. But not Firefox or other user-launchable GUI apps. For those, app dir installation is miles better.
    37. Re:Screw drag & drop by An+Anonymous+Hero · · Score: 1
      Since the FS is a black-box to the user, this is an implementation detail.

      Black-boxing everything = the Windows way.

    38. Re:Screw drag & drop by An+Anonymous+Hero · · Score: 1
      if you put apps in the filesystem, people will have trouble finding them

      No need to "put" Apps in the filesystem -- they already are in it. Especially in Unix, everything is a file, the system is file-centric. Overlaying an "application-centric" or "task-centric" paradigm means overlaying opaqueness, and creating the need for opaque tools to manage it.

      Mac users have no trouble finding their Apps (usually right on their Desktop upon download, later wherever they felt like filing them, when they felt the need). Switchers have no trouble adapting to the Mac way.

  85. Was't that the point of /opt by Ebon+Praetor · · Score: 1

    You would put the app in /opt/<package-name>, and then when you wanted to get rid of it, you could just rm -rf /opt/<package-name> (or /opt/<vendor-name> if you wanted to do it that way).

    I don't know why Linux people insist on reinventing the wheel every few months.

  86. I thought we wanted people to reuse code? by David+Hume · · Score: 1

    Talk about encouraging waste.... The article states:

    The apps are all self-contained in their own directory; binaries, docs, source code and all. * * * This method of partitioning applications in their own directories also allows installing multiple versions of any application trivial.


    What happened to the idea that we wanted programmers and users to share libraries and code? To solve rather than avoid dependancy problems?

    Doesn't this encourage a move back to the DOS days where applications didn't share code or libraries, and were completely independent of each other?

    Then again, given how cheap disk space is, and how frustrating dependency problems are, maybe this isn't such a bad idea.

    1. Re:I thought we wanted people to reuse code? by tal197 · · Score: 3, Informative
      Talk about encouraging waste.... The article states:

      The apps are all self-contained in their own directory; binaries, docs, source code and all. * * * This method of partitioning applications in their own directories also allows installing multiple versions of any application trivial.

      What happened to the idea that we wanted programmers and users to share libraries and code? To solve rather than avoid dependancy problems?

      Applications are self-contained in that everything from a single package is in a single directory, rather than being spread over /usr/bin, /usr/share, etc. They can still depend on other packages.

      Without Zero Install, this means that although installing an individual package is quite easy, you may then have to install dependant packages in a similar fashion. With Zero Install, you get automatic dependancy resolution and freedom from install scripts.

    2. Re:I thought we wanted people to reuse code? by Anonymous Coward · · Score: 0

      What happened to the idea that we wanted programmers and users to share libraries and code?

      There are times when using a shared library is a good idea. There are many more instances when statically linking everything is a better idea. A lot of Linux developers are so infatuated with the idea of using shared libraries they can't tell when it's a bad idea.

    3. Re:I thought we wanted people to reuse code? by David+Hume · · Score: 1

      Applications are self-contained in that everything from a single package is in a single directory, rather than being spread over /usr/bin, /usr/share, etc. They can still depend on other packages.


      I'm afraid I don't understand. What does is mean to "depend on other packages" if and when everything (including the so-called shared or dependent package) is in the single directory for the application?

      Does it mean that if I have two programs that "share" the same library that the library files will be duplicated in each of the two program directories? If so, how are the "shared?"

    4. Re:I thought we wanted people to reuse code? by tal197 · · Score: 1
      I'm afraid I don't understand. What does is mean to "depend on other packages" if and when everything (including the so-called shared or dependent package) is in the single directory for the application?

      Like this:

      1. You open the directory /uri/0install/rox.sourceforge.net/apps in your file manager (it's like a URI you'd enter into a web browser).
      2. You see an application called Edit inside it. Edit is actually a directory, which contains everything that is part of the Edit program (but not libraries Edit uses).
      3. When you run Edit, it loads some code from /uri/0install/rox.sourceforge.net/lib/ROX-Lib2. This directory contains all the code that is part of ROX-Lib, which Edit depends on.

      Everything is downloaded and cached the first time it is accessed (files actually come in groups to reduce round-trip time and the chance that dial-up users will miss something they need once off-line).

    5. Re:I thought we wanted people to reuse code? by David+Hume · · Score: 1

      I'm afraid I don't understand. What does is mean to "depend on other packages" if and when everything (including the so-called shared or dependent package) is in the single directory for the application?


      Like this:

      You open the directory /uri/0install/rox.sourceforge.net/apps in your file manager (it's like a URI you'd enter into a web browser).
      You see an application called Edit inside it. Edit is actually a directory, which contains everything that is part of the Edit program (but not libraries Edit uses).
      When you run Edit, it loads some code from /uri/0install/rox.sourceforge.net/lib/ROX-Lib2. This directory contains all the code that is part of ROX-Lib, which Edit depends on.
      Everything is downloaded and cached the first time it is accessed (files actually come in groups to reduce round-trip time and the chance that dial-up users will miss something they need once off-line).


      Forgive my ignorance, but I still don't understand.

      As I understand it, once you have completed your steps 1 through 3 above, in one directory you have everything (including *all* libraries) you need to run Edit without further downloads. Correct?

      Assume you do the same thing for the program NewEdit, with the identical result.

      Now, in what way do Edit and NewEdit "share" anything, including any libraries? Doesn't the Edit directory have everything Edit needs to run, including all libraries? Doesn't the NewEdit directory have everything NewEdit needs to run, including all libraries? If so, what do they "share?"

    6. Re:I thought we wanted people to reuse code? by tal197 · · Score: 1
      As I understand it, once you have completed your steps 1 through 3 above, in one directory you have everything (including *all* libraries) you need to run Edit without further downloads.

      You have two directories, Edit and ROX-Lib, both in the cache:

      • /var/cache/zero-inst/ rox.sourceforge.net/apps/Edit
      • /var/cache/zero-inst/ rox.sourceforge.net/lib/ROX-Lib2

      Both contain their own code, but when Edit is run, it will also access code from ROX-Lib.

    7. Re:I thought we wanted people to reuse code? by David+Hume · · Score: 1

      You have two directories, Edit and ROX-Lib, both in the cache:


      • /var/cache/zero-inst/ rox.sourceforge.net/apps/Edit
      • /var/cache/zero-inst/ rox.sourceforge.net/lib/ROX-Lib2

      Both contain their own code, but when Edit is run, it will also access code from ROX-Lib.

      I now understand. However, the Slashdot article states:

      The apps are all self-contained in their own directory; binaries, docs, source code and all. * * * Deleting the application along with all the other misc files is as simple as removing the directory it's contained in.


      Neither of the statements in the Slashdot article is correct.

      The apps are not "self-contained in their own directory." As you state above, "when Edit is run, it will also access code from ROX-Lib."

      Also, it is not that case that, "Deleting the application along with all the other misc files is as simple as removing the directory it's contained in." If you delete the Edit directory, the "misc files" (i.e., libraries) the Edit program relied upon will remain in ROX-Lib. Now this of course may be a good thing if other programs rely on those files. However, it is simply incorrect to state that deleting the directory the program is "contained in" (which in truth is only the directory in which it is *partially* contained in) will suffice to delete all of the files the program relies upon.

    8. Re:I thought we wanted people to reuse code? by kundor · · Score: 1
      What they mean by that statement is that the entirety of the application is in one directory, instead of being split all over the filesystem as is current.

      This means, for example, that "uninstalling" is simply deleting one folder, and upgrading in place is sublimely easy.

      It doesn't mean that libraries from other programs won't still be necessary. But the applications ARE self-contained in their own directory, in that all the files that come with them are in one place, instead of all over.

      And who the hell wants to delete all the files the program relies upon when you uninstall it? That would delete the whole operating system! You just want to get rid of everything that program ADDED, so as to avoid building up cruft. This takes care of that.

    9. Re:I thought we wanted people to reuse code? by David+Hume · · Score: 1

      You just want to get rid of everything that program ADDED, so as to avoid building up cruft. This takes care of that.


      OK, I think I'm finally getting it. One more question. You earlier stated:



      You have two directories, Edit and ROX-Lib, both in the cache:



      • /var/cache/zero-inst/ rox.sourceforge.net/apps/Edit

      • /var/cache/zero-inst/ rox.sourceforge.net/lib/ROX-Lib2


      Both contain their own code, but when Edit is run, it will also access code from ROX-Lib.


      If Edit is the only "ROX" app one has ever installed, then weren't the files in the "Rox-Lib2" directory also files the installation of the Edit "program ADDED?" If so, then won't the deletion of the "Edit" directory not delete all of the files "ADDED" by the installation of the Edit program?

      Or is it just a matter of the order in which things are installed? ROX is necessarily first installed, adding the files in the ROX directory. Then ROX is used to install Edit... adding files ONLY to the Edit directory???? So that we can say that by deleting the Edit directory we have deleted all of the files "ADDED" by the installation of Edit? Even though we installed ROX in order to install Edit?

    10. Re:I thought we wanted people to reuse code? by kundor · · Score: 1
      That's a matter of preference. It's perfectly possible for the system to ask "libsuch-and-such is not being used by any programs, do you want to remove it," if you want to deal with the overhead of keeping track of such things.

      Of course, part of the point of zeroinstall is that nothing is really INSTALLED in the first place, just cached on your system. So uninstallation is sort of a moot point -- you can delete all the files in your cache if you want, and the programs are just as accessible as before.

      Incidentally, I didn't say the stuff you quoted.

    11. Re:I thought we wanted people to reuse code? by BasilBrush · · Score: 1
      You are just defining the set that comprises an app differently from the slashdot comment author. He doesn't include shared libraries as part of his definition, you do. Your definition of an app is problematic in that the sets for different apps overlap. I think the slashdot authors definition is the more usual one.

      Also, remember that the libraries are just held in a cache, they are not "installed". The fact that deleting the app doesn't delete any shared libraries is about as significant as the fact that you have web pages you viewed yesterday in your web browser cache. If you aren't using them, at some point they'll get flushed. You don't need to worry about the technicalities.

  87. It's not quite that simple by SuperBanana · · Score: 5, Informative
    Apple has had this for years going back to the old System 9, 8, 7, etc

    Actually, it hasn't. Ask any Mac pro; applications started making "library" files that went into the System folder(or worse, programs like Norton Utilities insisted on putting libraries into the Extensions folder, which was not what Apple told developers it was for). Apple caved in and 9.x started sprouting "Application Support" folders, a "Libraries" folder, etc. Developers just couldn't wrap their brains around the single-file, applications-don't-mess-with-the-system-folder model. Often times, commercial programs would blatantly disregard Apple's filesystem guidelines. Often times extensions has such weird names, Cassidy&Greene developed an extension manager with a database of all the known files so you could figure out what the hell stuff was.

    While you tout OS X as better than Linux or Windows, as an experienced long-time Mac user I saw OS X as a step down from the old MacOS with regards to filesystem simplicity. Applications now install stuff into zillions of different places. Virtually none of their installers ask if you want to install just for your user(ie using your Library, Application etc folders), or install system-wide(a few- VERY few- do). Application installers that have no business needing my password ask for it; why does Acrobat reader need sudo to install itself into Applications? Answer- it doesn't, but it's probably saving some prefs file somewhere it shouldn't.

    Even worse...you can install packages using a "package system", but Apple will be damned if they'll give you a way to UNINSTALL a package, system or otherwise. Want to remove all the localization crap you forgot to turn off during system install? You have to download a third-party app to remove almost a gigabyte of files from your system, instead of just going into a "Software" panel and clicking remove. Windows has had it for years, with its only flaw being that it calls the developer's uninstall program, which often times doesn't work, especially if you've deleted the app folder but nothing else.

    Another side effect of the multiple-files problem is added complexity; the # of files in the filesystem has ballooned enormously, because instead of an application being one big file with a resource fork, it's now at least 3 folders, and often times hundreds(or even thousands) of files. Moving an application used to be easy- you moved one big file, the Finder just did a straight copy very efficiently. Now it has to copy hundreds of small files, so it takes forever(and amusingly, copying just a bunch of raw non-app files takes about 5 times longer in the Finder than it does via cp or ditto).

    Don't get too uppity about not having a registry. OS X uses a number of preference files, and even though they've changed to XML and the like, users are seeing the same problems with OS 9- corrupt preference files causing odd behavior. Remove the naughty pref file, things start working again. There are now third party utils that specialize in checking these prefs; if they can do it, why can't it be part of the bootup process?

    Oh, and lastly- Apple has made it even more difficult to make a boot disk for your mac to do disk maintenance. It used to be you just copied over your system folder, removed all the extensions, control panels, prefs, etc you knew you didn't need. Now? You need some stupid shareware program to do it, and half of 'em still haven't been updated for 10.3.

    1. Re:It's not quite that simple by jc42 · · Score: 3, Interesting

      Application installers that have no business needing my password ask for it; why does Acrobat reader need sudo to install itself into Applications? Answer- it doesn't, but it's probably saving some prefs file somewhere it shouldn't.

      Exactly. And you have no way of knowing what it's doing with that password. If you're hooked up to the Net, chances are it's (then or later) being cached somewhere inside apple.com, too. Do you know of a way to convince me otherwise? If not, a sensible person would just assume that the password is now known to Apple.

      Similarly, when I first got my Powerbook, it had to be sent in for repairs after about a week. (The screen wouldn't come to life.) They wanted my password, of course, and I gave it to them. No problem, I thought; when I got it back, I'd just change my password.

      Lotta good that did me. Yeah, I can use my new password when I log in. But nearly everything in the system that asks me for my password will only accept the original one. I've found a few places that packages cache the password, and changed those. It lasts for a while, then one day it wants my original password again. I've found it necessary to keep a record of all the passwords I've used, because I generally have to try them one at a time until I find which one works with a given app.

      Your password is cached all over the place by OSX packages, so the only sensible approach is to assume that it's public knowledge, at least to Apple insiders.

      This is one reason that I'd never use OSX for any sensitive applications. I have to assume, from the way it handles passwords, that OSX systems are open to anyone at Apple, and to anyone able to bribe the right people at Apple, and to any intruder who knows where they are cached on my machine.

      I'd like to be proved wrong. But a mere assertion that I shouldn't worry my little head about it won't convince me. I want proof.

      So far, I've never seen linux software playing fast and loose with passwords like this. I mean, mozilla will cache passwords for you, but it asks,you can say "No", and it apparently honors that. And it doesn't ask for local passwords, only those demanded by web sites.

      Also, there are some linux apps that ask you for the root password because they need to run something as root. But you never have to give the root password. You can always kill the app and start it again under sudo. Then it won't know the password, and won't ask for it because it already has the right permissions, so you know the password couldn't be cached.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    2. Re:It's not quite that simple by liquidsin · · Score: 1

      I always just do disk maintenance by booting off of the OS X install cd. I haven't had a Mac with a floppy drive in years.

      --
      do not read this line twice.
    3. Re:It's not quite that simple by AngusH · · Score: 1

      You did change your keychain password right?

      The initial one is probably the same as the login password, but if you changed the login password without changing the keychain password then you'll get prompted for the old password not the new one whenever something tries to access the keychain.
      Use the "Keychain Access" utility and choose the {usename} settings option from the edit menu, then change passphrase.

      This should allow you to change the passphrase on the keychain.
      The keychain is used to secure all sorts of things including mail passwords and browser field values.
      The keychain is secured though and does only store one copy of the passphrase in a blowfish encrypted file.

      It can be used by all applications , which may be where the impression that your password is being stored multiple times is coming from.

      If you did change the keychain passphrase then it may be some other bug. Why not create a new user, copy your files across and delete the old user.

      As to why application installers need administration rights to install applications, the applications folder is not writable to people not in the admin group. You can see this by inspecting the folder in question. Although I agree that some may be doing this without due cause.

      I'm unclear what Apple might gain from knowing your password...

      If you are concerned however, why not create another administrator user, then use that user to install software, then delete the user.

      This way you can be confident that nobody will be able to log in as the user whose data might be compromised.

      If you're concerned about information being transmitted to apple you could set up a firewall and block all access to apple.com. and anyone else you may have concerns about.

      All of these concerns apply to any operating system which you didn't inspect the source code and compile everything yourself. Linux and windows have exactly the same problems in most ways if you use binary packages.

      In the end it becomes a matter of inspection and trust. I tend to trust that Apple probably isn't doing this but I respect your right to belive otherwise and to take the precautions you deem necessary.

      I hope that I'm right but if I'm wrong I will lose much more than you will. :-)

      Angus Hardie

    4. Re:It's not quite that simple by salimma · · Score: 1
      Don't get too uppity about not having a registry. OS X uses a number of preference files, and even though they've changed to XML and the like, users are seeing the same problems with OS 9- corrupt preference files causing odd behavior. Remove the naughty pref file, things start working again.

      Unlike Windows Registry, and like GNOME's GConf and KDE's system though, these preferences are not stored in huge monolithic binary files, the way Microsoft seems to have a penchant of doing. Corrupting two files (system and user registries) inadvertently (or maliciously, at that) is much easier than corrupting many individual files, and conversely, doing a partial, per-app backup of preference files is much easier in non-monolithic schemes.

      But don't ask me. Ask any Outlook user what happened when their gigantic .PST file got corrupted. Or grew over 2 GB on FAT32 filesystems.

      --
      Michel
      Fedora Project Contribut
    5. Re:It's not quite that simple by salimma · · Score: 1
      The keychain is used to secure all sorts of things including mail passwords and browser field values.

      The keychain is secured though and does only store one copy of the passphrase in a blowfish encrypted file.

      Yep, Keychain is one neat example on how to integrate things. Now that GNOME and KDE have similar tools, I must say having to use Windows at work is becoming more of a cross to bear. A reminder of what 90% of users have to struggle with, I suppose...

      Mental note: next time, find a Java job

      --
      Michel
      Fedora Project Contribut
    6. Re:It's not quite that simple by Anonymous Coward · · Score: 0

      Windows has had a "keychain" for a long time -- going back to Windows For Workgroups. It's just not in your face, and you can't pick a seperate password for it.

      Now you know what the Win95 login screen was for (the one you could press ESC to bypass).

    7. Re:It's not quite that simple by zhenlin · · Score: 3, Insightful

      Applications do not cache passwords. If you see the nice prompt asking you for an administrative password, it should be coming from the system. (There are ways of verifying this... Set your account to use the Blue colour scheme, set your (real) root account to use the Graphite colour scheme. Any dialogue boxes or windows with Graphite widgets are running as root)

      As for asking for the original password, that is because of Keychain. That one is encrypted with your original password.

      As for apple.com caching the password... Well, it is quite simple to prove/disprove that: put the OS X machine behind a firewall, and log any attempts to connect to a machine in apple.com network.

    8. Re:It's not quite that simple by Angry+Pixie · · Score: 1

      Wow. This is getting to be a great thread on Macs. I'm really learning a lot of things about the Mac experience that I could never learn elsewhere without getting into Windows vs. * flame war :)

      Often times, commercial programs would blatantly disregard Apple's filesystem guidelines.
      Does Apple or the userbase do anything in retaliation to this? In the Windows world, we have choice since there's a larger array of apps. We can always vote with our dollars (unless of course, we're dealing with Microsoft). I'd personally be pissed if a software publisher regularly did things that might destabilize my system.

      Let me ask you this. At the moment I'm using MacOS 7.5.5 on a classic machine. If I wanted to seriously go to Mac, is it worth it to use OS X, or should I go with 8.6 in order to get that classic Mac design? Hell, maybe I can emulate both under Linux if I try :) It sounds like you'd rather be running the earlier versions. In my world, there are many people still using DOS and Windows happily!

  88. Microsoft had it and lost it. by FreeLinux · · Score: 5, Insightful

    Microsoft had this in the very beginning. It was called DOS and DOS applications were completely self contained. When an application was installed all of its files remained in the applications own directory. To move an application, even to another PC, you simply copied the directory. To delete the application you simply deleted the directory.

    Then Microsoft got smart (too smart for their own good) and decided it was more "efficient" to use shared libraries and that all such libraries should be kept in the %SYSTEMROOT% folder. This meant that applications stored files in one directory, libraries in the system directory and configuration files who knows where. That's better, isn't it?

    After that Microsoft decided that it was too "troublesome" to have all of these separate configuration text files. They got smart here too (again too smart for their own good) and decided that it would be so much "better" to have all the settings in a single monolithic and monumentally fragile registry. (Watch out Gnome)

    After all that, installing and removing applications became a nightmare. So they decided that it would be best to have a package management system that managed all installations and removals. They established standards that required the proper use of this package management system for the application to be "Windows certified". Unfortunately for them the package management system isn't so great, especially when it comes to the registry and while many vendors do obey the "Microsoft standard", many do not. In fact, the worst offender for not properly using the package management system, and there by polluting PCs with monumental amounts of cruft, is Microsoft themselves.

    So, now Microsoft is trying to implement an "even better" system with their .NET strategy. One that installs applications into their own directory for easy management and removal. A new system that they conveniently choose to forget, is just like the system they used in 1982! Ooh, ahh. Consider me un-impressed!

    1. Re:Microsoft had it and lost it. by badriram · · Score: 1

      So you are also implying that you are not impressed by this new effort in linux, since it was a feature of DOS.
      lol feature, dos in the same line....

    2. Re:Microsoft had it and lost it. by Anonymous Coward · · Score: 0

      > Microsoft had this in the very beginning. It was called DOS and DOS applications were completely self contained.

      This isn't entirely true. The files were generally in one place, but lots of apps put extra settings in config.sys and autoexec.bat.

    3. Re:Microsoft had it and lost it. by swb · · Score: 1

      And even worse, those same apps had horrible parsers and often stepped all over a config.sys or autoexec.bat file that was very carefully crafted to make the best use of the various memory regions, TSR load order, etc.

    4. Re:Microsoft had it and lost it. by Sesostris+III · · Score: 1

      Oh please,

      We whinge on one hand that Microsoft don't innovate. And when Microsoft innovate and try something new, we whinge! Perhapse we'll whinge whatever Microsoft do. Hindsight is a marvellous thing, and makes is oh so easy to judge.

      The whole point about making progress is that it doesn't go smoothly. The same can be said within the FLOSS world, as well as in the proprietary software world. It is the attempt that is important, and the recognition that things could be better.

      The fact that Microsoft do seem to be reverting back again with the .NET framework (stand-alone applications with separate config files) should be someting to appreciate, not criticise. Think of it not so much as a circle, as a spiral.

      Actually, you can still use shared libraries in the .NET framework, they've just got to be digitally "signed", not so much to prove they're safe, but as an indication of who they came from! There is also a "global" machine-level config file!

      (And no, I'm not a Microsoft shill - I'm typing this on Mizilla running SuSE 9!)

      --
      You never know what is enough unless you know what is more than enough. - Blake
    5. Re:Microsoft had it and lost it. by Anonymous Coward · · Score: 0

      Then Microsoft got smart (too smart for their own good) and decided it was more "efficient" to use shared libraries and that all such libraries should be kept in the %SYSTEMROOT% folder. This meant that applications stored files in one directory, libraries in the system directory and configuration files who knows where. That's better, isn't it?

      Well, it's how Unix does it... except that the average Windows application stores its local data and binaries in the same folder, while Unix scatters things even further across your file system.

    6. Re:Microsoft had it and lost it. by Lord+of+Ironhand · · Score: 1
      (Watch out Gnome)

      Yes indeed! Gnome seems to have a strange desire to mimic the bad sides of Windows while claiming to be an alternative. I'm not saying Gnome is worse than Windows, but seeing things like a registry-like configuration system (that, although it's more "open" due to XML, actually has a per-user daemon associated with it) and an extra virtual file system layer, makes me worry very much about its future course.

    7. Re:Microsoft had it and lost it. by Wyzard · · Score: 1

      The advantage of that approach (used by both GConf and the Windows Registry) is that it's hierarchial and allows lots of data types (strings, numbers, Booleans, etc.) while still being structured enough to be not only read but also written to, in whole or in part, by software. It also enables additional features you wouldn't get (cleanly) with plain configuration files -- for example, in Windows, different registry keys can have different security settings, and with GConf, applications can "listen" on a key and be notified immediately when a change occurs, so that preferences changes can take effect immediately across the desktop.

      Of course, XML is flexible enough to store an application's configuration settings in a hierarchial format with various data types, but dealing with it directly would require every application to incorporate parsing and writing functionality for their settings files. In the spirit of shared libraries, it's better to define an API for accessing settings, to reduce the amount of boilerplate functionality that must be implemented in every app. And since you don't want a million dotfiles in your home directory, you should keep the XML in a specific location too. But at this point you basically have GConf.

      I use Gnome, and I much prefer GConf over INI-type files. What bothers me most is apps that store half their settings in GConf, and the other half in a dotfile in my home directory. :-)

    8. Re:Microsoft had it and lost it. by Anonymous Coward · · Score: 0

      I have one sentance for you guys. Go look at Digital OpenVMS to see how libraries should be handled. It gives you both ways.
      And I thought /.ers are knowleggable!
      Zero Install is is halfway there.

    9. Re:Microsoft had it and lost it. by Lord+of+Ironhand · · Score: 1
      [...] while still being structured enough to be not only read but also written to, in whole or in part, by software.

      Yes, writing to dotfiles is pretty hard for most programs. But if the dotfile's layout/structure is clear enough, editing it yourself shouldn't be any harder or take any longer than searching through the program menus for the right option. And you can be quite sure some wacko program doesn't replace your carefully thought-out settings.

      [...] but dealing with it directly would require every application to incorporate parsing and writing functionality for their settings files. In the spirit of shared libraries, it's better to define an API for accessing settings, to reduce the amount of boilerplate functionality that must be implemented in every app.

      In the spirit of shared libraries, do you realize a dotfile parser can also simply be part of a shared library?

      Some other dotfile advantages to show how elegant their simplicity really is:
      - Structure files to your own liking
      - Add your own comments anywhere
      - Switch a setting on/off (or switch between many) by simply commenting stuff out
      - Use "source" statements present in most dotfile formats to create your own hierarchy if you like that, or use only a single file if you don't.
      - Develop you own dotfile-using program in minutes since even a shell script containing variable assignments is a perfectly usable dotfile. And get almost limitless scripting capabilities with it.
      - Transfer all your settings for one or more programs from one system to another using just a very short scp command
      - Start a (second instance of a) program using alterate settings by simply pointing the program to another dotfile

      I use Gnome, and I much prefer GConf over INI-type files.

      Oh well, I guess it's just the neverending GUI vs. CLI approach problem... personally, I use the Ion2 window manager in combination with aterm, GNU screen and as many commandline/terminal based programs as I can find.

    10. Re:Microsoft had it and lost it. by Anonymous Coward · · Score: 0

      Yeah. DOS was all text. Then Windows 3.1 was all graphics. Then, in Windows 95, they came up with a wallpaper with text menus over it (the start menu, etc)... Progress!!! :-)

    11. Re:Microsoft had it and lost it. by Wyzard · · Score: 1
      [...] editing it yourself shouldn't be any harder or take any longer than searching through the program menus for the right option.
      True, but do you really feel like starting a new shell, opening an editor to modify the dotfile, and then (most likely) have to restart the app, just to make a simple preferences change? Not having to descend to the console to change how the GUI works is a big part of the current push for usability that some projects (especially Gnome) are currently making. And the added bonus is that when you check a box in a preferences window, the change can take effect immediately, instead of having to restart the program to make it re-read the dotfile. (Yes, it's possible to include a menu command for "re-read configuration", but I haven't seen many programs that actually do that.)
      In the spirit of shared libraries, do you realize a dotfile parser can also simply be part of a shared library?

      I agree that a a centralized approach to configuration settings doesn't inherently need a daemon running in a separate process to manage the settings. However, it does enable GConf's notification mechanism I mentioned earlier. That notification mechanism is a really cool thing, because settings changes can take effect immediately across the whole desktop, in all running instances of a program, without needing to restart anything.

      Dotfiles offer a flexibility that's useful in some specialized situations (like using several dotfiles to run several instances of a program with different settings), but they're more cumbersome to work with overall. If you're an experienced Unix hacker, hand-editing text files is fine, but for a desktop environment meant for general use, it's important to have programmatic interfaces to everything in the system -- preferences (via GConf), available hardware (take a look at Project Utopia), and so on.

    12. Re:Microsoft had it and lost it. by master_p · · Score: 1

      You are unfair. DOS applications have all drivers packed in (video, sound, modem, etc), because the O/S offered nothing on that.

      But nowadays the O/S offers a lot of functionality. A good efficient O/S has to have shared libraries.

    13. Re:Microsoft had it and lost it. by Lord+of+Ironhand · · Score: 1
      True, but do you really feel like starting a new shell, opening an editor to modify the dotfile, and then (most likely) have to restart the app, just to make a simple preferences change?

      For an experienced CLI user (who usually doesn't have to "descend to the console"), this is much more trivial than mousing through menus, tabs and checkboxes. I get your point though, it's far less trivial for the novice user. But, to state it bluntly, write an environment for idiots and only idiots will use it. Wouldn't it be nice to have an environment that's easy to use for everyone, in his/her own way? The gconfd-thingy is a little too much one-true-way in my opinion.

      On the other hand, maybe it's better to have a less flexible system first and increase flexibility in future versions. At least frustrated Windows users have a ready alternative now; which is probably better than having to wait years for a "perfect" desktop environment to be developed. Time will tell...

    14. Re:Microsoft had it and lost it. by Brandybuck · · Score: 1

      Then Microsoft got smart (too smart for their own good) and decided it was more "efficient" to use shared libraries and that all such libraries should be kept in the %SYSTEMROOT% folder.

      This wasn't invented by Microsoft. They merely borrowed a good idea. Then goofed on parts of the implementation.

      Shared libraries are a Good Thing(tm). It avoids unnecessary duplication of library code on both persistant storage and in memory, and enables the updating of code in one location.

      You might think that with today's high speed networks, large harddrives and relatively cheap RAM, that this would no longer be a problem. Stop kidding yourself. At my work we build an embedded system where everything must be statically linked. We did an experiment once to see how much we would save if we switched to dynamically linked executables. The system went from around 500 MB down to about 125 MB. While these numbers are for a highly specialized system, that's still four times the HDD resources, and a similar hit to RAM resources, when using statically linked executables.

      Microsoft's problem isn't shared libraries, it's shared libraries with shoddy versioning. The problem is exacerbated by third party software dropping their shared libraries any damned place they please.

      --
      Don't blame me, I didn't vote for either of them!
    15. Re:Microsoft had it and lost it. by nathanh · · Score: 1
      After that Microsoft decided that it was too "troublesome" to have all of these separate configuration text files. They got smart here too (again too smart for their own good) and decided that it would be so much "better" to have all the settings in a single monolithic and monumentally fragile registry. (Watch out Gnome)

      GNOME does *NOT* have a single monolithic registry. Each section in your gconf is a separate file. The gconf-editor shows you a unified view but it's an illusion. The files are all separate. Corruption of one gconf file will not affect any of the others. You can backup a single file from gconf, or transfer it to another machine (and I have done this when migrating my evolution settings from one machine to another).

    16. Re:Microsoft had it and lost it. by nathanh · · Score: 2, Informative
      Yes indeed! Gnome seems to have a strange desire to mimic the bad sides of Windows while claiming to be an alternative. I'm not saying Gnome is worse than Windows, but seeing things like a registry-like configuration system (that, although it's more "open" due to XML, actually has a per-user daemon associated with it) and an extra virtual file system layer, makes me worry very much about its future course.

      Except gconf is nothing like the Windows registry.

      The Windows registry is a single file (the infamous REG.DAT) which is a single point of failure. The keys are undocumented thus leading to large 1000+ tomes describing the well-known keys but many keys are unfathomable.

      The gconf "registry" is an illusion. Gconf files are all separate. Go look in ~/.gconf and see every application has its own file. If any file is corrupted, it only affects that app. All the other files are not corrupted and other apps are not affected. Also the gconf schema permits human-discovery of the keys and values; the developers can attach a textual description to every key.

      The gconf "registry" is nothing more than a formalisation of rc-files (more commonly called dotfiles). Instead of each rc-file having a unique format, all gconf files are XML with a known schema. Instead of scattering rc-files randomly through ~/ with strange names, gconf files have a consistent naming scheme. Gconf is hierarchial, self-discoverable, and has event triggers so applications can receive feedback if values change.

      But gconf does not throw away the benefits of rc-files! Gconf files are still human readable, they are still separate files, you can pick them up and copy them around to other machines, etc. Gconf files are entirely unlike the Windows registry. It's a testament to the quality of the illusion that you saw gconf-editor and thought "it's a registry" but it's just an illusion. You are really seeing a tree view of separate gconf files.

      Factual clarification, the gconf backend can be swapped, so in theory you could have a single monolithic windows-registry-alike backend. But in practise the separate files are more convenient.

    17. Re:Microsoft had it and lost it. by Anonymous Coward · · Score: 0

      You can always edit the XML config files yourself. It's there. Actually, I *do* think a centralized configuration database is a good thing, MS's registry backfired only because:

      1. They used a proprietary binary format (so if it fails, you're SOL)
      2. They put system critical stuff in it so you can't even boot up to fix things.
      3. Too many undocumented features, keys, etc

      Otherwise it would have been a good system. GNOME's gconf doesn't have these problems and has a few other useful features. I guess it wouldn't work against them.

    18. Re:Microsoft had it and lost it. by Lord+of+Ironhand · · Score: 1
      Yes, I get your point that it's better than the windows registry. But for me, it still doesn't add anything, while it certainly makes things harder for me. Instead of just looking in ~/.[app-name] I also have to search in ~/.gconf/ . If I change the layout of the .xml file to suit my tastes or include comments, trust gconf to mess that up again. Also, while the hierarchical structure might be more convenient for gconf itself, it's almost impossible for me to create a configuration file from scratch like I do for many programs.

      For a Gnome-centric environment, gconf and Gnome's VFS system might be the best solution. But for someone who prefers to use the best app for the job regardless of its Gnome-ness and thus has to combine Gnome and non-Gnome programs, it's quite a messy situation.

      My idea of an ideal configuration system is one where a program has reasonable defaults, and allows me to override those with a simple dotfile.

      btw, I never saw gconf-editor, my analysis is based only on what I see from the filesystem side. The binary file backend is not the only thing that made the Windows Registry bad (in fact, a binary backend doesn't have to be bad at all, just look at many opensource database engines).

    19. Re:Microsoft had it and lost it. by nathanh · · Score: 1
      Yes, I get your point that it's better than the windows registry. But for me, it still doesn't add anything, while it certainly makes things harder for me. Instead of just looking in ~/.[app-name] I also have to search in ~/.gconf/

      I don't see why you think ~/.appname is OK but ~/.gconf/apps/appname is harder.

      If I change the layout of the .xml file to suit my tastes or include comments, trust gconf to mess that up again.

      No, it doesn't. Try it and you'll see. Gconf is smarter than that.

      Also, while the hierarchical structure might be more convenient for gconf itself, it's almost impossible for me to create a configuration file from scratch like I do for many programs.

      Once again, why is it harder? Have you ever created a gconf file from scratch? How hard was it? What were the hard parts?

      I don't mind discussing the theory, but at some point you have to back up the theory with the facts. As a person with 15 years (no shit) UNIX experience, I think gconf is a huge step in the right direction. I'm personally sick to death of rc-files. They're always different formats, and all the parsers have their own unique bugs.

      For a Gnome-centric environment, gconf and Gnome's VFS system might be the best solution. But for someone who prefers to use the best app for the job regardless of its Gnome-ness and thus has to combine Gnome and non-Gnome programs, it's quite a messy situation.

      You don't have to use libgnome to use gconf. The library was purposefully kept separate. In fact, gconf is an ideal way to add modern conf control to your application. Rather than reinvent the wheel (probably by writing your own parser, with its own unique bugs) just use gconf. The library is well debugged and fast.

      My idea of an ideal configuration system is one where a program has reasonable defaults, and allows me to override those with a simple dotfile.

      And gconf doesn't detract from that. It's up to the apps to have reasonable defaults. Gconf doesn't automatically make applications choose unreasonable defaults! You can still override the defaults with a simple file. But the file is self-documented and easily verified for syntax correctness (just pass the file through any XML verifier). All modern text editors (emacs/vim) have XML highlighting. Why are you opposed to it? The reasons you've given so far seem flimsy.

  89. Ouch! by Anonymous Coward · · Score: 0

    > !boot was executed when the filemanager loaded the directory

    Viruses heaven??

    1. Re:Ouch! by Jon+Chatow · · Score: 1

      Yeah, well, it was a trusting time, and the only files you could lose were work (OS on ROM) - and you've backed up, haven't you?

      --
      James F.
  90. Swing and a miss.... by neutralstone · · Score: 1

    It has been implemented in OS X.

    Not quite. You're thinking of the all-package-files-under-one-package-directory model. That's cool, and that's in OS X, but that's only *part* of ZI. But an example is worth a thousand flames. See here:

    http://zero-install.sourceforge.net

    Granted, the way you experience the download-open-run business on OS X is close, but the beauty is that because of the use of NFS, a remote directory (perhaps mounted under a directory like /Applications), looks like a local one. The real advantage is only slight in that you've only saved yourself the process of dragging the .app dir from some mounted DMG to /Applications---assuming Safari is set to have DMGs opened and mounted by default, it's admittedly not a huge gain in terms of usability. But still. With a smidge more automation, you would only have to click on a link in a web browser, and after a minute or so, without any other user intervention, the .app is up and running.

    Aditionally, they could make it so web browsing isn't necessary in many cases. An NFS directory entry provided by Adobe could be mounted under /Applications by default for example. You browse into /Applications/Adobe. Since Adobe/ is really an NFS share, new stuff just pops in there whenever Adobe comes out with anything new. You double click on "Photoshop" and an evaluation version of Photoshop starts up (after being cached from adobe.com). Later you decide to keep it, punch in the serial number, and all the other features activate. When you're offline, the latest cached version is used. When you're online and you run it, the ZI system looks for a more up-to-date point release and downloads it automatically.

    AFAIK, OS X does not have that....*yet*.
    1. Re:Swing and a miss.... by Anonymous Coward · · Score: 0

      assuming Safari is set to have DMGs opened and mounted by default

      FYI, it does. Same with .zip/.sit/and any other supported compression format.

      With a smidge more automation, you would only have to click on a link in a web browser, and after a minute or so, without any other user intervention, the .app is up and running.

      Now, perhaps I'm missing a vital point of information here, but isn't that opening a massive can of abuse-worms? Joe User, not the most brilliant person to ever click a mouse, finds some "neato-gee-whiz" link, clicks on it, and before he can do anything he's got a malicious app up and running on his machine. Sure, it's not like such a scenario is unheard of already, but now it's not just ActiveX or Outlook that's to blame, but the entire way the system runs its apps.

    2. Re:Swing and a miss.... by Anonymous Coward · · Score: 0

      > With a smidge more automation, you would only
      > have to click on a link in a web browser, and after
      > a minute or so, without any other user intervention,
      > the .app is up and running.

      That is great, and I read something similar is / will be available to Mac OS X, but doesn't that need sandboxing?

      Sandboxes in Mac OS 10.4?

      --
      Dennis SCP

  91. Clearing up a few things... by tal197 · · Score: 5, Informative
    I'm the author of Zero Install (and much of ROX) so I'd better clear up a few points here.

    The main one is that there are actually two installation systems being discussed in the article:

    1. ROX uses application directories (bundles). That means that instead of downloading gimp.tgz and then copying the files inside it all over the place (/usr/bin, /usr/share, etc), they stay in a single directory and you access them from there. That allows drag-and-drop installing, and uninstalling by deleting the directory.
    2. Zero Install is a caching network filesystem, where all software is available at a fixed, globally unique, location (like web pages).

    ROX application directories can be made available via Zero Install. In that case, running the application is a lot like running a program from a network share (but more aggressively cached). Or, you can DnD them onto your local disk manually (without Zero Install).

    You can also use Zero Install for non-ROX type applications.

    Secondly, when we say that application directories are self-contained, we mean that a single .tgz download corresponds to a single installed directory. Application directories can (and do) still depend on shared libraries (possibly other application directories).

    Without Zero Install, after installing an application by drag-and-drop, running it may tell you that you need to install some other library before it will work.

    With Zero Install, the application just tries to access it from its fixed location (URI) and it gets fetched.

    1. Re:Clearing up a few things... by Hektor_Troy · · Score: 1

      Am I entirely mistaken, or does Zero Install do more or less the same af Java Web Start? Or the other way around. I have no idea which came first :-)

      --
      We do not live in the 21st century. We live in the 20 second century.
    2. Re:Clearing up a few things... by Skapare · · Score: 1

      So what if I am installing some application which expects its files to be in various places like /usr/share or /etc/foo or wherever? Or is this concept only limited to applications that are aware of ROX?

      --
      now we need to go OSS in diesel cars
    3. Re:Clearing up a few things... by Brandybuck · · Score: 1

      ROX apps certainly do this. But non-ROX apps can as well, because ROX will set their paths as appropriate. The problem arises when you have stupid apps with hardcoded locations.

      --
      Don't blame me, I didn't vote for either of them!
    4. Re:Clearing up a few things... by jelle · · Score: 1

      Well, reading that description, I don't see anything useful that can already be given by a simple gui on top of 'apt-get install' and 'apt-get remove', except a bunch of missing important features such as: that the zeroinstall-ed program won't work if you don't have Internet connectivity when you run the program for the first time (think laptops for example).

      Sure, you could add that feature to zeroinstall, but then you're actually installing things, so maybe with that feature it should be called 'oneinstall'? And you may save a lot of time by just using the already existing package manager programs to do all that.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    5. Re:Clearing up a few things... by Skapare · · Score: 1

      The old unix way of separating things into different directories that are usually on different partitions or drives, has some advantages. Separating state files for the whole machine, state files per user, config files, and binaries (executable and libraries) that are shared between machines on NFS, is a big plus. OTOH, there is definite simplicity and manageability in having everything in one directory for a given application, except for common data more than one application might share.

      What would be nice is a way to structure data in a tree such that it appears like like an application oriented structure, where each application has its branch, then underneath that are the different aspects, like binaries here, libraries there, data files, state files, config files, and so on, while still being able to put everything in a specific filesystem where it is manageable in certain ways. One possibility, though messy, is to have an application area under each aspect, like /usr/bin/${appname}/ or /usr/lib/${appname}/. This is often done, especially under /opt/. But Linux does have a way to organize it so you can see it both ways: bind mounts.

      --
      now we need to go OSS in diesel cars
    6. Re:Clearing up a few things... by Ignominious+Cow+Herd · · Score: 1

      But if you didn't have Internet access the first time you ran it, how would you run it at all? For 'normal' installation you need Internet access or a CD first. Same here.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    7. Re:Clearing up a few things... by jelle · · Score: 1

      "But if you didn't have Internet access the first time you ran it, how would you run it at all?"

      Because I had internet access when I installed it. That is the big difference. My debian installation has many hundreds of programs. I just do an 'apt-get dist-upgrade' at home or in the office, and that updates everything to the very latest versions. I have time to type 'apt-get dist-upgrade' and then continue with other things to prepare for my trip. When the dist-upgrade is finished, I can trust on my harddisk containing all programs, so that when I start this program wehn I'm in the airplane, or run that script that needs this other program or library, that I won't be stuck with a message that I need to connect to the Internet to continue... And for the desktops, I can rest assured that all programs that I chose to install on my desktop will work even if I lose the connection to the Internet.

      "For 'normal' installation you need Internet access or a CD first. Same here."

      Nope, because zero-install defers the downloading to when you run the program first, and apt-get does it when it is convenient for me to wait for a download from the Internet.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    8. Re:Clearing up a few things... by Ignominious+Cow+Herd · · Score: 1

      So Run it one time before you go on the trip! Same deal. Same download time.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    9. Re:Clearing up a few things... by jelle · · Score: 1

      Exactly, and that is what I have problems with. Even starting a single program that then downloads its updated from the internet takes longer than just downloading and installing the update, for example, openoffice may not load/run the spelling check library/module until I click 'spell check', so it won't update the it until I try to use it.

      But additionally I have hundreds of programs that get updated when I do a dist-upgrade. I don't have time to start them all (for example because I have a flight to catch), and I have no way of predicting which programs I will actually need later when I'm in the no-internet zone...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  92. Plugins break this model by renehollan · · Score: 5, Insightful
    Like so many package management models, this one has benefits (simplicity, package isolation, multiple package version coresidence) and drawbacks, the biggest one being package isolation, also an obvious benefit.

    The trouble stems if you have some kind of base package, which is extensible via some kind of plug-in architecture, traditionally implemented with DLLs under Windows, or shared object library repositories under Unix and varients. Do the plugins form their own "application" or are they part of the application which they extend? What if I want to manage groups of plugins from a common source, independent of the applications extended? Do all applications have to be so isolated that they can only rely on a common base operating system that can't be extended by third parties (which would then be locked into their own application spaces)? What about multiple users sharing the same applications: will their saved files be intermingled?

    Blech. Sounds like the cure is worse than the disease.

    But, nevertheless, the idea of organizing independent applications in a convenient hierarchy is a desirable one. The trouble is that the traditional filesystem only offers a single hierarchy in which to organize them and so we struggle to determine the best hierarchy to use. We really need to organize sets of files that compromise a related unit ("file set", if you will, and "application file set", for the specific case of end-user applications) in multiple hierarchies: a new one created for the file set being added, and existing ones that the file set affects.

    "Symlinks!"

    What's that?

    "Symlinks!"

    Well, O.K. symlinks kind of solve this problem: pick a cannonical location in the file system for your file set and symlink secondary links to the appropriate files. This is a good idea, and has been used for ages to separate the reference to a file in the filesystem from where it is actually stored, but there are drawbacks:

    1. Symlinks are one-way. Typically you'll have an application directory full of files and subdirectories, and a bunch of links into that directory tree. What happens if you move or delete entries? Oh, woe to the who has broken symlinks.

    2. The context in which the symlink is interpreted may restrict where the target may be. Consider startup scripts added under /etc/rc.d/... They' don't do much good if they link to files in filesystems that haven't yet been mounted. Some restriction to where things have to be canonically installed depending on how and when they will be used is apparent. Fortunately, we generally don't have complicated hierarchies of what parts of the filesystem are mounted, but rather just a few: boot, locally mounted, remotely mounted. So, this problem is managable: we can inagine /opt and /usr/opt: the former available on the root filesystem.

    3. Application interaction. The trouble with having one application extend the capabilities of another (and the base O/S can be considered as "one application" from the perspective of third party software providers, other than the O/S provider) is that adding, moving, or removing files can or should affect running applications. Ideally, an action which would leave a symlink dangling should be picked up by any running applications that might care and either delayed until the application can cope, or vetoed. (And, I suppose, --force and --async are your friends here). Current practice in most package managers is to have pre-install, post-install, pre-deinstall, and post-deinstall scripts that try to deal with this inter-application issue. The problem is two fold: (1) the things necessary to be communicated to other applications are varied, and (2) the manner in which they are communicated differ between applications (never mind different versions of the same application). Ideally, the inter-application interface that deals with new, removed, or relocated external files should be (a) thin, and (b) supported by t

    --
    You could've hired me.
    1. Re:Plugins break this model by shirai · · Score: 1

      Couldn't we break the "single" hierarchy model after all? Maybe each drive could have multiple hierarchies that are mirrors of each other in structure only but unique in content. E.g.:

      - Applications
      - Config
      - Data

      These hierarchies are usually independantly looked at but you can "change view" to see, for example, all of the "application" files and "config files" in "/graphics/photoshop/".

      I know it's not 100% (for example, my "data" files aren't always tied to my application structure), but it has the benefit of copying an entire app and in some cases the data (e.g. an accounting programs data) at one time.

      With a consistent naming structure or perhaps the use of some GUID based ids for components, we could potentially solve dependency issues. Maybe another hierarchy then for GUIDs that would, of course, be protected like the app so one library couldn't masquerade for another.

      --
      Sunny

      Be my Friend

    2. Re:Plugins break this model by renehollan · · Score: 2, Interesting
      The FHS (File System Standard) is an attempt to provide a standard way of organizing the various parts of components, and limits the number of directories that need to be managed for each third party application.

      It's a good start -- I've used it as the "official" organizational standard when building an internal custom GNU/Linux distribution.

      But, it still enforces a particular hierarchy, generally to keep the traditional operating system components playing nice as new applications are added. There is no guarantee that it will be the most appropriate hierarchical organization in all cases: what about multiple versions of different applications that one wants to install simultaneously and their interdependencies? What about forked applications with different version number namespaces?

      While the FHS is good, and useful, it is but one hierarchy. To impose it is not good geek style, though neither is it wise to reinvent a perfectly good wheel. What we really need is a way to organize the files that make up applications in multiple hierarchies, as appropriate, letting each application also define an application-specific hierarchy as appropriate for it's novel organizational needs. This does not, of course, mean that application must define their own hierarchies -- emphasis should be on using existing, perfectly functional ones (not the least of which is the OS core, generally represented by something like the FHS) where possible. Leverage and reuse is the name of the game here.

      The issue really becomes one of managing all the different file hierarchies, and the effect that a file change or removal has on all the hierarchies in which it participates. Package management addresses these issues in the package management space, or hierarchy, as it were, but I find that it does so as a layer above the filesystem, requiring an all or nothing approach to reap the benefits. Furthermore, as application packages all installed "above" a core operating system, it strikes me that the core operating system should provide some facilities to simplify applicaiton interaction.

      I'm not sure that this means moving package management into the O/S and adding a layer of insulation above the filesystem. Instead, files in the filesystem should have attributes reflecting the various hierarchies or views as the parent responder suggests, in which the file participates: the file and directory hierarchy is but one such view, after all, and this view remains a useful one.

      I keep thinking that "callbacks" to application managers that can be registered on individual file changes within the filesystem remain the appropriate architectural model on which to build. Note that I would not necessarily think that individual applications be permitted to directly manage common "hot" files, like configuration files under /etc: the formats differ (though an XML-ized /etc can help here, bootstrapping it is a hassle). Instead, the O/S provides a set of interfaces to manage the configurable aspects it offers: /etc/services, for example, does is not generally edited by packages installers and deinstallers, but rather, an O/S facility is provided to manage changes to it, and other such configuration files: applications, after all, should know the configuraion changes they wish to make to other applications or the operating system.

      This reduces the filesystem callback requirements to ones of create, move, or remove alone, and not change. That should simplify things.

      Food for thought...

      --
      You could've hired me.
  93. Explinations? by t_allardyce · · Score: 2, Insightful

    Can someone actually explain why we use the unix file structure still? (ignoring backwards compatability and any stupid hardcoding) sure its nice having libraries and docs in various organised places, but surely theres a better structure that makes more sense for everyone and could still be technically superior? or maybe im wrong and unix filestructure is just so good i dont fully understand its hidden clockwork beauty yet?

    --
    This comment does not represent the views or opinions of the user.
    1. Re:Explinations? by Xoro · · Score: 1

      The latter.

      The system makes a lot more sense when you start thinking about either a) putting different parts of it on different machines or b) backing it up.

      You can fish through this to explore some of the ideas behind the structure. Is it perfect? No. But it's not as arbitrary as it seems at first, either.

      --
      Kill, Tux, kill!
  94. You should get out more by DavidinAla · · Score: 1

    If you think that more people program applications than use the GUI, you REALLY need to meet some new people. They're called users.

    And if you want to use Mac OS X on a new Mac, buy an eMac for $799. Or buy a used one on eBay. Either way, there are plenty of ways to use a Mac without spending $2,000.

    1. Re:You should get out more by UserGoogol · · Score: 2, Insightful

      A program, not to program. The noun, not the verb. By this, he meant that people are far more likely to be using Internet Explorer or Quake than the stuff like the Dock and Finder, which are only used for short periods of time while they make their way to the programs.

      Which is basically true. I suppose most people could probably even manage to use Bash to launch programs if they could still run their other programs just as well.

      --
      "Never attribute to malice that which can be adequately explained by stupidity." -- Hanlon's Razor
    2. Re:You should get out more by AstroDrabb · · Score: 3, Offtopic
      Look what you get with that $700 from Apple. The eMac is dog slow and has little room to upgrade. While the G5 may be a snappy processor, the G4 cannot hold a candle to Intel and AMD.

      My wife's great grandfather (81 yrs. old) just "got a dell dude" for under $700. For that price he got a 2.2GHz P4 with 256MB memory, 40GB 7,200 RPM HDD, 10/100 nic, winmodem, an OK Intel "extreme" graphics controller, 17" monitor, keyboard, scroll mouse and a scanner. Apple does not offer anything in the _average_ price range of todays computers.

      I just built my own computer for a little under $500 by just buying parts I needed. AMD 2500+ w/fan, 512 MB PC2700, 120GB 7,200 8MB cache HDD, 64 MB Gefore 3 Ti 500, DVD +- R-RW drive, new case and new KT600 based mobo all for under $500. I was able to shop around to get the best price, a feature not available from Apple.

      What does Apple offer for under $700 that can perform just as well? Nothing. IMO, a good performing Mac does not cost less then $1,200 or so.

      Apple put themselves into a niche market based on price and they seem happy there.

      And if you want to use Mac OS X on a new Mac, buy an eMac for $799
      I thought about getting an eMac before I purchased parts to build a new computer. However, in the end, it came down to getting the best value for my money. I would have had to spend $300 more for the eMac and had a computer that was considerably slower then what I could get in a PeeCee for $500.
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    3. Re:You should get out more by JohnsonWax · · Score: 1

      My wife's great grandfather (81 yrs. old) just "got a dell dude" for under $700. ... in the end, it came down to getting the best value for my money. I would have had to spend $300 more for the eMac and had a computer that was considerably slower...

      Er, what do 81 year olds do on their computers these days that they need such performance? In my experience, novices value usability and reliability foremost and these factors so rarely get mentioned in the great price comparisons.

    4. Re:You should get out more by nathanh · · Score: 1
      I just built my own computer for a little under $500 by just buying parts I needed. AMD 2500+ w/fan, 512 MB PC2700, 120GB 7,200 8MB cache HDD, 64 MB Gefore 3 Ti 500, DVD +- R-RW drive, new case and new KT600 based mobo all for under $500. I was able to shop around to get the best price, a feature not available from Apple.

      Sure, and now just add $220 for a copy of Windows XP and $400 for a copy of Microsoft Office and ...

      What? You mean you didn't factor in the cost of the software? But we all know software piracy is wrong, so you would never do that. Were you going to run Linux on that PC of yours?

      Remember that Apple doesn't sell hardware. They sell an appliance. That's a combination of software and hardware. The $800 e-Mac includes an OS, iLife, Appleworks, and some games. Your $500 PC comes with driver discs if you're lucky.

    5. Re:You should get out more by Anonymous Coward · · Score: 0

      They sell an appliance.

      I don't want an appliance; I want a chunk of hardware to run Linux or BSD. If Apple's prices weren't enough to turn me off of them, now I'm really unsold.

    6. Re:You should get out more by John+Starks · · Score: 1

      Uhhhhh... You still have to pay for MS Office for your Mac, too. If you factor the cost for that into the PC, you must also do so for the Mac.

      Oh, and try $99 for XP Home or $199 for XP Professional (your average user only needs Home). That includes service packs that even add new features from time to time. Compare that to $120 every time Apple graces the world with another minor update to OS X.

      I like OS X, but don't try to tell me that the TCO of Macs is about the same as that of a PC with Windows XP. It's much greater for a similar system.

    7. Re:You should get out more by jelle · · Score: 1
      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    8. Re:You should get out more by nathanh · · Score: 1
      Uhhhhh... You still have to pay for MS Office for your Mac, too. If you factor the cost for that into the PC, you must also do so for the Mac.

      I mentioned Appleworks. You can argue that Microsoft Office is much better than Appleworks, and I wouldn't disagree, but the fact remains that you get a useful word processor out of the box with Apple. You pay extra with that $500 PC.

      And Microsoft Wordpad does not count. Even in the most wildest stretch of the imagination, it is not a word processor.

      Oh, and try $99 for XP Home or $199 for XP Professional (your average user only needs Home). That includes service packs that even add new features from time to time. Compare that to $120 every time Apple graces the world with another minor update to OS X.

      I'm Australian. I used Australian prices.

      I like OS X, but don't try to tell me that the TCO of Macs is about the same as that of a PC with Windows XP.

      TCO has very little to do with the purchase price.

    9. Re:You should get out more by N1KO · · Score: 1

      So, inferior hardware should be more expensive because people don't really need so much speed?

    10. Re:You should get out more by John+Starks · · Score: 1
      Appleworks, sure. But it's a word processor. Office is an entire suite. You can even buy Word separately. (Though, admittedly, it's $230.) In any case, there are plenty of free word processors if you don't need the power of Word, so your argument still doesn't hold water.
      TCO has very little to do with the purchase price.
      Yeah, my fault. I meant purchase price.
    11. Re:You should get out more by N1KO · · Score: 1

      I'm sure OpenOffice, Abiword or LaTeX will provide all the features Appleworks does and they are free. My sister's new computer came with openoffice. Anyway, it doesn't really matter since I still haven't met anyone who paid for MS Office, I only know of big institutions licensing it.

    12. Re:You should get out more by yuri+benjamin · · Score: 1

      I suppose most people could probably even manage to use Bash to launch programs

      This is exactly what I do, from an xterm on my icewm desktop.
      I discovered that if I want to launch another app, it's quicker to Alt-Tab to the xterm, type the first few letters of the app and tab-complete it, then shift-7 (to add the & so I get another bash prompt), then enter, rather than futz around hunting for the shortcut (which would require minimising everything to get to the desktop) or hunting through the K-menu/start-menu/whatever.
      Some people find the gui quicker. I find the mouse too fiddly.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
    13. Re:You should get out more by nathanh · · Score: 3, Insightful
      Anyway, it doesn't really matter since I still haven't met anyone who paid for MS Office, I only know of big institutions licensing it.

      I'm sure most people you've met haven't paid for Microsoft Office, which merely strengthens my point. Most people pirate their software. That's why $500 PCs seem like such a bargain; people aren't paying for the software they install on it.

      What's funnier is all the people, including yourself, trying to tell me about OpenOffice (as if I didn't already know). Face facts, people. The average person installs a pirated copy of Microsoft Office. Stop fooling yourself because you aren't fooling anybody else. You and I both know that 99% of those $500 PCs are going to be running $2000+ worth of pirated software within the week.

      The point, as always, is that with a Mac you are fully legit from the start. With the $500 PC, unless you run Linux and OpenOffice (which by all reliable sources is less than 1% of the desktop market) then you're up for at least another $500 to get the basic necessities of software. Anybody who mentions "OpenOffice" and "Linux" is ignoring the reality of the situation.

    14. Re:You should get out more by AstroDrabb · · Score: 1
      Sure, and now just add $220 for a copy of Windows XP and $400 for a copy of Microsoft Office
      I use Fedora Linux and I was able to get it on sale for $0.00, I also was able to purchase Open Office for the same price.

      I am by no means an MS fan and cannot stand the company. However, you can get MS Windows XP Home from tons of places on the web for $99, and most home users do not need the $400 dollar version of MS Office and can get a much cheaper version. Even if I added those two to the price, it is still cheaper and has far more performance then a dog slow 800HMz G4 eMac with 128MB of memory.

      Did you also skip the first part of my post? My wife's great-grandfater was able to get a Dell for under $700 that comes with MS Windows XP home, Corel Office, a scanner and a few other apps like Quicken and I forgot to mention the CD-RW with a copy of Roxio. That bundle has more features and far more performance then the more expensive and slower eMac for $800.
      What? You mean you didn't factor in the cost of the software? But we all know software piracy is wrong, so you would never do that.
      No, I don't pirate software. If I need to run MS Windows software, I can use my Universal MSDN subscription to run any MS Software I may need, which my company purchases for me each year.
      Were you going to run Linux on that PC of yours?
      Yup, that is all I have ran on my home systems for a good 4 years now.
      Your $500 PC comes with driver discs if you're lucky
      Actually, the DVD+-RW came with PowerDVD and a version of Nero. The mobo came with 4 different applications, anti-virus, system protection and some other ones. Though I don't need any of them since I run Linux.
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    15. Re:You should get out more by AstroDrabb · · Score: 1
      I'm sure most people you've met haven't paid for Microsoft Office, which merely strengthens my point. Most people pirate their software. That's why $500 PCs seem like such a bargain; people aren't paying for the software they install on it.
      No, most people get a home version with MS Word and MS Excel or maybe MS Works, Corel Offie or even some OEM's are shipping Open Office now with the purchase of their computer. The average Joe Home User does not pirate software, they wouldn't know how to do it or where to look. It is your typical teen user that is pirating software. There are also people that pirate software for Mac as well. I bet there are tons of Mac users that have a pirated version of Photoshop or one they copied from work.
      unless you run Linux and OpenOffice (which by all reliable sources is less than 1% of the desktop market)
      Why do all Apple zealots think that Apple has this continual 5% market share? I have never seen anywhere that put Apple's dektop market share at or near 5%. I guess you missed this /. article about how Desktop Linux Share Overtaking Macintosh? According to the research company IDC, Linux has 25% share in servers, 2.8% in desktops. This research is from 2002, so the numbers are higher now and should put Linux desktop share at 3.2%, higher then Mac OS.
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    16. Re:You should get out more by nathanh · · Score: 1
      The average Joe Home User does not pirate software, they wouldn't know how to do it or where to look. It is your typical teen user that is pirating software.

      You're living in denial. The average home user asks their teenage son/daughter to get the software for the new computer. You're off your rocker if you think most people are legit.

      Why do all Apple zealots think that Apple has this continual 5% market share? I have never seen anywhere that put Apple's dektop market share at or near 5%.

      Damn, dude. Who are you talking to? I didn't say anything about Apple's market share. That "5%" figure is yours, not mine. Apple Zealot? My desktop has been Linux since 1992.

    17. Re:You should get out more by nathanh · · Score: 1
      No, I don't pirate software. If I need to run MS Windows software, I can use my Universal MSDN subscription to run any MS Software I may need, which my company purchases for me each year.

      Giggle. Yes, I suppose that $500 PC really is cheaper when your company purchases $2500 worth of MSDN subscription for you per year.

      Now, your average user, I suppose your company buys them an MSDN subscription as well. No? Well then you realise you're an exception.

      Yup, that [Linux] is all I have ran on my home systems for a good 4 years now.

      Good for you. I'm the same. I feel no need to pay for software when Linux provides 90% of the functionality at 0% of the price. But you do realise we're both in the minority. Most users run Windows. Most users don't pay for it. Most users don't have a prepaid MSDN subscription. So why don't we stick to most users, because you're a very exceptional person.

    18. Re:You should get out more by AstroDrabb · · Score: 1
      You're living in denial. The average home user asks their teenage son/daughter to get the software for the new computer. You're off your rocker if you think most people are legit.
      So do you steal software? Have you stolen software for your parents, aunts, uncles, cousins, sisters, brothers, etc? Every one of my extended family members that I can think of have a home computer. They all got the software with their purchase of that home computer. Extra software is purchased. I honestly could never see my aunts, uncles, sister or parents asking to get them stolen software.
      Damn, dude. Who are you talking to? I didn't say anything about Apple's market share. That "5%" figure is yours, not mine. Apple Zealot? My desktop has been Linux since 1992.
      Sorry about that. I was assuming you were an Apple zealot, and I continually hear them claim Apple has this 5% market share. Linux has been past that 1% desktop share (that even you as a Linux user claims) for some time now. MS has only 50% of the server market and Linux has grown fast to 25% of the server market, not very far behind, and if the Linux trend continues, it can pass MS on the server in a few years. Yes, the desktop is another battle, though 2%-3% now is not bad and can only get better, especially with advancements in the 2.6 kernel, KDE 3.2, Gnome 2.6, and Longhorn being a good 3 years away.
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
  95. Re:YAWN. That is SO 4 years ago by juhaz · · Score: 1

    "Linux" isn't copying OS X. Linux isn't a single entity. Linux developers aren't a hive mind. What's so very hard to understand about that?

    What comes to ROX folks, they're quite openly stating they're copying RISC OS. Oh yeah, by the way, the ROX-desktop project has existed before OS X.

    About 4 years to be exact, I guess you at least had the sense to get subject right, even if it was by accident.

  96. Re:Why I dislike about installing softwareunder Li by ctr2sprt · · Score: 1

    It's not reasonable to require nontechnical users to compile their own software from source. They just don't know what they are doing, so as soon as something unexpected happens they have no idea how to deal with it. Considering how many open source projects totally or partially ignore --prefix (how would a newbie who's never compiled his own software discover that flag, by the way?) that's actually a pretty likely outcome.

  97. More information wanted... by rice_burners_suck · · Score: 1
    This is something even the greatest of technophobes could understand and use with ease.

    I don't know... It sounds a lot like the way things were when most "Joe Users" used MS-DOS and knew only about 5 DOS commands. There was no such thing as "installing" software. If you had a hard drive (in the latter years of DOS, I suppose), you'd stick the program disk in your floppy drive and copy the files into a directory on your hard drive. Getting rid of the application was as simple as a few delete commands.

    So why do we have DLL hell and all the other problems with installation and removal of applications? Code reuse might be the primary reason. The idea was that making lots of copies of the same code is wasteful on the hard drive, and I think that even now, when the cheapest drives are zillions of gigs in capacity, there is still the issue of RAM: The OS knows, when you load the same shared code from different programs, that it should employ a copy-on-write page for that code. But when you load exact copies of the same code stored in different locations on your enormous hard drive, the OS has no idea, and therefore, the RAM is being wasted. Multiply 20k here, 200k there by the number of programs you have running simultaneously (I usually have about 80 processes running at any one time on my desktop box, many more on my various servers), and you increase your memory requirements. "So buy more RAM" might seem like the solution, and it works, but it costs money.

    What do I think about this Zero Install idea? If they do what I think they do with NFS, it's very innovative. Great idea for n00bies. I'll have to look into it a lot more to see if it's right for more "active" users as well.

    1. Re:More information wanted... by djr1952 · · Score: 1

      What do you mean "make a subdirectory and copy the disk into the directory"? I knew user who would skip the "make subdirectory" part and just copy the disk to the harddrive, because it was easier to find the files.

      --

      -- DonJr --

    2. Re:More information wanted... by spitzak · · Score: 1

      It should be possible to use a hash to find identical copy-on-write pages loaded by the system and share them. This should allow non-shared libraries to become "shared" in memory, and would probably reduce memory usage. There may be startup-time issues, though: no matter how fast the hash is (even precomputed and on-disk), if there is a "hit" it has to compare the full 4K to make sure, so the better the sharing works, the slower programs load...

  98. Partitioning applications by jyoull · · Score: 1

    This method of partitioning applications in their own directories also allows installing multiple versions of any application trivial. You mean, like we used to do on MS-DOS systems?

  99. Managing configurations ... by vinod · · Score: 2, Insightful

    After install issues, the next pain in managing application is in its configuration.

    Sample configurations for specific type of deployment (such as home use, enterprise, high performance etc.) are extremely valuable.

    A similar mechanism is very much appreciated - though this also requires active involvements from user community.

    -vinod

  100. OS X package? by zpok · · Score: 4, Interesting

    So if I'm right, part of this article is about something akin to OS X packages? You install an application by dragging-dropping it somewhere (preferably the Applications directory) and un-install by unceremoniously dropping it in the waste basket.

    And if I get it, just like in OS X, this doesn't mean your application can't use or install other resources in the Library.

    Pretty cool, that's 90% of my Linux gripes gone in one big swipe. I hope this can become mainstream. It also means I can stop posting on the importance of simple installers ;-)

    --
    I think, therefore I am...I think.
  101. Uninstall by deleting icons...nice! by iamwahoo2 · · Score: 1
    I am sure that everyone here has had the same experience as me where somebody tells you that they removed a program when in fact all they did was delete the icon from the desktop. Well, now they will actually be deleting programs!! Yippee.

    The idea seems like such a simple and obvious way to simplify computers. Why didn't I think of that!!

  102. Re:Why I dislike about installing softwareunder Li by reallocate · · Score: 1

    You know, the idea of a personal computer is to avoid having the ask someone for permission to use it.

    --
    -- Slashdot: When Public Access TV Says "No"
  103. Re:Hmm.. Yes you missed this by Anonymous Coward · · Score: 0

    Yeah I know what you mean. We all know that at the moment when you download a new multi megabyte application for the first time it's an instant process which takes no longer than a fraction of a second. The idea of having to download an application for the first time just sounds slow to me!

    Oh hang on a minute, those two are exactly the same thing!

  104. Re:Why I dislike about installing softwareunder Li by jptxs · · Score: 2, Insightful

    I think the idea is that the type of user we're talking about is not likely to be compiling from source. If deb or rpm gave the same sort of freedom as your average configure script, then we'd be on to something...

    --
    we speak the way we breathe --Fugazi
  105. Teletubbie Icons by rixstep · · Score: 1

    As long as all these 'followers' are determined to ape everything the Beast does, down to the Teletubbie look of Windows XP, how can Linux fail?

  106. What about shared libraries and memory? by rollingcalf · · Score: 3, Insightful

    I like the concept of keeping all the files for each app fully contained in its own directory, even if it means some libraries will be redundantly duplicated across the disk. Disks nowadays have huge gobs of space and are cheap.

    However, memory isn't so abundant. When loading up an app, is the system intelligent enough to recognize that a given library was already loaded into memory from a different directory, and therefore it won't load another copy of the same library?

    --
    ---------
    There is inferior bacteria on the interior of your posterior.
    1. Re:What about shared libraries and memory? by Sax+Maniac · · Score: 2, Informative
      Probably not, but I recall reading that modern virtual memory systems are so good, they reduce the actual benefits of dynamic libraries down almost nil.

      I think future versions of Windows know how to scan the disk periodically, find redundant files, and essentially link them together automatically. That's pretty cool - you deliver your app with FOO.DLL version whatever and drop it in your app's directory. If someone else installs a FOO.DLL in their app's directory that matches the exact same bits, the system coalesces them together. Then you upgrade application #1, which installs a modified version of FOO.DLL, and the OS unshares them.

      Yeah, it's copy-on-write for files, but the new bit is the auto-coalescing.

      To me that sounds like all the benefit of shared libraries with none of the DLL hell. It will be interesting to see if it actually works.

      --
      I can explanate how to administrate your network. You must configurate and segmentate it, so it can computate.
    2. Re:What about shared libraries and memory? by swb · · Score: 2, Insightful

      I'd like to see all apps ship with whatever library they came with, located in the apps directory. When an app launches, have the OS check to see if the libraries required are loaded. If they are, don't load the local libraries, just the unique ones. Make it a run-time option for all apps of something like "Always load local libraries" in the off case that there should be a problem.

      This way you could still have systemwide shared libraries that are updatable, but it wouldn't be manditory to use them if it was a problem.

      I think that's largely what you're advocating.

    3. Re:What about shared libraries and memory? by Lord+of+Ironhand · · Score: 1

      I do this in Linux too, as a cronjob. My own implementation is rather complex and "custom built", but I'll try to type a quick&simple version in bash:

      !!! FOR INSPIRATIONAL PURPOSES ONLY. UNTESTED. COULD DESTROY ALL YOUR FILES !!!

      # Start code

      find / -type f | (
      DB="/tmp/sumdb"
      while read; do
      SUM=`md5sum "$REPLY"`
      DBDIR="$DB/${SUM:0:1}"
      DBFILE="$DBDIR/${SUM:1:2}
      if [ -f "$DBFILE" ] && RESULT=`grep "${SUM:0:32}" "$DBFILE"`; then
      # We have a dupe...
      echo ln -f "${RESULT:33}" "$REPLY"
      # Remove "echo" above to actually do something instead of just list dupes
      else
      # Haven't seen this file before
      mkdir -p "$DBDIR"
      echo "$SUM $REPLY">>"$DBFILE"
      fi
      done
      rm "$DB"/?/??
      rmdir "$DB"/? "$DB"
      )

      # End code

      It might be more useful if applied to specific subtrees that often contain duplicate files; espacially since it doesn't work accross file systems and is quite slow (runs md5sum on every file).

    4. Re:What about shared libraries and memory? by jelle · · Score: 1

      "I think future versions of Windows know how to scan the disk periodically,"

      Ah, another built-in system slowdown-to-halt because-our-package-management-system-sucks.

      AAAAAH!. Time to frag, uh, defrag. No, registry cleanup! No, emptry trash can! No, virusscan!, No scan for & remove spyware!, No weekly/monthly security-patch post-install reboot!

      Talk about ease of administration...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    5. Re:What about shared libraries and memory? by jelle · · Score: 1

      Your idea will result in applications that suddenly work differently/stop working, depending on which other applications were started first. Cure worse than the disease. Totally nuts.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    6. Re:What about shared libraries and memory? by swb · · Score: 1

      But isn't that the same thing that happens when a shared library itself is updated in the current shared library model? And worse, there is absolutely nothing you can do about it, since there is no application-specific library set you can specify as the default.

      Perhaps making "use local libraries" the default would change this, but I really don't see how it would be any more chaotic than a shared library update generally.

    7. Re:What about shared libraries and memory? by jelle · · Score: 1

      In what you suggested, if there are differences between the 'local' library and the global library, then sometimes the program will run with version 1 and sometimes it will run with version 2.

      Those differences can exist, even if the libraries were compiled from the same version of their source code, because the local libraries are compiled by whoever makes the 'bundle', and that person may have used a different version of the compiler, or may have used diffferent versions of include files for APIs to other libraries, or may have compiled it with different compiler flags. That way the two libraries will both say that they are 'version 1.2.3.4', but they will not be exactly the same. Even if the differences are only small such as differences in run-time of certain functions, that still may trigger race conditions with one of the two libraries and never having problems with the other.

      Besides that, how do you deal with library codependency issues? Suppose liba and libb where liba_v1.3 is shipped with proga, and liba_v1.3 requires libb_v1.2.5, so libb_v1.2.5 is shipped with proga. But then libb_v1.2.5 has a known bug for your printer, and for libb_v1.2.6 the bug is fixed. Then you won't be able to use proga with your printer, even though proga may work perfectly fine with liba_v1.3.1 and libb_v1.2.6 and therefore with no bugs for your printer.

      It for when it gets more complicated, that is why we have installers and packages with dependency lists.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  107. Wrong by RdsArts · · Score: 2, Insightful

    You make the assumtion someone knows how to compile software. The massive, overwelming majority do not.

    Most just want to grab a binary, or a AppDir that will compile itself without you even needing to know how, and run it.

    Let's stop pretending it's the user's fault for not knowing how to compile software, and move to something that works across the board already.

    1. Re:Wrong by SPK · · Score: 1

      Most can't compile software. Fine.

      Users on a system with a separate Admin should ask that Admin to install packages for them -- that's what Admins do, after all. On a single/home user system, the user = the Admin, can log in to root, and install the software ... and even in XP it is *best* if only an Admin can do this, and not a regular account, for the sake of avoiding trojans, viruses, etc. And on your home system, if you do not care about security, well then, just run as root.

      So, to answer *your* point: a user wants to 1) download a file, and 2) run it. Such a user should 1) find a precomiled binary (tarball), 2) download it, 3) un-archive it in a directory, and 4) run it. This works for *a lot* of programs. This *is* analogous to 1) finding a windows .exe installer, 2) downloading it, 3) double-clicking to install it and click *yes* to a bunch of install screens, and 4) then running it.

      That leaves the original poster's question: I want to empower my users to install their own software (that means, not need root access), and my response is: an empowered user is an educated user. One can always install from source, and if that does not work, one can install from a pre-compiled tar-ball most of the time, and simply set it up locally. And the following claim is not elitist in my opinion: if a user cannot un-tar a file and run a file that way, they have little business installing software on an Adminned system. By analogy, you don't need a licence to ride a bike, take a taxi, or take a bus, but if you want to drive a car on your own, you had better learn how -- otherwise get others to drive you, but don't complain it is too hard.

      --
      Regnant populi. (The people rule.) Pregnant ropuli. (The snake will soon lay eggs.)
    2. Re:Wrong by RdsArts · · Score: 1

      You say 'well, if they can't compile, get the binary.' Which one? The RedHat one? The SuSE one? What if they use Mandrake, but there isn't a RPM? What then? They should be left out? Excluded because the software they want isn't popular enough to have a package yet?

      I'm not talking about GAIM or Mozilla. I'm talking about new, lesser known stuff. I'm talking about stuff like what I write. Stuff that probably isn't going to be in a distro, ever, but that some people might want to use. Stuff I have no way in hell of ever making binaries for every distro for, and that I don't want to exclude people from being able to use just because they don't know how to compile software.

      The other main problem with binaries is that most require root access to run. For that reason alone, 9/10ths of all GNU/Linux software will never be run, because people do not want to go to root just to try something out. Once it is popular enough, it will be available to them via their distro, so installing it by hand is no longer a problem at that point. Thought the fact they'd have to wait till that point to try the software is.

      Security, here, is a non-issue. You've installed the software, the door for attack is now open, and your in the hands of the software's coder. Installing it as root is not less dangerous, it's even more dangerous. This is their home computer, if anything installing as a regular user is better because it keeps it from attacking the core OS componants. At least you can recover something if they do some nasty stuff. If you install a trojaned binary as root, how deep does that damage go? How deep if it were just your user account. In both cases, problems happened, but in one at least there's a chance of some recovery.

      It's for these very reasons that I program all my software in Python and Ruby and distribute them as AppDirs. So the user just drops it in and clicks without thinking. As they should be able to. They aren't running a network, so if they can't compile it doesn't matter. What does is that we stop treating them as and making them feel like lesser people just because we can.

  108. Zero. by bfg9000 · · Score: 1

    Zero Install: The Future of Linux on the Desktop?

    No, Zero Installs is the future of Windows. Give it 10 years -- there will be zero installs done worldwide. RMS will end up buying the newly-defunct Microsoft for $3000 just for the nostalgia value (the same way collectors buy Nazi paraphernalia)...

    --

    I'm not normally an irrational zealous dickhead, but I figure "When in Rome..."

  109. If drivespace (cache) no longer matters, or memory by Assmasher · · Score: 1

    ...is not important, then why not just have everything statically linked and erase the biggest problem with Linux applications today, the dependency issues.

    This is doing the same thing except to extremes.

    --
    Loading...
  110. BitRock by joio · · Score: 1

    For alternatives, checkout:

    Bitrock: kind of "Installshield" for linux
    Installshield multiplatform: The actual Installshield for Linux (written in Java and a bit ugly)
    Autopackage: Kind of universal installer

  111. OT by Anonymous Coward · · Score: 0

    Ummm firefighters offensively fight fires all the time, they are called controlled burns to eliminate fuel accumulation, renew the Earth, etc. So the quote actually still works fairly well, sometimes the best defense is a good offense.

  112. Moderator trolls. by expro · · Score: 5, Insightful

    It is easier for moderators to mark things as a troll than to accept an OBVIOUS fact, since it flies in the face of the religion surrounding infallability of Apple.

    But for a critical thinker who uses a personal OS X machine, (especially who has installed a fair amount of software):

    Go to to your Applications directory and ls -la to see just how many are owned by the primary user instead of root. And then see if the primary user happens to also be a member of the Admin group, which has write access to all the files there owned by root/admin. This also applies to the Applications directory itself.

    On my powerbook, taking installation defaults, over 95% of the apps installed in the Applications directory are writable by the primary user.

    This seems inexcusable from a virus security perspective.

    On Linux, 0% of my apps are writable by the primary user.

    1. Re:Moderator trolls. by .com+b4+.storm · · Score: 4, Insightful

      On my powerbook, taking installation defaults, over 95% of the apps installed in the Applications directory are writable by the primary user.

      This seems inexcusable from a virus security perspective.

      That sounds reasonable, until you remember that such places are writable only after the user authenticates. This means entering the administrator password, allowing installer X or operation Y in the Finder to go ahead and write to that directory. I don't see how that's any less secure than what most moderately experienced Linux users do - ./configure ; make ; sudo make install

      --
      "Wow, you're like some kind of superhero able to ward off happiness and success at every turn."
      -- Ryan Stiles
    2. Re:Moderator trolls. by Anonymous Coward · · Score: 0

      Are you even using Mac OS X? The default user can write to the Applications directory without any additional authentication required. This is less secure than most other Unixes.

      You are thinking of the System directory.

    3. Re:Moderator trolls. by .com+b4+.storm · · Score: 1

      Are you even using Mac OS X? The default user can write to the Applications directory without any additional authentication required. This is less secure than most other Unixes.

      I'm running OS X 10.3.3. And no I'm not "thinking of the System directory" at least not in particular. Whenever I perform any write operation on /Applications, whether it be installing, copying something there with the Finder, etc. I'm prompted to authenticate. Under previous versions of OS X, I only had to authenticate when programs were installed. Again, that's not much less secure than sudo make install or sudo rpm -Uvh somepackage.rpm.

      --
      "Wow, you're like some kind of superhero able to ward off happiness and success at every turn."
      -- Ryan Stiles
    4. Re:Moderator trolls. by Anonymous Coward · · Score: 0

      Not having the ability to make "system" modifications is not a significant encumbrance for viruses (except on systems with a large amount of users, but those users wouldn't be using GUI apps, anyhow).

      The most important stuff that you don't want destroyed is usually owned by the user, anyhow.

      Why would a virus need to infect installed applications? Preventing it would, at best, reduce the damage a particular type of virus inflicts. If I were a virus writer, that definitely isn't what I would target (maybe if it were the 80s or early 90s).

      Besides, local privilege-escalation holes probably still exist in all major operating systems.

    5. Re:Moderator trolls. by Anonymous Coward · · Score: 0

      OK, it sounds like you are using an account without admin privs, which isn't the default setup.

    6. Re:Moderator trolls. by .com+b4+.storm · · Score: 1

      OK, it sounds like you are using an account without admin privs, which isn't the default setup.

      Yes I am, and yes it is. I have administrator privileges, and that's the way it was configured by default on Jaguar after I set up my Mac for the first time. Believe it or not, I do have a fair idea of what I'm talking about when it comes to my own computers. :)

      --
      "Wow, you're like some kind of superhero able to ward off happiness and success at every turn."
      -- Ryan Stiles
    7. Re:Moderator trolls. by Anonymous Coward · · Score: 1

      Yes, but the reason you were moderated up to 5 is because you made it sound like "OS X is invulnerable to this", when in fact, for most users, it is not.

    8. Re:Moderator trolls. by Davoid · · Score: 1

      I am running Mac OS X Panther v10.3.3 with all updates current as of today. I log in to the machine as the "owner" or "primary user"(not root). This makes me a member of groupid 80(admin). I can now write ANYTHING to and from the /Applications folder. No further authentication required. This is the default setup on ALL Mac OS X 10.3.3 systems. Have you done some other change to your system?

      I have about 20 systems running 10.3.3, they all behave this way.

      -DU-...etc...

      --
      "Don't sweat the technique."
    9. Re:Moderator trolls. by .com+b4+.storm · · Score: 1

      You read far too much into what I said. :) I said I don't see how the security as I've known it to work is any less secure than the way most Linux/BSD users run any ol' makefile or rpm install script as root.

      As far as I know, going back to Jaguar, applications have required authentication to touch the /Applications folder, even if those earlier releases of OS X did not require the user to authenticate.

      Besides that, with the 10.3.3 patch (which added more stringent authentication), things have only gotten better. And as more and more users switch to Panther or buy Macs that have it, and as Panther continues to evolve, the security will most likely only improve.

      Mac OS X is not "invulnerable" but it is a solid system, and it is becoming more robust as time passes. Besides, when you get right down to it, I could care less about stuff in my /Applications folder... it's everything in $HOME that I am worried about. :) But without some ridiculous requirement like having to enter my password everytime a program wants to save a document, or update its XML preferences file, that will always be a potential "vulnerability" as well.

      --
      "Wow, you're like some kind of superhero able to ward off happiness and success at every turn."
      -- Ryan Stiles
    10. Re:Moderator trolls. by syukton · · Score: 1

      If you, the (non-power) user, can write to the application's main executable file, then you can conceivably open it up in vi and put malicious machine code in there. Or, ideally, copy your trojan over the top of the application.

      I think that's the issue being raised, not how file ownership affects installation or the like.

      --
      Reinvent the wheel only at either a lower cost, greater effectiveness, or your own personal enrichment and satisfaction.
  113. Sha right by ArmorFiend · · Score: 1

    If I had a nickel for every time my granma asked me to install a pattern scanning and text processing language (awk), or a program to concatenate and print files in reverse (tac), I'd have (lessee, nothing times nothing ... carry the nothing): NOTHING!

    There's just nothing on linux that Joe Sixpack wants, that isn't done elsewhere.

  114. putting things in the path... by toast0 · · Score: 1

    Are there any provisions to make the programs i 'install' with ROX accessible from the path... so after I installed gimp, i could start it from the command line, or the run application window (alt-f2 in gnome), etc... or do i have to keep launching it from the folder i DnDed

    1. Re:putting things in the path... by BloodyLoony · · Score: 1

      Well if everything was installed in, say /apps/ then the command 'gimp' could run the application contained in /apps/gimp/ - I guess there could be problems with this, though...

    2. Re:putting things in the path... by djr1952 · · Score: 1

      Well you just do:

      ln -s /uri/)install/gimp.org/gimp4.5/app /usr/bin/gimp

      Or something else to that effect.

      In order to make it runable from the PATH.

      If you look at the "Zero Install" docs they show a number of ways to handle things like this.

      --

      -- DonJr --

    3. Re:putting things in the path... by Ignominious+Cow+Herd · · Score: 1

      There are currently 3 ways to do this:

      e.g. assume the app is in ~/Apps/Gimp-2.0

      ~/Apps/Gimp-2.0/AppRun
      ln -s ~/Apps/Gimp-2.0/AppRun /usr/bin/gimp

      or patch bash to understand AppDirs and just type
      ~/Apps/Gimp-2.0

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
  115. Java Web Start by bentcd · · Score: 1

    This sounds an awful lot like Java Web Start, except JWS uses http to fetch archives.

    And, of course, it's mainly used for distributing Java apps :-)

    --
    sigs are hazardous to your health
    1. Re:Java Web Start by tal197 · · Score: 1
      This sounds an awful lot like Java Web Start, except JWS uses http to fetch archives.

      And, of course, it's mainly used for distributing Java apps :-)

      Zero Install uses HTTP too (any web server will do if you want to provide Zero Install software).

      See the Documentation for packagers for a step-by-step guide.

  116. Mod parent +1 PLEASE !!! by Anonymous Coward · · Score: 0

    LOL!!!

  117. Re:Why I dislike about installing softwareunder Li by Anonymous Coward · · Score: 0

    You're also assuming that the app is built with autoconf and automake, which is no the case for every application in Linux. This isn't necessarily a bad thing, since auto(conf|make) are horrible, disgusting hacks, perfectly at home with the rest of the GNU project.

  118. What about... by iantri · · Score: 1
    What happens when the publisher of the app disappears? Wouldn't it become impossible to install the app?

    Or what if the site is temporarily down?

    Personally, I'd prefer a good old packaging format (rpm, deb, etc)...

    1. Re:What about... by Ignominious+Cow+Herd · · Score: 1

      What happens when the publisher of the app disappears? Wouldn't it become impossible to install the app?

      The SAME thing that happens to deb/rpm/tgz apps when their publisher disappears. If there are no mirrors they go bye-bye.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
  119. Just like Java Web Start by Anonymous Coward · · Score: 0

    In JWS you click a link and it is automatically and SECURLY cached locally where updates are automatically received and uninstalling is a single click away. This is also an open standard called JNLP.

  120. Mod parent +1 by Anonymous Coward · · Score: 0

    Great analysis!!!

  121. It's not that complex either by argent · · Score: 1

    First of all, there is a closer relationship between OS 9 apps and OS X apps. Well behaved OS 9 apps came in a folder (typically named something like "MyApplication F" where the final F was an italic "f") with the application and support files. Badly behaved applications that used Windows-style installers put junk everywhere, but that was *those* applications that did it. There's nothing in Mac OS that required that kind of nonsense. Apple used installers for doing OS updates, yes, but that's outside the scope of an application package system. Where applications use installers, on Mac OS or Mac OS X, I always make a point of mailing them and asking them to just use an Appdir. Occasionally they respond positively and quit using installers.

    Second, you have to store personal preferences somewhere. Storing them in XML files in the user's directory or in dotfiles or in directories, any of them have the advantage that they're in a human-editable format. Corruption, if it occurs, is easily dealt with. Automatically "fixing" corruption after it occurs without the user's explicit request? No thanks, I'd rather have a try at fixing it myself, and figuring out how it happened so I can keep it from happening again.

    Finally, the complexity of the Mac OS X boot sequence is completely outside the scope of a packaging system. How does ROX make it easier to configure Lilo?

    1. Re:It's not that complex either by Anonymous Coward · · Score: 0

      behaved applications that used Windows-style installers put junk everywhere, but that was *those* applications that did it.

      This is just plain false. Apple told people to put shared libraries in the System Folder (or the Extentions folder, can't recall), and so they did. Right out of the box, the System Folder comes full of Apple shared libs.

      The only reason this wasn't a big problem was that MacOS didn't get shared library support until 1995 or so, so many apps were statically built and didn't use them. But this was impossible for complex, interdependant apps like MS Office.

      And, yes, DLL Hell was somewhat of a problem with Classic MacOS.

  122. OMG by Anonymous Coward · · Score: 0

    OMG u r so mean!

  123. What about security? by argent · · Score: 1

    If just running an application can send it stalking over the Internet downloading and installing libraries, what happens to security? Or is this automatic install only for objects on the LAN repository?

    I'll have to try the ROX desktop again, I guess. The last time I brought it in it was extremely difficult to configure, and quite complex to use.

    1. Re:What about security? by tal197 · · Score: 4, Informative
      If just running an application can send it stalking over the Internet downloading and installing libraries, what happens to security? Or is this automatic install only for objects on the LAN repository?

      System security? Nothing. All code runs as you. As for your own security, it doesn't allow any attack that couldn't have been done without Zero Install too.

      Reducing the security risk from traditional installation systems (APT, RPM, etc where you're running a downloaded install script as root) was an important goal for Zero Install.

      See The Zero Install system

    2. Re:What about security? by Skapare · · Score: 1

      What would be needed for security is to make sure that only authorized locations (e.g. the corporate application repository) are accessed. I would never be able to suggest to management to use a system like this unless and until I can thoroughly vet this system for security. And I would never start that process until you can at least tell me you believe it does that. It might be cool from a geek perspective to be able to dynamically download on demand an application from anywhere on the net the author places it, but in business where the geeks have managed to get management to be security aware, such a thing just won't fly. Not only would management want to make sure users won't be running anything someone else might change on the fly, they also want to make sure users are not running anything not approved by management (this in a corporate office setting). If all this can be done restricted to a set of servers on which only approved and vetted applications reside, then you might have something here that is better than the current NFS mounting of / and/or /usr. But if you are designing this for geek coolness factor, it could likely not be suitable for business.

      Will it run on Slackware?

      --
      now we need to go OSS in diesel cars
    3. Re:What about security? by argent · · Score: 1

      OK, fair enough, I understand, it's not Windows... it's actually a bit of a challenge to break into root on a UNIX box instead of having Power User (one step from LOCALSYSTEM) handed out to most users.

      But that's not what I'm getting at. Yes, the worst case is remote non-root, which is better than remote-root, but still it's a potential remote exploit triggered by an unprivileged user. I do accept the fact that it's still better than Windows, where an unprivileged user is running a browser that is designed to facilitate remote exploits, but I still kind of prefer a situation where you have to push the "I'm going to do something dangerous" button before doing something dangerous. :)

    4. Re:What about security? by kardar · · Score: 1

      Yeah, this bothers me, the more I think about it.

      apt? It's from a mirror. Mirrors have md5 lists. If you worry, check the md5.

      Maybe I am missing something here, but transparency is a bad thing, if the locations aren't hard-coded somewhere. On top of that, making things easy for people who don't know what's going on is a little too good to be true.
      The only thing holding a malicious person back would be permissions on the devices (i.e. ethernet card). If I can download a small smtp server "transparently" with everything necessary to run it, how is this prevented? Permissions on ethernet card?

      I guess it just boils down to "known" apps. I know what dict is. I know what gaim is. I know what xmms is. When I go to a debian mirror, or cd /usr/ports/whatever on a FreeBSD box, I know where the dependencies are coming from, or more specifically, I know that the port maintainer has programmed various locations, in order of preference, where the dependencies come from. With Debian, the dependencies come from the same place as the package you are getting.

      What's wrong with /usr/local/bin, and how does installing rpms and debs from known sources constitute a security risk? Check the md5 if you don't trust it.

      I was at a friend's house the other night, and I happened to use the Windows 2000 computer to look up something we were talking about. I couldn't even read the webpage for 10 seconds without a pop-up showing up - not from the website, from some processes that were spawning from somewhere. I would estimate that 90% of the system resources of that one computer were being used by malicious third parties. Disgusting.

      So, my point is... stupidity is no excuse. Why, please... this is what I want to know. Why is it OK to be stupid? Calculus is bad because it's too hard for most people. It needs to be replaced with arithemetic. Mathematical Physics is even harder for the "average joe", just give him a girly mag.

      If you want to use computers, you need to know how they work. If you want your car to work, you'd better learn how to fix it yourself or pay a mechanic to fix it. Brain surgery is too difficult, we should just replace it with prayer.

      Come on people! Please.

    5. Re:What about security? by jelle · · Score: 1

      "System security? Nothing. All code runs as you."

      If all code runs as you, and is installed so that you as a user can delete/create/copy/overwrite programs, then from a system security standpoint you've achieved nothing. For example: what stops a rogue program from deleting mozilla and installing a trojaned program with the same name in its place?

      So how do you zero install, for example, apache? Or anything else that needs to bind a port 1024 or has another good reason for root permissions to run.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    6. Re:What about security? by Ignominious+Cow+Herd · · Score: 1

      1) There is nothing more insecure about 0Install than having someone download and run (or compile and run) software in their home directory. All the software runs as 'you', not root. If there is an exploitable hole when running as you then it is as easily exploitable with any other software as with 0Install.

      2) If for some reason an Admin doesn't allow users to install and run their own software the Admin can run 0install on the system to provide users with the software (e.g. prime the cache).

      3) What dangerous thing are you talking about? Running an app? That is what we're talking about here. Find an app on the net via 0install and run it. The act of running it is the same security risk as if you found a RPM/DEB and download/install it and run it.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    7. Re:What about security? by Ignominious+Cow+Herd · · Score: 1

      ???? Boggles the mind.

      Do you normally run Apache like you would run Word, Gnumeric, Mozilla? No, you install it in a special way and it runs as a server. If you ran apache in the standard way or via 0install (not that you would) both would run with the same priveleges and any trojan would only have your privileges and could not damage the entire system or do anything that you could not do.

      Yes, if you install programs in your own directories and run them then any app you run can delete or replace those programs. This has nothing to do with ROX or 0install. ROX and 0install are no different from any other linux/unix system in this regard.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    8. Re:What about security? by tal197 · · Score: 1
      What would be needed for security is to make sure that only authorized locations[...] I would never be able to suggest to management to use a system like this unless and until I can thoroughly vet this system for security.

      Quick question: can your users do this?

      lynx -source http://evil.com | sh -

      If that works, Zero Install doesn't damage your security at all (users can already run any code from any web server in the world, although the caching may be less efficient).

      If it doesn't, I guess you've got HTTP filters installed. They'll also stop Zero Install from downloading too (it also uses HTTP).

      Will it run on Slackware?

      Should do.

    9. Re:What about security? by tal197 · · Score: 1
      If all code runs as you, and is installed so that you as a user can delete/create/copy/overwrite programs,[...]

      It isn't installed user-writeable. Zero Install works like a web-cache (but more persistant). If you cause something to become cached, it is owned by zero-install, not by you. If you copy from the cache to your home directory, then you can do whatever you like with it.

      If you ask Zero Install to uncache something it may do it, but the next time someone requests it it gets fetched from the original web-site again.

    10. Re:What about security? by Skapare · · Score: 1

      Yes, users can do that. But why would they? The issue isn't about what location they choose to get code from to run, but rather, what location the code does come from when they run it thinking it's just something local. In other words I want to be certain that no security exposures exist that the user didn't cause themselves (if they do cause one, that's dealt with in other ways). So basically that means all apps must come from the local LAN servers, only, just as if they had run them on a machine that had /usr mounted from a master file server, or maybe even / itself (diskless workstations).

      My plan is to actually have each desktop be diskless, and boot from either CDROM or network, and access all file space over the network. Caching recently used applications would be the speedup. Whether that is via NFS caching in RAM, or loading applications into a tmpfs filesystem or something else, is the question.

      --
      now we need to go OSS in diesel cars
    11. Re:What about security? by tal197 · · Score: 1

      Yes, users can do that. But why would they? The issue isn't about what location they choose to get code from to run, but rather, what location the code does come from when they run it thinking it's just something local.

      In Zero Install, it's the same thing. When you want to run gimp, you include the site name, just as you do if you want to view the gimp's web site.

      Of course, you can make a shortcut to it (drag it from gimp.org to your panel), just as you can make a bookmark to a web site.

      But just typing 'gimp' won't magically decide to run something from gimp.org without you (or the sysadmin) setting that alias up first.

    12. Re:What about security? by jelle · · Score: 1

      So you're saying that 0install will not replace apt-get, because you would still need apt-get to install things like apache?

      Then how do you install, for example, a program that comes with a client and server? First apt-get the server and then 0install the client?

      Note that programs like apache and sshd need root priviliges for example to bind to the port, and they change to a non-root UID right after the point when they don't need root privileges anymore (apache after binding to the port, sshd after the chuid when somebody has authenticated). So again, security is added by 0install. When a user runs a program they also run as that user, with the restricted permissions that come with that.

      I call 0install making things unnecessarily complicated.

      "Yes, if you install programs in your own directories and run them then any app you run can delete or replace those programs. This has nothing to do with ROX or 0install. ROX and 0install are no different from any other linux/unix system in this regard."

      I made the comment that from a system security standpoint, 0install adds nothing, and you seem to basically agree with that. I made the comment because of a statement of the parent poster: If 0install doesn't add anything to security, then why did tal197 say "Reducing the security risk from traditional installation systems (APT, RPM, etc where you're running a downloaded install script as root) was an important goal for Zero Install."

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    13. Re:What about security? by Ignominious+Cow+Herd · · Score: 1

      In my understanding 0install cannot totally replace some kind of dist package system because you at least need some basic things running in order to even get 0install. I also believe that things like apache that typically run as root or some priveleged user, or are not run on demand but at boot time are unlikely to be used via 0install.

      Think about programs like Gnumeric, Gaim, Mozilla, Gimp. To run one of these you just find it and run it. One step (that typically requires root access) is skipped - installation.

      That is basically it from the end user viewpoint. It is more secure because for these end-user type apps no root access is required. For apache or other system level applications/services root access is still required.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    14. Re:What about security? by argent · · Score: 1

      The difference is that if the software automatically loads and updates necessary libraries you may think you're just running a local app (usually a relatively safe operation) when you're actually downloading, installing, and running an application that is out on the internet somewhere (an operation that should not be done automatically).

    15. Re:What about security? by jelle · · Score: 1

      "To run one of these you just find it and run it. One step (that typically requires root access) is skipped - installation.

      That is basically it from the end user viewpoint. It is more secure because for these end-user type apps no root access is required."

      "apt-cache search" to find it, and "apt-get install" to install it is not any harder than how to find & install it with 0install.

      From the enduser viewpoint it is no more secure, because that new unzip program you found with google and installed with 0install will still go to you mozilla and office directory, add a keylogger and spyware to them, then goes on and forwards all incoming emails, and sends the documents, and tax returns to an anonymous hotmail address, emails everybody in your contact list with a copy of itself, and start a daemon that listens on an unprivileged port for incoming connections from Mr Hacker. And it is very happy that it doesn't need root access for all that, just like it is on most windows machines right now.

      It's a step backwards, that's what it is.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    16. Re:What about security? by Skapare · · Score: 1

      However, that process of getting the program directly from the development web site, while very cool from a geek perspective, is totally uncool in a business environment, where management is already reluctant about shifting from the model of buying everything from a vendor in the northwest, to buying/downloading things from scattered vendors and non-vendor developers. The way things have to work is that every application the end users are authorized to run on the office computers is already installed on the central servers, and things are set up so the usual way to run programs (e.g. find icon and click or type in simple program name) gets them only from those central servers. Of course, someone could run some program they personally download from the net. But the objective is that whatever means they are trained to use to start a program will always result in the correct program being run, which is the program the system administrator has installed for them to run (and presumably vetted for security and suitability for the business purposes).

      For Linux to make its way into business offices, geek coolness is not going to help. The goals are different, there. It has to be cool in the way management sees it, and that requires that they have control over what is done by a set of users that are relatively unsophisticated. A diskless desktop/workstation which mounts /usr via NFS from a file server can do this, but has some drawbacks, too. Linux caches the NFS data a little bit, but not enough. A system that replicates applications which are actually being used over to a ramfs/tmpfs filesystem on the user's desktop would be nice to have. That's why Zero-Install looked interesting. But doing this transparently would be way better. Asking the user to drag the application into a folder (which happens to be tmpfs running in RAM on that diskless machine) is not the answer. What's needed is something that effectively makes it happen without the user having to know (even if this means using a front end starter script for each application).

      Anyway, Zero-Install looks like it could do things like a business needs, but what is needed is for it to really say that it does those specific detailed things that are needed. People doing evaluations do not have the time to dig deep into each possible tool; they need to see up front enough information to let them move that tool to their short list, and from there dig further to make sure it really will do as it says. That means one simple web page describing the features that are relevant to business needs (even if it is a different page than the one that geeks would be attracted to it for).

      --
      now we need to go OSS in diesel cars
    17. Re:What about security? by Anonymous Coward · · Score: 0
      From the enduser viewpoint it is no more secure, because that new unzip program you found with google and installed with 0install will still go to you mozilla and office directory, add a keylogger and spyware to them, then goes on and forwards all incoming emails, and sends the documents, and tax returns to an anonymous hotmail address, emails everybody in your contact list with a copy of itself, and start a daemon that listens on an unprivileged port for incoming connections from Mr Hacker. And it is very happy that it doesn't need root access for all that, just like it is on most windows machines right now.


      First, such spyware never needed root access for that, zero install or not. All it means is that if five users all try to install the spyware then with Zero Install you have a shared copy and without you get five separate copies. Since spyware programs tend to be small, you'll probably not notice the few K wasted by not using 0install.


      Secondly, you're only considering a single-user system. How does the user feel about other users installing software as root? With Zero Install, they don't have to worry.


      Even on a single-human machine, you may have several users. I may want to have a 'webserver' user, an 'accounts' user and a 'games' user. And I may want to play any game I please without risking my accounts, etc.

  124. Technophobes Showed The Way ! (as usual?!) by spamhog · · Score: 2, Interesting

    >> Deleting the application along with all the other misc files
    >> is as simple as removing the directory it's contained in.
    [...]
    >> This is something even the greatest of technophobes could understand and use with ease

    This is an understatement.
    This is what the greatest of technophobes ALWAYS BELIEVED TO BE THE CORRECT PROCEDURE FOR UNINSTALLING APPLICATIONS.

    Kudos to developers for aligning reality to perception!

  125. static or what? by zogger · · Score: 2, Interesting

    could you please explain the difference (static or whatever) for those of us who might not know? thanks in advance! Whichever, I'm all in favor of apps that just work and not needing dependencies.

    1. Re:static or what? by Afrosheen · · Score: 4, Informative

      Here's the difference in a nutshell.

      Statically linked binaries include all the libs and dependencies along with the binaries used to actually 'run' the program in one fat package. Depending on what it is you're packaging, it can add a shitload of weight to the package.

      Dynamically linked binaries expect your system to contain dependencies already. They have the benefit of giving you a small, tight package but don't always work right away. IE you, the user, have to hunt down packages it needs or apt or rpm has to handle that for you.

      It's a trade-off either route you choose. Statically linked binaries add bloat but usually work great without user or system intervention. Dynamically linked binaries are smaller and bloat-free but depend on you, your package manager or something else to make sure it works.

      The typical stance of developers has been to build good packages that are small and dynamically linked. After all, what's the point of having 20 copies of a common system library that you may have had since your OS install? That's just bloat. Ultimately, the best developers, in my opinion, give you the choice when you go to download. Click here for static, here for dynamic.

    2. Re:static or what? by Anonymous Coward · · Score: 1, Informative

      A computer program is written as a text file.

      This text file is then compiled down to an executable.

      At the end of the compile all the parts and peices from all the libraries on the system that the program used are linked to the executable in one of two ways. This is called link phase.

      If the libraries are dynamically linked then the executable is small and only has references to the other files so that it can finish linking as it starts to run.

      If the libraries are statically linked then the executable is large as all the parts and peices that the program needs are put into the executable all at once.

      There are trade offs for each method.

      The dynamically linked programs are smaller, but they often take longer to load the first time and if you don't have a required library file present, the app won't run. Bug fixes can be done to the libraries and all programs will typically just keep right on running.

      The statically linked program is huge, loads fast, but takes up a lot more memory and disk space. If there is a security hole in a compiled in library then the whole executable needs to be replaced.

      On a single user system it then either way will work just fine.

      On a multi user system with 10's of users and lots of apps the dynamically loadable modules wins everytime.

      I typically compile everything seperately and then distribute the libraries beside the program. The program is dynamically loadable, but all the dependencies are present and upgradable if the user wants to install a patched version.

      Personally I think that the entire program should be in one directory, but have dependencies to other packages that are each all contained in their own directory.

      Then have all these packages managed by a single massive portage system that any unix distribution can use to install applications. Make various forward facing front ends to this portage system so that it appears like *bsd*, redhad, debian, fink, and a native "better" package system will all work.

    3. Re:static or what? by Salvo · · Score: 1

      I'm an Advocate for Dynamic Libraries, but offering the Choice of Static or Dynamic is not very User-Friendly. The fact that you had to explain the difference between Static and Dynamic on Slashdot, of all places, illustrates this fact.
      WRT Static Libraries... can you imagine if every App in KDE was Statically Linked? There are certain programs where Static Linking is not an Option.
      Also, many people who use Win32 will attest to the fact that sometimes Identical Libraries can have different names.. how many variations on MSVC40.dll or whatever are in your System32 Folder? I once came upon a Win98 Installation with 5 different variations (including Spyware versions et al.). This is why a Package Management System where installation relies on Dependancies is so much easier.

    4. Re:static or what? by Anonymous Coward · · Score: 0

      When openssl needs an upgrade, on account of a security hole, you won't also have to upgrade apache et al if you link against the openssl shared libraries. If, on the other hand, you're so foolish as to link all of your apps statically, you're going to have to rebuild the world. You probably won't, on account of you were running static binaries because you were being lazy and ignorant, and eventually you'll get hacked.

      The only applications that should be linked statically are a handful of must have utilities like rm, mv, cp, etc that you might need when a system blows up and the shared libraries aren't available.

      Of course, unless you are a complete moron, you already know not to rely on slashdot for good systems administration advice. And yes, that applies to this comment also. If you really care about this stuff, do your homework elsewhere. Otherwise backup your data and prepare to be hacked.

    5. Re:static or what? by Anonymous Coward · · Score: 0

      I do give you a choice... statically built binaires or source..

      I had too many nightmares trying to suport a dynamically linked binary.. even though I only develop on a distro install that is from CD's only no updates installed so it will work for the users for that distro..

      but I cant guarentee that the user installed all the libs, and from what I discovered, most dont so it's easier to add only 6 meg to the size of my app and ship static...

      Mozilla and Open Office do this, and I also decided to do what the big developers do.

  126. Just *how* many libraries are we goinig to include by psi42 · · Score: 2, Interesting

    Let's say you have downloaded and installed some 20 programs packaged as Appdirs. If each package is supposed to be virtually self-contained across all distros, you're going to have to include _all_ dependencies. And therefore you lose all advantages of having shared libraries. You've got 20 copies of libc, 10 copies of gtk, 15 copies of X runtimes, and so on?

    How big is each appdir?

    --
    Defenestrate Windows...
  127. RTFA by Sanity · · Score: 1

    You don't have to copy anything, you just have to run the binary - and any required components are downloaded transparently unless they are anready cached.

  128. RTFA by Sanity · · Score: 1

    One of the great things about 0Install is that you don't need to be root to run software through it (with 0Install you don't really "install" software, you just run it - it is transparently installed if necessary).

  129. No it isn't by Sanity · · Score: 1

    The best thing about 0Install is that it essentially eliminates the whole process of installation - you just run the software, if it isn't cached locally - it will be transparently downloaded on-demand. AFAIK Microsoft doesn't do anything like this.

    1. Re:No it isn't by Anonymous Coward · · Score: 0

      Uhm, this is *exactly* what MS does with .Net. It only downloads classes it needs to run an app if you set it up that way. It actually rocks pretty hard, and it's available RIGHT NOW unlike this other crap on Linux. You should really check out a good .Net book sometime to see the future of computing.

    2. Re:No it isn't by Anonymous Coward · · Score: 0
      Uhm, this is *exactly* what MS does with .Net. It only downloads classes it needs to run an app if you set it up that way.
      Yeah, and Linux will make your tea and scratch your arse "if you set it up that way" too. So what?
      You should really check out a good .Net book sometime to see the future of computing.
      Um, yeah right. Perhaps you should check out a good Java book sometime to see where Microsoft got most if not all of their ideas for their so-called "future of computing".
  130. evolution-- by gopher23 · · Score: 1
    This is complete bullshit. Such ideas have been implemented (see MS-DOS et al) and they failed. There are some major advantages of distributed storage - besides of shared libraries. For example, you can simply save all your configuration files, mount your binaries read-only and mount variable data with noexec. You can move data to cheaper storage, share static data over a network file system... nobody wants to go one step back in evolution. if you want ease of install, use a packet manager.

    only because you don't understand a technology, that doesn't mean that is is not good.

  131. Re:Desktop Slide Show by pjack76 · · Score: 1
    Why in a single multi-Megabyte mess?

    Because it makes it harder to copy a Windows system from one hard drive to another.

    --

    Wow, a lucrative publishing contract! I don't have to be evil anymore. --Meteor

  132. Partial solution by plj · · Score: 3, Insightful

    Remove your account from admin group, but keep it in wheel group. That way Finder* will ask you for admin/root passwd when you drag a new app bundle to Applications folder, so you can no longer put just anything there. This is what I'm doing.

    However, it still seems that the folders created there are owned by you, so this is rather imperfect solution.

    Fast user switching is theoretically a better one, but not on my 12" PBook with 1024x768 resolution due to an almost Dock-class UI design failure.

    *) A Panther feature. In Jaguar you're forced to use a terminal in this case.

    --
    “Wait for Hurd if you want something real” –Linus
  133. Re:Why I dislike about installing softwareunder Li by Anonymous Coward · · Score: 1, Informative

    I have never used the option, but dpkg has a --instdir option that appears to do this too.

  134. This is just a silly statement by Moderation+abuser · · Score: 2

    If every application has it's own directory, your PATH will be huge and the system will have to search each one of the PATH entries until it finds your application when you try to run it. How many searches before it finds it? 10,20,200?

    Oh, sorry, you *only* use a GUI and so click on the application. Well not everyone solely uses a GUI or wants to go searching through dozens of application directories for the specific binary which runs an application.

    --
    Government of the people, by corporate executives, for corporate profits.
    1. Re:This is just a silly statement by kundor · · Score: 2, Informative

      ln -s /opt/*/bin/* /usr/bin/

    2. Re:This is just a silly statement by Anonymous Coward · · Score: 0

      If every application has it's own directory, your PATH will be huge and the system will have to search each one of the PATH entries until it finds your application when you try to run it. How many searches before it finds it? 10,20,200?

      Is it really slower to search 10,000 folders each containing one binary than to search one folder containing 10,000 binaries? If it is, that's almost certainly because your shell uses a braindead O(n) algorithm to resolve unqualified filenames; that could easily be solved if it became a problem.

    3. Re:This is just a silly statement by Moderation+abuser · · Score: 1

      The parent poster got rid of the shared directories though and if you're going to link the binaries into a common bin, you might as well just install them there with a package manager, and what do you do with application versions and binary name collisions? Hmm?

      --
      Government of the people, by corporate executives, for corporate profits.
    4. Re:This is just a silly statement by kundor · · Score: 1
      No, it's not like just installing in a common bin. Symlinks into contained application directories mean that uninstallation and upgrading can be done without worrying about leaving parts around your system. This is basically the approach taken by GNU Stow, an under-appreciated program.

      If you want multiple versions, one of them is going to be the one that gets called by the app's name, you can't avoid that. I'd probably make a system where it selects the latest one.

      This just answers the problem with performance hits by traversing a crapload of path directories. If you have a script to symlink everything after any installation, the problem goes away.

    5. Re:This is just a silly statement by Moderation+abuser · · Score: 1

      Yes it is slower, much slower and it isn't a problem because y'know what? You can install binaries from multiple applications into a single directory. How's that for clever.

      --
      Government of the people, by corporate executives, for corporate profits.
    6. Re:This is just a silly statement by wheelgun · · Score: 2, Interesting

      I don't think it is a silly statement. I stopped using Linux because of all the library dependancies. It was absurd- every application I wanted to install requried a library I couldn't find or figure out how to use. And then there were the applications built to work with specific distributions (and hence not others). Don't get me started on those!

    7. Re:This is just a silly statement by SPK · · Score: 1
      And then there were the applications built to work with specific distributions (and hence not others). Don't get me started on those!

      And the response here is simple: the problem is the developer who is too short-sighted to follow any sort of coding norms ... and that means, follow the File System Hierarchy, not tie his/her code to specific library verions ... etc.

      The "proposal" in this article does not fix that. You can't fix developer arrogance and stupidity like that.

      A smart installer system such as yum or apt-get resolves dependencies for a given distribution. Again, if there is a "problem", it is usually because the developer was nothing thinking of a general solution, and made it distro-specific. If you are installing fora distro (yum, apt-get), then fine, and a 'smart distribution' with people preparing packages for distribution, should 'normalize' packages that don't follow the standards (example: if installing qmail on debian, it is possible to make it follow 'debian norms' rather than Bernstein's own system). If you are installing a package 'by hand' (deb, rpm, tgz, or source), then it is the developer's responsibility not only to say *what* is required (in detail!), but where to get it.

      The proposed 'system' does not fix this either, unless one wants to get rid of shared libraries, but that is the type of extreme measure that does not scale and which turns back the clock. It also does not solve 'dependencies' that aren't about libraries, but about 'helper apps' -- needing portmap in order to install gnome networking stuff, for example, or needing cdrecord for most GUI front-ends.

      As for what the proposed system does do ... it is analogous to the much-panned 'spacial desktop' material recently discussed with regard to Nautilus, but which has roots going back to the old Mac interface, etc. And the critique of that, like the critique on this 'system', is the same: IT DOES NOT SCALE (path-wise, and such). In conclusion: drink more beer, use a smart packaging system and a sane OS, and devote your life to free love. A win-win situation.

      ---

      --
      Regnant populi. (The people rule.) Pregnant ropuli. (The snake will soon lay eggs.)
    8. Re:This is just a silly statement by jelle · · Score: 1

      "Symlinks into contained application directories mean that uninstallation and upgrading can be done without worrying about leaving parts around your system. "

      Except for the dangling symlinks?

      Uninstallation without worrying about leaving parts around your system is 'dpkg --purge' (or 'dpkg -r' is you don't want to delete the settings/configuration). For upgrading, that would be 'dpkg -i' or 'apt-get install'.

      "If you want multiple versions, one of them is going to be the one that gets called by the app's name, you can't avoid that. I'd probably make a system where it selects the latest one."

      No need to dream about that, or plan to make it. The debian package manager (dpkg), uses symlinks and "/etc/defaults" to do that. Don't force select the 'latest one', because that doesn't always make sense: for example "www-browser", which is a runnable program on debian, you can set it up to choose any www-browser capable program: mozilla, firefox, opera, konqueror, etc. Now, which one of those would you call the 'latest one'? It's a choice and it has been implemented a long time ago in Debian.

      "If you have a script to symlink everything after any installation, the problem goes away."

      That already exists. It is what we call a 'packager'. On debian it's 'dpkg', and on redhat/fedora it's 'rpm' and it contains scripts for pre-installation, post-installation, pre-removal, and post-removal that handle everything from clean shutdown of program (parts) that may still be running, to symlink creation and undangling.

      This 'zero install' really is somebody with a NIH syndrome (not-invented-here so let's start something new from scratch, and by the time we looked at all the details we end up with something very close to what already existed, but we have more bugs that still need ironing-out). Actually it's a "nothing new to see here, move on"...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    9. Re:This is just a silly statement by burns210 · · Score: 1

      I don't understand this. On my mac laptop, nearly every application is in: /applications/PROGRAMNAME.app
      or /applications/PROGRAMNAME/PROGRAMNAME.app
      how is that any different than in /bin or some such.

      I also have apps in my user directory...

      ~/applications/PROGRAMNAME.app

      how are pathnames any longer? Also, for keeping track of where a executable file is given it could be in a sub dir and such. could the ststem keep a running xml file of all executable files? 1 global, for all users, appended to that would be 1 for the given user that is logged in. then, running an app would just be typing the name into the shell and it would check against that file and find the path... you would update the file every time a change was made in the appropriate folders.

    10. Re:This is just a silly statement by kundor · · Score: 1
      The problem with apt, and all package systems, is the dependence on the maintainers. You have to wait for someone to package it up, and trust them to do it right, and to do all the stuff you're interested in. If you have to package things yourself that more than negates the benefits.

      The /usr/bin, /etc, /usr/man, and so on system that *nix has used is a flaw in the design: necessary to avoid searching 10,000 dirs in the path, as an above post said, but problematic for maintenance and not helpful to users looking for program associativity.

      packaging is a partial solution, but not a whole one, and introduces flaws of its own. Putting each application in its own directory, as ROX's AppDirs, GNU Stow, and GoboLinux do, is the proper way to do things. The problems introduced are how to find the thing in your path, and getting the vast amount of existing code to work in the new system without having to be changed (which is, after all, one of the problem-causers of the packages.)

      ROX just uses GUI, so it doesn't deal with the path issue, and has to repackage anyway. Not a solution.
      Stow uses symlinks to deal with the path, with an intelligent system to automatically remove symlinks to applications that have been removed. It can be used with any package using autoconf, the vast majority out there, so no repackaging necessary.
      GoboLinux has an even more radical modification to the standard hierarchy. I believe that it also uses symlinks for the path.

    11. Re:This is just a silly statement by FooBarWidget · · Score: 1

      That command doesn't work. Try it. Bash doesn't support globs like that.

  135. Rox filer is great by SCHecklerX · · Score: 1
    They should focus on the filer and stop trying to be an environment. I'm running an older version (don't like that the new versions don't use the root window for desktop icons, have their own big window that takes over everything.). I love the functionality, but some things of note(maybe fixed in recent versions *shrug*):
    • window sizes and positions should be remembered
    • style for each window (background image/color)
    Heck with just those two things, I think rox has finally achieved being most of what my beloved WPS was on OS/2. The concept of AppDirs kicks ass. This made it very easy for me to extend rox using nothing but shell scripts. Some things I did:
    • Mail notification. I scan my maildir, and if I have new mail, just switch the rox app icon for my mail program
    • Network mount status. I have a folder for each of my remote hosts. By default, the Appdir launches an ssh session. A shift click allows me to mount dirs on that server. If a directory is mounted, the main AppIcon indicates it.
    • Image directories. Again, I have a ROX app that allows me to manipulate the icon on the desktop (random image selection). Other options on the fly-out menu include slideshows, view current image, view similar images, etc.
    • I wrote a quick filter object to be used with ROX. Using symlinks, I was able to have a filtered folder that only showed what I was interested in.
    What makes rox so great is that it is such a simple and consistent concept, which makes it easy to build on it to create some very nice custom UI enhancements.
  136. Advantages and disadvantages by gilesjuk · · Score: 1

    From a Linux perspective it's useful to have apps in their own directory to allow for easy removal, the disadvantage is when you want to backup all your settings. You then have to traverse all the app directories to find settings files and back those up and not the application files.

    1. Re:Advantages and disadvantages by hysterion · · Score: 1
      the disadvantage is when you want to backup all your settings. You then have to traverse all the app directories to find settings files

      No, of course the settings (being per-user...) are not stored in the app dirs. They are as usual in dotfiles or some variations thereof (ROX in ~/Choices, the Mac in per-app xml pref files files inside ~/Library/Preferences).

  137. Why do we have shared libraries at all? by swb · · Score: 1

    Why do we have shared libraries at all? Is there some real benefit to the operating system or to applications to have them?

    Wasn't it not that long ago that most apps were compiled to be statically linked (a.out) and didn't need any shared libraries at all?

    Personally I'd rather waste memory and disk with all statically linked applications, but maybe I'm just misinformed. I know I have been nailed by library problems under Linux and Windows.

    1. Re:Why do we have shared libraries at all? by kundor · · Score: 2, Informative

      You can upgrade to new versions with bugfixes and security fixes without recompiling every single program on your system.

  138. Directories ? Why not files ! by John.P.Jones · · Score: 2, Interesting
    Here we are talking about confining an application to a directory, but the user, or other apps on the system don't care about what's 'in' that directory. Only the executable knows and/or cares about the structure of this 'directory'. So why not make it a single file, a kind of unmounted file system that only the executable mounts and reads and writes to, as part of the loading process. A persistent store for both code and data, very general very powerful.

    Now as for shared libraries, this should be handled by a COM broker, with Apps registering uses of component API's. If no app wants an API then all implementations of that API are unnecessary and can be removed.

  139. I think it's time everyone face it by Anonymous Coward · · Score: 0

    Linux has no future on the desktop. No Average Joe will want an OS he has to recompile every week. Cant execute files without changing their parameters. Cant get a GUI that doesnt look like the bastard son of 95. Cant play the majority of games. Cant use the majority of programs made for the OS without recompiling. Cant find drivers, etc etc. Must I go on?

  140. Windows Security Model by Jonathan+Quince · · Score: 1
    It's still very much like this in Windows, in fact, with the "Program Files" directory often containing everything (although "Documents and Settings" is becoming more used for user settings storage).

    According to Microsoft's specifications, user settings and data are not supposed to be stored in Program Files.

    This is for security reasons. The Program Files hierarchy is supposed to contain executables, and it is not supposed to be writeable by a regular user. (Power Users and Administrators can write to it.) When it comes to trojans, viruses, and assorted malware, you do the math.

    On the other hand, Documents and Settings hierarchy is specifically organized so that each user's space in the tree is readable/writeable by that user and the System and by nobody else. That's your home directory for you. (You wouldn't store your data in a world-readable/writeable directory on a *nix system, would you?)

    Unfortunately, some developers are stupid and ignore the Microsoft design guidelines. One side effect of this is that many applications break when you try to run them as a user (rather than as Administrator). Wow, run everything with admin powers that's a great idea! (Not.)

    Fortunately, Microsoft is beginning to crack down. Future versions of Windows will be taking the attitude of, well, if your app is so poorly designed and breaks so many of the rules we have for security reasons that it won't run as a user, tough luck, your application will break badly and nobody will buy it.

    +1 for Microsoft in this regard. They have been taking the blame for a lot of problems that are really caused by app developers. Microsoft should be forcing application developers to put executables where executables belong and data where data belongs. No sane *nix admin would allow the wrong stuff to be put in the wrong parts of the filesystem, so why should a Windows admin allow the same?

    --
    Microsoft Windows is, fittingly, the official Desktop OS of Olig
  141. God grief people, don't use Zero Install by Anonymous Coward · · Score: 0

    Forgive me if I'm wrong, but Zero Install would only work if it was used for a handful of packages.
    Think about it this way. Say I write a program that uses zlib, libc6, x libs, etc, etc. From how I understand it, Zero Install says that all of the depends are in the program directory as well, right?
    So now say every other program that is written using those same libs is in their own directory, or say I write another program that has to use those same libs. I have to include them in that directory again. Think how redundant that is. Its not worth it.
    You can't use the Rox app system to do libraries.
    But if thats true, how can the program directory tell if the required libraries are there? You will still fall into dependency battles. It will never be drag, drop, and run for everyone.
    I guess it just seems to me that shared files are short changed by this system. If you're unhappy with the spread out files, or how they don't get cleanly uninstalled, write a better uninstaller.
    I like Rox's system, I've played with it, and maybe I dont understand how shared libraries would work, but I just can't imagine it working on a large scale of programs.

  142. Re:If drivespace (cache) no longer matters, or mem by Aggrajag · · Score: 1

    Here! Here!

  143. Idealistic programs and install time by l33t+gambler · · Score: 0

    Hi!

    I re-install windows a lot because I test lots of drivers (bad driver system from Microsoft).

    Therefore I love programs I dont need to re-install after a system reformat/reinstall. Programs that keep settings and "libraries" in their own directory.

    Keep them in d:\programs and you can reformat/reinstall C: where Windows is any time you wanto.

    Opera:
    create a shortcut to opera.exe and done. History, settings, button layout, skin, log-in sessions, wand passwords, cache, visited link history, browser tabs EVERYTHING.

    Windows XPeee however i have to spend at least two hours setting up everything back to normal. Files and folders transfer wizard sometimes bring with it registry bloat and bugs from my last install.

    System restore and driver rollback I can only imagine is a workaround for a sad system.

    more here
    http://jooh.no/prog_winxp.html

    --
    Teasing the nobles, and rightfully so!
  144. GoboLinux by paranoidd · · Score: 1

    GoboLinux has an interesting approach that reminds this one adopted by ROX and Zero Install. The advantage is that this classification is done by the OS itself, rather than only on the desktop. I'd suggest everyone interested on Zero Install's directory tree to give a look at http://www.gobolinux.org .

  145. Linux fs independent installs by petrus4 · · Score: 1
    >unit that can be administrated with minimal
    >effort. The /bin, /lib, /usr structure has to
    >go. Applications locking in to configuration
    >files across the file-system has to go. It's
    >simply painful to use, and something like Rox here

    Don't know if you're familiar with doing non-distro installs of Linux, but from what I've been learning from Linux from Scratch, using configure --prefix means you can install a program into whatever directory you want. It's also possible to have as many different versions of the compiler and tools as you want on the same system, in different dirs...you just change --prefix and lib target settings accordingly. I downloaded a text file from tldp.org a bit back as well, about a Linux file system standard...Seems a lot of distro makers are playing it fast and loose with the standard directory structure these days, and it's wreaking havoc with universal compatibility. It is entirely possible to ignore the directory structure completely if you want, though...you can have all sorts of weird and wonderful things.

  146. Change in Design Philosphy by vga_init · · Score: 1
    As many people have mentioned earlier, DOS worked almost exactly in this manner. To a certain extent, Windows works like this to this very day, though it does deviate from the model. Despite this, Windows is still a lot closer to that model than linux, and there is a reason for this.

    Linux has always been geared towards creating a system that is very much like Unix. It's done a very good job as well. However, as we all know, Unix works a certain way--there are lots of design philosphies that dictate how Unix is supposed to work, and linux so far has been following these fairly well, even if it is a little bit different.

    Here lies the contradiction, though; the point of linux is to be like Unix, but in order to make linux "good for desktop users" as the article claims, you essentially have to make it "not Unix." But wait--isn't the point of linux to be like Unix? This is where you run into a problem; you have a split in design philosphy.

    While there are definitely ways to form a marriage between the two, as this piece of software suggests, there will still be problems. Linux as a whole hasn't been very good about following a largely structured design philosphy, or, at least, it hasn't to the same degrees as, say, MacOS. This is not just in reference to the system itself, but also the software that runs on top of it.

    So, it'll just be one more thing to throw into the mix--another alternative way of doing the same thing, a fracture whose nature linux contains in thousands of. It's good to have choice and freedom, but it's just too much for the desktop user--they need less choice and more unity, something that will allow what little knowledge they can gain from using their system to be applied everywhere else.

    Linux can work on the desktop, sure! But can it work with the average desktop user? To those with enough skill and knowledge, linux on the desktop is very manageable. In fact, it works great in that environment, but not everyone can make it do that. Because of the nature of how linux works, it will take an exceedingly large amount of time and effort to make it 100% manageable by Joe, whereas other, more focused operating systems, have acheived this goal in just a few short years of development.

    Linux will suffer from having to work against itself in order to become "user friendly", and since this is a bit awkward and unnatural for a system of its kind and method of development, it will just have a natural tendency to not want to be that way. People are going to continue to be very frustrated in trying to make it.

  147. Revolutionary thinking ??? by Shadez666 · · Score: 1

    Applications that are contained in one directory was quite popular once - DOS used it quite a lot, back to basics i guess.

  148. OK, thanks! by zogger · · Score: 1

    easy to understand, now I get it. thank you.

  149. Hit 'em where it hurts by fastgood · · Score: 1, Interesting

    Back in the early 1990s when Microsoft started pouring more money into Windows than DOS,
    rule #1 put sales and complexity above easy installs, easy backups, and easy uninstalls.

    It was unAmerican if you could unarchive FOO.SEA or FOO.ARC or FOO.ZIP into directory
    [FOO] containing FOO.SRC, FOO.INI, FOO.EXE and FOO.DOC

    But Windows could drop little icons on the desktop so users could find FOOBLOAT.EXE !

  150. Back 2 DOS by Kidaz · · Score: 1

    Isnt this exactly the philosophy behind DOS (except the GUI part).
    Essentially you just copied and ran in DOS.

    I think this is a good idea, but it may be at teh expense of efficiency. That is, parts of a program which could be abstracted out into other packages to be used by other programs may be less likely to occur.

    Efficiency or Ease? I choose efficiency! but if you can do that and slap a nice interface on it then im cool with it.

  151. Knoppix by devnul73 · · Score: 2, Informative

    Linux already has something like this (minus the cache on demand) in the form of Knoppix + Klik
    All the files are stored in a single directory under your home directory which can be on a USB drive or anything. It also works with a hard-drive install of Knoppix.

  152. Random Thoughts on Libraries by spun · · Score: 2, Informative

    For production servers running many applications, dynamic libraries can be much faster. With static libraries, the OS must load a seperate copy of each library every time a program is run. With dynamic libraries, I believe, most operating systems load the library the first time a program requests it. From then on, programs use the copy in memory.

    In older versions of Windows, this led to some really hard to track down flakey behavior. Suppose one application used a non standard version of some system library, which it keeps in it's folder. Load that application first, and other applications, using the non standard library, might crash. Load something else first, and the one application might crash.

    This is one reason Linux libraries have version numbers. Ever look in your /lib or /usr/lib folders and see two or three versions of each library like: libfoo.so, libfoo.so.1, libfoo.1.2.87? Notice how the first two are links to the third? Ideally, programs should link against the library name with the major version number, and libraries should change the major version number if and only if they change the interface.

    Because no one does this consistently, we have to have things like libfoo2.so.2.2.17 so that libfoo version 2 doesn't bork stupid programs that linked to libfoo.so instead of libfoo.so.2. This, in my opinion, defeats the whole purpose of having those symlinks in the first place.

    Wherever you go, there you are. Wherever you are, libraries are borked. This is why the grandparent poster links his libraries statically. Might be a touch slower and use a bit more memory, but you know it is going to work, wherever you go.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:Random Thoughts on Libraries by Afrosheen · · Score: 1

      Yeah I forgot about the resident memory bloat issue with statically linked binaries. That is true indeed. Like I said in my original post, however, there is always a tradeoff in using one form or the other, and that's why I respect and like developers that provide both. It's good for lazy people or people that don't want a million dev libraries installed just to install one program and build from source. I can't even begin to guess how many dev lib packages I've installed just to build one program and never use again.

    2. Re:Random Thoughts on Libraries by spun · · Score: 1

      IMHO if a library is only used by one application, it should be statically linked. Saves time loading and a file descriptor or two, yes? Say you do eventually install another program that uses that library. If you really need to optimize, that's when you start thinking about making the library dynamic. But it is only worth bothering over in production environments, and it is always a case by case basis then anyways.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    3. Re:Random Thoughts on Libraries by Afrosheen · · Score: 1

      But the problem is, you never know who is going to write another app that uses that library or what the app will be doing with it. I imagine as a developer one of your goals should be making sure the app works for as many people as possible.

      The good thing about dynamically linked binaries, in my experience, is that upgrading the systemwide libraries that apps depend on very rarely breaks them. What I hate is when coders make an app you're building from source search for a specific library version rather than a range, i.e. glibc=3.36 instead of glibc=3.3.6. (Greater than or equal to in case I just had a brainfart)

      I've had trouble with old apps specifying libraries (like qt2) by version number. Sometimes I can trick it into building by symlinking qt2 to qt3 which is actually installed and running ldconfig again. Sometimes it doesn't work regardless.

  153. Re:Why I dislike about installing softwareunder Li by ifwm · · Score: 1

    Right. And Joe User will find this frustrating and difficult to understand, let alone accomplish. Don't assume that because you can do it, that my Grandmother can do it as well.

  154. But Aren't These Universal Issues? by Anonymous Coward · · Score: 0

    Granted, Apple's stance on security is not as strong as Linux's can be (not is, but can be), but the issues of backup and of 'system bloat', or the buildup of tiny file droppings left over by uninstalled applications, are in every modern OS. The old "copy and burn" backup system just doesn't work well with the size of modern HDs, and implies a certain degree of security laxity (I.E. if you can copy and paste it freely with no permissions issues, so can a hacker). Proprietary, Take-2-Esque formats become obsolete and unusable, and straight file-copies often get corrupted when dealing with half a million files (the current amount on my 22 GB of space used under OSX), which can kill a disc or, worse, not work when you try to use it. All of the OSes I've used recently (Mandrake 10, Windows XP, and OSX Panther) share this issue, so I've found the best solution these days is to get an external 80GB HD and clone to that, which is quicker, more reliable, bootable, and works across platforms.
    The bloat issue is, to my mind, more severe, and demands some serious attention. Possibly this ROX system would solve some of these issues, but spyware, installware, caches, orphaned prefs, and all of the other crap that clogs up modern OSes would probably still pervade. Some more literate way to browse the system folder (other than opening it up and throwing stuff out) would be a good first step.
    -B

  155. Grammer Trolling my own post by spun · · Score: 2, Funny

    I hate it when people don't use apostrophes correctly. It's one of my pet peeves. "It's" gets an apostrophe when it's a contraction of "it is," and loses its apostrophe when it is possesive.

    I even previewed, but it's an easy one to miss.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:Grammer Trolling my own post by inode_buddha · · Score: 1
      Spelling troll: "Grammer" ---> Grammar.

      And no, I didn't use preview either. I just didn't *have* to.

      --
      C|N>K
  156. Re:Why I dislike about installing softwareunder Li by aled · · Score: 1

    Would you be kind to explain me how to do a "./configure; make rpm"?

    --

    "I think this line is mostly filler"
  157. hmm by ShadowRage · · Score: 1

    I experimented with this a bit and was pleased with the results.. I was also thinking exactly what the article states, but, it can be a bitch via 56k and various apps, for games and misc stuff, it can work great, for system apps and developer and server stuff, this doesnt work that well

    but for a desktop, it could work, and you can even download source packages and click the icon, they compile, voila, running program (at least in ROX)

    I still dont like th feel of the Rox desktop though, it's still kinda iffy

  158. obligatory ref by Anonymous Coward · · Score: 0

    Zero install: Somebody set up us the Linux!

  159. "No Innovation in OSS!" by stealth.c · · Score: 1

    You can't see stuff like this happen and NOT acknowledge that innovation occurs in the open-source world.

    To claim OSS is just a process of copying and idea theft (like that guy who wrote against ESR the other day) is stupid and arrogant.

    I hope this method gets more popular. Its pure simplicity reminds me of DOS.

  160. God-bless the .app model. by atheken · · Score: 1

    Not only is M$ copying Apple again, EVERYBODY is! When will .dmg images mount on the desktop?

  161. Bandwidth costs by tepples · · Score: 1

    The Internet is by definition a bi-directional system, and most of its promise comes from that: there are no "client" and "server" distinctions at the topology level.

    Cable and DSL ISPs find themselves in the business of selling Web access because it's cheaper than selling Internet access.

    Universities that provide residents with access that can't accept incoming connections are doing their residents a disservice.

    Is lower latency on WWW for 99 percent a disservice? Uploaders on resnet consume upstream bandwidth that the directors claim would be better used by, say, the university's web site. If 1 percent of the users consume 50 percent of the upstream bandwidth that the university gets, is it in the university's interest to make it hard for the 1 percent to consume so much bandwidth?

    Maybe if more applications require them, the uni's will change their tune?

    The universities will change their tune only when the last mile from the ISP to the uni becomes much cheaper.

    1. Re:Bandwidth costs by Entropius · · Score: 1

      Is lower latency on WWW for 99 percent a disservice? Uploaders on resnet consume upstream bandwidth that the directors claim would be better used by, say, the university's web site. If 1 percent of the users consume 50 percent of the upstream bandwidth that the university gets, is it in the university's interest to make it hard for the 1 percent to consume so much bandwidth?

      It's not the accepting connections/uploading, then, that's causing the network degradation. It's the excessive bandwidth use. There are other ways to address that, and only that.

      "Doctor, it hurts when I walk!"

      "Go buy a wheelchair, then!"

    2. Re:Bandwidth costs by tepples · · Score: 1

      It's not the accepting connections/uploading, then, that's causing the network degradation. It's the excessive bandwidth use. There are other ways to address that, and only that.

      In practice, letting users of the residence hall network accept connections has resulted in excessive bandwidth use. You mention existence of solutions to curb this and only this. Would these solutions require an expensive router upgrade?

    3. Re:Bandwidth costs by Entropius · · Score: 1

      I'm a physicist, not a network admin, so I don't know how much things cost. However, they already keep track of how much bandwidth people use at my school, as at most others. A posted sign that says "Transfer in excess of 5 Gbytes/month (or whatever) may result in your access being shut down.", followed by a few people losing their access or being throttled to 56k for a while, should provide better results for everyone.

  162. That's because ROX is based on Risc OS by arevos · · Score: 1

    As someone else points out, ROX is Risc OS on X. So it's deliberate that they have the same approach as Risc ;)

  163. OpenOffice 1.0.3 installer hurts by lysander · · Score: 1

    Tried it, it's not that clean. It wanted to install DLcompat, ESP Ghostscript, and fondu as well, all locally. This got messy, since I wanted to provide fondu from fink (that worked) but wanted to install DLcompat and ESP on the new disk image I made for OO. DLcompat was happy with it, and the OO installer was happy too once I made symlinks from /usr/local to /Volume/OpenOffice.../usr/local. ESP GS didn't want to install on the image, so that ended up being under /usr/local.

    I'm curious to see how much of it the uninstaller will catch when I finally want to uninstall. Really, all of this is so that I can view rtf files with tables...

    --
    GET YOUR WEAPONS READY! --DR.LIGHT
  164. Libraries, Preferences Other Issues. (my mini FAQ) by spun · · Score: 4, Informative

    Seriously, this rocks. Yeah, yeah, sure. Other projects have done things like this before. But I love this idea even more than Gentoo's system, which also rocks. So I read some of the site to try to answer some of my own first asked questions.

    Q. Do I have to add a bunch of crap to my $PATH?
    A. No, you just use a shell that is application directory aware, and it will find the binary just fine if the application directory is in a directory in $PATH.

    Q. Will it let me recompile critical applications, either to patch them or optimize them?
    A Sure. Keep three different verions of Apache around, one with mod_perl, one with mod_rewrite, another with mod_php. Optimize for your new Sexium X CPU. Turn on full foo support, even though it's not recommended!

    Q. What about apps with hardcoded pathnames?
    A. Edit and recompile. HAND.

    Q. What about libraries?
    A. (From this page on the ROX Application directory system.) Applications link to libraries in /uri/0install. If the required version isn't there, then instead of reporting an error (as traditional applications do), they run 0refresh. Software can be uncached when it hasn't been accessed for a long time (eg, months or years). If it's needed again, it gets refetched.

    Q. What about versioning?
    A. You can keep different versions of an application around in different directories. I couldn't find any information regarding library versioning. Hopefully libraries in /uri/0install have directories by major version number, and ROX applications are linked correctly. Prepare to have much fun with compiler and linker flags finding all your include files and libraries when you convert your application to ROX.

    Q. DND Saving? What's that?
    A. Rox aware apps support dragging files from a save box to a directory in a file browser to save. Finally, someone does this right.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
  165. Re:Why I dislike about installing softwareunder Li by Davoid · · Score: 3, Informative

    RPM does have this ability:

    rpm -ivh --prefix ~/whatever packagename.rpm

    That only works IF the package is "relocateable". Some packages, quite naturally, are not but most apps will (or should) be.

    -DU-...etc...

    --
    "Don't sweat the technique."
  166. yeah, thats new by geekoid · · Score: 1

    "Deleting the application along with all the other misc files is as simple as removing the directory it's contained in"
    like DOS?

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  167. GNOME is trying to be MacOS by bonch · · Score: 1

    I think Linux would win a lot more converts if KDE and GNOME where less like Windows.

    It's obvious that KDE is gearing for Windows and GNOME is gearing for Mac. GNOME will probably end up getting more converts that way, but the Slashdot weenies will come out in full force, like they did in the last 2.6 article in which they bitched about the spatial finder--even though the absolutely, 100% ridiculous "browser" metaphor for perusing folders is confusing and unnatural to anyone but...you guessed it...Slashdot weenies. It's like we're just supposed to accept that Internet browsers are the same as filesystem browsers simply because Windows 98 said so. Sorry, I'll never buy it.

    1. Re:GNOME is trying to be MacOS by N1KO · · Score: 1

      I haven't used the new 2.6 thing and I don't even know what a browser metaphor is, but I haven't found anything easier than a split window with a tree on one side and a single directory on the other (the windows explorer layout).

      OTOH once you learn mv, cp and rm; bash + autocompletion becomes the best system.

  168. Shared Libs by Anonymous Coward · · Score: 0

    So could you have, say for example, an OpenGL folder and all OpenGL apps look for that folder to run. It would not matter what version (i.e. standard, hacked or otherwise) of OpenGL you had the app would just try to run with what is there.

    If so, then any shared libs could also be stored like this - as long as libs were always backwards comnpatible or hacked to work then what's stopping this?

    You could even versionise the subfolders to make having, say, 5 different OpenGL implimentations available (apps would just look for the version they are witten for by folder name).

    Taking this approach you could build code with shared libs really easily. If this is the point then I'm sorry for re-iterating it. If this was possible then it would remove any backwards compatibility issues etc for software.

    Anyone have any reply to this? Or am I talking out of my butt? (I don't code software at all).

  169. NeXT .app directories by madonnell · · Score: 2, Interesting

    NeXTstep utilized a very similar sounding packaged application directory approach. There, if you "ran" a directory named "XXX.app", it ran the executable within that directory named "XXX". I was just discoving xnix, so I don't remember all of the details, but I believe it used static libs, and depending on how you manipulated a .app it worked like a directory or as a unit. Putting the parent directory of XXX.app in the path allowed execution of the program. It did work quite well, and I found the idea very effective compared to Windoze, Dos, and SunOS approaches. You could just drag a package around, and the file compartmentalization was quite a step forward. I eventually hacked a similar capability under Dos using 4dos and executable extensions.

    1. Re:NeXT .app directories by Grand+V'izer · · Score: 1
      MacOS X does this today. Installation for darn near any application is just a matter of copying the "Application", really a folder, into the desired location. Updates of most MacOS X software is really easy, too. Just choose "Update" from the app's menu. Most apps check for updates periodically now, too.

      Of course, if Rox makes it so you don't have to install the app in the first place then they'll be one-up on Apple.

      --
      Not all random numbers are created equally.
  170. Sounds great, let me try by Ridgelift · · Score: 1

    Wow! Rox sounds great. Lemme try...

    # apt-get install rox
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Couldn't find package rox
    #


    Mmm...not available for Debian yet. Oh well, let me know when it's ready.

    1. Re:Sounds great, let me try by dr.badass · · Score: 2, Informative
      --
      Don't become a regular here -- you will become retarded.
    2. Re:Sounds great, let me try by tal197 · · Score: 1
      Mmm...not available for Debian yet. Oh well, let me know when it's ready.

      Have you tried Zero Install? If you had that, you'd be able to try out new programs easily without waiting for Debian to package them ;-)

      (as the other poster noted, there are also ROX Debs available if you prefer that method)

  171. Why not solve BOTH of Linux's major problems? by alizard · · Score: 2, Insightful
    Combine this with a way to read Windows peripheral drivers and this could solve Linux's worst usability problems. Why not?

    The big problems are to make it possible for an average user to install and deinstall first applications, then, peripherals.

    In general, any OS is going to need the same kind of information from any class of peripherals. Why can't someone write software to decode the Windows driver information formats and turn the information into something that can be used to configure Linux to use these peripherals?

    If someone plugs a USB scanner or digital camera or printer in, why shouldn't Linux ask for, first a native Linux driver, and if this isn't available, a Windows driver disk?

    Wouldn't it be nice to be able to buy peripherals based on price and performance and not have to worry if it's usable with Linux or not?

    Wouldn't it be easier to write a translation application or several than for the Open Source community to write thousands of drivers individually and for the rest of us to attempt to find them and then try to figure out if that driver will actually work with the distro one is running?

    1. Re:Why not solve BOTH of Linux's major problems? by Buelldozer · · Score: 1

      I'm pretty new to *nix, but I have often wondered WHY this hasn't been done!

    2. Re:Why not solve BOTH of Linux's major problems? by Ignominious+Cow+Herd · · Score: 1

      Yeah, especially those people running Linux on a PPC or MIPS or other chip. 'Reading' those Windows drivers would be really useful.

      Sorry for the sarcasm, but clearly you know not of what you speak.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
    3. Re:Why not solve BOTH of Linux's major problems? by alizard · · Score: 1
      Most *nix machines are x86. I can live with a solution that works on that platform only. However, this may be a distinction without a difference.

      When I've looked at the SANE related sites, the driver information I saw really wasn't exactly specific to the CPU of the platform the scanner peripherals were running on. For a scanner to work, it needs the same commands regardless of the OS generating them.

      The output to the computer has to be formatted in some manner, and that's also irrelevant to the OS, the data's just a bunch of bytes from the point of view of the CPU manipulating it. An application running on the OS has to be able to package that output in standard format image files. What tells the computer how to rearrange the data into an image? Oddly enough, that's in the driver. That's the part a Windows driver to Linux driver translator would use.

      Standard format image files are also platform-independent. I can read a JPG in *nix, Windows, MacOS, or Solaris and see the same thing.

    4. Re:Why not solve BOTH of Linux's major problems? by entrigant · · Score: 1

      Gee why didn't we think of this before? We coulda saved so much time. You make it sound so easy too...

    5. Re:Why not solve BOTH of Linux's major problems? by alizard · · Score: 1
      Solve the problem and a whole lot of people are going to be asking that. Nobody's explained why the problem can't be solved that way. Is there something that offends your religious sensibilities about format conversion?

      If you enjoy having to google on every potential peripheral purchase to see if there are drivers that might work with your distro and configuration, or you can spend non-productive time trying to find something that might work everything is perfect in the world of Linux for you.

    6. Re:Why not solve BOTH of Linux's major problems? by FooBarWidget · · Score: 1

      Windows drivers are not just files with some information, they are entire applications! Heck, the same is true for any driver under any kernel.
      The Windows kernel and the Linux kernel are fundamentally different. It's near impossible to make all Windows drivers work on Linux. Heck, even Microsoft didn't make Win9x drivers work on WinXP.

      If you're an experienced programmer you'd know why it's nearly impossible. It's very difficult to explain it 100% clearly to a non-programmer, but it comes down to the fact that fundamental internal differences in kernel design makes it nearly impossible.

      It's like trying to cross a cat and a dog. Cats and dogs can't make babies together. Not the best comparison but you get the idea.

  172. Zero Install worked for Atari and PS2 by Anonymous Coward · · Score: 0

    Right On!

    My biggest headache is how Windoze (and other OS') 'splatter' data all over the place.

    The OS and Apps should all be able to run from a read only CD.

    All data to the hard drive.

    Why is it game stations seem so much more advanced than 'professional computers'?

    Pop in disk - play the game.
    Pop in disk - Run OS + Apps.

  173. encaps by menscher · · Score: 2, Insightful

    Whoever thought this was new has obviously never heard of encaps. Basically the same idea, but it's been around for about 5 years longer. Look at www.encap.org for starters. (I'm not going to write a lot since nobody will read this anyway.)

  174. Not so original by Anonymous Coward · · Score: 0

    Java webstart has done this for years.

  175. Re:Libraries, Preferences Other Issues. (my mini F by KD5YPT · · Score: 1

    But won't this system take up a lot of space? Especially for multiple application that might want to use each other's data? Or multiple application that uses a common libraries, like the .dll?

    --
    In US, you can easily buy enough major firearms to wipe out your neighbourhood but a few little fireworks are banned.
  176. About time!!! by master_p · · Score: 1

    It was about time for something like this to happen. I never understood why applications need to spread myriads of files in other directories except than their own.

    Microsoft engineers, are you listening ? Windows apps could go in their own directories, and the DLLs and other stuff should be hard-linked within the directory 'system32' from the app's original directory.

    But no, this is MS, they had to make it difficult (and we must not forget that MS filesystems don't have hard links!!! (only NTFS, in a non-portable way)).

  177. dict install by kardar · · Score: 1

    What does the word "install" mean?

    Do I run it from the net, or do I run it from my computer. If I don't need to run my app over the internet, after the first time, then it IS installed. Or no, it's not installed, it's cached. But that's the same thing, or is it?

    I support freedom, I support freedom for people to do what they want. I was reading the Gentoo webpages, and the author was saying that the goal of Gentoo is to enable the user of the Linux box to do what they want. Not what the designer of the distro wants, what the user wants. That means that the distro may need to be able to do 10,000 things - that's the whole idea.

    So, from that perspective, I support people doing what they will with the technology, whatever they want to do, they should be able to do it. More power to the people!

    Personally, however, this sounds to me like something that I would have absolutely no interest in whatsoever. I'm not installing, but I'm installing? What's up with that? Automatically goes out and finds missing dependencies? Who's dependencies?

    I don't like it. But that's just me. That's just my opinion. It's an interesting concept, but to say that you're not installing, that's just not what is going on, and I just smell licensing issues big time. Sort of like DRM or something.

    This type of thing could be abused by spammers, malware, and greedy organizations. If it's an application, and it runs on my machine, it's installed. To create a seperate directory, I mean... what's wrong with /usr/local/bin?

    I support diversity, and it sounds like this is a popular idea - but I see a potential for abuse, because it's saying "you don't have to install, it runs over the internet", but it actually IS on your hard drive. Cached...installed...

    But just because I don't like it doesn't mean that others have to also not like it. It sounds interesting, and certainly could prove useful for certain things.

    So I wish the project well, but in expressing my opinion about it, I don't like it one bit. That's just my opinion, though, it doesn't mean it's a bad idea. You could probably get very rich doing this.

  178. This isn't so 4 years ago, it's 12 years ago by ceez · · Score: 2, Interesting

    it might even be 15 years ago.

    At CMU they had this thing called AFS, depot, and emt. It did all of this, and more.

    openAFS, Coda, or even NFSv4, depot (or stow) could all be used to really build something interesting. (emt could be improved, but it wouldn't be hard).

    Cool idea, but why just stop at the desktop?

  179. More dangerous Monopoly than Microsoft by Anonymous Coward · · Score: 1

    I've NEVER been enthusiastic about systems based on a high degree of Internet dependancy for app running like the system being mentioned here. It could lead a recentralization of computing into the hands of a few corporate "backbone" server owners that could wind up being a worse monopoly than even Microsoft even if a FOSS system like linux is its basis.

    I'm all for ease of use under Linux and am working on my own linux installation solution under the GNU-GPL that is NOT based on dangerous computing re centralization schemes like this one.

  180. Walk softly, carrying the wrong end of the stick. by Anonymous Coward · · Score: 0

    The main problem I have with it is that it's fixing the wrong end of the issue. This problem came about because of Linux's continuous development, and the lack of developers consistently following the rules that do exist. Why not fix that end, and the rest will fall in place? I also don't see anyone asking, what happens with this system if the developers don't follow the rules (lazy is lazy, and no system can fix that)? Will we be back here, complaining about something else?

  181. And when the cache expires? by Brett+Glass · · Score: 1

    Sounds like a great way to revoke access to software unless the poor vict... er, user pays more dough.

  182. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  183. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  184. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  185. asking questions by zogger · · Score: 1

    well, I asked the question originally, although I had a guess, that's what it was, a guess. I'm not a coder, but I have been a long time computer user and enthusiast, there are by casual glance around the room here 5 desktops, two laptops,and 6 radios-3 of them transceivers- in easy view. 4 of the desktops I built from junker parts, so I can give them away to local (poor blue collar farm) kids on their birthdays. I don't work in IT, I'm a blue collar guy with different skills, but I dig electronic stuff, and I like to know how things work. Slashdot appeals to me BECAUSE it's interactive, there's a boat load of people here who ARE skilled in different venues, and you can get some decent information and decent reference URLs here by asking politely. And the occassional nasty troll or whatever doesn't bother me, I've been using boards and moderating them myself since around 95, heavy since 97. I knew the *term* dynamically linked libraries, I have heard my windows friends over the years use that term, but I wanted to be sure that what static meant was what I thought, and since I didn't know, I just asked, simple as that. I mostly always used mac classic before tip toeing into linux a couple of years ago, but frankly, I'm still a point and click guy. That's reality, and I'm not ashamed of it, it just "is" is all.

    And the price is right to be here, and this slashcode, combined with the input of all the readers and the editors, gives me a customised news magazine on demand. And a lof of times it's dang funny!

    If I- or anyone-knew all there was about all the subjects covered here, there wouldn't be any need for that person to come here, would there be?

    With all that booshwah out of the way, here's how my mind works: OK, now I got the skinny on the differences, so now I am thinking "why them guys do it one way or the other, why not both at the same time?" You see when you are a blue collar guy, and work=sweat and pain, not just exasperation and inconvenience, but real sweat and real pain, you take ineffieciency as more than just a PITA, it's insulting, and with self defense of your bod in mind, you try to figure out the easier/better/more efficient way to do something.

    And you don't need any boss with any number of degrees to tell you those cosmic truths, either.....

    I know zip squat about coding, but seems to me that a "master library" could be used as a sub program, or substitute of some form, to go get the libraries you need for different apps. Then instead of the apps needing direct-static or dynamically linked or symlinks, all they would need is a pointer to the master library with some sort of tag like "use this version", and THAT goes fetch whatever is needed. Then you only need to update the ONE master library, not one buhzillion other libraries all the time, whether they were included in the app or not.

    But, like I said, I know less than zip,maybe it does this already, I have NO idea if what I just said made any sense, probably not.... so I'll let the smart guys who write code do their things...

    1. Re:asking questions by spun · · Score: 1

      Under Linux, there is a 'master library' of sorts, usually in /etc/ld.so.cache. There is another file in /etc/, ld.so.conf, which tells the loader where to find libraries. ldconfig is the command to update the cache and modify the links so they all point to the latest compatible version.

      This only works right if programmers link their programs to libraries with major version number (i.e. libfoo.so.1 not libfoo.so!) and libraries only (and always) change major version numbers when they change the interface.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
  186. Hasn't this been done? by Mindcry · · Score: 1

    I mean... does anyone remember DOS? it worked the same way... that was one of the things i hated when win95 came out, you couldnt just copy a directory and have a fully working program anymore... really didnt like that, anyways, glad to see people are looking into it again... its a much easier way to work, stop worrying about dependancies, and get back to whatever it is that you're really trying to get done.

  187. rox rocks by mausmaki · · Score: 0

    I haven't used this zero-install stuff much but the roxfiler simply rocks because it's lightning fast, useful and good looking.

  188. Re:Libraries, Preferences Other Issues. (my mini F by spun · · Score: 1

    Common libraries go in /uri/0install, see 'Q. What about libraries?' in my previous post.

    Applications would need to know the application directory of the application whose data they want to use, or they can use a file open dialog box to select shared or user data somewhere else in the filesystem.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
  189. hey, cool! by zogger · · Score: 1

    seems like I was thinking along the correct lines, there's hope for me yet!

    At the command line I am dismal, but slowly getting better as I make **&^%%$ stuff work that ain't.

  190. Re:Jesus by Anonymous Coward · · Score: 0

    Of course, you ASSUME that because movies are listed that they are illegal copies.

  191. Ahh Mac OS 3x-9x redeemed by sahmed · · Score: 1

    This system of installation was already available on Mac OS 9x. Still works for some apps in OSX.

  192. self-contained in their own directory by Anonymous Coward · · Score: 0

    > The apps are all self-contained in their own directory; binaries, docs, source code and all.

    Didn't we just do this back in the 1980s with MS DOS?

    This is a really good idea to solve many problems we now have with inter-directory / inter-registry / etc conflicts.

  193. Cars......... by Anonymous Coward · · Score: 0

    I can't afford a Lexus but I can afford a Honda.

    It's a fucking computer, get over it.

  194. not new at all.. by Anonymous Coward · · Score: 0

    This is as old as RISC OS is..
    Which is about 20 years or so.
    The ROX is derived from RISC OS, hence I'm not surprised to see this.
    Btw, MacOSX has the applications, libs, etc in one directory.. (Filename.app is actually a directory)

  195. Re:YAWN. That is SO 4 years ago by Ravenrage · · Score: 0

    just like os x copied linux flame me if you want but it is still true

  196. Configuration registry for Linux by pkphilip · · Score: 1

    I know this message won't be popular around here - but to go beyond the simple installers which basically uncompress files from the source tar ball /rpm over to a directory on disk, Linux will need to evolve the concept of a registry of some sort.

    Not to say that it should be like the one that is currently used in Windows; in Windows the registry is one large file (and a backup) which is prone to corruption - but I guess Linux could use a configuration storage system which utilizes a database of some sort which stores the configuration system across multiple files which are all managed using a single application. The individual configuration files should be text and not binary so that it can be edited using a simple text editor if needed.

    For those who think that a registry is error prone and therefore useless - Have you tried to setup a complex application which needs a database engine, multiple transactioned COM components, set roles and rights for various users etc on Windows?

    Doing these things is quite easy on Windows because of all the "objects" that are accessible on windows - for instance, to connect all the said tasks - setting up the users and their access rights, setting up the database engine (or detecting an existing one and using it) can all be done by accessing the various objects such as the IIS Administration objects, the MSDE Management objects, the Active Directory objects etc..

    Windows also allows for the OS to be upgraded easily via an executable.

    All this is possible because of the registry which stores the object references (COM registry).

    Ok, you might argue that this makes Windows insecure and buggy.

    That is true, but with some effort, I believe it is still possible to develop a secure, powerful OS with administration objects (perhaps utilizing a registry mechanism without the registry corruption problems of Windows) which will still be secure.

    Linux does not currently lend itself to being easily configured programmatically - the administrator will still need to fiddle around with a lot of configuration files to get something complex setup. If this is addressed, it could go a long way towards easy automated complex installs which goes beyond just copying files from the source destination to a directory on disk.

  197. OS-X Dorks & Monkeys... by Insolence2003 · · Score: 1

    In reply to everyone griping about OS-X and OS-X bundles and permissions becuase they are in "fear" of viruses... please show me a OS-X virus. Seriously. Feel FREE to e-mail me, or reply with links to one. Because I am in serious doubt that any exist.

    I've done freelance tech support around the area, and in all the macs of my own and that I support that use OS-X, not 1 virus yet. Some PICNIC/PEBKAC problems 95 percent of the time, and the other 5 percent is some weird "issue" of os-x that required a workaround or fix. =P

    The drag-and-drop installs on OS-X are a godsend when compared to Windows, or even Linux. When I want to remove an app on OS-X, I just delete it, and it's gone! No registry to hack through, no dll's to find and delete, and pray that no other app required them. No 50 directories to search through and delete files/apps one by one. Simply put... no bullshit. (yes, on OS-X there is that Preferences folder, but usually that's about it)

    This ROX environment does remind me of OS-X, and they aren't the first to really implement this whole thing, but it's a good idea, and I'm always optimistic to see how far someone can develop a good idea.

  198. Re:Libraries, Preferences Other Issues. (my mini F by Qick · · Score: 1

    Your questions have been solved in another project called CUE. It haven't made much noise about itself.

    Q. Do I have to add a bunch of crap to my $PATH?
    A. All environment is handled by an user application called HickUP. With this application you can even create multiple environments for one user which you can switch between as needed. It also has a project manager which allowes for good controlled development environments.

    Q. Will it let me recompile critical applications, either to patch them or optimize them?
    A. All source are build from a single RPM for all build environments. The RPM environment is heavily controlled and demands more then usal RPM does. As an example it clears the environment and setups the environment based on dependency set in the RPMs spec file. Making the build environment the same everytime you recompile. Ofcause don't you have to install the RPMs on each computer on a large network, those times the sysadmin installs it on a NFS server and shares it to all the others. For all different OSes there is only a single RPM.

    Q. What about apps with hardcoded pathnames?
    A. That haven't been much of a problem for most of those compiled. All configuration and application structure have been specified to be placed in /app and /env. For some server applications the configuration are placed below /etc/app. Logs and such below /var/log/app. Over the years of building and installing and using these application in CUE it haven't been many that have had this problems. In some cases a minor patch have been needed. The CUE concept have internaly also been building CUE RPMs for commercial applications with great success, license are handled by configuration in /env where each site can specify their own license server.

    Q. What about libraries?
    A. The build environment when building the RPM controlls that we only use libraries from the CUE buildes or if it's a system library we allow that. Using the possibility to compile in the searchpath in each application/library for the libaray makes the application to find them without having to set the LD_LIBRARY_PATH.

    Q. What about versioning?
    A. Libraries are keep in the same order as applications, one version in each directory.

    Q. DND Saving? What's that?
    A. CUE haven't been made for end users yet on the installing part. The normal user in CUE uses the HickUP for choosing application. It was made for corporate environment for development environments from small project to distributed environments. That meaning a sysadmin are the one in controll of installing the application.

    When having multiple application it's requires a strict building environment and disiplined builders to keep the quality high. Especialy when dealing with libraries.

    The nice thing is that it was released by the main contributor with the GPL license. Other complaines have by that way been able to pich in and that saves alot on yor IT costs. By using signed RPMs it's also possible to know who contributed the RPM and that the build server was a valid one.

    By using its own rpm it dosen't have any problems with systems already having rpm installed (normaly you don't use rpm but a wrapper script which fetches all depending rpms for the applications you want).

    -qick

  199. fast user switching on powerbook by Anonymous Coward · · Score: 0

    You may give Winswitch a try:
    http://winswitch.wincent.com/

  200. Ok, I'll feed this troll... by poemtree · · Score: 1

    How did this a "5 - Insightful"? The post was totally OT and a obvious troll.

    To answer this troll's highly rated post though, I would rather buy a $1000 Mac than get a $1000 PC for free, because I don't need the headaches that the PC clone architecture and Windows and Linux OSes bring to the equation. Although plenty of people and companies do it, I would never spend my own hard-earned cash to buy into that world. Besides, the TCO costs on the back end eat up all your "savings" on the initial purchase. And your beige box has no style (same to you Fast and Furious Alu-mini-um, windowed, water-cooled, glowtube boys too, like school on Sunday, no class).

    Now, to get OT. ZeroInstall sounds like Mac OS X's (and NeXT's) application bundles, which are basically special folders that contain all the pieces of the app, but act like an application and launch when clicked. Bring up a contextual menu on most Mac OS X apps however and you can select Show Contents which opens the bundle as a directory rather than launching the app. Throw said app away and you just uninstalled it completely.

    Mod the OT troll down.

    (Now that I think about, I guess I'd take the free PC and sell it to get money to pay for the Mac).

    --
    Any sufficiently advanced technology is indistinguishable from Macintosh...
    1. Re:Ok, I'll feed this troll... by AstroDrabb · · Score: 1
      Hmm, your personal comments are not trolling but mine are?
      I would rather buy a $1000 Mac than get a $1000 PC for free, because I don't need the headaches that the PC clone architecture and Windows and Linux OSes bring to the equation.
      And just what headaches are they? Most of the world's IT is ran on PC's. 98% or more of the worlds desktops run on PC's. Just what are all these headaches? Unreliable hardware? Oh come on now. Apple uses the same standard hardware, IDE, memory, video cards, etc. I guess if you take a hard drive from a PC and stick it into a Mac it magically becomes more stable? Please.
      ZeroInstall sounds like Mac OS X's (and NeXT's) application bundles
      Mac OS X's bundles are not very well done. The permissions on the files are very open and create too much of a security risk.
      (Now that I think about, I guess I'd take the free PC and sell it to get money to pay for the Mac).
      You sound like the type of person who would buy swamp land in Florida. Hey, if you believe the PR stuff from Apple about being a "better" value, by all means, buy them, it is your money. However, the other 98% of the world has neither fallen for nor found any merit in Apple's claims.
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    2. Re:Ok, I'll feed this troll... by poemtree · · Score: 1

      My comments were in direct response to your troll, and hence not trolling for troll's sake. What blew me away was how such an obvious troll got a 5 - insightful rating. Further, I reined my post back ON topic after taking your troll bait.

      Problems with Windows and Linux... Mostly not hardware, although given the size of the market and the proclivity of cheapness among PC users, a lot of cheaply made, cheaply designed, poor quality components exist, especially in the DIY and screwdriver shop crowd. Yeah, hard drives are hard drives, but chintzy cases, chintzy monitors, chintzy keyboards and mice, chintzy I/O cards, Winmodems. Not to mention COM and IRQ issues (just saw a guy on XP last week trying to connect to a router over serial, but both serial ports were assigned, so Device Manager, remove device, blah blah).

      No, on PCs software is the Achilles heel. I support a network with many PCs (60 Mac, 40 PC) and have supported PCs since Win 3.1. I don't think any slashdotters will disagree with me that Windows is a pain in the ass. Spyware, viruses, registry corruption, security issues, truckloads of patches, Microsoft tax, privacy issues, lack of choice (Microsoft lock-ins destroy any real choice on Wintel).

      Linux, lack of commercial desktop apps, still a
      very get-under-the-hood OS (compile source, chase kernels, edit config stuff), lack of standardized interface, millionbillion distributions, linux techies few, far-between, and expensive, SCO uncertainty (I hate SCO, but what if they win?), ultimately still hard to use and who wants to rtfm everytime they want to do something that should take two clicks to configure.

      I think Mac OS X is the best because I have used and supported many OSes and in my opinion OS X does more, is more reliable, is easier to setup and configure, is easier to support and troubleshoot, integrates better in mixed environments, costs much less to support over time, and runs on amazingly cool and cutting-edge hardware (Xserve, PowerBook, G5, nuff said).

      --
      Any sufficiently advanced technology is indistinguishable from Macintosh...
    3. Re:Ok, I'll feed this troll... by AstroDrabb · · Score: 1
      No, on PCs software is the Achilles heel. I support a network with many PCs (60 Mac, 40 PC) and have supported PCs since Win 3.1. I don't think any slashdotters will disagree with me that Windows is a pain in the ass. Spyware, viruses, registry corruption, security issues, truckloads of patches, Microsoft tax, privacy issues, lack of choice (Microsoft lock-ins destroy any real choice on Wintel).
      Wow, 100 whole computers! I work at a fortune 500 with 140,000 employees. There is a huge difference. How is there any _less_ lock-in with Mac? Where can I go to buy Macs and actually get competition on the price? You cannot.
      Linux, lack of commercial desktop apps, still a
      very get-under-the-hood OS (compile source, chase kernels, edit config stuff), lack of standardized interface, millionbillion distributions, linux techies few, far-between, and expensive, SCO uncertainty (I hate SCO, but what if they win?), ultimately still hard to use and who wants to rtfm everytime they want to do something that should take two clicks to configure.
      Mac lacs commercial server apps. Can I run Oracle, DB2, Peple Soft, Bea Web Logic or tons of other enterprise apps on Mac? No. I can run those on Linux. When It comes to a server, Linux is much better then Mac with 25% plus of the server market and far more commercial support. When it comes to the desktop, MS Windows is far better then Mac in regards to commercial support for software. Your obviously a little Mac fanboy and you let it cloud your judgment and argument.
      runs on amazingly cool and cutting-edge hardware (Xserve, PowerBook, G5, nuff said).
      Umm, yeah. That is real important to large enterprises. I will go to the CEO of the company I work for. He is responsible for several billion in sales every year. I will tell him that Macs are kool and 3133t and they are "cutting-edge" and he will jump right on them. It doesn't matter that we have no choice or competiton from the hardware _and_ software vendor. It also doesn't matter that they cost much more. Hey they are a better "value" according to Mac fanboys. Where can I get 4, 6 or 8 way boxes from Appple? That's right, they don't have them. Oh, well, I guess we can just stop doing business on our large hardware because some Mac fanboy says "Mac OS X is the best".
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
  201. Bad Design Work by ciroknight · · Score: 1

    The registry is actually quite a good idea, with a horrible implementation. Basically, it shouldn't be a single file database-style solution. This adds confusion that isn't needed. The other reason it was poorly implemented was because they continued to use INF files, instead of depreciating the entire subsystem, for removal in windows 98 (95 was the first instance of the "system registry" as we've came to know it).

    That's probably the whole reason Windows is in as bad of shape as it is; lack of standards, or downright bastardization, reinvention, or some combination of the two.

    In theory, they could fix the registry, and I'm working on a similar Linux project right now. The idea of having directories redefineable (think: XML file; sorta what microsoft did with Desktop.ini) based on content, and virtual directories that have any content that fits a certain layout (think: Virtual MP3 Directory, Virtual Movie Directory, Virtual Config file Directory). Defining a virtual conf dir would allow you a one stop location to fix whatever system problem you wanted, and you could even make a purdy little gtk2 or qt3 app made specifically for editing these files (although, it would end up becoming something like G-Edit with a Sidebar).

    Of course, this can be implemented by microsoft too, since their new WinFS will be an SQL-based file system. Using a Redefineable directory like "C:\Windows\Configuration Files\" could eventually replace the "registry", and help Windows become a whole lot more secure (by setting appropriate permissions on this directory).

    Usually, ideas are very sound and awesome pieces of work. It's the implementations that are the bitch...

    --
    "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
  202. Plugins can be handled by this model by spitzak · · Score: 1

    The problem with plugins is that they require the functions they call to be in a shared library (actually not a problem on Linux if you link with -shared, but we had to support Windows too, so we had to solve this).

    In our software *everything* in in a single directory. What is there is:

    1. A tiny "exec" program named after our app. This program figures out what directory it is in (from /proc/self/exe). It modifies the LD_LIBRARY_PATH to add this directory, and then execs the real program from the directory. This step is not needed on Windows, where the program's directory is always added to the library search path.

    2. The real program

    3. A shared library containing everything our plugins need.

    4. A subdirectory containing all the plugins we provide with the program.

    5. An "init" file that is text-editable. But by default it looks in ~/.app/ for the plugins as well as the plugins subdirectory. It will also source identical files in the ~/.app directory. So if you have your own plugins, you can add them by putting them in your home directory, by modifying the init in your home to point where they are installed, or (with permission) by editing the original .init file.

    1. Re:Plugins can be handled by this model by renehollan · · Score: 1
      Clever, but...

      5. An "init" file that is text-editable. But by default it looks in ~/.app/ for the plugins as well as the plugins subdirectory. It will also source identical files in the ~/.app directory. So if you have your own plugins, you can add them by putting them in your home directory, by modifying the init in your home to point where they are installed, or (with permission) by editing the original .init file.

      This breaks the "single directory" model because now the application has to look under your home directory, or some place other than it's "main" directory, for plugins. It's either that or you have to accept that the application's "main" directory is writable in order to change the plugins available to it -- not too good an idea.

      FHS tries to counter this with a limited number of directories for third party software - read only installation, read/write configuration/localization, etc. But, it does mean that software B that provides pliguns for sofrware A installs in A's "turf", as it were, and we're back to installing all over the place. Package managers help to the degree that they track where "all over the place" is, for a given package. But, this strikes me as not sufficient to elegantly address the problem.

      I suppose the best you can do is try to minimize the difficulty in installing/uninstalling your application, but that does nothing for the end user with regard to other, less-well behaved applications.

      --
      You could've hired me.
    2. Re:Plugins can be handled by this model by spitzak · · Score: 1

      Well you can also add plugins directly to the installation. But some may consider 3rd party plugins as not being part of the application and actually something else, so they should not be there. I mean you could consider every single program on Linux to be a "plugin for Linux" and thus they should all be in the one "Linux directory".

      I feel installations that look in multiple places are ok as long as there is no requirement that those multiple places exist. The user can delete their ~/.app directory and the program still works, they just lose their plugins.

      (note also that when I say ~/.app, I mean ~/.<name_of_app>)

    3. Re:Plugins can be handled by this model by renehollan · · Score: 1
      I mean you could consider every single program on Linux to be a "plugin for Linux" and thus they should all be in the one "Linux directory".

      Yes, of course. And this is not unreasonable. But the problem then becomes one of keeping the individual applications from interfering with each other. Either Linux specifies an installation standard, or the end-user is required to make sure that things don't collide -- we're all familiar with applications that rely on a variety of directories which the end-user has to specify.

      This is where standards like the FHS help: they provide a reccomendation of where application components should be installed, or at least where one particular hierarchy describes their component parts. Still, FHS is not the be-all-and-end-all for all application requirements.

      --
      You could've hired me.
  203. Re:Technophobes Showed The Way ! (as usual?!) by spitzak · · Score: 1

    Hard as it is to believe, it is even what techophiles believe to be the correct procedure. Only long exposure to Windows or Unix brainwashes people into thinking anything else.

  204. Thank you by plj · · Score: 1

    And if any moderators are still around, please mod parent up.

    --
    “Wait for Hurd if you want something real” –Linus
  205. Uhm. by 0x0000 · · Score: 1

    Perhaps I am missing something here, but if I am, I think it's because the first couple pages of the discussion listing seems to be all messages about OSX security?

    While security may indeed be an issue with the system as described, I'd like to see a couple other, rather basic points addressed. Like:

    Isn't this "all app pieces in one directory" approach a throwback to the way apps were designed e.g. under MS-DOS?

    And: What happens to commonality of binary code? I mean, isn't that why we started using dynmical load libraries to start with? So we could write certain common code once, and use it over and over?

    I mean, if One App, One Directory is a good idea, why not carry it out: give each app it's own virtual processor and it's own virtual fill system?

    Forgive me, please, but this whole idea appears to be a fundamental shift away from the basic idea of resource conservation by code re-use and leveraging commonality. The trade off for all this beauteous simplicity has got to be code bloat and hardware cost. Does each application get its own registry? What about network device drivers. What if I create a plugin that runs in more than one app? What if I want to extend an app? Is my now part of the existing app, or is the existing app part of mine? Does the existing app have to live in my directory?

    Maybe I should read the articles....

    --
    "The Internet is made of cats."