[google-appengine] Re: Entities question

2009-01-17 Thread Bill
Chen, Some differences between using an Ownership model and using a list of references to CDs in a User entity: 1) You can store info associated with Ownership as mentioned in my previous message. So if you want to print all the CD titles owned by a user, you could denormalize CD titles and

[google-appengine] Load Quota

2009-01-17 Thread gabon
I'm trying to understand if when the application will be public, it will exceed quota. At the moment I'm test it by myself and I get some concerning data from the Current Load panel in the Dashboard. In fact the main script of the app shows me the current data: Requests last 3 hrs Avg CPU

[google-appengine] Re: App Engine Gurus

2009-01-17 Thread Sharp-Developer.Net
Congrats to Alex Bill. This is well deserved recognition. -- Alex http://sharp-developer.net/ On Jan 15, 8:12 pm, Daniel O'Brien (Google) d...@google.com wrote: Hello everyone, Some of you may have noticed the recent addition of a guru listing at the top of our main groups page. We've

[google-appengine] Re: App Engine Gurus

2009-01-17 Thread kang
great On Sat, Jan 17, 2009 at 8:56 PM, Sharp-Developer.Net alexander.trakhime...@gmail.com wrote: Congrats to Alex Bill. This is well deserved recognition. -- Alex http://sharp-developer.net/ On Jan 15, 8:12 pm, Daniel O'Brien (Google) d...@google.com wrote: Hello everyone, Some

[google-appengine] Re: Google Android developer curious about app engine

2009-01-17 Thread madcoder
Yes, it seems like App Engine itself may be the way to go. It appears that Google sites has a limit to how many hits a site can receive , and there is no way to increase it, even through payment. I've installed python in my Eclipse IDE, and will play with the code and the tutorials. On Jan

[google-appengine] StingListProperty and bulkLoad

2009-01-17 Thread jackson.h.mil...@gmail.com
Documentation on bulkLoad is sparse. I have found a couple of blog posts that have been helpful and I have my bulkLoaders running. Where I am stuck is in how to bulkLoad a StringListProperty element. Is there a format that I can put in the CSV that will get parsed into a list?

[google-appengine] Re: Is there any plan or schedule to support naked name

2009-01-17 Thread jackson.h.mil...@gmail.com
I have a link shortener on AppEngine at urlzen.com. Is that what you mean by a naked domain? On Jan 16, 8:31 am, zitiger ziti...@gmail.com wrote: I try to create a site similar with tinyurl.com, but i found i can not use a naked domain. If i usewww.mydomain.com, it seems that is too long for

[google-appengine] Re: How to do it without using javascript?

2009-01-17 Thread Faber Fedor
On Sat, Jan 17, 2009 at 2:03 AM, arnie parvez...@rediffmail.com wrote: Using a wsgi application and without using javascript is it possible to calculate the latitude and longitude of a physical address using Google Maps API? Of course. If yes then how? See my code below. I have

[google-appengine] how to do GqlQuery since OR is not supported

2009-01-17 Thread Dave
Hi, This is probably (hopefully!) simple and lack of caffeine has me lost. I want to do a query such as: select * from profile where (nickname = searchname AND nickname searchname+'z') OR (fullname = searchname AND fullname searchname +'z') my model is: class profile (db.Model):

[google-appengine] Re: Data Privacy

2009-01-17 Thread hawkett
Hi Marzai, Thanks for the detailed response. It would be great to get those clarifications included in the terms of service and/or privacy policy. I can see from my post rating that some people don't share my concern, but data privacy is probably the number one barrier to commercial cloud

[google-appengine] Re: Can not delete entity using Data Viewer and a GQL query.

2009-01-17 Thread James Ashley
This sounds to me like something that should be reported as a bug. And whoever wrote that error message should be punished with at least 10 papercuts. But that's just me. G On Jan 11, 3:33 pm, murexconsult...@googlemail.com robin_ow...@hedge-row.co.uk wrote: There was a bug in my app and some

[google-appengine] Re: why the computer says NameError: name 'execfile' is not defined

2009-01-17 Thread James Ashley
Isn't production running 2.5.ish? On Jan 12, 8:39 pm, bijiasuo2...@gmail.com bijiasuo2...@gmail.com wrote: you should install Python 2.6.1 i have successful, but i don't know why. I don't know Python --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] How to get url from fetchurl?

