Berkeley CSUA MOTD:2001:March:09 Friday <Saturday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2001/3/9-4/27 [Uncategorized] UID:20725 Activity:nil 71%like:20891
03/07   General Meeting 03/15 6:00PM in 306 Soda
2001/3/9-10 [Politics/Domestic/Crime] UID:20726 Activity:low
3/9     Anyone know where I can get that video of crime-scene footage from
        the Columbine incident that I heard was (is?) being sold by the
        sheriffs for $25 per tape?
        \_ i doesnt hae teh crime scene footage. just pictures of the
        \_ it doesnt have the crime scene footage. just pictures of the
           school with pop music.  the families sued them anyways. calling
           it tactless or something.
           \_ Tasteless, yes.  Tactless?  I don't know.  Priceless, maybe.
              DeBeers.
           \_ yeah, that's what I'm talking about. What could be better than
              taking a tour thru the Columbine library while rocking out to
              the likes of Sarah MacGlaughlin's "I Will Remember You"?
              This is soccer mom emotional fodder at its finest.
                \_ It's times like these I say to myself, "What would I do
                   without the motd?"
                        \_ time for you to see your psychiatrist again.
2001/3/9-10 [Computer/HW/IO] UID:20727 Activity:high
3/9     I'd like to be able to connect two keyboards to a single PC.  The
        keyboards can be ps/2 or 5-pin DIN style but not USB.  I've looked at
        the Y-Key-Key (cute name), but it costs ~$50.  I don't need to use them
        simultaneously, so a switch would be sufficient.  Are there any cheap
        devices that can do this? (... and if so, what?)
        \_ You just want a keyboard switch?  And you think $50 is expensive?
           My last KVM switch was about $495.
           \_ yes, I think $50 is expensive for a keyboard-only switch.  And I
              would expect a device that lets you use a single keyboard
              (and mouse, and monitor) on multiple PCs to be a bit more complex
              than one that lets you use multiple keyboards on a single PC.
                \_ $50 too expensive for a piece of hardware?  Look, son, go
                   find the parts at radio shack, add up the cost, now figure
                   in what it'll take to develop, market, package, and ship
                   your niche hardware item.  Basic econ: low demand = low
                   your niche hardware item.  Basic econ: low demand = high
                   price for commodity items.  If you can beat that $50 kb
                   switch for the same quality and still make a profit, I'm
                   going to buy your stock when you go public.  Until such
                   or do a search on the net.
                   time, however, please stop whining about $50, go get a job,
                   or do a search on the net.  [corrected, thanks. mental typo]
                   \_ $50 for a switch?  An inkjet printer costs about the
                      same these days.
                        \_ Hello?  Certain costs are static no matter what the
                           object and since a keyboard switch isn't a commodity
                           item (only geeks want them), you're going to pay
                           more than something like the $50 inkjet printer I
                           got my mom.  She needs a shitty printer.  She
                           doesn't need two keyboards or a switch.  Econ 1...
                           econ 1... econ 1....
        \_ build ur own.
2001/3/9-10 [Uncategorized] UID:20728 Activity:nil
3/9     Are the meeting minutes not being posted to http://ucb.org.csua anymore?
        \_ No.
        \_ Yes.
        \_ Use a newsreader and see for yourself lame-ass.  If they're not,
           mail secretary@csua and don't bother the motd.
2001/3/9-10 [Computer/SW/RevisionControl] UID:20729 Activity:nil
3/9     why mehlhaff's motd,v not updating?
        \_ rcs idiocy.
        \_ Ask mehlhaff this shit.  It isn't a public service provided by
           root.  Duh.  Obviously it's mehlhaff's archives so fucking ask
           him.  Why do you dumbshits insist on asking about Eric's stuff
           on the motd everytime rcs chokes?  ASK MEHLHAFF TO FIX IT!  AUUUGHH!
           I've been dragged into Stupidville!  The natives are restless!
           \_ mehlhaff is dead.  -deleter
