Berkeley CSUA MOTD:2002:August:05 Monday <Sunday, Tuesday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2002/8/5-6 [Computer/HW/Drives, Consumer/TV] UID:25494 Activity:kinda low
8/4     Anyone used the computer projector as a movie projector (add a TV
        tuner card, play DVD, etc)? How's the quality? Any recommendations?
        \_ Check http://www.avsforum.com
                \_ The above site is excellent.  I have a Sony 1270
                hooked up to a P3/800.  It rocks for watching DVD's,
                HDTV, playing games, etc.  120" diagonal screen. -ax
                        \_ i kick yerass anytime  -workout phreak
2002/8/5 [Computer/SW/OS/OsX] UID:25495 Activity:high
8/4     Should I be worried if my @HOME gateway changes mac addresses?
        \_ The firewall on your end or on theirs?  If it's theirs it's
           likely just a hardware upgrade.
           \_ Their end.  It happens every time I boot up.  I connect,
              and the gateway changes mac addresses right after. Just
              about every time.  And from one particular MAC addr
              to another...Like someone was sniffing DHCP traffic,
              waiting for someone to connect, and then inserting themself
              as my gateway.
        \_ @home is still around?
           \_ err sorry attbi
2002/8/5 [Uncategorized] UID:25496 Activity:nil
8/4     Why do so many .asf files on gnutella start with "!!_YEEHAA_!!_"?
2002/8/5 [Recreation/Computer/Games, Recreation/Sports] UID:25497 Activity:high
8/5     A while back there was a commercial of a video game and it has a
        tank chasing and shooting at snuggles, the fabric softner bear.
        Anybody remember the name of the game?  I'm trying to find the
        commercial.
        \_ 3DO, Battletanks or something
2002/8/5-6 [Computer/HW/Laptop, Computer/HW/Display] UID:25498 Activity:moderate
8/5     My friend says not to use blank screen as a screen saver on my LCD
        display because it actually stresses the LCD more (he says that it's
        naturally white). Is this really true?
        \_ http://docs.info.apple.com/article.html?artnum=88343
        \_ if it were "naturally white" then wouldn't it be white when it's
           turned off?  skip the screen saver and just have the LCD go into
           standby mode.
           \_ It is white because the LCD doesn't block any of the
              backlight. When turned off, the backlight is off, too.
              Turning it off or using DPMS is good, too.
2002/8/5-6 [Computer/HW/Display, Computer/Companies/Apple] UID:25499 Activity:moderate
8/5     How many people have a sexy 23" Apple Cinema display, 1900x1280,
        with a DVI to ADC converter?
                \_ I'd like to know as I'm thinking about getting one,
                   or a similar panel, but I hear it's too slow for games.  -ax
                        \_ the converter slow or the LCD slow?
                \_ Only games LCDs are too slow for are FPS, mebbie some
                   fast top scrolling RTS. I use 15" LCD fine on FPS and
                   don't suffer too much of a hit vs CRT, but it depends
                   greatly on the quality of opponent.
        \_ A friend of mine has one.  It's gorgeous.  I've seen him play FPS
           and other fast games on it with no problem.  Seen dvd movies on it
           too.
2002/8/5-6 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:25500 Activity:moderate
8/5     What is a good egrep regular expression for a IPv4 address?
        '^[0-9]*[.][0-9]*[.][0-9]*[.][0-9]*$'   ??
        \_ Really depends on how "good" you need it to be.  You could
           do [0-9]{1,3} if you were worried about clutter.
                \_ ([0-9]{1,3}\.){3}[0-9]{1,3}     BEAT THAT SUCKERS!!!
                   \- in my experience there are some inconsistnecies in
                      which egrep can do {} matchers ... at least between
                      sunos4, solaris and gnu. --psb
        \_ ED! er uh no... PERL!  PERL ON LINUX WHILE RIDING BIKE! YES!