2009-01-17 Thread ehmo
I want to know actual url, where i'm via fetchurl. Something like geturl in urllib2. for example if i've follow_redirects=True, then i want to know which url is the ending one. any idea? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] Re: OpenID, is it good?

2009-01-17 Thread James Ashley
On Jan 12, 9:06 pm, jay j...@jaykyburz.com wrote: I thought google was participating in Open ID now? Do our app engine logins support OpenID's? OpenID still seems...fairly immature and not user friendly. Then again, it's been a while since I tried to use it. I probably have the terminology

[google-appengine] Re: OpenID, is it good?

2009-01-17 Thread Faber Fedor
On Sat, Jan 17, 2009 at 1:25 PM, James Ashley james.ash...@gmail.comwrote: On Jan 12, 9:06 pm, jay j...@jaykyburz.com wrote: I thought google was participating in Open ID now? Do our app engine logins support OpenID's? OpenID still seems...fairly immature and not user friendly. Really?

[google-appengine] Exploding Index

2009-01-17 Thread Murali
I would like to request some clarification on whether the following model with the set of queries result in an exploding index. I am trying to build a quick stock notes application where we want to add some quick notes on stocks. Stocks and Tags are both list properties. But I will not make

[google-appengine] Re: Model.put() Override?

2009-01-17 Thread James Ashley
The simple answer seems to be override the db class. That's totally off the top of my head, and it may be completely unrealistic. Something like (totally untested and almost definitely wrong. Consider it pseudo-code): class my_db(google.ext.db): def put(self, *objects, **kwargs): for o

[google-appengine] Re: typical scenario

2009-01-17 Thread James Ashley
http://groups.google.com/group/google-appengine/browse_thread/thread/2baa48709bb94bd3?hl=en has an excellent answer about dispatching to multiple WSGI apps. On Jan 17, 12:11 pm, James Ashley james.ash...@gmail.com wrote: I really don't know much about WSGI, but this works for me. As I

[google-appengine] Re: Data Privacy

2009-01-17 Thread Andy Freeman
data privacy is probably the number one barrier to commercial cloud adoption at the moment. Some supporting evidence would be nice because only one person is raising this concern. Maybe it's so huge a barrier that no one else is bothering, maybe the discussion is somewhere else, but

[google-appengine] import google.appengine.ext.db.polymodel : No module named polymodel

