[google-appengine] How to filter a Query by Date

2014-02-26 Thread Ben Liet

Hello,

I have an object with a startdate and a enddate.
Now I would like to select all objects where a parameter is between the 
start- and enddate.
But the datastore supports only one inequality filter per query (excepted 
on one field). So how i could implement a query to get the objects i want?
I use JDO.

*Example*:
*Datastore*:
Object 1: 20.01.2014 - 28.01.2014
Object 2: 17.01.2014 - 22.01.2014 

*Querys*:
Parameter: 21.01.2014
Result: Object 1, Object 2

Parameter: 27.01.2014
Result: Object 1

Parameter: 18.01.2014
Result: Object 2

Parameter: 02.03.2014
Result: Empty

Have a nice day
Benjamin

-- 
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] Uknown SID error in Channel API Google App Engine - Python Client

2014-02-26 Thread Shikha kejariwal


Since Google App engine doesn't provide official python client api for 
Channel API, I followed this code
https://bitbucket.org/lohre/gae_channel/src/8bd89615ac83?at=default .

Problem is I am getting Unknown SID error after 2-3 minutes or sometimes 
immediately. I also looked for the fix and found this Constant disconnects 
due to channels going stale for no 
reasonhttp://stackoverflow.com/questions/10729842/constant-disconnects-due-to-channels-going-stale-for-no-reason
 .

However, proposed solution is for Javascript Client. Can someone please 
look at the code and guide me how can I get rid of this error . I guess 
closing the connection and restart would work (as suggested), but I am not 
able to do it either. Any help is appreciated!! Thanks!!

-- 
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] x5-meta-...@appspot.gserviceaccount.com

2014-02-26 Thread Brent Goodwin
yea, but i did not make this app in the cloud. I did not verify or allow
this application.  I would think that I would know about it if I was listed
as the owner.  Something sounds fishy to me... and I will complain


On Thu, Feb 20, 2014 at 10:57 PM, Vinny P vinny...@gmail.com wrote:

 On Wed, Feb 19, 2014 at 8:24 AM, python br...@ptsi.net wrote:

 How did it get in my account? I am not a python programmer.



 All App Engine IDs have a gserviceaccount address. It's a necessary
 component of authorizing into many other Google services.


 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

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

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/bHquHwj2-f0/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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] Upload image to GCS thorugh REST API / Endpoints

2014-02-26 Thread Bradford Stephens
Hi there!

I can't find an example of this that strictly uses REST APIs, so I'm asking 
you all. I'm building a mobile photo-sharing app, with java on the 
server-side.

I want to:

-Upload an image to a REST API (preferably served by Endpoints) -- no 
browser
-Store that image in Google Cloud Storage
-Retrieve that image's URL and store it in datastore

The first two have me really puzzled...any example code out there?

-- 
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] not allowed to create anymore apps;reached app creation limit?

2014-02-26 Thread Lorenzo Bugiani
Pay.
Or delete some apps! :D



2014-02-21 11:55 GMT+01:00 HityHoo hity...@gmail.com:


 When I tried to migrate my gae apps to HRD, I got a message 'not allowed
 to create anymore apps;reached app creation limit?', I have used all my 10
 free apps, now what can I do?

 --
 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] installation question

2014-02-26 Thread Patrick Lau
Can someone please tell me if my app engine php sdk installation was 
successful?

I just followed instructions 
on 
https://developers.google.com/appengine/docs/php/gettingstarted/installingmac 
to install the SDK by dragging the app from the .dmg into my application 
folder. It then prompted me whether to update symlinks, which I did and got 
the attached popup.

Then I proceeded to try the helloworld example on the next 
page 
https://developers.google.com/appengine/docs/php/gettingstarted/helloworld. 
When I tried to enter in Terminal 

   google_appengine/dev_appserver.py helloworld/

I got 

   -bash: google_appengine/dev_appserver.py: No such file or directory

Then I checked ls /usr/local and got

   bin google_appengine
   git lib

when I do ls /usr/local/google_appengine I got

_ php_runtime.py bulkload_client.py gen_protorpc.py
_ python_runtime.py bulkloader.py google_sql.py
   api_server.py dev_appserver.py old_dev_appserver.py
   appcfg.py download_appstats.py remote_api_shell.py
   backends_conversion.py endpointscfg.py run_tests.py

And ls /usr/local/bin gave

   BUGS backends_conversion.py google_sql.py
   LICENSE bulkload_client.py lib
   README bulkloader.py new_project_template
   RELEASE_NOTES demos old_dev_appserver.py
   VERSION dev_appserver.py php
_ php_runtime.py download_appstats.py remote_api_shell.py
_ python_runtime.py endpointscfg.py run_tests.py
   api_server.py gen_protorpc.py tools
   appcfg.py google

Did the installation screw up somewhere? or is there a reason why there is 
some duplication of stuff? My /usr/local is not in my path apparently. 

Thanks.

-- 
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.
attachment: Screen Shot 2014-02-22 at 14.07.40 .png

[google-appengine] Copyrights / intelectual property

2014-02-26 Thread Benjamin Daniel
Hi,

I would like to know if I create an application on App Engine, does google 
will own it ?
I mean, the intelectual property of the application, can I keep it while 
I'll use google app engine ?

Thanks for your answers :)

-- 
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] Applications pending deletion forever

2014-02-26 Thread Max Tsepkov
I've deleted apps from the new cloud 
panelhttps://cloud.google.com/console/project and 
it said that those will be deleted after 7 days.
It is already *14* days pass, but apps are still pending.

Does anyone from support screening this forums?

-- 
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] Setting com.cn as a serving domain for Google App Engine application via Google Apps?

