Re: [google-appengine] is there any way to access data of another app better than rpc?

2014-03-26 Thread thor.djdq
can you just show me the other ways?

i am considering a new app. there is no determined use case now. i would
make up my mind after comparing all the ways.


2014-03-26 13:19 GMT+08:00 Vinny P :

> On Mon, Mar 24, 2014 at 11:27 AM, saintthor  wrote:
>
>> is there any way to access data of another app better than rpc?
>> use python.
>>
>
>
> Is there another way to access application data? Yes.
> Is it better? Depends on what you define as better.
>
> Can you detail your use case a bit more, and discuss why you're looking
> for an alternative to RPCs?
>
> -
> -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/d_9D597_eQo/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/d/optout.
>

-- 
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/d/optout.


Re: [google-appengine] Re: New Pricing

2014-03-26 Thread Alexis
What about Channel API?
It used to be priced $0.01 / channel opened, but I no longer see it 
mentioned in the pricing page (neither as bundled or paid service):
https://cloud.google.com/products/app-engine/

-- 
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/d/optout.


[google-appengine] Re: New Pricing

2014-03-26 Thread bFlood
Search API - did the price increase? simple/complex searches have been 
blended into one price that's closer to the old complex one (?)

On Tuesday, March 25, 2014 2:44:52 PM UTC-4, pdknsk wrote:
>
> The most significant changes I spotted.
>
> Instances hours base price is reduced from $0.08 to $0.05 now.
> Blobstore reduced from $0.13 to $0.026 am I reading this right?! Also 
> applies to Logs and Taskstore, both $0.24 previously.
> Dedicated Memcache price halved.
> Small datastore operations free!
>
> No MB increase for instances unfortunately.
>

-- 
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/d/optout.


Re: [google-appengine] Email from domain alias

2014-03-26 Thread PK
I am not sure what evidence leads Vinny to this conclusion. We send thousands 
of emails to opt-in customers of customers with no spam filtering complaints.

PK

> On Mar 25, 2014, at 11:41 PM, Vinny P  wrote:
> 
> since GAE-sent mail often gets caught in spam filters.

-- 
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/d/optout.


Re: [google-appengine] Re: App Engine VM-based Backends - Trusted Tester Sign-up

2014-03-26 Thread Tapir


