Re: [google-appengine] Change property name of a kind (table)

2011-05-30 Thread Max
plus, if you want to save your disk space and backup existing data, remember to unindex your existing properties. -- 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 un

Re: [google-appengine] Is MapReduce still a flexible solution on AppEngine under the new pricing model?

2011-05-30 Thread Raymond C.
> 2) If you doing a regular job, then reserved instances would most likely save you money. But you pay for 24hr per days for each reserved instance even you are not using them. So in my hourly report case, instead of wasting 15 min x N instance per hour, you are going to waste 45 min x N insta

Re: [google-appengine] Rudimentary New Pricing Analysis

2011-05-30 Thread Raymond C.
By "GAE provides you much more", you mean much more *limitation* right? The cost on setup is trivial for a long run application when compared to the hosting cost. I dont think the high price worth that cost for long term. Also remember a GAE instance allows you to handle exactly one request at

[google-appengine] Need help with the Traceback , when is the error is raised

2011-05-30 Thread mihir
traceback: -- BEGIN- Frame main in ['main.py'] at line 27 Frame run_wsgi_app in ['__init__.py'] at line 1076 Frame run in ['handlers.py'] at line 93 Frame finish_response in ['handlers.py'] at line 133 Frame appstats_wsgi_wrapper in ['reco

Re: [google-appengine] Change property name of a kind (table)

2011-05-30 Thread Robert Kluin
Hi David, Depends how you define easy. You'll need to loop over the data, convert it, then re-put it. There are a couple ways to do this, but I think the easiest to explain is the 'Expando two-step' method. First, change your kind definition to the new schema (including removing the old proper

[google-appengine] Re: Change property name of a kind (table)

2011-05-30 Thread Max
Not sure if there is any tool can help to do the migration. Usually we will use low level API to iterate through all existing entities and save. If your total number of entities is less than 100K, then GAE can finish it in 30s. If it's more, then you will need to use cursor + task queue or b

Re: [google-appengine] Re: delete all data (tuples) for a kind(table) in google app engine datastore

2011-05-30 Thread Robert Kluin
Yes! 10x speed boost ;) If you're doing this for 1 million entities I'd also suggest some beer. On Mon, May 30, 2011 at 09:03, Francois Masurel wrote: > I know it won't help much but you can increase the "limit" URL parameter to > 200. > You'll go ten times faster then :-) > Otherwise you'

Re: [google-appengine] Succesful deployment, but pages on custom domain don't reflect the changes

2011-05-30 Thread Robert Kluin
After staring the issue Chris mentioned, you might want to add some type of cache-buster to your static assets. There could be many different caches between you and your app Robert On Mon, May 30, 2011 at 10:01, Chris Copeland wrote: > It sounds like it might be this issue.  Please star

Re: [google-appengine] Google maps stopped working

2011-05-30 Thread Robert Kluin
Check the maps docs / forums? http://code.google.com/apis/maps/index.html http://code.google.com/apis/maps/forum/ This is an App Engine forum. http://code.google.com/appengine/ On Sat, May 28, 2011 at 23:09, yossi Manor wrote: > I added a Google maps gadget to my friend's web site. Ini

Re: [google-appengine] Infinite loop backend gets stuck

2011-05-30 Thread Robert Kluin
Hi Alex, What do you mean it 'gets stuck'? Are you able to include / show us any code? Make sure you checkout the logging flush functions, they'll probably be helpful. http://code.google.com/appengine/docs/python/backends/logserviceapi.html Robert On Sat, May 28, 2011 at 10:28,

Re: [google-appengine] Invalid runtime or the current user is not authorized to use it.

2011-05-30 Thread Robert Kluin
Hi Oleg, You've currently got to sign up to request access to use the Go runtime on production. http://googleappengine.blogspot.com/2011/05/app-engine-150-release.html Sign up form: https://spreadsheets.google.com/a/google.com/spreadsheet/viewform?formkey=dGJ6LXlIYWk4MjhnM0dubUstUHFKV

Re: [google-appengine] Re: scalable querying GAE data store