2014-02-26 Thread ping
Hi Vinny, 
Do you know of any documentation/tutorial on how to do this, re: using 
Cloudflare as a reverse proxy for an appspot subdomain?
I tried to do this using a cname record on Cloudflare but it didn't work 
for me...

On Saturday, 22 February 2014 14:08:55 UTC+8, Vinny P wrote:

 On Fri, Feb 21, 2014 at 1:18 PM, Balázs Benedek bben...@skawa.hujavascript:
  wrote:

 I've just tried to set a .com.cn domain name via Google Apps as a 
 serving domain, but failed: Google Apps does not currently support domains 
 in this country (it's already registered -- I just wanted to map it)

 Any experience? Any workaround? LIke setting up a proxy via Amazon? 
 Whatever? Anyhow?



  
 You can try using Cloudflare's reverse proxy service: 
 http://blog.cloudflare.com/top-tips-for-new-cloudflare-users . Map the 
 domain to Cloudflare, and the proxy will handle forwarding requests to App 
 Engine. 
   
  
 -
 -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] Google App Engine Socket API

2014-02-26 Thread Bishan Buddhika
I'm calling a URL to get json data from another web site in my Google App 
Engine application. Then i received bellow message.

The Socket API will be enabled for this application once billing has been 
 enabled in the admin console


So i decided to enable billing. but i have a question.

For Mail API https://developers.google.com/appengine/docs/quotas#Mail, we 
can send 100 messages for a day for free. Like this are there any Free 
Default Limit for Socket API ?

How much should i pay per day or per minute for using Socket API ?

-- 
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] Cannot add appengine app to google apps primary domain

2014-02-26 Thread Tikinou Support
Hello,

I created an app engine app (deployed and working) that I want to add to my 
google apps primary domain.
I followed the directions in the app engine console (going through 
Administration - Add Domain).
I typed my domain in and get to the page with the terms and services.
the page has the title: 
You have requested that the ' YOUR_APP_ENGINE_SERVICE_HERE ' service be 
added to your domain
the url is 
https://admin.google.com/AdminHome?appId=YOUR_APP_ENGINE_SERVICE_HEREchromeless=1#OGX:AddAppEngineServicehttps://admin.google.com/AdminHome?appId=glynis-astiechromeless=1#OGX:AddAppEngineService

I check the checkbox to accept the terms and services then click activate, 
after a few seconds I get back to the same terms and services page.
I get no errors that tell me anything.

If this helps my google apps account is one of the grandfathered free 
accounts ( 10 users).

Thanks

-- 
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: OverQuotaException without being over quota

2014-02-26 Thread Ricky Truong
Hi,

I have the same issue, my application id is: 
http://truongtanphu-bookingsystem.appspot.com/

Please help me to fix it.

Thanks

On Friday, 7 December 2012 15:51:05 UTC+7, Lucian Baciu wrote:

 My app has just started throwing this:

 com.google.apphosting.api.ApiProxy$OverQuotaException: The API call 
 datastore_v3.Put() required more quota than is available

 for all data store update operations. Everything is Okay in the Admin 
 Console Quotas section. Please FIX! This is affecting my users.
 App id: timetonote


-- 
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] Wordpress on GAE php

2014-02-26 Thread 吉積礼敏

When I install Wordpress 3.8.1 on GAE PHP with Cloud SQL, It seems run 
almost fairly.
But when I go to eyecatch page, I can not find any images which is uploaded 
already, nor
I got error uploading from the page.
But the file uploaded can be found on media page and I can see it on my 
Cloud Storage.

What I found storage is below URL causes 400 error which I can see in 
Chrome debug tool
https://my-wp-project.appspot.com/_ah/upload/?post=1action=edit/AMmfu6Yasdfasdfasdfasdfasdfasd
But the file is uploaded which I can find on media page.

Is there any check points or anything I can run eyecatch function properly?

Wordpress plugin for GAE is 1.3(latest)

Thanks.

-- 
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] Publishing Google App Engine applications using UserService rejected on Google Apps Marketplace

2014-02-26 Thread Daniel Florey
I want to publish my applications running on GAE on the Google Apps 
Marketplace.
I am using the UserService to send out mails on behalf of the user and to 
check if a user is logged in, admin by using isUserAdmin() etc.

My apps have been rejected as the Google Apps Marketplace allows only 
Oauth2 / OpenID connect for logging in.
How can I use the UserService with the new Google Apps Marketplace?

Is the UserService sill officially supported or is it somehow deprecated? 
The OpenID still is marked as experimental and OAuth2 is not supported at 
all.

If Google is retiring the UserService what is the recommended solution to 
send out emails from GAE on behalf of the current user?
I don't want to send out from GMail using socket API due to the daily 
quotas etc.

-- 
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] How to tell if Blobstore is down?

2014-02-26 Thread Josh Fox
Since 2 hours ago all Blobstore uploads are returning error 503 Service 
Unavailable, and I've checked the quotas and there's no problem, and I 
haven't deployed any new versions. I checked the System Status page (which 
says everything is normal), but it doesn't seem to have Blobstore in there? 
Where do I check to see if Blobstore is down?

-- 
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: Python Google App Engine Shopping Cart

2014-02-26 Thread Garry Keneth Garcia
This is cool! I am actually planning to build one. 

On Monday, 17 June 2013 21:57:41 UTC+8, gops wrote:

 Is there any Open Source Python Shopping Cart that I could use to
 host my store on google app engine ? ( +1 if it is being used in live 
 site..)

 I would need a lot of customization ( and hence can contribute a lot back 
 ).
  

-- 
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 Cloud Endpoints give HTTP 204 until u restart instance

2014-02-26 Thread Niels Buekers

Hi all,

I've got an application on App Engine (Java) with a Cloud SQL db behind it. 
My mobile app connects with it via Cloud Endpoints.

