euglug.org

[카테고리:] Uncategorized

  • [Python] classic vs new-style Python classes



    Bob MillerFri Jun 6 22:35:45 PDT 2008

    Rob Hudson wrote:
    
    > Anyone know more about "new-style" classes?
    > 
    > See this:
    > http://jcalderone.livejournal.com/39678.html
    > 
    > Should you or shouldn't you derive from `object`?  Based on that post
    > it seems buggy if you do, but then why is it the "new-style"?
    
    Last question first.  It's "new-style" because old-style classes
    were implemented first.  They were found wanting, so their
    replacement was designed.  In Python 3000, all classes are new-style.
    
    My personal strategy is to use old-style classes until I need
    a new-style feature.
    
    The advantage of my strategy is that I don't clutter up the source
    code with a bunch of "derived from object" declarations.
    
    The disadvantage is that I occasionally have to track down bugs where
    the property or super() call I just wrote isn't working because I
    inserted it into a member of an old-style class hierarchy.  Usually
    these are immediately obvious, but not always.
    
    I disagree with the 'blog post you linked.  While there are some
    subtle differences, they're rarely differences that you rely on.  I
    personally have never broken code by converting a class to new-style.
    And I have a tendency to use too much magic in my code.
    
    FWIW, note that you can implicitly create a new-style class by
    setting its metaclass to <type> or a subclass of <type>.
    
        >>> class C: __metaclass__ = type
        ... 
        >>> C.mro()
        [<class '__main__.C'>, <type 'object'>]
        >>> 
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Comcast testing a new approach to throttling use



    silverlining2007 at gmail.comThu Jun 5 19:21:06 PDT 2008

    Comcast and TimeWarner Cable (which in a timely coincidence is being 
    spun off from Time Warner) are preparing their systems to push their own 
    (coming soon) streaming and on-demand programming. More bandwidth and 
    better latency for their own company and partner offerings and less so 
    for the products of others.
    
    What happened to "net neutrality"?
    
    Whatever happened to enforcement of the Interstate Commerce, Sherman and 
    Clayton Antitrust Acts?
    
    marbux wrote:
    > "NEW YORK (Reuters) - Top U.S. cable operators Comcast Corp and Time
    > Warner Cable Inc will begin testing ways this week to limit individual
    > subscribers who use the largest amount of Internet capacity in an
    > effort to protect their high-speed networks."
    >
    > <http://www.reuters.com/article/industryNews/idUSN0335796120080604>
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    >   
    
    
  • [Eug-lug] meetin’ time



    Mike CherbaThu Jun 5 18:49:57 PDT 2008

    I'll bring it up.
    		-Mike
    
    The most likely way for the world to be destroyed, most experts agree,
    is by accident. That's where we come in; we're computer professionals.
    We cause accidents. --- Nathaniel Borenstein
    
    
    On Thu, 2008-06-05 at 17:01 -0700, Matt Jarvis wrote:
    > Mr O wrote:
    > > http://test.euglug.org/node/83
    > > 
    > > 
    > >       
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > 
    > Whilst at the meeting tonight maybe yooz guys could come to some 
    > agreement on the biz card thing....
    > 
    > 
    
    
  • [Eug-lug] meetin’ time



    Matt JarvisThu Jun 5 17:01:47 PDT 2008

    Mr O wrote:
    > http://test.euglug.org/node/83
    > 
    > 
    >       
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    Whilst at the meeting tonight maybe yooz guys could come to some 
    agreement on the biz card thing....
    
    
    -- 
    Matthew S. Jarvis
    IT Manager, MCP
    Bike Friday - "Performance That Packs!"
    www.bikefriday.com
    mattj at bikefriday.com
    
  • [Eug-lug] SECOND ANNOUNCEMENT: June PLUG Meeting



    David MandelThu Jun 5 01:41:18 PDT 2008

                               MEETING ANNOUNCEMENT
    
                          The Portland Linux/Unix Group
                                    will meet
                            7 PM Thursday Jun 5, 2008
                                        at
                            Portland State University
                                      in the
                                 Fariborz Maseeh
                College of Engineering & Computer Science Building
                                 To Be Announced
                      (I think we will be in the basement.)
                (I'll include room number in second announcement.)
             The building is on SW 4th across from SW College Street.
          See location H-10 on map at http://pdxLinux.org/campus_map.jpg
    
       *******************************************************************
    
                                   PRESENTATION
    
                                    OpenSource
                         Unified Threat Management (UTM)
                                      in the
                                    Enterprise
    
                                        by
    
                                   Dan Carrere
                               <carrere at gmail.com>
    
        Dan Carrere has worked in Computer and Network Security with
        Linux and other Open Source Software from the beginning.
        He has also taught at several colleges and universities for
        many years.
    
       *******************************************************************
    
           Agenda:
    
               7:00 - 7:30  Business
                    We will discuss the status of our ongoing projects
                    including PLUG's monthly Advanced Topics meetings,
                    PLUG's monthly hands on clinics, PLUG for Education,
                    etc.
    
               7:30 - 8:30  Presentation
    
                    See above
    
               9:00 - ...  Beer
                                   Jax Bar And Restaurant
                                   826 SW 2nd Avenue
                                   Portland
                                   (Note:  We no longer use the Lucky Lab.)
    
                                           David Mandel
                                           Chief Activist
                                           Portland Linux/Unix Group
                                           560 SE Alexander
                                           Corvallis, Oregon 97333
                                           (541) 730-5285 mobile
                                           dmandel at pdxLinux.org
    
           P.S.  The Mid Willamette Valley Linux Users Group meets
                 every month.  They are currently meeting at 6:00 PM
                 on the third Wednesday of the month at the Corvallis
                 Chamber of Commerce in Corvallis.
                 As of May 2008, the Mid Willamette Valley Linux Users
                 Group was under reconstruction.  Once this is done
                 see http://www.lug.corvallis.or.us/ for details.
    
           P.S.  The Eugene Linux Users Group meets several times a month.
                 See http://www.euglug.org for details.
    
    ======================================================================
    David Mandel                        http://www.DavidMandel.com
    Portland Linux/Unix Group           http://pdxLinux.org
    LinuxFund                           http://LinuxFund.org
    ======================================================================
    
  • [Eug-lug] Comcast testing a new approach to throttling use



    Ben BarrettWed Jun 4 19:28:56 PDT 2008

    I agree, Michael, and I think Comcast *knows* well that most of their
    high-use customers (minus the filesharing seeders... I mean the above-avg
    consumers) are a BLESSING and that they do in fact want the rest of their
    users to adopt the usage patterns of those top-tier digital subscribers.
    The ones who pull up a website they saw on TV, download shows and music from
    iTunes, get some PPV content as well as stream internet and IM all day.  I'm
    guessing that they will actually be throttling torrent seeders (or maybe
    heavy FTP?) and others who are continuously using at least half of their
    downstream and prolly keep their upstream maxed, also.  I'm curious what
    they think constitutes the largest usage, I'm guessing it is not myspace or
    youtube!
    What makes the most business sense, is that they are trying to protect their
    video-distribution assets:  they are either feeling a decline or planning
    for one, regarding TV shows and movies being available online from both
    legit and questionable sources.  The way this is framed to benefit the
    customer is just too obvious...?  Take your interweb and shove it.  Give us
    our internet!
    
    ~ben
    
    
    
    On Wed, Jun 4, 2008 at 4:35 PM, Michael Miller <mike.mikemiller at gmail.com>
    wrote:
    
    > I think it's funny how Comcast and other companies that built networks for
    > the purpose of "Unlimited Internet Access" ( I use the word "unlimited" to
    > mean your not being charged for the service and the traffic you pass on t=
    he
    > network.  This is also known as metered access. ) for a modest fee and
    > varying speeds. ( Fee for service and speeds subject to provider plans and
    > technology. )  Now they want to change the terms of service ( TOS ) to a
    > metered or protocol limited access.
    >
    > I don't think the provider should start to filter your network connection
    > because you are consuming more traffic, due to the providers failed netwo=
    rk
    > design or engineering.  If you over subscribe your network you will have =
    to
    > limit the amount of bandwidth everyone uses.  I.E. if the provider says y=
    our
    > downstream speed is 12 megs and your upstream speed is 1 meg.  Don't get
    > upset because you over subscribed your network and now no one gets close =
    to
    > the variable capacity you advertised and designed.  I'm sure the thinking
    > was no one at home will ever need long sustained downstream or upstream
    > speeds.
    >
    > It's not the customers fault because you advertised faster than X
    > competitor or technology.  Then again the government regulating body at t=
    he
    > federal level still defines broadband or high speed Internet access in the
    > United States as anything faster than 768kbps.
    >
    > Footnote: I could not get to the FCC website that has the correct
    > definition of what is broadband access. Due to the site being down.  I had
    > to then rely on Wikipedia's account of what the FCC considers broadband /
    > high speed Internet is.  It may still be 256 kbit/s (0.256 Mbit/s).
    >
    > sorry for ranting.
    >
    > -Miller
    >
    > On Wed, Jun 4, 2008 at 1:59 PM, seymoor nates <mikemcoo at efn.org> wrote:
    >
    >> Bomcast:  we have hi-speed internet for sale; sign up now.
    >>
    >> Customer: OK, I'll take it.  Here's my wallet; just leave me enough for a
    >> spam sandwich.
    >>
    >> Bomcast:  fine, here you go.  WAIT, you mean you actually thought you we=
    re
    >> gonna get hi-speed internet?  That's not what we meant...
    >>
    >>
    >> marbux wrote:
    >>
    >>> "NEW YORK (Reuters) - Top U.S. cable operators Comcast Corp and Time
    >>> Warner Cable Inc will begin testing ways this week to limit individual
    >>> subscribers who use the largest amount of Internet capacity in an
    >>> effort to protect their high-speed networks."
    >>>
    >>> <http://www.reuters.com/article/industryNews/idUSN0335796120080604
    >>>
    >>>
    >> _______________________________________________
    >> 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
    >
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20080604/d888e8fa/attac=
    hment-0001.htm
    
  • [Eug-lug] Comcast testing a new approach to throttling use



    erock23175 at aol.comWed Jun 4 18:46:14 PDT 2008

     Yet another reason I am glad that their service isn't available to me. They obviously need to rethink their what their "true" capacity is rather than selling bandwidth hours they don't have.? AOL had the same problem, it caused even lesser ISPs to get bigger (Earthlink, PeoplePC, NetZero (back when it was free)). Hopefully the idiocy of the current high-speed providers will motivate people to liberate themselves. 
    
    
     
    
    
     
    
    -----Original Message-----
    From: marbux <marbux at gmail.com>
    To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    Sent: Wed, 4 Jun 2008 1:44 pm
    Subject: [Eug-lug] Comcast testing a new approach to throttling use
    
    
    
    
    
    
    
    
    
    
    "NEW YORK (Reuters) - Top U.S. cable operators Comcast Corp and Time
    Warner Cable Inc will begin testing ways this week to limit individual
    subscribers who use the largest amount of Internet capacity in an
    effort to protect their high-speed networks."
    
    <http://www.reuters.com/article/industryNews/idUSN0335796120080604>
    _______________________________________________
    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/20080604/5c6a7deb/attachment.htm
    
  • [Eug-lug] Comcast testing a new approach to throttling use



    Mr OWed Jun 4 18:37:19 PDT 2008

    I'd like to know what speeds you're getting if you're complaining it isn't high speed. Any speed issue I typically have comes from the other end not having the bandwidth THEY need. Downloading drivers from Asus and Realtek often never sees 40k while Intel and HP are often having files done faster than I can hit the save button! My "limit" seems to average just under 1000k for fast servers and that is sustained for even large files in excess of 1GB. 
    
    Comcast has needed a tiered system because $30 a month is enough to get people off their dreaded dial-up and get rid of their flippin' AOL and Juno accounts. What they also need is to have the modems do NAT by default with the option to turn it off. It would help reduce malware at least a smidgen. At $60 a month though it should remain "unlimited" bandwidth with some daily throttling only if users are truly being "excessive". 
    
    That be all,
    Mr O.
    
    
    --- On Wed, 6/4/08, seymoor nates <mikemcoo at efn.org> wrote:
    
    
    > Bomcast:  fine, here you go.  WAIT, you mean you actually
    > thought you 
    > were gonna get hi-speed internet?  That's not what we
    > meant...
    >
    
    
          
    
  • [Eug-lug] Comcast testing a new approach to throttling use



    Michael MillerWed Jun 4 16:35:20 PDT 2008

    I think it's funny how Comcast and other companies that built networks for
    the purpose of "Unlimited Internet Access" ( I use the word "unlimited" to
    mean your not being charged for the service and the traffic you pass on the
    network.  This is also known as metered access. ) for a modest fee and
    varying speeds. ( Fee for service and speeds subject to provider plans and
    technology. )  Now they want to change the terms of service ( TOS ) to a
    metered or protocol limited access.
    
    I don't think the provider should start to filter your network connection
    because you are consuming more traffic, due to the providers failed network
    design or engineering.  If you over subscribe your network you will have to
    limit the amount of bandwidth everyone uses.  I.E. if the provider says your
    downstream speed is 12 megs and your upstream speed is 1 meg.  Don't get
    upset because you over subscribed your network and now no one gets close to
    the variable capacity you advertised and designed.  I'm sure the thinking
    was no one at home will ever need long sustained downstream or upstream
    speeds.
    
    It's not the customers fault because you advertised faster than X competitor
    or technology.  Then again the government regulating body at the federal
    level still defines broadband or high speed Internet access in the United
    States as anything faster than 768kbps.
    
    Footnote: I could not get to the FCC website that has the correct definition
    of what is broadband access. Due to the site being down.  I had to then rely
    on Wikipedia's account of what the FCC considers broadband / high speed
    Internet is.  It may still be 256 kbit/s (0.256 Mbit/s).
    
    sorry for ranting.
    
    -Miller
    On Wed, Jun 4, 2008 at 1:59 PM, seymoor nates <mikemcoo at efn.org> wrote:
    
    > Bomcast:  we have hi-speed internet for sale; sign up now.
    >
    > Customer: OK, I'll take it.  Here's my wallet; just leave me enough for a
    > spam sandwich.
    >
    > Bomcast:  fine, here you go.  WAIT, you mean you actually thought you were
    > gonna get hi-speed internet?  That's not what we meant...
    >
    >
    > marbux wrote:
    >
    >> "NEW YORK (Reuters) - Top U.S. cable operators Comcast Corp and Time
    >> Warner Cable Inc will begin testing ways this week to limit individual
    >> subscribers who use the largest amount of Internet capacity in an
    >> effort to protect their high-speed networks."
    >>
    >> <http://www.reuters.com/article/industryNews/idUSN0335796120080604
    >>
    >>
    > _______________________________________________
    > 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/20080604/59d01157/attac=
    hment.htm