Re: [web2py] a substitute for sqlite?

2010-03-24 Thread Douglas Soares de Andrade
elffikk escreveu: Berkeley DB's new SQLite-compatible SQL API Oracle Berkeley DB 11g Release 2 introduces a new SQL API, based on SQLite, which is familiar to a large developer community and helps simplify application development. http://www.oracle.com/us/corporate/press/063695 A few things to

[web2py] Performance of python webservers

2010-03-16 Thread Douglas Soares de Andrade
Hi all, I just received a link today with the benchmark of python webservers. http://nichol.as/benchmark-of-python-web-servers?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Nichol4s+%28Nicholas+Pi%C3%ABl%29&utm_content=Google+Reader How does rocket stand between these ? -- You rec

[web2py:35444] Re: Working with NoSQLs?

2009-11-16 Thread Douglas Soares de Andrade
Em Mon, 16 Nov 2009 00:23:52 -0800 (PST) mdipierro escreveu: > > The DAL supports GAE. I would like to add support to MongoDB. You can > already use any NODB but you have to use their native API instead of > the web2py database abstraction layer. > > Any reason to give a preference to CouchDB

[web2py:35254] Re: Template system

2009-11-13 Thread Douglas Soares de Andrade
web2py is changed to LGPL ? o you mean that if i already develop opensource software if web2py, and get a closed source software contract, i cant use web2py to do the work ? > On Nov 13, 7:59 am, Douglas Soares de Andrade > wrote: > > Em Thu, 12 Nov 2009 22:45:34 -0

[web2py:35241] Re: decimal type in web2py

2009-11-13 Thread Douglas Soares de Andrade
Em Fri, 13 Nov 2009 04:09:43 -0800 (PST) villas escreveu: > > On Nov 13, 7:22 am, mdipierro wrote: > > There are two issues: > > - decimal would have to be supported but all backends to work > > properly > > - decimal is not supported by Python. > > Is this much complication really worth the

[web2py:35243] Re: Template system

2009-11-13 Thread Douglas Soares de Andrade
Em Thu, 12 Nov 2009 22:45:34 -0800 (PST) mdipierro escreveu: > > yes. need latest web2py stable > > from gluon.template import render > print render(content='{{for i in range(10)}}{{=a}}{{pass}}',context= > {'a':'hello\n'}) > > if you want to use the helpers you also need to import them > >

[web2py:35172] Re: decimal type in web2py

2009-11-12 Thread Douglas Soares de Andrade
Em Thu, 12 Nov 2009 04:10:46 -0800 (PST) DenesL escreveu: > Thinking about adding a decimal type to web2py. > > Syntax: > Field('x','decimal',length=10,digits=2) > > defaults should be based on DB back-end or just 10,2 for example > (easier)? > > ideal IS_DEC_IN_RANGE validator should also be

[web2py:35169] Re: new in trunk, for fun

2009-11-12 Thread Douglas Soares de Andrade
Em Thu, 12 Nov 2009 08:57:32 +0200 "Jason (spot) Brower" escreveu: > > AWSOME This would come in very handy in teaching and testing! > > On Thu, Nov 12, 2009 at 8:39 AM, mdipierro > wrote: > > > > I do not know if this should be in web2py or not but it can be > > useful for testing and debug

[web2py:34554] Re: PyCon 2010

2009-11-04 Thread Douglas Soares de Andrade
Em Tue, 3 Nov 2009 22:56:45 -0800 Joe Barnhart escreveu: > New promotion... web2py -- the framework so powerful *they don't want > you to know about it! > * LOL > On Tue, Nov 3, 2009 at 8:23 PM, mdipierro > wrote: > > > > > Dear friends, > > > > I am sorry to inform you that both the talks I

[web2py:34304] Re: T3 strange error on 1.71.0

2009-10-31 Thread Douglas Soares de Andrade
Em Sat, 31 Oct 2009 18:50:15 -0200 Júlio Monteiro escreveu: > Hello there! > > Another strange behavior, when trying to register a new user I get: > > Traceback (most recent call last): > File "gluon/restricted.py", line 184, in restricted > exec ccode in environment > File > "/var/loc

[web2py:34280] Re: virtual fields