The issue is, that when I leave an instance idle for a long time, the next 
time I do a request on an endpoint (even with a simple GET request in the 
browser/Postman in Chrome), I almost always get a 204 No Content back. The 
app engine logs just seeems normal. However, once I shutdown the instance, 
and do the request again, I always get the response JSON i need.

Furthermore, once it DOES respond, it keeps responding until I leave it 
idle for a longer period. Then again I often get a HTTP 204.

Anybody else seem this / has some advice?

-- 
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] I cannot setup my appengine appid to have the custom url I want, I think there might be a bug (screenshot proof)

2014-02-26 Thread Nikolas Gauvreau
Screenshot of issue: 
http://x-v.it/03aojahttp://www.google.com/url?q=http%3A%2F%2Fx-v.it%2F03aojasa=Dsntz=1usg=AFQjCNHy-gHAonTC8d7mEjCA_r4UAGV2Pw

Domain Name: voidspace.ca
Users Affected: 1
Problem Description: 
I have google apps for universeprojects.com as the primary domain. I have 
added voidspace.ca as an additional managed domain, but I can only set 
appengine apps to use the universeprojects.com domain and not the 
voidspace.ca domain.

-- 
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] Upload image to GCS thorugh REST API / Endpoints

2014-02-26 Thread Alejandro Gonzalez
This is basically the code:


com.google.appengine.api.images.Image image = YOU_IMAGE;
GcsService gcsService = GcsServiceFactory.createGcsService();
BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();

GcsFileOptions options = new GcsFileOptions.Builder()
.mimeType(p_contentType)
.acl(project-private)
.build();

GcsFilename p_filename = new GcsFilename(bucketName, secureFilename);
GcsOutputChannel writeChannel = gcsService.createOrReplace(p_filename,
options);
writeChannel.write(ByteBuffer.wrap(image.getImageData()));
writeChannel.close();

BlobKey blobKey = blobstoreService.createGsBlobKey(/gs/ +
p_filename.getBucketName() + / + p_filename.getObjectName());

ImagesService imageService = ImagesServiceFactory.getImagesService();
ServingUrlOptions servoptions =
ServingUrlOptions.Builder.withBlobKey(blobKey).secureUrl(true);
String url = imageService.getServingUrl(servoptions);








Alejandro González Rodrigo
*www.nextinit.com* https://www.nextinit.com/
*alejandro.gonza...@nextinit.com alejandro.gonza...@nextinit.com*
*+34  666 57 79 13*


2014-02-21 21:02 GMT+01:00 Bradford Stephens bradfordsteph...@gmail.com:

 Hi there!

 I can't find an example of this that strictly uses REST APIs, so I'm
 asking you all. I'm building a mobile photo-sharing app, with java on the
 server-side.

 I want to:

 -Upload an image to a REST API (preferably served by Endpoints) -- no
 browser
 -Store that image in Google Cloud Storage
 -Retrieve that image's URL and store it in datastore

 The first two have me really puzzled...any example code out there?

 --
 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.


Re: [google-appengine] Wordpress on GAE php

2014-02-26 Thread Amy Unruh
hi,

I'm not familiar with the 'eycatch' plugin, but it may be that it's trying
to write to or read from the 'local' filesystem and might need some config
updates.  This post might be useful:

https://gae-php-tips.appspot.com/2014/01/15/php-app-engine-apps-and-file-system-concepts/
Can you give more detail on the error you're seeing?

Also (as mentioned in that post), make sure you're using the WP App Engine
plugin (see https://developers.google.com/appengine/articles/wordpress ).


On 25 February 2014 03:02, 吉積礼敏 ayato...@yoshidumi.co.jp wrote:


 When I install Wordpress 3.8.1 on GAE PHP with Cloud SQL, It seems run
 almost fairly.
 But when I go to eyecatch page, I can not find any images which is
 uploaded already, nor
 I got error uploading from the page.
 But the file uploaded can be found on media page and I can see it on my
 Cloud Storage.

 What I found storage is below URL causes 400 error which I can see in
 Chrome debug tool

 https://my-wp-project.appspot.com/_ah/upload/?post=1action=edit/AMmfu6Yasdfasdfasdfasdfasdfasd
 But the file is uploaded which I can find on media page.

 Is there any check points or anything I can run eyecatch function properly?

 Wordpress plugin for GAE is 1.3(latest)

 Thanks.

 --
 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.


Re: [google-appengine] Google App Engine Socket API

2014-02-26 Thread Amy Unruh
hi,

The documentation, e.g.
https://developers.google.com/appengine/docs/python/sockets/ , includes
info on billing and quotas.
It's billed as outgoing bandwidth.


On 24 February 2014 13:30, Bishan Buddhika tvbis...@gmail.com wrote:

 I'm calling a URL to get json data from another web site in my Google App
 Engine application. Then i received bellow message.

 The Socket API will be enabled for this application once billing has been
 enabled in the admin console


 So i decided to enable billing. but i have a question.

 For Mail API https://developers.google.com/appengine/docs/quotas#Mail,
 we can send 100 messages for a day for free. Like this are there any Free
 Default Limit for Socket API ?

 How much should i pay per day or per minute for using Socket API ?

  --
 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] Re: Announcing a credit for App Engine applications with new custom domains

2014-02-26 Thread Max Völkel
Such  a great product sleeping in such an unusable state. Don't your 
analytics clearly show a decline in new users?

-- 
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] filter logs by user?

2014-02-26 Thread stephanos
Hey everybody,

we would like to filter our logs by user as well as by company. 

The dashboard provides filtering by Labels and explains that these are 
regular expressions for filtering Apache Combined logs. It also lists a 
few valid labels including user and identd_user.
How can I specify the values for those labels so that App Engine will parse 
them correctly?


