euglug.org

[작성자:] admin

  • [Eug-lug] Netraverse Freebie



    Max LemieuxThu Jul 29 10:57:58 PDT 2004

    I already sent the request... we'll see how many they send. Their site states "a 
    complimentary copy", so I'm not sure how jazzed they'll be to send out more than 
    one anyway... we may have to trade off.
    
    If it's really the cat's whiskers. I might buy it anyway (i.e., if I can run 
    Windoze plus hardware-accelerated games for same, all inside Linux. Expect that 
    will take doubling my RAM though... :P )
    
    -Max
    
    
    Alan wrote:
    >>
    > 
    > Sign me up if it's not too late.
    > -ajb
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
  • [Eug-lug] Thursday meeting tomorrow uncertain



    Bob MillerThu Jul 29 10:38:03 PDT 2004

    Jason Dommasch wrote:
    
    > Sorry to break the news so late, but I have another get together to attend 
    > to a little after 7:30 p.m. tomorrow (Thursday).  I'm currently the key 
    > keeper and alarm setter for the meeting space at OPN.
    > 
    > I'm willing to open the meeting at OPN at 6:30 p.m., but I'll have to close 
    > it up at 7:30 p.m.  I don't know if it's too late to find another place to 
    > meet.  If someone finds another place to meet for tomorrow, I can put a 
    > sign up on the OPN door pointing them the right direction.
    
    Let's look at it as an opportunity to eat before all the restaurants
    in town are closed. (-:
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Oops, never mind [was: Mike Jackson, are you on this list?]



    Ken BarberThu Jul 29 10:21:45 PDT 2004

    On Thursday 29 July 2004 10:18 am, Ken Barber wrote:
    
    > Seeing no reply...  does anyone know how to get in contact with him?
    
    Mike McCool's reply just came through.  
    
    Thanks, Mike!
    
    I'll continue the conversation off-list.
    
  • [Eug-lug] Mike Jackson, are you on this list?



    Ken BarberThu Jul 29 10:18:34 PDT 2004

    On Wednesday 28 July 2004 1:34 pm, Ken Barber wrote:
    > If so, please contact me off-list.
    
    Seeing no reply...  does anyone know how to get in contact with him?
    
    Thanks,
    
    Ken
    
  • [Eug-lug] Reading data to multiple variables



    Bob MillerThu Jul 29 09:56:10 PDT 2004

    Garl Grigsby wrote:
    
    >    I owe you a beer.
    
    You're welcome.
    
    > The way you had it the read would stop just after the Protocol line. It 
    > would never process the Transport, GUID, or the Attached lines. Again, I 
    > have no idea why this is happening. I can't find anything in there that 
    > would cause it to fail but it did. Any way, this works, and works well.
    
    Files in /proc aren't real files, so they probably don't support being
    read line-by-line.  I didn't have any USB storage devices handy to
    test against, so I didn't notice.  Sorry.
    
    If you're planning to deploy this where security matters, I suggest
    you use a secure temp file name:
    
    	tmp=`mktemp`
    	cat "$unit" > "$tmp"
    	while ...
    	done < "$tmp"
    	rm "$tmp"		# cleanliness is next to
    
    Or you might be able to read by lines by buffering the input with cat.
    
    	cat "$unit" | while read name value
    		      do ...
    		      done
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Netraverse Freebie



    Bob MillerThu Jul 29 09:20:01 PDT 2004

    Max Lemieux wrote:
    
    > I'd be willing to give it a shot. I have a copy of Windows 2000 that should 
    > be fun to get up and running under Win4Lin...
    > 
    > If there are no objections, I'll contact Netraverse and obtain the goods... 
    > Installation report to follow.
    
    Great!  Go for it.
    
    Also, glad I got to meet you last night at the park.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Netraverse Freebie



    Max LemieuxThu Jul 29 05:54:52 PDT 2004

    Sure thing. I'll contact them today. Anyone else interested, before I send off 
    the request?
    
    -Max
    
    Mr O wrote:
    > Would you see if they'll ship a couple copies? It'd be
    > interesting to see how my hardware works under Windows in Linux.
    > 
    > 
    > --- Max Lemieux <max at lunarlogic.com> wrote:
    > 
    > 
    >>I'd be willing to give it a shot. I have a copy of Windows
    >>2000 that should be 
    >>fun to get up and running under Win4Lin...
    >>
    >>If there are no objections, I'll contact Netraverse and obtain
    >>the goods... 
    >>Installation report to follow.
    >>
    >>Cheers,
    >>Max
    > 
    > 
    > 
    > 
    > 		
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Mail Address AutoComplete - You start. We finish.
    > http://promotions.yahoo.com/new_mail 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
  • [Eug-lug] MWVLUG Mailing List RSS Feeds



    D. Cooper StevensonWed Jul 28 23:58:49 PDT 2004

    All,
    
    I have implemented automatic RSS feeds of three Oregon mailing lists on
    MWVLUG's web site here:
    
      http://www.mwvlug.org
    
    Along the left column you will see 25 of the latest subjects updated
    every hour. This means that you can see what's going on for the
    (currently) PLUG, EUGLUG, and OSULUG mailing lists at a glance.
    
    I would like to implement this feature for mailing lists state-wide; if
    you have links to the other
    mailing lists please let me know.
    
    
    Best,
    -- 
    
    --------------------------------------------------------------
    | Cooper Stevenson        | Em:  cooper at gencom.us            |
    | GenCom                  | Ph:  541.924.9434                |
    | "Working For IT"        | Www: http://www.gencom.us        |
    --------------------------------------------------------------
    
    
    
  • [Eug-lug] PHP5 looks kind of kicky



    Rob HudsonWed Jul 28 23:34:33 PDT 2004

    What's "kicky"?
    
    I'm interested in what you think.  PHP4's object model was pretty bad.
    I've heard references saying that one of the guys from Zend (Andi?)
    basically added objects to PHP4 in one afternoon.  It was an
    afterthought and they didn't think it would be used as heavily as it
    was.
    
    So, when it was time to think about PHP5, they started thinking about
    objects at the very beginning.  And they looked at other languages for
    guidance, the major one being Java.
    
    Personally, I'm looking forward to PHP5's more complete object model.
    There are also some other features that make PHP5 look attractive.  The
    new XML support (based on libxml2).  Here's a nice article:
    http://www.php-mag.net/itr/online_artikel/psecom,id,503,nodeid,114.html
    
    Also, with PHP5 and MySQL 4.1, there is a new mysqli extension that
    really adds a lot of nice new features to the mysql extension.  Prepared
    statements, data binding both going in and coming out.  Stuff like that.
    Things Perl's DBI has had for a long time...
    http://www.zend.com/php5/articles/php5-mysqli.php
    
    But somethings don't look quite solid yet like the PHP5 "magic method"
    "__toString()".  Python has one of these you can define that, when you
    print the object, it calls this function.  PHP has it but it doesn't
    work in some places:
    print $ojb; // this works
    print "This is my object: $obj"; // this doesn't
    $objstr = (string) $obj; // casting: this doesn't work either
    But, I think they're going to try to clean this up in 5.1
    
    Just my summary of what I've learned.  :)
    
    -Rob
    
    On 20040728.2140, larry price said ...
    
    > It's practically a different language
    > see http://www.php.net/manual/en/migration5.oop.php
    > 
    > It looks like it's trying to become Java 
    > what with Interfaces, and 
    > public|protected|private method declarations
    > also they appear to have copied some of the iterator stuff from python
    > 
    > but hey, its at least got an object model that doesn't suck.
    > 
    > I'm upgrading my webserver now.
    > 
    > So i'll poke at it and give a full report (and demo )in a few days
    >  
    > 
    > 
    > -- 
    > http://Zoneverte.org -- information explained
    > Do you know what your IT infrastructure does?
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Reading data to multiple variables



    Neil ParkerWed Jul 28 22:36:34 PDT 2004

    Some more suggestions, which didn't occur to me until it was too late to
    incorporate them into my previous message...
    
    Garl Grigsby wrote,
    >for unit in /proc/scsi/usb-storage-*/*
    >    do
    >      cat $unit > /tmp/unit
    >      while read name value
    >      do
    >           case "$name" in
    >               GUID:)       guid="$value";;
    >               Attached:)   attached="$value";;
    >           esac
    >      done < /tmp/unit
    >      echo ${unit}: GUID: $guid attached: $attached
    >      # do something useful for one unit here.
    >    done
    
    To make it slightly more bulletproof, try this:
    
         temp=/tmp/unit$$
         trap 'rm -f $temp;exit 0' 1 2 3 15
         for unit in /proc/scsi/usb-storage-*/*
         do cat $unit>$temp
            while read name value
            do case "$name" in
               GUID:) guid="$value";;
               Attached:) attached="$value";;
               esac
            done<$temp
            echo ${unit}: GUID: $guid attached: $attached
            # do something useful for one unit here.
         done
         rm $temp
    
    Putting "$$" in the temporary filename protects against two or more
    copies of your script running at the same time--that way they each get
    unique temporary filenames, and won't confuse each other by overwriting
    each other's temporary data.
    
    The trap command makes sure that the temporary file gets cleaned up even
    if you kill the script before it finishes.  Putting "-f" on the rm command
    line makes rm shut up, so that if you kill the script after the "trap" but
    before the first "cat $unit>$temp", it won't complain about missing files.
    
                  - Neil Parker