[appengine-java] Re: Crons Optimization

2011-10-14 Thread Broc Seib
It may require a bit of typing (one time), but may I suggest just explicitly scheduling each of the 14 cron jobs, staggered appropriately. Use the following variety of syntax to specify the schedule: every N (hours|mins|minutes) [from (time) to (time)] (from

[appengine-java] Is it possible to make a BATCH GET with JDO?

2011-10-14 Thread Hakim
Hi, Did anyone know if batch gets work with JDO, I'm trying desperately to do that using the code presented here http://gae-java-persistence.blogspot.com/2009/10/executing-batch-gets.html @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Book { @PrimaryKey

Re: [appengine-java] Re: Facebook Login integration with java appengine

2011-10-14 Thread marco
Hi Jeff. I did that but it does not work if domains are not part / related to the Site Url. I guess that I will have to register two FB apps: - Aggenda (already created) -- just for allowing users going to www.aggenda.com to login via FB - Aggenda (to be created) -- just for users

[appengine-java] Upgraded app engine to 1.5.5 in eclipse - local datastore now empty ?!

2011-10-14 Thread Sven Busse
Hi, i did some my tests with my app locally today, everything worked (had 1.5.4). Then i got notified in eclipse, that new updates were available (google eclipse plugin, app engine, gwt). Installed the updates, restarted everything, started my app again, local datastore admin shows me nothing

[appengine-java] Re: Upgraded app engine to 1.5.5 in eclipse - local datastore now empty ?!

2011-10-14 Thread Sven Busse
looking into the local_db.bin reveals, the data seems to be still there, but i cannot access it through the local datastore admin and my application neither. I have not changed my app id, as has been the case in another post. -- You received this message because you are subscribed to the

[appengine-java] Re: Wicket NonCachingImage not showing image

2011-10-14 Thread gk
Open the source URL of the image in your browser (http://.../page?8- IResourceListener-frmForm- imgImageamp;antiCache=1318502670796). Then see what your browser tells you about that resource. On Oct 13, 4:13 pm, Ian Marshall ianmarshall...@gmail.com wrote: Hello everyone, I use Apache

[appengine-java] Correct way to keep track of the number of Entities of one kind.

2011-10-14 Thread Phil
Hello, I use Java with JDO for the datastore access on google app engine. I need the number of rows for the calculation of the number of pages in a cell table. This number can be very high so I don't want to calculate it when i query the data and implemented a class which holds the number of

[appengine-java] Does JDO auto remove indexes that now have unindexed properties?

2011-10-14 Thread markabrucey
Basically I have gone through my datastore persist-able classes and have annotated properties that I never need to query on like this: @Extension(vendorName=datanucleus, key=gae.unindexed, value=true) private Long random; I needed to test whether or not JDO removed the index when I changed the

[appengine-java] Re: Upgraded app engine to 1.5.5 in eclipse - local datastore now empty ?!

2011-10-14 Thread Michael P
Yes, I saw exactly the same. I tried to post exception log on GAE group but for some reason my post didn't pass moderator. I don't have the stack trace anymore, but the issue was with incompatible serialization (InvalidCastException) when reading a local datastore. And on a second run the

[appengine-java] GAE and Visualization API

2011-10-14 Thread uover82
Hi All, I'm developing an app using GAE and the google visualization api in Java. I've deployed a csv underneath war to act as a datasource. The app runs on my local development server but fails with errors like the following after uploading: ESEDataSourceServlet generateDataTable: Couldn't read

[appengine-java] Re: Wicket NonCachingImage not showing image

2011-10-14 Thread Ian Marshall
I had already tried that and got an error message which I cannot remember. Thanks for the idea, though. I have now solved my problem by using a class that descends from ByteArrayResource and which overrides getData(IResource.Attributes). I supply an instance of this class to my NonCachingImage

[appengine-java] Re: Upgraded app engine to 1.5.5 in eclipse - local datastore now empty ?!

2011-10-14 Thread Ian Marshall
The discussion at http://groups.google.com/group/google-appengine-java/browse_thread/thread/b3e33070ab8c9ddb/5a85084fc1a5dd9e?lnk=gstq=Local+datastore+empty#5a85084fc1a5dd9e might be relevant. On Oct 14, 1:07 pm, Michael P mp31...@gmail.com wrote: Yes, I saw exactly the same. I tried to post

Re: [appengine-java] Correct way to keep track of the number of Entities of one kind.

2011-10-14 Thread Ikai Lan (Google)
So I hate to make this more complicated but ... Yes, this is roughly the right approach. However, if you are creating entities at a rate higher than 1/s, this pattern will break. You'll need to use the sharded counter property: http://code.google.com/appengine/articles/sharding_counters.html

Re: [appengine-java] Does JDO auto remove indexes that now have unindexed properties?

2011-10-14 Thread Ikai Lan (Google)
Mark, Interesting that it does this. One thing you might try: 1. Run a mapper job 2. Read all the entities using the low level API 3. Explicitly set properties using the low level API's setProperty() and setUnindexedProperty() methods 4. Save entities back to the datastore This definitely

[appengine-java] BindingProviderProperties undefined

2011-10-14 Thread alexh
I'm trying to set properties in my JAX-WS call but BindingProviderProperties seems to not be included in the classes that ship along with App Engine. Is this perhaps a bug? Can anyone from the App Engine team comment? Thanks -- You received this message because you are subscribed to the Google

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-14 Thread Brian Quinlan
On Fri, Oct 14, 2011 at 3:07 PM, Emlyn emlynore...@gmail.com wrote: You are specifying a CGI script here. If you want to use CGI then set threadsafe to no. Cheers, Brian Ah, gotcha. A fog of deep misunderstanding is slowly lifting from my brain, possibly. I could still have some

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-14 Thread Emlyn
What SDK version are you using? Cheers, Brian I was using 1.5.2 . Using 1.5.5 fixed it. I'm an idiot. Thanks ;-) -- Emlyn http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google Buzz posts, comments and all. http://point7.wordpress.com - My blog Find me on Facebook and

[google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Alexis
I have not read in details previous posts but would like to share some figures on this subject. I agree that setting max idle to automatic is very expensive, in my case I adjusted the scheduler to get an acceptable balance between latency and price. In order to do so, I've downloaded logs from

[google-appengine] Re: Over quota exception even though plenty of quota is available?

2011-10-14 Thread Alexis
I've already got these exceptions too, while running mapreduce. I fixed this by reducing the rate at which workers were executed. Here are the issue's details: http://code.google.com/p/googleappengine/issues/detail?id=5608 -- You received this message because you are subscribed to the Google

[google-appengine] Google Cloud SQL

2011-10-14 Thread Bruce Aloe
Hello, I am a user of GAE data store and use GQL to query my models. I just saw the article about Google Cloud SQL published on October 6, 2011. Since GQL has so many limitations, therefore Google Cloud SQL sounds quite interesting for me. Where can i use it and how to use it? Any tutorial?

RE: [google-appengine] Google Cloud SQL

2011-10-14 Thread Brandon Wirtz
What limitations? If you are writing your own code I think GQL is superior to SQL, it is only if you need to use code written for SQL that it makes sense. It is free and you have to be a trusted tester, search the archive there are directions that one of the Googlers posted to this list.

[google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Emlyn
These are my first thoughts about approaching threaded python 2.7 apps. Please critique this, I could be totally wrong here! And I don't want to be wrong. Thanks in advance. Hello, dummy here. I'm just beginning my first experiments with python 2.7 apps, using threadsafe: true. But I'm a

[google-appengine] Need help tracking datastore transaction or write too big warnings

2011-10-14 Thread Pol
Hi, With some clients of our system, we're getting some datastore transaction or write too big exceptions on transaction commits. The requests takes 1mn and the process even exceeds the soft size limit and gets killed, so it's pretty bad. What are we hitting there? A maximum serialized entity

[google-appengine] Re: Need help tracking datastore transaction or write too big warnings

2011-10-14 Thread Simon Knott
The maximum size of an individual entity is 1MB for the datastore - http://code.google.com/appengine/docs/java/datastore/overview.html#Quotas_and_Limits Apart from that limit, I'm not sure what write limits there are for the datastore for an individual transaction. -- You received this

Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-14 Thread Deepak Singh
Me too. Faced this problem today and also GAE 1.5.5 seems to ignore its extended timeout of 6 and works with default 5 sec. Pls google let us know if it comes to your maintainance time or anything else which affects the gae behaviour. Thanks Deepak On Fri, Oct 14, 2011 at 10:12 AM, Rishi

[google-appengine] Re: Google Cloud SQL

2011-10-14 Thread voscausa
I agree. GQL is superior from a performance perspective. You can understand what is going on under the hoord. Switching from SQL to GQL you have to rethink your model : denormalizing it. The benifits (performance and scaleability) are great and it feels good too. At the end working with GQL is

Re: [google-appengine] X-AppEngine-City

2011-10-14 Thread Chris Collins
Brandon, How much would you charge to provide a REST api that takes in an IP address and spits out the 2-alpha country code (same as x-appengine-country) along with a best guess for the city name? Also, would you be able to guarantee a reasonable time window (a few months?) before discontinuing

Re: [google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Will
Alexis, Where can I find and download the said logs? Thanks, Will On Fri, Oct 14, 2011 at 1:30 AM, Alexis alexis.hanico...@gmail.com wrote: I have not read in details previous posts but would like to share some figures on this subject. I agree that setting max idle to automatic is very

[google-appengine] Mail Question

2011-10-14 Thread Joshua Smith
One of my testers sent me the attached capture of the welcome message my app sent them. Their reaction was that the gobledegook after via made them think there was something fishy about this email, and it might not be safe to follow the link. I don't blame them. Is there a way to NOT have

[google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Alexis
Hi Will, I used an appcfg.py command, like this: appcfg.py --num_days=1 --append --include_all request_logs path to your app root directory myAppLogs.txt On 14 oct, 17:47, Will vocalster@gmail.com wrote: Alexis, Where can I find and download the said logs? Thanks, Will On

RE: [google-appengine] X-AppEngine-City

2011-10-14 Thread Brandon Wirtz
You have a sense of the volume? Would you prefer a monthly Sub, or a per X IP's looked up? To be fast I'd likely have an always on instance. That is going to put the pricing at $10 a month minimum. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On

Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-14 Thread Will Reiher
I can confirm that it wasn't only UPS fetches. I had a intermittent failures when urlfetching small images from AmazonS3 as well. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] How to get the path of file/blob in GAE?

2011-10-14 Thread Alexander Herrera
In my application i have to upload a file to google docs, but to accomplish that i need upload the file to GAE an then to Google docs, but when the file is in GAE (blob) how can i retrieve the path where the file is ? , i need the path because in the API of google documents, is necessary pass

[google-appengine] Google Apps Aliases vs. Active Domains Linking to GAE

2011-10-14 Thread Ryan Galloway
I have a single Google Apps account and have several other domains, which I have either aliased to my primary domain, or added as an additional domain on the same account (for reasons of managing groups and users separately without having to maintain separate Google Apps accounts, which is

[google-appengine] Local datastore (local_db.bin) is wiped out

2011-10-14 Thread Michael P
My apology if it's a known or documented issue/feature. I have a GAE(java)/GWT setup on Windows Vista/Eclipse Helios and just upgraded to 1.5.5. In addition to that I cleared Windows Temp folder and installed the latest Windows updates (it obviously may be unrelated). On a first launch after

Re: [google-appengine] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2011-10-14 Thread Ryan Galloway
Hi Nick, This works for me, too. But I'm wondering why it doesn't work for active domains that are added with the option: *Add another domain* Manage users and groups at an associated domain that you own, independently of the primary domain e.g. if my Google Apps control panel, I see:

Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-14 Thread Kent
Brian, Not to be discouraging the great work the GAE team is doing but it does strike me a little odd that there has been a whole bunch of announcements under the AppEngine 1.5.5 SDK banner ... but that the SDK doesn't actually work with Python 2.7 or webapp2 It's not just that the lack of

[google-appengine] Custom domain app requesting permission to access Google Account

2011-10-14 Thread stefano terna
I refer here to that page you are redirected after you login to GAE app with your google account, which asks your permission to access your google account. Put this toghether with custom domain and https and you get my problem. My configuration: - developed myapp.appspot.com -

[google-appengine] Copyright of App Engine Logo?

2011-10-14 Thread stephanos
I was wondering if I am allowed to put the App Engine Logo http://code.google.com/appengine/images/appengine_lowres.png on a business card? I only found branding statements for the Android logohttp://www.android.com/branding.html ... Cheers! Stephanos -- You received this message because you

[google-appengine] Re: BlobStoreService.createUploadUrl(String url) problem

2011-10-14 Thread Krzysztof
I've found a solution here: http://stackoverflow.com/questions/7476420/gwt-blobstore-error-calling-createuploadurl Just use your computer name in dev mode instead of 127.0.0.1. In FF you will be asked for adding this name to GWT dev plugin automaticly and in Chrome you must do it yourself (as it

[google-appengine] How to implement downtime for my Java app

2011-10-14 Thread Arvind Rao
Hello there I have a Java-based app hosted on GAE. I want to schedule daily downtime for my app to clean up the datastore. a) Is there any way I can bring down the app (i.e. stop serving requests from users and cron jobs), so that I can do a manual clean up using the Datastore Viewer or

[google-appengine] Re: calling out the app engine team on ssl for custom domains

2011-10-14 Thread Louis Le Coeur
1.5.5 SDK release and still no mention of SSL whatsoever... It seems now certain that we won't have it by the end of the year. And it's starting to get really frustrating, at a time where browser support is ubiquitous enough for an SNI-only solution. When I see all of their other

[google-appengine] GAE Instances - should they last longer?

2011-10-14 Thread GAE_fan
I'm seeing that the GAE instances of my application only last a few minutes or a few thousands requests, consuming each around 40MBytes. 1. Is this normal? 2. Am I paying a performance penalty because of these relaunches? (or maybe more $ once the new pricing takes place?) 3. Anyone else

[google-appengine] Help for Error occurred during start of application server

2011-10-14 Thread Mahesh Sale
I have done the steps for deploying my cloud application (python) suggested in http://oreilly.com/web-services/excerpts/9780596800697/run-google-app-linux.html#starting_the_application_server-id003. But i incurred following error. mahesh@mahesh-Aspire-4720Z:~$ dev_appserver.py ae-01-trivial/

[google-appengine] Re: HttpSession session timeout and lastAccessedTime

2011-10-14 Thread Christopher
I managed to fix this, and I have a feeling that the session.setMaxInactiveInterval() method was not saving properly across requests. As soon as I added the session-timeout config to the web.xml, everything started working fine. On Oct 13, 5:42 pm, Christopher cspeckrun@gmail.com wrote: I'm

[google-appengine] Re: redirect workaround for issue 777

2011-10-14 Thread SamLehNet
Hi Niklas, Google's own (Apps) redirection servers at addresses 216.239.36.21, 216.239.38.21, 216.239.32.21, 216.239.34.21 work exactly as you said. But that's just the problem. I'm currently using those and therefore my url redirection service is suffering a bit. To fix the issue simply send

[google-appengine] Re: redirect workaround for issue 777

2011-10-14 Thread SamLehNet
Hi Niklas, Google's own (Apps) redirection servers at addresses 216.239.36.21, 216.239.38.21, 216.239.32.21, 216.239.34.21 work exactly as you said. But that's just the problem. I'm currently using those and therefore my url redirection service is suffering a bit. To fix the issue simply send

[google-appengine] Re: redirect workaround for issue 777

2011-10-14 Thread Sami Lehtinen
I'm new to Google Groups so let's see if this message is a dupe. Because posting is just lagging. Instead of pointing your naked domain to Google's redirector, just point it to 174.129.25.170 and it'll solve your problem. On Oct 8, 11:59 am, Niklas Rosencrantz nikla...@gmail.com wrote: Hello

[google-appengine] Re: Local datastore (local_db.bin) is wiped out

2011-10-14 Thread Michael P
There is also a similar thread on GAE java group: http://groups.google.com/group/google-appengine-java/browse_thread/thread/2e95788ff97472de#. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] X-AppEngine-City

2011-10-14 Thread Chris Collins
It's a seasonal app(s). The volume would need to be about 5,000-10,000 requests per day for high season. On off-seasons (e.g. winter months), it would drop to around 100 requests per day. What would be the difference in terms of monthly sub vs per-IP for that kind of volume? On Fri, Oct 14, 2011

Re: [google-appengine] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2011-10-14 Thread Jeff Schnitzer
On Tue, Aug 17, 2010 at 3:43 AM, Nick Johnson (Google) nick.john...@google.com wrote: When you want to add a domain that is an alias domain to your app, you need Be *very* careful about using domain aliases! Let's say you create a thriving little business on xyz.com and decide to sell it. The

[google-appengine] Re: Need help tracking datastore transaction or write too big warnings

2011-10-14 Thread Pol
Can anyone comment from Google comment on this 2nd point: write limits on entire transaction? Our entities are 4KB on average so I'm trying to track down what's happening but debugging on the server in a live product is really not trivial. On Oct 14, 12:25 pm, Simon Knott knott.si...@gmail.com

Re: [google-appengine] Re: Need help tracking datastore transaction or write too big warnings

2011-10-14 Thread Timofey Koolin
if you use XG (cross group) transactions - you can use no more than 5 entity groups in transaction. 2011/10/14 Pol p...@everpix.net Can anyone comment from Google comment on this 2nd point: write limits on entire transaction? Our entities are 4KB on average so I'm trying to track down what's

RE: [google-appengine] Copyright of App Engine Logo?

2011-10-14 Thread Brandon Wirtz
I am not a lawyer, use your best judgment when reading: http://www.google.com/permissions/guidelines.html Don't display a Google Brand Feature in any manner that implies a relationship or affiliation with, sponsorship, or endorsement by Google, or that can be reasonably interpreted to suggest

RE: [google-appengine] Copyright of App Engine Logo?

2011-10-14 Thread Brandon Wirtz
Also be aware. The First Logo on your Card adds 5HP, each additional Logo Subtracts 10. That may be for cars, not cards. I often mix those up. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of stephanos Sent: Friday, October 14, 2011 6:10 AM

Re: [google-appengine] How to implement downtime for my Java app

2011-10-14 Thread Timofey Koolin
I see 2 ways: 1. create empty version for your application with return OK (or other text) for any request and do not do any else. For dowtime you will make empty as default version, than return your usual version. 2. Make any property such as downtime in memcache db and check it for every request

[google-appengine] Re: X-AppEngine-City

2011-10-14 Thread JH
Have you seen: http://freegeoip.net/static/index.html or http://ipinfodb.com/ On Oct 14, 12:54 pm, Chris Collins xop...@gmail.com wrote: It's a seasonal app(s). The volume would need to be about 5,000-10,000 requests per day for high season. On off-seasons (e.g. winter months), it would drop

[google-appengine] Re: How to implement downtime for my Java app

2011-10-14 Thread Christopher
You should be able to create a Filter (extend javax.servlet.Filter) which you then add to the web.xml. It will pass you the request/ response objects before the servlet/services are invoked to handle them. Using this you can filter out most responses to return a maintenance page, but allow certain

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
Where is the image attached? I cannot see where it would be here. You might try uploading the image to an image hosting site and post the URL here. On Oct 14, 12:01 pm, Joshua Smith joshuaesm...@charter.net wrote: One of my testers sent me the attached capture of the welcome message my app

Re: [google-appengine] Mail Question

2011-10-14 Thread Joshua Smith
Hmmm. I got the attachment. I guess google groups are inconsistent. It was a picture of a gmail inbox. It looks like this: supp...@q--e.com via m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com to me show details 4:05 PM (9 minutes ago) (I've hidden the email domain with --

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
We send a lot of emails and haven't had this issue. Can you give an example of how you are using the API? On Oct 14, 4:19 pm, Joshua Smith joshuaesm...@charter.net wrote: Hmmm.  I got the attachment.  I guess google groups are inconsistent. It was a picture of a gmail inbox. It looks like

Re: [google-appengine] Mail Question

2011-10-14 Thread Joshua Smith
Take a look at one of the emails you send to a gmail account (in the web browser gmail interface). I suspect you will see this junk. I never noticed this before because my mail program doesn't show this junk (although it is there in the message if I view raw headers). My call is simple as can

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
I see the long garbage as the field in the Return-Path field of the email, but I have to turn on Show all headers in order to see this. We use the Java SDK but is pretty much the same. Maybe it has to do with what the plain/rich strings look like. Is the rich field proper html? Message msg = new

Re: [google-appengine] Re: Mail Question

2011-10-14 Thread Joshua Smith
I'm guessing that you are not using the gmail web interface (since there is no show all headers button there). Could you have a look at one of your emails in gmail, and confirm/deny that it is electing to expose this garbage to the user? Interesting point about the HTML. My HTML does not

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
I see what you're saying. GMail displays the Return-Path info as part of the message. I'm not sure if there is anything you could do about that. If anything, you might have to specify a header field on the email that would indicate not to display this info or something. You could try setting the

[google-appengine] Re: BulkUploader

2011-10-14 Thread mikeee
I found this video to be pretty helpful along with the documentation here: http://www.youtube.com/watch?v=4XBqdu8dYE8 Docs are here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html On Oct 11, 3:16 pm, Kb kb.kb.1...@gmail.com wrote: I am using GWT+GAE for app . How can

Re: [google-appengine] Re: Local datastore (local_db.bin) is wiped out

2011-10-14 Thread Ikai Lan (Google)
If you need the data, if you downgrade the SDK, you should be able to access the data so you can export it to reimport. We've seen this before with version switches. More likely than not, it's related to the fact that the datastore stub (local_db.bin) is just a serialized Java object. When we try

Re: [google-appengine] GAE Instances - should they last longer?

2011-10-14 Thread Ikai Lan (Google)
No, you will not be paying a price penalty. The only performance penalty may be that every once in a while, a user sees a loading request. This is fairly normal. Instance are meant to be short lived. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai

Re: [google-appengine] Re: Google Cloud SQL

2011-10-14 Thread Ikai Lan (Google)
Thanks Robert and Brandon! I was really concerned that making Cloud SQL available would cause people to try to fit everything into a SQL peg instead of trying to think what the best persistence model is. SQL is really good for some things, but so is the datastore. I think the true sweet spot for

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Ikai Lan (Google)
Yep, your thinking here is correct! Be careful when using global memory as a cache, though. Instances are capped at 128mb of memory, and if you exceed that, your instance will be killed. This could lead to instance thrashing. [On another note: congrats, you got me to read a long email ;).] --

Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-14 Thread Brian Quinlan
Hi Kent, Looking at the Python 2.7 documentation you might have gotten the impression that it was rushed. That is because it was rushed and not documenting the lack of dev appserver support was one of several omissions. As of yesterday, every Python 2.7 documentation page and the release notes

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Anand Mistry
If you are using instance caching, you can use the runtime API (http://code.google.com/appengine/docs/python/backends/runtimeapi.html) to look up your instance memory usage in order to control your cache size. -- You received this message because you are subscribed to the Google Groups Google

[google-appengine] Re: How to implement downtime for my Java app

2011-10-14 Thread nischalshetty
Just curious, is there a particular reason why you decided to clean up the database everyday rather than letting the data stay? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

Re: [google-appengine] Mysterious Basic Auth Appearance

2011-10-14 Thread Joshua Smith
It is! That's why I found this so bizarre. My current theories are: 1) Godaddy screwed up the naked domain forward. It isn't screwed up now, but perhaps they had a transient issue. 2) She was behind a DNS proxy that was doing something funny. Either way, I'm hoping that by putting the www. on

Re: [google-appengine] bulkloader performance in development

2011-10-14 Thread Ikai Lan (Google)
Mike, can't you open up the SQLite database and insert using that instead of going through the bulkloader? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Oct 12, 2011 at 12:15 PM, mikeee mike.engelh...@gmail.com wrote: Hi all - I

Re: [google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Will
Alexis, Works like a charm. Wrote a program using the data to get a good overall picture. Thanks! Will On Fri, Oct 14, 2011 at 9:13 AM, Alexis alexis.hanico...@gmail.com wrote: Hi Will, I used an appcfg.py command, like this: appcfg.py --num_days=1 --append --include_all request_logs path

Re: [google-appengine] Live editing of an appspot instance's files

2011-10-14 Thread Ikai Lan (Google)
Surprisingly, I can sympathize with crazy requirements, having been there myself. There's no live edit functionality, but you can do a lot of testing in your browser's developer tools. Try to separate out your code into testable units so you minimize the code that needs to be tested between

Re: [google-appengine] Reading and Writing files using App Engine

2011-10-14 Thread Ikai Lan (Google)
You probably want to read all the docs of App Engine first. There's no filesystem access. You don't worry about nodes. It's all handled for you. Instead of saving to files, you save binary data to the datastore or the blobstore via the APIs. -- Ikai Lan Developer Programs Engineer, Google App

Re: [google-appengine] un-Verification for App Creation

2011-10-14 Thread Ikai Lan (Google)
Fill out this form: https://*appengine*.google.com/*waitlist*/sms_issues -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Oct 10, 2011 at 2:23 PM, Stuart Wheater stuart.whea...@gmail.comwrote: Is it possible to unvalidate an account for

Re: [google-appengine] Re: X-AppEngine-City

2011-10-14 Thread Chris Collins
JH, That's perfect! Thanks! I guess I'll go with that. Sorry Brandon. - Chris On Fri, Oct 14, 2011 at 8:40 PM, JH ja...@mhztech.com wrote: Have you seen: http://freegeoip.net/static/index.html or http://ipinfodb.com/ On Oct 14, 12:54 pm, Chris Collins xop...@gmail.com wrote: It's a

RE: [google-appengine] Re: X-AppEngine-City

2011-10-14 Thread Brandon Wirtz
Don't be. I really didn't want to have to support something ;-) From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Chris Collins Sent: Friday, October 14, 2011 5:37 PM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Re:

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Emlyn
On 15 October 2011 09:12, Ikai Lan (Google) ika...@google.com wrote: Yep, your thinking here is correct! Be careful when using global memory as a cache, though. Instances are capped at 128mb of memory, and if you exceed that, your instance will be killed. This could lead to instance thrashing.

Re: [google-appengine] Re: X-AppEngine-City

2011-10-14 Thread GordonHo
hi chris, perhaps the maxmind webapi would be another solution. i've not tried ipinfodb, but i am using maxmind on several projects (webapi and local db). the webapi works quite well for me when caching results locally for a short time. when using the webapi i've sometimes put in the local db

[google-appengine] Re: How to implement downtime for my Java app

2011-10-14 Thread Arvind Rao
great, thanks all for your suggestions! @nischal, it's a new app and i'm still sorting out some kinks, often get some bad data in there. since it's non-critical, i prefer to wipe out everything. http://tradinghyp.appspot.com/multiplayer http://tradinghyp.blogspot.com/ -- You received this

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Emlyn
I've posted a modified version of my original post here as a blog post. Multi-threaded Python 2.7 WTFAQ? http://appenginedevelopment.blogspot.com/2011/10/multi-threaded-python-27-wtfaq.html -- Emlyn http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google Buzz posts, comments and