Cheers
Stephan

-- 
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] Applications pending deletion forever

2014-02-26 Thread Vinny P
On Sat, Feb 22, 2014 at 6:01 PM, Max Tsepkov m...@yogi.pw wrote:

 I've deleted apps from the new cloud 
 panelhttps://cloud.google.com/console/project and
 it said that those will be deleted after 7 days.
 It is already *14* days pass, but apps are still pending.



You mentioned that the deletion is still pending from the cloud console,
but do you still see the deleted apps listed on the App Engine console?
(i.e. the console that shows up when you go to appspot.com )


-
-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.


Re: [google-appengine] Copyrights / intelectual property

2014-02-26 Thread Vinny P
On Sun, Feb 23, 2014 at 4:52 AM, Benjamin Daniel benjdanie...@gmail.com
 wrote:

 I would like to know if I create an application on App Engine, does google
 will own it ?
 I mean, the intelectual property of the application, can I keep it while
 I'll use google app engine ?



Yes, you still own the intellectual property/code of the application. App
Engine hosts your application, it doesn't take ownership away from you.


-
-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.


Re: [google-appengine] How to tell if Blobstore is down?

2014-02-26 Thread Vinny P
On Tue, Feb 25, 2014 at 3:54 AM, Josh Fox jjv...@gmail.com wrote:

 Since 2 hours ago all Blobstore uploads are returning error 503 Service
 Unavailable, and I've checked the quotas and there's no problem, and I
 haven't deployed any new versions. I checked the System Status page (which
 says everything is normal), but it doesn't seem to have Blobstore in there?
 Where do I check to see if Blobstore is down?



Hi Josh,

I see you sent this email a day ago, are you still experiencing this issue?

In regards to checking to see if services are down, you'll want to
subscribe to this mailing list:
https://groups.google.com/forum/#!forum/google-appengine-downtime-notify

-
-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.


Re: [google-appengine] Wordpress on GAE php

2014-02-26 Thread Vinny P
On Mon, Feb 24, 2014 at 10:02 AM, 吉積礼敏 ayato...@yoshidumi.co.jp wrote:

 When I install Wordpress 3.8.1 on GAE PHP with Cloud SQL, It seems run
 almost fairly.
 But when I go to eyecatch page, I can not find any images which is
 uploaded already, nor
 I got error uploading from the page.
 But the file uploaded can be found on media page and I can see it on my
 Cloud Storage.

 What I found storage is below URL causes 400 error which I can see in
 Chrome debug tool

 https://my-wp-project.appspot.com/_ah/upload/?post=1action=edit/AMmfu6Yasdfasdfasdfasdfasdfasd
 But the file is uploaded which I can find on media page.




Hello ayatoshi,

So to clarify, are you using the eyecatch or eye-catch-thumbnail extension?