2009-01-17 Thread TLH
According to the documentation (http://code.google.com/appengine/docs/ python/datastore/polymodelclass.html), there should be a PolyModel class in google.appengine.ext.db.polymodel. However, the program ... from google.appengine.ext.db import polymodel ... fails at runtime with an

[google-appengine] djangoforms refuses to validate unchecked boolean properties

2009-01-17 Thread Qian Qiao
Hi, The following snippet demonstrates the issue: class BooleanModel(db.Model): bool_prop = db.BooleanProperty(required=True, default=True) class BooleanModelForm(djangoforms.ModelForm): class Meta: model = BooleanModel view: def bool_form(request): if request.method == POST: f

[google-appengine] Re: Data Privacy

2009-01-17 Thread James Ashley
On Jan 17, 11:17 am, hawkett hawk...@gmail.com wrote: Hi Marzai,    Thanks for the detailed response.  It would be great to get those clarifications included in the terms of service and/or privacy policy.  I can see from my post rating that some people don't share my concern, but data

[google-appengine] updating schema

2009-01-17 Thread thebrianschott
I am following the fine article at http://code.google.com/appengine/articles/update_schema.html but have run into some difficulties as I am very new to this. I run this on my development system and it works fine, but when I tried to run it at appspot.com I get the error far below. I have just

[google-appengine] Re: how to do GqlQuery since OR is not supported

2009-01-17 Thread Barry Hunter
I beleive you should put the words into a StringListProperty. ie 'phil', 'gus', 'david' in case of record 3. and search on that field. Disclaimer: untested - but that is now understand would do it. 2009/1/17 Dave ddev...@gmail.com: Hi, This is probably (hopefully!) simple and lack of

[google-appengine] Re: Data Privacy

2009-01-17 Thread James Ashley
On Jan 17, 2:54 pm, Andy Freeman ana...@earthlink.net wrote:  data privacy is probably the number one barrier to commercial cloud adoption at the moment. Some supporting evidence would be nice because only one person is raising this concern.  Maybe it's so huge a barrier that no one else

[google-appengine] Re: import google.appengine.ext.db.polymodel : No module named polymodel

2009-01-17 Thread TLH
Installing 1.1.8 SDK eliminated the problem. On Jan 17, 4:36 pm, TLH tlhola...@gmail.com wrote: import google.appengine.ext.db.polymodel ... fails in the same way, which is comforting I suppose. I have tried both the Linux and Mac SDKs.  Is this unavailable on the SDK?  Is it a withdrawn

[google-appengine] Re: djangoforms refuses to validate unchecked boolean properties

2009-01-17 Thread Qian Qiao
On Sun, Jan 18, 2009 at 05:25, Qian Qiao qian.q...@gmail.com wrote: [snip] Meh, I was being stupid, all I have to do is: from django import forms class BooleanModelForm(djangoforms,ModelForm): bool_prop = forms.BooleanField(required=False) class Meta: model = BooleanModel Posting the

[google-appengine] Re: updating schema

2009-01-17 Thread thebrianschott
As reported in my previous message, I got error an error message. Upon reviewing the datastore, I saw that only one entity had been updated, but the others were expanded to have the additional fields with the filler missing in each position, so in a sense they were updated, but the default values

[google-appengine] Re: Data Privacy

2009-01-17 Thread Andy Freeman
I see this concern all the time. From every business-oriented point of view. I'm surprised that anyone else doubts this. I thought it could pretty much be considered a given. I was unclear - I was referring to AppEngine specific concerns. Businesses frequently consider data one of their

[google-appengine] Re: updating schema

2009-01-17 Thread Andy Freeman
The python db.Model definitions are not like database table definitions. Unlike SQL schema changes, changing these python definitions doesn't do anything to the entities in the datastore. In fact, if the python definitions are changed incorrectly, the supposedly corresponding entities become

[google-appengine] Re: How to get url from fetchurl?

2009-01-17 Thread Alexander Kojevnikov
I want to know actual url, where i'm via fetchurl. Something like geturl in urllib2. for example if i've follow_redirects=True, then i want to know which url is the ending one. The corresponding issue 404 [1] is fixed however I don't see how we can retrieve the final URL. The headers

[google-appengine] Re: Version 1.1.8 - January 7, 2008

2009-01-17 Thread Ross M Karchner
Has anyone figured out if the cron stuff works yet? how to do it? On Fri, Jan 16, 2009 at 11:04 PM, Roberto Saccon rsac...@gmail.com wrote: Great ! I observed that this needs the ANTLR parser (for some stuff related to cron ! Hopefully very soon now ...) Anyway, if you don't have it

[google-appengine] Re: Generating cryptographically strong random numbers

2009-01-17 Thread Chris Tan
According to the docs, On a UNIX-like system this will query /dev/ urandom: http://docs.python.org/library/os.html These libraries may also be of interest to you: http://docs.python.org/library/crypto.html http://docs.python.org/library/random.html http://docs.python.org/library/uuid.html

[google-appengine] Re: Debug Console

2009-01-17 Thread DocDay
Thanks, djidjadji. Works now. Operator trouble - my code was interfering with the url. On Jan 10, 7:03 am, djidjadji djidja...@gmail.com wrote: For me it only works on the dev-server. The production (appspot.com) server does not give an overlay. In your google_appengine/templates directory

[google-appengine] Re: How to get url from fetchurl?

2009-01-17 Thread Chris Tan
You can follow redirects manually like so: response = urlfetch.fetch(url, allow_truncated=True, follow_redirects=False) if 'Location' in response.headers: url = response.headers.get('Location') response = urlfetch.fetch(url, allow_truncated=True) You could also loop this to follow more

[google-appengine] Re: what's this quota?

2009-01-17 Thread Ben Bishop
Have you deployed your app 250 times in the past day? On Jan 17, 5:06 pm, lookon areyouloo...@gmail.com wrote: Your application is exceeding a quota: App Config Service Config App Call Count how will I get this message? --~--~-~--~~~---~--~~ You received this