2001/3/9-12 [Computer/SW/RevisionControl] UID:20730 Activity:nil
3/8     CVS 'co' preserves the modification time stamp. However, 'update'
        does not. How do I make update preserve the modification time stamp?
        \_ Use the source, Luke.  That's what the whole open source movement
           is about.  Then you can contribute back to the community so we can
           all enjoy the benefits of your labor for free.  As in beer.
2001/3/9-11 [Computer/SW/OS/Solaris, Computer/SW/Unix] UID:20731 Activity:kinda low
3/8     If I compile a program without the -g option and it core dumps is
        there an actual purpose for this core file? It doesn't seem like
        you can debug it or anything.
        \_ man gdb
        \_ You can debug it, it's just harder
        \_ RU using Solaris? If yes, there was a recent online article about
           this from a Sun dude. I can try to find it again.
           \_ http://sunworld.com/unixinsideronline/swol-03-2001/swol-0302-traceback.html gives some clues. Use truss and snoop on reproducible bugs too.
              \_ Pretty neat. What are the equivalent Linux commands?
                 \_ strace
2001/3/9-14 [Computer/SW/Languages/Perl] UID:20732 Activity:nil
3/13    How do you change the logging behaviour of sudo after it has
        been installed?  (i want to log all actions taken as sudo).

#!/usr/bin/perl -w
# 531-byte qrpff-fast, Keith Winstein and Marc Horowitz
<sipb-iap-dvd@mit.edu>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
=5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d>>12^$d>>4^
$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval
        \_ So, what's the purpose of using "eval" here? -perl newbie
           \_ RTFM. most single-arg perl commands take $_ as the default arg
              if they're not given one. so eval at the end evals everything else,
              which is stored in $_.
                \_ I know what eval and $_ stand for. I did not ask this
                   correctly I guess. I am wondering what's the purpose of
                   doing this fancy '$_=".."; eval' stuff? Looks like
                   redundant to me.
                   \_ (1) obfuscation; (2) compression by being able to use "x"
                      instead of "pack+", which occurs frequently in the actual
                      executed code (i.e. note the s/x/pack+/g). -alexf
                   \_ just being clever about it.  It isn't strictly required
                      but it sure looks cool.
2001/3/9-10 [Computer/SW/OS/FreeBSD] UID:20733 Activity:nil
3/8     What are the performance implications, if any, of running linux
        binaries on BSD?
        \_ There's a FAQ on this, but the short of it is "they might run
           faster, they might run slower, you might not notice a difference,
           YMMV."  Note that this isn't a "production quality" solution even
           if the shit seems to run ok.
           \_ And running them natively on linux is "production quality"?
2001/3/9-10 [Computer/SW/Mail, Recreation/Pets] UID:20734 Activity:moderate
3/8     I am looking for a Calendar Server that will work with (open)LDAP
        as well as interacting with microsoft outlook clients (so that a
        person using outlook can see the schedules of others in their group).
        However, i don't want to use Exchange.  Is there something out there
        that does all this well? what?
        \_ Have you looked at MS Project? It might do this.
        \_ Might want to check out CorporateTime. Has a client for
           practically everything and an Outlook Connector for those
           who want to use Outlook to access. See:
            http://www.steltor.com
            \_ the outlook connector sucks if you try to use it for
               email..
                \_ everything about outlook sucks if you try to use it for
                   email
        \_ iPlanet.
                \_ He said "well".
                   \_ name something better.
                        \_ I didn't say there was better or worse.  I was
                           saying it doesn't do it "well" as requested.  You
                           can use 'cat' to write a novel, but it doesn't do
                           it "well".  Emacs or vi are the "upgrade" from using
                           cat to write a novel.  iPlanet is still at the cat
                           stage.  I shouldn't have to spell this out to a Cal
                           student.  Have things continued to decline over the
                           years?  Maybe too many "American Cultures" garbage
                           requirements getting in the way of learning and
                           thought.
                           \_ When cat was the only game in town, you had
                              to use cat. The only thing you've got now is
                              cat and you have to write a novel, WTF are you
                              going to do?!? I know, you're just not going
                              to write the novel, because your tools suck.
                              Yeah, that's it. iPlanet is the only game in
                              town, it may be cat, but its all you've got.
                              Suggest an alternative that works better or
                              STFU.
                                \_ Exchange works better.  Yes, I've used both
                                   extensively.  Have you?  "STFU" yourself if
                                   you haven't.  The original poster is just in
                                   an anti-MS whine.  There's a reason iPlanet
                                   \_ Exchange is shit. Total and complete shit.
                                      M$ couldn't code its way out of a paper bag
                                      to save its life. I've used iPlanet and
                                      exchange before. They both SUCK, but if
                                      iPlanet is cat, then exchange is cave
                                      painting.
                                      They *tried* to get it running at Cisco,
                                      with help from *M$* and it took months and
                                      still wouldn't work right. It was finally
                                      shelved. Many of us felt that management
                                      was total f'ed up to even try a shitty M$
                                      product. It was a total waste of time and
                                      money.
                                   is free.  You're getting what you paid for.
                                   \_ My original post was deleted, but heres
                                      the basic summary: Exchange is shit, its
                                      worse than shit. Cisco management wasted
                                      lots of $s and got M$ to help and still
                                      scrapped Exchange because it SUX! We told
                                      them it SUX but they didn't believe us.
                                        \_ Yes, Exchange sucks.  It's still
                                           better than iplanet.  Exchange is
                                           like ED.  iplanet is like cat.
                                           \_ If iPlanet == cat, then Exchange
                                              is akin to gorillas beating each
                                              other with sticks. Several million
                                              evolution is required for Exchange
                                               to stop sucking.
