Using a distance range with subsequent filter to return only 25 rows
is a good idea.
Even if I pass a distance range in request url say from=0.1 and to=0.9
still then one needs to write
this "SELECT * FROM myTable" as I cannot use limit statement here
If multiple iphone users are accessing the wsg
thanks ryan,
As because it is generating proper uuid's before put(), I thought it
could be an RPC call,
we use batch put and get for datastore and the performance is
impressive compared to individual put()
On Jan 29, 10:48 pm, ryan wrote:
> On Jan 29, 12:48 am, vivek wrote:
>
> > If I use the a
Hello! I was merrily whiling away hours learning about GAE and playing
with visualizations & json on my learning app "wattcher" when all of a
sudden:
---
C:\>python "C:\Program Files\Google\google_appengine\appcfg.py"
update .
Scanning files on
On Thu, Jan 29, 2009 at 9:17 PM, Mel T. wrote:
> Thanks for your help Rodrigo. Babel looks neat, and coming from Trac's
> team makes it look like a good choice.
>
> Can I use babel with google's default webapp template engine ?
>
> If not, what template engine works well with that?
Babel has a he
Hi folks,
I'm having a very curious problem with get_multi. I'm giving it a
list of keys ten items long. It finds items 1 and 2 without issue,
but doesn't find the last eight.
If I reverse the search list and then use get_multi, I now get items 9
and 10, but not 8 through 1.
If I make individ
Thanks for your help Rodrigo. Babel looks neat, and coming from Trac's
team makes it look like a good choice.
Can I use babel with google's default webapp template engine ?
If not, what template engine works well with that?
On 29 jan, 14:04, Rodrigo Moraes wrote:
> On Thu, Jan 29, 2009 at 2:3
Hello,
what does Google recommend if you wanted to charge users using your
application?
thanks,
virtual_pm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send emai
I get some problem with i18n too.
for example,
msgid "Photo upload"
msgstr "圖片上傳"
It still trans to "Photo upload".
Regards
2009/1/30 Mel T.
>
> Hi,
>
> I searched on this group looking for info on how to best build a
> google app that supports multiple languages. The results are
> disappoin
http://www.python.org/doc/2.5.2/ref/strings.html
On Jan 30, 7:36 am, Aramaki wrote:
> Hi, my code needs to trim special characters from users imput but
> there is one I can't
>
> how can I trim '\' from a string without error
>
> chr(92) doesn't work, ord () throw an error when facing ' \ ' and
i18n depends on the webframework you are using, that is the easy
stuff, there are plenty solutions for it out there, what Google
provides is much lower lever and it its the difficult stuff like
scalability. If you use django (e.g. with apppenginepatch), then i18n
is built in works fine, at least w
Running Django + app-engine-patch locally... Frequently on requests
(can't determine why/when) I get these two log items:
DEBUG Could not import "strop": Disallowed C-extension or built-in
module
DEBUG Could not import "fcntl": Disallowed C-extension or built-in
module
Each one takes about half
I'm calling create_logout_url('/') from my app, which I expect would
take me to http://myapp.com/. Instead, it sends me to the dashboard
to configure Google Apps for Your Domain:
http://www.myapp.com/_ah/logout?continue=https://www.google.com/a/myapp.com/Logout%3Fcontinue%3Dhttp://www.myapp.com/
\ is an escape character so you either need to escape it ('\\') or use
a raw string (r'\')
On Jan 29, 3:36 pm, Aramaki wrote:
> Hi, my code needs to trim special characters from users imput but
> there is one I can't
>
> how can I trim '\' from a string without error
>
> chr(92) doesn't work, or
Hi, my code needs to trim special characters from users imput but
there is one I can't
how can I trim '\' from a string without error
chr(92) doesn't work, ord () throw an error when facing ' \ ' and I
don't really see how to implement unicode formating in that way.
I am sure that wiht 2-3 line
I had even much bigger problem, my proxy server required
authentication ... Well lot's of serching and reading got me a way
out .Your's is easier.
>>> PROCEED ON YOUR OWN RISK AND KNOWLEDGE. IT WORKED FOR ME DOESN'T MEAN
>>> SHOULD WORK """ HARMLESSLY """ TO ALL..
Follow the instructions in my
On Thu, Jan 29, 2009 at 3:39 PM, ryan wrote:
> i believe my third derived query, ie without the y = B.y filter, is
> right. one way to think about it is that the original query only has
> sort orders, not filters, so it should return *every* entity that has
> an x property and a y property. say th
On Thu, Jan 29, 2009 at 2:34 PM, Mel T. wrote:
> What is gae's team official statement about support for localized
> application? Does GAE support it or not ? Are we supposed to develop
> our own localization solution?
hey Mel,
please check http://babel.edgewall.org/ - it is a standalone package
Hi Folks,
I'm hoping to develope a Twitter application using the above.
Essentially, I am good to go in as much as I can run a little Python
from within Eclipse to get some data from the Twitter API. That works
great. The problem is that when I try to connect to http://localhost:,
where I'v
Please help me !!
I am not able to upload my app..
urllib2.URLError:
I am behind my college proxy ..whose address is proxy.ssn.net and port
8080
We have few restrictions like , FTP,SSL are blocked.. and upload or
download limits
set max 20 mb.
I am using ..
App Engine SDK - Release Notes
Ver
Hi,
I searched on this group looking for info on how to best build a
google app that supports multiple languages. The results are
disappointing: there is no recommended way to do this and it seems
that many attempts from other developer are not fully functional.
I read these threads:
http://g
> Do keep in mind that you have to adjust the longitude range
as you get closer to the poles, because one degree longitude close to
the poles is much longer in distance than it is at the equator.
I meant that the distance per longitude degree gets *shorter* closer
to the poles, of course.
Regard
You could filter out a square region of a reasonable distance from the
iPhone in the query and then sort the positions in your application
and finally remove positions from the bottom of the list if there are
too many. Do keep in mind that you have to adjust the longitude range
as you get closer t
Hi all
I have to design a wsgi app which is returning xml data to be consumed
by an iphone application. The iphone app sends an http request with
latitude and longitude from iphone. Based on these entries, I need to
query datastore table. The datastore table itself also contains
latitude and longi
Thanks guys, your replies have so far been really insightful.
I totally agree with that Google App won't be able to handle that many
requests at this stage (being free and all) but I haven't even started
developing the app, so reaching a hundred thousand users is still far away,
but what I would
Check out this tutorial that shows how to upload, store (as Blobs),
and serve images:
http://code.google.com/appengine/docs/python/images/usingimages.html
You should be able to adapt it to VRML quite easily.
On Jan 29, 8:34 am, Kieran wrote:
> Hi
>
> I am looking at making an app that takes som
On Jan 29, 8:29 am, Geoffrey Spear wrote:
> 100,000 simultaneous users constantly sending 2 requests/minute to the
> server would add up to 288 million requests per day. The request
> quota is currently ~1.3 million requests per day, and this quota is
> not listed as being adjustable.
you can a
On Jan 29, 5:15 am, Waldemar Kornewald wrote:
> What exactly was the problem? Could you please post the settings
> backend code here?
This is what I was following:
http://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authentication-backend
> Did you try to add a few logging.info() call
On Jan 29, 12:48 am, vivek wrote:
> If I use the above method for assigning the key_name, will it make a
> RPC call every time?
happily, neither instantiating an Expando/Model subclass (ie running
the constructor) nor setting the _key_name attribute in memory will
make an RPC call. only put(), g
Thanks for the links. Sorry my question wasn't phrased properly, as I
thought pdb already did work with the dev_appserver by itself.
Star this issue if you want pdb support in dev_appserver:
http://code.google.com/p/googleappengine/issues/detail?id=308
On Jan 29, 5:02 am, Jesaja Everling wrote
wow, awesome. thanks for implementing this, rodrigo! (and sorry for
exploding your head. :P)
On Jan 28, 9:42 pm, Rodrigo Moraes wrote:
> ooops, sorry, let me correct the result i got. only the third query
> doesn't match the one in ryan's doc:
>
> Original:
> ---
> WHERE x = B.x AND y =
I don't know about getting the port, but you should have this at the
top of your file if you want to use the "os" module:
import os
On Jan 28, 4:14 pm, Huan wrote:
> I know I can get the requester's IP address by
> self.request.remote_addr, but how do I get the requester's TCP port
> number?
I only spent a little while working the numbers. My advice would be to
approach Mosso and offer to talk about being an enterprise partner. Also,
there are not very many people who really know how to scale a system such as
you suggest. People mouth scalable, but few do it.
On Thu, Jan 29, 2009 at 8
Hi
I am looking at making an app that takes some data and produces a VRML
file, then displaying this with something like in my index.html.
At the moment i have a VRML file that i uploaded to test this and this
displays fine. But as i can't save to the file store i was wondering
does anyone know
100,000 simultaneous users constantly sending 2 requests/minute to the
server would add up to 288 million requests per day. The request
quota is currently ~1.3 million requests per day, and this quota is
not listed as being adjustable.
If you really need to serve this many requests per day (whic
2009/1/29 E. Naraki :
>
> Hali,
>
> yes it is possible to for AppEngine to handle 100,000 users with many
> concurrent requests.
> Of course your app will not be allowed to use such resources until
> they release the payment system to break out of the initial free
> resources.
>
> AppEngine is bui
Hali,
yes it is possible to for AppEngine to handle 100,000 users with many
concurrent requests.
Of course your app will not be allowed to use such resources until
they release the payment system to break out of the initial free
resources.
AppEngine is built with Scalability in mind (http://en.w
On 29 Gen, 05:48, "h.ali" wrote:
> Would the Google App Engine be able to handle this? Also, if
> anyone can give any advise on how should i proceed, that would be
> greatly appreciated.
I think you would exceed the free quotas very soon, according to the
load you predicted
You should wait f
Hi,
On Jan 28, 8:58 pm, boson wrote:
> I think the problem was that the Django "User" and ragendja "User"
> were conflicting somehow and causing strange problems with the
> runtime.
>
> For my custom backend I'm now creating my own "User" and ignoring both
> of those (neither of which I could ge
Hi,
The easiest way to fix this, if there was more than 1 developer of the
app, is to have the other developer invite you again to develop for
the app.
If this deleted account is the only one that was a developer, I will
need to manually fix this. Please let me know off the group if this
is the
Hi Tom,
Here's a good explanation I found via Google:
http://effbot.org/zone/import-confusion.htm
if you have a file datamodel that contains a class name modelName, you can do:
from datamodel import modelName
-Marzia
On Thu, Jan 29, 2009 at 4:48 AM, tom s wrote:
>
> Hi, I'm a n00b to python
Hi,
If you have copied and pasted this as-is, the issue is that 'script'
is improperly indented. It should be indented 2 spaces.
If this is not the case, you should check your mappings wsgi handler
mappings inside test_hw.py.
-Marzia
On Wed, Jan 28, 2009 at 4:22 PM, ljj wrote:
>
> applicatio
Hi,
I also tried to get debugging to work.
In the comments for this article:
http://jjinux.blogspot.com/2008/05/python-debugging-google-app-engine-apps.html
Somebody describes how to define a method with which you can invoke
the debugger in a way that should work with the dev_appserver.
The sam
Hi
Is it correct that the ranker code results in a tree where all the
nodes in the tree is stored within the same GAE entity group (they all
have the rootkey as parent), resulting in the entire tree being
serialized for access?
Best regards,
Morten Nielsen
On Jan 26, 11:08 pm, ryan wrote:
> th
I am using the Yui Uploader 2.6.0 advanced example and apparently it
is working fine on the client side.
Basically the uploadAll function in javascript passes to the uploader
the url containing the script to handle the uploaded file/s on the
server:
function upload() {
if (fileList != nu
I know I can get the requester's IP address by
self.request.remote_addr, but how do I get the requester's TCP port
number? I tried self.request.remote_port, but that does not work.
I also saw people using os.environ['REMOTE_ADDR'], so I was thinking
of trying os.environ['REMOTE_PORT'], but it giv
Hi guys,
I'm newbie to the google app engine, and i was wondering whether
you guys could help me out in a problem. I want to develop an
application which would need to cater for like 100,000 users using it
simultaneously. All the users would be sending requests to the serve a
couple of times a
What is the best way to have many clients upload records (data) to my
app? I see the information on using the SDK to upload mass records in
a CSV but, I want to create a program that can send a few thousand
records from many clients about one time per day. Is RPC the best way
to do this? and how w
application: test
version: 1
runtime: python
api_version: 1
handlers:
- url: /test
script: test.py
- url: /.*
script: test_hw.py
however, the address http://localhost:8080/test gives me 404
INFO 2009-01-29 00:19:35,144 dev_appserver.py] "GET /test HTTP/
1.1" 404
--~--~-~--~--
Hi, I'm a n00b to python and GAE, so apologies in advance for the
naivety of this question..
My app has multiple .py files, which share db models.
So to avoid repetition, I want a single file that has the db model
definitions, such as 'datamodel.py'.
I can then import that into my main.py with 'i
hi!
I messed up the ownership of my app (http://mikorjon.appspot.com/).
I created this app with my previous google account which was:
'zsphone'
Recently I reorganized my e-mail addresses, and I deleted this gmail
address, and the account as well, and I created this new one:
'zsombor42'
Now I rea
thanks a lot Alex,
In our application we need to create 200 entities in a single
request,if we pass the key_name in constructor,Internally it makes a
RPC call to the server every time which intern slows down my
application, Because each RPC call takes nearly 10 millisecond(10*200
= 2 second).
so
51 matches
Mail list logo