On Wednesday, March 26, 2014 8:04:41 AM UTC+8, Wesley C (Google) wrote:
>
> @pdknsk: Correct, this feature has been announced publicly now so thanks 
> for sending a link to the developer docs. To see a summary of all the 
> exciting announcements we made today (2014 Mar 25), we suggest you check 
> the 
> blogpost
>  (
> http://googlecloudplatform.blogspot.com/2014/03/google-cloud-platform-live-blending-iaas-and-paas-moores-law-for-the-cloud.html)
>  
> and go to http://cloud.google.com for more information.
>
> @tapir: Last year at Google I/O 2013, we 
> launched
>  (
> http://googledevelopers.blogspot.com/2013/05/get-started-with-google-cloud-datastore.html)
>  
> the Google Cloud Datastore, which is exactly what you're asking for... 
> access to the Google App Engine datastore without the need for App Engine, 
> accessible from Compute Engine or from anywhere else with an API. The docs 
> can be found at http://developers.google.com/datastore.
>

Thanks for the information! 
 

>
> Keep an eye out on our Google Developers G+ 
> page
>  (https://plus.google.com/+GoogleDevelopers/posts) for continuous updates 
> on exciting new features we announce on this channel for our users! We've 
> also recently recorded several videos introducing the different bits of the 
> Google Cloud Platform so developers can learn more today! You can find them 
> on our G+ page or watch en masse from the YouTube 
> playlist
>  (https://www.youtube.com/playlist?list=PLOU2XLYxmsIIGo6tf3yFhif9VUSzxjYUT
> ).
>
> Cheers,
> -- Wesley
>
> +WesleyChun  / 
> @wescpy
>  | Google Developer Relations | wesc...@google.com  | *Core 
> Python *
>  

-- 
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/d/optout.


Re: [google-appengine] Re: New Pricing

2014-03-26 Thread pdknsk

>
> That's not the case. I have an app that is regularly sending to >100 
> recipients/day. I had never requested that any cap be lifted.
>

That's because old apps are/were not affected. 

-- 
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/d/optout.


Re: [google-appengine] Email from domain alias

2014-03-26 Thread Vinny P
On Wed, Mar 26, 2014 at 9:24 AM, PK  wrote:

> We send thousands of emails to opt-in customers of customers with no spam
> filtering complaints.



That's great to hear!

Unfortunately, some users experience difficulty sending email, especially
to corporate/Microsoft owned services such as Hotmail. See the following
threads for examples/anecdotes:

email sent by GAE would be regarded as spam for some email
services
SendGrid 
Integration
sending mail with google apps account from GAE application ends up in
hotmail spam 
folder

Clearly PK, you're doing something right; maybe your email text is
"unspammy", or perhaps many of your users are adding your email address to
their addressbooks. But for others, using external mail services is much
more straightforward and powerful; SendGrid in particular offers a bunch of
useful analytics on their dashboard.


-
-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/d/optout.


Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-03-26 Thread Vinny P
On Wed, Mar 26, 2014 at 2:40 AM, Sandeep Koduri 
 wrote:

> Tried this long back, its not allowing to add alias domain for domain
> mapping.
>


Then the domain wasn't originally added as an alias domain. When you add
multiple domains to Google Apps, you can choose to set the domains as
independent domains, or as alias domains. See this picture:
http://media.tumblr.com/ac44369e328c1d84d9602319788b81f9/tumblr_inline_mmhz9tyyqC1qz4rgp.png

When you see the above screen, you have to select the alias option.


-
-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/d/optout.


[google-appengine] Project for adding properties to ndb

2014-03-26 Thread Renzo Nuccitelli
 I have searched for a project but didn't find anything. Does anyone know
some project for it?

 I have created one from scratch, but I would prefer contribute with a
existing one:

https://github.com/renzon/ndbext

 Thanks,

-- 
  Renzo Nuccitelli
  www.python.pro.br

-- 
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/d/optout.


Re: [google-appengine] Re: New Pricing

2014-03-26 Thread Chad Vincent
Even BigQuery is cheaper for storage than Datastore now.  Totally helps us, 
since BQ is a better solution for one of our data entities anyway, and the 
rest should fit in the 1GB free for the foreseeable future.

On Tuesday, March 25, 2014 5:24:10 PM UTC-5, Marcel Manz wrote:
>
> Great to see the reduced pricing and that key-only queries become free of 
> charge.
>
> Would have liked to see a decrease on datastore storage pricing too, 
> especially as Google reduced pricing on all other storage services like 
> blob, GCS, Drive etc.
>
> Marcel
>
>

-- 
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/d/optout.


Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-03-26 Thread Chad Vincent
Or you can use the new Cloud DNS service.  Not free, but it claims to do 
what everyone here wanted, including providing an API.

https://cloud.google.com/products/cloud-dns/#features

On Wednesday, March 26, 2014 11:39:32 AM UTC-5, Vinny P wrote:
>
> On Wed, Mar 26, 2014 at 2:40 AM, Sandeep Koduri 
> 
> > wrote:
>
>> Tried this long back, its not allowing to add alias domain for domain 
>> mapping. 
>>
>
>
> Then the domain wasn't originally added as an alias domain. When you add 
> multiple domains to Google Apps, you can choose to set the domains as 
> independent domains, or as alias domains. See this picture: 
> http://media.tumblr.com/ac44369e328c1d84d9602319788b81f9/tumblr_inline_mmhz9tyyqC1qz4rgp.png
>
> When you see the above screen, you have to select the alias option.
>  
>  
> -
> -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/d/optout.


Re: [google-appengine] When will App Engine officially support JDK 8 / Java 8

2014-03-26 Thread Emanuele Ziglioli
without Android supporting InvokeDynamic, how can libraries work? 
Can Java 8 code compile to run on a Java 7 VM?

On Wednesday, 26 March 2014 04:48:37 UTC+13, Jeff Schnitzer wrote:
>
> Everyone please star this issue: 
>
> https://code.google.com/p/googleappengine/issues/detail?id=9537 
>
> I can't wait for Java 8 :) 
>
> Jeff 
>
> On Tue, Mar 25, 2014 at 3:09 AM, Raphael André Bauer 
> > wrote: 
> > Hi, 
> > 
> > I am wondering when I can deploy JDK8 based applications to the App 
> > Engine. Any ETA? 
> > 
> > 
> > Thanks, 
> > 
> > 
> > Raphael 
> > 
> > -- 
> > 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/d/optout. 
>

-- 
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/d/optout.


[google-appengine] Managed VMs - Limitations

2014-03-26 Thread Kinesh Patel

Just trying to get a handle on what we can and can't accomplish with 
managed VM's. 

(1) The demos provided utilized manual scaling. Is auto scaling an option? 
e.g. Will app engine spin up / down based on request load?

(2) Seems like I can install anything on a Managed VM with apt-get. Are 
there any other ways to install things? Can I run a startup script and load 
any arbitrary software from a server of my choosing, for example?

(3) Can I load a persistent disk of my choosing on a managed VM?

(4) When I'm writing backend code, what do I need to consider?  e.g. a 
request is routed to a managed VM with my full software stack installed, 
but I additionally have access to other libraries I've specified. In 
Python, does this mean that I need to ensure my imports are isolated so 
that normal requests don't try to import those dependencies?

(5) Let's say I want to use MongoDB or Cassandra instead of the datastore. 
Is now possible to mount a persistent disk with a different database on a 
managed VM, so I can use any database I want just as efficiently as I use 
the datastore today? (i.e. the VM's are colocated and I dont need to use 
URLFetch to get anything as I have to do now with App Engine).

Any insights are appreciated as the documentation is still not 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/d/optout.


Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-03-26 Thread Balázs Benedek
Sorry, I might have missed something, but how would Google Cloud DNS allow 
skipping Google Apps? Also, this wouldn't cover cases where the DNS server (all 
the other zones?) can't be transferred to GCD?

Thank you,

Balazs

-- 
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/d/optout.


Re: [google-appengine] Uploading App Inventor 2 to GAE: Found more than 100 URLMap entries in application configuration

2014-03-26 Thread Michael Batal
Hi PK, thanks for the reply.

I changed to appengine-java-sdk-1.8.9 and it uploaded without a hitch. I 
was using 1.9.1, which is the latest release. FYI, I'm using Java 1.7.0_51.

Thanks,

Michael


On Tuesday, March 25, 2014 3:46:33 PM UTC-4, PK wrote:
>
> Hi Michael:
>
> See if you can use regular expressions to combine multiple entries into 
> one.
>
> PK
> http://www.gae123.com
>
> On March 25, 2014 at 12:43:47 PM, Michael Batal 
> (mic...@bytedept.com) 
> wrote:
>
> Hello All, 
>
> I'm trying to upload App Inventor 2 to our GAE account. I'm following the 
> instructions found here: How to build App Inventor from the MIT 
> sources
> .
>
> Everything works fine until I try to upload to GAE. I'm able to build it 
> okay and I can run App Inventor on my local machine. But when I try to 
> upload to GAE it fails with the following error:
>
>  com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
> https://appengine.google.com/api/appversion/create?app_id=com-bytedept-app-inventor-2&version=1&;
>
> 400 Bad Request
>
> Error when loading application configuration:
>
> Found more than 100 URLMap entries in application configuration
>
>
>  Unable to update app: Error posting to URL: 
> https://appengine.google.com/api/appversion/create?app_id=com-bytedept-app-inventor-2&version=1&;
>
> 400 Bad Request
>
> Error when loading application configuration:
>
> Found more than 100 URLMap entries in application configuration
>
>
>  Please see the logs 
> [/var/folders/qc/4l37zs2547v0jt05vwkjr_lcgp/T/appcfg9183580475283654947.log]
>  
> for further information.
>  
> Any help would be appreciated.
>
> Regards,
>
> Michael
>  --
> 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/d/optout.
>
>

-- 
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/d/optout.


[google-appengine] Push-to-Deploy does nothing

2014-03-26 Thread Emanuele Ziglioli
Hi everyone, 

I understand this is brand new (for Java at least), very exciting though.

I've managed to push my java repo to the cloud, have set it to run a Java 
Maven Build, pushed again but nothing happens. From the command line I see 
"Execution started" but nothing appears on the Google cloud console. 

If I go to my app's appengine dashboard, I don't see an "Enable 
Push-to-Deploy" button, as they mention 
here.
 
All I see is:


Push-to-Deploy is now available in the Google Cloud Console

Click here to access it.

My app is 3 years old, perhaps that option is available only for new apps?
I've got billing enabled for both Appengine and Cloud Storage.
There's a pom.xml file in the source folder root, I use Maven myself.

Another minor problem: can't push or pull from Egit, the Eclipse plugin due 
to an authentication error with my Google Accoun. I've tried entering one 
of those long String password I use for Android auth, and that doesn't work 
either. It seems Google Cloud perhaps doesn't support that form of 
authentication. 
>From the cloud console apparently I should be able to see a "Generate git 
password" link , 
can't see that.

Regards,
Emanuele


-- 
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/d/optout.


[google-appengine] Re: Managed VMs - Limitations

2014-03-26 Thread Emanuele Ziglioli
Can I add a couple of questions about all this works?
I've watched the keynote.

At a certain point Chris says "we're opening App Engine".
That makes me think that suddenly the VM a GAE instance runs in becomes 
customizable.
But that doesn't seem the case, as far as I understand, it means GAE 
instances will connect to Compute Engine VMs via Websockets, is that how it 
works?

Thanks

On Thursday, 27 March 2014 09:23:41 UTC+13, Kinesh Patel wrote:
>
>
> Just trying to get a handle on what we can and can't accomplish with 
> managed VM's. 
>
> (1) The demos provided utilized manual scaling. Is auto scaling an option? 
> e.g. Will app engine spin up / down based on request load?
>
> (2) Seems like I can install anything on a Managed VM with apt-get. Are 
> there any other ways to install things? Can I run a startup script and load 
> any arbitrary software from a server of my choosing, for example?
>
> (3) Can I load a persistent disk of my choosing on a managed VM?
>
> (4) When I'm writing backend code, what do I need to consider?  e.g. a 
> request is routed to a managed VM with my full software stack installed, 
> but I additionally have access to other libraries I've specified. In 
> Python, does this mean that I need to ensure my imports are isolated so 
> that normal requests don't try to import those dependencies?
>
> (5) Let's say I want to use MongoDB or Cassandra instead of the datastore. 
> Is now possible to mount a persistent disk with a different database on a 
> managed VM, so I can use any database I want just as efficiently as I use 
> the datastore today? (i.e. the VM's are colocated and I dont need to use 
> URLFetch to get anything as I have to do now with App Engine).
>
> Any insights are appreciated as the documentation is still not 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/d/optout.


Re: [google-appengine] Re: New Pricing

2014-03-26 Thread Emanuele Ziglioli
Same here, old app :-)

A large e-mail volume is absolutely essential for our app, that's how 
Iridium works

On Thursday, 27 March 2014 05:03:35 UTC+13, pdknsk wrote:
>
> That's not the case. I have an app that is regularly sending to >100 
>> recipients/day. I had never requested that any cap be lifted.
>>
>
> That's because old apps are/were not affected. 
>

-- 
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/d/optout.


Re: [google-appengine] When will App Engine officially support JDK 8 / Java 8

2014-03-26 Thread husayt
What has Android got to do with Appengine?



On Wednesday, 26 March 2014 20:12:43 UTC, Emanuele Ziglioli wrote:
>
> without Android supporting InvokeDynamic, how can libraries work? 
> Can Java 8 code compile to run on a Java 7 VM?
>
> On Wednesday, 26 March 2014 04:48:37 UTC+13, Jeff Schnitzer wrote:
>>
>> Everyone please star this issue: 
>>
>> https://code.google.com/p/googleappengine/issues/detail?id=9537 
>>
>> I can't wait for Java 8 :) 
>>
>> Jeff 
>>
>> On Tue, Mar 25, 2014 at 3:09 AM, Raphael André Bauer 
>>  wrote: 
>> > Hi, 
>> > 
>> > I am wondering when I can deploy JDK8 based applications to the App 
>> > Engine. Any ETA? 
>> > 
>> > 
>> > Thanks, 
>> > 
>> > 
>> > Raphael 
>> > 
>> > -- 
>> > 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/d/optout. 
>>
>

-- 
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/d/optout.


[google-appengine] Re: New Pricing

2014-03-26 Thread Philip
It would be great if Google would have changed the prices for bandwidth as 
well. Its sad there is no volume discount.

On Tuesday, March 25, 2014 7:44:52 PM UTC+1, pdknsk wrote:
>
> The most significant changes I spotted.
>
> Instances hours base price is reduced from $0.08 to $0.05 now.
> Blobstore reduced from $0.13 to $0.026 am I reading this right?! Also 
> applies to Logs and Taskstore, both $0.24 previously.
> Dedicated Memcache price halved.
> Small datastore operations free!
>
> No MB increase for instances unfortunately.
>

-- 
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/d/optout.


Re: [google-appengine] When will App Engine officially support JDK 8 / Java 8

2014-03-26 Thread Emanuele Ziglioli
I was asking specifically to Jeff, as he's a library designer. I'd love to 
move to Java 8, but with the most deployed java platform not supporting it 
I'm afraid about writing code that can't be reused.
I'd love to see it on GAE, I'd love to see all Java features on it, current 
ones as well as futures ones 

On Thursday, 27 March 2014 12:05:40 UTC+13, husayt wrote:
>
> What has Android got to do with Appengine?
>
>
>
> On Wednesday, 26 March 2014 20:12:43 UTC, Emanuele Ziglioli wrote:
>>
>> without Android supporting InvokeDynamic, how can libraries work? 
>> Can Java 8 code compile to run on a Java 7 VM?
>>
>> On Wednesday, 26 March 2014 04:48:37 UTC+13, Jeff Schnitzer wrote:
>>>
>>> Everyone please star this issue: 
>>>
>>> https://code.google.com/p/googleappengine/issues/detail?id=9537 
>>>
>>> I can't wait for Java 8 :) 
>>>
>>> Jeff 
>>>
>>> On Tue, Mar 25, 2014 at 3:09 AM, Raphael André Bauer 
>>>  wrote: 
>>> > Hi, 
>>> > 
>>> > I am wondering when I can deploy JDK8 based applications to the App 
>>> > Engine. Any ETA? 
>>> > 
>>> > 
>>> > Thanks, 
>>> > 
>>> > 
>>> > Raphael 
>>> > 
>>> > -- 
>>> > 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/d/optout. 
>>>
>>

-- 
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/d/optout.


Re: [google-appengine] Help Solving NameError: name 'guestbook_name' is not defined.

2014-03-26 Thread Dan Sprague
Vinny,

I am using the app.yaml with the libraries added, made the changes MainPage 
handler changes to guestbook.py, and created the HTML index file as 
outlined in the tutorial but, no luck. 

Thanks for your help I appreciate the reply!

On Wednesday, March 26, 2014 2:06:19 AM UTC-4, Vinny P wrote:
>
> On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague 
> > wrote:
>
>> I am walking through the Google Application Engine Python tutorial for 
>> building a guestbook and have it a snag. I am following the instrcutions in 
>> the using templates section of the process and I can't seem to overcome 
>> this simple name issue: NameError: name 'guestbook_name' is not defined. 
>>
>> Here is the error message from Google Application Launcher:
>>
>> File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in 
>> MainPage
>>
>> ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
>>
>> NameError: name 'guestbook_name' is not defined
>>
>> INFO 2014-03-24 00:05:36,343 module.py:621] default: "GET 
>> /?guestbook_name=default_guestbook HTTP/1.1" 500 -
>>
>>  
>
> Is your application loading in the template files that are part of the 
> tutorial? The template files are important because they assign the value of 
> *guestbook_name*. Make sure you've added in all the files listed in 
> https://developers.google.com/appengine/docs/python/gettingstartedpython27/templates.
>
>  
>  
> -
> -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/d/optout.

