[google-appengine] Re: remote api, when?

2009-01-22 Thread Nikola
Ryan mentioned it in the chat (see the transcript here in the group), he thinks it should be working already and there is an article coming soon. Nik On 21 Ян, 11:06, dobee berndd...@gmail.com wrote: hi all there is an undocumented remote api client in the 1.1.8 sdk which i tried, but it

[google-appengine] Re: Streaming support?

2009-01-22 Thread Nikola
I don't think GAE will be usable for video streaming anytime soon. The platform is oriented towards doing stuff in small chunks, which doesn't fit video streaming. There is support for long running processes in development, but it is not even on the roadmap. Nik On 20 Ян, 12:15, alokiN

[google-appengine] What means Deployment ???

2009-01-22 Thread Yeradis
Hello and good day to everybody Sorry by my english I have a question: What means Deployments It appear under Quota Details menu and the end of all of the page This number is the avalilable possible deployment a day ? Thanks With no more Bye bye

[google-appengine] Re: What means Deployment ???

2009-01-22 Thread Qian Qiao
On Thu, Jan 22, 2009 at 18:09, Yeradis yera...@gmail.com wrote: Hello and good day to everybody Sorry by my english I have a question: What means Deployments It appear under Quota Details menu and the end of all of the page This number is the avalilable possible deployment a day

[google-appengine] django + GAE + app-engine-patch + i18n (+ Mac)

2009-01-22 Thread boson
Anybody have luck with this combo: django + GAE + app-engine-patch + i18n ? I'm on Mac OS X 10.5. First I had to get the gettext package from Fink. But now still when I run manage.py makemessages -l en, I get: Error: errors happened while running xgettext on __init__.py /bin/sh: xgettext:

[google-appengine] Caching using global variables

2009-01-22 Thread Blixt
Hi there, I've been playing with caching using global variables (see http://tack.appspot.com/ for my plaything) and would like some input on the following approach: http://paste.blixt.org/3381 You would use the above code like this: def get_recent_posts(): if

[google-appengine] Re: Caching using global variables

2009-01-22 Thread Tony Arkles
The big difference between in-memory caching and memcache caching is that memcache data is shared between all of your running instances, but in-memory caching is on a per-instance basis. On Jan 22, 9:52 am, Blixt andreasbl...@gmail.com wrote: Hi there, I've been playing with caching using

[google-appengine] Too many Indexes? runs fine on desk server not in production? how to debug?

2009-01-22 Thread dartdog
Happy to debug but how? (well maybe not happy but willing) I'm a real newbie at all this, but I did hack together a very modified version on the bloog blog project which is now live at http://tombrander.appspot.com/ It runs fine except that I can't post even moderately long blog posts, other

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-22 Thread bowman.jos...@gmail.com
I think it's a case of it's been that way for so long I haven't realized I need to change it. The put on every write to update the last activity, I mean. I'll look into modifying it so that it only writes when the session token changes. As for google though, every time I load up my igoogle page,

[google-appengine] Re: Caching using global variables

2009-01-22 Thread Mahmoud
Maybe you can use both your approach+memcache. Look for stuff in the local cache first. If not found, go to memcache, if not found, then load from the datastore. This can be neatly hidden in a decorator. See:

[google-appengine] Re: Indexes aren't being used by the server [was: Re: can't deploy index.yaml]

2009-01-22 Thread jones34
finally got it to really work by removing the - name __searchable_text_index line from index.yaml there sure seem to be a lot of undocumented features in this process On Jan 22, 7:33 am, jones34 ljw1...@gmail.com wrote: Argh. Spoke too soon. The deploy now _seems_ to work, but I still get

[google-appengine] Chinese characters caus es ServerError 网页中有汉字,就会产生错误

2009-01-22 Thread livibetter
(I edited the subject, many English speakers may not know this post is written in Chinese) I have tried this on Linux if I have this script in GB2312, I got no error but a warning: WARNING 2009-01-22 21:55:14,652 __init__.py] Response written is not UTF-8: 'utf8' codec can't decode byte 0xa3

[google-appengine] Re: How expensive are queries

2009-01-22 Thread djidjadji
Using get(key) is faster then a Model.gql().fetch() or Model.all().fetch(). db.get(key_list) is faster. But still you have to go to the datastore and that takes time. But getting data from memcache is very fast. Why don't you cache the result from the template rendering? The only extra Python

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-22 Thread jeremy
Ok. I actually modified Session.__init__ locally to do the last_activity on sid rotation (i also refactored it a bit to reduce repeated code blocks). Regarding google.com's SID cookie - i'm not seeing the sid update within minutes. I'm not sure why yours rotates so quickly, but it's something

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-22 Thread bowman.jos...@gmail.com
I've gone with a different approach that currently achieves similar results, that's now available in the trunk. A new variable, last_activity_update has been added. It's the amount of seconds that needs to pass before that field needs to be updated by doing a put(). It defaults to 60 seconds,

[google-appengine] Marzia Please Help with Account ID Problems!

2009-01-22 Thread Devel63
Hi Marzia, I cannot successfully invite developers to an app using Google Apps authentication: when the invited developer clicks on the Apps confirmation link, they get an error page. If instead of inviting a developer from the Apps domain to which I restricted the app, I invite a developer

[google-appengine] Is there some sort of cookie issued by google apps can take advantage of for sessions?

2009-01-22 Thread bowman.jos...@gmail.com
There's been some ongoing discussion about the approach I and others have been taking to session management in our appengine applications. I always rank security over performance, but with how heavy datastore writes are, this can be problematic and eventually expensive for applications. I've

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-22 Thread jeremy
Hmm, I'm not sure what session timing is. I have an idea to reduce writes. Instead of updating the sid of every session individually, give each session a random value between 0 and C, and have one application-wide value R randomized every session_token_ttl seconds to an integer between 0 and C,

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-22 Thread bowman.jos...@gmail.com
By session timing I was referring to how long a session is valid for. For example, a session is valid for 2 hours. This means the session is valid for last_activity + 2 hours. Completely separate from the session token process. So, if you leave the site and come back 90 minutes later, what

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-22 Thread jeremy
What I see as a concern with your approach is what happens when the server wide variable R gets out of sync with someone's version that was crypted based off of it? The original reason the 3 valid token set that's why i mention that you can store the last 3 values of R as is done now for each

[google-appengine] Re: remote api, when?

2009-01-22 Thread dobee
wow, nice to hear ... this feature really rocks! --~--~-~--~~~---~--~~ 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 unsubscribe from

[google-appengine] Re: remote api, when?

2009-01-22 Thread kang
and thanks for your mention~ On Thu, Jan 22, 2009 at 11:20 PM, dobee berndd...@gmail.com wrote: wow, nice to hear ... this feature really rocks! -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the