2009-10-31 Thread Douglas Soares de Andrade
Em Sat, 31 Oct 2009 11:16:42 -0700 (PDT) "mr.freeze" escreveu: > Virtual fields are my new favorite thing. Currently you must call > setvirtualfields after each select. What about adding the ability to > setvirtualfields at the Table level so that any select will call > setvirtualfields automa

[web2py:32874] What about something like django debug_toolbar to web2py ?

2009-10-14 Thread Douglas Soares de Andrade
Hi all, During some django development, i came across this program: http://robhudson.github.com/django-debug-toolbar/ It is an app to django to make debug easier. Is it possible/needed to have something like this to web2py ? --~--~-~--~~~---~--~~ You received

[web2py:26582] Re: Bzr Repo cleaning

2009-07-15 Thread Douglas Soares de Andrade
Em Quarta-feira 15 Julho 2009, às 18:02:39, Fran escreveu: > Bumping this for attention - the packs folder is now 560 Mb! > http://groups.google.com/group/web2py/msg/6143643210ee4a99 > > This makes it very hard for developers from more bandwidth-contrained > areas (such as Sahana developers). > >

[web2py:24513] Re: Congratulations to Alvaro and Douglas

2009-06-19 Thread Douglas Soares de Andrade
Em Sexta-feira 19 Junho 2009, às 09:53:53, mdipierro escreveu: > Alvaro and Douglas managed to give the first web2py talk to a major > conference outiside the US: > > http://translate.google.com/translate?hl=en&sl=pt&u=http://fisl.vidanerd.co >m/palestras&ei=oIg7StCaCIvWMJrewbAO&sa=X&oi=translate&

[web2py:22178] Re: perhaps the best way to scale web2py

2009-05-19 Thread Douglas Soares de Andrade
Em Terça-feira 19 Maio 2009, às 12:58:08, mdipierro escreveu: > http://www.howtoforge.com/load_balancing_apache_mod_proxy_balancer > > this module keeps tracks of cookies so each client is always served by > the same server and sessions can stay on the local filesystems. Only > the uploads folder

[web2py:21823] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
K let's wait the first week on June. > > > > Massimo > > > > On May 13, 11:18 am, Douglas Soares de Andrade > > > > wrote: > > > Em Quarta-feira 13 Maio 2009, às 12:47:19, mdipierro escreveu: > > > > Should we wait we move to hg? google

[web2py:21792] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
r hand, i have been liking bitbucket a lot. So, +1 for bitbucket. > Massimo > > On May 13, 7:43 am, Douglas Soares de Andrade > > wrote: > > Hi all, > > > > I was talking to Alvaro yesterday, and we had a problem to get the latest > > trunk without having to f

[web2py:21779] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 12:11:24, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 9:51 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Em Quarta-feira 13 Maio 2009, às 11:41:57, Yarko Tymciurak escreveu: > > > On Wed, May 13, 2009

[web2py:21770] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 11:41:57, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 9:24 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Hi Yarko, > > > > > can't you just directly get the zip or tar/gzip from your

[web2py:21764] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 11:17:32, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 7:43 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Hi all, > > > > I was talking to Alvaro yesterday, and we had a problem to get the latest >

[web2py:21757] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 09:47:11, Timmie escreveu: > > python get_latest_web2py.py > > [...] > > > @Massimo: Can we add this to the scripts folder in web2py ? > > Very cool idea. > > I would suggest that this would be integrated into the admin: > > If the sentence on the right would read:

[web2py:21753] [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Hi all, I was talking to Alvaro yesterday, and we had a problem to get the latest trunk without having to fetch all the hg repository, so i did this little python script (which depends on BeautifulSoup). To use it, install beautifulsoup and then run: python get_latest_web2py.py And it will fe

[web2py:21726] Re: RFC auto fields

2009-05-12 Thread Douglas Soares de Andrade
Em Terça-feira 14 Abril 2009, às 23:26:40, mdipierro escreveu: > I have been thinking about this. Even if I do not like your proposal > Yarko, I think you have a better point than you think. In fact > form_factory would not work with my proposal syntax but it would work > with yours and that is a

[web2py:21713] Re: howto apply a drupal theme to web2py

2009-05-12 Thread Douglas Soares de Andrade
Em Terça-feira 12 Maio 2009, às 02:31:59, mdipierro escreveu: > 1) download and unzip your favorite drupal theme > 2) cut and paste the content of page.php into > > http://www.web2py.com/php > > 3) retrieve the generated web2py code and save it as layout.html (this > is not 100% fool proof but

