Berkeley CSUA MOTD:2002:October:17 Thursday <Wednesday, Friday>
Berkeley CSUA MOTD
2002/10/17 [Computer/HW/Laptop] UID:26216 Activity:high
10/16   Anyone ever tried one of the thinkpad laptops with higher lcd
        resolution? (e.g. T30 with 1500x1400) Is it useful/better, or does
        it only cause headaches w.r.t. non-standardness? Thanks - mds
        \_ why would it cause headaches?  A pixel's a pixel.  -tom
           \_ Hmm, maybe "hassles" is a better word than "headaches"
              Basically, I'm just wondering if it's worth the extra
              $$ - mds
              \_ Should be fine, really.  You'll have to set up your
                 windows a little differently than usual, but the more
                 space the better, I always think.  -tom
                 \_ The original poster may be concerned of the
                    readability of text with increased dots/inch.
                    if you set the font size larger, the fonts
                    will be more readable, but end up taking up
                    more screen estate.  End result is a zero-sum
                    \_ except that it isn't: the resolution
                       is higher: clearer text.
                       \_ yes, it's worth the money. using
                          1400x1050 and love it.
        \_ BTW, Acrobat 5 has the new feature called "CoolType" specifically
           for LCD screens.
2002/10/17 [Computer/Networking] UID:26217 Activity:high
10/16   I'm using a cable modem for net access on a computer running
        RH 7.1 linux.  The cable company hands out dynamic IPs via
        dhcp, but I want my IP to stay constant so I can run a webserver.
        How do I force my computer to update its dhcp lease?  I tried
        using /sbin/dhcpcd -n, but that didn't change my
        file.  Thanks.
        \_ go get dsl.
           \_ you get PPPoE and dynamic IPs with regular DSL.
                \_ not if you go DSLExtreme (same price as "regular" crap DSL)
                   \_ you missed my point, which was
                      "say what you mean, and mean what you say."
        \_ Are you dorks still doing the "it doesnt work w/ cable modem" bs?
        \_ How is forcing your computer to update its dhcp lease going
           to keep your IP constant? Also, I think ATTBI blocks port 80.
           get a DSL that will make this easy.
           \_ ATTBI blocks *nothing*.  Nonsense.  I've had the same IP from
              them since they bought my part of @home.  1.5m down/256kbit up
              with dhpc assigned but unchanging IP for $45/month.  Top that.
              Oh yeah, down time so far with AT&T is *zero*.
           \_ Renewing the lease keeps the same IP as far as I can tell.  The
              problem is that if I wait until the lease expires before I
              renew, and a timeout occurs because the network is slow, then
              by the time I renew I get another IP.  This doesn't happen
              often (maybe once a week or so), but it is still annoying
              since it forces me to change my DNS entry. - OP
              \_ DHCP is supposed to give you the same IP under the scenario
                 you describe.  If not then they broke it at their end or
                 your client is woefully stupid.  Put a static IP address on
                 your end and just run your dhcp client via cron and throw
                 away the response.
        \_ Normally (I think Windows does this), you request to renew the lease
           after the "halfway" point. e.g. if you have a 4 day lease, you ask
           to renew after 2 days.
2002/10/17 [Consumer/TV] UID:26218 Activity:nil
10/16   What do you use?
        Tivo:           ..
        VCR:            ...
        Digital Cable:  .
        Satellite:      .
        Analog Cable:   ..
        Rabbit Ears:    ..
        RealVideo:      .
        Just a regular antenna with no VCR: .
2002/10/17 [Computer/HW/Laptop] UID:26219 Activity:low
10/16   Just installed a fresh Debian 3.0 onto my Thinkpad 240X.
        I'm having problem with suspending using apmd, basically
        when I suspend apmd immediatley resumes again.
        See ~jhs/apmlog for syslog info. Any ideas? Have googled,
        nothing obvious shows up. Thanks!  -- jhs
        \_ I have problems suspending my Toshiba 460CDX laptop with X
           "bios damage" occurs. X is to big to fit into the BIOS memory
            somebody told me. I'm curious what you find out what you learn.
        \_ I run apmd under FreeBSD 4.6.2 on my Stinkpad X20 just fine;
           I barely ever shut it down, instead just closing it mostly.  I
           think mine's version  -John
2002/10/17 [Uncategorized] UID:26220 Activity:low
10/16   interesting craigslist ad. should get banned soon (6:47pm).
        \_ and by interesting, you mean...  whatever...
        \_ why should it get banned? everyone else is offering to trade
           a "massage" too -shac
        \_ exchanging sex for money is prostitution and is illegal in CA
           but what about this kind of bartering? is it legal?
           \_ This person is not offering sex, so your question is moot.
              Look at some of the world series tickets offers. Some of
              them are racier.
2002/10/17 [Uncategorized] UID:26221 Activity:kinda low
10/17   Anyone know of the difference between a regular PLL and a spread
        spectrum clock generation PLL?  What part makes it different?
        \_ try asking abou the PLO; you'll get more responses.
