Berkeley CSUA MOTD:2007:March:09 Friday <Thursday, Saturday>
Berkeley CSUA MOTD
2007/3/9-12 [Computer/SW/Languages/JavaScript] UID:45912 Activity:nil
3/8     Say you have a javascript object, how do you list all the elements
        in the object?
        \_ If memory serves: for (var prop in object) { ... object[prop] ... }
           - ciyer
           \_ I think that's basically correct, but you should verify in a
              book.  One gotcha to be aware of with this: you can use this to
              iterate through the elements in an array, but it's a really bad
              idea because it will break if anyone ever modifies the base
              Array prototype object.  prototype.js the popular AJAX library
              does just that. -dans
2007/3/9-11 [Politics/Domestic/President/Clinton] UID:45913 Activity:nil
3/9     Newt Gingrich admints extramarital affair during Clinton-Lewinsky
        probe: (
        \_ F*cking hypocrite!
2007/3/9-11 [Politics/Domestic/RepublicanMedia] UID:45914 Activity:nil
3/9     Cpl. Matt Sanchez, ex-Marine and Columbia University student,
        darling of the CPAC crowd, turns out to be a major gay porn star
        and escort:
        \_ Dude, that's so two days ago..
        \_ is the "Dirty Sanchez" named after him?
2007/3/9-11 [Recreation/Humor, Computer/HW/Drives, Consumer/TV] UID:45915 Activity:nil
3/9     I pulled out the Borat DVD from the NetFlix envelope the other day -
        pretty funny.  Also have an audio channel in Russian.
        \_ pretty overrated to me. a few funny bits, but lots boring too.
           \_ sorry, i wasn't clear - i meant the design of the physical DVD
              was funny.
2007/3/9-12 [Computer/SW/OS, Computer/SW/Unix] UID:45916 Activity:nil
3/9     > wc s2:
        wc: s2:51796: Invalid or incomplete multibyte or wide character
        \_ Short answer: "setenv LC_ALL en_US.iso88591".
           Long answer: soda uses Unicode by default now, so a single character
           can now be more than one byte.  This means a lot of commands don't
           quite work the way they used to -- here, wc is trying to count the
           number of (Unicode) characters in your file, and it's complaining
           because your file contains invalid Unicode byte sequences.  If you
           do want to use Unicode in general, but this particular file isn't
           Unicode, you can either use "wc -c" for a byte count or set LC_CTYPE
           to whatever the file's encoding actually is.  Or, if you don't care
           about Unicode and you just want all your old commands to work the
           way they used to, the setenv command above will disable Unicode
           completely and restore the traditional Unix behavior.  --mconst
2007/3/9-11 [Computer/SW/Languages/C_Cplusplus] UID:45917 Activity:nil 54%like:45865
3/9     When I start trn in a shell, I always get this:
        "*** glibc detected *** malloc(): memory corruption: 0x08091600 ***
        But when I run trn inside the shell buffer in emacs, the problem
        doesn't happen.  Any idea?  Thanks.
2007/3/9-12 [Science/Electric] UID:45918 Activity:nil
3/9     DC gun control struck down as unconstitutional by DC Circuit panel.
        Majority opinion holds that the 2nd amendment protects individual
        rights to hold arms, not simply collective militia rights
        \_ Leaving the definition of Arms still completely undefined.
           \_ Your rights related to the Bill of Rights should not be
              abridged for living in DC. Your rights as related to having
              representation should be, as DC is not a state.
2007/3/9-12 [Uncategorized] UID:45919 Activity:nil
3/9     Living with snipers
2007/3/9-11 [Academia, Academia/GradSchool] UID:45920 Activity:nil
3/9     Trinity College Dublin switches to gmail for all its student
        accounts: (
2007/3/9-12 [ERROR, uid:45921, category id '18005#6.04625' has no name! , , Politics/Domestic/RepublicanMedia] UID:45921 Activity:moderate
3/9     NV Democrats are pussies.
        \_ Didi's comment is .... interesting.
        \_ The ex-debate is no longer worthy of discussion.
        \_ Yeah, listening to your constituents makes you a pussy!  Thank god
           the Republicans are the kind of real men who know what's good for
           the rest of us! -dans
           \_ dans, what are your political views?
              \_ They're difficult to sum up briefly.  Buy me a coffee some
                 time and we'll chat.  Also, I find that I am increasingly
                 less concerned with what an individual believes than I am
                 with his or her ability to execute effectively. -dans
                 \_ executing dans sounds like a good start
                 \_ I am too inimitated to face you but I want to learn
                 \_ I am too inimitated to face you but I wish to learn
                    from you.
2007/3/9-12 [Politics/Domestic/President/Clinton] UID:45922 Activity:kinda low
3/9     My memory sucks.
        Was there a big debate years ago about whether a special
        prosecutor is able to call a sitting president to testify?
        How did Kenneth Starr manage to get Clinton on the stand
        to testify in his investigation of Whitewater, then ask him
        non related Whitewater questions like "Have you inserted
        a cigar in the vagina of a woman not your wife?" and "Please
        list the names and SSNs of every woman you have had an affair
        with in the last 10 years, ok tnx".  I would think that if
        a special prosecutor tried to get Bush on the stand now
        holy hell would break loose.
        \_ The original Lewinsky testimony had nothing to do with
           Whitewater or Starr. Clinton was testifying in a civil case
           for sexual harassment brought by Paula Jones.
           \_ Really?  Starr was able to force the sitting president,
              Clinton, to come on down and testify in a pretty minor
              sounding civil case?  Not to demean sexual harrasment
              cases, ok fine I am demeaning them, who cares right now.
              Can you imagine any prosecutor trying to force gwbush
              or Cheney to do such a thing?  I think Cheney would
              blow a valve laughing.  I'm not saying you're wrong,
              I just don't remember the details anymore.
              \_ Read again. Starr (nor any other prosecutor) had nothing
                 to do with it at that point. It was a civil case.
           \_ which, should be noted, was thrown out for lack of merit.
              \_ As the Plame leak should have been as well.
                 \_ I think it became a case of "I am prosecuting
                    you for lying to various branches of the
                    government and giving me some bullshit story that
                    you didn't know Plame was an agent when we are all
                    adults and we know full well Cheney is sending you out
                    to tell reporters this little tidbit", instead of
                    admit it's really hard to keep it all in your head,
                    a mighty river of bullshit has been spread.  I'm more
                    pissed off about the fact that any undercover ops
                    that Plame was involved with now had to be dismantled,
                    and no one seems to care.
              \_ Funny, I don't remember that and can't find anything to
                 verify that.
                 \_ Are you daft?  Google("paula jones" merit)
                    \_ Are YOU daft?  She was appealing that decision when
                       Clinton settled with her.
        \_ FYI, Ken Starr was an Indepedent Counsel and the law that
           authorized his appointment was not renewed by Congress in
        \_ FYI, the Indepedent Counsel law that Ken Starr was appointed
           under lapsed in 1999.
2019/04/20 [General] UID:1000 Activity:popular
Berkeley CSUA MOTD:2007:March:09 Friday <Thursday, Saturday>