euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] So… Meeting Tonight?



    Dhosthi DhosthiThu Jan 11 17:42:29 PST 2007

    Wazu?  Any decisions yet?
    
    
     
    ____________________________________________________________________________________
    Have a burning question?  
    Go to www.Answers.yahoo.com and get answers from real people who know.
    
  • [Eug-lug] Thursday



    larry priceThu Jan 11 17:41:01 PST 2007

    informality?
    
    the IRC channel is up and could be used for discussing options.
    
    
    On 1/10/07, Neil Parker <nparker at lyl.llx.com> wrote:
    > Larry Price wrote,
    > >It's going to be cold and dreary, with nasty weather.
    > >
    > >How about we have a virtual meeting, start with
    > >
    > >#euglug
    > >on irc.freenode.net
    >
    > Winter is Eugene is ALWAYS cold and dreary.  That's never stopped us before.
    >
    > I don't like the virtual meeting idea...IRC is no substitute for
    > face-to-face sociabilitiy, and if somebody brings their computer problem
    > to a virtual meeting, you can't look over their shoulder while they show
    > you the problem happening.
    >
    > >and maybe we could add a conference call with something like
    > >http://www.foonz.com/index.php
    > >or
    > >skype for linux
    > >or
    > >set up a SIP conference call (we've got enough brainpower in the group
    > >that a bunch of us could tiger team the asterisk set up) and a SIP
    > >phone is fairly easy to set up.
    >
    > SIP only makes sense for people with broadband access--those of us still
    > on dialup are out of luck.  And it makes no sense at all in the context of
    > the original question--no matter how easy it is to set up, we can't get us
    > all wired up for it by tomorrow evening.
    >
    > So let me reiterate the question:  Where and when are we meeting this
    > Thursday?
    >
    > If we don't have an answer on official meeting places by Thursday morning,
    > and if the roads aren't icy, I vote for an informal meeting at some
    > restaurant.  If the roads ARE icy, we should probably postpone until next
    > week.
    >
    >                - Neil (Mr. Nag strikes again) Parker
    >
    > (P.S.  I apologize for pooping your SIP phone party, but our group has an
    > exceptionally poor record on projects like that...if history is any
    > indication, a few people will sound highly interested for a couple of
    > weeks, and that's the last anybody will ever hear of it.)
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] So… Meeting Tonight?



    Mike CherbaThu Jan 11 17:40:07 PST 2007

    In absence of all other suggestions I'd say we'll be virtual tonight.  I
    know I'm not going out again.  I saw too many idiots driving during the
    daylight hours. ;0)
    			-Mike
    
    "The C Programming Language — A language which combines the flexibility
    of assembly language with the power of assembly language." --- unknown
    
    
    On Thu, 2007-01-11 at 17:42 -0800, Dhosthi Dhosthi wrote:
    > Wazu?  Any decisions yet?
    > 
    > 
    >  
    > ____________________________________________________________________________________
    > Have a burning question?  
    > Go to www.Answers.yahoo.com and get answers from real people who know.
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    
  • [Python] coding help — iterating over 2 arrays by individual orderings



    Rob HudsonThu Jan 11 14:31:12 PST 2007

    Quentin Hartman wrote:
    > I don't that I have enough information about what you are doing to
    > make suggestions, but it sounds like you want to have both the text
    > and media items to have something done to them in order, according to
    > their sequence number, correct? If that's the case (and depending on
    > how the lists/dictionaries/whatever are originally built) I would feed
    > them both into one dictionary and then sort that by the sequence, and
    > then just iterate over the whole thing. The built-in sort function is
    > known to be pretty fast, and this method would save a lot of
    > extraneous comparisons. It would probably be easier logic to manage as
    > well.
    > 
    
    The only thing I don't like about this is that the dictionary can only 
    have 1 key.  But if the user repeats the sequence number, then the 
    program appears to not work.
    
    I could possibly enforce unique sequences at the DB layer by using a 
    multi-column unique key.  That's probably a good option.
    
    Otherwise I did find this in Django...
    
    In [45]: from django.utils.datastructures import MultiValueDict
    
    In [46]: d = MultiValueDict({1: ['text'], 2: ['text','media'], 3: ['text']})
    
    In [47]: d
    Out[47]: <MultiValueDict: {1: ['text'], 2: ['text', 'media'], 3: ['text']}>
    
    In [48]: d[1]
    Out[48]: 'text'
    
    In [49]: d[2]
    Out[49]: 'media'
    
    In [50]: d.getlist(2)
    Out[50]: ['text', 'media']
    
    In [51]: d.items()
    Out[51]: [(1, 'text'), (2, 'media'), (3, 'text')]
    
    In [52]: d.lists()
    Out[52]: [(1, ['text']), (2, ['text', 'media']), (3, ['text'])]
    
  • [Python] coding help — iterating over 2 arrays by individual orderings



    Quentin HartmanThu Jan 11 13:53:55 PST 2007

    On 1/11/07, Rob Hudson <rob at euglug.net> wrote:
    > Another thought was to iterate and check if text.item.sequence is
    > greater than media.item.sequence and pull which ever one is lower.
    >
    > That seems ok to me but I'm thinking this is a common enough thing that
    > there's probably a Pythonic way of doing it that I'm not aware of.  Is
    > there?  :)
    
    I don't know of any method that would be more Pythonic to achieve what
    it sounds like you want.
    
    I don't that I have enough information about what you are doing to
    make suggestions, but it sounds like you want to have both the text
    and media items to have something done to them in order, according to
    their sequence number, correct? If that's the case (and depending on
    how the lists/dictionaries/whatever are originally built) I would feed
    them both into one dictionary and then sort that by the sequence, and
    then just iterate over the whole thing. The built-in sort function is
    known to be pretty fast, and this method would save a lot of
    extraneous comparisons. It would probably be easier logic to manage as
    well.
    
    -- 
    -Regards-
    
    -Quentin Hartman-
    
  • [Python] coding help — iterating over 2 arrays by individual orderings



    Rob HudsonThu Jan 11 13:42:51 PST 2007

    Fellow Pythonistas,
    
    I'm looking for a little Python style help.  I'm using Django to gather 
    2 different types of content items.  Each item has a sequence order 
    associated with it.  For reasons associated with how the data model is 
    laid out, I can't combine these queries into a single one.
    
    So I have an array of text items and an array of media items.
    
    I want to iterate over them in the order specified by text.item.sequence 
    and media.item.sequence.  Individually text is sorted by sequence and so 
    is media.
    
    One thought was to throw them in a dict with the sequence being the key 
    and the object being the value and iterate using a key sort.  But if the 
    content teams goof and input duplicate sequence items content gets lost.
    
    Another thought was to iterate and check if text.item.sequence is 
    greater than media.item.sequence and pull which ever one is lower.
    
    That seems ok to me but I'm thinking this is a common enough thing that 
    there's probably a Pythonic way of doing it that I'm not aware of.  Is 
    there?  :)
    
    Thanks,
    Rob
    
  • [Eug-lug] something next thursday ?



    nicolas vigierThu Jan 11 12:12:58 PST 2007

    On Tue, 09 Jan 2007, Ben Barrett wrote:
    
    > I'm sorry, I did not mean a "presentation" :)  The Thursday meetings are
    > specifically less formal,
    > and we try to schedule official-ish presentations for Saturdays.  I mean maybe
    > we could ask you
    > about what you've done, with of course zero preparation it could be fun and
    > easy for all.
    
    Ok, it seems like a good idea :) For tonight, however, that will
    probably not be possible for me because of the snow, but maybe next
    thursday is possible (I'm leaving on friday morning next week in
    Portland, and Eugene is on the road).
    I'll let you know.
    
    Nicolas
    
    
  • [Eug-lug] dns (?) problems



    Matthew JarvisThu Jan 11 11:24:41 PST 2007

    Bob Miller wrote:
    > Matthew Jarvis wrote:
    > 
    > 
    >>On an otherwise reasonably functional network, I see that sometimes I
    >>can get out on the net, other times not, and sometimes it's fine one
    >>minute then almost instantly - poof - nadda...
    > 
    > 
    > Do you have a caching DNS server in the building?  (If not, why not?
    > (-: )
    > 
    > You can use mtr to see how far packets are getting.  Leave it running
    > for a few minutes and look for the nearest hop where the packet loss
    > rate is high.  That'll give you an idea where the problem is.
    > 
    >     # mtr www.google.com
    > 
    
    mtr looks like it could be useful - thanks for the heads up on that 
    tool. Assuming this problem comes up again I'll try it out...
    
    Just in case it's a hardware issue, I've moved the router and firewall 
    box around for better cooling... I'm doubtful that this will help but 
    it's worth a shot...
    
    Thanks again,
    
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] Thursday



    Neil ParkerWed Jan 10 22:40:46 PST 2007

    Larry Price wrote,
    >It's going to be cold and dreary, with nasty weather.
    >
    >How about we have a virtual meeting, start with
    >
    >#euglug
    >on irc.freenode.net
    
    Winter is Eugene is ALWAYS cold and dreary.  That's never stopped us before.
    
    I don't like the virtual meeting idea...IRC is no substitute for
    face-to-face sociabilitiy, and if somebody brings their computer problem
    to a virtual meeting, you can't look over their shoulder while they show
    you the problem happening.
    
    >and maybe we could add a conference call with something like
    >http://www.foonz.com/index.php
    >or
    >skype for linux
    >or
    >set up a SIP conference call (we've got enough brainpower in the group
    >that a bunch of us could tiger team the asterisk set up) and a SIP
    >phone is fairly easy to set up.
    
    SIP only makes sense for people with broadband access--those of us still
    on dialup are out of luck.  And it makes no sense at all in the context of
    the original question--no matter how easy it is to set up, we can't get us
    all wired up for it by tomorrow evening.
    
    So let me reiterate the question:  Where and when are we meeting this
    Thursday?
    
    If we don't have an answer on official meeting places by Thursday morning,
    and if the roads aren't icy, I vote for an informal meeting at some
    restaurant.  If the roads ARE icy, we should probably postpone until next
    week.
    
                   - Neil (Mr. Nag strikes again) Parker
    
    (P.S.  I apologize for pooping your SIP phone party, but our group has an
    exceptionally poor record on projects like that...if history is any
    indication, a few people will sound highly interested for a couple of
    weeks, and that's the last anybody will ever hear of it.)
    
  • [Eug-lug] Hello Everyone



    Jared UbelhorWed Jan 10 21:56:54 PST 2007

    Cool. I'm usually free on Saturdays.
    
    On 1/10/07, Edward Craig <epcraig at gmail.com> wrote:
    >
    > Welcome Jared. Keep an eye on the list, occasionally we schedule a
    > meeting for Satuday you might be able to make,
    >
    > On 1/10/07, Jared Ubelhor <crownedgriffin at gmail.com> wrote:
    > > Hello Everyone,
    > >
    > >  I just found out about EUG-LUG after Mike Cherba's presentation at
    > Pioneer
    > > Pacific. It was very interesting; I enjoyed it a lot. I had never
    > thought
    > > about any of that stuff before.
    > >
    > >  Unfortunately, since you guys meet on Thursdays, I cannot come since I
    > have
    > > school then, but I graduate in March, so hopefully I can come by after
    > that.
    > >
    > >  I would like to eventually work with Linux professionally, so I'm
    > currently
    > > working on getting my Linux ninja-ness to Power Ranger level, but I've
    > got
    > > quite a ways to go. ;)
    > >
    > >  I look forward to asking many questions. I've already got a few thought
    > up
    > > that I'll post later.
    > >
    > >
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > >
    > >
    > >
    >
    >
    > --
    > Edward P. Craig
    > "Think this through with me. Let me know your mind"      Hunter/Garcia
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20070110/789fda50/attac=
    hment.htm