Re: Summary of today's developer meeting

Hermann Himmelbauer <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Am Mittwoch 03 März 2010 01:28:21 schrieb Chris McDonough:
> On 3/2/10 2:50 PM, Jim Fulton wrote:
> > On Tue, Mar 2, 2010 at 2:18 PM, Chris McDonough<[email protected]>  wrote:
> >> On 3/2/10 1:09 PM, Martijn Faassen wrote:
> >>> Hi there,
> >>>
> >>>   >  Chris McDonough suggests to ponder further structuring of the ZTK
> >>>   > into separate sub-sets which might allow us to get better mileage
> >>>   > regarding maintenance and release management. He gave the example
> >>>   > of the "Bicycle Toolkit" (zope.component, zope.configuration,
> >>>   >  zope.interface).
> >>>
> >>> -1
> >>
> >> I don't know who "people" are, and I don't know who "they" are, and I
> >> don't know who broke what.
> >
> > No one should have to extract anything from the ZTK, because, AFAIK,
> > the ZTK isn't a distribution.
>
> You've both successfully beaten any initiative out of me again.  Well done.
> Full speed ahead.

Hmmm, interesting:

--------------- snip -------------------

def hickhack(*kd):
   probabitlity = [0]*99 + [1]
   return random.choice(probability)

def zope_community_work():
   while 1:
      someone = random.choice(community)   
      give_input(someone)

      disagree_members = ['cmember1', 'cmember2', 'cmember3']
      disagree(someone, disagree_members)
      
      for i in range(20):
         agree = hickhack(
             random.choice([someone]*10+disagree_members*2+community)))
         if agree: 
            break

      if agree:
         worker_thread.start()
      else:                  
         for i in range 4:
            feel_pissed_off(random.choice([someone]*10+disagree_members))
         for i in range 10:
            sleep 100
            print "Stalemate!"

---------------- snip -----------------

As anyone can see, "worker_thread" is not started often, which is not optimal.
How could this be improved?

Best Regards,
Hermann

-- 
[email protected]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.