{% autoescape true %}

  
{% for greeting in greetings %}
  {% if greeting.author %}
{{ greeting.author.nickname() }} wrote:
  {% else %}
   An anonymous person wrote:
  {% endif %}
  {{ greeting.content }}
{% endfor %}


  
  




Guestbook name:
  
  


{{ url_linktext }}

  

{% endautoescape %}

app.yaml
Description: Binary data
import os
import urllib

from google.appengine.api import users
from google.appengine.ext import ndb

import jinja2
import webapp2

JINJA_ENVIRONMENT = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=['jinja2.ext.autoescape'],
autoescape=True)

MAIN_PAGE_FOOTER_TEMPLATE = """\

  
  




Guestbook name:
  
  


%s

  

"""

DEFAULT_GUESTBOOK_NAME = 'default_guestbook'

# We set a parent key on the 'Greetings' to ensure that they are all in the same
# entity group. Queries across the single entity group will be consistent.
# However, the write rate should be limited to ~1/second.

def guestbook_key(guestbook_name=DEFAULT_GUESTBOOK_NAME):
"""Constructs a Datastore key for a Guestbook entity with guestbook_name."""
return ndb.Key('Guestbook', guestbook_name)

class Greeting(ndb.Model):
"""Models an individual Guestbook entry with author, content, and date."""
author = ndb.UserProperty()
content = ndb.StringProperty(indexed=False)
date = ndb.DateTimeProperty(auto_now_add=True)

