[google-appengine] Re: Stuck Index

2009-12-04 Thread Nickolas Daskalou
Is index building a once-off thing that happens when a new index is uploaded to the production site, or does this also apply after every single put() or delete() call to the Datastore? I hope it's the former and not the latter, as this would be a deal breaker for a lot of companies looking to

[google-appengine] Datastore contention

2009-12-11 Thread Nickolas Daskalou
After reading these two articles: Avoiding datastore contention: http://code.google.com/appengine/articles/scaling/contention.html Sharding counters: http://code.google.com/appengine/articles/sharding_counters.html I'm a little confused at to what causes datastore contention, and how to design

[google-appengine] Re: Datastore contention

2009-12-11 Thread Nickolas Daskalou
On Dec 11, 7:37 pm, Jeff Schnitzer j...@infohazard.org wrote: An entity group is a group of objects, not classes. Ah, this makes more sense. Thanks Jeff! Nick -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] Index updating time as number of entities grows

2009-12-14 Thread Nickolas Daskalou
I've read that the time for a Datastore query is independent of the number of entities in an app, which is great. However, does index updating take longer as the number of entities increases? Eg. If I'm making a high score tracking system (a Player kind with one of the properties being

[google-appengine] Re: Index updating time as number of entities grows

2009-12-15 Thread Nickolas Daskalou
miracle. Nick On Dec 16, 3:46 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Nickolas, On Tue, Dec 15, 2009 at 6:39 AM, Nickolas Daskalou n...@daskalou.comwrote: I've read that the time for a Datastore query is independent of the number of entities in an app, which is great

[google-appengine] Re: Application ID

2009-12-15 Thread Nickolas Daskalou
Are you using a Google Apps account? If so, visit the home page of this group: http://groups.google.com/group/google-appengine Read the bold paragraph that starts with If you've created an application. Nick On Dec 16, 11:20 am, Marco Antonio da Silva Castanheira mcastanhe...@globo.com wrote:

[google-appengine] Re: why make adding a domain so difficult?

2009-12-20 Thread Nickolas Daskalou
Yeah, I agree. The process of adding a domain to your app should be simplified. On Dec 21, 9:42 am, Locke locke2...@gmail.com wrote: If I own the appid appid and the domin domian.com and I want to usewww.domain.comwith appid.appspot.com, then why the heck can't I simply prove my ownership by

[google-appengine] Images API questions

2009-12-20 Thread Nickolas Daskalou
In Python, if we're using the composite() function from the Images API, is the size of each image layer allowed to be = 1MB, or does the combined size of all the image layers have to be = 1MB (eg. 10 x 100KB layers is allowed, but 11 x 100KB is not)? Can we use Blobstores when using composite()?

[google-appengine] Re: Lost app-id after activating my account with Google Apps

2009-12-21 Thread Nickolas Daskalou
You've tried both: https://appengine.google.com/ and https://appengine.google.com/a/mydomain.com ? On Dec 19, 6:49 am, FriesenPress fpad...@friesenpress.com wrote: I've lost my app-id friesen-press in my App Engine account after I activated a Google Apps account using my App Engine

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-21 Thread Nickolas Daskalou
Have you tried: self.response.out.write(str(0)) ? On Dec 22, 5:11 pm, Phoenix peece...@gmail.com wrote: Hi.. this is the code I'm using.. self.response.out.write(0) and 0 is not being on screen.. even if this 0 an Integer is in some variable.. like this.. new_index = 0

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Nickolas Daskalou
other integer is being printed.. then why this issue with 0? thanks for your reply.. On Dec 22, 12:43 pm, Nickolas Daskalou n...@daskalou.com wrote: Have you tried: self.response.out.write(str(0)) ? On Dec 22, 5:11 pm, Phoenix peece...@gmail.com wrote: Hi.. this is the code

[google-appengine] Re: Images API questions

2009-12-22 Thread Nickolas Daskalou
*BUMP* On Dec 21, 3:57 pm, Nickolas Daskalou n...@daskalou.com wrote: In Python, if we're using the composite() function from theImagesAPI, is the size of each image layer allowed to be = 1MB, or does the combined size of all the image layers have to be = 1MB (eg. 10 x 100KB layers

[google-appengine] Re: Sessions

2009-12-22 Thread Nickolas Daskalou
How are you setting the sessions? If you're using cookies, are you adding an expires value (that's set in the future)? Without an expires value, cookies will be cleared when the web browser is closed. On Dec 22, 6:44 am, hemodroid hemodr...@gmail.com wrote: It seems like sessions do not last

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Nickolas Daskalou
converted to a String does not get printed on browser.. :) Thanks for your reply.. Happy Christmas.. :) On Dec 22, 4:46 pm, Nickolas Daskalou n...@daskalou.com wrote: My guess is that zero is not being printed because the internals of self.response.out.write probably look something like