If you're using the eye-catch-thumbnail extension, you'll have to open up
the source code for the extension and find the definition for
WP_CONTENT_DIR and change it to your Google Cloud Storage bucket (
gs://my-bucket-here ). Otherwise the extension won't be able to find your
content.

If you're using a different extension, can you supply the source code/a
link to the source code?

Thanks.


-
-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.


Re: [google-appengine] Setting com.cn as a serving domain for Google App Engine application via Google Apps?

2014-02-26 Thread Vinny P
On Mon, Feb 24, 2014 at 12:25 AM, ping liping@gmail.com wrote:

 Do you know of any documentation/tutorial on how to do this, re: using
 Cloudflare as a reverse proxy for an appspot subdomain?
 I tried to do this using a cname record on Cloudflare but it didn't work
 for me...




I don't think there is any tutorial out there; at least I couldn't find one
with a Google search. Your best bet is to contact Cloudflare support; they
can help set it up for you.

Make sure you're using a CNAME record for a subdomain (for instance,
http://www.example.com versus http://example.com )


-
-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.


Re: [google-appengine] Re: Python Google App Engine Shopping Cart

2014-02-26 Thread Vinny P
On Tue, Feb 25, 2014 at 2:49 PM, Garry Keneth Garcia gkmgar...@gmail.com
 wrote:

 This is cool! I am actually planning to build one.



You don't necessarily have to build a shopping cart, there are already a
handful out there: https://www.djangopackages.com/grids/g/ecommerce/

Do you have a specific issue that isn't addressed by currently-available
carts?


-
-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.


Re: [google-appengine] Cannot add appengine app to google apps primary domain

2014-02-26 Thread Vinny P
On Mon, Feb 24, 2014 at 6:25 AM, Tikinou Support supp...@tikinou.com
 wrote:

 I created an app engine app (deployed and working) that I want to add to
 my google apps primary domain.
 I followed the directions in the app engine console (going through
 Administration - Add Domain).
 I typed my domain in and get to the page with the terms and services.
 the page has the title:

 I check the checkbox to accept the terms and services then click activate,
 after a few seconds I get back to the same terms and services page.




Try logging out of all Google services, opening up an Incognito/Private
Browsing window, and logging back in again with your Apps account.
Sometimes the admin console gets confused if you're logged into multiple
accounts simultaneously.

Also, is your Google account an admin for both the App Engine ID and Apps
domain?



-
-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.


Re: [google-appengine] Uknown SID error in Channel API Google App Engine - Python Client

2014-02-26 Thread Vinny P
On Fri, Feb 21, 2014 at 2:25 PM, Shikha kejariwal
shikha.kejari...@gmail.coshikha.kejari...@gmail.com

 However, proposed solution is for Javascript Client. Can someone please
 look at the code and guide me how can I get rid of this error . I guess
 closing the connection and restart would work (as suggested), but I am not
 able to do it either. Any help is appreciated!! Thanks!!



If you want to restart the channel, you can simply open up a new
gae_channel.Client. Can you post the code you're currently using?


Lastly, is there a particular reason why you need to connect to the Channel
API via Python? Channel is intended for rapidly-updating web pages, which
is why only a JS client is available. If you need to connect two App Engine
applications together, you can skip using channels and instead use periodic
url fetches against endpoints, task queues, or even XMPP connections:
https://developers.google.com/appengine/docs/python/xmpp/

-
-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.


Re: [google-appengine] Google App Engine Socket API

2014-02-26 Thread Vinny P
On Sun, Feb 23, 2014 at 8:30 PM, Bishan Buddhika tvbis...@gmail.com wrote:

 I'm calling a URL to get json data from another web site in my Google App
 Engine application. Then i received bellow message.
 For Mail API https://developers.google.com/appengine/docs/quotas#Mail,
 we can send 100 messages for a day for free. Like this are there any Free
 Default Limit for Socket API ?
 How much should i pay per day or per minute for using Socket API ?



As Amy said, Socket API usage is bucketed under outbound bandwidth. But out
of curiosity, is there a particular reason why you need the Sockets API to
pull JSON data? Most web site APIs will work perfectly fine with the
default URL Fetch service.


-
-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.


Re: [google-appengine] How to filter a Query by Date

2014-02-26 Thread Vinny P
On Fri, Feb 21, 2014 at 6:20 AM, Ben Liet benl...@gmail.com wrote:

 I have an object with a startdate and a enddate.
 Now I would like to select all objects where a parameter is between the
 start- and enddate.
 But the datastore supports only one inequality filter per query (excepted
 on one field). So how i could implement a query to get the objects i want?



As you noted, the datastore only supports one inequality filter. In
general, most people get around it by querying on one inequality,
collecting all the matching results, and filtering on the other inequality
within the application. Another way is to use IN queries: see this example
SO answer:
http://stackoverflow.com/questions/14939152/gae-datastore-filter-by-date-interval



-
-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.


Re: [google-appengine] Google Cloud Endpoints give HTTP 204 until u restart instance

2014-02-26 Thread Vinny P
On Tue, Feb 25, 2014 at 9:43 PM, Niels Buekers niels.buek...@gmail.com
 wrote:

 I've got an application on App Engine (Java) with a Cloud SQL db behind
 it. My mobile app connects with it via Cloud Endpoints.

 The issue is, that when I leave an instance idle for a long time, the next
 time I do a request on an endpoint (even with a simple GET request in the
 browser/Postman in Chrome), I almost always get a 204 No Content back. The
 app engine logs just seeems normal. However, once I shutdown the instance,
 and do the request again, I always get the response JSON i need.

 Furthermore, once it DOES respond, it keeps responding until I leave it
 idle for a longer period. Then again I often get a HTTP 204.



The simplest solution is to continuously ping the instance with a cron job:
the continuous stream of fake requests should prevent the instance from
going idle.

With that said, the intent of the 204 No Content reply is that the server
has no new information to send back and that the previously-sent data does
not need to be updated. Is your data source constantly changing? When you
restart your instance and retrieve new response JSON, is it the same or
different than the previously-sent data?


-
-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.


Re: [google-appengine] I cannot setup my appengine appid to have the custom url I want, I think there might be a bug (screenshot proof)

2014-02-26 Thread Vinny P
On Tue, Feb 25, 2014 at 8:41 AM, Nikolas Gauvreau 
nikolasarmstr...@gmail.com wrote:

 I have google apps for universeprojects.com as the primary domain. I have
 added voidspace.ca as an additional managed domain, but I can only set
 appengine apps to use the universeprojects.com domain and not the
 voidspace.ca domain.




Did you add voidspace.ca as an independent domain or as an alias domain
during the original setup process? App Engine can only use domains that are
either the primary domain, or listed as alias domains within the Apps
service.


-
-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.


Re: [google-appengine] Upload image to GCS thorugh REST API / Endpoints

2014-02-26 Thread Vinny P
On Fri, Feb 21, 2014 at 2:02 PM, Bradford Stephens 
bradfordsteph...@gmail.com wrote:

 I want to:
 -Upload an image to a REST API (preferably served by Endpoints) -- no
 browser
 -Store that image in Google Cloud Storage
 The first two have me really puzzled...any example code out there?



Endpoints doesn't accept the multipart/form-data encoding (
http://stackoverflow.com/a/15440083 ) so you can't upload the image
directly to Endpoints. You'll have to configure a separate servlet to
handle the file upload; Alejandro's code will handle that.

On the client side, you can use the standard HttpUrlConnection to open the
upload URL and upload the file via DataOutputStream.


-
-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.


Re: [google-appengine] installation question

2014-02-26 Thread Vinny P
On Sat, Feb 22, 2014 at 1:44 PM, Patrick Lau laupatrick...@gmail.com
 wrote:

 Did the installation screw up somewhere? or is there a reason why there is
 some duplication of stuff? My /usr/local is not in my path apparently.



Can you open up your *.profile* file and check the contents of the PATH
environment variable? The appropriate line will start with *export PATH=*.


-
-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.


Re: [google-appengine] Copyrights / intelectual property

2014-02-26 Thread Benjamin Daniel
So nice !!

Thank you for this lovable answer :)

Le mercredi 26 février 2014 18:38:45 UTC+1, Vinny P a écrit :

 On Sun, Feb 23, 2014 at 4:52 AM, Benjamin Daniel 
 benjda...@gmail.comjavascript:
  wrote:

 I would like to know if I create an application on App Engine, does 
 google will own it ?
 I mean, the intelectual property of the application, can I keep it while 
 I'll use google app engine ?



 Yes, you still own the intellectual property/code of the application. App 
 Engine hosts your application, it doesn't take ownership away from you.
   
  
 -
 -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.


