Berkeley CSUA MOTD:2009:January:20 Tuesday <Monday, Wednesday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2009/1/20-26 [Computer/SW/OS, Computer/HW/Display, Computer/SW/OS/Linux] UID:52419 Activity:kinda low
1/20    when I do "cat /proc/sys/kernel/tainted"
        I got a single number "1"
        what does this mean?
        \_ I think this refers to whether you've got any non-open-source drivers
           loaded, but I'm not sure.
        \_ I think this refers to whether you've got any non-open-source
           drivers loaded, but I'm not sure.
           \_ Right.  "1" means you have at least one non-open-source driver
              loaded, which is probably what's causing your system crashes.
              You can run "lsmod" to see what's loaded -- look for "nvidia",
              "ndiswrapper", and "vmmon", which are some of the most common
              closed-source drivers.  If you don't see any of those, post
              your lsmod output somewhere and we'll have a look.
              \_ it's nvidia.  Every time my computer crashes is because some
                 UI things from compiz.  It is funny how a bad driver would
                 totally destory the percieved notion of stability of an OS.
                 I am downloading the latest driver now.
                                        -OP kngharv
                 \_ It's not funny, really.  Assuming that's the only third-
                    party kernel module you're using, there are exactly two
                    pieces of code on your computer that have the power to
                    crash your whole system: the Linux kernel itself, and
                    that closed-source nvidia driver you're loading.  That's
                    why the very first response to your question was "check
                    for proprietary drivers".  If your still get crashes with
                    for proprietary drivers".  If you still get crashes with
                    the latest nvidia driver, there are two things you can
                    do: report the bug to Nvidia and hope they fix it, or
                    stop using their closed-source driver and switch to the
                    (much slower, but stable) open-source nvidia driver that
                    comes with your system.
           \_ yep -- it should correspond with the 'tainted' designator in
              lsmod
        \_ I AM TAINT FREE
2009/1/20-26 [Computer/SW/Unix] UID:52420 Activity:low
1/20    I have a rather common shell-scripting problem, but I am not sure
        how to do it in csh/tcsh.  I want to check the ctime (last
        modified time) of a file.  If it is older than, let say, 1
        hours, do something, older than 3 hours, then do something +
        something else.  Any hints on how to do this?  do i need to
        convert it to epoch to perform such manipulation?  thanks
        \- find or perl
        \_ or stat(1)
        \_ find is an excellent tool for this, especially if you have
           access to a modern find.  Look at the -ctime and -mmin  options
           to it.
           \_ thanks. will work on "find."
2009/1/20-26 [Uncategorized] UID:52421 Activity:nil
1/20    Captain, My Captain, our fearful trip is done,
        our ship has weathered every storm the prize we sought is won!
        Captain O Captain, rise up and hear the bells.
        \_ THE FATHERS HAVE FALLEN, THE FATHERS HAVE FALLEN!
2009/1/20-26 [Politics/Domestic/Crime, Politics/Domestic/President/Bush] UID:52422 Activity:nil
1/20    George W. Bush, Greatest President Ever!
        \_ I want to try him for war crime and crime against humanity, then
           exile him to Iraq (outside the green zone) so he can enjoy the
           "progress" he made first hand... along with his neocon friends
2009/1/20-21 [Uncategorized] UID:52423 Activity:nil 53%like:52408
1/17    This may be a dumb question, but given a signal, how can I calculate
        \_ yahoo or MSN?  the issue on MSN is well known...
        its SNR? I don't have a simultaneous channel that recorded noise.
        Thanks.