[google-appengine] Re: Images API questions

2009-12-24 Thread Nickolas Daskalou
in 30 seconds, etc.) still apply. http://code.google.com/appengine/docs/python/images/overview.html#Tra... Cheers! - Jason On Sun, Dec 20, 2009 at 8:57 PM, Nickolas Daskalou n...@daskalou.comwrote: In Python, if we're using the composite() function from the Images API, is the size of each

[google-appengine] Re: How to test my application with local database

2010-01-03 Thread Nickolas Daskalou
You can't use MySQL or any other traditional RDBMS with App Engine, you'll need to use Google's Datastore: http://code.google.com/appengine/docs/java/datastore/ On Jan 2, 7:04 pm, mobject mobj...@gmail.com wrote: Hello, I would like to test my app with local db before deploying to APPEngine

[google-appengine] Using different frameworks depending on the hostname?

2010-01-04 Thread Nickolas Daskalou
This is probably a pure Python question. Is it possible to use a different framework depending on what hostname the request was made to? For example: api.mydomain.com (API service) - webapp admin.mydomain.com (Backend administration) - app-engine-patch (AEP) The data model needs to be the same

Re: [google-appengine] exception in min() of python

2010-01-04 Thread Nickolas Daskalou
I'm guessing you assigned min to an integer value beforehand, eg: min = 123 if x1 min( x2, x3 ): 2010/1/5 saintthor saintt...@gmail.com code: if x1 min( x2, x3 ): gets an exception: TypeError: 'int' object is not callable x1,x2,x3 are floats. change the code to: if x1

Re: [google-appengine] Re: Using different frameworks depending on the hostname?

2010-01-06 Thread Nickolas Daskalou
: admin - url: /.* script: main.py secure: never Then in your django urls.py handle /admin On Jan 4, 9:15 pm, Nickolas Daskalou n...@daskalou.com wrote: This is probably a pure Python question. Is it possible to use a different framework depending on what hostname the request

Re: [google-appengine] Re: api to determine if application is running on a development server?

