On Thursday, 4 August 2011 00:25:19 UTC+2, Phyo Arkar wrote:
14 MB is small for you Dosen't mean thats small for other part of of
the world. Here connection speed is Averaged to 64 kbit/s to 256kbit/s and
random (Frequent) disconnects , people believes 1 MB is already big. zipped
web2py
Fixed, many thanks.
Hmmm. The markmin has changed, but the rendered view hasn't:
http://web2py.com/book/default/chapter/02#try...except...else...finally
I will report this to Massimo.
Here is a printout showing the general space consumption (attached). My
web2py src, not including the .hg folder is about 14.3MB.
web2py_size.pdf
Description: Adobe PDF document
Thanks, I fixed that one too. I noticed the rendered view hasn't changed
though. I wonder it this is a caching issue...
I will check later this evening.
That was my feeling also.
On Wednesday, 3 August 2011 16:22:46 UTC+2, mcm wrote:
I agree, that size is small even on embedded systems by now...
Anyway trying to keep it small is always a good thing IMHO.
I think the word small is the wrong word to use here. It doesn't really
mean anything. It is a relative word
I get the ticket error on both URLs.
I strongly recommend that you add an issue for this on the web2py bug
tracker (Google Code):
http://code.google.com/p/web2py/issues/list
Book is working again.
Confirmed.
On Jul 25, 10:50 am, António Ramos ramstei...@gmail.com wrote:
Maybe a WYSIWYG for creating this pages(welcome page, app manual page,etc).
plugin_wiki?
On Friday, 22 July 2011 23:02:28 UTC+2, Furqan wrote:
Also I want to help develop and enrich the web2py framework so feel free to
throw some task at me, I am a newbie programmer but willing to learn.
Excellent. This places you in a good position to evaluate whether the
documentation
On Jul 21, 5:33 am, noelrv noe...@gmail.com wrote:
typo in apt-get below:
Fixed, many thanks.
On Thursday, 21 July 2011 05:38:47 UTC+2, noelrv wrote:
URL for ref.83 is broken - http://sial.org/howto/openssl/self-signed
Massimo: what do I do with ref.``openssl``:cite? Where can I fix the
target of the cite ref in the book?
On Jul 20, 12:32 pm, Herman herman...@gmail.com wrote:
is missing an s after %(first_name) :
Fixed, well-spotted thank you.
On Thursday, July 14, 2011 6:00:29 PM UTC+2, Carl wrote:
separately... had my head down when the 3rd edition of the Web2py book
came out... have just ordered it.
Same happened to me, but I got out my frustration by asking Massimo whether
I could be allowed to fix errors in the online
Would you like me to document it somewhere actual? :)
If you find errors as you go through your book, check to see whether they
are still here:
http://www.web2py.com/book
If so, post them in this group.
Let us know about any problems you find when you try web2py on Py3.x, ok?
I think AB means that the complexity of the Admin password can be analysed
when remote connections are made, and if they don't pass some requirement,
then do something. I haven't thought it through fully either, and tbh I
don't think we need to enforce complexity either. Would it not be
On Wednesday, July 13, 2011 7:45:18 AM UTC+2, nic wrote:
A Wiki / Blog / CMS / Forum
An Online Store
A Personal Accounting System
A Media Center
etc ...
How about an issue tracker? We're currently using Redmine, and it's really
clunky and features very high memory consumption.
I think we can fill in defaults for IP and port, and only require a user to
hit accept if they agree. So that should make things even easier to just
get started. Also, the time that the splash logo is displayed is actually a
setting, it isn't busy working during that delay. I have been
On Tuesday, July 12, 2011 12:29:19 AM UTC+2, Jonathan Lundell wrote:
P3 needs some killer feature to motivate a migration, seems to me.
Especially when we're hearing from web2py users who need/want to stick with
2.4…
I think there are *many* Pythonistas with that view. I suppose that
On Tuesday, July 12, 2011 2:28:10 AM UTC+2, pbreit wrote:
From the code, it looks like admin is accessible via https *OR* localhost.
I had thought localhost was a requirement by default since otherwise it
seems too easy to break in to admin by just trying a bunch of passwords.
Is there a
On Tuesday, July 12, 2011 9:33:13 AM UTC+2, pbreit wrote:
If I'm not mistaken, without the localhost requirement, a fraudster can go
to /admin and run a pretty simple dictionary attack since they only need to
guess the password.
Ok, as opposed to being required to know server, user and
I like the timeout/delay idea for a failed password, and I very much like
the IP block after a number of failed attempts, but I am not too fond of a
complexity requirement. During development on my local machine (bound to
localhost), my standard admin password is a. I would have to have to
That looks generally right, but you should invalidate the cache inside
write_hosts_deny(), and I am fairly sure the *with* statement only arrived
in 2.5.
On Tuesday, July 12, 2011 4:14:42 PM UTC+2, Ross Peoples wrote:
Well, support for Python 2.4 was officially dropped with version 1.96.1,
I was not aware of that...although I do recall there was a discussion about
doing so.
On Monday, 11 July 2011 16:13:39 UTC+2, Massimo Di Pierro wrote:
Do not worry about the statements above. I am prepared to bet money there
will be a 2.8 and it not there will be a fork from sombody.
:)
I have seen a lot of quite strong statements from various members of the
core Python
The other wild idea, of course, is to keep web2py on Python 2.x (assuming
that is going to be around as long as you suggest) and make web3py for
Python 3.x, IOW a new framework where different ideas can be tried without
affecting backward compatiblityI'm sure you have played with this idea
http://www.python.org/download/releases/3.2.1/
I highlighted the ones I am interested in below:
- numerous improvements to the unittest module
- PEP 3147 http://www.python.org/dev/peps/pep-3147, support for .pyc
repository directories
- PEP 3149
Oh, I also watched a video from PyCon: the dictionary-based logging system
is supposed to be the final word on how to do Python logging for all apps
and users. Apparently there were a lot of custom-made in-house logging
systems for many different projects, and they tried to make one to replace
I just realized you asked about Python *3* not 3.2! The stuff I posted was
the delta from 3.1 to 3.2 only. To see what changes from 2 to 3, read here
(isn't too long, worth skimming at the very least):
http://docs.python.org/py3k/whatsnew/3.0.html
It may, in fact, be necessary. According to
http://docs.python.org/py3k/whatsnew/3.0.html:
It is not recommended to try to write source code that runs unchanged under
both Python 2.6 and 3.0; you’d have to use a very contorted coding style,
e.g. avoiding print statements, metaclasses, and
Very nice. I'm thinking how this is going to be immediately useful in a blog
context for non-technical authors.
I am guessing you are using the binary version of web2py for windows, but
you should use the source distribution if you want to execute the web2py
file directly?
Use the binary installer for python-ldap rather:
http://pypi.python.org/pypi/python-ldap/2.4.0
(for your version of Python, i.e. 2.7).
easy_install quite often doesn't work on Windows because libs that use
C-extensions require compiling and there isn't usually a C compiler around.
Hi group
In gluon/compileapp.py, around line 240, this line:
__builtins__['__import__'] = __builtin__.__import__
is causing problems with pypy, seemingly all of a sudden. I haven't
backtracked to see which version it was still working in, but the weird
thing is that when web2py is
On Monday, January 10, 2011 6:36:18 AM UTC+2, Anthony wrote:
On Sunday, January 9, 2011 1:24:02 AM UTC-5, Graham Dumpleton wrote:
You guys really just got to learn to do your own thing and not treating
it like a crusade where you have to convert the world.
But that's exactly the
On Friday, 8 July 2011 16:05:54 UTC+2, Anthony wrote:
On Friday, July 8, 2011 3:25:45 AM UTC-4, cjrh wrote:
On Monday, January 10, 2011 6:36:18 AM UTC+2, Anthony wrote:
On Sunday, January 9, 2011 1:24:02 AM UTC-5, Graham Dumpleton wrote:
You guys really just got to learn to do your own
No, or rather, not that I am aware. We are discussing, I think, the
principal of the matter.
On Friday, 8 July 2011 23:18:57 UTC+2, pbreit wrote:
You need to think slightly bigger than your own personal projects.
Why should I? The bigger community does not concern me. I contribute to
web2py for entirely selfish reasons, because it want it to be the best tool
for me to use for my
were not explicitly being closed,
and I'll take another crack at it sometime soon.
regards
cjrh
On further examination, it looks like leaking file descriptors is enough to
mark a library as incompatible (this happened with mercurial), so I have
changed web2py's to incompatible until we can fix all the leaks.
On Jul 7, 1:27 pm, cjrh caleb.hatti...@gmail.com wrote:
On further examination, it looks like leaking file descriptors is enough to
mark a library as incompatible (this happened with mercurial), so I have
changed web2py's to incompatible until we can fix all the leaks.
I should also point out
That is a complicated question:
1) Single page load: no. This is generally an IO-bound kind of system, e.g.
an infinitely fast processor would have almost no effect on response time.
2) Concurrency/Scaling: generally, no. This is dominated by the DB backend,
and (generally) the speed at
If you've submitted a patch, then you're no lurker, you're part of the
team...
On Jul 1, 8:34 pm, pbreit pbreitenb...@gmail.com wrote:
I usually do extension=''
What would extension=None do? It seems to make the most semantic
sense, to me at least.
In the method called by the AJAX event, you don't need the form at all. You
can just do a straight insert. You must pass the data to be inserted as
part of the AJAX call, either via args, or post data or some other method on
the URL. Then, inside writing(), just do a direct DB insert as
If you format this post in markmin and email it to me, I'll add it to the
book as an additional subsection after Apache setup.
Added here:
http://web2py.com/book/default/chapter/04#Cron
Please verify that I got the details correct. Also, in future if you want
something fixed in the book just email me directly and I'll get it done
ASAP. My ability to follow the groups closely waxes and wanes relative to
how busy I
I have found that only the *new *Google Groups is working reliably. Using
the old system has become very unreliable.
On Saturday, 2 July 2011 16:57:11 UTC+2, Jonathan Lundell wrote:
On Jul 2, 2011, at 7:41 AM, Anthony wrote:
On Saturday, July 2, 2011 6:22:15 AM UTC-4, cjrh wrote:
So, extension=None is saying that we're going to stick with the same
extension as the current request, and if it happens
(In reply to both JL and AB)
The point regarding backwards compatibility is well-taken, I wouldn't want
to mess with that at all. However, cognitive dissonance in code is a
particular bugbear of mine. I am especially nervous (in general) of
situations where one thing is used to
On Jun 16, 4:03 am, Web2py Newbie
swiawte...@garrifulio.mailexpire.com wrote:
Is there a bug tracker somewhere I'm supposed to use?
http://code.google.com/p/web2py/issues/list
On Jun 16, 6:58 pm, amit in4tu...@gmail.com wrote:
OpenIDAUth requires the python-open installed separately.
It should be
OpenIDAUth requires the python-openid installed separately,
Fixed, many thanks.
Love this idea.
Raymond Hettinger recently tweeted that .join() was O(n) but concats are
O(n^2), or some other super-linear factor like that, so your speedup makes
perfect sense. I think you've discovered a performance bottleneck in the
rendering system of web2py. Shouldn't be too hard to find with a
On Wednesday, June 15, 2011 3:22:02 PM UTC+2, Jim Karsten wrote:
I wonder if I should be using the site-packages directory instead of a
shared app.
Yes. web2py/site-packages. It depends to some extent on how much
app-specific references are used, I guess. For example, if your site
Hi Veneet
Following Massimo's recommendation that an issue be opened, I have taken the
liberty of creating one on your behalf here (Issue 307):
http://code.google.com/p/web2py/issues/detail?id=307sort=-id
I am impatient and I couldn't wait. Please bookmark the issue and follow
progress
On Wednesday, 15 June 2011 20:50:49 UTC+2, Massimo Di Pierro wrote:
The DAL preserves the SQL
query syntax, while an ORM often does not.
That is exactly right. The DAL abstracts away some of the complexity of
SQL, and certainly some of the differences between the various
On Jun 13, 6:37 am, Stefaan Himpe stefaan.hi...@gmail.com wrote:
I found this blog post and it seems interesting:
http://www.mattb.net.nz/blog/2011/06/13/using-startcom-free-ssl-certi...
Just got one (ssl pki), thanks for the link!
On Jun 11, 5:29 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
http://blip.tv/carlfk/new-web2py-features-5264464
This talk was kind of improvised. During the talk I discovered a bug
in 1.96.4 and it is fixed in trunk.
Nice talk. I need to look at .load more.
Also, how are plugins version-controlled? They're not part of the web2py
source repository as far as I can see.
On Jun 9, 10:34 pm, peter peterchutchin...@gmail.com wrote:
I am trying to get web2py going with nginx on a remote server.
When I try running it via uswgi and nginx, using wsgihandler.py, it
The VPS uses Centos 5.5, and I am running things on python2.6.1,
web2py version 1.96.3
I am running
pypy changes these kinds of discussions. In a disruptive sense.
On Thursday, 9 June 2011 15:40:14 UTC+2, Alexandre Strzelewicz wrote:
Is Ruby on Rails faster than Web2py ?
Here are a few *really *important points about speed:
1. Speed is not the same as *concurrency*. On the web, generally
(depending on your application), it is the latter that
On Thursday, 9 June 2011 14:00:37 UTC+2, Martin.Mulone wrote:
I proposed to massimo some ideas and improvements, regarding to this.
Would you be willing for forward those to me also, or would you prefer to
keep those private for now? One suggestion I made a while ago was to
appoint (or
Yes. I am willing to help with code cleanup and documentation if you like. Just
shout if you want help. I'll add any necessary documentation to the book too if
it goes into trunk.
There is actually a high probability of it getting into trunk if we can get
it suitably generic. I am much more familiar with Python than js, but since
you're using AJAX that should be fine. Based on your description, it sounds
great. Instead of sending me your files set up a project on
Ok, I pulled. Will have a look over the next few days. Will probably send
you diffs, which you can choose to accept/reject.
On Jun 9, 1:06 am, contatogilson...@gmail.com
contatogilson...@gmail.com wrote:
I suggest that has more people to contribute to the documentation of web2py.
The documentation uses the principle of wiki with that we can help make it
updatedalways.
Currently, the web2py book is a wiki, and
On Jun 9, 3:02 am, Stifan Kristi steve.van.chris...@gmail.com wrote:
is the book has already been updated right now?
thank you
I made some small fixes last night, if that is the kind of thing you
mean. If you mean to ask whether the book is completely up to date
with the capabilities and
On Thursday, 9 June 2011 03:03:51 UTC+2, Massimo Di Pierro wrote:
Users who have an opinion please share it now. This is important.
Could you direct us to more details about the issue?My current
understanding is shallow, but I agree with Pierre that platform-specific
environment
For anyone else following, the thread is
herehttps://groups.google.com/d/topic/web2py/_zhjxWa4tAU/discussion.
I am going to have a look at this.
On Thursday, 9 June 2011 16:03:01 UTC+2, cjrh wrote:
In my opinion, we should just document that the cast must match. Note that
this issue has *nothing to do with web2py*, and as a Windows user, I am
not too surprised by this behaviour anyway.
...should just document that the *case *must
On Thursday, 9 June 2011 16:22:10 UTC+2, Anthony wrote:
importer still appears to work. So, as far as I can tell, the importer
works, even without the fix in trunk, though maybe I have misunderstood the
problem.
Yes, it is confusing. The case-insensitivity works only until a name is
On Thursday, 9 June 2011 16:22:10 UTC+2, Anthony wrote:
But in a web2py app, you would have something like
/applications/Cast/modules/cast.py, and in your code you would just do
'import cast'. My understanding of the problem is that in that case, the new
web2py importer tries to import
On Jun 7, 10:38 pm, danto web2py.n...@gmail.com wrote:
I tried to upgrade from the web interface at my local installation and seem
to break something, raising me an error. I found this in the admin app error
log:
1.
2.
3.
4.
5.
6.
7.
Traceback (most recent call last):
File
On Jun 7, 10:38 pm, danto web2py.n...@gmail.com wrote:
Traceback (most recent call last):
File /home/danto/web2py/gluon/restricted.py, line 184, in restricted
passed to RestrictedError to identify where the error occurred.
File /home/danto/web2py/applications/admin/models/access.py,
On Jun 7, 10:16 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
- explicitly closing all open files (should make it work in Pypy),
thanks Caleb
Just everyone, please note: that was a large change (80KB diff)
affecting tiny parts of many files, so you should test your apps
before
On Jun 8, 8:53 pm, Ross Peoples ross.peop...@gmail.com wrote:
I use Komodo IDE
for development right now, which is a decent editor with autocomplete, but
no debugging (and no remote debugging either).
Speaking as a long-time vim user, I was kinda blown away by pydev on
Eclipse (helios)
On Jun 8, 10:18 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I always use the web interface. I still had the problem 10 times in
the last 24 hrs.
I had 4 go missing in the last 24h, also through the (old) web
interface.
So it turns out that all my missing posts are only missing in the old
groups view; in the new groups view, they are all there! Weird.
And you neglected to mention the Twitter channel #web2py where I can see
some tweets by you as well :)
On Jun 8, 3:27 pm, contatogilson...@gmail.com
contatogilson...@gmail.com wrote:
It has forecast when it will be in the book web2py new features, or it will
be open forother people to update online documentation?
What did you have in mind?
On Jun 4, 5:18 am, Bruno Rocha rochacbr...@gmail.com wrote:
- Do not stay with sqlite in production
f.y.i. I have a site running with sqlite in production, but I get away
with it by caching every single (select) query on a 60s span. I
wouldn't recommend it for all scenarios, but this site is
On May 30, 10:50 pm, Sebastian E. Ovide sebastian.ov...@gmail.com
wrote:
For this reason it is best to deploy web2py behind
Apache78http://www.apache.org/
, Lighttpd85 http://www.lighttpd.net/ or
Cherokee86http://www.cherokee-project.com/download/
I just set up a site using nginx; so far,
On May 29, 5:38 am, Vinicius Assef vinicius...@gmail.com wrote:
In your oppinion, what would be the top priority to work on?
If you write new sections, I am happy to proof-read for you. I just
don't have too much time to write such sections myself, and do the
testing work required to get the
On Apr 9, 10:35 am, Luther Goh Lu Feng elf...@yahoo.com wrote:
I hope to learn from everyone's opinion on this.
It is pretty clear that the future belongs to javascript, as long as
that is the language that all browsers support. Expect javascript
JITs to improve. Expect the growth of more
On Apr 7, 9:51 pm, harry ejpot...@gmail.com wrote:
meaningful results. Any ideas out there about how to resolve this
short of reverting to 10.10?
Sounds like there may be a problem with Tcl/Tk in 11.04:
https://bugs.launchpad.net/ubuntu/natty/+source/compiz/+bug/743615
On Apr 8, 4:14 am, Yannick ytchatch...@gmail.com wrote:
Cheers and thanks in advance for your feedback
Works in Opera 11 :)
On Apr 4, 7:21 pm, mikech mp.ch...@gmail.com wrote:
I'd like to see some FAQ topics that can be pointed to on the usual FUD
about Web2py.
Why even bother addressing the FUD? It is better to let others stew
in their own FUD, while we concentrate on writing awesome
applications. This has
On Apr 1, 10:29 pm, pbreit pbreitenb...@gmail.com wrote:
Python programmers should definitely be careful about the use of
exec but Massimo has made a very conscientious decision to use it.
I think the primary concern with the use of exec() is the danger of
arbitrary code execution, because that
f.y.i. A Django blog mentions a garbage collection problem in most
python frameworks, and web2py is also mentioned:
http://pydanny.blogspot.com/2011/03/announcing-garbaginator.html
On Apr 1, 2:29 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
It is one of the April's fools jokes
There is more than one fake news here:http://www.reddit.com/r/Python/
Ha Ha. I suspected something was up when I had a quick look at the
source repo after I posted the link here. I think
On Apr 1, 8:21 pm, Terrence Brannon scheme...@gmail.com wrote:
Here is the comment -http://linkd.in/gNkdsa
I read the web2py manual, and most what I saw in it is in the way thing
should not be done. Without going into details, just the strategy of
executing python files that are not modules
On Mar 28, 7:12 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I am looking at the source code right now. Currently this does not
override the behavior of individual define_table(s). It just provides
the default behavior in case a migrate argument is not passed. Since
this is
On Mar 28, 10:03 pm, Anthony abasta...@gmail.com wrote:
Of course, we could always offer both options via
some additional override argument.
Turtles all the way down?
:)
1 - 100 of 315 matches
Mail list logo