Re: [google-appengine] What will occur to my GAE custom domain once the Google Apps free trial ends?

2014-02-07 Thread Vinny P
On Thu, Feb 6, 2014 at 11:14 AM, Alan alanmi...@gmail.com wrote:

 I just need to know whether my app will continue working with the custom
 domain or not. I do understand that I will not be able to change settings
 with regards to the domain, however, right now is critical to understand
 whether the domain will continue working or not.
 If the google guys are working on it (hope they are), then I guess I will
 have to wait till I can change settings, which for the time being seems
 very unlikely for my use case.

 Looking at the link you provided, I assume it will work, but doesn't look
 like something 100% sure, looks more like wait and see the result, which
 is what I would like to avoid. Have you heard of any use case similar to
 mine with a succeful result of still having the domain active?




I haven't tried it personally. I have heard rumors that it works (and
apparently Roninio got it to work:
https://groups.google.com/d/msg/google-appengine/dYZejIk7v08/KHzyXcFkF5MJ )
but I don't think it's a 100% success rate issue.

With that said, if you're just interested in getting the domain to work I
would suggest using Cloudflare's reverse proxy service. It's part of
Cloudflare's free tier, and it'll allow you to map your domain to a regular
appspot application:
http://blog.cloudflare.com/top-tips-for-new-cloudflare-users


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: App Engine Tutorials For Beginners

2014-02-07 Thread karan sharma


 The problems i am facing are with R.java file...I followed the steps like 
 deleting it but could not regenerate it..Also at that point when I  posted 
 the query I was  not sure which libraries should come in which folder as 
 errors were mostly related to libraries ..But that I  achieved and now have 
 knowledge of it thanks to google and hence now no ambiguity...The major 
 difficulty I am facing is which task to do first as importing project and 
 running them is not  a issue...There are lots and lots of tutorials but 
 which confused with which one to start with...I  want Questions on the app 
 engine backend and android app(client) should fetch those questions for the 
 TestSo what should be the first thing to do and what should i 
 referIf anyone can suggest tutorials perfect for my problem domain will 
 be highly appreciated Thanks in advance



-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] It is possible to update datastore entities or delete entities of a Kind?

2014-02-07 Thread PK
If you are using one and the same key, you are creating only one entity which 
you keep overwriting. Go to the console and look at the entities in the 
datastore. By the way I do not see a put() in this code

PK
http://www.gae123.com

On February 7, 2014 at 7:22:26 AM, Juan de Dios Becerra 
(j.becerra4...@gmail.com) wrote:

Yes, but I don't see where to associate the ID, when I create my entities I use 
only one key for all the entities, see this snippet:

Key activityData = KeyFactory.createKey(Activity, ActivityData);

for(int a = 0 a  activities.size(); a++){
    Entity activityDesglose = new Entity(Activities, activityData);
    activityDesglose.setProperty(publishDate, date);
    activityDesglose.setProperty(title, activities.get(i).getTitle());
    activityDesglose.setProperty(type, activities.get(i).getVerb());
}

I don't know if I explain my point correctly, where or how con I use the ID to 
get the correct entity.

El jueves, 6 de febrero de 2014 17:43:51 UTC-6, PK escribió:
There is a get() method where you pass the key and get the entity back. This is 
described in the docs here: 

https://developers.google.com/appengine/docs/java/datastore/entities

Retrieving an entity

To retrieve an entity identified by a given key, pass the Key object to the 
DatastoreService.get() method:


// Key employeeKey = ...;
Entity employee = datastore.get(employeeKey);

PK
http://www.gae123.com

On February 6, 2014 at 3:06:22 PM, Juan de Dios Becerra (j.bece...@gmail.com) 
wrote:

How can I set the ID for an entity? for inserting I create a Key and an entity:

Key collectionData = KeyFactory.createKey(FinalCount, FinalCollection);
   Entity countData = new Entity(Final, collectionData);

but for set the ID I don't know how, do you have examples?

Thank you.

El miércoles, 5 de febrero de 2014 19:01:49 UTC-6, Vinny P escribió:
On Wed, Feb 5, 2014 at 10:35 AM, Juan de Dios Becerra j.bece...@gmail.com 
wrote:
I have not found a good example of how to update datastore, so I am doing 
manually delete the entities and then insert again I know is completely awful 
for this reason I think it could be a better way, there exists? Btw I am using 
Java.
 

Hi Juan,

In the App Engine datastore, an update operation is the same as an insert 
operation; if you insert an entity with the same Kind and ID/Name as a 
currently existing entity, the pre-existing entity will be overwritten with 
information from the new entity. Also, the indexes will be automatically 
updated to reflect the new values. 

So you can simply reuse the code that is currently doing the entity insertion. 
Just remember to set the same Kind and ID/Name as the entity you want to 
overwrite. If you don't know the current IDs in use, you can query for the 
entities and extract the IDs.
 
 
-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.
--
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Google Memory

2014-02-07 Thread pdknsk
I've received a message about updated TOS, which has a huge list of app 
ids, most of which have been deleted long ago. I assume there was a mistake 
made somewhere.

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] It is possible to update datastore entities or delete entities of a Kind?