2010-01-06 Thread Nickolas Daskalou
What about: import os if 'Development' == os.environ['SERVER_SOFTWARE][:11]: # On dev server else: # On production server Does that work for you johnwlockwood? 2010/1/7 johnwlockwood johnwlockw...@gmail.com OK, that doesn't seem to work. I personally do this, and I know it works:

Re: [google-appengine] Re: Quota on number of entity types / kinds?

2010-01-08 Thread Nickolas Daskalou
You could get the dev server to update index.yaml with the dynamic indexes by running a query on the dev Datastore that would require the desired index on your dynamic entity kind. However if it's not possible to know all the dynamic entity kinds you'll need on the live server, then this wouldn't

Re: [google-appengine] Server locations of Google App Engine

2010-01-12 Thread Nickolas Daskalou
This is not available right now. I think there were talks of looking into this in the future. Google guys feel free to chime in. 2010/1/12 rbginge rhbol...@codecircle.com Is it possible to configure your app so that it is served from Europe? I am trying to access a web service that only

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Nickolas Daskalou
Wow, reading the comments on that issue scares me. Does Google really block App Engine access in those countries, or are those countries blocking GAE IPs? 2010/1/14 WallyDD shaneb...@gmail.com http://code.google.com/p/googleappengine/issues/detail?id=1072 On Jan 14, 4:19 pm, Nick Johnson

[google-appengine] Running some code immediately before a Datastore put()?

2010-01-14 Thread Nickolas Daskalou
I have a property of a Model that is a hash of another property of the same Model, eg: class MyModel(db.Model): something = db.StringProperty() something_hash = db.StringProperty() def generate_hash(self): self.something_hash = sha1(self.something) I want generate_hash() to be

Re: [google-appengine] Re: Running some code immediately before a Datastore put()?

2010-01-14 Thread Nickolas Daskalou
, Eric Ka Ka Ng ngk...@gmail.com wrote: would a PreCallHook works for your case? http://code.google.com/appengine/articles/hooks.html - eric 2010/1/14 Nickolas Daskalou n...@daskalou.com: I have a property of a Model that is a hash of another property of the same Model, eg

Re: [google-appengine] Re: Running some code immediately before a Datastore put()?

2010-01-14 Thread Nickolas Daskalou
() ? 2010/1/15 Nickolas Daskalou n...@daskalou.com Thanks guys, both great suggestions. I'll try and get PreCallHook working because that would allow me to add a pre_put() method to my Models, and then using these PreCallHooks I can call pre_put() for each of the entities being put

Re: [google-appengine] Re: This App Engine is a JOKE

2010-01-14 Thread Nickolas Daskalou
In the future if Google allows us to choose which country our apps are hosted in and we choose to host outside the US, would that lift this restriction? 2010/1/15 Wesley Chun (Google) wesc+...@google.com wesc%2b...@google.com Cuba, Iran, Iraq, North Korea, Syria, and Sudan are a magical group

[google-appengine] EntityProto instance to Model instance?

2010-01-14 Thread Nickolas Daskalou
How can I convert an EntityProto to a Model instance? I have a Model method, pre_put(), that I want to call on each Model instance before it's Put into the Datastore, using hooks (eg: http://code.google.com/appengine/articles/hooks.html). My hook code looks like this: def hook(service, call,

Re: [google-appengine] EntityProto instance to Model instance?

2010-01-16 Thread Nickolas Daskalou
Does anyone have an answer for this? Google guys? 2010/1/15 Kapil Kaisare kksm19820...@gmail.com As an aside: what is an EntityProto, and is there a link in the GAE documentation for it? Regards, Kaisare, Kapil Sadashiv On Fri, Jan 15, 2010 at 09:37, Nickolas Daskalou n

Re: [google-appengine] how to download my own project hosted on Google app engine

2010-01-17 Thread Nickolas Daskalou
No, you can't currently do that. There's an entry for it in the issue tracker, star it if you like: http://code.google.com/p/googleappengine/issues/detail?id=1047 2010/1/18 jaljal jallouli.mo...@gmail.com Hi, I want to download my own project hosted on Google app engine because I had

Re: [google-appengine] Re: EntityProto instance to Model instance?

2010-01-17 Thread Nickolas Daskalou
Since these are not documented online anywhere, is it possible these functions may change in the future (and hence break my code)? 2010/1/18 Andy Freeman ana...@earthlink.net Search in google/appengine/ext/db/__init__.py for protobuf functions. On Jan 16, 9:21 pm, Nickolas Daskalou n

Re: [google-appengine] Re: EntityProto instance to Model instance?

2010-01-17 Thread Nickolas Daskalou
to the documented function list. On Jan 17, 6:26 pm, Nickolas Daskalou n...@daskalou.com wrote: Since these are not documented online anywhere, is it possible these functions may change in the future (and hence break my code)? 2010/1/18 Andy Freeman ana...@earthlink.net Search in google

Re: [google-appengine] Re: EntityProto instance to Model instance?

2010-01-18 Thread Nickolas Daskalou
guys, is there a more efficient way to do this? 2010/1/18 Nickolas Daskalou n...@daskalou.com Will do, thanks Andy. 2010/1/18 Andy Freeman ana...@earthlink.net I asked that question wrt db.class_for_kind and was told that it was safe to assume that it would always be there. I'd guess

Re: [google-appengine] Re: EntityProto instance to Model instance?

2010-01-19 Thread Nickolas Daskalou
Ok, cheers Nick. 2010/1/20 Nick Johnson (Google) nick.john...@google.com Hi Nickolas, On Tue, Jan 19, 2010 at 1:09 AM, Nickolas Daskalou n...@daskalou.comwrote: I've managed to get this going, with the help of the comments in this thread and Nick Johnson's blog post ( http

Re: [google-appengine] Re: Scalability problem in GAE

2010-01-20 Thread Nickolas Daskalou
Hi mani, I have a question. How did you get appstats to not require an admin login in production? Nick 2010/1/20 mani doraisamy mdorais...@orangescape.com Same request, but another query has degraded from 45ms to 846ms: http://247-test.appspot.com/stats/details?time=1263968821144

Re: [google-appengine] Re: Scalability problem in GAE

2010-01-20 Thread Nickolas Daskalou
Technical. I tried editing the appstats code to turn off this admin user requirement, but I kept getting a 500 error. 2010/1/21 mani doraisamy mdorais...@orangescape.com Is that a technical question or process question? On Jan 20, 4:35 pm, Nickolas Daskalou n...@daskalou.com wrote: Hi mani

Re: [google-appengine] Problem using 'www' as subdomain for app url

2010-01-24 Thread Nickolas Daskalou
It might be a problem with Google Sites in Google Apps. Search this group for similar problems and see the answers related to Google Sites. Not 100% sure on this but give it a go. Nick 2010/1/24 Alex alexle...@googlemail.com Hi, I have a google appengine app which I want to access via

Re: [google-appengine] unable to add app to domain

2010-01-30 Thread Nickolas Daskalou
There could be a number of reasons why this isn't working. Eg: 1. When you first created your app did you choose to restrict it to a Google Apps domain? If so, I think you can only add that Google Apps domain as a domain for your app. AFAIK, this cannot be changed once an App Engine app has been

Re: [google-appengine] Re: unable to add app to domain

2010-01-30 Thread Nickolas Daskalou
Hmmm well I'm out of ideas, sorry. Wait for one of the Googlers to reply. Nick On 31/01/2010, at 2:54 PM, brian br...@iheardata.com wrote: On Jan 30, 10:22 pm, Nickolas Daskalou n...@daskalou.com wrote: There could be a number of reasons why this isn't working. Eg: 1. When you first

[google-appengine] Memcache: Should we save Model instance or protocol buffer?

2010-02-04 Thread Nickolas Daskalou
Is it better/safer to store a Model instance into Memcache directly (Method 1 below), or should we convert it to a protocol buffer first, then store it (Method 2 below)? Method 1: memcache.set(cache_key, entity) ... entity = memcache.get(cache_key) Method 2: memcache.set(cache_key,

Re: [google-appengine] Re: Memcache: Should we save Model instance or protocol buffer?

2010-02-04 Thread Nickolas Daskalou
Perfect, thanks Sylvain. :) Nick On 5 February 2010 03:11, Sylvain sylvain.viv...@gmail.com wrote: I think the answer (and more) is here : http://blog.notdot.net/2009/9/Efficient-model-memcaching On Feb 4, 10:43 am, Nickolas Daskalou n...@daskalou.com wrote: Is it better/safer to store

Re: [google-appengine] Re: Memcache: Should we save Model instance or protocol buffer?

2010-02-04 Thread Nickolas Daskalou
/detail?id=2402 On Feb 4, 8:11 am, Sylvain sylvain.viv...@gmail.com wrote: I think the answer (and more) is here : http://blog.notdot.net/2009/9/Efficient-model-memcaching On Feb 4, 10:43 am, Nickolas Daskalou n...@daskalou.com wrote: Is it better/safer to store a Model instance

[google-appengine] Re: Watermarking with Image Composite

2010-02-04 Thread Nickolas Daskalou
Hey Google, has this been fixed in the new SDK? On Jul 31 2009, 1:40 pm, Rodrigo Moraes rodrigo.mor...@gmail.com wrote: On Jun 3, 8:08 pm, Mick wrote: Just tested and it worked on appspot. awesome! but is there a workaround to get it work correctly on dev? Hi Mick. I had this same

Re: [google-appengine] 1.3.1 SDK Prerelease - help us verify

2010-02-07 Thread Nickolas Daskalou
Where did you find the documentation for how to use these two new features? On 08/02/2010, at 12:45 PM, Ross M Karchner rosskarch...@gmail.com wrote: I'm loving cursors and transactional tasks (which may be the geekiest sentence I've ever written)-- I hope send_mail is next to get

Re: [google-appengine] 1.3.1 SDK Prerelease - help us verify

2010-02-07 Thread Nickolas Daskalou
'): subscriber_q=subscriber_q.with_cursor(request.form['cursor']) subscribers=subscriber_q.fetch(BATCH_SIZE) (it might look a little funny since I'm using YARO for my request object http://lukearno.com/projects/yaro/) On Sun, Feb 7, 2010 at 8:51 PM, Nickolas Daskalou n...@daskalou.comwrote: Where

[google-appengine] Application versions code - completely separate or diff'd?

2010-02-07 Thread Nickolas Daskalou
I know we're able to access different versions of our apps using a URL like: http://VERSION.latest.APPID.appspot.com My question is: Is the code for each version totally separate from other versions, or are only the files that have been changed between versions separated (in which case files

Re: [google-appengine] Application versions code - completely separate or diff'd?

2010-02-08 Thread Nickolas Daskalou
not change the file, only the value in the loaded module. -Nick Johnson On Mon, Feb 8, 2010 at 7:34 AM, Nickolas Daskalou n...@daskalou.comwrote: I know we're able to access different versions of our apps using a URL like: http://VERSION.latest.APPID.appspot.com My question is: Is the code

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-09 Thread Nickolas Daskalou
Will we be able to construct our own cursors much the same way that we are able to construct our own Datastore keys (Key.from_path())? Also along the same lines, will we be able to deconstruct a cursor to get its components (offset, start_inclusive etc.), as we can now do with keys ( key.name(),

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-09 Thread Nickolas Daskalou
= db.Cursor.from_template(cursor_template,offset=int(self.request.get('skip'))) (or something along these lines) Does that make sense? On 10 February 2010 01:03, Nick Johnson (Google) nick.john...@google.comwrote: Hi Nickolas, 2010/2/9 Nickolas Daskalou n...@daskalou.com Will we be able to construct

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-09 Thread Nickolas Daskalou
to the reconstruct the cursor), that would make for much cleaner, safer and intuitive URLs than including the entire cursor string (or some sort of encrypted/encoded cursor string replacement). 2010/2/10 Nick Johnson (Google) nick.john...@google.com Hi Nickolas, 2010/2/9 Nickolas Daskalou n

[google-appengine] Remote API login problem - keep getting HTTP Error 302 Found

2010-02-10 Thread Nickolas Daskalou
After some Googling, I came across this article from SO: http://stackoverflow.com/questions/1555469/appengine-remote-api-unable-to-login It appears as though I fall into the group of users as described by Nick Johnson in the answer that he gave. Is the workaround in Nick's answer still the best

[google-appengine] Admins Emailed quota not working?

2010-02-10 Thread Nickolas Daskalou
I'm sending emails to email addresses that are admins (aka. Admin Console Developers) and those emails are using Recipients Emailed quota instread of Admins Emailed quota. Is this a bug or is my understanding of the Admins Emailed quota wrong? -- You received this message because you are

[google-appengine] Re: Admins Emailed quota not working?

2010-02-10 Thread Nickolas Daskalou
My bad, I think I have to use mail.send_mail_to_admins() instead of mail.send_mail(). Nick On Feb 11, 4:30 am, Nickolas Daskalou n...@daskalou.com wrote: I'm sending emails to email addresses that are admins (aka. Admin Console Developers) and those emails are using Recipients Emailed quota

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Nickolas Daskalou
Yeah, this is a great release. Well done Google dudes and dudettes! On 11 February 2010 15:32, gops patelgo...@gmail.com wrote: Wow!!! with wildcard and cursor , all thing i need is available, yay!! ( of course map reduce remains,,,but i sense it coming soon.. ) On Feb 11, 5:38 am,

Re: [google-appengine] App Engine not listing my apps

2010-02-11 Thread Nickolas Daskalou
If you're logged in using a Google Apps account, visit: https://appengine.google.com/a/your Google Apps domain Nick On 11 February 2010 16:02, Hendy Irawan he...@soluvas.com wrote: When I go to https://appengine.google.com/ I always get redirected to https://appengine.google.com/start and

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-11 Thread Nickolas Daskalou
Wow, that's huge. Was that a batch get/put (and if so, how many entities?), or just for one single entity? On 11 February 2010 21:19, Brandon Thomson gra...@gmail.com wrote: though I am curious if we can predict how long .get() and .fetch() will potentially block for? Seems like this used

Re: [google-appengine] Remote API login problem - keep getting HTTP Error 302 Found

2010-02-11 Thread Nickolas Daskalou
Thanks Nick. On 12 February 2010 02:43, Nick Johnson (Google) nick.john...@google.comwrote: Hi Nickolas, Yes, that workaround is still accurate. -Nick Johnson On Wed, Feb 10, 2010 at 5:02 PM, Nickolas Daskalou n...@daskalou.comwrote: After some Googling, I came across this article from

Re: [google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-11 Thread Nickolas Daskalou
Yeah that's one bad thing about developing on App Engine - at times, waiting days for support. On 12 February 2010 15:15, Dennis Peterson dennisbpeter...@gmail.comwrote: It's not google's fault, but on the other hand, deploy at Rackspace and you can call them on the phone and sort things out.

Re: [google-appengine] downloading a swf

2010-02-13 Thread Nickolas Daskalou
Read Nick Johnson's comments in this thread for an official answer: http://groups.google.com/group/google-appengine/browse_thread/thread/c35f347308e76943 Spoiler: Upload and download time does not count towards the 30 second limit. Nick On 14 February 2010 10:00, Robert Kluin

[google-appengine] Memcache: key_prefix vs namespace?

2010-02-15 Thread Nickolas Daskalou
What's the difference between key_prefix and namespace when using the Memcache.*_multi() functions? Maybe my understanding of namespace is wrong, but I thought namespace was basically a (string) prefix on the cache key. -- You received this message because you are subscribed to the Google

Re: [google-appengine] Memcache: key_prefix vs namespace?

2010-02-16 Thread Nickolas Daskalou
(without restrictions)? Nick - it's just that certain methods involving namespaces return unexpected results. For instance, grab_tail seems to be working incorrectly, pulling from the global LRU rather than the nested namespace LRU. On Tue, Feb 16, 2010 at 7:01 PM, Nickolas Daskalou n

[google-appengine] Re: Watermarking with Image Composite

2010-02-16 Thread Nickolas Daskalou
*BUMP* On Feb 5, 6:04 pm, Nickolas Daskalou n...@daskalou.com wrote: Hey Google, has this been fixed in the new SDK? On Jul 31 2009, 1:40 pm, Rodrigo Moraes rodrigo.mor...@gmail.com wrote: On Jun 3, 8:08 pm, Mick wrote: Just tested and it worked on appspot. awesome

Re: [google-appengine] Re: Watermarking with Image Composite

2010-02-16 Thread Nickolas Daskalou
Answer: No. However, Rodrigo's fix still works with SDK 1.3.1. On 17 February 2010 14:27, Nickolas Daskalou n...@daskalou.com wrote: *BUMP* On Feb 5, 6:04 pm, Nickolas Daskalou n...@daskalou.com wrote: Hey Google, has this been fixed in the new SDK? On Jul 31 2009, 1:40 pm, Rodrigo

Re: [google-appengine] Memcache: key_prefix vs namespace?

2010-02-16 Thread Nickolas Daskalou
keynames = Model.kind() + Model.key().name() since that should be unique for each application. On Tue, Feb 16, 2010 at 10:22 PM, Nickolas Daskalou n...@daskalou.comwrote: On 17 February 2010 14:14, Ikai L (Google) ika...@google.com wrote: The implementation isn't going to change

Re: [google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-17 Thread Nickolas Daskalou
Maybe Google did it on purpose because you're using IE + Bing instead of Chrome + Google? :P No seriously, hopefully this screenshot will make it easier for the Googlers that frequent this group to help you. I have a question for you though (not sure if it's been asked in this thread yet (yes,

Re: [google-appengine] Re: Scheduled Maintenance?

2010-02-17 Thread Nickolas Daskalou
My crons aren't running yet. On 18 February 2010 13:56, naan kaz...@gmail.com wrote: cron job starts working now. On Feb 17, 6:49 pm, naan kaz...@gmail.com wrote: It seems cron job isn't working after the maintenance. Is this known issue? On Feb 17, 6:41 pm, Greg g.fawc...@gmail.com

Re: [google-appengine] Re: Scheduled Maintenance?

2010-02-17 Thread Nickolas Daskalou
Refreshing my Logs page in the Admin Console just gave me: Server Error A server error has occurred. Return to Applications screen » https://appengine.google.com/ On 18 February 2010 14:22, mb doit...@gmail.com wrote: Also, XMPP isn't working for my app. It's worked fine the last 3

Re: [google-appengine] Re: Scheduled Maintenance?

2010-02-17 Thread Nickolas Daskalou
On next refresh, the Logs page is now working. Crons are still not, however. On 18 February 2010 14:24, Nickolas Daskalou n...@daskalou.com wrote: Refreshing my Logs page in the Admin Console just gave me: Server Error A server error has occurred. Return to Applications screen » https

Re: [google-appengine] Re: Scheduled Maintenance?

2010-02-17 Thread Nickolas Daskalou
My crons have now been MIA for a full two hours. Will this cron backlog problem occur each time there is maintenance? If so, how long can we expect the Cron executer to take catch up? On 18 February 2010 14:34, App Engine Team appengine.nore...@gmail.comwrote: The Deploy problem is a known

Re: [google-appengine] Re: Scheduled Maintenance?

2010-02-17 Thread Nickolas Daskalou
After 3 hours and 55 minutes, my crons started running again. On 18 February 2010 16:17, Nickolas Daskalou n...@daskalou.com wrote: Update: 3.5 hours on and still no crons executed. On 18 February 2010 14:46, Nickolas Daskalou n...@daskalou.com wrote: My crons have now been MIA for a full

[google-appengine] My app is much faster now

2010-02-18 Thread Nickolas Daskalou
The maintenance on the servers has sped up my app's execution times (and CPU times) by about 5x-10x. Is this because: 1. My app's runtime is kept in memory longer now but it will soon go back to normal? 2. My app's runtime is kept in memory longer now and this will be typical from now on? 3. The

Re: [google-appengine] Re: My app is much faster now

2010-02-18 Thread Nickolas Daskalou
. On Feb 18, 7:50 pm, Nickolas Daskalou n...@daskalou.com wrote: The maintenance on the servers has sped up my app's execution times (and CPU times) by about 5x-10x. Is this because: 1. My app's runtime is kept in memory longer now but it will soon go back to normal? 2. My app's runtime

[google-appengine] How to get a Model's collection_names?

2010-02-18 Thread Nickolas Daskalou
Say I have these Models: class Model1(db.Model): class Model2(db.Model): model1 = db.ReferenceProperty(Model1, collection_name = 'model2s') class Model3(db.Model): model1 = db.ReferenceProperty(Model1, collection_name = 'model3s') Would this be the best way to get all

[google-appengine] Admin Console: Logs and Requests not showing up

2010-02-18 Thread Nickolas Daskalou
In the Admin Console I have no logs or requests recorded for about the last 20 hours. Is this a side-effect of yesterday's maintenance? -- 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] Model class of a Query instance?

2010-02-19 Thread Nickolas Daskalou
Is there an official way to get the Model class from a Query instance? I had a look through the online docs and couldn't find anything. In the SDK code however, the Model class of a Query instance can be retrieved from the _model_class attribute of the Query instance, eg: q = MyModel.all()

Re: [google-appengine] Model class of a Query instance?

2010-02-19 Thread Nickolas Daskalou
...@google.comwrote: Hi Nickolas, There's no public interface for this. Why do you need to do it? -Nick Johnson On Fri, Feb 19, 2010 at 11:28 AM, Nickolas Daskalou n...@daskalou.comwrote: Is there an official way to get the Model class from a Query instance? I had a look through the online docs

Re: [google-appengine] Model class of a Query instance?

2010-02-19 Thread Nickolas Daskalou
Thanks for your advice Nick. My actual app is a bit more complex than the example I gave. I'll explain more in my response to your comments below. Will this be an all-or-nothing proposition? Eg, if the put of 'foo' changed the foo_name, they'll all need updating, otherwise none of them will? In

[google-appengine] Server error? = The application already has the maximum number of versions

2010-02-26 Thread Nickolas Daskalou
I've been trying to upload a minor version of my app (have tried 3 times in the last 5 minutes) and I'm getting this error using the Mac OS X GoogleAppEngineLauncher app: Error 403: --- begin server output --- Too Many Versions (403) The application already has the maximum number of versions.

Re: [google-appengine] Server error? = The application already has the maximum number of versions

2010-02-28 Thread Nickolas Daskalou
03:19, Robert Kluin robert.kl...@gmail.com wrote: There is a limit on the number of deployed instances for each app, I think it is 10. Just delete an old version. Robert On Feb 27, 2010, at 1:50, Nickolas Daskalou n...@daskalou.com wrote: I've been trying to upload a minor version

Re: [google-appengine] Server error? = The application already has the maximum number of versions

2010-03-01 Thread Nickolas Daskalou
:01 PM, Nickolas Daskalou n...@daskalou.comwrote: I do indeed have 10 different major versions already deployed, however I'm trying to upload a revision of an already existing version, not a new version. I just retried this again and I'm still getting the same error. Can someone at Google

[google-appengine] Trouble subclassing PolyModel

2010-03-02 Thread Nickolas Daskalou
Among other methods, I'm trying to catch the put() method of both db.Model and db.polymodel.PolyModel, so that I can set the entity in Memcache (after it's been put into the Datastore). I'm using the same common mixin class for both. The setup looks something like this: from

[google-appengine] Re: Trouble subclassing PolyModel

2010-03-02 Thread Nickolas Daskalou
(again, haven't tried this in production yet). Strange behaviour... I wonder if this is a Python quirk, something wrong with the App Engine library, or maybe I need to go through Python 101 again... On 3 March 2010 02:46, Nickolas Daskalou n...@daskalou.com wrote: Among other methods, I'm trying

[google-appengine] Subclassing PolyModel

2010-03-03 Thread Nickolas Daskalou
I've been trying to create a special subclass of PolyModel (that does cool stuff like update Memcache after an entity put()) which my polymodel models can inherit from (instead of inheriting from db.polymodel.PolyModel). This has the nasty side effect though of making that special subclass of

Re: [google-appengine] Re: Subclassing PolyModel

2010-03-04 Thread Nickolas Daskalou
, Nickolas Daskalou n...@daskalou.com wrote: I should state that I can set the entity kind that's saved in the Datastore by adding a kind() method on my real models, however the class list property of the saved entities still includes the special PolyModel subclass in it, and I'm not sure

Re: [google-appengine] Re: Subclassing PolyModel

2010-03-05 Thread Nickolas Daskalou
/articles/tds/model-mixin.html Read the whole page for the details or just scroll to the bottom for the solution that has worked for me. PK http://www.gae123.com On Mar 4, 10:22 pm, Nickolas Daskalou n...@daskalou.com wrote: Using non-Model mix-ins worked a treat. Thanks again Rafe

Re: [google-appengine] Re: Subclassing PolyModel

2010-03-05 Thread Nickolas Daskalou
to be able to use it in such a manner as described in PK's article? Nick On 5 March 2010 20:18, Nickolas Daskalou n...@daskalou.com wrote: Thanks PK, I'll check it out now. Nick On 5 March 2010 19:41, PK p...@gae123.com wrote: Hi Nick, I have been using the pattern described by Rafe

[google-appengine] Is PropertiedClass safe to use?

2010-03-08 Thread Nickolas Daskalou
This is a question for Google employees. Is it safe to use db.PropertiedClass as discussed towards the end of this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/5464457c5a9d5276#a8c15c616f3d1636 ? -- You received this message because you are subscribed to the

Re: [google-appengine] Composing Images with GAE + PIL

2010-03-08 Thread Nickolas Daskalou
Is this on the dev server? There's a known issue with transparency on the dev server. Rodrigo's comment in the following thread for how to patch it: http://groups.google.com/group/google-appengine/browse_thread/thread/8c9aef5b96ead12f Nick On 9 March 2010 09:27, Genkido eeca...@gmail.com

[google-appengine] Re: Is PropertiedClass safe to use?

2010-03-09 Thread Nickolas Daskalou
consider such a change very likely, however. -Nick Johnson On Mon, Mar 8, 2010 at 10:41 AM, Nickolas Daskalou n...@daskalou.comwrote: This is a question for Google employees. Is it safe to use db.PropertiedClass as discussed towards the end of this thread: http://groups.google.com

Re: [google-appengine] Datastore contention on indexes?

2010-03-10 Thread Nickolas Daskalou
Hi Nick, Thanks for the reply. I've got a few question below that I'm hoping you can answer. On 10 March 2010 22:10, Nick Johnson (Google) nick.john...@google.comwrote: Hi Nickolas, On Wed, Mar 10, 2010 at 12:28 AM, Nickolas Daskalou n...@daskalou.comwrote: I remember reading a thread

Re: [google-appengine] Datastore contention on indexes?

2010-03-10 Thread Nickolas Daskalou
Great, thanks again Nick! On 10 March 2010 23:47, Nick Johnson (Google) nick.john...@google.comwrote: On Wed, Mar 10, 2010 at 12:35 PM, Nickolas Daskalou n...@daskalou.comwrote: Hi Nick, Thanks for the reply. I've got a few question below that I'm hoping you can answer. On 10 March 2010

Re: [google-appengine] Re: Subclassing PolyModel

2010-03-10 Thread Nickolas Daskalou
): ... Learned quite a bit since releasing db.py. Expando should have been written as a mixin in the first place. On Mar 5, 1:31 am, Nickolas Daskalou n...@daskalou.com wrote: c...@your solution, PK! Since db.PropertiedClass is not documented in the official docs, I'm assuming there's a chance

Re: [google-appengine] Pre-release 1.3.2 SDKs available

2010-03-16 Thread Nickolas Daskalou
From the release notes: New feature in the datastore to specify whether to use strong or eventually consistent reads (the default is strong) Didn't think this would be out for quite a while. Very, very cool. :) On 17 March 2010 14:31, Jason (Google) apija...@google.com wrote: Hi Everyone.

Re: [google-appengine] Re: Pre-release 1.3.2 SDKs available

2010-03-17 Thread Nickolas Daskalou
According to the post mortem from the last outage, the eventually consistent option will have higher latency (=bad) than the strongly consistent option, in exchange for higher availability during an unexpected failure (=good). From the post mortem: In response to this outage, we have also

Re: [google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-03-20 Thread Nickolas Daskalou
Hi Eric, Have you looked at Amazon's Simple Email Service (SES)? http://aws.amazon.com/ses/ Pretty much the same cost as sending email using GAE, except with SES you only get 2,000 free emails if you're sending email from an EC2 instance. I haven't used it myself but apparently they scan

Re: [google-appengine] Where did Google buy 4.8GHz CPUs?

2011-05-15 Thread Nickolas Daskalou
They're not 4.8GHz. It's more like 2 x 2.4GHz which can only be utilised (currently) by using the Java runtime of GAE, as stated by Greg Darke here: https://groups.google.com/d/msg/google-appengine/z-A6PcplG7M/O-Ke_SVMXoMJ Nick On 16 May 2011 02:29, pdknsk pdk...@googlemail.com wrote: Or is

Re: [google-appengine] Appengine Drawing Contest

2011-05-16 Thread Nickolas Daskalou
Lol, that is awesome! On 16/05/2011, at 9:37 PM, Kaan Soral kaanso...@gmail.com wrote: Couldn't resist -- 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

Re: [google-appengine] Poor performance since the past 2-3 days

2011-05-23 Thread Nickolas Daskalou
Sarang, are you doing any URL fetches, or some other API call that could be taking a long time (but not necessarily consuming CPU)? If not, then given the numbers you've posted (ie. 100's of seconds latency with 1 CPU second consumed), it does look like there could be something wrong with the

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

2011-06-18 Thread Nickolas Daskalou
Hi Greg, Yet another 2nd 'next week' ending has come and gone (for those playing at home, that makes 4 weeks). The application we had been working on has been halted in light of the new pricing announcement, and we have been waiting for some good news for a while now. Is there any update you can

Re: [google-appengine] Re: SMSLib With Google App Engine

2011-07-12 Thread Nickolas Daskalou
You could use a Pull Queue instead of an email sending/polling system: http://code.google.com/appengine/docs/python/taskqueue/overview-pull.html Nick On 13 July 2011 01:13, Rohit Bhat smashingro...@gmail.com wrote: I'm basically doing this for a project, but I can make use of a dedicated

  1   2   3   >