Re: [google-appengine] Have anyone tried to port a java project with heavy framworks, such as struts and spring, to a pure jsp/servlet project?

2014-02-26 Thread de Witte
We have been working with Java and GAE for several years now and so far no 
problems. 

AngularJs + ExtJS 4.0 is a good combo for the front end. Although I prefer 
GWT.

Spring+Maven is a headache even without GAE. We have been avoiding it and 
doing fine.






Op maandag 24 februari 2014 03:11:22 UTC+1 schreef Rafael Sanches:

 Not being updated doesn't mean it doesn't work properly. 

 GAE + java is definitely frustrating, but some of your statements are a 
 bit too broad ;)


 On Sun, Feb 23, 2014 at 12:44 AM, Tapir tapi...@gmail.com 
 javascript:wrote:



 On Sunday, February 23, 2014 1:47:28 PM UTC+8, Rafael Sanches wrote:

 Can you try and let us all know? it may be the solution you're looking 
 for. 


 The Google App Engine module for Play has not been updated for 2 years! :(

 For another one, Objectify , 
 https://code.google.com/p/play-framework-objectify/, the showcase on 
 this page need 15 seconds to load. :(

 The decision is made, I will never use java for web development any more, 
 for many reasons, such as not support hot deploy, large memory consumption, 
 too many configurations, too many hidden elements, and too slow startup on 
 GAE.
  


 On Thu, Feb 20, 2014 at 8:29 PM, Tapir tapi...@gmail.com wrote:



 On Friday, February 21, 2014 5:39:17 AM UTC+8, Rafael Sanches wrote:

 Have you tried playframework? They have optimizations to make your 
 life easier when developing. 

 My life is living hell right now when developing with maven and 
 appengine. The play framework solves that by running their own thing. 

 Read more: 
 http://www.playframework.com/documentation/1.0/gaehttp://www.google.com/url?q=http%3A%2F%2Fwww.playframework.com%2Fdocumentation%2F1.0%2Fgaesa=Dsntz=1usg=AFQjCNFObfH5yu11uniN9ReUNUVgFDtbGg


 I don't think they can bypass the core GAE SDK lib.
 The problem of GAE Java is at the core GAE SDK lib.
  




 On Wed, Feb 19, 2014 at 7:24 PM, Tapir tapi...@gmail.com wrote:



 On Thursday, February 20, 2014 6:26:52 AM UTC+8, Emanuele Ziglioli 
 wrote:

 Great stuff

 hope you don't move to Go too soon!


 Why?
 It is a way of no ways.
  


 On Thursday, 20 February 2014 03:52:33 UTC+13, Tapir wrote:



 On Tuesday, February 18, 2014 6:43:56 PM UTC+8, Tapir wrote:



 On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches 
 wrote:

 very interesting... 

 can you tell me how you did that? in a maven build or only via 
 eclipse?


 neither, I did it manually.

 ok, the new test result:
 1. if I remove all jar files from the war/WEB-INF/lib, the warmup 
 time is about 2.3 seconds. 
 2. if I put the only the core app engine sdk jar file in 
 war/WEB-INF/lib, but doesn't reference it, the warmup time is about 
 2.9 
 seconds.
 3. if I put DatastoreService datastore = DatastoreServiceFactory.
 getDatastoreService(); in the jsp file but do nothing eslse, the 
 warmup time is 3.5 seconds
 4. if I put a query in the default jsp file, the warmup time is 
 4.7 seconds.
 5. if I convert query result as list, the warmup time is 6 seconds.



 made some new tests today. The results are some different.

 ===

 First, the impact of number of lib jar files:
 1. no lib jar files, warm up time = 3 seconds (slower than 
 yesterday)
 2. one core lib jar file, no refs, warm up time = 5 seconds (slower 
 than yesterday)
 3. four core lib jar files (the ones under sdk user folder), no 
 refs, warm up time = 5.7 seconds 
 4. fifty-four jar files (used in my projects) , no refs, warm up 
 time = 6.2 seconds 

 So, obviously,  the core GAE SDK lib files have a big impact on the 
 warm up time.

 

 Second, number of references of core sdk lib.
 1. no refs, 3.5 seconds
 2. fewer refs, 4.4 seconds, by adding DatastoreService datastore = 
 DatastoreServiceFactory.getDatastoreService(); Key 
 guestbookKey = KeyFactory.createKey(Guestbook, guestbookName);
 3. more refs, 5.5 seconds, by adding Query query = new 
 Query(Greeting, guestbookKey).addSort(date, Query.SortDirection.
 DESCENDING); ListEntity greetings = datastore.prepare(query).
 asList(FetchOptions.Builder.withLimit(5));

 So, the first references to core lib class will also increase the 
 warm up time. In this example, only part of core classes are refed, if 
 there are more, the warmup time would be longer.

  

 The performance of GAE instances varies much in the tests. So the 
 result may be not very accurate, but I think the conclusions are 
 reliable.

 Final conclusion: using pure jsp/servlet will not save a GAE java 
 project.
   




  


 so, I think it is very clear that the datastore API is main cause 
 of long warmup time. A simple datastoe calling will increase the 
 warmup 
 time much. In above example, the total increased warmup caused by 
 datastore 
 APIs is more than 3 seconds. 

 Otherwaise, scanning the core app engine sdk jar will cost 0.5 
 second.

 So, @GAE_team, please optimize your 

[google-appengine] Appengine Python seems to be slow after the general release of 1.9

2014-02-26 Thread timh
Hi

I hope this is just an artifact of the roll out of 1.9 and things settle 
down.
 At the moment appengine seems very slow, actions that are normally sub 
200ms is up above 800ms, and things that might take 800ms are somewhere 
between 1300ms and 4000ms.

In the last 6 hours loading latency has also gone from sub 4000ms to around 
nearly 6000ms.

Cheers

Tim

-- 
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: Appengine Python seems to be slow after the general release of 1.9

2014-02-26 Thread timh
Scheduler behavior seems to be all over the shop as well.
Hopefully this will settle down soon :-)

T

On Thursday, February 27, 2014 8:22:13 AM UTC+8, timh wrote:

 Hi

 I hope this is just an artifact of the roll out of 1.9 and things settle 
 down.
  At the moment appengine seems very slow, actions that are normally sub 
 200ms is up above 800ms, and things that might take 800ms are somewhere 
 between 1300ms and 4000ms.

 In the last 6 hours loading latency has also gone from sub 4000ms to 
 around nearly 6000ms.

 Cheers

 Tim


-- 
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] Have anyone tried to port a java project with heavy framworks, such as struts and spring, to a pure jsp/servlet project?