2002/10/17 [Computer/SW/OS/Windows] UID:26222 Activity:nil
10/17   Llamasoft, makers of furry games.  (And tempest 2000)
        \_ Have you just never used a web browser before or do Windows
           browsers just let you use back slashes?
           \_ windows browsers let you use backslashes.  now you know.
2002/10/17 [Computer/SW/OS/Windows] UID:26223 Activity:high
10/16   What's the difference between the way win98 does threads vs.
        Win98 doesn't seem to have a real threading system or something.  Test
        code on Win98 runs "jerky" but the same on the more advanced versions
        runs smoothly and handles threads as I'd expect.
        \_ I thought Win98 has preemptive threading for Windows apps while
           Win3.1x doesn't.  (Don't know about Win95.)
        \_ They both have preemptive multitasking but NT is just better.
           I think 9x has 16 bit code in the kernel and stuff.
2002/10/17 [Uncategorized] UID:26224 Activity:high
10/16   How do you say Carlo Sequin, "see quen?" "say quin?"
        \_ IPA: /seka~'/
        \_ "say can"
           \_ I've heard it pronounced "say kawn" by some of his grad students.
              \_ are these the same people who say "moo-lawn rooj"?
                 \_ Heh.  I have no clue, but it wouldn't surprise me.
           \_ This is what he writes on the board during the first
              184 lecture. Whether or not this is a simplification
              because he doesn't care that much is debatable. -bz
        \_ "say ken"
           \_ "say KE(n)" (as IPA above, the "n" is silent)
              \_ that sounds horribly awkward. what nationality is he
                 anyway? in spanish, it should sound more like "say keen".
                 \_ It's French.
2002/10/17 [Uncategorized] UID:26226 Activity:nil
10/17   Who do I write if I want to ask someone to add "" ?
        thank you, hahnak
2002/10/17-18 [Academia/Berkeley/CSUA] UID:26227 Activity:moderate
10/17   Follow up on fagdaddy street. /csua/tmp/ulysses/map.txt from
        somebody who used to work at Etak.
        \_ hey ace that directory is private
           \_ Whoopsie. All better now. -- ace
              \_ The dir is empty!
        \_ cool, thanks.
2002/10/17 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Perl] UID:26228 Activity:nil 72%like:26236
10.17   Primary language used:
        java: .
        c: ..
        c++:  .
        perl: .
2002/10/17 [Computer/SW/Unix] UID:26229 Activity:nil
10/17   How can I take two files, and put only the common lines in a third file?
        Is there some easy unix way? Alternatively I would like to just merge
        the two files but without a third file as a baseline I can't use 'merge'
        \_ man comm
2002/10/17-18 [Uncategorized] UID:26230 Activity:high
10/17   When ads and newspaper stories don't mix:
        \_ Good lord, that's just...awful.
2002/10/17-18 [Politics/Domestic/California] UID:26231 Activity:high
10/17   Deregulation is good for you, just trust us:
        \_ nonsense.  California never deregulated.  If you don't know the
           *very* basic facts that were all over the newspapers then give it
           up, trollboy.
           \_ Name an industry that is deregulated then.
              \_ Duh, there aren't any.  Some are more regulated than others
                 but what the numbskulls in CA did was nothing even remotely
                 close to deregulation.
2002/10/17-18 [Science/GlobalWarming, Politics/Domestic/President/Bush] UID:26232 Activity:high
10/17   Rumsfeld sez: North Korea has Nukyoolar weapons.
        \_ Someday the words "nuculous" and "nucular" will be in Webster.
        \_ You know, in the past few months, I've heard a number of high-level
           leaders say "Nukular"--members of congress (R and D), military
           leaders, etc.  I've come to accept that it's dialect not intellect.
           \_ But when your speech writer explcitly spells the word "nuclear"
              on a sheet of paper, you would think that the speaker would, at
              least, try to pronounce it phonetically.
              \_ You'd think that but you'd be wrong.  Take a few basic cogsci
                 courses on vision, language, and memory.
              \_ How do you pronounce February?
                 \_ /fEbru3ri/
        \_ I think it's funny all the leftists ragging on Bush for nukular
           when Jimmy Carter (also from the south) was the first President
           to say nukular in a public speech.
              \- er doesnt carter have a phd in nuclear engineering?
                 that may buy him some cover. --psb
           \_ Try Eisenhower.
        \_ note that:
           lists "nukyular" as an acceptable pronunciation.
2002/10/17-18 [Computer/SW/Languages/Misc, Computer/SW/Unix] UID:26233 Activity:high
10/17   i want to set it up so every time a particular webpage is updated,
        i get an e-mail alert. what's a good way to do this?
        \_ Set up a cron job that runs curl/wget or whatever to fetch the
           page periodically. Make sure that whatever http client you use
           puts in an IMS (if-modified-since) header in its request. You
           should be able to track the last modified time based on the
           the timestamp of the last time you fetched the file.
        \_ Local file or remote webpage?
           \_ remote webpage.
              \_ start with a "lynx -source site >" make
                 a cron job doing a "lynx -source site >"
                 then a diff with and mail if they are
        \_ unix or NT/Windows?
           \_ either...
              \_ on windows, right click on the desktop.  you may see
                 active desktop options.  One of the options/tabs:
                 you can download pages occasionally.  Then you can
                 run some sort of a script to occasionally check those
                 files and send you an email.
                 OR: download the html.  and create a script which compares
                 occasionally and sends you and email if it changes.
        \_ Make sure you put it in a tight < 1 second loop so you hammer the
           remote server, rise to the #1 spot in their usage logs and they
           block your IP.
