[Zope-dev] Summary of today's developer meeting

Hermann Himmelbauer dusty at qwer.tk
Wed Mar 3 04:06:18 EST 2010


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<chrism at plope.com>  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

-- 
hermann at qwer.tk
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7


More information about the Zope-Dev mailing list