Re: [google-appengine] Application Data Center/Zone

2014-07-21 Thread Vinny P
On Mon, Jul 21, 2014 at 7:00 AM, Miguel Vitorino wrote: > How is possible to know the current Zone (as in: us-central1-a, b, f) > where an AppEngine application is currently running? > Cloud SQL allows us to specify that its location should follow an > AppEngine app, but for general GCE instance

Re: [google-appengine] How long to wait for submitting a request for additional email quota

2014-07-21 Thread Vinny P
On Sat, Jul 19, 2014 at 2:10 AM, Ryota Yamada < willpo...@willpowerdevelopment.com> wrote: > My quota of the Recipients-Emailed is 100 and I have submitted for > submitting a request for additional email quota in the link > > Already two week has passed, I still could not have any reply, approval

Re: [google-appengine] Use OAuth2 for authentication + compatibility with google.appengine.api.users service

2014-07-21 Thread Vinny P
On Thu, Jul 17, 2014 at 9:58 PM, John Del Rosario wrote: > We're trying to put our app on Google Marketplace, and one of the > requirements was to use OAuth2 for authentication. Unfortunately (and > strangely), AppEngine doesn't have an option for this. > > Also, the AppEngine docs seem to be ou

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-21 Thread saintthor
and, if you were a google guy, i'd like to ask what do you think the usage of key.parent is? in what instance it may be useful? 在 2014年7月22日星期二UTC+8上午3时55分28秒,Jay写道: > > Responding to your first post ... that is right. The parent key is part of > the entity's key. When you use get_by_id, this is

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-21 Thread saintthor
in db, i set such a property in model article: auth = db.ReferenceProperty( author, collection_name="AuthSet" ) and use author.AuthSet to get all articles written by the certain author. there is no query. how can i do the same thing in ndb? 在 2014年7月22日星期二UTC+8上午3时55分28秒,Jay写道: > > Respondin

Re: [google-appengine] Re: Dev workflow for Modules + Maven

2014-07-21 Thread Vinny P
On Thu, Jul 17, 2014 at 12:25 PM, Juan de Dios Becerra < j.becerra4...@gmail.com> wrote: > I can't make it work, when I complete my configuration(modify the actual > project) I deploy to App Engine but I get this warning: "Performance > settings included in this update are being ignored because yo

Re: [google-appengine] 500 server Error internal

2014-07-21 Thread Vinny P
On Sat, Jul 19, 2014 at 4:11 AM, Eduardo Gutiérrez wrote: > The instructions you give me to download wouldnt work as i have gae python. > > I want to download my course make with gae, so i dont mind download > everything or only the course. > The same option exists in Python: https://developer

Re: [google-appengine] Twitter Like Feed?

2014-07-21 Thread Vinny P
On Mon, Jul 21, 2014 at 3:27 AM, Aake Gregertsen wrote: > What's the best way to implement a twitter like feed on GAE? I'm guessing > an IN query with thousands of users would be extremely slow. What are my > options here since each user will have a unique feed depending on how they > are subscr

Re: [google-appengine] Re: Advanced Sample for Endpoints?

2014-07-21 Thread Vinny P
On Mon, Jul 21, 2014 at 9:22 AM, Will Merydith wrote: > Bumping this. Trying to find a sample that shows how one would translate > NDB objects to Messages in order to work with Endpoints. It seems like > this is the most common use case for Endpoints but I cannot find any > guidance. > There

Re: [google-appengine] Can't deploy with Google App Engine Launcher

2014-07-21 Thread Vinny P
On Fri, Jul 18, 2014 at 5:43 AM, wrote: > I'm on win7 with firewall turned off, using GAEL version 1.9.7 and my > google account does not use 2-Step Verification, experiencing the > following error on deploy each time: > > Password for my_google_aco...@gmail.com: Invalid username or password. > 2

Re: [google-appengine] Re: NoSQL vs Relational DBs - pros and cons

