euglug.org

[작성자:] admin

  • [Eug-lug] Any Mailman guru’s out there?



    Rob HudsonFri Oct 13 18:15:13 PDT 2006

    Is the list address also [something]@bikefriday.com?  Just curious if 
    something funky is happening with the DNS MX record?
    
    Would it be possible for him, given the right steps, to telnet to port 
    25 of your mail server and attempt to manually create the mail message 
    to the list?  Maybe that would show some hints.
    
    Does your mail server show it's been received in the logs?  You're 
    running Postfix, right?  Does Mailman keep logs to look at?
    
    Just some ideas while I'm drinking a clone homebrew of Stone's Arrogant 
    Bastard.  :)
    
    -Rob
    
    Matthew Jarvis wrote:
    > I may have already posted this or maybe I'm just too braindead right now 
    > to remember, but...
    > 
    > I'm stumped, and everyone I've already asked is stumped...
    > 
    > We use Mailman to run a user list called the Yak for our customers.
    > 
    > One user can't post to the list. He used to be able to, but not anymore. 
    > He receives messages, just can't post. Checking the membership I see him 
    > in there and using the proper email account.
    > 
    > Checking the postfix logs everything seems just fine, not going to spam 
    > or being rejected or anything seemingly amiss.
    > 
    > Last time I had him test he CC'd me and I received it. Never showed up 
    > in Mailman...
    > 
    > Acknowledge is now set to on and he didn't receive anything. I don't see 
    > any moderator requests to deal with his messages.
    > 
    > It just ain't getting there....
    > 
    > I'm willing to pay a bounty to the person that gets me past this!!
    > 
    > mj
    > 
    > 
    
    
  • [Eug-lug] On Time Systems



    Joseph TomanThu Oct 5 20:21:42 PDT 2006

    Bob Miller wrote:
    > Does anyone here know anyone at On Time Systems?  According to their
    > web site, they're a Eugene-based company who sell optimization
    > software.
    > 
    > http://www.otsys.com/
    > 
    I don't know them, but I gave them a call about an job ad I saw a couple
    weeks ago for a C++ programmer/researcher and talked to the owner
    briefly. It didn't fit what I needed (no contractors), but I got the
    sense it might be a good place to work, and that they understood how to
    maintain employee morale and loyalty. YMMV
    							J. Toman
    
  • [Python] curry?



    horstThu Oct 5 16:12:36 PDT 2006

    > Date: Thu, 5 Oct 2006 15:07:44 -0700
    > From: Bob Miller <kbob at jogger-egg.com>
    > 
    > Rob Hudson wrote:
    >
    >> I think, in general, there's a concept about "curry" or "currying" that
    >> I'm not familiar with.
    >
    > There's less to currying than meets the eye.  Currying a function
    > means providing values for some of its arguments.
    >
    ...
    > It's a bit of a mystery to me why this concept deserves a name.
    >
    > In Python, you'd be more likely to write foo with default args.
      ...
    I agree.
    At least when you are in control of  both functions --if foo() comes from 
    somewhere else, with positional arguments, then it makes sense to 'curry' or...:
    
    It seems like that's what functools.partial in python 2.5 is doing.
      http://docs.python.org/whatsnew/pep-309.html
    
    Given above
    def foo(a, b, c):
    
    import functools
    bar = functools.partial(foo, a='aye', c='see')
    
    It's not that I couldn't live without this -- I am just entertaining the idea.
    ((But then, I haven't even installed 2.5 ...))
    
      - Horst
    
    
  • [Python] curry?



    Bob MillerThu Oct 5 15:07:44 PDT 2006

    Rob Hudson wrote:
    
    > I think, in general, there's a concept about "curry" or "currying" that 
    > I'm not familiar with.
    
    There's less to currying than meets the eye.  Currying a function
    means providing values for some of its arguments.
     
    For example, if foo already exists:
    
    	def foo(a, b, c):
    	    pass
    
    Then I can write bar which curries foo so you only pass in b.
    
    	def bar(b):
    	    return foo('aye', b, 'see')
    
    It's a bit of a mystery to me why this concept deserves a name.
    
    In Python, you'd be more likely to write foo with default args.
    
    	def foo(b, a='aye', c='see'):
    	    pass
    
    then you can call foo('bee') or foo('bea', 'eh?', 'si').
    
    In languages that don't have default args, it's somewhat more useful.
    It's also more useful in languages where function compositions are
    more basic than in Python (i.e., Haskell).
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Python] curry?



    Rob HudsonThu Oct 5 14:30:16 PDT 2006

    I just realized this method is in django.utils.functional.  Here's the 
    method in full:
    
    def curry(_curried_func, *args, **kwargs):
         def _curried(*moreargs, **morekwargs):
             return _curried_func(*(args+moreargs), **dict(kwargs, 
    **morekwargs))
         return _curried
    
    I think, in general, there's a concept about "curry" or "currying" that 
    I'm not familiar with.
    
    -Rob
    
    Rob Hudson wrote:
    > What's curry?
    > 
    > I read a short article on it but didn't "get it".  I think I understand 
    > the basic concept but am failing to find a use case for it.  Seeing 
    > examples of the application helps me understand things better.
    > 
    > Here's an example in Django that I'm looking at:
    > 
    >     def inclusion_tag(self, file_name, context_class=Context, 
    > takes_context=False):
    >         def dec(func):
    >             params, xx, xxx, defaults = getargspec(func)
    >             if takes_context:
    >                 if params[0] == 'context':
    >                     params = params[1:]
    >                 else:
    >                     raise TemplateSyntaxError, "Any tag function 
    > decorated with takes_context=True must have a first argument of 'context'"
    > 
    >             class InclusionNode(Node):
    >                 def __init__(self, vars_to_resolve):
    >                     self.vars_to_resolve = vars_to_resolve
    > 
    >                 def render(self, context):
    >                     resolved_vars = [resolve_variable(var, context) for 
    > var in self.vars_to_resolve]
    >                     if takes_context:
    >                         args = [context] + resolved_vars
    >                     else:
    >                         args = resolved_vars
    > 
    >                     dict = func(*args)
    > 
    >                     if not getattr(self, 'nodelist', False):
    >                         from django.template.loader import get_template
    >                         t = get_template(file_name)
    >                         self.nodelist = t.nodelist
    >                     return self.nodelist.render(context_class(dict))
    > 
    >             compile_func = curry(generic_tag_compiler, params, defaults, 
    > func.__name__, InclusionNode)
    >             compile_func.__doc__ = func.__doc__
    >             self.tag(func.__name__, compile_func)
    >             return func
    >         return dec
    > 
    > Thanks,
    > Rob
    > 
    > _______________________________________________
    > Python mailing list
    > Python at euglug.org
    > http://www.euglug.org/mailman/listinfo/python
    > 
    
  • [Python] curry?



    Rob HudsonThu Oct 5 14:26:57 PDT 2006

    What's curry?
    
    I read a short article on it but didn't "get it".  I think I understand 
    the basic concept but am failing to find a use case for it.  Seeing 
    examples of the application helps me understand things better.
    
    Here's an example in Django that I'm looking at:
    
         def inclusion_tag(self, file_name, context_class=Context, 
    takes_context=False):
             def dec(func):
                 params, xx, xxx, defaults = getargspec(func)
                 if takes_context:
                     if params[0] == 'context':
                         params = params[1:]
                     else:
                         raise TemplateSyntaxError, "Any tag function 
    decorated with takes_context=True must have a first argument of 'context'"
    
                 class InclusionNode(Node):
                     def __init__(self, vars_to_resolve):
                         self.vars_to_resolve = vars_to_resolve
    
                     def render(self, context):
                         resolved_vars = [resolve_variable(var, context) for 
    var in self.vars_to_resolve]
                         if takes_context:
                             args = [context] + resolved_vars
                         else:
                             args = resolved_vars
    
                         dict = func(*args)
    
                         if not getattr(self, 'nodelist', False):
                             from django.template.loader import get_template
                             t = get_template(file_name)
                             self.nodelist = t.nodelist
                         return self.nodelist.render(context_class(dict))
    
                 compile_func = curry(generic_tag_compiler, params, 
    defaults, func.__name__, InclusionNode)
                 compile_func.__doc__ = func.__doc__
                 self.tag(func.__name__, compile_func)
                 return func
             return dec
    
    Thanks,
    Rob
    
    
  • [Eug-lug] Firefox security exploit



    Allen BrownThu Oct 5 11:44:09 PDT 2006

    larry price wrote:
    > Allen, this may or may not work.
    > but if you mozilla install is hosed anyhow...?
    > 
    > take a stroll through the .mozilla/ dirs in your ~
    > look for the directory named
    > {73a6fe31-595d-460b-a920-fcc0f8843232}
    
    No such animal.  I didn't find anything remotely resembling this.
    
    > and remove it
    > then edit the extensions.rdf directory to remove the entire stanza
    > referring to it.
    
    The extensions directory contains one file: Extensions.rdf
    That file contains
       <?xml version="1.0"?>
    
       <RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
          xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    
         <Seq about="urn:mozilla:extension:root"/>
         <Seq about="urn:mozilla:theme:root"/>
    
       </RDF>
    
    Not much there.
    
    > Then relaunch Mozilla.
    > 
    > On 10/4/06, Allen Brown <abrown at peak.org> wrote:
    > 
    >> So now that mozilla is trashed by this patch I need to change
    >> firefox to my default browser.  For instance when I click
    >> on a URL in thunderbird I now need firefox to come up
    >> rather than mozilla.  Anybody know how to make this change?
    >> I don't see it in the preferences.
    > 
    > 
    > What distro are you running? The file associations thing is fairly
    > idiosyncratic, and the answers will be different for KDE/Gnome etc.
    
    Doh!  Of course that is required.
    
    I am running XFCE4 under Debian "stable".
    -- 
    Allen Brown  abrown at peak.org  http://www.peak.org/~abrown/
       The Americans will always do the right thing... after they've
       exhausted all the alternatives. --- Sir Winston Churchill
    
  • [Eug-lug] PSC Job Opening



    Rob HudsonTue Oct 3 08:32:42 PDT 2006

    I was asked to forward this along...
    
    -------- Original Message --------
    Date: Tue, 3 Oct 2006 08:28:53 -0700
    From: Beights, Mary <mary.beights at psc.com>
    
    Would you please let your members know about this opening...
    
    PSC Job Opening....  (www.psc.com)
    
    PSC Inc., is on the cutting edge of data capture technology. Since its
    founding in 1969, PSC has developed products that have set the standard
    within the Automatic Identification and Data Collection industry.
    Thirty-four years later, reading bar codes is more essential to our
    customers than ever for improving productivity and controlling costs.
    PSC is dedicated to delivering innovative products of the highest
    quality to all our customers worldwide.
    
    Manufacturing and development facilities are located in Eugene, Oregon.
    Eugene is positioned at the southern end of the Willamette Valley and
    nestled between the majestic Cascade Mountains and the beautiful Oregon
    Coast. Our Eugene location combines a dynamic and casual work
    environment with quality of life surroundings. PSC is proud to have been
    listed as one of Oregon's best companies to work for, as evaluated by
    Oregon Business magazine, for three years running. Our team-based
    manufacturing practices have been recognized among the worlds best by
    numerous quality proponent organizations. In addition, our organization
    has received both the ISO9001 and ISO9002 quality certifications.
    
    PSC's success is made possible through the creative contributions of all
    our insightful and entrepreneurial people. As we move forward into the
    21st century with the history of being the leader in our industry, we
    will continue to scan the globe for talented professionals.
    
    ER06-22                      Unix System Administrator
    Dept:                        Information Technology
    
    Duties:
    Administer and support the corporate UNIX/Linux servers, Storage, and
    Tape Backup infrastructure. Also administer and support network
    services, such as, but not limited to DNS, DHCP, LDAP, NIS, NFS, etc.
    
    Manage the installation, maintenance, and recovery of UNIX/Linux
    servers, including the configuration of Veritas Volume manager & file
    manager, Veritas Cluster, Legato Networker, SAP, Oracle, etc.
    
    Provide technical ingenuity in the automation of routine administrative
    tasks and processes through scripting and other methodologies. Install,
    maintain, and support cross-platform storage systems: SAN and NAS
    (Storage Tek and EMC). Monitor and evaluate servers, storage, and tape
    backup performance. Identify problem areas.
    
    Manage user accounts, groups, file permissions, network shares, and
    other daily network administrative tasks.
    
    Nurture an environment of "high availability and redundancy" for
    business critical systems and services, including a documentation
    framework for standards, policies, and procedures.
    
    Implement and support 3rd party server applications and databases that
    are specific to departmental functions.
    
    Provide technical skills and knowledge in server architecture;
    specifically SUN and Compaq Proliant server products.
    
    Work with cross-functional teams to support tasks and projects to meet
    business objectives.
    
    
    
    Experience:
    
    Minimum five (5) years of experience in the administration and support
    of the Solaris/Red Hat/SUSE Operating Systems. Must be well seasoned in
    the fundamental of Sun Solaris administration and support. A functional
    proficiency with enterprise-class server hardware is an expected and
    necessary skill-set. Experience in other technology areas is desirable.
    Such areas include, Microsoft networking, Cisco LAN/WAN, and Avaya
    telecommunications. An additional asset would be experience managing
    technology projects and teams.
    
    Must have exceptional problem solving skills, ability to work utilizing
    individual initiative while working within a team environment. Must be
    able to communicate effectively, both orally and in writing.
    
    Education:
    
                 BS in Computer Science or equivalent experience
    
    
  • [Eug-lug] FON Wifi?



    Rob HudsonMon Oct 2 11:42:08 PDT 2006

    I saw reference to 2 wifi networks... 1 for personal use and 1 for 
    shared use.  I wonder what the security features are.
    
    Allen Brown wrote:
    > I saw one of these Saturday night at a friend's house.
    > It is quite small.
    > 
    > He will be installing it soon just outside of Corvallis.
    > I don't mind doing this also as long as it is outside
    > of my firewall.