Haven't seen that before ! bing search returned (just once) following stack trace after a manual search for: where are highest mountains in the world. So you see it is not only us small individual developers that can force a stupid piece of code to execute, bi(n)g guys are quite capable to make it happen too.
Sep 8, 2010
Sep 5, 2010
Best practice to import libraries or frameworks in App engine
Usual procedure is to paste the library in your application's path then upload it with your application using appcfg - update.
This works but sometimes we have to deal with huge libraries consisting of hundreds of python files that sometimes exceed the upper limit of 1000 files / application limit or reduce the number of available files for your application. Also maintaining those files becomes a nightmare.
So what is the proper way ? :
This works but sometimes we have to deal with huge libraries consisting of hundreds of python files that sometimes exceed the upper limit of 1000 files / application limit or reduce the number of available files for your application. Also maintaining those files becomes a nightmare.
So what is the proper way ? :
Sep 3, 2010
Allegro Non Troppo - Using Tropo API in App Engine
I was looking for an SMS - Voice gateway for an application of mine and after thoughtfully looking into Clicatell - twilio etc. I opted for Voxeo's tropo.
Do not ask much for the reasons I am not ready for a war over which one is better or cheaper to use.
I just felt like that tropo's "develop free - pay as you go once in production" business model fits well with App Engine's model that is on the same line, same applies to application scaling which is analogous to App Engine's.
So I decided to give it a try and here are my preliminary assessment of the service:
Do not ask much for the reasons I am not ready for a war over which one is better or cheaper to use.
I just felt like that tropo's "develop free - pay as you go once in production" business model fits well with App Engine's model that is on the same line, same applies to application scaling which is analogous to App Engine's.
So I decided to give it a try and here are my preliminary assessment of the service:
Aug 18, 2010
Understanding the concurrent requests limit
This "800ms" rule started as 1000ms some time ago, now it moved to
800ms and 400ms enters the scene. I am afraid it has became a moving
target approaching 0ms too fast. Somebody must stop the bar
somewhere.
800ms and 400ms enters the scene. I am afraid it has became a moving
target approaching 0ms too fast. Somebody must stop the bar
somewhere.
Happy coding ;-)
(From my post in : http://groups.google.com/group/google-appengine-python/browse_thread/thread/6353b6232e8851aa )
Jul 17, 2010
A bug in tweepy streaming API
I found a bug in tweepy streaming API .
It can't filter by tag with non Latin characters.
I was astonished coz this was working when I used it some months ago (version 1.3 if I remember well).
So here is my small contribution to the project :
def filter(self, follow=None, track=None, async=False):
params = {}
  self.headers['Content-type'] = "application/x-www-form-urlencoded"
should be :
def filter(self, follow=None, track=None, async=False):
params = {}
self.headers['Content-type'] = "application/x-www-form-urlencoded; charset=utf-8"
I have only tested streaming and only tag filtering - probably this applies to other parts but I am not sure.
It can't filter by tag with non Latin characters.
I was astonished coz this was working when I used it some months ago (version 1.3 if I remember well).
So here is my small contribution to the project :
def filter(self, follow=None, track=None, async=False):
params = {}
  self.headers['Content-type'] = "application/x-www-form-urlencoded"
should be :
def filter(self, follow=None, track=None, async=False):
params = {}
self.headers['Content-type'] = "application/x-www-form-urlencoded; charset=utf-8"
I have only tested streaming and only tag filtering - probably this applies to other parts but I am not sure.
Jul 9, 2010
App Engine & Google Geocoding Service II
This issue comes and goes in this thread all the time.
I also suggested in the past to delegate the job to the client since I
could't see a scenario where we use server side request and be within
the TOR's.
see here : http://gaengine.blogspot.com/2010/05/google-maps-api-quotas-and-app-engine.html
I was wrong. Recently I run into a case where I had to do this and
still I am sure I am within legal limits, this is so when you need the
geolocation service in order to publish a static map served from
Google.
So this is a real problem and the issue has to be resolved somehow,
although I think we are discussing this in the wrong group. IMO that
this is an issue for the maps group and we should adress it there.
Happy coding:-)
Update :For an alternative solution you can take a look here.
I also suggested in the past to delegate the job to the client since I
could't see a scenario where we use server side request and be within
the TOR's.
see here : http://gaengine.blogspot.com/2010/05/google-maps-api-quotas-and-app-engine.html
I was wrong. Recently I run into a case where I had to do this and
still I am sure I am within legal limits, this is so when you need the
geolocation service in order to publish a static map served from
Google.
So this is a real problem and the issue has to be resolved somehow,
although I think we are discussing this in the wrong group. IMO that
this is an issue for the maps group and we should adress it there.
Happy coding:-)
Update :For an alternative solution you can take a look here.
Subscribe to:
Posts (Atom)
