euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Thursday’s meeting



    erock23175 at aol.comThu Mar 1 07:12:39 PST 2007

     Despite my liking the Spot, we do need to give Travis sufficient notice before just showing up. With that in mind I'd like to suggest that we meet at Mr. O's tonight, and plan on the Spot for our next meet. 
     
     -E 
      
     -----Original Message-----
     From: crownedgriffin at gmail.com
     To: euglug at euglug.org
     Sent: Wed, 28 Feb 2007 11:03 PM
     Subject: Re: [Eug-lug] Thursday's meeting
     
      My Thursday nights are now clear and I would like to begin attending the meetings. Whenever it's decided where it's supposed to be, can I get more precise information on when and where it is?
     
      On 2/28/07, Mr O <notanatheist at yahoo.com> wrote: I'll just post an "FYI" and y'all can hash it out during the day
     tomorrow. My door is still open @ 7pm. Keep in mind it is very
     RARE for me to post during the workday so I can't help with your
     decisions. There are 4 or 5 beers left, 12 or 13 Mountain Dews,
     and remnants of a couple different snacks. I really only need to
     take 10 minutes to shuffle stuff around to make room.
     
     Downside is it will be cold in the garage if anyone is intending 
     on bringing a desktop machine. Laptop users can of course just
     use wireless and stay in the house.
     
     With that in mind, make yerself some decisions. Do you need
     advance notice for "the Spot"? Do you want to do this week at my 
     place and actually plan for the spot next week (as in put it on
     the calendar so others can plan?!)
     
     That be all,
     Mr O.
     
     P.S. ain't English grand? :-)
     
     
     --- Neil Parker < nparker at lyl.llx.com> wrote:
     
     > So what's the plan for Thursday's meeting? Mr O's place
     > again, assuming
     > he's willing?
     >
     > Also remember that The Spot won't be having Thursday night 
     > parking circuses
     > anymore (at least not as bad as before), since there are no
     > more Thursday
     > night basketball games this season.
     >
     > - Neil Parker
     >
     
     
     
     ____________________________________________________________________________________
     Be a PS3 game guru.
     Get your game face on with the latest PS3 news and previews at Yahoo! Games.
      http://videogames.yahoo.com/platform?platform=120121
     _______________________________________________
     EUGLUG mailing list
     euglug at euglug.org
      http://www.euglug.org/mailman/listinfo/euglug
      
        _______________________________________________
    EUGLUG mailing list
    euglug at euglug.org
    http://www.euglug.org/mailman/listinfo/euglug
       
    ________________________________________________________________________
    AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20070301/b494f277/attachment.htm
    
  • [Python] Python and concatenating strings



    horstTue Feb 27 18:05:38 PST 2007

    Lists are mutable.
      Build your chain of strings in a list, then join using the (string) 
    member function of the delimiter.
      (avoid the old style string.join() -- why: see Bob's old post/link below)
    
      - Horst
    
    >>> tmpList = []
    >>> if 1==1 : tmpList.append('1 is 1')
    ...
    >>> if 1==2 : tmpList.append('1 is not 2 --not recorded')
    ...
    >>> if 2==2 : tmpList.append('2 is 2 --recorded')
    ...
    >>> tmpList.append(' etc... ')
    >>> commaString = ', '.join(tmpList)
    >>> asLines = '\n'.join(tmpList)
    >>> commaString
    '1 is 1, 2 is 2 --recorded,  etc... '
    >>> asLines
    '1 is 1\n2 is 2 --recorded\n etc... '
    >>> print asLines
    1 is 1
    2 is 2 --recorded
      etc...
    >>>
    
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Date: Fri, 31 Mar 2006 08:10:24 -0800
    From: Bob Miller <kbob at jogger-egg.com>
    Subject: [Python] Python idioms and efficiency
    
    I found this on the 'Net.  It's a collection of idioms for our favorite
    scripting language.  Includes some cool techniques.
    
    http://jaynes.colorado.edu/PythonIdioms.html
    
    --
    Bob Miller                              K<bob>
    
    ===========================================================
    > Date: Tue, 27 Feb 2007 15:39:33 -0800
    > From: Rob Hudson <rob at euglug.net>
    > Subject: [Python] Python and concatenating strings
    > 
    > I'm working on some code and I'm doing a lot of this:
    >
    > content = ''
    > if blah:
    > 	content += 'something'
    > if blah2:
    > 	content += 'something else'
    >
    > There's lots of that.  Is there a faster way to build a string?
    >
    ...
    
  • [Eug-lug] New IT Group in Eugene, OR



    AlanTue Feb 27 17:02:37 PST 2007

    >>If you can't drink, you're not really ready for IT anyway...
    >
    > I'm 20, and I just spent the last year and a half working my ass off to
    > get
    > my AAS.
    > I worked full time (and still do) at a job I can't stand during the day
    > and
    > went to school at night.
    >
    And apparently lost your sense of humor in the process.
    
    -ajb
    
    
    
  • [Python] Python and concatenating strings



    Quentin HartmanTue Feb 27 16:41:17 PST 2007

    On 2/27/07, Rob Hudson <rob at euglug.net> wrote:
    >
    > > Python has StringIO and cStringIO classes.  But they are much slower
    > > than naive string concatenation.
    >
    > Good to know, and thanks for the proof.  :)
    
    
    
    Bob Miller: When a simple "It will be fine" just isn't enough...
    
    :D
    -- 
    -Regards-
    
    -Quentin Hartman-
    
  • [Eug-lug] New IT Group in Eugene, OR



    Ben BarrettTue Feb 27 16:39:43 PST 2007

    I agree with your sentiments, however the tagline on the website
    makes it sound like a social/emotional support for people who get
    beat up, themselves, either by their job or the technology.
    
    Possibly a tagline that is not focused on emotional support would
    be more appropriate?  FWIW, there will always be hecklers and naysayers,
    so keep your optimism but shield it with great fortitude.  :)
    
    I was asking all those questions to help the reading audience differentiate
    what
    makes that group different from this one.  It would be silly to say, "bring
    your
    preconceived notions and techno-bigotry", of course.  If people thought
    about
    that in any part of their daily lives, the world would be a better place,
    yes.
    I *will* offer constructive questions, but it'll cost ya!!  ;)
    
    from one who sometimes plays the heckler/peanut-gallery cards,
    
    ben
    
    
    On 2/27/07, Michael Miller <mike.mikemiller at gmail.com> wrote:
    >
    > I think this a really good idea.  I hope it goes far, and people do
    > not come to the meeting looking to beat up on X software or X
    > technology.  I think everyone going to a forum like this should keep a
    > open mind. You should also offer constructive questions and commits.
    >
    > -Miller
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20070227/220ab3d1/attac=
    hment.htm
    
  • [Python] Python and concatenating strings



    Rob HudsonTue Feb 27 16:33:47 PST 2007

    > Python has StringIO and cStringIO classes.  But they are much slower
    > than naive string concatenation.
    
    Good to know, and thanks for the proof.  :)
    
    -Rob
    
  • [Python] Python and concatenating strings



    Bob MillerTue Feb 27 16:10:27 PST 2007

    Rob Hudson wrote:
    
    > There's lots of that.  Is there a faster way to build a string?
    
    Keep in mind that Python strings are immutable.  The += operator
    creates a new string and binds the variable to it.  In other words,
    the Python code
    
       a += 'bcd'
    
    is roughly equal to this C code.
    
        tmp = malloc(strlen(a) + strlen("bcd") + 1;
        strcpy(tmp, a);
        strcpy(tmp + strlen(a), "bcd");
        a = tmp;
    
    (except strlen() on Python strings runs in constant time).
    
    > I know this is particularly slow in Java since it allocates only enough 
    > for the string each time.  If you know you're going to do a lot of this, 
    > they recommend StringBuilder.
    
    Python has StringIO and cStringIO classes.  But they are much slower
    than naive string concatenation.
    
        ~> cat stringbuf.py
        #!/usr/bin/python
    
        import profile
        import StringIO
        import cStringIO
    
        def test_string(nrep, ncat):
    	for i in range(nrep):
    	    s = ''
    	    for j in range(ncat):
    		s += 'word'
    
        def test_StringIO(nrep, ncat):
    	for i in range(nrep):
    	    s = StringIO.StringIO()
    	    for j in range(ncat):
    		s.write('word')
    	    s.getvalue()
    
        def test_cStringIO(nrep, ncat):
    	for i in range(nrep):
    	    s = cStringIO.StringIO()
    	    for j in range(ncat):
    		s.write('word')
    	    s.getvalue()
    
        test_string(10, 10)
        test_StringIO(10, 10)
        test_cStringIO(10, 10)
    
        profile.run('test_string(10, 1000)')
        profile.run('test_StringIO(10, 1000)')
        profile.run('test_cStringIO(10, 1000)')
        ~> python stringbuf.py | grep seconds
    	     15 function calls in 0.004 CPU seconds
    	     50065 function calls in 0.920 CPU seconds
    	     10035 function calls in 0.200 CPU seconds
    
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] New IT Group in Eugene, OR



    AlanTue Feb 27 15:58:55 PST 2007

    > What about people like me who are still trying to get started in the I.T.
    > world?
    >
    > I've never been to this Eugene City Brewery. Sounds like I'd have to be 21
    > to get in? If that's the case I'm not invited I suppose. >=|
    >
    
    If you can't drink, you're not really ready for IT anyway...
    
    -ajb
    
    
    
  • [Python] Python and concatenating strings



    Rob HudsonTue Feb 27 15:39:33 PST 2007

    I'm working on some code and I'm doing a lot of this:
    
    content = ''
    if blah:
    	content += 'something'
    if blah2:
    	content += 'something else'
    
    There's lots of that.  Is there a faster way to build a string?
    
    I know this is particularly slow in Java since it allocates only enough 
    for the string each time.  If you know you're going to do a lot of this, 
    they recommend StringBuilder.
    
    I'm curious if Python is similar.
    
    Thanks,
    Rob
    
  • [Eug-lug] New IT Group in Eugene, OR



    Ben BarrettTue Feb 27 11:50:59 PST 2007

    Neat, a new group.  Any reason you guys didn't want to put on a Saturday
    presentation for EUGLUG?  Is the subject area of that group divergent?
    (ie, more MS-heavy, or simply all-inclusive?)
    Is it really only meant for IT professionals, or do you also welcome
    wanna-be's, students, etc?  Is it an anti-ranting group?
    
    Thanks in advance for the info, and for setting up this group.  Just
    seeking some clarifications... we used to have nice informal lunch meetings,
    which didn't include presentations but plenty of ad-hoc discussion on
    the state of IT, professional-environment steam-blowoff, etc.
    I miss that :)
    
    Also - who are the founders you mention.  As feedback, it comes across that
    the discussions were somewhat private, closed-door affairs, since I've been
    doing IT in this area for over 5 years now and hadn't heard of the group or
    your discussions until now.  On the flip side, it is nice, frankly, so see
    that
    you've established some organization, instead of yet another call for
    interest
    that doesn't bear any fruit ;)
    
    thanks,
    
    ben
    
    
    On 2/27/07, Quentin Hartman <qhartman at gmail.com> wrote:
    >
    > I've always felt that there was something missing in the IT community
    > in Eugene. There just wasn't a good way for anyone involved with IT in
    > the area to connect with others ho are facing similar professional
    > challenges. Over the past year I've been discussing this with other IT
    > professionals in the area, and recently we decided to do something
    > about it. We're starting a regular monthly gathering for IT
    > professionals in the area.  Meetings are the THIRD TUESDAY of every
    > month, and our first meeting is Tuesday, March 20. More information on
    > upcoming meetings, mailing lists, etc is available at itproforum.org.
    >
    > Since our meetings are based around having a speaker on some technical
    > topic related to IT, we're always on the lookout for interested
    > speakers.  We're not a dues collecting organization, so we can't pay
    > you an honorarium or even cover travel expenses.  But I, or one of our
    > other founders, would be happy to feed you and put you up for a couple
    > days.  Please email me directly if you'd be interested in giving a
    > talk.
    >
    > Please forward this information to anybody who you think might be
    > interested.
    >
    > --
    > -Regards-
    >
    > -Quentin Hartman-
    > _______________________________________________
    > 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/20070227/92e9e891/attac=
    hment.htm