2011-05-30 Thread Robert Kluin
Hey David, I'm not sure where to point you for a simple example, but I'm sure there are some out there. You just need to build your query, fetch some results, grab the cursor, pass it into the same query, then fetch more results, then repeat. Make sure you check the number of results returned s

Re: [google-appengine] disable, delete, remove ID/Name in a kind (table)

2011-05-30 Thread djidjadji
You can't. It's the "primary key" of the kind. The objects are fetched using this key. 2011/5/30 David Stone : > Hello, > > I click on DataViewer to see my kinds (tables). No matter which kind > (table) i look into and i always see the property (attribute) "ID/ > Name". I have not found any use of

[google-appengine] Re: scalable querying GAE data store

2011-05-30 Thread David Stone
Hello Robert, Thanks for your idea! I try to find the cursor coding example from the internet, but what i have found is really little and GAE site does not say much about it. Do you know where can i find coding example in Python for cursor of GAE? Thanks! David On May 29, 5:31 am, Robert Kluin

[google-appengine] Change property name of a kind (table)

2011-05-30 Thread David Stone
Hello, Suppose i have a kind (table) called "Person" defined in GAE data store already, it has properties (attributes) like personId, age, location, phone number and contains one million tuples. Now i just want to change attribute "personId" to "pId" without affect anything else. Is there any ea

[google-appengine] disable, delete, remove ID/Name in a kind (table)

2011-05-30 Thread David Stone
Hello, I click on DataViewer to see my kinds (tables). No matter which kind (table) i look into and i always see the property (attribute) "ID/ Name". I have not found any use of this attribute and really want to disable or remove or delete it. Is there any way to do so? Thanks! David -- You r

[google-appengine] Re: Datastore best use, and queries..

2011-05-30 Thread Brian Slesinsky
On Monday, May 30, 2011 1:23:44 PM UTC-7, Christopher Johnson wrote: > > All - > > I'm a little new to app engine and JDO, but before I dive to far into > my project I wanted to ask a question on how to query for stored data. > > I have some something that looks like this: > > @PersistenceCap

[google-appengine] Datastore best use, and queries..

2011-05-30 Thread Christopher Johnson
All - I'm a little new to app engine and JDO, but before I dive to far into my project I wanted to ask a question on how to query for stored data. I have some something that looks like this: @PersistenceCapable public class User{ @Persitant private List ... } Is it possible

[google-appengine] Re: Rudimentary New Pricing Analysis

2011-05-30 Thread roberto.cr
I know all of this, I just wish app engine got cheaper... It's a hard choice, you really have to analyze per case. If only it got cheaper, it'd be a lot more suited to a wider range of projects. I could bet this factor isn't present in google's price analysis, while it definitely should. If we, a

Re: [google-appengine] Re: Rudimentary New Pricing Analysis

2011-05-30 Thread Ugorji
Just to clarify: I'm not making any assumptions here. I just printed out facts from the official websites, and asked Google for some price justification. ie. Amazon gives a micro instance with some specs for a price, Google gives a front end and backend instance with some specs for a price. I l

RE: [google-appengine] Re: URLFetch 1MB Request Limit

2011-05-30 Thread Brandon Wirtz
Or build a proxy somewhere that does the big fetch caches and provides as 2+ files. GAE:URL Fetch Proxy Proxy: URL Fetch Requested URL, Write to Local, return first 1000 bytes , (if File longer than 1000 Bytes return 1001 bytes) GAE: If file len > 1000 bytes {URL Fetch Proxy 2} Else Got

Re: [google-appengine] Re: Rudimentary New Pricing Analysis

2011-05-30 Thread Barry Hunter
I still think you are basing your comparsion on assumptions, ones yet to be proved. Its almost certainly better to wait until the promised price comparisons are available before jumping to conclusions. On 30 May 2011 19:12, Ugorji wrote: > I'm very aware that GAE and AWS are different beasts a

[google-appengine] Re: URLFetch 1MB Request Limit

