Slashdot Mirror


Ask Unix Co-Creator Rob Pike

Today we return to our Slashdot interview roots with a "Call for questions" for Rob "Commander" Pike, who has been involved in the development of many modern programming concepts, GUI advances, character sets, and operating systems. We'll email 10 - 12 of the highest-moderated questions to Rob and post his answers as soon as he gets them back to us.

12 of 479 comments (clear)

  1. Re:Emacs or Vi? by Anonymous Coward · · Score: 1, Informative

    Actually there is a funny answer to this question on the plan9 man pages. typing man emacs you get something that only says : see acme

    acme is a really powerfull and interesting concept in term of editor. (you can get it on unix either using the spinoff called wily, or better by downloading the complete plan9port for unix)

    Rob also wrote another great editor called sam (available on both unix and windows). Very nice to use, my favorite editor on windows.

    the main characteritic of those 2 is innovation. I really think people should give them a try just to see that there is something else out there.
    The man is a great original thinker.

    a.c.

  2. He's NOT a Unix co-creator by hruntrung · · Score: 5, Informative

    Jeez, someone, click on the fuckin link in the post with his name. He's not a Unix co-creator. He worked a lot on Plan 9, and wrote a bitmap windowing system for Unix. But he's not a Unix co-creator. The creators of Unix are Dennis Ritchie and Ken Thompson.

  3. Article theft by Zedrick · · Score: 5, Informative

    The operating systems link goes to encyclopedia.thefreedictionary.com, which is a scam-site that steals articles from other sites, in this case from Wikipedia. The only thing they've added are ads. The original can be found at http://en.wikipedia.org/wiki/Plan_9

    1. Re:Article theft by Chalst · · Score: 2, Informative
      Check out "http://en.wikipedia.org/wiki/Wikipedia:Send_in_th e_clones for the general Wikipedia attitude to such sites and the summary on thefreedictionary.com.

      In short, thefreedictionary.com is using Wikipedia content more or less as intended, but is using Javascript to bypass the spirit, if not the word of the syndication license, and is in partial violation of the GFDL. As such, it is rated middling amongst violaters of the wikiepdia syndication license. Most wikipedians do not object to syndicated content getting higher rankings, if they are achieved fair and square.

  4. Re:Why does Roblimo think you're a Unix co-creator by AJWM · · Score: 2, Informative

    He also worked on Version 8 Unix and (IIRC) came up with an early version of the /proc filesystem.

    He's certainly a co-creator of what we now know as Unix.

    --
    -- Alastair
  5. Re:Why does Roblimo think you're a Unix co-creator by DylanQuixote · · Score: 2, Informative
  6. Re:resolv.conf by red+floyd · · Score: 2, Informative

    14 letter. Each directory entry was 16 bytes -- 2 bytes for inode, 14 for filename.

    --
    The only reason we have the rights we have is that people just like us died to gain those rights. -- Cheerio Boy
  7. Re:Biggest problem with Unix by CondeZer0 · · Score: 3, Informative

    I think that he and the Bell Labs folks already answered those questions over 10 years ago:

    http://plan9.bell-labs.com/sys/doc/9.html
    (See specially the first section: Motivation)

    uriel

    --
    "When in doubt, use brute force." Ken Thompson
  8. Re:Biggest problem with Unix by OrangeTide · · Score: 2, Informative

    grep works quite nicely with utf8. even an ancient version of grep. as long as it's 8-bit clean and you give it search queries in the same encoding as your file. (like 8859-1 for 8859-1 files, utf8 for utf8 files).

    The whole idea of utf8 is to have the least impact on existing software. There are encoding sets that do break text editors and grep. Like some of the asian multibyte encodings.

    if you grep for a utf8 sequence in a binary file it will work exactly the same as if you grep for a latin1 sequence in a binary file or a US ASCII.

    Some problems with utf8 are that strlen() can no longer be used to determine how many monospaced positions a string will fill. you have to use mblen() which requires you to know the lenght of your multibyte string. (multibyte strings don't have to be null terminated in all encoding systems, utf8 happens to support it, but mblen() isn't interested in that).

    binary and text files are still the same on *nix. you can't have a newline as part of a utf8 multibyte sequence for example. fgets() works on utf8 the same as it always has. The following code will work with usascii, utf8 and iso-8859-x. the code obviously is unaware of the encoding scheme, but the important parts are the same in at least thoses encodings for it to work.

    #include
    int main() {
    char buf[1024];
    while(fgets(buf,sizeof buf,stdin)) {
    fputs(buf, stdout);
    }
    return 0;
    }

    ps- if you want to grep binary files I would recommend piping the binary though the "strings" command first. it can yield better results. You can specify -e if you want "strings" to sniff out alternate encoding types. (including utf16)

    --
    “Common sense is not so common.” — Voltaire
  9. Re:Biggest problem with Unix by mikefe · · Score: 3, Informative

    Actually, the refuse to umount if there are users in the mount is part of the POSIX or SUS specifications.

    Linux does not have a problem with it. That's why it has the -l option.

    -l Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)

    --
    There: Something at a specific location.
    Their: Owned by someone.
    Please make sure your english compiles.
  10. Desktop UNIX by tty21 · · Score: 2, Informative

    Rob, The media and UNIX/Linux boosters have been developing/promoting UNIX variants as a competitor to MS desktop OS's. Are UNIX and it's variants destined to have a significant share of the commercial desktop, or is it a compromise and will always be a small share (but doing most of the work!) OS compared to the star-studded MS lineup? What further steps do OS developers have to take to bring it to every desktop?

    --
    The quick brown fox jumped over the lazy dogs back 123456789
  11. Re:Silver medal in Archery at the 1980 olympics? by Black+Acid · · Score: 2, Informative
    For anyone curious, this is the bio in question, with commentary from http://c2.com/cgi/wiki?RobPike:
    RobPike wrote the following mostly-serious but slightly tongue-in-cheek bio for his 1994 Usenix paper presentation on Acme: "RobPike, well known for his appearances on ``Late Night with David Letterman'', was also a Member of Technical Staff at BellLabs, where he has been since 1980, the same year he won the Olympic silver medal in Archery. In 1981 he wrote the first bitmap window system for Unix systems, and has since written ten more. With Bart Locanthi he designed the Blit terminal; with BrianKernighan he wrote TheUnixProgrammingEnvironment?. A shuttle mission nearly launched a gamma-ray telescope he designed. He is a Canadian citizen and has never written a program that uses cursor addressing." I believe he did appear at least once on Letterman as assistant to Penn and Teller, but he's joking to say he's well-known for that. The comment about archery is also a joke of some sort; Pike is a Canadian citizen who has worked in the U.S. for decades, and both Canada and the U.S. boycotted the 1980 Olympics, so you needn't go looking for the records of that year's Olympics to figure this out. The rest of his bio appears to be true. He now (2004) works for GoogleSearch.