Berkeley CSUA MOTD:1999:June:24 Thursday <Wednesday, Friday>
Berkeley CSUA MOTD
1999/6/24 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Perl] UID:16011 Activity:nil
6/23    Here's a question.  I'm trying to send and receive a large file from one
        machine to another.  To do this I've used a SOCK_STREAM with TCP
        protocol.  It works fine normally as I read away from the socket.
        However when I get transfer-encoding:chunked, for large files.  I get
        a portion of the file, but soon the sysread returns 0 bytes read.
        However its not done with the file yet, it never finishes, the socket
        stays open but it never sends the rest of the data.  I'm doing
        this all in Perl but C solutions will work too.
        \_ for large amounts of data you can end up reading only a portion
           of the data you want in one read call, and need to wait for more
           data to arrive (the sysread of 0 means no data currently in the
           buffer, but you might get some more in a few hundred milliseconds)
           \_ I thought of that.  So I looped the read until I got the chunked
                exit value.  No luuck I get an infinite loop.  Nothing ever
                comes in on the socket again.
                \_ Could be a problem on the send-side (not sending
                   subsequent chunks). Could be you're not properly
                   recognizing the 'chunked exit value' on the
                   receiving side (the bunches of bytes you read
                   won't necessarily be grouped as they were sent).
                   Could be a lot of things -- are you writing
                   both sides of the transfer? Is this HTTP/1.1?
                   Feel free to drop me an email w/ more details. -gojomo
1999/6/24 [Academia/Berkeley/CSUA/Troll/Aspolito] UID:16012 Activity:high
6/23    When you're in the shower and you happen to see some guys next to
        you surreptiously checking you out, what should you do?  (BTW, I'm
        a straight guy).
        \_ Be a tease. Lick your lips, and quickly turn your back to him.
        \_ Cum in front of him.
        \_ consider bisexuality
        \_ Lose 450 pounds.
        \_ Pee on their feet.  That gets em everytime!
        \_ Start masturbating vigorously.
        \_ if the sign says "Turkish Baths R Us" , don't go in...
        \_ stop showering in soda
        \_ give him a better view
        \_ ignore it and stop posting trolls
        \_ He was probably thinking "Damn, I didn't know they came that small."
           Don't worry, it happens to me all the time.  -ax
        \_ Walk over to him and inconspicuously slip him the hot beef
           injection.  -John
        \_ It means the other guy is probably gay and wants to jump you.
           Just don't fall for the get-the-soap routine.
        \- 2,4,6,8 ... the answer is litigate. --psb
        \_ drop the soap!
                \_ go away aspolito
                        \_ I'd have been more graphic -aspo
        \_ ask him if he's ever been double fucked by two black studs.
1999/6/24-25 [Transportation/Bicycle] UID:16013 Activity:nil
6/24    Massive bike ride tomorrow, 5:30 near Embarcadero BART
        First Int'l Bike Summer in SF this year:
        \_ didnt see anything about this on the website... ?
1999/6/24-25 [Computer/SW/Security, Computer/SW/OS/OsX] UID:16014 Activity:very high 66%like:16017
6/24    It's about time EECS instructional finally enforced an ssh only policy.
        Now for every other machine on campus to follow suite.
        \_ Funny, it's rare that we're in the vanguard.  You should check
           "finger @cory.eecs" though--lots of lusers still stuck with telnet.
           \_ What the hell is so hard about using ssh? ^telnet^ssh
                \_ Not everyone uses an OS that has ssh.  Not everyone has
                   an OS.  Don't be so OScentric.
        \_ I would love to use SHH -*BUT*- there is *NO* free ssh for windows
                I know you'll all say use linux, but I don't - so there!
           \_ Windows:
              Mac: --dim
                \_ TeraTerm? always has free stuff.
           \_ Why is ssh free for UNIX but not for Win or Mac? Is it a patent
              \_ porting stuff across unix tends to be very easy (ie. almost
                 nothing to do) whereas writing a port for Win or Mac is a
                 total pain in the ass to do.  Hence, people who do write
                 the ports ask for $$$.
                 \_ They must be evil for not doing it out of the GNUoodness
                    of their hearts and for the love of technology.
           \_ A free port at
Berkeley CSUA MOTD:1999:June:24 Thursday <Wednesday, Friday>