[Zope-dev] What have I done so far?

2013-05-22 Thread Christopher Lozinski
On 5/21/13 11:57 PM, Andreas Jung wrote:
 What have you done so far and what did you contribute
 so far?
I have downloaded and installed ZTFY, and given Thierry lots of feedback.
Perhaps I even changed his direction more towards wikis as a ZTFY
application, instead of blogs.
We will see what happens.  That is a marketing activity, not a software
development activity, on my part.

I have created most of
wiki.ztfy.org

Documenting open source software is a great way to understand it.

I have created a high level introduction into the the packages in ZTK
http://www.zopache.com/ZTK_Package

I have figured out the market niche for ZTFY.  Sure it is a blog and
CMS.  But there are many of those.
It is an extensible blog and CMS.  Because it is based on ZCA, it is
more flexible than existing CMS.  If Plone meets your needs, perfect,
use it.
But if you find Plone not sufficiently flexible, then it makes sense to
move to ZTFY.

The announcement is ready to go out.

Over the last two weeks, I have persuaded a developer to use ZTFY as his
content management application server for javascript applications.

That makes him the third user of ztfy.  And I tell you the first few
users are by far the hardest ones to get.
The rest come much faster.

I helped him through the blue bream hello world demo.  Actually I
figured out the bug in the tutorial.
http://www.zopache.com/HelloWorld

I have contracted out the first release of Zopache
http://zopache.com/RFP_Intro

That page also covers the detailed ongoing Specs of what I am building.

And my consultant has downloaded and installed ztfy, and given Thierry
his feedback.
Which makes the consultant the 4th user of ztfy.

I have been encouraging others to post on these mailing lists, and I
have been answering questions on the mailing lists.

And finally, with your help, we have made this mailing list much
livelier.  All good.

But really your question of what I have contributed so far is quite
hostile.  If we want new users
for ZTK, we should be much more friendly to people on these mailing lists.

In fact the new ZTFY user posted on these mailing lists, I sent him a
nice warm reply, soon we were talking, and now he is both committed
to ZTFY and understands why it is the best choice in the market for his
needs.

I totally understand that there is way too much work to be done here. 
That is why I am looking for consultants to contract it out to.
Actually that is why I am being really nice to newbies, in the hope that
they will join and contribute.  This new guy does not like Page Templates.
He wants to use Jinja2.  I pointed him towards Megrok.Jinja.  I am
optimistic that he will migrate megrok.jinja to ztfy because he needs it
for his own purposes.  We have already walked through the code   There
are a few grok imports we still have to figure out how to get rid of.
http://www.zopache.com/RFP_Jinja2

See how easy it is to bring people into the fold!  I encourage you to be
nice to others.  It works!  And then when they need to, they contribute
open source software.
It is the only way it happens. 

Thanks again for the help with the Javascript question!
 
Chris

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] ZCA for javascript

2013-05-22 Thread Lennart Regebro
On Wed, May 22, 2013 at 1:52 AM, Christopher Lozinski
lozin...@freerecruiting.com wrote:
 ZCA is very interesting stuff.

 I got a call today from a client who wants to do an extensible
 application in Javacript.

 I instantly thought, we could do ZCA in Javascript.  And while not many
 people likes ZODB servers, they all love Javascript clients.

 Has anyone done something like this?   Is anyone interested in doing
 something like this?

 What do you think

Although I'm sure it is possible to make a generic component
architecture in Javascript I highly doubt that it makes sense. JS is
almost all about UI and DOM manipulation, and having something as
abstract as a generic component framework for that may be an
abstraction too far. So what you want is a framework for making
modular JS clients.

And there are tons and tons of modular frameworks for making front-end
apps in Javascript already. Creating another one probably doesn't make
any sense, at least not until you can explain exactly why you can't
use anyone of those that exist.

//Lennart
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] ZCA for javascript

2013-05-22 Thread Jim Fulton
On Wed, May 22, 2013 at 12:32 AM, Andreas Jung li...@zopyx.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Like always: you're thoughtd and reasoning are years behind of what
 people actually do today or using nowadays. I remember your pointless
 discussions on ZClasses - years ago, years after we kicked ZClasses
 completely.

