request.url can get domain names.
2008/12/5, lws68825 <[EMAIL PROTECTED]>:
>
> Hi,
> Can anyone help me on getting host info in a cgi script? I want to set
> different mapping parameters to wsgiapplication for different domain
> names.
> >
>
--~--~-~--~~~---~--~~
I've been desperately trying to optimise my code to get rid of those
'High CPU' requests. Some changes worked others didn't, in the end
I've really only gained a marginal improvement. So I'm now
considering some significant structural changes and are wondering if
anyone has tried something simil
There is the FloatProperty, pretty sure that's what your after.
http://code.google.com/appengine/docs/datastore/typesandpropertyclasses.html#FloatProperty
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App
Often this is caused by having a default dynamic request handler like this:
- url: .*
script: main.py
You can eliminate this issue by adding a static robots.txt file before
the dynamic handler:
- url: /robots\.txt
static_files: robots.txt
upload: robots\.txt
- url: .*
script: main.py
On Fri, Dec 5, 2008 at 1:07 PM, Fred Janon <[EMAIL PROTECTED]> wrote:
> The Datastore doesn't seem to have support for Decimal or did I miss
> something? Is there a way (besides the classic /100 & *100) to get a
> Decimal stored in the Datastore or do I need to follow the "Extending
> Model Prope
Hi,
The Datastore doesn't seem to have support for Decimal or did I miss
something? Is there a way (besides the classic /100 & *100) to get a
Decimal stored in the Datastore or do I need to follow the "Extending
Model Properties" instructions?
Thanks
Fred
--~--~-~--~~~-
it does not work for foreign language...only english and it's not very
helpful
On Fri, Dec 5, 2008 at 10:32 AM, yu ping322 <[EMAIL PROTECTED]> wrote:
>
> from google.appengine.ext import db
> from google.appengine.ext import search
> class Article(search.SearchableModel):
>title = db.Text
Is it just me or the daily quota has just been increased from 200,000
to 600,000 Gigacycles and from 2,000 to 6,000 e-mails? Not that I'm
complaining, just wondering if someone else is seeing this in the
control panel?
--~--~-~--~~~---~--~~
You received this message
The only reason I needed a Point property was for an economical
example case :-)
On Dec 3, 7:26 pm, ryan <[EMAIL PROTECTED]> wrote:
> david's right, that article does describe how to extend db.Property.
> if all you need is a point property, though, you should consider using
> GeoPtProperty:
>
>
from google.appengine.ext import db
from google.appengine.ext import search
class Article(search.SearchableModel):
title = db.TextProperty()
publishDate = db.DateTimeProperty(auto_now_add=True)
text = db.TextProperty() # should NOT be returned
article = Article(text ='''Thi
Hi niklasr,
Thanks for your reply.
On 12月5日, 上午11时22分, niklasr <[EMAIL PROTECTED]> wrote:
> os.environ may achieve it
>
> import os
> if os.environ.get('HTTP_HOST'):
> url = os.environ['HTTP_HOST']
> else:
> url = os.environ['SERVER_NAME']
>
> On Dec 5, 4:07 am, lws68825 <[EMAIL PROTECTED
os.environ may achieve it
import os
if os.environ.get('HTTP_HOST'):
url = os.environ['HTTP_HOST']
else:
url = os.environ['SERVER_NAME']
On Dec 5, 4:07 am, lws68825 <[EMAIL PROTECTED]> wrote:
> Hi,
> Can anyone help me on getting host info in a cgi script? I want to set
> different mappi
Hi,
Can anyone help me on getting host info in a cgi script? I want to set
different mapping parameters to wsgiapplication for different domain
names.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine
Hi you can do the word segmentation yourself, and put these words in a
StringListProperty.
On Fri, Dec 5, 2008 at 10:08 AM, kang <[EMAIL PROTECTED]> wrote:
> Thanks...so there is no good solution for this problem now? I haven't seen
> it in the roadmap...
>
>
--~--~-~--~~
Hi,
Instead of asking GAE developers to upload libraries they need, why
not ask the developers of the libraries to upload versions that work
with GAE?
Amir
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App
Thanks...so there is no good solution for this problem now? I haven't seen
it in the roadmap...
On Fri, Dec 5, 2008 at 1:27 AM, tigrillo <
[EMAIL PROTECTED]> wrote:
>
> Hello: maybe it can help:
>
> http://code.google.com/p/googleappengine/issues/detail?id=217
>
> I use this as a temporary option
Hi angel,
Which version of the App Engine SDK are you using? I'm assuming that
you are seeing this error when running locally and not when deployed
on App Engine.
Thank you,
Jeff
On Dec 3, 5:43 pm, angel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to shows all my documents within google doc
It is a perfect Achilles Heel.
On Dec 4, 1:51 pm, Fred <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was just checking my warning logs in the dashboard and noticed this:
>
> 65.55.231.106 - - [04/12/2008:03:23:08 -0800] "GET /robots.txt HTTP/
> 1.1" 404 84 - -
>
> This request used a high amount of CPU,
There is some information about one approach on my blog:
http://blog.adamcrossland.net/showpost?id=aglhZGFtY2Jsb2dyLQsSCUJsb2dJbmRleCIJYWRhbWNibG9nDAsSBFBvc3QiC2FkYW1jYmxvZzE0DA
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
On Thu, Dec 4, 2008 at 3:29 PM, Vee Why <[EMAIL PROTECTED]> wrote:
>
> Dan, thanks for clarifying that. Where in the Admin console can I see
> the files that I want to delete? (I am in the Admin console now, but
> it is not obvious where I can see and delete unwanted files.
>
You wouldn't delete
Dan, thanks for clarifying that. Where in the Admin console can I see
the files that I want to delete? (I am in the Admin console now, but
it is not obvious where I can see and delete unwanted files.
On Dec 3, 1:07 am, Dan Sanderson <[EMAIL PROTECTED]> wrote:
> If you remove the file from your
> Hi folks. Just wanted to add that there should be some "known good
> way" of paging through a set of more than 1,000 objects. It seems like
> there are a few ways to do this -- does anyone have any good sample
> code so we don't all reinvent the wheel each time?
See this thread for a few pointe
Hi,
You can always sign a CLA and submit a patch:
http://groups.google.com/group/google-appengine/web/how-to-submit-a-patch-to-the-sdk
-Marzia
On Thu, Dec 4, 2008 at 8:14 AM, djidjadji <[EMAIL PROTECTED]> wrote:
>
> I just got the following warning in the dev_appserver.py (Version 1.1.7)
>
> x
Hi,
I was just checking my warning logs in the dashboard and noticed this:
65.55.231.106 - - [04/12/2008:03:23:08 -0800] "GET /robots.txt HTTP/
1.1" 404 84 - -
This request used a high amount of CPU, and was roughly 1.2 times over
the average request CPU limit. High CPU requests have a small qu
Hi Marzia,
Thanks for the reply. My app id is "space1".
Thanks,
Arun Shanker Prasad.
On Thu, Dec 4, 2008 at 6:19 PM, Marzia Niccolai <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If you reply to me with the App Id I can look in to it.
>
> -Marzia
>
>
> On Thu, Dec 4, 2008 at 12:16 PM, Arun Shanker Pr
Hi,
If you reply to me with the App Id I can look in to it.
-Marzia
On Thu, Dec 4, 2008 at 12:16 PM, Arun Shanker Prasad <
[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Sorry to bump this thread again, but my indexes are still in the
> "Building" status in the Dashboard.. Its been quite sometime, I hav
Hi,
Sorry to bump this thread again, but my indexes are still in the
"Building" status in the Dashboard.. Its been quite sometime, I have
had similar indexes in my app and they didn't take this long to build :
(
Thanks,
Arun Shanker Prasad.
On Dec 4, 3:04 pm, Arun Shanker Prasad <[EMAIL PROTECT
We have no time frame to announce regarding a Python 3.0 runtime
environment. Feel free to create and star an issue!
-- Dan
On Thu, Dec 4, 2008 at 10:36 AM, Larry <[EMAIL PROTECTED]> wrote:
>
> I'm not sure about time-frame but I am very interested about Python 3
> support although it was only r
Hi folks. Just wanted to add that there should be some "known good
way" of paging through a set of more than 1,000 objects. It seems like
there are a few ways to do this -- does anyone have any good sample
code so we don't all reinvent the wheel each time?
One way is to use Django's Paginator --
hey david! wow, comprehensive. you're right: modulo some minor
implementation details, this is basically our optimistic concurrency
algorithm.
your concern stems from the fact that the datastore doesn't use locks,
so txes aren't really ordered like they are in lock-based systems.
in a lock-based
I'm not sure about time-frame but I am very interested about Python 3
support although it was only released yesterday! However some
information about it is available here:
http://groups.google.com/group/google-appengine/browse_thread/thread/8c0ece4a7b14d92/458116fbae634a00?lnk=gst&q=%22python+3%2
Hi alf,
Security is a pretty large field, and I am not a cryptographer
(IANAC ;-) so take this with a grain of salt.
One way that you could authenticate a user over a direct HTTPS request
(not using a browser) is to send the credentials over HTTPS using
Digest Auth. This wikipedia article has so
Why does this matter?
Linux will be available for as long as Linux solves a real problem in
a cost effective way.
Windows will be available for as long as Windows solves a real problem
in a cost effective way.
Google App Engine will be available for as long as Google App Engine
solves a real prob
On Dec 4, 11:59 am, Brian <[EMAIL PROTECTED]> wrote:
> Just wondering if GAE has a plan to support python 3, perhaps as an
> alternative language instead of replacing 2.5 altogether.
>
I'd also be interested in a timeline for Python 3.0 support in GAE.
thanks
-kellan
--~--~-~--~~---
Hi,
Did you try adding the mapping to sites and then deleting it? We've come
across situations where sites has claimed the WWW mapping and it hasn't been
displayed on the cPanel. You may need to re-enable sites, add the mapping,
and then delete it.
-Marzia
On Wed, Dec 3, 2008 at 11:33 PM, Albe
Hi brian,
The number of puts (or HTTP requests in genral) per minute/second
possible depends on too many factors to give a simple answer. Part of
the answer would involve the interplay of the different quotas being
used, and the behavior of the quota system when it detects a traffic
spike.
For m
hey, does anyone know how to fetch data from the datastore, from an
external URL?
I'm working within MySpace and would like to fetch data base at the
Google data store. Is it possible? I'm guessing HTTP GET with user
name/password attached to the request. Any thoughts?
Thanks,
john
--~--~---
Hi Marzia!
I visited
http://groups.google.com/group/google-appengine/web/deleting-existing-www-mapping-from-google-apps
and I followed it, but... I don't have any web mappings at all... So I
couldn't delete any, yetI still can't add the www subdomain...
I can add another subdomain like blah, f
Hello: maybe it can help:
http://code.google.com/p/googleappengine/issues/detail?id=217
I use this as a temporary option while Search become better
On 1 dic, 21:18, kang <[EMAIL PROTECTED]> wrote:
> anyone have experience in SearchableModel?
>
>
>
> On Mon, Dec 1, 2008 at 3:10 PM, kang <[EMAIL
Hi Marzia,
Thanks for the quick reply. I just had a look, the indexes I
vacuumed are in the Building state.
I have never had them take so long to build..
Thanks,
Arun Shanker Prasad.
On Dec 4, 3:00 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Currently, you can not upload a new a
Hi,
Currently, you can not upload a new app version while there are any indexes
in the building/deleting state. I suspect this is the problem.
-Marzia
On Thu, Dec 4, 2008 at 8:53 AM, Arun Shanker Prasad <
[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I uploaded a new release for my application, I
Just wondering if GAE has a plan to support python 3, perhaps as an
alternative language instead of replacing 2.5 altogether.
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post t
Hi all,
I uploaded a new release for my application, I saw that the Indexes
were in the "Error" state in the Dashboard..
So i did a vacuum and tried to update the indexes again but I keep
getting this error,
Error 400: --- begin server output ---
Building a composite index failed: ApplicationErr
Hi Marzia,
Thanks for your reply.
On 12月4日, 下午11时53分, Marzia Niccolai <[EMAIL PROTECTED]> wrote:
> Hi,
>
> You can do this if your domain is a Google Apps domain:www.google.com/a
>
> -Marzia
>
> On Thu, Dec 4, 2008 at 12:22 AM, lws68825 <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I wonder if I can b
I just got the following warning in the dev_appserver.py (Version 1.1.7)
\google_appengine\google\appengine\ext\admin\__init__.py:548:
DeprecationWarning: integer argument expected, got float
for page in range(page_start + 1, page_end + 1):
INFO 2008-12-04 15:43:42,250 dev_appserver.py
Hi,
You can do this if your domain is a Google Apps domain: www.google.com/a
-Marzia
On Thu, Dec 4, 2008 at 12:22 AM, lws68825 <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I wonder if I can bind *.mydomain.com to my application using the 'add
> domain' function in the console?
> >
>
--~--~-~--
Hi,
My application fetches this url : http://www.hordes.fr
But monday, the IP for this server (www.hordes.fr) has changed (they
moved), but currently I always fetch the bad URL/bad server.
I've tested with different applications in appspot and it is the same
error :
Here what appspot see : htt
Yes. I've noticed this as well. However, the difference is usually
just -1 and never this disparate.
On Dec 3, 12:41 pm, Siva Velusamy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I find this weird behavior in the current production server:
>
> If I have a query of the form:
>
> SELECT * FROM model1 WHER
For casual computer users, GAE will have a very small impact on Linux
adoption; a bigger impact would be hords of low-cost netbooks running
on some linux distros. If GAE gains popularity, new web developpers
will tend to adopt the Python programming language and somehow, get
the fact that developi
On Thu, Dec 4, 2008 at 1:24 PM, kang <[EMAIL PROTECTED]> wrote:
> GAE itself has google account model, and user can login.. but if they want
> to post through FriendConnect ,they need to login for the second time
> it's not a good user experience
You're right, I think it's very confusing or m
GAE itself has google account model, and user can login.. but if they want
to post through FriendConnect ,they need to login for the second time
it's not a good user experience
On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht
<[EMAIL PROTECTED]>wrote:
>
> On Thu, Dec 4, 2008 at 10:50 AM, kang <[
On Thu, Dec 4, 2008 at 10:50 AM, kang <[EMAIL PROTECTED]> wrote:
> right
> i've configured for my app
> but what do you think of the Friend Connect? I think an appengine website
> need not use it...
Why not? Could be a nice extra for some applications... But it would
be great to have an easy
I know both...But the example apps do not cover the paging problem..
and the big apps do not give source code
On Thu, Dec 4, 2008 at 7:44 PM, A. TNG <[EMAIL PROTECTED]> wrote:
>
> On Thu, Dec 4, 2008 at 6:58 PM, lookon <[EMAIL PROTECTED]> wrote:
> >
> > I've watched Buildding Scalable Web Applica
On Thu, Dec 4, 2008 at 6:58 PM, lookon <[EMAIL PROTECTED]> wrote:
>
> I've watched Buildding Scalable Web Applications with Google App
> Engine on Youtube..But I wish there could be some example code about
> the topics. for example paging technique..
>
> And I want to know where could see the cod
I've watched Buildding Scalable Web Applications with Google App
Engine on Youtube..But I wish there could be some example code about
the topics. for example paging technique..
And I want to know where could see the code of some big apps using App
Engine. I need to learn, thanks
--~--~-~
right
i've configured for my app
but what do you think of the Friend Connect? I think an appengine website
need not use it...
On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht
<[EMAIL PROTECTED]>wrote:
>
> Hi Rajiv,
>
> here's how I did it... I copied the two files in a directory called
> "stati
>
> Totally agree. Partial RSS isn't handy. And one more request, could
> you add a search input box to help search inside AppEngine cookbook?
>
For full feed of AppEngine-Cookbook, I create a feed with Yahoo Pipe.
Please check here: http://pipes.yahoo.com/jiyu/appenginecookbook. But
it seems so
Hi,
I wonder if I can bind *.mydomain.com to my application using the 'add
domain' function in the console?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email
58 matches
Mail list logo