2011-05-30 Thread Guy Tavor
If you own the second system, you can build a protocol where your appengine system saves the blob to blobstore, notifies the second system that a job is ready, handing it a key. You then have the second system fetch the blob off the appengine. G -- You received this message because you are sub

RE: [google-appengine] Re: Detect mobile phone

2011-05-30 Thread Brandon Wirtz
Yeah, but "Android" could also be a tablet, which would be better than a NetBook in terms of resolution and capabilities. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of JH Sent: Wednesday, May 25, 2011 3:10 PM To: Google

[google-appengine] Re: FAQ for out of preview pricing changes

2011-05-30 Thread Sudhir
Jan, I hope the GAE team corrects me if I'm wrong, but I wouldn't worry too much in your case, especially if you've tuned the requests to consume minimal CPU. The way things are right now, if each of your requests takes 50ms, (of which 10ms is actual CPU and the rest is waiting) then one GAE ins

[google-appengine] Re: Rudimentary New Pricing Analysis

2011-05-30 Thread Ugorji
I'm very aware that GAE and AWS are different beasts and understand the advantages of IAAS. My point still stands though. Let's forget GAE and AWS for a second. If someone said you can use IAAS at 4X to 8X the cost of PAAS, is it justifiable in your mind? Back in the day, we had dedicated se

[google-appengine] Re: Newbie question. How to deal with real world app new versions?