class MainPage(webapp2.RequestHandler):

def get(self):
guestbook_name = self.request.get('guestbook_name',
  DEFAULT_GUESTBOOK_NAME)
greetings_query = Greeting.query(
ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
greetings = greetings_query.fetch(10)

if users.get_current_user():
url = users.create_logout_url(self.request.uri)
url_linktext = 'Logout'
else:
url = users.create_login_url(self.request.uri)
url_linktext = 'Login'

template_values = {
'greetings': greetings,
'guestbook_name': urllib.quote_plus(guestbook_name),
'url': url,
'url_linktext': url_linktext,
}

template = JINJA_ENVIRONMENT.get_template('index.html')
self.response.write(template.render(template_values))


class Guestbook(webapp2.RequestHandler):

def post(self):
# We set the same parent key on the 'Greeting' to ensure each Greeting
# is in the same entity group. Queries across the single entity group
# will be consistent. However, the write rate to a single entity group
# should be limited to ~1/second.
guestbook_name = self.request.get('guestbook_name',
  DEFAULT_GUESTBOOK_NAME)
greeting = Greeting(parent=guestbook_key(guestbook_name))

if users.get_current

[google-appengine] What to do with a bad instance?

2014-03-26 Thread Alex Burgel
Every so often (once a month or less), I get an instance that just doesn't 
work. Every request fails with some error in library code that indicates 
something is profoundly screwed up, like an import fails or some line of 
obviously correct code throws an exception.

When this has happened in the past, I would get a bunch of error emails and 
I would just shutdown the instance and hope that it was a fluke. Today it 
happened while I was on a flight, so for about 3 hours, this broken 
instance was returning errors for most of the requests hitting my app.

This is the exception (app named changed to protect the innocent):

Traceback (most recent call last):

  File 
"/base/data/home/apps/s~xxx/8.374612775992938880/django/core/handlers/base.py", 
line 101, in get_response
resolver_match = resolver.resolve(request.path_info)

  File 
"/base/data/home/apps/s~xxx/8.374612775992938880/django/core/urlresolvers.py", 
line 318, in resolve
for pattern in self.url_patterns:

  File 
"/base/data/home/apps/s~xxx/8.374612775992938880/django/core/urlresolvers.py", 
line 346, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", 
self.urlconf_module)

  File 
