Berkeley CSUA MOTD:2001:July:03 Tuesday <Monday, Wednesday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2001/7/3 [Computer/SW/Languages/Misc] UID:21701 Activity:high
7/2     What are some XML DTDs/schemas for writing technical documentation?
        We have standardized on HTML for documentation at my company
        and I am tired of having to do everything by hand. (proper number
        formatting mostly. Nested <ol>s just aren't good enough) Ideally,
        I'd like to write an XML document and have an XSLT script
        generate the HTML for me. DocBook looks interesting but heavyweight.
        \_ Sun uses SolBook, which is a slimmed down subset of DocBook.
           The OpenGroup uses DocBook for the official UNIX standards.
        \_ My former employer used DocBook... from my experience and what
           I heard, it seemed to work fairly well.
        \_ what is wrong with Latex?
           \_ Nothing is wrong with LaTeX. I used it extensively when
              I worked in academia.
              I worked in academia and was quite happy with the results.
              But LaTeX isn't something that I'd want to standardize
              on in our corporate setting.
              \_ why not? it's too difficult to parse? the machinery behind
                 it is poor? it's too low level?
        \_ You could use Texinfo and Texi2html.
2001/7/3 [Computer/SW/Languages/Perl] UID:21702 Activity:high
7/2     How do I change the path perl checks when I do a "require"?
        \_ Ocaml >> perl.
        \_ use lib "/my/module/directory";
           See "perldoc perlfaq8" for details.
        \_ This probably still works:
           BEGIN { push (@INC,"/my/dir/with/modules") ; }
           \_ It does; see "perldoc lib" for the differences.
              \_ lib is a perl module (.pm) right? I generally
                 avoid those since they are not compatible with
                 perl4 (yes people still use this).
           \_ If it's a script, I find it easier to just change the #! line to:
              #!/path/to/perl -I/my/module/directory
2001/7/3 [Computer/SW] UID:21703 Activity:nil
7/2     How do I convert a text file to fortune's .dat format?
        \_ .dat is not a format for the text file, it's an index of offsets
           of the "records" in the file. To make a fortune-readable set of text
           snippets, put them all in a textfile "foo", separated by "%"
           characters (each on a separate line), and then run "strfile foo".
           That will create foo.dat, and fortune should be able to recognize
           it. Make sure also that the file begins and ends with a "%" line;
           strfile can be picky about that.  -alexf
2001/7/3 [Recreation/Media] UID:21704 Activity:very high
7/2     First it was Romeo and Juliette now this:
        http://www.apple.com/trailers/miramax/hamlet.html
        Does Hollywood have no respect for the bard? Denmark
        Inc? Bill Murray as Polonius? I can hardly believe it.
        Eventhough Mel Gibson had all that bs incest stuff, his
        version was still better than this disgrace.
        \_ stop complaining, whining, talking to skulls, and get off
           your ass and DO SOMETHING ABOUT IT!! hehe
           \_ 0x2B | ~0x2B that is the question.
        \_ Um, dude, it's been out for over a year and a half now.  And
           if you think people shouldn't be able to use some artistic
           license when they do Shakespeare, you just don't get it.  Do
           you want every Shakespeare production to look like the sappy,
           bullshit 1960s era Romeo and Juliet movie, which stars
           (the aptly named) Olivia Hussey?  Or do you want to allow for
           the possibility of Othello starring Patrick Stewart as a white
           man as a minority in a world dominated by blacks?
           \_ Oddly enough, both the Romeo & Juliet you decry as being
              too stiff, and the Hamlet the original poster attacks for
              artistic license were directed by Franco Zeffirelli.
           \_ the same olivia hussey who played norman bates mother
              in some later norman bates story with flashback-itis
           \_ Artistic license is one thing. For example, when American
              Playhouse and PBS made Much Ado About Nothing, they used
              artistic license by adding and deleting scenes and dialouge
              from the original. This version retained the spirit and
              setting of the original play and even enhanced it. The
              artistic license used by the fool who made this movie is
              akin to bs artistic license used by the fool who displayed
              a cross in urine as art.
              \_ I know what you mean.  Crucifix in urine is so dull.  But
                 crucifix in nun juice...   Now that's a powerful statement.
                 \_ Wasn't there a movie or MTV or something where a nun used
                    a crucifix to masturbate?
2001/7/3 [Recreation/Food] UID:21705 Activity:nil
7/3     india, the land of milk and curry:
        http://www.nytimes.com/reuters/technology/tech-tech-oracle-dc.html
2001/7/3 [Computer/Networking, Computer/SW/Security] UID:21706 Activity:nil
7/3     Metricom has declared bankruptcy:
        http://news.cnet.com/news/0-1004-200-6442868.html?tag=tp_pr
2001/7/3-4 [Computer/SW/OS/FreeBSD] UID:21707 Activity:kinda low
7/3     what's a good way to get and graph bandwidth statistics
        for a network of machines, by ip address?  freebsd
        or linux solutions welcome.
        \_ Cricket/MRTG - see http://fragment1.berkeley.edu/~cricket for
                an example
2001/7/3-4 [Computer/SW/Unix] UID:21708 Activity:high
7/3     Isn't fgrep supposed to be faster then grep?  On SunOS 5.7, I did some
        timing by using grep and fgrep to look for a non-existing string in
        /usr/include/*.h, and fgrep seems to take twice as long as grep.
        \_ http://www.von-bassewitz.de/uz/unixhier.html
        \_ fgrep is just grep with string searches instead of regexp searches.
           I would be suprised if they didn't use the exact same code path.
                \_ I would be very surprised if they did.
        \_ ``In  addition,  two  variant  programs  egrep and fgrep are
           available.  egrep is the same as grep -E.   fgrep  is  the
           same as grep -F.  zgrep is the same as grep -Z.''
                \_ This is GNU grep. Don't erase my comments chump.
        \_ It's faster for very large strings or large numbers of strings.
           For normal usage, it's not much different:
                http://www.elementkjournals.com/sun/9704/sun9742.htm
           Once upon a time agrep was fastest, but GNU grep may have caught
           up since then:
                http://www.tgries.de/agrep
                http://webglimpse.org/pubs/TR94-17.pdf
2001/7/3 [Uncategorized] UID:21709 Activity:nil
7/3     If FOO is mx 0ed to BAR and BAR is mx 10ed to BAZ, but FOO is MX10ed
        to QUUX, where will mail for FOO go when BAR is down?  BAZ or QUUX?
        BAZ I assume, but it is legal to have the pointer to QUUX?
        \_ Mail will go to QUUX, think about it.
        \_ One things to note, MX records are not recursive.
2001/7/3 [Recreation/Media] UID:21710 Activity:high
7/2     First it was Romeo and Juliette now this:
        \_                     ^tte^t
        http://www.apple.com/trailers/miramax/hamlet.html
        Does Hollywood have no respect for the bard? Denmark
        Inc? Bill Murray as Polonius? I can hardly believe it.
        Eventhough Mel Gibson had all that bs incest stuff, his
        version was still better than this disgrace.
        \_ stop complaining, whining, talking to skulls, and get off
           your ass and DO SOMETHING ABOUT IT!! hehe
           \_ 0x2B | ~0x2B that is the question.
        \_ Um, dude, it's been out for over a year and a half now.  And
           if you think people shouldn't be able to use some artistic
           license when they do Shakespeare, you just don't get it.  Do
           you want every Shakespeare production to look like the sappy,
           bullshit 1960s era Romeo and Juliet movie, which stars
           (the aptly named) Olivia Hussey?  Or do you want to allow for
           the possibility of Othello starring Patrick Stewart as a white
           man as a minority in a world dominated by blacks?
           \_ Oddly enough, both the Romeo & Juliet you decry as being
              too stiff, and the Hamlet the original poster attacks for
              artistic license were directed by Franco Zeffirelli.
           \_ the same olivia hussey who played norman bates mother
              in some later norman bates story with flashback-itis
           \_ Artistic license is one thing. For example, when American
              Playhouse and PBS made Much Ado About Nothing, they used
              artistic license by adding and deleting scenes and dialouge
              from the original. This version retained the spirit and
              setting of the original play and even enhanced it. The
              artistic license used by the fool who made this movie is
              akin to bs artistic license used by the fool who displayed
              a cross in urine as art.
              \_ I know what you mean.  Crucifix in urine is so dull.  But
                 crucifix in nun juice...   Now that's a powerful statement.
                 \_ Wasn't there a movie or MTV or something where a nun used
                    a crucifix to masturbate?  Lots of nun juice there.
                    \_ Nuns are supposed to be celibate right? So what if
                       two nuns get it on. Is that breaking the vow or is
                       it okay, since neither is "equipped" (addons are not
                       quite the real thing)?
                       \_ You are going to hell for even asking that question.
                       \_ Did Bill Clinton have sexual relations with
                          Monica Lewinski?  -tom
Berkeley CSUA MOTD:2001:July:03 Tuesday <Monday, Wednesday>