We (I) dropped the ball on ZClasses. They were for an audience that
was important in the early days of Zope and that we turned our
backs on.  IMO, he was right to champion them.  I think if we'd paid
attention, Zope would be more relevant today than it is now.

 I suggest to move on to a Javascript community and continue
 do discuss there. Nowaday we have framework like backbone.js, angular.js
 on the client for doing state-of-the-art client-side JS implementations.
 Or stuff like Obviel (from Martijn Faasen, a long time contributor of
 Zope). Don't take it personally but all your questions and communication
 over the last decade it based on very little technical insight and
 experience. Application design and decisions should be left
 to other persons.

How can he not take it personally when you start and end by
insulting him.  Your response is inappropriate and mostly
non-technical.

If you're uninterested in his proposal, just be quiet.  Maybe others
are or it will die out.  If you want to help by respectfully providing
technical arguments, then that's fine too.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] ZCA for javascript

2013-05-22 Thread Jens W. Klein

You may want to look at AngularJS and its injectors.

regards Jens

On 2013-05-22 01:52, Christopher Lozinski wrote:

ZCA is very interesting stuff.

I got a call today from a client who wants to do an extensible
application in Javacript.

I instantly thought, we could do ZCA in Javascript.  And while not many
people likes ZODB servers, they all love Javascript clients.

Has anyone done something like this?   Is anyone interested in doing
something like this?

What do you think

And forgive me if this is not strictly speaking about zope development,
but this email list is certainly the community of people who would be
interested in this topic.

And while we are discussing Javascript, which zope packages should I be
using for Javascript development and templating?  Megrok.Jinja?

Regards
Christopher Lozinski


--
Klein  Partner KG, member of BlueDynamics Alliance

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] zope-tests - FAILED: 3, OK: 12

2013-05-22 Thread Marius Gedminas
On Tue, May 21, 2013 at 09:45:52AM -0400, Tres Seaver wrote:
 On 05/21/2013 06:28 AM, Marius Gedminas wrote:
  [2]winbot / ZEO_py_265_32
  
  One failure:
  
  File c:\buildslave\zeo\build\src\ZEO\tests\testZEO.py, line 1162, in
  ZEO.tests.testZEO.client_has_newer_data_than_server Failed example: 
  len(client_errors) = 2 Expected: True Got: False
 
 This is another place where I have tweaked the test code, trying to
 remove race conditions:  the test is trying to make assertionas about
 errors being logged, and does a bunch of sleeping trying to ensure that
 enough stuff gets logged.  Again, it is a bad test, and not a real
 issue with the code being tested.

I couldn't reproduce this on my laptop (using detox), but I managed to
get Python 3.2 tests to deadlock (40 minutes and still running, with 0%
CPU usage).

I see that the tests also deadlock on Travis:
https://travis-ci.org/zopefoundation/ZEO/builds/7364121

(And I see that Travis doesn't currently run Python 3 tests for ZEO
master.  I'll fix that.)

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] Buildout performance improvements

2013-05-22 Thread Sylvain Viollon
Hello,

   Few years ago I made a branch of buildout:

http://svn.zope.org/zc.buildout/branches/sylvain-distribution-cache/

   That creates a cache during the installation of the dependencies preventing
buildout to recompute this an exponential number of times.

   The relevant changes can be summarized here (please ignore the Jython 
changes,
I don't know why they were removed):

http://svn.zope.org/zc.buildout/branches/sylvain-distribution-cache/src/zc/buildout/easy_install.py?rev=95445r1=95404r2=95445

I didn't advertise my changes because of the following facts:

   - it didn't support multiple working_set using different versions of the 
same egg,
 which was possible at the time,

   - it didn't support multiple versions of Python, which was possible at the 
time,

   - it didn't seems to integrate well with the direction that was taking 
zc.buildout 1.5.

   I now use zc.buildout 2 and in its README it actually agree with all those 
facts,
so I am basically asking, do you think and/or want me propose a patch to
zc.buildout 2 on github, with this global download_cache integrated ?

   I realize that a global cache sucks, but given the code base, it is 
difficult not
making it global.

   Regards,

   Sylvain,
 
-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands



___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] zope-tests - FAILED: 3, OK: 12