"/base/data/home/apps/s~xxx/8.374612775992938880/django/core/urlresolvers.py", 
line 341, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)

  File 
"/base/data/home/apps/s~xxx/8.374612775992938880/django/utils/importlib.py", 
line 40, in import_module
__import__(name)

  File "/base/data/home/apps/s~xxx/8.374612775992938880/urls.py", line 4, 
in 
from swaagit import admin as swaag_admin, sites

  File "/base/data/home/apps/s~xx/8.374612775992938880/xxx/admin.py", line 
12, in 
from mapreduce.site import site as mapreduce_site

  File "/base/data/home/apps/s~xxx/8.374612775992938880/xxx/mapreduce/site.py", 
line 5, in 
from mapreduce import base_handler

  File 
"/base/data/home/apps/s~xxx/8.374612775992938880/mapreduce/base_handler.py", 
line 44, in 
from mapreduce import model

  File "/base/data/home/apps/s~xxx/8.374612775992938880/mapreduce/model.py", 
line 61, in 
from mapreduce import context

  File "/base/data/home/apps/s~xxx/8.374612775992938880/mapreduce/context.py", 
line 40, in 
from google.appengine.ext import ndb

  File "/base/data/home/runtimes/python27/python27_lib/versions/1/
google/appengine/ext/ndb/__init__.py", line 8, in 
__all__ += tasklets.__all__