2009/1/20-26 [Politics/Domestic/Election, Politics/Foreign/MiddleEast/Iraq] UID:52424 Activity:moderate
1/20    BAC -29%, WFC -24%, JPM -21%, C -20%, GS -19%, MS -16% BCS -42% STT-59%
        \_ The Obama Administration begins!
           \_ Hope!
           \_ Yes, clearly today's decline is the market reacting to Obama
              suddenly and unexpectedly becoming President.
        \_ The Death Star bursts into a supernova, creating a spectacular
           heavenly display. </sorry>
        \_ We've had three consecutive months of massive DEFLATION (CPI
           decrease).  Expect it to continue at least a few more months,
           followed by hyperinflation (as the Fed injects as much cash into the
           system as it can).
           \_ If you think we are really going to have hyperinflation
              you are either too stupid to breathe or don't know what
              hyperinflation means.
              \_ Hyperinflation means Weimar.  Granted, it may only be as bad
                 as the 70s, but the money supply has grown over 70% since the
                 bailouts started.  The current annualized rate of deflation is
                 between 12% and 23%.  See here for what happened in
                 Yugoslavia.
                 http://www.rogershermansociety.org/yugoslavia.htm
                 \_ Umm, are you trying to say that we're going to have that
                    kind of inflation here, or not? -!pp
                 \_ Umm, are you trying to say that we're going to have
                    Weimar inflation here, or not? -!pp
                    \_ I think it's about 50/50 either 70s or Weimar.
                       \_ In that case, you should borrow lots of money
                          and buy solid assets.  I personally think 70's
                          is as bad as it is likely to get.
                          \_ That's about what I'm doing.  But I certainly hope
                             you're right and I'm wrong.
                             \_ I cannot name even one country with a
                                functioning military that has suffered
                                hyperinflation. It is usually defeated
                                countries and occasionally a total basket
                                case with no friends and no army like
                                Zimbabwe.
                                \_ Rome circa 300 AD, and the Confederacy
                                   are two examples.
                                   \_ The Confederacy is a great example of
                                      how a country that is losing a war or
                                      has just lost a war often suffers
                                      hyperinflation. Rome is a good
                                      counterexample, I have to admit.
                                      \_ What cause hyperinflation in Rome?
                                         Wasn't it a change in coinage or
                                         something?
                                         \_ Yeah, good point. Rome kept
                                            debasing the currency.
                                \_ I'm not sure what a military has to do with
                                   it.  It seems to happen in places with
                                   unusally destructive economic policies.
                                   ie Zimbabwe destroyed the main engine
                                   of its economy.
                                   I'm not terribly worried about it here
                                   because Bernenke is very anti-inflation.
                                   While I think Obama's economic policies
                                   seem a little hare-brained, they aren't
                                   THAT wacky.
                 \_ It depends on what you define as "money supply." If you
                    include credit (and most economists these days do) the
                    overall money supply has actually gone down.
        \_ occam's razor:  news has leaked to the big brokerages that govt is
           amenable to wiping out equity in a de facto nationalization.  arthur
           levitt (former sec chair) did two bloomberg podcasts on this
           yesterday and today.
           \_ Also, observe what happened in England.
              \_ hell, even Krugman wrote a piece on this a couple days ago
                 \_ Which one, the bad bank one? "Wall Street Voodoo?" He
                    doesn't exactly mention nationalization, just says that
                    the TARP is a bad idea.
2009/1/20-26 [Computer/SW/Languages/Java, Computer/SW/Languages/Misc] UID:52425 Activity:nil
1/20    I've been using tcsh as shell program tool (i know, bad shell to
        do scripting).  One thing I've noticed when I extract xml file
        is that the variable type automatically change from
        integer/string to... almost an array-like data structure when
        the output of the xml key/value is more than one (it's more
        like a string separated by space, but I was very impressed as
        it is).  1. since *WHEN* did this happened?  or shell variable
        always behave this way?  2. I've notice that the first element
        of this "array" started with index of [1] instead of [0].
        This is rather different from c/java type of syntax.  is [0]
        reserved for something? or it's just a different convention?
        \_ I don't understand question 1. Tcsh is not strongly typed.
           It does have integers and strings, but that's about it.
           Are you talking about $FOO = "this is my string" versus
           $FOO = (this is my string)? For question 2, the convention is
           different, yes.
2009/1/20-26 [Politics/Domestic/Election] UID:52426 Activity:low
1/20    Obama overcame the biggest obstacle
        http://www.youtube.com/watch?v=V2CaBR3z85c
        \_ Yay! Obama's mother had a choice and made a choice! How
           wonderful that the Catholic Church supports choice now!
           \_ Pretty sure they supported it then as well.
              \_ Pfft. False. RCC has never supported Choice.
                 \_ Oh, I see the problem here, you're an idiot.  Carry on.
                    \_ And you're on drugs. When did the RCC ever support
                       Choice?
                        \_ The RCC always supported the choice between
                           keeping the kid and giving it up for adoption.
                           \_ Yay, humor!
Berkeley CSUA MOTD:2009:January:20 Tuesday <Monday, Wednesday>