2014-02-26 Thread Rafael Sanches
De Witte,

Do you have a multi module project?

How do you handle that without module? The eclipse plugin doesn't work with
that setup.

thanks
rafa


On Wed, Feb 26, 2014 at 3:45 PM, de Witte wd.dewi...@gmail.com wrote:

 We have been working with Java and GAE for several years now and so far no
 problems.

 AngularJs + ExtJS 4.0 is a good combo for the front end. Although I prefer
 GWT.

 Spring+Maven is a headache even without GAE. We have been avoiding it and
 doing fine.






 Op maandag 24 februari 2014 03:11:22 UTC+1 schreef Rafael Sanches:

 Not being updated doesn't mean it doesn't work properly.

 GAE + java is definitely frustrating, but some of your statements are a
 bit too broad ;)


 On Sun, Feb 23, 2014 at 12:44 AM, Tapir tapi...@gmail.com wrote:



 On Sunday, February 23, 2014 1:47:28 PM UTC+8, Rafael Sanches wrote:

 Can you try and let us all know? it may be the solution you're looking
 for.


 The Google App Engine module for Play has not been updated for 2 years!
 :(

 For another one, Objectify , https://code.google.com/p/
 play-framework-objectify/, the showcase on this page need 15 seconds
 to load. :(

 The decision is made, I will never use java for web development any
 more, for many reasons, such as not support hot deploy, large memory
 consumption, too many configurations, too many hidden elements, and too
 slow startup on GAE.



 On Thu, Feb 20, 2014 at 8:29 PM, Tapir tapi...@gmail.com wrote:



 On Friday, February 21, 2014 5:39:17 AM UTC+8, Rafael Sanches wrote:

 Have you tried playframework? They have optimizations to make your
 life easier when developing.

 My life is living hell right now when developing with maven and
 appengine. The play framework solves that by running their own thing.

 Read more: 
 http://www.playframework.com/documentation/1.0/gaehttp://www.google.com/url?q=http%3A%2F%2Fwww.playframework.com%2Fdocumentation%2F1.0%2Fgaesa=Dsntz=1usg=AFQjCNFObfH5yu11uniN9ReUNUVgFDtbGg


 I don't think they can bypass the core GAE SDK lib.
 The problem of GAE Java is at the core GAE SDK lib.





 On Wed, Feb 19, 2014 at 7:24 PM, Tapir tapi...@gmail.com wrote:



 On Thursday, February 20, 2014 6:26:52 AM UTC+8, Emanuele Ziglioli
 wrote:

 Great stuff

 hope you don't move to Go too soon!


 Why?
 It is a way of no ways.



 On Thursday, 20 February 2014 03:52:33 UTC+13, Tapir wrote:



 On Tuesday, February 18, 2014 6:43:56 PM UTC+8, Tapir wrote:



 On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches
 wrote:

 very interesting...

 can you tell me how you did that? in a maven build or only via
 eclipse?


 neither, I did it manually.

 ok, the new test result:
 1. if I remove all jar files from the war/WEB-INF/lib, the warmup
 time is about 2.3 seconds.
 2. if I put the only the core app engine sdk jar file in
 war/WEB-INF/lib, but doesn't reference it, the warmup time is about 
 2.9
 seconds.
 3. if I put DatastoreService datastore = DatastoreServiceFactory.
 getDatastoreService(); in the jsp file but do nothing eslse,
 the warmup time is 3.5 seconds
 4. if I put a query in the default jsp file, the warmup time is
 4.7 seconds.
 5. if I convert query result as list, the warmup time is 6
 seconds.



 made some new tests today. The results are some different.

 ===

 First, the impact of number of lib jar files:
 1. no lib jar files, warm up time = 3 seconds (slower than
 yesterday)
 2. one core lib jar file, no refs, warm up time = 5 seconds
 (slower than yesterday)
 3. four core lib jar files (the ones under sdk user folder), no
 refs, warm up time = 5.7 seconds
 4. fifty-four jar files (used in my projects) , no refs, warm up
 time = 6.2 seconds

 So, obviously,  the core GAE SDK lib files have a big impact on
 the warm up time.

 

 Second, number of references of core sdk lib.
 1. no refs, 3.5 seconds
 2. fewer refs, 4.4 seconds, by adding DatastoreService datastore
 = DatastoreServiceFactory.getDatastoreService(); Key
 guestbookKey = KeyFactory.createKey(Guestbook, guestbookName);
 3. more refs, 5.5 seconds, by adding Query query = new
 Query(Greeting, guestbookKey).addSort(date, Query.SortDirection.
 DESCENDING); ListEntity greetings =
 datastore.prepare(query).asList(FetchOptions.Builder.withLim
 it(5));

 So, the first references to core lib class will also increase the
 warm up time. In this example, only part of core classes are refed, if
 there are more, the warmup time would be longer.

  

 The performance of GAE instances varies much in the tests. So the
 result may be not very accurate, but I think the conclusions are 
 reliable.

 Final conclusion: using pure jsp/servlet will not save a GAE java
 project.








 so, I think it is very clear that the datastore API is main cause
 of long warmup time. A simple datastoe calling will increase the 
 warmup
 time much. In above example, the total increased warmup 

Re: [google-appengine] Have anyone tried to port a java project with heavy framworks, such as struts and spring, to a pure jsp/servlet project?

2014-02-26 Thread Rafael
De Witte,

Do you have a multi module project?

How do you handle that without module? The eclipse plugin doesn't work with
that setup.

thanks
rafa


On Wed, Feb 26, 2014 at 3:45 PM, de Witte wd.dewi...@gmail.com wrote:

 We have been working with Java and GAE for several years now and so far no
 problems.

 AngularJs + ExtJS 4.0 is a good combo for the front end. Although I prefer
 GWT.

 Spring+Maven is a headache even without GAE. We have been avoiding it and
 doing fine.






 Op maandag 24 februari 2014 03:11:22 UTC+1 schreef Rafael Sanches:

 Not being updated doesn't mean it doesn't work properly.

 GAE + java is definitely frustrating, but some of your statements are a
 bit too broad ;)


 On Sun, Feb 23, 2014 at 12:44 AM, Tapir tapi...@gmail.com wrote:



 On Sunday, February 23, 2014 1:47:28 PM UTC+8, Rafael Sanches wrote:

 Can you try and let us all know? it may be the solution you're looking
 for.


 The Google App Engine module for Play has not been updated for 2 years!
 :(

 For another one, Objectify , https://code.google.com/p/
 play-framework-objectify/, the showcase on this page need 15 seconds
 to load. :(

 The decision is made, I will never use java for web development any
 more, for many reasons, such as not support hot deploy, large memory
 consumption, too many configurations, too many hidden elements, and too
 slow startup on GAE.



 On Thu, Feb 20, 2014 at 8:29 PM, Tapir tapi...@gmail.com wrote:



 On Friday, February 21, 2014 5:39:17 AM UTC+8, Rafael Sanches wrote:

 Have you tried playframework? They have optimizations to make your
 life easier when developing.

 My life is living hell right now when developing with maven and
 appengine. The play framework solves that by running their own thing.

 Read more: 
 http://www.playframework.com/documentation/1.0/gaehttp://www.google.com/url?q=http%3A%2F%2Fwww.playframework.com%2Fdocumentation%2F1.0%2Fgaesa=Dsntz=1usg=AFQjCNFObfH5yu11uniN9ReUNUVgFDtbGg


 I don't think they can bypass the core GAE SDK lib.
 The problem of GAE Java is at the core GAE SDK lib.





 On Wed, Feb 19, 2014 at 7:24 PM, Tapir tapi...@gmail.com wrote:



 On Thursday, February 20, 2014 6:26:52 AM UTC+8, Emanuele Ziglioli
 wrote:

 Great stuff

 hope you don't move to Go too soon!


 Why?
 It is a way of no ways.



 On Thursday, 20 February 2014 03:52:33 UTC+13, Tapir wrote:



 On Tuesday, February 18, 2014 6:43:56 PM UTC+8, Tapir wrote:



 On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches
 wrote:

 very interesting...

 can you tell me how you did that? in a maven build or only via
 eclipse?


 neither, I did it manually.

 ok, the new test result:
 1. if I remove all jar files from the war/WEB-INF/lib, the warmup
 time is about 2.3 seconds.
 2. if I put the only the core app engine sdk jar file in
 war/WEB-INF/lib, but doesn't reference it, the warmup time is about 
 2.9
 seconds.
 3. if I put DatastoreService datastore = DatastoreServiceFactory.
 getDatastoreService(); in the jsp file but do nothing eslse,
 the warmup time is 3.5 seconds
 4. if I put a query in the default jsp file, the warmup time is
 4.7 seconds.
 5. if I convert query result as list, the warmup time is 6
 seconds.



 made some new tests today. The results are some different.

 ===

 First, the impact of number of lib jar files:
 1. no lib jar files, warm up time = 3 seconds (slower than
 yesterday)
 2. one core lib jar file, no refs, warm up time = 5 seconds
 (slower than yesterday)
 3. four core lib jar files (the ones under sdk user folder), no
 refs, warm up time = 5.7 seconds
 4. fifty-four jar files (used in my projects) , no refs, warm up
 time = 6.2 seconds

 So, obviously,  the core GAE SDK lib files have a big impact on
 the warm up time.

 

 Second, number of references of core sdk lib.
 1. no refs, 3.5 seconds
 2. fewer refs, 4.4 seconds, by adding DatastoreService datastore
 = DatastoreServiceFactory.getDatastoreService(); Key
 guestbookKey = KeyFactory.createKey(Guestbook, guestbookName);
 3. more refs, 5.5 seconds, by adding Query query = new
 Query(Greeting, guestbookKey).addSort(date, Query.SortDirection.
 DESCENDING); ListEntity greetings =
 datastore.prepare(query).asList(FetchOptions.Builder.withLim
 it(5));

 So, the first references to core lib class will also increase the
 warm up time. In this example, only part of core classes are refed, if
 there are more, the warmup time would be longer.

  

 The performance of GAE instances varies much in the tests. So the
 result may be not very accurate, but I think the conclusions are 
 reliable.

 Final conclusion: using pure jsp/servlet will not save a GAE java
 project.








 so, I think it is very clear that the datastore API is main cause
 of long warmup time. A simple datastoe calling will increase the 
 warmup
 time much. In above example, the total increased warmup