Slashdot Mirror


What's Wrong with Unix?

aaron240 asks: "When Google published the GLAT (Google Labs Aptitude Test) the Unix question was intriguing. They asked an open-ended question about what is wrong with Unix and how you might fix it. Rob Pike touched on the question in his Slashdot interview from October. What insightful answers did the rest of Slashdot give when they applied to work at Google? To repeat the actual question, 'What's broken with Unix? How would you fix it?'"

1,318 comments

  1. Several frustrating points by SIGALRM · · Score: 5, Insightful
    What's wrong with UNIX? Depends on which perspective you start...

    In my opinion, here are some headaches that have plagued a wary UNIX engineer or two:

    IEEE and Posix, X/Open, etc. provide a basis for standardizing UNIX interfaces, but adherence tends to be spotty

    Difficult to implement a microkernel architecture

    XPG3 aside, a de facto "common API" has never really been acheived

    In many cases, code scrutiny is difficult or impossible

    Progress and innovation tends to occur within the context of aquisitions (i.e. UnixWare)

    The COFF symbolic system is terrible (OK, I know it's a deprecated, but still...)

    PIT initialization (time management)

    Kernel tuning (anyone fiddled with the /etc/conf/cf.d subdir on OS5?) These are just a few things, in my experience. That said, UNIX has had some great days.

    --
    Sigs cause cancer.
    1. Re:Several frustrating points by XaviorPenguin · · Score: 3, Interesting

      Maybe I am just stupid but it is kind of hard to install. I am a Unix newbie. I have downloaded FreeBSD and almost had it installed but I have failed many times, therefore going back to Linux or even Windows. If they can make the installers just a bit more user friendly like this, then I am all for it.

      --
      Friends help you move...
      REAL Friends help you move dead bodies... ^_^
    2. Re:Several frustrating points by Anonymous Coward · · Score: 5, Insightful
      In addition:

      1. Crappy filesystem. Resier4 or XFS is what UNIX should have started with and even now we don't have file versioning.
      2. POSIX permisions suck. The suid bit sucks even more. ACL's make more sense, and UNIX should have had them from the start. If we're doing it now, capabilities would be even better.
      3. IPC primitives are poor. SySV shared memory goes some way to helping, and UNIX domain sockets are O.K, but a proper message/event marsheling system would eclipse them all.
      4. The filesystem hierachy is an awful mess. Non-standard across all unices and poorly evolved to cope with modern systems. /etc was a horrible copout and it shows. UNIX needs proper application packaging with proper self-contained application packages.
      5. Providing lots of little applications to do specific tasks was the best idea ever, but not providing a decent scripting language to bind them together was a bone-headed mistake. Likewise not standardising some basic data-interchange formats (Even it was just pre-formated ASCII) just makes piping all those little tools together to do anything useful a pain.
    3. Re:Several frustrating points by Anonymous Coward · · Score: 1, Funny

      My good man, all these and more are already fixed in The Hurd!!! Free4Life, baby, yeah!

      -- RMS

    4. Re:Several frustrating points by Anonymous Coward · · Score: 2, Informative

      Let's make UNIX not suck by Miguel de Icaza. Answers this exact question in quite a lot of detail! Try out the UNIX Haters handbook [warning: big PDF] for a more humourous take on things!

    5. Re:Several frustrating points by Anonymous Coward · · Score: 0

      > The COFF symbolic system is terrible (OK, I know it's a deprecated, but still...)

      Deprecated nuthin. I don't know of any unix that doesn't use ELF. Nuthin wrong with ELF.

    6. Re:Several frustrating points by menkhaura · · Score: 1

      Bah, go back to Windows, if that is what you really want.

      No decent scripting language? In Unix? What do you suggest? BASIC? JCL? Microsoft's batch language? /etc is ugly? Have you ever tried to mess with Windows registry?

      How is message passing IPC better than sockets or shared memory or named pipes?

      ACLs are coming, but I believe that POSIX permissions make privilege management very simple, very straightforward, and very effective. ACLs may provide finer-grained permissions, but nothing that cannot be done via groups and permissions.

      --
      Stupidity is an equal opportunity striker.
      Fellow slashdotter Bill Dog
    7. Re:Several frustrating points by killjoe · · Score: 0, Flamebait

      If you are a windows person don't try and install BSD. BSD is not designed for you.

      Get xandros and install that. It's the ideal distro for windows people.

      --
      evil is as evil does
    8. Re:Several frustrating points by vadim_t · · Score: 3, Interesting

      Why the microkernel part? Although I don't have much experience in this, I'd say it should be quite simple, relatively speaking. Look at Linux, most of the kernel tree is drivers. The kernel itself is pretty small.

      From reading stuff and watching discussions what I got is that the problem with microkernels is that they're hard to properly implement and still have fairly bad performance. In fact, I hit those same problems when trying to code an extremely modular application, that I tried to write as an experiment.

      My experiment consisted in writing a small chat server in the most modular way possible, that is, the core does almost nothing, and everything is implemented externally, with "services". Soon it became clear that if you go at it this way, there's lots and lots of latency. For example, a service could trap events. The theory is that I let people just login without a password, then a module overrides that, requiring whatever authentication method was desired. It would be modular to the point that it could do completely different things depending on the services running.

      In practice this meant that a login would arrive to the server, get parsed, be forwarded to the service which would do its own processing, get sent back to the server, which would finally reply to the client. Now imagine this happens almost during every request.

      Now, of course I'm not a programming genius, perhaps somebody can pull this stuff off with good performance and make it look good, but the point is that I finally realized that I could write a very basic chat with shell script and named pipes, while this thing would need thousands of lines of code before starting to do anything at all. Linus' quote about message passing and masturbation seems to fit here quite well.

    9. Re:Several frustrating points by Anonymous Coward · · Score: 4, Insightful

      I'll make you a deal; you go back to reading comics and the rest of us will continue to use UNIX. Let me point out your mistakes, as they are many.

      No decent scripting language? In Unix?

      In UNIX, sure. Show me the default scripting language in UNIX v6. Bourne Shell is the closest thing you get.

      /etc is ugly?

      Yes. It literally means "etcetera". It is intended to hold all the junk that didn't fit anywhere else. It was a sloppy solution; instead of finding a place for all those scripts, binaries and conifguration files they all get dumped in /etc. With different file formats.

      Oh and you're the only one talking about the Window registry.

      How is message passing IPC better than sockets or shared memory or named pipes?

      1) The sending and recieving process don't need to know about each other before hand 2) You can easily broadcast events to all listeners 3) Much easier to send arbitary data 4) Much easier to manage; no need to mess with sockets APIs 5) Much safer; no need to share memory between process.

      ACLs are coming, but I believe that POSIX permissions make privilege management very simple, very straightforward, and very effective. ACLs may provide finer-grained permissions, but nothing that cannot be done via groups and permissions.

      You can believe what you like about POSIX permisions but those of us who have to deal with big systems know that they suck. They suck big, coarse grained, poorly thought out rocks through straws. The are very simple, very straighforward, but that makes them useless for proper security because they're too simple. If you think that ACL's have no advantage over POSIX permisions you're wrong a second time on this.

      The SUID is still a horrible solution, and come to that so is the "All or nothing" attitude of the All Mighty UID 0. ACL's solve all of that.

    10. Re:Several frustrating points by bani · · Score: 1

      In many cases, code scrutiny is difficult or impossible

      Compared to what?

      Progress and innovation tends to occur within the context of aquisitions (i.e. UnixWare)

      Categorically disagree. Who acquired (free|net|open)bsd or Linux? IRIX? Solaris? Or are you saying none of these operating systems progressed or innovated?

      And uh, heh. Calling unixware innovative takes some real balls :)

    11. Re:Several frustrating points by SIGALRM · · Score: 1
      Answering your questions in reverse order:
      Who acquired (free|net|open)bsd or Linux? IRIX? Solaris? Or are you saying none of these operating systems progressed or innovated?
      No. I was referring to commercial UNIX; in contrast to F/OSS it has evolved quite slowly.

      Compared to what?
      Compared to the deep scrutiny offered in the codebases of the OS's you just mentioned.
      --
      Sigs cause cancer.
    12. Re:Several frustrating points by Glonoinha · · Score: 1

      No joke about permissions - I would give ANYTHING to have file / directory permissions set up the way Netware's NDS (Netware 4.x and newer) does it.

      Come to think of it, now that Novell is hacking on the Suse code base - how about adding NDS as the file permission scheme?

      --
      Glonoinha the MebiByte Slayer
    13. Re:Several frustrating points by eliza_effect · · Score: 3, Insightful

      Maybe he got BSD because he doesn't want to be a "Windows Person" anymore..

    14. Re:Several frustrating points by jargoone · · Score: 5, Insightful

      Add another thing that's wrong with Unix: the elitist attitude towards outsiders.

    15. Re:Several frustrating points by Anonymous Coward · · Score: 2, Interesting
      etc is ugly? Yes. It literally means "etcetera".
      Common misconception. Actually it stands for "everything configurable".
    16. Re:Several frustrating points by Audacious · · Score: 1

      The problems with Unix?

      1. Not enough sex. :-D

      Really though, I'd say:

      2. No D flag in the RWX flags. DEC expanded upon the standard unix RWX flags to include a D flag so that people could not delete a file. I have also seen on some systems that you can not write to a file unless you also had the execute flag. I forget which version/flavor of Unix I was on but it seemed a bit dumb to have to have both.

      Code scrutiny is not difficult or impossible. All you have to do is to download the CVS's software and recompile it on your system. Once that is done you just do whatever you want to with it.

      I would have to say that the fifth line is untrue. In my experience, progress and innovation start with a new piece of software and then these new ideas are gobbled up into large aps.

      --
      Someone put a black hole in my pocket and now I'm broke. :-)
    17. Re:Several frustrating points by Anonymous Coward · · Score: 3, Insightful

      I wanted to say nu-huh but I can't find any reference to /etc being "etcetera" nor "Everything configurable" (Although I find some non-reliable sources for it being "etcetera". My BS detector is screaming "Backronym" at me though, even more than it usuaully pings for "Unix System Resource" for /usr. So I still side with it being "etcetera", just because.

    18. Re:Several frustrating points by snorklewacker · · Score: 2, Interesting

      From reading stuff and watching discussions what I got is that the problem with microkernels is that they're hard to properly implement and still have fairly bad performance. In fact, I hit those same problems when trying to code an extremely modular application, that I tried to write as an experiment.

      BeOS is a microkernel. OSX is a microkernel ... er ok it's performance isn't fabulous. NT is sorta a microkernel (with a lot of rules broken), and its I/O still spanks everyone else (owing to its VMS-inspired design). Plan9 is a microkernel.

      Now, of course I'm not a programming genius, perhaps somebody can pull this stuff off with good performance and make it look good, but the point is that I finally realized that I could write a very basic chat with shell script and named pipes, while this thing would need thousands of lines of code before starting to do anything at all. Linus' quote about message passing and masturbation seems to fit here quite well.

      Linus, to put it mildly, doesn't know a fucking thing about microkernels, yet feels qualified to spout off on them every chance he gets. Thankfully, most microkernels are written by people who are at least pretty close to being actual programming geniuses, and astonishingly enough aren't a bunch of shell scripts cobbled together with pipes. Go put down the Mach book and try taking a look at L4 sometime.

      --
      I am no longer wasting my time with slashdot
    19. Re:Several frustrating points by critter_hunter · · Score: 1

      I think the idea of lumping write permission with delete permission is that, if you can write to the file, you can write an empty file, which is the same as deleting the file. So there's no point in separating the two.

      --
      Karma: Could be worse (could be raining)
    20. Re:Several frustrating points by fymidos · · Score: 1

      None of those "frustrating points" is actually a "unix" problem, they are "computer operating systems" problems. IEEE and POSIX are not UNIX-only standards, i fail to see how a microkernel is more difficult to implement if you intend to built a unix OS etc..

      >Progress and innovation tends to occur within the
      >context of aquisitions (i.e. UnixWare)

      How did "Progress and innovation" occur from the aquisition of Unixware ????

      --
      Washington bullets will simply be known as the "Bulle
    21. Re:Several frustrating points by Martin+Blank · · Score: 3, Insightful
      Five different groups need different abilities on a single directory.
      • Managers need to be able to list, create, delete, read, write, and change permissions.
      • Secretaries should be able to list, create, read, and write.
      • Technicians should be able to list, create, delete, read, and write.
      • Sales should be able to list and read.
      • Certain miscellaneous people should be able to only read, so they can be given a link to a file but not see the other files in the directory.
      Now, how exactly is this done with POSIX permissions in a simple, straightforward, and very effective way? I can't see how it can be effectively done without ACLs. The lack of ACLs is a major impediment to uptake of Linux in the business community.
      --
      You can never go home again... but I guess you can shop there.
    22. Re:Several frustrating points by insert_username_here · · Score: 5, Insightful

      Mod parent up!!

      I've been happily using Linux on my home PC for about 4 years, but the filesystem layout has always been an annoyance.

      Without a package manager, it's practically impossible to remove a program; even with a package manager, you can't even determine how big a given package is! (if you know how to with Portage, I'd like to know). A better filesystem layout (perhaps the way MacOSX, GoboLinux or RoX does it) would make package managers obsolete.

      A lack of standard configuration layout is another thing: why should people have to learn hundreds of config file formats? Yes, comments help, but it'd be nice if they weren't needed. Why not come up with one standard text-based config format/filesystem layout and get everyone to use it? This would also save programming time, as you could create a library (with a name like libconfig or something similar) and not have to worry about parsing configuration settings. The Windows Registry Hell can be avoided by using a text-based format(e.g. like Java properties files or XML).

      A standard configuration layout (with suitable metadata) would also go a long way to allowing a standard graphical system configuration utility (Whatever happened to linuxconf? I loved that app!), making Unix/Linux that much more accessible to ordinary people.

      Replies, flames, etc.

      --
      -- Dramatisation - May Not Have Happened
    23. Re:Several frustrating points by vadim_t · · Score: 3, Interesting

      BeOS is dead, and last time I heard about it, OS X runs all of Darwin as one big process. Now, this area of my knowledge is very fuzzy, but if true then it's not much of a microkernel, when if I understand correctly, the original idea was to have lots of little components.

      NT might have been somewhat of a microkernel in NT 3.51, but it's not anymore. Win2K is a NT system, and I haven't seen it resist driver failures. In fact, any serious kernel failure results in a BSOD, followed by a reboot. Heck, even Linux seems to stand kernel oopses better, because quite often it does manage to continue despite a failure.

      I think you misunderstood the part about pipes. I was meaning to use it as an agreement with Linus' quote - that a kernel that does message passing accomplishes absolutely nothing by itself, and that writing a server the "microkernel way" was resulting in a lot of code that did nothing useful at all.

    24. Re:Several frustrating points by MarkByers · · Score: 5, Informative

      even with a package manager, you can't even determine how big a given package is! (if you know how to with Portage, I'd like to know)

      equery size package

      equery is part of gentoolkit

      --
      I'll probably be modded down for this...
    25. Re:Several frustrating points by kantai · · Score: 2, Insightful

      You are even more correct than the parent! My God. The thing broken with Unix is standardization. For a group of people always whining about standards... how about if all the information for applications went into a certain directory, lets call it /apps, or /opt/apps for user installed applications or how about ALL config files being in the same directory? I know (not Unix) Debian does this (ALL system-wide configs are in /etc/foo), but it is the only one doing it.

    26. Re:Several frustrating points by Randy+Wang · · Score: 3, Insightful

      Given the skill and experience that it takes, in my experience, to be able to run Unix as naturally as some people do... perhaps they've earned that attitude.

      The installation process alone, as one of the parents said, can sometimes be nothing short of excruciating, and after that a newbie still has to learn to get around a completely unfamiliar system, and use it normally. Finally, to be able to customise your lovely little Unix box to bend to your will at the slightest command - anything from adjusting your desktop environment (or lack thereof) to tweaking the kernel For Great Justice - you've shown yourself to be considerably more skilled with your OS of choice than the majority of computer users.

      So maybe some Unix devotees really do deserve to have an elitist attitude. I'm not saying they should, just that some people have something to show for it.

      --
      --- Egads, I glow in the dark!
    27. Re:Several frustrating points by logicnazi · · Score: 2, Insightful

      No, quite frankly most microkernels are written as CS Ph.D student thesis where they only need theoretical appeal. At best they are usually implemented in a small theoretical setting where they need not deal with the messy interfaces and hardware present in the real world. Of course there have been some real world exceptions and BeOS might be one of them.

      Certainly microkernal design has some compelling advantages. The same advantages any layer of abstraction adds, greater code reuse and easier code maintenance. Effectively we get the same benefits from keep a consistant binary format/software interface. However, the benefits of abstraction often come with performance penalties, and often inhibit innovation if they are not designed perfectly the first time.

      The issue is as much one of programer organization as it is of engineering superiority. Micro-kernels or monolithic kernels can all accomplish the same things but they work better in differnt organizations. A corporation which often has sharp organizational distinctions between groups coding differnt sections, the money to invest in R&D to define an efficent and extensible interface and often lacking the flexibility to allow one individual to dictate his coding styles a microkernel is quite appealing. In contrast for an open source project, which often lacks expertise when they first begin coding a solution, the explicit interfaces in the microkernel would strangle them with all their bad design choices. Moreover, enthusiasm and many eyes allows them to both handle the extra code maintenance and ensure consistant coding style without rigidity.

      Finally I just don't understand the point of your argument. Linux is bad because Linus is not personally an expert on microkernel vs. monolithic kernels? Can I equally well say your post is bad because you are not an expert either but simply relying on what others say.

      Religious battles in coding are just stupid. Despite what many CS professors want to believe deciding between differnt design models is more about psychology than engineering. It is difficult for even one person to hold all the code they wrote clearly in their mind and impossible for a group project, so we evolve tools like microkernels to compartmentalize our programs and help us solve the organizational problems of programming. Howwever, it is just downright silly to forget that the ultimate goal is to solve the psychological problem of getting people to create a large project. Clearly Linus has managed to overcome this problem and if you think better why not go do it yourself.

      It is plain stupid to value theory over results.

      --

      If you liked this thought maybe you would find my blog nice too:

    28. Re:Several frustrating points by cicadia · · Score: 2, Informative
      Except that writing an empty file is not the same thing as deleting the file. In one case, the file exists, can be opened and read (with appropriate permissions,) and has size 0. In the other, the file no longer exists, cannot be opened for reading at all, and has no defined size (or any other metadata).

      Deleting a file in Unix simply means removing the file's entry from it's containing directory. This is why deleting a file in Unix requires write permission on the parent directory, and has nothing to do with the permissions on the file itself.

      --
      Living better through chemicals
    29. Re:Several frustrating points by linguae · · Score: 5, Insightful

      I strongly agree. Snide comments such as "BSD isn't for you," especially if the person trying to install it seems interested in learning about it, isn't going to help the Unix installed base grow. Such trolls hurt the *nix community in general because they are turning away prospective users.

      If anything, us Unix users should be trying to convert as many people as we can to our OS, not turning them off and turning them away.

    30. Re:Several frustrating points by Anonymous Coward · · Score: 0

      I've been happily using Linux on my home PC for about 4 years, but the filesystem layout has always been an annoyance.

      Try OpenBSD. BSDs in general have a well ordered layout.

    31. Re:Several frustrating points by killjoe · · Score: 0, Flamebait

      The guy can't install freebsd (a 20 minute process for most people). I reccomended xandros which my dog could install and use.

      What's wrong with that?

      --
      evil is as evil does
    32. Re:Several frustrating points by Anonymous Coward · · Score: 0, Funny

      Elitist? Just because we're better than you? If we were elitist, we would be justified. But we're not.

      So shut it, you snivelling, GUI-loving dweeb. You're not good enough for UNIX.

    33. Re:Several frustrating points by mrroach · · Score: 4, Informative

      > The lack of ACLs is a major impediment to uptake
      > of Linux in the business community.

      This is not at all insightful. It is uninformed at best. Posix ACLs exist on ext2/3,xfs,reiser,jfs. These ACLs are also completely supported by Samba (and have been for many years).

      -Mark

    34. Re:Several frustrating points by Anonymous Coward · · Score: 0
    35. Re:Several frustrating points by jjp5421 · · Score: 1

      AMEN!!! I have been saying this for years. --Jeff

    36. Re:Several frustrating points by Taladar · · Score: 1

      Where exactly is the difference between write and delete? If you can write to a file you can do all the damage you can with delete.

    37. Re:Several frustrating points by superdude72 · · Score: 1

      Yes. It literally means "etcetera".

      No. I don't remember exactly what the acronym stands for, but it's not "etcetera." It's something Tables and Configurations.

    38. Re:Several frustrating points by LilGuy · · Score: 1

      Wow.. amazingly this never occured to me before... man I feel dumb now.

      --

      You're nothing; like me.
    39. Re:Several frustrating points by antoy · · Score: 5, Insightful

      Given the skill and experience that it takes, in my experience, to be able to run Unix as naturally as some people do... perhaps they've earned that attitude.

      That's complete nonsense. Installing and running Unix hardly counts as one of the more difficult intellectual tasks. It's hard, sure, if you're used to something different, but the description 'windows people' includes novelists, artists and nuclear scientists who just don't give a damn about the stupid OS their computer runs.

      Would you like it if an artist made fun of your pens and call you and your friends BIC people? Well, that's how stupid this sounds.

    40. Re:Several frustrating points by 0racle · · Score: 1

      I haven't worked with NDS for a while, so are you simply asking for LDAP authentication or for something more. LDAP auth can be done with nss_ldap or PAM, both of which should work with an existing NDS tree.

      --
      "I use a Mac because I'm just better than you are."
    41. Re:Several frustrating points by Nxok · · Score: 1

      This question is interesting not because of the answers you give but the mindset that asked it. I submit that there is nothing wrong with Unix. Most things posted here just mean that the group of people who use computers has shifted from a narrow set of engineers to almost everyone. For me, Unix is a dandy operating and development environment, and from down here, there's nothing wrong with it except the minor blemishes as they exist in everything.

    42. Re:Several frustrating points by Bombcar · · Score: 1

      It is to fix user error, nothing else. It prevents people from accidentally deleting files that they've edited, but allows them to make more.

      Of course it doesn't prevent malicious destruction, but it does cool the jets on rm -fr.

    43. Re:Several frustrating points by Earlybird · · Score: 1, Informative
      • No decent scripting language? In Unix? What do you suggest? BASIC? JCL? Microsoft's batch language?

      Unix needs something like MSH, I think.

      Of course, there are plenty of good scripting of languages for Unix. The question is whether we need some higher-level glue between scriptable components, and I think we do.

    44. Re:Several frustrating points by macdaddy357 · · Score: 1

      What's wrong with Unix? They have no ballz!

      --
      How ya like dat?
    45. Re:Several frustrating points by Earlybird · · Score: 2, Interesting
      • Why the microkernel part? Although I don't have much experience in this, I'd say it should be quite simple, relatively speaking. Look at Linux, most of the kernel tree is drivers. The kernel itself is pretty small.

      The Linux kernel actually implements a good compromise, which is to allow kernel modules to be plugged in and out, which is one of ideas behind microkernels. However, there are still user-facing problems with this approach that could be cured without going the microkernel route.

      For example, Linux does not provide stable binary interfaces between the kernel and modules, so you can't just plug in any driver -- it has to be compiled against your kernel. This is a political decision; Linus does not want binary drivers. A solution would be something like a source driver package that the driver manager GUI could access and transparently compile; but this, or any other solution, would require the Linux developers to put some thought into kernel user-friendliness, and that is not their strong suit by any means.

      The other issue is that of security. At the moment, device driver loading and file-system mounting are superuser operations, but they shouldn't need to be. (User-friendly security in general is one of Linux/Unix' weakest points.)

      Btw, I believe the argument that microkernels are inherently slow has been shot down.

    46. Re:Several frustrating points by SoupIsGoodFood_42 · · Score: 1
      ...you've shown yourself to be considerably more skilled with your OS of choice than the majority of computer users

      So? Who cares? That right there is an elitist attitude.

    47. Re:Several frustrating points by Mordanthanus · · Score: 2, Insightful

      Not to mention that that this is the whole reason why linux will never be a mainstream desktop operating system... people that like the idea of an open source operating system, can do some minor programming and want to use something a little "out of the ordinary" and a bit more powerful than the "standard" OS (I'm talking about me here) can't seem to get simple little things to work like sound, a USB mouse or the extras in my docking station. And I like Gentoo. The OS seems fantastic. But god forbid I ask a question on IRC or anywhere that someone knows anything about linux. I have been flamed and ridiculed tirelessly over "n00b" questions.

      You know what? I will figure this stuff out. And yeah, I probably will have an elitist attitude when I'm through... but guess what. It will be against all the inconsiderate pricks that wouldn't take the time to help me with some "n00b" questions that I am sure they had at one time too.

      And back to my original point... if someone just coming into linux gets attitude from "the gang", they will probably get tired of it and switch back to what everyone else is using... cause I don't know about you guys, but who the hell needs another hassle in their life than to learn all of this stuff when all they want to do is just USE THE COMPUTER.

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    48. Re:Several frustrating points by Chrax · · Score: 1

      If I understand it, think of using a GUI tool. It's fantastically easy to hit delete and fuck everything up on accident.

      If you have write permissions, you can't just remove a file. You'll have to actively corrupt it, and that takes malicious intent and (a log of time || an exploit program), not a slipped finger.

      If I'm going to give a standard user (that needs to use the computer for more than reading email) permissions, I'm going to give them write, but not delete permissions. (With a trash folder that is automagically emptied after a reasonable amount of time for them to miss something.)

      However, in POSIX, I believe the two are synonyms (i.e. you've got rwx, and w seems to be the only one that makes sense to allow deletions), and that seems to be the point the grandparent was making.

    49. Re:Several frustrating points by Fallen_Knight · · Score: 1

      if youw ant a good scripting lan use linux, no unix. or isntall one under unix.... plenty out there and linux supprts them very well. /ect is horrible, but its better then the registry... both are huge messes of unsorted data thats all globed togeather except /ect can be manipulated by normal tools (linux/unix strong point, many littles tools for everything) while the registry is 1 big file you need a MS tool and API to use. /ect is managed by the FS driver, registry meory is manged by whatever MS API does.

      but thats not why i responded:

      "1) The sending and recieving process don't need to know about each other before hand 2) You can easily broadcast events to all listeners"

      as far as i know windows 32 mesageing you NEED to know the window handle of the "window" your sending a message to. windows drivers its strictly vertical and you know beforhand.

      QNX you also must know beforhard who your going to talk to. As far as i know neither QNX or windows can "broadcast" to everyone listening... So QNX and windows, 2 OSes that do message passing that isn't true.

      "4) Much easier to manage; no need to mess with sockets APIs 5) Much safer; no need to share memory between process."

      no and no. with linux at least (and i'm guessing unix if its POSIX) you have shared memory and pipes/streams. You can pick any one you want.

      If i am wrong please correct me, and describe why. i am no expect here, i'm still a student. would be a handy thing to know about.

    50. Re:Several frustrating points by Anonymous Coward · · Score: 1, Insightful

      Actually, ACLs are very difficult to audit properly.

      Your case can be handled with "POSIX" permissions very easily.

      Permissions are associated with directory entries, and NOT inodes. A specific inode may have as many directory entries (hard links) as you want, and each of these can have different permissions.

      The PROBLEM is that typically hard links cannot be made to directories. Which does complicate things a bit.

      Ratboy

    51. Re:Several frustrating points by Fallen_Knight · · Score: 1

      if you look at the windows registry its just as bad really... if not worse.

      aparently the unix file system layout is what admins have come to agree on was the best in the last 20+ years. or something like that.

      personaly i hate both the linux and windows way but thats just me:)

    52. Re:Several frustrating points by crmartin · · Score: 4, Insightful

      It's clearly time for my periodic "you young pups don't know your history" posts.

      1. Reiserfs etc are the results of 30 years of research that, well, hadn't happened 30 years ago. the i-node/u-node business was the best there was. Then.
      2. Multics had general, configurable, role-based, magic ACLs; UNIX lost them on purpose becuse it wasn't well suited to a big games system and word-processor, which is what UNIX was meant for originally.
      3. When I was a kid we hardly HAD processes, much less IPC. Having named pipes was a helluvan innovation.
      4. That's not the operating system, that's book-keeping.
      5. /bin/sh WAS the coolest scripting language ever. They've gotten better. text files with field seperators (that all passwd(5) is, after all) were the uniform data representation.

      If you were to go back to System 3 UNIX, you'd have most everything you're asking for here. It wouldn't be as powerful, but it'd be uniform.

    53. Re:Several frustrating points by jedidiah · · Score: 1

      While I can't speak to docking stations, USB and audio have been easy to deal with for quite awhile. Neither will give you the sort of trouble under Linux that you might not be subjected to with a Macintosh.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    54. Re:Several frustrating points by bluelip · · Score: 1

      It's not 'elitism'. It's just Unix being user friendly!!!

      What Unix isn't user friendly??? Of course it is. It is just picky about who its friends are. :)

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    55. Re:Several frustrating points by T-Ranger · · Score: 2, Interesting

      The filesystem permissions are stored on the filesystem... The entities that have permissions - users, groups, roles, containers, etc, etc, etc - are in NDS. NWAdmin/ConsoleOne definitly makes it appear that it is seamless and all in NDS, but it is not.

      Netware definitly has more permissions, but POSIX ACLs do add a lot. It is realy a matter of effective, easy, consistant tools.

      For the record, Novell Open Enterprise Server (Think Netware 7, with either a Netware or Linux/SuSE core), is in public beta. With it, you can run NSS volumes under Linux quite happiliy. There are some things that Linux NSS does not yet support, but to some degree, with OES the "OS" doesnt matter -- Netware and Linux can be in the same cluster, use the same NSS volumes, and offer the same services.

    56. Re:Several frustrating points by X · · Score: 4, Insightful
      Responding point by point:
      1. It's easy in hindsight to critique filesystems. While the original SysV filesystem was pretty bad, the Berkeley Fast Filesystem was already pretty good for it's time. The simplicity of the Unix filesystem has actually been a key aspect of Unix's success. Even on platforms with more complex filesystem API's, you don't see much in the way of applications taking advantage of them.
      2. POSIX ACL's have been around for a long time at this point. The relatively pathetic rate at which they've been adopted and taken advantage of should be a clue to their shortcomings. Several security experts have pointed out that while ACL's are great on paper, in reality they increase the complexity of the security model, which in practice is more of a liability.
      3. SysV has message queues for IPC. Everything you could want and... not a lot of people use them. ;-) ONC RPC also prvides a pretty decent message/event marshalling mechanism, and you don't see a lot of new apps being written to use that either. Think about why. I would say though it'd be nice if there was a better standard model for kernel events beyond signals.
      4. I honestly still find advantages to the traditional Unix FSH, particularly for administrators. It certainly beats the crazy structures on Windows or OS X. End users increasingly care less about where program files are located on their system, so this seems like the wrong area to work on things.
      5. Unix did include decent scripting languages, and more importantly provided for additional ones to be added to the system (witness the rise of ksh, perl, python, etc.). If there had been any kind of data-interchange format that was remotely useful, it surely would have dictated how Unix tools work with those data formats. Unfortunately, there were weren't (and aren't). Consequently, dictating standards wouldn't have solved the problem you're describing, as you'd still have to translate non-standard formats into the standard formats and back again. Letting tools like sed/awk/perl evolve to solve the problem seems like a far more practical approach if you ask me.
      --
      sigs are a waste of space
    57. Re:Several frustrating points by mrchaotica · · Score: 1

      On the other hand, some of us like having all our programs in /bin or /usr/bin and our configuration files in /etc, and whatnot.

      I personally think the two most viable solutions (to make both groups happy) are either 1)standardized package management or 2)parallel hierarchies, with both /bin, /etc, et cetera and /apps, and all the files hardlinked between them.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    58. Re:Several frustrating points by Rod+Beauvex · · Score: 1

      I've never really had a problem with the installer itself, tt's just the end of it that confuses me. I've never seen the freeBSD desktop. It finishes, takes me back to the menu. It syas and does nothing else, and when I reboot, I end up at it's command prompt.

    59. Re:Several frustrating points by Nefarious+Wheel · · Score: 1

      Scripting language? What it really needs is DCL...

      --
      Do not mock my vision of impractical footwear
    60. Re:Several frustrating points by Eravnrekaree · · Score: 2, Insightful

      Yes, I certianly agree. We should try to make Unix-type systems more avialable to everyone and that means some good GUI configuration tools.

      The big problem with Linux, BSD, etc, is few are being paid to develop for these platforms, thus we dont have a lot of people who can work full time to improve things. We need to find a way to pay developers of open source projects so they can work full time on these projects. With that I think we would see an increase in quality including lots of nice GUI tools for non-techie users.

      I think furthermore techie and non-techie users can both share the same system and techies can have full control and low level access to the system well non-techies can have the easy to use GUIs at the same time. GUI configurators can be made to automatically produce the human readable config files, thus we can have both config files, GUI tools, and a rich command line environment.

      As far as Unix itself, I think overall the system is very good and no changes should to the core concepts should be made, the directory layout is good, the basic concepts are good, X WIndows is good. I have heard people say that the X Windows API is prehistoric. Nonsense, its just a low level API and its designers didnt make the mistake of just offering a bunch of high level widgets but created an API providing graphical primitives high level widgets can be created with. X API is designed for widget construction, not for direct use by applications.

      Basically what is needed is more full time developers, including for the GUI tools.

    61. Re:Several frustrating points by theM_xl · · Score: 1

      Nono, TECHNICIANS should be able to list, create, delete, read, write, and change permissions.

      Managers should be able to SIGN, maybe read, and if you're really lucky, shut up and listen. But I wouldn't hold my breath on that one :)

    62. Re:Several frustrating points by AmberBlackCat · · Score: 2, Insightful
      The installation process alone, as one of the parents said, can sometimes be nothing short of excruciating, and after that a newbie still has to learn to get around a completely unfamiliar system, and use it normally. Finally, to be able to customise your lovely little Unix box to bend to your will at the slightest command - anything from adjusting your desktop environment (or lack thereof) to tweaking the kernel For Great Justice - you've shown yourself to be considerably more skilled with your OS of choice than the majority of computer users.

      I think your post also provides a pretty good answer to the original question. What good is an operating system to average computer users if you have to be more skilled than the average computer user to do anything with it?

    63. Re:Several frustrating points by kantai · · Score: 1

      I agree with the standardized package management. But, parallel hierarchies would worsen the situation no matter what way you look at it. (imagine your current file system + the new one, not pretty) And your forgot /usr/local/bin and ~/bin and on my system for stuff I haven't dpkg'd /opt/bin . You can see where this could be confusing (is it in /usr/lib ? or maybe /lib or /usr/local/lib or /usr/share/foo/lib or /usr/local/share/foo/lib or...)

    64. Re:Several frustrating points by Mordanthanus · · Score: 1

      I agree with you, and thank you for making my point. You are right, but USB and audio are easy to deal with... for someone who understands linux. But someone that is just coming onto the scene is likely to leave just as quick due to the crappy attitude they get by asking about such things.

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    65. Re:Several frustrating points by DeputySpade · · Score: 1

      If all you want is to "USE THE COMPUTER", then perhaps you should put down the SuSE box you got from Best Buy and stick with what you've got. If I just wanted to "GO TO THE STORE", then I wouldn't drive a muscle car because I wouldn't want to be bothered tinkering with it. But I do drive a muscle car because the tinkering is half the fun. Same thing applies to computers. You will never get the linux people to accomodate the windows people because they just don't give a damn if linux becomes mainstream. That's not the point. The point is the fun of tinkering. I'm sure the same could be said of the *BSD guys as well, but I only know one of them and he's an elitist prick. ;)

      --


      This space intentionally left blank
    66. Re:Several frustrating points by johnnyb · · Score: 2, Interesting

      ACLs suck for system data. Here's why --

      you can't audit your system easily. If I want to verify that my permissions are in order in Linux, I do ls -l and can see easily. ACLs blow that idea to smitherenes. Then, when applications don't run, it's usually not obvious which combinations of ACLs need to be changed, so you wind up completely compromising your system just to get one COM application to run.

      ACLs for user data? Sure. Makes sense, and Linux has them. ACLs for system data? Shouldn't even be allowed. If I weren't lazy, I'd even use different filesystems for user and system data -- they have completely different access patterns, organization, and security needs. (Of course, on Linux, you _can_ set different partitions to be different filesystems ;))

      "UNIX needs proper application packaging with proper self-contained application packages."

      Exactly. We all need to steal Mac OS X's design here.

      "but a proper message/event marsheling system would eclipse them all."

      CORBA is already pervasive in GNOME.

    67. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Hmmm. I see your point - an artist invests more time and energy into what flows from his tools, so he has higher standards for them, while a BIC user simply desires a simple instrument to record a note or two.

      The problem with this analogy is that in my opinion, it's more like comparing a calligraphy pen which may require some practice and instruction to use properly but produces a smooth and elegant writing experience to a quill (feather) which is simple for anyone to pick up and mark with, but does so crudely and what's worse is that the quill users are paying much more money than the calligraphy pen users are. And the quill is fragile and breaks all the time, and gets attacked by biological agents all the time, etc... etc... ;-)

      If you identify one instrument as clearly superior to the other, is it elitist to use it or recommend it? Or to criticize the inferior one if it costs so much more and delivers so much less?

    68. Re:Several frustrating points by DeputySpade · · Score: 2, Insightful

      If anything, us Unix users should be trying to convert as many people as we can to our OS

      Why?

      To what end? As a *BSD person, what do you really care how many people run NetBSD instead of Windows 2000? Does it matter? Does it affect your life somehow? What, in the proverbial nutshell, do you bloody care? If I was a windows user and you came along with your attitude that you "should be trying to convert" me, I'd want to smack you.

      In many cases the response "Slackware isn't for you" may be perfectly true. Maybe that person should cut his teeth on Fedora or Gentoo or one of the other easy distros where things are done for you rather than one where you have to already be a genius to get it working. That's fine. If starting out at moderate complexity is too overwhelming, then maybe that user should start out with something easier.

      A lot of times, however, the situation is even more simple than that. As someone who spent 4 good years of my life on a #linux helping people get off the ground with all variations of that particular OS, I can tell you there are some people who just simply should stay with the Redmond distribution. Some people want you do actually do it for them. I'm not exagerating. Some people literally ask if they can give you a root shell to configure X for them. Look... Learning to use a new OS and being stumped by the new paradigm is one thing. Being a lazy (l)user is another altogether.

      Based on my personal experience, 2 out of 10 times the "X just isn't for you." means "pick something a little less complicated to cut your teeth on. The other 8/10 it means "No... I'm not going to spoon feed you your applesauce. When you're willing to actually _LEARN_ something, then you can try something other than that which you know by heart, but until then, go away."

      --


      This space intentionally left blank
    69. Re:Several frustrating points by ekuns · · Score: 1

      I think the idea of lumping write permission with delete permission is that, if you can write to the file, you can write an empty file, which is the same as deleting the file. So there's no point in separating the two.

      My memory of VAX/VMS is about six years old at this point, but I thought if you had write but not delete access to a file, that you could only append. Thus, without delete access, you could not write an empty file over an existing file.

    70. Re:Several frustrating points by Fred_A · · Score: 1

      Shouldn't it be et cætera ?

      --

      May contain traces of nut.
      Made from the freshest electrons.
    71. Re:Several frustrating points by amerinese · · Score: 1

      I understand the point from the perspective of what the operating system has to do in deleting the file, but conceptually, if I can delete a file by writing an empty file, shouldn't I be able to delete the file outright? Or vice-versa?

    72. Re:Several frustrating points by DeputySpade · · Score: 1

      You actually make some fairly interesting points for a bloody coward, but on point 2 you need to fine-tune your argumentative skill. X sucks. Y makes sense. Not terribly objective, that. "Sucks" and "makes sense" are subjective observations If something has been working (albeit possibly it could work better) does it really "suck?" What if the requirement against which "suckiness" is measured is the ability to get the job done. *blink* Well now. It suddenly doesn't suck anymore. It meets the requirement. If you are going to make a series of points and one of them is going to be as poorly made as point 2, don't follow it with point 3 which is made much better. Someone gets to point 2, decides you're not going to make rational points, and quits reading before getting to the good stuff.

      --


      This space intentionally left blank
    73. Re:Several frustrating points by Chandon+Seldon · · Score: 1

      How frequently is this going to come up in real situations where it isn't pretty easy to write a logging daemon to handle it?

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    74. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Oh, I don't know.

      If your talking about Linux, XFS and ReiserFS (version 3 or version 4? They are both completely different) ARE Linux filing systems.

      if your complaining about Ext3, well then I don't know what is wrong with you.

      Ext3 is a fine filing system. I don't know what you know or what you think you know about filing systems, but obviously your idea of what makes a good or bad FS is weird.

      It supports Posix ACL's, it has file system journalling PLUS optional data journalling, which both XFS and Reiserfs lack.

      (Also remember that Windows ACL's are NOT the same as Posix ACL's. They are roughly analogious, but not the same.)

      This means that you can protect your data using journalling as well as the file system integrety, on Reiserfs and XFS you don't have that ability. They only care about preserving the directory system.

      fsck will also check things out and find potentially corrupt files, which won't happen with XFS or JFS or ReiserFSv3.

      But I don't know what the hell your talking about and don't know why you got modded up. I am only guessing.

    75. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Bullshit! Managers shouldn't even be able to log the fuck in!

    76. Re:Several frustrating points by SealBeater · · Score: 2, Interesting

      Would you like it if an artist made fun of your pens and call you and
      your friends BIC people? Well, that's how stupid this sounds.


      Actually, you would be amazed at how snobby and particular artists are about
      their tools. I've seen flamewars (only in person, not via computer) ranging
      from which is better, white sable or sable to who makes a better technical
      pencil, Berol or Koh-i-noor. Don't even get started on airbrushes. So,
      having a fight start over being called a BIC person isn't as farfetched as it
      sounds.

      SealBeater

      --
      -- Its survival of the fittest...and we got the fucking guns!!!
    77. Re:Several frustrating points by DeputySpade · · Score: 1

      > The lack of ACLs is a major impediment to update

      > of Linux in the business community

      MUAAAAAAAA-hahahahahahahahahahahahaha

      You've got to be kidding me, right? Better not tell Morgan Stanley, UBS, Paine Webber, BOA, Bank One, yada yada yada...

      --


      This space intentionally left blank
    78. Re:Several frustrating points by Aquila+Deus · · Score: 1

      Most people cannot even install windows by themselves.

      --
      hmmm... dumb...
    79. Re:Several frustrating points by cbreaker · · Score: 4, Insightful

      What you fail to realize is that Linux doesn't exist for newbies to switch off of Windows. It's not there to "Fight The Power."

      It's an Operating System. Some people enjoy using it. I do; I love the things I can do with my unix boxes so easily that come so difficult on other systems (Windows.)

      You can use it if you want to. There's so many great people working on making it better, easier, etc, that in the end it MAY very well be just as easy to handle as Windows. It's not there yet. What's the rush? So you can install it easier before you know the system?

      You're inexperienced in the Internet world if you think that the Linux userbase is a bunch of "inconsiderate pricks." You should see some of the Windows help forums, or the help forums of... anything else, really. There's a lot of pricks out there, you can't avoid that. I have not found this to be any greater with Linuxish forums, mailing lists, etc. In fact, I find that Linux help groups are a lot BETTER then most; there's usually quite a few people that are really knowledgable and willing to help.

      Your experience with being called a n00b could be due to the fact that you've been asking the same tired old questions, without reading any of the redily available information online or using the search function on forums. There's a lot of people that WANT to help you - even though you're a complete stranger - but these same people don't want to trudge through the same questions they've already answered a hundred times over.

      If you just want to "USE THE COMPUTER" then just USE WHAT YOU KNOW HOW TO USE. Nobody is forcing you to use it. You get to justify the reasons all by yourself, and if you can't justify the learning curve to the benefits, then why do it?

      Really, it doesn't matter. I'm not trying to get everyone to use Linux. I'm not telling my sister to install it. Neither is anyone else, really. You might hear from someone how great they think their Linux system is, and even say "you should give it a shot!" but it doesn't matter if you use it or not. Moving forward, when all the peices fall into place and your Linux distribution of choice is at the right level of comfort for you, we won't even have this discussion.

      So relax; let the people developing this great system do their thing. When the state of the system is right for you, you'll know it. It'll happen, and until then do yourself a favor and don't worry about it.

      Quote from you: " Not to mention that that this is the whole reason why linux will never be a mainstream desktop operating system..."

      You really should add "today." at the end of that. Tomorrow, who knows?

      --
      - It's not the Macs I hate. It's Digg users. -
    80. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Ah, but the people who are BSD users right now may have reached their level of proficiency on the system because they wanted to be part of the club. Now, there are certainly exceptions, but if your independent learning of a system is derailed by the attitude of people on /., the system probably isn't for you. The BSD way is not to tell the masses how to do everything, and there is nothing wrong with that. To really make this argument complex, I probably won't be putting BSD systems into service for customers as a result of this attitude. If I can deploy and maintain a Linux system more quickly and effectively due to a greater availability of user-supplied information, that's the platform I'll choose. What problem could possibly arise with Debian stable that hasn't already been dealt with somewhere on Google, for example? Even FreeBSD quirks were more difficult to find out about which suggests that finding support info for the less-widely used BSDs would be tortuous.

      You may just be right after all, but I stand by my point about a snide remark putting off a user for life not being too much of a concern.

    81. Re:Several frustrating points by hunterx11 · · Score: 1

      No, it shouldn't.

      --
      English is easier said than done.
    82. Re:Several frustrating points by Anonymous Coward · · Score: 0

      That's complete nonsense. Installing and running Unix hardly counts as one of the more difficult intellectual tasks. It's hard, sure, if you're used to something different, but the description 'windows people' includes novelists, artists and nuclear scientists who just don't give a damn about the stupid OS their computer runs.

      a-hah! 'nuclear scientists', eh?! i can smoke out artsy-fartsies miles away.

      Would you like it if an artist made fun of your pens and call you and your friends BIC people? Well, that's how stupid this sounds.

      hey, most people who refer themselves as 'artists' are talentless schmucks who should get real job (i.e. something useful). sculptor, yes. painter, yep. writer, ok. but an 'artist'? what the fuck is that? vacumming the floor is an art if you put your heart in it.

      of course, this comment is rather beside the point, so carry on. :)

    83. Re:Several frustrating points by secretsquirel · · Score: 0
      Yet 90% of windows users have never heard of the registry, and have never had to learn what it is. It's a mess, but a mess thats swept neatly under the rug. Personally I think it's really one or the other, efficiency and real control of your system, or idiot proofness.

      If any linux distro actually 'really' get somewhat easy to 'use' (not just "look! it comes with openoffice and gimp already installed! because we know that thats all you use a computer for, and oh ya, by the way until you configure it and install a bunch of extra packages/plugins/codecs with weird names that you don't know you need until you try to do something, and oh ya to be able to use this/install this you need to setup blah blah blah, but theres no package so you have to compile and install it yourself, but don't worry theres directions!, unless your not using version 2.3.0.x.x.x and this distro, then you have to find specific directions for your system and config because each of a gazillion setups do it in a slightly different but criticaly important way, so go hunt around on the net for a few days until you find somewhere that has acurate info, then try it out and hope it doesn't wreck your system, then you can use said program just like that! What you can't compile it? oh ya we never told you this but you must install the kernel-source, but oops thats version 2.6.10 that the packkage manager automatically installed but your running 2.6.12 and theres no source package for that, ok its installed, ok now just go learn how too fix all of these things called sym-links, and make sure its 'excactly' right!, good job you did it! oops now your sound wont work for some reason try this, oops systems trashed better luck next time!

      I do love linux and now that I've been using it for a few months I see how it really is pretty easy to do stuff, and things are how they are for a reason. It just takes a while of trial and error and web searching to get to know it.

      The problem isn't that it's that complicated it's that there are so many basic little tidbits of info that you need to know to do anything that all the books and tutorials never mention or just assume, which someone who just switched from windows would have no fucking way in hell of knowing about.

      By the time any distro 'truly' could get past those issues the result will be so windofied that that it might make me cry. It's not that I don't want it to be easy to use, it's that I don't wan't all the crap that comes along with it, and I'm willing to learn a few things, and spend a little time to avoid that crap.

    84. Re:Several frustrating points by Anonymous Coward · · Score: 0

      hey granpa, 10:24PM (no matter which timezone you are in) is well past your bedtime, no?! go back to your retirement.

    85. Re:Several frustrating points by Cap'n+Steve · · Score: 2, Funny

      "Would you like it if an artist made fun of your pens and call you and your friends BIC people?"

      Spoken like a true Papermate dork.

    86. Re:Several frustrating points by Anonymous Coward · · Score: 0

      while the registry is 1 big file
      No. It is a number of different files.

      as far as i know windows 32 mesageing you NEED to know the window handle of the "window" your sending a message to.
      No. See HWND_BROADCAST.

    87. Re:Several frustrating points by souilicrepus · · Score: 1

      The solution to /etc file formats may be OGDL, an incredibly simple data language that these formats can be converted to.

      XML is popular, but it and Unix have little in common.

      d
    88. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Windows NT/2k/XP is about as close as you're going to get to a real microkernel out in the wild. It has actual subsystems to independantly run Win32, POSIX, OS/2 1.1, and DOS/Win16 programs.

      Unfortunately, popular nomenclature has conflated the concepts of the OS kernel and the CPU's supervisor mode (Ring 0 in x86 parlance). While NT4 and higher may execute the GUI code in supervisor mode, it is by no means part of the kernel.

      As for fault tolerance, there's only so much that you can do given the architecture. If your filesystem driver fails, you can't just restart it -- all of your internal state would be gone. That might not matter for various programs (you could simply return errors), but it would be a Bad Thing for your virtual memory. Quite frankly, the only correct thing to do in this situation is to shut down the system. Even the guys from Tandem will tell you that you don't have any other sane option.

      Likewise, if CSRSS.EXE (the Win32 subsys) crashes, the system goes down. Sure, it could just be restarted, but all of the Win32 state is lost, meaning every executable that calls a Win32 function is going to crash. So in this situation, again, the only sensible option is to reboot the system.

      Of course, this doesn't mean that there's no fault tolerance. Just the other day I pulled out a USB key while it was in the middle of an IO, causing the whole USB bus to lock up. To fix it I had to unload the driver for the USB root hub and reload it. Mostly this is just because of a modular driver architecture, and does not require a microkernel.

      aQazaQa

    89. Re:Several frustrating points by mikec · · Score: 1

      Should have started with Resier4? Unix was designed in the early 70's. I'm guessing that Reiser was either not born or maybe in diapers.

    90. Re:Several frustrating points by mmu_man · · Score: 1

      BeOS is *not* dead!
      I'm so sick and tired of telling that :-(
      http://haiku-os.org -- http://yellowtab.com
      We just got Java with Swing running : http://www.haikunews.com
      as well as a .NET port...

      Actually there are so many things from BeOS that Unix would benefit...
      - queriable indexed *typed* attributes in the filesystem (I've yet to see reiser4 on work, BFS has that for ages) I even recently did a queryable live bookmark using google : http://clapcrest.free.fr/revol/beos/shot_googlefs_ 006.png
      - a standardized (no 3 different API to choose from) node monitor that doesn't require you to recompile the kernel (and that was way before linux even tried to do that), which doesn't send you a signal to let you pool everything to know what changed (why node monitor then ?).
      - uncluttered easy to use and standardized threading.
      - a logical driver framework (modules are loaded on demand from drivers by their logical hierarchical name, no need for insmod foo.o which you don't know its use). Haiku will even push that further. And the hierarchical /dev/ tree thatcomes with it that took years to Linux to get.
      - mime-driven APIs, with a sniffer, mimetype attribute that doesn't require you to fix broken file extentions, assigns apps to files automatically...
      - a file-based mail system (using indexed fs attributes, so you just run a query to find new mail, no bloody mbox or app-specific stuff)
      - consistent GUI
      - easy to use IPC (sems, ports, and BMessage on top of ports)...

      and I'm already tired of listing them.

    91. Re:Several frustrating points by arodland · · Score: 1

      Except for two important points.

      1. The people who say "X is not for you" are frequently right.

      2. Why are you concerned about "converting" people and seeing the "installed base grow"? If you want to get behind something with lots of users, there's always Windows. But when dealing with people on IRC or forums, most people would rather deal with people who are friendly and have a clue, rather than just rack up one more user :)

    92. Re:Several frustrating points by forrestt · · Score: 2, Insightful

      I think part of the problem is WHERE you are looking for answers. I have been using Unix since the late 80's and I have been tinkering with Linux since the early 90's. I have been using nothing but Linux since about 98 (except for the occasional Solaris or Irix box I administer). I am a lead systems administrator at NASA, and have been working there since 1996. I am 34 years old and have spent most of my life (since I was 10) fiddle-farting with computers for fun and profit. Lets just say, I know and love what I'm doing. But I hardly ever use IRC because of the attitude that you describe. I would like to point out that it isn't Linux users who are elitist pricks. It is IRC users who are elitist pricks. They get on an IRC channel where everyone knows each other, and get off by bad mouthing everyone else. (If you need a question answered, a better place is linuxquestions.org.) I don't think the people on IRC get what it means to be a part of the "Linux Community".

      I look at it like this. I have written very little of the code that I use on a daily basis. I have paid VERY little money for it (I have made financial contributions to some projects). The thing I can do to "pay" for the software I use is to help other people when they have a problem. However, whenever I have tried to go on IRC to help people, I am treated with the same attitude that you describe. "Nice" people don't hang out there because all they get is a bad attitude that they don't need or deserve. Therefore, you aren't likely to find "nice" people to help you on IRC.

      It is a shame that these people tarnish the name of Linux for anyone, especially since most of them are of the oppinion that it is a superior OS.

    93. Re:Several frustrating points by mrchaotica · · Score: 1

      I didn't forget /usr/local/bin and ~/bin -- that's why I said "and whatnot." Anyway, the advantage of the parallel file system idea is that you can either look at all your programs in a single (or few) directories (e.g. /bin), and you can look at all the files associated with an application in /apps/foo. This would allow you to not have to have a huge $PATH (e.g. /apps/foo/:/apps/bar/:/apps/baz:...) or wildcards in it (e.g. /apps/*/), but you could still uninstall a program simply by doing a rm -r /apps/foo/*.

      It's really an idea that would be best served by a database filesystem, but we don't have those quite yet.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    94. Re:Several frustrating points by Anonymous Coward · · Score: 0

      What is it with you Bic fanatics? I've been sitting here at my freelance gig trying to write 2 pages of notes with a Bic for over an hour!

    95. Re:Several frustrating points by Art+Tatum · · Score: 1
      1) The sending and recieving process don't need to know about each other before hand 2) You can easily broadcast events to all listeners 3) Much easier to send arbitary data 4) Much easier to manage; no need to mess with sockets APIs 5) Much safer; no need to share memory between process.

      It sounds like you want OpenStep/Cocoa to me. But then, I think NeXT pretty much solved *all* the major problems with UNIX 15 years ago. :-)

    96. Re:Several frustrating points by Anonymous Coward · · Score: 0

      A complex security model is too complex. Users Don't know and don't care about assiging of permissions. They just press File>>Save, select the shared directory on the network and name the file.
      THEY DO NOT CARE ABOUT SECURITY. De more complex, the less they'll use it. Do YOU correct the security bits for the documents of the users in your network? Do you even know what the bits have to? Do the users even know so? ...probably not. And since they never will, it is ok to ignore the user view of security bits. Just focus on the maintenance part of it all.
      And remember: KIS - Keep It Simple.

    97. Re:Several frustrating points by Foolhardy · · Score: 1

      The Windows registry on NT is provided by the Configuration Manager, a kernel mode executive subsystem. The CM exports its own type of object, the Key object, which is handled like any other type of kernel object. A registry key consists of an ACL, a set of values, and a set of subkeys arragned in a hierarchy. Each non-volaitle key is backed by a file, known as a registry hive; subkeys can be stored in the same hive as the parent or be mounted from a different one. Hives are opened and locked by the kernel and are journalled to prevent corruption.

      /etc uses the filesystem database to store configuration groups directly and different formats for each type of file to store entries. Security is provided for each file.
      The registry uses a specialized database that is aware of each line of data; it provides enough metadata to distinguish between strings and integers and binary data, providing a string label for each item. Security is provided for each key.
      Although you can arrange keys and values any way you like, key level security usually provides a lot more granularity than file level. The standard config consumer on UNIX has one file for config, even if there are many entries. The standard on Windows is to give each app a base key which can contain as many securable subkeys as needed.

      Both are databases. Given the choice between a general purpose format that leaves the details up to each client to re-invent and a specialized database designed specifically for configuration, which one sounds better? Which one is easier to use in a standardized way?

    98. Re:Several frustrating points by peawee03 · · Score: 1
      Without a package manager, it's practically impossible to remove a program

      After using Slackware for about a year, 90-95% of all software I use that isn't already prebuilt I compile by hand. I put the source directory in /usr/local/src, and run './configure && make && su -c "make install" && make clean' on it. Works like a charm. To see what I've got installed beyond the Slackware installation, it's a simple ls. To uninstall, most if not all properly done modern software has an uninstall target specified in it's makefile, thus making package uninstall a breeze. It does require a bit more disk space, but it also allows me to keep good tabs on what's installed in the system.

      Of course, the only downside is when one gets source that doesn't quite get the autoconf magic right, or ignores it altogether *cough* PVM *cough*

      --
      I wish I could write clever and witty sigs.
    99. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Well, Unix is just hard these days.

      You might as well advocate for eschewing the Windows UI as much as possible while figuring out how to leverage VBScript, WMI, CMD-shell, etc., to do things, because that is the Windows equivalent to the traditional Unix experience (short of installing something like Cygwin or U/Win).

      If someone has rusty, but extant, DOS command-line skills, they might stand a chance to experience what a good command-line interface can actually do for you. OK, after they sort of get it on with regexps, etc.

      As far as point-and-click Linux/Unix/BSD, well, is it all really that different than Windows? I'm sorry, but UI differences are really just eye candy differences. There is a moral equivalent in the Unix graphical UI world to just about everything in Windows, without the crap (i.e., animated desktop icons).

      Don't lie to people. Don't blow smoke up their asses. Tell them the truth. If they want to continue, help them as much as you can, but if they're not getting it, just say, "well, we gave it a try. Maybe Linux will be better in a few more years." This is good smoke to blow up their ass, because then they probably will say, "linux is hard" without saying it's just a shiny pile of dog turd.

      The best thing, though, is to figure out what someone WANTS to do or is doing already in Windows lalaland, and show them that they can probably do the same things in Linuxworld.

      You probably don't have too many Delphi or Access developers in your family, so don't worry about the true geeks. E-mail, Office-equivalent work (except for VBA automation...), etc., Linux/BSD/Unix should be fair game.

      Under promise, over deliver.

    100. Re:Several frustrating points by AndyElf · · Score: 3, Informative

      I dunno, maybe you're just trolling (and a number of replies that follow would qualify you as a good troll), but I'd say that installing FreeBSD is not any more difficult than, say, Slackware or Debian. It is more challenging than your Mandrake or RH install, I think (have not had a chance in the last 3-4 years to try either).

      That said, with enough preparation and a chapter from the Handbook printed out and within a reach installing stock FreeBSD should not be a problem at all.

      The question you should, however, ask yourself is Why do I want to try FreeBSD? If it is just because you've heard it's cool -- you may be much better off trying a http://www.freesbie.org/ instead. It's a live FreeBSD ssytem, sort of like Knoppix.

      If you want to give FreeBSD a spin because you want to understand UNIX-land better or have needs for the stability of the platform, then rough starts should not be anything to discourage you.

      In either case -- all the best and have fun!

      --

      --AP
    101. Re:Several frustrating points by Anonymous Coward · · Score: 0

      No, Unix/Linux can be manipulated from single-user mode if something is misconfigured.

      Is there yet a tool that will allow someone to fix/modify the registry files on a Windows system, outside of Windows, if the Registry is fucked up?

      The supported answer from Microsoft for this is "reformat and reinstall".

      Yes, I've been burned by this before.

      As far as IPC, how many users really could give a fuck? Does program A talk to program B? Yes? Good. Job done. Doesn't matter if it's via IPC, named pipes, TCP/UDP packets, or whatever. If it works, it works.

      Same with permissions. Keep Unix's security model. It works for 90% of the problems out there. Add ACLs for organizations/situations that call for it. With fine-grained control comes far more opportunities to seriously fuck up systems because of little mistakes. And no backdoor to fix them.

      As far as scripting, well, at least in Unix there is one de facto standard: bourne shell.

      The de facto standard in Windows is COMMAND.COM. Which doesn't even count. So it's better in NT land, with CMD.EXE. At least it's possible to grok the system date and time to be used in a CMD script with only a slight kludge. It's almost impossible to do it with just pure COMMAND.com-based DOS commands.

      VBScript? OK, slightly better for some things. Sure, you can use Regexps in VBS, and some other things.

      But who really cares about this? Most people will never want or need to touch the system this way.

      Same with file systems. Journaling file systems? VMS-like file versions? Well, I think most people have spoken: not really needed. Nice to have, but not drop-dead stupid missing features. Besides, don't you remember accidentally blowing away good back versions of your CS101 source code on the VMS machine? Might as well just enforce good discipline off the bat (i.e., there's no "undelete" command)...

    102. Re:Several frustrating points by Anonymous Coward · · Score: 0

      I always thought it stood for "Edit These Carefully"

    103. Re:Several frustrating points by Randy+Wang · · Score: 1
      I think your post also provides a pretty good answer to the original question. What good is an operating system to average computer users if you have to be more skilled than the average computer user to do anything with it?


      Why, it gives us something to feel elite about, I suppose :)

      --
      --- Egads, I glow in the dark!
    104. Re:Several frustrating points by Dahamma · · Score: 1
      1. Crappy filesystem. Resier4 or XFS is what UNIX should have started with and even now we don't have file versioning.
      2. POSIX permisions suck. The suid bit sucks even more. ACL's make more sense, and UNIX should have had them from the start. If we're doing it now, capabilities would be even better.

      I agree that there is a lot of less than ideal legacy still around, but saying "UNIX should have started with this" is like saying computers should have started with a 3GHz processor and a gigabyte of RAM and they'd be MUCH faster! UNIX and its variants have been under development for 30 years, concepts (and implementations) like journalling filesystems and ACLs don't just spring up overnight.

    105. Re:Several frustrating points by 0x0000 · · Score: 1

      And who is the idiot who put all this stuff into a single directory? What sort of permissions does that user/application/group have, and how may they be revoked - 'cause they should be. Dataset design should come before creation - that will alleviate a lot of your (spurious, here) permissions problems...

      --
      "The Internet is made of cats."
    106. Re:Several frustrating points by pepsee · · Score: 1

      It's amazing how similar pens and penis look when italicized.

    107. Re:Several frustrating points by Skald · · Score: 1
      A lack of standard configuration layout is another thing: why should people have to learn hundreds of config file formats? Yes, comments help, but it'd be nice if they weren't needed. Why not come up with one standard text-based config format/filesystem layout and get everyone to use it? This would also save programming time, as you could create a library (with a name like libconfig or something similar) and not have to worry about parsing configuration settings.
      Splendid... I knew I could count on others to make my favorite complaints for me. :-)

      However let me suggest that much better than a config format would be a config API. This would have several advantages, foremost of which would be allowing us to avoid the nigh-impossible (and possibly undesireable) task of getting everyone to agree to a single format. If you could drop in a config file library of your choice, you could choose XML, PropList, etc.

      Or you could drop in something more esoteric, like a PostgreSQL interface. Or a networking library to make remote config access transparent. Or something brilliant which hasn't occured to me... the door is left open.

      So long as the API is well-defined, it shouldn't be any trouble to automatically translate from one format to another, as well, when you decide that you prefer something different. This would again lower the barrier to innovation, since it would be easy for users to try new things.

      And, of course, you should be able to configure where your config files reside, as well as setting a naming convention for them. This would be a nice step towards fixing the filesystem layout problem, as well, since the config files would suddenly be much more mobile. Not to mention that it'd allow me to address a long-standing peeve of mine: dotfiles. I really loathe having a home directory full of unsorted files which are, by default, invisible. An ~/etc/ directory would be lovely.

      --

      "The best we can hope for concerning the people at large is that they be properly armed." - Alexander Hamilton

    108. Re:Several frustrating points by mmu_man · · Score: 1

      Oh, another important one: UTF-8 everywhere by default. So much easier (except when porting apps when the author thinks supporting Unicode requires that stupid wchar_t and insists on using that crap)

    109. Re:Several frustrating points by mmu_man · · Score: 1
    110. Re:Several frustrating points by torstenvl · · Score: 1

      Erm. You did say hardlinked, right?

      If they're hardlinked, rm'ing them will only decrement the reference count to the inode. There will be no deletion.

    111. Re:Several frustrating points by Anonymous Coward · · Score: 0

      It has nothing to do with technical aspects of Unix...

      Open Source Unix's biggest and most unfixable problem is the marketing of it.

      The problem is in the level of support manufacturers are willing to provide for device drivers for Unix kernals.

      It's all about market share, if you're going to sell a device you'll want to make damn well sure that your support and drivers for the device are top notch on the platform most likely to yield you the biggest market and that is Windows. Developing drivers for Linux or any other PC based OS is secondary.

      Problem is that this is a Catch 22 situation, without good support for systems and devices people will continue to steer clear of any OS other than Windows for a PC. And whilst it continues to have such poor market share OEMs will continue to support Unix poorly.

      Apple gets around this by supplying their own devices with their own drivers, the same doesn't happen for Open Source Unix OS. Apple is showing promising signs of a come back with OSX and it's winning IPOD devices... it's revenues have rocketed. This is proof that technically there's nothing wrong with Unix. However they'll need to keep up this form if they are to stand any chance of toppling MS and the PC platform.

      It's all about media and communication for the mass market. MS looks like it's slipping but as always be prepared for the big ol MS sledge hammer coming right down on Apple.

    112. Re:Several frustrating points by renoX · · Score: 1

      While I agree with most of your points, a message passing IPC is complicated also: is this message passing synchronous or asynchronous?

      Synchronous is complicated to manage because your process may stall, asynchronous means you must be ready to manage the overflow of the buffer used.

    113. Re:Several frustrating points by Anonymous Coward · · Score: 0
      Add another thing that's wrong with Unix: the elitist attitude towards outsiders.

      .. which is usually totally justified!~

    114. Re:Several frustrating points by Frogbert · · Score: 1

      I've used many many Windows XP systems in various states of decay and I can say that XP can take a beating before it finally dies. The single most impressive recovery I've seen XP do is a card driver failure causing a revery to standard VGA drivers without a reboot. There was a blank screen then "Windows has encountered a serious problem with your video card drivers and has reverted to standard drivers" in 256 colour glory. I was impressed.

      However it does beg the question of why windows needs a restart to install video drivers when clearly it can change them on the fly if needed.

    115. Re:Several frustrating points by Basje · · Score: 1

      aparently the unix file system layout is what admins have come to agree on was the best in the last 20+ years. or something like that.

      No, the unix filesystem is what admin have found out what works. Every software maker (linux/xyzBSD distro makers too) has his own ideas and puts their software wherever he likes. Of course it may be configurable, but not always, or even often. Often changing the defaults breaks things. It's a mess, with multiple sets of general guidlines, which you are free to choose from.

      At least under windows there's a Program Files where things are installed. Ideally. Except for windows components. And only if it's on C:. And that's not counting in the registry. Sigh.

      --
      the pun is mightier than the sword
    116. Re:Several frustrating points by Anonymous Coward · · Score: 0

      in it's makefile

      "its".

    117. Re:Several frustrating points by Anonymous Coward · · Score: 0

      pretty good for it's time

      "its".

    118. Re:Several frustrating points by pcmanjon · · Score: 1

      "It is a shame that these people tarnish the name of Linux for anyone, especially since most of them are of the oppinion that it is a superior OS."

      Whats further more a shame of the #Debian channel, is on Freenode you have channels that start with one # or 2 # (##)

      E.G.

      #conglamo would be an official project channel
      ##conglamo would be an un-official channel

      #debian is an official debian channel, so if they are assholes in there, guess who it reflects upon? It reflects directly back upon the debian project.

      Why, if I didn't know any better, I would think Debian Linux is full of the most egotistic, rude, flaming, asshole users that have ever walked the earth.

      I would have never -EVER- tried Debian because I wouldn't want to be part of such a asshole community.

      See what I'm getting at? The ops in #debian should police that channel and make sure it stays at a fun and positive enviroment, because new-comers will think the entire debian community is like that if they see people act that way in an "official" debian channel.

      I hang out in #mepis on freenode. It's the way a distro channel should be; everyone is friends with everyone else, and when a newbie comes walking through the door we're glad to help, no matter how stupid the question is. (Hey, the easier the question the easier it is to help, right?)

      MEPIS Linux has a very positive community, and we're all glad to help each other out.

    119. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Real men use a quill.

    120. Re:Several frustrating points by gd23ka · · Score: 1

      Unix OS are so commonplace that nearly everbody uses or is provided a service running

    121. Re:Several frustrating points by pcmanjon · · Score: 1

      "personaly i hate both the linux and windows way but thats just me:)"

      Ah, so you're still using a Tandy TRS-80?

    122. Re:Several frustrating points by gd23ka · · Score: 1

      Unix OS are so commonplace that nearly everybody uses or is a provided a service running on an OS like that. None of the systems are really geared towards casual use by the computer novice and those systems that as of late address that segment of users try to accomodate with graphical shells like Gnome or KDE. In order to supply a system that addresses the need of the casual technically non-involved user systems like Windows make it easy to supply common applications like wordprocessors or spreadsheets but mostly deny the user the flexibility and access to the system she has in a Unix system.

      Thus it is fair to divide computer users at least into two camps, casual novices that require a locked down computing environment such as Windows and serious users that need in-depth access to their systems.

    123. Re:Several frustrating points by gnu-generation-one · · Score: 1
      "What's wrong with UNIX?"

      What's wrong with UNIX as most of us use it?

      xfree86_config4

    124. Re:Several frustrating points by Vryl · · Score: 1

      I have used acl's on linux, but have never found a non-command line way of doing this. Mind you, this was years ago.

      Is there a distro that supports ACL's out of the box, from the GUI ?

    125. Re:Several frustrating points by Hognoxious · · Score: 1
      I would like to point out that it isn't Linux users who are elitist pricks. It is IRC users who are elitist pricks.
      Really? It's a bit of a coincidence that it's the same on linux usenet groups too. I remember a fashion for flaming anyone using Outlook Express as a newsreader. I mean if some poor bastard is struggling to get linux installed, he's going to use the first newsreader that comes to hand - likely as not and like it or not, that's OE.
      It is a shame that these people tarnish the name of Linux for anyone, especially since most of them are of the oppinion that it is a superior OS.
      I think it was Orwell who said that the worst things about communism & Christianity were the people who advocate them. Only because Linux wasn't invented then.
      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    126. Re:Several frustrating points by TractorBarry · · Score: 1

      I can only whoeheartedly agree on the point about file versioning. I learnt my computing on International Computers Limited (ICL)s Virtual Machine Environment (VME) (A British O/S !) where each file has an associated generation number and it's so bloody useful !

      e.g. When you create a file then by default it's created at generation 1 (You may of course specify it should be created with, say, generation 100). At a later point you then edit the file which results in a new generation of the file being placed, with a generation number of highest current generation + 1.

      So several edits later and you've got generation numbers 1 to 11 of your file but realise you've just made a pigs ear of things. No problem generation 8 is still good so you can simply edit generation 8 which will result in a new file with generation number of 12 (unless you specify otherwise files are always placed with highest possible generation number + 1)

      Of course there are all the tools necessary to delete old generations etc. etc.

      Quite frankly having started out my "serious computing" on this operating system I have found all PC based O/Ss utterly primitive. "Only one copy of each file ? That's so crappy..."

      So this would be the single best idea that could be incoporated into *NIX.

      Pah ! I spit at your puny single copies of files paradigm... It is a weak and continental thing and the product of unclean minds.

      --
      Sky subscribers are morons. They pay to be advertised at !
    127. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Its listed at etcetera in all the pre System V manuals I have that say anything at all.

      Joe's files used to live in /usr/joe before /home got invented and nothing else lived there except for the compiler (which was a work in progress) and there was a backup copy.

    128. Re:Several frustrating points by mikael_j · · Score: 2, Interesting
      At least under windows there's a Program Files where things are installed. Ideally. Except for windows components. And only if it's on C:. And that's not counting in the registry. Sigh.

      Don't forget that you can't just set the default install path to C:\Program Files\YourApp when developing an app either, as a lot of non-english windows versions use a different dir for this, quite annoying how they try to hide the "real" filesystem layout from the user yet translate it to your native language so it's harder for an admin from one country to work on a computer from another...

      /Mikael (from .se where it's C:\Program\, no " files" here..)

      --
      Greylisting is to SMTP as NAT is to IPv4
    129. Re:Several frustrating points by Anonymous Coward · · Score: 0

      So QNX and windows, 2 OSes that do message passing that isn't true.

      Well that's nice and all, but so what? It is possible to design a message passing system where everything I list and more is possible. Just because Win32 or Qnx don't do this doesn't make it impossible.

      Pipes are O.K if there are only two processes involved.

    130. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Asynchronous message passing is one advantage I didn't list so thanks for bringing it up. When you come down to it however handling overflows is no more complicated than with UNIX sockets, which can also be asyncronous. Depending on the design of the message passing system you can also avoid it completly E.g. if the size of each message is known and all messages for an endpoint are simply stored in a linked list, there is no buffer to overflow.

    131. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Sorry to burst your bubble but UNIX has always been designed for mid to large sized systems. If you believe that ACL's are somehow more complicated for you to manage than POSIX permisions are now then I would suggest that you simply do not know enough about ACL's. In reality they can be very simple to manage. Most Windows users never change the default user profiles and they all get along fine, so what makes you think it would be any more complicated for you if UNIX had ACL's?

      As for Bourne v's Perl or other large scripting languages, I actually agree with you. The problem is that Bourne shell is far too weak a language to properly do what it needs to do. Bash adds just enough to make it usable but the syntax is ugly and still the feature-set is weak. My point is that Bourne shell should have been a much better scripting language in the first place.

    132. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Reiserfs etc are the results of 30 years of research that, well, hadn't happened 30 years ago. the i-node/u-node business was the best there was. Then.

      Right. Then 20 years ago VMS had file versioning and sorts of funky goodness in the filesystem. UNIX still had UFS.

      Multics had general, configurable, role-based, magic ACLs; UNIX lost them on purpose..

      Great, but in retrospect it appears to have been a mistake. ACLs turned out to be more useful for the areas UNIX got deployed into. They should have been re-added to UNIX with SySV.

      /bin/sh WAS the coolest scripting language ever.

      Rot. Take a look at some of the languages in use 30 years ago and what they were capable of and tell me that Bourne Shell encapsulates all of those useful features and is perfectly suited to writing complex scripts.

      It seems that most of the things I am complaining about are really the fault of UNIX not keeping up with other developments going on around it.

    133. Re:Several frustrating points by famebait · · Score: 1

      "deserve" makes no sense in this context, since even to desire it in the first place defines you as a sad moron, no matter what your skills.

      --
      sudo ergo sum
    134. Re:Several frustrating points by Greg+W. · · Score: 1

      and when a newbie comes walking through the door we're glad to help, no matter how stupid the question is. (Hey, the easier the question the easier it is to help, right?)

      No. The easier and stupider the question is, the more I just want to pound my head against a brick wall.

      Just wait 5 or 10 years, and we'll see how eager you are to answer Yet Another Newbie asking for the name of the package with make in it.(*)

      (*) Answer: make
      (**) Yes, we REALLY DO get questions that stupid.

    135. Re:Several frustrating points by Anonymous Coward · · Score: 0

      That's not really what I said. The point I was trying to make (badly) is that UNIX filesystems failed to evolve as quickly as non-UNIX systems. Only now, 30 years later, are we begining to see decent filesystems like Reiser4 and XFS, but systems like VMS had some really great features in the filesystem over twenty years ago. UNIX failed to pick up any of these improvements for far to long.

    136. Re:Several frustrating points by Anonymous Coward · · Score: 0

      how about the stupidity around not releasing STATICALLY compiled binaries and with a decent installer (loki installer anyone?)

      and do not give me your bullcrap about securtiy and updates, mozilla, open office and EVERY commercial game and app for linux is statically linked to make sure it works instead of makingthe user go searching for some obscure pre alpha version libs that the developers got all hot and bothered about and decided to use.

      99.997% ofthe problems with unix and linux is the apps and how they will not install without a PHD in CS or a 13 year old kid around.

      RPM's suck, packages suck. let's get a real installer going (loki anyone?) and fucking use it?

      otherwise you app is simply a circle jerk by a buch of dickwads.

    137. Re:Several frustrating points by antoy · · Score: 1

      Yup. Your observation is hilariously ambiguous. Well, at least to the sleep-depried mind.

    138. Re:Several frustrating points by Anonymous Coward · · Score: 0
      Sorry to burst your bubble but UNIX has always been designed for mid to large sized systems.

      I never said otherwise, I implied that we don't have enough user accounts for ACL's to be under consideration.

      I said:
      ACL's have no advantage at system level on MY SYSTEMS!

      Where it does make sense is for user data. Our shop runs database backed custom apps with their own login and permissions system so ACL's are simply not relevant.

      so what makes you think it would be any more complicated for you if UNIX had ACL's?

      As has been pointed out by others: auditing.

      I guess we could do with a clearer syntax for scripts. I'm not convinced the bourne feature set is weak, it is compared to modern scripting hosts like lua, perl, python or ruby; but you agree with me what would happen if we standardised on one of these ;-)

      Slashdot only allows a user with your karma to post 2 times per day (more or less, depending on moderation). You've already shared your thoughts with us that many times. Take a breather, and come back and see us in 24 hours or so.

    139. Re:Several frustrating points by Cro+Magnon · · Score: 1

      The reason it matters is, the more people use ABW (anything but Windoze), the harder it will be for Microsoft to lock us out of the market. If MS has 99%+ of the market, it can pressure hardware venders to make their stuff work only on Doze, and the other 1% can fcsk themselves. That would be a lot harder if other OS's have 10-20% of the market. Personally, I don't care if they use BSD, Slackware, SuSe, or even Linspire, as long as it increases the number of people using non-Windows OS's.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    140. Re:Several frustrating points by lahi · · Score: 2, Informative

      Permissions are associated with directory entries, and NOT inodes. A specific inode may have as many directory entries (hard links) as you want, and each of these can have different permissions.

      Wrong. Permissions and other file metadata relate to the inode not the directory entry.

      I suppose the reason noone else has bothered to point this out already is that it is trivial. But perhaps it'd better be stated explicitly.

      -Lasse

    141. Re:Several frustrating points by jedidiah · · Score: 1

      USB and audio are easy to deal with PERIOD.

      If they get difficult, then it's nothing you wouldn't experience on the ultra easy Macintosh for exactly the same reasons.

      Infact, USB is EASIER to deal with in Linux. Linux doesn't insist on creating a new and incompatable copy of the device anytime you unplug it and plug it in again.

      You are simply attempting to perpetrate the big lie that WinDOS is necessarily less user hostile.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    142. Re:Several frustrating points by beforewisdom · · Score: 1
      Given the skill and experience that it takes, in my experience, to be able to run Unix as naturally as some people do... perhaps they've earned that attitude.


      That's complete nonsense. Installing and running Unix hardly counts as one of the more difficult intellectual tasks. It's hard, sure, if you're used to something different, but the description 'windows people' includes novelists, artists and nuclear scientists who just don't give a damn about the stupid OS their computer runs.

      Would you like it if an artist made fun of your pens and call you and your friends BIC people? Well, that's how stupid this sounds.


      Very well put.

      It is being provincial and is the sign of an uneducated person to think "if you don't know what I know you must be inferior"
    143. Re:Several frustrating points by beforewisdom · · Score: 1
      What you fail to realize is that Linux doesn't exist for newbies to switch off of Windows. It's not there to "Fight The Power." No? Who says so? What central authority? You?

      Many organized ( disorganized ) linux efforts aim for just that purpose. If you read slashdot and other linux groups regularly you will see that is what many linux afficinados hope for. That linux will gain market share at the expense of windows. That people will want to use it.

      To be fair, these groups that put work into making linux more appealing don't own the linux mission either.

      Nobody is obligated to read or respond to a question on usenet so the way I see it they don't have a right to complain. They don't have to spend their time on anything they do not want to.

      Some people just get off on grousing or slamming others.

      If I don't like a post, I just ignore it. It saves me time, it saves me aggravation, and ignoring a post discourages that type of post.

    144. Re:Several frustrating points by LWATCDR · · Score: 1

      "In UNIX, sure. Show me the default scripting language in UNIX v6. Bourne Shell is the closest thing you get."
      Is this really a problem? You can install any number of scripting languages Perl, Python, or even a flavor of lisp if you want. Tieing everthing to one scripting language seems to be very limiting. Most of your other comments seem correct to me. For my list I would add more end user type issues like
      1. Easy to use application installer system.
      2. A ISA independant packageing system. A system like on the IBM 38 and AS/400 where you compile you software to an "Ideal" instruction set then when you do your inital program load it compiles it to the native instruction set. Gives you almost all the benifits of a VM language like .net or Java with few of the downsides.
      3. Default files system with meta data.

      The biggest problem with Unix is it works too well. Frankly most reasearch into OS these days is dead or just gilding the lilly. Making Unix into a cluster frendly OS, better VM, you name it and someone will add it to Linux. Makes me sad to see things like Plan 9 just sitting around. Hurd could be interesting but it isn't yet. BeOS was interesting but died.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    145. Re:Several frustrating points by router · · Score: 1

      And they would all have to be on the same filesystem....

      andy

    146. Re:Several frustrating points by listen · · Score: 1

      Interesting that MS themselves appear to be abandoning the registry in favour of XML files (app.config, web.config, security.config, machine.config) then, isn't it?

    147. Re:Several frustrating points by Taladar · · Score: 1

      I read the Gentoo forums regularly and I don't even see the usual "use search" comments there unless there are already 3+ threads dealing with the same issue on the same page of the forum. Even really dumb questions are answered politely and in the worst case you get no answer which usually means nobody who knows read your thread while it was on the first page of the forum.

    148. Re:Several frustrating points by kbmccarty · · Score: 2, Informative

      Without a package manager, it's practically impossible to remove a program; even with a package manager, you can't even determine how big a given package is! (if you know how to with Portage, I'd like to know).

      If the program in question was originally installed with a package manager, why would you try to remove it without using the package manager? If you are installing from source, on the other hand, I think what you are looking for is GNU stow. With stow, you install a program (say it's called foo) like this:

      • cd foo-0.0.1 && ./configure && make
      • sudo make prefix=/usr/local/stow/foo-0.0.1 install
      • cd /usr/local/stow && sudo stow foo-0.0.1

      All that the "stow foo" step does is create symlinks from the normal dirs in /usr/local into the foo subdirectory, so you don't need to fuss with $PATH, $LD_LIBRARY_PATH, etc. to run the program. Upgrading or uninstalling foo later becomes trivial because all you have to do is run "stow -D" on the subdirectory (to remove the symlinks), recursively delete it, and (if desired) repeat the above set of commands to install the new version of foo. And to find the installed size: du -sk /usr/local/stow/foo-0.0.1

      A better filesystem layout (perhaps the way MacOSX, GoboLinux or RoX does it) would make package managers obsolete.

      Not true: in addition to file layout (which is arguably the easiest job for a package manager to handle), they deal with dependencies, post-installation setup scripts, config file handling, etc.

      --
      - Kevin B. McCarty
    149. Re:Several frustrating points by Freultwah · · Score: 1

      There is no way to define the default character set when mounting a file system (except for FAT, NTFS, ISO9660 and SMBFS/CIFS).

      Imagine a file server that is accessed both locally and over Samba, NFS, and FTP. Tons of files with non-ASCII characters in them. How do you make it work? In *nix, you don't: locales only work locally and cannot be enforced, Samba is only one way to access the server, and there is no FTP software that can switch the character set used. Using FAT for storage space is also a not-very-good idea.

      So, once outside US-ASCII, you're screwed.

    150. Re:Several frustrating points by Taladar · · Score: 1

      You don't have to be more skilled to use Unix than to use Windows. You just have to get more knowledge from Manuals, Tutorials and other Documentation since the system is less discoverable because discoverability and efficiency/productivity don't work well together.

    151. Re:Several frustrating points by RicJohnson · · Score: 0

      I have more than 25 years experience using computers, so I consider myself VERY knowledgeable on computers.
      However, we decided to install WordPress, and it seemed the best OS was to use a Linux distro.
      I had NO IDEA how hard this was
      And yes, you UBERgeeks do this on purpose
      Why should it be so hard to ask for somewhere to go to get a CD, put it in my drive, and have it install Linux, update/patch itself, and have everything work out of the box?
      What the hell is the difference between FreeBSD, Debian, OpenBsd, NetBsd, Redhat 9, Redhat Enterprise, Fedora (WTF???), etc
      Would somebody PLEASE point me in the right direction?
      Here is a chance to HELP a Windowx person convert to Linux - I will do that on my current project installing WordPress, if someone could step me through it.

    152. Re:Several frustrating points by Martin+Blank · · Score: 1

      OK, if it's so easy -- as you and the parent to my original post have stated -- please explain what I should do to make the scheme I outlined work.

      --
      You can never go home again... but I guess you can shop there.
    153. Re:Several frustrating points by Martin+Blank · · Score: 1

      Are these companies are using Linux as their file servers?

      They may be using Linux in certain roles, such as web servers or perhaps for certain applications, but I suspect that they're using Windows or NetWare servers for their primary architecture.

      --
      You can never go home again... but I guess you can shop there.
    154. Re:Several frustrating points by aminorex · · Score: 1

      Groups ARE ACLs.

      --
      -I like my women like I like my tea: green-
    155. Re:Several frustrating points by jhdevos · · Score: 1
      but you could still uninstall a program simply by doing a rm -r /apps/foo/*.

      No, that would only remove the hardlinks in that directory, those in /bin etc. would remain. Using symlinks in the */bin directories, combined with some scripts that automatically update those directories, would help some, but this, as you can see, is starting to get really messy.

      I think that getting rid of all those /bin, /sbin, /usr/local/lib, etc directories would be a very good idea. Keeping data for applications separate is a much better idea. Putting that data in seperate directories could work, especially if those directories have some kind of standard layout. The problem of long $PATH variables is probably a sign that that variable is not really up to this task, maybe a variable $APPS could replace it -- it could look something like 'APPS=/apps/*,/home/me/apps,/home/joe/public/apps, /extra/apps/matlab', or something. A set of extra tools could exist to list commands. Commands could even be mapped to categories, using configfiles in the application directories. Ah, the possibilities!

      Anyway, I don't think any currently existing way is ideal, and a lot of thought could be put into improving it, but actuating any sort of change will be very hard indeed.

      Jan

    156. Re:Several frustrating points by logicassasin · · Score: 1

      "Add another thing that's wrong with Unix: the elitist attitude towards outsiders."

      Which is something I stated in a similar article on linux going to the desktop (http://ask.slashdot.org/comments.pl?sid=93340&cid =8018882). Unix has it, but I think Linux users are worse when it comes to elitism. I've been able to get help with Irix and Solaris without the attitude that Linux users have. Irix users seemed almost happy to help out.

      --
      Fifty watts per channel, baby cakes.
    157. Re:Several frustrating points by Audacious · · Score: 1

      Now THAT is something which should be mod'ed up! If I get your reply on my MetaMod stuff you can rest assured I'll mod it up!

      --
      Someone put a black hole in my pocket and now I'm broke. :-)
    158. Re:Several frustrating points by Audacious · · Score: 1

      My take on this is from a system person's view. If someone can't delete a file then the file will stay even though someone writes a zero length file to it. In this manner, whomever did the intentional write to the file to try to get rid of it will show up in the owner and group permissions. It is one way to help a system person find out who is doing what to the system.

      (But then, having the ";###" after a filename was also a good idea because it gave versions to thing. Not that CVS et al aren't a good way to do this also but VMS by default only used the latest file and then you had all of your previous versions. I believe the PACK command was needed in order to get rid of these previous versions.)

      The whole thing of the D option though was be able to prevent someone from coming in to a system, deleting files they weren't supposed to delete, and then there is no record of who tried to do what. So, in my eyes, there is a world of difference between being able to write to a file (zero length or whatever) and being able to actually delete a file (and thus remove all traces of its existence).

      --
      Someone put a black hole in my pocket and now I'm broke. :-)
    159. Re:Several frustrating points by forrestt · · Score: 1

      I never said that usenet people couldn't be pricks too. I would agree with that as well. But this is the same in any usenet group, not just the Linux groups. IRC and USENET share something in common. They are both filled with people who are so poor at social interaction that they have to hide behind a computer with anonymity. There is no wonder that you get this type of behavior. But it has nothing to do with Linux. That was my only point.

      I don't have ANY problem with Linux users (except maybe for those gentoo folks, just kidding). I don't have a problem with Windows users, Mac users, BeOS users, *BSD users, or any other OS users. All of these groups are a subset of the people on the planet. A certain amount of people in the world are a-holes. When you pick from a population with a certain character set, you are likely to get members in your group with that character set. NO MATTER WHAT THE GROUP IS. I don't like a-holes. If I find an a-hole, I leave him or her alone. But this isn't a Linux user quality.

    160. Re:Several frustrating points by Martin+Blank · · Score: 2, Interesting

      According to various people, the ACLs on different Unix implementations are not all the same. FreeBSD varies from Solaris varies from Linux, and Linux's may be based on a draft that was withdrawn (there seem to be differing viewpoints on this). The ACL implementations are all somewhat similar, but are different enough that they don't really work well together. Even on Linux, ACLs are implemented at different levels -- some at the application level (certain FTP daemons), and others at the filesystem level. Even there, the implementations may vary.

      Until such time as ACLs can be universally implemented, this is going to be seen as an impediment.

      --
      You can never go home again... but I guess you can shop there.
    161. Re:Several frustrating points by leshert · · Score: 2, Insightful

      Actually, he's correct. The existence of early adopters doesn't mean that making changes to the system wouldn't help attract the laggards.

      For a good introduction to this concept, see the book Crossing the Chasm.

    162. Re:Several frustrating points by donatzsky · · Score: 1

      In this case it doesn't make it any less correct. And why should it mention UNIX? I'd say that, considering the meaning, it's a fair guess as to why it was chosen.
      But seeing as you don't trust E2:
      http://dictionary.reference.com/search?q=etc
      http://www.webster.com/cgi-bin/dictionary?va=etc
      http://www.google.com/search?hl=en&q=define%3Aetc. &btnG=Google+Search
      http://en.wikipedia.org/wiki/Etc.

    163. Re:Several frustrating points by NewOrleansNed · · Score: 1

      "Give that motherfucker the Nobel prize, Alex! He can drive a standard!"

      Different tool, same principle. You didn't design the car, you didn't build the car, you just fucking drive the car. Compiling code from scratch that you didn't write doesn't make you creative; it makes you a sycophant. Deciding what window manager you run and what shell you use is no harder than picking a paint job and an interior.

      By the way, lay off the flowery language. OSes don't "bend to your will." They do what they're designed to do. Piss off the help desk.

    164. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Because we're talking about UNIX perhaps? The guy says that /etc in UNIX stands for "Everything configurable" and I called bullshit. Of course the common contraction "etc." means "etcetera", but that's the English language; not UNIX. Clear now?

    165. Re:Several frustrating points by DuckDodgers · · Score: 1

      If you haven't done so already, take your questions to linuxquestions.org.

      I find the group there to be incredibly newbie friendly. I should know, I'm a newbie, they answered all my questions. I've got every feature in Slackware that I want up and running.

    166. Re:Several frustrating points by XaviorPenguin · · Score: 1

      ThanX for that info, I really didn't think of doing that. Yes, I have downloaded FreeSBIE and am going to try it tonight.

      You really hit the nail on the head with that one, If it is just because you've heard it's cool... I do like Linux but I find it hard for me to go over to it. Some things just don't work right for me, i.e. 3D Accelleration with my ATI Radeon 9600, some sound card issues with my Sound Blaster Live. The closest "flavor" I have used that best fits me is FC3.

      I tried FreeBSD once and tried to install and yes, I got discouraged because it was a little too hard for me to install. I like da GUI's that help me out, this one hardly had one, was terminal based, and hard to configure. If you want to give FreeBSD a spin because you want to understand UNIX-land better or have needs for the stability of the platform, then rough starts should not be anything to discourage you. I might do this again later on. ThanX for the tips!!

      --
      Friends help you move...
      REAL Friends help you move dead bodies... ^_^
    167. Re:Several frustrating points by X · · Score: 1

      Good call. My bad.

      --
      sigs are a waste of space
    168. Re:Several frustrating points by cbreaker · · Score: 1

      While I agree that there's no use for outrigth flaming people, and that some people enjoy doing it - I don't necessarily follow that to "Don't even reply."

      The same people that ask the same "n00b" questions all the time usually end up just getting worse if you don't answer them. You'll get replies to their own posts or messages. You'll get them complaining that nobody is answering them, while the next guy got an answer in 5 minutes. It goes on. You have to reply to keep your sanity sometimes.

      It's the nature of a public forum.

      --
      - It's not the Macs I hate. It's Digg users. -
    169. Re:Several frustrating points by Anonymous Coward · · Score: 0

      as an avid user of both freebsd and openbsd, i would like to say that freebsd's installer is by far inferior to openbsd's.

      for the technically challenged, the openbsd installer would be easier to use if partitioning was made more simple, say by using a cfdisk-like interface... but then again, that person probably wouldnt(shouldnt?) use openbsd anyways.

    170. Re:Several frustrating points by ChaosDiscord · · Score: 1
      Resier4 or XFS is what UNIX should have started with...

      ACL's make more sense, and UNIX should have had them from the start.

      Just to check, you know that Unix started in 1971(ish), right? Expecting filesystems developed in the last ten years targetting modern hardware to have existed thirty years ago on hardware less powerful than the PalmOS device in my pocket seems a little optimistic.

      You touch on some things that Unix (and it's children) can definately do better, but you seem out of touch with Unix's history. Unix evolved to where it is today over thirty-five years. Doing everything all at once wasn't an option; indeed Grand Visions generally fail while something Good Enough that continually improves (warts and all) generally wins. Thus Worse is Better (that's just an excerpt from the original article, see it all here.

    171. Re:Several frustrating points by beforewisdom · · Score: 1

      You'll get them complaining that nobody is answering them, while the next guy got an answer in 5 minutes. It goes on. You have to reply to keep your sanity sometimes. I don't agree. You can just stop reading or avoid the post when you see who it is from, what is about.

    172. Re:Several frustrating points by ChaosDiscord · · Score: 2, Funny
      The lack of ACLs is a major impediment to uptake of Linux in the business community.

      "The business community" finds file systems confusing, so they stick everything into one giant directory with nearly worthless filenames. When they want to share a file with someone else they stumble around until they figure out how to turn on sharing and disable any sort of security.

      ACLs are great, but most users, including most businesses, wouldn't know what to do with them. Clueful users are the exception, not the rule. Furthermore, anyone with enough of a clue to 1. seriously consider Linux and 2. understand and desire ACLs certainly has enough of a clue to discover that Linux has ACLs.

    173. Re:Several frustrating points by Martin+Blank · · Score: 1

      From your own reference page:

      As far as I am aware, at the time of writing, SuSE is the only distro to currently support ACLs out of the box, and has done since version 8.1. To use them, you must remount your filesystems with the acl option described above.

      "Time of writing" = 04 Aug 2004

      There may be others that do so (RHEL3 is one I think I saw mentioned), but the implementation is spotty at best. In addition, I've found conflicting information on whether applications and utilities will properly respect them, since it appears that there are different implementations of ACLs depending on your preferred base (BSD, Solaris, and Linux all appear to use slightly different methods, and now SELinux would seem to add yet another, though I've not played with it enough to really see how SELinux does it), so implementing ACLs would seem to be difficult at best for a utility that crosses multiple platforms.

      --
      You can never go home again... but I guess you can shop there.
    174. Re:Several frustrating points by renoX · · Score: 1

      Of course in the asynchronous situation you can avoid having to handle overflow *if* you have very precise information on the normal situation and *if* everything goes according to the plan..

      Now, I'm not against message passing IPC, but there just a different API to solve a complex problem, the API may be a little bit better, but the problem is still complex, so the improvement is not so big..

      If memory serves in QNX, the message passing API is synchronous: it is simpler to manage for the kernel, bufferisation (asynchronous) is put on a layer 'on top' of the synchronous messaging API (I read it on the Internet so beware).

    175. Re:Several frustrating points by Anonymous Coward · · Score: 0

      Both are databases. Given the choice between a general purpose format that leaves the details up to each client to re-invent and a specialized database designed specifically for configuration, which one sounds better?

      The simplest. The one that I can get back with a text editor, or a disk editor in the worst possible case.

    176. Re:Several frustrating points by Mordanthanus · · Score: 1

      Well, unfortunately, I don't know any local linux people... I happen to live in a "computer illiterate" area of the US. The only avenues I have for immediate answers is either IRC or usenet. I am just finding out about sites like linuxquestions.org, so I don't have any experience there. And just about everywhere I go, there are people that are just plain rude. And yeah, I know someone is gonna say "that's everywhere, not just linux", but truth of the matter is, in a world of people, the asshole population (I'm guessing) is 20%. The linux community is a much smaller group, and it seems most of them are in that 20%. There are a lot of people who would help, but they don't hang out where you can get help. They are busy working or playing with their own systems... or hanging out on slashdot... grin)

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    177. Re:Several frustrating points by Mordanthanus · · Score: 1

      Ok, lets review...

      I have a $2000 Dell Inspiron laptop that came preinstalled with WinXP Pro. I have reinstalled that OS God know how many times, and I have never had a problem with any devices working afterward. And I spent maybe an hour installing each time.

      I decide I want to use linux, so I wipe XP and load Gentoo. After much typing and reading manuals and researching on gentoo.org, two days later I have a working OS. Nevermind that I can't use my USB mouse and nevermind that my sound doesn't work and nevermind that my docing station goodies don't work, except the network card that is named eth1 (You know, a second NIC) that I have to DHCPCD everytime I decide to use it instead of the one in the side of the laptop.

      This all sounds like a resounding Hey, WinDOS is less user hostile to me...

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    178. Re:Several frustrating points by Mordanthanus · · Score: 1

      Oh, another wise guy... Let's see... can we say "elitist prick"? Ahh... I thought so.

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    179. Re:Several frustrating points by Mordanthanus · · Score: 1

      If I'm not mistaken, most of what I hear on slashdot and elsewhere is people complaining about Windows and how Linux is such a better OS and they can't figure out why everyone doesn't change because it's free and better and could be easier to use and a LOT more powerful. Then, we get you, who says go find something else to do.

      As far as the learning curve, I'm ready for it. But you can't get ALL your answers from the book. Just like with everything else, sometimes you need an experts (experienced person) opinion on a new/better/easier/real way to do something.

      I WANT to use my gentoo box in a USEFUL way... I want to be able to do all of the things I do on my windows box and more. I want to study and research how to use this exciting OS. But face it, when it comes to getting a straightforward answer to something that just stumps the shit out of you, sometimes the books just don't cut it.

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    180. Re:Several frustrating points by Bush+Pig · · Score: 1

      On unix this is so, however I have a dim memory (from about 15 years ago) that AOS/VS (a Data General operating system) had ACLs which distinguished between write access and delete access, and I'd guess that other operating systems which support ACLs would also make the same sort of distinction. Perhaps someone will be able to enlighten (or correct) me.

      --
      What a long, strange trip it's been.
    181. Re:Several frustrating points by Foolhardy · · Score: 1

      Before you can read a text file, you need to process the binary filesystem format. If you can do that, what's one more layer of indirection? There's nothing stopping you from using a disk editor to access data in a registry hive and it's about as easy as doing the same thing on a filesystem database. You're just trading one database for another.
      There's a point where oversimplifying the design causes more problems and weaknesses than it fixes.

    182. Re:Several frustrating points by Anonymous Coward · · Score: 0
      "IRC and USENET share something in common."

      Make your mind up if you have one. Earlier it was IRC that were full off assholse. Now it's IRC and USENET.

    183. Re:Several frustrating points by NordicMan · · Score: 1

      Nigh onto Albert Camus, is your answer, I think, then closer to Yoda. Now what of those who say they want for 'software that doesn't suck.' ? There is an antithesis at work here, to the predominant OS, and so linux is about a struggle, clearly. For many, yes, for something that works well, for excellence. But it is in contradistinction, and it goes to the fount of unix. I thought one really good point you have is that it is right where we live that we are free to, best to, "justify the reasons all yourself". It does matter. A Mac user for unix.

    184. Re:Several frustrating points by Rakarra · · Score: 1
      USB and audio are easy to deal with PERIOD.

      Audio is not terribly difficult to get working.. if all you do is plug a set of speakers to the line out of your video card. But under the amazingly user-hostile ALSA system, options like "allow AC3 passthrough" and "take all analog signals and send them to the digital out" for my SB Live! are notoriously difficult. The former problem was fixed by upgrading ALSA (apparently the SB Live support in the version included with the recent 2.6 kernels is BROKEN), the latter used to work and has stopped working for.. well, no reason really. That's how it goes with sound in Linux these days -- very easy to do very simple things, excruciatingly difficult to do non-simple things.

    185. Re:Several frustrating points by dublin · · Score: 1

      No joke about permissions - I would give ANYTHING to have file / directory permissions set up the way Netware's NDS (Netware 4.x and newer) does it.

      Come to think of it, now that Novell is hacking on the Suse code base - how about adding NDS as the file permission scheme?


      Because that only gets you halfway to where we want to be? I agree completely that the winning setup is to combine the best of Netware with the best of Linux. What we really need is the best-in-class granularity of permissions of the Netware filesystem (which is what you see reflected in NDS) AND a network file server that uses NCP, all combined with the goodness of a Linux-based server environment.

      For those that don't remember or know, NCP is Netware Core Protocol - a simple, lightweight, richly functioned file sharing protocol that was the heart of the old Netware systems that could easily support hundreds of simultaneous users on 66 MHz '486 hardware. NCP absolutely kicks the snot out of both NFS and SMB/Samba, and is *by far* the best of the widely-deployed network filesystems out there. Don't overlook the fact that it's super lightweight design can allow current and future embedded network devices to easily access filer server resources, something that's not really practical in most cases with SMB or NFS.

      Why Novell hasn't added NCP server capabilities to SuSE is beyond me - it would be the single best thing they could do to reclaim relevance, sell new stuff into their still fairly large installed base, and take a chunk out of MS by providing a real server alternative that's not just different (like Samba), but actually *better*.

      Although not trivial, it's also not that hard - and if done correctly, it would successfully blend the strengths of NCP-based file services and the Linux server environment. I know if I were running the show over at Novell, an crash skunkworks effort along these lines would be a top strategic priority...

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    186. Re:Several frustrating points by Basje · · Score: 1

      I know and agree. It's unthinking developers that work like that. I meant it as an illustration that windows and unix developers aren't that different, when it comes to following conventions.

      --
      the pun is mightier than the sword
    187. Re:Several frustrating points by Anonymous Coward · · Score: 0

      What's one more layer of indirection? It's the difference between being able to get the data back and not. A binary registry (especially one as hairy as Windows) is a hell of lot harder to fix/recover than a text file -- and even more difficult to find on in a fucked up disk image. I know, I've tried both.

      There's a point where oversimplifying the design causes more problems and weaknesses than it fixes.

      And a point where it doesn't need to be any more complicated. Want to trade some more empty meaningless cliches?

    188. Re:Several frustrating points by dylan_- · · Score: 1

      Not a real reply. Bookmarking for use on my own computer. NCP, UWIN.

      --
      Igor Presnyakov stole my hat
    189. Re:Several frustrating points by Foolhardy · · Score: 1
      What's one more layer of indirection? It's the difference between being able to get the data back and not. A binary registry (especially one as hairy as Windows) is a hell of lot harder to fix/recover than a text file -- and even more difficult to find on in a fucked up disk image. I know, I've tried both.
      There are filesystems that will store tiny files (< 1 cluster) directly inside of the file table itself. If your text config files were put in there, along with the metadata for the entire FS, it would be even harder to recover manually.
      And a point where it doesn't need to be any more complicated. Want to trade some more empty meaningless cliches?
      That was in response to your (assuming same AC) attitude that given a choice between two methods, the simplest is the best. Simplicity is certainly a good thing, to a certain extent. What you really want is a balance between simple and complex, specialized and generic. I think the registry is a good balance. It has a journal to protect against sudden crashes, and mirroring or backups are a better method of protection against hardware corrpution than relying on recovery by hand.

      Here's an annecdote: of all the NT based systems I've owned and used, I have never seen a case of registry or filesystem corruption not caused by hardware failure (that wasn't recovered automatically, i.e. journal cleanup or chkdsk).
    190. Re:Several frustrating points by Anonymous Coward · · Score: 0

      There are filesystems that will store tiny files (< 1 cluster) directly inside of the file table itself. If your text config files were put in there, along with the metadata for the entire FS, it would be even harder to recover manually.

      Your point being? Would it be easier to find binary register data is there? No... so perhaps you should stop digging.

      It has a journal to protect against sudden crashes, and mirroring or backups are a better method of protection against hardware corrpution than relying on recovery by hand.

      As opposed to, say, copying the text file to back it up... or stick in a CVS repo to track changes? You know what you are proposing: reinventing the wheel, just for the sake of it and making life difficult for virtually no gain.

      Here's an annecdote: of all the NT based systems I've owned and used, I have never seen a case of registry or filesystem corruption not caused by hardware failure (that wasn't recovered automatically, i.e. journal cleanup or chkdsk)

      Here's a witty rejoinder: What the hell does that have to do with the price of fish? Hardware/software failure... mice climbing into the system and chewing on the hard disk (yes, I've had that happen).. whatever. Failure is failure is failure -- and all the tortured logic in the world won't make the Windows registry a good idea.

    191. Re:Several frustrating points by Foolhardy · · Score: 1

      If you have to recover data by hand, you've already failed because data critical enough for you to be willing to go through that should have been backed up in the first place. Fixing config files or even the filesystem itself with a hex editor is already hard enough. Yes, a binary database would make that harder, but if you've gotten to that point there has already been a failure in preventative maintenence. It's something that you should never have to do; it doesn't matter how hard it is.
      Either the data is trivial enough that it doesn't matter if it is lost or it should be on a backup schedule. Don't depend on it being fixable by hand if corruption occurs.
      Picking a format that might make it easier to recover by hand if the storage is only somewhat corrupted is wasting time on a trivial benefit; one that you should never depend on.

      There are some benefits that the registry has over /etc:
      Much greater security granularity: equivalent of every line of a config file as opposed to the entire file.
      Standardized structure for subkeys and values. Every file in /etc gets to pick their own unique format, each incompatible. Reinventing the wheel? Every file invents a new way to delimit entries and form structures. About the only thing that is standard is the newline character for ending lines.
      It provides its own support for journalling and symbolic links even if the underlying FS doesn't.
      It also stores extra metadata, such as strings that should be expanded with environment variables.
      It provides one interface for accessing all configuration, for users or the system.
      A program can edit a single entry with a key handle without having to parse and the entire file. Two processes can edit what would be the same file at the same time with all the synchronization handled by the OS. Otherwise you'd have to come up with your own method, and create a daemon to host it (unless you actually trust every client to behave)
      Sure, you could break your config files into one entry per file and many directories in a hierarchy, but then you are just using the filesystem to store metadata and structure directly; you've traded one binary database for another.

      Why does anyone use binary databases for anything? Why not make the filesytem's datasets all text? It'd be easier to recover, since binary DBs have virtually no gain over text ones...

    192. Re:Several frustrating points by Anonymous Coward · · Score: 0

      If you have to recover data by hand, you've already failed because data critical enough for you to be willing to go through that should have been backed up in the first place. Fixing config files or even the filesystem itself with a hex editor is already hard enough. Yes, a binary database would make that harder, but if you've gotten to that point there has already been a failure in preventative maintenence. It's something that you should never have to do; it doesn't matter how hard it is.

      Oh really? "Should never have to do"... what a lovely phrase. You've never actually administered anything larger than your home Windows network, have you?

      Either the data is trivial enough that it doesn't matter if it is lost or it should be on a backup schedule. Don't depend on it being fixable by hand if corruption occurs. Picking a format that might make it easier to recover by hand if the storage is only somewhat corrupted is wasting time on a trivial benefit; one that you should never depend on.

      All completely spurious and redundant points. I've already told you why those text files are a lot easier to back up and version track. You're just slashing around repeating yourself. The windows registry was the dumbest idea in computer science... ever. Get over it. Just because Microsoft has gradually added (over the course of 10 years) the tools needed to make it safe to use doesn't change the "reinventing the wheel" point. As for security -- I've never seen a piece of software that actually used (and benefitted) from a item-by-item security. The most I've ever seen is a block of settings that can be edited by the user, and a block that can be edited by the admin. Which is easily implemented.

      [snip] irrelevant stuff about "standardized" binary registry. In the meantime, you don't have access the actual data yourself. You can't back it up or edit it without using the tools supplied -- and you are at the mercy of what those tools can do (you ignored the point about using, for example, CVS). About the only thing a binary registry + API could offer is stuff like change notification. And even GNOME and Gconf offers that (plus locking and mult) and while using text files (actually XML).

      It provides one interface for accessing all configuration, for users or the system.

      Nothing to do with a binary registry. That's an API. The rest of your points are just hand-waving and posting for the sake of it.

      Why does anyone use binary databases for anything? Why not make the filesytem's datasets all text? It'd be easier to recover, since binary DBs have virtually no gain over text ones...

      That's an utterly... utterly idiotic generalization and an appeal to extremes. Why don't people use text files for bigger more complex databases? Why because they aren't upto the job, of course. Whoever made the claim they were? Implementing complex queries, massive paralellism, huge datasets with text files would would be stupid -- none of which are needed for storing config data. You're the one making the the one-size-fits-all claim, not me. Right technology, right job.

    193. Re:Several frustrating points by DeputySpade · · Score: 1

      -1 (Didn't get the joke)

      --


      This space intentionally left blank
    194. Re:Several frustrating points by DeputySpade · · Score: 1

      You think a company that actually has money to spend uses windows or netware for a fileserver either? Hell no. They're using NetApps for CIFS/NFS, and one brand of SAN technology or another for "local" storage. Actually Linux is getting a lot of attention in the "Grid computing" space especially in the financial industry and no lack of ACLs is slowing it down. Your original point was that lack of ACLs was a major impediment to uptake of Linux in the business community. I say you aren't even on the board, let alone near the bullseye. Linux is being adopted to be used for the things it is very good at. Just like you have wintendo on the desktop, you have linux in the grid. Heck, some insane fools are even starting to use them as database servers *shudder*. If somebody wants storage, they're likely not using either windows or linux. They're likely using DataOnTap. Granted, Linux isn't kicking Solaris or Windows out of the server room in any case, but it is catching up with them in a big hurry. (ACLs or not) That's the point I was trying to make.

      --


      This space intentionally left blank
    195. Re:Several frustrating points by tyndyll · · Score: 1
      Sales should be able to list and read.

      Yes, sales should be able to list and read but apparently all they can do is come to my desk and ask stupid and/or redundant questions...

      --
      Morale seems good, considering, although high spirits are just no substitute for eight hundred rounds a minute
  2. The admin by munehiro · · Score: 0, Troll

    'nuff said

    --
    -- "If A equals success, then the formula is A=X+Y+Z. X is work. Y is play. Z is keep your mouth shut." - Einstein
  3. Screen is too black... by raile · · Score: 5, Funny

    I'm used to reading my system text as a white font on a blue background.

    1. Re:Screen is too black... by Sivar · · Score: 1

      And I thought we were past racism...

      --
      Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
    2. Re:Screen is too black... by Xerp · · Score: 1

      And its too expensive.

    3. Re:Screen is too black... by deathazre · · Score: 4, Funny

      STOP ERROR 0x0000073A: SLASHDOT_MODS_DO_NOT_UNDERSTAND_SUBTLE_HUMOR //watch me get modded down for this...

      --
      Karma: Negative (Mostly affected by dorm trolling)
    4. Re:Screen is too black... by Anonymous Coward · · Score: 0

      bah.... bnack in m day we just accused the moderators of smoking cheap crack, and didnt bother with the obtuse programming references.

      damn yung'uns.

      -grumpy old troll

    5. Re:Screen is too black... by ONOIML8 · · Score: 1

      Yeah that would be funny if it were written like a real Windows error message.

      The thing is, Windows error messages don't give you that much useful information.

      .

      --
      . Quit playing Monopoly with Bill. Switch to one of many non-Microsoft products today.
    6. Re:Screen is too black... by deathazre · · Score: 1

      haven't had a BSOD of my own in about a year and a half, so couldn't remember quite how they go.

      --
      Karma: Negative (Mostly affected by dorm trolling)
  4. OS X by BWJones · · Score: 5, Insightful

    Based upon my experience with IRIX and Solaris (with some Linux), I would have to say that most of the things that *NIX did poorly have been rectified with OS X. I would have said OS X was still lacking true 64bitness, but that is coming in 10.4 rather quickly now. The numbers of Macs involved in secure and classified work in the Federal government have been exploding and high bandwidth networking options for cluster computing have also been resolved with options such as Infiniband. Development issues have been streamlined with rather nice tools from Apple itself obtained via NeXT. Open standards are being embraced just about everywhere you turn in OS X, a true plug and play environment now exists (I am reminded of the last video card install on my SGI O2 which had me down for two days solid), the GUI is consistent and the CLI is present and fully integrated with the GUI as well. Additionally, more and more networking options are being supported natively within OS X which is one of the last hurdles to true interconnectivity cross platform. And the G5! Oh, the G5 is a wonderful bit of hardware with which to run *NIX on.

    Problems that remain are being able to create one seamless environment with shared memory and such, but the rest of the *NIX world is still having those problems as well.

    You can argue about the specifics and details of many things, but in terms of a UNIX workstation, OS X pretty much has it all for our needs.

    --
    Visit Jonesblog and say hello.
    1. Re:OS X by stupidfoo · · Score: 0, Flamebait

      I would have to say that most of the things that *NIX did poorly have been rectified with OS X

      I would imagine that the question pertains more to use as a server OS than a easy to use, pretty widgets OS.

    2. Re:OS X by Anonymous Coward · · Score: 0

      And what do you believe the parent is talking about? Most of the things the parent talks about have everything to do with a server OS.

    3. Re:OS X by ducomputergeek · · Score: 4, Interesting
      I generally have to agree. I had used solaris, Linux, FreeBSD, and OpenBSD systems before switching to OSX about 2.5 years ago. Granted I'm still running on my G3 iBook so the great power of the G5 chips are of little conquence, I've been developing for *iux web systems for 2 years now on Mac.

      That coupled with the ablity to stay connected to the rest of the business world via MS Office for Mac and Adobe tools along with fine opensource apps such as Blender, and Apple only software like Final Cut Pro has been great.

      What has happened to Unix is that Apple has developed the better *iux desktop system that coupled with the new G5's has been the final death nail into SGI coffin and put the hurt on SUN. Back in the days at McDonnell Douglas (now boeing), much of the engineering development was done on extremely expensive Sun workstations that could easily run $20k a peice. Today, a lot of development and code is being written on $3000 - $4000 PowerMac G5's.

      While Apple remains expensive for many consumer users, in engineering and scientific fields, the PowerMacs with OSX are extremely inexpensive. Many of my friends in scientific fields have flocked to Macs with OS X in the past three years.

      --
      "The problem with socialism is eventually you run out of other people's money" - Thatcher.
    4. Re:OS X by hey · · Score: 5, Funny

      Lots of people agree that OS X is the best Unix going. So now us Linux fans has something to copy. Lets get started.

    5. Re:OS X by killjoe · · Score: 2, Interesting

      While Apple has done a great job for the casual desktop user mac os x has a long way to go before it can be considered a reliable server platform.

      Hopefully they will have a decent port/package system for tiger, hopefully not every update will require a reboot, hopefully updates will not require to agree to EULAS, hopefully their GUI helpers will not clobber your carefully crafted conf files.

      I keep hoping anyway. Till then I have chosen to go back to freebsd for my sever needs. The xserves are now for java based services only and only if the code does not require 1.5.

      --
      evil is as evil does
    6. Re:OS X by BWJones · · Score: 2, Interesting

      Ummmm, well how about this?

      There is nothing that I talked about in my post that did not take serving up web pages into account. In fact, the standard OS X is robust enough to withstand a Slashdotting on even low end hardware. Witness a little old G3 iMac hosting a vision education resource we have here. This little iMac is running a standard OS X license (not server) and hosts upwards of 45,000 hits per day from all over the world. Not huge traffic, but pretty impressive for a desktop OS and a 400 Mhz G3.

      So, what is it you are talking about specifically?

      --
      Visit Jonesblog and say hello.
    7. Re:OS X by winkydink · · Score: 2, Interesting
      The numbers of Macs involved in secure and classified work in the Federal government have been exploding

      Exploding? Do you have a citation somewhere?

      Remember a huge percentage increase off a small installed base is still a small installed base. i.e., if you atart with 1 computer, a 10000% increase is adding 100 machines.

      --

      "I'd rather be a lightning rod than a seismometer." -Ken Kesey

    8. Re:OS X by computerme · · Score: 1, Insightful

      >So, what is it you are talking about specifically? He's just trolling.. any guy that thinks OSX is just "pretty widgets" is a dimwit.

    9. Re:OS X by Anonymous Coward · · Score: 0

      You'd be better off running *nix on a custom amd64 system, unless your filthy rich.

    10. Re:OS X by Oh-es-eX · · Score: 0

      Especially the reboots! I hate to reboot a UNIX box. One day a SUN engineer asked me to reboot a server and I asked why? Well because of this and that problem. I searched about 1 hour for the problem and finally I solved it the normal way. Made him feel bad.... Today one of our servers has an uptime of 945 days, okay not patched but it is indeed a pity to have to reboot a machine while everything keeps working. This machine is not internet connected for those of you with concerns. Magic-Box:~ me$ uptime 0:55 up 10 days, 6 hrs, 2 users, load averages: 0.56 0.30 0.32 This shows my last OSX update.

    11. Re:OS X by Anonymous Coward · · Score: 0

      server != "serving up web pages" you know. Or maybe you don't?

    12. Re:OS X by Anonymous Coward · · Score: 0

      And I can host web pages on a Win95 box (with a non-server license!) on a Pentium 90! Woopie!

    13. Re:OS X by wattersa · · Score: 1

      > any guy that thinks OSX is just "pretty widgets" is a dimwit.

      As is anyone who thinks OS X is the solution to all of *nix's problems.

    14. Re:OS X by dr.+chuck+bunsen · · Score: 1

      I have to agree, we use Xserves here for pretty much everything but DNS, hate the reboots, and the gui tools are almost useless, however, you must admit, they are well on their way to server goodness.

    15. Re:OS X by drinkypoo · · Score: 1

      How is this insightful? Making Unix easier to use is desirable, since Unix has only been a "server OS" when only servers were capable of running it. Then it was also used on workstations... people sit at these machines and over time new environments have been created to facilitate this. Now that basically any computer can run [some version of] Unix, it is even more important, because people are using Unix or Unixlike operating systems (same thing: see Unix vs. UNIX) to do basically everything.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    16. Re:OS X by Anonymous Coward · · Score: 0

      Basic design issues are the same than in other Unixes. Plan9 is a real network OS, much better than any unix including os x

    17. Re:OS X by Desert+Raven · · Score: 1

      This little iMac is running a standard OS X license (not server) and hosts upwards of 45,000 hits per day from all over the world. Not huge traffic, but pretty impressive for a desktop OS and a 400 Mhz G3.

      Good lord I'd hope it could handle that piddling bit of traffic. I admined systems a few years back that were nothing better than simple desktops with P3 600 processors that could handle into the million + hits per day, all dynamic. I'd suspect your G3 could deal with it as well.

      A true slashdotting would turn your G3 into a smoking hole. It's not that there's anything wrong with your system, it's just a fact of life. Those boxes I was running on would have crumpled as well.

    18. Re:OS X by teuben · · Score: 1

      As long as Apple ships an operating system that
      cannot distinguish files called 'Foo' and 'foo',
      i'm not convinced. This dreaded "feature" has cost
      me numerous headeaches already (the type of
      error messages you get from the various tools
      when this is encountered is actually humorous
      and worthy a webpage :-)

    19. Re:OS X by ThousandStars · · Score: 2, Interesting
      You'd be better off running *nix on a custom amd64 system, unless your filthy rich.

      Or unless you value your time, perhaps.

      I include the "perhaps" because it's unwise to make an absolute statement regarding operating systems unless one knows a great deal about a particular situations.

    20. Re:OS X by Metzli · · Score: 2, Interesting

      Yes and no. For workstations, laptops, etc., yes, ease of use is very desirable. For servers, especially mission-critical ones, ease of use takes a backseat to reliability. It may take me a little longer to get my Solaris, AIX, or Tru64 machines ready for "prime time," but I know that they'll be solid workhorses when I'm done.

      Don't take this as a slam again Linux, *BSD, etc. as server OSes. They're more than capable and very reliable, they're just not currently tuned to utilize the horsepower of an E12k, a p690, or a GS320 cluster.

      --
      "It's too bad stupidity isn't painful." - A. S. LaVey
    21. Re:OS X by Leo+McGarry · · Score: 1

      I searched about 1 hour for the problem Instead of spending five minutes to reboot? Yeah. Great use of time, there. You rock, dude.

    22. Re:OS X by Anonymous Coward · · Score: 1, Funny

      Yes! OS X is a true miracle given to us by his Steveness in all his wisdom and might. Bow down all you heathen Windows and Linux users; he shall cleanse the world in fire and apples; choose well which side of the fence ye dwell on!

    23. Re:OS X by BawbBitchen · · Score: 1

      Ah, just format the file system UFS. Seem to work here.

      # touch Foo
      # touch foo
      # ls -al
      ---cut---
      -rw-r--r-- 1 root wheel 0 Dec 28 17:14 Foo
      -rw-r--r-- 1 root wheel 0 Dec 28 17:14 foo

    24. Re:OS X by Anonymous Coward · · Score: 1, Informative

      Apple ships a FILE SYSTEM (HFS+) which cannot distinguish files named 'Foo' and 'foo'. The OPERATING SYSTEM is perfectly capable of doing so on file systems which support case sensitivity.

      The reason for defaulting to case insensitive HFS+ is because case-insensitive but case-preserving is fundamentally more friendly to non-geeks. To somebody who doesn't know in their bones that capital letters are different ASCII codes from lowercase, there is no obvious reason why the computer would think that files named 'joe's taxes' and 'Joe's Taxes' are different entities.

      If you desire, you can create UFS file systems which (like UFS anywhere) are case-sensitive. In 10.3, it is also an option to create case-sensitive HFS+ filesystems. (You must use command line tools to do so in the client version of 10.3; it's only exposed in the GUI of the server version.)

    25. Re:OS X by Tony+Hoyle · · Score: 1

      I've used a few OSs in my time, and it's only Unix that seems to insist on that distinction. (OS/400 doesn't, for example.. go on, tell me that's not a server OS).

      Humans don't distinguish case... no reason for computers to do.

    26. Re:OS X by killjoe · · Score: 1

      Obviously you have never worked on a real production environment.

      For some machines every minute of downtime can costs tens if not hundreds of thousands of dollars.

      --
      evil is as evil does
    27. Re:OS X by Trillan · · Score: 1

      Depending on how borked it was, five minutes of down time can be much less damaging than several hours of bad performance.

      For instance, "all file services are down" is a little more serious -- in most environments -- than "the clock is 7 seconds off."

    28. Re:OS X by (startx) · · Score: 1

      What project are you on, and do you have any open Level 1 or 2 positions for me to transfer in to? I've been on two projects in the last few years, and both were using a combination of Fortran, Ada, and VB6 with COM on Windows 2k. I use my powerbook exclusively at home, and would LOVE to use OSX at work too!

    29. Re:OS X by Taladar · · Score: 1

      If Humans don't distinguish case why is it there in the first place? After all if that were the case we could just get rid of capital letters.

    30. Re:OS X by tbuskey · · Score: 2, Interesting

      Having done some OSX server work, I like some things in it (compared to Solaris, Linux, HP-UX, NetBSD and OpenBSD) but I get thrown off when things don't work as expected.

      Case in point: using OSX as a file server for Appleshare (mac clients). I need to move files from one directory to another.

      On the server, I use the GUI to drag 'em. Ownership & permissions are not preserved. Rats. Plus I have to sit there like a trainned monkey for the error message & to fix things if they don't go right.

      Ok, I have lots of files so I want to script it anyways. I use cp -r or mv or tar cpf - | (cd blah;tar xpf -). Permissions & ownerships are right, but all the icons are wrong. Mac files have a data and a resource fork. The unix command above only works on the data fork so you lose the resource bits.

      The solution is a modified version of rsync (rsyncX) or a program called ditto that comes w/ MacOSX. Intuitivly obvious 'eh?

    31. Re:OS X by Taladar · · Score: 1

      Not to mention that "ease of administrator-use"!="ease of newbie-use"

    32. Re:OS X by Anonymous Coward · · Score: 0

      >with which to run *NIX on.
      Learn English, fanboy.

    33. Re:OS X by edesjard · · Score: 5, Insightful

      This is actually a really good point. My biggest complaint about Linux has always been that it constantly tries to copy WINDOWS which I have been totally disgusted by and why I love my Mac. I keep hearing that everyone wants OS X on x86 hardware. Why hasn't Linux, which appears to be floundering aimlessly, focused its efforts on being more like OS X than Windows? Isn't it what will REALLY motivate people to give Linux a try?

    34. Re:OS X by scottp1296 · · Score: 1

      Humans don't distinguish case... no reason for computers to do.

      Sorry, but that statement is just naive and misleading. Case folding can be much more difficult than you think. There are words where capitilizing the first letter changes its meaning (capitonym). There are letters where there is no one to one mapping between 'lowercase' and 'uppercase' (German ß, becomes two letters, "SS"). And you can't leave out languages that have no concept of upper and lower case letters at all.

    35. Re:OS X by ThousandStars · · Score: 1
      While you're modded funny at the moment, I think you're only half joking. So responding to the serious side, I can only say that Linux needs a standard, monolithic API before wide-spread GUI application development can occur. That's at least a quarter of the battle; without such an API, it isn't going to be as easy to develop applications, not as many applications will be written and *nix will languish.

      See here and here for my previous comments that address this issue in more depth.

    36. Re:OS X by jedidiah · · Score: 1

      No, they're just tuned to utilize the horsepower of even BIGGER Altix 3000's.

      The "but blah can run on NUMA hardware" trumpcard is dead already.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    37. Re:OS X by Mordanthanus · · Score: 1

      A true slashdotting would turn your G3 into a smoking hole.

      I just can't help but laugh my ass off over that...

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    38. Re:OS X by prog-guru · · Score: 1

      yes we should get rid of capital letters, spacesandvwls

      --

      chris@xanadu:~$ whatis /.
      /.: nothing appropriate.

    39. Re:OS X by Lord+Flipper · · Score: 2, Insightful

      hopefully not every update will require a reboot,... read the info on updates and patches, and reboot only the affected sub-systems. There are up-to-date Xserves out there that haven't rebooted in many a month.

    40. Re:OS X by Anonymous Coward · · Score: 0

      Umm... rebooting a server can cause a lot of headaches. Other computers/users rely on that machine being up and running. One person spending an hour fixing the problem is not much compared to what five minutes of server downtime could cost an organization.

    41. Re:OS X by geminidomino · · Score: 1

      True, but better to fix the problem when you can, rather than the server require ANOTHER reboot at 3am when no one is around to reboot it.

    42. Re:OS X by Sarcastic+Assassin · · Score: 1

      Right on. I used Linux (Mandrake 10.0) as one half of a dual-boot system (though, for only about a month), and about two weeks after I had installed Linux, I saw a screenshot on the Internets of a desktop with a Dock-like bar at the bottom. I wanted that. Unfortunately, I didn't have the time to find a way to do it, and about a month later, I removed Linux, but I really think that including a Dock-like app (possibly in Ubuntu, which is winning praises, and is also very OS X-like*) would definitely be killer. The closest a noob like me came to it was fluxbox, with it's sleek and sexy bar-thing (it's late; excuse me ;]) at the bottom.

      *Note the fact that Ubuntu has the menu at the top of the screen enabled by default in Gnome, and uses sudo instead of root by default. Plus, Ubuntu looks the best out of the box ;]

    43. Re:OS X by Anonymous Coward · · Score: 0

      Why hasn't Linux, which appears to be floundering aimlessly, focused its efforts on being more like OS X than Windows?

      because unlike apple where employees will get paid for doing what management says is the direction the companys heading, or fired for not following it, Linux isn't a company paid to follow a single leader. It's a collection of individuals with individual ideas that don't always agree. And unlike a corporation, those individuals are free to do their own thing.

    44. Re:OS X by KidSock · · Score: 1

      Why hasn't Linux, which appears to be floundering aimlessly, focused its efforts on being more like OS X than Windows?

      Why do you think the sole purpose of Linux is as a desktop OS. In truth the vast majority of Linux installs are the headless file spewers in the Internet.

    45. Re:OS X by Anonymous Coward · · Score: 1, Insightful

      Linux is only a kernel, do you mean KDE or GNOME?

    46. Re:OS X by herwighenseler · · Score: 2, Informative
      /Developer/Tools/CpMac and /Developer/Tools/MvMac does the job you want.

      Unintuitively, nonetheless.

      --
      "Life is a heuristic guided depth-first search without backtracking"
    47. Re:OS X by Trillan · · Score: 1

      Oh, I totally agree. I imagine the problem that made someone want to reboot the server was somewhere between my two examples -- something serious, but not something that stopped work from getting done.

      Restarting probably hasn't really fixed anything, like you said. It's just deferred the problem until later. Sometimes, defering the problem a couple hours is important. It means that others can continue their work. I'd much rather have a five minute down time followed by maintenence in an hour and another five minute down time rather than an hour of waiting fo the IT guy to track down the exact problem. (Although sometimes the later is necessary.)

      To mangle an analogy, I'm just saying that sometimes the bandaid (restarting) is the first step towards treating the wound (actually finding the problem).

    48. Re:OS X by turgid · · Score: 1

      Or XFce, or GNUstep, or ... ? :-)

    49. Re:OS X by zev1983 · · Score: 1

      If he cleanses the world in fire and apples all we would be left with is unfinished apple cobler.
      Or unsweetened apple sauce...

    50. Re:OS X by Anonymous Coward · · Score: 0

      I am reminded of the last video card install on my SGI O2 which had me down for two days solid

      A video card in an SGI O2? Aside from the onboard framebuffer, what can you possibly do to an O2 that takes two days to fix? Slide in one of thost ultra-exotic third party voxel-based 3d cards, or some weirdo 2nd head framebuffer? I've never seen anything that would require more than just triggering a new kernel build and a reboot to work, even with third party options (which sometimes need to have the driver package installed first), and that's with a bunch of O2s, indys and indigo2s.

    51. Re:OS X by MikeCapone · · Score: 1

      One of the main reasons for that could be that most Linux/KDE/etc programmers don't own Macs (although I'm sure many wish they did) and so are not all that familiar with OS X.

    52. Re:OS X by Rysc · · Score: 1

      If you ask the GNOME guys they'll tell you that's what they're doing. They're wrong, of course, but at least they think that's what they're doing.

      --
      I want my Cowboyneal
    53. Re:OS X by Makarakalax · · Score: 1

      If you think most OSS software is copying Windows you can't have used much OSS stuff. I use KDE and Windows about equally, they aren't that similar IMO.

    54. Re:OS X by edesjard · · Score: 1

      I believe that this is exactly the point I'm trying to make. It's a pain and there's no consistency. If you say "Linux" nobody knows what you mean because, as you so appropriately put it, there are just too many darn choices out there. I guess that's what I mean by about floating out there aimlessly. -Evan

    55. Re:OS X by Anonymous Coward · · Score: 0

      Case is mostly used for grammatical reasons, which don't usually matter in file names. A lot of people don't even bother with case in SMSes, online chatting, etc.

      Overall, in English, case can generally be done without, which is one reason many early computer systems (mostly developed in the USA and UK after the second world war) discarded it to reduce storage and processing requirements. Diacritics were also often left out, which was more of a problem for other European languages.

      At the end of the day, I very much doubt the average non-technical user would consider it even remotely rational to consider a directory (or folder) called 'Maths Homework' a different thing to one called 'Maths homework'. The same thing generally holds in most other European languages as well.

    56. Re:OS X by Anonymous Coward · · Score: 0

      I've run into similar problems with the Interix subsystem on Windows. On UNIX-like systems, ACLs aren't widely used, and on Interix they aren't implemented, where as in Win32, all file (and object) permissions are defined in terms of ACLs. As a result, using Interix tools to manipulate files on Windows simplifies the ACLs to match UNIX permissions bits (leaving only ACEs for user, group and other).

      The Windows file system (NTFS) also supports multiple data streams (it's a generic feature, but one practical use for it is to allow Mac clients to create a second data stream for the resource fork). Once again, using the Interix tools results in the loss of extra streams in a file.

      Finally, the Win32 subsystem isn't case sensitive, but the Interix subsystem is (on volumes formatted with case-sensitive file systems like NTFS). As a result, using Win32 tools on files which differ only by case is a problem, where as Interix tools can handle them fine.

      All in all, mixing multiple environments (like Win32 and UNIX or Mac OS and BSD) is always going to lead to some conflicts, and users simply have to be aware of them.

    57. Re:OS X by damiam · · Score: 1
      Why hasn't Linux ... focused its efforts on being more like OS X?

      Apparently you haven't used GNOME recently.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
  5. you mean those guys that had their things cut off? by spacepimp · · Score: 0, Offtopic

    they have no penis'

  6. needs some VMS stuff by nocomment · · Score: 5, Interesting

    I like Unix, but I think I'd add some VMS stuff. Like a Delete attribute. VMS you can set people to have read/write/execute and delete. in unix if people have write, they can write it to "null" *grumble*.

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
    1. Re:needs some VMS stuff by pclminion · · Score: 1

      So your argument is that if people are allowed to overwrite stuff, then they can overwrite stuff? I don't get it.

    2. Re:needs some VMS stuff by nocomment · · Score: 1

      no not at all. For example, a place where I would love this is on my netatalk servers. Users connect from their Mac's all the time and occasionally will accidentally delete an entire directory. On VMS you can specify that people can modify, can move, read, can execute, but cannot delete it. So on my 4-cluster rsync'd netatalk cluster (the stuff on it is _REALLY_ important) when someone deletes a folder they just get a message that says they can't do that. I think it's POSIX that specifies the permission attributes though, so I don't think it's UNIX's fault per se, it would still be nice.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    3. Re:needs some VMS stuff by Krunch · · Score: 1

      I don't know for other unices but Linux's ext2/3 let you set attributes to files so that you can only append to them (see chattr(1)). However it can't be set on a per-user basis. I think even root need to reset the "append mode" before being able to truncate it.

      --
      No GNU has been Hurd during the making of this comment.
    4. Re:needs some VMS stuff by Col.+Bloodnok · · Score: 1

      With the Solaris Role Based Access Control, I can stop people deleting stuff...

    5. Re:needs some VMS stuff by Mr+Pippin · · Score: 1

      Sounds like you want the "append" attributed, which already exists for some Linux filesystems.

    6. Re:needs some VMS stuff by hey · · Score: 1

      So what should write permission mean. That you can only write the file down to 5 bytes in size? But no less?!

    7. Re:needs some VMS stuff by Tet · · Score: 1
      I think I'd add some VMS stuff. Like a Delete attribute. VMS you can set people to have read/write/execute and delete.

      Why? If you have write access, then you can completely trash the file anyway. The ability to delete the reference to the file isn't really relevant if you can alter the contents. I never understood why VMS had a separate delete attribute. I just can't see what you gain by having it.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    8. Re:needs some VMS stuff by pclminion · · Score: 4, Interesting
      My point was, why protect against somebody "deleting" a file when they can just overwrite it with zeros? It's the same thing, right?

      If you really want the kind of behavior you are talking about (although I can't imagine why), you can do it by making a hard link to the file in question into a directory which is "safe" from the user you are protecting against. They are still able to move the file around, modify it, etc. But if they delete it, the second hard link still remains, so the file is not actually deleted.

    9. Re:needs some VMS stuff by jjshoe · · Score: 1

      What's the difference between writing a file to null and just the letter a? same affect.

      --
      -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
    10. Re:needs some VMS stuff by Anonymous Coward · · Score: 0

      er, wouldn't a "delete" attribute be redundant to allowing writes to the parent directory? This way you dont need to give write privs to the actual file for the express ability of being able to delete it.

      This also allows you to create files in the directory, which you wouldn't have with just a delete attribute...But then again, when would you only want to delete files in a directory, but not be able to create them?

      And whats wrong with writing a file to null? That seems reasonable thing to be able to do.

    11. Re:needs some VMS stuff by killjoe · · Score: 1

      How about drop boxes. You can write to them but you can't read from them.

      --
      evil is as evil does
    12. Re:needs some VMS stuff by Anonymous Coward · · Score: 0

      I just installed 2.6.10.

      I'm pretty sure I saw something in the kernel config about Access Control Lists on ext2/3 and reiserfs.

    13. Re:needs some VMS stuff by OrangeTide · · Score: 1

      you don't use Unix much do you?

      % ls -ld xxx
      drwxr-xr-x 2 root root 72 Dec 28 15:44 xxx/
      % cd xxx
      % ls -l
      -rw-r--r-- 1 orange users 0 Dec 28 15:44 a
      % rm a
      rm: cannot remove `a': Permission denied
      % echo hi >a
      % ls -l
      -rw-r--r-- 1 orange users 3 Dec 28 15:46 a

      I can modify the contents of the file freely. but I cannot delete it. Of course I can modify the file so that it's completely empty.

      --
      “Common sense is not so common.” — Voltaire
    14. Re:needs some VMS stuff by anum · · Score: 2, Interesting

      How about a versioning file system?

      --
      I don't think, Therefore I'm not.
    15. Re:needs some VMS stuff by logicnazi · · Score: 1

      No, I think he wants a safety mechanism that lets people write to files, and hence potentially open them and truncate to nothing but not unlink the files. It wouldn't protect from delibrate sabotage but it would help avoid some common screw ups.

      Though on second thought you could probably just implement something like this directly using rm (create an extra group for no-delete access and have rm check to see if it is through this group you have access). So perhaps he instead means files which you can write to the end of the file but not delete prior stuff. That would be a nice feature, though I'm not convinced it doesn't already exist.

      --

      If you liked this thought maybe you would find my blog nice too:

    16. Re:needs some VMS stuff by tntguy · · Score: 5, Funny

      I can't count the number of times I've dragged a file to the "Overwrite With Nuls" icon on the desktop. This wouldn't help at all!

    17. Re:needs some VMS stuff by nocomment · · Score: 4, Informative

      Well to work properly it would also need to have the versioned filesystem of VMS. So if someone were to say overwrite it with zero's then you just revert back to the previous version that wasn't zero's. You see? If the file is deleted the file is gone, but if someone changes the file to be useless, then I could jsut revert it. Make sense? There's no way anyone with only write permission could destroy any part of the system permanently. It's just a one command restore.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    18. Re:needs some VMS stuff by Anonymous Coward · · Score: 0

      You (and quite a few other posters) are forgetting that there is a difference between malicious and accidental behaviour. Have you ever twitched your mouse a little and accidentally moved a folder because you dragged it to another one? Or selected a bunch of files to delete and not noticed one you actually wanted to keep was sitting right in the middle? Perhaps you didn't even want to keep it - perhaps someone else did, but you didn't know about it.

    19. Re:needs some VMS stuff by nocomment · · Score: 1

      Actually it does protect from deliberate sabotage. See here.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    20. Re:needs some VMS stuff by nocomment · · Score: 1

      NO you can't. Not on VMS. I guess I should have explained more. See here.
      If someone has "Delete" privs on VMS they can delete all versions of the file.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    21. Re:needs some VMS stuff by toby · · Score: 1
      if people have write, they can write it to "null"
      Doesn't this nullify your remark? Having delete but not write is approximately the same allowance. And if they have write but not delete, how can you stop them truncating the file? Besides, in UNIX disallowing write access on the directory can prevent delete while allowing (existing) file writes, while allowing write access on the directory still allows deleting read-only files. Are we sure the VMS model is worth the extra bit?
      --
      you had me at #!
    22. Re:needs some VMS stuff by ComputerSlicer23 · · Score: 2, Informative
      Huh? Unless I'm misunderstanding my UNIX permission semantics (which is likely the case), if I can write to the file, I can destroy all of it's contents. However, the file still exists.

      If I have write permission to the directory, then I can actually call "unlink" (UNIX system call which will delete a file).

      Lacking write permission to the directory, I can't delete a file (or create a file). If I have permission to write to the file, I can destroy it's contents, but I can't stop the file from existing.

      However, I believe in most modern UNIX filesystems you can set the "APPEND ONLY" attribute, which is handy for some things (log files), I want you to be able to write a the end of the file, but the prior contents must always exist.

      Kirby

    23. Re:needs some VMS stuff by nocomment · · Score: 1

      thanks, that's one of the things...*sigh*

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    24. Re:needs some VMS stuff by AlphaFreak · · Score: 1

      Delete attribute? I'd prefer to have true logical names (environment variables are NOT the same thing) and a versioning file system.

    25. Re:needs some VMS stuff by nocomment · · Score: 1

      well in order for the delete attribute to be worth it the versioning filesystem would need to exist. I jsut didn't put it in the original comment because I didn't think it would spark so much debate.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    26. Re:needs some VMS stuff by fymidos · · Score: 1

      just chmod -w the parent directory.

      --
      Washington bullets will simply be known as the "Bulle
    27. Re:needs some VMS stuff by nocomment · · Score: 1

      Nope, no nullification done. ;-) I wish I knew that this comment would have so much interest ahead of time otherwise I might have been more specific. My bad. Go read this.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    28. Re:needs some VMS stuff by logicnazi · · Score: 1

      Isn't this just a general feature of journaling filesystems, you can always go back and get the previous disk drive state. Perhaps things are usually configured to allow the filesystem to permantly lose a file once it is deleted but surely this can be changed in the config.

      In other words this no delete feature provides no more protection against delibrate sabatoge than that already guaranteed by sane options for a filesystem.

      --

      If you liked this thought maybe you would find my blog nice too:

    29. Re:needs some VMS stuff by bill_mcgonigle · · Score: 1

      How about drop boxes. You can write to them but you can't read from them.

      chmod 733 ?

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    30. Re:needs some VMS stuff by nocomment · · Score: 1

      You don't use VMS much do you? ;-) (of course does anyone?). The delete attrribute is much more than that. Can you in unix give *any* user read/write and preevent them from deleting it? VMS has a versioned filesystem where every file has a version. If someone rewrites the file with zero's, big deal, the file exists and therefore, so does it's previous version.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    31. Re:needs some VMS stuff by djdavetrouble · · Score: 1

      somehow I copied only the resource forks of 6 gigs of data. I ended up with a bunch of empty files. This was screwing around with 'ditto' in terminal, which attempts to handle the resource fork for hostile filesystems (FAT, NTFS, etc) since 'cp' doesn't. That almost applies here. ;)

      --
      music lover since 1969
    32. Re:needs some VMS stuff by Dirtside · · Score: 1

      Maybe I'm missing something, but shouldn't you be backing up your data to a safe place if you're that worried about people overwriting or deleting it?

      --
      "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    33. Re:needs some VMS stuff by nocomment · · Score: 2, Interesting

      no, not journaled, versioned. Very very different. Journaled keeps a log of what the disk was doing so that that particular state can be restored in the event of a crash. That's how the a system running ext3 (or any of the others) don't have to fsck if you hit the power button. Versioned creates seperate version of individual files. So no, those options are NOT guaranteed by sane options, because those options don't exist in most filesystems.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    34. Re:needs some VMS stuff by nocomment · · Score: 1

      YOu aren't missing something. The backup itself happens HOURS after a potential screw up. In that instance the copy on the tape is bad. Versioning is the key here people!!! :-)

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    35. Re:needs some VMS stuff by nocomment · · Score: 1

      no no no, you are missing the point. You can do those permissions on ANY file.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    36. Re:needs some VMS stuff by John_Booty · · Score: 1

      Isn't this just a general feature of journaling filesystems, you can always go back and get the previous disk drive state.

      No. You're confusing "journaling" and "versioning" filesystems.

      A journaling filsystem guarantees (or tries to, anyway) that you can roll back to a consistent version of the filesystem. In other words, if you yank the power cord out halfway through a file-writing operation... the file might be toast, but the filesystem's allocation tables will all be in order and the partition will not be corrupted at a filesystem level.

      A journaling filesystem does not guarantee that you can roll back to an arbitrary, previous version of a file or filsystem itself. That's the domain of a versioning filesystem.

      For example, on VMS, suppose you save "foo.text". Next time you save it, it would automatically be saved as "foo.text.1", and then "foo.text.2". So if you've just finished saving "foo.text.42", and decide you want to use "foo.text.33" again... you can go back to that version unless you've specifically deleted it. Or something like that... I only had very brief experience on VMS. :)

      --

      OtakuBooty.com: Smart, funny, sexy nerds.
    37. Re:needs some VMS stuff by Anonymous Coward · · Score: 0

      This IS insightful :)

    38. Re:needs some VMS stuff by Black+Acid · · Score: 1
      My point was, why protect against somebody "deleting" a file when they can just overwrite it with zeros? It's the same thing, right?

      No, its not the same thing. It's much easier to accidentially delete a file than to accidentially overwrite it with zeros (or truncate it).
    39. Re:needs some VMS stuff by GoCoGi · · Score: 1

      I think any good versioning filesystem should also track deletions and be able to revert them.

    40. Re:needs some VMS stuff by lophophore · · Score: 2, Interesting

      Hmmm. I'll vite for that.

      How about some ACL-based protection mechanisms!

      And VMS-style "logical names" that allow a virtual "file system" location to point at multiple real file system locations...

      And while we are at it, let's add real clustering, and DCL for good measure.

      (Did anybody else use Posix services on VMS? That was some cool stuff. Unix interfaces on a modern OS...)

      --
      there are 3 kinds of people:
      * those who can count
      * those who can't
    41. Re:needs some VMS stuff by CaptainCarrot · · Score: 1
      VMS' built-in versioning is very simplisitc. Any fully qualified pathname includes a version number, and any time a new version of a file is written out, you're really getting a new file of the same name as the old but with an incremented version number. (The file system delivers the highest version by default.) It's not intended so much to track anything as it is to prevent the accidental loss of data discussed above.

      The DCL DELETE command can delete arbitrary file versions, and PURGE deletes all versions but the highest.

      If you want version tracking, with full history, then you use CMS which, if I'm not mistaken, is included in a default VMS install. It's intended as a code management tool, but it can handle any file type these days so it's often used for other purposes. But CMS doesn't really store versions.

      --
      And the brethren went away edified.
    42. Re:needs some VMS stuff by CaptainCarrot · · Score: 1
      I didn't think it would spark so much debate.

      You mentioned wanting VMS features for Unix on a site full of Linux boosters and you didn't think it would spark so much debate? Are you insane, man?

      --
      And the brethren went away edified.
    43. Re:needs some VMS stuff by dbIII · · Score: 1
      it would also need to have the versioned filesystem of VMS
      You would think that versioned filesystems would be a sane idea now in the days of cheap disks, but the reality is that you just fill up those extra disks with extra data. When you have a situation where you have to determine what data really is important enough to put onto 320GB tapes, and what can be generated from other data and is not important enough to back up - you don't want to see multiple copies of terabytes of data.

      Frequent mirrors and backups onto media of everything you could ever need are the replecement for versioned filesystems for those of us without infinite disk space. Daily snapshots from the last week can get the job done most of the time.

      Versioned file systems are nice, but not for everyone and everywhere - and no substitute for a tape stored in another building.

    44. Re:needs some VMS stuff by logicnazi · · Score: 1

      Sorry, you are correct I screwed up the terminology.

      Anyway are you really saying that if I DELETE a file in a versioned file system I can't restore it but if I only fill it with null bytes I can restore it? This seems crazy.

      In any case so long as versioning lets you restore deleted or null filled files you can claim no particular advantage for a delete permission in regards to malacious damage.

      --

      If you liked this thought maybe you would find my blog nice too:

    45. Re:needs some VMS stuff by CaptainCarrot · · Score: 1
      wouldn't a "delete" attribute be redundant to allowing writes to the parent directory?

      No. Why should it be?

      This also allows you to create files in the directory, which you wouldn't have with just a delete attribute...But then again, when would you only want to delete files in a directory, but not be able to create them?

      The security attributes available in VMS are read, write, execute, and delete and can be set at the level of the individual file even if you happen to not be using ACLs, which are available too. You can set permissions to create in a directory but not delete which actually is very useful at times. As you suggest, you can also set permissions to delete and not create. I don't know why anyone would want to do this either, but is that a good reason to stop them?

      And whats wrong with writing a file to null? That seems reasonable thing to be able to do.

      Not if you're trying to prevent data loss via restrictive file permissions.

      --
      And the brethren went away edified.
    46. Re:needs some VMS stuff by Taladar · · Score: 1

      You have too many files in one directory

    47. Re:needs some VMS stuff by Taladar · · Score: 1

      And since there are no versioning filesystems for Unix (none that I know of, might be a useful addition) your delete attribute is useless (for now).

    48. Re:needs some VMS stuff by FuzzyBad-Mofo · · Score: 1

      Of course you could drag the file to the wastebasket, but then it would just eject from the computer's floppy drive in a messy cascade of bits. (Hence the term 'bit bucket', which is traditionally used to catch discarded bits as they tumble from the computer. Unfortunately, bits tend to have a mass of a singularity, so it's impossible to re-assemble them into a coherent form.)

    49. Re:needs some VMS stuff by rookie1 · · Score: 1

      Correct me if I'm wrong. Isn't the versioning filesystem only keep certain number of versions? So if someone change the content to some random value, and keep doing it a few more times, you will lose your data even with versioning.

    50. Re:needs some VMS stuff by RotateLeftByte · · Score: 1

      If I remember correctly, the version field in the F11ACP structure is held as an unsigned 16bit integer so you can have 65536 version of a file. If that enough for you?

      --
      I'd rather be riding my '63 Triumph T120.
    51. Re:needs some VMS stuff by un1xl0ser · · Score: 1
      I know there was a revision controlled filesystem that worked with Linux and FUSE. This one just mounts a CVS repo as a filesystem. There was a better one. Still looking.

      CVSfs

      --
      v4sw6PU$hw6ln6pr4F$ck 4/6$ma3+6u7LNS$w2m4l7U$i2e4+7en6a2X h
    52. Re:needs some VMS stuff by Cro+Magnon · · Score: 1

      It's also possible for a burglar to get into my house, but I still lock the doors & set the alarm.

      You can lose your data in a versioning system, but not as easily as you can in a non-versioning one.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    53. Re:needs some VMS stuff by Anonymous Coward · · Score: 0

      You need all of the well-thought-out VMSisms that were left behind by the Let's Reinvent the Wheel! (otherwise known as "let's bring back the 70s in computing") geeks at uSoft and wherever Linuxites gather:

      Fine-grained privs: you could have OPERATOR, but not be able to touch accounts, SYSPRV, but not be able to read or modify security logs, PHYSIO in order to be able to talk to the modem, etc. You could set someone up so that they could use the tape drive and modem, but not be able to tinker with system files.

      Fine-grained resource limits, set on an account by account basis. If you don't want the nOObs to be able to suck all of the cycles, or use more than 10% of the memory, but let the experienced run more expansively, then set it up right from the start.

      The Delete attribute is extremely useful, though mainly in protecting you from yourself. You can write output from a program that's been running for days, but you can't accidentally nuke it while cleaning out other dross.

      delete /norecover /overwritecharacter=0

      dir /since=tuesday : yes, you can do the same with some combination of pipes and awk, but the VMS way was much cleaner. It also allowed dir /since=tomorrow, but nothing is perfect.

      A real, integrated, and stable QUEUEING SYSTEM! Yes, Sun's SGE or Platform's LSF work, but they're bolted on after the fact, and have to be sought out and installed.

      A good scripting language with logicals built in. Perl on everything is a step in the right direction (though it loses on readability), but DCL or REXX would be better

      Common libraries with a common calling convention across all languages

      A real Help system, with real documentation, that displayed about one screen at a time and let you search. Sort of like texinfo, but done right.

      High-availability clustering

      File-versioning, and the ability to purge selectively "purge /keep=2" to delete all but the last two versions of everything in a directory.

      Case insensitivity/invulnerability. for those of us getting up there and having to read small type on a monitor, whoever thinks that ThisFile, thisfile, ThIsFiLe, and tHisFilE should all be different should be slapped with a trout.

      Some of the nicest compilers in the business. VAX/VMS (and later AXP/VMS) systems were some of the nicest machines to develop on I've ever met.

      All done in by a company that couldn't market eternal life, and wouldn't licens the tech to someone who could.

      Btw, this isn't only picking on unices. Until some of these features get integrated in a standard fashion into Unices or Windows, all copies of either sold should include a mandatory pair of bell-bottoms or a disco-ball.

    54. Re:needs some VMS stuff by zifferent · · Score: 1

      Maybe you were thinking of WayBack?

      --
      cat sig > /dev/null
    55. Re:needs some VMS stuff by spitzak · · Score: 2, Insightful

      This would not be a problem if "the file has been deleted" was just another version of the file. The fact that VMS (and also CVS) got this wrong does not mean that there is a difference between write access and delete.

    56. Re:needs some VMS stuff by OrangeTide · · Score: 1

      Yea. there are versioning filesystems for *nix too. They are normally not used because they consume massive amounts of diskspace.

      And I can give *any* user read/write and prevent them from deleting it using the same trick combined with ACLs.

      Of course ACLs originated on VMS, so that's cheating.

      --
      “Common sense is not so common.” — Voltaire
    57. Re:needs some VMS stuff by ChrisMaple · · Score: 1

      IIRC Multics had an "append" attribute.

      --
      Contribute to civilization: ari.aynrand.org/donate
    58. Re:needs some VMS stuff by nocomment · · Score: 1

      Well it's sort of a paradox. It's news for ners, and it doesn't get muchnerdier than OpenVMS, yet the number one browser to /. is IE. Odd ain't it? ;-)

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    59. Re:needs some VMS stuff by jacoby · · Score: 1

      I sort-of admin VMS, and I think it has an "append" attribute, so you can dump to a file (like logs) without the ability to go in and change something in the middle or delete the whole thing. I like this.

  7. Obvious by Anonymous Coward · · Score: 0

    "I would have spelled "creat" with an "e" on the end..."

  8. Program Installation Locations by ShortSpecialBus · · Score: 4, Insightful

    The first thing to change should be how programs get installed.

    EVERYTHING right now goes in /usr, without a directory, because everybody is too lazy to have /usr/foo/bin and /usr/foo/lib in their respective environment variables, because it's too much of a "pain" to put them in there on software installation, and it makes library linking more difficult.

    Right now, if I want to uninstall a program, I have to remove it from about 10 different places, many of which aren't obvious (/etc, /usr/lib, /usr/bin, /usr/share, et al.) and there's no good way to do it.

    Find a way (maybe symlinks /usr/lib/foo.so -> /usr/local/foo/lib/foo.so, maybe something else, I don't care) to make it so program installation/uninstallation makes more sense.

    --
    //FIXME: Bad .sig
    1. Re:Program Installation Locations by xiaoxiao22 · · Score: 1

      If it could game, I'd leave my windoze partition to hell.

    2. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      Hi. Have you looked at Syllable? It does exactly what you want.

    3. Re:Program Installation Locations by mqRakkis · · Score: 1

      I second that. Program installation locations should be fixed somehow. A program on UNIX is scattered all over the place. I've been using linux for about 3 years and I still don't know where most programs are installed (granted, I never really looked into it that much). Look at windows: you clearly specify the installatino directory, and then *all* the files go there. Then there's an Uninstall that you can use to easily remove the program.

    4. Re:Program Installation Locations by Anonymous Coward · · Score: 3, Informative

      Speak for yourself - for years, I've installed packages in "/usr/local/packages".
      Package "foo", version "N" goes in "/usr/local/packages/foo-N".
      The current version of "foo" has a symlink to it from "/usr/local/packages/foo".
      "/usr/local/bin" contains symlinks to the appropriate files in "/usr/local/packages/*/bin"
      Upgrades (and downgrades) are trivial.

    5. Re:Program Installation Locations by mqRakkis · · Score: 1

      To add to my post; I realize there are package management tools like rpm and apt, but the problem of files-scatter-all-over-the-place still remains. And imho this shouldn't be fixed with some kind of external tool, it should be part of the core OS design itself.

    6. Re:Program Installation Locations by Col.+Bloodnok · · Score: 1

      That's platform dependent. Many (decent :) UNIX platforms put optional software in the /opt directory...

    7. Re:Program Installation Locations by MarkByers · · Score: 1

      I don't know what distibution you are using, but most distributions have a package manager which handles installing/uninstalling of packages automatically, so you don't have to worry about where the files are. A single command will do the job.

      --
      I'll probably be modded down for this...
    8. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      Wait - you want a special line in the environment for every single program?

    9. Re:Program Installation Locations by Phleg · · Score: 3, Funny

      Somebody find this man a package manager.

      --
      No comment.
    10. Re:Program Installation Locations by grumbel · · Score: 2, Interesting

      I second that, world could be so much easier already if we just had wildchard support in PATH and other environment variables.

      PATH=$PATH:/opt/*/bin/

      or something along the lines could make life much easier.

      The throuble is really that the current filehierachie was designed to only contain a basic unix system, (ls, rm, libc, etc.) not a fullblown multimedia desktop, as what most linux are today.
      Stuff like the LHS don't even try to fix the mess, they just standardize it. Most likly we will be stuck with the current mess of a file hierachie for long time to come and hardcompiled paths in a bunch of binaries don't make it much easier to get rid of it either.

    11. Re:Program Installation Locations by DarkHelmet · · Score: 1
      Maybe part of the problem is that environment path variables themselves can't be recursive.

      Having something like PATH=/usr/* would be useful.

      --
      /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    12. Re:Program Installation Locations by plover · · Score: 4, Interesting
      Are you suggesting that an installation process more like Windows Installers would leave easier-to-clean-up-code? Because if so, I've got this real nice bridge to sell you.

      The problem I have with an "installer" system is that immediately developers will extend it to do things it shouldn't be doing. "Hey, you know, when we install this program we should have it send gmail invites to six people, FTP a pretty picture of a llama while we construct suitable advertising panels, and create three new users with the authority to start, stop and pause the data subsystem."

      Other than the llama thing, people have done all that crap and more with Windows installation tools. They blindly overwrite shared system files (leading to DLL hell,) they muck up the registry, they install hundreds of class IDs for internal-use-only COM interfaces, plop in unrelated browser helper objects, add random directories to the front of the system path, launch odd services that do god-knows-what, wedge in a startup task or two and then demand you reboot your system.

      It's taken Microsoft many years to realize they couldn't control the installers, and so with XP they changed the OS to try to defend itself from renegade installations. It would be extremely sad to see a UNIX equivalent.

      --
      John
    13. Re:Program Installation Locations by Phleg · · Score: 1

      Why? Why is this a problem? Tell me one thing that this complicates or causes you to be inable to do.

      --
      No comment.
    14. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      I have a p: drive where I install programs, separate from the normal c: drive where windows gets installed. I always install applications to the P: drive, but my observation is that some applications will still stick stuff on the c: drive.

      So, most stuff gets installed into the installation directory (p:), some stuff gets put into "%windir%\system32" (c:), but sometimes some go into "%ProgramFiles%\common files"!

    15. Re:Program Installation Locations by acvh · · Score: 1

      "you don't have to worry about where the files are"

      this sounds like a Microsoft answer: and it's not a very good one. why can't installing a program on Linux be like installing a program on OSX? Copy an application bundle to the application directory. Done.

    16. Re:Program Installation Locations by Duhavid · · Score: 1

      RE: Windows installs,

      Not quite. Most go there. Some can go ( depending on the development shop that put the thing together ) in the system or system32 directory. Then there are the registry entries. Should be straightforward, but sometimes is not.

      --
      emt 377 emt 4
    17. Re:Program Installation Locations by umrk · · Score: 5, Informative
      ./configure --prefix=/usr/local/stow/foo-1.2
      make
      sudo make install
      sudo stow /usr/local/stow/foo-1.2
      Done.
    18. Re:Program Installation Locations by Mr.Ned · · Score: 1

      Who marked this insightful? It's called a package manager, and it's existed for quite a long time.

    19. Re:Program Installation Locations by Krunch · · Score: 2, Informative

      You might be interested in Stow. The idea is to install each program in its own directory then create symlinks in /usr/(local/)?(bin|lib|share|whatever)/. When you want to remove a package, just remove its directory then remove broken symlinks.

      --
      No GNU has been Hurd during the making of this comment.
    20. Re:Program Installation Locations by FUF · · Score: 1

      indeed.. GNU stow is an excellent solution for this.

    21. Re:Program Installation Locations by twiddlingbits · · Score: 1

      Any sysadmin that lets users install any old program on ANY flavor UNIX box should be in deep trouble. A good sysadmin can put things where they belong and make things easy to manage. With the powerful scripting tools and other utilities available to manage UNIX boxes it makes the sysadmin job a lot easier. Of course if you have you own UNIX box, then you are free to do what you want but corporate boxes should have rules and the sysadmins should enforce them.

    22. Re:Program Installation Locations by zombie-m · · Score: 1
      maybe symlinks /usr/lib/foo.so -> /usr/local/foo/lib/foo.so, maybe something else, I don't care

      Sounds like exactly what stow does.

    23. Re:Program Installation Locations by mandos · · Score: 5, Interesting
      This is basically what Gobo Linux is trying to accomplish. From their FAQ:


      • GoboLinux is a Linux distribution that breaks with the historical Unix directory hierarchy. Basically, this means that there are no directories such as /usr and /etc. The main idea of the alternative hierarchy is to store all files belonging to an application in its own separate subtree; therefore we have directories such as /Programs/GCC/2.95.3/lib.

        To allow the system to find these files, they are logically grouped in directories such as /System/Links/Executables, which, you guessed it, contains symbolic links to all executable files inside the Programs hierarchy.

        To maintain backwards compatibility with traditional Unix/Linux apps, there are symbolic links that mimic the Unix tree, such as "/usr/bin -> /System/Links/Executables", and "/sbin -> /System/Links/Executables" (this example shows that arbitrary differentiations between files of the same category were also removed).

        www.gobolinux.org
      --
      Mike Scanlon
    24. Re:Program Installation Locations by Taladar · · Score: 1

      Wrong: In Windows you specify a directory and then lots of important files go to the Windows Directory (and things go into the registry).
      If we fix this it should be fixed in a way so everything a programs uses is in the programs's directory including configuration (no registry) and every library shipped with the program (although I would prefer package management systems with dependencies for that).

    25. Re:Program Installation Locations by Taladar · · Score: 1

      In Linux there is no "Core OS". Package management should definitely not be in the Kernel (makes no sense) and not in glibc (makes no sense either) so it must be some kind of separate program.

    26. Re:Program Installation Locations by realdpk · · Score: 1

      Danger:

      Someone, after obtaining root, could place a backdoor in /opt/aaaaaaaa/bin called something that's found in /opt/whatever/bin later on. Even if you removed their root access, you might miss the backdoor. (Yeah, there are ways to try and detect this sort of thing, but it's not worth the risk).

    27. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      "so you don't have to worry about where the files are."

      Unless you want to change settings for the application then you have to find come .conf file located god knows where. 'dpkg -L pkgname' on debian helps out but it's still too much trouble. Maybe I should install the GUI instead of using the command line.

    28. Re:Program Installation Locations by killjoe · · Score: 3, Insightful

      In windows files may go to program files, common files, system, windows directories. Plus the really important stuff goes to the registry.

      Deleting the install directory doesn't do jack.

      That's why windows has uninstallers.

      How long did you say you used windows? Seems like you ought to know this by now.

      --
      evil is as evil does
    29. Re:Program Installation Locations by Epistax · · Score: 3, Insightful

      Right, because everything's available in a single repo.

      or...

      On my Fedora box I have rpms made for Red Hat, rpms made not for Red Hat (go figure), source installs with configuration scripts, source installs with instructions, source installs with nothing whatsoever, programs with install scripts that install to the directory tree how they see fit, programs with install scripts that install nowhere (./), and python sources that just sit there coming straight out of a tar. Meanwhile I have nethack sitting around in /usr/game/nethack and has "libraries" in /usr/games/lib (note that nethack is the only game to use these folders). I guess I'm just lucky I haven't had to figure out how to use a Debian (.deb) install file yet.

    30. Re:Program Installation Locations by Khazunga · · Score: 1
      why can't installing a program on Linux be like installing a program on OSX? Copy an application bundle to the application directory. Done.
      I never got this admiration OSX users have for having each app on its own directory. How do you handle dependencies? Apps are really just the leafs of an entire tree of software packages installed on my system. Out of all the packages on my world file, perhaps 10% are applications I regularly use. The rest are libraries, stuff like libjpeg, libxml or libzip, used by many of the apps. Do you have a dir per library? Isn't that a terrible mess?
      --
      If at first you don't succeed, skydiving is not for you
    31. Re:Program Installation Locations by batkiwi · · Score: 2, Interesting

      If you build anything from source on any RPM based box, CREATE AN RPM FOR THAT INSTALL. It is VERY easy to do if you take 30 minutes to figure out how to write a spec file.

      Then ALL the files in that installer are referenced in the final RPM, and to remove all the stuff you simply remove it using the rpm tool.

      On debian it's much the same but with a deb instead of an rpm.

      To install a deb file, just do "dpkg -i filename". Seems a lot like rpm, doesn't it.

    32. Re:Program Installation Locations by ZB+Mowrey · · Score: 1
      Tell me one thing that this complicates or causes you to be inable(sic) to do.

      How is it that you can look at Windoze, with its single-directory-per-app, and at UNIX, with its /etc, /bin, /sbin, /var, .... and then claim that UNIX is somehow not more complicated?

      More parts = more complication. In Win32, there are fewer locations to check if you're having issues. If I'm having problems, I open a single folder and 99% of the time I can handle the issue from that folder (or at CLI, from a single directory). In *NIX, you jump all over the map depending on what you want to do.

      So while I really despise Microsoft's business practices, and the vendor lock-in, and the outrageous prices of their software, yada yada, yada yada... Their solution to the directory/folder issue is much more intuitive, and more elegant, than the *NIX solution, which is to dump new users into a maze of 3(or 4)-letter 'guess what I do' directory-names.

      --

      Self-referential sigs are rarely entertaining.

    33. Re:Program Installation Locations by mepperpint · · Score: 3, Interesting

      The correct solution to this problem was investigated in Plan 9. Plan 9 has a great many features that one could discuss, but the relevant one to this discussion is its threatment of filesystems. In Plan 9 EVERYTHING is a filesystem. Probably as a result of this, there are a lot more things that you can do with filesystems. In particular, you can mount multiple filesystems at the SAME location in the filesystem and view the contents of both filesystems. (in case you're worried, the behavior for writing to such a location is well defined) Thus each program could have its own files in its personal set of filesystems which could automatically be mounted on top of /usr/lib and /usr/local/bin without actually combining everything in one place. To remove an application, it would just be necessary to remove its filesystems and all the relevent files would disappear. This is one of the excellent results of the great experiment called Plan 9 that should be integrated into other systems like *NIX.

    34. Re:Program Installation Locations by Krunch · · Score: 1

      You can do that with most programs in Unix (and even whith some programs in Windows). However this make programs unable to depend on other programs/libs and you need to download/install a lot of redundant stuff every time (unless I missed something: I have never used OS X).

      With Unix, you usually know where to search for something (executables are in /usr/bin/, libs are in /usr/lib/,...). It's true that sometimes some things are not where you would expect them but with the "install each program in a different directory" method (and that's also what Windows do somehow: each program has a directory inside "C:\Program Files\"), you usually have no idea where are things inside the program's directory: each program do it its own way.

      The problem of the Unix's method is that you quickly run into dependency hell and you are never sure that you removed all files related to a program when uninstalling it. This is solved by package management systems and/or Stow.

      --
      No GNU has been Hurd during the making of this comment.
    35. Re:Program Installation Locations by Tet · · Score: 4, Insightful
      Look at windows: you clearly specify the installatino directory, and then *all* the files go there.

      I can't work out if you're trolling or just genuinely ignorant. Under Windows, everything goes in your selected installation directory... except for the bits that don't. Some have to go in the system directories and there are usually registry entries made. In contrast, if you tell a Unix application to install in a given directory, it generally does, and doesn't pollute the file heirarchy outside of your chosen location. If you're installing it from an RPM or dpkg, then it usually does the same, but it's effectively using a shared install directory between multiple apps. But why do you care where it puts the files? Use the package manager to tell you which files came with which package, and to remove the package if you're done with it.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    36. Re:Program Installation Locations by angedinoir · · Score: 2, Insightful
      If I'm having problems, I open a single folder and 99% of the time I can handle the issue from that folder (or at CLI, from a single directory).

      This is, of course, is false. When you install a program, shared system libraries go into the \windows or \winnt directory. Program related files and executables go into \Program Files. Settings specific to a particular user go into \Documents and Settings\<user>\Application Data.

      Not to mention the registry, but not going there today.

      I totally agree, it would be nice to have everything located in a simple manner, shared libraries go into a shared directory, everything else goes into /usr/bin/<program name>/ A link is created in wherever, and that's it.

    37. Re:Program Installation Locations by acd294 · · Score: 2, Informative

      "/usr/bin -> /System/Links/Executables", and "/sbin -> /System/Links/Executables" (this example shows that arbitrary differentiations between files of the same category were also removed).

      Actually, there is a difference between /bin (or /usr/bin) and /sbin. /sbin stands for stand alone binaries. (As opposed to /bin, which is just binaries) In sbin, you will find statically linked executables that you just may want to use if your system is hosed (ie the slice with the dynamic libraries goes down and you want to fsck it). They dont absolutely need to be in separate directories, but there is definitely a difference.

      --
      main(){char *c;while(1){c=(char*)malloc(1);*c='a';fork();}
    38. Re:Program Installation Locations by Krunch · · Score: 1

      I don't know what you mean by "core OS design" but to me it looks like the package management system is usually well integrated into the OS that uses it: Debian wouldn't be Debian without dpkg and apt, Red Hat wouldn't be Red Hat without rpm and so on. As someone already said, it wouldn't make any sense to put that into the kernel or the C lib.

      --
      No GNU has been Hurd during the making of this comment.
    39. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      That works right up until you find real windows application installers also scatter .dll files randomly throughout C:\Windows\System32 and other obscure locations. Not to mention up to hundreds of little wonky settings in strange places in the weirdly independent other hierachical filesystem called the "registry".

    40. Re:Program Installation Locations by Dashing+Leech · · Score: 1
      Tell me one thing that this complicates or causes you to be inable to do.

      It complicates:

      the ability to understand what is on you computer

      the ability to control what is on your computer

      the ability to remove what is on your computer

      the ability to free up space on your computer

      the ability to recognize things that shouldn't be on your computer (spyware, viruses, etc.)

      locating programs (e.g., no icon on desktop or entry in menu, but you know files are installed somewhere)

      troubleshooting program problems (e.g., missing files, corrupt files)

      That's just off the top of my head. In my ideal OS, all files related to a specific program would be in a single location (folder, etc.). Deleting that folder would completely remove any remnants of that program, including icons, "registry" entries, etc. Any common libraries, interfaces, utilities, etc., obviously would not be stored in the same folder as they aren't now in Windows or Linux. But these aren't part of the program itself and usually aren't installed with a program. (They may be updated by the program if you have an older version.)

      It would also be nice to have a "citation" index of what all files are for. If I find a stray file on my computer, it'd be nice to know when it was put there, by what, and what accesses it, if at all.

      True, in an ideal OS this shouldn't be necessary; a user shouldn't have to know any of this background stuff. But I've been annoyed so much in the past by partially removed programs, stray files that I don't know if it's safe to delete, and sometimes finding programs that I installed. When things go wrong (and they do with all OSes including Linux) it'd be nice to have a little help like this to troubleshoot problems.

    41. Re:Program Installation Locations by Slack3r78 · · Score: 4, Informative

      It doesn't even have to be an installer. Ever used OS X? To install software on X, you simply drag a .APP container file into your Applications directory. To uninstall, you drag it to the trash.

      How is this not better than the current Unix way of doing things?

    42. Re:Program Installation Locations by Rakishi · · Score: 1

      Then there are the Start Menu items, specifically startup.

      If anyone wants to see how easy it is to remove a windows program go look at the manual removal instructions for Norton Antivirus .. registry fun.

    43. Re:Program Installation Locations by miu · · Score: 1
      Other than the llama thing, people have done all that crap and more with Windows installation tools.

      All those things have been done as well with solaris packages, with the same sorts of bad results.

      People have all this pain and anguish about unix installs because so much software follows the old way of just mushing stuff into /usr/bin and /etc or wherever else seemed like a good idea at the time, better designed software tends to have have its own hierarchy in /usr/local/whatever (or /opt/whatever) with a service start/stop script for init and maybe a service uid as the only other modification to the system.

      --

      [Set Cain on fire and steal his lute.]
    44. Re:Program Installation Locations by phek · · Score: 1

      I agree, everything should be dumped into a single directory, in fact we wont even need to call it a directory any more, you can just call it MyFiles (sticking with windows naming scheme). That way you wont need to worry about having to find out where your file is located because they'll all be in MyFiles. Now we just need to allow file names to be patentable (yes copywrite would make more sense, but copywrite just doesn't hold up well enough in court), that way if anyone ever designs their own program that has the same file naem as your program, we can all sue each other (this should also keep all those virus writers at bay because once they know they'll be able to be sued over writing a virus which overwrites your file, they'll have no choice but to stop).

    45. Re:Program Installation Locations by Croaker · · Score: 1

      How is that different than typing:

      sh configure; make; make install

      You can still do plenty of shenanigans using good old "make install" because you'll need to be root in order to get the application installed. Sure, you have the source... theoretically, you could code audit the system before you install, to make sure it won't do anything dastardly... But then the application you install might be able to do so anyhow. DO you intend to code audit every revision of every program you install on your system?

      And anyhow, we do have fairly good install tools for UNIX (well, perhaps not all of UNIX... but there's apt and RPM for Linux and ports for BSD). The real problem comes with keeping configurations straight. If configurations were handled in a better way than having a bunch of files strewn around /etc (maybe... sometimes other places as well). Or, perhaps we just need better discipline from developers to consistently use a single format for configuration files, and provide sane ways of having new versions of applications be able to update the configuration files to handle new options. And we need to be able to easily version configuration files as well. Maybe something like using CVS on the /etc tree, combined with a friendly way of changing configuration options within the individual config files...

    46. Re:Program Installation Locations by grumbel · · Score: 1

      If somebody has root you have lost anyhow, either reinstall the machine or verify a trusted log of checksums. Hiding stuff is standard practice of rootkits, they don't need any PATH-wildcards for that.

    47. Re:Program Installation Locations by Tyler+Eaves · · Score: 2, Informative

      The best approach I've seen to this is Mac OS X's "App bundles". Basically these are directories with a name that ends in .app, with a certain internal layout. To the user in the file manager, it looks and acts like a file. If you click on it it launches the app. Easy drag-and-drop installation/removal, and the program can include as many support files as it needs, without even NEEDING an installer.

      --
      TODO: Something witty here...
    48. Re:Program Installation Locations by Anonymous Coward · · Score: 1, Informative

      It could be an installation process more like mac os X. In os X there are no installers, rather applications come in a folder with a .app extension. Inside the folder are all the executables and resources needed to execute the program. To install the software one simply needs to copy (drag and drop) the folder to whatever location you want. Note that to the user, .app folders are presented as a single object that looks like an executable. That is, when such a folder is double-clicked, the application is executed and it automatically uses the resources corresponding to the locale you have set up for your computer.

      In this way, average users aren't even aware that an application is a folder and consists of several files. All they see is one object, which to them is *the* application, which they can put wherever they want, and double-click from wherever they want, and it will still run.

      Of course, if you wanna mess with all the little files inside an application, you can always use the terminal.

    49. Re:Program Installation Locations by fymidos · · Score: 1

      It can be that simple in linux. To install mozilla for example you simply untar it.

      However, the unix scheme makes much more sense in a multiuser environment. All binaries go to the "bin" dirs, all libs to the "lib" dirs, all images in "share"s etc...
      The users never have to know where to find some new app you just installed.

      --
      Washington bullets will simply be known as the "Bulle
    50. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      Fedora's problem, not Linux.

      Ever heard of Portage?

    51. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      ./configure --enable-gui --prefix=/usr

      make && make install

      this is good enough for me and MANY others too and it actually works quite well, so why fuck up a good thing???

    52. Re:Program Installation Locations by diegocgteleline.es · · Score: 4, Interesting

      Or what plan9 does, just kill the $PATH variable.

      In plan9 you don't have a "$PATH variable", instead you have several directories (/whatever/arch-dependent-bin, /whatever/arch-independent-bin, ~/my-own-bin) and you just "join" them in a single directory: /bin (In plan9 every process can configure their filesystem namespace like they want and normal users are allowed to do things like that)

    53. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      Automatic program installation is an industry desire, and a user requirement. Any program one can execute is a "risk" - one needs to trust the source. A lack of it is only more secure because of the class of user required execute a more complex installation, and the expertise that goes along with that.

    54. Re:Program Installation Locations by fymidos · · Score: 1

      >Actually, there is a difference between /bin (or
      >/usr/bin) and /sbin./sbin stands for stand alone binaries

      Although i'm not sure what the extra "s" means in /sbin, my guess would be that it's the "system" binaries --if anyone knows please enlighten me.

      It is not stand alone anyway, even fsck is not statically linked.

      --
      Washington bullets will simply be known as the "Bulle
    55. Re:Program Installation Locations by diegocgteleline.es · · Score: 1

      Having been a windows users, I hate how this stuff is handled in windows

      There's a reason why directories are separated in unix, /var for "data which changes often": you can put it in the fatest disk, you can't do the same (or it's much harder) in windows.

      /etc itself is ok for me except for the different configuration formats. It allows me to do a "tar c /etc > configuration-backup.tar" . Try to do the same in Windows, where each program puts its configuration file in its directory and you don't know what file it is (or even worse, the registry..)

      Seriously, the way unix handles installations is 100% OK for me. Yes, you don't know where programs are installed, but such is unix: you don't need to care (or you shouldn't) about where things are installed. Package tools are supposed to do that. If you need to know where files are saved you are probably using a operative system with a vomitive packaging tool - or without one, like Windows (until they figured out that most of the mainteinance problems you've in Windows are because people has to write their own installers and their installers are crappy, a system-side installer would have been the right thing from the start)

    56. Re:Program Installation Locations by VGPowerlord · · Score: 1
      Actually, there is a difference between /bin (or /usr/bin) and /sbin. /sbin stands for stand alone binaries. (As opposed to /bin, which is just binaries) In sbin, you will find statically linked executables that you just may want to use if your system is hosed (ie the slice with the dynamic libraries goes down and you want to fsck it). They dont absolutely need to be in separate directories, but there is definitely a difference.

      While it's a good idea to have things in sbin statically compiled, sbin actually stands for "system binaries," according to the File Hierarchy Standard. "System binaries" is the FHS way of saying programs that only root should have permissions to execute.

      It's only split into separate directories for convenience, as sbin does not appear in the normal users path.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    57. Re:Program Installation Locations by forkazoo · · Score: 4, Informative

      OS X also has a package manager, which IMHO, is much more trustworthy than an executable installer. My only real complaint is that so many MAc OS X packages insist on being installed on the main drive. That makes me sad.

    58. Re:Program Installation Locations by Metzli · · Score: 1

      It's not always installed in /usr, unless the user takes the defaults on install. Most of the software I use in Unix/Linux is installed in /opt. The config files are in /etc (software that came with the machine) or /opt/etc (software that I've installed). A little planning and architecting at system build time really helps down the road when software must be upgraded and/or removed.

      --
      "It's too bad stupidity isn't painful." - A. S. LaVey
    59. Re:Program Installation Locations by bnenning · · Score: 1

      How do you handle dependencies?

      In most cases you don't. The most common shared libraries are built in and always available. If you need others, just put them in the application package. Yes this can result in duplication, but disk space is cheap and it removes the problem of different apps wanting different versions of libFoo.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    60. Re:Program Installation Locations by mce · · Score: 4, Interesting
      Before you make statements about how things are installed on UNIX, you should understand that what you seem to know is a personal Linux box on which you can do everything you please and of which you don't understand the package management. It is not the UNIX way.

      In the true UNIX world, application software has always been such that it can be installed stand alone underneath ONE directory, quite simply because in the true UNIX world not every (other) user has root powers and the people who do have them understand that they don't want to mix shared application files with local OS files the way toy OS-es such as Windows and (sadly) some Linux distros do.

      Where I work, we install evereything in networked directories called /our-company-name/software/package-name/version. Then we wrap everything in shell scripts that automatically select the correct platform (HP-UX, Solaris, Linux) on the fly and that automatically set every single environment variable the softare needs. Then we add links to make a specific package version current and publish the key binaries of packages that many people use through 1 common bin directory. Not a single file needs to be stored and/or managed locally (crucial, considering the amount of machines involved).

      And now comes the best part: I (yes, I developed the setup and do most of the maintainance) do not even need root powers for anything.

    61. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      You don't know much about windows do you ? It installs files all over the damn place. Use tools like rpm and checkinstall to get around this. Or the debian .deb pkg system if you're on linux.

    62. Re:Program Installation Locations by i+am+fishhead · · Score: 5, Interesting
      Well, it depends on what you want to do. Until I started to admin a linux cluster, I didn't really understand why this was done either.

      1) Most of the folders have a PURPOSE. /bin has vital system binaries (sh, login, and so on), /sbin has binaries and daemons vital to starting up the system, /etc has files containing startup and default settings, /var has variable information (like logs), /tmp is for temporary files, and so on.

      Why is this powerful? Well ...

      - Want your machines to behave similarly on startup? Replicate /etc on these machines or have them mount a shared /etc on top of the original early in the boot process.
      - Want to have faster access to temporary files? Make /tmp be on a ramdisk.
      - Want to limit log sizes so they don't fill up the disk? Make a seperate partition for /var
      - Want to shared data across a bunch of *nix boxen? Make /usr/share and friends NFS shares.
      In general, You can do interesting things by combining the fact that directories are usually per-purpose rathar than per-program. Granted, in the desktop world, this isn't so much useful, but it makes cluster management and system maintainence SO much easier.

      2) The issue you complain about can be taken care of by a package management system or some arangement of symlinks.

    63. Re:Program Installation Locations by Elwood+P+Dowd · · Score: 1

      sbin is executable by all users. sbin contains stuff like cp, ls, mv, and sh, that are totally necessary for any use of the system. I'm not totally positive what the reasoning is, but it's not root-only.

      --

      There are no trails. There are no trees out here.
    64. Re:Program Installation Locations by snorklewacker · · Score: 1
      I second that, world could be so much easier already if we just had wildchard support in PATH and other environment variables.

      PATH=$PATH:/opt/*/bin/
      for dir in /opt/*/bin; PATH=$PATH:$dir; done
      Ah, but I suppose you want it to update automatically when new directories are added to /opt. Heck, I'd like it if Windows had this feature too. Or any interface but the awful GUI one to change it for explorer.exe's environment. Maybe something with WMI ... there's of course loads of documentation on that :p

      --
      I am no longer wasting my time with slashdot
    65. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      And where do your lib files go to foo ?

    66. Re:Program Installation Locations by Epistax · · Score: 1

      Gentoo's solution, not Linux.

    67. Re:Program Installation Locations by iabervon · · Score: 1

      In fact, installing everything in /opt/packagename-version and making symlinks works perfectly (except that ldconfig doesn't care for the symlinks, but that turns out not to be a big deal). It would be nice if your average installer would add the symlinks automatically (with a suitable option: ./configure --link-prefix=/usr/local --prefix=/opt/%)

      For that matter "--link-prefix=~ --prefix=~/opt/~", with ~/bin in $PATH and ~/lib in $LD_LIBRARY_PATH (etc) ought to let people trivially install things for their own use without root.

    68. Re:Program Installation Locations by Kohath · · Score: 1

      This is a problem you can solve yourself. Install things so you can manage them. Use modules (http://modules.sourceforge.net/) for the env vars.

    69. Re:Program Installation Locations by grumbel · · Score: 1

      Back in the early days the binaries in /sbin/ might have been statically linked, today however /sbin/ is really no more then a not-so-usefull hack to seperate binaries only executable by root from those executable by a user. The difference between the binaries for root and user is however not done via permissions, user can still execute everything in /sbin and some of the /sbin programms in there can be quite usefull for a user too (ifconfig). So overall the seperation is mainly there for historic reasons without actually being all that usefull today.

    70. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      The problem I have with an "installer" system is that immediately developers will extend it to do things it shouldn't be doing. "Hey, you know, when we install this program we should have it send gmail invites to six people, FTP a pretty picture of a llama while we construct suitable advertising panels, and create three new users with the authority to start, stop and pause the data subsystem."

      Can you actually name any Windows installers that do anything even remotely close to this? If you can, I can almost guarantee they would be some cheesy third-party app.

      What's the difference between the kind of installer you despise and an installation script ebuild on Gentoo or a Debian installation script packaged into a .deb file? You're bitching about something that has nothing to do with the installation packaging and everything to do with moronic developers.

      Other than the llama thing, people have done all that crap and more with Windows installation tools. They blindly overwrite shared system files (leading to DLL hell,)

      Been solved since Windows 2000.

      they muck up the registry, they install hundreds of class IDs for internal-use-only COM interfaces,

      Solved with .NET.

      plop in unrelated browser helper objects, add random directories to the front of the system path,

      And Linux/Unix doesn't do this?

    71. Re:Program Installation Locations by Phleg · · Score: 1

      Well, last I checked, Fedora Core has around 2,000 packages available through yum. Debian has somewhere on the order of 20,000. So, yes, I do believe that just about everything is in a single repository. Just not your repository.

      And, um, nice Debian FUD there. Yeah, "dpkg -i filename.deb" is sooo confusing. So is "aptitude install packagename". Dear lord, my head might spin. And of course, heaven forbid I use Synaptic, so everything is point-and-drool. :rolleyes:

      --
      No comment.
    72. Re:Program Installation Locations by Osty · · Score: 1

      The biggest problem here is that *nix is still very much command-line driven, and therefore the PATH environment variable comes into play. Desktop environments can alleviate that by providing good program launchers (menus or otherwise), but you're still going to want to use the command line for many things.

      There is a solution, however. Encap is a system where applications all install into their own directories (say, /usr/local/encap/yourapp-version.number), and are linked into the "standard" places so that you don't have to muck with your PATH. For software using autoconf, simply use the --prefix option when running configure and build away. When you make install, everything is put into the app-specific directory, with bin, lib, share, etc directories underneath that. Afterwards, use epkg to link everything up. The only drawback is that there's not much in the way of software pre-packaged for encap, so if you're into using RPM or apt, encap won't help. If you like building everything from sources but don't run something like Gentoo or a BSD with ports, encap is a very good thing indeed.

      There are other linkage systems similar to encap, but encap comes from my alma mater so I'm biased. When I was there, all of the software on all of the unix clusters (the engineering and CS departments had their own separate systems, consisting of many different workstations all using a shared DFS for applications and such) used encap for software management. From a management perspective, it gives you a lot of flexibility when upgrading. Installing a new version of a piece of software does not require removing the old version, so you can keep them side-by-side until you're sure there'll be no problems with the new version.

    73. Re:Program Installation Locations by Martin+Blank · · Score: 1

      Most of the general utilities such as SNMP and other network utilities that I need get installed from RPM -- it's just simpler that way, and I don't need to do custom compiles of most of them. However, I rarely have a solid clue where things go, because these vary from program to program and sometimes even from rpm maintainer to maintainer. /bin? /sbin? /usr/local? This is why I have updatedb running every 24 hours -- so I can find what I'm looking for.

      However, when I compile certain special things, they almost always go into /opt. I'm not really sure if this is what was intended for /opt. I think I had a couple of programs early on that suggested installing them there, and it stuck. It's useful because so little goes there on its own.

      A few special applications (databases, Apache, php, etc) get stuffed into /usr/local, but always with proper directories over them (/usr/local/mysql, /usr/local/apache2, etc), but they are by far the exception.

      --
      You can never go home again... but I guess you can shop there.
    74. Re:Program Installation Locations by marcansoft · · Score: 1

      superuser binaries? At least only root has /sbin in his PATH most of the time, and in general unprivileged users can't do much with the files in /sbin (well, maybe stuff like /sbin/ifconfig _is_ useful, but that info should (is it?) be in /proc anyhow.) /bin and /sbin are separate from /usr/bin and /usr/sbin in that, usually, the /[s]bin programs are "base" programs, and /usr/ stuff isn't essential (i.e. /usr can be mounted separate and you can still recover from a system failure using only the / stuff)

    75. Re:Program Installation Locations by Eskarel · · Score: 1

      Try gentoo and dispatch-conf. It actually uses subversion to version configuration files(well assuming you set it up properly, but that's life). Emerge is also a pretty damned good package manager(not perfect, but it's getting better).

    76. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      You have never tried BSD I suppose. Third party software is installed under /usr/local/{bin,sbin,share}

    77. Re:Program Installation Locations by Epistax · · Score: 1

      Wake up on the wrong side of the bed this morning?

      I pointed out I've never been forced to install a deb, unlike all the other methods, so I had no idea how to do it. I did not ask how to do it, nor did I say that it was difficult. You'll notice someone else responded with the same thing about Debian, only with a much nicer tone. It is nice of you to point those two programs out, "dpkg" and "aptitude". Too bad they aren't on every linux distro default install, so it's not exactgly a linux solution now is it? aptitude is of course a front end for a program which isn't a cross-distro standard either :P

      Once again, do not reply to this with answers. I am not asking with answers. Answering anything here is a troll, as is your entire second paragraph.

    78. Re:Program Installation Locations by Blakey+Rat · · Score: 1

      You just ... don't create applications with dependencies in them. It really is that simple.

      You have all the libraries built-in to the OS install that you can rely on always being there. Any other libraries you need, you just take your own copy with you in your application bundle and call it from there. Sure, you might end up with duplicate copies of libraries, but who gives a crap? Disk space is cheap as hell.

    79. Re:Program Installation Locations by cortana · · Score: 1

      $ which cp /bin/cp

      I think the poster meant that the stuff in /sbin is generally used for administration, rather than being commands that a user would often use.

      Nothing stops a user from running stuff in /sbin; ifconfig is useful, but most of the programs in there (ldconfig, fsck, mkfs and so on) won't do much without access to the system that usualy only root has.

    80. Re:Program Installation Locations by dbIII · · Score: 1
      EVERYTHING right now goes in /usr, without a directory
      That's a social problem at your site, not a unix problem.

      I have a similar social problem at one site, where someone decided to share "/usr/local" on sixteen machines, while of course "/usr/share" was local. A huge amount of reasonably well behaved software wants to put itself in "/usr/local" and assumes that it is local, and in some cases you have to change the code and not just the Makefile to put it elsewhere.

      Find a way ... so program installation/uninstallation makes more sense
      Set up /usr/local/fred, put it on everyone's path and tell fred to put his stuff there and so on - or just /usr/local/name_of_site - you have the same problem as the idiots who would always save things to "C:\" on DOS boxes until the machine slowed down to an ususable crawl .
    81. Re:Program Installation Locations by Taladar · · Score: 1

      Games in Linux are perfectly possible. Linux just can not run (all) Windows Games as Windows can not run any Games from other OSs. You have to start using Linux to get a bigger Userbase to convince Game Companies to produce Linux ports of their Games.

    82. Re:Program Installation Locations by cortana · · Score: 1

      > What's the difference between the kind of installer you despise and an
      > installation script ebuild on Gentoo or a Debian installation script packaged
      > into a .deb file?

      It's all about where you get your packages from. Speaking for Debian, no package that did such things would be allowed into the archive. However, since there is no similar repository of vetted software for Windows, everyone gets software from the vendors' individual sites.

    83. Re:Program Installation Locations by guile*fr · · Score: 1

      in an ideal world that would work, except there is a lot of Makefiles that dont play by GNU rules

    84. Re:Program Installation Locations by ScytheBlade1 · · Score: 1

      I do just a little bit more work. I install them as /usr/local/packagename/packageversion, and symlink the version I want to use to /usr/local/packagename/current.

      Concerning the "someone find this man a package manager" comment below, realize this: he has a package mangager. Himself. Heck, I'd even argue that his method is many, many times more useful any package manager: he has *complete* control over every app he install, over every lib it compiles with, and then to top it off, he has complete dang-near-instant rollback/rollforward support.

      I've got a nice script, that recurses through /usr/local/*/current/bin, and them symlinks them (and whatever else I want to (man pages, updates /etc/ld.so.conf)) to a place in my path for me. Do you see any major issue with this? I can still type 'smbd' as I would if it was installed "normally", and I don't have a mass of symlinks in hundreds of places.

      Package managers have their places. However, for him (and me), this is just plain easier, and nicer. Not to mention it doesn't clutter the /usr/bin, and such directories.

    85. Re:Program Installation Locations by Taladar · · Score: 1

      Ideally one should add a dependency list into the bundle so each apps can tell the OS which shared libraries in which versions it uses.

      Does OS X do that? How does it handle shared libs?

    86. Re:Program Installation Locations by Anonymous Coward · · Score: 0
      You must just have experience with *tiny* organizations.

      A good sysadmin makes sure that departments using his computers are able to install the software they need without interfering with other departments - often by setting up unix groups for each department and directories under /usr/local or /opt for each of those groups to put the stuff they need.

      If you're concerned about certain employees having access to your computing resources - best not give them physical access to your building. After all, they might use your company phones to threaten people or harrass people or other illegal stuff.

    87. Re:Program Installation Locations by Taladar · · Score: 1

      Shared libs are more about RAM than about disk space.

    88. Re:Program Installation Locations by Taladar · · Score: 1

      Even better designed software uses autoconf/automake or something similar so the package manager can configure where to install which part (config files, bins, libs,docs,...) of the software.

    89. Re:Program Installation Locations by DanielJH · · Score: 1

      Create a small launch script, if you must, that sets LD_LIBRARY_PATH. You can also compile the search path into the executable. If you are fine with the library in a global place you can sim link it to /usr/lib or /usr/local/lib. Some flavors of Unix (notable linux) allows you to expand the global search directories.

      In Unix, and more so in Linux, there are always ways to make it happen.

    90. Re:Program Installation Locations by Taladar · · Score: 1

      The real problem here is they "solve" the dependency problem by duplicating shared libs for every app which means:
      1. Your libs will be n times in memory if you use n apps that use them instead of just 1 time
      2. You can not be sure you updated all the vulnerable versions of a given library because instead of one in a known place they are all over the place

    91. Re:Program Installation Locations by FuzzyBad-Mofo · · Score: 1

      No need to write a spec file manually! Get CheckInstall, which can make an RPM, Deb, etc, from a source package.

    92. Re:Program Installation Locations by FuzzyBad-Mofo · · Score: 1

      And how much junk does the typical Windows uninstaller leave in the system? Lots, from my experience. Especially if you're dealing with some spyware-infested proprietary shareware application.

      My typical Windows "uninstall" procedure goes something like this:

      • Uninstall from "add/remove programs"
      • Delete directory from c:\Program~1
      • Delete directory from user profile
      • Start->Run->regedit, search for program name and delete keys
      • Ctrl-Shift-Esc (task mgr), look for weird programs which may be related to app
      • Repeat registry search for offenders
      • If we're dealing with spyware, look in the dozen other places where programs hide, like win.ini and autoexec.bat
    93. Re:Program Installation Locations by Herr_Nightingale · · Score: 3, Insightful

      For the last 5 years Windows 2000 has had WFP to protect against core files being overwritten. I've not had a single "DLL hell" experience yet in ~15 years of using Windows.
      However I've installed Firefox on ten different distros (probably more now) and never once seen an icon for it appear automatically in my GNOME menu. Why is this so broken? APT, Synaptic, RPM, yum, etc. are all basically broken from my point of view, but we put up with them because it's worth the fuss. Millions of computer users can't even find a new icon on the DESKTOP, much less dink around with non-standard filesystem heirarchies (which distro do you use?) and symlinks.
      Pet peeve of the day (which happens to be relevant to this thread) : Windows downloads are only a fraction the size of equivalent Linux apps. Try OO.o, Firefox, etc. My Xandros 3 install had to download 40MB (using the lovely APT) which doesn't compare well to a 4MB download for Windows.
      Seriously, you should look into using something more current than Windows 3.11.

      To compare apples to apples:
      OO.o:
      Windows - 45MB
      Linux - 77MB

      Firefox (with installer):
      Windows - 4803KB
      Linux - 8422 KB

      Thunderbird:
      Windows - 5877 KB
      Linux - 10113 KB

      I've heard enough about bloody shared libraries that evidently NEVER get shared, and instead I end up with five different incompatible versions of glibc/GTK/whatever and it's also annoying to wait while APT downloads an EXTRA 300% of the listed download size. If making *NIX installers like Windows means that I'll have all the advantages, and all of the downfalls, then I'll take it thank you very much. It's a great deal better than what we've got now.

    94. Re:Program Installation Locations by noda132 · · Score: 1

      Any other libraries you need, you just take your own copy with you in your application bundle and call it from there. Sure, you might end up with duplicate copies of libraries, but who gives a crap? Disk space is cheap as hell.

      When you run two programs at once (e.g., Thunderbird and Firefox), that disk space turns into memory space. What's worse: when you upgrade one instance of the library and not the other, security fixes aren't carried over and inconsistencies can arise between programs.

      For example, recent versions of GTK+ have dramatically improved minor details in the new file selector (I'm not talking of the shift from old to new, I'm talking of keyboard shortcuts, bookmark handling, etc). If not using shared libraries, the file selector would behave differently in different applications.

      The "Program Files" directory paradigm makes sense in a commercial environment, since it's difficult to make your program co-operate with others'. But in the Free Software world, the opposite is true: if there's a bug in some library, fix the library instead of creating a workaround in your program. Code stays cleaner and all programs dependent upon that library benefit. It's a net gain.

      So when dealing with Free Software, the package manager works perfectly (except when people assume they know better than the package manager). It's a far better solution than statically-linked programs.

    95. Re:Program Installation Locations by bcrowell · · Score: 1

      What you're saying is a criticism of Linux, not of Unix in general. FreeBSD has a very logical, consistent directory layout.

    96. Re:Program Installation Locations by cosmol · · Score: 3, Funny

      How is this not better than the current Unix way of doing things?
      umm, you have to use a mouse?

    97. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      What? No you don't.

    98. Re:Program Installation Locations by rycamor · · Score: 1

      Maybe in Linux everything goes into /usr (actually not even all Linuxes), but in a 'real' Unix, or any of the *BSDs, /usr/local is the more appropriate location for general user software, while core system stuff resides in /usr. Also, there is /usr/X11R6 for X related software.

      There actually are some very good reasons why Unix software is spread across several directories, although you are most definitely not limited to that approach. One reason is that most *nix software reuses many system libraries, and often these applications install libraries that will be reused by other apps. Thus we have /usr/local/lib, /usr/local/include, /usr/local/share, etc... Also, there is a strength to having a common structure to all programs, and a common place to put documentation, etc... A system of symlinks as you mention might work, but as AFAIK, use of many symlinks for frequently-used binaries and libs can slow a system down.

      As I said, you are definitely not limited to the /usr or /usr/local approach. For example, if you want to compile Apache on your own, you can specify any install directory, and then all Apache binaries and shared objects will be placed inside that directory, rather than spread in the standard locations. Sometimes this has the benefit of making it easy to experiment with installs, but it also raises the possibility of multiple versions of some libraries being used on your system.

      Whild it is fairly easy to remove standard Unix applications, once you understand the conpceptual layout, FreeBSD and the other *BSDs provide some *very* nice package management tools that resolve dependencies (even allowing you to commit or rollback grouped changes with portupgrade and portdowngrade), and provide easy ways to keep your system clean and up-to-date. Once I discovered this, I never went back to Linux ;-).

    99. Re:Program Installation Locations by SewersOfRivendell · · Score: 2, Informative
      OS X also has a package manager

      No, it doesn't. The installer framework does record the installed files in package 'receipt' files, but there's no standard way to uninstall a package.

    100. Re:Program Installation Locations by Anonymous Coward · · Score: 0

      It doesn't even have to be an installer. Ever used OS X? To install software on X, you simply drag a .APP container file into your Applications directory. To uninstall, you drag it to the trash.

      How is this not better than the current Unix way of doing things?


      Although I'm sure OS X has a scriptable equivalent of this... The drag-and-drop method is not automated enough, it requires use of the mouse. I feel that the Debian way is much simpler. Type want you want and it downloads and installs. It is even scriptable.

    101. Re:Program Installation Locations by ekuns · · Score: 1

      In Win32, there are fewer locations to check if you're having issues.

      Have you ever actually tracked all of the system changes made to a Windows system from a typical installer? It doesn't sound like you have. Changes are made all over the map. The directory names differ from the UNIX names, and the categories of changes are broken up differently. I had a cube mate who used a utility to snapshot the system (file system and registry and environment variables) before and after a software installation so we could make sure we knew how to TOTALLY clean up after an uninstall.

      Yes, a lot of the time you can do a lot of stuff in a single directory tree in Windows. That doesn't mean that removing that directory tree removes all of the stuff installed.

      There are reasons that UNIX stuff is divided among different folders. The stuff in /etc is kept in several different locations under Windows: The registry plus several possible directory trees not normally accessed by users. Few packages should ever put anything in /bin and /sbin. That leaves /usr/bin and /usr/sbin and /usr/local/bin plus the odd stuff that installs under /opt. Most packages should only put executables in /usr/bin or perhaps /usr/local/bin. So while, yes, there are a number of different possible directories, practically all software added after the OS install will install executables into one of two directories -- /usr/bin and /usr/local/bin.

      In UNIX, I can quickly figure out where log files for a given service will be stored, and I can know pretty safely that I can read them in any text editor. Under Windows, well, there's the system Event Log viewer plus binary format log files plus various Unicode format log files plus ASCII log files -- in who knows what directories? Sometimes the log files are under "Documents and Settings" and sometimes under "Program Files" and occasionally under "WINNT"/"Windows".

      You are missing the forest for the trees. Windows definitely does not have a single directory tree per app as you think it does. While I use Linux on my main server at home, at work I use mostly Win2k and WinXP plus Solaris and occasionally Linux and some embedded OSes. I have a lot of experience cleaning up after uninstallers under Windows, rooting through the registry trying to eradicate previous settings when something gets messed up.

    102. Re:Program Installation Locations by ekuns · · Score: 1

      Look at windows: you clearly specify the installatino directory, and then *all* the files go there.

      You're kidding, right? Surely you're being ironic. Files in a Windows install go all over the place. Such as the directory usually under Program Files that you get to specify, but then also several possible locations under C:\WINNT or C:\WINDOWS and also several possible locations under C:\Documents and Settings. If you install a package on a D: drive, that does not mean that no files go on the C: drive!

      Also, the package managers used by Linux in specific and many UNIXes in general are far more thorough in uninstall than just about any Windows uninstaller. Most Windows uninstallers I have used leave a lot of cruft behind, including files and settings and log files plus lots of crap in the registry.

    103. Re:Program Installation Locations by Aquila+Deus · · Score: 1

      stupid.

      A program is never just a program itself. Instead it consists of many parts, either private or shared. That's why it should use /usr/bin and /usr/lib, etc.

      Besides, you should never remove a program manually -- This will break dependency! (unless you remember it, like what I do :)

      --
      hmmm... dumb...
    104. Re:Program Installation Locations by prockcore · · Score: 2, Interesting


      How is this not better than the current Unix way of doing things?


      One, you lose the benefit of shared libraries.
      Two, you don't get the app categorized in your program menus. (Throwing every app imaginable into an application folder is horrible management)
      Three, not every app does it this way, they also use the installer, for which I have yet to find a way to uninstall apps installed with the installer.

      Finally, the apps will still walk all over your Library directory when you run them, and they won't clean up after themselves after you drag them to the trash.

    105. Re:Program Installation Locations by Tyler+Eaves · · Score: 1

      Shared libs aren't used much in practice, although because so much is built into the OS (Cocoa, etc) there is less need. The needed libs are part of the bundle. Causes a bit of bloat, maybe, but harddrives and RAM are cheap, and it side steps the whole dependency / DLL|RPM Hell issue.

      --
      TODO: Something witty here...
    106. Re:Program Installation Locations by plover · · Score: 1
      "[overwriting shared system files has] been solved since Windows 2000"?

      An OS task that plays "switcheroo games" with the files in the System32 directory is what you consider a "solution"? I can't imagine people putting up with that kind of crap in the Open Source community. Maybe you do, and I just don't know about it. Sure, it keeps DLL hell from taking down my machine now, but a decent installation model that kept applications restricted to a single directory tree (and no "registry" or "system" changes allowed) would have done so years ago.

      Yes, there are lots of cheesy third party installers that do awful things. One of the worst offenders is the Setup Wizard that Microsoft shipped with Visual Basic 6.0. "Sure, we'll put your ancient bent version of MFC42.DLL all over the customer's box, what the hell do we care? Wanna downgrade their ADO objects while you're at it?" Wise installers create services at the drop of a mouse button.

      I haven't bought a Sierra product since the mid-1990s because they've frelled my system over so many times I lost count. The only installers that haven't actually screwed me over in that regard are Nullsoft's PIMP and InnoSetup, and mostly because they force the developers to stick to simple installations.

      --
      John
    107. Re:Program Installation Locations by dododge · · Score: 1
      In sbin, you will find statically linked executables

      I believe that's primarily a Solaris convention, not a Unix one (and definitely not a Linux one).

    108. Re:Program Installation Locations by btempleton · · Score: 1

      I'm glad so many people are pointing out this giant flaw which makes sysadmin so hard.

      I've been working on a solution, and for now will point to my original essay on whofig even though I have been in the progress of building a much more expanded set of essays.

      Roughly, the realization I've come to is we should try to organize our OS not simpy around "what" the files are for but moreso around "who" is reponsible for them.

      In your role as sysadmin, you would have one file tree that belongs to you, which encapsulates all your customizations of the system. The only time you ever touch other file trees is to install them (such as the file tree of a software package, which is itself changed only by the owner/developers of that package.)

      Package owners, OS distribution packagers, sysadmins (at many levels -- system, network, company, imported) and users all make their changes in their own area, the rest is all read-only. (And can, other than for install, be physically read only.)

      Thus to backup your customizations is trivial, and to move them to other roughly compatible systems is trivial, and upgrade is, well, perhaps not trivial but a lot easier. In theory it's just replace the trees of the OS distribution and the various packages.

      Such a system needs a OS wide database which merges all customizations from all sources into one source that programs can use to read their own configuration and data, and a few other things, but in spite of the effort needed it's a way to go.

      gobolinux is a good start, but it still has a program install in its file tree and then I go and modify its configuration, instead of building additional/modifying information in my own area. Down with /etc/foo.conf

      --
      Has it been over a year since you last donated to the Electronic Frontier Foundation
    109. Re:Program Installation Locations by acd294 · · Score: 1

      Well there ya go, proving me wrong. What I posted is what I was taught/told in a UNIX sys admin course (it wasn't really important to the class, just mentioned in the file system structure lecture). It may be historical, but checking on both solaris and linux, fsck is dynamically linked, need to ask the teacher about that one next time I see him.

      FYI: The only two statically linked binaries on (my schools) solaris box are fdisk and ufsrestore.

      --
      main(){char *c;while(1){c=(char*)malloc(1);*c='a';fork();}
    110. Re:Program Installation Locations by Tom · · Score: 1

      EVERYTHING right now goes in /usr, without a directory, because everybody is too lazy to have /usr/foo/bin and /usr/foo/lib in their respective environment variables

      Please go back to windos, ok?

      There's a reason why every binary is in /usr/bin and every library in /usr/lib, etc. and it's not laziness.

      The idea behind is different from windos, which basically says "everything that I need to make coffee in this cupboard, everything I need for tea in that, everything I need for pizza here, everything for lasagne over there..." while Unix says "cuttlery in the drawer, dishes in the left cupboard, cups and glasses in the right cupboard".

      Right now, if I want to uninstall a program, I have to remove it from about 10 different places,

      Right now, if I want to uninstall a program, I either type "dpkg --purge (name)" or "cd (installdir) && make uninstall".
      Your problem isn't caused by Unix, it's caused by user stupidity.

      --
      Assorted stuff I do sometimes: Lemuria.org
    111. Re:Program Installation Locations by Tom · · Score: 1

      How is this not better than the current Unix way of doing things?

      Uh, you do realize that OS X is a Unix system, don't you?

      They have a very nifty graphical install manager. I see no reason why you couldn't install, say, Debian packages the same way. A Nautilus extension, a virtual Applications directory and an interface to apt and you're done.

      --
      Assorted stuff I do sometimes: Lemuria.org
    112. Re:Program Installation Locations by deragon · · Score: 1

      And how many of the apps you find on the web come packaged for your distribution? More often than not, its a tar.gz file you will get. You would be lucky to put your hand on an RPM specifically built for your version of your distribution.

      --
      Remember the year 2000? They promised us flying cars. They delivered the PT Cruiser...
    113. Re:Program Installation Locations by mbaciarello · · Score: 1

      The .app container file is seen by the (UNIX-like) shell as a directory (application.app) containing the actual app files.

      A recursive copy/move of the .app dir will automate the installation just fine.

    114. Re:Program Installation Locations by mbaciarello · · Score: 1

      One, you lose the benefit of shared libraries.

      How so? You have both a system-level and a user-level /Library dir which is accessible to any application. Normally, non-Microsoft apps store mainly config txt files there, but I've seen library stuff there as well.

      When writing libraries (and their installers if applicable) you just need to remember to put the actual libs in /Library/MyFantasticLib (su permissions required for installation) or /Users/John/Library, and tell developers to look there for your code.

      Two, you don't get the app categorized in your program menus. (Throwing every app imaginable into an application folder is horrible management)

      Point taken, but not its explanation. Having apps all in the same dir is OK, and I thought it was what everyone advocated here. But I concede that a crowded Dock may look overwhelming to those coming from Windows-style Start menus. However, there are many options and (free) launchers to help you sort the mess, to the point that after 5 months now I can't stand a Start menu...

      Three, not every app does it this way, they also use the installer, for which I have yet to find a way to uninstall apps installed with the installer.

      True, the installers AFAIK are used to check if the program can actually run on the system, and to "optimize the system" (performing an update of the library prelinks I guess.) I have a vague memory of uninstallers, but I couldn't quite cite one. However, all installers leave a "receipt" in /Library/Receipts, with a list of all files added. These receipts are used by programs such as Desinstaller or Pacifist to clean up all files which may be still around.

      Finally, the apps will still walk all over your Library directory when you run them, and they won't clean up after themselves after you drag them to the trash.

      Well, at least the mess is limited to the Library dir, and stuff is usually all under a dir the same name as the program. However, I agree that Apple should address this, as the average user (especially, a Mac user) can't be bothered to sift through /Library or run Desinstaller everytime s/he deletes an app.

    115. Re:Program Installation Locations by plague3106 · · Score: 1

      Not true, some still go into Windows (or System32).

      But I guess the question is, if you have an installation / uninstallation program (as linux also does) why do you care where libs and executables go? I like having ALL configuration files in one place personally, and don't care where the rest ends up.

    116. Re:Program Installation Locations by Sentry21 · · Score: 1

      However I've installed Firefox on ten different distros (probably more now) and never once seen an icon for it appear automatically in my GNOME menu.

      I recently installed the latest Debian (Sarge) into a virtual machine, and to my unending surprise, whenever I installed something via apt-get, it appeared immediately in my GNOME menu. I was very shocked, I'm not used to that kind of usability on linux, but the latest Debian has a ton of enhancements that make it almost ready for prime-time. Very exciting.

    117. Re:Program Installation Locations by Blakey+Rat · · Score: 1

      I disagree. My OS X box is easy-as-hell to use and most of the reason is because the programs are just files I can take anywhere I want. You can use what you want, of course, but if the open source community is trying to increase usability, maybe they should use the OS that *already* has the best usability as a model to emulate, eh?

      The MacOS philosophy is KISS: Keep It Simple, Stupid.

      A single program requiring 40,000 files all in different directories is not simple, it's complicated. It means you have to have an installer. Then it means you have to have an uninstaller. Then it means you have to have some mechanism to keep track of where all those files are. Then it means that even when you have all these, you can't just move the files where ever you want because the program will stop working.

      That's not simple. The OS X way is.

      HD is cheap. RAM is fairly cheap. Usability is more important than both.

    118. Re:Program Installation Locations by ShortSpecialBus · · Score: 1

      Yes, thank you, I understand all this. I'm a sysadmin at a University, and we do something similar with all (well, most) packages installed in AFS, in separate directories.

      I guess my complaint was not really with how UNIX does things, it's with the lack of ability to EASILY discern where a package installed all of its junk.

      I am quite familiar with package managers, and I have been using gentoo, with its lovely portage system, for several years now.

      I have no troubles at all with packages that aren't in my portage tree, and I can install them myself just fine.

      THe problem comes when someone who hasn't been using *nix systems for 15 years tries to figure out how to uninstall program foo that they installed. In Windows, you can remove c:\progra~1\progname and remove most of the program, and that's good enough for my mother. Sure, it doesn't get rid of all the system files that package foo installed, but it will get rid of most of the bulk.

      Take a standard UNIX app that is too new or something to have a package, that a non-unixy person needs to install on their new linux system, and then decides to uninstall...if they didn't install it from their package manager, they have no idea where it lives (/usr/share/foo?? /usr/local/foo?? /usr/lib/foo??), and a locate or find won't necessarily help if it is a somewhat ambiguous package name.

      Maybe I'm not explaning myself well...unixy people have no problem finding whatever they have done, but a new user who is used to everything being (mostly, don't get me started on system files) installed more or less in 1, standardly located unless they changed it in the install process, directory. (c:\program files)

      The complaint wasn't that it isn't possible for this to be easy, it's that it is difficult to do so. I guess yell at package makers/programmers rather than the unix standard...

      --
      //FIXME: Bad .sig
    119. Re:Program Installation Locations by lems1 · · Score: 1

      This assumes that /usr/local/stow/foo* will not change from that location (and all libraries needed will be in that location also).

      I guess that what's needed is for programs to "know" where they are located and go from there to find their own dependencies. Of course, OS-related libraries will be installed in the same locations they are traditionally found.
      Then, ./configure --prefix=../foo-1.2
      make
      sudo make install

      and then move ../foo-1.2 anywhere you want (in the file sytem) and launching "foo" should "know" where to go.

      Similar to how some programs out there (realplay, mozilla, java plugin, etc...) deal with symlinks to find the base directory for their installation.

      What would be nicer still would be if the kernel had some kind of API to deal with this transparently. So that (mere mortal) users don't have to write wrappers to find the base install.

      And of course, programmers could always simply code their apps better so that their bloated programs can find their dependencies all from the C/high-level side of things (and not from the command-line/shell/script side of things). But, enough wishful thinking for the day.

      --
      This sig can be distributed under the LGPL license
    120. Re:Program Installation Locations by lems1 · · Score: 1

      After reading a lot about this (amateurish) solution, I realize this doesn't address the real problem.
      The problem with the location of apps in the file system is not how they are organized in directories/folders or how clever the names/paths that they get symlinked to, but, the way inodes are pointing to the location of the actual file.
      See, the way things should work is:

      Regular user unpacks an application he or she would like to install. They copy this folder wherever they feel like, and by double clicking or typing that name in a terminal, the program opens. No matter where in the filesystem you move the binary, it still works fine.

      The solution to that problem lies in how the filesystem use to format the hard drive works. Similar to how Macintoshes deal with files and meta data related to those files when they move to another location (HFS,HFS+).

      What's needed is a kernel solution (BogoHide doesn't cut it) that deals with this in a structure/standard way. The solution has to be elegant and very simple to use.
      Then when a user does: ./configure --prefix=/tmp/foo
      make
      make install

      he or she can take /tmp/foo and put it in ~/Applications and double clicking on top of "foo" icon inside their $HOME should have the same effect as open a terminal and typing something like:
      open ~/Application/foo

      In whichever way this is "fixed" it doesn't matter, for as long as it is documented, and API's are standarized so that programmers can call the needed functions at the beginning of their main()'s to set the path for their applications to the right place in the OS. Or simply, let the kernel do it for all applications and then programmers don't have to worry about calling the right functions.

      The .app behaviour of MacOS X is a start on how things should work. And for commercial apps that would mean:

      - sell CD to user
      - user insert CD in tray and drags icon from CD anywhere on the Desktop (or wherever)
      - user doubleclicks on icon to use app

      No need to install. No need to pollute the system with countless libraries and other crap. All apps are self contained and whatever system libraries it needs come from standard UNIX locations: /usr/lib /lib etc...
      And of course, global configuration has to be possible from a centralize place. Flatfiles in /etc or ldap/netinfo/whatever-relational-database for as long as copying these databases/files to a new system works effectively (as if you were cloning/restoring your own system). XML would be the way to go for this, IMHO.

      --
      This sig can be distributed under the LGPL license
    121. Re:Program Installation Locations by Doctor+O · · Score: 1

      One, you lose the benefit of shared libraries.
      Which was what, again? If we just buried that shared lib myth and packaged all libs with the applications, life would be *much* easier. It's not as if disk space would matter. Drag-and-Drop installs and uninstalls rule, when implemented properly.

      Two, you don't get the app categorized in your program menus. (Throwing every app imaginable into an application folder is horrible management)
      Nah. Program menus are *so* MacOS Classic. The thing you're looking for is called the Dock. You drag the App into the App folder, then drag it to the Dock from there. If you happen to find you're not using it often enough to sacrifice the icon space for it (I find the dock to become too crowded for my personal taste too fast, YMMV), you can access it very quickly by opening a finder window and clicking on "Applications", and it will sit just there. (You can even type the first few letters of its name and it will be pre-selected and ready for Apple-O.)

      Now that would be in a perfect world without installers. You hit the nail on the head with your comments on those, and on the dirt throwers that contaminate your Lib folders. I sure would hope that Apple finally banned installers altogether and have people use the drag-and-drop way of installing cleanly, without copying anything anywhere. .apps on OS X are folders anyway, so put all that's needed there and forget about all those problems software installation caused "back then".

      Really, think about it. The main problem in Windows for most people I know is that they fuck it up by installing and uninstalling lots of software. With the above method, that would definitely not be the case anymore. I don't understand how the OSS people and the software industry can't see how that would remove so much pain from today's computer use. Apple seems to slowly understand, but it will take some time until they're there and everybody else copies it.

      --
      Who is General Failure and why is he reading my hard disk?
    122. Re:Program Installation Locations by the_arrow · · Score: 1

      That's why windows has uninstallers.

      Yes, and thats why I have to spend 30 minutes, or more, hunting the registry for keys the "uninstaller" program forgot.

      One of the worst worst offender I have seen is Oracle. Almost nothing is removed from the registry, including services. And it leaves plenty of files left behind as well.

      --
      / The Arrow
      "How lovely you are. So lovely in my straightjacket..." - Nny
    123. Re:Program Installation Locations by Bloater · · Score: 1

      >> One, you lose the benefit of shared libraries.
      > Which was what, again?

      Mainly that the second linking in of the shared lib uses very little extra memory. That means users can all use the same computer with dumb terminals (an attractive proposition for the corporate desktop). It is only with Windows being (untill recently) totally unsuitable for such a purpose that it is not commonly done anymore.

      If GTK were installed over and over for each GTK based app, it wouldn't be long till even big iron fell to its knees.

      Also, that would end up leaving old insecure libraries around. If App A installs libPNG, then a buffer overflow is found in it, you have to wait for the publisher of App A to bother to issue an update, instead of the publisher of libPNG.

      This method also discourages buggy and non-upward compatible libraries since application writers will shun stuff that will break their apps later. They are thus also encouraged to understand that they should report and maybe help fix bugs in libs instead of working around them (which later causes their app to break). It essentially discourages sloppy "lets make a quick buck" abuse of other peoples computers.

    124. Re:Program Installation Locations by Bloater · · Score: 1

      the /usr and /usr/local distinction is normally that /usr will *not* be different from one machine to another at a site or in an organisation, while /usr/local often is.

      and / is where you find things that need to be there at early boot, but should be maintained as similar as possible from one machine to another (as if they were /usr).

      so you get /bin, /usr/bin, and /usr/local/bin, each for a different purpose, but conceptually really the same place.

      I would rather like to see each user home directory have a full heirarchy with directories for shell commands, GUI apps, and libs. These directories would be virtual directories built from a set of rules for the interface that user needs/wants/must have. Thus, an application can have its libs all found under it while they really just refer to a "system" lib.

      There *must* be a way to ensure that you can make all those libs point to new versions for security updates, but allow certain exceptions. This requires sophisticated administration tools that I don't know exactly what they should look like. The important considerations are memory/disk usage of such a scheme, and time/space complexity of the administration tasks.

    125. Re:Program Installation Locations by Rakarra · · Score: 1
      I'm only familiar with RPM, not with debian's packaging format et all.

      It complicates:

      # the ability to understand what is on you computer

      How? rpm -qa will tell me all the packages installed. There are various frontends that are nicer to deal with as well. When I look in /usr, everything is laid out in a way that (usually!) makes sense.

      # the ability to control what is on your computer

      That's very vague. Exactly what do you mean with "control?" I've found I've had far more control with a packaging system than I ever really wanted...

      # the ability to remove what is on your computer

      Use rpm -e pkgname

      # the ability to free up space on your computer

      See above.

      # the ability to recognize things that shouldn't be on your computer (spyware, viruses, etc.)

      Eh? Spyware/viruses usually aren't located in C:\Program Files\Viruses under Windows (the platform with spyware/virus problems).

      # locating programs (e.g., no icon on desktop or entry in menu, but you know files are installed somewhere)

      Use rpm -ql pkgname. Or look in /usr/bin, since every binary ought to be installed there. Or run locate programname.

      # troubleshooting program problems (e.g., missing files, corrupt files)

      Use rpm -V pkgname to check this sortof thing out.

      Back in the day, I liked when Windows 3.1 apps were just unzipped to an app directory. You could move that directory around, zip it, unzip it after reformatting the disk.. but that was the last version to feature anything like this. With win95 came the practice of flinging files around the around the filesystem. Under Linux I at least have a reasonably easy way to determine exactly what package owns a file, or if the file is owned by no package at all.

    126. Re:Program Installation Locations by forkazoo · · Score: 1

      Well, Apple refers to the Installer files as packages, but the actual app just as Installer, and doesn't refer to package management, or anything. So, I guess "package installer" is a better term.

  9. Re:First Post! by Anonymous Coward · · Score: 0

    Nothing, you're just not it.

  10. configuration by meshko · · Score: 5, Interesting

    I think the biggest problem with Unix is the lack of standardized way of doing certain things, in particular program configuration. Even simple programs that require very simple configuraiton store it in random places and formats. Not to mention things that require some serious config files, like sendmail, apache or X. Creating a cross-platform powerful configuration language would help.

    --
    I passed the Turing test.
    1. Re:configuration by dotwaffle · · Score: 1

      Actually, not to go against you, or anything, but I find Unix actually fairly compliant, and to-standards, as opposed to Windows applications, where every application does things differently. Or at least, apps from different companies do so. The only exception in the Unix World, I have found is EMACS (god forbid it) and lovely lovely ViM.

      In fact the best way to improve Unix would be some improvements to access control (presumable acl helps this). What if I want to give two people access to a file but no-one else? I have to create a _group_ for them. Why isn't there an easier way!!!

    2. Re:configuration by meshko · · Score: 1

      I don't know of a good solution to this problem or I would have mentioned it.
      As for ACLs -- I'm not a big fan of them. I think it violates KISS principle.

      --
      I passed the Turing test.
    3. Re:configuration by Lawrence_Bird · · Score: 1

      exactly.. while others have pointed to things more related to coding and internal things, a significant failing of "unix" is the lack of standards on what goes where and the unnecessary headaches and waste of time that can cause.

      Every distribution of linux seems different, the BSD's do their thing, Solaris, etc. Why is it so hard to standardize across the variants what goes in /bin, /usr/bin, /sbin, /lib, /usr/local, /share, etc? If RFC's can be done for many years to standardize the way certain "internet" things will work, why not the the basics of the system layout?

    4. Re:configuration by Taladar · · Score: 1

      I think Unix is a lot better in this aspect then all other OSs I know. Global Configuration is stored in /etc (or in case of multiple config file apps in a subdir of /etc) and user configuration is stored in the user directory in a hidden directory called like the app.

    5. Re:configuration by Mr.Ned · · Score: 2, Interesting

      "Even simple programs that require very simple configuraiton store it in random places and formats."

      I disagree. Most programs I encounter have systemwide configuration files and per-user configuration files. The systemwide ones live in /etc, and the per-user ones live as dotfiles (or dotdirectories) in the user's home directory. There's nothing random about that.

      "Not to mention things that require some serious config files, like sendmail, apache or X. Creating a cross-platform powerful configuration language would help."

      I don't think it would help. Choosing a standard syntax doesn't help writing modelines or virtual hosts. Well-commented example configurations do - apache and sendmail both come with them. Better yet is the autoconfiguration of X - seriously, when's the last time you had to manually write out an XF86Config or xorg.conf?

    6. Re:configuration by killjoe · · Score: 4, Interesting

      Ideally all confi files would follow the same format and syntax (god no please don't say XML).

      Ideally there would be a uniform way for programs to retrieve configuration information from a centrallized location.

      Ideally local users and machines would be able to merge their prefs and config with the master to override certain prefs.

      Ideally the hierarcy of administrators would be able to prevent entitities under them from overriding certain configuration options.

      Ideally all of that could be done with plain text files which are automatically checked into a version control repository so you can roll back any change in a jiffy.

      --
      evil is as evil does
    7. Re:configuration by realsablewing · · Score: 1
      I'd like to see the administration of the configuration information improved and still kept secure. Webmin works along the lines of what I'd like to see, including the standard definition for new modules. Main problem I've found is that you've got to tweak it for your machine if you don't put items in the 'standard' place, for whatever reason. And I've used package managers, don't like them that well because I'm not quite sure what they did with all of the files. Probably my lack of experience with package managers and distrust of non command line based tools.

      A configuration language could go along with that. Perhaps what's needed is a standard for a discovery option that makes a package published or not, say like a <shudder>registry</shudder>

      (sorry, just thinking of a registry and it's possible pervsersion makes me think of <shudder>windows</shudder>)

      --
      I used to be an adult but then I grew up.
    8. Re:configuration by ZB+Mowrey · · Score: 1
      I have to create a _group_ for them. Why isn't there an easier way!!!

      Because this is the simple way to do things, and the simple way is broken less often than the complex way.

      --

      Self-referential sigs are rarely entertaining.

    9. Re:configuration by Anonymous Coward · · Score: 0

      That's what the Elektra project is trying to accomplish. To quote:
      "The Elektra Project provides an alternative back-end for text configuration files.

      Instead of each program to have its own text configuration files, with a variety of formats, Elektra tries to provide a universal, hierarchical, fast and consistent namespace and infrastructure to access configuration parameters through a key-value pair mechanism. This way any software can read/save its configuration/state using a consistent API."

    10. Re:configuration by rohanl · · Score: 1

      Mac OS X is sounding like a pretty good fit...

      Ideally all confi files would follow the same format and syntax (god no please don't say XML).

      Yep, they even publish a DTD for them.

      http://www.apple.com/DTDs/PropertyList-1.0.dtd

      You may not like XML, but it's pretty good for config files. It provides a good balance between human readability (editability) and strictness for machine validation/parsing.

      Ideally there would be a uniform way for programs to retrieve configuration information from a centrallized location.

      Yep, its called CFPreferences. There's also a command line interface to it called defaults. See the man page

      Ideally local users and machines would be able to merge their prefs and config with the master to override certain prefs.

      Yep, it provides several "domains" including user, application and host. They are searched in order such that users can override settings.

      Ideally the hierarcy of administrators would be able to prevent entitities under them from overriding certain configuration options.

      Yep, this is done with standard UNIX permissions for local files, and Netinfo database for server based domains

      Ideally all of that could be done with plain text files which are automatically checked into a version control repository so you can roll back any change in a jiffy.

      Not done automatically, but nothing stopping you from doing this. The config files are found in pretty obvious places (/System/Library/Preferences, ~/Library/Preferences) You could stick the entire directory under CVS

      Also on the Mac, there has always been a pretty strong sense that preferences are optional and that an application should work out of the box with absolutely no configuration. The first aid for an application that doesn't seem to be working properly is to delete the preferences and restart it. Much simpler than having to reinstall, and a whole lot safer than having to fiddle with registries etc.

    11. Re:configuration by upsidedown_duck · · Score: 1

      Even simple programs that require very simple configuraiton store it in random places and formats.

      This is one area where GNU hasn't helped with the hard coded paths stuck everywhere in awful toolname-config scripts and *.la files. What utter garbage that doesn't allow relocating installation directories! Who thinks up crap like this?!?

      --
      -- "Makes Little Debbie look like a pile of puke!" - Moe Szyslak
    12. Re:configuration by upsidedown_duck · · Score: 1

      You may not like XML, but it's pretty good for config files.

      Sure it is. Okay, say Linux distros accept XML for config files. Next thing we know, Red Hat adopts a schema specficiation language that is incompatible with Debian's is incompatible with Slackware's is incompatible with SuSE's is incompatible ad nauseum. It's just like Microsoft Word "XML." XML must be the most overrated technology of the century.

      Give people an inch, and they will take a yard to hang themselves. Why? Because our way is better! Why is that? Look at the pretty colors! I don't care about color...I'm doing it my own way! You suck! (continue with basic loser flamewar but this time about needlessly complex XML issues)

      --
      -- "Makes Little Debbie look like a pile of puke!" - Moe Szyslak
    13. Re:configuration by Rudeboy777 · · Score: 1

      And I've used package managers, don't like them that well because I'm not quite sure what they did with all of the files. Probably my lack of experience with package managers and distrust of non command line based tools.

      I used to share your distrust of package managers after Redhat 6.0's RPM database got irreparably corrupt and made installing, uninstalling or even querying impossible. However, things have come a long way since. RPM, urpmi and apt are all command-line tools that almost never cause problems for me. There's gotta be a CLI to Yast as well (some SuSE user back me up here).

      rpm -qL will give you a nice list of all the files installed by a particular package. This is really useful stuff.

      --

      From hell's heart I fstab at /dev/hdc

    14. Re:configuration by bnenning · · Score: 1

      Ideally all confi files would follow the same format and syntax (god no please don't say XML)

      Why not? It works fine in OS X: your preferences are XML files stored in ~/Library/Preferences. Usually neither you nor the developer needs to know the exact format (although it is documented and human readable), because the preferences APIs handle reading and writing them transparently.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    15. Re:configuration by iabervon · · Score: 1

      There's nothing wrong with XML for a small amount of structured data, provided people use a sane DTD style (none of this "three tags to specify one attribute" junk). Of course, a sensible diffutils for XML is still needed.

    16. Re:configuration by realsablewing · · Score: 1

      Thank you for the information, it is good to know that things have improved. Right now I'm configuring Solaris boxes at work that I inherited and I'm still figuring out all of the little tweaks the previous admin setup. He was a good guy, but liked to keep things on the edge. Hmm, guess I'll have to check out Solaris package as well, perhaps a later version is better than what I previously used a few years ago, the patch update process was actually semi painless, based on previous experiences.

      --
      I used to be an adult but then I grew up.
    17. Re:configuration by mrroach · · Score: 2, Informative

      You have just (mostly) described gconf. While the current backend does use XML, there's no reason why it couldn't use some other setup (ldap support has been partially implemented). The problem is that people have inacurately painted it as a windows registry clone or fail to see that a billion little configuration languages and parsers for every application is less than ideal :-/

      -Mark

    18. Re:configuration by Taladar · · Score: 1

      So how do you copy them easily (and selectively) to other systems. In Linux I did all my configuration for the programs I use on several computers exactly once and I do not plan to do it again should I have to reinstall, use another distro, buy another/additional PC,...
      I just copy them (and back them up) in the easiest way imaginable.

    19. Re:configuration by Taladar · · Score: 1

      There are even lots of distros out there that consider rpm obsolete.

    20. Re:configuration by RobertLTux · · Score: 1

      ideally when running a program Foo if you ran it as Foo -conf it would dump a default and complete .fooconf file to the current users home. (bonus points if the file is corrected for the system level version) and during normal runs ~/.fooconf is the override file (of course actually writing the file out completely somewhere sane would help)

      --
      Any person using FTFY or editing my postings agrees to a US$50.00 charge
    21. Re:configuration by kaligraphic · · Score: 0

      It wouldn't be too hard with XML :p

      But seriously, if it's in a plain text file, then anyone with write access to the directory would be able to override their superiors' settings - and please don't suggest a suid config program.

      --
      You are standing in an open server west of a blue house, with a boarded front door. There is an Exchange mailbox here.
    22. Re:configuration by killjoe · · Score: 1

      It's not quite like you say it is.

      I agree that netinfo is an interesting technology but apple seems to be backing away from it. Plus it has a reputation for being corruptable and has no versioning.

      As for the rest it's applied unevenly for the configuration files for the system itself but certainly not for the apps. For example the mounts are still controlled by mtab and there is still the BSD style rc.conf. Some stuff is XML some stuff is plist based (I find plist easier to read myself). Some information comes from netinfo, other stuff from ldap.

      So I disagree that there is one uniform, smooth mac os x configuration framework. It's a mishmash of stuff. Some fresh, some from next, some from BSD and yet others from the individual projects (apache, postfix etc).

      'Also on the Mac, there has always been a pretty strong sense that preferences are optional and that an application should work out of the box with absolutely no configuration."

      As a corrolary I have found by painful experience that you should never ever configure any apple server product to do anything the GUI doesn't let you do. If you do you are taking your life into your hands. Just use the GUI. If the GUI doesn't give you an option to configure it then don't use the mac.

      --
      evil is as evil does
    23. Re:configuration by Sentry21 · · Score: 1

      Ideally all confi files would follow the same format and syntax (god no please don't say XML).

      Now, I understand that XML is overhyped - when you see a two-inch-thick book on a file format, you know you're in deep - but hype aside, why not?

      A lot of people say XML is harder to parse, more complex, etc. etc. You pretty much have to use external libraries, it takes longer to parse things, and so on. This is true, but doesn't matter, because the increase in time is trivial.

      XML has a lot of benefits to it. After a DTD is established for how config files should work (OS X does this), then all config files behave the same. Once this is possible, then you can have one configuration interface for EVERYTHING on the systme (as well as being able to change configuration options from inside the program). Any program would be able to modify any config file, because all the information they need would be there already.

      This could lead to an actual useful configuration interface (think YaST) for linux/unix systems - and let's face it, there's a lot to configure with these systems.

      Config files could be validated automatically by the system. No more missing a ; in bind.conf and wiping 250 domains off the server - that's braindead. Still, for a lot of config file formats, there's no certain way for the program to know if the config is messed up. With a standardized XML interface, each program could just run the system validation routine on the file (or the user could run it him/herself manually).

      Aside from all this, is capable of doing things like heirarchical data (i.e. websites -> darien.ca -> sites.darien.ca -> allowed hosts) instead of just flat files. Any other heirarchial config file formats I've seen usually end up a lot like XML anyway (Apache's config files are almost, but not quite, completely unlike XML - yet they still use tags, but only sometimes, but you don't have to, but you should, but not always).

      Yes, anything XML does can be duplicated with another format - but the XML spec does so much that we would want that we would be reinventing the wheel. Maybe you don't like XML, and sure it's not always pretty to look at, but it's here, it's done, it works, and it's a standard. There's really no good reason I can think of not to use it.

    24. Re:configuration by Tom · · Score: 1
      Ideally all confi files would follow the same format and syntax

      They are. You just need a little (not even much) flexibility of mind.

      Every *nix config file I've encountered so far is:
      • plain text
      • contains only comment and configuration lines
      • comment lines are clearly marked with one of a small set of comment markers (# ; // or /* */)
      • config lines are in the format "variable = value", sometimes with quotes or ; line endings, sometimes with : instead of = or some other, minor variations

      I'm sure it would be easy to write a generic config file parser that will tell you which variable the config file sets to which value, no matter which config file you throw at it. In Perl, it's probably a one-liner. :)
      --
      Assorted stuff I do sometimes: Lemuria.org
    25. Re:configuration by Makarakalax · · Score: 1

      gconf is frankly a pretty heavy-weight solution. The community has better solutions available.

  11. zerg by Lord+Omlette · · Score: 0, Offtopic

    Would like to start by expressing my home that this is going to be the best /. thread evar. ^^v

    --
    [o]_O
    1. Re:zerg by Lord+Omlette · · Score: 0, Flamebait

      s/home/hope

      What's the point in having a preview button if you're never going to use it, IDIOT.

      --
      [o]_O
    2. Re:zerg by Anonymous Coward · · Score: 0

      According to the mods you were starting a flame war with yourself. We, apparently, don't like it when you're too hard on yourself!

    3. Re:zerg by Anonymous Coward · · Score: 0

      hahah best moderation choice ever!

    4. Re:zerg by Anonymous Coward · · Score: 0

      The most mystifying MOD ever. He got modded as flamebait for calling himself an IDIOT .

  12. my answer by ubiquitin · · Score: 3, Funny

    Q. What's wrong with Unix?
    A. All those slashes and dots.

    Q. How you would fix it?
    A. um, slashdot

    Of course!

    --
    http://tinyurl.com/4ny52
  13. Re:you mean those guys that had their things cut o by Devil's+BSD · · Score: 3, Informative

    no, those are eunuchs

    --
    I'm the Devil the Windows users warned you about.
  14. What's wrong? by Anonymous Coward · · Score: 0

    It's free.

    1. Re:What's wrong? by pclminion · · Score: 1
      I really like the idea from the article - what's wrong with UNIX is that it's great stand-alone system but once you connect lot of UNIX machines, it's hard to get "all-over-network" filesystem/accounts/desktop enviroment/SW distribution & update/etc.

      Isn't that a good thing? Super-homogeneous systems with lots of communication channels are easy for worms and other malicious programs to spread through. The heterogeneity of UNIX is what has kept it relatively free of such exploits for so many years.

    2. Re:What's wrong? by Libor+Vanek · · Score: 1

      I don't think it's good!

      Why can't networked filesystem/LDAP/SW distribution & upgrade etc. etc. use single SSL library to encrypt everyting? (just example) - once you do enough (10s of) security audits, the probability of critical security error should be near 0%. But if every layer will use "invented here" security negotiation/encryption/hash... the more possibilities that you'll use something with forgetten security bug...

      What kept UNIX relatively free from exploits is that GPL code prevents most of ppl to publish "ugly" code with some really really dirty security hacks (at least in the critical parts of OS) like "ActiveX" in Windows...

    3. Re:What's wrong? by TheGavster · · Score: 1

      The heterogeneity of UNIX is what has kept it relatively free of such exploits for so many years.

      And also relatively free of widely used desktop software. You've got your various binary distribution formats, except that you need to match the manufacturer and version of your OS perfectly otherwise it gets flaky. Then there's the build from source option, which I so recently saw summed up by a message at the end of a (mostly) successful ./configure: 'Please run make and pray'

      --
      "Because Science" is one step from "Because old book". Try "Because of my experiment testing my falsifiable assertion".
    4. Re:What's wrong? by poopdeville · · Score: 1

      UNIX has existed for decades longer than the GPL.

      --
      After all, I am strangely colored.
  15. How to answer the question. by Tackhead · · Score: 1, Funny
    > What insightful answers did the rest of Slashdot give when they applied to work at Google? To repeat the actual question, 'What's broken with Unix? How would you fix it?'

    "The fact that I have yet to receive significant monetary compensation for working with it. I would fix it by having someone at Google to hire me with a starting offer of $100,000 per year salary and a signing bonus of options for 50,000 shares of pre-IPO Google stock."

    Why are you looking at me like that? I figured all the good jobs were gone, so I was trying for a marketing position.

  16. The MathWorld Answers by Ed+Pegg · · Score: 2, Interesting

    Google called me a wimp for not answering the non-mathematical questions. At MathWorld News,you can see how Eric and I answered all the other questions.

    1. Re:The MathWorld Answers by Schwarzchild · · Score: 1

      I dislike the fact that you answered the questions in Mathematica, but I won't call you a wimp. :)

      --

      "sweet dreams are made of this..."

    2. Re:The MathWorld Answers by poopdeville · · Score: 1

      What is up with number 20? Every math guy should know that finitely many terms of a sequence don't determine it uniquely. In short, that's a psychological question, not a mathematical one. poop

      --
      After all, I am strangely colored.
  17. In a word... by rongage · · Score: 3, Insightful

    Printing - more specifically, Postscript Printing.

    This sillyness of having to generate postscript so Ghostscript can generate PCL so you can print is just wrong - empty brained, someone forgot to wake up wrong.

    PCL is available on every major printer on the market today - it IS the standard. PostScript is a has-been. Dump it today.

    That is what is wrong with *nix and what I would do to fix it is require all software to support PCL printing directly.

    --
    Ron Gage - Westland, MI
    1. Re:In a word... by Anonymous Coward · · Score: 2, Insightful

      Every modern systems has a native printing language, and each uses the native language to abstract multiple end-languages.

      Postscript is an intelligent way to abstract non-Postscript printing. Postscript is well documented, and is in itself a useful print language.

      Otherwise we'd be back in MS-DOS. Do you remember when each application had its own audio, video, and print drivers?

      ahz

    2. Re:In a word... by hey · · Score: 1

      I know this is off topic but I was looking to buy a printer the other day and went to tons of websites to find one with Postscript since I know that works best with Linux/Unix. It was hard to find a cheap (under $1000) printer with Postscript. Suggestings?

    3. Re:In a word... by Libor+Vanek · · Score: 3, Informative

      No PCL!!!! Reasons:

      - PS you can very easily convert to PDF - none for PCL!
      - there tons of tools which enables you "4 pages in 1", accounting quotas etc. etc. - none for PCL!
      - try to display PCL file
      - WHICH PCL? PCL5? PCL3?...

      There is simply NO reason to give up - tell me one single argument (except VERY slight speed-up) which will balance the loosen flexibility and necessary to rewrite all existing tools (CUPS, print drivers etc.)

    4. Re:In a word... by Tackhead · · Score: 5, Informative
      > This sillyness of having to generate postscript so Ghostscript can generate PCL so you can print is just wrong - empty brained, someone forgot to wake up wrong.
      >
      >PCL is available on every major printer on the market today - it IS the standard. PostScript is a has-been. Dump it today.

      Huh? I think you've got that backwards.

      PCL requires that most of the "brains" exist on the "computer" side of the "computer/printer" connection. A PCL printer needs less "brains" than a Postscript printer because all the processing is done on the "computer" side of the connection.

      Not to put too fine a point on it, but a PCL printer is to a Postscript printer what a Winmodem is to a hardware modem.

      For printers, the PCL tradeoff made a lot of sense sense when embedded CPUs were (extremely) limited in computational power compared with desktop CPUs. Rather than have your $1500 486-33 sitting idle as it dumps a pile of Postscript code to another $1000 68020 in the printer, I'll use my $1500 desktop CPU to turn my document into PCL that can be parsed by the $1.99 Z80 or whatever's in my $100 PCL printer.

      Now that your $25 disposable cell phone has a 200 MHz core, that tradeoff is no longer a requirement. Embedded systems smart enough to interpret and run Postscript code are no more (and no less) expensive than those capable only of PCL.

      Methinks you've got the PCL/Postscript design tradeoff backwards.

    5. Re:In a word... by daytrip00 · · Score: 1

      How about a unified screen and printing graphics subsystem. In both OSX and WinXP you get the same drawing toolkit for printing and drawing on the screen. Why invent the wheel twice?!

      I'm not a Unix programmer, but the lack of such a think seemed to me as a HUGE programming shortfall.

    6. Re:In a word... by northcat · · Score: 1

      Isn't there xprint? and dont most x toolkits have some sort of printing capability? text based program can use a2ps. And how is postscript printing any different from printing on other platforms like windows?

    7. Re:In a word... by lpontiac · · Score: 1
    8. Re:In a word... by naelurec · · Score: 1

      There are lots of postscript printers under $1000 .. I use a $339 Brother HL-5170DN laser .. it has postscript 3, pcl 6, duplex printing, 20ppm, built-in network print server, 2400dpix600dpi .. great small office printer.

      Want cheap?
      Lexmark E323 Laser 20PPM -- $188.54
      Panasonic KX-P 7305 -- $232.18
      Brother HL-5150D -- $243.33

      Want under $1000, Postscript and Color? Insight.com shows 37 printers that fit.. They show 169 postscript printers under $1000 (laser, inkjet, led, solid-ink (Xerox Phaser), etc..)

    9. Re:In a word... by bani · · Score: 1

      Um, no.

      PCL is to printing what winmodems are to telecommunications.

      Not everything speaks PCL, and for good reason -- PCL is far too limited to be taken seriously for anything other than consumer printing devices.

      Also, which PCL would you have everyone standardize on? PCL2? PCL3? PCL4? PCL5? PCL6?

      postscript makes for a nicely device-independent universal format which can be downconverted into the output device requirements (eg your cheap-ass $50 inkjet which barely speaks PCL at all)

      Insightful my ass.

    10. Re:In a word... by tirnacopu · · Score: 1

      You're forgetting the market trend: 90% of the low-cost printers available (which would mean some 60-70% of the total) rely on the operating system to feed them PCL. I always have to do some serious digging when purchasing a new printer and have a hard time explaining why one must choose that inkjet model which costs 200-300 USD and not the other one which can go as low as 15 (yes, fifteen) for some very basic printing tasks. Heck, down here (Romania), inkjet printers are offered as BONUSES when purchasing a win xp licence or a new low-end computer. Those computers will never run a Linux copy for this single reason. YMMV.

    11. Re:In a word... by drinkypoo · · Score: 1

      Last I checked, PCL was pretty much the same as postscript and either one required about the same amount of host-side processing. Perhaps you are confusing PCL with PPA?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    12. Re:In a word... by imsabbel · · Score: 2, Interesting

      You are a bit misstaken.
      In fact, the gap between host cpus and printer cpus has never been wider.
      Back in 486 days, those printers had i960 or other cpus inside who could do some tasks faster than the host cpus.
      Those got faster and faster while the dedicated rasterization engines of printers crawled forward. If you buy a 2-3000$ laser printer, what do you get? At most a 300Mhz PowerPc 603 or something like that that isnt 1/10th as fast as any 500$ budget pc.
      The only reason PCL printers are often slower than PS native printers is the amount of data generated while rastering high res pages that have to squeeze over usb...

      Of course, there are tons of PRACTIAL advantages, but not really technical ones.

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    13. Re:In a word... by upsidedown_duck · · Score: 1

      It was hard to find a cheap (under $1000) printer with Postscript.

      Check newegg.com. I've seen Postscript printers under $400.

      --
      -- "Makes Little Debbie look like a pile of puke!" - Moe Szyslak
    14. Re:In a word... by Anonymous Coward · · Score: 0

      I think what you're *BOTH* trying to say is that the speed of CPUs in both the printer *and* the host have far outpaced the speed of actual printing. Therefore at this point it's irrelevant (from a CPU perspective) where you put the smarts since you'll be waiting for the actual paper to wind its way through the printer.

      Of course the host CPU might be able to do something *useful* with the saved cycles while spare printer CPU power simply would go to waste - advantage: postscript.

      There's a lot wrong with UNIX printing but standardizing on postscript was the one thing it got right

    15. Re:In a word... by hey · · Score: 1

      Thanks very much. (I found it hard to see on the printer company websites if Postscript was supported.)

    16. Re:In a word... by Geoffreyerffoeg · · Score: 2, Insightful

      Whatever the case may be with prices and design and requirements, the simple fact is that most consumer printers are PCL, and very few are PostScript. Therefore applications should support PCL as the de-facto standard, and allow for a convertor from PCL to PostScript (or a separate renderer) for the few cases that require this.

      You are Linux. You are a small, free OS that has only a few percent of the market. You don't control how the printing industry designs their products; you obey their decisions.

    17. Re:In a word... by dododge · · Score: 1
      Last I checked, PCL was pretty much the same as postscript and either one required about the same amount of host-side processing.

      I've always assumed PCL was a very simple language that required rasterization and processing on the host side to do anything fancy. A quick glance at the PCL manual doesn't obviously indicate any sort of real programming capabilities such as looping and conditional behavior.

      I've written label printing programs in PostScript; you specify (within the file) a few simple parameters like the strings to be printed and the rows/columns/margins for a page of labels, and the printer figures out how many pages are needed and where to draw the text on the page. No host software required.

      A structured drawing package I used to work with was acutally able to store its drawings as printable PostScript (with embedded comments to make it easier to read back).

      I admit that in most cases PostScript is used much like PCL, as a simple move-here draw-letter sort of language; but it does have the ability to do much more than that and people and software do sometimes make use of it.

    18. Re:In a word... by eraserewind · · Score: 1

      I basically agree, however the printing subsytem of the OS should support PCL, and the appropriate conversions, not each application individually.

    19. Re:In a word... by jafuser · · Score: 1

      Does Adobe get royalties for postscript printers?

      If so, that might be another reason they are not ubiquitous.

      --
      Please consider making an automatic monthly recurring donation to the EFF
    20. Re:In a word... by drinkypoo · · Score: 1

      While PCL does not (AFAIK) have the same programming capabilities as postscript, the fact is that most applications don't really make use of them anyway; they just convert anything from their internal format, then send either fonts and primitives for everything else, or even just send outlines for text (I've seen it...) So any advantage of postscript to the user is largely imaginary. For specific tasks like label printing, I am sure it makes your life much easier, but most people are printing them from word and it's irrelevant.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  18. needs stdctl & no ioctl by Anonymous Coward · · Score: 0

    Needs a standard control stream and no ioctl.

  19. Does it reliably enable true modern computing? by Ars-Fartsica · · Score: 4, Insightful
    Does unix enable people to build clusters, serve multimedia content, create sustainable high-throughput networks etc etc? Yes. Most implementations also provide for these true modern computing environments reliably and cheaply. What else do you want an OS to do? If an OS can reliably enable the modern application layer, to me it has satisfied the criteria of an OS.

    While I agree that the core OS has not moved much in decades, I also see very little motivation for this as much of the required functionality has moved up the stack to the application layer.

    1. Re:Does it reliably enable true modern computing? by procrastitron · · Score: 1
      What else do you want an OS to do? If an OS can reliably enable the modern application layer, to me it has satisfied the criteria of an OS.

      I think of operating systems as being special cases of programming languages. The environment that programs run in is the language and the operating system that implements that environment is the language interpreter.

      When you view it from this perspective, Unix (And every single other major operating system) is an interpreted language. The obvious improvement then would be to create a "compiler" for that language. This could be implemented with a partial evaluator. Run the partial evaluator on the operating system with the programs that you want compiled in passed as parameters, and you get back an operating system that has your programs built into it.

      Since this doesn't violate the seperation between the OS and application layers, it SHOULD have the security/stability of a microkernel operating system. At the same time, because the applications are compiled into the operating system, you should have the performance of a monolithic kernel operating system.

      The problem with this idea though (when applied to Unix) is that partial evaluators for assembly language are hell to write. An operating system written in a higher level language (LISP, Haskell, ML, Prolog, etc) would have an easier time of providing this.

  20. Plan9 is what's right with UNIX by andrewzx1 · · Score: 5, Informative

    If you read the motivations behind writing Plan9 (documented on slashdot previously), there are many descriptions of what the authors thought was wrong with UNIX. And the guys who wrote Plan9 are the same guys who wrote the better part of UNIX. And for you youngsters, UNIX is not LINUX. - AndrewZ

    1. Re:Plan9 is what's right with UNIX by nocomment · · Score: 1

      plan 9 is nice, and to give you an idea of the power and extensibility of it, go play with Inferno.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    2. Re:Plan9 is what's right with UNIX by theendlessnow · · Score: 0, Offtopic
      UNIX is not LINUX. - AndrewZ

      :) Very true. However according to Sun and SCO, Linux == Unix.

      Stupid kids.

    3. Re:Plan9 is what's right with UNIX by cnettel · · Score: 1

      No, GNU/Linux is not Unix.

    4. Re:Plan9 is what's right with UNIX by Anonymous Coward · · Score: 0

      Yeah I agree.

      I wish FreeBSD would consider some Plan9-like features.

    5. Re:Plan9 is what's right with UNIX by upsidedown_duck · · Score: 1

      However according to Sun and SCO, Linux == Unix.

      This is not true for Sun. If you believe they are really in on the SCO crap, then you've seriously been believing too many Slashdot trolls. Any dealings they've had with SCO lately is to satisfy their lawyers over open-sourcing Solaris 10. Sun actually sells Linux to customers who want it; do you really think they would shoot themselves in their foot with SCO?

      --
      -- "Makes Little Debbie look like a pile of puke!" - Moe Szyslak
    6. Re:Plan9 is what's right with UNIX by Anonymous Coward · · Score: 0
      And for you youngsters, UNIX is not LINUX.
      I think you just answered the poster's question.
    7. Re:Plan9 is what's right with UNIX by theendlessnow · · Score: 1
      Did you even read what I posted?? What on earth makes you think that the FACT (that's spelled F A C T) that BOTH SCO and Sun EQUATE Linux to Unix means that Sun and SCO are somehow in cahoots with each other... upsidedown_duck fits you well.

      The are both incredibly wrong with their conclusion that Linux is Unix.. that is all.

  21. Re:It's current bone headed owner? by SIGALRM · · Score: 1
    One name: SCOG
    I'm sure you meant SCOX.
    --
    Sigs cause cancer.
  22. cynical view by Keitopsis · · Score: 5, Insightful

    Problem:
    Unix is great!, unless:
    - You just want a plug and pray answer
    - You just want a word processor
    - You just want ......

    If someone is only looking for a single application, it is hard to shove such a versitile system down their throat.

    Solution:
    Create a truely modular UNIX/OS that does not depend on any single environment(init/SYSV). Make a pluggable API-level interface that you can plug anything from a single application to a complete system environment into. Then get someone to develop EXACTLY what you want.

    Idiotware without the bloat.

    Laughing all the way,

    -- Kei

    1. Re:cynical view by pclminion · · Score: 2, Interesting
      If someone is only looking for a single application, it is hard to shove such a versitile system down their throat.

      And yet Linux is becoming an increasingly common choice for all sorts of embedded, special-purpose devices.

      A lot of people don't really understand what UNIX is. At its heart, it is just a philosophy, not a system. A way of thinking about and solving problems which has remained relevant and useful for decades. All real-world UNIX systems have lots of crap bolted on, out of necessity, but the inherent "UNIX-ness" of the system emanates from the design philosophy, not the implementation or application.

      UNIX is a How, not a What.

    2. Re:cynical view by hey · · Score: 1

      Sounds like Java.

    3. Re:cynical view by XaviorPenguin · · Score: 1

      Unix is great!, unless:

      - You just want a plug and pray answer
      - You just want a word processor
      - You just want ......


      - ???
      - Profit!

      --
      Friends help you move...
      REAL Friends help you move dead bodies... ^_^
    4. Re:cynical view by Taladar · · Score: 1

      Guess you missed the "without the bloat" part.

    5. Re:cynical view by OrangeTide · · Score: 2, Insightful

      Who just wants a word processor? Those word processors "appliances" were never very popular. I don't think anyone even makes them anymore.

      I've never met a computer that was really "plug and play". They always seem to have issues, at least for me. About the only thing that worked right away was my microwave. Even new cars don't seem to work perfectly from the start. We all might want something that you plug it in and it works, but the popularity of cheap digital cameras that are notoriously unreliable seems to prove that ease of use and reliability is not a consumer's primary criteria for a purchase.

      --
      “Common sense is not so common.” — Voltaire
    6. Re:cynical view by upsidedown_duck · · Score: 1

      Create a truely modular UNIX/OS that does not depend on any single environment(init/SYSV). Make a pluggable API-level interface that you can plug anything from a single application to a complete system environment into.

      Hmm...I offer thee a folder, some college-ruled paper, and a pen. It's certainly not bound to Sys V and it is very pluggable and flexible.

      --
      -- "Makes Little Debbie look like a pile of puke!" - Moe Szyslak
    7. Re:cynical view by Anonymous Coward · · Score: 0

      You are the winner!

      LOL!

  23. Has to be said by aendeuryu · · Score: 3, Insightful

    One big thing that's wrong with Unix is SCO.

    1. Re:Has to be said by Anonymous Coward · · Score: 0

      linux is not unix

  24. MOD SELF UP!! by Anonymous Coward · · Score: 0

    C with it's standard null-terminated strings. Bad news all around.

    1. Re:MOD SELF UP!! by Anonymous Coward · · Score: 0

      Shit! I used it's when I should have used its. Don't say anything, I have already flayed my self within an inch of my life for this mistake.

  25. What's wrong? by Libor+Vanek · · Score: 1

    I really like the idea from the article - what's wrong with UNIX is that it's great stand-alone system but once you connect lot of UNIX machines, it's hard to get "all-over-network" filesystem/accounts/desktop enviroment/SW distribution & update/etc. - I know that there are solution for every single thing of this BUT it's always "non-standard" (compared to "stand-alone" UNIX machine) and not-well cooperating solutions...

  26. GNU Stow by Anonymous Coward · · Score: 2, Informative

    That is why distributions have package management systems for GNU/Linux. A single command is sufficient to install/remove a package.

    However, I understand your problem, when it comes to manual installation. There is a project GNU Stow to handle what you are talking about.

  27. But open-ness is now also a requirement by Ars-Fartsica · · Score: 1
    Functionality is not the only criteria for evaluating an OS. Access to source code is also an important criteria that OSX mostly fails (yes I know about Darwin, it is only a piece of OSX).

    If openness were not a requirement, we would not have the OS landscape we have today, we could have enabled rock-solid computing with any number of non-free alternatives like VMS, AIX, etc

  28. KSpaceDuel by jkauzlar · · Score: 5, Funny
    Certainly this component of Linux needs rewritten. Firstly, it is far too difficult to maneuver your ship with the gravity the way it is, and secondly, the bullets go too slowly. Thirdly, it isn't intuitive what the different colored blobs are; its easy to forget what is energy and what is a mine, or something like that.

    I would suggest to the KSpaceDuel team that they meet with the KAsteroids team to discuss usability issues. There should also be a cap on how fast you can go, since it is possible to speed up so fast that your spacecraft appears to be moving very slowly (sort of like a tire in motion).

    1. Re:KSpaceDuel by LiquidCoooled · · Score: 2, Insightful

      Yours is the most enlightening - novel - suggestion I have seen on this page so far.

      If I was google, I would hire you.

      I realise 100% you were talking in jest, but you were thinking outside the box, most of the other suggestions have been seen in one form or another before.

      --
      liqbase :: faster than paper
    2. Re:KSpaceDuel by bcmm · · Score: 1

      This is Linux we're talking about. It is configurable. I suggest you open the "Configure KSpaceDuel" window and change the bullet speed and gravity to your own tastes.

      Oh, wait... It was a joke? You didn't really want support with this particular Linux software package?

      --
      # cat /dev/mem | strings | grep -i llama
      Damn, my RAM is full of llamas.
    3. Re:KSpaceDuel by orbitalia · · Score: 1

      Of course there is already a fix out for that, its called XPilots-NG, Gravity is entirely configurable, as is bullet speed, and to add to all that its multiplayer (with all physics computed in the server), works in all unix operating systems and linux.

      xpilot

  29. Easy! by Telastyn · · Score: 5, Insightful

    Lack of coherent newbie documentation.

    Sure, man pages exist, but even once you learn that man does what help really should the man pages are generally written by programmers for programmers.

    Newbie guides generally don't get any further than a small command summary, which doesn't really show any strengths of unix over using a gui [or windows!]

    The best thing I think would be to provide more "whole system" examples/help rather than help for each individual command. Take some nice simple topics [how to add many users, how to determine network utilization programatically, how to determine open ports and what process is using them...] which are painful to do on windows and use a variety of unix tools to solve them.

    1. Re:Easy! by imbaczek · · Score: 1
      Lack of coherent newbie documentation.

      I'd take that further - lack of coherence in general; that is:
      • No coherent installation of software. (Please, spare me configure && make && make install...)
      • No coherent deinstallation of software.
      • No coherent configuration of applications.
      • No coherent desktop.
      • ...
      • Profi^WNo coherent APIs, libraries, ANYTHING.
      In general, if you want to do something, there are gazillion ways to do it. Choice is good, yes, but come on!
    2. Re:Easy! by RLiegh · · Score: 1
      No coherent installation of software. (Please, spare me configure && make && make install...)
      No coherent deinstallation of software.
      No coherent desktop

      apt-get install

      dpkg -R

      kde.org gnome.org

    3. Re:Easy! by techno-vampire · · Score: 1
      Sure, man pages exist, but even once you learn that man does what help really should the man pages are generally written by programmers for programmers.

      That's what info is for. Trust info; info is your friend!

      --
      Good, inexpensive web hosting
    4. Re:Easy! by linguae · · Score: 1
      The best thing I think would be to provide more "whole system" examples/help rather than help for each individual command. Take some nice simple topics [how to add many users, how to determine network utilization programatically, how to determine open ports and what process is using them...] which are painful to do on windows and use a variety of unix tools to solve them.

      The closest thing that I know of that you described is FreeBSD's included documentation, which includes a handbook, FAQ, articles, howtos, and manpages.

      I started out with ZipSlack (a mini-version of Slackware that can be installed on a DOS partition alongside Windows) about nine months ago to get used to *nix before removing my Windows partition. ZipSlack didn't come with too much documentation other than manpages, but I found many resources on the Internet such as Linux Questions and the The Linux Documentation Project. Slackware also had some nice tutorials on their website, too, and I checked out Unix books from the library. Within months, I mastered some of the basics of Unix, and I was ready to get rid of Windows. Only things holding me back were a dial-up connection and a Winmodem.

      Then, in September, I bit the bullet and deleted my Windows partition to install FreeBSD. My professor gave me a FreeBSD disk with some ports, too, so I decided to install that rather than downloading a Linux distribution (I have dialup, so that would take a long time). FreeBSD has a very good handbook that comes installed with the system. The handbook teaches a new user how to do things with FreeBSD, such as adding users, configuring a network, recompiling a kernel, etc. FreeBSD not only comes with the handbook, but it also comes with FAQs, howtos, and articles. FreeBSD's manpages are actually very readable. FreeBSD's mailing lists are also very helpful, too.

      One of the advantages of free, open-source *nix is that there are tons of free resources on the Internet. I found so many tutorials on the Internet, from learning basic commands such as ls to learning Perl, that I cannot read them all. The Linux and FreeBSD communities are also very nice and very helpful. They want more people to move to their platforms, so they're willing to help those who are new to it.

      Still, I wish there was a guide for Unix newbies (especially Windows-using non-geeks) that expressed the strengths of Unix over Windows, and show some of the non-geek types that Unix isn't that bad; yes, there is the command line, but you don't need to know every command (or even everything about a specific command), and that there are plenty of programs available that make Unix much more accessible (such as GNOME/KDE, OpenOffice, Mozilla/Firefox, and other great applications).

    5. Re:Easy! by sni_deco · · Score: 1

      you must be thinking in the interactive/step by step help system in the old mac os

    6. Re:Easy! by T-Ranger · · Score: 1

      Info? INFO?!!??!?!?

      Could someone please explain to me why the FSF publishes all their documentation in Info format? What was wrong with man? Why does info suck more then lynx from 1994? Why? Why? What were they thinking?

    7. Re:Easy! by rsheridan6 · · Score: 1

      That's right. As as example, I've seen lots of newbies asking questions about compiling and installing software, apparently unaware that 99% of the time a user wants to use a package manager instead of ./configure make make install. You've got useless summaries of switches for "ls" on the one hand and user unfriendly man pages on the other.

      --
      Don't drop the soap, Tommy!
    8. Re:Easy! by Bo'Bob'O · · Score: 1

      Yeah, I have to agree. Despite the fact that I've been using Linux for several years as my secondary computer and router (though only now and again). I still have yet to really learn it. I mean, yeah, package managers help, but what about highly complicated things, like Apache and SQL? Sure, you might say that a beginner shouldn't be running those things, but how many GPL applications have come to depend on my MySQL? What if some piece of hardware doesn't come supported and requires some sort of patch? And don't even make me get into Dependency Hell. Sure, maybe there is an easy way to get these things working, but I don't know them, and the OS isn't much help.
      I use Linux because it's reliable, I believe in open source, and the price is right, but, I'm not a comp-sci major, I can't spend all my time getting this stuff to work. I'm not saying we need to "Dumb Down" MySQL, I'm just saying that it just needs to be more helpful, if I want to run MythTV, I have to start services that I have no idea of the security ramifications, and if it breaks, I'm out of luck. I don't have a week to learn it, I have other things to do.
      I understand the desire not to repeat MS's mistakes, but I think people could really spend some time figuring out what makes the MacOS and MS Windows easier for people to use, beyond just using 'wizards' or whatever. It's something else, the OS helps you beyond just providing a manual.

    9. Re:Easy! by firstnevyn · · Score: 1

      The problem is reall that info is designed by people who use and like emacs.. given a decent info browser.. like pinfo (apt-get install pinfo) info is actually much nicer to deal with than man pages

  30. Unix is too powerful by Anonymous Coward · · Score: 3, Informative

    I know it sounds silly, but it's like asking a consumer to operate a bradley armoured figting vehicle, it wasn't built for consumer use, its got hundreds of knobs and options and configurations, and if you don't get it set up right the first time it is a tremendous headache to fix it. Consumers want a gas pedal and a brake, windshield wipers are fine, but when you put on a .50cal machine gun mount, even if its "turned off", it scares people away.

    It's a canonical example of something that tries to be everything to everybody, but ends up being too hard for anyone to use.

    1. Re:Unix is too powerful by Anonymous Coward · · Score: 0

      A better comparison would be a consumer who just wants a rifle (simple to use, strip, clean), but ends up with a .50 (ever had to assemble the bolt on a Browning HMG? How about headspace & timing?).

      Most AFVs are very easy to operate from a driver's perspective.

    2. Re:Unix is too powerful by Clover_Kicker · · Score: 1

      Oh come on now.

      How many knobs and options and configuration possibilities are there in WinXP?

    3. Re:Unix is too powerful by i+am+fishhead · · Score: 1

      I want something that is uber-configurable. You want something that is not. My needs are a superset of yours. You can't make something that is not configurable be uber-configurable but you can make something that is uber-configurable behave in an easy to configure way.

    4. Re:Unix is too powerful by Billly+Gates · · Score: 1

      Which is why they run Windows.

    5. Re:Unix is too powerful by ThousandStars · · Score: 1
      You make an interesting analogy; I would say that, rather than Unix being too powerful, it is too complicated. Some people need the complexity, but they are relatively few. Even so the, the ability to customize and tweak should be available, despite the fact that few might actually use it.

      I think OS X strikes a good balance: it's simple enough for novices and powerful enough for wizards. To push your analogy too far, it's like having a consumer sedan that can transform at the push of a button into a pick-up truck, and another push transforms it into a Bradley, complete with .50cal ready to go.

    6. Re:Unix is too powerful by Anonymous Coward · · Score: 0
      but when you put on a .50cal machine gun mount, even if its "turned off", it scares people away.


      Damned right it does! And when some wussy in an H2 cuts me off we'll see about mounting a Ma Deuce and see how they like a little bit of R. Lee Ermey tender lovin' lead!
    7. Re:Unix is too powerful by stealth.c · · Score: 1

      This thread is hitting on an important differentiation between user groups. There are people who want simplicity and others who want/need complexity. This is fine. Let the Windows users use Windows. Let the MacOS users use MacOS. Let the *nix users use *nix.

      The problem that *I* see in this market landscape is how *nix gets at best completely ignored and at worst actively excluded. *nix users are relegated to a realm of scavenging for drivers or tolerating sucky ones, nitpicking on their hardware because of aforementioned drivers, and missing out on several multimedia features or extra bells and whistles of the proprietary-tech-dominated hardware and Intarweb.

      To take the thread's metaphor: the Linux and BSD crowd are driving around in their beturreted Bradleys, but no manufacturer will bother to undertake the miniscule effort to build a CD player for the tanks--something all the economy cars already have. The *nix guys have to build and install their own. Not that they can't--they often do, but it's a pain in the neck and keeps them quite a bit behind the multimedia trends of the Metros and Civics putting about. Hardware and software manufacturers have in their hands the ability to make our lives a lot easier as *nix users. But either because of perceived unmarketability or a desire not to piss off the elephant in the room (MSFT), they leave us to our own--um--devices. This is what annoys me most about using *nix, but worry-free web browsing and reliable control (and zero monetary cost) is worth the occasional headache.

    8. Re:Unix is too powerful by kaligraphic · · Score: 0

      Just a few, but each one opens up into another panel.

      --
      You are standing in an open server west of a blue house, with a boarded front door. There is an Exchange mailbox here.
    9. Re:Unix is too powerful by ThousandStars · · Score: 1
      The problem that *I* see in this market landscape is how *nix gets at best completely ignored and at worst actively excluded. *nix users are relegated to a realm of scavenging for drivers or tolerating sucky ones, nitpicking on their hardware because of aforementioned drivers, and missing out on several multimedia features or extra bells and whistles of the proprietary-tech-dominated hardware and Intarweb.

      Exactly. The reason this state exists, as far as I can tell, is because there is no good, standard *nix GUI API. Since the vast majority of computer users have demonstrated that they prefer GUI interfaces over CLI interfaces, the inability to quickly and easily good *nix GUI programs (except on OS X) relegates most versions of *nix to the relative fringes in terms of vendor support, drivers, etc.

      Until that situation changes, I don't see *nix, including Linux, making great inroads into user-land, because the computing experience for most users is fundamentally about the available applications. *nix lacks high-quality GUI applications that are easy to install and use, unlike Windows and OS X. Until that changes, and it's hard for me to perceive how it will in the near future, I don't see fundamental changes to the market landscape.

    10. Re:Unix is too powerful by Sentry21 · · Score: 1

      Well, not to be taciturn, but the only thing I really have to say to this is 'OS X'.

    11. Re:Unix is too powerful by Anonymous Coward · · Score: 0

      For me, I just want something that works most of the time.

      I think it's a waste of energy, time, and resources on society as a whole to be the 62,496th person to have to have to futz around for a half hour to get my USB mouse to work.

      Sure, you may enjoy "playing the game" of endless system tweaking, but I find other things to be much more enjoyable and/or intellectually stimulating than spending my free time reading man pages and recompiling a kernel for the 4th time to see if I can get 1% more performance from the filesystem.

  31. Two words: by chiph · · Score: 1

    Installed base

    Chip H.

  32. The I/O Model by BKCat · · Score: 1

    Jeez, where do I start?

    The basic Unix I/O model is that of byte streams flowing around the system, and in and out of devices. Unfortunately, this model really only applies to tape drives; most devices have to be addressed first (such as a disk block number), and then read or written in discrete chunks (blocks, packets).

    1. Re:The I/O Model by Anonymous Coward · · Score: 0

      It doesn't fit tape drives either, they're just as record-oriented as disks (only some of them allow variable-length records, which most OSes' file systems support, but not Unix). Anyway what's always really chafed for me is the lack of true async file I/O -- i.e. here's a transfer for you to get started on, now let me know (by any of several mechanisms) when it's done. Having to use heuristics so the OS can guess what you're doing (and do read-ahead/write-behind) is silly when the application already knows what it's doing, especially if the I/O is random-access and the heuristics will fail. Anyway I'm sick of having to do I/O in another thread.

    2. Re:The I/O Model by gibson_81 · · Score: 1

      I/O Model is one of the things that are definately right with UNIX, in my opinion. What you seem to forget is that the operating system is made for application programmers, and they should not have to worry about addressing specific blocks on a specific hard-drive to read a file, they should just tell the OS "I want to read from this file" and the OS will make sure that the appropriate blocks are read into memory. And the "treat everything as a file" philosophy means that it is trivial to connect programs together - instead of writing a word processor, you write the text in an editor that you like, then run the text through a spell checker that you like, then format and print it using tools that you like - rather than having to accept whatever tools the person who wrote the word processor liked.

    3. Re:The I/O Model by twiddlingbits · · Score: 1

      Device drivers are inherent in Win and UNIX. Windows just hides all this way deep down, UNIX puts it out there and you can find out how it works. Disk drives are still serial devices just very fast ones! You gotta move to the track and sector with the heads to read or write, the only improvement has been faster totation speeds and multiple heads that move fast but each head still writes serially, there cab be some parallelization if you are doing block writes. I also like the fact that I can mount/unmount a disk. If you get right down to it Windows has copied a LOT for Unix as it has moved from Win3.11 to XP. I recall reading someewhere that the TCP/IP code in Windows was actually lifted verbatim from BSD Unix.

    4. Re:The I/O Model by Anonymous Coward · · Score: 0

      thats why there ioctl ;)

    5. Re:The I/O Model by Khazunga · · Score: 1
      The basic Unix I/O model is that of byte streams flowing around the system, and in and out of devices. Unfortunately, this model really only applies to tape drives; most devices have to be addressed first (such as a disk block number), and then read or written in discrete chunks (blocks, packets).
      I see no problem. The Unix I/O model is a level lower than the one you describe. Disks can be treated as tape drives, read one byte at a time without seeking ability. The fact they support seeking does not prove that the model is wrong.

      The I/O model would be wrong if it assumed all devices support seeking when some of them don't -- namely pipes and network streams.

      --
      If at first you don't succeed, skydiving is not for you
    6. Re:The I/O Model by spitzak · · Score: 1

      You are completely off base. The byte-stream model has nothing to do with how tape drives worked in the 70's. They in fact required blocks of data to be delievered. It actually matches how video and teletype terminals worked on small minicomputers (as opposed to mainframes, where block send/receive of forms ruled).

      The Unix model of I/O shows that they were actually thinking about interactive use as being the most important aspect of the system, while other systems acted as though disk and tape I/O were the most important thing.

      Also the byte stream gave rise to telnet style interfaces and virtually every single thing we do on the net today can be directly traced back to Unix byte stream interfaces.

  33. Pseudo-kernel Applications by logicnazi · · Score: 1

    In the core system what I find most lacking is better support for providing psuedo-kernel type services. For instance windowing systems/3d accelerators end up being interfaced with a bunch of hacks and make use of little to no unified kernel support for this sort of thing.

    I've also never been impresed by the IPC facilities in unix, it seems there are a bunch of 'okay' solutions cluttering up the kernel but no really good/modern IPC solution. It would be nice if we could get one protocol with a bunch of options or a few good protocals aimed at certain situations (shared memory models, message passing etc..).

    I'm sure there are a few more things that aren't the best deep down in the kernel architecture. For instance many not-super-critical sections of code in linux use bad/stall prone algorithm. However, this isn't a problem in all unices. But other than the above issue the only real disadvantage to the users is lack of software and that isn't really a unix problem.

    --

    If you liked this thought maybe you would find my blog nice too:

  34. scalability by confusion · · Score: 1
    Scalability, not in the traditional sense, but being able to virtualize many different physical systems into a single system for enterprise applications.

    Jerry
    http://www.syslog.org/

    1. Re:scalability by Khazunga · · Score: 1

      IBM is doing this, at the hardware level, with X-Architecture.

      --
      If at first you don't succeed, skydiving is not for you
  35. uniform filesystem perhaps? by thanasakis · · Score: 1

    I was taking a look at plan 9 and I was impressed by the feature that allows every single process to have a unique perspective of the file system. For example, if a process wants to draw in its window, there is a special file in /dev (I think) that maps on it own window and so on. Features like this are implemented via special handling in normal Unix and are probably rare.

    These ideas could perhaps extend the philosophy of "everything is a file" and at the same time improve security.

  36. Too late! by Anonymous Coward · · Score: 0
    I've been using Unix so long, it seems "normal" to me. I only recognise some of the more bizarre Unixisms, when I answer Unix newbie questions.

    Hmm... (pondering a bit)... Oh, yeah. Get rid of Unix signals. They are an archaic throwback to when unix had no concept of threading and needed some sort of asynchronous mechanism. But they don't work very well and are lossey. They fixed that with Posix condition variables. If you get rid of Unix signals you will increase the reliability of Unix applications by at least an order of magnitude based on my experience. That's one thing Windows got right. They don't have asynchronous signals.

    1. Re:Too late! by pclminion · · Score: 1
      They fixed that with Posix condition variables.

      A condition variable is only useful if the recipient of the condition is waiting on the variable. Condition variables are intrinsically different than signals. If you aren't inside a pthread_cond_wait(), it doesn't matter how much the other thread tries to signal the condition -- you won't see it until you call pthread_cond_wait(). In contrast, a signal is delivered immediately no matter what context you are currently in.

      Not to mention the total uselessness of condition variables if you intend to communicate between unrelated processes.

  37. Nothing by bigberk · · Score: 1

    Seriously, it ain't broke. Been working great for a long, long time. What will make UNIX, *BSD, Linux collectively strong is sticking to the same UNIX plan (as has been the goal with Linux from the start).

    1. Re:Nothing by DaFallus · · Score: 1

      Unix is free. "OS X" is not. 'nuff said.

      --
      No one cares what your captcha was

      Houston TX, USA
    2. Re:Nothing by anechoic · · Score: 1

      Darwin is free though...

    3. Re:Nothing by ThousandStars · · Score: 1
      As indicated in my previous posts in this thread, I'm something of an Apple fan these days. Nonetheless, as much as I like OS X, I think Mac hardware costs too much. If there were an open-source OS that offered the power and ease of use of OS X, I'd jump to that hypothetical OS in a second.

      Of course, a myriad of reasons exist as to why that hasn't happened and isn't likely to happen (see my aforementioned posts to get my take on why). It's a beautiful dream, though. In the meantime, I type this on a 1.5 Ghz PowerBook. Much as I like the experience, I still see cost as the primary drawback.

    4. Re:Nothing by ravenspear · · Score: 1

      Yes but Darwin alone is not very different from any other *nix. It is not the "ideal OS" that OS X is.

    5. Re:Nothing by Taladar · · Score: 1

      Not to mention the cost of Mac Hardware if they had their users bound like MS has (with the same market share)

  38. simplisity by Anonymous Coward · · Score: 0

    It is not easy to use and has no standars. Whenever i sit down at unix/linux/bsd it has ia differtn shell, editor, install place, package system and so on. Decide on a standard and YES PLEASE let theire be a million options but lets use one way on all places.

    1. Re:simplisity by frankm_slashdot · · Score: 1

      i agree in that it needs to be more simplistic for the average person to use... however, i think this touches at the heart of what unix does - rather, is supposed to do... it already tries to follow the MANY..... MANY standards... and each shell follows those standards and exposes them to the user in a way that makes sense to the creator (bearing in mind the creator should know his target and write complex programers for complex users and vice versa)... i like the fact there should be a standard for tar files however, i like being able to choose which tar program im gonna use. be it gnu/tar or otherwise...

      lets talk about package management.. i believe that every package manager should expose a standard set up api's so that other package managers can interoperate with them transparently. i believe that the next evolutionary step would be to say... (which is already implemented to some extent) let gentoo portage be able to emerge from .rpm or .deb files... NOT through some function of the portage program, rather through an exposed function of the rpm library...

      theres the aguement that this creates bloat having so many different libraries for accessing the api's for different package managers but my opinion is that anyone who 'needs' this type of simplicity (the average user) is gonna have a computer that isnt gonna blink at an extra 5-10 megs for another library... if youre computer is tight for space and youre hand selecting exactly whats in it then you probably already know what youre doing OR are willing to learn...

      sorry about all the run on sentences... this was a rushed thought but i wanted to get it out there.. even at the expense of looking like i have the grammer/punctuation of a 3rd grader... im in a rush right now..

      take care,
      - Frank

    2. Re:simplisity by Krunch · · Score: 1
      i believe that the next evolutionary step would be to say... (which is already implemented to some extent) let gentoo portage be able to emerge from .rpm or .deb files... NOT through some function of the portage program, rather through an exposed function of the rpm library...
      And what would that function do ? Turn the rpm into a Gentoo portage ? That would mean every package management system would have to support all other ones.
      --
      No GNU has been Hurd during the making of this comment.
  39. A GIMPy Answer. by Anonymous Coward · · Score: 0

    "To repeat the actual question, 'What's broken with Unix? How would you fix it?"

    It doesn't have a nifty name, and it's interface isn't like the leader

  40. There's only one thing wrong with UNIX: by gellenburg · · Score: 4, Funny

    Not everyone's running it.

    Laugh.

    It's a joke.

    1. Re:There's only one thing wrong with UNIX: by Anonymous Coward · · Score: 0

      Why bother laughing? It's the correct answer.

    2. Re:There's only one thing wrong with UNIX: by gomiam · · Score: 1
      "That's NOT funny!"
      *slaps gellenburg, who is tied to a chair, with a glove*
      *starts to ponder and starts laughing so much he keels over*

      Gotta love those Monty Python sketches.

  41. Hmmm how could unix be improved by Anonymous Coward · · Score: 0

    make it challenging, soft and cuddly, with lots of fire power!!

  42. The C language by lazy_arabica · · Score: 5, Insightful

    Yeah, I know that most *nix lover simply love it. But let's face it : this language, which is still the most important one in a unix environment, is really aging. It is possible to develop big software in pure C, but it takes much, much time, and the risk of introducing bugs and security flows is huge. Only the minimal low-level core of the system should be based on C ; the rest should be developed in a modern, high-level language.

    1. Re:The C language by Anonymous Coward · · Score: 0

      A: Your browser, your editor, your spreadsheet, your email client, perl, your operating system, your command line.

      Q: What programs are written in C/C++ ?

    2. Re:The C language by twiddlingbits · · Score: 1

      The risk of bugs/flaws in C is no more or no less than any other language. In fact, I'd argue the that a good C programmer can write just as good of code as a Java programmer. Last time I looked C ran faster than Java as there isn't the overhead of the JVM and all the other stuff in J2EE. If you really want kick butt performance you write it in Assembly code. Been there, done it..does ANYONE even learn Assembler in college these days? Doing Assembler lets you really learn how the processor architecture really works and take advantage of it in some cases.

    3. Re:The C language by Anonymous Coward · · Score: 0

      C99 and go back to perl ;)

    4. Re:The C language by Anonymous Coward · · Score: 0

      No, no one learns Assembly anymore! It's annoying! Ever take a look at a CS course at a major university? Bet you 10 bucks that the "intro to programming" course uses Java. A language which forces object-oriented coding (thus they learn OO before functional programming and moular programming) and manages their memory for them (thus they don't learn anything about memory). It's horrible.

    5. Re:The C language by the+eric+conspiracy · · Score: 1

      Well, sort of. The problem is not that C is aging, but rather the structure of UNIX and it's bindings make it hard to write in something else without using a C layer somewhere.

    6. Re:The C language by Anonymous Coward · · Score: 0

      I went to UMASS-Amherst and in my architecture class I was taught MIPS assembly language and even wrote a MIPS compiler and emulator in Java. :)

    7. Re:The C language by lazy_arabica · · Score: 1
      The risk of bugs/flaws in C is no more or no less than any other language.
      Hum. Low-level memory management (buffer overflows), no garbage-collecting (memory leaks)...
      In fact, I'd argue the that a good C programmer can write just as good of code as a Java programmer.
      If you were really smart, you could also write your softs directly in binary, but that would be counterproductive. Why not use the tools when they exist ?
      Last time I looked C ran faster than Java as there isn't the overhead of the JVM and all the other stuff in J2EE. I'm not a java fan. Have a look around, many other options exist.
    8. Re:The C language by upsidedown_duck · · Score: 1

      In fact, I'd argue the that a good C programmer can write just as good of code as a Java programmer.

      malloc and free. They are pretty much the only aspect of C programming that makes C programming suck.

      For writing straight forward programs, object-oriented programming is actually a drawback, except that Java doesn't have malloc and free.

      malloc and free suck.

      Did I mention that malloc and free suck?

      Just try to track down the source of the remaining memory leaks of a program...only to find it is quite hard to guarantee that memory isn't needed somewhere else because it was allocated inside an API call. It's just easier to leave the leaks in place. Is this good programming?

      I really don't like malloc and free.

      --
      -- "Makes Little Debbie look like a pile of puke!" - Moe Szyslak
    9. Re:The C language by myowntrueself · · Score: 1

      Its like the Church of the Subgenius thing on alcohol only it applies to C as well. IE;

      "You shouldn't code in C to solve problems; only to create them."

      --
      In the free world the media isn't government run; the government is media run.
    10. Re:The C language by Taladar · · Score: 1

      That isn't really a Unix Problem but the problem that the lowest common denominator for inter-language calls is still C. You have to replace that before you can seriously talk about removing C from the equation.

    11. Re:The C language by plasticsquirrel · · Score: 1
      Only the minimal low-level core of the system should be based on C ; the rest should be developed in a modern, high-level language.

      I agree entirely with you, but the design of *nix could hold that idea back. It is not a very hierarchical system, meaning that deciding which system programs should be written in C would prove very difficult. For instance, a *nix program such as true would be silly to not program in C. However, what about a robust GNU program such as bash?

      I have settled on the idea that at least graphical user-level applications should be programmed in a safer language. In addition, the number of system utilities should not be superfluous, and systems should have safe, minimalist defaults.

      --
      Systemd: the PulseAudio of init systems
    12. Re:The C language by cos(0) · · Score: 1

      The University of Texas at Dallas, which I attend, teaches MIPS assembly in its "Introduction to Digital Systems" course (CS 2310), as well as computer architecture (which is tightly coupled with assembly) in several other courses. Some of these courses are required for a CS major.

    13. Re:The C language by Skapare · · Score: 1

      Yes, C has its bugs and security holes. Yet some of the worst I've seen are done in Perl and Java. But I'm not going to place blame on the languages (because there are also plenty of programs in all of them that are done right). Much more of the blame belongs to the programmers, many of which can barely accomplish little more than the classic helloworld program in their language of choice (and they wouldn't even get that to work in C, but at least Perl and Java let these idiots become programmers).

      As for the time it takes, the answer is the one which I've been given for Java when I asked "what makes it so great?" ... "all the tools that have been created for it". So how well stocked is your C toolbox? Mine has plenty of tools. Maybe not as many as Java, but enough to make programming in C relatively fast, and reasonably safe.

      --
      now we need to go OSS in diesel cars
    14. Re:The C language by Anonymous Coward · · Score: 0
      C's "problems" that you allude to have more to do with compiler short-commings and programmer errors than language deficits.

      Java, Python, PHP and a miriad of other recent programming languages just plain suck from a readability standpoint. If I want to print something, I want the language to include a statement or i/o routine labeled "print" or "output" or some such, not some creative interpretation of keyboard symbols such as . Give the older langauges grief for lots of things, but they were "readable".

    15. Re:The C language by Tom · · Score: 2, Interesting

      Only the minimal low-level core of the system should be based on C ; the rest should be developed in a modern, high-level language.

      Nonsense. If you write the code that links hardware to software, you need a language that extends fully both ways.

      C may not be the best choice for applications anymore, I certainly agree. But for the OS core, there's simply no contender. The various proof-of-concept attempts to write an entire OS in C++ or Java, for example, are solid failures.

      --
      Assorted stuff I do sometimes: Lemuria.org
    16. Re:The C language by Anonymous Coward · · Score: 0
      Only the minimal low-level core of the system should be based on C ; the rest should be developed in a modern, high-level language.

      I'd say C and for slightly higher stuff C++,

      • The kernel
      • The kernel drivers
      • The base utilities (size & speed, gotta fit'em in a RAM disk..)
      • Various VMs (JVM, RubyVM, Parrot, Mono) - again for speed and platform reliability.
      Higher level stuff (especially services) should be done in Ruby, C#, Java, Perl6?, Haskell etc. Emphasis should be on targeting VMs/runtimes instead of CPU architecture (which will automatically have you using modern languages and their environments).
    17. Re:The C language by jsebrech · · Score: 1

      The risk of bugs/flaws in C is no more or no less than any other language. In fact, I'd argue the that a good C programmer can write just as good of code as a Java programmer.

      I understand C is your pet language, but that's just insane. What is a constant is the number of bugs per instruction for every programmer (this is supported by many studies). You use a language that requires 10 instructions to do a task, you'll have 10 times bug rate bugs in your resulting code. You use one that requires a 100, you'll have 100 times bug rate, hence more bugs. The benefit of java is that it does a lot for you. You get memory management that works and is incredibly simple to use (so simple you can avoid learning about how it works and still write decent code). You get easy object orientation without having to "roll your own". You get an extremely rich set of supporting libraries (more so than C). As a result, you need less code in java to do the same job. Less code == less bugs. It's that simple.

      Last time I looked C ran faster than Java as there isn't the overhead of the JVM and all the other stuff in J2EE.

      That may be true, but it does not matter. Performance is just not that important in most large programming projects. The reason is that programmer time is orders of magnitude more expensive than processor time, so if you can offload effort from the programmer onto the CPU, it's good business. That's why java and visual basic are such hits in the business world. They let you do more work with less human effort.

    18. Re:The C language by twiddlingbits · · Score: 1

      Perormance is NOT important? Now that IS insane. To handle a large transaction volume any application has to have been designed with SOME performance goals. The web response time for Internet applications is usually set at a 7 second maximum so the code has to be allocated some of this time and must perform to that allocation. In some cases, such as hard real-time systems performance is life and death, in that domain the language you chose DOES matter just as does the hardware and the algorithm). I did some studies about 5 yrs ago that showed C outperformed C++ and Ada by 40% in real-time benchmarks. If you don't trust yourself/your programmers in using malloc and free for a large application, just write your own garbage collector/memory manager that wraps the calls just like Java does. It's not that hard. Also, depending on the OS, you can use that built in memory manager and call it instead. If you want the benefits of OO and are willing to take some performance hits, then C++ is a decent choice. I've yet to see a Java based real-time system, primarily because there are certain things about the language that are non-deterministic (garbage collection comes to mind). If your systems does not have hard deadlines then just about any language that is maintainable could be used, so pick your favorite.

    19. Re:The C language by lachlan76 · · Score: 1

      I thought Darwin was C++?

    20. Re:The C language by lems1 · · Score: 1

      Darwin is mostly Objective-C and C

      --
      This sig can be distributed under the LGPL license
    21. Re:The C language by plague3106 · · Score: 1

      You use a language that requires 10 instructions to do a task, you'll have 10 times bug rate bugs in your resulting code. You use one that requires a 100, you'll have 100 times bug rate, hence more bugs. The benefit of java is that it does a lot for you.

      I fail to see how this is valid; so you write less code, but whoever programmed Java still had to write those 10 lines somewhere..and the fact is he may have a higher bugrate then myself.

  43. Whats broken with unix? by mgv · · Score: 2, Informative

    Its hard to pinpoint anything specific that is broken with unix as a whole.

    But there are lots of subsystems that aren't exactly perfect.

    Examples that come to mind:
    *File permissions only go to user/group/others rather than individuals, and poor record locking on network shares. Lack of automounting as an intrinsic feature of the operating system.

    *Windowing subsystems that network, but cant handle 3d networked graphics effectively, or support the more advanced hardware features of graphics chips locally particulaly well.

    *Software packaging systems that develop conflicts. (Probably more of a linux problem, actually)

    - I am aware that all of these have workarounds or are being worked on -

    The kernel of most unix's (and, for that matter linux) are fairly well tuned to a variety of things, although they are subject to a number of internal revisions to try and do better multi tasking & multiple processor scaling, for example.

    Where these systems will probably fail the most is when the underlying hardware changes alot - for example handling larger memory spaces and file systems, or perhaps even moving to whole new processes (eg., code morphing cpu's such as transmeta's, asynchronous cpu's). These designs are quite radically different and we have developed down a specific cpu/memory/harddrive model so far that its quite difficult to look at major changes, as they aren't as easily supported by the operating systems.

    Just my 2c, and from a fairly casual observer status - it would be interesting to hear what the main developers think on all of this.

    Michael

    --
    There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    1. Re:Whats broken with unix? by DanteLysin · · Score: 1

      >>File permissions only go to user/group/others rather than individuals, and poor record locking on network shares. Lack of automounting as an intrinsic feature of the operating system.>>

      File permissions can go beyond user/group/other. Please read up on ACL's.

      Lack of automounting? Granted, I don't work with every single flavor of UNIX, but my Solaris, AIX, and HP-UX systems run automount.

      10 years ago, I might have agreed with you.

    2. Re:Whats broken with unix? by ratboy666 · · Score: 1

      1 - user is an individual -- and each link can have a different owner.

      2 - 3D and acceleration supported very well, including multiple render pipes. From day 1 as part of X design. (and X was the POOR choice). X also supports different visuals for each window. For example, 24 bit colour in one window, and 8 bit colour in another on the same screen IF YOUR HARDWARE CAN DO IT.

      3 - Sure, packaging conflict is a problem

      4 - Unix is VERY scalable - from single desktop to 64 way SMP, from 4MB to Gigabyte memory. From 68K to 64 bit processors. And, yes, it includes code morphing (HP-UX).

      No it isn't perfect, but it sucks less.

      Ratboy.

      --
      Just another "Cubible(sic) Joe" 2 17 3061
    3. Re:Whats broken with unix? by hklygre · · Score: 1
      *Windowing subsystems that [cant] support the more advanced hardware features of graphics chips locally particulaly well.

      Our SGI Onyx 3200 with one InfiniteReality 3 graphics pipe disagrees. As does our SGI Onyx 4 UltimateVision with four ATI Radeon-based SG2 graphics cards - running XFree86 on Irix, no less.
    4. Re:Whats broken with unix? by mgv · · Score: 1

      No it isn't perfect, but it sucks less.

      No argument with me there. Its always dangerous posting problems with *nix on /. but that is on topic in this thread. And I would not be saying that I think there is a significantly better alternative overall. However, a few vendors have put some nice additions onto *nix (eg apple with its UI) which does suggest areas where there might be room for improvement. (Not that you will ever find a single perfect user interface for everyone - some subset will always want a different functionality for some reason)

      Michael

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    5. Re:Whats broken with unix? by FooBarWidget · · Score: 1

      "*Windowing subsystems that network, but cant handle 3d networked graphics effectively, or support the more advanced hardware features of graphics chips locally particulaly well."

      OpenGL is network transparent.

  44. mmap by blaster · · Score: 2, Interesting

    I know that a lot of people think it is a great thing, but it is really problematic. It makes great sense on systems that have fixed disks, but once you start having transient filesystems (network filesystems or removable drives) it becomes a real problem. If a filesystem is removed then programs may segfault since the mapping disappears. All other entry points for this sort of thing fail at a system call (read or write) which allows for graceful recovery. Conceivably the OS could inform the user or insert a zero filled backing, but that could lead to data corruption.

    This is a particularly bad problem for desktop systems, where the users are not experts. For server or cluster systems it is not an issue.

    1. Re:mmap by pclminion · · Score: 2, Informative
      Why can't you gracefully recover from a lost mmap? Set a handler for SIGSEGV. If you get a fault, check the faulting address. If the address is within an mmap'd region, longjmp() to a recovery point. This can be made quite clean.

      I don't think the solution is to start removing functionality. The solution is to use that functionality in the correct way. A program can receive a signal at any time. This is a cold, hard fact. If your program uses operating system features that could lead to exception conditions and signals, you should handle those signals appropriately.

    2. Re:mmap by Anonymous Coward · · Score: 0

      mmap() is for those who don't know how to read() and write()

    3. Re:mmap by hey · · Score: 1

      Take a look at the
      The Windows version of mmap. Are mmap is nicer.

    4. Re:mmap by Anonymous Coward · · Score: 0

      Actually, I think that the really issue here is that there is no standard way to notify applications that a mapping has been revoked.

      I would argue that Unix's biggest limitation is its rather poor support for asynchronous notifications.

    5. Re:mmap by frankm_slashdot · · Score: 1

      kudos...

      programmers need to start being taught how to use the facilities of operating system to not only do great things... but how to also use those same facilities to properly recover from errors - as opposed to just complaining about how their program segfaults.....

      better programers. thats what unix needs.

    6. Re:mmap by blaster · · Score: 1

      The problem is libraries. A lot of libraries use mmap (think image loading libraries). It is generally not wise to use signal handlers since they can get stomped by the main program installing signal handlers.

    7. Re:mmap by Anonymous Coward · · Score: 0

      You do know you are talking about the system for mapping file contents into memory right? You do know this equates with the dispersing of the architecture of an executable into it's deliberate portions and doing the dirty with it, amongst less
      excruciating things?

      What you are talking about is out of the system, away from the core of mmap, and about unreliable
      information and how to deal with unreliable information. SIGSEGV may be a cop out but it is simpler than dealing with 'n' permutations on a case by case basis, in kernel code no less.

    8. Re:mmap by Taladar · · Score: 1

      So we need a better system for signal handlers (or signals) not the removal of a very useful system call.

    9. Re:mmap by Skapare · · Score: 1

      mmap() is for those that want to be able to read data with only one copy in RAM for all the many processes that might need it. My first web shopping cart program, written in 1996, in C, needed access to a 450 MB inventory data file. The file was structured similar to a B-tree for efficiency, but still any one web request would typically touch 8 to 12 pages of the data. With potentially thousands of requests a minute, and only 256 MB of RAM on the machine at the time, doing it via mmap() made sense. If every process had to read() pages, the working set size would be a lot larger. By sharing the RAM occupancy between processes, instead of duplicating it, the capacity of the server was greatly increased.

      --
      now we need to go OSS in diesel cars
    10. Re:mmap by Skapare · · Score: 1

      I would consider it a flaw that a mapping can be revoked at all. What happens to a file descriptor under similar circumstances? Is it revoked, too? It would have to be. And that can leave a sloppy program equally confused. So it's not really an mmap() issue. The asyncronous notifications is based on the signal model, which is a bit weak. A message model might have been better.

      --
      now we need to go OSS in diesel cars
  45. User Friendly by DaFallus · · Score: 2, Insightful

    That is part of the problem right there. All of you are talking about a lot of complex issues that the common user knows absolutely nothing about, and no one has mentioned this. How about making it intuitive and simple enough so that my grandmother could use it. Maybe then you'd see more people using it than Windows...

    --
    No one cares what your captcha was

    Houston TX, USA
    1. Re:User Friendly by millahtime · · Score: 3, Informative

      It already exists and is called OS X

    2. Re:User Friendly by DaFallus · · Score: 1

      Too bad OSX isn't free, and the hardware required to run it is more expensive than PC hardware.

      --
      No one cares what your captcha was

      Houston TX, USA
    3. Re:User Friendly by the+eric+conspiracy · · Score: 1

      UNIX isn't free either.

    4. Re:User Friendly by Krunch · · Score: 1

      Maybe you should try and install Ubuntu on your grandmother's computer.

      --
      No GNU has been Hurd during the making of this comment.
    5. Re:User Friendly by Goo.cc · · Score: 1

      In my opinion, part of the problem is that too many people are more concerned with making Unix grandma-friend than making Unix work well. I'm sorry but could care less if Unix is "user friendly".

  46. Wrong by Anonymous Coward · · Score: 0

    In what way does SCOG own unix? They bought a license to sell a version of it and give 95% of the revenue to Novell. And Novell doesn't own the name.

    Having said the above however, you do point to a heretofore problem with unix. There were various vendors and flavors of unix. Unix will become open source and standardized. All unix will become posix compliant and everything will be good. (a guy can dream can't he?)

  47. Simple... by andreMA · · Score: 3, Funny
    PROBLEM: SCO exists
    SOLUTION: 2 MT airburst over Lindon, UT

    Oh, with UNIX, not for UNIX. Never mind.

    As you were.

  48. Help by Anonymous Coward · · Score: 0

    The help system is one thing Windows XP does better than Linux. Now if I could just get my wife to click on Start/Help instead of calling me up at work and asking me how to use the computer, we'd be all set...

  49. One word... by ratta · · Score: 0

    X11

    --
    Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
    1. Re:One word... by Blrfl · · Score: 1

      Not part of Unix.

      Next, please.

  50. Re:you mean those guys that had their things cut o by Anonymous Coward · · Score: 0

    so Darl Mcbride is a eunuch?

  51. Can Never Surf the Pervasive Wave by LordMyren · · Score: 1

    theres no groundwork to allow Unix to surf the pervasive wave. instead there's only huge ancient walls which people have been waving their hands at for decades. the wall hasnt noticed. unix is a perfect multi-user base, except one flaw.

    X needs a way to allow applications (wm's) to discern the source of input. Built off this core, window managers or X itself can hack solutions to craft "multiple cursors". (Ultimately the window manager is going to have to get deeply involved with this policy; I think the best solution is to simlpy expose the source of input and have the window manager hold state for each input-source and manipulate the single corepointer, "faking" multiple pointers. this prevents X from having to deal with drawing&policy (which is the wm's domain)). Currently the best interaction you can get is to mux together your inputs into one keyboard/mouse pair.

    The multiple pointers in X problem has been around for a while, but no ones been able to crack it. X was simply never meant to have more than one cursor, never meant to assuming anything past a single keyboard and mouse.

    The one plight of this solution is that every X input event would have to pass through the window manager, which I imagine is expensive.

    synergy allows you to share input devices between computers (even cross platform) but the next logical step is missing.

    All we need is some way to see the physical source of each input event.

    There's no bigger achilles heel.
    Myren

    1. Re:Can Never Surf the Pervasive Wave by cynicalmoose · · Score: 1
      It's not just that, different X implementations respond in different ways.

      For instance, when given a key held down, there are several different ways of responding:

      Give a key down event, then give a key up event when key finally released

      Give a series of key down events, possibly with a final key up event

      Give a series of key down events followed by key up events

      (Crash) - Unlikely, but has been known
      Fine, you may say, each designer has chosen their preferred method. Not fine, if you want to tell your users "hold this key down", and you want the same action for all the systems. The real way that unix is broken is that it's broken up into little parts, and each implementation is different, which is a nightmare for giving users a coherent interface with coherent actions, and a nightmare to get your program to run on every variant, without a lot of lowest-common-denominator code.

      --
      Exercise your right not to vote. thinkoutside.org
  52. 1. See unix hater's handbook by Anonymous Coward · · Score: 0

    Note that it contrasts unix to high-end systems of the day (i.e. Lisp Machines). Windows is even worse than unix, hence it did even better (by some metrics).

    Top of my list: hierarchical filesystem. The Relational Revolution happened, DEAL WITH IT. Hierarchical databases are appalling for data organisation. They should be available as a speed optimisation, but the core filesystem of a next-gen system should be post-hierarchical. My Lords of Acid mpgs should be in "hot" and "dance"... AND I should be able to "ls -x" and AT LEAST SEE that a particular mpg is in BOTH "hot" and "dance".

    Most of the problems with application packaging come from the fact we have an assinine hierarchical system on unix - any reasonable system would have application binaries in /bin and in /appdir , with a categoric, relational or at least freaking set-theoretic file system.

    Break FREE of hierarchical thinking.

  53. Here's a start: by Slack3r78 · · Score: 5, Interesting

    The Unix Hater's Handbook

    Yes, the link is hosted on MS servers, but before you ignore it for that, at least notice that the forward is by Dennis Ritchie and it was contributed to primarily by Unix geeks. It's about 10 years old, but large portions of it are still relevent today.

    1. Re:Here's a start: by Zeinfeld · · Score: 4, Insightful
      Yes, the link is hosted on MS servers, but before you ignore it for that, at least notice that the forward is by Dennis Ritchie and it was contributed to primarily by Unix geeks. It's about 10 years old, but large portions of it are still relevent today.

      I think most of us on the Unix Haters list were Lisp machine or VMS hackers who were pretty upset that a piece of utter crap was winning the O/S standards wars at the time.

      The forward by Dennis is actually an anti-forward, more of a backward. At the time he was working on Plan-9 which takes all the best ideas from UNIX and junks them, leaving only the unrefined crud that is best ignored.

      The book is somewhat uneven in its criticisms, I don't think that the gripes abous X-Windows hit the mark as well as when they are explaining the file systems lossage.

      Ultimately the problem with Unix is that it is built the way that cars used to be built before Henry Ford, its a computer O/S for folk who like to spend their time tinkering with their system and like endless opportunities for low grade intellectual stimulation because thats an end in itself for them.

      Unix still has the same major architectural deficiencies. The inter process communication is not up to much, the concurrency model is weak, the user interface is eratic and there is no consistency. Documentation is a complete joke.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    2. Re:Here's a start: by Anonymous Coward · · Score: 1, Informative

      It was NOT written primarily by "Unix geeks" -- it was written primarily by Lisp Machine geeks.

    3. Re:Here's a start: by myowntrueself · · Score: 1

      "At the time he was working on Plan-9 which takes all the best ideas from UNIX and junks them, leaving only the unrefined crud that is best ignored."

      ewwwww sounds like INTERCAL made into an operating system!

      --
      In the free world the media isn't government run; the government is media run.
    4. Re:Here's a start: by Taladar · · Score: 4, Insightful
      Documentation is a complete joke.
      So which do you prefer? Unix Man Pages that contain all there is to know about a certain app in a not quite end user refined form or Windows Assistants ("Did you plug in the Cable?" - "Yes" - "Then I can't help you - call your vendor") and cryptic error codes?
    5. Re:Here's a start: by FuzzyBad-Mofo · · Score: 3, Funny

      That reminds me of my favorite Windows error message:
      Windows - Application Error
      The instruction at "0x00403759" referenced memory at "0x202c7971". The memory could not be "read".
      Click OK to terminate the program.

      The quotes around "read" are what really cracks me up. What can I say, I'm easily amused. Bring on the guru meditation, baby! ;)

    6. Re:Here's a start: by Anonymous Coward · · Score: 0

      Do I have to choose? Calling something crap does not imply that an alternative implementation is not also crap.

    7. Re:Here's a start: by spectecjr · · Score: 4, Insightful

      So which do you prefer? Unix Man Pages that contain all there is to know about a certain app in a not quite end user refined form or Windows Assistants ("Did you plug in the Cable?" - "Yes" - "Then I can't help you - call your vendor") and cryptic error codes?

      I prefer MSDN. Call me when Unix has something that even approaches the ease of use and the amount of readable samples, explanations etc. of key APIs.

      And no, the System V paper manuals don't count.

      --
      Coming soon - pyrogyra
    8. Re:Here's a start: by br00tus · · Score: 1
      MSDN? I know a little something about programming for MS-DOS - closesocket() not close() and that sort of thing. But the Windows GUI I did not, so I went to MSDN to try to figure out how to do a simple "Hello world!" in Windows (Windows, not DOS - I already said I know that).

      "Call me when Unix has something that even approaches the ease of use and the amount of readable samples, explanations etc. of key APIs. And no, the System V paper manuals don't count." - ha! Call *me* when MSDN can put up some simple information on how to do a "hello world" program in Windows. God forbid you want to use multiple windows which are tabbed or something.

      Please take this person's notion that MSDN is world's above what Linux or some other UNIX has with a grain of salt. Also, docs.sun.com and sunsolve.sun.com have always worked adequately for me.

    9. Re:Here's a start: by Anonymous Coward · · Score: 0

      This is really biased. So, all man pages contain all necessary info and all windows help is useless? Give me a break. There are plenty of man pages that just suck. There are plenty of windows help items that are helpful. UNIX may have better docs, but if it does, it certainly has little to do with your example, which is just bias at its best.

    10. Re:Here's a start: by SewersOfRivendell · · Score: 1
      Unix Man Pages that contain all there is to know about a certain app in a not quite end user refined form

      That's rich. Do you use some form of Unix? For every man page with 'all there is to know,' there's an equal and opposite man page with 'not much at the time it was written in 1988, and never kept up to date'.

    11. Re:Here's a start: by DeputySpade · · Score: 1

      Ultimately the problem with Unix is that it is built the way that cars used to be built before Henry Ford, its a computer O/S for folk who like to spend their time tinkering with their system and like endless opportunities for low grade intellectual stimulation because thats an end in itself for them.

      Holy Freaking Crap! Mod Parent Up! This is the answer to all those whiners complaining that we need to "make Linux easier for the windows guys if we ever want it to become mainstream". This is the most clearly stated and well spoken version of what I have been trying to say that I have seen all day.

      --


      This space intentionally left blank
    12. Re:Here's a start: by Yosho · · Score: 2, Insightful

      Out of curiosity, what UNIX man page would I go to to learn how to write a GUI "hello world" program in that environment?

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
    13. Re:Here's a start: by line-bundle · · Score: 1

      So which do you prefer? Unix Man Pages that contain all there is to know about a certain app in a not quite end user refined form or Windows Assistants ("Did you plug in the Cable?" - "Yes" - "Then I can't help you - call your vendor") and cryptic error codes?


      I think you are falling for the fallacy of false dilemma here. There are other choices in documentation besides man pages of windows (e.g. gnu info etc...)

    14. Re:Here's a start: by spectecjr · · Score: 2, Informative

      Call *me* when MSDN can put up some simple information on how to do a "hello world" program in Windows. God forbid you want to use multiple windows which are tabbed or something.

      Sure. In fact here's two.

      Generic Windows Hello World program (in C)

      Alternatively, how about this one... Hello World for Win32

      There you go.

      Please take this person's notion that MSDN is world's above what Linux or some other UNIX has with a grain of salt. Also, docs.sun.com and sunsolve.sun.com have always worked adequately for me.

      While you're at it, you might also want to question the person I'm responding to, who apparently can't search their way out of a paper bag.

      --
      Coming soon - pyrogyra
    15. Re:Here's a start: by Art+Tatum · · Score: 1
      The quotes around "read" are what really cracks me up.

      Me too. It reminds me of Dr. Evil.

    16. Re:Here's a start: by FuzzyBad-Mofo · · Score: 1

      Oh, you do the double quote thing with your fingers when you read that too? Glad I'm not the only one! ;)

      Now for world domination with my giant "laser"..

    17. Re:Here's a start: by KiloByte · · Score: 1

      Even better, in the polish version, "read" is left untranslated.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    18. Re:Here's a start: by QuestorTapes · · Score: 1

      As others pointed out, man pages tend to have major defects and inaccuracies covered by disclaimers like "this isn't being maintained" or "see info/html/other".

      In addition, a huge amount of Unix documentation lacks structure. There is a huge amount of raw data, but no tables of contents (or at least no -accurate- ones), and poor or nonexistent indexes.

      A lot of Unix documentation tends to address the esoteric needs of the few, and ignores the more common needs of the many.

    19. Re:Here's a start: by SprayThought · · Score: 0

      Sunsolve comes to mind

    20. Re:Here's a start: by br00tus · · Score: 1
      While you're at it, you might also want to question the person I'm responding to, who apparently can't search their way out of a paper bag.

      As I said, I've already looked over this stuff on MSDN. Perhaps you missed where I said I'm looking for "simple information". I already said I looked over this information and found it was not simple (e.g. fairly complex) for a simple hello world program. Since I said I already looked over it, I don't know why you make the assumption that I have not already looked over it, and then post a link to it saying I don't know how to search for it. I said I couldn't find a simple explanation, not that I couldn't find an explanation. You're going off on a ridiculous tangent. Perhaps you could have assumed I don't know how to compile instead of assuming I don't know how to find Microsoft's byzantine hello world for Windows program. The problem is not that I can't find it, which I did, a long time ago, but that the information is as much, if not more, opaque and confusing then one would find looking for this information on UNIX You said

      I prefer MSDN [microsoft.com]. Call me when Unix has something that even approaches the ease of use

      I do not find what you linked to "easy to use". The first page you linked to says "This section assumes that you have used Windows-based applications and therefore are already familiar with windows, menus, and dialog boxes in Microsoft® Windows®." Well, I'm not familiar with any of that, that's why I was looking for a "Hello world" sample (as I said before, I am somewhat familiar with MS-DOS programming, not Windows programming). So then I click on the GENERIC.C program and get a 189 line program to make Windows do a hello world. If not for copyright I'd post it all here to show how long it is for such a simple thing. This fits neither my "simple" standards, nor do I think it is more of an "ease of use" than Windows.

      You seem to be missing the point. I could find the example. If one spent enough time rooting around the byzantine MSDN and messing around, one could eventually understand what everything in the code example meant. This is not in dispute. The question is whether MSDN and Microsoft is much more of an "ease of use" than UNIX alternatives as you state. I would say it is not.

    21. Re:Here's a start: by spectecjr · · Score: 1
      As I said, I've already looked over this stuff on MSDN. Perhaps you missed where I said I'm looking for "simple information". I already said I looked over this information and found it was not simple (e.g. fairly complex) for a simple hello world program. Since I said I already looked over it, I don't know why you make the assumption that I have not already looked over it, and then post a link to it saying I don't know how to search for it. I said I couldn't find a simple explanation, not that I couldn't find an explanation. You're going off on a ridiculous tangent. Perhaps you could have assumed I don't know how to compile instead of assuming I don't know how to find Microsoft's byzantine hello world for Windows program. The problem is not that I can't find it, which I did, a long time ago, but that the information is as much, if not more, opaque and confusing then one would find looking for this information on UNIX You said

      Which part of the documentation are you finding hard to understand?

      The Entry-Point Function

      Every application must have an entry-point function. The name commonly given to the entry point is the WinMain function.

      As in most Windows-based applications, the WinMain function for the Generic application completes the following steps:

      • Registering the window class
      • Creating the main window
      • Entering the message loop

      Registering the Window Class

      Every window must have a window class. A window class defines the attributes of a window, such as its style, its icon, its cursor, the name of the menu, and the name of the window procedure.

      The first step is to fill in a WNDCLASS structure with class information. Next, you pass the structures to the RegisterClass function. The Generic application registers the GenericAppClass window class as follows:
      code sample elided

      Creating the Main Window

      You can create the window by calling the CreateWindow function. The Generic application creates the window as follows:

      code sample elided

      The first parameter is the name of the class that we registered. The remaining parameters specify other window attributes. This call creates the window, but the system does not display a window until the application calls the ShowWindow function. The Generic application displays the window as follows:

      code sample elided ... and so on

      What's hard about that? If you want a much simpler one, you could just do a call to MessageBox() - but frankly, that's NOT a "hello world" program. You might as well be demanding a console-mode printf("Hello World"); - the point of a "Hello World" is to teach you how to use the platform you're trying to use. This being a GUI platform, requires much more code than a command-line platform's equivalent.

      Would you care to provide the equivalent in X? Or KDE? Or Gnome? Or any other Linux GUI? That way we can compare "simplicity".

      do not find what you linked to "easy to use". The first page you linked to says "This section assumes that you have used Windows-based applications and therefore are already familiar with windows, menus, and dialog boxes in Microsoft® Windows®." Well, I'm not familiar with any of that, that's why I was looking for a "Hello world" sample (as I said before, I am somewhat familiar with MS-DOS programming, not Windows programming).

      So you can't read. Big deal.

      It assumes that you have USED Windows based applications. Heck, you've used LINUX based applications, I'm sure that you've not been running IBM370 terminals for the past 20 years - you HAVE experience using a GUI. If you're claiming you haven't, you're either very very insular, or are lying.

      So then I click on the GENERIC.C program and get a 189 line program to make Windows do a hello world. If not for copyright I'd post it al

      --
      Coming soon - pyrogyra
    22. Re:Here's a start: by Anonymous Coward · · Score: 0

      Um. Have you looked at sections 2 and 3 of man? Detailed descriptons of system calls, libc calls, etc...

      Also, given packages might have info pages that are very helpful.

      Another API guide I also like is that for GTK+. The HTML manuals are very helpful -- they kind of remind me of Sun's JavaDoc, only, of course, they're for C functions.

    23. Re:Here's a start: by Anonymous Coward · · Score: 0

      I don't know about manpages, but there are plenty of resources online for learning various X toolkits. Gtk+ is the one I know must about, and I can say that gtk.org is a very helpful resource. They have API specs and even a tutorial. The tutorial also has Hello World.

      So, if you want to write a Gtk+ application and you have no idea how, all you have to do is go to gtk.org. I'm sure that there are similar resources at trolltech.com (the company that makes Qt), gnome.org, kde.org, and any other toolkit you can mention.

      It may not be a manpage, but it's about as straightforward as going to MSDN, if not moreso.

    24. Re:Here's a start: by Zeinfeld · · Score: 1
      As others pointed out, man pages tend to have major defects and inaccuracies covered by disclaimers like "this isn't being maintained" or "see info/html/other". In addition, a huge amount of Unix documentation lacks structure. There is a huge amount of raw data, but no tables of contents (or at least no -accurate- ones), and poor or nonexistent indexes. A lot of Unix documentation tends to address the esoteric needs of the few, and ignores the more common needs of the many.

      The big problem is that technical writers were not part of the design process. So nobody ever said 'make that command easier to explain'.

      The UNIX manuals only describe low level commands. There is no documentation that follows the sequence problem - solution or anything close. And anyone who complains is simply told that they are cretins/idiots/fools/etc. just for asking. To make matters even worse the commands are often intentionally obscure.

      The most important job of an operating system is providing a user interface. So these are not minor problems that can be ignored.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    25. Re:Here's a start: by hesiod · · Score: 1
      > Would you care to provide the equivalent in X?

      Here's one for GTK. Nowhere near as complex as the Windows example, but certainly harder than just text:
      #include <gtk/gtk.h>
      int main (int argc, char *argv[]) {
      GtkWidget *window;
      GtkWidget *label;
      gtk_init (&argc, &argv);
      window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
      gtk_container_border_width (GTK_CONTAINER (window), 10);
      label = gtk_label_new ("Hello World");
      gtk_container_add (GTK_CONTAINER (window), label);
      gtk_widget_show (label);
      gtk_widget_show (window);
      gtk_main ();
      return 0;
      }
    26. Re:Here's a start: by spectecjr · · Score: 1

      If you're going to do it that way, I can do the same thing. Or alternatively, I can just use a dialog resource and do it in one line of code:

      #include
      #include "resource.h"

      void WinMain(...whatever...) { ::ShowDialog(IDD_HELLOWORLD);
      }

      --
      Coming soon - pyrogyra
    27. Re:Here's a start: by hesiod · · Score: 1

      Admittedly, I just copied & pasted that and know nothing of GTK programming, so I don't understand why your rebuttal is brilliant :)

      Is it because of the choice of includes or because of actual functionality?

    28. Re:Here's a start: by spectecjr · · Score: 1

      Admittedly, I just copied & pasted that and know nothing of GTK programming, so I don't understand why your rebuttal is brilliant :)

      Is it because of the choice of includes or because of actual functionality?


      Well, the thing is, they're all different ways of doing the same thing.

      The standard Windows Hello World app creates a window from scratch, and displays text in it by hand. Which is useful if you want to learn the hard core of the framework.

      The GTK app you displayed, creates a standard frame window, with a standard label control in it, and displays it. Which is OK, but is one step removed - you don't have to handle any of the underlying stuff, and you don't learn any of the nitty gritty from it. Might as well have written it in MFC.

      I took it one step further, and decided I could do the same by visually building a dialog and putting a text control on the dialog - that way I don't even need to write code to build it (the way the GTK sample does) - all I need is the code to show the dialog. But that hides even more implementation info.

      Heck, I could even go one better, and replace it all with a call to MessageBox, which just displays a message in a popup window with an OK button to dismiss it.

      The question is - what are you trying to learn from the Hello World sample? How the framework works? Or how to build a really really simple (but nearly completely useless) window? Or how to use the MessageBox API - which is nearly entirely useless (but is often given today as the standard Hello World for Windows because so many people complained that it wasn't as simple as the C one.)

      I like the Windows one - if you work through it, it gives you nearly all of the basics you need to get up and running with Win32 GUI code, and gives the basis to create pretty much ANY app you want.

      All of the other samples we've gone over don't give you anything close.

      --
      Coming soon - pyrogyra
  54. insecure installation by Anonymous Coward · · Score: 0

    I realize this isn't a standard part of Unix, but as far as I know, none of the Unix/Linux package installation systems makes an effective attempt to enforce limitations on the effects of a broken or malicious installation.

    Many essential packages (whether RPM, Debian, Solaris, or the traditional untar, ./configure, ./install) assume the install will run as root, even if the actual installed programs are scrupulous about permissions and security. If you're even middling paranoid about security, this is a nightmare!

    A related problem is that there's no guaranteed clean way to remove packages. Yes, they generally do uninstall cleanly, but again that's because the packagers generally do a good job of it. Certainly the Unix Way is better than throwing everything into a big database (read: Registry), but there need to be clean (and enforced!) interfaces that obviate the need to for multiple packages to fiddle with each other's files.

  55. Duh! by Anonymous Coward · · Score: 0

    That's a problem with the standard C library, not with Unix. Personally, I'd like to see strcat, strcpy, etc. removed and everyone forced to use the length-checked counterparts (e.g. nstrcat, nstrcpy, etc.)

    1. Re:Duh! by Anonymous Coward · · Score: 0

      Yeah, I just wanted to blame something on UNIX!

  56. 8-bit UI unusable in a 32-bit world by RomSteady · · Score: 3, Insightful

    UNIX and the various shells were designed for when every keystroke counted due to memory constraints and the painful experience of working at a teletype.

    As a result, we've got upper- and lower-case flags doing completely different operations (-r and -R for "remove" and "restore," for example), we've got case-sentitive filenames which just make it so easy to tell the difference between "Index," "iNdex," "inDex," "indEx" and "indeX."

    UNIX was designed when plain text was king and the only nudies you ever saw were ASCII art.

    As a result, there's no way from looking at the filename to tell what program the file should be processed with.

    UNIX was designed under the guidelines of "do one thing well, do it quickly and get out of memory."

    Those design decisions permeate UNIX and the *NIX community even today. When I read the newsgroups, I still see tips on how to do things that involve piping a file through 17 filters to do something that can be done on Windows with four mouse clicks.

    So how would I fix these problems?

    1) Make filenames and command flags case-insensitive. The few cycles you spend doing case comparisons will quickly pale in comparison to the time savings you experience in tech support situations where a touch typist accidentally hits space too soon and types "emacS."

    2) Several files that do not have extensions usually have some information about their default parser in line #1. Either parse it, or start using file extensions in *NIX.

    3) Start making UI's that only initially expose the 20% of the UI that 80% of people will use. There's no reason for a CD-burning package to have a checkbox on the main screen about verifying post-gap length for 99% of the people in the world.

    Anyway, that's my opinion.

    --
    RomSteady - I came, I saw, I tested. GamerTag: RomSteady / http://www.romsteady.net
    1. Re:8-bit UI unusable in a 32-bit world by Anonymous Coward · · Score: 1, Interesting

      there's no way from looking at the filename to tell what program the file should be processed with. And there shouldn't be! File extensions is an ugly hack that MS stole from CP/M. The problem is, there is no mechanism to guarantee that two different pieces of software are not using the same extension, meaning you get the wrong default parser! That's what MIME was designed for; why not simply associate a MIME type with every file? Even Microsoft is backing away from the use of extensions now, and switching to GUIDs registered in the registry, which at least are PROBABLY unique.

    2. Re:8-bit UI unusable in a 32-bit world by Anonymous Coward · · Score: 0

      > 1) Make filenames and command flags case-insensitive.

      Easy in Ascii/English hard to impossible in other languages. There exist languages in which the correct upper and lower case characters for the same letter vary with context or have some other complex behavior, so making this kind of thing impossible to do well. I suppose one could futz about with unicode normal forms or something but it's very unlikely to work in a predicatble manner precisely /because/ we don't live in an 8 bit ASCII world but have to deal with the whole spectrum of langauges and alphabets.

      2) Several files that do not have extensions usually have some information about their default parser in line #1. Either parse it, or start using file extensions in *NIX.

      I've seen plenty of file extensions in UNIX - all the modern desktop environments use file extensions to map onto MIME types which are used to determine the correct application to launch. There's no real reason a shell couldn't do this either. (if we're looking for ideal solutions, the MacOS approach, letting the filesystem deal with metadata and keeping the filename clean has always seemed cleaner)

      > 3) Start making UI's that only initially expose the 20% of the UI that 80% of people will use

      GNOME does this quite effectively.

    3. Re:8-bit UI unusable in a 32-bit world by eobanb · · Score: 1

      Mac OS X is, I think, what you're looking for.

      1. The Journaled Hierarchical File System, or HFS+J, is case-insensitive by default.

      2. Mac OS X, ironically, uses extensions quite gratutiously. Plus there's legacy resource forks and other metadata. Finally, in truly modern file formats, XML is helping a lot with this.

      3. Mac OS X's UI pretty much speaks for itself on this one, I think. I agree with you; less is more.

      --

      Take off every sig. For great justice.

    4. Re:8-bit UI unusable in a 32-bit world by the_2nd_coming · · Score: 0, Flamebait

      dude.. piping is a ton more powerful than windows clicks.. get over your GUI elitism.

      --



      I am the Alpha and the Omega-3
    5. Re:8-bit UI unusable in a 32-bit world by the_2nd_coming · · Score: 1

      leave it to MS to use a new method that they invent to do the same thing that another method does quite well and then integrate it into the kludge of the registry.

      --



      I am the Alpha and the Omega-3
    6. Re:8-bit UI unusable in a 32-bit world by ockegheim · · Score: 1
      1) Make filenames and command flags case-insensitive. The few cycles you spend doing case comparisons will quickly pale in comparison to the time savings you experience in tech support situations where a touch typist accidentally hits space too soon and types "emacS."

      Apple adapted Darwin to work with the HFS+ filesystem, which isn't case sensitive, so it must be possible.

      --
      I’m old enough to remember 16K of memory being described as “whopping”
    7. Re:8-bit UI unusable in a 32-bit world by Anonymous Coward · · Score: 0

      case-insensitive filenames harms direcotry-cache performance algoritms, I've heard. It's even worse if you do things wrong like NT, who imposes a codification unicode-sokething format

    8. Re:8-bit UI unusable in a 32-bit world by Krunch · · Score: 1
      2) Several files that do not have extensions usually have some information about their default parser in line #1. Either parse it, or start using file extensions in *NIX.
      Isn't that what file(1) and run-mailcap(1) are for ?
      --
      No GNU has been Hurd during the making of this comment.
    9. Re:8-bit UI unusable in a 32-bit world by ThousandStars · · Score: 1
      I think the problem goes deeper than what you describe: Unix needs to make the fundamental shift into the GUI world for it to be practical for most people doing day-to-day tasks. This means a big, standard API GUI and the software to make use of it. Some things like word processing are easier with a GUI; some things are easier on the CLI. Most people in the world prefer the GUI, which means that for Unix to allow more people to get more done -- which is the fundamental purpose of computing, lest one forget -- it needs a functional GUI and the services that go with it. Point 3 of the parent addressed this issue partially, but I think it's a deeper than the UI, because the real is lack of a GUI foundation. Most of the *nix GUIs that exist now seem bolted on, inconsistant and inadequate.

      This contrasts with that other maybe-*nix that's been mentioned elsewhere in the comments, whose GUI feels like it was conceived at the beginning. Part of the reason I, and a lot of other /. types to judge by all the OS X love that goes around these days, like OS X is because the power and control are there when we need it, and the ease-of-use is there when we don't.

      I wrote an even longer post in reponse to an earlier comment, which examines more of the same issues; find it here.

    10. Re:8-bit UI unusable in a 32-bit world by Anonymous Coward · · Score: 0
      As a result, there's no way from looking at the filename to tell what program the file should be processed with.

      file filename and the MIME types.

      Those design decisions permeate UNIX and the *NIX community even today. When I read the newsgroups, I still see tips on how to do things that involve piping a file through 17 filters to do something that can be done on Windows with four mouse clicks.

      I for one would really like to see which Windows program can do the same that those 17 filters. The versatility of the UNIX command line is the most powerful tool yet developed. What if you now want to apply that "17 filters" to all the files greater than 100 kbs in the p0rn directory? How the hell do you do that with Windows?

      A real-life great example I did last week. I have a lot of wallpapers, of mixed resolutions. I wanted to convert all of them to 1280x960, but I didn't know which were already 1280x960. With one "simple" for loop, involving jpeginfo, grep, awk and convert, I did the job in five minutes (including devising the command line).

      I laughed just thinking about a windows user, opening each image in photoshop and resizing it manually to 1280x960, and saving it again.

    11. Re:8-bit UI unusable in a 32-bit world by rekt · · Score: 1
      With all due respect, your proposed fixes either miss the point (i.e. they aren't the fault of UNIX) and/or the resolutions to these problems are already completed or well underway.
      1) Make filenames and command flags case-insensitive. The few cycles you spend doing case comparisons will quickly pale in comparison to the time savings you experience in tech support situations where a touch typist accidentally hits space too soon and types "emacS."
      If this were a problem, it would be a UI problem, not a UNIX problem. But who are you fixing this for anyway? GUI users never types in filenames at all -- they just click on them. The CLI user has tons of resources at his or her disposal to alleviate mistyped filenames -- tab completion and filename globbing are available in bash alone.

      if you feel you'd like to use ambiguous, case-insensitive filenames, you should be using a UI which handles that re-mapping for you. i want my tools to know that file abcde is different from file ABCDE. Please don't "fix" that feature!

      2) Several files that do not have extensions usually have some information about their default parser in line #1. Either parse it, or start using file extensions in *NIX.
      This is also best done by userland utilities, so that people can decide what mapping scheme they want to use for themselves. In fact, it already is implemented in userland utilities, for everything from konqueror and nautilus (on the GUI side) to simpler, old-school CLI tools like file and the mailcap handlers. GNOME and KDE (the two major GUI subsystems which run on top of X11) are now both committed to using a shared MIME-type database in their next releases (actually, GNOME already uses it in 2.8, and KDE will use it soon).

      But don't make this a part of UNIX, please! Sometimes you need to dig into a file's guts with a different tool than the one "associated" with that file type. Any sort of tight binding would be anathema to the flexibility and power that UNIX represents.

      3) Start making UI's that only initially expose the 20% of the UI that 80% of people will use. There's no reason for a CD-burning package to have a checkbox on the main screen about verifying post-gap length for 99% of the people in the world.
      This recommendation is the closest to being on-target, but again, it's not the fault of UNIX, it's a question that needs to be resolved by system layers much closer to the user. it's a UI problem, and it is actively being worked on. Both GNOME and KDE have made leaps and bounds in streamlining their interfaces -- under certain conditions. They don't want to remove all the options for everyone, but to enable a "non-power user mode".

      Here's an example from GNOME's Human Interface Guidelines. If you find a gnome app that doesn't meet that spec, you should file a bug against it (or fix it, if you have the skills/tools to do so!). For KDE, you might want to read relevant sections from their User Interface Guidelines as well.

      Let's clean up the UI so that people who want a Windows- or Mac-style interface can have it, yes! but please don't take that as a shortcoming of UNIX. If it's a problem, it's a problem of the GUI layers that have been built on top of it. But whatever you do, please please please don't sacrifice the flexibility and power that undergirds the whole system!

    12. Re:8-bit UI unusable in a 32-bit world by klui · · Score: 1
      UNIX was designed under the guidelines of "do one thing well, do it quickly and get out of memory."

      Those design decisions permeate UNIX and the *NIX community even today. When I read the newsgroups, I still see tips on how to do things that involve piping a file through 17 filters to do something that can be done on Windows with four mouse clicks.

      As opposed to spending 1/2 an hour deciding which of the 17 multi-megabyte programs you have installed you should use to accomplish your task. Then you can click your mouse four times.

    13. Re:8-bit UI unusable in a 32-bit world by Taladar · · Score: 1

      You should try Docbook or Tex (seriously try, not just a few minutes or hours) before you assert a GUI is a better tool for word processing.

    14. Re:8-bit UI unusable in a 32-bit world by ThousandStars · · Score: 1
      I've tried various TeX versions and found none as versatile and powerful as GUI programs like Lotus WordPro and MSO Word.

      Granted, it can be argued that because I'm used to GUI programs they are easier, similar to how some people argue Dvorak keyboards allow for faster typing than QWERTY keyboards. Nonetheless, I think I'm more efficient on GUI programs, and even if I weren't, everyone else uses Word, which means I have to use it for business documents. Of course, this is an issue separate from what makes a good word processor, but it's worth mentioning in this tangent.

    15. Re:8-bit UI unusable in a 32-bit world by Anonymous Coward · · Score: 0
      As a result, there's no way from looking at the filename to tell what program the file should be processed with.

      That's a funny troll, and wrong in so many ways.

      1. What program a file "should" be processed with?!? Surely you know that sometimes the file should be processed with 'grep', sometimes with 'wc', and sometimes with a perl script, and sometimes with a mail reader. Thinking that a set of data somehow belongs to an executable is very liiting
      2. Of course there are tools that do make use of extentions when they do have some common meaning. Note that "make"'s default rules know to process a .c file with cc and a .ada file with the ada compiler.
      3. Why not look to the file's contents rather than the name, like the "file" program does. Using the name to define the type is the same sort of reverse-hungarian notation that plagues software projects when types evolve.
    16. Re:8-bit UI unusable in a 32-bit world by oojah · · Score: 1

      Have you tried LyX? It's essentially a GUI front end to TeX. You don't need to know TeX. It may not solve your issues with versatility (I still struggle with picture placement sometimes), but other than that it is very good.

      There is good documentation included as well.

      http://www.ly.org/

      Cheers,

      Roger

      --
      Do you have any better hostages?
    17. Re:8-bit UI unusable in a 32-bit world by Anonymous Coward · · Score: 0

      Eight bits? I got only seven, you insensitive clod!

    18. Re:8-bit UI unusable in a 32-bit world by SagSaw · · Score: 1
      As a result, we've got upper- and lower-case flags doing completely different operations (-r and -R for "remove" and "restore," for example), we've got case-sentitive filenames which just make it so easy to tell the difference between "Index," "iNdex," "inDex," "indEx" and "indeX."

      While it is certainly a questionable practice to intentionally create files whose names differ only by the case of a character or two, I see no reason why the OS should prevent me from doing so.

      As a result, there's no way from looking at the filename to tell what program the file should be processed with.

      Nor, I would argue, does there need to be. For the most part common file types can be detected from their contents. (See the 'file' utility). In any case, most users will simply name their PNG files with a .png extension. Again, if I really want to name my PNG files with the extension .XXX, the operating system shouldn't stop me.

      When I read the newsgroups, I still see tips on how to do things that involve piping a file through 17 filters to do something that can be done on Windows with four mouse clicks.

      If there is a tool that will let me do a particular operation in four mouse clicks, I'm all for it. However, pipes are a powerful tool and are useful for performing tasks that aren't common enough to justify a GUI interface. For instance:

      I use Gentoo on my desktop. Let's say I want a list of all of the homepages listed for ebuilds (package files) where the homepage is hosted under the .cx country code:
      find /usr/portage -name '*.ebuild' | xargs grep HOMEPAGE | grep -i .cx

      Now that task (searching for ebuild homepages by domain-name country-code) is not something that anybody is going to bother to build into a GUI. However, it doesn't take much work to come up with right commands and type them on the command line.

      So how would I fix these problems?

      Well, I'd leave the low-level features alone, leave it up to the applications to enforce your suggestions. If you were writing a file manager or other application for casual users, you might warn them if they are about to create a filename that is capitalized in a strange way or which has an extension that doesn't match the content. If you're aiming your application at casual users, leave out the 80% of the options that casual users don't user. If you're aiming your application at power users, you will need to implement more of the options.

      Just please don't abolish the more powerful features simply because casual users might be confused by them.
      --
      Come test your mettle in the world of Alter Aeon!
    19. Re:8-bit UI unusable in a 32-bit world by spitzak · · Score: 1

      Try the "file" command. It identifies a file by the contents (ie line #1). This is the way it should work, it should not be done by extensions or "attributes". Unfortunately reading every file to list a directory in a pretty way is too slow, leading to the extension hacks that Windows has done.

      And I have to rant: anybody who thinks putting a user interface thing like matching the case of ASCII letters into the operating system is a good idea is obviously completely out of touch with reality and knowledge of how things work. "case insensitivity" is why we don't have working I18N or UTF-8 on Windows (or Unix which has to interoperate with Windows file services). I'd also like to know why the secretary confusing "1" with "l" or swapping two letters or replaceing one space with two is not considered a problem, while changing the case of a letter is considered a problem.

      The fact is files should be identified by a stream of bytes. The fact that '/' and 0 cannot be used as a byte in a filename is in fact a deficiency of Unix, but it is still an order of magnitude better than Windows, where "case insensitivity" and about 20 reserved bytes, and the totally brain-dean use of "wide characters" has made intelligent use of filenames impossible.

      If filenames were raw streams of bytes we could have user interface code that did fully intelligent spelling correction of what your secretary types in. But instead we are stuck with 1970s technology where replacing 'a' with 'A' was considered clever, but even changing the length of the name was out of the question.

  57. 2 things i would add to linux: by ratta · · Score: 0

    1. An advanced interprocess architecture, right now almost everything still has to be done will unix sockets 2. The ability to have something like hurd translators. I know linux is monolithic, but user level translators would be a good "nice to have".

    --
    Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
  58. In no specific order: by Qbertino · · Score: 4, Insightful

    -the allmighty root (single largest security risk)

    -ancient directory organization which doesn't take modern computer usage into account (more powerfull single workstations)

    -bad historically grown naming ("home", "usr", "var", etc.) and incosequent File System Herarchy Standard

    -crappy vendor support

    -unix printing still sucks big time (see 'vendor support')

    -grafics system and font handling

    -inconsistent standards of configration

    -histrically grown elitist utility naming (large anoyance)

    That's all I can come up with right now. Note that some of these are dealt with by certain unix variants. Printing and pretty much everything else is a breeze on OS X for instance. Configuraion and installation with Debian Linux is very smooth and goes great length to keep those countless OSS utilities manageable. And Solaris 10 seems to have the one or other card up its sleve to deal with security risks that result in the allmighty root.

    Coming to think of it: Can't we just have an OS with OS X ease of use, Debians installation system, Solaris 10 low-level features and Windows Vendor support? We'd all be set and 100% satisfied.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:In no specific order: by DarkHelmet · · Score: 1
      the allmighty root (single largest security risk)

      Selinux anyone?

      --
      /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    2. Re:In no specific order: by ThousandStars · · Score: 2, Interesting
      Can't we just have an OS with OS X ease of use, Debians installation system, Solaris 10 low-level features and Windows Vendor support? We'd all be set and 100% satisfied.

      Part of the problem is definition: exactly what from each current OS paradigm (each one of which reached its current form for a reason) should this ideal Unix take, and what should it leave? As soon as one gets into the gritty parts of the answer, no one can agree, people splinter their OS, developers don't know which OS to target and users are confused. I don't remember where I read it (Daring Fireball, possibly), but someone pointed out that creating a new standard from two conflicting standards often simply creates three conflicting standards. And these days there seem to be Standard^N standards. The problem is that no standard will leave 100% satisfaction because no single person's needs are identical to another person's.

      In addition, there's the massive Windows install base that gets so much vendor, developer and other support that inertia works against the large-scale -- and by large scale I mean more than 10,000,000 people -- end-user machines. That means developers/users/vendors can target a myriad of smaller *nix OSes or the giant OS.

      Furthermore, although I agree with your problem list above, I'd add the lack of a standard API. If one wants to develop for Windows, there is a more-or-less monolithic API. For OS X, there is Cocoa or Carbon. For Unix and Linux, I don't even understand the situation sufficiently to name all the possible API permutations. Each permutation has its reason for existance. Which brings me back to my first paragraph, which is that each splinter of *nix has its reason for existance. This makes writing high-quality GUI software for heterogeneous deployment difficult. To solve that problem, maybe someone will create The One Distribution, but then someone else will dislike something about it and fork it or write their own One Distribution, which will have problems of its own (like adoption and incompatibility with other standards).

      Before someone accuses me of describing the problem rather than solving it, allow me to plead guilty. Much as I don't know how to solve the seemingly impossible muddle in the Middle East, I don't know how to solve the *nix problem. I use OS X, which solves all the bulleted points of the parent poster (or at least solves them well enough for my purposes), but the OS X entry cost is also relatively high. I'd love to see a low-cost *nix match or surpass OS X, but I cannot forsee that happening in the near (next three years) future.

    3. Re:In no specific order: by Anonymous Coward · · Score: 0
      Configuraion and installation with Debian Linux is very smooth and...

      Compared to what???

    4. Re:In no specific order: by suwain_2 · · Score: 2, Interesting

      the allmighty root (single largest security risk)

      How do you propose this be fixed? I think it's important that there be a user with the ability to do anything. This includes the ability to create users with only some administrative-level permissions, or even the ability to delete the root account entirely.

      bad historically grown naming ("home", "usr", "var", etc.) and incosequent File System Herarchy Standard

      This is one of those systems that's entirely arbitrary to someone new to *nix, and yet it seems entirely intuitive (much like [Esc] :wq to write and quit in vi) once you learn it. I'm not sure what you mean by "incosequent".

      histrically grown elitist utility naming (large anoyance)

      I think part of this is backwards-compatability related. dd could be renamed to "DiskDuplicate", and cp could be "Copy," with "rm" renamed to "Delete". But then absolutely, positively everything that uses these commands would explode, and current *nix admins would be entirely confused. I'd like to think that the utilities will keep their names; you can always symlink them to a clearer name if needed. (Some systems try to be friendly to ex-DOS users, by creating, for example, "dir" as a symlink to "ls")

      More and more often, though, GUIs are taking the place (for people who aren't hardcore shell users) of cryptically-named commands.

      BTW, when you talk about Debian's installation system, do you mean package management (apt-get), or the initial installation of the OS? apt-get was very easy to use, the installation of Debian itself, though, was a nightmare when I tried several years ago.

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    5. Re:In no specific order: by bnenning · · Score: 2, Insightful

      I think it's important that there be a user with the ability to do anything.

      Agreed, but there's no reason I should have to become that user if all I want to do is listen on port 80.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    6. Re:In no specific order: by bigt_littleodd · · Score: 1

      "... We'd all be set and 100% satisfied."

      This is Slashdot. When was the last time anyone here was 100% satisfied?

      --
      Let's play Four Horsemen of the Apocalypse. I'll be Pestilence.
    7. Re:In no specific order: by burns210 · · Score: 1

      Just a small aside. Darwin(OS X's core/kernel/etc) has a debian apt-get port. Along with (i think) gentoo's app and a native .pkg (which I don't believe is tied to a specific program in the sense that .deb is... granted, .deb is not tied either, but you know what I mean.)

      Darwin is actually a pretty decent system in that sense. Has a lot of potential and whatnot.

      Solaris' low-level features would be great. I think a closer knit group of freebsd 5 or darwin(or both, etc) would be able to lead to this.

      I really do think Apple is best able to address most of these feature requests. They have a community development group, but Apple still has a strong hand in where their system goes.

      My annoyance for OS X: aliases (Windows shortcuts) != symlinks. They seem to be the same thing for GUI vs CLI, but they are two distinct things. They should be unified.

    8. Re:In no specific order: by lcracker · · Score: 1

      Aliases are like a hybrid of a symlink and a hard link with some sugar on top (like the ability to point to network shares or drives that may not be mounted). They're smarter than symlinks and have different semantics, so they can not be unified. Symlinks and hard links are still there. If you want a symlink, use one, all the GUI apps understand them just fine.

    9. Re:In no specific order: by Bloater · · Score: 1, Funny

      > -grafics system and font handling

      Spell checker needs standardising.

    10. Re:In no specific order: by burns210 · · Score: 1

      Thanks for the specifics, that does make some sense.

      My problem is that it is very un-apple like to have two technologies that are very similar (aliases and symlinks). It would be 'confusing' to users in the same sense a single mouse is chosen over a 2-button... no choice means you are ALWAYS right when you click the mouse.

      I am not a big symlink/alias user, really. Nor am I a shortcut user(except for Quicklaunch bar). So it doesn't really hurt or help me. Just seems like one of those loose-ends Apple never tied up in their very complete mac/unix product.

    11. Re:In no specific order: by macwhiz · · Score: 2, Interesting
      - unix printing still sucks big time (see 'vendor support')

      This much is solved fairly easily by installing CUPS.

      Most UNIXes still come with lp or lpr printing solutions, which were great when you had an honest-to-God line printer -- a printer that just printed line after line of straight text -- but are woefully inadequate for modern page printers with their page description languages.

      There are all sorts of hacks to get around this. There are filters, once designed to massage ASCII text, now used to try and re-encode stuff into appropriate PDLs. There are things like JetDirect (eew).

      CUPS does a much better job of making printing transparent. By converting everything to one PDL (PostScript), and then converting it to the printer's native language if required, everything gets treated evenly. There are lots of drivers. I find it far, far easier to administrate than lp and lpr.

      I find it useful to monitor which technologies Apple integrates into Mac OS X, and then try installing them on my other UNIX systems. That's how I discovered CUPS. Apple has cherry-picked best-of-breed open source for OS X.

    12. Re:In no specific order: by Taladar · · Score: 1

      The difference between aliases and symlinks is simple. A symlink is just another name for a file. An alias is basically a short form for a command line which means it can contain builtin commands, multiple commands, parameters,... which does not work for symlinks because those are not even commands at all, you can just as easily symlink a config file as you can an executable.

    13. Re:In no specific order: by Bloodlent · · Score: 1

      Did you read his sig? English isn't his first language.

    14. Re:In no specific order: by bcrowell · · Score: 1
      I agree with almost everything you said, but:
      the allmighty root (single largest security risk)
      As a design principle, it really makes sense to have an all-powerful root. Otherwise, the designers of the OS have to anticipate all the situations where, due to some unforseen combination of circumstances, it becomes impossible to do what I need to do. "Open the pod bay doors, Hal!" "I'm afraid I can't do that, Dave."

      The real problem is not the all-powerful root. The real problem is when programmers and users don't exploit the alternatives to root that Unix provides. Stuff like sendmail shouldn't need to run as root; if it does, it indicates a design flaw in the mail system (not in the OS). Users shouldn't need to su root in order to shut down the system or burn a CD; that's what the operator group is for. The sudo mechanism is also useful (and MacOS X uses it so extensively that you basically never have to type the root password).

    15. Re:In no specific order: by mickyflynn · · Score: 1

      in a beowulf cluster of hot grits with a petrified natlie portman... in japan?

    16. Re:In no specific order: by zsau · · Score: 1

      Except those of us who reckon Mac OS X is not the most easy to use environment and that Debian's installation system is a flawed stupid brainless piece of junk that should never have been thought up (I know... there's a problem with the current system... so instead of fixing it, we'll just tack on a hack!). As for Windows Vendor support, do they plan on a reasonable licence, or is it that proprietry crud they force onto Windows users? I think I'd rather pass if so. As for Solaris 10, well, I know jack about it, so I'll not complain.

      I think your 'all' and '100%' was a bit too optimistic.

      --
      Look out!
    17. Re:In no specific order: by Anonymous Coward · · Score: 1, Insightful

      It does make sense to have a root user, but the problem is that the root user has some rights that cannot be given to any other user.

      It IS the OS's fault that I have to start a daemon as user root in order to use ports less than 1024. Sure, I can have the daemon immediately switch users, but this is inherently insecure. This is especially an issue if I have to run a closed-source daemon for whatever reason; I should be able to sandbox it easily and completely. Not possible with one big root.

      Often software writers have used SUID to get around these issues. This merely compounds the security problems, of course, and UNIX does a poor job at providing good alternatives to SUID. Modern versions of Linux and BSD can provide an authenticated named pipe, but this is not cross-platform. It's a real mess.

    18. Re:In no specific order: by jeremyp · · Score: 1

      No he's talking about Macintosh aliases. These are nothing to do with Unix shell aliases. In fact they are similar to Unix symlinks except that the link follows the target file if it is moved.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    19. Re:In no specific order: by lachlan76 · · Score: 1

      If you want to remove the below-port-1024 restriction, it's a two-line deletion in the kernel.

      In security/commoncaps.c, IIRC.

  59. http://www.happypenguin.org/ by Anonymous Coward · · Score: 0

    see http://www.happypenguin.org/ then..

  60. Speaking as a slightly stupid admin... by Anonymous Coward · · Score: 0

    1. Directory structure is very frustrating, especially when moving between FreeBSD, Fedora, Debian, etc. Why can't we have: /private ##for sharing with all people with user accounts /programs ##for shared progs /public ##for sharing with everyone /system /system/dev /system/libs #etc etc /system/programs/ ##for "system" utils /users/$USERNAME/programs ##for user installed programs /users/$USERNAME/documents /users/$USERNAME/preferences

    I think permissions would be easier this way.

    2. Driver support sucks. Doesn't matter why, it just does. Perhaps we need a standard driver loader that will accept binary files.

    3. Installing programs/libs sucks. I like the Apple solution of a directory that includes all dependencies as the "package." But we still need an extendable standard so different installers aren't required for business oriented flavors of *nix.

  61. video modes and library hell by Anonymous Coward · · Score: 0

    1. Switching video modes is so backwards in Unix. Windows 3.1 was easier except for selecting bad modes which didn't have a undo feature.

    2. library hell
    I tried installing Mozilla on a Redhat Linux WS 2.1 system. I gave up after recompiling several library packages.

    WhatMeWorry

  62. link and file managment by argoff · · Score: 1

    If you have 1000 files on a unix system, and they are all 90% similar, the system should be able to figure out how to store 90% of those blocks in the same space. And manage them so that none are deleted until all references to them are deleted.

    That would take care of all the shared library problems, and all the missing soft link type problems. It would speed up local copying dramatically, and allow applications to copy all the information they use locally without hogging up a bunch of disk.

    Also, all programs would be compiled statically, but if they shared the same library blocks as other programs, the system would store those blocks as a single item instead of multiple times. The library managment, and conflicts would be transparent to the programmer and the user.

    And when I compile other peoples code, I wouldn't half hunt down 50 zillion other libraries and dependencies. Just the file blocks I don't have. It could even be done automatically on a p2p network in machine clusters to reduce overhead.

    md5sum source/file blocks could become standard.

    1. Re:link and file managment by JustinXB · · Score: 2, Interesting

      If you have 1000 files on a unix system, and they are all 90% similar, the system should be able to figure out how to store 90% of those blocks in the same space. And manage them so that none are deleted until all references to them are deleted. See Venti.

    2. Re:link and file managment by Taladar · · Score: 1

      So you think it is faster to write a block if we first have to check all the other blocks on the disk to see if one of them is the same as the block I want to write? And when I change one byte in a file we would have to do it again?

      If you use 4096=2^12 Byte=2^15 Bit Blocks this would mean to search at most 2^15 other Blocks to see if they are the same.

    3. Re:link and file managment by spitzak · · Score: 1

      Such a file system would use a "hash table". What you do is take an MD5 type sum of the data in the block. Reduce this to the size of the hash table (take the sum modulus the size of the hash table). This would be a pointer to the first of any pages that went into that entry in the hash table. You would only have to search these pages. If the table has 64,000 entries you on average only search 1/64,000 of the pages, not all of them.

      Of course any real implementation would be more complicated and far faster than my description. Proper design of the hash sum and expansion of the tables may make the number of pages searched close to 1. Also you can design the checksum so that the chances of two different pages having the same sum is astronomically impossible, then you don't have to compare the actual page data.

      I actually like his idea quite a lot. I had thought that allowing static-linked binaries to have the memory savings of shared libraries could be done by the program loader by hashing read-only memory pages, but putting it in the file system is an even better idea.

  63. UNIX is a practical joke by couch_warrior · · Score: 1

    UNIX was obviously originally written as a practical joke - a parody of an operating system, designed with the antithesis of a practical user interface. Instead of setting a goal of being intuitively obvious with command names, consistent in syntax, and using a generous set of defaults, UNIX instead uses a set of counter-intuitive command names, unique syntax for each command, destructive defaults, and no attempt to assist or complete commands for the user. The kernel is equally disfunctional. Nothing is deterministic, there were originally no facilities for giving fixed quotas of CPU, memory or disk to processes. Only general levels of priority. THere were no interrupt handling, no ability to guarantee I/O rates by creating contiguous files. It was like a little childs kindergarten OS. Some of these things have been partially compensated for in proprietary extensions by companies like SGI. BTW- if Linux is ever going to come out of the geek closet and graduate to a widely used OS, it is going to have to divorce its cult-of-UNIX followers and drop the CLI...

    --
    "Sic Semper Path of Least Resistance"
    1. Re:UNIX is a practical joke by Anonymous Coward · · Score: 0

      Note that of course linux has since fixed most of the issues you mention. And the CLI shouldn't go away, it should be evolved into a graphical command line like Lisp CLIM or XMLTerm.

    2. Re:UNIX is a practical joke by couch_warrior · · Score: 1

      For example - what about an Lshell. In the L shell, there would be a config file with mu;tiple synonyms in the users own language for all shell commands, and a set of full-word option flags that get aliased to the correct single-letter option flags for each command. When a user types in a command, the Lshell does a best-guess fit to the list of synonyms, and only bothers the user if there is substantial ambiguity. It then resolves the command option to their correct flags, again best-guess fit, and then runs the appropriate binary. Now that disks are huge, the filesystem should allow contiguous files for things like streaming video, it should have a metadata directory(supplied by both the user and a file scan) for each file that can be interactively searched to find files, and files should have an extensive Access Control List that goes way beyond the owner-group-world granularity. All, and I mean ALL the system configuration files should be concatenated into a single file, with the sections labeled with their old file names and purposes, and there should be a single GUI tool to manage all of it. The kernel should allow server processes to have fixed allocations of CPU, memory, and disk to guarantee deterministic response from server apps. And there should be a UNIVERSAL package management system for software installation that works like debian apt-get with the red-carpet GUI.

      --
      "Sic Semper Path of Least Resistance"
    3. Re:UNIX is a practical joke by Anonymous Coward · · Score: 0

      no attempt to assist or complete commands for the user

      Tab completion worked on Solaris 2+, and it's there by default in the OS X CLI(it has to be turned on via the Registry in Windows, natch). and, geeze, you'd think 'apropos' and 'like' never got released.

      No, UNIX isn't a practical joke. Users like you are.

    4. Re:UNIX is a practical joke by anechoic · · Score: 1

      the bash shell on Darwin actually does complete commands for the user...

    5. Re:UNIX is a practical joke by diegocgteleline.es · · Score: 1

      In Linux you have "io priorities" (check CFQ) and you will be able to give portions of CPU usage to a give group of users in the near future. I don't think it's not possible to do such things in unix, ie: its not that "Unix is wrong" is that "nobody has built it for unix". Just look at mac os x, it _is_ unix and it is far from being a "antithesis of a practical user interfaces"

    6. Re:UNIX is a practical joke by dbIII · · Score: 1
      it is going to have to divorce its cult-of-UNIX followers and drop the CLI
      Some of us are not clerical staff, so we use computers as more than typewriters and account books, so we need things like shell scripts and the command line to tell computers what to do. Mouse macros are still toys after well over a decade - we need that command line interface to get things done. Do I wait a couple of years for someone to write a little GUI for me or do I write a twelve line script to grep for something on twelve seperate machines? (or three lines and directly on the command line if I think about it before I start to save eleven cut and pastes and a change of eleven numbers). If you are in a document factory the GUI tools are all there in any PC or workstation OS, but anything slightly out of the ordinary and the command line proves more flexible.

      As for the other arguments, why have CPU time and memory idle when a process can use it? If other things are running they will get a chance to do something later on. The operating system is not there to restrict the applications - it is there to run the applications, which is really all that matters, it's what all that expensive hardware in the server room was purchased for. As for disk quotas, they have been there for a very very long time.

    7. Re:UNIX is a practical joke by dbIII · · Score: 1
      All, and I mean ALL the system configuration files should be concatenated into a single file
      If you think this is a good thing you know nowhere near enough about win32 - the registry is a horrible hack, and it certainly doesn't contain everything anyway - you still find /wint/.../etc/hosts on a win32 box.
      and there should be a single GUI tool to manage all of it
      Somethines you want a script to change things, a GUI tool may be nice for a home PC but a room full of them is a different story. A web front end doesn't have to only talk to one config file anyway.

      We certainly don't want a spellchecker to try to guess what we want to do on the command line - we want a computer to take clear, precise instructions and behave as expected.

    8. Re:UNIX is a practical joke by Taladar · · Score: 1

      I remember this text (the one in your comment0 being (part of) an Aprils Joke a few years ago but I can't quite remember by whom.

  64. M y issues by richcoder · · Score: 1

    install/uninstall
    software/os configuration
    uniformity of interface
    no automatic system restore
    system directory sturcture

    I don't want unix to be Windows, but why make it difficult when it doesn't need to be. An OS should get out of your way, but still get everything done.

    -rich

    1. Re:M y issues by Cirvam · · Score: 1

      For the automatic system restore just setup a cron that does "tar cf `date`.tar /" whenever you want. This would provide a full system backup, and with a bit more work you could make it do incremental backups also.

    2. Re:M y issues by Taladar · · Score: 1

      install/uninstall is if anything more difficult in Windows than in modern Linux distros today.

  65. Non Free. by twitter · · Score: 2, Insightful
    The most broken part of "Unix" is that it's non free. Everyone has their own way of fixing things and does not share any of it, so we have the current fragmented landscape of Sun, HP, AIX, OSX, etc. The obvious solution is to use free software which ports the best features of each and costs nothing but time and thought to implement. What could be easier than that? The details are not as important as the root cause and the solution.

    --

    Friends don't help friends install M$ junk.

  66. Unix flawed to core by Anonymous Coward · · Score: 0

    In case no one else mentions it, the single biggest flaw for the unix programmer is the lack of thought between some of the inteprocess mechanisms. In particular, the fact that selects only work on files but not semaphores or message queues. This results in having to choose one mechism or the other and thus compromised designs. That and the whole idea of dup which simply uses the next available file descriptor and thus forced semaphores and others not to be able to use file descriptors to implement which would have removed my first complaint.

    --Karl

  67. MOD THIS SPAMMER DOWN by Anonymous Coward · · Score: 0

    This guy is spamming his url. I have sig's turned off and it keep's showing up. Mod this spammer down.

  68. Their by Tr0mBoNe- · · Score: 1

    Genetialia. I don't want to even try to fix those. /lol

    --
    while(1) { fork(); };
  69. like how long have you got? by pbjones · · Score: 1

    requires some real study before it's usefull, nothing is more anti-user friendly than a prompt and no hint about what to do next. All usefull UNIX,s have the UNIX hidden behind a user friendly mask.

    --
    There was an unknown error in the submission.
    1. Re:like how long have you got? by utlemming · · Score: 1
      All usefull UNIX,s have the UNIX hidden behind a user friendly mask.

      Not to be a prick and disagree, but some of the most useful systems to me have been ones that don't even have X installed. Not having a GUI is a powerful security tool -- some numb nut can't screw around, and assuming they have the root password wouldn't be able to do anything if they don't know the commands. The statement should be more qualified -- "All usefull Unicies for XXXXXX have the the Unix user hidden behind a user friendly mask." Case in point, some users of firewall box don't want/need a GUI. The last server I build is very "user" friendly, but doesn't have a GUI.

      --
      The views expressed are mine own and do not express the views of my employer.
    2. Re:like how long have you got? by pbjones · · Score: 1

      I agree with what you are saying, but for the average joe computer user, the commandline is a dead end. UNIX as most people see it, is hard, ugly, secretive, un-helpful, etc. People do use UNIX when they get a front-end, any front end that gives some sort of hint as to how to do something. I started on UNIX,CP/M and DOS, and still use a commandline, but 99% of my computing is done through a GUI, because most of my work is graphics and visual items.

      --
      There was an unknown error in the submission.
    3. Re:like how long have you got? by Taladar · · Score: 1

      And this is bad in what way exactly. Some of use don't mind to learn a few things to use a powerful user interface instead of being stuck with the newbie-interface for the rest of our lives.

  70. Well... by WizardRahl · · Score: 0

    I can't get windows updates to work on it.

  71. It will not run well on my first* computer. by agent · · Score: 2, Interesting

    It will not run well on the first computer I slaved away for. DELL Service Code: 696ML

    GNU all the way baby.

    Revenge
    http://www.legaltorrents.com/index.php? fuse=71

  72. Nothing by Mr.+Cancelled · · Score: 0, Redundant

    It's called "OS X".

  73. Mac OS X... by Cryptnotic · · Score: 1

    How does OS X handle this problem?

    --
    My other first post is car post.
    1. Re:Mac OS X... by ip_fired · · Score: 2, Informative

      Every application comes in a bundle. For example, lets say you create an app that is called foo.

      You would create the following directory structure:
      foo.app
      --Contents
      ----MacOs
      ------ foo (the actual executable)

      Inside the foo.app folder, you can put all of the libraries, data files, help system, etc that your program needs.

      When you are browsing through in the Finder, the .app directory isn't treated as a directory, but rather the application itself. When you double click on it (or use the open command in the shell) it will start the application.

      One of the neatest things is that you can do this with a Java program, and the OS will launch it properly. I wish it were easier to launch jars in Windows like this.

      --
      Don't count your messages before they ACK.
    2. Re:Mac OS X... by ThePlissken · · Score: 1

      You can choose to install applications wherever you want but the default is /Applications. This directory is accessible for all local users. Most OS X apps are self-contained bundles. For example Safari.app is really just a folder that contains all the executables and resources for Safari but OS X treats the .app like the executable. Its slick, really. It makes installing/uninstalling very easy. There are of course always exceptions to the rule.

    3. Re:Mac OS X... by Taladar · · Score: 1

      How does OS X replace vulnerable versions of libraries in all those app dirs?

    4. Re:Mac OS X... by ip_fired · · Score: 1

      Usually the vendor that provided you with the app sends an update to the app.

      This packaging is really only for programs that users interact with through the GUI. (For example, you can't really pass command line parameters through the shell to these types of programs).

      It's not a perfect solution, but I sure like it better than having a giant registry that stores everything and gets deleted when I re-install the OS. At least when I re-install the OS X, I don't have to re-install all of my programs (though, I've never had reason to re-install OS X in the 1.5 years I've been using it).

      --
      Don't count your messages before they ACK.
    5. Re:Mac OS X... by iluvcapra · · Score: 1

      It perhaps should be noted that "foo.app" in this example is not actually a directory, as far as the FS is concerned; foo.app is a file, strictly speaking, and its contents are chunks therein. MacOS treats bundle under certain contexts as a directory. Under other contexts, perilously, it treats bundles only as a files.

      Peculiarly, you can cd into a bundle, but if you cp or ftp put a .app bundle, you will strip away it's resource fork in the process. Apple provides CpMac and MvMac to movie files without destroying their resource forks. Apple is fixing this permanently in 10.4, real soon now.

      But, alas, this is not a "What's wrong with OS X" thread...

      --
      Don't blame me, I voted for Baltar.
    6. Re:Mac OS X... by stivi · · Score: 1

      Just to note, that similar mechanism is available on *NIX (Linux) too if you use GNUstep (http://www.gnustep.org). Applications and frameworks (libraries + include files) are bundles that are much easier to handle than many files from single package distributed through the a system.

      --
      First they ignore you, then they laugh at you, then they fight you, then you win.
    7. Re:Mac OS X... by HeghmoH · · Score: 1

      Sorry, you have no idea what you're talking about. .app bundles are actual directories, with no difference from any other directory at the filesystem level. The only part of the OS that treats them differently is the Carbon and Cocoa APIs, which will make them look like files or directories as appropriate.

      If you ftp put a .app bundle, ftp will tell you that it can't put a directory, simple as that. A .app bundle doesn't have a resource fork, so it would be kind of hard to strip it. You seem to have confused the issue of bundles, which integrate perfectly into the UNIX side of things and cause basically no problems, with old single-file Carbon applications with resource forks, which are extremely rare and do break in the way you describe, but which are not .app bundles.

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
    8. Re:Mac OS X... by iluvcapra · · Score: 1

      Parent is correct

      --
      Don't blame me, I voted for Baltar.
  74. Fix it from the bottom up by elronxenu · · Score: 2, Insightful
    To fix unix, it is important to start from the bottom up. Ignoring kernel internals, which are the choice of the kernel developer, the layer we need to fix first is the system call interface.

    For example:

    • Rename creat to create, as it should always have been
    • 64-bit time_t
    • localtime to return the year number, not year-1900
    • Decide whether we like curses or termcap, and get rid of the other one
    • Add inode-level operations, i.e. open an inode, rather than a path. Add atomic filesystem operations. Rename an inode. Delete an inode. Path-level operations permit race conditions whereby an attacker switches the filesystem around in between a privileged process examining the filesystem and making a change to the filesystem.
    • And many others ...
    1. Re:Fix it from the bottom up by Anonymous Coward · · Score: 0
      And I presume you're the one to volunteer to develop and maintain compatibility for the next decade (or two) for binary-only or closed source programs; as well as to update and debug all current source code code to use new semantics etc.

      BTW I think you misunderstand what an inode is. How would you propose renaming an inode n(or do you mean renumber)? Why would you want to do so? Do you also want to have a creat() that allows you to specify the inode number? Also, what do you propose happen if an inode currently in use is deleted?

      I'm unsure exactly what you mean by an attacker switching the filesystem around, but you are aware of chmod/fchmod, stat/fstat etc. Right?

      Things like atomic filesystem operations are coming in things like Reiser4, but for enterprise operations, there's still the problem of IDE disks lying about when data is actually committed to the disk.

      As is with many flaws in software, it is the "Worse-is-Better" approach. Even nowadays, there're many performance reasons why we don't do things the "right-way".

    2. Re:Fix it from the bottom up by cortana · · Score: 1

      > Decide whether we like curses or termcap, and get rid of the other one

      Hmm. Curses is a library that allows you to say stuff like "print text in bold" or "draw a box here".

      Termcap is an (obsolete) system that allows you to map operations such as "print text in bold" to the specific escape codes to do so on a particular terminal.

      Termcap is used _by_ ncurses. One cannot replace the other. Besides, termcap is obsolete, everyone (including ncurses) actually uses terminfo these days. I think...

    3. Re:Fix it from the bottom up by chkn0 · · Score: 1

      Inode-level operations would make inode number reuse inconsistent:

      <user a> getinode(/foo/bar) => 100
      <user b> rm /foo/bar
      <user b> touch /baz/quux
      <user a> openbyinode(100) => /baz/quux

      The solution, not reusing inode numbers, would cause filesystems to have finite lifetimes.

    4. Re:Fix it from the bottom up by elronxenu · · Score: 1
      Besides, termcap is obsolete, everyone (including ncurses) actually uses terminfo these days

      My bad. I should have said termcap and terminfo.

      Maybe it's not so bad now, but a few years ago half of the utilities used termcap and half terminfo. Looked like the two libraries were battling for mindshare.

    5. Re:Fix it from the bottom up by elronxenu · · Score: 1
      And I presume you're the one to volunteer to develop and maintain compatibility for the next decade (or two) for binary-only or closed source programs; as well as to update and debug all current source code code to use new semantics etc.

      Give me a break. The question was "what's wrong with Unix and how would you fix it?". I'm commenting on what I would do differently if I were redesigning Unix. Obviously if Unix is redesigned, it would not be unix anymore. That's not to say that unix semantics could not be emulated by a successor operating system.

      Anyway, your requirement for backwards compatibility of binary applications is a straw man. I talk not of Unix, but of the system which will succeed it. Just yesterday I did a bit of googling on tail-merging capabilities in filesystems. And I came upon this little story, which I will use to illustrate my point:

      • Some dude wrote patches to the EXT2 filesystem to support tail-merging of files
      • Linus refused to add it to the kernel, even though the patch provided backward compatibility for filesystems written without the tail-merging code. Why?

        Best I let linus explain it here; this is from an article in LWN in 2001...

        When Mr. Phillips mentioned plans to provide tail-block fragmentation for ext2, Linus jumped in and asked that it not be done. He has no objection to the technique, it's just that he thinks a whole new filesystem should be created. Rather than just graft on tail-block fragmentation, a complete rethink should be done to create a better, extent-based filesystem with a vary large block size. And it should not be called "ext2."

        In another posting he explained his reasoning in more detail; it is an interesting look at his philosophy for the evolution of the Linux code. Essentially, creating a new code base makes it easier to eventually get rid of the old one, leading to better long-term maintainability. A transition to a completely new filesystem can be done on the user's own time, and can happen relatively smoothly.

        In comparison, if you have "new features in X, which also handles the old cases of X" situation, you not only bind yourself to backwards compatibility, but you also cause yourself to be unable to ever phase out the old code. Which means that eventually the whole system is a piece of crap, full of old garbage that nobody needs to use, but that is part of the new stuff that everybody _does_ use.

      BTW I think you misunderstand what an inode is. How would you propose renaming an inode n(or do you mean renumber)? Why would you want to do so? Do you also want to have a creat() that allows you to specify the inode number? Also, what do you propose happen if an inode currently in use is deleted?

      I know exactly what an inode is. "rename an inode" might be better put as "link an inode number to a node in the filesystem". Sure there's fstat and fchmod, but they require that the file be opened first. Opening a file may be a problem in itself - say it's a device, maybe a tty - the RTS and DTR lines would go up.

      I'd like to see opening a file by its inode number. Then a process could first stat() the file and thus learn its inode number and then open it by that number, and the OS would guarantee that the file opened is the same file stated.

      I'm unsure exactly what you mean by an attacker switching the filesystem around

      You're unaware of all the well-known security holes which are caused by unsafe filesystem operations?

      All I'm saying is that providing an interface to do some filesystem operations at the inode level may prevent attackers from exploiting race conditions which they currently may do by any of several means, including renaming files, switching intermediate directory names, adding (or removing) symlinks, and so on.

    6. Re:Fix it from the bottom up by elronxenu · · Score: 1
      The solution, not reusing inode numbers, would cause filesystems to have finite lifetimes.

      Not necessarily. Assume the system guarantees that a given inode number refers to only the same file contents (and inode contents too). How long does the system need to make this guarantee? Forever? Across reboots?

      The system needs to guarantee only for the lifetime of the process which is told that inode number. This is easily implemented with a reference count, the same way we reference-count files already (but not the same reference count obviously, one's required to know when to delete a file).

    7. Re:Fix it from the bottom up by pod · · Score: 1

      I know I'm late to the party here....

      You can't 'rename' an inode. inodes don't have names, directory entries (filenames) point to inodes, and as you probably know, there can be multiple pointers (hard links) to any given inode. You could reNUMBER an inode... but why?

      --
      "Hot lesbian witches! It's fucking genius!"
    8. Re:Fix it from the bottom up by elronxenu · · Score: 1
      I already addressed that in another reply, namely link an inode (specified by number) into the filesystem (specified by a pathname).

      I'm just suggesting that some extra filesystem operations would help to alleviate the dangers posed by privileged processes accessing the filesystem (e.g. for maintenance purposes).

  75. Two things: by Saint+Aardvark · · Score: 3, Interesting
    Coarse permissions for files, and extremely coarse permissions for ports.

    Files: this is one thing Windows has right. There should be all sorts of capabilities built in to Unix: append-only files, append-only by user, unchangeable permissions, and so on. FreeBSD's flags are the way to go, but like I said: they should be built in to Unix, not an extra add-on.

    And a subset of that is coarse permissions of files. Why in God's name do we still enforce root-only opening for ports built in to Unix, not an optional add on. Something like "chgrp www /dev/tcp/80; chmod 600 /dev/tcp/80", rather than having to open as root then drop privileges (hope you did that right!), would be amazing.

    1. Re:Two things: by seann · · Score: 1

      The answer to all the above is no.

      go read why now.

      --
      I'm a big retard who forgot to log out of Slashdot on Mike's computer! LOOK AT ME.
    2. Re:Two things: by cortana · · Score: 2, Interesting

      There's actually a patch floating around that allows you to do exactly that with /proc/net/$proto/ports/$port or some such. Can't remember the name unfortunatly.

    3. Re:Two things: by Saint+Aardvark · · Score: 1
      Ack...wrote that in a hurry. That second paragraph should read:

      And a subset of that is coarse permissions on ports. Why in God's name to we still enforce root-only opening of ports below 1024? We need something like ACLs for ports built in to Unix, not an optional add-on.

      What an awful mess that was...

    4. Re:Two things: by caluml · · Score: 1
      Why in God's name do we still enforce root-only opening for ports built in to Unix

      Yep, agreed. It would stop most proggies needing root access to start.

  76. In a word...IANA... by Anonymous Coward · · Score: 0

    "Methinks you've got the PCL/Postscript design tradeoff backwards."

    Methinks a lot of the "what's wrong with Unix?" answers will be useless, for the same reasons that "how do I get a woman?" answers would be.

  77. Even if window$ $uck$... by Anonymous Coward · · Score: 0

    Even if window$ $uck$ at least its easier to use a windows system than to use 'man foo' or 'bar --help' constantly at a unix shell. still kde and mandrake does make it a little better for a newbie to use unix (un-like cde/twm/*sh...etc)

  78. process allocation by ChipMonk · · Score: 1

    Problem: fork() takes too long.

    Solution: pre-allocate memory for page tables and program text/data, similarly to Apache's worker-thread model. Make it tunable: how much memory to keep wired-until-needed, how many page tables to pre-allocate, idle time required before new pre-allocations, etc.

    Then watch how fast Apache, Oracle, and X launch.

    I know, I'm not an OS designer. This is only gleaned from what I've read around the 'net. But if someone decides to try to implement this, I do ask that I be given credit.

  79. libs by t_allardyce · · Score: 1

    Libraries/Dynamic linking..
    About 30 years ago someone said "hmm, lets save disk and memory by having 1000's of different 'modules' that will be created by 1000's of different people and used in 1000's of different programs that will all share common functions.. what could go wrong?"

    We live in a time where memory is cheap and network speed is fast, I'd rather run a 50MB program that just worked rather than a 500K program that took 4 hours of dependency and sub dependency fixing before it could work, Windows is a little better - people havn't really caught on to this whole dynamic thing so they just cram all the slightly out-of-date libraries in with the software or statically build it, and wadda you know? unless something has spectacularly screwed up, you never get a problem (its only when someone who _does_ understand dynamic libraries writes software that you get dll hell - take the GIMP and GAIM, both use GTK but they are always using different versions and Windows really doesnt like it. The whole thing needs a revamp and maybe it could actually work, but only if theres a seriously good library management system thats fool (and developer) proof and works every time...

    --
    This comment does not represent the views or opinions of the user.
    1. Re:libs by gibson_81 · · Score: 2, Insightful

      It's not only a matter of saving disk/memory space; you also have the question of what to do when a bug is found in the library ... Should you download a new binary of each program that uses that library? And what if the developer is on a vacation when the bug is reported, most of your programs will be fixed, but that one is still vulnerable until he gets back?

      The same goes for improving algorithms ...

    2. Re:libs by t_allardyce · · Score: 1

      How often does that happen? You generally update all your software with their individual bug-fixes etc anyway, sooner or later the new libraries would get in to each one (and be tested _with_ each program first)

      Im not saying its a bad idea but in order for it to work it needs a damn good management system.

      --
      This comment does not represent the views or opinions of the user.
  80. No! by Inoshiro · · Score: 2, Insightful

    I do believe there are a few problems with you assertions:

    "1) Make filenames and command flags case-insensitive. The few cycles you spend doing case comparisons will quickly pale in comparison to the time savings you experience in tech support situations where a touch typist accidentally hits space too soon and types "emacS.""

    That problem is so much easier to fix than changing 20+ years of UNIX design.

    UNIX is case sensitive for a reason. Do you think you can just go through all the source files, replace strcmp with strncasecmp, and have a system that works the way you want? No, you'd have to work things on multiple levels, regression test countless applications, etc. You could, for example, make internal shell commands case insensitive, but that's not the same thing.

    Plus, by making the switches all case insensitive, you've suddenly halved the number of possible arguments for any program unless they use the GNU extension. POSIX args are 1 character only!

    PS: "2) Several files that do not have extensions usually have some information about their default parser in line #1. Either parse it, or start using file extensions in *NIX."

    This is done already. As long as the file is marked executable, the shell will properly lauch the parser. You can even add BINARY formats to the kernel. Check out this way to make all MONO programs run automagically:

    if [ ! -e /proc/sys/fs/binfmt_misc/register ]; then /sbin/modprobe binfmt_misc
    mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
    fi

    if [ -e /proc/sys/fs/binfmt_misc/register ]; then
    echo ':CLR:M::MZ::/usr/local/bin/mono:' > /proc/sys/fs/binfmt_misc/register
    else
    echo "No binfmt_misc support"
    exit 1
    fi ...

    Honestly, most people who come up with "problems" in UNIX either fail to understand the reasons for certain design ideas, or aren't aware of pre-existing solutions to their problems. The init scripts and system startup sequence (in general) in UNIX is a much bigger problem, and one of the Gnome guys is making a great replacement for it. :)

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    1. Re:No! by Anonymous Coward · · Score: 0

      That problem is so much easier to fix than changing 20+ years of UNIX design.

      UNIX is case sensitive for a reason. Do you think you can just go through all the source files, replace strcmp with strncasecmp, and have a system that works the way you want? No, you'd have to work things on multiple levels, regression test countless applications, etc. You could, for example, make internal shell commands case insensitive, but that's not the same thing.


      So we should ignore problems just because they are difficult to deal with?

    2. Re:No! by Anonymous Coward · · Score: 0

      But that way of making the mono programs run automagically only works on the console.
      It would be cool if it worked, for example, on nautilus.

    3. Re:No! by Anonymous Coward · · Score: 0

      Just because there is a reason for something doesn't mean it's a good thing or that it's not a problem. A problem does not need to be easy to solve or even solvable but just something that could be done better today. Because it was good 20 years ago doesn't mean it's still good today. I got one thing from your post: Unix is a 20 year mess which is so constrained by it's roots that it is unfixable.

    4. Re:No! by mepr · · Score: 0

      To be picky with the small details in the math:
      >Plus, by making the switches all case insensitive, >you've suddenly halved the number of possible >arguments
      No, not by half, it's by half 26 times:
      2^26=67,108,864 times

    5. Re:No! by RomSteady · · Score: 1
      POSIX args are 1 character only!
      Yes, and the FAT file system only allowed 8.3 filenames by design. Does that mean that Microsoft should have forced Windows developers to stay 8.3? POSIX may be a standard, but all standards evolve. IP4 is slowly moving to IP6. IP4 applications have issues with IP6. HTML is slowly moving to XHTML with similar side effects. I'm not saying that the change would be easy, but there are times when changes should be done.

      This is done already. As long as the file is marked executable, the shell will properly lauch the parser. You can even add BINARY formats to the kernel.
      This one is my fault. I should have said make it more discoverable to the standard user what type it should have been, either through an addition onto ls or some other easy-to-discover means. file(1) is not easily discoverable.

      I understand why the decisions were made. At the time that UNIX was designed, every byte counted.

      Case-sensitive compares were smaller and cheaper than case-insensitive compares, even though it opened UNIX up to severe usability issues.

      Checking the executable bit on the file attribute at load time was cheaper than parsing the file, even though you could pass in anything and try to make it executable.

      The single character flag limitation was due to memory constraints primarily.

      The decisions were appropriate for the era that UNIX was designed in. However, should we be hamstrung by design decisions (such as destructive actions without confirmation) that were made over 30 years ago?

      --
      RomSteady - I came, I saw, I tested. GamerTag: RomSteady / http://www.romsteady.net
  81. I know, I know! by Bjorn+Hell+Larsen · · Score: 1

    They spelled it creat(2).

  82. Whats wrong with Unix? by northcat · · Score: 2, Funny

    Nothing.

    1. Re:Whats wrong with Unix? by tdhillman · · Score: 1

      A ringing confirmation. There's nothing "wrong" with Unix at all.

      Indeed it is so right that as people work with it for an extended period of time they come to see, dispute the initial difficulty of working with the OS, that its power far outweighs anything that could be wrong with it.

      Of course, you could argue that the fact that it is rather steep on the learning curve could be fixed. However, it is just that steepness that offers some of its strengths.

      Unix is not for everyone. Never will be. Is is however for those who truly seek to understand how an OS should function.

      IMHO Unix should be taught to every single kid in a high school who professes a desire to really understand computers. Understanding Windows XP is fine, but the flesh and blood of the OS is invisible. Unix is flesh and blood- stripped clean of artifice and prepared for real use.

      Any student I've got in an intro class who shows inititative is immediately given an OpenBSD box, taught how to do a basic install, and then set loose on the machine. They possess an understanding of how files interact that I can never teach them- they learn by living in the OS. Moreover, they have the pride of knowing something that few others really know.

      And that's the reason OSX is finally the proper education answer- you can teach basic literacy AND dive into the real nature of Unix.



      --
      befuddled (noun) 1. Unable to create a pithy sig
    2. Re:Whats wrong with Unix? by abcxyz · · Score: 1

      Well not exactly 40+ years old yet. But I'll agree that it has aged well since 1969, and the facelifts have been very good for the product and the user community.

      See:
      The History of Unix

  83. Welcome by Anonymous Coward · · Score: 0

    Our little 400MHz linux boxes have been doing that for about 10 years now.

    Welcome to the internet age, apple fan boys.

  84. bloody authentication system never lets me through by RyLaN · · Score: 1

    $ su
    Password:
    su: Authentication failure
    Sorry.
    $

    'nuff said.

    --
    At least the war on the environment is going well
  85. Better Compiler by Morris+Schneiderman · · Score: 1

    What Unix needs is a compiler (pick your favorite language) that generates code which prevents buffer overflows. Checking for buffer overflows should be a system function with application level override.

    1. Re:Better Compiler by phek · · Score: 1
    2. Re:Better Compiler by i+am+fishhead · · Score: 2, Informative

      AFAIK, gcc 4.0 will include support for this. See the -fmudflap option in the gcc manual.

    3. Re:Better Compiler by general_re · · Score: 1
      What Unix needs is a compiler (pick your favorite language) that generates code which prevents buffer overflows.

      You already have basically that in Ada95 + GNAT, but every programmer seems to fancy himself a master hacker - and not just a master hacker, but one who is so skilled that he is perfectly capable of working without a net absolutely 100% of the time. And given that he absolutely never, ever makes mistakes, of course he doesn't need such "restrictive" features. And so it goes basically unused.

      --
      ABSURDITY, n.: A statement or belief manifestly inconsistent with one's own opinion.
  86. Thinking inside the box by Soong · · Score: 1

    I don't have time to think about what's wrong with UNIX. I'm too busy writing perl scripts to work around the shortcomings.

    --
    Start Running Better Polls
  87. What's Wrong with Unix by realdpk · · Score: 2

    Personally, I don't think there's really anything "wrong" with unix.

    Now, if you asked me "What is wrong with Linux?" I would have several answers. Same with "What is wrong with FreeBSD?" so you don't think I'm just a BSD bigot. But "unix"? It's hard to pin anything on the generic term "unix".

  88. File system by Romeozulu · · Score: 1

    The thing that is wrong with UNIX is the file system, or more specifically, a file system stuck in the 70's. Come on. File systems should be Databases, and I don't mean a database stuck on a file system. At it's core, it should just be a database removing this silly antiquated notion of directorys as the sole means of organizing data.

    Every application should be able to create it's own schema for it's data needs.

    Yeah! Where's my Google job offer!!!

    1. Re:File system by Anonymous Coward · · Score: 0

      How is a database going to help? Look at BeOS. The file system being a database doesn't help organize your data. It helps you search for your data.

      No one should hire you.

    2. Re:File system by Anonymous Coward · · Score: 0
      Cute parody of the Longhorn Filesystem. If I had mod points I would have given you a funny for that one.

      (I assume you were trying to point out that if an application wants a database he should use one that meets his needs, whether an object-database; or a relational database (like mysql) or a non-relational database (like the Berkeley database).

  89. Cut and Paste sucks by Anonymous Coward · · Score: 0

    I know this sounds totally mundane, but it drives
    me nuts on a daily basis:

    there's no real standard cut and paste when you're dealing with UNIX and GUI's.

    I regularly use Solaris CDE, Linux Gnome, OS X and
    (gag) Putty from Windose.
    Lets see:
    Is it ctrl-c, ctrl-insert, shift-insert, apple-c
    or what ? And it's not even consistent within one
    environment !

    If you can't even do c&p consistently, how are
    you ever going to get API's POSIX and all that
    crap to work consistently.

    1. Re:Cut and Paste sucks by Anonymous Coward · · Score: 0

      duhhhh

      1. hilight with mouse to copy selection
      2. middle click target to paste to... (both buttons on a 2-button mouse)

    2. Re:Cut and Paste sucks by Anonymous Coward · · Score: 0

      Duhhhh is correct.
      (a) on a mac there is no middle button
      (b) this isn't even consistent: mouse copying
      doesn't even behave the same as ctrl-insert copying!
      (c) Go between firefox and a terminal on gnome/linux
      and feel the frustration.

    3. Re:Cut and Paste sucks by Rakarra · · Score: 1
      duhhhh

      1. hilight with mouse to copy selection
      2. middle click target to paste to... (both buttons on a 2-button mouse)

      Except of course when it does absolutely nothing, like it often does with, say, Firefox, Mozilla, and other GUI apps. Things seem to blow away the cut buffer so easily without any user interaction. So often it happens that I highlight something in an xterm, try to paste it in the address bar in firefox. Well. It doesn't paste. Try to paste it in another xterm, doesn't paste there either. The paste buffer is mysteriously empty. That's the sort of thing that people complain about when they mention cut&paste.

  90. Amiga and extended attributes by Anonymous Coward · · Score: 0

    Yep, amigas had delete attributes, along with script attributes and a few others that are missing on Unix.

    The annoying thing is that they probably exist in Linux's extended attributes, but only Enlightenment 17 is doing anything to make them a desktop reality.

  91. The name... by go$$amer · · Score: 1

    It sounds all computery. We should change it to Walter.

    --
    STOP. You're being farmed.
  92. The C language-Get a Mac. by Anonymous Coward · · Score: 0

    "Yeah, I know that most *nix lover simply love it. But let's face it : this language, which is still the most important one in a unix environment, is really aging."

    Languages don't age. People do.

    "It is possible to develop big software in pure C, but it takes much, much time, and the risk of introducing bugs and security flows is huge. Only the minimal low-level core of the system should be based on C ; the rest should be developed in a modern, high-level language."

    Like Darwin and Objective C?

  93. Tricky by muertos · · Score: 1

    Since Unix is many things to many people, what is wrong for one may not be for another. One of the historical major problems of Unix, splintering, has largely been overcome. Today, Linux, *BSD, and Solaris are the big players, most other versions are end-of-life, unpopular (for /whatever/ reason), or redundant (the bad way, not the good). Code built for one flavor (if F/OSS) is mostly ported to every other flavor, only the commercial software is hit-or-miss whether you'll be able to compile/install natively on another flavor, but it would take being a top decisionmaker somewhere to change that. The technical capabilities of Unix are top-notch, and only getting better. The UI slowly but surely is improving from a low-level user point of view. Securing a Unix machine takes a high level of knowledge, but that holds true across any platform. Either you care enough about security to follow best practices and keep up to date on your patches, or you're a bad person. It's cut-and-dried. Standards are being proposed, discussed, and documented for everything, no complaints there. We could probably do with less feuding, but as long as there's different people, there's different viewpoints.

  94. Microsoft Aptitude Test (MSAP) by reflx · · Score: 2, Funny

    I applied to work at Microsoft. The interviewer asked me: "What's not broken with Windows?" "How would you break it?"

    1. Re:Microsoft Aptitude Test (MSAP) by utlemming · · Score: 2, Funny

      Answer: Turn the computer on.

      --
      The views expressed are mine own and do not express the views of my employer.
  95. Lots :-) by Erik+Hensema · · Score: 2, Insightful
    In random order:
    • The filesystem layout. It works, but it ain't pretty. I highly doubt we would end up with things like /usr and /etc when we redesigned the layout from scratch.
    • In fact I'd rather entirely drop the fileystem in the classic sense and replace it with an object-relational database.
    • X11. Though X.org is working on it.
    • Lack of configuration standards. Text files with a million different formats are not elegant. We need something with a uniform interface, both to the user and to applications. Elektra Project (formerly know as the Linux Registry Project but that name is Wrong) working on it.
    • No universal way to inform the user of important events in the system. Kernel events layer and dbus are going to solve this.
    • /etc/passwd and friends need to go out. ldap all the way. We also need user/admin friendly ldap tools (in fact I have run my desktop system without /etc/passwd for several months, it's not that hard).
    --

    This is your sig. There are thousands more, but this one is yours.

    1. Re:Lots :-) by Bloater · · Score: 1

      > /etc/passwd and friends need to go out. ldap all the way. We also need user/admin friendly ldap tools (in fact I have run my desktop system without /etc/passwd for several months, it's not that hard).

      Never underestimate the utility of plaintext files. They have a tendancy to not go wrong (since the filesystem gets remarkably well stress-tested, and an LDAP daemon doesn't). Having said that, I agree, LDAP would be nice. And having said that PAM is even better, it means you can plug in support for whatever system you want - and Linux already has PAM :)

    2. Re:Lots :-) by burns210 · · Score: 1

      Stress test is a good point. But it just takes a couple dedicated developers, or a bold distro, to make it the default setting. Fedora Core 4 will get 10's of thousands of stress test cases.

      It is like Linus calling an unstable system stable(2.5 -> 2.6) with the intent to get stress testing by a larger pool of users. It works, he(or Fedora) just need to be bold enough and make the switch.

      To be honest. I don't have the technical knowledge to understand the difference. But making a big change(*cough* IPv6) can be accomplished by a big player saying "ok, we are doing it, and we will support it." Both feet jumping firmly in the deep end and swallowing the technical difficulties as needed.

    3. Re:Lots :-) by Bloater · · Score: 1

      A filesystem will get stressed an awful lot more than an LDAP daemon, of that I am certain.

      A pure LDAP login solution has some very important advantages over a pure flat file login solution, but when you have PAM, a lot of the advantages disappear.

      The only significant one remaining is that authentication can be done over the network via the LDAP protocol (which is pretty nice).

      It would be nice to see support of an LDAP daemon to use /etc/passwd and /etc/shadow to provide network wide authentication, but allow a PAM backend to use a straightforward flat file parser for local logins. That way, if the LDAP daemon won't start for some reason (misconfiguration or something), local logins will continue to work as normal. Also using a cache of logins on the client machines in flat files for when the LDAP server doesn't respond - for those cases where there is a local filesystem, or root login for administration may be required.

      But you have the right idea, in that distro's should make support for LDAP auth via a remote server trivial to configure, and make the ability to run an LDAP auth server trivial (taking auth data from any of the common local means - so you don't *have* to use a possibly unreliable database as storage).

      The only other advantage is that of time complexity for logins... a flat file is O(n), while a good database backend is probably *technically* O(n), but for a hashtable index - though it could be O(n.log n). This is most significant for network auth as mentioned, as that is where n gets large enough to really matter.

    4. Re:Lots :-) by Anonymous Coward · · Score: 0

      The correct thing to do would be to have an ldap daemon on every box, an use openldap 2.2 sync replication between them, so that when the upstream server went down, the only effect would be inability to change passwords or add new users at most.

    5. Re:Lots :-) by Bloater · · Score: 1

      What about when the local daemon refuses to start. A simple text file can be trivially altered, and the programs to read them are remarkably simple, and thus robust.

  96. Re:bloody authentication system never lets me thro by Anonymous Coward · · Score: 0

    erm... try joining the wheel group or setuid'ing su..

    # chmod u+s `which su`
    # ^D

    login: root
    Password:
    # usermod -G wheel RyLaN
    # ^D
    logout

    login: RyLaN
    Password:
    $ su
    Password:
    # _

  97. What's NOT Broken by ObsessiveMathsFreak · · Score: 1

    root

    Happily the board seems to be clear of moaning about the security risk of root. I mean let's be realistic. If anyone can actually get there hands on any sysadms password if said super user had more than three brain cells, then they could probobly comprimise the entire system anyway no matter what security measures were in place.

    Occassionally people do fret, "Is root to powerful? Did we make it too powerful?" Root's nothing an NT domain controller isn't anyway, and they never complain about that. On top of that, what other solutions are there? Multiple system controllers responsible for various critical systems? If even one fails the system will. No. Somehow, someway, someday, someone will need all seeing all knowing access to the system. The kernel has it anyway, so realistically some human being should have access.

    Seriously, we have chroot jails, 5 second password delays, random password generators etc. The unix chaps even introduced su which they would never have done if they considered root to much of a security risk. That said, needing such awesome capabilities just to install minor programs, libraries and plug and play devices might give justification to calls for greater grainularity. However, most sysadms are tyrants anyway, and would probobly revoke such privilages on sight!

    root's not broken. Don't fix it.

    --
    May the Maths Be with you!
  98. Really fundamental problems with Unix by snorklewacker · · Score: 1

    * NOT the filesystem organization. It indeed sucks mightily, but it's all convention that a sufficiently bold distro could change ... and become instantly despised and obscure for it, but it's still possible. It's a "softcoded" problem, if you will.

    * All IPC except shared memory is mediated through the kernel, requiring several context switches. Signals are especially heinous, but it also made message queues, which would have been the answer to BeOS (before beos came around), practically useless.

    * All I/O is synchronous. Combine this with the lack of decent threading. Linux made processes so cheap they could be used instead of threads, but never evolved the process APIs to include process subgroups -- hell, it still has zombies. Now it's given up and just copped the awful pthreads API instead.

    * Way too many assumptions about simple numeric values, from errno to file modes, are coded right into the standards. This primitive interface becomes pretty much unextendable.

    * No process metadata model. It's still possible to obscure the full command line for instance, even if you wanted to keep it. /proc is a disgusting hack to use in anything but scripts.

    * Absolutely no dynamic instrumentation model. I guess Solaris went and did their own thing, but I had this gripe for a long time.

    --
    I am no longer wasting my time with slashdot
  99. Feel sorry for the people at google that read thes by phek · · Score: 1

    I'm sure after seeing the responses that everyones given here, that the people at google were sorry they ever asked the question. I haven't seen a single post yet (not really surprised) that has said what is wrong with unix. About 75% of these responses are whats wrong with linux distributions, 15% have been whats wrong with the a specific kernel (usually linux), and 10% are trying to explain the question (I guess my response falls into that category).

    So in response to your responses,
    1) Linux and BSD are not unix, Linux (and everything written for linux) were originally written to emulate a unix system but now do even more, and BSD was a unix like system written alongside unix.

    2) Saying whats wrong with a certain driver in any unix kernel doesn't answer whats wrong with unix as you don't need to use any specific drivers in order to be a unix system. All unix was originally was a portable multi-user, multi-processing system which was written at bell labs (in 1969 i believe). Now to brand your operating system unix, you must follow the 1170 Specs from The Open Group which states the system interface devices, the basic tool environment, networking services, and the X/Open Curses standard (non of these are any specific binary you need to install, just general rules to follow when creating each of these base systems).

  100. This has been well expored before... by Lisandro · · Score: 1

    ...here - it's dated and it's not meant to be taken so seriously, but it does adress some specific UNIX issues that had been carried along since it's earlier days. Ah, and it's hillarious to boot :)

    I completely agree with the lack of an undelete option - no, the wastebasket on your desktop is not enough. There should be some sort of undelete option avaiable at kernel level - i once thought of moving files to ~/.trash (only browseable by owner), with a ~/.trash/.trashbin file stating their original path. The kernel then only needs to ensure that folder never exceeds a preset amount. The rest should be fairly easy.

    1. Re:This has been well expored before... by Anonymous Coward · · Score: 0
      It was very popular to alias "del" to a script that would mkdir -p a path under ~/.trash and "mv" the file there.

      If you really want that, I could probably dig up the script.

      If I recall correctly, it even did versioning, so if you "rm"'d the same filename twice, it'd keep both backkups.

  101. This is illusuory by logicnazi · · Score: 1

    At first I was inclined to agree with you. All the various files in /etc/ or in /sbin installed in many packages is a huge pain. I do think installation programs should be more uniform about using symlinks. So that all program files would truly be kept in /usr/???/progname/ and everything would be a symlink to this, preferably keeping the symlinks to applications and core system tools in differnt directories. Some programs follow the symlink philosophy but not enough.

    Aside from this minor quible I think the extra 'complication' of the unix files is largely illusionary. All systems must store systemwide settings and data. Some OS's hide this information in a registry or other opaque data structure so you never see the clutter left behind by programs but it creates just as many if not more problems.

    --

    If you liked this thought maybe you would find my blog nice too:

  102. Everything else is a by-product of the licensing by Anonymous Coward · · Score: 0

    Isn't it interesting that all of the answers given could simply have been fixed long ago, if AT&T simply had changed their licensing?

    For those of you who didn't know (or weren't born yet :P), AT&T kept such tight control on the UNIX license in the early days, that it allowed Microsoft to come in and scoop up all the marbles.

    First, while they would give UNIX out to Universities, it came with the clause that it couldn't be used for commercial use. Secondly, if you were at such a University, AT&T would literally deny the existence of UNIX (even if you had a tape from AT&T). I remember one guy in the Computer Center who was complaining about this when he tried calling them about the V6/V7 software.

    If this strikes you as odd, you have to remember that this was the time when AT&T was wrestling with the US Government about its monopoly control. AT&T absolutely didn't want UNIX counted amoung its assets if it was going to be broken up.

    Then, to compound things, AT&T made it impossible for the companies which resold UNIX in the 80's to compete price-wise with DOS (and later the early versions of Windows). With typical reseller markups, there was just no way one could compete with the "free" licensing of DOS (free as in only to Microsoft). Consequently, AT&T completely blew the chance to dominate the PC market.

    Even afterwards, AT&T can also take credit for putting many of the companies who were reselling UNIX out of business. For a while there, no one was paying their AT&T royalties. When AT&T caught on, companies either folded, or were aquired.

    Even SCO wasn't immune. They weren't paying royalties to Microsoft to send to AT&T for Xenix. Consequently, Microsoft got stuck with having to pay AT&T directly; and in exchange, they ended up with 20% of SCO's stock.

    Fortunately, some people decided to fix this licensing problem. Like RMS and Linus, and many, many others. And consequently, many of the main technical problems inherent in UNIX have been replaced by the solutions offered by Linux.

    But one can only wonder what the world would be like if AT&T had adopted the GPL licensing scheme when RMS first announced the GPL.

    Yeah, I know. That would've been too revolutionary. But if they had, AT&T UNIX might still be around.

  103. Some feature requests by Soong · · Score: 1

    Can't redirect streams after they've been created.

    I want to run `command`, maybe interact with it, see that it's running, ctrl-Z suspend it, and then `bg > command.log` .

    `nice` for network and disk bandwidth

    Imagine something like `netnice -5 httpd` or `disknice -10 postmaster` to make your web or database servers be more polite. You could give priority to your sshd and make sure you can always log in.

    fix the termcap anarchy
    Why is it that NN years after the invention of terminals we still can't get them all talking properly? Sure, you can pretty much always fall back on vt102, but still...

    --
    Start Running Better Polls
    1. Re:Some feature requests by Anonymous Coward · · Score: 0

      The nice thing...aren't there user-level tools to handle this now? The kernel has everything it needs for the user-level tools to be able to configure prioritization like you describe.

    2. Re:Some feature requests by Tpenta · · Score: 1

      have a look at "nohup -p" in Solaris 9.

  104. sigaction by Anonymous Coward · · Score: 0

    You can save old handlers.

  105. error messages by marcushnk · · Score: 1

    We need a layer that sits between the shell and the applications, so that when an error happens it will catch it and attempt to give more information on what happened.

    But not be as clunky on a system as a full time debug.

    --
    "Consider how lucky you are that life has been good to you so far. Alternatively, if life hasn't been good to you so far
  106. Yes but the parent is right anyway by Anonymous Coward · · Score: 0

    SCOX is the acronym that the current SCO Group uses on the stock exchange.

    SCOG is how the SCO Group is referred to on Groklaw. This is because there was a legitimate company whose initials were SCO. The people who currently call themselves SCO are trying to use that name to confuse people into thinking that they are the original organization.

    In any event as I have pointed out elsewhere, these people are not the owners of unix.

    1. Re:Yes but the parent is right anyway by SIGALRM · · Score: 1
      people who currently call themselves SCO are trying to use that name to confuse people
      As an ex-SCO1 contractor, I can assure you that (a) no one is trying to use the name, it is both public and legal for them to do so, and (b) the rights to the "SCO" trademark by Caldera were in mutual agreement of both parties.

      As much as I loathe the current SCO(G) the '01 transactions are oft misunderstood.
      --
      Sigs cause cancer.
    2. Re:Yes but the parent is right anyway by Anonymous Coward · · Score: 0

      No one denies that they have the legal right to call themselves SCO.

      Their whole FUD campaign has been one of representing things as true that are not. Part of this was the choice to call themselves SCO. They get to look like something they are not. The organization that now calls itself SCO is not the Santa Cruz Organization. They did not do the work done by the Santa Cruz Organization. They bought some assets from the Santa Cruz Organization. Yet, they have tried to represent themselves as though they had been the Santa Cruz Organization.

      These guys are going down. Hard. The individuals involved will be lucky to stay out of jail. Denying that they have been involved in a massive FUD campaign borders on disingenuous.

      And yes, they are a problem for unix.

    3. Re:Yes but the parent is right anyway by SIGALRM · · Score: 1
      The organization that now calls itself SCO is not the Santa Cruz Organization. They did not do the work done by the Santa Cruz Organization. They bought some assets from the Santa Cruz Organization.
      While I can appreciate the spirit of your denunciation, it's not an unusual practice for Company A to acquire the assets of Company B, and eventually become known as Company B. Is that "FUD" or common business tactics? In the case of SCO vs. Caldera, one could argue which brand positioned their business model more positively.
      --
      Sigs cause cancer.
  107. chmod -s `which su` ... by Anonymous Coward · · Score: 0

    ... by a sysadmin to `increase' his security

  108. .app package by Genady · · Score: 1

    What you mean like a .app Package for Mac OS X? Granted, things get a bit more bloated by pseudo-statically linking frameworks, but it has the effect of making installation and removal dead drop simple.

    --


    What if it is just turtles all the way down?
  109. Whats wrong with Unix? by I_redwolf · · Score: 1

    Nothing. Thats why it's the most stable design 40+ years running. To my knowledge it's only gotten better since then. Add on open source and free software. What the hell else do you want?

    If something doesn't work you modify it and keep going. Unix or Unix-like systems are the most prolific and used systems in the world when it comes to no bullshit stable operations.

    This isn't even a question. Google itself is an example of what Unix-like systems are capable of. Whats to change?

  110. Also Corba belongs near the kernel by logicnazi · · Score: 1

    It would be great if we could get some general standards for object passing and calling. Be it COM CORBA or whatever it shouldn't depend on what widget set someone wants to run in their window manager. In fact programs should be able to rely on this even if no GUI is running.

    I think the unix world needs to settle on a universal object model and implement it either in the kernel itself or in a low level driver.

    --

    If you liked this thought maybe you would find my blog nice too:

    1. Re:Also Corba belongs near the kernel by Taladar · · Score: 1

      Why use Objects when you can use plain text and can pass information from EVERY app to EVERY other app instead of just the ones that are able to use the same objects.

    2. Re:Also Corba belongs near the kernel by logicnazi · · Score: 1

      I don't think you understand the point of CORBA style objects. These objects are not just data but objects in the broader object oriented programing sense. It is probably better to think of something like CORBA as being an object orientated replacement to RPC than as a replacement for IPC.

      If you want to implement programs relying on shared services, for instance a insert a graph object inside a spreadsheet you need some kind of remote procedure call. Often these services need persistant state data and simply *can't* be implemented by executing a whole program each time you need a redraw or something similar. Furthermore if you insist on each program to invent it's own mechanism for managing persistant state info, rather than using a general OO standard, then far *fewer* programs can intercommunicate.

      Don't get me wrong, I'm not against small text based utilities for command lines and the like. However, we don't insist that all programs which want a directory listing call the ls program and parse the output and we shouldn't insist programs do this instead of using an object model either.

      --

      If you liked this thought maybe you would find my blog nice too:

  111. Linux/Unix by Anonymous Coward · · Score: 0

    I don't know all that much about either of these. I have been playing with Linux for the past several months, and there are several things that are "wrong" with it...
    Not that I would say it is "wrong" but more or less, "inadequate".
    Ease of Use. Ease of Install.

  112. Like elektra? by haeger · · Score: 3, Informative

    Ideally all confi files would follow the same format and syntax (god no please don't say XML).
    Ideally there would be a uniform way for programs to retrieve configuration information from a centrallized location.
    Ideally local users and machines would be able to merge their prefs and config with the master to override certain prefs.
    Ideally the hierarcy of administrators would be able to prevent entitities under them from overriding certain configuration options.
    Ideally all of that could be done with plain text files which are automatically checked into a version control repository so you can roll back any change in a jiffy.


    There was a project on sourceforge that adresses some of the points you raise. Originally it was called "Linux-registry" I believe, now it's called Elektra.
    I don't know how far they've come or anything about the project, but it looks like something that You'd want to have a look at.

    .haeger

    --
    You are not entitled to your opinion. You are entitled to your informed opinion. -- Harlan Ellison
    1. Re:Like elektra? by Technonotice_Dom · · Score: 3, Informative

      Yep, there was a mention on LWN.net recently when they "Elektrafied" X.org. It uses the filesystem for config storage, has only a couple of libraries that it depended on (i.e. not a whole load of XML stuff) and was in essence, very simple. With revision control systems, you could roll back changes easily. From memory, it created a file for each setting, and stored the value for the setting inside it, using directories for the config layout.

    2. Re:Like elektra? by killjoe · · Score: 1

      I looked at it. It sounds promising. Let's hope people start using it.

      --
      evil is as evil does
    3. Re:Like elektra? by Anonymous Coward · · Score: 0

      Errr, it's total garbage!

    4. Re:Like elektra? by theTerribleRobbo · · Score: 1

      ... Which fits in nicely with the 'everything is a file' way of thinking that *nix conveniently has.

      Something along the lines of Elektra would make the scripting of changing confs so much easier, and would be almost universal.

      Hopefully converting over the stack of old/well-established programs hanging around won't be too much of a pain in the arse. Maybe the developers could provide a 'to Elektra' conf conversion utility?

      I'm just hoping this thing takes off.

    5. Re:Like elektra? by Technonotice_Dom · · Score: 1
      Yep, I think it would work well too. There is a problem with the varying styles of config files and how they'll fit into the Elektra way of doing things. I seem to remember they had utilities to convert your original config file into the Elektra version, and the port of X.org they had would still load the old style config file if the Elektra config didn't exist.

      I found the article just now: http://lwn.net/Articles/113279/ - some very interesting comments in there.

      I like this excerpt from one of the comments:
      $ ldd /lib/libkdb.so
      libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
      /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x009fd000)

      compared to 15 lines for XML-based GConf. I just hope one of the larger distros considers using it. I would have thought for something like Debian, with debconf, this could be very useful for standardising packages.
  113. Re:Apple Fan boy troll !!! by ValiantSoul · · Score: 1

    Where does this crap come from? Appple marketing?
    You clearly haven't used OS X

    Open standards are being embraced just about everywhere you turn in OS X

    Like DRM in Ipod?
    Like quicktime codecs?

    Does the phrase "just about" mean anything to you? We have Darwin (the kernel plus more), the compiler used in XCode is gcc, it includes tons of examples, and some of them are even programs included with OS X. Many developers for OS X open source. Just because Apple hasn't open sourced everything, such as the parts of OS X like Quartz, Aqua, etc that help bring in a profit so it can't be copied exactly, means they care about money which every company does.

    The numbers of Macs involved in secure and classified work in the Federal government have been exploding

    Exploding computers?

    Don't be a smart ass

  114. Over reliance on file abstraction by ktwombley · · Score: 1

    The file i/o abstraction used for everything used to make sense, since just about everything used to make sense as a file. Disks, etc. are fine. Soundcards and USB mice don't make any sense as a file. Overreliance on this abstraction causes a lot of weird counterintuitive interactions with the machine. To set up my mouse I have to do something with /dev/foo/bar/where/did/it/go/ahh/there/it/is/mouse , and that's only if my distro has been kind enough to symlink /dev/whatever/mouse to whatever the mouse *actually* is. or maybe I've got to echo a 1 into /proc/where/is/that/thingie instead of updating a configuration file. Or maybe I've got to do both? I could be wrong, but that's just my view from /dev/chair/user/ktwombley

    1. Re:Over reliance on file abstraction by diegocgteleline.es · · Score: 1

      There's nothing wrong with the file abstractiong but, how it's used

      With soundcards, you should be able to do thigns like cp sng.mp3 /dev/soundcard and it should work. Of course for that you should have a mp3 player behind that file (and NOT in the kernel, but as a userspace "service").

  115. Needs a pervasive event model by Anonymous Coward · · Score: 0

    There's one elegant thing in VMS that I'd like to see come to Unice and her friends, the Asynchronous System Trap (AST). This event occurs at the completion of any system service. Many VMS kernel calls, especially those that do I/O, timers, etc are reactive like modern OO frameworks. When the service completes, the kernel delivers an event to the procedure supplied with the service request. The caller supplies a callback and a parameter to a C style procedure. The parameter can be an object pointer. The callback can do object->onEvent(). The kernel does all the book-keeping on a per request basis.

    Blocking services block in the library. The library service wrapper hibernates until the AST wakes the process. The library fields the AST internally and returns to the caller at the next instruction. The kernel is inheirently no-wait and services come in one implementation with wait and no-wait wrappers.

    Slick. As nice as logical name translation is evil.

  116. Add an "auditor" role by Paws+Across+the+Keyb · · Score: 1

    You need to poke into places where only root can go now, when doing a security audit of a Unix system. Root is the worst choice in the world for security auditing. Unix needs a special user who can visit any file that root can, but whose ability to change things is sharply restricted. The root cause is simple. Unix' basic design dates from a time when nobody, but nobody, thought of security as a real issue.

    1. Re:Add an "auditor" role by daveaitel · · Score: 1

      Abstracted security roles are one of the biggest hilarities of academic "trusted" systems. The original Unix security model is actually genius. There is an OS that has the security model your looking for, and it's called Windows NT. But it has horrible security, because it is so impossibly complex, that everything runs as SYSTEM anyways.

      What makes you think that an auditor that can READ everything can't somehow adjust their priviledges to real root in some way you haven't thought of?

      Simplicity is key with security, and Unix has it.
      -dave

  117. What's the primary key for /etc/passwd? by RFC959 · · Score: 1
    Here's a fairly low-level one I haven't seen mentioned: there is no real primary key that defines a user. UID is supposed to be unique...but username is supposed to be unique too! If either of those fails to be true, you get rather unpredictable results depending on what exactly you're trying to do. Unfortunately, I don't see a very good way of fixing that within the context of existing Unix, given how deeply ingrained the current way is.


    As far as things I'd like to see improved - at a job a while ago, I had to use an IBM mainframe (OS/390, I think), and while overall I found it pukeable, one thing I did really like was the fact that you could log on later and review the exit status of any of your jobs. (Which makes perfect sense for a batch-oriented system.) In Unix, if you don't immediately check $?, you've lost the exit status of your jobs. Shell history only captures what you entered, and only from the shell itself. As a system administrator, I'm often running things in the background, via screen, on multiple systems, from cron, etc., and it would be nice to be able to be able to check on everything that's run. There is auditing, but that's usually a real pain to set up.


    I'm a little surprised that no one has mentioned (as far as I've noticed) ESR's The Art of Unix Programming, which has a section titled "Problems in the Design of Unix". From that book:


    Unix files have no structure above byte level. File deletion is irrevocable. The Unix security model is arguably too primitive. Job control is botched. There are too many different kinds of names for things. Having a file system at all may have been the wrong choice.
  118. Same mistake. A different approach... by Anonymous Coward · · Score: 0

    So you replace a tape model with a disk model?

    Why not switch to a more abstract approach, where the OS actually has some concept of the data it's moving, and can therefore deal with it in the most efficient way? Why not have each computation resource and media resource multiplexed and used maximally?

    For me, an ideal system would understand as much of what I'm doing as possible: I'm not writing bytes to a file, but re-encoding a raw RGB video as a compressed, tokenised version of that video. It involves streams of colors and sounds, and digital signals. So naturally the DSP resource from the sound card will be helping to process it (along with whatever other uses the system is putting it to); the blitter and color conversion engines on the graphics card will be needed, and all of the graphics will be operated upon in video card memory, since the system knows that video sequences are best suited to and normally allocated there.

    All of this is a background job, not crucial to my next mouse click, so obviously it should be on a queue of background tasks -- the same queue, shown in a progress bar at the bottom of my screen, where all other background tasks are queued, no matter what application they come from. When I ask for something to be done, it either happens immediately, or gets queued and done in the background. When something happening in the background interferes with my ability to receive input from the screen, or my ability to control the machine, that's a serious OS fault.

  119. Worse is better by notany · · Score: 1
    --
    Dyslexics have more fnu.
  120. Define Unix by batkiwi · · Score: 1

    I know this is likely part of the question, but define unix, and what we CAN solve by fixing "unix"?

    Does unix include all of the programs as well, or only the posix specification and other bits and pieces?

    Is this from a system administration, a "complete os", a end user, a server, a .... standpoint?

    Then again, maybe that IS the answer to the question. The problem with unix is "what IS unix?"

    I mean, hell, dictionary.com has it as http://dictionary.reference.com/search?q=unix " A trademark used for a computer disk operating system.". It also has the fact that it's a multiuser timesharing OS, but MANY os's do that, so if the only thing defining an OS as unix is that it's timesharing and multiuser, then windows XP is unix!!

    Anyways, if I had to answer, I'd say the biggest problem with unix is that, due to its roots in academia, there is way too much NIH syndrome. Every unix has a different way of managing packages, different slight idioms around file system layout, etc. Stuff that DOES NOT matter to the end running of the system, but is different for no good reason.

    Choosing a unix should be about choosing a platform (hardware/etc), which kernel and userland you trust/want, and so-on. Where the default home directories are stored should not even come into it.

  121. GAMES by br00tus · · Score: 1
    I should point out that I've been using UNIX since 1989 and have been a UNIX sysadmin since 1996, but I don't feel like going into the Unix Haters Handbook type arguments - Windows is the main alternative, so I will talk about the *one* thing Windows (currently) does better instead, that is not a result of their monopoly.

    I just made a big Linux commitment - I have a new system and an old system - the new one (bought in 1999) was running Windows 98, the old one (bought in 1996) was running Debian. I had a ton of trouble getting my Linksys USB 802.11b wireless adapter to work with Windows 98, but it worked fine on the old system. Also, I had these stupid "Compaq Windows 98 recovery" CD's which were horrible as they wiped my C (which I expected) and D (which I didn't expect) drive when I tried to reinstall my Windows network junk. I said screw it, I installed Debian on the C drive, and got my phone number list from the D drive as a device (grep number /dev/whatever, cat /dev/whatever |strings > file), then re-installed Debian. So now I have Debian on both systems.

    I have things working good - I got my network card running, my Linksys USB 802.11b running (actually easier with Linux than Windows), my soundcard working and I used MPlayer to watch some AVI's, MOV's, WMV's and MPG's, and xmms to listen to some mp3's.

    The one serious thing I think about is being able to read and especially write Microsoft Word documents, especially to write a Microsoft Word resume and send it somewhere. I can do that in Linux though, of course, and even if I had a problem I have access to Windows machines. Another thing I think about is video format - will I be able to read the latest AVI's, MOV's and so forth? That's not as important as beign able to write a Word document (resume) though. Which is possible in Linux anyhow.

    The other major thing is games - Warcraft, Diablo, Doom, Age of Empires and what have you. X-Box, Playstation, Gamecube all compete with the "PC" (meaning Windows in this case), not Linux. I think this is a bigger issue. Microsoft trying to lock people into incompatible Microsoft Word documents, video formats and so forth is one thing, completely dominating on the games front is another - that is really a lack of function in GNU/Linux, not something resulting from Microsoft's desktop monopoly.

    Now that I have made a commitment to Linux on my main desktop, which has a decent graphics and sound card, I'm going to check out some of the Linux games that are out there. I'm not even an expert on how far Linux has to go - even if Linux had an equal to ActiveX, is it on enough desktops with enough customers so that doing an Everquest for Linux would be worth it? All I know is that with some exceptions, major game companies don't release their games on Linux.

    The solution of course is to help it along myself. The problem is my C/C++ programming is OK, but not that great, besides which I have other time commitments. Oh well, Xboard chess works for me, so that will keep me happy for now.

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

      Everquest uses ActiveX? If you meant DirectX then you'd probably consider SDL+OpenGL something like it...

  122. Caches, memory I/O, network I/O are resources too by Anonymous Coward · · Score: 0

    An OS manages how processes share the resources of the underlying hardware. However, the process resources an OS manages seem to be frozen in timesharing days -- namely, the CPU % and the main memory footprint.

    So, it is possible for a process to use a small amount of CPU, but wreak havoc by thrashing the cache. Or by monopolizing main memory I/O bandwidth. Or by causing massive amounts of VM paging. Or by saturating an Ethernet port.

    It may seem unfair to lay this complaint at the doorstep of the OS community and not the architecture community, since hardware support is needed to let the OS manage these resources. But in practice, hardware features of this sort are added at the request of the OS team, and UNIX tends to ask for leading-edge things first. So I blame UNIX, because it hasn't asked :-)

  123. Root too powerful by line-bundle · · Score: 1

    There should be a way to have root shed its powers. As matters stand now root can do everything: print management, filesystem management, view users files, organize groups, maintain system logs etc...

    Cracking root makes you master of the universe as matters stand today.

    Maybe root might start with all the powers at install time and then hand the powers (irrevocably of course) to other people.

    1. Re:Root too powerful by teeth · · Score: 1
      Who is root?

      I know of several machines where no-one(who uses it) knows anything about root.

      These machines run for months(and years) without significant intervention or anyone requiring root access...

      --
      >>>>truth; beauty; unix.<<<<
  124. drivers by Deanalator · · Score: 1

    The only thing that I have cared about in any operating systems is that the drivers work. Back when I used windows I had problems all the time even getting the simplest devices to do what I wanted them to. I use linux now becasue of the dynamic module system, and the wide variety of supported hardware. Also since its all open source, I can write my own, or modify existing ones if my devices don't work right.

    Even though I am now comfortable with the way the linux kernel works, I would totally start messing with BSD or any other open source operating systems if someone could properly reverse engineer modern video cards. Many people dont seem to realize this, but all of that pretty stuff in OSX doesnt use up any CPU or ram, because increasingly many the affects are done of the card.

    I realize that x.org itself has leaps and bounds to go before it can even take advantage of hardware accelerated opengl calls, but getting better hardware acceleration support should be top priority for open source operating systems right now.

  125. COM and the Shell by shird · · Score: 3, Interesting

    One of the nicest features of Windows is the standardised use of COM throughout. Everything about the shell is done through COM, which allows progams to work in a consistant and predicatable manner. Cut'n'paste, shell extensions, drag and drop. namespace handlers, OLE embedding, scripting, automation etc is all possible and well supported by most programs because of this use of COM.

    Unix may have some form of COM, but it is far from the kind of support that is available under Windows. It is the reason clipboard and document embedding is such a pain under Unix, and why the shell 'feels' clunky and basic operations such as drag and drop between applications isn't possible.

    So bring in a standard COM system, and standardise the shell interfaces and you will have kde and gnome applications that can integrate with the shell without having to have separate progams.

    --
    I.O.U One Sig.
    1. Re:COM and the Shell by teeth · · Score: 1
      Who cares about drag and drop when you have $SHELL?

      *nix offers control.

      --
      >>>>truth; beauty; unix.<<<<
    2. Re:COM and the Shell by daveaitel · · Score: 1

      Completely correct. Unix's biggest weakness is a lack of DCOM and reusable software components. This is the problem Gnome was supposed to solve. There's a reason there's no visual basic for Unix - what's the point in having a scripting language that can't instantiate a web browser within it's window? You can write a complete game in DirectX using Visual Basic. You can't do that with Python/Shell/whatever because there's no COM.

      There's no good remote management utilities in Unix because there's no DCOM. Sun had TOOLTALK back in the day, which was kinda along the right track, but Linux threw all that work out. People don't realize that we're way behind where it matters. And instead of standardizing on Python and making that our platform of choice so that we could built it the way it should be built, Novell wants us to do it in .Net!!! It's sad.

      -dave

    3. Re:COM and the Shell by deKernel · · Score: 1

      My guess is that you have never really dealt with DCOM have you? What a security nightmare it is!
      DCOMCFG. What a joke.
      Nothing like having a DCOM call hang 20 minutes on you. Trust me, this can happen.

    4. Re:COM and the Shell by Billly+Gates · · Score: 1

      I prefer pipes and tools like grep and awk then to script anything with vbscript and com.... shudder.

    5. Re:COM and the Shell by daveaitel · · Score: 1

      Well, considering I've writen an entire Open Source DCE-RPC library (google "SPIKE aitel"), I can say I've had SOME experience with DCOM. DCOM sucks, but what sucks worse is no component model at all, which is what Unix has. To be fair, because Unix has no good component model, we have three bad ones - Mozilla's, KDE's, and Gnome's. None of which can talk to the other. None of which is really used except in their own environment. None of which has significant network capabilities, integrated authentication, or integrated encryption.

      -dave

    6. Re:COM and the Shell by rcpitt · · Score: 1
      Ooohh... and all that lovely code to subvert into viruses too...

      OK - an integrated development environment with lots of lovely "integration" can be a good thing - but if you let it in at the level of the operating system you're just asking for trouble. Keep that shzt out of my OS and I'll be happy. Put it into a user-land system (such as is shaping up in Gnome and KDE) and I'm satisfied. This stuff is not part of (nor should it be) UNIX (or Linux).

      --
      Been there, done that, paid for the T-shirt
      and didn't get it
    7. Re:COM and the Shell by Taladar · · Score: 1

      I read your comment twice to make sure I hadn't overread some irony or sarcasm tags but you seem to be serious. No Game-Programming possible in Python? No remote management utilities in Unix?

      You seem to be talking about different things that have the same names as the ones I know because I always thought Freshmeat had quite a lot of those Apps and Games you mention listed.

    8. Re:COM and the Shell by tyen · · Score: 1

      So bring in a standard COM system, and standardise the shell interfaces and you will have kde and gnome applications that can integrate with the shell without having to have separate progams.

      I thought CORBA at one time was supposed to be embraced by *nix as The One True Component Model, but when the rubber met the road back in the day, the adoption effort shattered for a variety of reasons. Now however, I see that both Gnome and KDE support CORBA (KDE support explained, Gnome support explained). All the preceding is moot of course, if you and I cannot agree that CORBA is a component model, or if you think CORBA is not a valid consideration today.

  126. setuid stuff is confusing + M$ like system restore by thehackerfromthesout · · Score: 2, Interesting

    kernel: The semantics of setuid class of calls is very confusing. Worse, it varies from from one flavour of Unix to another.
    Look at David Wagner's "Setuid Demystified" paper The graphs in pages 9, 10 and 11 are scary.


    user level programs:
    I use Microsoft Windows sometimes and I find the "system restore" to be a nice feature. It is just convenient to press a button than worry about depdencies when you screwed up etc. Especially useful is you are sending a laptop to your computer illiterate mother in India and expect that she is probably going to try and install some random programs. If something goes wrong, I can ask her to turn the clock back, sitting in the other side of the world.



    Sudhakar

  127. There's a problem with filehandles by bill_mcgonigle · · Score: 1

    I'd really like to get both the STDOUT and STDERR of programs I fork under perl, but everybody says it can't be done in practice because of unix deadlocks.

    There ought to be a way to do that.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  128. The printer drivers are not part of UNIX. by jotaeleemeese · · Score: 1

    Postscript, PCL, dot matrix printers codes, those are not part of UNIX, they are printer language specifications and like in Windows, they should be provided by the respective manufacturers.

    Then the very efficient UNIX printing spooling software will be configured to use the correct filter for the correct printer.

    --
    IANAL but write like a drunk one.
  129. Unix Haters Handbook by Lirvon · · Score: 2, Interesting

    No discussion about the flaws of Unix is complete without a reference to the Unix Haters Handbook. (Ignore the URL - Microsoft had nothing to do with it) It might be getting a bit dated, but some of the points are still relevant, and it is very very funny.

    1. Re:Unix Haters Handbook by ydrol · · Score: 1
      Excellent book at the time. Very amusing read! Good to see it's available on line.

      Mod parent up for a Good chuckle over the holidays.

  130. More bonanza, less treasure hunting by Anonymous Coward · · Score: 0
    It would be nice to see more utility interfaces to not only help build complex command lines but to help educate newless cluebies. Man pages are great. Man utilities would be cool.

    A simple command builder GUI with check boxes to toggle switches and fields to enter args for a particular command.

    • Select a command or executable from a drop down list and start clicking switches and supplying args.
    • Paste the result in a command window or execute from the GUI.
    • Save the command for reuse later.
    A newbie could learn faster, veterans could save a little time. Educational, useful, possible.
    1. Re:More bonanza, less treasure hunting by EzInKy · · Score: 1

      A simple command builder GUI with check boxes to toggle switches and fields to enter args for a particular command.

      I'm going to say this is a great idea, of course I have to because I've recently been thinking of working on such an application.

      --
      Time is what keeps everything from happening all at once.
  131. Mouse Tracking by Anonymous Coward · · Score: 0

    This is so moot in the greater scheme of things but..

    This might be specifically X, but I've noticed it in Gnome, KDE ... and OS X.

    The mouse just tracks wierd, I can't explain it more than that but it feels off for some reason. In Mac OS 9 or below, and windows especially NT level, the mouse seems to track "correctly".

  132. no easy way to case-insensitive anything by Anonymous Coward · · Score: 0

    In todays world making something case-insensitive is just not possible - you don't want that some names are the same in one locale and different in the other, but that is exactly how case-sensitivity works.
    Or if you insist, start using *NIX in some locale without separate upper/lower case (japanese/georgian/armenian/etc.) - as ASCII characters fall outside characters that shold be defined in that locale A and a should be separate "signs" and not something having a "case" at all - so here you have your case-insensitive *NIX ;)

  133. The "Everything-is-a-file" abstraction is broken.. by cduffy · · Score: 1

    ...most particularly, by ioctls. Everywhere else (almost), a userspace program can do anything a kernel module can do; ioctls, however, ensure that you can *never* have a userspace program sitting behind /dev/foo in place of the "foo" kernel module.

    There are some other places where Plan 9 fixed up Unix's warts, but IMHO this is one of the bigger ones. Encouraging folks to write kernelspace drivers is just icky.

  134. Give me a brake..... by jotaeleemeese · · Score: 1

    Those are the manuals that come with your OS.

    man pages are more like memory aids for the experienced user, they were never meant to replace the full manuals for the OS.

    Solaris, IRIX, HPUX, commercial versions of Linux all come with thick volumes of clear documentation. For other OSes like BSDs or other Linuxes there is plenty uf free and commercial documentation available.

    --
    IANAL but write like a drunk one.
    1. Re:Give me a brake..... by Anonymous Coward · · Score: 0

      Pardon me, but back in Unix days, the man pages were the EXACT pages that were printed in the manuals (the manuals were derived by printing all man pages). The Linux man pages haven't really improved from the days of Unix, they're still very cryptic and require a moderate amount of apriori knowledge.

  135. I'd start with Plan9 by Anonymous Coward · · Score: 0

    Plan9 has some nice things, like the ability to configure the namespace individually for each process, which allows to do things like having a single /bin directory, which is really composed of several directories (there's not $PATH environment variable in plan9)

    Plus the ability to put a service behind a file and export it anywhere, like the windowing system does: instead of having a "network oriented" X11 protocol, plan9's windowing system (8 1/2) gives you a file (/dev/bltsomething) which represents your window, then you can export that file anywhere (thanks to the 9P protocol) and write to that file remotely. Instead of building a "networked protocol" like X11 is, in plan9 is the system who is network oriented, not the apps. That's my biggest complain of unix: it's no really network oriented, even if it routes most of the internet traffic

  136. The same thing that's wrong with every computer... by fossa · · Score: 1

    Take spell checking as an example, but this applies to many many tasks a computer can easily perform. My word processor includes a spell checker. If I don't know the spelling of a word, I can right click on a close approximation and likely find the proper spelling. My text editor does not include a spell checker, but it includes commands to run a buffer through external programs (e.g. ispell). If I don't know the spelling of a word, I can send part of the buffer to the spell checker. My shell does not have a spell checker. If I don't know the spelling of a word, I can run "dict approximation" and hope for the best, or "cat /usr/share/dict/words | grep". My web browser does not have a spell checker. If I don't know the spelling of a word, I simply misspell it and take the ridicule from the slashdot horde; alternatively, I open a shell or use the word processor to do it and copy the correctly spelled word back to the browser.

    In my opinion, I should not need to care whether each and every application requiring text entry can or cannot spellcheck, and if so whether or not it will use a certain spell checker with features I've come to enjoy (a personal dictionary for example). I should only need to care if "the computer knows how to spell check". It does, does it? Ok, show me how. Ok, now I know how to spell check every bit of text I could ever want to. And it's always the same.

  137. Serial streams too limiting... by maynard · · Score: 1

    UNIX expects all I/O and interprocess communication to occur as serial streams between devices and processes. This is highly limiting when dealing with responding to large numbers of real time events in an asynchronous and parallel universe. For large scale data acquisition or robotics I/O it's a serious problem. Real-time kernel hacks notwithstanding, it's the user libs which need severe restructuring to overcome this flaw. In which case you're not running 'NIX, but some very specialized application with kernel hooks for event handling.

    A completely new OS design with more than a simple multi-cpu thread model and real time hooks are what's needed. How that would look internally is anybody's guess. It sure as hell won't be Windows though. Plan 9 had some really neat ideas. So does SmallTalk and the whole 1980's LISP systems movement. If I had to guess, a new real-time data acquisition/response programming platform would integrate some kind of functional programming compiler/interface with a real-time kernel. NOTE that I AM talking out my ass here...

  138. The exact location doesn't matter to me. by WebCowboy · · Score: 4, Interesting

    What matters to me is that there is some semblance of CONSISTENCY. That is why I hope more attention is paid to FHS and LSB. Package managers can do the housekeeping--I don't care--but Fedora and Mandrake and SuSE and many others use RPM and their packages are STILL specific to their distros (even though Mandrake started as a supposedly Red Hat compatible distro way back when). I really wish RPMs at the application level were LSB compliant so they'd play nicely.

    On another note, there are reasons why apps on UNIX become installed in shared directories--it is because path management can become tedious--the PATH environment var becomes too long, or else you have to sprinkle links about your filesystem. In the GUI world this isn't really an issue, but some of us still like the command line and write scripts and typing /usr/myapp/1.0/bin/startmyapp instead of startmyapp at the prompt is annoying.

    BTW, it seems you have MS Windows confused with the Mac (the only modern PC platform I know of where the "copy a folder" install method is still commonplace). Win apps most certainly do NOT install in a single directory--nearly all use the central, monolithic, non-human-readable REGISTRY to store configurations, and typically throw .dll and other files in C:\WINNT, C:\SYSTEM32 etc etc. The "install with a single xcopy command" nirvana only exists in the dreams of .NET fanboys (it might be possible technically it won't and can't happen for a couple years yet).

    1. Re:The exact location doesn't matter to me. by Taladar · · Score: 1

      LSB would have a better chance if it wouldn't used the braindamaged RPM format.

  139. A good set of standards. by Spy+der+Mann · · Score: 3, Insightful

    I'm not speaking of unix specifically, but of Linux. But I hope this enlightens anyone.

    Linux isn't friendly for:

    * Installing apps
    * Guiding the Joe user to a friendly painless installation of the OS itself
    * customizing
    * configuring
    in other words... everything.

    As many linux fans that there are here, the only *great* thing that Linux has, is its security and stability. Everything else is more or less, a mess. The apps, they're great! But only AFTER you manage to intall and configure them.

    And on the other side, we have a wonderful MS Windows in which everything (BUT security and stability) is great, but security and stability is a mess. I admit it, Linux infrastructure is very well thought... but the rest? The problem is that Linux (or unix for that matter) was made "by nerds, for nerds". Windows was made "by executives, for Joe users". What we need is an OS made "by nerds, for Joe users".

    And that means not rejecting as "blasphemy" everything that MS Windows has. There are many good points in windows, but (i'm generalizing, but this is my impression) linuxers are too busy defending their "way of life" against the competition, that they can't improve it. They have formed themselves a mindset saying "Linux is perfect. We don't need no stinking windows thingies. Anyone who says so has been too much in contact with the evil windows, and must be deprogrammed". If someone dares say "but..." he's just rejected as some microsoft borg slave.

    And they've repeated this lie so many times that they've ended up believing it. They make this whole bunch of "user-friendliness" *patches* for Linux, so they can believe that it's good the way it is.

    Well, guess what. It isn't. Give me a Linux with the user-friendliness of windows (and I DON'T mean the GUI - i mean the versatility, plug-n-play, ability to easily install new apps without the ./configure-make-make install and recompilation pain, etc etc etc.

    What I mean is:
    Linux (as a whole) is a good set of implementations. What it needs is a good set of standards, and ONLY THEN, develop good implementations of these.

    Want an example? We have KDE, QT (is that spelled right?), and I forgot if there was any other.
    So there are apps compatible with QT that can't run on KDE, and viceversa.

    Maybe you guys haven't still seen the big picture, but what I see of Linux development is more or less this:

    a) Some guy makes a good thingy for Linux.
    b) Many guys follow him
    c) Another guy makes another good thingy that does the same than the first one, but it's incompatible.
    d) Many guys follow him.
    e) GOTO a)

    From a religious perspective, compare with Roman Catholicism and protestantism. Roman Catholicism would be Windows (one pope called Bill Gates who dictates what is true and what isn't) and Linux would be the protestant denominations incompatible with each other. Some survive, some die... etc.

    Sociologically, protestant denominations are very similar to Linux implementations. They share one very limited creed (the Bible / the Linux Kernel), but how that applies in their lives (the implementations) vary. SO MUCH that they can't be united (I remember the SCUMMVM team - or was it another? - splitting because a guy liked one editor, and the other guy liked another editor. And they argued so much about this that the whole dev team dissolved.

    Linux needs a "pope". Or a government council (like the W3C) which says which way apps will interact with each other, with the kernel, and with the hardware.

    Let me rephrase it: Linux needs STANDARDS. Linux needs something like "a W3C" government which publishes a standard, uniformed API of doing things. Like what the w3c did with the DOM (and so we can prevent things like the "browser wars" happening in Linux.

    One of the reasons WinXP flourished is that it had a standard way of doing things. Make them compatible with the API (even if its security is as solid as a gruyere cheese), and they r

    1. Re:A good set of standards. by PenGun · · Score: 0

      You have no idea do you? The stone joy of Linux is the ability to do any damn thing you want. I find windose to be like wearing a straight jacket. The OS is so geared to idiots that it's hard to do anything cool.

      My videos, DVDs, audio stuff all just comes up running from the main menu which accesses the file system for content. I have yet to see a windose desktop with anywhere close to the usability I've built into my window manager.

      PenGun
      Do What Now ??? ... Standards and Practices !

    2. Re:A good set of standards. by RealAlaskan · · Score: 2, Insightful
      Linux isn't friendly for:
      * Installing apps

      Apt-get or urpmi or yum. Your distribution will use one of those, and you will have no problems. It's far easier than windows.

      * Guiding the Joe user to a friendly painless installation of the OS itself

      Windows installation is more painful than Debian, but that's immaterial: Joe User should never be installing an OS. Knoppix makes for a ``friendly painless installation of the OS'', but I still say that Joe User probably shouldn't be doing that.

      * customizing
      * configuring

      If you want simple, you can't have those two. If you want to customize and configure, you have to accept some complexity. You have to be willing to make choices. One area where Linux could still improve is in having sensible defaults, so that you don't have to make those choices right at the start. Linux is much better on this than it was when I started using it, with Redhat 6.0. Again, Debian really shines here: I haven't had to do much customizing or configuring with Woody or Sarge. I suspect that the latest Redhat, et cetera, is similarly improved.

      And don't come tell me it's much better than windows. I ALREADY know that.

      Yes, there's always going to be room for improvement.

    3. Re:A good set of standards. by Anonymous Coward · · Score: 0
      Apt-get or urpmi or yum. Your distribution will use one of those, and you will have no problems. It's far easier than windows.

      Well, the tools are easy to use, but they don't solve the problem entirely. For example, I thought I would try out Fedora Core 3 recently. It came with Firefox, but no flash plugin and little Java things didn't work in the browser either. I had to search for how to install these items, and at least the Java install instructions had to be spelled out and were distribution-specific. Now, why people have to make web sites that depend on Java is beyond me (yes, full Java to do rollovers and such), and it's not quite clear what file you need to get under Windows, but even the filenames are irritating under Linux. If you have to drop to a command-line, the commands and filenames should make sense. All in all, things are getting better. There should be some kind of quick-start guide put on people's desktops when they install one of these modern distros that explain the common set-up things that will be left due to the inability to include certain licensed software within the distribution itself.

    4. Re:A good set of standards. by Anonymous Coward · · Score: 0

      Want an example? We have KDE, QT (is that spelled right?), and I forgot if there was any other.
      So there are apps compatible with QT that can't run on KDE, and viceversa.

      That sounds like utter bullshit. Which Qt applications can't run on KDE?

    5. Re:A good set of standards. by andymac · · Score: 1

      I have only 3 words for you:

      1. Get
      2. A
      3. Mac

      Roger roger over and out.

      --
      "Content's a bitch."
    6. Re:A good set of standards. by Stevyn · · Score: 1

      This guy is exactly right and any posts saying that apt or udev or hal or qt or gtk or hotplug have already solved the problem is missing the points. Those are optional add-ons that other people had to make to try and solve the problem, but obviously came short since we're still dealing with them.

      I'm not saying windows is perfect, but why do people think that should be the benchmark? Linux needs standards. Some of Linus' stature should create an organization that oversees what becomes a "standard desktop linux component". You want the hypothetical Penguin sticker on devices and software at the local computer store? Then this is the only way other companies will take the gamble of saying their product works with linux.

    7. Re:A good set of standards. by Rob+Riggs · · Score: 1
      Linux isn't friendly for:

      * Installing apps
      * Guiding the Joe user to a friendly painless installation of the OS itself
      * customizing
      * configuring
      in other words... everything.

      OK, as one who just spent two days ressurecting a comatose XP box, all I can say is "hogwash".

      On Linux (Fedora Core 3), download an RPM using Firefox; go to the Firefox download window; click on the RPM. A dialog box pops up asking for the root password. Fill in the blank. The RPM is installed. Done.

      The installation of Fedora Core 3 was no more painful than the reinstall of XP. In fact, for XP I had to call a toll-free number and say something like 30(!) numbers to an automaton, and receive back 30(!) more numbers just to complete the reinstall. And I had to perform something on the order of 7(!) updates with reboots to complete the process. With Fedora, a single update using the "Red Hat Network" GUI had the system up to date.

      What needs customizing or configuring that isn't readily available in the Preferences, System Settings or System Tools menus? Anything not in those place requires a trip to regedit in XP or /etc in Linux. A lot of people who have years of experience with Windows get frustrated when they cannot figure out Linux in an hour. Let me tell you, there are plenty who experience it the other way around!

      And with regards to your rant about needing standards, Linux has all of the standards that it needs: the Linux Standards Base, which itself incorporates many additional UNIX standards, along with OpenGL, PostScript, and many others. What Linux does not need is a monoculture. That's what I see is wrong with Microsoft and Apple.

      Is everything perfect with Linux? No, certainly not. But your critiques are not those I can agree with.

      --
      the growth in cynicism and rebellion has not been without cause
    8. Re:A good set of standards. by Anonymous Coward · · Score: 1, Informative
      You have no idea do you? The stone joy of Linux is the ability to do any damn thing you want

      Okay, I want to:

      1) embed different spreadsheets each with cascading spreadsheets into multiple cells of a main spreadsheet -- easy with MS Office, can't do it in Linsux OpenOffice.

      2) embed video clips into a slide presentation -- easy with MS Power Point, can't be done with any Linsux software

      3) print a complex document to a $40 printer -- easy for Windows, not for Linsux

      4) play the hottest videogames -- easy in Windows, can't be done for Linsux

      5) off load an arbitrary digital camera's photos to a computer by USB -- easy for nearly any camera and current Windows system, impossible for most Linsux systems

      6) add arbitrary PCI hardware, usb hardware, serial/joystick port hardware without worrying about drivers -- mostly automatic for Windows, a horrendous task for Linsux.

      7) add a local PC via cross-over patch cable to a laptop connected by WiFi to a NAT enabled wireless router -- easy with Windows network wizard, a much more complicated, table editing, config file changing task with Linsux.

      Those are just a few of the tasks this week off the top of my head. People that routinely use both Windows and Linux know what's easy and not so easy to do in each OS, so don't come off so fucking high and mighty because you'll just look incredibly stupid.

      My videos, DVDs, audio stuff all just comes up running from the main menu which accesses the file system for content. I have yet to see a windose (sic) desktop with anywhere close to the usability I've built into my window manager.

      Dufus, Windows has My Pictures and My Music directories already created out of the box for each new user. Comes standard with Windows Media Player that plays all DVD's and most audio formats by clicking a file name or automatically by simply inserting a CD/DVD. No "setting up" required.

    9. Re:A good set of standards. by dbIII · · Score: 1
      Linux isn't friendly
      I agree, *nix is complicated so there is a lot to learn, but I don't agree with some of your points.
      plug-n-play, ability to easily install new apps without the ./configure-make-make install and recompilation pain,
      That's life on the bleeding edge - if you can wait a few weeks all you need to do is type "yum install someapp" or "apt-get someapp" or use a GUI that does the same thing. Windows isn't always so nice either. Any systems admin that has had anything to do with varying breeds of windows will be able to tell you plenty of stories of software and hardware that will only run on certain versions of windows or various kludges they had to use to install/configure things. Even just installing NT4 on a recent drive requires a lot of mucking around, and some purpose written software will not run on a newer MS operating system.

      The odd statements about things not working across different distros is strange, a lot of software that runs on linux can be recompiled to run on a Mac or an SGI workstation or a Sun.

      I'm assusing the gnome people are heading towards a MS Windows clone on *nix, so it will make a lot more sense to people trained on MS Windows as time goes on.

      Windows looks easier to people for three reasons - usually someone else sets it up for you - they teach it in school - there are usully not a lot of programs installed which the user has access to. Various breeds of *nix usually allow the user shell access to thousands of simple little programs, and setting up a *nix system of any kind involves a bit of knowledge. Apple with OSX and Klaus Knopper with Knoppix have acheived *nix systems that appear to be very easy to use.

    10. Re:A good set of standards. by poofyhairguy82 · · Score: 1
      Apt-get or urpmi or yum. Your distribution will use one of those, and you will have no problems. It's far easier than windows.

      Hmmm. These things require something called a command line- something I haven't had to DEAL WITH in windows since the 98 version. Want to freak Joe-User out, show him the command line.

      And sure, there are GUI frontends, but they still don't tell me what programs I need. Lets say I need a photo-editing program. You and I know I need the Gimp, but how is Joe User supposed to find that out? It isn't named something helpful like "Photoshop." What if he doesn't have a net connection, can he buy a package of Gimp in WalMart that will install the program after he inserts the CD and clicks next 80 times? No? Then Linux isn't there yet. Only Click -and-Run comes close, but its in a pay-for distro.

      (Note: I'm typing this on Ubuntu now, and I love Apt-get. But I hate finding what programs I need- the package desciptions don't use laymen terms. I'm always forced to use google to find some message board where someone posts the name of the program I need. That is not a practical solution. I love my Linux box, but software installation is the single biggest problem in Linux today!)

    11. Re:A good set of standards. by theantix · · Score: 2, Interesting

      (1) Linux is not user friendly.

      How friendly is formatting your disk every few months when the latest windows virus clobbers your system? I know many windows users who have this problem constantly, I don't see how anyone can find that user experience friendly.

      If you use a sane distribution, adding and removing applications is far easier than in Windows. In the distribution I use, Ubuntu Linux, I have thousands of applications available to install from a convenient interface, no need to download .EXEs and turning my PC into a spam zombie. Configuration was done automatically, not requiring me to download and install drivers that bloat the system tray into incoherence.

      The only excuse you have for saying Windows is easier is if you buy hardware that is designed to only work with Windows. Well fuck, if you buy Phillips screws it's your own damn fault you are stuck with Phillips screwdrivers, hard to blame Robertson screwdrivers for not being easy to use.

      (2) Duplication is Bad

      There are many examples of duplication of effort, you listed one of the prominent ones. But you neglect to consider that rational people can have different preferences. I prefer a slick desktop that is simple and Just Works, and I am very happy with my Gnome desktop. Others prefer a powerfully configurable and animated system that is great for the latest eye candy, and they are very pleased with the KDE desktops. Others sacrfice some of the features of those projects and go with XFCE or other cut-down DEs that suit their preferences.

      Get it? It's not bad that people have different ideas on how to get things done. The major desktops all share a system tray standard, work together on freedesktop.org, and are soon scheduled to share the underlying media platform. Indeed, because of the rivalry Gnome is pushing to add new features, and KDE is pushing to make their interfaces more friendly and consistant... and both projects will benefit as a result.

      (3) Linux standards don't exist

      Yeah, it would be great if there was a group that set such standards. It could be called the Base of Linux Standards, or the Linux Standards Base, or something like that. Anyhow, I'm sure they'd work out a name, but on behalf of Linux users everywhere I thank you for your brilliant and fact-checked suggestion.

      --
      501 Not Implemented
    12. Re:A good set of standards. by Anonymous Coward · · Score: 0

      > Hmmm. These things require something called a command line.

      One word:
      Synaptic

    13. Re:A good set of standards. by cprior · · Score: 1

      From a religious perspective, compare with Roman Catholicism and protestantism. Roman Catholicism would be Windows (one pope called Bill Gates who dictates what is true and what isn't) and Linux would be the protestant denominations incompatible with each other. Some survive, some die... etc.
      Linux needs a "pope". Or a government council (like the W3C) which says which way apps will interact with each other, with the kernel, and with the hardware.

      You mean we need a pope so that we can have icons? But these are rather an orthodox thing, aren't they?

    14. Re:A good set of standards. by RdsArts · · Score: 1
      Apt-get or urpmi or yum. Your distribution will use one of those, and you will have no problems. It's far easier than windows.


      Hey, that's great. I'll apt-get or yum this program that no one has bothered to package yet and... Hmm... Doesn't... Seem to be working... Maybe the servers are just down...

      Oh, no, wait. It requires someone to make a distro-specific "repo" so they can use it. And apt for Debian isn't the same as Ubuntu, Linspire, or RedHat. Joy.

      And I guess we can use these "unofficial" repos to bring in tons of software. Installing various bits of software from these repo as root with no checks, possibly replacing core parts of the OS, what could possibly go wrong?

      You're right. The problem is totally fixed. I don't know what anyone's complaining about.
    15. Re:A good set of standards. by HeghmoH · · Score: 1

      It's far easier than windows.

      This seems to be the Linux user's favorite retort for any shortcoming. Comparing your OS's usability to Windows is like comparing your restaurant's food to McDonald's. It's true that it's better, but that doesn't mean anything.

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
    16. Re:A good set of standards. by Desval · · Score: 1

      Sounds like Joe User himself is the crux of the problem. If we can get rid of him then everything else would be solved.

      --
      7061756c4073697267616c616861642e6f7267 687474703a2f2f7777772e73697267616c616861642e6f7267 2f7061756c
    17. Re:A good set of standards. by Anonymous Coward · · Score: 0

      Apt-get or urpmi or yum. Your distribution will use one of those, and you will have no problems. It's far easier than windows.

      Really. I installed Gaim on my Debian box earlier this week, and these were my steps:
      1. search for Gaim at http://www.apt-get.org
      2. add the sources to /etc/apt/sources.list
      3. type apt-get update then apt-get install gaim in the command line
      4. manually add shortcuts to my KDE start menu and desktop

      Sure, very simple for a geek, but which do you think is easier for Joe Sixpack (who probably doesn't even know what a command line is)? The above steps or simply double-clicking 'install_foo.exe'? My bet is the latter.

  140. RAD development tools by Anonymous Coward · · Score: 0

    On most servers the user interface doesn't matter whether its text based or a GUI. But for the average Joe who has trouble using windows how do you expect them to use *nix. Development tools are the future. If its easier to develop a GUI application in windows using VS studio how is *nix going to compete. Until that happens forget about trying to improve it. I Understand that there are tools to build GUI's like Kylix but doesn't use the gcc compiler which everything is compiled against. Then theres QT another nightmare. Then there is Mono which could be the answer to .net. But you still need a GUI development tool to beable to design GUIs, write code, complie, debug and run from one application.

    1. Re:RAD development tools by daveaitel · · Score: 1

      Python, pyGTK and Glade (and libglade) are exactly the answer to this. And they come installed and working great on the latest Linux distributions (i.e. since RH9 or so).

      It's a lot easier to use (and learn) pyGTK than any of the expensive Windows tools. And for real development, your programs can look just as good with pyGTK as they can with any of the other toolkits.

      My money is where my mouth is: www.immunitysec.com
      Dave Aitel
      Immunity, Inc.

  141. And Apple is Open, what's the problem. by MarcQuadra · · Score: 4, Insightful

    OK, you know about Darwin, but if you go to the Apple site you can look at the code for WebCore, OpenDirectory, Apple's Kerberos implementation, Darwin Streaming Server, Apple's drivers for their hardware, their mods to CUPS, Samba, ZeroConf, GCC, Apache, and a whole SLEW of other stuff.

    The only stuff they don't give you is the source code to Aqua and their in-aqua userland apps, which makes sense, because giving that stuff away would be business suicide.

    When Apple said they were going 'open source' it didn't say they were going to release the source to their core apps, like the Finder and iPhoto, but they've been very generous about contributing the code they borrowed and modified back to the community.

    It should also be noted that Apple gives back to the projects they work on, GCC has come quite a way on the PowerPC since 3.0 thanks to Apple.

    In my opinion, Apple's strategy is one I'd like to see some vendor take with Linux, you take the kernel and mod it for high-performance desktop apps, get GTK+ running on an accelerated OpenGL framebuffer, tweak and simplify a slew of apps and SELL it. As long as the mods to existing software make it back to the community, it's a net gain for all of us.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    1. Re:And Apple is Open, what's the problem. by puppet10 · · Score: 1

      Would it really be suicide for Apple to release for free all of the source code for the OS (not the individual apps, that would be a different argument)?

      The fundamental question is do people generally buy an Apple for the OS?

      Or does it have more to do with the carefully crafted image, design, and style of their hardware products (supported by their software design)?

      I think it could be argued that they could release their code tomorrow for Aqua (without the pretty graphics files to back it up, keep those and release a functional but spartan version) and their business would not be affected much at all.

      --
      -------- This space intentionally left blank --------
    2. Re:And Apple is Open, what's the problem. by artemis67 · · Score: 1

      Would it really be suicide for Apple to release for free all of the source code for the OS (not the individual apps, that would be a different argument)?

      The fundamental question is do people generally buy an Apple for the OS?

      Or does it have more to do with the carefully crafted image, design, and style of their hardware products (supported by their software design)?


      People buy Macs for all of the above.

      If Apple released ALL of their source code, for Aqua, iPhoto, iMovie, etc, etc, Apple would absolutely lose a large chunk of business. A group of programmers would port it all over to Linux within 6 months.

      People buy Apple for the whole experience. If you take most of that experience, and port it over to x86, then you basically have people paying a premium for a fancy case. And guess what, there are knockoffs of those, too.

    3. Re:And Apple is Open, what's the problem. by puppet10 · · Score: 1

      And I repeat for the hard of reading::

      "not the individual apps, that would be a different argument"

      "I think it could be argued that they could release their code tomorrow for Aqua (without the pretty graphics files to back it up, keep those and release a functional but spartan version)"

      --
      -------- This space intentionally left blank --------
    4. Re:And Apple is Open, what's the problem. by MarcQuadra · · Score: 2, Insightful

      Would it really be suicide for Apple to release for free all of the source code for the OS?

      Yes, Apple lost a huge portion of the home user and educational market, they're aiming to get a foothold in the data-processing sector, where *NIX is already in use. Releasing ALL the source except the consumer-friendly bits would obliterate their chance with shops like the government and large data-oriented customers. Why buy milk from Apple when you can roll-your-own Apple cow?

      Also, there's a LOT in the OS that Apple probably CAN'T release, it's licensed from other folks, or it was written under different rules.

      Apple does a lot of work for the OSS community, they give back more than most companies do, and they should be praised for it, just like IBM (they do a TON of stuff for the OSS community).

      I thought the Linux/OSS users were going to get behind vendors that supported us and buy their products, that's what we said back in the '90s when hardware support was VERY hard to come by. The time has come, and if it's not all you thought it would be, think about all the Linux companies that went belly-up and why. There's a happy middle-ground between going totally nuts with the code-sharing and giving back while keeping a marketable product to yourself, Apple and IBM have found it.

      Now think about this:

      Apple gave us a BSD OS, tuned for multimedia and desktop use, something we've been working on for a while now. They'll give us Darwin, and sell us OS X. But you can take Darwin, install a ports system of your choice on it (gentoo, darwinports, apt-get, etc.) and use it just like any other system. You get OpenDirectory, which is quite possibly the best thing to happen to computers since ethernet (really, read about it!), you get xorg, and you get drivers that provide 100% functionality with Apple-branded hardware.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    5. Re:And Apple is Open, what's the problem. by johnnyb · · Score: 2, Insightful

      "The fundamental question is do people generally buy an Apple for the OS?"

      I haven't bought one, but it sure is the reason I recommend it to others (if by OS you include applications like the Finder, but not iLife etc.).

      The expose' feature is wonderful.

      The heavy drag-n-drop integration is beyond anything I'd ever even thought of, and makes it a complete joy to use.

      The dock is really cool. I like that it magnifies as you go over the icons, that it points to which applications are open, and that it keeps a thumbnail of minimized windows.

      The ability to install an application just by moving a single file into the "Applications" directory is phenomenal.

      The single-menu-bar is a fantastic idea.

      The system preferences are easy to set and use. Setting up mobile networking was a snap.

      And I'm sure I've only scratched the surface.

    6. Re:And Apple is Open, what's the problem. by Anonymous Coward · · Score: 0

      Actually its MIT's Kerberos implementation.

      http://web.mit.edu/macdev/www/kerberos.html

  142. My wish list by miu · · Score: 2
    • A standard and efficient set of IPC mechanisms.
    • Shared memory servers with defined behavior and controls for multiple readers/writer processes and threads.
    • Standard debugging and trace versions of system libraries.
    • Standardized time types for all commonly used timer tasks
    • Clean system header files and hierarchies that don't require every compiler vendor to do stupid and confusing things to meet various published standards.
    • Standarized interfaces for process read/write and trace
    • A very clear distinction between userland and kernel threads in standard system libraries

    Tons more, mostly it is just a problem of cruft and people trying to deal with every standard org that ever decided to publish the One True Unix standard making their standard just different enough to be a PITA.

    --

    [Set Cain on fire and steal his lute.]
  143. The filesystem interface by dpuu · · Score: 1

    The filesystem abstraction is good: You have a lump of data, and any process can stream it in by asking for it by name.

    But we are stuck with the idea that only kernel-kackers know where the data comes from. Even things link Linux' VFS require kernel modules to add new filesystems. So user-mode users can't add new types of files.

    Why is this important? There are several types of problems that could be easily solved using simple user-mode mount points:

    1) persentation of information: Lets say we have a set of objects (or database rows -- the data source shouldn;t matter), and you want to present it as a file. The unix-way is to run a query to generate a file. The you can look at the data in a n editor; and if you modify it, you can run an update script to put the data back. So we have 2 operations to "open" the data, and 2 to update it. Why?

    A kluge solution would be to attach trigers to the open/close file operations, but that doesn't really work. I want to be able to type:

    ls people.age
    vi people.age/20-24
    {edit and save}

    and have it all work dynamically (i.e. I'd be able to use standard unix tools to browse data, and modify it).

    Non of this is rocket science. People talk about database file systems, but they're looking at the wrong part of the problem. Anyone with root access can easily (well moderately so) write a kernel module that does this today. But why isn't it user-mode?

    A second usermode filesystem app should be version control. It should be possible to write a filesystem client similar to Clearcase without being a kernel hacker.

    I remember I once asked on Perlmonks about a tool called PerlFS, that lets you write filesystems in usermode (though you do need to install a kernel-module to set it up). I was laughed off the site -- there is a mindset that says "filesystems are kernel apps". "It'd be too slow" people say, forgetting that you can mount (and use) NFS over a 14K modem. "It'd be insecure" is another favorite.

    People build IDE tools for developing software, but they forget that Unix *is* and IDE. We just need a filesystem that lets us join together the fundamental tools (ls, more, grep, ...) in more ways than just pipes.

    .

    --
    Opinions my own, statements of fact may contain errors
    1. Re:The filesystem interface by fossa · · Score: 1

      Yes, I agree that filesystem abstraction is good. Have you looked at the Reiser4 filesystem? The papers on that site have similar ideas to yours. Why can't the filesystem be the interface to many things? Then we gain in the ability to use common tools (ls, less, rm, ...) on something new.

      Also, I am aware of two projects to create filesystems in Linux userspace. This is also a great idea and I don't truly understand those who do not see the usefulness. One is FUSE, the other is LUFS. Both require a kernel module (obviously), but from that point on users (other than root) can mount and use arbitrary filesystems. I have used sshfs included with LUFS to mount a remote fs only available via ssh. This makes me so happy. I love running commands over ssh, but I love running local tools on remote files even more.

  144. Simple: TRASH by krray · · Score: 1

    Trash. I can hack it into typical command line rm type usage. Even intervene in the clearing of i-node's through any program's call. Delete through Samba and it goes to the .recycle directory for that tree.

    I miss Netware's implementation where a deleted file is basically marked as such and placed in queue to actually be removed. As more space is needed or more files deleted it is moved up in the queue to actually be removed or until the specified timeout period has passed.

    Watching a 100 users beat up a properly set up Novell Netware server and knowing nothing is going to easily be deleted (and easily be salvagable) is a God-send. Elevator seeking anyone? Watching 20 users choke a Windows server on the *same* hardware was comedy in motion. Linux can easily handle the "Netware" load, but...

    Of course those really interested are watching Suse very closely. I know I am. :)

  145. Componentizing: Great Idea, Bad Follow-Through by thasmudyan · · Score: 1

    Everyone knows, the basic idea was "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features." and then make those little programs compatible so they can work together in any number of meaningful ways.

    Only, that's not how it all turned out, is it? First, The Philosophy mainly applies to text-messages in the command line environment. Most of the tools don't really produce output that can be readily reused as input for others. That's because Unix tools use the same bastardized text output both for human readers as well as a datasource for other tools.

    It works amazingly well, though, but it could be better. Ideally, those tools were objects that adhere to some basic (very very simple) interface standards. They could interchange machine-meaningful object and property data which could be rendered in any number of ways as needed for the end user.

    Also, The Philosophy was misapplied when desktop environments were created. They're horrible and bloated and not really that modular. Besides, I expected some radical new GUI features to be invented in accordance with The Philosophy. But all that actually happened on the desktop was a (mostly bad) copy of Windows.

    But otherwise, it's great!

  146. Here is my list by Omnifarious · · Score: 1
    • Support for asynchronous IO is spotty and somewhat ill-concieved. It should be possible to write an application that is completely event driven, even down to disk IO. The only event I can see that may be impossible for an application to schedule ahead of the time it needs to results is a page-in. In particular, it should be possible to do the exact same form of asynchronous IO on every single file descriptor resource a process can own.
    • The filesystem API needs to be changed so that filesystems that support full ACID semantics can be used. This, IMHO, is the biggest barrier to high-quality distributed filesystems.
    • The IO system needs some means of doing 0-copy IO that works for every single file descriptor resource a process could own.
    • Once the above are implemented, a slimmed down, core API needs to be designed and all the old standard Unix calls implemented in terms of it.
  147. Elitist bastards... by Anonymous Coward · · Score: 0

    thats the one thing wrong with Unix...

  148. Button clicking users... by bheckel · · Score: 1

    ...who don't want to exert even the slightest effort to reap the benefits of a truly powerful OS are a problem.

    --
    ~
    ~
  149. Stability of reference by letdinosaursdie · · Score: 1

    The purity of the data / processor partnership has been lost as the amount of data we rely upon for daily computer use increases. Memory used to be all there was, with hard drives or other storage media being treated more like accessories than integral parts of the system. But now treating long-term storage so differently from RAM interferes with abstraction. Refences to data are unstable because the data are serialized in some ad-hoc fashion between program executions, so a large amount of potentially useful information remains locked away in the file system. The OS needs to provide a richer foundation than simple address spaces, instead supporting data structures in a manner similar to a Lisp top-level and automating their persistence to disk in a standardized manner. This way, once data was created once it could always be reached in the same way... a sort of "stability of data reference".

  150. my list by dutky · · Score: 1
    1. advisory locks suck, let's get real file locking. (either you can't open a locked file, or, having opened the locked file, writes to file should fail)
    2. (as others have said) reorganize the filesystem, make it simpler and more logical. (What's the fscking difference between /bin and /usr/bin? What about /usr/local/bin and /opt/bin?)
    3. crib some stuff from VMS: my pick is logical names. (logical names are names that don't physically appear in the file system but which can be referenced through the file system as if they physically existed).
    4. (also as others have said) get a better file system. ReiserFS is a start, but we need more policy as well as well as mechanism.
    5. As long as we're on the mechanism/policy thing, we need more standardised policy for user interfaces and UI APIs. KDE and Gnome are bad starts in the right direction.
    6. UNIX configuration sucks. It's so bad that I don't even know where to begin. We need to have, at least, some configuration system that is simple enough for regular mortals to deal with (especially if we want to see Linux on home desktops). As I said, this is such a mess that I don't even know where to start.
    1. Re:my list by Anonymous Coward · · Score: 0

      http://www.pathname.com/fhs/2.2/

  151. Things I Would Like Changed by Goo.cc · · Score: 1

    Setuid binaries are the things I hate most. There needs to be a concerted effort to eliminate them where possible. The most notable examples where they seem to be needed are for changing passwords and programs that need to access TCP/IP ports below 1024. I would suggest two fixes be considered:

    1. Split the passwd file into multiple files, each owned solely by the user it represents. That way, the passwd and chsh programs can operate without being setuid.

    2. TCP/IP ports should be represented in as devices in /dev, with ownership of those devices being assigned to programs that need them. For example, /dev/tcp/ip/80 could be owned by user www and /dev/tcp/ip/25 could be owned by user Sendmail.

    Of course, there are probably many technical reasons that this wouldn't work but that is my suggestion.

    I would also like to see more of an effort to get people to appreciate the culture and beauty of Unix. It pains me everytime I see someone talk about Linux and the BSDs solely as a means of knocking off Microsoft. I don't use Unix because it isn't controlled by Microsoft or because it is free. I use it because I think it is better.

    1. Re:Things I Would Like Changed by Anonymous Coward · · Score: 0

      i think you meant /dev/ip/tcp/80

  152. What's wrong with unix? by MrElcee · · Score: 1, Interesting

    The main problem I see with my preferred brand of Unix on the desktop is I have to run it on a Mac to get the pretty widgets/gadgets.

    Give me OS X/ X86 or I'm gonna club this here baby seal! .app bundles are cool. code/library/config/resources scattered all over the hard drive is not..

    Not having to muck around with getting X11 is cool. Hats off to folks like Knoppix who manage to make a setup that works out of the box with most systems..

    Printing.. Printing needs to get sorted out a bit better. Too many people have problems printing or find themselves buying a postscript printer just to have it work somewhat well.

    Configuration: Preference panels to hande configuration are nice. editing config files with vi/emacs/joe/etc is not all that nice. It's nice to be able to do either, though..

    I honestly don't really care how it all works underneath, just that it does.

    Simple UI's.. So many group are making desktop environmentst that look like and work like windows.

    Simple is good. Windows UI is only simple because you use it for years..

  153. Man IS the problem. by solios · · Score: 1

    Man feels like function documentation by the programmer for the programmer- or for really advanced users who already Know the system as it existed during the devlopment of the application.

    Man is not a Guide.

    As a n00b, I'd love to be able to type, say.... guide vim and get a guide to using vim for the new user. Not the results of man vim, which is the vim man pages the way the vim programmer(s) decided they should be organized.

    1. Re:Man IS the problem. by burns210 · · Score: 1

      How about native (alias) command names that make sense.

      It is stupid to have a creat command when it should be create. It is stupid to save 1 letter to save time in command names.

      I would almost like to see a unified (API almost) set of commands. Help, New, Edit, etc. That map to that distro or Unixes preferred program that fills that role.

      unpackage or uncompress(or whatever) might be mapped to "tar-zxvf" on some systems, but on Solaris, the flags are different. Why should the user memorize the different flags when they just want to tage a .tar file and unpack them?

      "less" is the superior(apparently) version of "more". You have to be told that specifically to know these things.

      Archaic/hard to remember commands are no longer justified.

      And man pages(or any preferred help system. I would like a "help vi" rather than "man vi" personally. But it should also be "vi --help") that are written in simple english, but include the information for power users. This isn't hard, just no one does it.

  154. UNIX is dead... by BillGatesTheSecond · · Score: 1

    long live Linux!

    thats a fact, proven not least by the drovs of companies that has replaced expensive UNIX iron with cheap Linux x86-based hardware servers and workstations.

    Whats wrong with UNIX? its a dead horse that only some oldtimers continue to beat.

    1. Re:UNIX is dead... by amigan940 · · Score: 1

      While you are correct that UNIX is rarely used today, linux is *not* the only Unix system that runs on PCs, and, IMNSHO, is not the best, either. Really, all this hype surrounding linux ought to come to an end, as there are much better alternatives.

      FreeBSD instantly comes to mind when searching for an organized (as in both the kernel and userland are maintained and written by the same people, and that there is a defined location for most files), solid Unix system that runs on cheap hardware.

      --
      dd if=/dev/zero of=`df / | awk '/^\/dev/ {print $1}' | sed 's/s[0-9][a-z]//'` count=1 bs=512 && shutdown -r now
    2. Re:UNIX is dead... by BillGatesTheSecond · · Score: 1

      Linux is not UNIX ;) besides that, *BSD's hardware support is terrible compared to Linux, thats makes it a no-go option if you want a fully functional desktop/workstation solution. (multi-media etc)

    3. Re:UNIX is dead... by amigan940 · · Score: 1

      How so? I'm currently on my FreeBSD workstation, and 99% of my hardware is supported (the 1% didn't work on linux, either).

      Next time, please attempt to back your claims with fact and not folklore.

      --
      dd if=/dev/zero of=`df / | awk '/^\/dev/ {print $1}' | sed 's/s[0-9][a-z]//'` count=1 bs=512 && shutdown -r now
    4. Re:UNIX is dead... by BossMC · · Score: 0

      > long live Linux!

      Long live rebellious-yet-monocultural thought? Long live 99% solutions? I sure hope not.

      Those "UNIX iron" you speak of are about 500 times more reliable than your little Mandrake desktop running gaim and samba, I'm sorry to say.

      Linux may have the linecount in it's .c files, but that's about it. Stability? Not so much. Good documentation? Not so much. While there are a lot of docs, they are specific to a minor version of one distro in 50000. Hardly accessible.

      Example from kernel config:
      Choosing "Y" enables feature, while "N" disables feature.

      Besides, UNIX lives on in the form of the totally not dead BSDs.

      By the way, whats a "drov"? Is that the new term for "Linux troll"?

    5. Re:UNIX is dead... by BillGatesTheSecond · · Score: 1

      Oh dear, the BSD-talibans is on the war path again, no thanks, anyone that tried BSD and Linux knows that the former has support for fewer hardware than Linux ->.

  155. C and \0 (was Re:MOD SELF UP!!) by ob0101011101 · · Score: 1

    C is a sleek and powerful tool. To get the best out of it, you have to be willing to sit and learn. It's not for quick-hack programming, but for low-level code where size and speed are everything. It's the tool of the master-craftsmen. C 'strings' are a two-edged sword, the conscious descision to not bound check is that of an uber programmer. It's efficient and simple - the hallmark of good coding. However you must be exacting in your code, that's the price. If you put in the effort to get it right, you are justly rewarded. String bound-checking is a collar leading to imprecise programming.

  156. Re:Feel sorry for the people at google that read t by utlemming · · Score: 1

    Actually the BSD's are Unix-variants. Per the FreeBSD homepage, "It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley."

    --
    The views expressed are mine own and do not express the views of my employer.
  157. Should be easy to do stuff for lusers. by Anonymous Coward · · Score: 0

    This guy shouldn't have not got any offers, this type of thing should be a 5 minute no-brainer: http://groups.google.ca/groups?selm=401c960d%240%2 429131%24afc38c87%40news.optusnet.com.au&output=gp lain

    Penis Drize

  158. Installing THEN removing software. by headkase · · Score: 1

    I wish that a standard installer was built into the kernel so that Linus would through delegation would be in charge of it. Good package management that was consistant across distributions (because they would all use this uber-kernel) would be the nicest thing I could think of for improving *nix.

    --
    Shh.
    1. Re:Installing THEN removing software. by Taladar · · Score: 1

      The moment something so clearly user-space as a package-manager gets put into the kernel with Linus' knowing is the moment I switch to another OS.

    2. Re:Installing THEN removing software. by headkase · · Score: 1

      Yeah, I guess I agree with you. My comment was more out of frustration - I'm a newbie with a SuSe 9.2 box with everything installed from the 5 CD's and I'm still always running into package dependency problems while I'm trying to install new software. Man, when your new like I am you really could use something that is taken for granted like the Windows installer.
      I would love to see a package manager that could compile .tar.gz source archives, rpm's, .deb archives, and all the other formats that are out there. Yast is good until the package you want isn't in it's catalog.

      --
      Shh.
  159. Re:setuid stuff is confusing + M$ like system rest by mattyrobinson69 · · Score: 1

    isn't system restore for device drivers only?

    The features your looking for would be found in ghost in windows or dd in unix

  160. foo=(~unix(foo1=1)) % (int)(1 + rand() % pi()) by Anonymous Coward · · Score: 0

    1) Older System V IPC sans pipes. Shared memory is the only one left that is really valid and it can stink to use,because of...
    2) Yecchhh..semaphores.
    3) Older central authentication and network file systems. Read NIS, NIS+, NFS and unadorned Kerberos.
    Why not make this mess transparent and integrate
    it into some coherent acl'd network filesystem,
    with a set of easily configurable authentication apis or 'modules' speaking of which..
    4) Yecchhh, PAM.

    My last complaint with unix is the big one.
    The X api. The API's to X and graphical apps
    are really, really painful. No wonder Java
    is used there.

  161. Program Installation Locations::Solution::gobolinu by AhaIndia · · Score: 1

    gobolinux is a linux distro with the solution to the above mentioned problem.
    It simplifies package installtion and management by redefining the entire filesystem hierarchy.
    As mentioned on their site:
    In GoboLinux you don't need a package manager because the filesystem is the package manager


    --
    ~Aha~
  162. To each program, a directory... by IBitOBear · · Score: 1

    I'd rather like to see (and have done some trivial work on creating) a system where the entirity of each application program/suite/whatever is put in a separate directory all under a particular root (like /opt). At each start-up a "runtime composer" goes in a stats the root. If it has been updated since the composition flag file, then the composer gives a real run at building the system directories out of the application suite directories.

    The tricky part is to have a dependency language or something, so that the startup ordering and run-level preferences can be figured out. Its not insurmountable but it is non-trivial.

    So anyway, packages that don't have all the requsite dependencies installed are "factored out" and a new bin and lib and etc directory is built out with simlinks and such. (Basically remove *all* the symlinks from the composed directory that don't point to things in the composed config, then add the missing links, which is a completely functional set-theory operation.)

    Anyway, you get the "better parts" of an installer scheme with a "remove that directory" uninstall semantic. Installations are just an "un-tar and reboot".

    One of the features that could be included are searching removable media (thumb drives) for packages that are to factor in to the currently composed runtime. Conser things like a read-only drive with the core system and the thumb-drive inclusion so that people (think students at school and cyber-cafes) with their own personality media could reuse interchangable core systems.

    The big problems I see are:

    Whining from the "must boot faster" crowd.
    Whining from the "shouldn't have to reboot to install" crowd.
    Needing a well designed dependency language and parser.
    The security model needs some tweaking in general to allow for non-priviliged packages to be used in non-priviliged ways.

    The system is fairly simple once you get away from thinking that UNIX's usage of /etc was godhead.

    The actual ideal is to have the root file system be a tmpfs (etc) where you would build the core directory structure at each boot. Using "mount --bind", symlinks, and a tiny semantic initialization block (e.g. to make /tmp, /proc, /sys, /dev and /dev/hd??) you should be able to compose a complete environment very fast.

    You could even pass kernel version, boot media and/or a few other things (like invocation parameters and language choice) into the composer script to potentially have a completely different effective root for any number of variant purposes. For instance a kernel developer could have a root template for "normal use" and for "testing the new build" on the same machine. Generic constructs like --no-packagename would exclude particular packages at boot time. That sort of thing.

    Basically we need to "throw off the opressive chains of having one statically preconfigured /etc directory." /etc is the Achilles Heel of every *NIX system.

    --
    Innocent people shouldn't be forced to pay for inferior software development.
    --"Code Complete" Microsoft Press
    1. Re:To each program, a directory... by Taladar · · Score: 1

      1. You know there are actually reasons why people don't want to reboot their production servers (or their workstations with 5 open apps).
      2. I haven't quite figured out what your system and the /etc directory have to do with each other 3. Rebooting everytime you want to execute something from a removable media is definitely too much

  163. Re:Apple Fan boy troll !!! by lederhosen · · Score: 1

    Most of the good free and good things is nothing special of OSX, What has Apple done that is now free? yes, some programs, but none that I use. Most of the open stuff in OSX is Mach, BSD or GNU.

    So why should I use OSX, because it runs *Microsoft* office, and other non free software!

    I feel fine running BSD and Linux, if I wanted to
    run propertary software I would use Windows.

  164. WINAMP! IT REALLY WHIPS THE LLAMAS ASS! by solios · · Score: 1

    Dude, don't go dissing the llama. :-|

    I agree with the issues you state re: "installers", and in my experience, there simply is no easy way to remove a piece of software that messily sprays itself all over the file system. Try doing a manual uninstall of earlier versions of netatalk- it's like cleaning up after a two year old has had radio shack to himself for an afternoon!

    The problem, ultimately, is that regardless of the system, the system will attract developers that are complete assholes. My favorite example is Adobe- they're complete fucking shits on OS X- so messy and disgusting you'd swear they were being intentionally malicious- an "installer" that shits files all over the filesystem and calls home during the install process- nevermind their complete failure to adhere to OS X human user interface conventions. :P

    1. Re:WINAMP! IT REALLY WHIPS THE LLAMAS ASS! by plover · · Score: 1
      Interesting, cuz Adobe sh!ts all over Windows, too, and they ignore many of the Microsoft GUI guidelines as well. Although they've gotten better in recent years, I haven't liked an Adobe product since PostScript. Their software behaves completely backwards from normal Windows expectations, right down to mouse motions. (And I think PDF is a horrible standard, too, but try explaining that to Adobe fanbois.)

      And everything Apple on Windows is actually far worse. For some unholy reason QuickTime insists on installing a registry-started task every time it runs. And this qttask.exe doesn't do anything for QuickTime, or for me. I didn't click "install" but it does. It just sits there, watching. It really pisses me off that Apple thinks it's a good idea to fsck over all my file associations, too, just because I wanted to view a stupid frickin' .MOV.

      Apple does everything wrong under Windows. They have yet to impress me. For all their vaunted "beautiful interface", they haven't ever learned "do what the user said he wants." I don't want three impossible-colors-to-distinguish shaded balls to click on -- my system settings are "put a big, easy-to-see red X in the 'close window' box." Apparently Apple doesn't care what I want, they only want to "look Appley" on Windows. It's a grating combination. If I wanted a frickin' brushed metal interface, I'd have downloaded a frickin' brushed metal theme. It's the whole 'When in Redmond ...' thing that they don't do -- their motto seems to be 'Even when you're not in Cupertino, YOU OUGHT TO BE! IN YOUR FACE, BILL GATES!' Way too arrogant, even for me.

      And no worries, I love the llama too.

      --
      John
  165. Ideally. by solios · · Score: 1

    In reality, Apache is a bunch of variables and paths, SSH is a bunch of switches (YES|NO), and the config files for irssi and blackbox look like uncompiled C. Complete with the goddamned {curlybrackets}.

    It doesn't make much sense for Apache to adhere to the same configuration method as SSH, and it makes no sense for either to be configured like a windowmanager.

    Regardless of the formatting of the text config files, some degree of standardization could be slammed on with a decent system "control panel" a la Windows and OS X... but there isn't a single one out there for any *nix desktop that's intelligent and all-inclusive.

  166. "chmod x+f" by Anonymous Coward · · Score: 0

    xrw flags are to limited. Should have a fuckup flag as well.

    You see, I miss the ability to give certain users permission to fuck up certain stuff, without them beeing r00ts.

  167. Re:The same thing that's wrong with every computer by 51mon · · Score: 1

    KDE does something like this, it uses a central dictionary to spell check in all text areas, with the red underline clueing people in to their failings.

    But in general I think your point is valid. User interfaces suck.

    I was thinking of a similar issue with the trend to "indexing", ala Google's new desktop offering (and everyone elses "me too" offering).

    Universally these are done badly, and they are done badly because they are extras, if someone had though of this from day one (and had resources to do it - real time spell check on a PDP7?) all apps would have the appropriate search hooks (not just IMAP4). For the same reason apps not designed for KDE may not do that spellcheck thing as well.

    In principal full OO design might help address this, if only we hadn't started here, problem, but only if we started with the right set of objects, and everyone built with them.

    Realistically I think it just reveals how hard good software is to write, and I don't have easy answers on that one.

  168. Exploitable race condition is endemic by Bloater · · Score: 2, Insightful

    After choosing a file to be manipulated by an exec'd process, the standard utilities all require a path to the file, instead of leaving the file open and passing the fd number on the commandline. Linux nearly has the infrastructure to handle this correctly with the existing tools and their command line interfaces by abusing /proc.

    The shell needs further enhancement to make this clean so it is reasonable to expect people to write multi-process and multi-binary programs securely.

    1. Re:Exploitable race condition is endemic by Anonymous Coward · · Score: 0

      You know that passing a file descriptor amongst processes is a little more complicated than that
      since the descriptors are not renumbered globally right?
      So, do you want shell scripters to be able to
      access your open file handles or do you want an ordinally higher namespace for 'local'
      descriptors that can be safely passed via some shell mechanism?

      A file path is safer, more certain and less demanding of brow sweat and kernel memory than a
      global stream server sitting behind each shell.
      Get real.

    2. Re:Exploitable race condition is endemic by Bloater · · Score: 1

      Uh, exec'ing doesn't require any brow sweat. You just set the fd flags with fcntl to mask out FD_CLOEXEC, then put the fd number on the arguments list. The problem is that no normal programs accept files in that manner (they all require paths).

      For daemons that accept a path over a byte stream, you will have to modify them to use a unix socket and pass an fd over it. This needs to be made simpler so that people will use it. Significantly, this does *not* require a global fd-space.

      For daemons that use an inet socket you'll have to stop deciding that a given path is the correct one in the client before finally telling the daemon. Instead, have the daemon open the path, then send whatever data is necessary to the client for it to check that this is the required file. But this change would only be needed in the most peculiar of circumstances in weird network applications (as single-system-image machines can use the unix socket approach outlined above).

      There are alternatives, such as ensuring that the file that the path refers to cannot change, but that requires mandatory directory locking (v bad), or transactions with each file operation having an argument indicating which transaction it is part of (nearly as bad). Those solutions require timeouts for the lock/transaction, and a way to ensure the lock/transaction has not expired before committing to using the path.

      Other than that, a read only directory or such a complex system that an attacker cannot find the route through change/escalation of priviledges to be able to exploit such a potential race condition. This is also a terrible solution as it makes programming of even simple systems a nightmare, and it is difficult to know that you *have* made it complicated to attack. The best solution is to make it easy to eliminate the race and standardise throughout the system utilities.

      This, rookie, is the price of secure programming.

  169. WTF? by don.g · · Score: 1

    Do you even have a clue what you're talking about?

    What do you mean by a "pluggable API-level interface"? Explain how one "plugs into" one of these.

    What do you mean by not depending on a single environment? Especially when you give "init" as an example of such an environment?

    You can probably tell I've tutored first year CompSci students before :-)

    --
    Pretend that something especially witty is here. Thanks.
  170. That's not just unix. :P by solios · · Score: 2, Funny

    It's actually WORSE in the linux community than it is in, say, the IRIX, Solaris or HP/UX camps. Then there's the OS X and Classic MacOS camps, which take the "being an elitist prick" mentality to a whole new level.

    Oh, and there's LISP users and HURD developers. Dear fucking gods, they set the standard.

    1. Re:That's not just unix. :P by Exitthree · · Score: 1
      hen there's the OS X and Classic MacOS camps, which take the "being an elitist prick" mentality to a whole new level.

      It's a reaction based on being the often taunted computer minority for so many years. Macs are cool now, and it's hard for a lot of people not to point out what they realized years ago.

    2. Re:That's not just unix. :P by WgT2 · · Score: 4, Interesting

      Wow, I find that interesting. The only job I've worked at where Windows and Linux techs worked in the same office, I found the Windows techs to run the greatest gamut of character: being the most haughty and exclusive to the most inviting and inclusive. That's not to mention how much the Linux techs taught me on the job as well.

      What I found amoung the Linux techs was a greater investment of time, learning, and adapting to a well designed system that requires more out of you. Heck, you can't get away from being a proficient tech without being able to at least type 35+ words/minute. But, that is just an entry level skill to make the rest of your learning easier.

      Because of the learning curve, and the trouble-shooting skills the tech position required, involved in Linux/Unix I can see why some people would take themselves more seriously than meet; thereby deserving of the titles prevously bestowed upon them. Too bad for them, and for you, that they do not instead convey the satisfaction and enjoyment that comes from learning something that does have such a steap learning curve and currently has an underdog image (which really has nothing to do with being satisfying as far as I'm concerned, I just really enjoy the OS itself).

      Hmmm, oh well. I guess when it's all said and done, the satisfaction that I get from knowing, not even on a mastry level, of Linux, makes me not really care what others think of me, but I don't want to put them off either because I'm too self-absorbed to give them the same sort of help I too have received in the past from others in the Linux community.

    3. Re:That's not just unix. :P by CkB_Cowboy · · Score: 1, Insightful

      Macs are only cool now, since OSX was released. Before that, there was OS 9, OS 8, etc. Not exactly cool operating systems.

      --
      what, what?
    4. Re:That's not just unix. :P by tulare · · Score: 4, Funny

      Heh. For a really good time, try going into #debian on freenode and asking any question, no matter how esoteric. You're bound to get about three or four RTFMs, and one guy who will pmsg you with more helpful information. Note: I just switched to deb after several years of RPM-based distros, and am not a complete n00b here, so the attitude I encountered was offputting to say the least. Imagine sending your grandma in there for help - she'd probably smack you with her purse the next time she saw you!

      --
      political_news.c: warning: comparison is always true due to limited range of data type
    5. Re:That's not just unix. :P by Trolling4Dollars · · Score: 1

      Don't forget the Windows camp. I've never met a more ill-informed bunch of pricks in my life. They tend to suffer from what I like to call "South Park Arrogance". This is in reference to the creators of South Park, not the show itself. Those two dolts are fools and they know it. They admit it. And they are proud of things being that way. To them, you shouldn't need to think beyond some simple observations that are summed up with a catch phrase. Windows folks are the same. They are content to be ignorant of their machines, but have the benefit of doing things that make them feel like they know more than they do. This is THE Wrong (tm) approach to computing. If you want to use the machine, you should know how it works, period.

    6. Re:That's not just unix. :P by Anonymous Coward · · Score: 1, Interesting

      No... you shouldn't need to know how every layer of a system works to use the top layer. But, every layer should be independent, and be standardized.

      Of course, this makes things inefficient. But, let the hackers do things more efficiently. Most people have money and time to burn.

      In order to use a computer, you should only need to know some sort of standard top level, which can be built on an underlying general system administration level, which sits on top of process management, on top of hardware management, on top of a hardware/software interface, on top of on top of hardware-level communication and negotiation, which sits on top of fine-level control of the hardware, which sits on top of the hardware itself, which sits on top of the system busses and circuitry, which sit on top of the electrical system, which sits on top of the power grid. Obviously, most of this works pretty well, already, because you don't need to know that current and voltage are 90 degrees out of phase in AC to download dirty movies, for example.

      But, to make this kind of interoperability possible, EVERYTHING between a given two layers needs to be proprietary (the mac camp) or EVERYTHING between a given two layers needs to be open (the OSS camp). If intel wants to keep their secrets to themselves, fine, but the instruction set, chip timings, electrical characteristics, and ANYTHING else anyone might possibly need to know better be available in full detail.

      "Undocumented" is the devil incarnate. (Note to Microsoft: please publish your whole API. Not just "almost all" of it.)

    7. Re:That's not just unix. :P by resiak · · Score: 2, Insightful

      If you'd spent slightly longer in #debian, you'd know that we're absolutely flooded with people who aren't prepared to learn things, and just want those who already know to do everything for them. When questions are asked by someone who is having troubles which the documentation (which they have read) does not solve, they do generally get helpful and correct answers quickly. I got struck down repeatedly when I first started going there, and was not a complete "n00b" either. However, I'm not so thin-skinned as to take it personally, and now I'm more at home with reading things for myself, which is the right way to be.

      In any case, with regard to your grandma, you ought to send her to the Debian Reference instead ;-)

    8. Re:That's not just unix. :P by Anonymous Coward · · Score: 0

      No... you shouldn't need to know how every layer of a system works to use the top layer.

      This is the reason why the internet is so ridden with security issues and viruses. Everyone who thinks they are someone in the Windows camp, and many others for that matter, have absolutely no cluse how their system works, much less what to and not to do.

      They are brain dead to security and know only how to point and click, even when the Warnings are in plain sight and say click me and die.

      You must know your machine, your hardware, and how they all work together. Knowing only bits and pieces, are like trying to learn how to ride a bike with no pedals.

    9. Re:That's not just unix. :P by whmac33 · · Score: 1

      I like my AC 180 degrees out of phase... for the 240 Volt apliances at least.

    10. Re:That's not just unix. :P by the31337z3r0 · · Score: 1

      You don't mention 7.x. That was a fun line of OS's. So much customization software. I miss being able to do the things I could on that system. Makes me wanna hook 'er back up again and see it crash every 10 startups.

    11. Re:That's not just unix. :P by supersnail · · Score: 1

      Huh! three 120 degree phases are so much better.

      Or am I just being elitist and European?

      --
      Old COBOL programmers never die. They just code in C.
    12. Re:That's not just unix. :P by pcmanjon · · Score: 2, Informative

      " Heh. For a really good time, try going into #debian on freenode and asking any question, no matter how esoteric. You're bound to get about three or four RTFMs, and one guy who will pmsg you with more helpful information. Note: I just switched to deb after several years of RPM-based distros, and am not a complete n00b here, so the attitude I encountered was offputting to say the least. Imagine sending your grandma in there for help - she'd probably smack you with her purse the next time she saw you!"

      No shit! I hate them mother fuckers. Maybe I would RTFM if the programs I need help with HAD A FUCKING MAN PAGE! Idiots...

      Try out channel #mepis for MEPIS Linux; I hang out in there and they are very nice, and even help out for other distros.

    13. Re:That's not just unix. :P by tuxpixie · · Score: 1

      In general Ive always found linux users to be very helpful. #fedora on freenode has been fantastic to me on more than one occasion. and the various lugs Ive been in contact with. *pix

    14. Re:That's not just unix. :P by Anonymous Coward · · Score: 0

      Macs are cool now, and it's hard for a lot of people not to point out what they realized years ago.

      what, you mean, since OS X? in other words since macs incorporated a unix OS?

    15. Re:That's not just unix. :P by RangerFish · · Score: 1

      You've just displayed the exact kind of attitude that the original comment about elitism was talking about.

      First thing, most people in the world don't know how their computer works, they don't want to know. That's what geeks are for. Or should only the nerdiest of nerds be allowed within 50ft of anything with a microchip?

      Furthermore, I'm not exactly a n00b to the world of computing, though I've never really worked on anything else apart from Windows and DOS. But even I don't always want to think technically. Just doing everyday stuff should not be a technical challenge.

      I suppose you will probably flame me now, but that would only prove my point

    16. Re:That's not just unix. :P by Anonymous Coward · · Score: 0

      Well I used to be a huge debian fan but I ran into enough of that elitist attitude that I kept searching for a distro to call "mine". It ended up being Gentoo, not because its crazy mad 3133t but because of the people. I personally see no performance increases by custom compiling anything other than than maybe the kernel and the compiler but that is another subject....Hop on to any Gentoo forum and people will actually answer your question, *even if* it is in the manual. They usually will answer your question and also point you to the right spot in the manual should you have further questions. The Debian community should sit up and take notice of this mentality because it attracts new users and makes them feel welcome. Just my .02

    17. Re:That's not just unix. :P by Greg+W. · · Score: 2, Interesting
      For a really good time, try going into #debian on freenode and asking any question, no matter how esoteric. You're bound to get about three or four RTFMs

      Well, maybe that's because you:

      • Did not read the channel topic.
      • Did not read the channel FAQ whose URL is the very first thing in the channel topic.
      • Did not read the channel guidelines that the bots sent you in private /msg when you joined the channel.
      • Did not ask the channel bots any obvious questions.
      • Did not read the man page for whatever command you were using.
      • Did not search Google for the error message you received.
      • Did not tell the channel what command you were using.
      • Did not tell the channel what error message you received.
      • Did not tell the channel what you are trying to accomplish.
      • Are running Knoppix, MEPIS, Ubuntu, Gentoo or Fedora instead of Debian.


      Or, the greatest mortal sin of all time:

      • Came into #debian with the intent of telling us how elitist we are and attempting to change us.


      But no, we're the bad guys if we tell you to read "man ls" instead of taking 5 minutes to type out part of the man page for you and explain it to you like we would to a pre-schooler.
    18. Re:That's not just unix. :P by kbmccarty · · Score: 1

      For a really good time, try going into #debian on freenode and asking any question, no matter how esoteric. You're bound to get about three or four RTFMs, and one guy who will pmsg you with more helpful information.

      You might want to try the mailing lists instead, I suspect they have a higher S/N ratio. The general-purpose "questions" list is debian-user (at) lists.debian.org, and it has a web archive at lists.debian.org/debian-user so you don't even have to be subscribed to use it.

      --
      - Kevin B. McCarty
    19. Re:That's not just unix. :P by whmac33 · · Score: 1

      They do three phase AC in commercial applications. Honestly though I'm not sure what percentage of installations are 3 phase vs. 2 phase. But it's used. Most residential is 2 phase in the states.

    20. Re:That's not just unix. :P by ultranova · · Score: 1

      First thing, most people in the world don't know how their computer works, they don't want to know. That's what geeks are for.

      And, consequently, they are completely helpless when confronted with anything unusual, and start bitching and moaning how it is extremely awfull that a general purpose computer can actually do more than one thing, that one thing being whatever they were trying to do.

      Besides, I don't want to work for the living, I want someone else to just give me things. Should I this be granted, just because I find working inconvenient ?

      You want to eat, work. You want to paint, learn how. You want to write drive a car, learn how. You want to use computers, learn how they work.

      What is so unreasonable about this requirement ?

      Or should only the nerdiest of nerds be allowed within 50ft of anything with a microchip?

      Most things with microchips in them are not general-purpose machines. Television, for example, has a very specific purpose and cannot be used for anything else. Due to these inherent limitations in these devices, it is possible to learn to use them by route memorization, without having any idea how they actually work.

      On the other hand, a computer has virtually infinite amount of possible states. If the user has at least a broad idea of how the computer works, he can identify the current state and has at least rough idea of how to put the machine into the state that he wants. If he has no such idea, he's likely to have to resort to rebooting and hoping for the best.

      The whole idea of a general-purpose machine being simple to use (having a small amount of possible states) is self-conflicting.

      Of course this doesn't mean that a specific-purpose program (such as a text editor, or a web browser) couldn't be simple to use; however, even they have a tendency to become more difficult due to feature bloat.

      Furthermore, I'm not exactly a n00b to the world of computing, though I've never really worked on anything else apart from Windows and DOS.

      Actually, DOS is an excellent teaching aid for computer problem-solving - it is a simple system, but you will learn to solve problems (especially memory-related), whether you want to or not ;).

      Oftentimes the real difference between a n00b and l33t is that a newbie sits terrified, too afraid to even try, while the guru will start to test the problem and possible solutions systematically.

      Just doing everyday stuff should not be a technical challenge.

      So what everyday computer activity of yours is a technical challenge to you ?

      I suppose you will probably flame me now, but that would only prove my point

      Someone flaming you on Slashdot would only prove that there are flamethrowers on Slashdot; it would not prove your point, since your point was not about being flamed on Slashdot.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    21. Re:That's not just unix. :P by Taladar · · Score: 1
      First thing, most people in the world don't know how their computer works, they don't want to know. That's what geeks are for.
      Thats perfectly fine if they get paid for helping you but if someone helps you voluntarily in their free time they can decide themselves what they expect you to do yourself before you come looking for help. Most people think they can just suck up the free time of the people who "know computers and stuff" without giving something in return and that is not okay. That is the reason why most geeks/nerds react the way they do.
    22. Re:That's not just unix. :P by Daengbo · · Score: 1
      OK, I love Debian, but how about this one you forgot:

      Go into the channel, state that you are having trouble with sound on a new install of unstable on ix86, get told to give some useful information, instead of that crap, spend ten minutes giving various info only to find out that sound was currently broken in Sid. "You're using Sid?" "Why yes, and I told you that" "You didn't say that. When did you say that?" "My first sentence, which apparently you didn't read."
      #Debian is not the bastion of decency that you make it out to be.
      I love the distro, though...

    23. Re:That's not just unix. :P by GUMfire · · Score: 0

      #debian @ freenode 29.12.2004 times are in GMT+2 20:03:28 How do I list the contents of a folder in CLI? 20:03:34 cmug: ls 20:03:35 cmug: ls 20:03:47 cmug: ls -l ? And no RTFM's. No private messages. Maybe I confronted them with a question enough to boggle their minds or something?

    24. Re:That's not just unix. :P by falkryn · · Score: 2, Funny

      Funny you mention that, I remember one time being in the datacenter of the college I was attending. Most of it was still running NT4. They mentioned how cost-prohibitive upgrading to 2k would be for them. So I mentioned, how about Linux? The head admin and his henchman laughed, and replied "Linux? Heh, we want a REAL operating system."

      And yes, this guy makes a ton of money... There the same people whose network was so malconfigured that doing a ghosting operation in a supposedly private subnet, I managed to take down the ENTIRE network. I mean everything, even the remote campuses!

      They then told the president of the college that it had been a hacker attacking the system. :-)

    25. Re:That's not just unix. :P by GUMfire · · Score: 0
      One day I will learn to post on /.

      #debian @ freenode 29.12.2004 times are in GMT+2

      20:03:28 THISWASME: How do I list the contents of a folder in CLI?

      20:03:34 PERSON#1: ls

      20:03:35 PERSON#2: ls

      20:03:47 PERSON#3: ls -l ?

      And no RTFM's. No private messages.
      Maybe I confronted them with a question enough to boggle their minds or something?

    26. Re:That's not just unix. :P by tulare · · Score: 1

      Actually, you're quite full of shit in this case - I've had issues more than once where I'm coming in with something fairly deep, that I've googled (including the now-broken google groups) intensively, have joined the chan, asked a direct question with relevant details about my problem, including all the basics (deb version, broken software version, hardware, etc) and still get the RTFM. I've come to the conclusion that there are just a few assholes who think too much of themselves and need to read the link currently posted as my URL here.

      --
      political_news.c: warning: comparison is always true due to limited range of data type
    27. Re:That's not just unix. :P by tulare · · Score: 1

      A worthy answer, thanks. In addition to being polite and helpful, however, you've also done a fantastic job of illustrating my point: unlike other distro channels, the graybeards who live in #debian assume that anyone they don't know falls into one of the categories you listed. Seriously, this problem is pretty much unique among the distro-specific channels, and the shit needs to quit. (Not your fault, I know, but I'm fed up with assholes today)

      Cheers

      --
      political_news.c: warning: comparison is always true due to limited range of data type
    28. Re:That's not just unix. :P by Ash-Fox · · Score: 1

      They seemed helpful enough.

      I asked what firewall they reccommend for my debian box, they respond with a non-RTFM answer.

      I asked for help about finding a certain part in the documentation, they respond with a non-RTFM answer.

      I asked about which do they reccommend stable/unstable/experimental they tell me and no RTFM.

      I ask if they have any information on how to upgrade from stable to unstable, I was given info on how and no RTFM.

      --
      Change is certain; progress is not obligatory.
    29. Re:That's not just unix. :P by RangerFish · · Score: 1
      What is so unreasonable about this requirement ?
      Depends to what level. I don't know every nut and bolt of my computer because I don't need to know, and it's unreasonable to expect me to know. At the other end of the scale you have knowing what the power button does (i.e. turning the computer on) which you can reasonably expect someone to know.
      Though from your answer, I'm guessing that yes you do think only nerds should be allowed computers. Wake up to the real world, computers are used in just about every office, for everything from software development to typing letters to vehicle tracking. People are not going to go on a three year course to learn how to do the simplest things, nor are companies going to pay for that, as well as having their employees out of action for so long.
      Similarly, more and more homes are coming with pcs, and we're not talking nerds here. Kids use it for their homework instead of going to the library, people order things online rather than by phone or going to the shop, and computer gaming is growing rapidly as an industry. (I heard somewhere that Halo2 did better in its first week than The Incredibles, the latest Disney movie). You think those people want to face a technical challenge setting up their box, then have to remember the CLI commands or battle through poor GUIs? You think they want to have to recompile their kernel or tweak around with the source code to get what they want? No, they don't, and Linux could beat MS into the dust if only they'd realise that, but no, you think that only nerds should be allowd computers.
      Oftentimes the real difference between a n00b and l33t is that a newbie sits terrified, too afraid to even try, while the guru will start to test the problem and possible solutions systematically.
      No, the real difference between a n00b and a l33t is that a n00b has better things to do with their time than find the difficult way around something, while a l33t thinks choosing the most difficult path elevates him above the rest of humanity.
      Just doing everyday stuff should not be a technical challenge.
      No, because I'm using an OS with a well-designed UI so it doesn't have to be. Not to say I don't like a technical challenge (I'm a software developer after all) but unless there's a point to it, I really can't be bothered.
      Someone flaming you on Slashdot would only prove that there are flamethrowers on Slashdot; it would not prove your point, since your point was not about being flamed on Slashdot.
      Actually that one was. My point was that flaming me for not being bothered to face technical challenge my WHOLE life would prove that you (or whoever was flaming me) was l33t
      I might agree with you if there was no alternative, but there is - there are OS's that are easier to use, and are therefore better in that aspect. Being difficult to use does not make an OS better.
      No OS is perfect. Remember that.
    30. Re:That's not just unix. :P by RangerFish · · Score: 1

      Then I pity you - most of the people I help are grateful and it's on a "when I can be bothered" arrangement. Or maybe it's just my generous nature.....
      I'm a geek, really. I just don't see geeks as better than everyone else, and I don't see being a geek as a requirement for using a PC. to me, that's just arrogance, and I hate arrogance. If something doesn't work, I don't mind helping them to understand why, if I can.

    31. Re:That's not just unix. :P by Anonymous Coward · · Score: 0

      But, to make this kind of interoperability possible, EVERYTHING between a given two layers needs to be proprietary (the mac camp) or EVERYTHING between a given two layers needs to be open (the OSS camp). If intel wants to keep their secrets to themselves, fine, but the instruction set, chip timings, electrical characteristics, and ANYTHING else anyone might possibly need to know better be available in full detail.

      It doesn't matter so much whether it's proprietary or open in general. What matters is that the specific people writing each layer have access to the details of the behaviour of the lower levels. One reason video drivers, for example, are so problematic on PCs is that the video hardware vendors don't trust anyone with their secrets (not Microsoft, not Apple and certainly not open-source developers). As a result, the people writing the video drivers generally have only a limited understanding of the system (apart from the video hardware of course).

      "Undocumented" is the devil incarnate. (Note to Microsoft: please publish your whole API. Not just "almost all" of it.)

      I disagree. The division of layers that make up software systems is mostly arbitrary, based on what the designers think users of a given layer will need. In Microsoft's case, publishing or not publishing is what defines that division. Microsoft's published APIs (Win32) are the top layer, while the unpublished APIs (e.g. the NT APIs) are part of the lower layers, and shouldn't be used by anyone except Microsoft's OS developers.

      The problem with Microsofts unpublished APIs isn't that they're unpublished, but that Win32 applications can access them directly. This has led to a situation in which Win32 programmers are accessing part of a layer which they shouldn't be, typically for often imaginary improvements in performance.

      The bigger problem with Microsoft's APIs (at least Win32) is that they're so complex that it's virtually impossible to describe their behaviour fully, especially when the documentation is being written by anonymous technical writers rather than the people who designed/implemented the APIs. This is in sharp contrast to UNIX (but not Linux), where the documentation was always one of the most important things, and the people who documented the system were deeply involved in its design and implementation.

      Understanding Microsoft's complex APIs based on documentation written by people who almost certainly don't fully understand them themselves, is something most developers simply can't do. That's why they (and others) keep churning out new higher-level layers like MFC, .NET, et al. Unfortunately, the problem of mixing calls to these layers with calls to lower layers remains.

    32. Re:That's not just unix. :P by resiak · · Score: 1

      I will concur that we may be somewhat quick to bite off the heads of those who would read the documentation if they knew what they were looking for in it. I don't think that the channel is as vicious as you think that it is: it just takes a little adjustment of what you're expecting. There was a discussion of these issues with the channel on the debian-user list the other day, you might want to have a read.

      In any case, if you find yourself on #debian and see examples of what you describe, I'd be interested to have them pointed out to me to see if we agree on what defines an asshole.

    33. Re:That's not just unix. :P by tulare · · Score: 1

      Fascinating read. What I still can't avoid is the tendency of the Powers that Be of the channel feeling a bit righteous in being openly rude - I idle in ###########linux (okay, maybe not that many hash marks, but at least one too many), #linpeople, #freenode, and three other distro channels - ones which I support professionally but will not mention as to avoid the comparison game. Point is, rudeness in any of those channels is actively discouraged - I've seen people bend over backwards to try and deal with someone who is obviously frusturated and not "following the rules" as it were. If the person in question turns out to be a simple troll, then he/she/it gets a warning while someone digs up an op, and if that's ineffective, the troll gets banned. I've seen a very few snide comments made, which usually led to a scolding (unless they were simply too funny for words and even then led to a scolding, albeit somewhat more belatedly), but never, and this is going back to a year or two before openprojects became freenode, ever have I seen the sort of blatant abuse tolerated on any of the forementioned channels that I can see in about fifteen minutes of idling in #debian. The guy in that thread was right - he may not have been a terribly effictive communicator, but his point was correct. Or have we all forgotten "Two wrongs don't make a right?"

      For my part, I'll continue to advocate for civility in #debian and #perl and a few other channels where such neanderthal behavior is still tolerated, and failing that, will advocate that freenode cut them loose. Sometimes a ban is the only way to get rid of a troll =]

      --
      political_news.c: warning: comparison is always true due to limited range of data type
    34. Re:That's not just unix. :P by Anonymous Coward · · Score: 0

      Maybe it was the way you asked the questions?

      I'm a Debian noob and I got pretty decent help for about 50% of the questions I asked.

      I could be mistaken but I think the questions I didn't get answered were related to Debian policies--particularly about packages that weren't being kept up-to-date with new upstream versions (on those I got the RTFM response and a link to the policies).

  171. Installation by Alice and Bob by strangedays · · Score: 1
    One thing arguably wrong with Unix, is that it is not really commonly used.

    It is still a niche species, mostly restricted to server rooms, requiring specialized resources, and is clearly not preferred by "normal" end users, lets call them... Alice and Bob.

    There are many reasons for this, many clever debates and holy wars. You can argue with every word in my statement, but is that worth anything?. Lets skip all that for once as irrelevant and ducking the real issue at hand.

    I suspect its a side effect, a blind spot, because we are code builders. Anyone deep enough to build code can no longer see the installation use case. For most of us, installation is easy, even fun. There is no fear. its who we are and what we do. We easily forget that this is not so for Alice and Bob. This stuff scares them, because..., well for many reasons... who knows?, thats not our business, lets just accept that it does.

    Marketing and Sales folks understand that this a barrier for Alice and Bob. Certain OS's and Apps focussed on that, and there, it has clearly been acceptably solved, at least as needed by Alice and Bob.

    I understand and agree with most of the unix design philosophy. However, we seem to have leaked parts of that design intent, (especially the bit separating policy from mechanism) into the installation process as experienced by Alice and Bob. We lost that one, for a while, so get over it and move on.

    It can be done, the Firefox/Mozilla crowd just proved that, a truly impressive clean install, delivering a great piece of open source software, kudos to that project.

    Alice and Bob just want *x to work out of the box. Perfectly. First Time. Zero Learning Curve. No Excuses. No technobabble. No Make files. No Command Lines. No Root. They will use those things, if ever, when they are good and ready, which is clearly Not On Day One. Thats why OEM OS licences are accepted, because it avoids the whole install problem by pre-installing the OS and necessary application goodies. It Just Works.

    Unix and its Open Source Variants will no longer be broken, when the *x and Open Source crowd can see past this blindspot. When any and all *x OS or App installs clean in a standard easy way for Alice and Bob.

    So, duh, what would I do to start repairing this? Run an Open Source project to nail the use case and provide a common protocol, baseline logic, and any standards needed by all open source projects, oems, device driver manufacturers, and ultimately, transparently, the end users Alice and Bob. A standards and communication type effort to benefit all Open Source projects. Maybe study the FireFox model as the baseline for Apps.

    Yeah I know that there have been many excellent efforts, the question did not stipulate picking an easy problem. Its not directly a technical item, its really a standardization and simplification issue. I would contend the *x is Not Broken technically, apart from some nit picking details. Yep there is a lot of needed improvements... So whats new?

    The Alice and Bob install use case is an open ended problem, as its addressing a key issue enshrined and entangled in uber geek b*llshit for many years.

    Solve the install use case and we can all have a truly open future, on whatever *x OS variant the future may hold.

    If anyone is interested in doing something practical with this, please contact me.

    Regards and a Happy New Year to all on Slashdot. sd@acm.org

    PS: Please urgently consider contributing to the relief funds for the victims of the Asian Quake and Tsunami.

    --
    There is no god; get over it already! Never exchange a walk on part in the war, for a lead role in a cage.
  172. rtfa by Anonymous Coward · · Score: 0

    This posting wasn't an invitation to laud OS X; rather, it was intended to draw out the problems with UNIX. Since OS X is UNIX based, writing about how great it is seems rather out of place.

  173. My list. by Yaztromo · · Score: 5, Insightful

    Here are the general problems I have with Unix and Unix-like operating systems:

    • Threading models and scheduling. A few Unicies have decent thread models, but others have abysmal thread models and scheduling. Because of this, far too many Unix applications wind up eschewing threads for simply running multiple processes, which isn't the same thing. Thread priority needs to be global, and the thread should be the most primitive execution unitt upon which all other execution units are built. No more "my thread priority is set to the max, but I get very few slices because my process priority is set low". My OS/2 machine running on a P3-450 can still out-thread many multi-gigahertz Unix systems, and that's just sad. Too many Unix kernels have had threads bolted on as an after-thought, and it shows.

      (Note that this isn't to say that every Unix-style system has a bad threading model -- some of them are pretty good, and others are getting better. But it's currently difficult to write decent cross-platform multithreaded Unix code when some Unicies you know in advance have really crappy threading subsystems).

    • Clipboard support in GUI subsystems. Come on, it's 2004 already. Unified clipboards have been around for more than 20 years now, and yet many Unicies still can't get this right. Cutting and pasting between applications shouldn't be a major PITA. Users shouldn't have to worry about which widget library an application was compiled against to figure out if they'll be able to paste to that application from another. Things are getting better, but really, this should have been fixed years ago, and shouldn't be taking so long.
    • GUI application font support. Again, a rare few get this right, but most of them have this big conglomeration of font types, and no unified font access system. Windows 3.0 had a beter font subsystem than what some Unicies have.
    • Printing. Again, some Unicies have done a good job, but far too many still don't have a good unified printing subsystem. Others here have done a great job of pointing out the problems with Unix printing in general, so I won't rehash them all here.
    • Desktop access APIs. Even with KDE and Gnome, there still isn't an API to call to do something as simple as create an application icon on the desktop or in the application menus which can be used to launch an application. Everyone winds up having to roll-their-own, if they bother to do so at all. Again, not all Unix GUI environments suffer from this, but the majority do. As I developer, I shouldn't have to care what environment a user is running if I want to do something like put an icon on their desktop as a part of an installation/configuration routine -- there should be an API I can call that says "create an icon with the following properties", and have it worry about WM/environment specifics.
    • USB driver development and device access. Again, in many Unicies this is fundementally flawed and can be very difficult for users to set-up and configure. And it differs drastically from Unix to Unix. Where we have pretty standard systems for accessing RS-232 serial ports, and parallel ports, USB access is completely non-standardized across Unicies. Just witness the PITA it is to set-up the newly standardized javax.usp API on Linux, and the kernel work-arounds that had to be implemented to allow APIs like this to unload aggressive modules that grab interface focus immediately just because they were included with the distro. There isn't much excuse for this IMO.
    • Unicode support. Again, hit or miss.

    Okay -- now don't get me wrong -- there are a lot of things to like about Unix and Unix-like environments. But those are the items I personally have problems with in the general case (and again, not all Unicies exhibit all of these issues. In particular, Mac OS X doesn't suffer from any of them, and is my current OS of choice for doing development and as my personal workstation desktop environment).

    Yaz.

    1. Re:My list. by justins · · Score: 2, Interesting
      running on a P3-450 can still out-thread many multi-gigahertz Unix systems

      WTH does that even mean?
      --
      Now before I get modded down, I be to remind whoever might read this that what I am saying is FACT. - bogaboga
    2. Re:My list. by QuestorTapes · · Score: 1

      re: GUI application font support. Again, a rare few get this right, but most of them have this big conglomeration of font types, and no unified font access system. Windows 3.0 had a beter font subsystem than what some Unicies have.

      Actually, getting this right this was -much- more complicated and expensive in Windows than most people imagine. Font support in Windows required MS to spend, spend, spend, and -really- lean on application vendors.

      And there are still fairly large defects.

      re: Printing. Again, some Unicies have done a good job, but far too many still don't have a good unified printing subsystem.

      Also much more expensive in Windows than most people expect, -and- required leaning on hardware vendors, -and- buggier than most people think.

      But both font support and printing are important enought that the problem should at least be recognized better, even if the funds don't exist to fix it quickly.

      re: Desktop access APIs. Even with KDE and Gnome, there still isn't an API to call...

      I agree. In general, there needs to be a unified abstraction layer for these kinds of things. It will never be done correctly by application programmers until they can just call a simple API to do it. It's not -that- complicated; I'm sure it could be worked out fairly quickly.

    3. Re:My list. by Anonymous Coward · · Score: 0

      The vast majority of your problems could be summarised as "No matter how much work I do on FreeBSD 5.x it doesn't make my SunOS 4.x system run any better". Unix systems are all different, and many of them (indeed all the ones which can call themselves UNIX) are proprietary.

      If you like POSIX threads and think the implementation sucks on some systems, complain to the vendors of those systems. Slashdot can't help you fix that!

      1. Desktop icon

      Create a .desktop file and install it in the right place. That's all there is to it, that's all there ever was to it, and all there probably ever will be. No, you can't force it to appear in the user's menu, if you choose sensible values it will appear somewhere appropriate on most machines. Microsoft spent _YEARS_ trying to undo the mistake of letting app authors decide what the user sees in their menus. We can't retro-fit support for .desktop files to old systems (e.g. Solaris 8) and that's just hard luck.

      2. Clipboard

      There has always been unified clipboard support on Unix, it's part of X. But app authors won't lift a finger to support it if their users don't ask for it. On Windows or Mac OS if there's an app where "Cut" means "store in a mysterious place where it cannot be found by anyone" the users write in to the author and complain. On Unix apparently by long tradition, people come to Slashdot, and whine about it without specifying which application(s) they were using. Why is that?

      All the major toolkits today support full X clipboard behaviour, which is a superset of the features you're used to on Mac OS or Windows. So clipboard functionality isn't hard for developers, if they choose to implement it.

      If you find a pair of applications where you reasonably expect to cut or copy something from one and paste it into another, and nothing happens (or worse, something unexpected happens) please FILE A BUG with the appropriate developers pointing them to Freedesktop.org for advice on how their applications should interoperate.

      There is one well-defined lack in UNIX clipboards, which is the ability to optionally preserve the content of the clipboard after the source application exits. Work is underway to fix that, but it's hard to do this well (IMO Windows certainly doesn't do it very well).

  174. Change the name :) by Anonymous Coward · · Score: 0

    If you were an operating system would YOU want to sound emasculated?

    Real operating systems deserve He-Man names. Broken OSes out of Redmond deserve cut-up names.

  175. How about the damn shared libraries? by Anonymous Coward · · Score: 0

    Sorry, uber-app X version z.w.v can't run because it needs version blah.blah of library 1, you have version blah.suckit - There are 19 other missing dependencies or version incompatibilities...

    Here is a project that I think could open up a nice alterative: The Freiburg Project
    Project description: The Freiburg project is an infrastructure to replace shared libraries with a client/server interface. This system converts a shared library into a "service" using Unix or inet domain sockets for communication. The "service" will be usable by any programming language without additional C programming requirements. An application is a composition of multiple services using an event-based message bus for communication. A service can reside locally or remotely using the "client" or the inetd super-server for startup.

    Oh, yeah the IPC sucks too.

  176. /usr/bin would look the same by Anonymous Coward · · Score: 0

    /usr/bin would look the same except that each executable would be replaced with a directory. I do not see how this would help?

    Michael

    1. Re:/usr/bin would look the same by IBitOBear · · Score: 1

      You, indeed, don't see. You are thinking to statically.

      There would be nothing in /usr/bin of any consequence. In fact if you were to do a "rm -rf /usr/bin/*" (or whatever) and then reboot, the runtime composer would build the "correct" contents for the directories from the "real" package locations. The same thing would happen if you went in and deleted the package directory with a simple rm.

      That is, the use directories in the running system would "always" be built on demand.

      The programs themsleves, along with thier supporting data and configurations would each live in their own private arenas, completely separated from their peers.

      Now the common use directories would only even need to exsist to accomodate the casual owner, and the real programs would be in their priavte areas for more spesific uses.

      Think about it from the other direction. (this is not a _practical_ example) Start with a tree of directories like /app/lib/glibc/{version_number,...} with no /etc/ld.so.conf or /etc/ld.so.cache. you would have /app/lib/glibc/XX/ld.so.(conf,cache). The very act of compiling applicaitons with a gcc that was set up to use the version-spesific /app/lib/glibc/xx/lib/ld-linux.so loader decouples the resulting executable from /lib /usr/lib and /etc/ld.so.*. (I do this on a current product where I have /alt/3.4 and /alt/2.95.3 to support some things with gcc build preferences and library versions.)

      Now extrapolate that. Imagine a system where there is a not-really-root directory tree containing nothing but package and package group directories and a composer program. There is another not-really-root directory tree with the per-user stuff that we think of as /home. When "off", the computer doesn't have any storage media anywhere on it with /bin /usr/bin /lib /usr/lib /etc or /home or anthing that we currently consider to be central to a linux system.

      At power on, rather than running "init" (or as init if you like) the composer is invoked. The system not-really-root is mounted and a TMPFS is mounted. The TMPFS is filled, populated with the aggregate runtime "composed" from the current configuration and available packages. This includes the bound-mounts of configuration data, and user data directories, and the composition of the startup scripts (a-la /etc/rc.d) and the selective inclusion of just about anything else needed.

      Then you rotate that TMPFS in as the real root and exec the init program in that context.

      Now, that takes a bunch of time. So take the theoretical TMPFS-based version and cache it in a regular file system. You still have to do the bind-mounts but you only have to recompse a directory like /bin (or whatever) if the first pass of the composer decides that something actually needs recomposition.

      Next, non-permiscuous environments can easily be created (for things like chroot-ed rsh sessions etc) because the programs "really aren't" co-mingled to begin with. The "typical" /usr/bin doesn't really have anything in it but a bunch of references to the real home of whatever.

      Consider, then, upgrading something like your binutils. Your current set of commands lives in /apps/binutils-2.10, you make a the new binutils in /apps/binutils/2.12 (yes, it deliberately doesn't matter that the names are not strictly orthogonal.) All of the config files point point inside the acutal /apps/watever/... directory for each version. [that is, the config files don't say /lib/whatever, they say /apps/binutils/2.12/lib/whatever and so forth] The magic is tha

      --
      Innocent people shouldn't be forced to pay for inferior software development.
      --"Code Complete" Microsoft Press
    2. Re:/usr/bin would look the same by Greg+W. · · Score: 1

      There would be nothing in /usr/bin of any consequence. In fact if you were to do a "rm -rf /usr/bin/*" (or whatever) and then reboot, the runtime composer would build the "correct" contents for the directories from the "real" package locations.

      You're insane. The story is "What's Wrong with Unix?", not "How Can I Make Unix Not Worth Using Any More?".

      You seem to have mistaken Unix for a single-user PC. This is a humongous step backward.

    3. Re:/usr/bin would look the same by IBitOBear · · Score: 1

      You presume much, like that I *recommend* removing /usr/bin. I am just talking about how the proposed system would effectively work.

      It's easy to gain-say things wihtout being at all spesific, and you have done so.

      How exactly is making the *NIX system's command presentation self-assembling based on the installed packages "a humongous step backward"? (Since it _NEVER_ did that before, it would, at most be a "humongous" step in the wrong direction in your humble opinion.)

      How exactly is making the common system areas self-correcting and agressively consistent with the installed base "[making] Unix Not Worth Using Any More"?

      The facts are simple. If the core of the system facilities presented in the system directories like /usr/bin is *supposed* to be the set of all properly installed facilities, why is it bad to compose directories like /usr/bin based on a survey of the installed packages?

      Nothing in this prevents or usurps the ability to add packages, nor simple programs placed in well defined common searchable directories. (Hence the /usr/local/bin psudo-standard where non-system programs that arn't supposed to mix into /usr/bin are supposed to go anyway).

      The system is supposed to be extensible and functional, nowhere is it desireable for the system to become "Littered With Crap Of Dubious And Untracable Origin, Liberally Mixed With Leftovers From Improper Upgrades And Incomplete Uninstalls."

      Because we all know *NIXis only worth using if you can have bogus random executables from old, spurious, and known compromised software left around to make a mess. [Anybody who has ever dealt with a conflicing install where /bin /sbin /usr/bin and /usr/sbin all have different versions of some command X in them, knows the joys of garbage-filled system directory.]

      And _HOW_ can a reasonable person (as I will momentarily presume you to be) state that a tool that keeps common facilities consistent for all users and subsystems be biased towards "Unix for a single-user PC" exactly? Consistency, predictability, and lack-of-mysterious-binaries is *more* important in a Shared or Service-Providing installation than it would *EVER* be in a single-user system.

      Do you have no grounding what so ever in fault tollerance? How about system recovery? Planned maintenance? Contractually guaranteed/limited down time? Package Migration? System certification? Compartmentalized testing? System Assurance?

      Aparently you have no real understanding of how significantly useful it would be to be able to audit individual packages on a system and then "know with certanty" that when a package was removed or replaced, that the old package was completely removed and the new package was completely instanciated.

      Do you not understand at all why Windows, poluted as it is with arbitrarily versioned multiple copies of the same DLL in directories all over the box is "bad", and how "uninstalling" a package and having it leave config files and dlls all over the box is _worse_?

      In the same way that adding modules to the kernel using a consistent interface is good, having application groups and subsystems added to the whole computer as consistent modules would be good.

      Nobody is trying to take your toys and leave.

      I'm talking about being able to make CONSISTENT, CONTAINABLE, and REVERSABLE maintence of the *NIX system practical and "reasonably priced" in performance and administrative effort.

      That you apparently find the "toss everything in the sandbox and lets play" aproach (we currently have) as looking forward paints you as the toy-system advocate here.

      --
      Innocent people shouldn't be forced to pay for inferior software development.
      --"Code Complete" Microsoft Press
  177. What's wrong? What is not right: by LM741N · · Score: 1

    Right:

    cvsup
    make buildworld
    make buildkernel
    make installworld
    make.conf
    rc.conf

    You focus on the wrong, I will focus on the right.

  178. Easy Two Words by rikkards · · Score: 2, Funny

    No Balls

    Thank you! I'm here all week! Try the Chicken Kiev!

  179. No! It's a trick! by Anonymous Coward · · Score: 0

    It's a trick! I'm not helping you steal my job!

  180. Concurrency and events by Pseudonym · · Score: 1

    As a programmer, my biggest peeve is that threads are still second-class citizens, and in particular, event delivery is all over the place.

    Unix lets you wait for events to occur on file descriptors, signals, shared semaphores and condition variables individually, but not on more than one class of "event" at once. Win32 almost got it right, but it will only let you wait on 64 "events" at once, which is an unrealistically low number these days. QNX comes pretty close with its "pulse" event delivery model. Unix is pretty far behind in this respect.

    --
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  181. Simpleinit-msb by The_Wilschon · · Score: 1

    The boot scripts. Neither BSD nor SysV init both works well and is easy to work with/edit/add to.

    See http://www.winterdrache.de/linux/newboot/WHY_SYSVI NIT_SETUPS_SUCK for why, and http://www.winterdrache.de/linux/newboot/index.htm l for an alternative.

    The links go to Matthias Benkmann's site, and to his simpleinit-msb program, a part of his new boot concept. I used it on the LFS system I built a couple of years ago, and while that system is now dead and gone, it was so much easier to administrate than anything else I've ever seen. And besides, it was the most ridiculously elegant thing I've ever seen.

    --
    SIGSEGV caught, terminating

    wait... not that kind of sig.
    1. Re:Simpleinit-msb by Anonymous Coward · · Score: 0

      rubyx has an interesting init facility and a a good attempt at rationalizing packaging issues, too.

    2. Re:Simpleinit-msb by rcpitt · · Score: 1
      Ever tried figuring out what will run at boot time on a Windoze box?

      The file layout may be ugly, but either of them is heaven compared to scrabbling around in the dark areas of the registry.

      --
      Been there, done that, paid for the T-shirt
      and didn't get it
  182. Problem already fixed, for a while now by daveschroeder · · Score: 4, Interesting

    1. Since Mac OS X 10.0, you could have used UFS with Mac OS X if you really needed case sensitivity (though, using UFS broke some other things, like Classic, some Carbon installers, etc).

    2. Regardless of 1., as of Mac OS X 10.3.x, Apple now has "Mac OS Extended (Case-sensitive)": a fully case-sensitive, fully supported case-sensitive HFS+ filesystem. It's not exposed in the GUI of Disk Utility on Mac OS X client (as Journaling wasn't on Mac OS X 10.2.x client), but it can be enabled via the command line:

    sudo diskutil eraseVolume Case-sensitiveHFS+ DiskName /Volumes/SomeDisk

    man diskutil for more info. This is exposed in the GUI of Disk Utility on Mac OS X Server 10.3.x. If you would like your primary volume to be case sensitive, you can use/borrow a Mac OS X Server CD to boot your machine, format your primary volume as Mac OS Extended (Case-sensitive), and then install Mac OS X (or copy back all of your data with a utility such as asr or Carbon Copy Cloner).

    Case preservation (as opposed to case sensitivity) was never advertised or presented as a "feature"; it was an artifact of HFS.

    1. Re:Problem already fixed, for a while now by HeghmoH · · Score: 1

      You shouldn't need to borrow an OS X Server CD to reformat with case-sensitive HFS+. Just boot your normal install CD in single-user mode (hold command-S while booting) and use the command-line utility from there. I've never done this, but I don't see why it wouldn't work.

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
    2. Re:Problem already fixed, for a while now by daveschroeder · · Score: 1

      You shouldn't need to borrow an OS X Server CD to reformat with case-sensitive HFS+. Just boot your normal install CD in single-user mode (hold command-S while booting) and use the command-line utility from there. I've never done this, but I don't see why it wouldn't work.

      Because you're BOOTED from the volume you're trying to format?

      No, sorry, but that wouldn't work.

      There are a lot of ways to do it without borrowing an OS X Server CD (e.g., booting second drive or partition, or using another machine to format your primary drive while the machine is in target disk mode, etc.), but single user mode isn't one of those ways.

    3. Re:Problem already fixed, for a while now by HeghmoH · · Score: 1

      I said you should boot in single-user mode from your install CD. Are you going to try to reformat your CD?

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
  183. Feedback by Toddlerbob · · Score: 1
    I am a teacher in a public school, who is sort of halfway into converting a bunch of windows machines with occasionaly questionable windows licensing to Linux machines that I can feel more legally confident in. (they're mostly donated machines).

    There are many usability issues that make me wish I had the money for an Apple, or even winxp. But one that I'd like to highlight now is the relative lack of feedback to commands vs Dos, windows, or apple.

    I actually haven't touched the configuration of any of my machines in six months (and the nice thing is, of course, that they all still work perfectly -- not much ongoing maintenance needed), so I can't remember clear examples. But so often, it seems like I'd type something and I thought I knew what it was supposed to do, but it apparantly didn't, and there was no error message to let me know that it hadn't found something to let it work, or whatever.

    This sort of thing happened in many areas. One that comes to mind, though, is printing, where everything seems to work fine, no error messages, and everything spooled correctly, yet nothing prints. And since there are several steps in the chain of actually printing something, it's a hassle to figure out which step is the problem. If there was some sort of feedback vis a vis success / failure it would be nice.

    As a non-technical sort, perhaps I'm asking for something that's not reasonable and I don't realize it. However, I don't recall having so many problems like that with dos, windows, or apple.

    1. Re:Feedback by Toddlerbob · · Score: 1

      Sorry to comment my own post, but one of the reasons for the many steps in printing was that I'm printing over a network using Samba

    2. Re:Feedback by rcpitt · · Score: 1
      And what is right with UNIX is that you can print over SAMBA to a windoze box.

      Every tried printing from a windoze box to LPD (or even CUPS?)

      I've used darned near every major programming and user environment available since the late '60s - TOPS 10, IBM OS-VS, MTS, Wilbur (front end for JCL on IBM), TRS-Dos, Apple-OS, UNIX, Xenix (on LISA and TRS-16/6000 as well as Altos and SCO), MS-Dos, CPM, MPM, Windows 1.0, 3.0 (whatever happend to 2?) 98, NT, 2000, XP, and of course Linux from 0.91 to date, and I've never had it so easy in getting disparate systems to talk as with any of the distros of UNIX/Linux.

      Want to deal with EBCDIC, baudot, broken serial (7E2 or whatever), wierd hardware (ok, some requires sacrificing a couple of chickens, but at least you can get the data off), BiSync? Just try to get such things working easily and within minutes/hours from a Windoze box (or any flavour of mainframe, mini or non-Unix-based micro) and I'll run circles around you.

      Nobody ever said that a Swiss Army Knife had to be sveldt or look elegant up against a Japanese Samuri sword, but try to use the sword to open a bottle of wine or dig the dirt out of your boots and you'll wish you had something else.

      UNIX/Linux/Minix/POSIX defines the Swiss Army Knife - and most of the time that's good enough for me.

      --
      Been there, done that, paid for the T-shirt
      and didn't get it
  184. when did you ever need to clone a process by Peter128 · · Score: 1

    In my 12 years of using UNIXs I never had the need to clone a process. But this is one of the basic API calls. fork() that is. I think it shows that the UNIX API is old -- it has been designed with lazyness in the background -- sure it is easy to write a piped application -- a process gets killed when trying to write to a pipe or something, which has been closed on the other end -- but this "feature" makes it difficult to write something else which is not supposed to die when this happens. Ever tried memory mapped io -- in UNIXs you can open the same file more than once and apply mmap() more than once and a single call to munmap() is sufficient to destroy the results of the two calls to mmap() -- this is not an API which I call up-to-date. That I cannot open a file and lock it in the same instance is something else which ought to be basic for multi-user OS. After I learned about the cool impersonation API in WindowsNT I don't think setuid is cool anymore. Being able to use only a single heap inside a process is another feature which does not match 64 bit programming at all and which creates problems for people trying to run shared libraries inside the same process which load different runtime libraries. Anyway the shared library system has only a single process-global namespace instead of namespace consisting of module name and symbol name. Something similar to Win32 named pipe system should also be basic for a mutliuser OS -- that you have to rely on port numbers for IPC/RPC is not something I call uptodate API -- this namespace (0--65535) is to restrictive.

    1. Re:when did you ever need to clone a process by DylanQuixote · · Score: 1

      LOL, I hope that is a joke. I mean, a great deal of UNIX programs use fork().... and UNIX has had named pipes before Windows even existed, man mkfifo.

      I won't go into the horror stories regarding Microsoft's win32 executable format. Of course, ELF shared objects don't have namespaces for *C* code, because C does not have namespaces. C++ does, though.

    2. Re:when did you ever need to clone a process by Anonymous Coward · · Score: 0
      ELF is a joke.


      Why don't binary formats in Unix have namespacing options available?


      In the general case (on Unix, anyway,) the namespace could be NULL -- the standard C single-level namespace. Nested symbol tables are fairly trivial to implement, especially where you have an existing on-disk hash format. Add a flag, now that symbol you found is another symbol table instead of a terminal! Yay. Want to wrap C and its ugliness in a namespace, so more rational languages can use it without dirtying their britches? Fine... instruct the linker to wrap all the C nastiness in a "C" nested symbol table.


      So much flexibility could be added, and ELF fails it.


      I think I'll work on that, actually. I have a few good ideas for a binary format that'd smoke ELF. :-)

  185. I will also need robot insurance. by agent · · Score: 0, Offtopic

    http://www.adultswim.com/
    Peace.

  186. My takes and challenges... by cente · · Score: 1

    Alright, here's my take. I've only been using Linux really seriously for the past month, so pardon my newbism if you wouldn't mind.
    - I WANT A GUI
    There's no excuse not to have gui on programs. I have to get into the command line practically any time I want to install something that isn't on the Mandrake cd's. Syntaxes are hard to decypher sometimes, even when you're really good at RTFM (which I've been doing religiously to get through this).
    - Make everything *everything* install on a COMMON ground. Rpm's are wonderful, but NOT when every single distro has their own way of doing stuff. We need to have a base that everyone comforms to, and keep it that way. Standards are the relaxation of frusteration. Oh, and I NEVER want to hit ./configure and ./make again, as they never seem to work perfect, especially for the older programs. In Windows, you almost NEVER have to anymore. Double click setup.exe now, and it's cross compatible in most newer operating systems.
    - As of the OS install issue everyone's been talking about, it isn't. At least, not when you use the system mandrake uses. True, I've been really frusterated in the past at setups (esp redhat that doesn't detect half my hardware), but with mandrake I did a boot from the CD and, after some intermediate partition managing through the GUI, got it running 99.9% automatic.
    - The gaming features will be nice, but those will come. Cedega and Wine need to be more universal and easier to configure and diagnose when there's problems. Do that and you'll have HORDES of windows users coming over. That's the biggest fear I hear from them right now.

    1. Re:My takes and challenges... by Taladar · · Score: 1
      There's no excuse not to have gui on programs.
      You are right. There is no excuse because it is not an error there is nothing to excuse for. Command lines are a lot easier to support than GUIs as you can simply tell the user a few commands to type in instead of directing him across its screen. Same goes for text config files. And if you really want a GUI you can just use one of the twenty different ones out there for configuration of the same thing. But don't come complaining when you don't find any help on how to use the GUI because fewer people use it.
      especially for the older programs. In Windows, you almost NEVER have to anymore. Double click setup.exe now, and it's cross compatible in most newer operating systems.
      I tried some old Windows Games yesterday and most of the Installers crashed because of programmer assumptions that just weren't true anymore on Windows XP.

      Concerning the Gaming I agree with you especially the debugging/error-reporting in Wine/Cedega could be better.
  187. Re:Apple Fan boy troll !!! by Anonymous Coward · · Score: 0

    DRM in the ipod ? can't the ipod play mp3's and unprotected aac's as well as the drm ones from the apple store ? are you complaining that they don't support ogg again ? or are you complaining that apple sells music files with drm while all the other pay music sites sell unproteced files ? oh wait a minute ...

  188. UNIX does a lot of things right... by Lost+Found · · Score: 1

    I could try to individually respond to comments all over, but I think it would be easier just to give my opinion here.

    First of all, running processes under separate UIDs/GIDs, while obvious, is a great idea. What makes it so effective in our world and ineffective in Microsoft's is that our implementation of this concept was not an afterthought.

    The standard filesystem layout is well thought out, but forking UNIXes have broken things somewhat. Ce la vie; people have different opinions.

    It is somewhat irritating that writing portable software isn't more automatic, or rather that it can take a lot of consideration. But we can't force old vendors to adopt new ideas that will break their own monolith, so we're stuck. Ce la vie. GNU libtool/autoconf/automake is a decent hack.

    People bitch about hardware compatibility a lot, but that really only applies to certain architectures like x86. I can't speak authoritatively on this, but I'd be willing to bet that (for example) Linux has *far* better hardware support than Windows - it's just our impression that it doesn't because our new multimedia products don't necessarily work natively. In general, this can be fixed - fix the vendor, or choose another.

    One complaint I do have from an administrative standpoint is that many UNIXes don't see the need to improve on their userland. After years of becoming accustomed to the GNU userland familiar to anyone with GNU/Linux (and getting what you might call 'spoiled'), I find myself really hating, for example, Solaris. GNU tools add lots of sensible extensions; other vendors should consider doing the same.

    Package management would be another bitch. If your vendor doesn't supply you with up to date packages, or if you want to make some decisions yourself (and subsequently compile the software), you can create a big mess out of your filesystem if you're not really careful about what you install and where you let it go. Fifteen billion props to Gentoo on this one - I recently started using Gentoo, and hell if that's not the way to solve this problem.

    One annoyance could be the number of overlapping standards and ideas (for example, esd / artsd / jackd / oss | alsa / oss).

    All of these things are to some extent the result of people having different ideas. I can't *really* bring myself to whine about any of the above. Different ideas equals innovation. Trial and error, the OS evolves.

    It would be swell if programmers thought about security a little more before they busted out into code. Sure, the occasional mistake will happen, but an entire system of cruft always seems to end up trying to being secure thanks to a bunch of hacks, which is a really shitty way to do something.

    Note that I don't for one moment endorse the next generation CS-grad-ish idea of doing away with manual memory management by "moving on" from C.

    We should vaporize Sendmail and BIND. Numerous better, faster replacements exist for both of these tools, yet the Sendmail/BIND remote holes seem to get installed and enabled by default on far too many systems.

    In general, though, it's hard to argue with UNIX. There are tons of flavors, and there are exponentially more choices. If you're like me and think that Solaris is a big fat joke, you can try one of the three freely available BSDs. Or you can be one of those penguin lovers like myself and enjoy you some GNUs-not-UNIX along with a dose of uberKernel.

    1. Re:UNIX does a lot of things right... by Anonymous Coward · · Score: 0

      the phrase is "C'est la vie"

  189. IMHO, none of that matters to the typical end user by fyngyrz · · Score: 1, Insightful
    The things that seem the most troublesome to me are the issues that affect the end user directly. Such as:

    • Installing software is highly unreliable, non-standard, a maze of twisty little interdependant passages, and deeply obscure. For instance, I installed Flash7 for Firefox 1.0. Didn't work. Still doesn't. I installed Sun's JAVA for Firefox 1.0. It didn't work either. Still doesn't. No warnings, no errors, no nothing. I tried to install and configure Ami. Didn't work. I got apt-get to resolve installation issues, only to find that most things aren't supported.

    • There is no standard "windowing" GUI, so...

      • Development for apps for "all" linuxs is right out, which means big commercial closed source players aren't interested, which in turn means we have to keep Windows machines around to get some kinds of work done, which sucks. Having free software is great. Locking out commercial closed-source types by design is stupid.

      • Small developers have to either open source or pay fees they cannot afford to obtain a "widget set", something that any other OS supplies for free, and defines a standard for. Mind you, I'm not objecting to the fact that you can have multiple windowing interfaces, I'm simply objecting to the fact that the most sophisticated common denominator is xwindows, which is hardly a windowing system at all (and is also why everyone writes widget sets -- xwindows sucks rocks, the API is positively prehistoric.)

    • Linux has a pretty poor cache and swap system, combined with zero user level control over cache and swap. As a result, over time, the OS runs slower, and s l o w e r and s... l.... o..... w...... r....... until you restart, and then it's back to being fairly snappy until it fills up memory again with things it shouldn't be caching, and then it begins to swap again, and the slowdown process starts over again. Although Linux will run just about forever if you let it, you'll get considerably higher performance in a big-memory machine or server if you reboot when your memory fills up with cached-crappola.

    • The GUI, in the user sense, is an afterthought. You have to go to the command line to configure and/or adjust and/or install many things. Now, I don't really care a bit about this, but most users will want to avoid command line stuff. Lock out many users with this kind of esoterica, and you've made an error, IMHO. One of the places an OS gets strength from is a broad userbase in the sense of "not one demographic" (such as only technical types.) If Linux doesn't offer ease of use, then they'll go where they can get it - Windows, OS X. And we lose. Sure, some of you just chortle at the very thought, but I truly think you're being shortsighted when you do.

    I like Linux. A lot. I use it all the time, and I develop for it as well. I feel that it will not make a lot more inroads into more general acceptance until some of these things are cleaned up. Users don't generally care if there is a D bit in the protections. They generally don't care if the OS has cool things like logical volumes (like those provided the Amiga's "Assign" command) even if they are really neat, and let me forestall some arguments by saying that I agree that they are. Users care if the machine is easy to use, if the tools they want and/or need are available, and if the machine feels fast -- no one likes buying a 3 GHz machine with a couple gigs of ram and watching a minor application take 10 seconds to load.

    So mostly, people don't run Linux. And that's what I think is wrong. But fix it, and they will come. IMHO. As for Unix... I really don't care. :)

    --
    I've fallen off your lawn, and I can't get up.
  190. use the OS X solution: *.app by Anonymous Coward · · Score: 0

    I like the *.app solution of OS X: it looks like a single file, but in actuallity it's a directory with all the files needed for the application to run.

    Simple, elegant, and it works.

  191. Re:The same thing that's wrong with every computer by fossa · · Score: 1

    Well, it isn't so hard to write good software per se (not that it's easy...). Your example with KDE shows that it is possible to have a good consistent interface *within the domain that you control* (i.e. KDE is controlled and written by one group of people who will all agree to write software in such a way to take advantage of the common spell checking).

    The real trick, and perhaps an impossible one, is to design a system that has consistency of interface by design. Unix pipes on the command line approach this, but of course not in any useful way to those unable or unwilling to learn quite a bit of command line magic. It just isn't possible to write a program that takes a stream of bytes on stdin and outputs a stream of bytes on stdout that breaks the command line interface (well, it is but...).

    Yeah, I'd say we're pretty much in agreement. It frustrates me greatly that when I need to perform a simple calculation beyond what I can do in my head, I leave the computer on which I am typing, fantastically powerful as it is, and reach for the pocket calculator in my desk drawer.

    And while I'm at it, I know enough about programming to be dangerous. I can write small applications. But I cannot write anything "professional" complete with undo, redo, spell checking, built in calculator, whatever. If the system was designed so that it could free me, as a programmer, from having to worry about all that, then my small contributions would be vastly more useful.

    Of course, like you say, the world then moves on and needs things that were not designed in like indexing. And they may be impossible to add after the fact to such a designed system. Or at least, they can be added but not by enterprising third parties without having that "tacked on afterthought" feel. Certainly a difficult problem.

  192. When I applied to work at Google by iamlucky13 · · Score: 1
    What insightful answers did the rest of Slashdot give when they applied to work at Google?
    I actually don't remember my Google interview. Perhaps they brain washed me afterwards so I couldn't tell any of their secrets. For that matter, I don't remember filling out an applications. Then again, I don't use Unix either. I guess both disqualify me from being a true slashdotter. I better go to the link and hit F5 a few times to reaffirm myself.
  193. It is hard for me to say what is wrong with UNIX.. by thomasa · · Score: 1

    I would have to say...
    What is wrong with Solaris 8
    What is wrong with Solaris 10
    What is wrong with UnixWare
    What is wrong with Redhat 8 Linux
    What is wrong with Fedora Core 2
    What is wrong with Slackware 10

    I cannot really way what is wrong with UNIX as
    it is hard to separate out what is UNIX from
    what is version XXX of a UNIX-like OS.
    Some of the things wrong with UNIX might also
    be what is wrong with Windows too.

    I can usually say, I like some feature of XXX
    version of a UNIX-like OS better than the
    implementation of the same in YYY version.

    How much of UNIX design is dependent on the underlying hardware architecture? 8 bit byte oriented computers. What would out UNIX be like if we had tri-state logic computers? What if we never had disk drives but had vast arrays of memory to use instead? How does the interaction with the disk controlller influence the UNIX design? The UNIX computers I started working with had ASCII terminals to control them. How much did that influence the design?

  194. You guys should maybe step back... by Anonymous Coward · · Score: 0

    ...and reread the original post:

    If you are a windows person...

    Not necessarily just a Windows user.

    Maybe there's some merit in the claim that somebody such as an MCSE should avoid *BSD/*nix, since it's likely to be beyond their abilities, both technically and conceptually...but some reasonably astute Windows user, who's simply had enough of MS Windows, may well be capable of making the transition to a better OS, including installing and configuring such a system.

    Or maybe you're all right, and the original poster meant that anybody forced to sit in front of a Windows box all day is not up to the challenge, rather than just those who choose to, and who possibly believe MS Windows is the better OS.

    1. Re:You guys should maybe step back... by CheapEngineer · · Score: 1

      "Beyond their abilities, both technically and conceptually"

      WTF?

      How do you walk through standard width doors with a melon that big?

      Understand that I've held a special disgust for Microsoft for longer than Linux has been your favorite toy (Anyone remember OS/2?), but to throw out the blanket "Even Windows IT people are too stoopid to understand the things *I* understand" statement shoots you right to the top of the Elitist Linux Bastard (c) League.

      Congrats!

      CheapEngineer

    2. Re:You guys should maybe step back... by Anonymous Coward · · Score: 0

      come on! ever met an mcse who wasn't a frickin moron? nope, neither has anybody else! you have to be a dumbass to even waste your time and money buying ms cert, so how are they gonna figure out how to setup a bsd-based system?

      the guy didn't say windows users are morons. he wondered if anybody dumb enough to pay for ms cert is not smart enough to build or use anything else but windows. i reckon they are too dumb but that's just imo.

      stop getting all hoighty-fucking-toighty.

    3. Re:You guys should maybe step back... by YOU+LIKEWISE+FAIL+IT · · Score: 1

      You folks are living in fantasy land. I know at least two people in my circle of aquaintances who are highly competent Linux or Mac administrators who hold either MCP or MCSE qualification.

      --
      One god, one market, one truth, one consumer.
    4. Re:You guys should maybe step back... by Anonymous Coward · · Score: 0

      Different case that. They are competent people who decided to get MS cert (probably for a joke, or lost a bet, or something). The guys who ONLY have MS cert are always uselss. They were probably some Wendy's fry cook who thought it would be a good way to earn big dollars in the computer industry! HAHAHAAH!

    5. Re:You guys should maybe step back... by Anonymous Coward · · Score: 0

      come on! ever met an elitist prick who didn't live in their parent's basement? nope, neither has anybody else! you have to be a dumbass to even waste your time learning all this stuff for an OS that changes so fast that you have to relearn it. (hey some of us are so elite that we can't figure out what that damn shift key is for)

      Being a Gentoo user, being able to do some programming and IMHO smart enough to do most anything on my computer, I've learned that when you are dealing with people who don't know the difference between "linux" and "CP/M", do what you have to do to make money. And guess what these "Big Cheeses" are looking for? Hey, you were smart enough to guess the right answer... a piece of paper that says you know what you are doing. Nevermind that there are some dumbass MCSEs out there. Some of us understand, but we just can't go back to living with mom again.

    6. Re:You guys should maybe step back... by Anonymous Coward · · Score: 0

      Uh?! WTF?

      Any asshole with M$ certification is not going to get a high paying job outside of management! Fucking tier-1 support guys at half the tech firms around have M$ cert! It's fucking worthless. The paper it's printed on is worth more as toilet paper.

      Jezuss!

    7. Re:You guys should maybe step back... by Anonymous Coward · · Score: 1, Insightful
      come on! ever met an mcse who wasn't a frickin moron? nope, neither has anybody else!

      Hi. I'm an mcse and I'm not a moron (or so I believe). Pleased to meet you.

      My false modesty tells me I shouldn't toot my own horn, hence the AC.

      I've been managing unix like boxes for several years now.

      I got my mcse because my company needed me to (sales purposes, don't ask) and paid for it. I learned a great deal about windows servers/workstation I didn't know about. Most of it positive. I still wouldn't put an unfirewalled windows machine on the internet. Today, I admin a couple of windows servers, plus several solaris, freebsd and linux boxes.
      he wondered if anybody dumb enough to pay for ms cert is not smart enough to build or use anything else but windows. i reckon they are too dumb but that's just imo

      As I said above, it is a selling point (our customers like MS and Cisco certs more than anything else). And if tomorrow I find myself looking for a new job, it probably won't hurt to have them on my resume.
    8. Re:You guys should maybe step back... by tulare · · Score: 1
      Being a Gentoo user

      Well, I guess he said all that he needed right there to lose all credibility with me. Might as well have said "I also live in my parents basement, but at least my computer has neat lights and a bitchin' LED panel!" Oh, and a framed MSCE cert on the wall above his bed to keep him company in between shifts at the pizza joint.
      --
      political_news.c: warning: comparison is always true due to limited range of data type
    9. Re:You guys should maybe step back... by Bush+Pig · · Score: 3, Funny

      I've worked with a couple of MCSEs who weren't morons. Of course, they were Solaris sysadmins who'd got the MCSE as a requirement for some job or other they'd been involved in, but still ...

      One of them said he'd had _enormous_ trouble with the MCSE tests, until he figured out the "correct" answers to the questions wasn't the right answer that'd actually solve the problem, it was the answer you'd been taught on the MCSE course.

      --
      What a long, strange trip it's been.
  195. Everything I learned about Unix... by Anonymous Coward · · Score: 0

    I learned by reading Sun's "Guide" manuals that came with SunOS. That was way back in late 80s when Sun was just about to introduce the Sparcstation... I had to switch from VMS to Unix, and SunOS had a set of manuals that included some wonderful tutorials and guides, about shell scription, editing, administration, everything.

    Probably, these books don't get published anymore, or at least don't come free with Solaris. But I'm sure you can now buy some very decent books, starting with some published by O'Reilly, that explain everything you want.

    Don't forget, Windows and Mac users are in the same boat. They either buy similar books, take courses or have a friend/relative teach them, or learn the basics and don't do anything complicated.

  196. Microsoft sums it up best here by quan74 · · Score: 1

    The Unix Hater's Handbook, a free download brought to you by none other than Microsoft Research: http://research.microsoft.com/~daniel/unix-haters. html

  197. One reason ACLs are superior by Earlybird · · Score: 2, Interesting

    Try performing file-system-level backups of a Unix system without being superuser. You can't -- there's no way to set up a user that has read/execute access to everything but write access to nothing.

    1. Re:One reason ACLs are superior by prog-guru · · Score: 1

      You can use dump and give the user read on the device file. I know dump is depreceated, but it works there.

      --

      chris@xanadu:~$ whatis /.
      /.: nothing appropriate.

    2. Re:One reason ACLs are superior by caluml · · Score: 1

      Could you do something along the lines of:
      mount /dev/hda1 /foo -ouid=you,ro,bind
      and then have read access to the lot? Surely you can additionally mount the file readonly with the user have rights to read it?

  198. You need to split the functions finer, too. by Ungrounded+Lightning · · Score: 2, Interesting

    Managers need to be able to list, create, delete, read, write, and change permissions. [etc]

    Writing should also be split into overwriting, appending, and truncating - with having all equivalent to write permission.

    For instance: Append without the ability to overwrite or read lets someone leave a message or data without examining or damaging what's already there. Think "mailbox". Overwriting without appending prevents arbitrary expansion of the file, and so on.

    Permissions also need to be not just in terms of users, but in terms of users, applications, or combinations of them. For instance: Jerry can use this set of tools to write-append to this mailbox, and that set (but no other) to examine and modify the bug database.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  199. backspace / delete by Capybara · · Score: 1

    I can't believe nobody has mentioned this yet. Nobody should work on anything else until I can ssh from Linux, Windows, IRIX, and Solaris to each of the other systems and have the backspace and delete keys always work right.

  200. Easy, it's a missing feature that by Mycroft_514 · · Score: 1

    If you want to use UNIX in a production environment, then you need the equivalent of Generation Data Groups ala MVS. This simplifies production support and tape handling no end.

    And this is missing in ALL flavors of Unix and in Linux too.

    Oh, and decent production control software too.

  201. Amen! by pVoid · · Score: 4, Interesting
    The File System. Sure It Corrupts Your Files, But Look How Fast It Is!

    That's probably the single biggest problem I see with nix machines. Lazy filesystems have always reminded me of experimental planes developped by the cold war military to up the world speed record. Planes which would basically self destruct if they god forbid hit a pothole while taxying out of the hangar. RAID is obviously not a solution, and I find that backups - while essential for mission critical applications - should not be used as an excuse to allow for making a file system that is as brittle as this.

    As a broader comment, I just find that UNIX is a brittle OS. Before every zealot jumps on this statement I should clear up what I mean: the OS components are extremely lean, they do exactly what they're meant to do, but there's absolutely no inherent 'imune system' to the OS. su can go ahead unlink the root node, a power failure and the file system goes to hell, there isn't any cohesive way to manage machine state. Every daemon runs in its own little planet, unaware of everything else.

    The article the other day on /. about Sun's attempts at self healing software address parts of this actually. And other really cool apps like tripwire address other points too. But in general, the OS itself is completly stripped of an immune system.

    When Microsoft first introduced the Windows File Protection service, I was really pissed off they did something which should have been done via proper security measures (which common users were short circuiting by running as admin). But the more I face the idea, the more I realize that it's not a bad idea after all, proper code signing, system level integrity checks, basically a path towards actual 'self healing systems'.

    In general though, everyone has a long way to go still...

    1. Re:Amen! by Anonymous Coward · · Score: 0

      I see Microsoft Windows as a brittle OS. As an administrator, you can remove the Windows directory, and the system goes to hell.

      With a journalling file system (such as ext3) nothing happens during power failures. Things get restored from the journal and that's it.

      Why should daemons be aware of each other? What exactly is the point in that?

    2. Re:Amen! by pVoid · · Score: 1
      What a troll you are. Aside the point in all three...

      Microsoft wasn't cited as a non brittle OS, a technology which happens to be used on Microsoft was cited as a step in the right direction.

      ext3 is cool, but it was aside the point of the post, which was a quote from an article that was linked by grandparent post - as in "on topic".

      Daemons should be aware of each other for dependency reasons. Read the friggin article from the Sun kernel group and stop trolling as if you know it all.

  202. Goonix by Anonymous Coward · · Score: 0

    The Unix implementation for Goonies fans...

    Seriously, who doesn't think Google is or should be working on a decent Unix / Linux implementation? I mean, Red Hat, Novell/Suse and all them are nice but 10 years plus and no significant inroads in the consumer market mean that *someone* new needs to step in.

    All hail Google !

  203. Um, what about the second part of the question? by pcraven · · Score: 1

    I find it interesting as I read through this how many people listed what was wrong with Unix. Very, very few people listed how to fix it.

    (Including me.)

  204. Where to begin by Scratch-O-Matic · · Score: 1

    I've been using computers for over six years now, so I can tell you I'm in a position to answer this.

    I tried Unix for about a week before I went back to Windows. It was practically useless for too many reasons to list, but here are the biggies:

    1 - No type of 'My Computer' icon at all.
    2 - No 'Start Button.'
    3 - No automatic updates.
    4 - No AOL client (in this case, 'client' refers to a computer program rather than a person.)
    5 - No wizards of any sort, making dialing in virtually impossible.
    6 - No Gator or Bonzai Buddy.

    --


    Evil is the money of root.
  205. callbacks by SanityInAnarchy · · Score: 1

    I'm not a programming genius either, but I think callbacks and such will solve most of those problems. If you like, I can try to do what you were talking about.

    The idea is to figure out which parts need to be run most often, and which least often -- a general rule of optimization. For instance, it's fairly rare that you'll switch modules, so this operation can be slow.

    As an extreme example, imagine that every time a "service" starts or stops, you recompile the program to reflect the new situation.

    --
    Don't thank God, thank a doctor!
    1. Re:callbacks by vadim_t · · Score: 1

      Of course I could have used callbacks, but that wasn't the point. Callbacks run in the same address space. The experiment was to try to write a server that would absolutely as stable as possible. The plan involved:

      A tiny core that's so simple it can nearly be assumed bug free, or at least never crashes. All functionality implemented externally. All functionality is optional. Functionality can be addded and removed at runtime. The server is so simple and stupid it doesn't know anything about moderation. The moderation service simply traps commands and says "yay" or "nay" to the main server.

      For example, the authentication server would be a separate process that talks to the server, kind of a privileged client. Suppose that the mysql database goes down, and there happens to be no error handling at that particular point in the auth service. It tries to use an object that doesn't exist and crashes.

      Server sees the login server went down, and takes note. Everything continues to work, but nobody can login while the auth server is down. A cron job/monitor/admin restarts the auth server, it reconnects, and the server's back to full capacity again. The idea is that the server could resist an almost complete failure without fully going down. It should even be possible to actively develop and upgrade the server while running. Services would specify what to do if they crash. Say, the server might revert to a very basic chat if everything crashes, or deny messages completely if the moderation service is gone. Somebody called this thing the HURD of chat servers.

      Now, in practice this stuff meant lots and lots of message passing. A moderation service would imply almost every command would wait for the moderation service to reply, then the command would be processed by the service that provides it, then finally the client would get a reply. Some of that can be optimized, say, a logging service doesn't need to make the server wait.

      But anyway. In theory all this stuff was very cool and very nice. In practice, it meant several thousand lines of code for the management of all this stuff, debugging interactions between services and coming up with ways of making all of this have an acceptable performance. And all that before it would archieve the functionality of "talk". With this kind of mess in something as simple as a chat server I'm pretty sure bigger problems happen with kernels.

      Currently this project is stopped in favour of more interesting and practical stuff, although I suppose some day I will finish it and see what happens. If I do finish it, I'm fairly sure it could be very cool, but performance will suck compared to any decent ircd.

  206. It can't reproduce by lathama · · Score: 0

    You know with the trimming of important parts and all.

    --
    The GPL, for those that truely understand.
  207. Not if it's an append-only filetype. by Richard+Steiner · · Score: 1

    That would allow someone to add a record to a given dataset without being able to remove anything, or perhaps also to modify existing records (depending on the specific implementation).

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
    1. Re:Not if it's an append-only filetype. by Fallen_Knight · · Score: 1

      That would be more application level..

      alls the FS driver would be seeing is a write command to the file. How is the FS goign to know if a write is to add a record to a database or remove data?

      delte and write are the same thing to a FS, anything more fined grained should be ACLs and application level i belive.

    2. Re:Not if it's an append-only filetype. by samael · · Score: 1

      This would be someone who's never used other than PCs.

      Z/OS (the IBM mainframe OS) can open files to be read,overwritten, modified or appended to. And yes, that's all at OS level.

    3. Re:Not if it's an append-only filetype. by Anonymous Coward · · Score: 0

      Typical big-iron asshole - everything that's not a mainframe is a "PC".

      The reason that works with Z/OS is that it's built on a record-based FS. The fact that other OSs have never bothered implementing such a thing tends to indicate that it's a hell of a lot easier to let that sort of thing be dealt with at the application level.

  208. vi by istartedi · · Score: 1

    vi

    And if you think the answer is "emacs" you still don't get it.

    The biggest hurdle to users starting out is vi. What's needed is for every *NIX system to have an "edit" command. It's OK if it aliases to vi hacked to stay in an easy mode and rigged to have a simple menu; the implementation doesn't matter. What does matter is that when newbies need to edit a file they have a simple way to do it with a lightweight editor, without destroying what the poweruser base has come to expect. But this will never happen in a reliable way due to...

    2. ...there being too many implementations, and they are all different in subtle ways. Even when they try to standardize it usually does little more than prove the old quip that "standards are good that's why there are so many of them". The only real solution to this is something like MacOS X for the PC, and since we all know that ain't gonna happen, we're stuck with no clear winner for the PC *NIX desktop. None of them have the quality "feel" of a MacOS or a Windows. Yes, that's not a rational statement, but you know it's true. People are emotional. Go figure. Which brings us to a point that others have raised, namely...

    3. ...*NIX elitism. I define eliteism as the ability to engage in activity and/or hold opinions that are obviously flawed, and not only overlook one's own flaws, but insist that they are not in fact flaws but are in fact qualities! Elitism is pervasive in the *NIX community. However, it will all but disappear if a winner ever emerges on the PC desktop. It is certainly nowhere near as bad as it was among Linux people circa 1998.

    Well, there are more, but that's all I feel like typing right now.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    1. Re:vi by rcpitt · · Score: 1
      hmmm... I guess you've never seen vim.

      vi was spawned back in the days when UNIX was all dumb terminals and text - but with your choice of X client, the only thing holding you back from using the mouse and visual cut/paste is your choice from all the available editors that can handle a text file - even Open Office will do it.

      On the other hand, I don't use vim, I use vi - some things are just easier to use than to unlearn ;)

      --
      Been there, done that, paid for the T-shirt
      and didn't get it
  209. Precisely. Also, versioning would be nice. by Richard+Steiner · · Score: 1

    The primitive filesystem we use under OS2200 has only a single level of directories (called "program files") in the Master File Directory, but we also have both directory and element (file) versioning, allowing one to have a sizable number of files of the same name stored for historical purposes.

    That, plus the fact that an element isn't actually removed from a program file when it's DELETE'd until you PACK the file, is something I really miss when using peecee operating systems (be it Linux, Solaris, OS/2, or Windows). Heck, even VMS had a good versioning scheme when I used it in college in the mid 1980's!

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  210. You misunderstand. by Anonymous Coward · · Score: 0

    I was simply asking whether the original post suggests that people such as Microsoft certified people may be out of their depth when it comes to high-end operating systems.

    I was not insinuating that a Windows user is technically-incompetent by default or definition.

    And I'm an actual engineer. Not a "software engineer", or "hardware engineer" or a "network engineer"...I'm an actual, bona fide Engineer, who also happens to be certified in many computer-related systems (Novell, Cisco, etc)...so I feel at least a little qualified to state that the least competent people I've ever met in an IT-related discipline were those possessing Microsoft certification.

    1. Re:You misunderstand. by CheapEngineer · · Score: 1

      To clarify things;

      I am a Broadcast Engineer, which means I work on everything at a TV station (personally I'm better at field cameras, Transmitters and computer hardware).

      No, I don't have a MCSE, and Yes, I'd get one gladly if I worked in a profession where my employers were likeley to pony up the cash to do so. I maintain a small building with approx 100 Wintel clients running XP pro, W2kPro, and various versions of 98 and 95, along with several Sun boxes for Weather, a SCO Newsroom server and a w2kserver or 3.

      *In my "spare" time*.

      I can barely manage to get these boneheads to operate a computer like the one they have at home, let alone *any* flavor of Linux, so save your breath there. The software I need doesn't exist for *Linux, and won't for the next 20 years.

      So I'm stuck with Microsoft, as much as I hate them.

      CheapEngineer

  211. What's broken wth Libc? by KidSock · · Score: 1

    What's wrong with Unix is that people don't know what's wrong with it. Let's review a few of the claims posted here:

    "VMS you can set people to have read/write/execute and delete. in unix if people have write, they can write it to "null" *grumble*."

    Standard Unix permissions do not model the concept of access control well. They were considered elegant at the time given the constraints but now they're just an oversimplification that results in quantized access control capabilities (and the hole you point out). So patching an oversimplification with another one is not a good solution IMO. We can afford to use more than a few bytes to control access and that mechanism should not be specific to file descriptors.

    Someone pointed out they didn't like where programs were installed. They suggested one solution was to put everything in a single directory and use links so it's a nice neat package. I don't think we should care where individual files or directories are located. When a program get's installed the system should be sophisticated enough to track what it did so that it can undo it on demand.

    Another user believes all config files should follow the same format. I don't think we should be using config files at all. Just allocate data structures from a memory mapped file and write a little menu/form based program to manipulate that data in an intuative way. Then make sure you can export and import the data to and from plain text so we can still do batch processing with scripts.

    In general there isn't *that* much wrong with Unix. It's *supposed* to be simple. That's why it's good. MS is much more sophisticated but the complexity has found it's way into lower level privledged areas and now we're paying for it by being required to patch millions of systems every couple of days. I do think there could be changes that would make Unix much better but they're specific to low level sorts of things like the filesystem, shared memory, and synchronization syscalls.

    The question we should really be asking is "What's broken with Libc?".

  212. Legacy by Anonymous Coward · · Score: 0

    BEGIN 2CENTS
    It is overall the legacy problem, though drivers cannot be left out. Things that are wrong now have been wrong since the beginning, although at the time they made sense. Things like filesystem layout. Other times it is just that something was created, but multiple or no standards exist. Package management for one.Take MacOS. It spawned from unix, but since Apple controlled every aspect of it they could easily transition. The file system makes actual sense, as do configuration files. Terminal is present, though not nearly as critical to everyday use. Packages, I think it's in an installer format, not sure

    UNIX Fixes:
    Package management - RPM is nice, particularly nice when you can use a frontend like YaST. apt-get is great. Why can't we find a middle ground? Create a Gnutella/Gnutella2 network for packages. This allows searches without a single centralized directory. Dedicated servers would be needed, as mostly clients would only be on the network while downloading a package. (OSS has found plenty of hosts in the pasts for distros, so something like that would be simple enough) The package format itself could be almost identical to RPM, but what I would like to see is making whether the RPM contains source or binaries totally transparent. May be done already, so shoot me.

    Filesystem - the / directory as we know it could be moved to /legacy. In the event there is no specific flag set in the executable (does coff has any flags available for this?) then the kernel/shell would automatically chroot to /legacy before starting the program. Newer shell scripts would be tagged somehow...havent given thought to it. The new filesystem would include an alias feature. This way, we could have meaningful names like /Configuration/Gaim/Preferences/ which could be aliased (aliases for each directory, not for the entire path) to something like /config/gaim/pref/ Case sensitivity should be thrown out. Shouldn't be a problem. Never heard of an app actually depending on thi "feaure". I mentioned Configuration, but what other directories should we have? /Configuration (Like the windows registry. Organized place to keep config data of types like string and numeric, boolean, and perhaps files for the times when the previous wouldnt do the job) /System (Shared libraries, kernel, boot) /Applications (Applications like Firefox or GIMP) /Utilities (Stuff like sort and grep) /Home (It beats the hell out of Documents and Settings...keeper)

    Drivers - If the above two are fixed then maybe developers would make drivers for UNIX systems too. Until then it would make sense to make an effort to emulate some Windows device drivers. Now I'm not saying this would be particularly fast, particularly reliable, and kernel mode drivers is out of the question. But sometimes you just have to have that wireless card driver that hasn't been ported yet.

    Gaming - If people follow Unreal tournament and make games *nux-compatible too, then great. But until then, I believe there was a branch off of wine that runs a number of directx win32 games. Commercial though. It proves it can be done.

    END 2CENTS

  213. Re:IMHO, none of that matters to the typical end u by Anonymous Coward · · Score: 0

    I mostly agree. I have a lot of ancient Unix experience ,sys7 variants, AIX, etc and in the past year have been involved w/ Linux again. My experience installing Firefox 0.93 was silly, you have to fuss with the install directory (no default nor documentation) or else edit the startup script. That's just pathetic from an end-user POV.

    The problem w/ the java runtime plug-in is a glibc revision mismatch and that one took me months to puzzle out.

    Sorry, *nix is a great OS, but until the sharp corners are polished off it remains a bag of parts which require expertice to make into a consistent whole.

  214. Re:The C language: Perfomance Myth by Anonymous Coward · · Score: 0

    Are you freaking serious? Making even an extremely simple system call takes on the order of 1000x longer than a method call in the best case (when the kernel just gets access to extra pages instead of a different memory space) thanks to C, assembly, C++, C#, and other non-safe languages. The only real reason why Java is slower is because it is doing more (OO for instance) and safer (array bounds checks, safe paradigm). Other than those two there is no reason it must be slower. And both of those can be 'turned off' for kernel-level code.

    Using a safe language like Java, in the kernel gives lots of advantages:

    * Turn off virtual memory and MMU == ~30% performance gain.

    * No penalty for system calls: rich kernel-level API, 1/1000th overhead from system call, user code can safely access kernel data structures and buffers directly, dynamically inline system calls into application == mucho performance boost.

    * Zero language-level security defects (1 bug in Java in like 5 years); no malloc/free / double-free / buffer overflow / off-by-one / etc.

    * Safe modules and drivers with no more overhead (objects to mediate access to device memory so impossible for driver to crash the system). Like user-space drivers in a microkernel only without the performance penalties.

    * Simplified implementation of basically everything. Have you seen the shenanigans in the kernel for memaging objects in the network stack for instance? Or the ridiculously complicated VFS (virtual file system)?

    There are a lot of benefits even for straight Java as the main part of the OS kernel. There are some drawbacks though, so some modifications to plain-jane Java would be needed.

  215. Mod Parent Up by infernow · · Score: 1

    Just because he didn't put the command in the title for easy parsing doesn't mean he's not right.

    --

    that that is is that that is not is not

  216. All cert is worth shit! by Anonymous Coward · · Score: 0

    I used to suspect that but then I had it confirmed when I walked past a bookstore's bargain bin and saw 'CCNP for Dummies' and 'Solaris for Dummies'. I shit you not. It was at that moment I realised I was wasting my time and money chasing Cisco certification. It'll cost me more to get it than it'll earn me. That's if all the jobs haven't gone to India first anyhow.

  217. Stable ABI by dougsk · · Score: 1

    Give me a stable abi and I will give you vendors to support *nix. Until then -- sod off mate.

    1. Re:Stable ABI by PenGun · · Score: 0

      What's an abi? You thought I had low karma for a reason? Heh.

      PenGun
      Do What Now ??? ... Standards and Practices !

  218. You're thinking too small here by crmartin · · Score: 2, Interesting

    Look, folks, you're mainly bitching about poor documentation or poor file system organization, with some change left over for not liking the setuid/gid thing which seems like a hack now, but was way cool back in the day.

    Back many years ago I was proposing something called NERU "a New Enviornment Rationalizing UNIX". Here were some things that I was really interested in doing then:

    - uniform addressing schemes that make memory and the file system look more homogeneous.

    - typed entities replacing files what carried along their pointers to their own operations. Think of it as an "object oriented file system".

    - shell or scripting mechanisms with type casts; say, transforming /etc/passwd to a gdb database indexed on username might be something like
    cat /etc/passwd |(gdb) application.

    - uniform versioning based on copy-on-write: any time you touch a named entity, it automatically has a current version and an old one.

    That was 20 years ago (and some of the ideas weren't all that new then the uniform homogeneous model for storage was part of IBM System/38 and is now part of AS/400.)

    If you really want to "fix" UNIX, you need something more than fiddling with the file hierarchy organization.

  219. File cycles in OS2200 are similar in some ways. by Richard+Steiner · · Score: 1

    You create a public file with the @CAT,P command, but you can create a new file cycle using @CAT,P FILE(+1).

    That will create a new file with the same name but increment the current cycle number by one, and each new cycle of the file is maintained as an independent data file in the MFD, can be independently read to and written to, etc.

    The cycle number continues to increment until it hits a certain value and then starts over, which seems like a problem at first, but as such files are usually referenced as a relative offset from the last cataloged cycle, not the absolute cycle number, it isn't as much of an issue as you might think.

    Thus, FILE(-0) always refers to the last cataloged cycle of the file named FILE, FILE(-1) refers to the immediately previous one, and so on.

    It's very useful for things like daily logfiles where you want to keep around the last 31 copies and don't really care about the absolute file cycle number but want to be able to see today's actiuve file at FILE(-0) or go back to FILE(-10) to see what happened ten days ago.

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  220. God Damn! by jafac · · Score: 1

    I've been reading slashdot for what, 7 years now?

    I've NEVER seen a thread dis Unix like this before.

    Never!

    I've always held that Unix is to operating systems, what Fundamentalism is to religions.

    It served a good purpose; prevent the heretics (Windows) from taking over. Now it's time for a Reformation, I guess. . .

    A lot of folks seem to be saying that OS X answers a lot of these problems.

    Still gots POSIX permissions to deal with tho. . .

    --

    These are my friends, See how they glisten. See this one shine, how he smiles in the light.
  221. The biggest problem with UNIX by jswalter9 · · Score: 1

    I have to choose among so many good choices.

    --
    Retired from software... maybe. Sort of.
  222. One thing only ... by Titusdot+Groan · · Score: 1
    "What would I do differently if designing UNIX today? I'd spell creat() with an e."
    -- Ken Thompson, paraphrased
  223. Re:IMHO, none of that matters to the typical end u by bcrowell · · Score: 1
    Almost none of what you're saying is a criticism of Unix in general, it's just a criticism of certain Unix implementations, including Linux. Consider the Unix implementation called MacOS X:

    Installing software is highly unreliable, non-standard, a maze of twisty little interdependant passages, and deeply obscure.
    True of Linux. Not true of MacOS X. There is no standard "windowing" GUI
    True of Linux. Not true of MacOS X.

    You have to go to the command line to configure and/or adjust and/or install many things.
    True of Linux. Not true of MacOS X.

  224. If I were applying to Google... by curtlewis · · Score: 1

    What's wrong with Unix?
    It's name is a sound alike for someone who's been 'snipped.'

    How would you fix it?
    Well, I don't know about humans, but when you snip a cat, they say it HAS been fixed, but I don't think that works here.

    Nix the snippage and give your OS some balls!

  225. I like OS/2's simple system. by Richard+Steiner · · Score: 1

    Create a directory called FOO for the program FOO that you want to install. Put all the files (.exe file, .dlls, README files, and what have you) into FOO. One nice, happy unit. Unfragmented.

    Now, add FOO to the PATH and LIBPATH variables if you wish to tell the OS that the executables and/or libraries are to be visible system-wide.

    The first entry in the LIBPATH is generally ".", or the current directory, so it's easy to run stuff and NOT add it to the PATH or LIBPATH if you want to. Just CD to the base FOO directory before running the program. A nice job for an alias, shell script, or desktop icon.

    With an intelligent CD command like WCD for OS/2 or ACD for DOS (something Linux distro should consider adding, BTW), all one has to do to jump to the location where FOO is stored is to type "CD FOO" in most cases, assuming most programs have relatively unique names. No need to consult with the package manager to see where various files associated with a given package are stored.

    It seems like Linux and other Unix-like operating systems like to complexify the issue. :-) Ideas like /bin and /usr/bin are good ones -- so create a symlink from each application repository to those common directories and be done with it.

    The historical method of splitting up every used-installed package into a zillion different directories based on file type seems to do little more than fragment the system into oblivion.

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
    1. Re:I like OS/2's simple system. by HeghmoH · · Score: 1

      Did you just write four paragraphs on how to install an application on OS/2, and then call it "simple"? On OS X, it is literally a single drag with the mouse.

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
    2. Re:I like OS/2's simple system. by Richard+Steiner · · Score: 1

      Simplicity of structure and simplicity of operation are two different things (sometimes closely related, sometimes not).

      Personally, I don't find the following sequence overwhelmingly complex:

      UNZLIB FOO.ZIP

      which is all it takes using the 4OS2 alias I've created for doing my own software installations. :-)

      --
      Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
      The Theorem Theorem: If If, Then Then.
  226. Something tells me.... by MSDos-486 · · Score: 1

    they ask this question with reason. Whoever submits the best answer get a job with the GoogleOS group.

  227. what is wrong with UNIX is INERTIA by rcpitt · · Score: 1
    the biggest problem with UNIX is that there is so much software "out there" that runs on it with little or no problem.

    If it were not that UNIX was initially given to the universities for the cost of the media, there wouldn't have been so many people who learned how to create programs on it.

    If the basic API of UNIX hadn't been so damned obvious and easy to deal with (and adapt to newer kernels, and port to newer hardware architectures) we'd have had to re-invent all the other wheels that today we take for granted - sh (and bash) csh (and tsh, zsh etc.), vi, awk, grep, sed, PERL, etc... and when we re-invented them we'd have fixed all the obvious problems, like "too many args" or ugly text interfaces or non-orthoganal option naming.

    If UNIX hadn't been so damned useful, we'd have spent more time inventing new paradigms - and made a truly integrated GUI-OS system, instead of making a useful OS and lots of optional GUIs.

    Yup, if UNIX wasn't so damned useful and ubiquitous, we'd have had time and reason to invent something else, - like maybe Linux.

    --
    Been there, done that, paid for the T-shirt
    and didn't get it
  228. Smart people find easy ways to do things, by KalvinB · · Score: 2, Interesting

    they don't keep whittling toothpicks out of redwoods because it makes them look like skilled carpenters. The cotton gin would never have been invented by a person such as you describe. They'd find great intellectual pride in doing the job by hand.

    I'd think the person a complete fool.

  229. Re:Feel sorry for the people at google that read t by phek · · Score: 1

    No, its unix like, but its not actually unix.
    http://www.netbsd.org/Misc/call-it-a-duck.html

  230. Problems with UNIX? The roots: C and trees by bzipitidoo · · Score: 1
    First, the tree.

    I like the ideas I see on ReiserFS future vision. A lot of posts here mention problems with the whole idea of rwx permission bits, or problems with tracking of installs. Applications get scattered all over the directory structure, or compromises are made to prevent that. I thought that ditching the whole idea of a directory hierarchy was the way to go. Reiser FS thinks so too. No more directory trees!

    An example to illustrate the problem. Suppose there are 2 apps, "A" and "X11", and each one is composed of many executable and help files. With directory trees, we only have a choice of which mess to make. Throw everything into /usr/bin and /usr/man or create /usr/man/man1/A/, /usr/man/man1/X11/, /usr/bin/A/, /usr/bin/X11/, and maintain package data with yast, apt-get, rpm, pkgtools, or whatever? Or create /usr/A/man, /usr/A/bin/, /usr/X11/man. /usr/X11/bin/ and so on, keeping everything to do with A under /usr/A/? That makes package management a lot easier-- might be able to do package management without a special purpose utility. But doing it that way, just one problem is the PATH environment variable has to be huge, and that will slow the computer down-- imagine working around that by reordering the directories in PATH on the fly-- yechh. Heck, X (XFree86) does it both ways now: most stuff under /usr/X11/, except for the stuff now in /etc/X11/. Why didn't they use /usr/X11/etc? Anyway, giving files "attributes" such as {"usr", "A", "bin"} in an unordered set at once solves the problem of which order to use by getting rid of the requirement to have an order. Also, a flag (rwx and others) would be just another attribute.

    We have "namespace pollution" problems, and informal conventions to deal with them. (An example is the bzip2 library, which originally used names like "compress" and "decompress" but changed all the names by prepending "bz2".) How do programmers learn of these customs? Burned hand method, that's how.

    Which goes nicely into the 2nd major complaint: C.

    Nice to have one language to do it all, except C can't. (I can already hear it: use LISP!) C comes close, and it was brilliant to do all the UNIX software in one language. I think a big reason C beat out Pascal/Modula is the syntax is shorter-- "{" instead of "begin", for instance. But C isn't so brief for other tasks, so we have the makefile "language" and shell scripting (csh and tcsh tried to be like C), to name 2 of the ugly bandaid solutions. This duality leads to the practice of having a "frontend" to use in scripts and from the command line, and a "backend" of library functions to call from C. Why have 2 separate interfaces?

    C has another kind of problem: the buffer overrun and similar ilk that arises from the C philosophy of "trust the programmer" and don't make checks because it slows things down. How about the infamous gets() library function? Makes for buggy and insecure software.

    C and trees: they were great, they've worked for 30 years. But they're not perfect, and now, after such a long time, we've seen a lot of shortcomings and thought of a lot of improvements.

    --
    Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  231. Weakness by mmatloob · · Score: 1
    Unix does not impose any standards on the system, so it can get fragmented quickly.
    • Unix does not force a specific file heiarchy, so not only do diffrent systems have diffrent filesystems, but one system might have diffrent programs installed with diffrent file structures.
    • It does not impose a certain file layout either, and that makes a big mess in /etc and the home directory for configuration files
    • And it does not force certain conventions to provide arguments with the programs and you have to use -abc, -a -b -c, or some other variant so that diffrent programs use different ways.
    • It does not force you to program using the ideas of the unix philosophy. (Using small tools connected with pipes, rather than big application programs. That is not all of it, but it is the biggest part).
    This "weakness", for lack of a better word is a main component of unix and shows itself all over it, even in Unix's main programming language, C.
    The power this gives you is great, but when you have a large system with parts maintained by people around the globe, which is Linux, it gets pretty annoying. Standards would have been nice in the beginning, but Standards are recomendations free to be misused, not used, etc. And, even then they fix small parts of the system. one standard for the file-system another for window managers... that just shows the disconnectedness. And some standards would just be horrible if they were set- (XML for the configuration files).
    This is not as much as a problem in the big commercial systems where work has been done to make the system seem whole, (even though it is not so great there, either), it is a big problem in linux. Linux is a system with many parts written by many people, but (I) would like it better if each of the parts worked in a consistent manner and were connected
  232. Re:IMHO, none of that matters to the typical end u by Anonymous Coward · · Score: 0

    Linux has crappy caching and swapping performance? Really? Granted, none of the boxes I use regularly would qualify as 'high memory', but I've _never_ noticed a difference in the snappiness of the OS over several days... is that true or was he trolling?

  233. Re:IMHO, none of that matters to the typical end u by sloanster · · Score: 4, Insightful

    Development for apps for "all" linuxs is right out, which means big commercial closed source players aren't interested, which in turn means we have to keep Windows machines around to get some kinds of work done, which sucks.

    Actually there are a number of examples which put the lie to your charge, apart from the obvious case where a linux admin doesn't even install a GUI. (linux gives you that flexibility) But a number of commercial vendors provide programs which run on any modern linux distro with X windows, e.g. netscape - but in practical terms, any modern linux distro ships with both qt and gtk apps. So any app built on either native xlib, qt or gtk will run on any modern linux system.

    Linux has a pretty poor cache and swap system, combined with zero user level control over cache and swap. As a result, over time, the OS runs slower, and s l o w e r and s... l.... o..... w...... r....... until you restart, and then it's back to being fairly snappy until it fills up memory again with things it shouldn't be caching,

    LOL, mod parent up funny - linux memory management is actually pretty decent. I don't buy into the hype about running slower and slower and finally needing a reboot, that sounds like too much microsoft thinking. Our mail servers which are currently on a 700+ day uptime are processing messages just as fast as they were when first booted.

    Sorry, your story just doesn't hold up.

  234. C and shell by bcrowell · · Score: 1
    Unix's two biggest problems are the two languages that grew up along with it, C and shell.

    C's big problem is the same thing that made it so popular with programmers when it first came out: pointers. C's pointer syntax was new and cool, and programmers used it like unprotected sex on a Cuban vacation. That's why we're still hearing about new vulnerabilities in sendmail. C++ fixed something that wasn't a problem with C, trying to bring it in line with the OOP fad, while maintaining backward-compatibility, and therefore ensuring that it would be a monstrosity. Meanwhile, C++ failed to fix the basic problem with C, which was pointers. Oh yeah, and it brought with it some new problems; every time you change an exposed piece of class data in C++, it breaks binary compatibility, and that's one of the big reasons that software installation is such a nightmare on many flavors of unix (not including MacOS X). C was designed as a language for systems programming, and it was great for that, but people should use the right tool for the job. There is no excuse today for writing applications programs in C or C++. At most, a few time-critical routines should be written in C or C++.

    Shell is the other problem with Unix. For one thing, there are too many shells. If you don't believe this is a problem, do a "man bash," and read the section titled "INVOCATION;" it's a huge mess of confusion required for backward compatibility with other shells.

    Another problem with shell is the flat namespace. F'rinstance, ImageMagick has homesteaded the verb "convert," so nobody else can ever use it. I have a script I wrote called "view," and one of the first things I always do when I install Unix is to remove the "view" that is a symlink to vi.

    Basically a lot of the problems with shell come from the fact that Perl was invented too late. Shell has lots of comprimises between (a) the ability to do things quickly and easily in a terminal window, and (b) the ability to write programs.

  235. Something like that... by solios · · Score: 3, Interesting

    ..as a Mac admin since '97, it's blackly amusing that now that Apple's shipping unix, all my old linux friends are now flaunting powerbooks. :P

    OS X takes the bullshit out of getting Work Done, and that's nice- but in the process, the platform has transitioned from the domain of artists and eccentrics to the khaki-clad GAP-shopping technoratti richass motherfuckers, who have no use for any of the reasons the platform has continued to exist over the past 20 years.

    My OS-that-runs-Art doesn't exist anymore. Apple's replaced it with an OS that does everything but Halflife... and to get that, they had to round off some of the edges. :|

    1. Re:Something like that... by Anonymous Coward · · Score: 1, Funny

      "OS X takes the bullshit out of getting Work Done" -- but I'm a Linux Gentoo fanboy. I don't want to take the Bullshit out of getting work done. In fact, I don't want to get any real work done at all.

    2. Re:Something like that... by Ash-Fox · · Score: 1

      I run mandrake linux on my powerbook.

      --
      Change is certain; progress is not obligatory.
  236. You don't need to reboot for that. by IBitOBear · · Score: 1

    Yes, there are reasons that people don't want to reboot a production server. I ahve operated and then administrated production machines in varios settings since the mid seventies. I've worked five-nines government contracts. I know about down time.

    No, you don't "have to reboot to execute something from a removable media."

    You reboot when you want to fundimentally replace a package. (And maybe not even then if the facility were written correctly and had the necessary tools to determine that a full reboot weren't necessary and a hot recomposition could be performed.)

    [note: all version nubmers chosen arbitrarily, as example, not to reference existing verions particularly]

    The core idea is that what we think of today as the backbone of *NIX is a static pile of doo-doo that gets poluted too easily. If, instead, everything were safely ensconsed in it own directory and "properly documented" its own dependencies to the outside world via a parseable file full of directives. (e.g. a file that said "needs binutils, needs fileutils 2.8" etc) it would be easy for a tool to "compose" things like /etc and /bin and /lib (completely out of symlinks and bind mounts, e.g. no copying and no duplication) to satisfy those dependencies.

    The most obvious time to do this (and the one time it is mandatory) is during reboot. Reboot is also ideal to prevent the race condition where, lets say, you were replacing binutils 2.10 with 2.30 and you didn't want to worry about the mixing the output of both because someone was compiling just when you made the change.

    The first version of this facility would certianly be reboot-centric. See my other comment(s) in this thread for a longer example of the possiblities including things like MakePrivateRoot as a chroot-like command that compose-and-chroot-and-exec(s) a process in its own limited and custom environment. (yes, it would be expensive, but the fact that it would be possible is significant.)

    What the system and the /etc directory have in common should be fairly obvious. My intent is obliterate /etc as a static entity. Most packages should have their own configurations instead of bonus directories in /etc. So when you put in SSH version 2.2 the entirity of the ssh, config and all, would be in /apps/ssh/2.2 (so /apps/ssh/2.2/config). Of course, some things [like SSH oddly enough 8-)] might rank "config packages" to share the config between versions. Sounds unnecessarily complicated until SSH 11 comes along and has incompatable configs to prior versions. When you started up --with-ssh-11 your _effective_ /etc/ssh would be composed from one sourece, when --with-ssh-2 your _effective_ /etc/ssh would be from somewhere else completely. This would be controled by the dependency files/language. And so forth.

    Dont think about this statically. The static and pollutable /etc and /bin are the essential problem. If these directories were composed into existence at each boot from disparate persistent sources based entirely on dependency requirements, then they couldn't get polluted over time because they would regularly be recreated from whole cloth.

    The point about the removable devices is different. It's not a limit, its a feature. In a situation where machines are loaned-out to individuals (as in computer labs at schools, and cyber caffes) it is _normal_ for people to lug in whole drives full of their own work and plug in. If the core system was set up to compose-in-at-boot the external drive, while the core packages and configs were frozen on a read-only drive [think read-only via jumpers not permissions], then the core machines woudl be "automatically customized" by the portable media, but they coudln't ever be "compromised" by them. So the school in question provides the base machine and the 20 or so pac

    --
    Innocent people shouldn't be forced to pay for inferior software development.
    --"Code Complete" Microsoft Press
  237. A wish list by afarhan · · Score: 1

    Note: We are talking about UNIX the operating system kernel. The question is not about the applications that run on UNIX.

    My wish list:

    1. Event handling: UNIX has a silly signal() as the only signal handling mechanism. I know, I know there are 'extensions' all around, but we are talking about UNIX per se. select() is a kludge. Try handling 10,000 slow TCP/IP streams (think Instant Messaging) on an 'extension free' UNIX to see what I mean.

    2. Lower level file handling: If only could I handle a file with it's inode! Dont' think this is arcane. There are a lot of useful things that could be done if this were possible (and cut down the time File system takes to parse a path name).

    3. Instant volume mounting: The only good thing about Windows is that I can quickly plug in a removable media copy something and yank it off. None of the silly mount/umounts. I know, it 'can be done' with some intelligence at the app level. I am talking about the kernel you silly!

    4. Quicker booting: I wish the system took less than 10 seconds to come up. at least on the CLI. But this is a personal wish.

    5. ioctl() madness. do away with the 'there-is-ioctl-for-the-rest' mentality. C'mon guys, it is a kludgy way to pass data around through the kernel.

    --
    The purpose of all philosophers was to impress women
    1. Re:A wish list by katz · · Score: 1

      3. Instant volume mounting: The only good thing about Windows is that I can quickly plug in a removable media copy something and yank it off. None of the silly mount/umounts. I know, it 'can be done' with some intelligence at the app level. I am talking about the kernel you silly!

      If you yank out a USB device from a Windows system, you run the risk of losing data on that device. Windows may cache writes to the device to memory, and since it cannot predict the future, it has no way of knowing to write back the cache's contents to the device right before the device is pulled. Windows provides the user with an unmount icon (a green arrow on the System Tray in the lower-right corner of the screen). When you hit that, it signals for Windows to update the device with the contents of the cache.

  238. Re: Firefox plug-in woes by Anonymous Coward · · Score: 2, Interesting

    I've had the same experience with Firefox and plug-in installs (under MEPIS Linux), finally got a work-around by linking from the Firefox plug-in directory to the Mozilla plug-in directory where the installers were actually putting things. Would be better if the installers were Firefox aware. Then, I "apt-get upgrade"d my system into oblivion, and had to reinstall from scratch, actually went fairly smoothly, my home drive was preserved perfectly - but I lost all my plugin links and custom installed libraries I need - at least the Firefox bookmarks are in home, they were saved.

    Back off the tangent to the thread - the eliteist attitude of *nix shows in so many ways, and it hurts widespread adoption, which is to its ultimate detriment. Auntie M may think a boot screen that says "GRUB" in plain text is funny, and slightly disturbing - leading her to choose the more "normal" operating system. Try selling your mainstream boss a development environment supported by some Scandanavian guys who call themselves Trolltech... all these little attitude statements add up to keep the rebels on the fringes of the galaxy.

    Of course, if you like living on the ragged edge, just keep putting out seriously good software with dorky icons and queer names - it won't bother the people "who actually have a clue."

    Clue: 90% of the population doesn't have a clue, but with numbers like that the clueless are an important force to be reckoned with - especially if you're trying to earn a living.

  239. Re:IMHO, none of that matters to the typical end u by Anonymous Coward · · Score: 0

    You guys are nuts. The biggest problem with LINUX, (who cares about unix anyway) is that its so damn hard to configure and use, I use linux at work, and while I love it, windows is in a different league when it comes to things like ....... printing. I myself think printing is one of the fundamentals - my printer btw is a laserjet III, not exactly uncommon - I can set my screen resolution in seconds.... YAST2 crashes my machine if I set some resolutions (which it ALLOWS), until I run some ghastly utility calles vga probe or suchlike. Right now, linux has only a few good things.
    1/ the apache application
    2/ the samba application
    3/ it never crashes (up 1 1/2 years - no crashes) and,
    4/ application crash recovery is easy, without rebooting (at least for apache)
    I also use solaris at work - Linux is leagues ahead except for stability (solaris is AMAZING FOR STABILITY).
    As regards usability vs windows....any self respecting windows user would trash it in seconds, the whole user experience is crap.

  240. Re:IMHO, none of that matters to the typical end u by obender · · Score: 1
    For instance, I installed Flash7 for Firefox 1.0. Didn't work. Still doesn't.

    So it does not run under Linux either. Here goes my only reason to migrate from FreeBSD.

  241. 20 real ways to fix unix up good by mrsbrisby · · Score: 1

    1. select()ing files actually demands that read() not block.

    2. shadowlink() which allows for rename()ing the original to atomically update the shadow()

    3. rename()ing a file into a directory that's opened has it's entry added to the end of the readdir() queue for that other process IF the original name hasn't been seen in that directory [yet]

    4. join(a,b) syscall which attaches directory b's contents into directory a for this process and all children. a complementary unjoin(a) and unjoin2(a,b) which remove all joins, and a specific join respectively.

    5. fork() return a file descriptor. writing to the file descriptor sends that signal. reading from the descriptor wait()s for it's status. close()ing the file descriptor detaches. if you really wanted to, getfpid(f) returns the opaque pid of the peer on f. getpfid(p) does the reverse. getpfid(-1) or 0 returns the file descriptor for the current process.

    6. splitsocket(s,&i,&o) returns a pair of ofiles. reading from i is the same as reading from s. writing to o is the same as writing to s. closing i is the same as shutdown(SHUT_RD); closing o is the same as shutdown(SHUT_WR); closing(s) after splitsocket() does nothing.

    7. poll2() which uses struct poll2s which are a linked list and have a void*userv; for user data.

    8. disablenetwork() which kills the current process and any child processes ability to use routable network traffic.

    9. bootnumber() and poweronseq() which return the number of boots this system has had and the number of times poweronseq() has been called by any process. these together can be used for sequence number generation.

    10. daemons are stupid. let the shell background them.

    11. seek() on a pipe will generate a SIGPIPESEEK on the peer if the peer handles it (default/ignore is to generate the normal error with no side effects). that signal has in its sigaction the desired offset.

    12. postfd(f) returns a 1024-byte random token that another process can use getfd(tok) to get that fd without using any other communication channel.

    13. mapf(addr,len) creates a file descriptor from the current process address space. mmap()ing that fd can reobtain that address space - even after exec().

    14. insist csh be never again used for programming.

    15. audit(f); system call which raises SIGSTOP for this process (and all children) whenever they do an operation that touches f. if f is a directory, then this includes all children of f, ignoring symlinks. a debugger can notice this.

    16. anonf(x) returns a file descriptor that is backed by some inaccessible file space without a name. if x is >-1 then it will be on the same filesystem as "x" is, and thus flink() or frename() is possible.

    17. flink(f,name); links a file descriptor to a name as link(a,b) links two names.

    18. frename(f,name); maybe freplace() instead, but replaces name with the contents stored in f the way rename() can be used to atomically replace files.

    19. open() flag O_LATER returns a file descriptor now and fails on the first read() or write() if the file couldn't actually be opened.

    20. stop screwing up my filesystem! "#!" should search the path, shared libs should search all paths, and software packages NOT WRITTEN BY THE VENDOR should be in /opt/AUTHOR/PACKAGE/VERSION/ or something acceptably similar. use join() to pull in their bins and libs into the main namespace if desired.

  242. The answer from a Unix/Plan9 Legend by justine_avalanche · · Score: 1

    From plan9 (unix done better) developer and Pike's buddy Dave Presotto a.k.a. "a strange man who needs no introduction" (also avail at the plan9 faq and comp.os.plan9).

    Subject: What Unix Problems Were Too Deep to Fix?

    This is best described by Dave Presotto's 9fans post (from 7 May 2003):

    Before Plan 9, we were running lots of Unices held together by a few networks, a remote file system (different uid's on each Unix), and a bunch of remote execution commands. We hated it since it was much harder to manage and use than our old single mutiuser machine. We wanted an environment that not only put together a lot of boxes and made them look like one but which also would make use of the new technologies that were appearing (SMP's, heterogeneous architectures, juke boxes, ...).

    The thought was that the new environment wouldn't change from Unix except where we thought it would make our goal easier to build. The kernel had to go. The single monitor view of the Unix kernel was a real pain for making good use of the SMP's. Therefore, we started that from scratch. That didn't mean that the kenrel interface had to change though. That was a separate topic. Lots of others have rewritten the kernel from the ground up while maintaining something that looked more like a Unix.

    Ken and Rob thought up the idea of building everything around a single file system protocol. They also added the idea of a subjective namespace to try to unify all the binding ideas of Unix. This name space is the one thing underlying Plan 9. We could have done the same thing to a Unix kernel (with an infinite amount of sweating) but the result would have been the same from the user standpoint, i.e., a system that looks very different. The ease which with it can be done can be witnessed by the number of failed/stalled attempts to add the Plan 9 namespace to Linux ...

    Also, we were tired of the general kitchen sink nature of Unix, especially of System V. If there were 3 projects or groups to do a single thing (like character processing, shared memory, networking, ...) they all eventually got jammed in. We wanted something simpler to work with.

    Lastly, we had all developed an extreme allergy to code filled with #if, #ifdef, #else, #elseif. Getting rid of that cruft by sticking differences into separate files/routines required a hell of a lot of rewriting.

    So the result was a different kernel, with a different design philosophy, a similar but different interface, but mostly the same old commands.

    If you think that Unix was just a single track in comparison, you're sadly mistaken. We just made more of a bend than others did.

    We are guilty of rewriting commands just for the sake of doing it. The reason there was sometimes legitimate, to match our different kernel interfaces or whatever. However, it was just as often so we wouldn't have to worry about Unix licenses.
    ===

    This pretty much sums it up.

    justine.

  243. This KEEPS coming up... by Ayanami+Rei · · Score: 1

    Look.
    Commercial software on linux works exactly as you described.

    MATLAB? Self contained.
    Oracle? Self contained.
    Mathematica? Self contained.
    StarOffice? Quake3? UT2kx? Clementine? Rational ES?
    Self contained.

    If the software is supported by the vendor, then it's probably completely self-contained; you could probably run it off CD-ROMs with some path hierarchy trickery and a very barebones linux system. Most package java internally, if used.

    OTH, almost all of the software you see that comes with a distribution is OSS. Most OSS software is dependant on other OSS software in a large way. This requires sharing of files. So rather than trying to support multiple versions of a library or audio daemon or whatever, you have one instance of the common component.
    This way, upgrading that one component will upgrade the experience of all the dependant software.

    Similarly you do NOT see the drag-n-drop installation of OSS packages in the Fink environment in OSX, right?

    Right.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  244. X-Windows ... by justine_avalanche · · Score: 1

    and rob's better window manager: www.cs.bell-labs.com/who/rob/lec5.pdf

  245. OSX is not the end all solution by iwsmith · · Score: 2, Insightful

    Many people are quick to say that if (l)unix 'were more like OSX' it would be better. While I agree that OSX is a nice operating system, has a good set of utilities and built-in programs, and provides a nice, friendly user interface, the same results could not be achieved in (l)unix.

    The reason Apple is able to devote time to making the GUI pretty, or creating these great applications is the limited hardware base they support. Mac OSX has nowhere near the hardware support provided by Linux or Windows. Don't get me wrong, the PowerPC architecture is great, however, the lack of other options concerns me. I personally try to avoid vendor lock-in as much as possible.

    I personally would like to see better vendor support (Ie ATI ).

    Also, while competition is great, it would be nice if the main windowing systems (KDE or Gnome [QT Vs GTK])were more compatible with each other (or we just choose one). Being able to run QT apps in GTK without loading all the extra KDE nonsense would be nice....

    Last note, greater standardization would be good too. Choosing *one* package management system that could be deployed across all dristros would be nice (Perhaps incorporate the best of the existing package management systems into one, cross distro system). It would make it easier for developers (only one package to make), admins (got a few different distros? ), and the general public (if more people use this utility, chances are a greater portion of those people will donate money, time, or other resources to the project).

    The W3C is an interesting idea, but *it* may not be the best idea. First of all, having a central organization setting standards does *not* mean those settings will be followed. Take, for instance, CSS. The standards are clearly defined by the W3C, however creating CSS documents that look exactly the same across IE and Gecko browsers is not easy. Moreover, people complain that getting features into the kernel takes a long time already, adding bureaucracy will only increase the delays....

    Excellent points are made in many of these replies, and what we need is to take the best of everything; the clean GUI of OSX, the standardization provided by a consortium including industry vendors, greater vendor support, and unify some of our efforts.

    Competition is good, but only so long as it does not ultimately make the users life more difficult.

  246. rm command by tutwabee · · Score: 1

    My answer was how easy it is to remove files permanently. There should be an option to archive files when deleting in a ..Removed directory. This would be similar to ReiserFS's way of ensuring directories are not corrupted while removing, but it would be permanent.

  247. Unix? by Anonymous Coward · · Score: 0

    What's wrong with Brewster?

    That question is bad for so many reasons. Unix is great for many things. People are working to make it better. It's getting better faster than windows is. If you want unix to do something better, help fix it.

  248. I've brought this up before... by Ayanami+Rei · · Score: 1

    What would be nice is if distros would include a profile.d that had a script called "env_manage" or something that might work like this:

    for each in /etc/profile.d/env.d/*.sh;
    if basename of *.sh is not in USER_BLOCKLIST or the first line contains MANDATORY
    source $each;
    fi
    done

    And you'd have a lot of files like this: /etc/profile.d/env.d/package_name.sh

    For example, maybe oracle.sh

    ### MANDATORY
    ORACLE_HOME=/opt/orahome1
    LD_LIBRARY_P ATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    PATH=$PATH: $ORACLE_HOME/bin
    export ORACLE_HOME LD_LIBRARY_PATH PATH

    And the package manager could maintain these files in the env.d directory so that each package can live self-contained, but this one script does everything necessary to make it visible in a user's session.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:I've brought this up before... by i+am+fishhead · · Score: 1

      If you have that, then (at least) zsh lets you have a function named "preexec" that is executed just before each command prompt, so you could just source all the files from there.

  249. Re:IMHO, none of that matters to the typical end u by J.+T.+MacLeod · · Score: 1

    As for your comments concerning development for Linux...

    The lack of a "standard GUI" is not a problem that exists for Linux. For Unix in general, perhaps, but all Linux distros (and, really, most modern UNIX desktops) have GTK, and many have QT. I can run GTK applications perfectly fine under KDE, QT apps perfectly find under GNOME, and both fine under twm. They look like native applications of my desktop of choice. Soon, they'll even have the option of using the dialogs of my desktop of choice, but standard dialogs haven't been a stumbing block on Windows, either.

    Your problem of GPL-or-commercial-only is something that is only true of QT. GTK exists, is LGPL, and it works quite well. If GTK isn't suitable, there are other toolkits.

  250. Biggest issue: ELITISM by Anonymous Coward · · Score: 0

    F* you if you think it's too hard to use, go F*-ing program it yourself if you want feature x,y,z, F* you if you're too stupid to read a man page, F* you for asking when the next release comes out, etc, etc. You people know who you are -- you're not special because you can use UNIX -- please get over yourself.

    Elitism is ugly and it should stop.

    1. Re:Biggest issue: ELITISM by BillGatesTheSecond · · Score: 1

      Altough your posting are a little on the top, i agree with you.
      But you have the same thing with MacOS X for example, but in the other way, anything that smells terminal or editing files there is geekish and are to be avoid like the plauge.
      Because they are creative artists, learning to actually use something? o noooo....

      Hangover from the oversized pocket calculator era that was classic MacOS i guess.

  251. innovate or die by LordMyren · · Score: 1

    how pathetic. why slave your time copying someone elses piece of crap when you can craft your own?

    i'm rapidly loosing faith that operating systems are in any way different from each other. its like arguing athlon/pentium: for the most part its the same bloody thing.

    there's a million little operational differences but those are never going to take the windows crown. what we need is something different, something actually better at a deeper level.

    its called innovation:
    think on the boundary
    build past it

    1. Re:innovate or die by FireBreathingDog · · Score: 1
      how pathetic. why slave your time copying someone elses piece of crap when you can craft your own?

      You heard the man! Let's get started building a piece of crap!

  252. Re:IMHO, none of that matters to the typical end u by cobar · · Score: 1

    Why not run the Linux version of Firefox under emulation? Install the linux gtk2 libraries and it should work fine.

    FWIW, the typical problem here is that flash gets compiled with a different version of gcc than Firefox, and then Firefox can't load the plugin because of g++ ABI issues. So depending on whether you're using the Fedora Firefox or the mozilla.org Firefox or whatever, you can have different results on the same machine. The other thing to check is that the plugin ends up in the right directory, since that's changed at least 3 times in the last 6 months. I personally prefer ~/.mozilla/firefox/plugins/ since that doesn't get wiped out if you d/l a new mozilla.org build and install it. You go to about:plugins in Firefox to make sure the plugin is actually getting loaded.

  253. Re:The C language: Perfomance Myth by Anonymous Coward · · Score: 0

    Your ignorance of computer languages is overwhelming. I'm guessing you're still in school and Java is/was the first computer language you've learned. Come back to us when you really know at least 10 others.

  254. Where's Bruce? by ChrisCampbell47 · · Score: 1

    I for one would like to hear from Bruce Perens on this. Other celebrities too, but I know Bruce actually shows up here occasionally ...

  255. -.- You didn't get it, did you. by Spy+der+Mann · · Score: 1

    * customizing
    * configuring

    If you want simple, you can't have those two. If you want to customize and configure, you have to accept some complexity. You have to be willing to make choices.


    Are you telling me that "more power" has to be equal to "more checkboxes in a dialog" or "more command line switches"? If you are, you're missing the WHOLE POINT!

    Take Firefox, for example. It has options, advanced options,and advanced tabs in the advanced options. But that was NOT what I was talking about. It's this whole apt-get / recompiling business.

    Apt-get NEEDS THE INTERNET. What if I'm over a 33.6K connection but I have a DVD drive? Huh?

    Linux needs standards as how apps interact with each other and the environment, so someone can make an EASY PLUGIN to configure all that stuff. But guess what, you can't. People in here have talked about how Debian is superior to Redhat, and how Redhat improved over the years... I don't want Debian or Redhat, or Brand-X... i want LINUX. I want a configure tool that is compatible with not redhat, or debian, or whatever... but ALL OF THEM JUST BECAUSE THEY'RE LINUX. I want to pull a CD which says "Linux compatible", insert it into the drive bay, so it will use the STANDARD procedures as said in the OFFICIAL LINUX SPECIFICATIONS (which don't exist so far), so that i won't EVEN NOTICE what the heck the program's doing.

    You talk to me about the pros and cons of the different Linux flavors... but I want ONE WAY OF LINUX. No matter how customizable it is. Say all you want of self-organization and how the beauty of free contribution, whatever, but right now you can't give me a "compatible with Linux" stamped CD that when I insert it in whatever Linux flavor i have and no matter how customized i have it, the program will INSTALL AND RUN with ZERO problems.

    Can you give me that? If you can't, then you're just realizing the problem. Linux doesn't have "operating specifications". It has "how-to"'s, which in other words, tell you "how-to" get around the incompatibilities.

    You forget that it's the standards which make the WWW a much cleaner web than 10 years ago, with all those proprietary extensions and workarounds that people use for compatibility. I'm just saying that if Linux uses standards (low-level standards I mean), the upper levels won't have to worry. And we wouldn't have this whole configure/recompile/apt-get mess to simply install and run my mp3 player app or something.

    1. Re:-.- You didn't get it, did you. by Anonymous Coward · · Score: 0

      apt-get can be used without any network. In fact, it's the way it's used in the CD-ROM installation.

      man 8 apt-cdrom

  256. Bloody address munger by tulare · · Score: 1
    The link I put in there was an irc link to irc.freenode.net. Looks like slashcode ate it for breakfast =[

    Oh, by the way, if you think LISP guys are bad, try asking something (anything) in #perl sometime - the answers you will get will be divided into two categories:
    • Four or five people who have F-keys bound to the link for the most excellent Learning Perl
    • A couple of people who think a help and discussion channel is a good place to intellectually masturbate after the style of the IOCCC but who aren't skilled enough to put in an entry that goes anywhere except /dev/null
    --
    political_news.c: warning: comparison is always true due to limited range of data type
  257. UNIX new year's resolutions by poopie · · Score: 2, Insightful

    - Provide a true serial console solution for x86 hardware that enables everything from BIOS changes to OS install on bare metal - this would bring the X86 platform up to where UNIX was 20 years ago (and don't tell me about IPMI until there's hardware using the 2.0 spec)

    - redo the whole privileged port thing. When only root could become UID 0 and start a process on a port under 1024, maybe this meant something. Today, it's a joke

    - kill the GNU info format. Could anything possibly be less useful that INFO pages?!? Sheesh. Manpages have become a standard - Everything should have a manpage.

    - Manpages must provide at least 5 example command strings for sample usage with description of what those options do.

    - In the days of UNIX, we all knew what were system binaries and what was GNU/other. We used /usr/local/ for that. Nowadays, Linux treats everything like it belongs in /usr. What exactly is *not* a system binary or library in a linux distribution?

    - Central area for Internet-based config files. Try to set web/ftp proxy information in a single location and have it honored by more than one or two programs

    - Strict adherence to commonly used environment variables like HTTP_PROXY, NO_PROXY by any internet-enabled app. There should be more like NNTPSERVER, SMTPSERVER, IMAPSERVER, POPSERVER

    - Do we really need /sbin and /usr/sbin? - Give me *one* - how about only /usr/sbin so we can keep / with fewer entries?

    - Do we really need /bin and /usr/bin? How about only /usr/bin.

    - for application foo, what should go in /usr/share/foo vs. /usr/lib/foo vs. /etc/foo vs. /var/lib/foo vs. /opt/foo vs /usr/local/share/foo vs. /usr/local/lib/foo vs. /usr/local/etc/foo .... Kill me now, please!

    - sar was great, but I need a year's worth of data, and I would really like to have some trend analysis automatically done and know that my bottleneck over the past week has been XXX and was due to process YYY

    - mail programs should all be able to default to using /etc/mailcap if it exists and is properly configured. Write a simple GUI to configure /etc/mailcap and then all mail apps will be happy

    - Make X11 session state transportable. I want t o be able to transport my entire X session from one Xserver to another Xserver without losing the state of any apps. (not just a view via VNC... the whole GUI app)

    1. Re:UNIX new year's resolutions by Junta · · Score: 2, Informative

      True serial console, already there for a lot of x86 servers, and besides, that wouldn't even be a Unix issue, it is a platform issue. IPMI 2.0 will allow a standard way to remotely access that serial console via network, but 20 years ago the machines didn't have that capability, and it has always been the case that Cyclades, MRV, Equinox, and the like make money off of equipment to make serial consoles net accessible. Besides, the non-x86 systems still today most all have the same serial console support of 20 years ago.

      Privileged port is pretty much as you say, a joke. I am particularly amused by IRC servers dependence on ident responses as a way to validate a user connecting

      The info format was meant to supercede man pages. There is a lot more flexibility, but I am torn. In day to day use I find a preference for man pages, simple, easy to search. However, man pages don't scale that well (man bash for example), and sometimes the typical string search for what you want will take forever to iterate through. Arguably more widespread html documentation coupled with text web browsers like links would give more flexible options in a more comfortable way.

      What exactly is your complaint about /usr/local? Anyway, it wasn't really intended to distinguish GNU from non-GNU, it was largely meant as a site/workgroup wide repository for shared binaries/applications. My complaint about it used in this fashion is that it wasn't engineered well for multiple platforms (i.e. standard requiring arch/platform named directories to hold executables/libraries) /bin and /sbin are not boring/redundant with /usr/bin, and /usr/sbin. While many many systems nowadays use one filesystem to contain more, some systems still have /usr as a separate partition, and / containing things useful to get system to boot/mount and do recovery tasks is good for those environments.

      As far as all the directories and where things go, there are pretty established standards, the problem being, of course, that not all groups know them well or bother to follow them, so they kind of get trashed. I personally think mostly self contained application/library suite directories are nice (ROX file manager supports it). I.e. the entirety of GTK would be /usr/lib/GTK/, including documentation, default configs, libraries, executables) Of course, PATH variable would get badly mangled, or else you have ludicrous fs structure (very simple apps needing directory entries, ls, rm, etc if strict, when they share a lot of documentation). It really is a hard thing to address.

      Most everything else I can't disagree with. Particularly the notion of detachable X11 sessions ala screen for terminals.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  258. Whoa! RISC OS flashback on the app directories! by hereticmessiah · · Score: 1
    Which isn't a bad thing.

    Back when I was still using RISC OS (an experience I would gladly go back to if I'd the money for a new machine), all our apps were packaged in their own directory. It all worked tremendously well! This page explains it well enough. There's no sense in me rehashing the whole thing here. Really, go take a read of that.

    Oh, and I don't think the RISC OS FontManager's antialiasing has yet been beaten when it comes to quality. Nope, it's still the best font rendering engine around.

    --
    I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  259. Privilege management by nsayer · · Score: 1

    There isn't much wrong with Unix, IMHO. But nothing is perfect. I believe a lot of other replies, however, have concentrated on particular incarnations of Unix.

    I think the one thing that was a mistake was making UID 0 special. Rather, I think they could have made more use of nodes in /dev/ to manage permissions. For example, posessing an open file descriptor on /dev/security/tcp/lowsocket would permit applications to open sockets below 1024.

    This concept could have been combined with, perhaps, a process-based ACL system - something like /dev/security/tcp/lowsocket can be opened by any process whose text comes from /usr/sbin/in.fingerd.

    I haven't really thought this through much. It's just a first stab, the idea being that far too many things wind up having to be SUID root just because they have to do one privileged thing.

  260. Re:IMHO, none of that matters to the typical end u by Anonymous Coward · · Score: 0

    I Dont understand why your bashing Unix alot of the things everyone is saying are all lies. I Use Unix everyday running a commercial UI also known as OSX. Not only is it one of the most Stable Operating systems ive ever used its probably the easiest one to use as well. Although its true power still lies in the Unix command line any typical computer user would be set with the UI alone. every thing from application installation/Uninstallation to editing existing programs (even commercial apps) to fit your needs is easy enough for even someone with almost no computer knowledge to accomplish. So please dont bash something based on only one gui

  261. I have only one major complaint about Unix/Linux.. by Pathway · · Score: 1

    The File System. In particular, the permissions system.

    While the file system and its permissions are quite well thought out, and has a huge amount of capabilities, it has one fatal flaw: It is not able to have the fine-grained control that other file systems can offer. This, and this alone has caused me great greif and dispair with making a file server for many a thousands of clients, and has, regretabley, forced me to use a Windows server I was hoping to replace.

    The crux of the matter is the inability to control on a per-user level the permissions of any one file or directory for a multiple number of users. Being restricted to an Owner, Group and Everybody Else for permissions is sufficiant in most, but definatly not all surcomstances.

    If I were to fix this, perhaps I would do this in two steps. First, the bandaid which would be backwards compatible with the existing system: Allow a group to be a member of another group. Doing this would allow much more flexability in assigning the permisinos I need.

    As an overhaul, I would ask that the entire permisions system be scrapped for a well thought out solution. I am not one to dream up such a solution, but I'm sure the collective minds of the open source comunity can provide adequite brain power to enhance, or even revolutoinize the permisions system.

    But, perhaps as it has been known to happen, the solution to my problem has already been found. In this case, I would ask that you please reply to this post and inform me of the permissions system I have been yearning for. You would make my day.

  262. It's not the best problem to solve. by Inoshiro · · Score: 1

    Do you have a problem with case sensitive file names in Gnome or KDE? No, because the file picker does all the footwork anyways.

    I do agree there are warts and leftovers that don't seem useful to have, but I'd argue that some of them (such as case sensitive filenames) can be solved in more meaningful names. Filenames themselves are a shitty representation, chosen only because it was easier (at the time) to have a string in a dentry to describe a set of inodes, rather than having a TRUE representation of the meta-data of the file. OS X.4, BeOS, HPFS -- all have extra attributes to handle this and make life easier. Reiser is moving this way, too. I think a more meaningful solution would be to have the system automatically catagorize all data via filesystem attributes (rather than file(1), even though it works very well), and have automatically generated sets of keywords (perhaps using technology similar to Google search).

    Then, you could just tell your word process to open your CMPT thesis, instead of open /home/dylang/txt/school/cmpt801/thesis.pdf.

    Wouldn't that be worth all the effort you'd otherwise spend? Especially with tab completion, case-sensitivity is a small issue that is better address by just trashing filenames as the primary method of dealing with data (IMO :)).

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    1. Re:It's not the best problem to solve. by wwahammy · · Score: 1

      Hell yeah. It's the idea that people to some extent ridiculed when Microsoft explained WinFS. It is the next big thing in computing ESPECIALLY meta-data. I still look at a picture and say to myself "Why in the world isn't it easier to explain who is in the picture so I can just search for that person's picture in the future?" Sure you can put it in the filename but "Jim's Vacation to Grand Canyon In August 2004" is just poorly defined meta-data. There is a serious need to change the way we look at computing especially for all the people in the world who don't get computers at all. I'm sick of explaining to my mother how to find where the letter she wrote last week is and why she can't just search for a photo of a person and frankly she shouldn't need ask any of those questions at all; it should be self-explanatory.

    2. Re:It's not the best problem to solve. by RomSteady · · Score: 1

      It's not the best problem to solve, but when looking at legacy technology to fix, one must often look at the easiest/cheapest solution.

      The biggest problem I've seen when it comes to legacy solutions is that often the people who are closest to those solutions are the people least likely to see the problems for what they are.

      The largest issue I can see with UNIX permeates all of my comments, and that is that UNIX was designed to as the answer to a problem, which was how to get the most done in a small, shared environment (low memory, low storage, etc.) However, over the last 30 years, the problem has changed to how do we get the most productivity out of our information workers.

      Many of the assumptions that led to UNIX, the POSIX standards, etc., are either completely erroneous (the normal user is not a student or a UNIX "hacker") or no longer apply (dumb terminals no longer rule the world). The same can be said of any legacy system (Win16/32 has several issues due to the same overarching problem).

      --
      RomSteady - I came, I saw, I tested. GamerTag: RomSteady / http://www.romsteady.net
  263. Core components and meaningful names by cmacb · · Score: 1

    Maybe this is a nit, but it's what turned me off about Unix many years ago. The standard utility names are mostly silly or meaningless. The mainframe system I used to use had long meaningful names for standard commands: copyfile, rename, delete, listfile, filelist (the latter fancier than the former). You could use any abbreviation for any of these commands that uniquely identified it, or you could invent your own synonyms. This meant that you only had to type a couple of letters to identify a command when you were working interactively, but in scripts you could spell out command names for readability.

    I don't think that I was the only one who though of Unix as a goofy college experiment where the pioneers of the system wanted it to be a cryptic as possible to maintain their "elite" image.

    While it's nice that there is such a wide selection of shell environments, scripting languages and utilities from which to choose, it would also be nice if there were a widely accepted core set of these things that EVERYONE was familiar with. Maybe the popularity of Linux will create such a core set of components as a defacto standard in the long run. I don't see it happening in any formal way.

  264. Nothing is Wrong by Helamonster · · Score: 1

    I believe that nothing is fundamentally wrong with Unix. Unix is an operating system designed to work best for certain computing applications, and it works very well in that respect.
    Unix is not meant to be an office desktop operating system, so any complaints about how it compares to Windows or OS X are irrelevant. Not all operating systems were created for, or are used for, the same reason.
    In addition, I also believe that there is nothing fundamentally wrong with Windows or OS X, either. They were all designed with different things in mind with varying priorities; and, for the most part, they all do well at what they were designed for. Of course, all operating systems have bugs, glitches, various problems, and things that could be improved upon, but that does not make them wrong or broken.

  265. My 2 cents by JumperCable · · Score: 1

    Not that it's worth much with all the other stuff already out there but here are my thoughts.

    1st are they talking Unix (or including Linux too). If they are just talking Unix,

    1) The software is (was) too expensive up front. This affects both the initial decision for purcahse and the ability for the average Joe to buy a copy install on his/her home system & doink around on to learn it well.

    **Note: I am aware that sun is now offering thier os for free for personal use. It's about time Unix started supporting their potential future techs.

    2) Compatability/drivers for cheaper old generic hardware. Alot of the stuff I buy is cheap hardware which doesn't have much in the way of software/driver support. This affects the total cost. For the past 6 months I have wanted to by a couple of cheap $350 dollar systems to play with, but I don't know if it will support Unix or Linux out of the box.

    3) Core user software basics are there. I don't know if I can find (or easily find) good sound software, graphic editing software, IM tools, yahoo toolbar (they got me with disposable e-mail addresses), wireless support, print drivers.

    4) Learning curve. Yes, maybe they do need silly ass tutorials for the new users to help him/her get running on the basic stuff first. Once you have something you can use for the day to day task you can begin learning the more indepth stuff.

    5) Ease of patches - Redhat had a decent setup going. But now that autoupdates are a paid service, I am not sure I want to spend more money that I would pay microsoft upfront to get them. I fully expect Unix/Linux to start getting hit with the same problems that Windows has. It's just a matter of critical mass.

    6) Too many options for the first time user. I don't know which distribution to pick.

    7) To sum it all up: Fear, uncertainty, doubt, ignorance, money.

    If anyone wishes to help me out with any of my issues I would be more than happy.

    But for now, that is all.

  266. Re:IMHO, none of that matters to the typical end u by Aneurysm9 · · Score: 1
    As regards usability vs windows....any self respecting windows user would trash it in seconds, the whole user experience is crap.

    Self-respecting Windows user?!? Now that's rich!

    --
    There was Cowboy Neal at the wheel of a bus to never-ever land.
  267. Old age by ski2die · · Score: 0

    UNIX was built in the 1970's. It has reached retirement age, and then some.

  268. Re:The C language: Perfomance Myth by Anonymous Coward · · Score: 0

    No, *you're* the dummy.

    Come back to us when you really know at least 10 others.

    Why not actually try to make some sense? I've done plenty enough unix kernel programming in C and assembly to know wtf I am talking about.

    Grow up. Get a brain. Then use it.

  269. Oh, that's easy by Anonymous Coward · · Score: 0

    Apple Developer Connection (ADC)

    Hello World at ADC

    Clearly not a Unix man page per se, and that isn't the job of Unix man pages. That is the job of MSDN. MSDN does it very badly.

    1. Re:Oh, that's easy by spectecjr · · Score: 1

      Apple Developer Connection (ADC)

      Hello World at ADC

      Clearly not a Unix man page per se, and that isn't the job of Unix man pages. That is the job of MSDN. MSDN does it very badly.


      You linked to a page full of 265 results for a search on "Hello World" on an Apple website.

      And you think this is better than MSDN?

      Would you care to let me know which of those 265 results is the actual GUI hello world program you claimed was "easy" to find?

      --
      Coming soon - pyrogyra
  270. Biggest problem with Unix.. by DroopyStonx · · Score: 1

    I can't get it to run Windows XP or AOL :(

    --
    We have secretly replaced these Slashdot mods' sense of humor with a rusty nail. Let's see if they notice!!
  271. Re:configuration and a couple extra notes... by Anonymous Coward · · Score: 0

    Another reason apple is bringing unix into a much better place. The "UserDefaults" system and plist files are a great format and system for storing and looking up configuration. Standard files in standard locations in an easy to read format with simple apis and tools. The api even transparently checks if you have a preference, and if not reads it from the system default.

    Another unix problem fixed with OS X is directories and versioning of libraries etc. with their bundle system... and IPC (and even RPC) using cocoa requires no thought at all.

    ok so, apple is fixing unix, but here's what's still broken: http://www.drunkenblog.com/drunkenblog-archives/00 0356.html

  272. I Can Tell You What's Wrong With Unix by Anonymous Coward · · Score: 0

    No naked pictures of Heidi Wall dammit!!!!

  273. Re:IMHO, none of that matters to the typical end u by forrestt · · Score: 1

    Yes, it works fine under Linux. You just have to link the plugins in the mozilla plugins directory to the plugins in the firefox plugins directory. The Flash installer isn't aware of firefox, so it doesn't install the plugins in the right place. This is an issue with Flash, not Linux, or Firefox. If you install Firefox on Windows, I would guess the same thing would happen. This may fix things in FreeBSD as well.

    If this was supposed to be a joke, sorry for not getting it.

  274. pipes !!! by dorfsmay · · Score: 1

    What's broken on UNIX ?

    Pipes get broken regularly, hence the broken pipe error message !!

  275. Re:IMHO, none of that matters to the typical end u by mrchaotica · · Score: 1
    If Linux doesn't offer ease of use, then they'll go where they can get it - Windows, OS X. And we lose.
    Have you considered the possibility that OS X is the friendly UNIX people want? I mean, yeah, it would be nice if it were Free Software, but it's still great anyway.
    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  276. You are looking too close to see the real problem by John+Sokol · · Score: 1

    I read many of the coments and complains posted so far. Many are implementation specific gripes.

    Some are architecture specific, but Unix is what it is. You really can't change that. And that is the root of the problem.

    I mean Unix was/is a major step forward. Almost all major OS's have a unix like engine under the hoods these days(MS Windows included).
    Unix has accomplished every goal originaly set out for it. But it's also very limited in it's own over all vision and architecture.

    To overcome that requires finding a very different way of thinking about programs, OS's and computers then the way we now do.

    For example, I can access a remote machine with VNC. I love it so much I have several PC that I almost only access that way.
    There are many significant adventages when using a computer this way that most people don't realize.

    1.) When I log in, all my applications are right were I left them. Windows open, word processors and E-mails half written, cursor sitting just where I had last contunued even though I many have flown 2000 miles. (or had my local computer reboot)
    X windows can't do this! Although I love X for many reasons, X tunneled over SSH is very cool. VNC also tunnels.

    Back in the Early 90's Novel had something sort of like this, at least your whole windows work enviorment and files would follow you from computer to computer, but would loose run time states. Sun is also working hard on systems like this.

    2.)Thing like IM and E-mail , gnutilla etc continue to function even when I am not online.

    In the command line world we have had this in UNIX for a long time "nohup" and "cron" for example.

    But why do I need a graphics card at all. Why can't I just have many virtual desktop sessions that I can VNC into(on a single Server)? Then I can then leave them in different states for each project I am working on.

    Here is another one.
    Why Can't I take a program, pause it(swap it out)
    generate a file of it's run state. Copy it across the net and resume execution right where it left off, but on a completely different computer? Or maybe after a reboot.. (HP had this years ago, or was it Tandem?)

    I had some thoughts on this that I gave a talk on. It's missing much, and still not polished, but there are still a lot of good ideas in there.

    Amorphous OS talk Sorry it's a powerpoint, but I know you Linux guys can still read it.

    --
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
  277. Re:IMHO, none of that matters to the typical end u by dtfinch · · Score: 2, Informative

    For instance, I installed Flash7 for Firefox 1.0. Didn't work. I installed Sun's JAVA for Firefox 1.0. It didn't work either.

    I've installed both on several distributions. I have to tell the Flash installer where Mozilla and it handles the rest. For Java, I have to create a symbolic link to it in my Mozilla plugins directory. They both work fine, except that the sound and video get out of sync in Flash.

    Small developers have to either open source or pay fees they cannot afford to obtain a "widget set", something that any other OS supplies for free, and defines a standard for.

    Except for Qt, most do not require you to pay a fee or open source your app.

    Linux has a pretty poor cache and swap system, combined with zero user level control over cache and swap. As a result, over time, the OS runs slower, and s l o w e r and s... l.... o..... w...... r....... until you restart,

    I saw this mentioned in the Red Hat bugzilla, affecting RH9 and some RHEL3 users. But they say it was fixed mostly in 2.4.24 and completely in 2.6.

    The GUI, in the user sense, is an afterthought. You have to go to the command line to configure and/or adjust and/or install many things.

    Yeah, but I have to use the Windows command line for a lot of things, or dig around in the registry. People who can't on Windows get help from those who can. The actual amount of command line work necessary in Linux varies between distributions. I can do a lot more fron the Linux command line than from the Windows command line, so I'm more apt to use it.

    So mostly, people don't run Linux.

    But I'll always run it. Ubuntu is starting to look good. I'm running the unstable hoary hedgehog branch scheduled for release in about 4-5 months. Lots of nice things appear to be on the way.

  278. The Problem with UNIX? by Anonymous Coward · · Score: 0

    They can't have children, obviously...

  279. Re:IMHO, none of that matters to the typical end u by svaksha · · Score: 1

    That is the typical problem I faced as a non-geek woman to get Linux installed on my machine. Firstly, the support system is mostly online and erratic to say the least. If I dont have my system setup and running properly how will i get help. Secondly, assuming one can get the answer reading tech 'help' files or online manuals is a fallacy best avoided. If the help files or manuals had all the answers why would i be posting a question online? Most of the S/W is CLI based and dont have GUI support. It is very scary for a non-geek to experiment with and expecting them to learn CLI commands for so many applications is such a waste of time since the *real work* never gets done and one is left poring over reams of tech material. Programmers/Designers please realise that its the end-user who will decide the popularity of software and if easy to use/learn software is not provided then he is not going to waste his time even if it is free.

  280. LGPL -- not a panacea by fyngyrz · · Score: 1
    LGPL, paraphrased: "You don't have to release your source to link against this, but you do have to provide your application in such a way that people can alter and modify the LGPL'd portion to their hearts' content (with no guarantee that it'll necessarily work)"

    The above is my currrent understanding of the LGPL, gleaned from postings responding to my questions on another site. If that understanding is correct, then anything that is LGPL'd is ruled out; closed source developers will rarely want to have anything to do with this, and for good reason, IMHO.

    The point is the widgets should be part of the system. Not something the developer has to get, and certainly not something the user has to get, and not something that only works under kde or gnome -- they should just be there. They should be standard. They should work under all the desktops. They should place no requirements on the developer. Do you see any requirements to use a freaking file dialog in Windows? Seen any Windows applications that couldn't ship (or got recalled!) because the poor developers were bold enough to assume they could use a treeview control? A menu? Of course not. Because these things are:

    • part of the OS
    • always available within reason
    • rigidly standardized
    • absolutely free to use (encouraged, even)

    Linux does seem to have a GUI problem that no current widget set that I am aware of solves, though I remain open to the possibility that one exists. It also has a licensing mentality problem -- the mindset shuts the door to closed source people, as I described above. What Linux needs is a decent standardized widget set that is in the core functionality. If someone ever gets that done, they'll be the person who facilitates Linux becoming a viable platform for a whole bunch more developers. A hero of sorts. LGPL and all that "you must do this, that, and the other thing to use this" stuff is fine, as long as you want to remain on the fringes. When Linux wants to become mainstream, it'll have to bring a GUI API into the mainstream, too. And it'll have to be 100% usable without tripping up developers, no matter how they want to wrap up their software.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:LGPL -- not a panacea by cas2000 · · Score: 1

      > The above is my currrent understanding of
      > the LGPL,

      if you don't modify the LGPL lib then you don't have to do anything except ship your code. if you do modify it and distribute a binary of that modification, then you must ship the modified source under the LGPL. i.e. you can not embrace-and-extend.

      > The point is the widgets should be part of
      > the system.

      no, the point is that most unix developers disagree with this brain-damaged notion.

      widgets are part of the widget toolkit, not part of the operating system.

      > [Linux] also has a licensing mentality
      > problem -- the mindset shuts the door to
      > closed source people, as I described above.
      > [...]

      actually, it's you that has a licensing mentality problem. you can only see things from your proprietary software mindset, and can't see that free software developers don't actually give a damn one way or the other about proprietary software, and they couldn't care less about whether you (or anyone) can make a profit from proprietary software. these things simply aren't important or relevant.

      it's not a matter of closing doors - the door is wide open anytime you want to come and play by our rules, whether the rules be GPL or LGPL or whatever.

      part of the reason these things dont matter to us is that we're not going to use your proprietary software - if we need something like it, we'll write our own, and share it with whoever wants it.

      even if you write something amazingly cool and useful, the average free software developer is likely to think "hey, cool! too bad there's no source, that kinda sucks. i'll bet i could write something that does something like that". and if they can, and if enough people like it and contribute to it, in a fairly short time it will probably be better than yours. and even if it never becomes technically better, it will have one massive advantage that yours doesn't - source code under a free software license.

      > When Linux wants to become mainstream [...]

      what you don't realise is that the writing is on the wall for proprietary commodity software and you can't even see it - or choose not to see it.

      eventually (and it doesnt matter at all how long it takes), all commodity software will be free software, probably under the GPL. proprietary software will only exist in niche markets because any application of widespread use will have enough people wanting it that someone, somewhere will write a free software version. and it will rapidly become better than any proprietary version (partly because it can build upon the huge libraries of existing free software, rather than having to reinvent the wheel or pay a small fortune for someone else's wheel)

      new free software can use other free software without limit. proprietary software can't.

      amazing new proprietary software will probably have a window of opprtunity of less than three years before its amazing features are cloned and bettered......and there'll be no point at all (i.e no potential for profit) in bothering to write a new proprietary version of something already commodified like word processors or spreadsheets or office suites or web browsers etc etc.

      what this means is that eventually, free software will *inevitably* become the mainstream and your fringe proprietary stuff will be some freakish throwback to a Dark Age best forgotten.

      and, again, it doesn't matter how long this takes. there is no economic imperative for this to happen by any given date, so it can and will happen at a natural pace.

      it might take 5 years, 10 years, or even 100 years. it doesn't matter. we've got most of what we need or want now, and getiing more all the time.

    2. Re:LGPL -- not a panacea by J.+T.+MacLeod · · Score: 1

      As another poster mentioned, your LGPL problem is only a problem if you modify the LGPLed library. Not an issue, considering that on closed-OSes you can't modify their libraries, period.

      As for the widgets...

      Not even on Windows are they part of the "core system". Windows has a history of having its own requirements: VB, .net, etc.

      Nonetheless, GTK is part of every normal Linux desktop I can think of. It's part of the LSB. Just because the code isn't shipped from the same people who provide X or the kernel doesn't mean it isn't standard. If everyone has it installed, what's the difference?

    3. Re:LGPL -- not a panacea by fyngyrz · · Score: 1
      As for the widgets...

      Not even on Windows are they part of the "core system"

      That is entirely incorrect. Widgets are indeed part of the Windows core system, and they have absolutely nothing to do with "VB" other than they are usable from there, as they are from C, C++, wxWindows, etc.

      LGPL:

      You can dynamically link to a library, and not have to share your source. You can't link statically, or then you do have to share source (or, at the very least, your separated object code components to the point where sharing source makes no difference).

      1. Option 1 - You work with external dependencies as provided for by the system. You list the dependencies as being pre-requisities and leave it to the technically savvy users to find them for themselves. This works, but a.) It offloads hassle onto the unsuspecting user and b.) You, the developer, have to work around the strictures of a moving target, one which is completely beyond your control. If that dependency changes (during an update, for example) and breaks your build, you have adjust accordingly.

      2. Option 2 - You provide the dependency as a separate dynamic library yourself, as part of the install. This means you can build to a stable target, as controlled by you, but it, in turn, raises further issues:

        Choosing to provide a separate library means that you have to get around the shortcomings of the linker configuration system.

        Option 2.1 is that you have to change the linker-loader configuration directly, or change the linker-loader search path. This can cause problems with other libraries, and is correctly regarded as bad practice, so you really ought to find a way around this. Even so, if you choose this route, you then have to give your LGPL'd dynamic library a custom name, and link explicitly against that, in order to prevent conflicts with other, non-stable (as far as your app's concerned) versions of the library already on the system. You have to do this because most runtime linkers will not look in the current working directory first - if at all - so they'll go and get their library / symbol dependencies from the system.

        Option 2.2 is to ship your dynamic library as part of the install as above, but keep it outside the runtime-linker search paths, and load it explicitly, yourself, using dlopen() and dlsym(). This is often safer than rolling with Option 1, but there is something inelegant about duplicated functionality for the sake of it.

      All of this, and the key point that most of the posters on the topic here seem to be missing, is to get around the actually-quite-strict provisions of the LGPL. The LGPL, in essence, says: "You don't have to release your source to link against this, but you do have to provide your application in such a way that people can alter and modify the LGPL'd portion to their hearts' content (with no guarantee that it'll necessarily work)". This isn't just the case for commercial software - it's the case for any software you wish to release under any non-GPL license. The most convenient way around it is with dynamic libraries, which is why most people choose that route.

      Now, compare this to widgets under windows. You make an app, you compile the GUI objects in, they work, there are no legal issues at all, they're always there and they don't represent a moving target (I have GUI-based applications -- binaries -- I purchased nine years ago that still work just fine.)

      You guys can complain all you want, the usual unqualified and clueless moderators can pretend (wish!) that my posts are flamebait, none of this changes the fact that Linux is a legal minefield for closed source developers, and if you'd change that, you'd have more of them. Is more of them good for linux? I think it is, but that is a situation that would definitely change the landscape, and so your opinion may be quite different from mine and I'd probably not object on that basis.

      --
      I've fallen off your lawn, and I can't get up.
    4. Re:LGPL -- not a panacea by fyngyrz · · Score: 1
      Regarding the LGPL, see my further discussion elsewhere; I'm not going to duplicate that thread.

      Regarding how I want to see things, you've actually got it backwards. I am interested in releasing -- for free, if I can possibly manage it -- our software under Linux for the Linux user community (not the Linux developer community, which is something else entirely. I have no interest in giving up our source code.) The reason I am interested in providing a working application is because what you currently have in our area (essentially, the Gimp) has a large number of limitations that I'd rather not have to deal with when I am using Linux, and I suspect that many users would rather not have to deal with. Linux has given me a lot, and I'd like to give something back.

      My problem is that I'm having a lot of trouble figuring out how to do it without exposing us to risks -- mainly legal risks. I have a responsibility to my employees not to pull the rug out from under them intentionally, and of course I won't, but I also have a responsibility not to do it by acting in haste. So I'm looking at the issue. So far, I have not found a way to go that seems to be free of legal pitfalls. We can get around the installation issues, I am sure -- mostly, that seems to be a lack of i-dotting and t-crossing on the part of developes. We have our own installation system, and I am sure we can move it to linux without any huge hassle. Having written an installation system, I am somewhat reluctant to write, or authorize to be written, a complete widget set, though that would seem to be the best solution at this time. It is an expensive solution.

      I am not anti-free stuff. Far from it. What I am anti is the attitude that if someone wants to keep source closed, for whatever reason, that they could be forced to open it for any reason. The more legal trouble your licensing mania strews in the path, the more people you will turn away.

      You argue that eventually, you (the Linux community) will have "everything you need or want" and I am sure you are right. I'm ready to give you something now, something that is going to cost me quite a bit of money, based upon the benefits that Linux community has provided to me over the years -- Apache, PostgreSQL, Python, gcc and a bunch of others, as well as significantly enhanced security over Windows. I just find it annoying that you -- the Linux community, that is -- has spent so much effort getting in the way of my dropping our closed source app onto your desktop for your unlimited free use under Linux. That's my problem, of course. But for those would like something to use that is a couple of light yars beyond the Gimp, it's just a shame.

      And again, that's just me. The question that lurks in my mind is, how many other developers have looked at Linux and not found any clear way to "come on over"?

      --
      I've fallen off your lawn, and I can't get up.
    5. Re:LGPL -- not a panacea by cas2000 · · Score: 1

      > Regarding how I want to see things, you've
      > actually got it backwards. I am interested in
      > releasing -- for free, if I can possibly manage
      > it -- our software under Linux for the Linux
      > user community (not the Linux developer
      > community, which is something else entirely. I
      > have no interest in giving up our source code.)

      then it is you who have got it backwards. price is not at all relevant. without source code (and the freedoms listed in either the debian free software guidelines or the open source definition), your software is just another piece of proprietary software.

      certainly, you have every right to develop your proprietary software and release it under whatever terms you like (as long as you don't violate the terms of any free libraries or other free software that you might happen to use/derive from), for any price you like.....but don't expect a huge amount of interest if those terms mean that your software is proprietary. the vast majority of linux users have shown a resounding lack of interest in binary-only proprietary software

      (BTW, except for high-quality games, which potentially are the only partial exception to the inevitability of free software domination for commodity software - games can be distinctive enough that a free clone will never be a decent substitute for everyone, because they're more than just a tool with a specific set of features. a sizable subset of free-software users will choose to buy and use non-free games if they are good enough).

      > I am not anti-free stuff. Far from it. What I
      > am anti is the attitude that if someone wants
      > to keep source closed, for whatever reason,
      > that they could be forced to open it for any
      > reason. The more legal trouble your licensing
      > mania strews in the path, the more people you
      > will turn away.

      that is a complete misunderstanding and/or fabrication. keep your source closed if you choose - as long as you haven't included/derived from free software whose license (e.g. GPL, but not LGPL) requires you to distribute source of derived works under the same terms.

      > You argue that eventually, you (the Linux
      > community) will have "everything you need or
      > want" and I am sure you are right. I'm ready to
      > give you something now, something that is going
      > to cost me quite a bit of money,

      if it's not free (and note, i am specifially *NOT* referring to price here, but to freedom) then I, for one, do not want what you have to offer....and i am certain that i am far from alone in this.

      > I just find it annoying that you -- the Linux
      > community, that is -- has spent so much effort
      > getting in the way of my dropping our closed
      > source app onto your desktop for your unlimited
      > free use under Linux.

      nobody's getting in your way. you are free to do as you choose with your own software. don't equate lack of interest in yet another proprietary application as some kind of obstruction. there's nobody stopping you but yourself.

      proprietary software is simply not relevant to the free software community. we have our own interests and our own concerns and our own priorities, and generally feel little or no motivation to provide any direct assistance to proprietary development. it's not what we're here for.

      > The question that lurks in my mind is, how many
      > other developers have looked at Linux and not
      > found any clear way to "come on over"?

      the way to "come on over" is very clearly and concisely documented in many places. it is very very simple - if you want to play in our sandpit, then you play by our rules. if you don't want to do that, then go play in your own sandpit...we won't stop you, nor will we care.

  281. FSCKing Printing by Anonymous Coward · · Score: 0

    I can't believe this isn't at the top of the list. PRINTING. All Unix OS suck at printing especially with the low cost layer 2 printers. Solaris, BSD, IRIX, SCO Unix, all of them. Printing on Linux is okay.

    Second what happens when you rm a file on Unix? Think you can get it back? As easily as reading the MFT on Windows systems? Think again....

    Lastly ACLs.

    How would I fix it. For printing and most drivers I would copy/R.E. the WDM and implement something like it.

    Implement decent ACLs.

    And provide an easier way to patch deleted files back together......

    All the MicroKernel POSIX blather is just that blather!

  282. Some NIX issues by avaspell · · Score: 1

    In reading a lot of these, I see an overall trend to do a lot of OS comparison. Myself, I have experience with a lot of OS's, and I grew up using DOS, then OS/2, then Windows, then Linux. When I look at this, and what has come to dominate the desktop, I find that there are many, MANY good things in the current Linux distros, and *nix in general. There is also a lot of work left to be done.

    UNIX distros, with the exception of OSX and some of the BSD's in general, suffer from one major problem: Age. HP/UX, AIX, Solaris, etc... are so stuck to the old tools that new ones must be reinvented from the ground up in their minds. The Solaris machines I've dealt are pretty much GNU/Solaris machines, since a lot of the basic admin tools I've replaced with GNU equivalents (how hard was it ever to add a -h flag to Solaris du or dh! Sheesh!). CDE is old and antiquated ( reminds me of being on Warp 3 again). I think this stems from the commerical and niche nature of those UNIXes, and that's why I think Linux is trumping them.

    That being said, here's some of the problems that Linux needs to overcome to be easier to use for everyday joes:

    1. The great desktop war: KDE is great, GNOME is great. However, many people have problems dealing with which one to develop for, and a lot of times which one to use. I've found that I love KDE's look and feel, but what we really need is a SIMPLE common API for developement, that then can get morphed by the desktop to look like that desktop. I know some work is being done towards this, and when it matures, what you will find is a basic toolkit for GUI development, and the KDE and GNOME toolkits will be extensions to allow for more advanced GUI work.

    2. The filesystem layout war: I don't know how many times people have bashed the *nix filesystem layout. I'll tell you right now it's far, far better than a lot of other OS's out there right now. Although some ideas like directory contained applications is cool and has some other nifty applications (such as easy chrooting), we have package managers now, and I'll tell you right now that I've fallen in love with them. RPM and deb (NOT APT!) are both good tools for checking versioning information and determining where stuff is. This makes the filesystem layout less about where binaries and config files are, and more about disk placement and security (e.g. maybe I want somebody to run an application but not change it's config: easy to do with /usr/bin and /etc, but much more complicated when things are split up). Apt, both for RPM and for DEB, is really good at solving dependencies, but I think a bigger problem involves people actually MAKING packages. For some reason developers not familiar with package managers hate making packages. Things like InstallAnywhere are starting to create the same problem that Windoze has, which is uncontrolled application installation and apps that are hard or nearly impossible to uninstall. What we need here is a GUI toolkit for developers that allows for quick package management. Imagine an app that a developer could plug in some basic info for, and it would compile a pacakage for multiple pacakage managers, and for multiple distros, and even versions of distros in some instances! I could then just post the packages, and then let MIME take care of installing them for me. If we have pacakage management that get stupid easy, we get a similar system to OSX or Linspire, where software installation is a snap. And as a community, I think we can find a way. I believe that none of these third-party app problems will exist if there is a a good package development tool and the distro vendors make plugins that will ensure that the resulting package makes the right symlinks, etc... for that distro.

    3. Just simply more automation. We have all of these nice scripting languages, wouldn't it be nice if we hand these quick scripts to Joe blow and have them work? If I could put a very basic GUI on top of my tool without needing to know the in's and outs of GUI dev

  283. Re:IMHO, none of that matters to the typical end u by colenski · · Score: 1

    For instance, I installed Flash7 for Firefox 1.0. (& it didn't work)

    Sudo as root and run the installer from the command line. Worked for me, just did it last week. Of course, Ma Kettle will not know sudo from sumo but isn't that the price we pay for non root access? Not a troll, just the facts.

  284. Ugh, the small boxes people think in by Anonymous Coward · · Score: 0
    • Unix's IO systems don't have the facial/gesture/voice recognition systems that let me interact with it in the same way I interact with my dog or child. Input in this day of fast CPUs should be mostly done through video cameras and microphones. I should be able to say "hey, get the latest kernel and build it, if it has anything important to me", and the computer should know what applications I use, and go find out.
    • Jobs (well, intellegent agents) can't easily move from my desktop (where they should be working while I'm asleep) to my Laptop (when I go to work) and to my cell phone (when I'm away from other cocmputers).
    I'd have many other ideas - but most of them are more in the application side. I think commands like "drive to the store, get groceries, and make me a good dinner" would be useful -- but that seems more like an application build on top of the IO-system and job-migration features listed above.
  285. Device Driver by Rock-n-Rolf · · Score: 1

    What I'm actually missing across the different versions of *NIX is interchangable device drivers. Maybe I missed that but there doesn't seem to be a common defined interface.
    Compare the commercial Unices with Linux and tell me which one supports the most hardware?

    Furthermore I'd like to see some principles of Plan9 in *NIX and Linux, but I believe the concepts are not compatible.

    --
    In Korea, all your base are Only For Old People
  286. Re:What's wrong with unix? by stivi · · Score: 1

    Give me OS X/ X86 or I'm gonna club this here baby seal! .app bundles are cool. code/library/config/resources scattered all over the hard drive is not.

    GNUstep does that (.app bundles for apps or .framework bundles for libs and header files) on many OSes, including Linux. See http://www.gnustep.org/

    --
    First they ignore you, then they laugh at you, then they fight you, then you win.
  287. Unix? by Tom · · Score: 1
    There is nothing wrong with Unix(tm).

    There are many issues with actual implementations, but that is a different thing. Unix(tm) is a concept. Linux, Solaris, AIX, HP/UX, *BSD, etc. are operating systems implementing said concept - in different ways.

    Complaining about shortcomings in these implementations is very, very different from proposals for changing the concept itself.

    In the same vein "what's wrong with cars?" is not a question about whether or not the brake pedal is a little too far left in your model X. Changing the concept of a car requires much more radical thought, going back to the basics of what it is you desire - personal transportation? Cargo movement? Cool engine sound and hot babes?

    As an OS concept, Unix has stood the test of time, and there's nothing fundamentally wrong with it. Everything I've seen here so far is just incremental improvements of the actual implementations.

    Real answers to the question should go along the lines of
    • Is there a better way for handling stuff than the "everything-is-a-file" philosophy?
    • What is wrong about the user/group and permissions concept, how can it be improved? (some RBAC implementations actually go that direction)
    • Is there a better way than the kernel/userspace seperation? I'm not talking about just merging them (i.e. windos, involuntarily) but of replacing it with an entirely new concept, maybe something along the lines of a VM, or a multi-kernel system, or even a non-von-Neumann concept. (add a dozen crazy ideas I don't know about)

    So far, I love Unix to death, and I hope its implementations will get better and better. I'm also certain that Unix isn't the ultimate concept, but so far nobody has come up with a better one. As Hugh Daniels said (at HAL2001) "my [interstellar] spaceship won't be running Linux" - I doubt it would be running Unix.
    --
    Assorted stuff I do sometimes: Lemuria.org
  288. Why Unix is dead by symbolset · · Score: 2, Insightful

    There are four relevant parts to Unix:

    1. The trademarked name
    2. The open, or public domain code and its functionality
    3. The proprietary code and its functionality
    4. The POSIX architecture

    When Ransom Love bought Unix on a lark (my IPO was so huge... look, I can buy Unix...), the value of the name except as a trophy dropped to nil.

    The public domain code and it's functionality lives on in BSD where some find it useful. Perhaps one day this branch will prove as versatile as Linux, but I doubt it.

    The proprietary code and its functionality nobody in their right mind would want, because "The Future is Open(R)(TM)".

    The POSIX architecture has been reimplemented in Linux in a more consistent way than using most proprietary *nix wares, and in parallel the technology of operating systems have been advanced to support more advanced concepts.

    Before the parts were rent asunder, they ruled the server room. Now they have been broken apart, and like humpty dumpty, they'll not be put together again.

    Unix is dead.

    --
    Help stamp out iliturcy.
  289. Getting help from Linux gurus by some+guy+I+know · · Score: 4, Insightful
    But god forbid I ask a question on IRC or anywhere that someone knows anything about linux.
    As has been explained countless times in many places, you have to be adversarial if you want your question to be answered on a Linux board.
    You don't ask a question directly; rather, you write something like "Linux sucks because it can't do X but Windows can.".

    To use your USB mouse example, you probably went on a board or IRC somewhere and wrote:
    I can't get my XYZ brand USB mouse to work.
    Can someone tell me what modules I have to load and what settings I have to make in the config file?
    Thanks.
    Note that you asked a reasonable question and thanked people in advance for their help.
    This is a recipe for disaster.
    The board gurus will pounce on you like a ... like a ... ah, like a board guru on a newbie, responding with comments like "RTFA n00b!" or "Go back to Windows if you can't be bothered to learn the simplest basics about Linux" or other equally-informative messages of encouragement.
    Instead, you should have written something like:
    It's too bad that Linux is still stuck in the 20th century.
    It doesn't even support a USB mouse.
    In Windows, I can just plug it in.
    Until Linux can support modern hardware, it will always be playing catch-up to Windows.
    It's definitely not "ready for the desktop".
    You will have Linux gurus crawling out of the woodwork to show you that, yes, Linux does support a USB mouse, and the reason you couldn't get it to work was probably one of the following: X, Y, or Z, and here is how to work around or fix the problem, and here is where you can find additional information, and here is where you can get drivers or other needed software, or a more user-friendly front end, etc., etc.
    Note that their attitude will be as snotty (or snottier) as with the nice method of asking, but you will get the information that you require.

    Note to mods: The above may appear to be flamebait or an attempt at humor, but this method actually works.
    Try it!
    --
    Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
    1. Re:Getting help from Linux gurus by SoTuA · · Score: 1
      Note to mods: The above may appear to be flamebait or an attempt at humor, but this method actually works.

      You said it. I was thinking "too bad there isn't a '+1, Insightfuly Funny' moderation" while reading your post.

      Though maybe it should be '+1, sadly insightful' :(

    2. Re:Getting help from Linux gurus by beforewisdom · · Score: 2, Insightful

      My only regret about your post is that it already has the highest score it can get and is already marked "insightful" which it truly is.

    3. Re:Getting help from Linux gurus by smoker2 · · Score: 1

      I agree totally. I know a little when it comes to *nix systems, and even when I didn't, I never went to a forum/mailing list asking questions without trying to sort my problems first.
      Then, I could ask for help while showing what I had already done, and that usually showed that I was not trying to sponge off people who had already done the work.

      I really hate, and refuse to help people who ask things like " I plugged in my usb mouse, and nothing happened" or "I plugged in my usb mouse, and nothing happened, linux sux !".

      Those types of people should go back to an OS that treats you like a kid, and won't let you change things.

    4. Re:Getting help from Linux gurus by maw · · Score: 1

      Nobody worthy of being called a guru would use the word "n00b". Nobody. Ever.

      --
      You're a suburbanite.
    5. Re:Getting help from Linux gurus by TimeTraveler1884 · · Score: 1
      It's too bad that Linux is still stuck in the 20th century.
      RTFC[alendar], it's currently the 21st century noob.
    6. Re:Getting help from Linux gurus by Mordanthanus · · Score: 1

      So you're saying that I have to be a prick to get answers...

      I think I learned something like that in the Navy too...

      --
      User logging on... 300 baud... 300 BAUD?!? (Click!) NO CARRIER
    7. Re:Getting help from Linux gurus by some+guy+I+know · · Score: 1

      Well, that was the whole point of writing that it was still stuck in the 20th century, to mean that it wasn't up-to-date.
      Back in the 20th century (prior to 2001 or 2000, depending on your point of view), we used to say "still stuck in the 19th century" to mean that something wasn't current (or was old fashioned).
      Here in the 21st century, we say that something is still stuck in the 20th century to mean that it isn't current.
      If I had written "still stuck in the 21st century", it wouldn't really mean very much, because this is the 21st century.

      --
      Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
    8. Re:Getting help from Linux gurus by some+guy+I+know · · Score: 1
      So you're saying that I have to be a prick to get answers
      No, just act like one.
      --
      Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
    9. Re:Getting help from Linux gurus by some+guy+I+know · · Score: 1
      Nobody worthy of being called a guru would use the word "n00b".
      A real guru also wouldn't act snide and condescending to those seeking knowledge, either.
      Many "Linux gurus", especially those who hang around message boards, IRC rooms, etc., aren't really "gurus" at all.

      From dictionary.com, here is the meaning of "guru" that is closest to the people that hang out around boards:
      An expert, especially in "Unix guru". Implies not only wizard skill but also a history of being a knowledge resource for others.
      The type of person who writes "RTFM n00b" does not fit this profile.
      (Perhaps I should have written "pseudo-guru".)
      OTOH, a person who writes "Here is how to do it, n00b" does fit the definition.

      Note also that there is a difference between "guru" and "UNIX (or Linux) guru" (according to dictionary.com).
      --
      Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
    10. Re:Getting help from Linux gurus by TimeTraveler1884 · · Score: 1

      Touché.

      Everything is so relative. When talking about something "advanced" or "ahead of it's time" I would cite this century as a reference point. So if something was not above the status quo, it would still be stuck in the (current) 21st century.

      But you're right, that might not make much sense.

      What do I know? I am just a time traveler stuck in the late 17th century.

  290. With regards, user interfaces by Anonymous Coward · · Score: 0

    Great system, shit user interface. Maybe they can learn something from this.

  291. Re:IMHO, none of that matters to the typical end u by jcr · · Score: 2, Interesting

    I'll just mention that these same issues were handled quite well in NeXTSTEP.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  292. Re:IMHO, none of that matters to the typical end u by Tom · · Score: 2, Insightful

    Installing software is highly unreliable, non-standard, a maze of twisty little interdependant passages, and deeply obscure.
    Really?
    For the end-user, it's as simple as an apt-get, rpm or emerge command (or whatever package manager you use).
    Ah, you're talking about the developer? About installing software that is not packaged? Well, try that on windos. Come back when you're done, like 2006 or so.

    There is no standard "windowing" GUI
    Which is a huge advantage.
    I happen to hate the XP/windos standard GUI, and there's nothing I can do about it. I tried a few replacements, they all suck, are incomplete, break the system or simply don't work because the friggin GUI is so tied into the OS kernel.
    On Unix, you can choose which GUI suits you best. I prefer to choose myself instead of having some marketing monkey in Redmond make my choices for me.

    Linux has a pretty poor cache and swap system, combined with zero user level control over cache and swap. As a result, over time, the OS runs slower, and s l o w e r and s... l.... o..... w...... r....... until you restart,

    Troll
    tom@nox:~$ uptime
    10:04:32 up 132 days, 17:49, 3 users, load average: 0.08, 0.06, 0.07

    tom@lemuria:~$ uptime
    10:00:18 up 156 days, 2:00, 1 user, load average: 0.02, 0.03, 0.00

    tom@Mandor:~$ uptime
    10:02:44 up 31 days, 21:01, 1 user, load average: 0.02, 0.01, 0.00

    All of these are systems that are in constant use as desktop (nox) or servers (lemuria and Mandor). They're very snappy. I've driven one of them (nox) close to the thrashing point once, brought it back and it's been running well ever since, without a reboot.
    You, my friend, have fucked up your system, that's all. Don't blame it on the machine.

    Oh, and it's a very, very good thing that regular users have no control over cache and swap. If you don't grasp the security and reliability dangers inherent in giving them that control, you should give back your root access.

    The GUI, in the user sense, is an afterthought. You have to go to the command line to configure and/or adjust and/or install many things.
    Again, this is a strength, not a weakness. When your GUI breaks on windos, OS X or any other GUI-only system, you're fucked. On Linux, I can drop to the commandline and within a minute or two everything is running fine again. Sure, it may not really be faster than a reboot, but if you have stuff running in the background, then you don't really want to reboot.

    --
    Assorted stuff I do sometimes: Lemuria.org
  293. Single, standard, universal plain text format: by GCP · · Score: 0, Flamebait

    Likewise not standardising some basic data-interchange formats (Even it was just pre-formated ASCII)...

    Define the standard *nix system text encoding to be UTF-8. Require every tool to assume UTF-8 when no encoding or other modifiers are specified, and make UTF-8 support a requirement for every tool that wants to participate in the chaining/piping operations that are the backbone of *nix.

    Terminal programs, terminal servers, shells, system fonts, cut/copy/paste, file system, GUIs, editors, ...ALL use the same, consistent, universal plain text format everywhere, in every language. All characters, all the time, in all applications, on all forms of *nix.

    --
    "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
    1. Re:Single, standard, universal plain text format: by Cow+Herd+(Anonymous) · · Score: 1
      Define the standard *nix system text encoding to be UTF-8. Require every tool to assume UTF-8 when no encoding or other modifiers are specified, and make UTF-8 support a requirement for every tool that wants to participate in the chaining/piping operations that are the backbone of *nix.
      That bit's been done: Plan 9
  294. Re:IMHO, none of that matters to the typical end u by Anonymous Coward · · Score: 0

    Just a reeminder, Linux is NOT *nix. Linux is a kernel.

  295. The Date by ttlgDaveh · · Score: 1
    If I recall correctly, the date is "broken" on Unix as it won't do dates after 2038 due to using a signed integer for counting the seconds since 00:00:00 1/1/1970.

    As for fixing it? I dunno, maybe an unsigned integer, or a 64bit signed integer for 64bit flavours?

  296. Joel On Software by Ilan+Volow · · Score: 1

    Joel Spolsky has probably done the best job I've seen of explaining What's Wrong with Unix.

    --
    Ergonomica Auctorita Illico!
  297. Next time look at the man-pages by koinu · · Score: 1
    man chflags
    # chflags uunlnk file.txt
    # rm file.txt
    rm: file.txt: Operation not permitted
    1. Re:Next time look at the man-pages by nocomment · · Score: 1

      What OS is that on? Here's my man page for chflags.

      arch set the archived flag
      opaque set the opaque flag (owner or superuser only)
      nodump set the nodump flag (owner or superuser only)
      sappnd set the system append-only flag (superuser only)
      schg set the system immutable flag (superuser only)
      uappnd set the user append-only flag (owner or superuser only)
      uchg set the user immutable flag (owner or superuser only)

      also, that doesn't address the real issue of a versioned filesystem.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
  298. Dear stupid motherfucking unappreciative asshole: by Anonymous Coward · · Score: 0

    The GP was responding to the GGP's complaint that all of that crap should have been in there from the beginning.
    Given the limited hardware of the time, it is incredible the amount of stuff that they were able to put into the system while keeping the user/kernel interface clean and simple.
    Yes, ACLs and the like should be in Linux now, and they are to some extent, but to say that they should have been in there from the beginning is a completely ignorant statement.

    And the "stupid motherfucking unappreciative asshole" bit in the subject line is because the "grandpas" were the ones that wrote UNIX et al.
    Linux wouldn't even exist today if it weren't for them.
    So shut the fuck up.

  299. Re:I have only one major complaint about Unix/Linu by BenjyD · · Score: 1

    Linux already has this - it's called Access Control lists. From a SuSE manual I found in 30 seconds with Google:

    ACLs can be used for situations where the traditional file permission concept is insufficient. They allow the assignment of permissions to individual users. Access Control Lists are a feature of the Linux kernel and are currently supported by ReiserFS, Ext2, Ext3, JFS, and XFS.

  300. Re: Firefox plug-in woes by RWerp · · Score: 1

    Back off the tangent to the thread - the eliteist attitude of *nix shows in so many ways, and it hurts widespread adoption, which is to its ultimate detriment. Auntie M may think a boot screen that says "GRUB" in plain text is funny, and slightly disturbing - leading her to choose the more "normal" operating system. Try selling your mainstream boss a development environment supported by some Scandanavian guys who call themselves Trolltech... all these little attitude statements add up to keep the rebels on the fringes of the galaxy.

    In what way are names like Oracle, Microsoft or Peoplesoft better? Because they have a NY stock symbol attached to them?

    --
    "Long run is a misleading guide to current affairs. In the long run we are all dead." (John Maynard Keynes)
  301. easy by HiGHTeK · · Score: 1

    Their license

  302. The two worst things as I see them by ducklord · · Score: 1

    I`m a newb in Linux, and I don`t generally use it too much. Although I like the idea of linux, there are some things that put me off it. First one is, ofcourse, that "everything" first-class, as far as a simple user goes, is released on Windows. On Win I can jump from compressing a movie to XviD with Gordian Knot to playing HalfLife2, to hearing MP3s while working in Photoshop and compressing with WinRAR and downloading with eMule at the same time, just by doing 5-6 clicks of a button. On linux, to do the same, you need to type. A lot. To avoid that, you have to create scripts, wich again means that at sime time you have to type. A lot. Linux ISN`T "user friendly" by design, and that hurst it. Two things that anoy me the most are firstly its idiotic file / directory structure, where when you install a program / application it goes all over the place and you have to search for its individual files (thats how I understood it - if it isn`t this way, sorry, but it wasn`t as obvious as it probbably should be) if you want to check something out. Take for example aMule. It installs its main files in one place, its preferences / user setup in another, its temp, down and shared dirs in some completely diferent place. Nice? I think not. The second thing that is quite annoying is, again, its user friendliness as long as error tollerance goes. Take X for example. I change my ATi card to an nVidia one. What happens? "Cannot start X". Ok, but we`re in 2005. Can`t you, at least, select a generic VGA and start the damn thing? Or even an EGA and show me a basic graphic environment, where I can at least search on the Internet for some help in some clear and usable way? No. "Cannot start X". You have to start a console-based browser and hotkey your way to google, searching among heaps of text for some help. Niiiice... Change these two at first, and you`ve got a winner. Make it possible that each and every program installs everything into ONE dir, with links to other dirs, or if that happens (told you, dunno, I`m a newb) show the user that it actually happens that way. Show him how he can manage files. Give him a proper file handling tool (Nautilus? Yeah, right...) like Directory Opus on the Amiga, or its spinoff for Windows (Gentoo - the file manager - tries to imitate this but actually is still miles away from them). Use DEFAULTS, for crying out loud, for X, and mPlayer, and anything that could crap out and fall on its face reporting that its misconfigured. Supply a ready, basic config from the start for each and everything on linux. And try to avoid behaviour such as mPlayers, where when you start the program and throw a file at it it shows you an interface, but when you double click a video file it starts without one - where the heck is it hidden? Do these sound as newbie questions? They are. They are what makes me avoid linux when I don`t have a lot of spare time to spend on it and revert to the all-easy Windows. And do you know something? I don`t care if linux zealots don`t care about people like me. They lose as much as I do. They won`t help me out because my needs are silly for them, I won`t design some graphics for them since I simply cannot work on what they provide me. Best Regards Ducklord

  303. What's Wrong? by tacocat · · Score: 1

    Unix, and really any software platform, could really benefit by two things:

    • Stricter adherence to the standards set forth. This is a plus in any software. It sure would be nice to be able to develop to the spec and know it will work.
    • Hardware is a pain. Again, compliance to specifications would be nice. We are fast approaching a point where all hardware can be grouped into a series of connectivity processes, namely USB, SCSI, Firewire, SATA, optical and probably not much more than three others. Face it, ltp and com are dead.

    What concerns me the most about such a question is that we'll first have to try to assess which Unix Fixes are being proposed not to really fix anything that's wrong with the OS, but just to change it for the sake of changing it.

  304. Why is it case sensitive ? by gangz · · Score: 1

    Not being a noob or anything like that, but I still wonder why should the operating system be case sensitive ? Any religious reason for that ? If you are talking about Linux's (if I could use that as an example for *nixes) usage in the mainstream, try explaining to an end-user that MyMail and mymail are different files.

    1. Re:Why is it case sensitive ? by spitzak · · Score: 1

      Try explaining that "my mail" and "mymail" are different files. Or try explaining that "mymai1" is a different file than "mymail". For some reason your "user friendly" system gets this just as wrong.

      The problem is that people like you refuse to acknoledge that a filename is a STREAM OF BYTES. In fact all bytes should be allowed (Unix sucks in that '/' and 0 are not allowed) and if any byte is different than that is a different file. A stream of bits (ie a length that is not a multiple of 8 bits) would be even more ideal, but I doubt that will ever happen.

      On top of a system like this you can build amazing user-friendly systems that do full intelligent spelling correction of what the user types in. Probably of more immediate importance is that this would allow UTF-8 encoded names and a user-level library to do case insenesitivity, which is not practical in the filesystem. But this is not possible as long as the lower levels try to be "smart". It has been well established that you want to keep user interface out of the low level OS design. Yet for some reason huge numbers of people who agree with this have blinders and cannot see that "case insensitivity" in the file system is exactly that.

  305. Re:IMHO, none of that matters to the typical end u by Alioth · · Score: 1

    Linux has a pretty poor cache and swap system, combined with zero user level control over cache and swap. As a result, over time, the OS runs slower, and s l o w e r and s... l.... o..... w...... r....... until you restart

    Without the actual evidence that I've got servers running Linux (2.4 kernel series) that have 400+ day uptimes and are running just as fast as the day they booted, this is patently untrue with the 2.6 kernel series. The swappiness of the system is easily set (/proc/sys/vm/swappiness) from a range of 0 (never swap) to 100 (agressively try and swap pages out). The default is 60. Even with the 2.4 kernel series and older you've been able to turn swap off, add swap, remove swap space without needing a reboot.

    Distros such as Fedora Core (and I assume RH's commercial distros) even have a GUI tool for adjusting these parameters.
  306. Re:IMHO, none of that matters to the typical end u by Khazunga · · Score: 1
    Linux has a pretty poor cache and swap system, combined with zero user level control over cache and swap. As a result, over time, the OS runs slower, and s l o w e r and s... l.... o..... w...... r....... until you restart, and then it's back to being fairly snappy until it fills up memory again with things it shouldn't be caching, and then it begins to swap again, and the slowdown process starts over again. Although Linux will run just about forever if you let it, you'll get considerably higher performance in a big-memory machine or server if you reboot when your memory fills up with cached-crappola.
    Bullshit. The behaviour you describe is, in fact, what I associate to a windows system. Our mail servers run for months at a time without stopping, receiving huge amounts of mail (an order of magnitude around a couple hundred thousand messages per day) and never ever show the behaviour you describe. And these are boxes running 2.4 kernels, performing disk-intensive tasks. The 2.6 branch has even better cache systems.

    Granted, servers rarely, if ever, swap out. But my desktop has been linux-only for some years now and I have never observed the behaviour you describe.

    --
    If at first you don't succeed, skydiving is not for you
  307. How about this - by jchandra · · Score: 1
    Okay, here's a real list:
    1. SYSV IPC, whoever designed that API should be shot.
    2. STREAMS, XTI and stuff bolted on...
    3. The ATT/USL/Novell/SCO licenses and their band of lawyers.
    4. Flavors diverging with BSD and ATT and other bastardised flavors.
    5. X & CDE
    6. BSD socket interface, okay this is better than sysV crap, but still does not fit correctly into the traditional Unix
    7. NFS, and it stateless braindamage.
    8. ....
    9. Probably I should stop now...
    --
    god n. : the Supreme Being, indistinguishable from a good random number generator.
  308. Re:IMHO, none of that matters to the typical end u by Khazunga · · Score: 1
    The GUI, in the user sense, is an afterthought. You have to go to the command line to configure and/or adjust and/or install many things. Now, I don't really care a bit about this, but most users will want to avoid command line stuff. Lock out many users with this kind of esoterica, and you've made an error, IMHO. One of the places an OS gets strength from is a broad userbase in the sense of "not one demographic" (such as only technical types.) If Linux doesn't offer ease of use, then they'll go where they can get it - Windows, OS X. And we lose. Sure, some of you just chortle at the very thought, but I truly think you're being shortsighted when you do.
    It *is* an afterthought. Naturally. And this is a good thing.

    Your complaint is valid in the sense that there are many tasks that can't be done through the GUI, but only through the lower level (design-wise) command line interface. That's the result of being an incomplete system. This is very different from being the result of an ill-designed system.

    --
    If at first you don't succeed, skydiving is not for you
  309. Path For *Ix by j_heisenberg · · Score: 1

    Now this touches the Path For *Ix: Make it to operate on a mouse only (apart from proper names). Wonders can do it. OSX can do it. *Ix can't.

    BTW:
    -Interesting = false
    -Informative = refuting parent
    -Insightful = changing topic

  310. Re:IMHO, none of that matters to the typical end u by Anonymous Coward · · Score: 0

    Pay attention. C++ ABI incompatabilities were fixed with the release of GCC 3.0, where G++ now uses the standardised Cross Vendor C++ ABI.

  311. You will be awarded a PhD by j_heisenberg · · Score: 1

    for this comment.

    No, seriously... 5% of population are geeks in the sense that they can understand and follow instructions regarding their machine. 1% are ultra-geeks that could write a little program or script or compile something from source. 95% are the Joes and Maries that use the machine and call support/neighbor/relative if anything happens. Like don't print or so.

    That explains all about percentages of desktop OSes. Requires command-line? Just lost the other 95%.

    --Quality of trolling lacking lately--

  312. Maybe it's part of geek culture, sadly by mister_jpeg · · Score: 1
    I think your first mistake was looking for help on freenode. it isn't just #debian. #slackware, #perl, all of the big channels all have a few sad kids that think being a grump (to put it kindly) implies techical superiority. One of the more proficient minds in the perl community actually has a standard disclaimer, for God's sake! Thankfully, freenode isn't as bad as alt.os.linux.slackware yet.

    I really wonder about this. Is it genetic? Is it a personality fault tied to technical ability a la Asberger(sp) syndrome?

    --
    -jpeg
    1. Re:Maybe it's part of geek culture, sadly by arkanes · · Score: 1

      #wxwidgets on freenode is full of nice people and we're only rude when people ask about skinning.

    2. Re:Maybe it's part of geek culture, sadly by DMadCat · · Score: 1

      Perhaps I'm at a loss for all of this because I've never looked to an IRC channel for answers to anything I've done in Linux (I use Slackware by the way).

      I realize those freenode channels happen to be where supposedly knowledgable people hang out and discuss the distros they use but where does it say they're there to answer questions, especially the basic questions that can generally be answered using google or linuxquestions.org (where 99% of mine were answered)?

      Perhaps it may sound elitist to tell someone to go RTFM before asking silly questions but most people, myself included, have become tired of helping those who refuse to help themselves. As a general rule you should exhaust all other avenues before asking an expert, not just in computers but in everything you do. The more you learn on your own through study, the better you'll understand the subject.

      Remember that what you're seeking is basically free technical support. If you can't meet them halfway don't bother coming.

  313. The more things change.. by Greslin · · Score: 1

    This is funny as all git-out. Makes a guy feel nostalgic.

    I remember reading all these same arguments - the very same ones - back in 1996 on comp.os.linux.advocacy. "No standard GUI." "Hobbyist OS." "No standard widget set." "If you want to be taken seriously, you're going to have to be a clone of Windows." "If you want users, Linux will have to be a drop in replacement for Windows." "No serious developer wants to have anything to do with the GPL - BSD everything!" "A computer should be as easy to use as a toaster; I don't want to have to know how the computer works in order to use it!"

    And my favorite..

    "When Windows 98 comes out, Linux will be history. People are only trying Linux because they're tired of Windows 95 crashing."

    I even remember a coworker telling me in 1997 that Linux would never reach the enterprise, because no one would trust their business to an OS written by volunteers.. and if it ever got to that point, Microsoft would simply crush it.

    Or "buy it out". I always loved that one.

    Folks, please, grow up. Like it or not, the free software and Open Source movements have significantly reshaped the computing world. They will continue to do so, which means that we will progressively move to a computing society based on consensus rather than dictation. If more options, GUI's, licenses, widgets, filesystems, even operating systems makes you feel uncomfortable.. well, you're just going to have to cope, adapt, and learn new things. Sometimes simplicity isn't a good thing.

    Welcome to the world of grown-ups.

  314. What's broken with Unix? by Anonymous Coward · · Score: 0

    Darl McBride!

  315. Re:IMHO, none of that matters to the typical end u by Politburo · · Score: 1

    Cut it out with the uptimes. Anecdotal evidence doesn't mean a thing. Just because you aren't experiencing the problem doesn't mean that it doesn't exist.

    You, my friend, have fucked up your system, that's all. Don't blame it on the machine.

    Could it not be said that the ability to screw up the system so badly is the fault of the system? That's the thinking that is applied to Windows, but when Linux screws up, it must be the user's fault? Ridiculous.

  316. Needs even more network integration by Anonymous Coward · · Score: 0

    The 'everything is a file' concept is great in general but needs to be expanded a bit to make everything work transparently over the network. X permits accessing programs from different machines but doesn't really encourage it: none of the common window managers provide ways for programs on remote machines to add themselves to your menus and there is no way to tell a remote application to use your local view of the filesystem. This design is left over from the day when networks were slow and no one could afford more than one computer. Now it would make much more sense to be able to be able to add 'building-block' resources (fast CPUs, file storage, removable media, etc.) independently in incremental upgrades by dropping them on the network and being able to use them as needed from anywhere.

    Someone should start over with a design that assumes that there are more computers than users and that each user wants to take advantage of some nearby peripherals and share some others. Unix is a better start than Windows or OS X, but nothing gets the concept quite right yet. Mosix 'kind-of' has the right idea, but you probably really only want your processes to run on your own workstation or a designated set of servers. You don't want them to run on someone else's workstation where they might accidentally hit the power button and lose your work.

  317. Virtual Memory by Anonymous Coward · · Score: 0

    Virutal Memory when used by amatuer software engineers can be a disaster.

    Swapping of large objects back and forth from the harddrive to the memory results in thrashing and can bring performance to a halt.

    The virtual memory system is on the things wrong with Unix/Linux

  318. PCL is not device independent, and color by georgeha · · Score: 1

    on PCL sucks.

    PostScript is device independent, within the limitations of the printer, output from a $100 inkjet will be close to output from a $400,000 laser press. PCL has different codes depending upon what printer you're printing to, mostly for paper selection, but it can be for other things.

    PCL has laughable color. PostScript supports Pantone colors, so the flyer you proof in Baltimore will look exactly like the production run in Chicago. PostScript supports CMYK colors, and RGB colors.

    If you ever get a chance to walk into a print shop, you'll have to search high and low for a PCL printer, whereas everything else (the proof printer, the plate setters and the laser presses) use PostScript.

  319. Unix who? by Blitzenn · · Score: 1

    Fix Unix who? I hate it when people only use first names. Besides I thought I heard that Unix whoever was dead! How can you fix someone who is dead? Bury them again? Would someone please ask Mr. Linux, Unix's son I believe, what his dad's first name was? We need to fill out the gravestone properly you see. ;)

  320. look at SELinux by Anonymous Coward · · Score: 0

    SELinux deals with port permissions.

    I don't know a lot about it, but it seems to answer the concerns that you have about ports and users.

  321. Its a trick question by bitswapper · · Score: 1

    This sounds more like a question to see what kind of mind is running inside the person. If their complaint is something general and whiney, like "its too complicated", "its too hard to learn", or something like that, then they're probably not very smart, and don't like to learn. Thank them for their time.

    If their complaint is specific to a type of UNIX, and is technical in its nature, then you at least know what kind of UNIX they are familiar with, and you have some info about how technically savvy they might be. Nit picky though they might be, they are probably thorough. Try to find out out irritating they are before hiring.

    If they compare strengths and weakness of several strains of UNIX, they are probably experienced, curious, smart, and like to learn. Hire at once.

    If they say how great windows is or how UNIX isn't the 'industry standard', they are brain damaged and likely a threat to society. Push button to open trap door beneath applicant. Listen for cries of horror

  322. Well. by thegnu · · Score: 0

    I used to think user-friendliness (btw, not unix, linux), but dammit if it doesn't get easier every day. I still think it's a little inaccessible to your average bear. And person.

    Whenever I talk to my girlfriend about computers I find myself having to do things like explain what RAM actually IS. And folder hierarchies. But this is in general wrong with all computers.

    Windows's implementation of virtual files (My Computer, My Documents, etc) sucks, sucks, sucks, but it's on the right track as far as GUIs go. And I'm not a GUI nazi either. I'm just saying that the *nix GUI layer is a little immature.

    Which I guess isn't really anything wrong with Unix, since it pretty much does what you want it to do when you want it to do it. My point I guess is that the whole desktop workstation environment isn't quite there yet.

    On proofreading I've found I'm a terrible waffler. Oh well.

    --
    Please stop stalking me, bro.
  323. Linux virtual memory is not OK for generic Linux by Anonymous Coward · · Score: 0

    There are severe problems with the virtual memory system in Linux for very large objects (megabyte) and no way to control it unless you install real-time extentions. There is no way to say (that I know of) 'don't swap this object, it wants to stay in memory' for generic Linux without realtime extensions.

    Fortunately these only show up if you are doing real-time systems and you have idiots instead of software engineers designing your code.

    I agree that linux memory management is actually pretty decent, however, if you are doing real-time processes you really want the real-time extensions for Linux. Or, make sure you don't have amatuers on your software engineering team.

    Unfortunately anyone who ever wrote a script or typed make install is classified by headhunters as a software engineer.
  324. Re:IMHO, none of that matters to the typical end u by J.+T.+MacLeod · · Score: 1

    Sir, you've replied to the wrong post.

  325. You have got to be kidding! by FreeLinux · · Score: 1

    You must be kidding, right? Observe the following chain for printing a pdf on Linux.

    pdftops -> pstops -> pstoraster -> rastertoips -> usb -> printerdriver -> unknown conversions -> printed page

    That's five conversions, at least, for a single printed page. Document printing takes a long time to start and a longer time to complete.

    Using Windows on the same system to print the same page, printing starts immediately. Printing is ten or more times faster than above. Far less conversion takes place:
    pdf to pcl -> usb -> printerdriver -> printed page.

    Add to this that PCL is supported on virtually every printer. Postscript printers are less common today.

    1. Re:You have got to be kidding! by Libor+Vanek · · Score: 1
      I'm doing now some development with print drivers so AFAIK that it's:
      (pdftops/html to ps/a2ps/...) -> ghostscript rendering using print drivers -> printed page
      (note - I don't know what is ghostscript calling but I don't think that any external programms)
      (note 2 - at least this works when you use HP PCL drivers)

      And there is still LOT of non-PCL printers out there and they are still selling (high-speed dot-matrix printers, thermo printers, special application printers (barcode cards etc.)....)
  326. What's wrong with Unix? by paronomasia5 · · Score: 2, Insightful

    Gnu's Not Unix

  327. X and Case Sensitivity by Spazmania · · Score: 1

    There are two main problems which tend to block mainstream acceptance.

    1) Case Sensitive Filesystem. Tech Elites understand that A != a. Nobody else gets it. Sure, they "understand" that A isn't the same as a, but why can't the computer see the file when I type a?

    Using a case-insensitive filesystem is one of the first, easiest and most important concessions an OS author makes to DWIM (do what I mean). This involves changing the kernel (e.g. http://bill.herrin.us/freebies/ ) and then recompiling the apps like the shell and find so that they understand the filesystem may be case insensitive.

    2) X-Windows. The unix architecture in general has held up remarkably well over time. X-Windows has not. Its overweight, difficult to program for, and slow. It should be replaced from the ground up with a graphics system designed to be a modern desktop gamer's system.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  328. Hard Mounting the CDROM is annoying by Marrow · · Score: 1

    The CDROM filesystem should be treated differently. It should not lock the CDROM into the machine.

  329. What's Wrong IS What's Right by theManInTheYellowHat · · Score: 2, Insightful

    If you read through the discussions you see a trend where this or that is missing from the core but it is available as an addon. Everything is there and documented but you have first know what you are looking for and then find it and install and configure it.

    No one solution is right for everyone so there is much fragmentation and LOTS of features that are completely customizable. That is what is both wrong and right. And then you have the ever increaseing revisions which have an amazing amount of dependancies. Which again is both what is wron and what is right.

    You can not have your FOSS and eat it too. It is this way by design.

  330. My number one problem with UNIX by NoMercy · · Score: 1

    People have fixed symptoms of deeper problems, and now the operating system is so patched up that it's almost impossible to make the sweeping changes we should have originally made.

    One case in point, filing system journaling was not existant, so a common method was to save to a new file, and then issue a command to the filing system to overwrite the old file with the one you just saved once the file is written to disk.

    This sounds fine, but then you realise that none of your old editors preserve ACL's. The same issue I believe can cause problems in some journaling systems.

    The problem is, we fixed all the problems the wrong way.

  331. Re:IMHO, none of that matters to the typical end u by Taladar · · Score: 1

    Non-Technical End Users please realize there are different User Types out there and not every Software has to be tailored to your needs. There is enough Software out there perfectly usable by Non-Technical End Users not willing to learn something about Computers and most of us Technical Users don't see the reason for changing all of our Software to fit your needs.

  332. Re: Firefox plug-in woes by Anonymous Coward · · Score: 0

    Yes. Because of that and because they're not "cute" or "queer" names that the 90% of people referenced elsewhere in this thread recognize and more importantly, trust to run their businesses on. Business drives adoption for the majority of technolgy, despite whether computer nerds like it or not. Technology without a marketable application AND ease of use has a hard time getting used.

  333. No, it should be an OS-level function. by Richard+Steiner · · Score: 1

    It certainly has been on the big iron I've played with over the years. Why can't Unix do the same?

    There are many reasons why some classes of businesses continue to use mainframes heavily, and a lack of robustness on the operating system level is a very large part of the reason. It ain't all about CPU, folks...

    Some Unix people really *do* need to learn from non-Unix computing history, at least in this programmer's opinion...

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  334. The Install problem by Zphbeeblbrox · · Score: 1

    After reading all the comments and being a linux user for over 10 years now. I'd have to say the problem with Unix (on the linux side) is the perspective of the application developers. For instance all the complaints about filesystem hierarchy and installation standards come because of one very simple reason. The developers leave package managment up to the distributor. Developers of an application by and large don't bother to come up with an cross platform installation for their app. Consequently the distro's come up with their own. If KDE and Gnome had a downloadable install that worked on every system and worked the same way then you would have standardization across distro's. The same thing goes for upgrading. Applications would be able to upgrade across platforms. Ditto for uninstalls. when Each distro does it a different way it becomes unmanageable. It should really be the developers responsiblity to handle installing the application not the distributors. Until developers take responsibility for managing their installs the problem will be difficult to fix. They are the only ones in a real position to set a standard for their app.

    --
    If you see spelling or grammatical errors don't blame me. I tried to preview but IE here at work borked the CSS
  335. MSDN? But a valid point. by Phantom+of+the+Opera · · Score: 1

    I am sure it is grown up now, but those of us who were exposed to it 10 years ago are going to treat it like a city park built on top of a radioactive landfill. That one looks much friendlier, I will admit.

    I prefer Safari. In fact, wikipedia is turning into a very useful resource for getting answers. In any case, now that the web has matured, obtaining answers is not all that difficult anymore.

    The UNIX community does have a barrior of entry and still does to some extent bootstrapping n00bs. Someone coming into the community, and wanting to learn about it has no idea at first where the documents even are. RTFM can be countered with WTFITFM (Where The Fuck Is the Fucking Manual)?

  336. Re:IMHO, none of that matters to the typical end u by rnd() · · Score: 1

    Linux actually gets faster the longer your system has been running. This is due to filesystem caching. My desktop workstation has the most recently used 3GB of files cached in RAM, which makes for some impressive "filesystem" performance. Sure, if I loaded a memory hog application the system would swap out some of the cached files (which would take some time), but overall the performance of the system is enhanced by the swapping/caching regime that Linux uses.

    Also, you can adjust the swappiness parameter if you want to always keep a certain percentage of RAM free for programs that you might want to open.

    This stuff all works extremely well in Kernel 2.6. If you are using an older kernel you may not be benefitting from all of the latest enhancements to the vm system.

    Also, if you want to see what the current state of the art is in Linux, try Gnome with Ximian, OpenOffice, etc. It's not as seamless as Windows XP in terms of an easily configurable user experience, but it's getting extremely close.

    --

    Amazing magic tricks

  337. linux bloat by Anonymous Coward · · Score: 0

    linux/unix bloat is the main problem.

    Take processing a file for example:

    a. There is no automatic way for the OS to determine the application needed to process a file (e.g. troff, ps, awk, php, perl, shell, tcl, ...)

    b. There is no front end to narrow down the series of steps needed to process a file. For example, find and replace all 'ABC' strings with 'DEF'.

    c. There is no end user front end to find the documentation related to a given task. Man -k does not help enough.

  338. Heh! by daveschroeder · · Score: 1

    Indeed. I read your post as "just boot in single user mode..." and immediately hit "reply" and completely glossed over the CD part. My apologies. But yes, you're correct:booting from the CD in single user mode should work, assuming diskutil and the necessary filesystem support is present in /System/Library/Filesystems on the CD itself, and it appears that it is (at least on the 10.3.5 CD I'm looking at).

  339. Also the problem of package dependencies by theobscurest · · Score: 1

    Without a package manager, it's practically impossible to remove a program.

    I think this presents another point in that when you figure out how to remove a package, it's difficult to determine all of the dependencies that needed to be installed to support the original package. You may have had to install several dependencies, and now not only do you not remember what these were, but you also don't know if other packages you've installed since then require those dependencies. You then end up with a bunch of random packages on your system that may or may not be needed. This is particularly a problem when testing several packages of the same type in order to determine which package is right for you. It's not always practical or feasible to have a separate development system for this kind of testing purpose (which could be argued as another problem in itself).

  340. Thanks by HeghmoH · · Score: 1

    My faith in the UW system (I'm a UW-Milwaukee alum) has now been restored. :-)

    --
    Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
  341. need metainfo in filesystem by ummit · · Score: 2, Interesting
    I think the biggest single problem is that the filesystem -- specifically, the inode -- hasn't really changed since Unix was born. In particular, there's no central place to put all the new information that fancier systems (e.g. Gnome and KDE) need. So everyone implements this sort of thing using bag-on-the-side kludges instead (and of course everyone's bag is different).

    To some extent this is because people are too reverent towards the core of Unix -- it's as if the stat and inode structures are sacred relics which mustn't be touched. But that's nonsense: Unix is a hacker's system, so if those structures need to be augmented, they should be!

    There's work being done in this area, of course, but someone needs to step forward and put a big stick in the ground saying "this is an attribute filesystem and API to it that everyone can and ought to use to centralize file-related metainfo."

  342. Re:IMHO, none of that matters to the typical end u by swv3752 · · Score: 1

    How many data points does it take to go from being anecdotal evidence to statistical average?

    I have been using Linux for 6 years. I haven't seen what your are describing regarding the slow down of the system.

    --
    Just a Tuna in the Sea of Life
  343. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Have you considered the possibility that OS X is the friendly UNIX people want?

    Yes, I have. That's why I mentioned it as a "where people will go" for ease of use. I think OS X is a lovely thing. I wish Apple the best. If they can build a certain degree more market penetration, I intend to create a division to port our software there. We've talked about it a number of times, and we get requests to port to the Mac every day. We do lots of things Photoshop doesn't, so the market is open to us.

    It may be that Apple has taken exactly the right steps here, the very ones I argue for. We'll see. The thing is, I owe the Linux community a debt; I don't owe Apple anything, as far as I know. :)

    --
    I've fallen off your lawn, and I can't get up.
  344. Re:The last time i checked GTK+ was totally free by fyngyrz · · Score: 1

    I disagree with your moderation (as usual) -- I don't think you're trolling, rather I think the moderator was flaming -- but I do think you are mistaken. The LGPL has some issues which I have expanded upon elsewhere in the thread that present some problems. Please feel free to argue the point, or prove me wrong, where I go into more detail. I read at -1, so your moderation is irrelevant to me other than to emphasize slashdot's serious moderation problems. :)

    --
    I've fallen off your lawn, and I can't get up.
  345. Re:IMHO, none of that matters to the typical end u by Politburo · · Score: 1

    I'll say it again: Just because you personally aren't experiencing the problem doesn't mean that it doesn't exist.

    We're not talking about averages here. An average doesn't tell you anything about the data except for its average. Yes, Linux, on average, does not have this problem. To be frank, I've never heard of Linux having this issue before reading the GP. However, that does not tell us whether the problem does or does not exist. You cannot prove a negative. We can (probably rightly) assume that the GP is lying or has an otherwise unusual situation, but then we're making assumptions, and we all know where that can lead...

    Nothing personal. I just hate seeing people make absolute statements based on anecdotes, assumptions and guesses.

  346. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    It is true, at least it is with the OS version (2.4.20-6) we're using. The details are as follows:

    If we reboot our servers, web pages are served much faster than when they've been running for a while. After watching the situation for many months, I figured out when it happens - it happens when memory fills up and the machines begin to swap.

    Potential reasons seem to be that it is faster to read a web page off the disk than it is to recover it from cache, or swap, once it gets stuck in there, or else it takes longer to free up the memory to put it in when memory is otherwise full of cached stuff.

    Without being able to articulate exactly what is causing the problem, I can easily demonstrate the solution. After our servers have been running for about two days, you can go and fetch a large page of stuff into a web browser and observe how long it takes over a 100 mb connection -- it's not all that fast, it might take 2-3 seconds. Then you can reboot the machine that is hosting that page, and grab the same web page when memory is essentially uncomitted, all "brand new." The page will whip up in front of you -- basically, it is immediate, just a fraction of a second, which is what you should expect from the machines in question which have 3 GHz cpus and fast drives. This behaviour continues for a couple days (these machines also have several gigs of ram) and then it slows down. It is difficult to see the slowdown, so I am pretty sure it is cumulative; but it is very, very easy to see the speedup, and that's why I am certain that the problem is real.

    It may well be that a later version of Linux has solved the problem. However, it is no small matter for us to move to a different version; we have a lot of operations depending on these systems. Reboots aren't that much of a problem, we schedule them for the off-peak minimums. The reason I mentioned it at all was because since you don't have to reboot, users might accept this sluggishness without realizing that a temporary cure is just a shutdown away, and because my 2 GHz Windows desktop machine feels snappier than my 3 GHz linux desktop machine. For instance, my graphics software loads in a fraction of a second under Windows. The Gimp takes much longer to start up, and it is a lot smaller and less-featured app running on a faster machine.

    I have wished many times for the ability to simply turn off swap, and to prevent things like web pages and database tables from being cached. These machines are so fast for the first few days, it is really annoying to see them acting sluggish with all those resources installed. We have had no luck finding any solution to the problem (other than rebooting) as yet.

    --
    I've fallen off your lawn, and I can't get up.
  347. Re:Linux virtual memory is not OK for generic Linu by fyngyrz · · Score: 1
    I have to say (as a graphics software developer) that considering a megabyte as a "very large object" seems to me to be some pretty old-school thinking.

    Our software routinely manages objects -- images -- that are hundreds of megabytes. Layered images may have multiple objects that size.

    About the very last thing you want to happen from the perspective of operating on it is have an image put into swap. It shouldn't happen unless it has to happen, and (for instance) having a ton of tiny web pages or database requests cached in memory is a darned poor reason to cripple up an image processing application being operated by the system's primary human user. But without any control over system cache and swap behaviour, you will run into these problems.

    As a real world example, if you open up the Gimp and try to edit a large (but still easily fits-in-installed-memory multiple times) image on one of our servers that has been running for a couple of days or longer, it'll feel like you're trying to walk through molasses. If you do the same thing on my freshly booted desktop, same OS version, same resources, it'll be smooth as butter.

    We're talking about machines that have 3 GHz CPUs and a minimum of two gigs of ram. It should feel "like buttuh"!

    OTOH, My windows machine has a 2 GHz, 1 gig ram configuration; editing the same image there after the machine has been up for weeks (when it stays up that long... @#@$@# windows) is just as snappy as after you first boot. Application startup is even faster than at first, because Windows is a lot smarter about how it caches certain things; DLLs generally don't unload so you don't pay in time for each instance of application use, but stuff like images loaded off the HD don't cache at all the way we have our machines set up.

    I'm not just mindlessly bashing Linux here. I like Linux. These are my experiences I am relating. I'm wide open to suggestions as to how to improve those experiences.

    --
    I've fallen off your lawn, and I can't get up.
  348. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    But they say it was fixed mostly in 2.4.24 and completely in 2.6.
    We're running 2.4.20-6. Nice to hear it has been addressed, or at least that someone thinks it has -- We'll have to build a test server with a later release and see what happens. It'd be great to have the server running fast without having to kick it in the teeth every few days.

    Can you provide me with a specific pointer to the indication of the fix? I would very much appreciate it.

    --
    I've fallen off your lawn, and I can't get up.
  349. Re:Linux virtual memory is not OK for generic Linu by Anonymous Coward · · Score: 0

    Two things. One, there's mlock to do exactly what you want as far as not swapping out memory. Two, there are real-time extensions available to linux as patches (there's two different branches, as I recall; one open source and one not; the second one is legal because the patching and compiling is done on the end user machine). So, I'm really not sure the problem.

  350. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    I did run the installer as root. Both of them, in fact. Without sudo; I typically run as root on my desktop. So I also run FF as root, at least usually. Flash asked where the directory was, and I told it exactly where FF1.0 was; after install, flashplayer.xpt and libflashplayer.so were in the plugins directory of FF where I expected them to be, but flash objects are not operational.

    --
    I've fallen off your lawn, and I can't get up.
  351. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Even with the 2.4 kernel series and older you've been able to turn swap off, add swap, remove swap space without needing a reboot.

    We're running 2.4.20-6; would you care to share the mechanism of how to turn swap on and off in this OS level release? I would very much appreciate it. There is nothing called "swappiness" in /proc/sys/vm. I just looked for it. I show the following:

    bdflush
    kswapd
    max-readahead
    max_map_count
    min-readahead
    overcommit_memory
    page-cluster
    pagetable_cache

    All are zero size, all show the directory read date and time.

    --
    I've fallen off your lawn, and I can't get up.
  352. How about using the right tool for the job? by turgid · · Score: 1
    I agree that linux memory management is actually pretty decent, however, if you are doing real-time processes you really want the real-time extensions for Linux. Or, make sure you don't have amatuers on your software engineering team.

    If you're doing Real Time work, wouldn't it be better to use a proper Real Time OS, such as VxWorks or QNX? Why would you choose Linux?

    1. Re:How about using the right tool for the job? by sloanster · · Score: 1

      If you're doing Real Time work, wouldn't it be better to use a proper Real Time OS, such as VxWorks or QNX? Why would you choose Linux?

      That's easy, you choose linux if you aleady know it, want the best bang for the buck and don't feel like learning yet another OS programming paradigm for no good reason.

    2. Re:How about using the right tool for the job? by turgid · · Score: 1

      That's the attitude that got us the Windows monopoly.

  353. It's spelt Asperger, as in Hans Asperger by TheScienceKid · · Score: 1

    Asperger's Syndrome is a part of the Autistic 'Spectrum' (which is actually more of a mesh) and was discovered by Hans Asperger to be a seperate condition in its own right.

    What we now know as Asperger's Syndrome was previously thought to be a form of PDD-NOS (Pervasive Development Disorder - Not Otherwise Specified).

    Hans showed by experiment that a group of children he was working with exposed a particular set of symptoms which were categorically different and it was seen to require its own 'label'.

    Asperger's Syndrome often (you said often, frequently... no, I said often only once..</Gilbert and Sullivan - 'Modern Major General'>) involves obsessive behaviour such as the propensity to learn all of the rules of a structure (for example, the grammar of the English language or that of the high-level language, 'C') or to spend all day humming the same tune whilst tapping a spoon against the desk stapler ;).

    This is usually coupled with an inability to empathise with others which can result in a certain level of social ineptitude, although coping strategies can be put into place (or formed by the person in question) in order to handle common situations, upon which a further framework can be constructed, although I wouldn't refer to it as a "personality fault".

    For reference, I am registered disabled as having Asperger's Syndrome and you can find me in freenode's #debian regularly (although I might not be around at the time) under the pseudonym of SquareRt, due to the fact that any nickname with "Root" in is (or, at least, was when I joined #debian originally) automatically banned when joining the room.

    You can also find me on irc.nixhelp.org using the nickname SquareRoot in channel #linux. Other freenode channels I've been seen in include #squid, #sparc, #solaris, #debian-boot, #sgi, #wireless, #cisco, #madwifi, #math and #postfix, in no particular order.

    I've been using Debian GNU/Linux for at least three years now and I look forward to talking to anyone who didn't die of boredom before reaching the end of this post.

    I hope this post is considered on-topic, I've tried my best... I'll keep an eye out for replies for a little while but I may have to go for a spot of supper and some earl grey in a bit.

    Regards,

    TheScienceKid (611371).

  354. Oh, and I have also been seen in freenode #irix. by TheScienceKid · · Score: 1

    Sorry, nothing much here... awfully sorry to follow up to my own post; I was simply correcting the omission of my presence in freenode's #irix at times.

    Ciao.

  355. Re:IMHO, none of that matters to the typical end u by danaris · · Score: 1
    There is no standard "windowing" GUI

    Which is a huge advantage.

    For geeks like you and me, sure. But not to ordinary folks who just want to use it--especially not when they need tech support. They don't need extra questions like, "Are you using KDE or Gnome?" Half the time, they don't even know they're using Windows vs. Linux vs. MacOS. Having a single, standardized GUI can help a LOT.

    Linux has gone one way with this--diversity--and MacOS has gone the other--standardization. In my mind, what is needed is the happy medium: customizability--even if it's hidden away behind an "Advanced..." button on one of the control panels or preference panes. This avoids both traps: including too much choice, which is unnecessarily confusing to the normal users, while still allowing people who want to change things to suit themselves to do so.

    When your GUI breaks on windos, OS X or any other GUI-only system, you're fucked.

    Beg pardon, but Mac OS X has a CLI much like Linux (or, more closely, *BSD). Granted, if you truly have no GUI interaction going on, you have to SSH in, but it is there, and just as functional. I've used it to rescue a locked box many times.

    Dan Aris

    --
    Fun. Free. Online. RPG. BattleMaster.
  356. I use a rather nick fenwicks fountain pen actually by TheScienceKid · · Score: 1

    ... you insensitive clod ;)... and I can't stand BICs or other ballpoint pens, although parker rollerballs are bearable, they're nowhere near as effortless as a good fountain pen... you... BIC user ;)

    Ciao,

    611371.

  357. Re:IMHO, none of that matters to the typical end u by dtfinch · · Score: 1

    I think Red Hat is up to only 2.4.21. They backport a lot of patches though. The bug report I originally found applied to Red Hat 9, and was marked Closed WontFix because Red Hat had discontinued support for 9. Some fixes and patches were suggested. I also found a Fedora Core bug report that ended saying the problem was greatly lessened in 2.4.24 and fixed in 2.6.6.

    I just found this RHEL3 bug report which states that the bug has very recently been patched.

    If none of that helps, maybe you could make a cron job to empty the cache every hour or so.

  358. Re:IMHO, none of that matters to the typical end u by Geno+Z+Heinlein · · Score: 1

    I myself think printing is one of the fundamentals

    "Print is dead." -- Egon Spengler

  359. Re: Firefox plug-in woes by RWerp · · Score: 1

    I still think that to win a market share, the most important thing is to have a good product. Microsoft had a cheap, not-so-bad product in the past and that's how it got where it is now. I have no doubts that were it called Trolltech, its success would still be as it were.

    --
    "Long run is a misleading guide to current affairs. In the long run we are all dead." (John Maynard Keynes)
  360. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Ah... empty the cache? Do you mean by trying to use all or most of memory with something, or do you know of some magic thing I can do that will dump all the currently cached stuff?

    Thanks for the help, btw -- very much appreciated (and a very nice change from the hysterical "There is no such problem, you trolling b*stard" responses", too. :)

    --
    I've fallen off your lawn, and I can't get up.
  361. Mozilla application sizes by the_arrow · · Score: 1

    I don't uppgrade the Mozilla applications that often, but everytime I do I wonder how much code is shared between Firefox and Thunderbird? I would rather have more common updates to several small packages than having to download two large package when common code is updated.

    --
    / The Arrow
    "How lovely you are. So lovely in my straightjacket..." - Nny
    1. Re:Mozilla application sizes by Bloater · · Score: 1

      My biggest concern (more than download size or disk usage) is the working set size. By packaging two separate sets of libs, this is increased. But also the massive reliance on scripting and XUL means that the parsers convert one shared XUL file and one shared js file into big data structures for each instance of the application (no wonder these applications are lumbering single process monstrosities).

      I would like to see a XUL parser process that runs a sort of setgid (but I think the current concept is not what I'm looking for). This builds a shared lib for each of the applications XUL and js files caching the result of parsing and possibly compiling them so all instances use that one shared file.

  362. Microkernels != modularity by pVoid · · Score: 1
    Why the microkernel part? Although I don't have much experience in this, I'd say it should be quite simple, relatively speaking. Look at Linux, most of the kernel tree is drivers. The kernel itself is pretty small.

    While I agree with the rest of your post, Microkernels aren't about modularity. What are microkernels? kernels that delegate work to user land. Windows NT 3.51 had a 'micro'er kernel than the current versions of NT for example, in that the GDI was a usermode service. This proved to be so slow that they moved back the GDI into kernel mode. From a coding perspective, the GDI is still modular, it's just that it runs at a different priviledge level, effectively alleviating the need for context switches.

    As a general rule though, microkernels are problematic not because of their speed, but rather because of the advantage of having a microkernel.

    For example: if you put your filesystems in a user mode service and this service crashes, you have effectively lost track of any open file handle on the system, which is still up and running because the kernel itself wasn't affected. Problem is: the system is now completely useless. In fact, the system is in a far worse state than if it just simply had BSOD'd or kernel panicked. Why? Because applications won't be aware that half of their resources have just been sucked out from underneath them. For example: imagine a daemon of some sort that when it receives a socket transmission, sends back a response and writes something to a file. Now, it will send a response, but fail the file write, effectively violating application level state rules.

  363. No source code, so you refuse to use an app?! :-) by fyngyrz · · Score: 1
    You are completely bewildered. I am not talking to, or about, the "free software community" as you construe it in the parent. I am talking about the user community. Most of them won't give a rats left buttock if I open the source or not; however, if the subsection of the user community that you represent doesn't want to take advantage of something free my company offers without source, I really am not in the least worried about it. By definition, I didn't do it for you/them anyway. All I get out of your immensely silly position is a broad sense of amusement that you would choose to keep using a stone knife because you have the assembly diagram for it even though I offer you a free table saw and make no move to deny you your stone knife, either. You just keep on snuggling up to that source code, I'm so sure it'll make manipulating your images a whole lot easier and more fruitful. Yeah, that's the ticket. Glorying in having source code. "Whoo-ee, Clem, I got me some source code!" "Lookie here, even got me some header files!!"

    Excuse me, I really need to go off and chuckle for a while. Thanks for the absurdity. :)

    --
    I've fallen off your lawn, and I can't get up.
  364. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    That's the result of being an incomplete system. This is very different from being the result of an ill-designed system.

    I think that in this context, that is a distinction without a difference. I would contend that something needs to be done about it, and finger pointing as to what the cause is doesn't get anything useful accomplished. If it's broke, fix it. If it is unfinished, finish it. Same result either way. The problem is no less of a problem to the end user no matter what the nature of its cause, and it is no less of benefit if it is made to work through a fix or additional work.

    --
    I've fallen off your lawn, and I can't get up.
  365. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Linux actually gets faster the longer your system has been running.

    Perhaps yours does that very thing. Mine doesn't. It would appear, from (so far) unconfirmed but authoritative seeming information in the other posts, that my problem is documented and that in order to resolve it, I may need to change the OS level. I have no swappiness parameter to adjust, or at least, if I do, it remains unidentified at this point in time.

    Also, I am a gnome / open office user. I'm pretty happy with that level of experience, or at least I will be when the OO 2.0 database UI creator comes out. I use some of the tools every day. In several languages. Very nice indeed. When we port our image manipulation tools to Linux, I'll probably be able to stay on Linux most of the time, which I look forward to. But that's not to say that there aren't improvements that could be made. :)

    --
    I've fallen off your lawn, and I can't get up.
  366. Re:IMHO, none of that matters to the typical end u by spudgun · · Score: 1

    KDE 3.2.x does exactly this

    log out
    ctrl + alt + bksp
    log in
    restart software
    yay fast for 4 more days......

    ksystemguard tells me when to much is swapped out...

    but it's not linux , it's memory leaks in software that can be restarted!

    --
    Type unto others as you would have them type unto you.
  367. Re: Firefox plug-in woes by spudgun · · Score: 1

    yea like excel is a normal name related to what the software does.

    points of view happen because you are standing somewhere looking at somewhere else.

    --
    Type unto others as you would have them type unto you.
  368. Re:IMHO, none of that matters to the typical end u by dtfinch · · Score: 1

    Ah... empty the cache? Do you mean by trying to use all or most of memory with something, or do you know of some magic thing I can do that will dump all the currently cached stuff?

    I didn't bother to see if there was an easy way. I've never dealt with swap and cache problems in Linux. We haven't noticed any performance problems on our file servers running Samba on CentOS, a RHEL3 clone, and we only reboot them to update the kernel.

    I haven't tested, but this should have the desired effect of forcing programs back into memory:
    swapoff -a
    swapon -a
    Bad things might happen if there's not enough ram to swap in all the programs.

    In 2.6 you can tune the swappiness by echoing a number from 0 to 100 to /proc/sys/vm/swappiness

  369. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Gah. That simple. OK, one of the failover servers has been up for 100+ days; I opened a couple of apps, both were pig slow to start. Dragging windows was pretty spotty, too. The machine shows about 85% of its memory is consumed with cache, and it was carrying a hefty load of swap as well. For what reason, I have no idea.

    Then I did the swapoff -a. It took about a minute to complete; I was getting nervous, frankly. Then it came back.

    Cache level changed a little, but not much. I went to open a program. BAM! Thing was right there, just instantly. Tried another. Same result. Only... now there is less memory in cache. I guess it got forced out by loading the programs. Next I tried some web pages, going direct to the server. Again, BAM. They're fast like on first reboot. Windows drag live - just like they are supposed to.

    Something else. On the toolbar, I keep graphs going of memory, swap, network and cpu. Just a little Gnome graph thingamazoid. The typical behaviour has been that memory fills up, and once it does, it doesn't change much, if at all. Now, after the swapoff -a, I can see the levels change when I do things like prod the shopping carts, look at the software revisions database, hit web pages. Sometimes there is free memory, sometimes it pops to the top and stays there -- but at no time does it appear to be having trouble. I opened a few shells and set up directory scans where we would see core dumps if our ecommerce stuff were to go nipples north, and nothing doing -- no sign of problems at all.

    As long as it knows to throw cached memory stuff out in favor of stuff it actually needs to load and run or work with, I am guessing it'll be OK. Its not like its short on main memory. I'll watch it, and I'll play with it a bit. Since this particular server isn't online to the world (unless we lose a primary server) it's not quite the same thing as a full on server test, but my first impression is that whatever was wrong, this got around it one way or another. If it runs for a few days (and I will keep prodding it) I'll swap it with the primary server IP and we'll see how it does under load. We're pretty busy this time of year. I'll let you know.

    You da man. :) Thanks again.

    --
    I've fallen off your lawn, and I can't get up.
  370. Re:IMHO, none of that matters to the typical end u by Rakarra · · Score: 1
    This is... very unusual behavior, and not normally indicative of performance under Linux. We still have many workstations running 2.4.20 at my workplace and have not seen these sort of slowdown problems, and a few hundred machines still running 2.4.24 with no problem either. Some of which have been running in active use with intensive user applications for months. I suggest using 'free' to take a look at how much memory is being used, specifically the -/+ cache/buffers line. If there's a lot of memory allocated to cache and buffers when you're swapping, then I'm at a loss to explain what should be going on. :) Caching should be absolutely harmless. It should not slow your system down.

  371. Re: Firefox plug-in woes by RWerp · · Score: 1

    Excel is probably from the verb 'to excel'. By Open Source standards, it's shameless and disgusting self-promotion.

    Saying that OS is incapable of promoting good brand names is wrong. Apache, gimp, pine --- they are all names which are widely recognized, even by people who prefer Windows to Linux. And who didn't hear about emacs v. vi wars?

    --
    "Long run is a misleading guide to current affairs. In the long run we are all dead." (John Maynard Keynes)
  372. It's a pissing contest... by solios · · Score: 1

    I use OS X more for reasons of backwards compatability and hardware lock-in than anything else. That, and Windows makes my ass bleed. I fell out of love with Apple when I saw where they were going with OS X and when they started catering to the Yuppy/GAP crowd... but l my high school sweetheart getting implants and a cel phone isn't going to drive me into the arms of bubba, the 400lb prison stud who bathes annually (aka, Windows), or the dork with the emo glasses and the overbite who thinks being a dork is cool because the only media he takes in says it is (aka, Linux).

    MS are a bunch of shits about product support on the Mac (this includes Office- which, while featureful, is fucking slow- even on current hardware with enough ram to kill a moose.)- specifically, windows media. No reason to speak of for Apple to play nice with Quicktime on the PC. Or iTunes for that matter- and do note that both apps use "brushed metal", and both apps used it before OS X had shipped a single copy. :-|

    Shit, the Quicktime Player for the Mac is pretty shitty in some respects- it's more useful as an interface to the API than it is as a media player. :P

    I can't speak for Windows, but Adobe has (in their minds) every reason to be a complete pissass to Apple, at least passive aggressively- notice they dropped Premiere.... which elicited a buttload of OH NOEZ VIDEO EDITING ON TEH MAC IS DOOMED! from the windows crowd, and a buttload of relieved THANK GOD PREMIERE SUCKED ASS from anyone who's ever had to deal with it, especially since the advent of Final Cut Pro (which is cost competetive and wipes the floor with Premiere).

    One could say Apple isn't doing a stellar job of keeping Big Software happy on the platform. One could also say that Apple is buying up software and putting out their own apps (iLife, the pro suite) because, realistically speaking, any Big Software equivalent sucks shit through a straw.

    Probably because Adobe needs to move units to make money- so it's useful to them to withhold Really Useful Features until much later in the game- notice how long it took them to add 16-bit editing to Photoshop. Eventually they'll have no choice but to make their apps _useable_, as they will have exhausted all other viable means for extorting profit.

    Adobe interface sucks ass- compare to Macromedia apps in any arena where the two compete (Imageready is CREAMED by Fireworks, GoLive is _ass_ compared to Dreamweaver, etc).... and dear gods, I thought .txt was supposed to be the document interchange standard. .pdf is boiled dog ass... especailly acrobat. :|

    Makes me wish OSS would hurry up and prestidigitate a Photoshop clone. (by which I mean clone, as in, can't tell the difference outside of the splash screen. Same shortcuts, same tool handling, etc. More would be nice but I'm ranting enough as it is.)

    So. Big Software Sucks. Fuck, it's 2004 and software developers have yet to produce a web browser that does everything totally frigging awesome. They're not even close. And a web browser is, in many respects, a hell of a lot simpler than a video editing system or an image manipulation system.

  373. Re:IMHO, none of that matters to the typical end u by Alioth · · Score: 1

    /proc/sys/vm/swappiness was new for 2.6 and doesn't exist in 2.4 (and I don't think it's been backported). Turning swap on and off is easy (swapon /dev/hda2 and swapoff /dev/hda2), adding swap is easy (dd if=/dev/zero of=some_file; mkswap some_file; swapon some_file).

    Things like "overcommit_memory" will be on or off (echo 1 >/proc/sys/vm/overcommit_memory as an example, some distros will probably have a kernel tweaks GUI that allows this sort of stuff).

  374. Intelligent configuration by Lars+Clausen · · Score: 1

    Probably the thing I miss the most in Linux/Unix is the general lack of intelligent configuration. Not auto-configuration, but configuration programs that do just a little thinking of their own to come up with good suggestions.

    I also frequently bemoan the lack of a good printer discovery service. It ought to be easy to ask what printers are accessible, even Windows can do that. But no, you have to type in the queue name or even IP address (good luck with that when the IP is dynamic). Grr...

    P.S. Pet peeve: Configuration windows that lets you choose from one item only and don't notice that it might as well be skipped.

    -Lars

  375. PAM: It blows goats. by Anonymous Coward · · Score: 0
    Having done a bit of work with PAM, I can tell you, it ain't all that.


    Try this sometime:

    Write a program which changes your standard UNIX password using PAM.

    Then:

    Compile it for Slowaris.

    Then:

    Compile it for PH-UX.

    Then:

    Compile it for Linsux.


    Each of these has its own "prompts" it feeds back, and nothing in the man pages, or the "standard", says what that prompt is.


    Error? Tough shit. You lose. And no, we're not going to indicate just how you lost. It's up to your program to guess.


    Feh. PAM sucks.

  376. Re:IMHO, none of that matters to the typical end u by Tom · · Score: 1

    For geeks like you and me, sure.

    Actually, for the end-user even more so. My mother was very, very happy with Afterstep. It is a quantum leap easier for her than windos. And yes, she tried windos, she disliked it.

    See, the point is that the end-user can not tailor the system to his or her needs, but they can have it tailored and very specifically so.

    They don't need extra questions like, "Are you using KDE or Gnome?"

    People have the same problem in windos, namely that they have no idea what the program is called, it's "the text editor" (and your tech support guy can guess whether they're using notepad, wordpad, word, or some 3rd party thing).

    Beg pardon, but Mac OS X has a CLI much like Linux

    You're right on that, of course. I forgot.

    --
    Assorted stuff I do sometimes: Lemuria.org
  377. Re:IMHO, none of that matters to the typical end u by Tom · · Score: 1

    We can (probably rightly) assume that the GP is lying or has an otherwise unusual situation,

    So why are you arguing against the - just as likely - assumption that he simply fucked up his system?

    Nobody says Linux can not be made slow. I can certainly bring my system to a halt if I try hard (keyword: thrashing point). I can surely imagine people doing it unintentionally.

    But that's not a problem with Linux, nor with Unix in general, and very certainly not of the kind that the GP claimed.

    --
    Assorted stuff I do sometimes: Lemuria.org
  378. Re:IMHO, none of that matters to the typical end u by Tom · · Score: 1

    Anecdotal evidence doesn't mean a thing.

    Pot, meet kettle.

    The parent was giving even less data and was trying to claim a general problem.

    --
    Assorted stuff I do sometimes: Lemuria.org
  379. Re:IMHO, none of that matters to the typical end u by danaris · · Score: 1

    Actually, for the end-user even more so. My mother was very, very happy with Afterstep. It is a quantum leap easier for her than windos. And yes, she tried windos, she disliked it.

    See, the point is that the end-user can not tailor the system to his or her needs, but they can have it tailored and very specifically so.

    I absolutely agree that in cases where a techie can be available to support it and customize it personally, it's better in most ways that anything the MS world has to offer. However, most people aren't in that position (at least, I would assume not: obviously most people I know well are in that position, as I'm there), and for them, having a relatively standard GUI layout would be a godsend to Linux on the desktop.

    Now, I'm not saying that there should be a single GUI with no changes between machines: themes are great, and a theme someone likes can make them much happier with their system. All I'm worried about is locations and names of common buttons, windows, widgets, etc. That way, when the poor user calls tech support complaining that something doesn't work, the tech support person can walk them through steps without having to say "Well, the button is supposed to be labeled 'OK', and it should be in the bottom-right corner, but it might be in the bottom-left and called 'Aye, sir!'".... (Yeah, that's a bit extreme; I'm just trying to illustrate the point ;-) )

    I'd be as happy as anyone to see Linux take huge chunks of Windows's desktop share. However, I do think that some real standardization is necessary in Linux to reach the average user who doesn't have technically inclined friends and relatives. Personally, I think that Mac OS X has the best of all worlds, but I'll admit I'm somewhat biased there.

    Dan Aris

    --
    Fun. Free. Online. RPG. BattleMaster.
  380. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    On these machines, about 80% was allocated to cache and buffers. Someone here showed me how to use swapon and swapoff; after turning swapoff, the system's web server and application startup performance immediately speeded up to levels that feel pretty much like fresh boot speeds. As of this morning, maybe ten or so hours after the change was made, about 70% is allocated to cache and buffers, and the machine is still acting snappy and clean. Other evidence, like window dragging coming back to a normal speed, are also evident. This is a back up, or failover, server, so it's not under a lot of stress; if it remains stable for a few days, I'll swap it with a live server and see how it fares.

    In any case, swap clearly has something to do with it. Luckily, these machines have more memory than they typically need, and I think an actual need for swap does not exist in the circumstances we have set up for normal operations.

    One thing: We've not had any trouble with machines staying up; just with noticable slowdowns. One thing you might try is to open a large application (some open office component might do, they're really piggy/bloated) on one of these machines that has been up for a while and see how fast it comes up. Then reboot the machine and do it again with the system's memory uncommitted.

    That's the kind of thing that made it obvious to me there was a problem. Window dragging was pretty awful too -- stuttering, late (and slow) redraws in areas the window had traversed during the drag -- not anymore, though. I used swapoff -a and that seems to have disrupted the problem situation; so far, there is no sign of repeated slowdown, and most (not quite all) memory is pretty well all comitted to something -- program, cache, buffers.

    We've had this problem ever since RH9 came out. It's funny that swap control was there all the time; I've asked in numerous venues and looked around, but I never could find it. I guess it's not a commonly used facility.

    --
    I've fallen off your lawn, and I can't get up.
  381. Re:IMHO, none of that matters to the typical end u by Rakarra · · Score: 1
    On these machines, about 80% was allocated to cache and buffers. Someone here showed me how to use swapon and swapoff; after turning swapoff, the system's web server and application startup performance immediately speeded up to levels that feel pretty much like fresh boot speeds. As of this morning, maybe ten or so hours after the change was made, about 70% is allocated to cache and buffers, and the machine is still acting snappy and clean. Other evidence, like window dragging coming back to a normal speed, are also evident. This is a back up, or failover, server, so it's not under a lot of stress; if it remains stable for a few days, I'll swap it with a live server and see how it fares.

    It... almost sounds like a large process is eating up a lot of memory, forcing other processes out to swap, and then dying, leaving those processes in a swapped state.. then other processes used the disk to generate the cache. That's what the symptoms sound like, unless you really are hitting some obscure kernel bug somehow. It sounds really odd. I do recommend trying the latest 2.4 kernels.

    We've had this problem ever since RH9 came out

    Aah, we upgraded straight from RedHat 7.1 (albeit a heavily modified and upgraded 7.1.. had XFree86 4.1, kernel 2.4.24) to Fedora Core 2.

  382. Youth by one-egg · · Score: 1
    The biggest problem with Unix is the swarm of young developers who write code without understanding its history, philosophy, and design principles. How many programs insist on processing only one file rather than all arguments, simply because the author started on windows? How many refuse to read standard input and write standard output? How many insist on filling your screen with verbose and irrelevant chatter...often sent to stdout instead of stderr?

    I wish I had a nickel for every time I've had to struggle with a Unix program written from a Windows or Mac mindset.

  383. -1 blowhard by Anonymous Coward · · Score: 0

    Wow man. You used byzantine twice in three paragraphs. Come off it. Especially when you're trying to argue that the information on MSDN is written at too advanced a level. Welcome to my foe list.

  384. Re:No source code, so you refuse to use an app?! : by cas2000 · · Score: 1

    > You are completely bewildered.

    you're just upset because i pointed out that your proprietary software is irrelevant. that must be a hard thing to come to terms with.

    >I am not talking to, or about, the "free
    > software community" as you construe it in the
    > parent. I am talking about the user community.

    you obviously don't get it. free software users aren't just another market of passive consumers. even those of us who don't code tend to have much higher standards for what they expect from software than software consumers (with the notable exception of Mac users - they have very high standards too).

    > Most of them won't give a rats left buttock if
    > I open the source or not;

    wrong. most of them do. even if they don't and can't code it themselves, they know that they benefit from source code being available for scrutiny and modification by others. they understand the evolutionary nature of free software, and they appreciate the security and quality and other benefits.

    without source (and a Free Software license), most free software users won't be in the least bit interested in your proprietary ball-and-chain. they know the inherent traps of proprietary software.

    > f the subsection of the user community that
    > you represent doesn't want to take advantage
    > of something free my company offers without
    > source

    there *IS* no advantage in proprietary, binary-only software.

    > All I get out of your immensely silly position
    > is broad sense of amusement that you would
    > choose to keep using a stone knife because you
    > have the assembly diagram for it even though I
    > offer you a free table saw and make no move to
    > deny you your stone knife, either.

    that's a good one. hilarious, considering the relative quality of free software compared to proprietary crapware.

    you can keep your proprietary garbage. thanks, but no thanks.

    btw, it's more than just having the "assembly diagram" as you put it. it's also about what i can do with the software, how i can use it and re-use it, whether i can modify it to suit my particular needs, and (just as importantly) whether my data will be trapped in some proprietary piece of shit that i'll never be able to get it back out of, and which will stop working at some point in the future either because of licensing problems or because it only works with some ancient library which has been superceded for years.

    for example, as well as being geeks, my partner and i run a bookshop. when we bought the shop a few months ago, it came with an ancient (circa 1996) windows PC which had a stock control and POS system for bookshops installed. aside from the fact that this software is ancient, buggy, and slow, and doesn't even produce what we would consider to be useful reports (the reports it does are more concerned with re-ordering stock than with telling us what sold and what didn't sell in the last week or month or whatever) we can't even upgrade the hardware because the damn thing checks for a hidden license somewhere on the system.

    of course, we're writing our own to replace it - perl, ncurses, postgres.

    when we finish it, we're going to have to throw away all the data that's in the existing system (which goes back several years - mostly details about books), because there is no way to export it, and it's in some bizarro cobol db format which isn't worth the effort to reverse engineer.

    > You just keep on snuggling up to that source
    > code, I'm so sure it'll make manipulating your
    > images a whole lot easier and more fruitful.

    well, yes, of course it does. manipulating images with embedded scripting languages like perl or python is far more productive than pointing and clicking with a mouse. it's a computer's job to do boring and repetitive stuff, not a human's.

    > Excuse me, I really need to go off and chuckle
    > for a while. Thanks for the absurdity.

  385. Re:X windows by D0+J00+W4n7+K4r473 · · Score: 0

    Flamebait? What? It's supposed to be (+5, Funny). You know, classic Fortune cookie... Ah well, it's not funny if I try to explain it. Whoever modded this flamebait has no sense of humor.

    --
    Your Ad Here! $2.00 Per Day!
  386. Encap system by lheal · · Score: 1

    There is a package management system called encap that does that automagically. There is a program called "epkg" that implements it very well.

    I do

    cd /usr/local/src/package-n.mm
    ./configure --prefix=/usr/local/encap/package-n.mm
    make
    sudo bash
    make install
    cd /usr/local/encap
    epkg -s . -t .. -i package-n.mm
    ^D

    Epkg also helps maintain /usr/local, and can maintain a /usr/local for binaries it can't run. I have sites with Solaris servers and mixed Solaris/Linux clients, and use the Solaris version of epkg to help maintain both trees.

    I think it's the most unixy way to do package management.

    --
    Raise your children as if you were teaching them to raise your grandchildren, because you are.
  387. Re:Linux virtual memory is not OK for generic Linu by Anonymous Coward · · Score: 0

    I found GIMP can be a bit nasty when opening large files, so it might be GIMP rather than the OS. I've used GIMP on my 1GHz desktop, and my 2.5GHz laptop, and it's crawled to a halt on the laptop when loading large images...

    also, I'd suggest that comparing your desktop with your server doesn't really give any decent statistics. You'd really want to run the trials on your server, then restart it and run the same trials. With nothing going on the background. You never know what might be up with your server... just a thought.

  388. Nope, dump won't work by scheme · · Score: 1
    You can use dump and give the user read on the device file. I know dump is depreceated, but it works there.

    Actually dump won't work. Due to changes in the 2.4 and 2.6 kernels, dump won't get a consistent picture of the filesystem. Linus's comment seems to suggest dump doesn't get the right things from the buffer and page cache. Given that dump doesn't backup your data correct, it's worthless.

    --
    "When you sit with a nice girl for two hours, it seems like two minutes. When you sit on a hot stove for two minutes, it
  389. Re:Linux virtual memory is not OK for generic Linu by fyngyrz · · Score: 1
    I'd suggest that comparing your desktop with your server doesn't really give any decent statistics.

    Sorry, I was unclear, mixing writing styles foolishly. I meant desktop as in, Gnome. On the same server, or any other machine here, the Gimp will run well if the machine is newly booted.

    The same effect occurs on my daily-use machine or any of the servers. They are very similar, though there are speed and total memory differences. They're all decent sized machines, though.

    Since turning off swap the other day, a backup server has remained quite fast. On the weekend, I'm going to try that with a front line server, and see what happens.

    --
    I've fallen off your lawn, and I can't get up.
  390. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Would you care to share which software you have determined is causing the problem?

    --
    I've fallen off your lawn, and I can't get up.
  391. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    Not only did I provide the data (though later in the thread when it became clear to me that people were interested in the details), the specific problem was located in the redhat bug lists, and someone here gave me a pointer to a means to kill swapping, which in turn (just a couple days into testing) seems to have solved the problem. All of which you would know if you had read the thread, instead of knee-jerking, and wrongly to boot, about a peripheral issue.

    So climb back into that kettle and cook some more. Clearly, you're not "done" yet.

    Of course, this is slashdot, and we all know what that means...

    --
    I've fallen off your lawn, and I can't get up.
  392. We need 2 solutions by PhraudulentOne · · Score: 1

    After reading all of these posts (well the highly modded ones anyway) it seems that there just needs to be 2 *types* of UNIX and then various distro's modelled around these 2 types of systems. One is a user-based system (single user - as in at my house, for me and maybe one or two other people) and then a server type that has a more traditional layout. UNIX is great right now for managing many users. We don't need things to be in /usr/New Program/bin and then add that path to our $PATH. We need a /bin/ /sbin /usr/bin and /usr/sbin /etc blah blah blah because it works great the way it is. For home users, the current UNIX system sucks. It is made for people who like to constantly fiddle and tweak shit ALL THE TIME. Yes this post would have to be 100 pages to get my full point across but what I am seeing is that a lot of people are saying to use MacOSX because its the perfect UNIX. It's not. It's a pain in the ass for a lot of different things (windows interoperability...shares hang, you still have error messages hidden behind the GUI), but its very easy for a home user (drag the .APP to the APPS folder and voila). There almost needs to be a traditional system with the traditional layout (so stuff can be mounted via NFS, all the users are in /home, /etc might reside on another box, etc), that is easy for a sysadmin to administer. But the one main issue that I have with *NIX is that there are too many proverbial cooks in the kitchen. Everyone is doing things their own way, not everyone has the time to (freely) update their software to work with GTK2 when they already have something running on GTK1.x (same for QT) etc etc etc. Installers do not behave the same way, blah blah blah... there is just too much going on and not enough quality control. This means that we geeks have to have several versions of shared libs installed for the plethora of apps we have installed. I personally hate having a whack of GTK apps and then I find ONE that needs QT and a bunch of other libraries installed - now I just increased my system by 2MB for the program I want and 50MB for everything it (alone) requires. This is basically an disorganized rant, but you see where I'm going. It would take a lot of effort to standardize graphics libs, networking libs, FS layouts, default FS's, etc because THERE ARE TOO MANY WAYS TO DO THINGS - but you know what? WE LIKE THAT, but now its basically shooting us in the foot because once we download everything we want on our desktop (and customize all the menu's in our GUI because the menu's don't build themselves upon installation), we have a messy system that is not easy to rebuild without all that tinkering. Basically distros that are labelled as servers come with more server apps, security suites etc. The desktop distros come with more user utilities, games, graphics, pim, etc, but underneath they are both the same and this doesn't work well. We need a major overhaul.

    --
    You create your own reality - Leave mine to me.
  393. Re:IMHO, none of that matters to the typical end u by spudgun · · Score: 1

    Once I figure it out I'll try ...
    I suspect it's the older KDE I have with KDEINIT growing over time.
    I'm usually to busy tring to work to have time to solve it on monday Mornings when it usually strikes.

    --
    Type unto others as you would have them type unto you.
  394. Re:IMHO, none of that matters to the typical end u by fyngyrz · · Score: 1
    It... almost sounds like a large process is eating up a lot of memory, forcing other processes out to swap, and then dying, leaving those processes in a swapped state.. then other processes used the disk to generate the cache. That's what the symptoms sound like, unless you really are hitting some obscure kernel bug somehow.

    We've been down these roads, though. I've sat through many cups of coffee -- I don't sleep much anyway, missing a couple nights doesn't seem to bother me much -- watching the server status displays, and at no time do these systems eat a lot of memory. They build losts of buffers and cache over about two days. The levels stay essentially stable (small changes occur, but we're talking just a few percent there.) Then the system begins to swap, and at that time, the slowdown begins.

    There is a known kernal bug in 2.4.20-6 that has symptoms along these lines, but Redhat never fixed it. Someone here showed me how to turn off swapping, whcih I did, and that seems to have resolved the problem. I swapped the backup server with the online server last night at 3AM which is a pretty dead time, and I've been watching it as the load came up today -- it's still fast as it should be, and there are zero signs of memory issues. About 70% of memory is cache and buffers, the rest is program, and I've been all over the site -- revision reporting, web pages, ordering, comment submission, downloading, basically every service the server offers to the world, I've used it since I turned off swapping and nothing is acting unusual except that it is as fast as it is when the machine is newly booted -- which is unusual. :)

    I don't much want to go to Fedora at this time -- the claimed "experimental" nature of it leaves me more than a little unsettled -- and I'm really kind of annoyed at Redhat for not fixing something as critical and basic as this (and for abandoning the RH9 product in general, don't even get me started on that) which makes me unwilling to give them any more money. So if we can stay with this release, I'm going to, at least for a while.

    Thanks for your comments; I very much appreciate yours, and those of the other helpful people who showed up in and amongst the weenies who claimed such a problem was impossible. While they were yapping like annoying little terriers, the expert Linux folks reached out and provided the solution to the problem.

    --
    I've fallen off your lawn, and I can't get up.
  395. Re:IMHO, none of that matters to the typical end u by Rakarra · · Score: 1
    There is a known kernal bug in 2.4.20-6 that has symptoms along these lines, but Redhat never fixed it. Someone here showed me how to turn off swapping, whcih I did, and that seems to have resolved the problem. I swapped the backup server with the online server last night at 3AM which is a pretty dead time, and I've been watching it as the load came up today -- it's still fast as it should be, and there are zero signs of memory issues.

    Hmmmm... if the newest of the 2.4.x kernels doesn't fix this problem for you, then I suggest sending mail to the Linux Kernel Mailing List. Even if they can't fix it directly (and there are still some people working on the 2.0.x from time to time, so improvements to 2.4.x shouldn't be too unlikely), they may still be able to offer more concrete suggestions and ideas for what could be going wrong.

    Thanks for your comments; I very much appreciate yours, and those of the other helpful people who showed up in and amongst the weenies who claimed such a problem was impossible.

    Yes well.. those of us with enough experience in the field know that nothing is impossible. ;)

  396. Windows 2000 WFP by Anonymous Coward · · Score: 0

    I read about it and then figured a way around it the first day I got the Win2K RTM disk. Just write a copy of your file to the \dllcache first and then write a copy to \system32.

  397. Re:IMHO, none of that matters to the typical end u by Sique · · Score: 1

    Hm... setting up my HP LaserJet with Linux was easy (Start print-config, give connection type JetDirect, enter IP address, choose "Postscript printing". Ready).
    Setting it up with Solaris was more tedious, but doable. (Go to HP website, search for "HP LaserJet Solaris", download software, read README, run config.)

    What really took me about three days was getting the HP running with Windows 2000. Windows 2000 natively doesn't know any JetDirect, and if you go to HP's website, you find a java based tool, which tries to load software from a webpage which no longer seems to exist. In the end I went and bought a parallel cable to have the printer running, which slows printing quite down. After some telnetting around into the printer itself I fiddled around with some configs, and finally it ran also over Ethernet.

    So for professional printing equipment give me Linux or Solaris any day. I might have done more easily with Windows, but, you know... I am new to Windows Admin stuff, and it is not really intuitive for me.

    --
    .sig: Sique *sigh*
  398. To reply to a few of your criticisms . . . by tobar+mersa · · Score: 1
    4) play the hottest videogames -- easy in Windows, can't be done for Linsux[sic]
    This is not a problem inherent to *nix, let alone GNU/Linux. Rather, this is the result of (most, but not all) video and computer game makers not porting their games to *nix.
    5) off load an arbitrary digital camera's photos to a computer by USB -- easy for nearly any camera and current Windows system, impossible for most Linsux[sic] systems 6) add arbitrary PCI hardware, usb hardware, serial/joystick port hardware without worrying about drivers -- mostly automatic for Windows, a horrendous task for Linsux[sic].
    These, again, are not problems inherent to the *nix or GNU/Linux operating systems. Rather, this is due to a lack of vender support to provide drivers for their equipment. Most hardware nowadays comes with a Windows driver, if the driver doesn't come pre-installed with Windows.

    I'll let those-who-know answer the other points (if there are answers to them), as I don't have enough experience in those areas to comment.

    --
    This sig space intentionally left blank.