2002/10/17-18 [Computer/SW/Security, Computer/SW/Unix] UID:26234 Activity:insanely high
10/17   Is there a really easy way to forward all port 80 packets to another
        machine? I want to migrate my web (but not mail/smtp/etc) packets to
        a new machine. I don't want any sort of HTTP redirects because I want
        the transition to be "seemless". Does my question even make sense?
                              \_ seamless
        \_ Any firewall software can do this.  Or you can point the DNS
           name at your new web server and use MX'es to keep the mail on
           the existing server.  Or use mod_rewrite.  -tom
           \- writing a generic "port forwarder" to listen on localhost:tcp/###
           and fwd that to A.B.C.D:### is pretty straght forward programming
           exercise. in fact it is possible ssh can do it for you. i have a
           tool i suppose i can send you which forwarded the pop protocol
           but it should work for WEEB by just changing the port number.
           [all WEEB is tcp, right?]. i seem to remember after looking at a
           breakin there was some crackerware to do this too. --psb
                                  \ are you calling nc "crackerware"?
           \_ This is what I was going to do. Either this or just use ssh to
              do the forwarding until I complete the migration.
              do the forwarding until I complete the migration. But I was
              hoping that someone had already written something (or gotten
              netcat to work as such) so that I don't reinvent the wheel...
              and don't have to worry about implementing error handling and
              so forth.
        \_ DNS!  Why does no one use DNS for this stuff?  The world wasn't
           meant to be hard coded IPs.  They made DNS for a reason.  You don't
           need clunky firewall kludges if you made proper use of DNS.  You
           wannabe sysadmins are getting more dangerous by the day.  Please
           tell me this isn't a commercial site.
           \_ because dns wont forward port 80 packets.  DNS will send all
              packets to that hostname elsewhere.  This is why a smart admin
              will point several names at the same host, each name for each
              service on the host, and then they can move the ip in the name
              for that service without affecting the other services.  I.e.
              csua www service is 'www.csua',  not 'soda.csua' (even those two
              names point to the same IP), so we can move www service if
              necessary without screwing other services.
              If you weren't so smart, firewall-NAT /packet forwarding/
              is your only option. -ERic
              \_ Thank you for the description of "proper use of DNS" as
                 mentioned above.  Anyone who doesn't know that DNS doesn't
                 forward packets needs to give up the root shell.
           \_ DNS switches are not "seemless".  Even if you have your TTL set
              properly, there is a whole world of improperly set up DNS servers
              (and microsoft DNS clients that mad-cache) that will not get up-
              dated the instant you want them to.  (Of course, just leaving the
              service up at site 1 for a while is probably better than port
              forwarding everything with good ol' nc  -The SysAdmin.
              \_ Gosh, you mean you actually figured out how to do a seamless
                 service migration with DNS?  Wow.  That was hard, huh?
           \_ 1) You are a dumbass, as everyone else already pointed.
              2) Even if what you said were correct (which it isn't), have you
                 considered the possibility that some people might be hard-
                 coding the IP's?
              \_ 1) No one said any such thing.  Learn to read.
                 2) It's correct and anyone who hard coded the IP's is a total
                    moron at step zero and shouldn't have root which was
                    already addressed earlier.  If you could read, you'd have
                    read that, too.
                 3) Learn to read.  Thanks.
              \_ [ inane baiting deleted. ]
        \_ OP here. Here's my solution:
        www stream tcp nowait nobody /usr/local/bin/nc nc 80
        im reposting my solution for the third time:
        tcpserver 0 80 nc ncc 80
2002/10/17-18 [Academia/GradSchool] UID:26235 Activity:nil
10/17   I'm an ugrad and I wanna do research so that I can get into grad
        school. Is Carlo Sequin a good prof? Also isn't it odd that he started
        doing VLSI/circuit/etc and ended up as a graphx prof?
        \_ Multi-talented.
2002/10/17 [Computer/SW/Languages/C_Cplusplus] UID:26236 Activity:nil 72%like:26228
10.17   Primary language used:
        ocaml: .
        java: .
        c: ....
        c++:  .
        c#:   .
        perl: ....
        fortan90/95/99/2000: .
        assembly: .
        English: .
        \_ How to learn good English?
           \_ Take CS9H.
        bourne shell: .
        pascal: .
        labview: .
        html: .
2017/09/21 [General] UID:1000 Activity:popular
Berkeley CSUA MOTD:2002:October:17 Thursday <Wednesday, Friday>