NameError: name 'tasklets' is not defined

Clearly a NameError in SDK code means that something is very wrong. Yet, 
this instance happily continued serving traffic for hours.

Are there not some smoke tests or verification tests that are run before an 
instance is put into production? How does everybody else deal with this 
problem?

--Alex

-- 
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/d/optout.


Re: [google-appengine] Help Solving NameError: name 'guestbook_name' is not defined.

2014-03-26 Thread Dan Sprague
I figured it out...I used the cloud playground to examine the guestbook.py 
code and saw that my file had some additional code that needed to be 
removed. Everything is working as expected now.

On Wednesday, March 26, 2014 9:18:00 PM UTC-4, Dan Sprague wrote:
>
> Vinny,
>
> I am using the app.yaml with the libraries added, made the changes 
> MainPage handler changes to guestbook.py, and created the HTML index file 
> as outlined in the tutorial but, no luck. 
>
> Thanks for your help I appreciate the reply!
>
> On Wednesday, March 26, 2014 2:06:19 AM UTC-4, Vinny P wrote:
>>
>> On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague  wrote:
>>
>>> I am walking through the Google Application Engine Python tutorial for 
>>> building a guestbook and have it a snag. I am following the instrcutions in 
>>> the using templates section of the process and I can't seem to overcome 
>>> this simple name issue: NameError: name 'guestbook_name' is not defined. 
>>>
>>> Here is the error message from Google Application Launcher:
>>>
>>> File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in 
>>> MainPage
>>>
>>> ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
>>>
>>> NameError: name 'guestbook_name' is not defined
>>>
>>> INFO 2014-03-24 00:05:36,343 module.py:621] default: "GET 
>>> /?guestbook_name=default_guestbook HTTP/1.1" 500 -
>>>
>>>  
>>
>> Is your application loading in the template files that are part of the 
>> tutorial? The template files are important because they assign the value of 
>> *guestbook_name*. Make sure you've added in all the files listed in 
>> https://developers.google.com/appengine/docs/python/gettingstartedpython27/templates.
>>
>>  
>>  
>> -
>> -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/d/optout.