[web2py:21529] Re: w2p is here

2009-05-08 Thread Douglas Soares de Andrade
Em Sexta-feira 08 Maio 2009, às 23:29:20, Álvaro Justen [Turicas] escreveu: > On Fri, May 8, 2009 at 4:01 PM, mdipierro wrote: > > On May 8, 1:56 pm, Yarko Tymciurak wrote: > >> This is great! > >> 2 questions: > >> > >>- has this been tested with 2.6* (or 2.7 now) tar / cross 2.5 - 2.6 > >

[web2py:21147] Re: BUG:

2009-05-04 Thread Douglas Soares de Andrade
Em Segunda-feira 04 Maio 2009, às 00:10:55, Oscar escreveu: > That's right, I'm using Python 2.6.1 > > Regards, > Oscar. Hi Oscar, Please test with python 2.6.2 as seems it is working fine (i did some tests to fix the bug, but is it not happening in my python 2.6.2, btw, its the final release)

[web2py:21128] Re: Rev 727: Douglas patch creates missing folders

2009-05-04 Thread Douglas Soares de Andrade
Em Segunda-feira 04 Maio 2009, às 03:49:15, Yarko Tymciurak escreveu: > I am concerned about two things: > --- this code change is introduced in a lot of places, e.g. same code > replicated... > --- the way the code is, it will always run (which is unnecessary, except > for first time in an app, a

[web2py:20980] Re: repositories for web2py trunk

2009-05-02 Thread Douglas Soares de Andrade
Em Sexta-feira 01 Maio 2009, às 23:36:45, Yarko Tymciurak escreveu: > On Fri, May 1, 2009 at 6:11 PM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Em Sexta-feira 01 Maio 2009, às 19:32:37, Wes James escreveu: > > > There is a person on #web2py tha

[web2py:20973] Re: Web2py and Python 2.6

2009-05-01 Thread Douglas Soares de Andrade
Em Terça-feira 28 Abril 2009, às 12:55:18, mdipierro escreveu: > - there is a bug in the tar module in 2.6. You will not be able to > pack applications created with 2.6 via the admin interface. > everything else should work and if not we can fix it. Seems it is working great for me with python 2.

[web2py:20970] Interesting web2py posts

2009-05-01 Thread Douglas Soares de Andrade
Hi all, Just doing some searchs about web2py i came across this blog with some good tips: http://michaelangela.wordpress.com/category/dev/python/web2py/ It the author of the posts in the list ? If so, thanks for sharing these tips, could you add then to the faq or to the wiki (if not there) ?

[web2py:20969] Re: repositories for web2py trunk

2009-05-01 Thread Douglas Soares de Andrade
Em Sexta-feira 01 Maio 2009, às 19:32:37, Wes James escreveu: > There is a person on #web2py that can't do: > > svn co http://web2py.googlecode.com/svn/trunk/ web2py > > from his country without getting a password request. Is this google > blocking the country? > > Anyway, can someone provide a l

[web2py:20639] Re: python 2.4 and has_key

2009-04-27 Thread Douglas Soares de Andrade
Em Segunda-feira 27 Abril 2009, às 11:15:48, DenesL escreveu: > Excellent. > Maybe this should be mentioned in web2py.com Hi all, Just a important note, when using web2py with python2.4 you will need to install two libraries in python2.4: $ sudo easy_install-2.4 -U pysqlite hashlib As both li

[web2py:20574] Re: google code and mercurial

2009-04-26 Thread Douglas Soares de Andrade
Em Domingo 26 Abril 2009, às 17:53:04, mdipierro escreveu: > This is good news for us > > http://google-code-updates.blogspot.com/2009/04/mercurial-support-for-proje >ct-hosting.html > > We can now use google as central repository and use a DVCS instead of > SVN. > > This will make my life much ea

[web2py:20406] Re: Translate all strings

2009-04-23 Thread Douglas Soares de Andrade
Em Sexta-feira 24 Abril 2009, às 00:23:24, Álvaro Justen [Turicas] escreveu: > On Thu, Apr 23, 2009 at 11:36 PM, mdipierro wrote: > > The translation works but the "admin" will not discover the > > translation strings. It 1/2 works. > > Let me sleep on this. > > I was thinking about this... > If

[web2py:20029] Re: Can response.flash have different colors?

2009-04-19 Thread Douglas Soares de Andrade
Em Domingo 19 Abril 2009, às 12:25:34, mdipierro escreveu: > yes we can do that. I can include a warn, info and error in different > colors. > > Massimo Great, +1 to this =) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[web2py:20008] Re: Request for more organize feature request lists...

