[google-appengine] Re: Blobstore upload stripping mime parts on Production but not Dev?

2013-11-20 Thread Luca de Alfaro
My experience is that the blobstore corrupts in strange ways content that is not the uploaded file that it is meant to receive. I went through a litany of problems trying to have a form with an uploaded file being directed first to the blobstore (for upload storage), then to appengine (for form

[google-appengine] Re: What is the most efficient way to compute a rolling median on appengine?

2013-11-20 Thread Luca de Alfaro
If you can weigh recent data more than older data, you might consider instead of building a rolling average, an exponentially decaying weights average. You can store in ndb, sharded, total_amount, and total_weight, and timestamp. Then, when you get an update, you compute the decay_factor, w

[google-appengine] Re: Login generating a redirect loop?

2013-11-20 Thread Lapteuh
Hi, I observed this behavior in my application. The problem was incorrect use of *self.redirect *function. Perhaps you have something like that. The solution (webapp2): self.redirect(url, abort=True) Good luck. среда, 20 ноября 2013 г., 5:03:40 UTC+6 пользователь Aerodyno написал: > > I'm c

[google-appengine] Google App Engine SDK 1.8.8 is now available!

2013-11-20 Thread Richmond Manzana
Hi Everyone, Things have been rolling pretty quick towards the holidays! We're pleased to announce that we have released the GAE 1.8.8 SDKs. For details, please read our blog post and release notes. http://googlecloudplatform.blogspot.com/2013/11/dedicated-memcache-is-now-generally-available-in

Re: [google-appengine] What is the most efficient way to compute a rolling median on appengine?

2013-11-20 Thread John Belmonte
You may have missed my message behind Jeff's-- consistent data structures can be done on memcache, directly in GAE. If you're using Python I might be able to put together an example which computes a running median. On Tuesday, November 19, 2013 12:44:49 PM UTC-8, Mathieu Simard wrote: > > Than

[google-appengine] How can i access Buckets from a Google AppEngine App

2013-11-20 Thread MarcoCanali
Ok, i've a simple php page on google appengine with the code in the google PHP doc : function accessGS(){ $options = [ "gs" => [ "Content-Type" => "text/plain" ]]; $ctx = stream_context_create($options); file_put_contents("gs://mybucket/myFile.txt", "Hello", 0, $ctx); return fil

Re: [google-appengine] Display doc_id of documents in django templates

2013-11-20 Thread Vikas Sharma
I am able to display all the fields except doc_id in template,i know it should be available as property but its not displaying anything when i try to use doc_id.I am able to display other fields by {{result.field_name.0.value}} but doc_id is not working. On Wednesday, September 25, 2013 9:42:

Re: [google-appengine] Blobstore upload stripping mime parts on Production but not Dev?

2013-11-20 Thread Rich
On Wednesday, November 20, 2013 4:15:58 AM UTC+1, Vinny P wrote: > > On Tue, Nov 19, 2013 at 9:40 AM, Rich > > wrote: >> >> This seems to be working fine on the Dev Server but *not* on the live >> AppEngine. >> >> > > Can you use *HttpServletRequest.getHeaders* and inspect the headers > you