[web2py] Re: web2py vs others. Status of 2014

2014-07-17 Thread Arnon Marcus
Massimo is right - the future is a fatter client and thinner server (Hell, it's already "the present", or even "the past"...) I like exactly the technologies Massimo mentioned, with some additions. I opened a few google-groups for integration of Ember, Angular and the like, but then life happene

[web2py] Re: G-event vs. Redis (?)

2014-03-25 Thread Arnon Marcus
the default http-server in python... On Tuesday, March 25, 2014 11:43:40 AM UTC+2, Arnon Marcus wrote: > > So, we came to the conclusion that combining the use of G-event as the > server, and redis for caching, injects instabilities, with random hangings > and crashing requests: >

[web2py] G-event vs. Redis (?)

2014-03-25 Thread Arnon Marcus
So, we came to the conclusion that combining the use of G-event as the server, and redis for caching, injects instabilities, with random hangings and crashing requests: I ruled-out the factor of using 0.13.x versions of G-event vs. the 1.x release - it happens in both cases. I ruled-out using re

[web2py] Re: Latest thinking -- Bootstrap vs. Foundation?

2014-03-11 Thread Arnon Marcus
Any news on this? When should BS3 be expected to be int the default (welcome) app? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this mess

Re: [web2py] Re: Redis caching

2014-02-18 Thread Arnon Marcus
You say yourself in many posts, that you are inexperienced in the subject >> that are being discussed? >> Then, perhaps it's good to take a more humble approach when addressing >> your questions/statements? >> I can only speak for myself, that I should at least pick tha

[web2py] simplejson and datetime

2014-01-22 Thread Arnon Marcus
I know there is support for "encoding" datetime objects using the gluon.contrib flavor of simplejson. (at least in the old version of web2py I am using) But I opted for using 'pip install simplejson' as it compiles the latest version for me... So I use that. I don't have issues in encoding, as I

Re: [web2py] Re: DAL usage

2014-01-18 Thread Arnon Marcus
Thanks anthony, you're right - this models_to_run approach makes no sense in my use-case - it assumes a 1:1 correlation between controllers and their used-models, which would only occure in very simple apps. The whole point of using a relational database is to have great flexibility and diversit

Re: [web2py] Re: ultramemcache

2014-01-17 Thread Arnon Marcus
e memcache API. Web2py > does not rely on python memcache being installed on the system. We > added gluon/contrib/memcache/__init__.py > > > On Thursday, 16 January 2014 16:17:21 UTC-6, Arnon Marcus wrote: > >> I was going to, but couldn't find it... >> In fact, I

Re: [web2py] Re: DAL usage

2014-01-17 Thread Arnon Marcus
y don't you put your model definitions in modules (either inside of >> functions or classes)? Then, when you need a particular model or set of >> models, just import the relevant function/class and call it with whatever >> arguments are needed to give you the models you want.

Re: [web2py] Re: DAL usage

2014-01-17 Thread Arnon Marcus
I guess we can try to do conditional executions... It's quite a hassle, though, as the controllers don't do all the work - most of our queries are in fact in separate modules that the controllers use, which make it much eazier to maintain but it would make it more difficult to segregate the cond

Re: [web2py] Re: DAL usage

2014-01-17 Thread Arnon Marcus
it's a sub-optimal design. For small projects, that usually wouldn't matter, as the overhead would be small. For bigger projects though On Fri, Jan 17, 2014 at 4:52 PM, Anthony wrote: > On Friday, January 17, 2014 2:18:50 AM UTC-5, Arnon Marcus wrote: >> >> A dat

[web2py] Re: DAL usage

2014-01-16 Thread Arnon Marcus
A database scema is a description of the structure of a database - it has nothing to do with requests. You are talking about a convinience-feature that could have been implemented differently - this coupling is convinient but makes no sense from a performance standpoint. I am looking for a way a

[web2py] Re: DAL usage

2014-01-16 Thread Arnon Marcus
> > It sounds like instead, you would prefer for the module to create a table >> object so the table object can be imported directly (and then added to the >> DAL connection object of the current request) -- that way, the table object >> would be created only once, the first time it is imported

[web2py] Re: Redis caching

2014-01-16 Thread Arnon Marcus
Derek: Are you being sarcastic and mean? > cache doesn't cache only resultsets, hence pickle is the only possible > choice. > > Well, not if you only need flat and basic objects - there the benefit of pickle is mute and it's overhead is obvious - take a look at this project: https://redis-

Re: [web2py] Re: ultramemcache

2014-01-16 Thread Arnon Marcus
he top and hope for the best. > > On Thursday, January 16, 2014 12:02:11 PM UTC+1, Arnon Marcus wrote: >> >> We are using gevent, and we want to use memcached (for now, before we >> upgrade web2py to a version that supports redis...) >> I've noticed that there is thr

[web2py] ultramemcache

2014-01-16 Thread Arnon Marcus
We are using gevent, and we want to use memcached (for now, before we upgrade web2py to a version that supports redis...) I've noticed that there is threading going on in the gluon.memcache package - would this work with gevent? This package is specifically meant for using memcached from a geven

[web2py] Redis caching

2014-01-16 Thread Arnon Marcus
I noticed that the current implementation for web2py uses pickles. That is a design choice. There are pros and cons. Right off of my head, the biggest cons may be retricting cache-use to python, and performance penalties. When I think of all that redis can do, I can not help imagining a better so

[web2py] DAL usage

2014-01-16 Thread Arnon Marcus
Our schema is quite large (200+ Tables) and changes very seldom. I was thinking, is there a way to not have to rebuild it in it's entierty on every request? I mean, is there a way to seperate-out the schema definition from the connection object? Ideally, I would put the schema definition code in

Re: [web2py] Re: gevent and admin app

2013-12-30 Thread Arnon Marcus
erver, so you're able to read tickets > and so on. > > > On Monday, December 30, 2013 8:25:34 PM UTC+1, Arnon Marcus wrote: >> >> Cool, thanks. >> I have been using putty and winSCP pretty extensively for about a year >> now - but I won't even need

[web2py] Re: gevent and admin app

2013-12-30 Thread Arnon Marcus
Cool, thanks. I have been using putty and winSCP pretty extensively for about a year now - but I won't even need that to access the web2py app files, because I managed to get a samba server up and running... What I meant by 'accessing the admin app', was that when we have a server-error, we can

[web2py] Re: gevent and admin app

2013-12-30 Thread Arnon Marcus
I have no idea what ssh forwarding is, or whatever it is you wrote here-I can look it up. I am not a linux wiz by any means, nor an operations guy - just learning things as I go as I need them. I understand that the admin app, by default, requires a secure channel, for ano non localhost usage.

[web2py] Re: gevent and admin app

2013-12-30 Thread Arnon Marcus
How do I do that? I tried the anyserver -h flag, but there was nothing there about it... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] gevent and admin app

2013-12-29 Thread Arnon Marcus
How can I access the admin app in remote (non localhost) server, when hosting via gevent? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received th

[web2py] gevent and admin app

2013-12-29 Thread Arnon Marcus
How can I access the admin app in remote (non localhost) server, when hosting via gevent? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received th

Re: [web2py] Js2Py : Web2py to JavaScript Integrations

2013-11-24 Thread Arnon Marcus
Love to have you on-board! :) On Sun, Nov 24, 2013 at 10:37 PM, António Ramos wrote: > Its about time. > > I go for angular. Really love it! > Its a plus for user interface dynamics. > > > 2013/11/24 Arnon Marcus > >> I have launched my initiative for developin

[web2py] Js2Py : Web2py to JavaScript Integrations

2013-11-24 Thread Arnon Marcus
I have launched my initiative for developing integration-scaffolding-apps for web2py, for integrating it with the latest-and-greatest javascript frameworks - check it out and join us: https://groups.google.com/forum/#!forum/js2py-dev -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Scaffold-Integration-Apps for client-side frameworks

2013-11-24 Thread Arnon Marcus
I have launched my initiative with a few new google-groups - check it out: https://groups.google.com/forum/#!forum/js2py-dev -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (R

[web2py] Re: Scaffold-Integration-Apps for client-side frameworks

2013-11-24 Thread Arnon Marcus
Let's continue this discussion here: https://groups.google.com/forum/#!topic/ember2py-dev/fsxcwS54D9s -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Re: Scaffold-Integration-Apps for client-side frameworks

2013-11-24 Thread Arnon Marcus
BTW, there are muliple ways of overcomming the syntax collision with handlebars. You could: 1. Change web2py's delimiter syntax to somethimg other than double-curly-braces. 2. Change handlebars's delimiter syntax. 3. Have separate files for the handlebars templates. 4. Have custom web2py html-help

[web2py] Re: Scaffold-Integration-Apps for client-side frameworks

2013-11-24 Thread Arnon Marcus
Hi Rob, I had seen your solution when I ran a search for ember in this group. It's ok that you are new to ember - so am I - we are all learning here as we go. The reason that there are no 'ember folks' in the web2py community, is that there isn't a solution for it in web2py. And the reason for t

[web2py] Re: Scaffold-Integration-Apps for client-side frameworks

2013-11-23 Thread Arnon Marcus
The first thing I am going to tackle, is Require.js I love the idea of compartmentalizing different views/viewModels into separate files, organised in role-oriented directorates. We 2py already does that, as part of the MVC-RoR-like :convention-over-configuration' approach. Durandal (and Ember)

[web2py] Scaffold-Integration-Apps for client-side frameworks

2013-11-23 Thread Arnon Marcus
Django, Rails and ASP.Net, all have community-generated 'template' (scaffolding) apps and demo-apps for many of the popular client-side frameworks that had emerged in the last 2-3 years. The Breeze middle-ware, also has many different front-ends and back-ends integration examples. Does web2py h

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-20 Thread Arnon Marcus
My guess about .select(processor=..) when compared to having a separate "flat" function, is that the additional layer of indirection (function invocation) incurs a small penalty that shows-up. I did a non-web2py-related test earlier, that showed consisant x2.2 penalty of adding a single-layer o

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-20 Thread Arnon Marcus
Everyone: You may play with the numbers at the top in this version of the code - everything is now customizable for generating any number of chained-joined tables with any number of fields and inserting any number of records. I find that the more joins you have, the more overhead you'll pay whe

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-20 Thread Arnon Marcus
2013 11:12:52 PM UTC+1, Arnon Marcus wrote: >> >> 10x Niphlod, I'll check that tomorrow... >> >> I can provide any code you like - this is solid and consistent. >> > > Exactly what I'm asking. a self-contained testbase to reproduce (including >

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-20 Thread Arnon Marcus
sql_with_colnames() total=0.989993 avg=0.009900 > speed_rows_with_simple_processor() total=1.084824 avg=0.010848 > > > Mind that your code doesn't work properly, I got the error: > "sqlite3.IntegrityError: foreign key constraint failed". Find attached an > updated version. > > Paolo > >

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-20 Thread Arnon Marcus
Here we go: I edited the original test-code that Niphlod posted, just enough to put my hypothesis to the test. Here are the results: C:\Python26\python.exe F:/Experimental/web2py_272/web2py/test_executesql.py Times are for 100 iterations Preparing started bench speed_executesql() total=0.920

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-20 Thread Arnon Marcus
I get these results: C:\Python26\python.exe F:/Experimental/web2py_272/web2py/test_executesql.py > Times are for 100 iterations > Preparing > started bench > speed_executesql() total=1.132703 avg=0.011327 > speed_normal_rows() total=5.320367 avg=0.053204 > speed_rows_with_cacheable() total=5.3

Re: [web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-19 Thread Arnon Marcus
On Wednesday, November 20, 2013 12:27:23 AM UTC+2, Michele Comitini wrote: > > Use the profiler to make your tests even more effective > > Well, I AM using cProfiler that comes with python... Not sure this comment was directed to me, or Niphlod... I wasn't using 'timeit', though, so that might

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-19 Thread Arnon Marcus
Well, that's basically what my suggested quickSelect() method is doing... But as you said - out of the box, there is a 'colname' argument that is disregarded inside the 'as_dict' if-block, so you can only get a practically-unusably-orgeenized pile of values in each record in the record-set... Ha

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-19 Thread Arnon Marcus
10x Niphlod, I'll check that tomorrow... I can provide any code you like - this is solid and consistent. I am running this on my desktop-workstation which runs windows7x64. It's an Intel Core-i7 870 w/ 8GB RAM, running Python 2.6x64 via a simple command-line g-event server... Don't think I have

[web2py] Re: Making the DAL orders-of-magnitude faster...

2013-11-19 Thread Arnon Marcus
Can the conversion (Rows parsing) be somehow sped-up by C-compiling it? This could be "super"... Anybody knows Cython...? :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (

[web2py] Re: bootstrap 3 skeleton app?

2013-11-18 Thread Arnon Marcus
Is it in the roadmap? (Could't see it on the official one..) Is there a designated-version for it? (2.8 maybe? <...hope...>) Can we get a guestimated-timeframe? Lots of client-side libraries/frameworks that we have our eyes on for using, and who relied on bootstrap 2.x, are fast-converting to 3.0

Re: [web2py] Re: web2py "Components" for layout.html and other HTML pages [ not derived from layout.html]

2013-11-14 Thread Arnon Marcus
+1 I was thinking the same thing, as a starting point in preperation of converting my we2py-app's client-side into a SPA. Having a componentized scaffold could help me get to that milestone faster. I am not saying web2py should become a SPA framework, just a "frendlier" option for these use-cas

Re: [web2py] Re: web2py & pycharm...

2013-11-14 Thread Arnon Marcus
The community edition does not support web2py. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the

[web2py] Re: new feature in trunk

2013-10-24 Thread Arnon Marcus
How would this work internally? What queries would be generated? How many queries would be generated? At what points in time would queries be "executed"? Would that be a "lazy" execution? We have many such tables in our project, so this is a big interest of ours to have this work as best it can.

Re: [web2py] Logging http audit

2013-10-14 Thread Arnon Marcus
I ended-up embedding my code into web2py instead of injecting it - it's simpler this way (for me) - it looks like this: *In logging.conf:* [loggers] keys=root,rocket,markdown,web2py,rewrite,app,welcome,*logstash* [handlers] keys=consoleHandler,rotatingFileHandler,*logstash* ... *[logger_logst

Re: [web2py] Logging http audit

2013-10-14 Thread Arnon Marcus
In both cases that can be implemented as a form of "rendering". The body can be tought of as being 'rendered-into', say, body.text (which would hold a simple string object) or something, that happens at the end of the current request-processing cycle. Similarly, user-name/info could be rendered

Re: [web2py] Logging http audit

2013-10-14 Thread Arnon Marcus
The other issue is with the body of requests/responses - how does one reliably accesses the content of the body, regardless of wether it happens to be implemented as an io-stream or a file-wrapper in any given http-session (request->response pair) - and regardless of that being a regular http-re

Re: [web2py] Logging http audit

2013-10-14 Thread Arnon Marcus
I don't see a bug here - things work, just no as ideal as it coulb be. I ended up using monkey-patching so I don't even need the thread-local globals - I use them in a dependancy-injection kind of way. So I am successfully bypassing the lack of support in 1.8.95. The issues massimo is raising seem

Re: [web2py] Logging http audit

2013-10-13 Thread Arnon Marcus
We may convert to using redis for sessions, so I'll have to fix that. But I would really rather be able to get the session user-name by whatever means - My goal is to be able to filter logs in elasticsearch using kibana, based on "user" - that would be most convenient for tech-support/debugging.

Re: [web2py] Logging http audit

2013-10-13 Thread Arnon Marcus
Massimo: Thanks for the tip. How would you recommend I go about accomplishing this then? Is there a better point-of-abstraction I can inject this into that would work better? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

Re: [web2py] Logging http audit

2013-10-13 Thread Arnon Marcus
I ended up doing this as a proof of concept: < in *gluon.main.serve_controller()* > user = '' sessionDict = dict(session) if sessionDict.has_key('auth') and sessionDict['auth']: authDict = dict(sessionDict['auth']) if authDict.has_key('user') and authDict['user']:

Re: [web2py] Logging http audit

2013-10-13 Thread Arnon Marcus
To be clear - the file-wrapper is shown in the debugger as: *_TemporaryFileWrapper: ', mode 'w+b' at 0x06D5E0C0>* with a property: *name = 'c:\\users\\arnon\\appdata\\local\\temp\\tmpaqdva6'* What am I supposed to do with that? -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Logging http audit

2013-10-13 Thread Arnon Marcus
It's as if someone messed around with the *__repr__()*s and* __str__()*s, or rather didn't do so for some sub-class... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

Re: [web2py] Logging http audit

2013-10-13 Thread Arnon Marcus
Very cool, 10x! :) However, I seem to have a problem getting the body of the request object some of the times (I think when using ajax). In cases in which the object is a "true" ** object, the *,getvalue() *method works. But sometimes it is some kind of file-wrapper thing, and it does not have

[web2py] Re: web2py!!!

2013-10-13 Thread Arnon Marcus
What about IronPython? Web2py is supposed to work with that.. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are su

[web2py] Re: web2py!!!

2013-10-13 Thread Arnon Marcus
What about IronPython? Web2py is supposed to work with that.. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are su

Re: [web2py] Logging http audit

2013-10-10 Thread Arnon Marcus
Thank you very much Richardo (!) I would really like to use your solution, and have access to the *current *fully-processed *request*, *response *and *session *objects. Unfortunately, though, we are using a very old version of web2py (1.89.5), which does not have the "current" variable in "gluo

[web2py] Logging http audit

2013-10-06 Thread Arnon Marcus
Hi, I would like to log more HTTP-traffic-related data into logstash - no webserver outputs the information I need. I know there is already a built-in http logger, but just like any webserver, it does not include the body and other data (controller-action, args, vars, user, session, etc). I wan

[web2py] Re: web2py 2.7.1 is OUT

2013-10-05 Thread Arnon Marcus
How updated are the documentation? What version does the book reflect? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because y

[web2py] RE: PyCharm 3.0 web2py support

2013-09-30 Thread Arnon Marcus
Works for me. All variables declared in files within an application's /models are available in autocompletion and inspection within controller files - as well as all web2py globals - they really did a surprisingly good job. Also variables declared in a controller-actions are available in it's re

[web2py] Re: Do you use web2py professionally?

2013-08-15 Thread Arnon Marcus
The explenation I gave shoul make it trivial to write a simple example - it boils everytings down to a few urls that return an xml. Writing such controller-actions in web2py is trivial to do with the aid of the web2py documentation - you may even be able to find examples. As for the xml formatt

[web2py] Re: Do you use web2py professionally?

2013-08-14 Thread Arnon Marcus
We dont have such an example. As I said, what tends to happen after awhile, is that a new separate module emearges, just for dealing with treegrid on the back-end. All handlers for even the simplest of use-cases, are then refactored into using this module, in order to avoid code-duplications. Th

[web2py] Re: Do you use web2py professionally?

2013-08-14 Thread Arnon Marcus
This is a client-side example of instantiating a treegrid object: TreeGrid({// Object supplied defining the treegrid instance Layout:{ // Data source for grid structure, definitions and columns and usually fixed rows Url:def_url // Each Url may be of a static document, or repre

[web2py] Re: Do you use web2py professionally?

2013-08-14 Thread Arnon Marcus
Hmmm, our code is proprietary... I'll see what I can do. Basically, you load-up treegrid in the layout.html like any other javascript library (after putting it in the static folder of the app), and from then it works via ajax with jquery. You write a controller-action in web2py that you talk to

[web2py] Re: Do you use web2py professionally?

2013-08-13 Thread Arnon Marcus
We at our company have been using web2py for almost 4 years now. We use it as a basis for a wide-spectrum management system for our entire business, as an intranet web-app. We started by implementing a bidding process (generating budget-proposals, and such) as a substitution for monstrous spreads

[web2py] Request: Course about Web2py & TDD + pledge for cash

2013-08-12 Thread Arnon Marcus
Have you seen this? www.google.co.il/url?q=http://www.kickstarter.com/projects/1369857650/real-python-for-web-development-featuring-web2py&sa=U&ei=7L8IUpv9JITBhAfO3ICgAg&ved=0CAgQFjAA&sig2=O3-v5BoCopi7PkTsHu1ruA&usg=AFQjCNETtaOj7l8Urfb41wH-_hxcATQg0w -- --- You received this message because yo

Re: [web2py] Re: web2py EuroPython 2013 Talk

2013-07-12 Thread Arnon Marcus
gt; frameworks in the past, somebody got upset and attacked us. Not worth it. >> >> On Thursday, 11 July 2013 20:44:07 UTC-5, viniciusban wrote: >> >>> Massimo, how about you writing an article about this subject and share >>> with us? >>> >>>

Re: [web2py] Re: web2py EuroPython 2013 Talk

2013-07-11 Thread Arnon Marcus
der validation/conversions as web2py does and because you cannot turn off sessions in web2py. As soon as one uses templates, web2py is faster. If you use databases the speed is about the same because that becomes the bottle neck. > Massimo > > On Monday, 8 July 2013 17:08:53 UTC-5, Arnon

[web2py] Ansible Front-End

2013-07-09 Thread Arnon Marcus
Ansible is a python-based deployment/configuration-management tool. http://www.ansibleworks.com/ There are already planes to ship such a web-based front-end at the end of the month. However, it's going to be proprietary, for payed-subscription only, and not based on web2py. I was thinking of st

[web2py] Re: web2py EuroPython 2013 Talk

2013-07-08 Thread Arnon Marcus
BTW, is it really true that web2py is twice as slower than django nowadays? How can that be? Didn't it used to be twice as fast? When I first evaluated it 3 years ago, it was by-far the fastest - what changed? You said that one of the core principles of accepting changes to web2py, is that they s

[web2py] Re: web2py EuroPython 2013 Talk

2013-07-08 Thread Arnon Marcus
Awesome lightning-talk... They should have given you much more time... I actually would have opted for a slightly different prioritization for what to show: 1. For me, as a developer, the ticketing system is one of the most useful and impressive piece of work in the whole of web2py - I think for

[web2py] Re: help testing auth.signature with mysql/pgsql

2013-06-16 Thread Arnon Marcus
That's not a justified reason. If I have a table with a column that has zero nulls in it, it is perfectly reasonable for me to expect to be able to add a not-null constraint after the fact. If web2py is dealing with this migration, it should at least attempt to do it correctly. It should only f

Re: [web2py] PostgreSQL problem

2013-06-16 Thread Arnon Marcus
Done. https://code.google.com/p/web2py/issues/detail?id=1535 https://code.google.com/p/web2py/issues/detail?id=1536 Just so you know... -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving e

[web2py] PostgreSQL problem

2013-06-13 Thread Arnon Marcus
We've been dealing with issue for a long time now, with a working workaround, but frankly, we sbouldn't bave to. It's actually a very basic and common use-case, so I am surprised nobody brought it up before... The issue is with migration when changing constraints on fields. It fails silently. T

[web2py] PostgreSQL problem

2013-06-13 Thread Arnon Marcus
We've been dealing with issue for a long time now, with a working workaround, but frankly, we sbouldn't bave to. It's actually a very basic and common use-case, so I am surprised nobody brought it up before... The issue is with migration when changing constraints on fields. It fails silently. T

Re: [web2py] Re: Testing your app using py.test

2013-05-26 Thread Arnon Marcus
I think that we fail to communicate because we have different un-spoken assumptions. Let's take the following sentence as an example for what I mean by that: " less expert users should work on the easy tasks (that they can do), even if it takes them a bit longer, leaving the more expert users to wo

Re: [web2py] Re: Testing your app using py.test

2013-05-26 Thread Arnon Marcus
Thanks for explaining, Massimo. However, it seems that our common interest for a road-map, may not fit the way you operate - as you said, if developers don't need a feature, it will not be written. This nulls the possibility of web2py developers answering the needs of web2py users. I agree tha

Re: [web2py] Re: Testing your app using py.test

2013-05-26 Thread Arnon Marcus
> > > Only for announcements that include links to the real announcement. > > Let's see: 2.4.7 is out: http://web2py.com/init/default/changelog (54 characters) 2.4.7 is out: pypy support, thanks Niphlod more bug fixes (57 characters) Obviously, for more verbose change-logs, a link can be

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
I think that 140 charcters is more than sufficient for announcements. I also think that one may be able to demostrate that the tweeter-community at large would agree with this assertion. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
Ok, I get it now. But still, the most efficient way would be that the people with the most experience in a given area, would be the ones to maintain it. You are putting a restriction on scedule that does not apply here. Within a time-frame that is smaller than what an experienced person has avai

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
> I think you would need a formal process to determine which items will make > it into which releases. > How about a poll-voting thing? > > Not sure what you mean about duplication. If you have something to > announce, post about it here. > > That's even worse... Now you are suggesting a 3'rd

Re: [web2py] Re: Testing your app using py.test

2013-05-25 Thread Arnon Marcus
> Perhaps, but if they're not interested (or can contribute more value to > the framework in some other way), that may just leave you. If you're not > interested, why should anyone else be? > > Because other people are different than me. :) They might like this sort of thing. > For further r

Re: [web2py] Re: Testing your app using py.test

2013-05-24 Thread Arnon Marcus
Well, the way I understand it, the admin-app is a web2py app, and so is the examples-app - which is the we2py website, so assuming the admin-app uses a component for that tweeter-feed, then including it in the web2py website should be as trivial as adding it to the examples-app. Is this what you me

Re: [web2py] Re: Testing your app using py.test

2013-05-24 Thread Arnon Marcus
suppose we could maintain some kind of framework roadmap document, but we > don't really have a formal roadmap process, and I'm not sure there is a > desire to adopt one. > > Anthony > > > On Thursday, May 23, 2013 12:47:35 PM UTC-4, Arnon Marcus wrote: >> >

Re: [web2py] Re: Testing your app using py.test

2013-05-23 Thread Arnon Marcus
On the contrary. I think information about testing using web2py, in conjuction with various testing-frameworks/tools, is highly relevant in the book, along with common testing-practices, and the way they apply when testing with web2py. The book, in that case, would act as an information-centrali

Re: [web2py] Re: Testing your app using py.test

2013-05-23 Thread Arnon Marcus
On the contrary. I think information about testing using web2py, in conjuction with various testing-frameworks/tools, is highly relevant in the book, along with common testing-practices, and the way they apply when testing with web2py. The book, in that case, would act as an information-centrali

Re: [web2py] Re: Testing your app using py.test

2013-05-23 Thread Arnon Marcus
On the contrary. I think information about testing using web2py, in conjuction with various testing-frameworks/tools, is highly relevant in the book, along with common testing-practices, and the way they apply when testing with web2py. The book, in that case, would act as an information-centrali

Re: [web2py] Re: Testing your app using py.test

2013-05-23 Thread Arnon Marcus
On the contrary. I think information about testing using web2py, in conjuction with various testing-frameworks/tools, is highly relevant in the book, along with common testing-practices, and the way they apply when testing with web2py. The book, in that case, would act as an information-centrali

Re: [web2py] Re: Testing your app using py.test

2013-05-23 Thread Arnon Marcus
On the contrary. I think information about testing using web2py, in conjuction with various testing-frameworks/tools, is highly relevant in the book, along with common testing-practices, and the way they apply when testing with web2py. The book, in that case, would act as an information-centrali

Re: [web2py] Re: Testing your app using py.test

2013-05-23 Thread Arnon Marcus
On the contrary. I think information about testing using web2py, in conjuction with various testing-frameworks/tools, is highly relevant in the book, along with common testing-practices, and the way they apply when testing with web2py. The book, in that case, would act as an information-centrali

Re: [web2py] Re: Testing your app using py.test

2013-05-20 Thread Arnon Marcus
Just as an example to how the absent of communication has led to porrer-and-unnecessary implementation(s): In we2py_utils, I've seen Thadeus used 'sqlight:memory' in the connection-string. This completely circumvent the entire issue that many implementations I had seen have been hammering on -

Re: [web2py] Re: Testing your app using py.test

2013-05-20 Thread Arnon Marcus
is not updaed as often as things come-up - it's the wrong tool for the job - there needs to be more kinds of documentation-options, some-of-which should be much more frequently updating. On Sun, May 19, 2013 at 10:23 PM, Vinicius Assef wrote: > On Sun, May 19, 2013 at 8:48 PM, Arnon Marcus

[web2py] Re: Testing your app using py.test

2013-05-19 Thread Arnon Marcus
What is the currently suggested way of using pytest/nose in web2py? This current thread is of a WIP script, and I have already seen better approaches, I've seen aome pytest-like and/or nose-like tests of web2py itself within it's folders, and there was a comment in the shell-script that this shou

[web2py] Re: Testing your app using py.test

2013-05-19 Thread Arnon Marcus
I found this: http://ncdegroot.blogspot.co.il/2011/06/using-selenium-2-with-python-and-web2py.html There are many videos on using selenium with django: https://www.google.co.il/search?q=slenium+django&aq=f&oq=slenium+django&aqs=chrome.0.57j0l3.4691j0&sourceid=chrome&ie=UTF-8#q=selenium+django&sour

[web2py] Re: Testing your app using py.test

2013-05-18 Thread Arnon Marcus
Here is a really great talk about testing in general, ans testing web-apps in particular: http://www.infoq.com/presentations/Selenium -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving email

Re: [web2py] Re: Testing your app using py.test

2013-05-18 Thread Arnon Marcus
> Arnon, how many use cases does your application have? > > Is time to run tests really a bottleneck in your case? > > I'm not sure I know how to answer this question, since we have been working on our code for more than 3 years now, and there is zero testing in it, currently (which makes me

Re: [web2py] Re: Testing your app using py.test

2013-05-17 Thread Arnon Marcus
That's good news! Now the only question that would remain, is weather this means that test-performance using this, would be fast enough for that to be considered fitting for interactive-TDD... Otherwise the dal-using-code would still be better-off 'mocked' away... -- --- You received this m

Re: [web2py] Re: Testing your app using py.test

2013-05-17 Thread Arnon Marcus
Using this, would it mean that no file is generated in the file-system? Does this mean that all that temporary-folder/file jazz would not be required? In that case, you could even not have to clear-out the tables from the previous test-run, as there wouldn't be any, right? But it should still req

  1   2   3   >