2009-04-19 Thread Douglas Soares de Andrade
Em Domingo 19 Abril 2009, às 03:23:03, mdipierro escreveu: > I agree with yarko and for one more reason: The processing of > accessing lanchpad to close a bug usually takes longer than fixing the > bug (assuming it is a real bug). > > Massimo I agree with you all and im very happy with the develo

[web2py:19974] Re: pyForum Release Candidate 1 ready

2009-04-18 Thread Douglas Soares de Andrade
Em Sábado 18 Abril 2009, às 10:25:01, Yarko Tymciurak escreveu: > great effort! thanks much for sharing > > On Sat, Apr 18, 2009 at 2:34 AM, desfrenes wrote: > > awesome ! Thanks a lot for sharing this code, it rocks =) --~--~-~--~~~---~--~~ You received this me

[web2py:19867] Re: welcome to our friends from Brazil

2009-04-16 Thread Douglas Soares de Andrade
Em Terça-feira 14 Abril 2009, às 10:57:41, Tito Garrido escreveu: > +1 :) Count me in =) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@goog

[web2py:18824] Re: request for comments

2009-03-30 Thread Douglas Soares de Andrade
Em Segunda-feira 30 Março 2009, às 12:07:26, Yarko Tymciurak escreveu: > I agree appadmin should display these fields, BUT I do not thing it should > ignore - instead, it should have different behavior: there should be some > indicator in appadmin of the permission settings (text, color key, but

[web2py:18823] Re: documentation

2009-03-30 Thread Douglas Soares de Andrade
Em Segunda-feira 30 Março 2009, às 19:49:03, Yarko Tymciurak escreveu: > Now that PyCon is (almost) over, I can take this on. > - Yarko Hi Yarko, Count me in, how do you want to organize things ? > On Mon, Mar 30, 2009 at 4:06 PM, mdipierro wrote: > > I think we need to re-factor the docstrin

[web2py:18570] Re: Question about compile and performance

2009-03-25 Thread Douglas Soares de Andrade
Em Quarta-feira 25 Março 2009, às 07:38:45, Iceberg escreveu: > Hi Massimo, > > As one of my app becomes more complex, its controllers and views > contains more and more code. So I assume it takes more time for web2py > to parse them on the fly. Then I notice that if I compile my app, all > contro

[web2py:16927] Re: Critical point in web2py

2009-02-25 Thread Douglas Soares de Andrade
Em Quarta-feira 25 Fevereiro 2009, às 12:28:40, mdipierro escreveu: > KPAX does versioning already hence should be easy to add versioning to > T3. > > what wiki language do you suggest? html wysiwyg or markdown or other? What about ReST ? http://en.wikipedia.org/wiki/ReStructuredText > massimo

[web2py:16166] Re: web2py has a profiler

2009-02-11 Thread Douglas Soares de Andrade
Em Quarta-feira 11 Fevereiro 2009, às 05:02:16, Wes James escreveu: > Massimo, > > I just downloaded trunk and tried starting as normal and get: > > WARNING:root:unable to import dbhash > default applications appear to be installed already > web2py Enterprise Web Framework > Created by Massimo Di P

[web2py:15835] Re: new web site

2009-02-03 Thread Douglas Soares de Andrade
Fixed strings in the main page: Free and open source full-stack enterprise framework for agile development of fast, secure and portable database-driven web-based applications. Written and programmable in Python. * Automatically Generates a database administrative interface for your applic