euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] MythTV



    T. Joseph CARTERSat Feb 19 14:11:13 PST 2005

    On Tue, Feb 15, 2005 at 03:59:08PM -0800, Rodney Mishima wrote:
    > If you want to consider a mac only solution, you may want to consider formac
    
    You're the first person to suggest so--others have suggested that I stay
    far away from formac.  The same people suggested I stay far away from
    Macally and they've been found to have been right.
    
    > http://www.formac.com/p_bin/?cid=solutions_converters_studiodvtv
    > 
    > a $299 firewire tvr .  They claim to be more robust than EyeTV
    
    I bet it's basically identical hardware to the EyeTV model.  (Same parts,
    no idea if same OEM)
    
    
    > http://www.formac.com/p_bin/?cid=solutions_converters_studiodvtv_compare
    
    I need to point out that the direct export is misleading.  The EyeTV will
    spit out MPEG, which Final Cut and Premiere both handle.  I bet they're
    talking about using these with "live" TV, which isn't something you'd want
    to do, really.
    
    A guy I know from Elgato (not one of those who warned me that Formac was
    not known for good support/service) scoffs at the video format specs. too.
    The Formac device does have video output missing from the EyeTV device,
    but I don't need that feature.
    
  • [Eug-lug] OT – Symantec contact



    Po PetzSat Feb 19 12:45:59 PST 2005

    Thanks to those that replied.
    
    Mr O: I'd have thought so, but people known to me directly could only 
    account for ex-Symantec (and the legion of ex Dynamix/Sierra who are 
    about).  Clearly I'm drinking at the wrong pubs. ;-)
    
    -po
    
    
    On Fri, 18 Feb 2005, Mr O wrote:
    
    > In Eugene it's only an average of 3 degrees. Does Symantec still
    > have that office by Gateway? I thought they had moved.
    >
    >
    >
    > --- Po Petz <po at ciphermonkeys.org> wrote:
    >
    >> Hi,
    >>
    >> My six-degrees-o-separation mojo isn't working well right now.
    >>  I was
    >> wondering if anyone who works at Symantec up by Gateway is on
    >> this list
    >> could drop me a line, please.
    >>
    >> Thanks,
    >> -po
    >
    >
    >
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Mail - You care about security. So do we.
    > http://promotions.yahoo.com/new_mail
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] ugly couch seeks home



    Mr OSat Feb 19 12:29:55 PST 2005

    Good condition, ugly flower pattern, rocking loveseat seeks a
    home to be sat upon and used. Can deliver in the Eugene area.
    Interested parties please contact me offlist.
    
    That be all,
    Mr O.
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    Yahoo! Mail - Easier than ever with enhanced search. Learn more.
    http://info.mail.yahoo.com/mail_250
    
  • [Eug-lug] meetings and such



    Michael DiSapioSat Feb 19 09:55:07 PST 2005

    Well I got to travel from Down Florida to Eugene yesterday for personal 
    reasons, and am now sittin in a hotel out on franklin. anything goin on in the 
    next few weeks? (am staying here till the 2nd of March).
    
    more or less know my way around enough to not get lost, from when i lived 
    here 9 years ago.
    
    Bored To Tears :)
    
    
  • [Eug-lug] Ta Neil



    Neil ParkerFri Feb 18 23:47:54 PST 2005

    Walter Fry wrote,
    >Thanks Neil for the comment that got me thinking... I did not realise the 
    >Program I thought was Wordperfect might only be a demo-lure to get me hooked 
    >...Instead it has done exactly the opposite, it has frustrated me so. I am 
    >going to have to dwell on it a while before I make decision, Right now I am 
    >predisposed never to think of ever doing anything with wp ever again.   WF.
    
    Hmm.  I always thought that for a demo, the WP8 demo was pretty fully-
    featured...only a few of the more obscure features are missing.
    
    Unfortunately, one of the missing features is the equation editor, which I
    believe you mentioned last night as being something you needed.
    
    
    For typesetting mathematical equations, it's hard to beat TeX, but alas,
    TeX has a rather steep learning curve.  When I was working on my degree at
    the U of O, my officemate told me that when he was writing his
    dissertation, he tried every word processor he could get his hands on in a
    desperate attempt to avoid learning TeX, but to no avail--TeX was the only
    thing that could do the mathematical typsetting well enough.
    
                   - Neil Parker
    
  • [Eug-lug] OT – Symantec contact



    Mr OFri Feb 18 18:26:34 PST 2005

    In Eugene it's only an average of 3 degrees. Does Symantec still
    have that office by Gateway? I thought they had moved.
    
    
    
    --- Po Petz <po at ciphermonkeys.org> wrote:
    
    > Hi,
    > 
    > My six-degrees-o-separation mojo isn't working well right now.
    >  I was 
    > wondering if anyone who works at Symantec up by Gateway is on
    > this list 
    > could drop me a line, please.
    > 
    > Thanks,
    > -po
    
    
    
    	
    		
    __________________________________ 
    Do you Yahoo!? 
    Yahoo! Mail - You care about security. So do we. 
    http://promotions.yahoo.com/new_mail
    
  • [Eug-lug] Free Culture



    Rob HudsonFri Feb 18 17:02:54 PST 2005

    I've been saving this for a lazy day to watch and I finally got around
    to it.  This is one of Larry Lessig's last talks given at OSCON in 2002.
    It's very interesting and I'd say mandatory listening (or reading) for
    people who believe in open source:
    
    presentation (in flash?):
    http://randomfoo.net/oscon/2002/lessig/free.html
    
    A trascript is available:
    http://www.oreillynet.com/pub/a/policy/2002/08/15/lessig.html
    
  • [Eug-lug] setuid programs



    Jim BeardFri Feb 18 16:07:09 PST 2005

    Thanks Bob!
    
    Your responses are always very helpful :)
    
    On Feb 18, 2005, at 3:22 PM, Bob Miller wrote:
    
    > Jim Beard wrote:
    >
    >> The C code looks like this:
    >>
    >> #include <unistd.h>
    >>
    >> int main () {
    >>   execl("/bin/chown", "-R server /var/cvs/repository");
    >>   execl("/bin/chgrp", "-R", "server", "/var/cvs/repository");
    >>   execl("/bin/chmod", "-R o+w /var/cvs/repository");
    >> }
    >>
    >> Anyone know why this isn't working?
    >
    > That program has a remarkable bug density.
    >
    > 1. execl() doesn't return.  You need to fork before calling execl().
    >    Or, better, call system().
    >
    > 2. execl()'s parameter list must be terminated by a NULL.
    >
    > 3. You've left out the first argument in the argument list.
    >    argv[0] is the name of the program.  So, instead of this,
    >
    > 	execl("/bin/chgrp", "-R", "server", "/var/cvs/repository");
    >
    >     you want this, with "/bin/chgrp" twice.
    >
    > 	execl("/bin/chgrp", "/bin/chgrp", "-R", "server",
    > 		"/var/cvs/repository", NULL);
    >
    > 4. In the chown and chmod instances, you need to separate the program's
    >    arguments into separate C arguments.  You did this correctly
    >    for the chgrp instance.  (Note, if you use system(), you
    >    pass the whole command as a single string.)
    >
    > 5. You never checked execl's return for an error.  Since execl()
    >    doesn't return if it works, ANY return is an error.  But print or
    >    log a message so you have a chance of finding out what's going on.
    >
    > 6. You can combine the chgrp pass into chown with this syntax.
    >
    > 	# chown -R user:group directory
    >
    >    In C, that'd be...
    >
    > 	execl("/bin/chown",
    > 	      "/bin/chown", "-R", "server:server",
    > 	      "/var/cvs/repository", NULL);
    >
    > Here's a revised version.  I'm not going to compile this, let alone
    > test it, so it probably doesn't work.  Caveat emptor.
    >
    > 	#include <stdlib.h>
    > 	#include <syslog.h>
    >
    > 	void exec_or_log(const char *command)
    > 	{
    > 	    int status;
    >
    > 	    status = system(command);
    > 	    if (status != 0) {
    > 		openlog("mycommand", 0, LOG_DAEMON);
    > 		syslog(LOG_ERR,
    > 			 "command \"%s\" failed, exit status %d\n", status);
    > 		closelog();
    > 	    }
    > 	}
    >
    > 	int main()
    > 	{
    > 	    int status;
    >
    > 	    exec_or_log("/bin/chown -R server:server /var/cvs/repository");
    > 	    exec_or_log("/bin/chmod -R o+w /var/cvs/repository");
    > 	    return 0;
    > 	}
    >
    > Even better would be to capture the commands' standard error and log
    > them too.
    >
    >> Anyone have a better solution to my problem?
    >
    > Take a look at this CVS info page.  It says that your ,v files should
    > not be writable.
    >
    > 	$ info '(cvs)File permissions'
    >
    > There are two CVS books on line, as well.
    >
    > 	http://cvsbook.red-bean.com/
    > 	https://www.cvshome.org/docs/manual/
    >
    > -- 
    > Bob Miller                              K<bob>
    > kbobsoft software consulting
    > http://kbobsoft.com                     kbob at jogger-egg.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    >
    Jim Beard
    counterclaim.com, Inc
    http://www.counterclaim.com
    http://openefm.sourceforge.net
    (800) 264-8145
    
    
  • [Eug-lug] OT – Symantec contact



    Po PetzFri Feb 18 15:49:40 PST 2005

    Hi,
    
    My six-degrees-o-separation mojo isn't working well right now.  I was 
    wondering if anyone who works at Symantec up by Gateway is on this list 
    could drop me a line, please.
    
    Thanks,
    -po
    
  • [Eug-lug] setuid programs



    Bob MillerFri Feb 18 15:22:37 PST 2005

    Jim Beard wrote:
    
    > The C code looks like this:
    > 
    > #include <unistd.h>
    > 
    > int main () {
    >   execl("/bin/chown", "-R server /var/cvs/repository");
    >   execl("/bin/chgrp", "-R", "server", "/var/cvs/repository");
    >   execl("/bin/chmod", "-R o+w /var/cvs/repository");
    > }
    > 
    > Anyone know why this isn't working?
    
    That program has a remarkable bug density.
    
    1. execl() doesn't return.  You need to fork before calling execl().
       Or, better, call system().
    
    2. execl()'s parameter list must be terminated by a NULL.
    
    3. You've left out the first argument in the argument list.
       argv[0] is the name of the program.  So, instead of this,
    
    	execl("/bin/chgrp", "-R", "server", "/var/cvs/repository");
    
        you want this, with "/bin/chgrp" twice.
    
    	execl("/bin/chgrp", "/bin/chgrp", "-R", "server",
    		"/var/cvs/repository", NULL);
    
    4. In the chown and chmod instances, you need to separate the program's
       arguments into separate C arguments.  You did this correctly
       for the chgrp instance.  (Note, if you use system(), you
       pass the whole command as a single string.)
    
    5. You never checked execl's return for an error.  Since execl()
       doesn't return if it works, ANY return is an error.  But print or
       log a message so you have a chance of finding out what's going on.
    
    6. You can combine the chgrp pass into chown with this syntax.
    
    	# chown -R user:group directory
    
       In C, that'd be...
    
    	execl("/bin/chown",
    	      "/bin/chown", "-R", "server:server",
    	      "/var/cvs/repository", NULL);
    
    Here's a revised version.  I'm not going to compile this, let alone
    test it, so it probably doesn't work.  Caveat emptor.
    
    	#include <stdlib.h>
    	#include <syslog.h>
    
    	void exec_or_log(const char *command)
    	{
    	    int status;
    
    	    status = system(command);
    	    if (status != 0) {
    		openlog("mycommand", 0, LOG_DAEMON);
    		syslog(LOG_ERR,
    			 "command \"%s\" failed, exit status %d\n", status);
    		closelog();
    	    }
    	}
    
    	int main()
    	{
    	    int status;
    
    	    exec_or_log("/bin/chown -R server:server /var/cvs/repository");
    	    exec_or_log("/bin/chmod -R o+w /var/cvs/repository");
    	    return 0;
    	}
    
    Even better would be to capture the commands' standard error and log
    them too.
    
    > Anyone have a better solution to my problem?
    
    Take a look at this CVS info page.  It says that your ,v files should
    not be writable.
    
    	$ info '(cvs)File permissions'
    
    There are two CVS books on line, as well.
    
    	http://cvsbook.red-bean.com/
    	https://www.cvshome.org/docs/manual/
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com