Berkeley CSUA MOTD:2002:November:15 Friday <Thursday, Saturday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2002/11/15 [Uncategorized] UID:26548 Activity:nil
11/14   http://www.cnn.com/2002/LAW/11/14/gun.trial.ap/index.html
        Gun supplier told to pay widow $1.2 million
2002/11/15 [Uncategorized] UID:26549 Activity:nil
11/14   [deleted because you're a whiny punk.]
        \_ It's not particularly clever to post something from
           an article mocking liberals and pretend like the article
           was written by a liberal, reiffin.
2002/11/15 [Reference/Military, Politics/Foreign/MiddleEast/Israel] UID:26550 Activity:kinda low
11/15   wether you are for or against gun control, you should listen to
        this, just as a classic example of propoganda:
        http://csua.org/u/585
        \_ would it be asking too much for people posting csua shortlinks
           to describe the data type - in this case, mp3?   And then for
           a summary, not a vague topic reference?
2002/11/15-16 [Consumer/Camera] UID:26551 Activity:high
11/15   link:csua.org/u/584 -- a photo I made in Boston.   -- misha.
                \_ yeah and your point is?
                   \_ Um.. what the fuck?  the overwhelmingly beligerent
                      tone of the motd getting you a little trigger happy?
                      --scotsman
                   \_ my point: delete the entry if you don't like it. -- misha.
        \_ Is there some connection between the poster and the reflection?
           is there some message I'm not getting? -dense about eminem
        \_ I don't get it.  also I think it's funny your .mac
           javascript photo album thing won't work on internet
           explorer on the mac i am viewing this on right now.
           \_ it works for me.  but just in case, I mirrored it on
              http://berloga.com/xxx-eminem.jpg .  -- misha.
              \_ So are you the one with the baby in the boston photos?
2002/11/15-16 [Academia/Berkeley/CSUA, Academia/Berkeley/CSUA/Troll] UID:26552 Activity:kinda low
11/14   Is there a CSUA login and password to TransGaming's site?
        Is there a list of CSUA logins and passwords?
        \_ /etc/master.passwd
           \_ Uh, really?  Shall we run Crack on it?
        \_ [useless not-at-all clever responses purged to disuade the stupid]
        \_ Clarification: Is there a list of logins and passwords for popular
           websites (e.g., Washington Post, CNN, TransGaming, etc), not for
           \_ This would be nice if we standardized pwds.
              eg. email: subscriptions@csua (or lwall), login: csua, pwd: soda
           CSUA accounts? -OP
           \_ generally csuamotd:csuamotd or csua:csua.  Some places like the
              LATimes allows username:password or membername:password or
              whatever it is they call users.
2002/11/15-16 [Computer/SW/Unix] UID:26553 Activity:moderate
11/15   I want to remove all lines in a tex file that have been commented out
        by a % at the beginning  Any fast and easy way to do this?
        Sorry no time to RTFM.  Ok tnx.
        \_ egrep -v '^\%' file > file.new
           \_ grep -v ^% file > file.new
              conserve keystrokes.  ride bike
              \_ I think you actually need egrep for this.  And '^' is
                 a csh metacharacter. -geordan
                 \_ Doesn't matter.  try it out. --scotsman
                    \_ Oh.  One caret.  Bah. -geordan
           \_ Thanks a lot!!
2002/11/15-16 [Recreation/Dating, Politics/Domestic/RepublicanMedia] UID:26554 Activity:moderate
11/15   three words: tucson, sex, fest.
        \_ Huh?
         \_ google.
            http://csua.org/u/588
        \_ Let me guess. You found that link on FreeRepublic, right?
2002/11/15 [Computer/SW/OS/Solaris] UID:26555 Activity:nil
11/15   Does solaris have a iso-8859-1 to UTF-8 character converter?
        I'd like something that takes an accented "a" and converts it to
        &aacute;  Thanks.
2002/11/15 [Uncategorized] UID:26556 Activity:nil 66%like:26562
11/15   Clean your mouse rollers! Makes life better.
        (isopropanol, a qtip and the smooth side of a pin)
2002/11/15-16 [Computer/Theory] UID:26557 Activity:low
11/15   New developments in quantum crypto:
        http://news.com.com/2102-1001-965957.html
        \_ new?  hardly.  would you like a list of references from the
           last several years of experimental advances in quantum crypto?
           moron reporters report all science as a "breakthrough" to
           get the attention of their moron editors.
        \_ Even if it was new New NEW! it wouldn't matter one whit to you as
           the man on the street.  This is only good for big governments and
           corps with *lots* of money.  It does not work over the public net.
           \_ ah. but i am not the man on the street, and it does matter
              to me.  I work in this field, which is why i get annoyed by
              shitty journalism.  if you want to follow what's happening
              in the field in real time, see the links from the quantum
              coherence section of http://www.vjnano.org or just check
              Science and Nature regularly.
              \_ The rest of us are unlikely to ever see this in real life.
2002/11/15-17 [Computer/SW/P2P, Computer/SW/Security] UID:26558 Activity:nil
11/15   http://journalism.berkeley.edu/projects/biplog
        Coming soon, a real hostname. -dans
2002/11/15-17 [Computer/SW/SpamAssassin] UID:26559 Activity:kinda low
11/15   Spamassassin appears to be broken.
        Can't locate object method "splitpath" via package "File::Spec" at
        /usr/local/bin/spamassassin line 18.
        BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 38.
        \_ Mail root or politburo with this kind of thing. -ausman
        \_ url recommendation for how to use it on soda?
        \_ I use it like so at home (I don't use soda for mail):

:0fw
| spamassassin -P -a

:0:
* ^X-Spam-Status: Yes
{
        :0:
        spam/.
}
        So the first line pipes it through SA and if SA tags it as spam with
        the X-Spam-Status header them it gets dumped into my spam folder.
        Otherwise it doesn't get altered at all and falls through to the
        rest of my recipes.  This is in my .procmailrc, of course.
        \_ I suggest you limit the size of SA'd message to something like
           256k. SA is a bit slow even on reasonable size messages, and
           with no size limit, you will see problems if you ever get very
           large messages. my recipe follows --aaron
           \_ Good idea.  I get some log reports on the weekend which take a
              few minutes for my old box to grind through but since it's 2am
              or later when they show up I never bothered to limit the message
              size.
              \_ it really does help for large messages and makes your mail
                 system perform better under load or DoS --aaron
                 \_ already added your change right after I saw it.  thanks!

# send incoming mail through SpamAssassin

:0 fw
* < 262144
| /usr/local/bin/spamc
2002/11/15-16 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:26560 Activity:moderate
11/15   What's the best way to print out a certain line number in a file?
        The best I could come up with is something like:
                head -(line # you want) filename | tail -1
        \_ Actually, i think ED is the answer
           \_ close.
           \_ echo number|ed filename
              But it will print the number of bytes in the file when
              ed starts up.  ED is the STANDARD!  Text processor. -geordan
        \_ sed -n <line#>p < filename
           \_ thx!
              \- hola, i think sed is a better tool than pl in this case
                 although a speed check would be interesting.
                 more generally sed -n 'X,Yp' will print out the inclusive
                 range from [X-Y]. On a big file this may be slightly better
                 although perhaps not a real big deal on mondern machines:
                 sed 'Xq;d' ... you do get more "sed intimidation points"
                 for the latter as well. --psb
                 \- i ran some tests on a sun blade 1000 lookin for a pretty
                    deep line on a medium big file ... about 60million lines.
                    here are the relative speeds:
                    wc -l: 1
                    sed: 1.03
                    perl4: 1.59
                    perl5: 3.85
                    stragely some old intuition about sed doesnt seem to
                    apply any more ... maybe it is because memory has
                    grown so much compared to typical files. --psb
        \_ You *know* there's a 1 line perl answer to this....
           \_ perl -ne 'print if $.==number' filename
              -geordan
           \_ ah! but where is the ocaml answer for this?
2002/11/15-16 [Uncategorized] UID:26561 Activity:nil
11/15   [poll says fascists are more popular, therefore pro-fascism.  deleted.]
2002/11/15-16 [Transportation/Car, Computer/HW/IO] UID:26562 Activity:kinda low 66%like:26556
11/15   Clean your Mouse Rollers. Iso-Propanol and a Qtip and the
        flat side of a pin. Makes life better.
        \_ I just use my fingernail to scrub off the dust on the ball and
           the rollers.  It's easy and it works well.
           \_ I do this about once a month but the alcohol+qtip is good to
              do every 3-4 months.
        \_ go optical.
           \_ If the optical mouse that comes with new iMacs is typical
              of optical mice, no thanks. I prefer more precision.
        \_ How do you get off all the splooge?
                \_ You put the propanol on the Qtip, and rub the wheel
                   "across" or perpendicular to the direction it rolls.
                   each time, turn the wheel a little bit, and eventually
                   you'll have all the gunk saturated with propanol
                   and then take the flat part of the pin, near the end
                   and scrape is across the wheel, and all the gunk magically
                   gets lifted off.
                   gets lifted off. Then, wipe of the excess with a
                   clean Qtip soaked in propanol.
2025/04/14 [General] UID:1000 Activity:popular
4/14    
Berkeley CSUA MOTD:2002:November:15 Friday <Thursday, Saturday>