2011-05-30 Thread Ernesto Oltra
- All versions share the same datastore data. - Copy some/all data locally and test everything you want, then you have the two options you have said. If you want to test something that can break your data, test it in other app. If you want only to test page X is working well in production too (

[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-30 Thread Dennis
Although I was ignoring the $9/app discussion before, now I realize that* I want N environments as I develop my app: development, production, test, beta,* etc. And, I would like* all those environments to be identical to my production environment (ie: all be "paid" apps)*. Thus, to develop pro

[google-appengine] Re: Newbie question. How to deal with real world app new versions?

2011-05-30 Thread Rohan Chandiramani
Hi Luis, These are all viable options. Personally i would choose to upload a new version to AppSpot and have a test version of your mobile app point to 2.yourmobilebackend.appspot.com. That does mean that the temporary version uses the same datastore as your live version, so that could be an iss

[google-appengine] Re: Blocking IPs

2011-05-30 Thread JH
My bad, it would probably help more to point you to this page: http://code.google.com/appengine/docs/python/config/dos.html On May 30, 4:43 am, StudApps wrote: > I want to block some IPs from accessing my site. Is there a direct way > of doing so in AppEngine? -- You received this message beca

Re: [google-appengine] Re: delete all data (tuples) for a kind(table) in google app engine datastore

2011-05-30 Thread Chris Copeland
Use Datastore Admin Bulk Delete http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Deleting_Entities_in_Bulk -Chris On Mon, May 30, 2011 at 8:03 AM, Francois Masurel wrote: > I know it won't help much but you can increase the "limit" URL parameter to > 200. > > You'll go ten

[google-appengine] Re: Blocking IPs

2011-05-30 Thread JH
Look into using the dos.yaml file. It does exactly what you want. On May 30, 4:43 am, StudApps wrote: > I want to block some IPs from accessing my site. Is there a direct way > of doing so in AppEngine? -- You received this message because you are subscribed to the Google Groups "Google App E

Re: [google-appengine] Succesful deployment, but pages on custom domain don't reflect the changes

2011-05-30 Thread Chris Copeland
It sounds like it might be this issue. Please star it. http://code.google.com/p/googleappengine/issues/detail?id=5040 I have found that deleting the old version will force the new one to be served. BTW, using your phone is no guarantee you won't be going through a proxy cache. -Chris On Sat, M

[google-appengine] Blocking IPs

2011-05-30 Thread StudApps
I want to block some IPs from accessing my site. Is there a direct way of doing so in AppEngine? -- 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 thi

[google-appengine] Re: Rudimentary New Pricing Analysis

2011-05-30 Thread kwellman
I've been keeping an eye on AWS Elastic Beanstalk (http:// aws.amazon.com/elasticbeanstalk/) and looking forward to the day they roll out the Python version. With Beanstalk it seems Amazon is moving towards providing some of the auto-scaling functionality we've become accustomed to on GAE (and at n

[google-appengine] Succesful deployment, but pages on custom domain don't reflect the changes

2011-05-30 Thread Hugo
Has anyone else run into this? I have a (mostly static content) application running on the python appengine. I can deploy my app without a problem. If I access the app on the appspot.com domain after deploying, the pages reflect the changes as expected (e.g mysite.appspot.com/ index.html) but

[google-appengine] Infinite loop backend gets stuck

2011-05-30 Thread radzish
Hi, I have a backend that is started once on /_ah/start request and just goes to infinite loop for data processing. >From time to time it gets stuck inside the loop waiting for something forever. Problems: - I can not find a place where it gets stuck. Can someone suggest the way I can do this. -

[google-appengine] Invalid runtime or the current user is not authorized to use it.

2011-05-30 Thread Oleg Puchinin
guest@calculate ~/APPENGINE/Go $ appcfg.py update ./myapp/ Application: graycardinalster; version: 1 Host: appengine.google.com Starting update of app: graycardinalster, version: 1 Scanning files on local disk. Error 400: --- begin server output --- Invalid runtime or the current user is not autho

[google-appengine] Re: delete all data (tuples) for a kind(table) in google app engine datastore

2011-05-30 Thread Francois Masurel
I know it won't help much but you can increase the "limit" URL parameter to 200. You'll go ten times faster then :-) Otherwise you'll have to make a task and use a cursor. Francois -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post

[google-appengine] Newbie question. How to deal with real world app new versions?

2011-05-30 Thread Luis Confraria
Hi there, I'm starting with GAE with python. I've made a few toy apps but now i'm working on a mobile app that has backend in GAE. Now the app is live and has a few thousand users. I need to implement new feature without breaking the app. What is the best way to keep developing safely without b

[google-appengine] delete all data (tuples) for a kind(table) in google app engine datastore

2011-05-30 Thread David Stone
Hello, If one clicks on "Datastore Viewer", then click on the drop down list By kind and choose the kind (table) one wants to view, 20 entities (tuples) of one kind will be showed. There is a tick box to enable user to choose these 20 entities and a delete button can be used to delete these selec

[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-30 Thread Marcel Overdijk
It keeps quit from Google/Greg's side. Hope they announce more information shortly. Everybody is just speculating which is not good. On May 29, 11:51 pm, JH wrote: > While things are still being decided I'd also like to inquire about > "roll over" instance hours.  If we switch to this new insta

[google-appengine] Re: urlfetch_errors.DownloadError - ApplicationError 2 - What should I do?

2011-05-30 Thread Kaan Soral
I can't see the results for one of the 3 users now So I guess I will try retrying the call for ApplicationError 2 situations. Any ideas why these errors happen? Also how can I identify them in python? I use a try: except: block, probably I will parse the exception data from sys.exc_info() On Ma

Re: [google-appengine] Re: Detect mobile phone

2011-05-30 Thread Cong Danh Ho
Hi Ryan, How to use http://www.zytrax.com/tech/web/mobile_ids.html. Please give me demo about it ! Thanks ! On Thu, May 26, 2011 at 10:54 PM, Ryan Peden wrote: > The easiest way I can think of is to check to 'User-Agent' header. > When you get a connection from a web browser on an Android phone,

[google-appengine] GAE/J persistence

2011-05-30 Thread kelvin Nkinyili
Hi , I have this code: PersistenceManager pm = PMF.get(). getPersistenceManager(); and this jdoconfig.xml: http://java.sun.com/xml/ns/jdo/jdoconfig"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/ jdoconfig">

[google-appengine] Re: FAQ for out of preview pricing changes

2011-05-30 Thread Jan Z/ Hapara
This change penalizes "spiky" apps in a huge way. Three years ago, when we first started with GAE, we did so for three reasons: 1) scalability 2) pay for what you use model, and 3) SIMPLICITY. Our app is very "spiky" - a single user will at times generate 50+ concurrent requests that need to be