2014-07-21 Thread Nick
I've had very good results on AppEngine mixing the datastore and full text search api. I use java, so the search api is used to index java objects, and we use Objectify to store the same object in the datastore. Basic crud operations, or anything required to be transactional, are performed on

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-21 Thread Jay
Responding to your first post ... that is right. The parent key is part of the entity's key. When you use get_by_id, this is just shorthand for Key('Foo', 99).get(). You cannot get an entity by key unless you know the key, the whole key. You say you don't want to query, but your use case ... "g

[google-appengine] Re: Twitter Like Feed?

2014-07-21 Thread Jay
This is a fanout problem. You don't want to try and do it with a query. Note: Prospective Search would be the ideal solution for this on App Engine, but it has serious quota issues in the state it is in currently. I wound up implementing my own fanout solution. On Monday, July 21, 2014 3:27:55

[google-appengine] Twitter Like Feed?

2014-07-21 Thread Aake Gregertsen
What's the best way to implement a twitter like feed on GAE? I'm guessing an IN query with thousands of users would be extremely slow. What are my options here since each user will have a unique feed depending on how they are subscribed to. -- You received this message because you are subscrib

Re: [google-appengine] 500 server Error internal

2014-07-21 Thread Eduardo Gutiérrez
if i use incognito window it happens the same. The instructions you give me to download wouldnt work as i have gae python. I want to download my course make with gae, so i dont mind download everything or only the course. thanks El viernes, 18 de julio de 2014 07:02:58 UTC+2, Vinny P escribi

[google-appengine] Re: Advanced Sample for Endpoints?

2014-07-21 Thread Will Merydith
Bumping this. Trying to find a sample that shows how one would translate NDB objects to Messages in order to work with Endpoints. It seems like this is the most common use case for Endpoints but I cannot find any guidance. On Wednesday, July 9, 2014 4:19:08 PM UTC-7, Will Merydith wrote: >

[google-appengine] Re: bot attack

2014-07-21 Thread Vlad
I faced the same issue. As I found out, the attacker used the URLs, which were provided to him by chrome extension. In my case it was awesomescreenshot extension in Google Chrome, which leaked all the internal pages (in admin account) I was visiting myself. So the bot later just pinged those. W

[google-appengine] How long to wait for submitting a request for additional email quota

2014-07-21 Thread Ryota Yamada
My quota of the Recipients-Emailed is 100 and I have submitted for submitting a request for additional email quota in the link, "If your application needs to send more emails, you can *submit a request* for addition

[google-appengine] Re: Use OAuth2 for authentication + compatibility with google.appengine.api.users service

2014-07-21 Thread Mihail Russu
Don't know if this is what you are looking for but I've successfully been using https://code.google.com/p/gae-simpleauth/ for OAuth2 authentication in combination with Users API. With some minor changes my users can link their manually registered accounts to Facebook and authenticate with either

[google-appengine] Can't deploy with Google App Engine Launcher

2014-07-21 Thread avant . vasilev
I'm on win7 with firewall turned off, using GAEL version 1.9.7 and my google account does not use 2-Step Verification, experiencing the following error on deploy each time: 2014-07-18 13:34:50 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengi

Re: [google-appengine] Abridged summary of google-appengine@googlegroups.com - 10 updates in 10 topics

2014-07-21 Thread David Skinner
I have been reviewing and i see reasons for using memcache, and datastore and cloudsql, as well or instead of postgres. The argument for keeping it together is that it avoids developing islands of information that cannot be easily connected. But if all i want is a page counter then why not just us

[google-appengine] Re: Add image to page with static folder

2014-07-21 Thread David Skinner
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@

[google-appengine] Add image to page with static folder

2014-07-21 Thread David Skinner
"./images/file.jpg" I think you need the dot. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this

Re: [google-appengine] Add image to page with static folder

2014-07-21 Thread David Skinner
That is where mine are located. On Jul 18, 2014 12:07 AM, "Vinny P" wrote: > On Thu, Jul 17, 2014 at 4:51 AM, Mahyar wrote: > >> i have a problem to use image with static folder path in my page. this is >> my app.yaml >> I have templates, static/images, controllers (has MainHandler.py) folders >

