Berkeley CSUA MOTD:2002:February:21 Thursday <Wednesday, Friday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2002/2/21 [Politics/Foreign, Politics] UID:23928 Activity:insanely high
2/20    Does cremating a dead body cost a lot to the crematory?  Why did that
        crematory in Georgia bother to cheat?  Isn't it more trouble to drag
        a dead body into the woods than to use a few cents of gas to burn
        it up?
        \_ think about what kind of business oportunities exist in this
           country and then try to understand the kind of guy who runs
           a crematorium in georigia.
        \_ read the fucking news articles.
           \_ I just did.
              http://story.news.yahoo.com/news?tmpl=story&u=/ap/20020220/ap_on_re_us/corpses_discovered
              And?
              \_ It costs $25. Several articles mention it. --dim
                 \_ but is $25 worth the trouble?
                 \_ I see.  Thanks.
                \_ you're all sarcastic assholes.
2002/2/21-22 [Computer/SW/Languages/Java] UID:23929 Activity:very high
2/20    Does Java provide frame by frame control over graphical presentation?
        e.g. if Monitor refresh rate is 100 Hz, each frame would be .01 sec,
        and the programmer could specify the exact presentation for each
        frame(e.g. pixel, luminance, color, etc.) I presume it should,
        and if so, what packages provide this control?  Thanks. -nivra
        \_ i know 0 about java. but when you do double buffering with almost
           any graphics package, the back buffer doesn't get presented
           until the vertical retrace. so that's usually how you deal with
           this issue. you render as fast as you can, then call swapbuffers()
           or whatever your package calls it. and the frame gets presented
           at the appropriate time. all you need to figure out maybe is
           then how often the swapping can occur. then you have everything
           you want. and i'm sure java has an opengl wrapper. -ali
           \_ You are giving too much credit to java designers.  -- misha.
        \_ It is possible to create a full screen window in java. It is
           possible to dump whatever you want into a buffer and blit it to
           a window. It is also possible to set up timers to be notified
           when to do things.  As long as what you're  not taking too long
           in your blit loops, you can do what you're suggesting. Take a look
           at the new JDK1.4 jcanyon demo. I think that is what you're
           asking about.  http://java.sun.com/j2se/1.4/demos/jcanyon
        \_ Java3D. Not quite there, but might be along the lines of what you
           want.
        \_ And if you think you can get 100fps in any way, means, or form from
           Java...
        \_ Don't confuse the monitor scan frequency with the rate at which
           the jvm is calling "swapbuffers()" with your rendered image.
           Also, with async gc, don't assume that each time segment will
           give you the same amount of calculation (be prepared for
           "choppy" control).  100 fps is doubtful if you are doing a lot of
           work... but in general the framework is there even in the AWT
           kit (java2d might be much better here).
2002/2/21 [Uncategorized] UID:23930 Activity:nil
2/20    What does this idiom mean: "that's neither here nor there" ?
        \_ "That is not really related to the point I am making."
2002/2/21 [Reference/RealEstate] UID:23931 Activity:high
2/20    Do builders like Shapell or Kaufman & Broad deal with individuals or
        just real estate developers?   Anybody know?  I want a standard
        house (not custom) built on a plot of land.
        \_ Why?  The cost of construction would probably dwarf the cost of
           design?  Why not just go custom?
2002/2/21 [Academia/Berkeley, Academia/Berkeley/CSUA/Troll] UID:23932 Activity:nil
2/20    we make world news! http://news.bbc.co.uk/hi/english/education/newsid_1832000/1832279.stm
        \_ Yes, making the Cal degree you're working so hard for look like a
           total joke.  Cool, huh?
                \_ how shocking, college students having sex!  Those nuts at
                   Berkeley!
                   \_ No, Genius, college students getting graduation credit
                      for having sex.  *That* is shocking and stupid. Wake up.
        \_ Looks like the Naughty Professor (http://www.naughtyprofessor.com
           has joined the Cal faculty.
2002/2/21 [Computer/SW/Languages, Computer/SW/Languages/Misc, Computer/SW/OS/FreeBSD] UID:23933 Activity:high
2/20    I'm doing tail -f file.  The file gets automatically rotated by
        another process every so often.  My tail then looks at a file that
        no longer updates while the new logfile continues getting data I'm
        not seeing.  Is there a way to easily detect when my file has rotated
        or even better some program/script that can detect the change and
        switch to the new file?  This is a qmail logfile if that matters.
        Thanks!
        \_ I believe xtail does that.
           \_ I'll check it out.  Thanks.  Hopefully it has a text-only mode?
              \_ Don't let the name fool you. If you run FreeBSD, you can
                 find it in /usr/ports/misc/xtail. Otherwise:
                 http://www.giovannelli.it/~gmarco/files/xtail-2.1.tar.gz
                 \_ I love the motd!  Thanks!  -OP
        \_ kqueue(2)
2002/2/21-22 [Science/Electric] UID:23934 Activity:kinda low
2/21    what does a solid state relay do?
        \_ when a little bit of current energizes a transistor on
           one side, on the other side, high current can go through.
                \_ Can a digital input work/drive it?
                  \_ I have a relay unit I bought from Al
                     Lasher's that can switch a house current and
                     take as a signal the current from a serial port.
                     I bought it $11 new. You can have it for $5.
                     Email me if interested. -- ulysses
                        \_ Oh sorry...throughout all of this I
                           was referring to arrays of SSR's. (like
                           packages of 5-8 or so.)
        \_ http://www.iserv.net/~alexx/glossary.htm
2002/2/21-22 [Computer/Networking, Academia/Berkeley/CSUA] UID:23935 Activity:nil
2/21    New job posting in /csua/pub/jobs for Juniper Networks.  Anyone
        know of any other places like CSUA where I can post this job req?
        TIA.  - dsw
2002/2/21 [Computer/Networking] UID:23936 Activity:high
2/21    Cisco sucks             -disgruntled employee
        \_ Agreed. -another disgruntled employee
        \_ would you like to explain?
2002/2/21 [Recreation/Computer/Games] UID:23937 Activity:high
2/21    What's the resale value on the classic, 4-shades of puke Gameboy?
        \_ 5 cents?
2002/2/21-22 [Computer/HW/CPU] UID:23938 Activity:high
2/21    reposting my question.  Is it possible to filter gige traffic
        with freebsd on x86?  Can the fastest pentium out there do that?
        I'm talking about running ipfw or ACLs.  Please do not turn this
        question into a troll on linux vs freebsd.  Thanks.
        \_ Processor speed is definitely not your problem.  I think you may
           run into problems where gige would overwhelm the PCI bus.  Not
           sure though.  Do some back of the envelope calculations and see.
           \_ A 64 bit PCI bus at 66MHz should be good enough. All major
              vendors have servers and workstations that come with it.
        \_ Even if this was possible, you probably need a heck of a server
           to be able to do that. Sun support people for example recommend, as
           a rule of thumb, in order to saturate a GigE pipe, you need to have
           one fast modern CPU per GigE NIC. Plus, you need another CPU for
           just processing the rules. Your looking at a quad CPU server with a
           64bit/66MHz PCI bus.
           \- my longer answer is in th emotd archive, but it depends in
           part: are you talking about "typical traffic" or against a hostile
           attacker. a hostile attacker can kill you. "typical traffic" is
           do-able but once you are beyond the throw money at the problem
           in terms of buying cpu and memory, this is kind of a black art
           involving hacking your net dev driver and perhaps your bpf filters.
           a lot of ids systems are freebsd boxen on gige. btw, trying to do
           this on a sysV machine is probably not possible. i dont know enough
           about linux to have an opinion there. --psb
           \- ok tnx
2025/03/15 [General] UID:1000 Activity:popular
3/15    
Berkeley CSUA MOTD:2002:February:21 Thursday <Wednesday, Friday>