[google-appengine] Re: What to do with a bad instance?

2014-03-26 Thread timh
Go back through the logs for the instance, and see if it had a 
DeadlineExceeded Error during startup.  

My guess is you are not using warmup requests, and the instance hasn't 
started properly leaving imports in a bad state.

This used to happen a lot in the early days when startup times in python 
could be unreliable on M/S.

The only way to deal with it at the time (because you couldn't kill 
instances) was to wrap the entire handler in a try block, and if you got an 
import error inside the handler
I would allocate enough memory to kill the instance.

Cheers

Tim

On Thursday, March 27, 2014 9:42:27 AM UTC+8, Alex Burgel wrote:
>
> Every so often (once a month or less), I get an instance that just doesn't 
> work. Every request fails with some error in library code that indicates 
> something is profoundly screwed up, like an import fails or some line of 
> obviously correct code throws an exception.
>
> When this has happened in the past, I would get a bunch of error emails 
> and I would just shutdown the instance and hope that it was a fluke. Today 
> it happened while I was on a flight, so for about 3 hours, this broken 
> instance was returning errors for most of the requests hitting my app.
>
> This is the exception (app named changed to protect the innocent):
>
> Traceback (most recent call last):
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/django/core/handlers/base.py",
>  
> line 101, in get_response
> resolver_match = resolver.resolve(request.path_info)
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/django/core/urlresolvers.py",
>  
> line 318, in resolve
> for pattern in self.url_patterns:
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/django/core/urlresolvers.py",
>  
> line 346, in url_patterns
> patterns = getattr(self.urlconf_module, "urlpatterns", 
> self.urlconf_module)
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/django/core/urlresolvers.py",
>  
> line 341, in urlconf_module
> self._urlconf_module = import_module(self.urlconf_name)
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/django/utils/importlib.py", 
> line 40, in import_module
> __import__(name)
>
>   File "/base/data/home/apps/s~xxx/8.374612775992938880/urls.py", line 4, 
> in 
> from swaagit import admin as swaag_admin, sites
>
>   File "/base/data/home/apps/s~xx/8.374612775992938880/xxx/admin.py", 
> line 12, in 
> from mapreduce.site import site as mapreduce_site
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/xxx/mapreduce/site.py", 
> line 5, in 
> from mapreduce import base_handler
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/mapreduce/base_handler.py", 
> line 44, in 
> from mapreduce import model
>
>   File "/base/data/home/apps/s~xxx/8.374612775992938880/mapreduce/model.py", 
> line 61, in 
> from mapreduce import context
>
>   File 
> "/base/data/home/apps/s~xxx/8.374612775992938880/mapreduce/context.py", 
> line 40, in 
> from google.appengine.ext import ndb
>
>   File "/base/data/home/runtimes/python27/python27_lib/versions/1/
> google/appengine/ext/ndb/__init__.py", line 8, in 
> __all__ += tasklets.__all__
>
> NameError: name 'tasklets' is not defined
>
> Clearly a NameError in SDK code means that something is very wrong. Yet, 
> this instance happily continued serving traffic for hours.
>
> Are there not some smoke tests or verification tests that are run before 
> an instance is put into production? How does everybody else deal with this 
> problem?
>
> --Alex
>

