Berkeley CSUA MOTD:2000:April:12 Wednesday <Tuesday, Thursday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2000/4/12 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Perl] UID:17975 Activity:nil
4/11    question: if i declare (pseudo code):
        Interface1 *pInterface1;
        what do these return: &pInterface1 and *pInterface1?
        \_ &pInterface1 - the address of the memory location that holds
                 pInterface1
           *pInterface1 - the value stored in the memory location whose
                address is stored in pInterface1
           (since you didn't say assuming C - the answers would be very
            different in another language such as perl)
            \_ thanks, i really appreciate it. - comdude
           \_ wow, you people are fast.  I see unedited motd and when I edit,
              someone already wrote this.
2000/4/12 [Academia/Berkeley/Ocf, Computer/SW/Mail] UID:17976 Activity:high
4/11    What are the incoming mail (pop3) and outgoing mail (smtp) servers for
        Soda?  Are they both http://soda.CSUA.berkeley.edu?  And how do you find out
        in general for a mail server?
        \_ Yes, and you either read the docs or ask the system admins.
        \_ One more question: does the mail server require an SSL connection
        for either pop3 or smtp?
                \_ Nope.  smtp is only allowed from http://berkeley.edu machines or
                   to csua addresses though.
                \_ This explains a lot of things! Does this mean that I can't
                   use Soda as an outgoing email gateway if I'm using an email
                   client (such as Outlook, Eudora) on another network?  If so,
                   does anybody konw if that's also the case for OCF?
                        \_ The OCF used to also allow anyone using an OCF
                           return address to send mail - check with staff@ocf
                           to see if this is still true.
                   \_ It is true for just about everywhere. If mail servers
                      relay from anywhere to anywhere they get abused by
                      spammers. If you want to send mail from another network,
                      the people who run that network should give you a way to
                      send mail (the address of an smtp server; on Unix,
                      /usr/*/sendmail). If they don't you don't really have
                      much way of sending mail (short of hotmail et al). You
                      could always ssh into soda and send it that way. --Galen
                        \_ Yahoo lets you use them as an email gateway, but you
                           have to subscribe to "Yahoo Delivers" ... don't know
                           about Yahoo.
                           about Hotmail.
2000/4/12 [Transportation/PublicTransit] UID:17977 Activity:low
4/11    I need web site that lets you enter address A and address B in a
        particular city and tells you how to get there via public
        transportation.  That displays bus/bart/muni/whatever schedules
        and displays a map of the trip.  The works.  Does such a
        thing exists?  If not, can somebody at Yahoo get working on it?
              \_ use the infinitive.
        Thanks.
        \_ http://www.transitinfo.org for the schedules and maps, but
           no point to point info that i know of --oj
        \_ It's called a telephone.  Call the transity authority and they can
           help you plan it all out.
2000/4/12 [Academia/Berkeley] UID:17978 Activity:high
4/11    Irami Osei Frimpong - the stars
        \_ who is this? why is he mentioned here?
           \_ He was the idiot ASUC President that brought you Spitfire (and
              subsequently resigned in disgrace.  And his last name is
              misspelled above. -dan
              \_ Spitfire?
                 \_ Yeah, the ridiculous spoken word tour where pop culture
                    icons like Woody Harrelson and MTV's Kennedy speak about
                    drugs and self-responsibility.  Irami basically signed a
                    $25,000 contract for Spitfire to come to Berkeley without
                    getting senat approval.
2000/4/12-13 [Recreation/Activities] UID:17979 Activity:nil
4/11     1 50% off Northstar/Sierra at Tahoe
         1 Voided Adult Voucher for Kirkwood, cash in for full day pass
         Buy 'em off me. $10 each? Make offer. -=Aubie the Pimp
        \_ is there still good snow for skiing in Tahoe now?
           \_ http://snow.yahoo.com/snow/united_states/west/california
        \_ Last week it'll be decent.
           \_ I went to Alpine and Kirkwood last weekend. It was pretty
              bad...
              \_ Can always drive to Mt. Bachelor or Mt. Hood.  Snow still
                 exists there (not in ice-rink form).
2000/4/12-13 [Computer/Theory, Academia/GradSchool] UID:17980 Activity:very high
4/11    emarkp, ilyas, ali, are you guys in grad skool?
                \_ tell us about the stars ilyas!
        \_ I am not in grad school because I lack the grades and references
           to make it to a first tier school.  Thus, I am trying to get my
           foot in the door by doing something reasonably impressive in the
           industry. -- ilyas
                        \_ the stars! - Irami Osei Frimmpong
                \_ grad schools don't look so favorably upon most
                   industry experience. They want to see letters from
                   people they know in industrial research or academic
                   research (or so says Aiken...) Besides, ilya, I
                   always figured you more as the capitalist worker
                   exploitation type... hmm... ;-) -brg
                   \_ Industrial research is, unless you work at IBM, an
                      oxymoron.
                      \_ that's bullshit: at&t bell labs, hp labs, microsoft,
                         and of course the many biotech firms that have
                         been founded by research scientists with the intent
                         of doing research in a specific direction.  i won't
                         even mention all the major chemical companies with huge
                         research divisions, such as Dow.
                         \_ Okay, Microsoft research is an oxymoron.
                            \_ no, it's not.  they have hiret some badass
                               quantum computing theorists.  if you .ook
                               at the paters in phys rev a on quantum
                               information, alot of them come from microsoft
                               peopl.
                               \_ Quantum computing research is an oxymoron.
                                  And learn some damn grammar/spelling.
                            \_ Microsoft employs some of the world's best
                               AI researchers like David Heckerman, and
                               Christopher Bishop. -- ilyas
                               \_ Is that why those dancing paper clips
                                  seem so intellegent?
                   \_ Aiken is right.
                      \_ In that case I lose. -- ilyas
           \_ the industry is full of $$$!!! why the #*( would you go
              back 2 skool???
           \_ define first tier and second tier (first tier == top 5?
              second tier == the next 10 after that?)
              \_ first tier == { "Berkeley", "Stanford", "Carnegie Mellon",
                                 "MIT" }; // No particular order
                 second tier == { "Cornell", // VERY close to first tier
                                  "Brown", "Princeton", ... (there's quite
                                  a few and even if I tried to list them all,
                                  I'd miss one) };
                 -dans
                 \_ i'd say you should put Georgia Tech in there if you're
                    going to put CMU. the top 3, everyone says is Stanford,
                    Berkeley MIT.
                    \_ Georgia Tech doesn't come close to CMU or even Cornell.
                       And in reality, Stanford is considered top tier even
                       though schools like Georgia Tech, Utah, and UNC have
                       arguably better programs...
                 \_ It must be listed in alphabetical order!  Berkeley, CMU,
                    MIT, Stanfraud.  -- yuen
                        \_ What about CalTech?
        \_ why are you asking these people specifically? and you should
           sign your name if you want these people to respond.
        \_ I don't know why you're asking about me specifically.  But no, I'm in
           industry with a BA in CS.  -emarkp
           \_ well, you sound like a nweaver-wannabe and he's a grad stn
              \_ What does that even mean?  Do you mean that not using ad
                 hominem attacks makes me look like a grad student?  Small world
                 you live in isn't it?  (And sign your name.) -emarkp
2000/4/12 [Computer/SW/Languages/Java] UID:17981 Activity:kinda low
4/11    In Java is there an alternative to out.print
        if I wanted to display the result :
        "for(bleh;blhe;bleh) {out.print("blah" + blah)}"
        to the browser ?
        \_ if you don't want to be fancy, out.print puts it in the java console
           and you can look at that.  Otherwise start learning awt.
                \_ Thanks!
2000/4/12-13 [Computer/SW/Unix] UID:17982 Activity:nil
4/11    What's the command which lists colors which can be used with
        xterm -bg or xterm -fg?
        \_ xlscolors or xcolors or xcolor or cat rgb.txt
        \_ man
        M-x list-color-display. you can also use a tcl application like tcolor
                                --psb
        \_ You can use any hex combo: (e.g. -bg rgb:44/00/5f) or the colors
           usually stored in /usr/X11R6/lib/X11/rgb.txt or thereabouts.
           --dbushong
2000/4/12 [Uncategorized] UID:17983 Activity:nil
4/11    http://www.hotyellow98.com/uncleray/chupa2.jpg
2000/4/12-13 [Computer/SW/Languages/C_Cplusplus] UID:17984 Activity:moderate
4/11    C question: is the type "const char *" different from "char const *"?
        I faintly remember this being so.
        \_ #1 is you can't modify whatever is being pointed to,
           #2 is the pointer can't be modified
                \_ #2 should be "char * const"
        \_ These are syntactically identical.  You can remember how these
           declarations work by simply reading them backwards:
           const char * : pointer to char const
           char const * : pointer to const char
           char * const : const pointer to char
           -emarkp
           \_ this language is SO FUCKING broken. i went through the
              standard to figure out why "const char" and "char const"
              are the same, and it occured to me there there are a lot
              of ways to declare the same "cv-qualified compound object".
              We so desperately need a programming language that provides
              a nicer interface to c++.
              \_ Amen.  The fact that tim toady causes problems for me
                 every day.  It is SO FUCKING b0rken!
           \_ What does syntactically identical mean?  They produce the
              same parse tree?
              \_ he means "semantically"
2000/4/12-14 [Academia/Berkeley/CSUA, Computer/Networking] UID:17985 Activity:nil 62%like:17836
03/23   Upcoming CSUA Event:
        TOMORROW - Thursday April 13 - 5:30 PM - 306 Soda - Ian Goldberg
        A Pseudonymous Communications Infrastructure for the Internet
        Ian will discuss protocols for allowing anonymous and pseudonymous
        use of any IP-based service. The protocols he will be discussing are
        the basis of Zero-Knowledge Systems' Freedom
2000/4/12-16 [Politics/Domestic/California, Computer/SW/Unix] UID:17986 Activity:kinda low
4/12    screen-3.9.5 installed as screen.new -- it's not compatible with the
        old version, so I won't install it as screen until all the old screen
        processes are dead.  There's a list of new features (including split-
        screen support) in /csua/tmp/screen-3.9.5+idle/NEWS.  --mconst
        \_ what escape key combination have any of you found to conflict
           the least with existing programs?  C-a seems to be used quite
           often.  Also, is there a way to make the new shell start with the
           same terminal type as the shell that invoked screen (it always
           thinks the terminal type is screen, but I'd like it to be vt100
           or xterm, whichever one I started screen with).
           \_ I use CNTRL-D: alias screen="screen -e^Dd". For the term
              type I think that it is -T <type>. Just use a function:
              screen () {
                if [ -z "$TERM" ] ; then TERM=vt100 ; fi
                /usr/bin/screen -e^Dd -T "$TERM" "$@"
              }
              \_ Wow..  this person has scary ways of doing things that
                 will tend to break.  Please don't listen to them.  Use ^O.
                 Set it in your .screenrc.  Set your term to vt100 in your
                 .screenrc.   You'll be happy.
                 \_ What's wrong with Control-D? It prevents you from
                    accidentally logging out as a side effect. I prefer
                    xterm to vt100 since meta works correctly for
                    emacs -nw when term is set to vt100. Yes I mostly
                    use xterms.
                        \_ How do you wall???
                                \_ Did someone mention
                                   useless functionality? ;-)
                           \_ I never wall. On the boxes I admin, I
                              just kill everyone's processess
                              and then sync x 3 and init 5 (or 6) to
                              reboot.
                 \_ Hm, I use ^D as delete in emacs.  And ^O for various
                    other things in pine.  Any other suggestions?
                    \_ use a better mail reader
                    \_ emacs uses every key that exists and a few that don't
           \_ I use ^o ... other than it being oflush in telnet, it's
              unused. -geordan
           \_ I use the spacebar.  Since I'm only using the mouse for almost
              everything, this rarely conflicts.
2000/4/12-14 [Computer/SW/OS/Windows] UID:17987 Activity:low
4/12    Is there a way to make NT run a certain .BAT file everytime it boots?
        \_ yeah, what ever happened to autoexec.bat in NT?  I think it is still
           there right?
        \_ You can make your changes in autoexec.nt and config.nt located in
           c:\winnt\system32.
           \_ I think not.  From CONFIG.NT:
              REM Windows NT MS-DOS Startup File
              REM
              REM CONFIG.SYS vs CONFIG.NT
              REM CONFIG.SYS is not used to initialize the MS-DOS environment.
              REM CONFIG.NT is used to initialize the MS-DOS environment unless a
              REM different startup file is specified in an application's PIF.
2000/4/12-13 [Academia/GradSchool, Computer/SW/OS/Windows] UID:17988 Activity:moderate
4/12    Cal grad makes /. news!!
        \_ Not just a cal grad; it's spence!  -pld
        \_ XCF loser you mean.
        \_ link please?
           \_ Hmmm, just goes to prove not everyone reads slashdot
              http://www.slashdot.org
2000/4/12-13 [Politics/Domestic/911] UID:17989 Activity:nil
4/12    If my broker charged me $50 commission for buying 1000 shares of a
        stock, and then I sold 500 shares later and keep the other 500 shares,
        can I apply all of the $50 buying commission as cost to the 500 shares
        I sold on my tax return?  Thx.
        \_ probably, if you don't use it later when you sell the other 500
           shares.  -tom
        \_ Every example I've seen says no, that you calculate the gain on a
           per-share basis (including commission, averaged over the number of
           shares). -emarkp
2000/4/12-14 [Academia/GradSchool] UID:17990 Activity:kinda low
4/12    Similar to the post below-- is it a lot harder to get a Phd than
        a MS? Would it make more sense for ilyas to get a MS, then transfer
        to a Phd program?
        \_ Depends A LOT on the program.  Stanford MS == Vending Machine MS,
           put your money in, get your MS out, you don't even have to do a
           thesis.  At Berkeley, the MS program and the PhD program are almost
           identical, you just stop sooner with the MS program. -dans
           \_ do we have an answer from someone who's actually in grad skool?
           \_ The master's program is a LOT easier to get into at Berkeley,
              they don't let many people and most people with a master's are
              PhD dropouts. I'm not a master's student here but know 1/2
              people who are and that's what they generally say...
        \_ Just like you would expect, M.S. programs are easier to get into
           and good stepping stones if you're not sure or not yet
           qualified for the Ph.D. program.  If everyone loves you in the
           M.S. program they're going to want you to stay for the Ph.D., and
           then boot you out for your postdoc work.
2000/4/12-13 [Recreation/Media, Recreation/Dating] UID:17991 Activity:moderate
4/12    Just saw American Beauty.  Somebody told me that the name is that of a
        rose.  And then I realized that roses are in almost every single scene.
        Does anybody know of other symbolisms in the movie?  Thanks.
                \_ are you really this stupid?
        \_ oh yeah! Kevin Spacey wants to de-flower is daughter's friend.
        \_ oh yeah... Kevin Spacey wants to de-flower his daughter's friend.
2000/4/12-13 [Academia/GradSchool] UID:17992 Activity:low
4/12    If you haven't been in school for a while, how hard does the
        CS Subject GRE become?  What percentile do you need for a top
        tier school?  Second tier?  Third tier?
        \_ You need an application that says, "I am not a h0zer."  That
           means, you have academia people who can vouch for you, you've
           taken tangible steps toward research CS, and you were not a
           h0zer as an undergrad/working stiff.  After those
           requirements are met then you can get into a first tier with
           a 65 percentile comfortably.  When the academia people vouch
           for you they're saying "This person is not a h0zer and he or she
           reminds me of when I was young and promising."
           \_ Not that simple. -- ilyas
        \_ 1st tier=90% MINIMUM, 2nd tier=80%, 3rd tier=70%
           GRE General is also very important despite common perception.
           Also, your GPA still counts a big portion no matter how long
           you've been in the industry. That being said, delaying your
           grad school application will only make it harder for you to
           get in. Apply now when you still have the opportunity.
           \_ 3rd tier 70%?  2nd tier 80%?  Are you kidding?  Maybe if
              there are 5 schools each in your tier system.
        \_ i took GRE two years after graduation, and I actually had to
           spend a bunch of time on the subjects I hadn't taken. I don't
           think I would have had that time luxury if I had still been in
           school. Also, non-theory CS is pretty easy and you don't forget
           it once you learn it. So I studied 172 and 174 from books for a
           few months before CS GRE.  I did well.  You can too. -ali.
           \_ Electronic Behavior Control System.
           \_ this inspirational message brought to you by ali.
2024/12/23 [General] UID:1000 Activity:popular
12/23   
Berkeley CSUA MOTD:2000:April:12 Wednesday <Tuesday, Thursday>