2001/3/9-11 [Computer/SW/OS/FreeBSD, Computer/HW/Printer] UID:20735 Activity:low
3/8     I'm trying to get my printer working, but every time I try
        writing to /dev/lpt0 I get a "device busy" error.  Is there any
        way to figure out what might have a hold on the device?
        \_ Some printers only work under Windows.
           \_ I think what you mean to say is, some (free) Unixes do not
              choose to support some printers, for one reason or another.
        \_ The printer is a Panasonic KX-PS600 that supports both GDI
           (Windows) and HP's PCL. I'm running FreeBSD.
        \_ echo a ^L or some ascii to the device and see what happens.
          \_ Read the post, dumbass.  He can't write to the device.
                \_ The post there now is not the post that was there before.
                   I can't help it if someone edits the shit after I've posted.
                   If you weren't stupid you might note the other posts above
                   answer along the same lines.  Thank you for trying though.
                   It's really cute when you use big words like "dumbass" yet
                   don't provide any useful hints or information yourself.
                   \_ "dumbass" is not a big word, dumbass.
                      "antidisestablishmentarianism" is a big word. "dumbass" is
                      not.
        \_ if freebsd, try lptcontrol -p.  -dpetrou
        \_ lsof
2001/3/9 [Computer/Companies/Apple, Computer/HW/CPU] UID:20736 Activity:nil
3/9     And you thought that Apple was a retarded paranoid company when
        it came to trademarks:
        http://www.theregister.co.uk/content/3/17454.html
2001/3/9 [Computer/SW/Security, Computer/SW/OS/Solaris] UID:20737 Activity:nil
3/9     I guess IBM joins M$ as a company whose platforms you can't trust
        for ecommerce:

        http://www.theregister.co.uk/content/8/17467.html

        Ever since they got on the "LinSUX" bandwagon, the IBM of old (the
        one whose information systems defended the governments of the free
        world) seems to be slowly but surely disappearing.
        At least there is still Trusted Solaris and OpenBSD.
2001/3/9 [Uncategorized] UID:20738 Activity:nil
3/9     Another link making the rounds.
        http://www.smalltime.com/dictator.html
2001/3/9 [Computer/SW/Languages/C_Cplusplus] UID:20739 Activity:very high
3/9     XOR is the same as || right? (i.e. exclusive or)
        \_ no. i recommend buying a copy of K&R --aaron
        What are ways to write "inclusive or"?
        \_ questions like these elicit good response following the bike shed
           principle.
            \_ I am unfamiliar with "the bike shed principle".  Also, i don't
                really care about the differences between XOR and ||.
                basically i just want to know short hand to write inclusive/
                exclusive or.  So that i can say "is A XOR B true?" or "is
                A IOR B true".  where, if A and B or true the answer to the
                A IOR B true?"  where, if A and B are true, the answer to the
                former is NO and the answer to the latter is YES.
                \_ RTFM you dumbass. What are you talking about? Are you
                   even asking about a programming language? Which one?
                        \_ NO I AM NOT.  If i was i would have specified.
                   You can say whatever you want but || is logical or in C/C++.
        \_ yes, get K&R, but in the meantime, a quick lesson.  in C/C++/Java:
                || : short-circuiting, logical, inclusive OR
                |  : bitwise inclusive OR; doubles as non-short-circuiting,
                     logical, inclusive OR
                ^  : bitwise XOR; doubles as logical XOR
2001/3/9-10 [Uncategorized] UID:20740 Activity:low
3/9     When I cut and paste my xterm the lines are all messed up. Why's that?
        \_ "all messed up".  That's a helpful description of your problem.
           I suggest that "your cut n paste is broken!" is the problem.
        \_ Are you doing this in vi with autoindent enabled?  Just a guess.
2001/3/9-10 [Computer] UID:20741 Activity:high
3/9     lookin' for purpose statement examples for computer science, thx
        \_ "Dewde!  Leik I wanna B a hakker!" got me in to Stanford.
           \_ "Dewde! Leik I'm MSCE certified and have wurked in the
              dot-com industry doing e-bizness, b2bi, b2c, and all that
              cool shit. Now unemployed cuz I didn't have any real skillz
              and played Q3A gamez all day so I want to go back to school
              and actually learn something"
        \_ I posted about this several weeks back and here is a URL that
           resulted from the ensuing discussions:
           http://www.cs.oberlin.edu/students/csmc/gradschool/sops.html
           I haven't written my letter of intent yet, but these examples
           put me in the right direction.
           Oh yeah, I'm planning to apply to the farm, but only because
           my company will pay. If I had to pay I'd go to Cal, UCSU or
           my company will pay. If I had to pay I'd go to Cal, UCSC or
           SJSU since I can't really leave the bay area at this point in
           my life.
           \_ What's UCSU?
              \_ I meant UCSC.
2001/3/9 [Computer/SW/Languages/Misc] UID:20742 Activity:high
3/9     two lines in a script:
        1.)   ls | grep something
        2.)   echo $?
 this ALWAYS returns 0 for success BUT if i just type 'ls | grep something'
        at the command line and then echo $?, $? will be 1 if 'something'
        wasn't matched.  What is causing $? to be 0 in the script when grep
        doesn't match?
        \_ this works fine for me; the script I tried echos 0 or 1 appropriately
2001/3/9-10 [Computer/Companies/Yahoo] UID:20743 Activity:high
3/9     http://biz.yahoo.com/rb/010309/business_toyota_recall_dc_2.html
        Glad I passed on that Camry.
        \_ We had quitters too in the revolution. We called them
           Kentuckyians.  I guess I'll just have to find Janie.
                          \_ should be: "Looks like I'm going to have to find
                             another little girl to be President.  What's your
                             friend Janey's number?"
           \_ Uh what?
              \_ I'm sorry. You see, when I get bored I make up my own
                 stories. Look! A butterfly!
           \_ No, not Janey!  She'll pack the Supreme Court with boys!
           \_ Who is "Janey?"
              \_ the girl who likes Milhouse.
                 \_ Nobody likes Milhouse.
                 \_ Who is Milhouse?
                    \_ Who is John Galt?
                    \_ Have you ever heard of this kid Milhouse?  He's a little
                       wiener...
                       \_ No.
        \_ Who purged the Hans Sprungfeld-George Washington joke?
           \_ it was the butterfly, I tell you, THE BUTTERFLY.
2001/3/9-10 [Uncategorized] UID:20744 Activity:nil
3/39    [restored]
2025/03/15 [General] UID:1000 Activity:popular
3/15    
Berkeley CSUA MOTD:2001:March:09 Friday <Saturday>