[google-appengine] I updated Google Eclipse Plugin to 3.6.0 and then could NOT deploy due to size limit of 150MB

2014-07-21 Thread Rodrigo Teixo
Hi All, After I updated from Google Eclipse Plugin from 3.4.2 to 3.6.0, it cannot let me deploy. The message error is: *Applications are limited to 157286400 bytes of resource files, you have 212567564.* I backup my eclipse version before de update and I could deploy again with no code alterat

Re: [google-appengine] Re: NoSQL vs Relational DBs - pros and cons

2014-07-21 Thread David Hardwick
Thanks, Jeff. Yes, I'm starting to get some calls in with folks and one company told me they don't make the decision at an application level, they make it per tableso they use both relational and NoSQL. Not going to have massive scale needs and need relational? Then they use relational...go

Re: [google-appengine] Re: NoSQL vs Relational DBs - pros and cons

2014-07-21 Thread Jeff Schnitzer
There is a tech talk video online (several years old at this point) by a Facebook engineer which describes the lengths they went to to get MySQL to scale. You can probably find it with some googling. The upshot is they basically use MySQL as a NoSQL system: Data is stored in schemaless blobs & ther

Re: [google-appengine] Re: NoSQL vs Relational DBs - pros and cons

2014-07-21 Thread David Hardwick
Thanks, Kaan. I realize my post looks too mired in opinion. In retrospect, I should have stated that we are using App Engine and the Datastore, and we ARE operating at that scale mentioned (40,000 customers, 10million records each across 50 or so entities), we don't have a DBA, etc..I just wa

Re: [google-appengine] Re: Datastore eventual consistency

2014-07-21 Thread Jeff Schnitzer
Just a minor nit - I don't recall offhand exactly how ndb manages this, but I believe that the session cache can affect query results in a subtle way. It won't affect which entities come back (that is determined by walking the index), but when a result comes back, I would expect ndb to replace the

[google-appengine] what is the best way to store entities with relations in ndb?

2014-07-21 Thread saintthor
for example, there are two models, author and article. author1 writes article1 and article2. author2 writes article3 and article4. features: find the author of a article. find all articles written by an author. in db, i set a referenceproperty named auth in article model. link it to author. i

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-21 Thread saintthor
to query may cost too many ops. i don't query. 在 2014年7月21日星期一UTC+8下午8时53分29秒,Kaan Soral写道: > > Not associated with google, also not an expert on ndb > > As far as I know key groups are related with consistency, in my opinion, > you shouldn't put article's and author's in the same group, there

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-21 Thread Kaan Soral
Not associated with google, also not an expert on ndb As far as I know key groups are related with consistency, in my opinion, you shouldn't put article's and author's in the same group, there is a 1/s write speed limit on entity groups, if you put them in the same entity group, you could hit t

[google-appengine] Application Data Center/Zone

2014-07-21 Thread Miguel Vitorino
Hi, How is possible to know the current Zone (as in: us-central1-a, b, f) where an AppEngine application is currently running? Cloud SQL allows us to specify that its location should follow an AppEngine app, but for general GCE instances there isn't a similar option (since they obviously aren'

[google-appengine] Re: ndb, get_by_id can not get an entity with a parent key only by id?

2014-07-21 Thread saintthor
hi, are you a google guy? what do you think the real usage of the key group ( or tree ) is? for example, a forum, user entity and article entity, i set article.author to user entity, then how can i get all articles for a user? in db, i can set it with referenceproperty and get a _set ended prop

Re: [google-appengine] Re: Datastore eventual consistency

2014-07-21 Thread Dan
Thanks for the answer. The results I am seeing are not because of ndb caching as it does not cache queries by property. I imagine that the datastore eventual consistency has always been fast enough so the required indexes are updated by the time I run a put, then get operation making the subse