2013-05-22 Thread Marius Gedminas
On Tue, May 21, 2013 at 09:45:52AM -0400, Tres Seaver wrote:
 On 05/21/2013 06:28 AM, Marius Gedminas wrote:
  [1]Still Failing - zopetoolkit_trunk - Build # 270
  One zope.session failure:
  
  File
  /var/lib/jenkins/jobs/zopetoolkit_trunk/workspace/src/zope.session/src/zope/session/http.py,
  line 442, in zope.session.http.CookieClientIdManager.setRequestId 
  Failed example: expires  now + timedelta(0, 55 * 60) Expected: True 
  Got: False
 
 Hmm, I changed that yesterday because the old test code (using
 'time.mktime') was failiing on my box, likely due to an odd mix of naive
 and GMT times.  The *actual* cookie being set by the code-under-test is
 correct -- we just have a problem writing good assertinos about it.

I can reproduce this.

Looks like the error only shows up when the system timezone is east of
the prime meridian (e.g. Europe/Vilnius or Europe/London -- at least
during summer; the error went away with TZ set to America/New_York or
UTC).

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Buildout performance improvements

2013-05-22 Thread Sylvain Viollon

Op 22 mei 2013, om 14:51 heeft Sylvain Viollon het volgende geschreven:

 Hello,
 

   Hello,

   Few years ago I made a branch of buildout:
 
 http://svn.zope.org/zc.buildout/branches/sylvain-distribution-cache/
 
   That creates a cache during the installation of the dependencies preventing
 buildout to recompute this an exponential number of times.
 
   The relevant changes can be summarized here (please ignore the Jython 
 changes,
 I don't know why they were removed):
 
 http://svn.zope.org/zc.buildout/branches/sylvain-distribution-cache/src/zc/buildout/easy_install.py?rev=95445r1=95404r2=95445
 
I didn't advertise my changes because of the following facts:
 
   - it didn't support multiple working_set using different versions of the 
 same egg,
 which was possible at the time,
 
   - it didn't support multiple versions of Python, which was possible at the 
 time,
 
   - it didn't seems to integrate well with the direction that was taking 
 zc.buildout 1.5.
 
   I now use zc.buildout 2 and in its README it actually agree with all those 
 facts,
 so I am basically asking, do you think and/or want me propose a patch to
 zc.buildout 2 on github, with this global download_cache integrated ?
 
   I realize that a global cache sucks, but given the code base, it is 
 difficult not
 making it global.
 



   I made a fork of buildout on github with an even better implementation:

   https://github.com/thefunny42/buildout/compare/buildout:master...master

   Feedback is welcome and if you want me to press the push request, please
do.

   On the Silva buildout, rerunning buildout without changing anything goes
from 63.81s to 33.75s (most of the time is now mr.developer).

   Regards,

   Sylvain,

-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands



___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Buildout performance improvements

2013-05-22 Thread Sebastien Douche
On Wed, May 22, 2013 at 5:58 PM, Sylvain Viollon sylv...@infrae.com wrote:
Hello,
I made a fork of buildout on github with an even better implementation:

https://github.com/thefunny42/buildout/compare/buildout:master...master

Feedback is welcome and if you want me to press the push request, please
 do.

Why on zope-dev and not buildout-developm...@googlegroups.com?


--
Sebastien Douche sdou...@gmail.com
Twitter: @sdouche / G+: +sdouche
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] zope-tests - FAILED: 2, OK: 12

2013-05-22 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2013-05-21 00:00:00 UTC and 2013-05-22 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


[1]Still Failing - zopetoolkit_trunk - Build # 272
[2]winbot / ZEO_py_265_32
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]FAILED  Still Failing - zopetoolkit_trunk - Build # 272
   https://mail.zope.org/pipermail/zope-tests/2013-May/075110.html


[2]FAILED  winbot / ZEO_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-May/075109.html


___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )