Berkeley CSUA MOTD:2002:August:15 Thursday <Wednesday, Friday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2002/8/15 [Computer/SW/Security] UID:25563 Activity:very high
8/15    I am familar with SSH1 but just put SSH2 on my computer.
        With SSH1, I know I put the contents of his identity.pub file in my
        authorized_keys file.  With SSH2, what is the analogous procedure?
        Do I do something with the snippet that begins
        "---- BEGIN SSH2 PUBLIC KEY ----" which he sent me?  Where do I
        put that on my server?  Thanks!
        \_ It depends on what kind of keys you use (SSH1 or SSH2 keys),
           what client do you use, and whether the server is running
           openssh or commercial sshd. In case of soda, you have to upload
           your public key to your account, convert it to the format the openssh
           understands using ssh-keygen command and then append it to your
           .ssh/authorized_keys2 file.
           \_ I think I need to add something in the .ssh2 directory.
              I am running with "SSH-1.99-2.4.0 SSH Secure Shell".
              \_ yes, consult the ssh2 man page
              \_ place the public key (the entire file from '---- BEGIN...'
                 to '---- END SSH2 PUBLIC KEY ----' in a file under .ssh2
                 then create a .ssh2/authorization file containing the
                 line 'Key pubkeyfilename' (where pubkeyfilename is the
                 name of the public key file you just created) - max
2002/8/15 [Computer/SW/Languages/Java] UID:25564 Activity:nil
8/15    YOU WILL BE ASSIMILATED
        http://csua.org/u/165
2002/8/15 [Recreation/Media] UID:25565 Activity:nil
8/14    http://csua.org/u/164
2002/8/15 [Computer/HW/Laptop, Computer/HW/Display] UID:25566 Activity:high
8/14    How's the backlight of the LCD lit up? Is it just a florescent light?
        \_As your words echo through the ether, it is picked up by
        a race of aliens in a distant galaxy. Suddenly, "How's the backlight
        of the LCD lit up?" causes major schisms amongst the leading
        linguists of their society, inevitably leading to constant socio-
        political upheaval over millenia. This culminates into a global
        thermonuclear war which annihilates the whole planet. Congratulations,
        you have just destroyed a whole planetary civilization. Please be
        more careful with your words in the future.
2002/8/15 [Computer/Networking] UID:25567 Activity:very high
8/14    Has anyone ever used any Netscreen hardware?  I've been offered the
        use of a Netscreen 100 on indefinite loan, and I was wondering if
        it's worth the time/effort required to setup and experiment with.
        Comments/Advice on ease/difficulty of setup as well as evidence
        (anecdotal or otherwise) of the security record for Netscreen
        equipment would be much appreciated.
        \_ We evaluated Netscreens for my last (big) client.  They decided
           to buy them.  Not a good idea.  Take it if it's free--however,
           if you want to do anything reasonably advanced with them, they
           are close to useless.  This includes inter-platform IPSEC,
           debugging, whatnot.  You are far better off with a *nix running
           IPFilter for anything involving customization.  Netscreens have
           a cute web gui, and that's about it.  As below, if the price is
           right, take it--but for these, free is the only right price.  -John
           \_ Which devices have you been trying to interoperate them with?
                        -mlee
        \_ I played with two Netscreen 5 (set up a home-to-office VPN last wk)
           Not sure about the 100. Worth it to play with it, esp. if its free.
           Everything is browser-based now. Piece of cake.
           As for security, reliability and performance, I am still testing.
        \_ as a former Netscreen "consultant" and reseller... they are GREAT
           for simple stuff... crazy easy to configure and manage... but when
           it comes down to flexibility and ease of doing some crazy stuff with
           the security policy and address translation they SUCK ASS. when it
           comes to VPN... they suck ass and suck some more.. Netscreens
           are cheap and simple. use them for simple/small environ.. -shac
           \_ If you're talking about the messy UI configuration of VPNs,
              they have remedied in ScreenOS 4.0.  -mlee
        \_ I used an NS100 in an office.  Worked fine there.  Put the mail
           server in dmz, the rest in the 'trusted' zone (as if I trusted any
           of the stupid bastards at that company) and the internet is the
           untrusted zone.  Does all the basics really easily.  Free is a
           good price for it.  Keep it.
        \_ On the same token, anyone have opinions on Checkpoint FW-1 vs.
           a Cisco Pix?
           \_ Pix is very similar to other Cisco stuff as far as configuring
              it.  If you know Cisco routers, you know Cisco pix.
              \_ Cisco Pix shouldn't even be in this discussion.  -mlee
2002/8/15 [Industry/Jobs] UID:25568 Activity:nil
8/14    All these bickering over degrees and jobs fails to take into account
        into one critical fact:  most jobs people get is through personal
                                                      \_ ^H^Hare
                                                         jobs is a plural noun
                                                         -motd grammar nazi
        connections.  Only newgrads have to go into an interview "cold".
        For people with experience, this is hardly ever a problem.
        \_ correction: most *good* jobs.
        \_ I think you will find that, as the economy fails, even people
           with experience will be forced to interview cold more often. We've
           had almost ten years where that was not the case so you may not
           have seen this for yourself, yet. -- wrinkled old crone
        \_ No.  Most tech people don't meet enough people in a position to
           hire them later for something else.  For the most part, knowing
           someone will get you past HR and that's it.  You're still cold in
           the interview.
        \_ Shucks.  I guess I imagined my 2nd job out of school.  Please, make
           sweeping assertions like this and you don't have a chance of being
           credible.  Maybe that's why you're still in school.
           \_ maybe you're an antisocial loser that doesn't have any
              personal skills?
              \_ Or maybe I left the Bay Area before the economy imploded.
        \_ I jumped ship with my VP to my second job, so no HR nor interview,
           100% personal connection.  I posted to http://dice.com and got my third job
           thru HR and interview, so no personal connection nor head hunter.
2002/8/15-16 [Uncategorized] UID:25569 Activity:high
8/15    Given a line with xy coordinates, how can you tell if that line
        will overlap a rectangle if both xy points fall outside the
        rectangle?
        \_ google "method of separating axes" -pld
        \_ Easy anwer: check if the line interests any of the rectangle's lines
           \_is that the only solution? seems like an inefficient method.
             \_ Maybe compute dot product of line and two perdendicular sides
                of the rectangle and depending on that call some particular
                case of the solver? Or maybe just go with the assumption
                if the line intersects any *two* edges then it goes inside,
                so basically solving the line simultanously against each side.
                there clerely is some optimization that can be done.
                \_ What is the underlying problem?
        \_ Turn each edge of the rectangle into an infinite line,
           and you cut the plane into pieces numbered 1-9.  You can figure
           out the easy case where the target line is exclusively on one
           side of an edge.  The choose an edge and figure out if the
           target line is inside or outside the edge... parametrically it
           amounts to about 4 multiplications and 8 additions, and you can
           improve on that.  Ok, motd god just told me my lock time was up,
           so take 184.
           \_ Try me -t 1200
        \_ Draw on graph paper and see.
        \_ Is it a rectangle or square?  Is it aligned with the coordinate axes
           or not?
2002/8/15-16 [Computer/SW/Languages/Perl] UID:25570 Activity:kinda low
8/15    To the sodan who warned me about Perl CGI...What weaknesses are there
        and how do I defend?  Can you point me to a book/url/etc. for more
        information?
        \_ stfw
           http://www.google.com/search?q=perl+cgi+security
           \_ Sorry...assumed there was something specific.
2002/8/15-16 [Uncategorized] UID:25571 Activity:insanely high
8/15    MOTD poll: Anyone here drives one of those exotic car with a six-figure
        MSRP?  I'm day-dreaming about my next car, and saw that some of these
        cost as much as my house.  How did you make your dough for it?
        Ferrari         :
        Lamborghini     :
        Aston Martin    :
        Well Endowed    : .
        Bank robbery:   : .
         \_ is that how you made your dough or an excuse for your shitty ride?
        Bank robbery:   : .
        \_ A friend at UNC did it by selling a company to Sun and being
           a generally impressive guy.  He has since crossed the line
           from Ferrari collector to Ferrari shop owner.
        \_ what about a used one?
           \_ That counts too, but how much did it cost?
           \_ That counts too.  How much did it cost?
              \_ I was just suggesting that you might look into
                 more afforable used ones.
        Insider Trading: .
2002/8/15-16 [Computer/SW/Editors/Emacs, Computer/SW/RevisionControl] UID:25572 Activity:very high
8/15    Dear motdedit (me) maintainer-- love the new system.  How about a
        warning message from the motd god when there is 1 minute or 30
        seconds left?
        \_ Does me still tell you who has the lock? It doesn't look like it
           from my negligible grasp of perl.
           \_ me never did.  motdedit may have, but its locking didn't work
              correctly.  When i have some spare time, I'll see if I can't
              throw this in there.  or if you wanna do it, email me the changes
              --scotsman
              \_ Were it only that I was tall enough...
        \_ Rather cluttered.  If you're looking to post something long,
           edit it in another file first, then put it in and format when
           you get your lock. Oh, and the dirty little secret.  If you
        \_ Does me still tell you who has the lock? It doesn't look like it
           from my negligible grasp of perl.
           use vi, and get a lock on the file, me will respect that lock
           for as long as you're editing.  Just don't abuse it.  --scotsman
           \_ What about emacs?
              \_ emacs doesn't lock the file.  emacs doesn't even touch the
                 actual file after it makes its temp copy.  This is why me
                 was written in the first place. --scotsman
                 \_ But when you try to save the file after typing your stuff,
                    emacs checks the timestamp and warns you if you're about to
                    overwrite someone else's changes.  So you can re-load the
                    file and add your stuff again before saving it.  (Of course
                    some jerks will tell it to go ahead and overwrite anyway.)
                    \_ Indeed.  motdedit saves people from having to make that
                       decision
                       \_ I see.
        \_ Think and type faster.
        \_ vi ; diff ; cp.  The Real Motdedit For Real Motdeditors(c)
           \_ ED! ED! ED is the STANDARD!  Revision control system.
        \_ cvs checkout; commit;
           \_ pfft!  vi;diff;cp.  Death to ED!  Death to cvs!
2002/8/15 [Politics] UID:25573 Activity:nil
8/15    Has anyone on soda experienced fat discrimination in school or the
        workplace?  I've been reading about discrimination against fat
        people.  Children are more likely to discriminate against a fat
        person of the same race than a normal person of a different race.
        Stuff like that.  Comments?
        \_ I discriminate against fat people.
        \_ I'm lighter than average.  I've been discriminated against, singled
           out, called names, asked rude questions.  BTW, boo-fucking-hoo.  Get
           over it, fat boy.  Eat less.  --skinny dude
2002/8/15 [Transportation/Bicycle] UID:25574 Activity:high
8/15    Stolen from CL for the Zen bicycle freaks among you:

        A Bicycle Zen Koan, for your edification and amusement: A Zen Teacher
        saw five of his students return from the market, riding their
        bicycles. When they had dismounted, the teacher asked the students,
        "Why are you riding your bicycles?" The first student replied, "The
        bicycle is carrying this sack of potatoes. I am glad that I do not
        have to carry them on my back!" The teacher praised the student,
        saying, "You are a smart boy. When you grow old, you will not walk
        hunched over, as I do." The second student replied, "I love to watch
        the trees and fields pass by as I roll down the path." The teacher
        commended the student, "Your eyes are open and you see the world." The
        third student replied, "When I ride my bicycle, I am content to chant,
        nam myoho renge kyo." The teacher gave praise to the third student,
        "Your mind will roll with the ease of a newly trued wheel." The fourth
        student answered, "Riding my bicycle, I live in harmony with all
        beings." The teacher was pleased and said, "You are riding on the
        golden path of non-harming." The fifth student replied, "I ride my
        bicycle to ride my bicycle." The teacher went and sat at the feet of
        the fifth student, and said, "I am your disciple."
        \_ encore! cool!  (What is "CL"?)
2002/8/15-16 [Computer/SW/Languages/Perl] UID:25575 Activity:moderate
8/15    I'm looking for details on an old ACM publication.  It was something
        about "ah-ha!" programming.  It was two small, slim books but had some
        great stuff in it about how to re-think coding problems and write
        smart/fast code.  Anyone have any idea what I'm talking about?  I'd
        like to buy a copy of both books but I don't know the name.  Thanks!
        \- not programming perls and more programming pearls?
           \_ oh that sounds familiar.  thanks!  back to amazon again.
           \_ Yes.  That was exactly it.  Big thanks!
              \- oh yes PP and MPP are good books. is bentley still writing
                 a column ? the csua does/used to own them. and that should
                 be "ok tnx". i think CODE COMPLETE is an interesting book
                 too.
2002/8/15-16 [Health/Men] UID:25576 Activity:high
8/15    Why do people keep deleting my troll?!
        how big a penis do I need to have in order to
        walk around the locker room naked?  I recently saw a guy with a
        smallish penis and he obviously didn't care.  I thought that was
        kind of embarrassing.  If you're going to show it at least show
        something worth looking at.
2002/8/15-16 [Politics/Domestic/California] UID:25577 Activity:moderate
8/15    When are strawberries in season?
        \_ Depends where you live, and what sort of strawberries.
           In CA, I'd say late may thru June.  Some types of strawberries
           bear all summer, though.
           \_ You can usually get about three good crops through the summer
              months. You should be able to find some now.
              \_ This his is in CA or in CA-like climates. In central Russia,
                 for instance (the only other agricultural setting I know
                 well), there's only one usable season, circa first 3 weeks
                 of June. -alexf
2002/8/15-16 [Recreation/Computer/Games, Recreation/Sports] UID:25578 Activity:nil
8/15    ESPN Classic is showing the 1982 Big Game again on Saturday, 9-11 a.m.
        Is someone gonna record it and digitize a good quality version of
        "The Play"?
        \_ What's the significance of that year's Big Game?  I was too young
           back then.
           \_ "The Play."
              \_ Five laterals and one trumpet player.
                                        \_trombone
           \_ The Play plus John Elways last college football game?
                The stanford band getting trampled on the field as well.
              \_ The best part is hearing Elway whine about Cal ruining
                 the end of his college career. Bwahaha!
2017/09/22 [General] UID:1000 Activity:popular
9/22    
Berkeley CSUA MOTD:2002:August:15 Thursday <Wednesday, Friday>