-- 
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/d/optout.


Re: [google-appengine] Wordpress website (PHP) shows 'ERR_TOO_MANY_REDIRECTS'

2014-03-26 Thread Vinny P
On Sun, Mar 23, 2014 at 9:30 PM, seongjoo  wrote:

> The problem I need help with is that Wordpress (3.8) installation
> automatically starts with below URL when initially requested but the
> response is 302 ERR_TOO_MANY_REDIRECTS.
>


Are there any additional error messages shown in the development server
console?


-
-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/d/optout.


Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-03-26 Thread Sandeep Koduri
I hope the step in my image is after completing the step in you image. :P


On Wed, Mar 26, 2014 at 10:09 PM, Vinny P  wrote:

> On Wed, Mar 26, 2014 at 2:40 AM, Sandeep Koduri 
>  wrote:
>
> Tried this long back, its not allowing to add alias domain for domain
>> mapping.
>>
>
>
> Then the domain wasn't originally added as an alias domain. When you add
> multiple domains to Google Apps, you can choose to set the domains as
> independent domains, or as alias domains. See this picture:
> http://media.tumblr.com/ac44369e328c1d84d9602319788b81f9/tumblr_inline_mmhz9tyyqC1qz4rgp.png
>
> When you see the above screen, you have to select the alias option.
>
>
> -
> -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/jC_K-YlmXhM/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/d/optout.
>



-- 
Regards,
Sandeep Koduri

-- 
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/d/optout.


Re: [google-appengine] When does new pricing come into effect?

2014-03-26 Thread PK
PricingPrices are effective April 1, 2014
--Panos

> On Mar 26, 2014, at 11:38 PM, timh  wrote:
> 
> Hi
> 
> Has anyone seen the new pricing showing up in their console.  Mine still 
> shows instance hours at $0.08/ Hour
> though the docs now officially say $0.05/ Hour.
> 
> 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/d/optout.

-- 
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/d/optout.


[google-appengine] When does new pricing come into effect?

2014-03-26 Thread timh
Hi

Has anyone seen the new pricing showing up in their console.  Mine still 
shows instance hours at $0.08/ Hour
though the docs now officially say $0.05/ Hour.

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/d/optout.


Re: [google-appengine] is there any way to access data of another app better than rpc?

2014-03-26 Thread Vinny P
On Wed, Mar 26, 2014 at 3:37 AM, thor.djdq  wrote:

> can you just show me the other ways?
> there is no determined use case now.
>


Choosing the best way to access data depends on the use case, so it would
probably be better to figure out the use case first. Nevertheless, since
you asked for alternatives:

1. Write a simple REST API to access and modify the app data. Probably the
best solution since you can customize the API to emit and accept data using
your preferred syntax (JSON or XML, etc).
http://stackoverflow.com/questions/19357298/what-is-difference-between-web-service-and-rpc

2. Assuming the app you want to access is on App Engine, you can directly
connect with the Remote API and use resources under the application's name:
https://developers.google.com/appengine/docs/java/tools/remoteapi

3. Again assuming the app is on App Engine, you can access the different
persistent data services directly. For instance, the datastore can be
accessed through the Cloud Datastore service:
https://developers.google.com/datastore/docs/getstarted/start_java/ . The
Cloud SQL and Cloud Storage services can also be accessed by different
applications by whitelisting their 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-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/d/optout.