2014-02-07 Thread Juan de Dios Becerra
Yes, but I don't see where to associate the ID, when I create my entities I 
use only one key for all the entities, see this snippet:

Key activityData = KeyFactory.createKey(Activity, ActivityData);

for(int a = 0 a  activities.size(); a++){
Entity activityDesglose = new Entity(Activities, activityData);
activityDesglose.setProperty(publishDate, date);
activityDesglose.setProperty(title, activities.get(i).getTitle());
activityDesglose.setProperty(type, activities.get(i).getVerb());
}

I don't know if I explain my point correctly, where or how con I use the ID 
to get the correct entity.

El jueves, 6 de febrero de 2014 17:43:51 UTC-6, PK escribió:

 There is a get() method where you pass the key and get the entity back. 
 This is described in the docs here: 

 https://developers.google.com/appengine/docs/java/datastore/entities

 Retrieving an entity

 To retrieve an entity identified by a given key, pass the 
 Keyhttps://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Key
  object 
 to the 
 DatastoreService.get()https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService#get(com.google.appengine.api.datastore.Key)
  method:

 // Key employeeKey = ...;
 Entity employee = datastore.get(employeeKey);


 PK
 http://www.gae123.com

 On February 6, 2014 at 3:06:22 PM, Juan de Dios Becerra (
 j.bece...@gmail.com javascript:) wrote:

 How can I set the ID for an entity? for inserting I create a Key and an 
 entity: 

  Key collectionData = KeyFactory.createKey(FinalCount, 
 FinalCollection);
Entity countData = new Entity(Final, collectionData);

 but for set the ID I don't know how, do you have examples?

 Thank you.

 El miércoles, 5 de febrero de 2014 19:01:49 UTC-6, Vinny P escribió: 

  On Wed, Feb 5, 2014 at 10:35 AM, Juan de Dios Becerra 
 j.bece...@gmail.com wrote: 

 I have not found a good example of how to update datastore, so I am 
 doing manually delete the entities and then insert again I know is 
 completely awful for this reason I think it could be a better way, there 
 exists? Btw I am using Java.

  
  
 Hi Juan, 

 In the App Engine datastore, an update operation is the same as an insert 
 operation; if you insert an entity with the same Kind and ID/Name as a 
 currently existing entity, the pre-existing entity will be overwritten with 
 information from the new entity. Also, the indexes will be automatically 
 updated to reflect the new values. 

 So you can simply reuse the code that is currently doing the entity 
 insertion. Just remember to set the same Kind and ID/Name as the entity you 
 want to overwrite. If you don't know the current IDs in use, you can query 
 for the entities and extract the IDs. 

   
  -
  -Vinny P
  Technology  Media Advisor
  Chicago, IL
  
  App Engine Code Samples: http://www.learntogoogleit.com
  
 --
 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-appengi...@googlegroups.com javascript:.
 To post to this group, send email to google-a...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] http header length limitation

2014-02-07 Thread Fredrik Enestad


On Thursday, February 6, 2014 1:58:09 AM UTC+1, Vinny P wrote:

 On Mon, Feb 3, 2014 at 5:58 PM, Fredrik Enestad 
 fredrik...@soundtrackyourbrand.com javascript: wrote:

 We are currently sending auth tokens in custom headers in our 
 application. When the application is deployed to GAE those headers are 
 dropped (without any warnings).
 I've understood that there are some limitation of the length of all 
 headers but the Location header. Is there any way of getting around this 
 limitation for custom headers? And what is the reason of limiting the 
 headers length? 

 See https://groups.google.com/forum/#!topic/google-appengine/3UDJkS1ydBQ
  and https://code.google.com/p/googleappengine/issues/detail?id=407 for 
 more info on the issue (couldn't find this info in the docs).




 Hi Fredrik,

 If you feel that this is a bug, you can file a new issue in the tracker 
 (the issue you linked to is already closed): 
 https://code.google.com/p/googleappengine/issues/entry 

 With that said, which API are you connecting to? There are some APIs that 
 allow auth tokens to be sent as a HTTP parameter instead of as a header. 
  
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com



Hi,

I actually think it is by design, and I'm just curious as to why they have 
chosen such a low limit. 

The fact that it is not logged when headers are dropped, and that the local 
development environment doesn't have the same limitation might be a bug 
though.

The API:s are built by us, and right now we use multi-value headers to get 
around this problem, but it would make our lives easier if we could just 
send one header.



-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Flushing Memcache Many Times Today

2014-02-07 Thread James Gilliam
GAE has flushed memcached three or four times today -- annoying.  Plus, 
their instance hours are running high -- hopefully, it will get backed out 
before the final bill.

Memcache has been unusually stable for the last few weeks ... I guess it 
had to end at some point.

My guess is they are rolling out some new software or switching datacenters 
around.

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Frontend Instance Hours running high.

2014-02-07 Thread Nijin Narayanan
I have notice that google appengine frontend instance hours running from
this week onwards anyone have facing same issue ?

-Nijin Narayanan

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.