2002/8/5-6 [Uncategorized] UID:25501 Activity:nil 57%like:26928
8/5     troll deleted by op due to lack of amusement.
2002/8/5-6 [Computer/SW/WWW/Browsers] UID:25502 Activity:high
8/5     Are there any browers that can disable popup and still run javascript?
        I think it's the javascript that does the poppping right?  Opera
        is the most customizable brower around and I don't see that option.
        \_ Mozilla?
           \_ ding!  i don't know that opera is "more" customizable then
              mozilla.
        \_ In Opera 6, hit "F12" and click "Refuse pop-up windows." You don't
           have to disable javascript.
           \_ mozilla is better, because you can disable "unrequested"
              pop-ups without disabling all pop-ups (which breaks a lot of
              stuff).  -tom
                \_ Yeah, I know what you mean, but mozilla is too slow.
                   Any way to make mozilla load faster?
                   \_ Runs fine for me on a p3-600.
                   \_ If you have lots of ram, enable quicklaunch. Otherwise,
                      not really.
                   \_ I've got moz1.0 on a p3-600 with tons of ram and quick
                      launch on.  Loading up is fast enough but display is
                      still visibly slower than ie6 on the same box.  I think
                      it's just slower.  Maybe they'll fix that in 1.1 or 1.2
                      or something.  Even slower its still better surfing with
                      all the anti-ad spam features than ie6 with a swamp of
                      popups and banner ad crap, imho.  If you want fast and
                      anti-crap features try web washer.  google it.
        \_ OmniWeb
        \_ I use Popup-Stopper from http://www.panicware.com It is GREAT!!!
           \_ Which version? Free or Pro or Companion?
2002/8/5-7 [Computer/SW/Languages/C_Cplusplus] UID:25503 Activity:very high
8/5     In ANSI C, assume a typedef of Foo for an UnsignedInt16 ,
        then assume that I declare a multiarray Foo foo[a][b] = {..}.
        How do I assign a pointer to foo? Do I do a Foo **bar?
        If Foo **bar then bar=foo doesn't seem to work.
        \_ References to an array name only decay to pointers for one
           level. So do bar = &foo[0].x
           \_ huh?  what the hell is x?
              \_ x is the first element of type Foo
              \_ x is someone slipping up with emacs.
        \_ This doesn't make any sense. A multidimensional array does
           not contain actual pointers to any of its elements, so there
           is nothing for bar to point at. If you do foo[0], this
           standard notation. Also, foo *bar can be assigned to bar = foo
           if foo is Foo[a]
           produced only a temporary pointer; getting the address of
           if foo is Foo foo[a].
           this is not a sensible thing to do.
           \_How so? Main has char **argv, and I can reference it using
           standard notation. Also, Foo *bar can be assigned to bar = foo
           if foo is Foo foo[a]. So why wouldn't there be an analogous
           expression for a pointer to a multidimensional array? If
           what you say is true, then is it impossible to reference a
           multiarray using a pointer? How would I go about passing
           multiarrays to functions then which would like to store a
           pointer to the multiarray?
           \_ your C-fu is lacking.  The declaration T foo[a][b] allocates a
              contiguous chunk of memory that's a*b*sizeof(T) bytes long.
              argv, on the other hand, is an array of pointers and is not
                                             \_ sorry, I misspoke.  I meant
                                                to say that it is a pointer
                                                to an array of pointers.
              a true multidimensional array.  The fact that you can
              dereference elements to both using [] operators is syntactic
              convenience.  Go read the comp.lang.C FAQ, section 6 in
              particular:
                http://www.eskimo.com/~scs/C-faq/top.html
                \_Yes, I know that foo[a][b] allocates a contiguous chunk of
                memory, so does foo[a]. What I have a problem with is the fact
                that foo[a] can decay into a pointer but not foo[a][b]. I
                read the FAQ, and I think essentially the problem is is that
                ANSI C provides no method of recursive pointer decay from
                a multiarray. I don't know why not, perhaps it has something
                to do with  compiler performance issues. So I suppose i
                the short answer is
                "no, it can't be done" and I solved the issue by dynamically
                allocating a multiarray using a pointer pointer.
                  \_ Why should foo[a][b] decay into a pointer?
              \_ Hmm, I learned C 12 years ago and I still find this section
                 of the FAQ very useful.
        \_ What you can do is Foo (*bar)[b]; bar = foo;
           \_ shouldn't that be: Foo (*bar)(b); bar = foo;
              \_ uh, he's not declaring a function pointer.
        \_ If the OP has their answer from the above would you please delete
           this thread.  I'm losing 1d4+1 sanity points everytime my eyes pass
           over this part of the motd.  thanks.
           \_ the first "1" in 1d4+1 is redundant.  unless you're using it as
              a placeholder, remove it, or you threaten a segfault in the rest
              of us.
              \_ No, that's how it's done.  When you publish your own game
                 system you can drop the "1" in front.  Until then you take
                 1d30+7 silliness points and are stunned 1d4+1 motd threads.
Berkeley CSUA MOTD:2002:August:05 Monday <Sunday, Tuesday>