I can limit records returned through query to say 15 or 20 or 25 rows
but my problem is that the calculation that i needs to do on returned
records needs results with distance in ascending order. It may be that
in first 25 rows, there may be distances that are greater than the
distances
Web applications that implement user accounts need to generate
unpredictable values for session cookies and anti-CSRF tokens. So
several questions about App Engine arise:
1. How is os.urandom() implemented in production? That is, what
entropy sources does it use? What RNG algorithm?
2. Is there
If you know in advance that you only want to host static HTML content
you might have a look at
http://sites.google.com/
It is possible to host only static HTML in App Engine.
And when you later want to add some dynamic pages, based on database
content, you can add/change pages to serve this.
You could do an entity that has 50 genre counters.
Some thoughts:
1) It seems like you can make genre part of a list property in a CD
since each CD will only be a small number of genres.
2) I wouldn't use a Reference List for a User entity, because a User
might have thousands of CDs. See Rafe
No. Probably the best solution is to set up a web service that your
wsgi apps access with the urlfetch API.
On Jan 15, 11:06 pm, arnie parvez...@rediffmail.com wrote:
Hi all
Can we share same datastore tables [2 tables with 1-to many
relationships] between more than one wsgi applications on
Hi,
I'm not sure I've followed you with whole Ownership model..
Isn't that a RDBMS approach to the data and not BigTable's?
Regarding the genres, they are fixed (53 to be exact) and he can't
select new genres that aren't in the predefined list.
Regarding the counter entity, this is basically
Hi Moritz.
On Jan 16, 3:41 am, Moritz Angermann moritz.angerm...@gmail.com
wrote:
zipimporter('/base/data/home/apps/journal-ma/
reflection-2.330732104263667843/libz/jinja2.zip', '')
zipimporter('/base/data/home/apps/journal-ma/
reflection-2.330732104263667843/libz/werkzeug.zip', '')
type
Thanks for both links. I think I need to go back over that site. That
page on exceptions was much better than the book I bought.
On Jan 15, 6:28 pm, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
Oh ok.. so it is possible to catch that. It's datastore.Timeout and
not db.Timeout, right?
I like it. Now lets hope people don't drive poor Alexander and Bill
crazy with questions. :)
On Jan 15, 7:36 pm, boson dan.kam...@gmail.com wrote:
Yay! Both Alexander Bill have been very helpful and knowledgeable.
I'm glad to see the formal recognition and development of the GAE
community.
I try to create a site similar with tinyurl.com, but i found i can not
use a naked
domain. If i use www.mydomain.com, it seems that is too long for me.
if you are also interesting in this feather, pls vote it at
http://code.google.com/p/googleappengine/issues/detail?id=777
On Fri, Jan 16, 2009 at 04:12, Daniel O'Brien (Google) d...@google.com wrote:
[snip]
The newly appointed Gurus are:
- Alexander Kojevnikov
- Bill Katz
Congratulations Alexander and Bill. Really nice to see their
contributions recognized by the mass.
-- Joe
I'm impressed with what Google has done with their sites project! It
looks as though they have made site development easy, WYSIWYG-style.
It seems to be perfect for what I'm looking for. A question about it
though. Can I have my URL (e.g., www.example.com ) go to my Google
Site? I found
Which is percisely what is not supported.
Imagine for a minute that the datastore supported it, it would work
quite well with say 100 records. Even 1000 records might work at a
push, but once you start getting to about 10,000 the datastore would
almost certainly start to cry, and soon fall
Yes, you just need to use Google Apps rather than signing up for a
personal Sites account.
On Jan 16, 10:02 am, madcoder paperga...@gmail.com wrote:
I'm impressed with what Google has done with their sites project! It
looks as though they have made site development easy, WYSIWYG-style.
It
Hi,
I cant complete something seemingly very simple.
I simply want to create the following object (Auction)
auction =Auction(title, desc)
class Auction(db.Model):
title = db.StringProperty()
description = db.StringProperty()
def __init__(self, title, desc):
self.title
Hi,
First let me say that everyone on the App Engine team takes data
privacy very seriously, and point you to Section 6 and 8 of the App
Engine terms of service (http://code.google.com/appengine/terms.html)
that deal explicitly with the issue of data ownership and copyright.
Also, it is
On Sat, Jan 17, 2009 at 00:02, eli elliott.rosent...@gmail.com wrote:
Hi,
I cant complete something seemingly very simple.
I simply want to create the following object (Auction)
auction =Auction(title, desc)
class Auction(db.Model):
title = db.StringProperty()
description =
If you look at the example at
http://code.google.com/appengine/docs/python/gettingstarted/usingdatastore.html
you see that you don't write an __init__() method if you subclass from
db.Model or db.Expando.
db.Model.__init__() will take care of assigning the correct attributes.
What about if I wish to initialise the variables inside the class with
a complex calculation?
The default parameter wont suffice, is there any other way?
2009/1/16 djidjadji djidja...@gmail.com:
If you look at the example at
On Sat, Jan 17, 2009 at 01:49, Elliott Rosenthal
elliott.rosent...@gmail.com wrote:
What about if I wish to initialise the variables inside the class with
a complex calculation?
The default parameter wont suffice, is there any other way?
Define a factory method that builds the model?
-- Joe
Thank you for the help so far, it really has been useful.
If there any way you could give me a quick snippet of code to show me
how to build a factory method?
2009/1/16 Qian Qiao qian.q...@gmail.com:
On Sat, Jan 17, 2009 at 01:49, Elliott Rosenthal
elliott.rosent...@gmail.com wrote:
What
On Sat, Jan 17, 2009 at 02:02, Elliott Rosenthal
elliott.rosent...@gmail.com wrote:
Thank you for the help so far, it really has been useful.
If there any way you could give me a quick snippet of code to show me
how to build a factory method?
Let's say we have a model that models a circle,
I'm not sure I've followed you with whole Ownership model..
Isn't that a RDBMS approach to the data and not BigTable's?
The two approaches aren't mutually exclusive. In the case of User -
CD, a User can have thousands or more CDs and a CD could be purchased
by millions. Under those
Yes of course!
:) Thank you for the help.
Saved me a lot of sweat.
2009/1/16 Qian Qiao qian.q...@gmail.com:
On Sat, Jan 17, 2009 at 02:02, Elliott Rosenthal
elliott.rosent...@gmail.com wrote:
Thank you for the help so far, it really has been useful.
If there any way you could give me a
class Auction(db.Model):
title = db.StringProperty()
description = db.StringProperty()
def __init__(self, title, desc):
self.title = title
self.desc = desc
This code is trimmed down from the full version, could you tell me if
im doing anything
If all you want to do is retrieve the entity with a specific key,
Person.get(key) is much faster and simpler.
-Nick Johnson
On Jan 16, 6:24 am, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
I am messing with google app engine queries being very new to it
how can we match a string
I thought I would post our findings and solution. Our issue seems
slightly different.
We had entities similar to the following:
class Account(db.Model):
...
class AccountEntry(db.Model):
account = db.ReferenceProperty(Account)
tags = db.StringListProperty()
utime =
No reply yet ...
Anyway I got things working after so much searching and reading . Here
is the way I upload my test app for 1st time. I am putting the same
here so that if anyone else have same problems .. should get a way
out. There may be other BETTER methods unknown to me but this worked .
Be aware that calls to db.put() will not call your db.Model.put()
override. So if you are trying to be efficient by making several puts
at once via db.put([objlist]), your override will not be called.
I wish I knew how to solve this, but I don't. I hope someone can tell
both of us what the
On Jan 16, 11:25 am, Devel63 danstic...@gmail.com wrote:
I wish I knew how to solve this, but I don't. I hope someone can tell
both of us what the preferred method for handling a put override is.
That was the subject of this still open thread:
After a URL in the request log are the following fields (example):
200 1584ms 2571ms-cpu 4kb
Am I correct in believing these are: HTTP response code, real time,
CPU time, and response size?
Now I get various orange and red warnings depending on the ms-cpu
value (almost always when I create an
According to the roadmap: http://code.google.com/appengine/docs/roadmap.html
Google is coming out with : Service for storing and serving large
files that might be useful to you depending on the size of the
pictures you're uploading.
Also, they will at some point start the billing system, which
http://groups.google.com/group/google-appengine/browse_thread/thread/b5f599a1e43c0a26/d4434084f0344550?lnk=gstq=geocoding#d4434084f0344550
On Jan 14, 1:44 am, Jonk joni.kah...@gmail.com wrote:
On 14 tammi, 09:32, arnie parvez...@rediffmail.com wrote:
Is it possible to convert a physical
On Thu, Jan 15, 2009 at 2:06 AM, arnie parvez...@rediffmail.com wrote:
Can we share same datastore tables [2 tables with 1-to many
relationships] between more than one wsgi applications on GAE?
If your question is about sharing a datastore between 2 App Engine
applications, such as
it's cool for
Get height and width of an image via the Images API.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To
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 grab it at:
http://www.antlr.org/wiki/display/ANTLR3/Python+runtime
Roberto
On Jan 16, 11:01 pm, lookon areyouloo...@gmail.com wrote:
it's cool
http://code.google.com/p/googleappengine/issues/detail?id=240 is an
issue related to the issue you raised in your post.
On Jan 16, 1:31 pm, boson dan.kam...@gmail.com wrote:
After a URL in the request log are the following fields (example):
200 1584ms 2571ms-cpu 4kb
Am I correct in believing
Your application is exceeding a quota: App Config Service Config App
Call Count
how will I get this message?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email
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? If yes then how? I have searched a lot but finds only
javascript references. My requirement is to fetch Latitude/Longitude
values when the
Bill if I use an ownership model,
How do you fetch all the cds of a user?
you select on Ownership, then get the tuples with user id / cd id
Now you need to fetch many cd id from the CD entity..
So what's the difference?
If you store them as a list of IDs in the User, you still have to go
over the
40 matches
Mail list logo