[google-appengine] Re: 1.6.0 Prerelease SDKs are out

2011-11-02 Thread Jim
I'd like that, too.Even if I have to delete all the data before doing 
the transfer, it'd be much easier than moving my small apps.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/5yTXazkjcccJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: HRD migration tool now available!

2011-11-10 Thread Jim
I'd like to verify this:

I've taken one app through the migration process following all the steps in 
the instructions.   

It looks like there's one more step: delete the original app.   That way I 
get an application slot back and there's no confusion about which apps are 
active.   

The instructions for deleting an app say it takes 72 hours and the name 
can't be re-used.

My preference would be to "OK, you're migrated, now you can rename foo-hrd 
to foo".   

Any chance of that happening?

Thanks for providing the tool.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/i-_zxc8l_FgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: No Search Solution?! WOW.

2022-03-07 Thread Jim
As I'm sure you are aware,  GAE Standard has the Search service, but this 
is being phased out and no replacement is available on GAE Flex.  

The lack of an integrated Search offering kinda blows a hole in the entire 
"server-less platform" vision.

On Monday, March 7, 2022 at 10:05:57 AM UTC-6 barrado wrote:

> Hi,
>
> As per now there isn't any built-in search solution for Cloud Firestore. 
> But you can submit a feature request for the product team to consider this 
> functionality.
>
> On Sunday, February 27, 2022 at 1:18:51 AM UTC+1 kaan...@gmail.com wrote:
>
>> The title says it all, I was checking the documents to see what the 
>> current intended approach is, assumed Firestore has a searchable field for 
>> full text search at this point
>>
>> But nope, not only that, no direct solution at all
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f1cf8e47-ab08-4ee0-bd83-3fce2a3b4e54n%40googlegroups.com.


[google-appengine] Did last-modified header supported for static files in GAE noe?

2012-02-03 Thread Jim
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Sending SMS

2012-07-02 Thread Jim
I've been very pleased with twilio.com

They have a REST api for sending SMS messages, and it also does VoIP



On Monday, July 2, 2012 6:19:02 AM UTC-5, sharad biradar wrote:
>
> Hi, 
>
> Can we send SMS from Google app engine to cell phone.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/UIQm_DYU1G0J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Google app cron job

2012-10-02 Thread jim
Working on putting my first cron job in play. In my cron.xml, it looks like 
this:


   
  /user/runner
  Run this extract each night / or every 24 hours in the 
early morning, like 3am
  every 24 hours
   


as timing is not critical, just thought that runnng this at night will ease 
the load on the google infrastructure.

Any ideas as to a different  ? or does this look ok ?

thx
jim


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Yzob2rVsuqgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Serious HRD Migration Problem: Mail Recipients Limited

2013-01-22 Thread Jim
I had the same experience when migrating to HRD.  The migration went very 
smoothly otherwise, but what happens is that you move your app to the new 
HRD app instance, and you enable billing.  But it takes about a week for 
the billing plan to kick into place, and in the meantime you're stuck with 
the limit of 100 emails per day.   




On Tuesday, January 22, 2013 10:18:02 AM UTC-6, David Hogg wrote:
>
> I migrated my paid app (app id = happyrituals) from Master/Slave to HRD. 
> Since that time my app has been seriously broken due to a Mail limit of 100.
>
> Beside the limit it indicates in red "Limited" - which appears to indicate 
> a "Safety Limit" of some kind. I don't understand why this limit cropped 
> up. I do have a task queue from which those calls make mail calls. I have 
> tried setting stronger limits on the queues, setting retry limits on the 
> queue, to no avail.
>
> Any suggestions? With each passing day this is becoming a bigger headache 
> for my customers. Is it possible to pay for developer support to get help 
> with a show stopper issue like this? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/BCTKIvVLaUgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Best strategy

2013-03-11 Thread Jim
what about a project where you have extensive UI requirements and want to 
use Google Web Toolkit?  

what about a project where you want to make use of the vast array of 
commercial and open source Java code that exists already?

what about a project where you may want to port to an in-house enterprise 
environment down the road?

these are just three scenarios where Java would most definitely be the 
right answer.  I'm sure there are many others.




On Monday, March 11, 2013 1:16:08 PM UTC-5, Joshua Smith wrote:
>
> It is a very heavyweight solution to a very lightweight problem.
>
> If you look through the archives here for people complaining about startup 
> time, excessive billing, etc., you will find that they are almost all using 
> Java.
>
> IMHO, the only time it makes sense to use Java on GAE is if you have a 
> massive existing code base, and cannot afford to port it; or you need to 
> maintain it in Java for other reasons and don't want to fork. For a new 
> project on GAE, Java is never the right answer.
>
> -Joshua
>
> On Mar 11, 2013, at 2:03 PM, victo...@gmail.com  wrote:
>
> Thanks for the reply Josh, but why not use Java?
>
> On Monday, March 11, 2013 10:44:54 AM UTC-7, victo...@gmail.com wrote:
>>
>>
>> Hello, I was wondering if someone could help me choose the best strategy 
>> for my application in terms of design.I want to use the least amount of 
>> resources as I can and optimize my code. My application is essentially 
>> written in html and javascript. I will use java to access the datastore 
>> (unless there is another more efficient way?). So essentially I will be 
>> storing two main things inside the datastore. A notification status (1 
>> single integer, I am expecting about 200,000 of these to be stored) and 
>> content (5000 ascii characters each expecting about 200,000 of these as 
>> well). They will be access quite frequently (most likely 50,000 
>> notifications and content will be read and updated every 30 mins). I have 
>> read much about optimizing from google here, but I am wondering as well 
>> what people would suggest I do to use the least amount fo resources so I 
>> can compare.
>>
>> Thanks!
>> Cheers
>
>
> -- 
> 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?hl=en.
> 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Best strategy

2013-03-12 Thread Jim
I would have to defer to others with more recent experience using Python on 
GAE.  I wrote a very early GAE/Python app when GAE first launched, but then 
switched to Java when it became available, mostly for the reasons I cited 
in my earlier post.  My early experience with Python was that it also had 
significant cold start times and could be a pig, especially with the Django 
framework.  But like I said, that was over four years ago and I'm sure 
things have changed a lot since then.



On Monday, March 11, 2013 4:38:02 PM UTC-5, victo...@gmail.com wrote:
>
> Thanks for the reply Jim. The things you mentioned below I am not doing, 
> but in terms of reading strings from the data store very frequently and 
> updating them, which is the sole purpose of my app, would you agree in this 
> scenario python is more efficient than Java?
>
> On Monday, March 11, 2013 10:44:54 AM UTC-7, victo...@gmail.com wrote:
>>
>>
>> Hello, I was wondering if someone could help me choose the best strategy 
>> for my application in terms of design.I want to use the least amount of 
>> resources as I can and optimize my code. My application is essentially 
>> written in html and javascript. I will use java to access the datastore 
>> (unless there is another more efficient way?). So essentially I will be 
>> storing two main things inside the datastore. A notification status (1 
>> single integer, I am expecting about 200,000 of these to be stored) and 
>> content (5000 ascii characters each expecting about 200,000 of these as 
>> well). They will be access quite frequently (most likely 50,000 
>> notifications and content will be read and updated every 30 mins). I have 
>> read much about optimizing from google here, but I am wondering as well 
>> what people would suggest I do to use the least amount fo resources so I 
>> can compare.
>>
>> Thanks!
>> Cheers
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Google app-engine, SOAP service endpoint, data store

2013-03-17 Thread Jim
There are some good java libraries for creating and consuming soap web 
services.  I have a java app running on app engine which consumers a soap 
web service; all the binding code was auto-generated from the wsdl so it 
was really a snap to create.  I imagine creating your own end-point 
wouldn't be any harder.  Not sure about python tools that might be there 
for you to use.  That being said, if you're building a new application and 
don't have any legacy considerations, I would think about doing something 
simpler with less overhead than SOAP... maybe RESTful services.  



On Thursday, March 7, 2013 2:45:55 PM UTC-6, Jeff Beck wrote:
>
> Is it possible to create a SOAP service deployed on app engine, that can 
> read/write to the datastore?
>
> I would then build a SOAP client that connects to the soap endpoint on app 
> engine which in turn retrieves data from the datastore.
>
> In fact, I would like to code the SOAP client on Anrdoid/Java.
>
> This is for a proof-of-concept (university project) and would compare SOAP 
> to non-soap data store access on app-engine.
>
> I believe the biggest 'problem' would be that of SOAP on app engine?
>
> I've only found old documents, using older implementations of SOAP than 
> what is currently available.
>
> And help, advice, or pointers would be appreciated.
>
> I am limited (number of servers, etc..) and also have 8 weeks to implement 
> this.
>
> Also, I have programmed a web-app that uses app engine and datastore...
>
> Thank you
>
> Jeffrey Beck
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Email sent but not received on other side

2013-03-19 Thread Jim
It may be related to the SPF record: 
  http://support.google.com/a/bin/answer.py?hl=en&answer=33786




On Wednesday, August 1, 2012 1:54:31 PM UTC-5, Dia Al-Karbalai wrote:
>
> I have this google apps email and I am bcc'ing some people and I send it 
> out, I get no bounce-back messege and no error. And it goes into my sent 
> email.
>
> But it never reaches the other side? Why?
>
> I have another 2 other google apps domain, and those work perfectly. the 
> only difference between this one is just that I bought this domain though 
> google instead of a external domain provider like the other 2
>
> Why cant any of the recipeinets get the email? And yes they checked their 
> spam/junk as well.
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Connecting and querying from external MSSQL Server?

2013-08-27 Thread Jim
If you're truly married to MS SQL you'll need to expose a web service that 
fronts your MS SQL database and call it from your GAE code.  Google also 
now offers a MySQL-based SQL Cloud service that would be easier to get to 
through native language libraries in much the same way you can access the 
normal GAE data store.



On Tuesday, August 27, 2013 2:52:26 AM UTC-5, Sercan Altundas wrote:
>
> Is that possible to connect an external mssql server and query from db 
> using a app engine application written in 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/groups/opt_out.


[google-appengine] Re: Finding all the locations in a given radius with GQL

2013-08-29 Thread Jim
Ranjeet,

I don't think you can do a radius search with GQL, unless they've added 
functionality since I was building code for doing spatial queries a couple 
of years ago. I wound up using the Geo Hash technique which doesn't provide 
a radius search but does let you search in bounding rectangles.  It reduces 
a lat/lon down to a hash value, and you can strip bytes off the right side 
of the hash to search by increasingly larger bounding rectangles.  It was 
the best solution I could find that works with the limitations of the GAE 
database.

Another option that might be available for you to use soon is the new Cloud 
SQL service.  It currently uses MySQL 5.5, but as soon as they upgrade to 
5.6.x you'll be able to use the ST_CONTAINS functions (and other ST_ geo 
functions) in your queries which will do proper spatial queries.  Until 
then the CONTAINS function just does a bounding box search.

Jim



On Wednesday, August 28, 2013 7:26:19 AM UTC-5, Ranjeet sengar wrote:
>
> Hi,
> Im developing my first application on app engine and first post here, so 
> please be gentle :)
>
> Im developing an application where I store location information in the 
> datastore.Im trying to fetch all the points (lat,long) within a specified 
> radius of a given point.
> Similar to this 
> stackoverflow<http://stackoverflow.com/questions/2411528/query-points-within-a-given-radius-in-mysql>
>  question 
> on SQL. I would like to know if the same can be achieved with gql. (similar 
> to http://www.movable-type.co.uk/scripts/latlong-db.html)
>
> Looking forward to your suggestions,
>
> 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: When will we have Google App Engine for .Net

2013-09-11 Thread Jim
we have a saying in the US "when pigs fly"



On Tuesday, September 10, 2013 11:02:14 AM UTC-5, Prashanth Tondapu wrote:
>
> Hi, I am a big fan of Google and Google services. I am a .net developer 
> and have developed a website www.auditiononline.in. This is primarily 
> based on  Youtube embed video content and is currently hosted on Windows 
> azure. The database is pretty small as of now.. and the traffic is next to 
> nil. and I am charged atleast 6$. One of my friend used Google App Engine 
> for his site and he said this kind of charges appeared for him when he had 
> almost 1000 consistent Users.
>
> Really would appreciate if google launches app engine for .Net as soon as 
> possible.
>
> Thanks,
> Prashanth
>

-- 
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: call SOAP webservice from external application

2013-10-03 Thread Jim
Is the app engine app yours?  If so perhaps you could expose your service 
as a RESTful service rather than SOAP since you don't have a SOAP client 
library on your arduino platform.  The REST service will be much simpler to 
consume with basic HTTP programming methods.



On Thursday, October 3, 2013 7:08:14 AM UTC-5, giuseppe giorgio wrote:
>
> i need to write a full http request for invoke a soap webservice hosted on 
> app engine, but i'm not able to send request. I'm programming an arduino 
> borad, and there's no library for invoke webservice (so i need to built it).
> what code should do it's to open an http connection with webservice, then 
> send http request with xml for call service, but if i open connection by 
> using webservice address, nothing works. The code show below it's clear 
> also if you don't know arduino language:
>
>
> char server[] = "arduino-data-server.appspot.com";
>
> Serial.println("\nStarting connection to server...");
>   // if you get a connection, report back via serial:
>   if (client.connect(server, 80)) {
> Serial.println("connected to server");
> // Make a HTTP request:
> client.println("POST arduino-data-server.appspot.com/dataserverHTTP/1.1");
> client.println("Host: www.google.com");
> client.println("Content-Length: nnn");
> client.println("Connection: close");
> client.println();
>   }
> }
>
>
> how can i fix it?
>

-- 
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: ROFLMFAO DynamoDB From Amazon

2013-11-08 Thread Jim
I agree with your comments about using both IAAS and PAAS.  Our application 
does a lot of back-end processing using AWS clusters that we can spin 
up/down on demand for our more intensive batch-oriented analytic updates 
which happen once a week.  Our user interface runs on GAE written in Java 
w/ GWT.Love the near-zero-admin of GAE and auto-scaling, etc for the 
front-end app and real-time meter data analytics that we do.  But for the 
bulk stuff Google doesn't offer anything that matches the flexibilty of AWS 
with services like EMR and the ability to spin up VM's to run apps like R, 
etc.  One size does not fit all requirements.



On Thursday, January 19, 2012 2:55:52 AM UTC-6, André Pankraz wrote:
>
> I find this also strange...you have to precalculculate / estimate your 
> writes / s and pay for that?! 1 $ for 1GB? Wow...
>
>
> But on the other side, you seem to have missed the part where they claim 
> this thing would be nearly as fast as our memcache here. We will see, but:
> We GAE users are at the moment in no position to make a paradoy of 
> anything in the Amazon cloud world.
>
> The less restricted IAAS together with PAAS seems to work much better. 
> Many startups work with Amazon IAAS as foundation to provide PAAS on top of 
> that (Heroku, OpenShift etc). The Open Source community for Amazon is 
> _much_ bigger.  The Google marketing etc. is...other topic ;) In can see 
> where this goes in the long run...*wave*
>

-- 
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: What is the most efficient way to compute a rolling median on appengine?

2013-11-19 Thread Jim
Are you doing a time-series type analysis where you need the rolling median 
value for a specific entity, or do you need the median value across a range 
of entities?



On Tuesday, November 12, 2013 2:07:34 PM UTC-6, Mathieu Simard wrote:
>
> Since there is no appengine solution available such as the Redis atomic 
> list, I'm left wondering how to implement a cost effective rolling median.
> Has anyone come up with a solution that would be more convenient than 
> running a redis instance on Google Compute 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/groups/opt_out.


[google-appengine] Re: What is the most efficient way to compute a rolling median on appengine?

2013-11-21 Thread Jim
missed your comment... this is what we're doing, except we avoid the 1MB 
limitation by storing the data sets in blobs and store the pointer to the 
blob in the entity record


On Wednesday, November 13, 2013 1:20:21 PM UTC-6, Kaan Soral wrote:
>
> A single datastore entity can hold up to 1MB's
>
> How big will a single dataset be?
>
> If it's smaller than 1MB's in summarized format, you could build a queue 
> based solution to handle the >15/s data rate
>
> You could also probably develop something like a tree, with each entity 
> representing a node and storing the data about the leafs etc, it could 
> maybe lead up to a practical median calculator, just an idea, the point is:
>
> as Vinny P stated, the solution is always based on exactly what you are 
> doing
>
> On Tuesday, November 12, 2013 10:07:34 PM UTC+2, Mathieu Simard wrote:
>>
>> Since there is no appengine solution available such as the Redis atomic 
>> list, I'm left wondering how to implement a cost effective rolling median.
>> Has anyone come up with a solution that would be more convenient than 
>> running a redis instance on Google Compute 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/groups/opt_out.


[google-appengine] Re: What is the most efficient way to compute a rolling median on appengine?

2013-11-21 Thread Jim
If data points for each entity are not coming too fast, you could use 
blobstore/gcs to store your time series for each entity in a blob, then 
store a pointer to that blob in your entity in the data store.  updating is 
expensive but can run off a task queue.  retrieval of the blobs is very 
fast, and then you can quicky parse the blob into memory and compute your 
stats on a given entity.  cross entity stats are trickier and require some 
map-reduce-esque processing.

we use this approach for smart-meter analytics where data points for a 
given entity (meter) don't come any faster than once every 15 min... not 
sure if it would work for you.



On Thursday, November 21, 2013 8:12:15 AM UTC-6, Mathieu Simard wrote:
>
> I need the median value for multiple entities but only compared to 
> themselves.
> In the future I will probably create the media across entities by doing a 
> median average.
>
> On Tuesday, November 19, 2013 9:23:59 PM UTC-5, Jim wrote:
>>
>> Are you doing a time-series type analysis where you need the rolling 
>> median value for a specific entity, or do you need the median value across 
>> a range of entities?
>>
>>
>>
>> On Tuesday, November 12, 2013 2:07:34 PM UTC-6, Mathieu Simard wrote:
>>>
>>> Since there is no appengine solution available such as the Redis atomic 
>>> list, I'm left wondering how to implement a cost effective rolling median.
>>> Has anyone come up with a solution that would be more convenient than 
>>> running a redis instance on Google Compute 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/groups/opt_out.


[google-appengine] Re: Transitioning from Java to App Engine

2013-12-10 Thread Jim
We use GAE/J in conjunction with Google Web Toolkit as the UI framework and 
we're very happy with it.  With GWT you do all of your development in Java 
and the toolkit compiles your client-side code down into a browser-specific 
Javascript application.  It has most of the standard UI controls you would 
expect and various 3rd party extensions.  You can also go through JNI and 
extend with native JS code if you need to.



On Sunday, December 8, 2013 11:44:27 PM UTC-6, Daniel Blees wrote:
>
> I'm working on creating a Java application for my sales department to 
> easily look up prices based on various criterion.
>
> I've got a working program in Java, utilizing JComboBox Containers.  
> However, once I got this working, I realized that our limited workstations 
> wouldn't be able to run a Java program through Windows.  Therefore, I'm 
> trying to recreate the program in the Google App Engine, since we can 
> access websites easily.
>
> The issue I'm running into is that Google App Engine doesn't like 
> JComboBox, or any of the Container objects I was using.  The tutorial on 
> the main developer site was useful, but it didn't provide the information I 
> was looking for.
>
> Where can I find more information about creating drop-down menus, or GUIs 
> in general, in Google App Engine?
>
> (I'm using the Google Plugin in Eclipse.)
>

-- 
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: ODBC for the Datastore?

2014-01-07 Thread Jim
I don't think you're going to find anything like that for GAE Data Store; 
the Data Store is a NoSQL database technology, and ODBC, while technically 
a very flexible specification that can be adapted to address a wide range 
of database technologies, really evolved hand-in-hand with SQL databases. 
 The data store and other NoSQL databases don't support a wide range of 
standard SQL constructs such as JOIN's or SUM/COUNT or any other scan type 
of operation.  It is highly unlikely that an app originally written for a 
SQL-based database will work with a NoSQL database without major rework.

If you're transitioning an existing desktop app over to the cloud, I 
suggest you look at cloud-based RDBMS offerings such as Google's Cloud SQL 
offering which is based on MySQL and will offer odbc/jdbc drivers allowing 
you to point existing code at the cloud-based database.  Amazon Web 
Services also has a nice offering called Relational Data Service (RDS) 
which supports MySQL, Oracle and MS SQL databases in the cloud, again with 
traditional driver support.



On Monday, January 6, 2014 8:47:43 AM UTC-6, William Astarita wrote:
>
> Does anything like this exist?  I want to connect to the data store from 
> an MS Access application while I'm transitioning over from a desktop app to 
> a web app I'm building.
>
>
>

-- 
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: Snapchat

2014-01-20 Thread Jim
I've seen many variations of this statement, "Google App Engine is 
expensive!", and it always strikes me as a bit off.  I supppose it depends 
on your perspective and your requirements.

For the past three years I've been running a small start-up building a SaaS 
analytics application.  For the prior 25 years or so I built enterprise 
apps for some well-known software houses.  The last 12 years I was building 
SaaS-based software products serving top-tier global financial 
institutions.  During that time I worked on projects where we built, from 
the ground up, 2 different web-based solutions which wound up serving 
tens-of-thousands of end-users and very large volumes of system-to-system 
(B2B type) transaction volumes.

When we created our infrastructure for these systems we needed multiple 
geographically dispersed data centers, high levels of fault-tolerance 
within any given data center, n-tier architecture, secure systems, scalable 
databases and front-end servers, system, security and network monitoring 
and administration, etc.  When you spec that all out from scratch, you will 
have a hard time doing it for less than several hundred thousand dollars 
capex with big ongoing opex expense.  Any growth beyond your initial 
headroom will require additional capex expenditure and incremental ongoing 
opex.

Depending on the profile of your application and the system load, at some 
point you will pass the threshold of it being cheaper to build and maintain 
your own equivalent infrastructure, but that threshold is very, very high. 
 So it makes me think people who say GAE is 'expensive' are not making a 
comparison such as this.  Maybe they don't really need everything that GAE 
offers.

Or perhaps they are comparing GAE to other cloud offerings such as AWS? 
 Amazon's pricing doesn't seem to be radically different than Google's to 
me, for similar services.  And given that Amazon's PaaS solution is not yet 
as complete at GAE, I think that any complete appliation built on AWS is 
going to require some level of system-engineering.  System engineers are 
not cheap. One of the things we like about GAE is that, at this point in 
our corporate evolution, we can focus entirely on our Customers and our 
Software and not spend money or time configuring hardware, OS and other 
"low level" stuff that we (as application software guys) don't want to mess 
with.  There are very real hard and soft monetary benefits to this. 

Or maybe when people say "expensive" they mean as compared to other "cloud" 
offerings that are more along the lines of rented physical or virtual 
machines.  Yes, some of these can be cheap compared to GAE.  But these are 
really apples-to-oranges comparisons when you consider all the things you 
need to provision a global, "utility-grade" (aspirationally, anyway) SaaS 
offering.  

So I guess this post is a long-winded way of me saying "GAE Expensive? 
 Really?  What exactly do you mean by that?  Compared to what?"

On Monday, January 20, 2014 4:19:54 AM UTC-6, coto wrote:
>
> We all should be surprised, because Google App Engine is very expensive!!
>
> On Sunday, January 19, 2014 5:23:13 AM UTC-3, alex wrote:
>>
>> Why were you surprised?
>
>

-- 
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: Snapchat

2014-01-21 Thread Jim
1970's?  What on earth about my post made you think of the 1970's?   My 
description of geographically redundant, web based applications?  Please 
indeed.

The link you provided is for a LAMP hosting service... basically what I 
described in my third scenario about.  That's apples-vs-oranges as compared 
to GAE.  

I suggest you consult with the Application Architects where you work and 
politely ask them to describe the differences to you.  Clearly nobody here 
is getting through to you and I don't have the time or the inclination.




On Tuesday, January 21, 2014 12:35:13 AM UTC-6, Rafael Sanches wrote:
>
> Guys, 
>
> Please, we're not in 1970 anymore. There is no argue that appengine is the 
> most expensive hosting on earth and possibly the universe.
>
> My company spend $4000 a month with appengine. We could host the same 
> service with $50 in a more powerful environment:
> http://www.hetzner.de/en/hosting/produktmatrix/rootserver-produktmatrix-ex<http://www.google.com/url?q=http%3A%2F%2Fwww.hetzner.de%2Fen%2Fhosting%2Fproduktmatrix%2Frootserver-produktmatrix-ex&sa=D&sntz=1&usg=AFQjCNHB4pohCO2ZKGcxoTG5sY0nc6pvDw>
>
> With $300 we could make it redundant and more reliable and faster than 
> appengine. 
> A dedicated server is also more reliable, because of appengine infamous 
> "hicupps" due to its scheduling system and instance boot time. 
> In one of my services I rent a rack with 20 spaces and it's filled with 
> only 10 severs. It means I can scale my servers with 10 more. That 
> configuration costs $1000. 
> Please, pay attention for 10 dedicated quad-core with 32GB of ram. How 
> much would you pay in appengine for that type of throughput? I did the 
> calculations: $60k. 
>
> Please, it's incomparable price wise. There's no argue and let's not go 
> there :)
>
> thanks
> rafa
>
>
> On Mon, Jan 20, 2014 at 1:44 PM, Jim >wrote:
>
>> I've seen many variations of this statement, "Google App Engine is 
>> expensive!", and it always strikes me as a bit off.  I supppose it depends 
>> on your perspective and your requirements.
>>
>> For the past three years I've been running a small start-up building a 
>> SaaS analytics application.  For the prior 25 years or so I built 
>> enterprise apps for some well-known software houses.  The last 12 years I 
>> was building SaaS-based software products serving top-tier global financial 
>> institutions.  During that time I worked on projects where we built, from 
>> the ground up, 2 different web-based solutions which wound up serving 
>> tens-of-thousands of end-users and very large volumes of system-to-system 
>> (B2B type) transaction volumes.
>>
>> When we created our infrastructure for these systems we needed multiple 
>> geographically dispersed data centers, high levels of fault-tolerance 
>> within any given data center, n-tier architecture, secure systems, scalable 
>> databases and front-end servers, system, security and network monitoring 
>> and administration, etc.  When you spec that all out from scratch, you will 
>> have a hard time doing it for less than several hundred thousand dollars 
>> capex with big ongoing opex expense.  Any growth beyond your initial 
>> headroom will require additional capex expenditure and incremental ongoing 
>> opex.
>>
>> Depending on the profile of your application and the system load, at some 
>> point you will pass the threshold of it being cheaper to build and maintain 
>> your own equivalent infrastructure, but that threshold is very, very high. 
>>  So it makes me think people who say GAE is 'expensive' are not making a 
>> comparison such as this.  Maybe they don't really need everything that GAE 
>> offers.
>>
>> Or perhaps they are comparing GAE to other cloud offerings such as AWS? 
>>  Amazon's pricing doesn't seem to be radically different than Google's to 
>> me, for similar services.  And given that Amazon's PaaS solution is not yet 
>> as complete at GAE, I think that any complete appliation built on AWS is 
>> going to require some level of system-engineering.  System engineers are 
>> not cheap. One of the things we like about GAE is that, at this point in 
>> our corporate evolution, we can focus entirely on our Customers and our 
>> Software and not spend money or time configuring hardware, OS and other 
>> "low level" stuff that we (as application software guys) don't want to mess 
>> with.  There are very real hard and soft monetary benefits to this. 
>>
>> Or maybe when people say "expensive" they mea

Re: [google-appengine] Re: Snapchat

2014-01-21 Thread Jim
Yes, I'm quite aware of the various cloud stacks out there and have worked 
on projects using several of them including AWS and CloudStack.  Glad to 
see you're moving away from your $50 a month claim and it's now at 10 X $50 
a month.  Now let's talk about geographically dispersed services with 
automated fail-over.  Then let's talk about what that good engineer you 
have costs you.  You really want to run your business on a platform with a 
single engineer behind it?  Does he/she get to sleep or go on vacation? 
 What happens when he/she quits?  You sure that cheap little hosting 
provider has the network bandwidth and resiliency you are going to need? 
 Now triple your infrastructure to be able to handle the hoped-for huge 
spike in volume.  Now crunch the numbers again and tell me what the savings 
really is.  It ain't anywhere close to $3,950 a month, that I am sure of.



On Tuesday, January 21, 2014 1:58:56 PM UTC-6, Rafael Sanches wrote:
>
> Jim, 
>
> In 2014 a good engineer can create your own cloud infrastructure with 10 
> machines like the ones I suggested.
>
> Again, I am not saying that I don't like appengine. In fact, I love it and 
> that's why I stick with it. 
> I am saying it's over priced to run a service like Snapchat. I don't think 
> there's any argument there. 
>
>
> Kaan,
>
> This is my gift to you: https://gist.github.com/mufumbo/8547036
>
> It extends all of the appengine image features: "=s/-c" and includes the 
> most useful one: "=h"
>
> Depending on appengine's image serving is a limitation, since "vertical 
> cropping" is extremely useful on many elegant websites. 
>
> For example, play around with: http://c1.picmix.net/61757192=s682=h300 or 
> http://c1.picmix.net/61757192=s300=h600
>
> By the way, another way to reduce server costs is to pay the $400 or $200 
> a month in support. 
> That way you get access to discounted instance hours. It decreased our 
> bill a bit and give access to a place to get feedback when appengine is 
> having problems or when you need to tweak your scheduling and performance 
> parameters that you don't have access from XML config.
>
> About three months ago I spent a whole month optimizing my servers to 
> reduce the costs from $10k to $5k. Even now, I feel it's too overpriced for 
> the performance it's delivering.
>
> thanks
> rafa
>
>
> On Tue, Jan 21, 2014 at 11:30 AM, Kaan Soral 
> > wrote:
>
>> I think he gets it much more than you give him credit for
>>
>> Hetzner example, as I interpret it, and think about it myself, is about 
>> the price of computing/ram/bandwith, although it's not comparable 1:1, it's 
>> important to know how cheap computing and hosting has become over the 
>> years, especially in this last 5-10 years
>>
>> It was really interesting to hear about your story Rafael, it was the 
>> approximate reason why I started this discussion, to learn and speculate 
>> about major services
>>
>> The 2000$ to 300$ cdn comparison is interesting, however no other service 
>> that I know of matches the extreme capabilities of google images service
>> I use the =s/-c resizing/cropping extensively, that's why I could never 
>> easily replace appengine, or the cdn
>>
>> You seem to have lived my worst case scenario, going out of money and 
>> having to ask others for money.
>>
>> Anyway if you don't mind it would be great to learn more about your 
>> product/story, but I'm guessing it's better to keep things as private as 
>> possible :)
>>
>>
>> On Tuesday, January 21, 2014 9:16:18 PM UTC+2, Jim wrote:
>>>
>>> 1970's?  What on earth about my post made you think of the 1970's?   My 
>>> description of geographically redundant, web based applications?  Please 
>>> indeed.
>>>
>>> The link you provided is for a LAMP hosting service... basically what I 
>>> described in my third scenario about.  That's apples-vs-oranges as compared 
>>> to GAE.  
>>>
>>> I suggest you consult with the Application Architects where you work and 
>>> politely ask them to describe the differences to you.  Clearly nobody here 
>>> is getting through to you and I don't have the time or the inclination.
>>>
>>>
>>>
>>>
>>> On Tuesday, January 21, 2014 12:35:13 AM UTC-6, Rafael Sanches wrote:
>>>>
>>>> Guys, 
>>>>
>>>> Please, we're not in 1970 anymore. There is no argue that appengine is 
>>>> the most expensive hos

Re: [google-appengine] Re: Snapchat

2014-01-22 Thread Jim
Rafa,

You are correct that I have a lot of large corporate experience, working 
for good sized commercial software houses.  That's where I had the pleasure 
of building these sorts of highly available, scalable, secure, etc 
platforms from the ground up to host products my teams built.  That's why I 
know how hard, time consuming and expensive it can be to build something 
that begins to approach what GAE offers.

But I have also worked in two start-ups.  One early in my career and now 
for the past three years running my own.  We're using GAE now and I would 
not consider it 'expensive' because we do want and need the things that it 
offers.  I don't want to build on generic LAMP stack and be at the mercy of 
a handful of machines in a rented data center and have to pay a couple of 
systems engineers when I could pay application developers instead who are 
going to bring new functionality to my products.  To me, new functionality 
equals value...systems engineering is something I want to outsource to 
Google.  It's something they've proven themselves to be incredibly good at. 
 We're a very lean startup and I want ALL of our resources focused either 
directly on our Customers or directly on software functionality that will 
directly benefit our Customers.  To me, anything else is extraneous and 
will be outsourced to somebody who can do it better.  In Austin, TX I can't 
even begin to hire a single really good systems engineer for what I'm 
paying Google, and with our business model even when we're blowing out our 
revenue projections we won't even be close then.

But then that's me, our requirements, and our application profile.  

I'm not insulted, I'm just try to stimulate a more meaningful conversation 
than blanket statements that don't take into account all of the real 
factors involved in such a complex decision.  By the way, you never 
answered my questions about what your engineers cost and how that impacts 
your capital issues.  I have a hard time believing the time/value your 
engineering staff spends setting up, configuring, managing and monitoring 
machines doesn't exceed $48,000 per year.  

Is geographically dispersed essential?  Well yeah, if you believe, like I 
do, that you engineer things right from the beginning.  I've been building 
large, complex software products for a LONG time and I've found that it's 
very hard to come back and "fix" or "re-do" things after the momentum gets 
going.  Once things get rolling there will always be many competing demands 
and telling the CEO that you've got to put the brakes on the product 
roadmap for six months so you can migrate to a different stack/data-center 
can be a career-shortening conversation.   If you believe your customers 
will demand a solution that is engineered for scalability and resiliency 
and fault-tolerance, then running in distributed data centers is essential. 
 Maybe not back in the 1970's, but in this century and decade anyway.

Jim



On Tuesday, January 21, 2014 4:33:38 PM UTC-6, Rafael Sanches wrote:
>
> Jim,
>
> It seems you're talking from a point of view of a big corporation. Since 
> snapchat didn't had big funding since short time ago, I was supposed we're 
> talking about startups. Big corporations are another beast where server 
> costs are irrelevant in it's sea of other useless costs and lazy people.
>
> I am talking from the point of view of a startup that struggles with cash 
> flow and find itself obligated to raise capital just to pay server costs. 
>
> I don't know why some people think I am insulting their family when I say 
> that appengine is very expensive for high traffic apps. Can you give me an 
> example where it's not expensive? I am giving my own because I've built 
> high traffic services for appengine, aws, hetzner, rackspace etc. 
>
> Is geographically dispersed services an essential feature for a startup? 
> It's simple till you complicate it. 
>
> thanks
> rafa
>
>
> On Tue, Jan 21, 2014 at 1:50 PM, Jim >wrote:
>
>> Yes, I'm quite aware of the various cloud stacks out there and have 
>> worked on projects using several of them including AWS and CloudStack. 
>>  Glad to see you're moving away from your $50 a month claim and it's now at 
>> 10 X $50 a month.  Now let's talk about geographically dispersed services 
>> with automated fail-over.  Then let's talk about what that good engineer 
>> you have costs you.  You really want to run your business on a platform 
>> with a single engineer behind it?  Does he/she get to sleep or go on 
>> vacation?  What happens when he/she quits?  You sure that cheap little 
>> hosting provider has the network bandwidth and resil

Re: [google-appengine] Re: Snapchat

2014-01-23 Thread Jim
I would suggest that you need to consider the opportunity cost of the time 
you spend diddling bits instead of building something of value to your 
customers.  



On Wednesday, January 22, 2014 2:23:31 PM UTC-6, Rafael Sanches wrote:
>
> I'm the only engineer working on backend, so I pay $0 per year to 
> configure, manage and monitor machines. Startups don't have cash to hire 
> systems engineers. 
>
> In my startup I'm an engineer, not a "systems engineer" or "software 
> engineer" or "bathroom cleaner engineer". 
>
> If people can build code complex code, why they can't build scripts to 
> automate the cloud configuration? Most people have those already built from 
> past jobs anyway.
>
> It seems that you are taking a defensive position from a strict engineer 
> perspective. 
> For a startup to succeed, you might find yourself doing tasks from 
> cleaning bathrooms, sys admin, community management among other things.
> Paying more now so you don't get fired in the future might not be the best 
> option for a startup.
>
> cheers,
> rafa
>
>
> On Wed, Jan 22, 2014 at 5:24 AM, Jim >wrote:
>
>> Rafa,
>>
>> You are correct that I have a lot of large corporate experience, working 
>> for good sized commercial software houses.  That's where I had the pleasure 
>> of building these sorts of highly available, scalable, secure, etc 
>> platforms from the ground up to host products my teams built.  That's why I 
>> know how hard, time consuming and expensive it can be to build something 
>> that begins to approach what GAE offers.
>>
>> But I have also worked in two start-ups.  One early in my career and now 
>> for the past three years running my own.  We're using GAE now and I would 
>> not consider it 'expensive' because we do want and need the things that it 
>> offers.  I don't want to build on generic LAMP stack and be at the mercy of 
>> a handful of machines in a rented data center and have to pay a couple of 
>> systems engineers when I could pay application developers instead who are 
>> going to bring new functionality to my products.  To me, new functionality 
>> equals value...systems engineering is something I want to outsource to 
>> Google.  It's something they've proven themselves to be incredibly good at. 
>>  We're a very lean startup and I want ALL of our resources focused either 
>> directly on our Customers or directly on software functionality that will 
>> directly benefit our Customers.  To me, anything else is extraneous and 
>> will be outsourced to somebody who can do it better.  In Austin, TX I can't 
>> even begin to hire a single really good systems engineer for what I'm 
>> paying Google, and with our business model even when we're blowing out our 
>> revenue projections we won't even be close then.
>>
>> But then that's me, our requirements, and our application profile.  
>>
>> I'm not insulted, I'm just try to stimulate a more meaningful 
>> conversation than blanket statements that don't take into account all of 
>> the real factors involved in such a complex decision.  By the way, you 
>> never answered my questions about what your engineers cost and how that 
>> impacts your capital issues.  I have a hard time believing the time/value 
>> your engineering staff spends setting up, configuring, managing and 
>> monitoring machines doesn't exceed $48,000 per year.  
>>
>> Is geographically dispersed essential?  Well yeah, if you believe, like I 
>> do, that you engineer things right from the beginning.  I've been building 
>> large, complex software products for a LONG time and I've found that it's 
>> very hard to come back and "fix" or "re-do" things after the momentum gets 
>> going.  Once things get rolling there will always be many competing demands 
>> and telling the CEO that you've got to put the brakes on the product 
>> roadmap for six months so you can migrate to a different stack/data-center 
>> can be a career-shortening conversation.   If you believe your customers 
>> will demand a solution that is engineered for scalability and resiliency 
>> and fault-tolerance, then running in distributed data centers is essential. 
>>  Maybe not back in the 1970's, but in this century and decade anyway.
>>
>> Jim
>>
>>
>>
>> On Tuesday, January 21, 2014 4:33:38 PM UTC-6, Rafael Sanches wrote:
>>
>>> Jim,
>>>
>>> It seems you're talking from a point of view of a 

[google-appengine] Re: App engine and Apache POI

2014-01-24 Thread Jim
We use Apache POI in a limited way with App Engine.  As long as you stay 
away from functions that want to use the local file system and I've heard 
you'll get errors if you try to use any of the graphics-related functions. 
 We're just doing basic spreadsheet manipulation... opening existing excel 
files and using the as templates, populating the sheet with data and saving 
it for the user.  It works great for us, and the object model in POI is a 
lot easier to use than JXL which we also got working on GAE but are moving 
away from in favor of POI.

The error you're getting is because POI is trying to create a temporary 
file on the file system... this functionality will not work on App Engine. 
 What you'll need to do is use streaming.  We store Excel files as 
'templates' in Google Cloud Storage, then we read these as an input stream 
and create our POI worksheet from the template.  Then we manipulate the 
worksheet with POI functions and save the new worksheet as a byte array 
output stream which we in turn write back to GCS.

creating the POI object:
InputStream is = new ByteArrayInputStream(ba);
Workbook workBook = new XSSFWorkbook(is);

saving the POI object:
workBook.write(byte_array_output_stream);

... then save the byte_array_output_stream to GCS



On Monday, January 20, 2014 10:17:57 AM UTC-6, Alejandro S. wrote:
>
>
> Hello Friends:
>
> I am working on a project where I have to export data to MS Excel files, 
> but I am having the following error:
>
> org.apache.poi.POIXMLException: java.security.AccessControlException: 
> access denied ("java.io.FilePermission" "/tmp" "write")
>
> I've read for there(a couple of links) that Apache POI does not work with 
> App Engine, so my question is simple. Is this true with the last version of 
> the App Engine?, Otherwise, what considerations do I have to have to make 
> my project works?
>
> Thanks a lot.
> Alejandro 
>
>  
>

-- 
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: Snapchat

2014-01-24 Thread Jim
I think we beat that horse to death!

Good luck to you as well.



On Thursday, January 23, 2014 1:56:05 PM UTC-6, Rafael Sanches wrote:
>
> Jim,
>
> No comments on your comment. Have you read it in facebook headquarters? :)
>
> What would you do if you put all your savings in your startup and there's 
> no more money in the bank? 
> Logically, wouldn't it be good to just reduce the server costs from $10k 
> to $1k? 
>
> Have the best luck with your product, and I hope you arrive to the point 
> where you have these kinds of problems. They are great problems to have.
>
>
> On Thu, Jan 23, 2014 at 9:21 AM, Jim >wrote:
>
>> I would suggest that you need to consider the opportunity cost of the 
>> time you spend diddling bits instead of building something of value to your 
>> customers.  
>>
>>
>>
>> On Wednesday, January 22, 2014 2:23:31 PM UTC-6, Rafael Sanches wrote:
>>
>>> I'm the only engineer working on backend, so I pay $0 per year to 
>>> configure, manage and monitor machines. Startups don't have cash to hire 
>>> systems engineers. 
>>>
>>> In my startup I'm an engineer, not a "systems engineer" or "software 
>>> engineer" or "bathroom cleaner engineer". 
>>>
>>> If people can build code complex code, why they can't build scripts to 
>>> automate the cloud configuration? Most people have those already built from 
>>> past jobs anyway.
>>>
>>> It seems that you are taking a defensive position from a strict engineer 
>>> perspective. 
>>> For a startup to succeed, you might find yourself doing tasks from 
>>> cleaning bathrooms, sys admin, community management among other things.
>>> Paying more now so you don't get fired in the future might not be the 
>>> best option for a startup.
>>>
>>> cheers,
>>> rafa
>>>
>>>
>>> On Wed, Jan 22, 2014 at 5:24 AM, Jim  wrote:
>>>
>>>> Rafa,
>>>>
>>>> You are correct that I have a lot of large corporate experience, 
>>>> working for good sized commercial software houses.  That's where I had the 
>>>> pleasure of building these sorts of highly available, scalable, secure, 
>>>> etc 
>>>> platforms from the ground up to host products my teams built.  That's why 
>>>> I 
>>>> know how hard, time consuming and expensive it can be to build something 
>>>> that begins to approach what GAE offers.
>>>>
>>>> But I have also worked in two start-ups.  One early in my career and 
>>>> now for the past three years running my own.  We're using GAE now and I 
>>>> would not consider it 'expensive' because we do want and need the things 
>>>> that it offers.  I don't want to build on generic LAMP stack and be at the 
>>>> mercy of a handful of machines in a rented data center and have to pay a 
>>>> couple of systems engineers when I could pay application developers 
>>>> instead 
>>>> who are going to bring new functionality to my products.  To me, new 
>>>> functionality equals value...systems engineering is something I want to 
>>>> outsource to Google.  It's something they've proven themselves to be 
>>>> incredibly good at.  We're a very lean startup and I want ALL of our 
>>>> resources focused either directly on our Customers or directly on software 
>>>> functionality that will directly benefit our Customers.  To me, anything 
>>>> else is extraneous and will be outsourced to somebody who can do it 
>>>> better. 
>>>>  In Austin, TX I can't even begin to hire a single really good systems 
>>>> engineer for what I'm paying Google, and with our business model even when 
>>>> we're blowing out our revenue projections we won't even be close then.
>>>>
>>>> But then that's me, our requirements, and our application profile.  
>>>>
>>>> I'm not insulted, I'm just try to stimulate a more meaningful 
>>>> conversation than blanket statements that don't take into account all of 
>>>> the real factors involved in such a complex decision.  By the way, you 
>>>> never answered my questions about what your engineers cost and how that 
>>>> impacts your capital issues.  I have a hard time believing the time/value 
>>>> your engineering staff spends setting up, configuring, managi

Re: [google-appengine] A comparison between Digital Ocean $5 plan and App Engine B$ instance type.

2014-02-19 Thread Jim
Hello Rafa, I have been watching this thread wondering if you might chime 
in :-)

This has been hashed over here many times before.

It seems that some people want "Infrastructure as a Service" and they don't 
put much value on the "Platform as a Service" architecture that Google has 
created here.  Many of them also seem to not place any value on their own 
time, or the time of their Systems Engineering function, or on the 
opportunity cost of the time spent setting up servers and routers and load 
balancers, etc etc etc.  Those people should probably go rent a virtual 
Linux box or two and setup stacks to their hearts content.  

People who want to focus on building software functionality and want the 
underlying platform stack to be a utility-like service probably like GAE.



On Tuesday, February 18, 2014 9:01:52 PM UTC-6, Rafael Sanches wrote:
>
> Hi Barry,
>
> I wish what you are saying was correct. 
>
> I run one of those big services that needed to scale. Unfortunately 
> appengine price goes up as you scale. 
>
> Unfortunately nobody can say that appengine makes sense price wise. It may 
> make sense if it fits your taste and you like google tools. 
> Price wise it's out of discussion, no matter how you put it.
>
> thanks
> rafa
>
>
> On Mon, Feb 17, 2014 at 10:14 AM, Barry Hunter 
> 
> > wrote:
>
>>
>>
>>
>> On Mon, Feb 17, 2014 at 6:01 PM, Tapir > >wrote:
>>
>>>
>>>
>>> On Tuesday, February 18, 2014 1:48:10 AM UTC+8, barryhunter wrote:

 Apples to Oranges. 

 DigitalOcean to Compute Engine would be a fairer comparison. They are 
 both the same 'type' of product. 


 AppEngine isn't a magic 'fit all' solution. Many types of applications 
 you could very definitly run (much) cheaper elsewhere (particularly ones 
 that are small enough to fit in a single VPS). 

 But there certain types of applications that will be 'cheaper' on 
 AppEngine (particularly when consider AppEngine is managed hosting).

>>>
>>> If the free quota provided by App Engine is not considered, I don't 
>>> think there are any types will be cheaper in App Engine.
>>>
>>
>> Imagine if your application was big enough, that it needed say 150 VPS's 
>> to run. 
>>
>> Some of them running memcache, some running apache, some running 
>> elasticsearch, some running couchdb, some running haproxy, some running 
>> logging servers, some running management nodes. Warm redunacy servers.
>>
>> You could perhaps get that very cheap, but you would have to add the cost 
>> of building the system to orcestrate all those 'servers'. Both 
>> coding/developer time to right the tools. But also the system administrator 
>> type to maintain and monitori all those systems. 
>>
>> You could use services like RightScale etc, to manage all those servers. 
>> But that adds another layer of fees and management. 
>>
>>
>> The raw 'hosting' may be cheap, but it doesnt consider all the management 
>> cost. 
>>  
>>
>>  
>>
>>>  
>>> I admit DigitalOcean is an alternative to GCE. But standing at the 
>>> position of Google, the comparison is not unfair. Google charges too 
>>> many for a low cost.
>>>
>>
>> I'm not denying that AppEngine might be expensive, but you can't say that 
>> by just comparing a few numbers for a single VPS. There is a lot more to 
>> consider. 
>>
>>
>> A fairer comparson, would be some sort of managed hosting, something like
>>
>> http://www.rackspace.com/managed-hosting/dedicated-servers/pricing/
>>
>> but that still doesnt consider everything. 
>>  
>>
>>>  
>>>

  


 On Mon, Feb 17, 2014 at 5:38 PM, Tapir  wrote:

>  DigitalOcean: 2.0GHz, 512MB RAM, 20GB SSD, 1TB Bandwidth for free. 
> $5/month
> Google App Engine B4 Instance: 2.4GHz, 512MB, No Hard Disk, Bandwidth 
> needs extra money, $230/month
>
> 230/5 = 46!
>
>  -- 
> You received this message because you are subscribed to the Google 
> Groups "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to google-appengi...@googlegroups.com.
> To post to this group, send email to google-a...@googlegroups.com.
>
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>

  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-appengi...@googlegroups.com .
>>> To post to this group, send email to 
>>> google-a...@googlegroups.com
>>> .
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and s

Re: [google-appengine] A comparison between Digital Ocean $5 plan and App Engine B$ instance type.

2014-02-20 Thread Jim
There are open source projects that would allow you to approximate the 
functionality of BigTable.  I wonder have you put together a business case 
for what it would take you to build it and support it on your own?

Another option I would consider if I were you and only really wanted the 
database of AppEngine, would be to simply build data services (REST or 
whatever) on the AppEngine platform and host the rest elsewhere.  Assuming, 
of course, the architecture of your product would support such a split.



On Thursday, February 20, 2014 4:59:23 AM UTC-6, Tapir wrote:
>
>
>
> On Thursday, February 20, 2014 5:30:23 PM UTC+8, Pertti Kellomäki wrote:
>>
>> On Thu, Feb 20, 2014 at 5:23 AM, Tapir  wrote:
>>>
>>> On Thursday, February 20, 2014 7:58:54 AM UTC+8, Jim wrote:
>>>>
>>>>
>>>> It seems that some people want "Infrastructure as a Service" and they 
>>>> don't put much value on the "Platform as a Service" architecture that 
>>>> Google has created here.  Many of them also seem to not place any value on 
>>>> their own time, or the time of their Systems Engineering function, or on 
>>>> the opportunity cost of the time spent setting up servers and routers and 
>>>> load balancers, etc etc etc.  Those people should probably go rent a 
>>>> virtual Linux box or two and setup stacks to their hearts content.  
>>>>
>>>
>>> If you can provide the details of the cost you mentioned, it will be 
>>> more persuasive, otherwise it looks like an excuse.
>>>
>>
>> Here's my case. I am the only person working on my application, and I do 
>> it full time. 
>>
>> If I were to devote some of my time on setting up and maintaining 
>> infrastructure, it would slow down development of the application features 
>> that customers ultimately pay for. That's opportunity cost, hard to 
>> quantify but very real. If my money runs out before the features are there, 
>> I go bust.
>>
>> The other option would be to keep on developing the application 
>> functionality myself, and hire another guy to take care of the 
>> infrastructure. I am doing this on a shoestring budget, so taking on an 
>> employee would easily quadruple my salary expenses. I don't see any 
>> competent engineer working for someone else on the meager salary I pay 
>> myself. I would not.
>>
>> So if you can explain to me how I can maintain the current speed of 
>> application development and have my own infrastructure without spending any 
>> of my time or money, I'm all ears. Otherwise it is just so much empty talk 
>> as far as I'm concerned. 
>>
> -- 
>> Pertti
>>
>
> Your opinion is there is the requests for the PaaS products. PaaS products 
> simplify more for developers than IaaS. So its price should be higher.
> Ok, although there are also many disadvantages comparing PaaS to IaaS, I 
> agree with you.
>
> What I disagree with you is how higher the price should be. 
> Now the price of the compute unit of App Engine is 10 times of GCE and 
> EC2, 40 times of DigitalOcean.
> I think the price of GCE and EC2 should be half of current which is still 
> more than double of DigitalOcean.
> I think the price if App Engine compute unit should be 1.5-2.0 times of 
> GCE and EC2.
>
> Now, what I worry about is the cost of my app is much higher than the 
> advertisement revenue of my app if Google doesn't provide the free hours 
> any more. 
> Even with the free hours, the cost is still higher than the advertisement 
> revenue in some days past.
> Maybe this is only for Java.
>
> The only thing makes me must use App Engine is, BigTable, nothing else. I 
> like the database so much, I can't find a real competitive alternative for 
> it. 
>
> I don't know what is your situation. Are the free hours enough for you? If 
> there is no free hours any more, can you app survive? Do you app use 
> BigTable heavily?
>  
>

-- 
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: What does the Docker updates bring?

2014-06-11 Thread Jim
At this point it doesn't Docker images are compatible with Compute 
Engine instances, not App Engine



On Wednesday, June 11, 2014 11:04:00 AM UTC-5, Kaan Soral wrote:
>
> I'm wondering how the Docker integration affect AppEngine/usage
>

-- 
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: Following a course and have been told to use Google App engine to display a message in the browser - don't know where to start. Guidance?

2014-06-20 Thread Jim
you want what programmers call a "Hello World" program:

https://developers.google.com/appengine/docs/python/gettingstartedpython27/helloworld






On Sunday, June 8, 2014 2:55:52 PM UTC-5, george. wrote:
>
> Very annoyed TBH as the course didn't say anything about how I'm meant to 
> this, provide and documentation links or guidance. 
>
> However - I'm basically meant to create / download / install Google App 
> engine so that the web page displays 
>
> *Hello, Udacity!*
>
>
> I don't have a clue what I'm doing though. 
>
>
> I've created a project from this link : 
> https://appengine.google.com/start/createapp 
>
> So I've got a Dashboard - but I've no idea where I'm meant to input code - 
> display it in the browser or anything of the sort. 
>
> I'm a beginner programmer, I've written some C and PHP. 
>
> I'm meant to be using the Python version. 
>
> I keep seeing things about the app.yaml file but I don't know what this 
> is, where it's meant to be. Am I meant to create it from scratch / download 
> a template?? 
>
> Any help very much appreciated
>

-- 
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: Sample program to Upload a csv file to Google cloud Storage bucket

2014-07-11 Thread Jim
what language are you using?


On Wednesday, July 9, 2014 5:28:31 PM UTC-5, Sagar Ganapaneni wrote:
>
>
> Hi, i have tried various examples available over the internet, but not 
> successful in uploading a file to GSC bucket. I am able to read the files 
> but not write.
> Please share the sample programs if you any has one.
>

-- 
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: Geospatial/geolocation queries from GAE (or other Cloud products)?

2016-01-05 Thread Jim
Our needs involve displaying embedded maps in our app with location markers 
overlayed on the map.  A given app can have 50,000 or more markers (every 
house in a town) so we can't simply display them all at once.  So, we use 
a tile-based approach that renders only (roughly) the tiles that are 
"visible" based on the zoom level of the embedded map.

To accomplish this with Datastore we use the Geohash algorithm: 
 https://en.wikipedia.org/wiki/Geohash

Geohash converts lat/lon coordinates into a hash, and by removing the 
rightmost digits from the hash you can get bounding rectangles of less 
granularity as you remove more characters from the right of the hash.  In 
this way you can zoom in and out with the map and issue simple Datastore 
queries to retrieve all the records with the matching hash portion.  To 
further improve end-user performance we also pre-render the different 
"tiles" and store them as blobs in GCS.

It isn't pretty like the geospatial queries you could do with Cloud SQL, 
but it works just fine and performs really well.



On Monday, January 4, 2016 at 2:50:44 PM UTC-6, Alex Kerr wrote:
>
> Hi all,
> Wondering how best to implement some basic geolocation stuff using Google 
> Cloud products (and open source if appropriate)
>
> I need to search user records I'm storing in Datastore, which include the 
> user's address (in ordinary human readable text format) to see which other 
> users are within a certain distance from them. Seems I can't do a 
> geospatial search directly on Datastore records but found something that 
> suggests a clever little mashup with Google's Search API: 
> http://ralphbarbagallo.com/2013/05/14/app-engine-geospatial-datastore-search-a-new-way/
>
> Questions:
> 1.) Is there any better (/more standard) way than what's suggested at that 
> link? (I know Cloud SQL allows geospatial searches but ideally I want to 
> use Datastore if possible to store my data in)
> 2.) Geospatial matches (at least using above techniques) need latitude and 
> longitude - are there any Google APIs or open source PHP stuff I could use 
> to convert addresses into lat/lon?
>
> I'm running on PHP AppEngine by the way and need a solution I can 
> implement very quickly and easily if at all possible!
>
> Many thanks for any info/suggestions!
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/02c007b0-e559-4f05-83cc-2ee088f9c9e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Log Viewer shows only Log Level and Datetime Stamp; no log details visible

2016-01-22 Thread Jim
Hi,

Starting just a few minutes ago the Log Viewer stopped working for me.  I 
see a record for each log entry, but all it shows me is the log level and 
the datetime stamp of the entry.  The log details are not shown. 

Is anyone else seeing this behavior?

Jim

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/33b8c72c-a544-4f62-a806-38548fc82afe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] GAE Java bug? Intermittent 500 errors enqueuing tasks inside datastore transaction

2016-01-29 Thread Jim


Hi,


Over the past couple of days I've noticed a large number of 500 errors when my 
java code attempts to enqueue a task inside a datastore transaction.  

partial stack trace:

com.google.appengine.api.taskqueue.TransactionalTaskException
at 
com.google.appengine.api.taskqueue.QueueApiHelper.translateError(QueueApiHelper.java:102)
at 
com.google.appengine.api.taskqueue.QueueApiHelper.translateError(QueueApiHelper.java:159)
at 
com.google.appengine.api.taskqueue.QueueApiHelper$1.convertException(QueueApiHelper.java:55)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:96)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:88)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:88)
at 
com.google.appengine.api.taskqueue.QueueApiHelper.getInternal(QueueApiHelper.java:78)
at com.google.appengine.api.taskqueue.QueueImpl.add(QueueImpl.java:400)
at com.h2oanalytics.server.MainMeterPost.doPost(MainMeterPost.java:151)


the offending statement:

queue.add(withUrl("/default/del_blob").param("key", 
oldkey).countdownMillis(fourteen_days));


I tried posting this to https://code.google.com/p/googleappengine/issues but 
haven't received any feedback or help.  Is anyone else seeing similar behavior? 
 Can someone from Google help me with this?


Jim

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3dce8dda-820b-4d8a-b7a9-1d1aaf04d6b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Create a module for App Engine in Eclipse?

2016-05-31 Thread Jim
Kirtan,

If your app is going to be deployed on App Engine that it must be a web 
app.  There are other Google Cloud offerings that would allow you to 
provision a virtual machine where a true service could run.  On App Engine 
you could use cron jobs to run frequently and do your checking of database 
changes and sending of email updates.  The cron would fire URL requests 
which would be web calls but without any user interface.

Jim





On Monday, May 30, 2016 at 3:04:57 PM UTC-5, Kirtan Thakkar wrote:
>
>
> Hi, I am a newbie in app engine. Trying to create my first app engine 
> project. I am finding it hard to create a module for an app engine. I am 
> trying to create a thread which runs in background 24x7 for some background 
> tasks in Java like, checking database changes to send out gcm messages and 
> email updates. As this is not a web application I read it fits as a module 
> (service) in the app engine environment. I am unable to find any sample / 
> docs to get started with the (default) module/service for the first time.
>
> I am using Eclipse with google plugin. However there isn't any option for 
> creating an app engine module. Only a web app option is there. Any other 
> software/IDE/plugins for creating a module/service?
>
> Am I missing something? Guide me as I am creating it for the first time.
>
> Any reference material/sample for getting started with the module/service 
> (no front-end) on app engine?
>
> Thank you,
> Kirtan
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/22a736dc-039c-4ee4-a54c-fe3d215e700f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to design a daily job for bulk inserts of data

2016-09-19 Thread Jim
I concur with Evan re: backend instances.  I also suggest that you make 
copious use of tasks.  In your step #3, rather than actually inserting each 
row into Cloud SQL, I would drop an individual task onto a push queue for 
each row insert, and then have another process which fires for each task to 
insert an individual row.  Your "main" process which is iterating through 
your parsed data will run a _lot_ faster if it doesn't have to wait on the 
database for each row insert.  If your experience is like ours, you'll find 
that one process parsing a text file and dropping tasks can keep 5-10 
instances busy doing actual database inserts.  Depending on the size of 
your input files, you might also want to consider splitting up the 
processing of your input file, or using map-reduce if your files are truly 
"big".



On Sunday, September 18, 2016 at 9:37:19 AM UTC-5, Niklas Andersson wrote:
>
> I have a bunch of files at Cloud Storage that I need to parse and insert 
> into Cloud SQL once per day.
> The operation takes about an hour on a n1-standard-2 instance, and then 
> ~10mins to insert the data into Cloud SQL.
>
> My idea of design to solve this problem with GAE is:
>
>1. Define a scheduled task in GAE, it does a HTTP request to a URL
>2. Create a URL handler that can respond to the HTTP req mentioned 
>above in GAE, it’s main task would be to boot a GCE instance
>3. The GCE instance would be based on a template where it does a few 
>things automatically at boot:
>   1. Download the file from Cloud Storage
>   2. Parses it
>   3. Inserts the data into Cloud SQL
>   4. Shuts down
>
>
> Would this be the best design to solve the problem?
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e68a4262-158f-4071-8211-b1e22c0a6e57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Doing Totals/aggregates

2017-01-27 Thread Jim
Another option is to use map-reduce against your datastore tables for 
aggregation of truly 'big' data sets.  It's nowhere near as flexible as 
some of the other options mentioned here, but if your requirements are 
fairly static it works great and will allow you to keep your data in one 
place.



On Thursday, January 26, 2017 at 2:52:06 PM UTC-6, George (Cloud Platform 
Support) wrote:
>
> How large can your sales invoice data get in the end? The solutions 
> recommended above may work well for relatively small volumes. If you need 
> to process terabytes of data in the end, Cloud Bigtable 
>  might prove speedier 
> and cost less overall. 
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9fe3d5f5-1995-461b-85cf-1006877f3dad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: FTP alternative

2017-02-09 Thread Jim
"More future-oriented people might resent having to use an FTP server"  Ha, 
well said.

We have a few regularly scheduled FTP pulls that we need to get so we have 
a VM instance start up on a schedule, execute the FTP downloads, push the 
data to our GAE app, then the VM shuts itself down. 




On Wednesday, February 8, 2017 at 5:02:22 AM UTC-6, Louise Elmose Hedegaard 
wrote:
>
> Hi,
>
> I need to connect to a FTP server to fetch files for my app.
> There is no alternative, as the files are from another vendor, which only 
> has the option to add the files to a FTP server.
> I tried using the Java JSch library for a SFTP connection, but as the 
> library creates a new thread when connecting the session this is not an 
> option, as GAE does not support starting new threads either.
>
> Does anybody have suggestions for how I can work around the fact that GAE 
> does not support FTP connections?
>
> Thanks,
> -Louise
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9f443f36-1343-4487-b05c-6f1cdbb3dfe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: FTP alternative

2017-02-13 Thread Jim
Louise,

@Jim: the application on the VM is not a GAE app then?

Correct, in our setup it is running on an Amazon EC2 instance;  we put it 
together back before the days of GCE VMs.  

The app itself is Java using Apache Commons FTPClient.  Yes, it is a lot of 
work for something so simple as a file transfer, which gets us back to the 
original commentary about FTP being archaic.  Understanding how FTP handles 
ports it is quite reasonable that a platform such as GAE cannot support it 
while at the same time providing all the other stuff we love about it. 
 Also understanding some companies can't/won't move away from FTP leads us 
to fun little hacking exercises such as this.  

Distributed data integration can be a dirty business.


On Wednesday, February 8, 2017 at 5:02:22 AM UTC-6, Louise Elmose Hedegaard 
wrote:
>
> Hi,
>
> I need to connect to a FTP server to fetch files for my app.
> There is no alternative, as the files are from another vendor, which only 
> has the option to add the files to a FTP server.
> I tried using the Java JSch library for a SFTP connection, but as the 
> library creates a new thread when connecting the session this is not an 
> option, as GAE does not support starting new threads either.
>
> Does anybody have suggestions for how I can work around the fact that GAE 
> does not support FTP connections?
>
> Thanks,
> -Louise
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f771215a-e4f3-453a-8afa-70b9f3787f2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine >60 seconds backend processing?

2014-09-15 Thread Jim
In addition to breaking your application down into front and back ends, you 
can utilize Task Push Queues.  I highly recommend this approach for 
anything that can be done asynchronously.  



On Monday, September 15, 2014 9:53:27 AM UTC-5, Alejandro Castillo wrote:
>
>
> Hi All,
>
> I'm thinking about creating an App Engine project, but for sure I will 
> need more than 60 seconds to retrieve and process some data.
>
> It's GAE able to do that? May be with modules 
>  can I avoid 
> the 60 second limit?
>
> If modules are not for that purpose... how do you recommend do it?
>
> Thank you very much
>

-- 
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: App Engine >60 seconds backend processing?

2014-09-15 Thread Jim
I forgot to mention... Task Queue Push requests are not subject to the 60 
second timeout limit.  They have a much longer limit... 10 minutes if I 
remember correctly.



On Monday, September 15, 2014 5:49:18 PM UTC-5, Jim wrote:
>
> In addition to breaking your application down into front and back ends, 
> you can utilize Task Push Queues.  I highly recommend this approach for 
> anything that can be done asynchronously.  
>
>
>
> On Monday, September 15, 2014 9:53:27 AM UTC-5, Alejandro Castillo wrote:
>>
>>
>> Hi All,
>>
>> I'm thinking about creating an App Engine project, but for sure I will 
>> need more than 60 seconds to retrieve and process some data.
>>
>> It's GAE able to do that? May be with modules 
>> <https://developers.google.com/appengine/docs/java/modules/> can I avoid 
>> the 60 second limit?
>>
>> If modules are not for that purpose... how do you recommend do it?
>>
>> Thank you very much
>>
>

-- 
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: How can I make App engine stay alive and wait for reading new log files

2014-09-21 Thread Jim
what does a few extra seconds matter?  presumably you have time lags while 
your 250MB log segments are being collected, and you're going to have time 
lag as BigQuery indexes the data after you upload it, and you're going to 
have time lag while you upload the 250MB files.  So you have a few seconds 
for an instance to spin up before you upload.  Your end users will never 
know the difference, will they?  or am I missing something?





On Friday, September 19, 2014 12:27:49 PM UTC-5, Parinya'Pum' 
Hiranpanthaporn wrote:
>
> Hi all,
>
> We are implementing App Engine script. The idea is to read log file and 
> load it into BigQuery. Our log files are uploaded from local logstash with 
> cutoff every 250 MB per file. We want the App engine script to stay alive 
> and wait for new log file to process. Any solution for this?
>
> 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/d/optout.


[google-appengine] Re: Please help me get my site going on app engine

2014-10-09 Thread Jim
PK is correct, Google App Engine is a platform for programmers.

I suggest you check out jAlbum here:  http://jalbum.net/en/

I've used it in the past to publish photo albums and found it to be very 
easy-to-use and full of nifty features.  It will generate web pages of your 
photos for you and publish them.



On Wednesday, October 8, 2014 7:45:10 PM UTC-5, Ian Sands wrote:
>
> Hi all,
> I'm trying to make a small site to display my photography and was having a 
> difficult time finding a decent host. Then I came across app engine and 
> followed a tutorial and managed to publish a simple test site. I'm not tech 
> savy but can manage to make a web page. If I could get a decent site on app 
> engine it would be great to display my photography. But would it be 
> possible to implement social sharing so others can share my photos and a 
> mailing list for anyone who would want updates? I want a simple yet elegant 
> site that will look good and offe visitors a little interactivity. Would 
> bootstrap work on app engine?
>
> I appreciate any help with this, thank you.
> Ian
>

-- 
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: Maintain a connection: Restaurant and Client

2015-01-02 Thread Jim
check out the Channels API

https://cloud.google.com/appengine/docs/python/channel/



On Friday, January 2, 2015 12:00:48 PM UTC-6, Saturnino Mateus wrote:
>
> Hello guys!
> I'm making an a application for restaurant orders with Google App Engine 
> with Python. I need to maintain a connection with the Restaurant Page and 
> Client Page, because, the restaurant need to update the status of his 
> service (Online/Offline), also can happen an exception, like the restaurant 
> be without internet connection.
> ---
> I raised the hypothesis of connecting countless times to the database, but 
> this is not a smart way to solve, because would be very expensive.
> Any suggestions on how I can solve this the smart and simple as possible?
>
> Best Regards!
>

-- 
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: Communicating with GCE (PHP)

2015-01-18 Thread Jim
you could have a process on your GCE instance that periodically polls for 
messages in a queue, or when your GCE instance starts you could open a 
channel and listen for events



On Saturday, January 17, 2015 at 1:40:19 PM UTC-6, Bryan Goldberg wrote:
>
> I have a fresh install of an Ubuntu Compute Engine. I am using the php 
> runtime of google app engine and I was wondering if there was a way to 
> communicate with my GCE without installing apache on my GCE.
>
> If anyone could walk me through or recommend some notes I'd really 
> appreciate it.
>

-- 
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: Communicating with GCE (PHP)

2015-01-18 Thread Jim
sorry, the channels api isn't going to work for you on a GCE instance, 
although you could just use a socket

queues will work for you (pull from your GCE instance)



On Sunday, January 18, 2015 at 1:17:02 PM UTC-6, Jim wrote:
>
> you could have a process on your GCE instance that periodically polls for 
> messages in a queue, or when your GCE instance starts you could open a 
> channel and listen for events
>
>
>
> On Saturday, January 17, 2015 at 1:40:19 PM UTC-6, Bryan Goldberg wrote:
>>
>> I have a fresh install of an Ubuntu Compute Engine. I am using the php 
>> runtime of google app engine and I was wondering if there was a way to 
>> communicate with my GCE without installing apache on my GCE.
>>
>> If anyone could walk me through or recommend some notes I'd really 
>> appreciate it.
>>
>

-- 
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] App Engine Java Map Reduce Completion Callback

2015-01-29 Thread Jim
Hello everyone,

I've just started working with Java Map Reduce on App Engine, and I want to 
take advantage of the Completion Callback function so I can write a servlet 
that processes the final output of my Map Reduce job.  I'd like to drop the 
output data into a task and then persist it into my datastore.  Ikai Lan's 
tutorial has been very helpful to me as I work my way through this, however 
it was written 4 1/2 years ago and the Map Reduce library has progressed a 
lot since then. 

In particular, Ikai's page 
http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engine/ 
shows how to define a URI for a callback after completion of your Map 
Reduce job.  He shows how to define a job in mapreduce.xml which includes a 
setting for mapreduce.appengine.donecallback.url.   However, with the 
version I'm using, configuration of jobs is done in code using the 
MapReduceSpecification builder.  I can't find any reference there or in any 
of the other configuration objects for input, mapper, reducer, output, etc. 
to set a URI callback like Ikai describes when using the old mapreduce.xml 
config file.

I have a feeling I'm overlooking something simple.  Can somebody point me 
in the right direction?

If the callback method is no longer available, I'm thinking a custom output 
method would be the right place to capture my final output and drop to the 
task queue.  Any other ideas?

Thanks for your help,

Jim

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cf47c5eb-f8ad-4376-90c7-86e44549f3d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] App Engine Java Map Reduce Completion Callback

2015-02-06 Thread Jim
Looks like that is exactly what I need.

Thank you.



On Wednesday, February 4, 2015 at 4:10:32 PM UTC-6, Tom Kaitchuck wrote:
>
> You can use pipelines: 
> https://github.com/GoogleCloudPlatform/appengine-pipelines
> to chain things to run after a MR job. One of the included examples does 
> this:
>
> https://github.com/GoogleCloudPlatform/appengine-mapreduce/blob/master/java/example/src/com/google/appengine/demos/mapreduce/entitycount/ChainedMapReduceJob.java
>
> On Thu, Jan 29, 2015 at 10:21 AM, Jim > 
> wrote:
>
>> Hello everyone,
>>
>> I've just started working with Java Map Reduce on App Engine, and I want 
>> to take advantage of the Completion Callback function so I can write a 
>> servlet that processes the final output of my Map Reduce job.  I'd like to 
>> drop the output data into a task and then persist it into my datastore.  
>> Ikai Lan's tutorial has been very helpful to me as I work my way through 
>> this, however it was written 4 1/2 years ago and the Map Reduce library has 
>> progressed a lot since then. 
>>
>> In particular, Ikai's page 
>> http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engine/
>>  
>> shows how to define a URI for a callback after completion of your Map 
>> Reduce job.  He shows how to define a job in mapreduce.xml which includes a 
>> setting for mapreduce.appengine.donecallback.url.   However, with the 
>> version I'm using, configuration of jobs is done in code using the 
>> MapReduceSpecification builder.  I can't find any reference there or in any 
>> of the other configuration objects for input, mapper, reducer, output, etc. 
>> to set a URI callback like Ikai describes when using the old mapreduce.xml 
>> config file.
>>
>> I have a feeling I'm overlooking something simple.  Can somebody point me 
>> in the right direction?
>>
>> If the callback method is no longer available, I'm thinking a custom 
>> output method would be the right place to capture my final output and drop 
>> to the task queue.  Any other ideas?
>>
>> Thanks for your help,
>>
>> Jim
>>
>> -- 
>> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/cf47c5eb-f8ad-4376-90c7-86e44549f3d6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/cf47c5eb-f8ad-4376-90c7-86e44549f3d6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cfe7fffb-15df-4b09-94da-d19734ad7e62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can I use an alias to send emails with the mail api?

2015-02-09 Thread Jim
I'm not certain of every circumstance where this will work, but this is how 
we do it:

If you set up nore...@mydomain.com as a Developer on your project then 
you'll be able to send emails "from" that address.  You can just setup a 
Google Accounts account for nore...@mydomain.com and then invite the 
account to be a Developer on your project; no GApps account required.



On Monday, February 9, 2015 at 3:46:51 AM UTC-6, John Louis Del Rosario 
wrote:
>
>
> Say I have 'ad...@mydomain.com ' added as an admin to my 
> project, and it has an alias named 'nor...@mydomain.com '. 
> Will I be able to send emails from my project as 'nor...@mydomain.com 
> '? Or does noreply need to be a real GApps account?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/47ab82f9-7891-4d2a-a5b6-60ee2f272a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can I use an alias to send emails with the mail api?

2015-02-10 Thread Jim
This page describes the differences in detail:  
https://support.google.com/accounts/answer/72709?hl=en

In a nutshell, when using Google Apps you own the domain and sign up for 
Google Apps (email, docs, calendar, etc) for your business.  Your email 
service is hosted on Google's gmail infrastructure.

With a simple Google Account you can sign up using any old email address 
hosted anywhere and Google send a confirmation email to the address that 
you specify.  Once you click a link in the confirmation email your Google 
Account is activated and you can then use the GAE dashboard to invite the 
account to be a developer on your app.




On Tuesday, February 10, 2015 at 4:39:16 AM UTC-6, John Louis Del Rosario 
wrote:
>
> Sorry, I'm not an admin so I'm not familiar with the terms, but what's the 
> difference between a "Google Accounts account" and a "GApps account"? We 
> use GApps, doesn't that make our Google accounts GApps accounts by default?
>
> Thanks
>
> On Tuesday, February 10, 2015 at 4:18:24 AM UTC+8, Jim wrote:
>>
>> I'm not certain of every circumstance where this will work, but this is 
>> how we do it:
>>
>> If you set up nor...@mydomain.com as a Developer on your project then 
>> you'll be able to send emails "from" that address.  You can just setup a 
>> Google Accounts account for nor...@mydomain.com and then invite the 
>> account to be a Developer on your project; no GApps account required.
>>
>>
>>
>> On Monday, February 9, 2015 at 3:46:51 AM UTC-6, John Louis Del Rosario 
>> wrote:
>>>
>>>
>>> Say I have 'ad...@mydomain.com' added as an admin to my project, and it 
>>> has an alias named 'nor...@mydomain.com'. Will I be able to send emails 
>>> from my project as 'nor...@mydomain.com'? Or does noreply need to be a 
>>> real GApps account?
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/145860dc-a0a1-4e83-b710-0a1eb1f95da0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: how to convert ppt slides to images in google app engine, i am using apache POI, which in turn uses java.awt and bufferedimage classes that is not supported in google app engine

2015-04-12 Thread Jim
We've made limited use of POI on GAE, but as you say the classes that use 
the java.awt package will not work.  We just need to read/write Excel and 
Word documents for which it works fine.

Have you looked at Google Computer Engine?  I imagine you can get the full 
POI library to work there (you get a complete virtual machine much like AWS 
EC2 or Azure Virtual Machines).



On Saturday, April 11, 2015 at 9:46:05 PM UTC-5, Abhishek Jaiswal wrote:
>
> I am creating a google app engine project which aim is to convert ppt/pptx 
> file slides to images and store these images in blobstore, i am using 
> apache POI XMLSlideShow class to read slides, since the converion uses 
> java.awt package which is not supported in app engine, searched a lot even 
> not found in stackoverflow, thinking of to migrate to windows azure.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/444bd4b9-3217-4764-aafe-932df953f3e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to send emails using Mail Service

2015-05-10 Thread Jim
Once you get the mail api working, you can send message from 
'ad...@mydomain.com' by first setting that account up as a 'developer' of 
your app (Administration/Permissions).  Adding an account as a Developer of 
your app initiates a confirmation email from GAE, so you'll need access to 
that account's email.



On Saturday, May 9, 2015 at 2:35:15 PM UTC-5, Jimin Park wrote:
>
> I want to be able to send emails out from my GAE app.
> My personal email is registered with the permission "Is Owner"
> I am using this as the from email following the example on this page.
> https://cloud.google.com/appengine/docs/java/mail/
> I tried sending the email with my application deployed to GAE.
>
> I get an error message and getting the following exception
> java.net.SocketException: Permission denied: Attempt to access a blocked 
> recipient without permission.
>
> I am just trying send a dummy email to test it out.
>
> Also if I eventually get this working and I want to use some generic 
> purpose email like ad...@mydomain.com , how do I achieve 
> this?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7dc20762-fca7-44f4-86c2-0f594916fc11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to server video content fast

2015-07-02 Thread Jim
Ankur,

I use that same basic approach to serve thousands of blobs per day in my 
app, and the average response time in the app engine logs is 15ms.  The 
blobs I'm serving are text data and they vary in size from a few hundred 
bytes  to 1MB and larger.  The average size is probably around 200KB.  

I wonder if anyone can comment on the possibility that the blobstore 
service takes longer to serve video content than it does text content.  I 
doubt it, but I suppose it is possible.

Are you sure that the latency you're seeing is actually in app engine and 
not perhaps in network transit or even in your browser while it loads a 
viewer for that mp4 content?

Jim




On Thursday, July 2, 2015 at 11:25:23 AM UTC-5, Ankur Jatt wrote:
>
> Currently I'm using below class to serve videos:
>
> class VelfieVideoHandler(blobstore_handlers.BlobstoreDownloadHandler):
>
> def get(self, blobKey):
> blobKey = BlobKey(blobKey)
> blobinfo = blobstore.blobstore.BlobInfo(blobKey)
> self.send_blob(blobKey,content_type="""video/mp4""")
>
> But the problem is: its taking atleast 2 seconds to response even though 
> the video size is 100KB.
> I test this code on 4Mbps speed and from Mumbai.
>
> How can I optimize it?
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b81e373b-bcb0-4b34-8823-d45356f00e01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to server video content fast

2015-07-04 Thread Jim
It looks like you're losing a half second in the response phase, which is 
probably network transit time from the app engine server to Mumbai.  Last 
time I checked the only options for specifying the region for deployment 
with app engine were US and Europe.  Do you see that same ~500ms latency 
hit on other types of content coming from the US?

But your big hit is in the Load Event which I assume is where your video 
player is loading.  What player are you using?  Could you get better 
performance from another video player?  Could you pre-load the video player 
while your user is busy doing something else so that he/she doesn't 
experience the load time as a delay?




On Friday, July 3, 2015 at 3:56:07 AM UTC-5, Ankur Jatt wrote:
>
> Hello Jim,
> Well when I saw the response time from GAE than its same around from 
> 15ms-80ms. ANd the response metrics I attached, plz have a look. The main 
> thing is browser is taking too much time to parse content and, as you can 
> see in attached file. But I'm unable to figure out how to solve this 
> problem.
>
>
> On Friday, July 3, 2015 at 12:51:22 AM UTC+5:30, Jim wrote:
>>
>> Ankur,
>>
>> I use that same basic approach to serve thousands of blobs per day in my 
>> app, and the average response time in the app engine logs is 15ms.  The 
>> blobs I'm serving are text data and they vary in size from a few hundred 
>> bytes  to 1MB and larger.  The average size is probably around 200KB.  
>>
>> I wonder if anyone can comment on the possibility that the blobstore 
>> service takes longer to serve video content than it does text content.  I 
>> doubt it, but I suppose it is possible.
>>
>> Are you sure that the latency you're seeing is actually in app engine and 
>> not perhaps in network transit or even in your browser while it loads a 
>> viewer for that mp4 content?
>>
>> Jim
>>
>>
>>
>>
>> On Thursday, July 2, 2015 at 11:25:23 AM UTC-5, Ankur Jatt wrote:
>>>
>>> Currently I'm using below class to serve videos:
>>>
>>> class VelfieVideoHandler(blobstore_handlers.BlobstoreDownloadHandler):
>>>
>>> def get(self, blobKey):
>>> blobKey = BlobKey(blobKey)
>>> blobinfo = blobstore.blobstore.BlobInfo(blobKey)
>>> self.send_blob(blobKey,content_type="""video/mp4""")
>>>
>>> But the problem is: its taking atleast 2 seconds to response even though 
>>> the video size is 100KB.
>>> I test this code on 4Mbps speed and from Mumbai.
>>>
>>> How can I optimize it?
>>>
>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/05567a2a-c0a5-40c5-944e-71e6537d4d9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Is it necessary to perform backup data and stored them in non Google server

2015-07-19 Thread Jim
Cheok,

I had the same question, so I thought about the scenarios which might lead 
me to need to restore from backup.  I'm sure there are other scenarios, but 
my list includes these:

1) Development / testing purposes moving data from one environment to 
another
2) A failure in the GAE environment requires me to restore data to new 
hardware
3) A human error results in the loss of data which requires me to restore 
data
4) Malicious actions of my employees or others require me to restore data

Google's operational environment and processes, and the architecture of GAE 
and the HRD in particular, give me a high degree of confidence that I'm not 
going to need to restore data due to issue #2 above.  But the other 
scenarios still potentially exist.

Jim




On Sunday, July 19, 2015 at 12:50:41 AM UTC-5, yccheok wrote:
>
> Currently, I had built several apps on the top of Google App Engine. I'm 
> pretty happy with it, as it requires 0 sys admin effort, to achieve such 
> scale.
>
> In term of storage, I'm using
>
> - High Replication Datastore
> - Cloud SQL with backups enabled (Binary log disabled)
>
> I know Google infrastructure is pretty reliable. However, for paranoid 
> reason, I was wondering, is there any need for me to export both Datastore 
> & Cloud SQL data, and store in either in my local machine, or non Google 
> server?
>
> Or, my current app settings (high replication on datastore, and backups 
> enabled in Cloud SQL) are good enough for me to be in peace of mind, and 
> requires 0 action from my side?
>
> Thank you.
> Cheok
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0b89b0c7-10de-493e-a05f-3bbe4df3a906%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Stolen website on Google sub domaine? What should I do?

2015-11-10 Thread Jim
Igor,

Sounds like the above is simply a proxy server, but if you're facing other 
situations where people are actually stealing your content, you may have 
legal remedies depending on the jurisdiction.  In the US your content is 
protected under copyright law and you should be able to get people's 
attention with a "DMCA Takedown Notice" which can be submitted to the ISP 
of the offending party.  The DMCA prescribes the process which the ISP must 
follow to investigate and handle your claim.  

Jim

https://www.copyrightalliance.org/2012/03/in-plain-english-a-quick-guide-to-dmca-takedown-notices#.VkI_RrerTyM





On Tuesday, November 10, 2015 at 10:40:42 AM UTC-6, Igor Pakhomov wrote:
>
> Thank you guys,
> It looks like a proxy but I've worried about double content in the google 
> index and I checked again and realised you are right I shouldn't worry 
> about.
> But some times I face the site who copy my website and I don't know what 
> should I do. Maybe you know?
>
> On Monday, 9 November 2015 17:28:24 UTC+2, Patrice (Cloud Platform 
> Support) wrote:
>>
>> Hi Igor,
>>
>> Yeah this does just look like a proxy. There is no harm that can be done 
>> to your website this way, as this literally calls your website and displays 
>> it through the App Engine.
>>
>> As for your comment about indexing, I don't get what you mean, as 
>> flawedgate doesn't seem to be indexed. (looking for "flawedgate cardo-ua 
>> 17-new-collections" returns me your website, this thread, and nothing about 
>> the proxy). 
>>
>> If you still believe there is some abuse and we would need to 
>> investigate, I would suggest filling this form 
>> <https://support.google.com/code/contact/cloud_platform_report?hl=en>. 
>> The proper team will then investigate and take the appropriate measures.
>>
>> Cheers!
>>
>> On Monday, November 9, 2015 at 6:42:39 AM UTC-5, Anastasios Hatzis wrote:
>>>
>>> PhilK is right, this app is just like a proxy.
>>>
>>> My first impression was that you are a Google App Engine customer, or 
>>> you use a service that is hosted on GAE. But it looks like this app will 
>>> just proxy every domain that is entered. There can be plenty of reasons why 
>>> someone operates proxy servers, e.g. for safety reasons inside a company 
>>> network, however normally for private user groups. You as a site owner 
>>> normally shouldn't be affected by it.
>>>
>>> On Monday, November 9, 2015 at 12:15:13 PM UTC+1, Igor Pakhomov wrote:
>>>>
>>>> Thanks Anastasios, for the quick answer.
>>>>
>>>>> Please check if your App Engine application ID is *flawedgate*. If it 
>>>>> is, then this not a case of plagiarism, but just an alternative address 
>>>>> of 
>>>>> your app.
>>>>
>>>> Where can I see this ID? 
>>>>
>>>> On Monday, 9 November 2015 12:40:23 UTC+2, Anastasios Hatzis wrote:
>>>>>
>>>>> Hi Igor!
>>>>>
>>>>> appspot.com is used as a domain for all Google App Engine apps. The 
>>>>> routing is based on the pattern *appid*.appspot.com where appid is 
>>>>> your application ID. This is done for all GAE applications so they are 
>>>>> available even if no custom domains are used. The appspot.com 
>>>>> addresses can also be used to directly access specific app versions, 
>>>>> modules or instances if needed.
>>>>>
>>>>> Please check if your App Engine application ID is *flawedgate*. If it 
>>>>> is, then this not a case of plagiarism, but just an alternative address 
>>>>> of 
>>>>> your app.
>>>>>
>>>>> On Monday, November 9, 2015 at 11:26:09 AM UTC+1, Igor Pakhomov wrote:
>>>>>>
>>>>>>
>>>>>> Hello, Moderators.
>>>>>>
>>>>>> Checking my website, I get that some website steals my content (here 
>>>>>> is it http://flawedgate.appspot.com/cardo-ua.com/17-new-collections 
>>>>>> <http://flawedgate.appspot.com/cardo-ua.com/17-new-collections???history=19&sample=4&ref=2>)
>>>>>>  
>>>>>> This website copied my website cardo-ua.com
>>>>>> As I see this sub domaine is placed on the domane http://appspot.com 
>>>>>> <http://flawedgate.appspot.com/cardo-ua.com/17-new-collections???history=19&sample=4&ref=2>
>>>>>>  which 
>>>>>> belong the google.
>>>>>> So I have a questions:
>>>>>> 1. Is it legal? To sponsor the thief?
>>>>>> 2. Can you delete this site-thief from your domaine?
>>>>>> 3. How to safe my site data from the repetition?
>>>>>>
>>>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d2bdd756-a220-42d2-b49c-d97096aa7642%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Task Queue Latency

2015-12-01 Thread Jim
Hello,

Has anyone else noticed a lot of latency in Task Queues within the past few 
days?  We've noticed that our push queues are backing up with thousands, 
sometimes tens of thousands of tasks.  Nothing has changed in our app or 
traffic profile.  Over the past few days we've seen several instances where 
the queues just seem to stop "pushing" tasks and they fill up.  We can go 
in and manually trigger individual tasks to run; tasks are not generating 
errors, they're just not running automatically like they should based on 
our configuration.  Eventually things seem to catch up again.  Anyone else 
seeing similar behavior?

Jim

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2bcedbe2-ebe6-424a-bfe4-c2760feedd6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Task Queue Latency

2015-12-01 Thread Jim
I'm seeing the same thing on our instances... they all seem to have been 
started in the last few minutes... 10 minutes tops.  Lots of churn on the 
instances.



On Tuesday, December 1, 2015 at 11:11:14 AM UTC-6, David Fischer wrote:
>
> I'm seeing something similar. Our task queues are also filling up with 
> tasks and our traffic hasn't changed. For us, it looks like this started 
> about a week ago. Our tasks are not generating more errors than normal.
>
> Our tasks are run by different instances than our front-end website. Our 
> backend instances are shutting down and restarting a lot more than normal 
> which seems odd. Whenever I look at "instances" in my dashboard, it looks 
> like all my instances have been started in the last 10 minutes or so. 
> Memory usage is well within normal limits and I'm not seeing the instances 
> generating errors or anything.
>
> On Tuesday, December 1, 2015 at 8:03:25 AM UTC-8, Jim wrote:
>>
>> Hello,
>>
>> Has anyone else noticed a lot of latency in Task Queues within the past 
>> few days?  We've noticed that our push queues are backing up with 
>> thousands, sometimes tens of thousands of tasks.  Nothing has changed in 
>> our app or traffic profile.  Over the past few days we've seen several 
>> instances where the queues just seem to stop "pushing" tasks and they fill 
>> up.  We can go in and manually trigger individual tasks to run; tasks are 
>> not generating errors, they're just not running automatically like they 
>> should based on our configuration.  Eventually things seem to catch up 
>> again.  Anyone else seeing similar behavior?
>>
>> Jim
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/85c68487-77fb-47ff-8a90-701ce3dcb451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Task Queue Latency

2015-12-02 Thread Jim
Can anyone from Google comment on this?


On Wednesday, December 2, 2015 at 8:40:24 AM UTC-6, John Wheeler wrote:
>
> Whew! So it's not just me then. I've got exactly the problem.
>
> I've attached a picture of my dashboard graph for the last 30 days which 
> you can see very regular peaks at the beginning turn into irregularity 
> since I've been experiencing issues with task queues.
>
> John
>
> On Tuesday, December 1, 2015 at 8:03:25 AM UTC-8, Jim wrote:
>>
>> Hello,
>>
>> Has anyone else noticed a lot of latency in Task Queues within the past 
>> few days?  We've noticed that our push queues are backing up with 
>> thousands, sometimes tens of thousands of tasks.  Nothing has changed in 
>> our app or traffic profile.  Over the past few days we've seen several 
>> instances where the queues just seem to stop "pushing" tasks and they fill 
>> up.  We can go in and manually trigger individual tasks to run; tasks are 
>> not generating errors, they're just not running automatically like they 
>> should based on our configuration.  Eventually things seem to catch up 
>> again.  Anyone else seeing similar behavior?
>>
>> Jim
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/810c4daf-050d-4519-8be5-63d89e3454b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Task Queue Latency

2015-12-03 Thread Jim
David, thanks I think you're right that looks like the issue.  

Google, it sure would be nice if the status page was more granular and 
showed the status of the task queue separately like it does the datastore 
and cloud storage.  Task Queues are a critically important part of our 
application architecture and having zero visibility into issues related to 
them is really a pain when things like this happen.  It's understandable 
that issues occur, but it sure would be nice to be able to know that Google 
engineers are aware of them and are working on them without poking around 
blind.



On Wednesday, December 2, 2015 at 6:05:45 PM UTC-6, David Fischer wrote:
>
> I think this is the status for this event: 
> https://status.cloud.google.com/incident/appengine/15024
>
> On Wednesday, December 2, 2015 at 11:55:04 AM UTC-8, Jim wrote:
>>
>> Can anyone from Google comment on this?
>>
>>
>> On Wednesday, December 2, 2015 at 8:40:24 AM UTC-6, John Wheeler wrote:
>>>
>>> Whew! So it's not just me then. I've got exactly the problem.
>>>
>>> I've attached a picture of my dashboard graph for the last 30 days which 
>>> you can see very regular peaks at the beginning turn into irregularity 
>>> since I've been experiencing issues with task queues.
>>>
>>> John
>>>
>>> On Tuesday, December 1, 2015 at 8:03:25 AM UTC-8, Jim wrote:
>>>>
>>>> Hello,
>>>>
>>>> Has anyone else noticed a lot of latency in Task Queues within the past 
>>>> few days?  We've noticed that our push queues are backing up with 
>>>> thousands, sometimes tens of thousands of tasks.  Nothing has changed in 
>>>> our app or traffic profile.  Over the past few days we've seen several 
>>>> instances where the queues just seem to stop "pushing" tasks and they fill 
>>>> up.  We can go in and manually trigger individual tasks to run; tasks are 
>>>> not generating errors, they're just not running automatically like they 
>>>> should based on our configuration.  Eventually things seem to catch up 
>>>> again.  Anyone else seeing similar behavior?
>>>>
>>>> Jim
>>>>
>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b11ca8ae-67ba-40dc-88b9-7f088d6dd750%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Task Queue Latency

2015-12-03 Thread Jim
We have been seeing latency of 5 hours or more at times, although it seems 
to be functioning normally today.



On Thursday, December 3, 2015 at 11:07:22 AM UTC-6, Rene Marty wrote:
>
> Dear Google Team,
>
> I send this issue three weeks ago to one of your developers advocates. 
>  I'm very experienced in GAE (three years developing mission critical apps) 
> and if you need my support or testing, it will be a pleasure.
>
> I think there are two issues with the taskqueue:
> 1) The start of execution is delayed, between 15 and 120 seconds from the 
> estimated time of execution.  Until three weeks ago, it was inmediate, only 
> 1 or 3 seconds of delay at rush hour.
> 2) When the task is being filled with processes not starting, the process 
> that called the taskqueue.add(...) freezes waiting for the response, and 
> subsecuents request to the same instance fails and causes a Deadline 
> Exceeded 123 error.  I discover that this is the cause beacuse when I 
> replaced all the taskqueue.add(...) to async urlfetch.make_fetch_call(...) 
> without waiting for the rpc result, I never get again that Deadline 
> Exceeded 123 error.
>
> Please try to solve this issue ASAP.  The taskqueue functionality is 
> critical for many developers trying to offer a good sutomer experience.  If 
> this becomes unstable, we will need to look another platforms more robust, 
> I'm a big fan of Google, but I don't want loose customers due to platform 
> issues.  At the end, my clients blame my company not to Google for these 
> problems...
>
> Thanks,
>
> Rene Marty
>
> El jueves, 3 de diciembre de 2015, 13:09:28 (UTC-3), Jim escribió:
>>
>> David, thanks I think you're right that looks like the issue.  
>>
>> Google, it sure would be nice if the status page was more granular and 
>> showed the status of the task queue separately like it does the datastore 
>> and cloud storage.  Task Queues are a critically important part of our 
>> application architecture and having zero visibility into issues related to 
>> them is really a pain when things like this happen.  It's understandable 
>> that issues occur, but it sure would be nice to be able to know that Google 
>> engineers are aware of them and are working on them without poking around 
>> blind.
>>
>>
>>
>> On Wednesday, December 2, 2015 at 6:05:45 PM UTC-6, David Fischer wrote:
>>>
>>> I think this is the status for this event: 
>>> https://status.cloud.google.com/incident/appengine/15024
>>>
>>> On Wednesday, December 2, 2015 at 11:55:04 AM UTC-8, Jim wrote:
>>>>
>>>> Can anyone from Google comment on this?
>>>>
>>>>
>>>> On Wednesday, December 2, 2015 at 8:40:24 AM UTC-6, John Wheeler wrote:
>>>>>
>>>>> Whew! So it's not just me then. I've got exactly the problem.
>>>>>
>>>>> I've attached a picture of my dashboard graph for the last 30 days 
>>>>> which you can see very regular peaks at the beginning turn into 
>>>>> irregularity since I've been experiencing issues with task queues.
>>>>>
>>>>> John
>>>>>
>>>>> On Tuesday, December 1, 2015 at 8:03:25 AM UTC-8, Jim wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> Has anyone else noticed a lot of latency in Task Queues within the 
>>>>>> past few days?  We've noticed that our push queues are backing up with 
>>>>>> thousands, sometimes tens of thousands of tasks.  Nothing has changed in 
>>>>>> our app or traffic profile.  Over the past few days we've seen several 
>>>>>> instances where the queues just seem to stop "pushing" tasks and they 
>>>>>> fill 
>>>>>> up.  We can go in and manually trigger individual tasks to run; tasks 
>>>>>> are 
>>>>>> not generating errors, they're just not running automatically like they 
>>>>>> should based on our configuration.  Eventually things seem to catch up 
>>>>>> again.  Anyone else seeing similar behavior?
>>>>>>
>>>>>> Jim
>>>>>>
>>>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1cfacdda-7bcc-4f50-8933-1c6db152b936%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Datastore String length limit of 1,500 bytes when using JDO

2017-03-02 Thread Jim
When I attempt to write a Datastore string longer than 1,500 bytes via JDO 
I get the following error:   "String properties must be 1500 bytes or less. 
 Instead, use com.google.appengine.api.datastore.Text, which can store 
strings of any length."

I've annotated my class to turn indexing off on this field, and I can 
manually insert strings (much) longer than 1,500 bytes manually via the 
Datastore Console.  

Is there any way to store larger String values via JDO?  It seems like an 
arbitrary limitation given the fact that I can manually insert larger 
values into the Datastore, and Datastore doc says Strings can be up to ~1MB 
in size.  I know I can convert these to Text but I'd rather not do that if 
I can avoid it.

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c1552cc1-42f4-4f48-b125-d584b420d3e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Datastore String length limit of 1,500 bytes when using JDO

2017-03-03 Thread Jim
Nick,

When I'm using the Datastore Console to manually update the table it will 
throw an error related to the index if I have the indexing turned on for 
the field and try to store a large value.  When I turn indexing off I am 
able to store large strings through the console.

In my Java/JDO code I am unable to store large values under either indexing 
condition.  I have my class annotated to turn indexing off like this:

@Persistent
@Extension(vendorName="datanucleus", key="gae.unindexed", value="true")
    private String meterOptions;

Jim



On Thursday, March 2, 2017 at 5:57:41 PM UTC-6, Nick (Cloud Platform 
Support) wrote:
>
> Hey Jim,
>
> Do I understand correctly that you only see the issue when you attempt to 
> index the field - or what's the same thing - it doesn't occur when you turn 
> the field's indexing off? 
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Thursday, March 2, 2017 at 1:26:02 PM UTC-5, Jim wrote:
>>
>> When I attempt to write a Datastore string longer than 1,500 bytes via 
>> JDO I get the following error:   "String properties must be 1500 bytes or 
>> less.  Instead, use com.google.appengine.api.datastore.Text, which can 
>> store strings of any length."
>>
>> I've annotated my class to turn indexing off on this field, and I can 
>> manually insert strings (much) longer than 1,500 bytes manually via the 
>> Datastore Console.  
>>
>> Is there any way to store larger String values via JDO?  It seems like an 
>> arbitrary limitation given the fact that I can manually insert larger 
>> values into the Datastore, and Datastore doc says Strings can be up to ~1MB 
>> in size.  I know I can convert these to Text but I'd rather not do that if 
>> I can avoid it.
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/323c9aee-70c0-4f8f-aa71-7e2f39fb62ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: When/Where to create index and add documents for Search API - Java

2018-12-29 Thread Jim
Are you using Cloud Datastore?  If so, you can use Datastore Callbacks and 
define "put" and "delete" callback functions on specific kinds.  Whenever 
an entity is put or deleted your callback functions will be called and you 
can do your index updates there.

https://cloud.google.com/appengine/docs/standard/java/datastore/callbacks





On Saturday, December 29, 2018 at 11:34:29 AM UTC-6, Akash Eldo wrote:
>
> I'm creating a Java web server on the Google App Engine to do full text 
> search on my database. Before I can search, I have to add all my database 
> entries to an index. I should only have to do this once because the index 
> is stored in persistent storage. Even if GCP creates a new instance of my 
> Java server, the index should still be there (right?).
>
>
> My question is, how do I set up my program so it will only create the 
> index once? I've tried using Warming Services, but as I understand it that 
> will be called every time a new instance is created, so there'd be 
> redundant calls to my index creation code
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/58f621c0-6b0e-4ecb-8cff-860579e38a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Pull Queue Deprecation?

2020-01-10 Thread Jim
I have an app running on Google App Engine Standard using the Java 8 
runtime, and it uses both push and pull queues extensively.  When I'm using 
the Google Cloud Platform management console I interact with my Push and 
Pull Queues under the "Cloud Tasks" UI option, but all of my code 
interaction with queues is via the com.google.appengine.api.taskqueue Java 
package.  Lately I'm seeing notices about Google Cloud Tasks Pull Queues 
being deprecated.  Can someone in the GAE team please clarify for me, will 
my usage of Pull Queues be supported going forward?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/588d3ad9-03f8-47c1-afa2-f2b4d993caae%40googlegroups.com.


Re: [google-appengine] Pull Queue Deprecation?

2020-01-11 Thread Jim
Andrew, thank you for that info.  It looks like I'm good for now but will 
need to migrate to Cloud Pub/Sub before moving to Java 11.  My basic Use 
Case is that I'm using Pull Queues to sync data between my cloud 
application and mobile apps.  Tag-names corresponding to the individual 
mobile devices are used to route data to the right recipient.  Reviewing 
the doc you linked, it looks like I can create Pub/Sub Topics for each 
mobile app/device and achieve the same basic interaction model.



On Friday, January 10, 2020 at 4:09:18 PM UTC-6, Andrew Gorcester wrote:
>
> App Engine Tasks (available for App Engine Standard Gen 1 runtimes) will 
> continue to support both push and pull, but Cloud Tasks (available for all 
> products) will not support pull queues. Instead, we recommend Cloud Pub/Sub 
> for this use case. Please see this documentation for details: 
> https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/migrating-pull-queues
>
> Please let us know if Cloud Pub/Sub doesn't solve your needs in this area, 
> so we can improve our decisions for future features.
>
> On Fri, Jan 10, 2020 at 11:10 AM Jim > 
> wrote:
>
>> I have an app running on Google App Engine Standard using the Java 8 
>> runtime, and it uses both push and pull queues extensively.  When I'm using 
>> the Google Cloud Platform management console I interact with my Push and 
>> Pull Queues under the "Cloud Tasks" UI option, but all of my code 
>> interaction with queues is via the com.google.appengine.api.taskqueue Java 
>> package.  Lately I'm seeing notices about Google Cloud Tasks Pull Queues 
>> being deprecated.  Can someone in the GAE team please clarify for me, will 
>> my usage of Pull Queues be supported going forward?
>>
>> -- 
>> 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-a...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/588d3ad9-03f8-47c1-afa2-f2b4d993caae%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/588d3ad9-03f8-47c1-afa2-f2b4d993caae%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4d91787e-a14d-42fc-91b5-74ff916cf94f%40googlegroups.com.


[google-appengine] Re: Sending sms

2009-07-10 Thread Jim

Last time I checked (4-5 months ago) there was still no native API for
doing this via Google's services.  So, you are left with two options:

1) use the "sms to email gateway" approach whereby you construct an
email address from the user's phone number and carrier info; eg.
1234...@cingularme.com and send it as an email message.
2) use a 3rd party SMS gateway server such as www.clickatell.com.
There are a bunch of providers of this type of service and they will
typically have HTTPS APIs that you can call from your GAE code.

The advantage of 1 over 2 is that 1 is free while 2 will cost you some
number of pennies per message (I think clickatell costs $0.03 per
message).  The advantage of 2 over 1 is that you get guaranteed
delivery and you don't have to deal with the hassle of creating the
email address... you only need to know the user's wireless number.
With phone number portability the sms/email approach can be a hassle
and unreliable.

I chose approch number 2 in my app.  Good luck.


On Jul 10, 12:35 am, deostroll  wrote:
> Hi,
>
> Is there a way to send sms via google appengine server?
>
> --deostroll
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: About a heavy CPU demanding app

2009-09-10 Thread Jim

an approach I took before the cron feature was added was to divvy up
my workload and include a call to a processing function in all of my
routines that display pages.  It's the divvying up the workload part
that can be tricky... depending on what you need to do you may or may
not be able to accomplish it.  I've essentially emulated an event
processing environment by adding a 'next processing' datetime data
type to key entities that require 'batch' type processing.  Then when
my processing function gets called (every time a page load) it looks
for the next entity that needs some work done and does the work for
one or two entities.  As long as I have enough user page-views my
'batch' work gets done.



On Sep 10, 1:11 pm, "Brandon N. Wirtz"  wrote:
> You need to segment your work, dump to GQL, or somewhere else, and resume.
> Use Chron on or off site to initiate each step.
>
> GAE is not good for Folding DNA, or Searching for Extra Terestrials, as it
> wasn't built for that.
>
> I'm not a Google Guy, but I get the impression that They look at Cloud for
> Web Apps, and want real people visiting GAE not just number crunching.
>
> -Original Message-
> From: google-appengine@googlegroups.com
>
> [mailto:google-appeng...@googlegroups.com] On Behalf Of Rodrigo
> Sent: Wednesday, September 09, 2009 2:04 PM
> To: Google App Engine
> Subject: [google-appengine] About a heavy CPU demanding app
>
> Hi!
>
> I am planning to migrate an existing project to GAE. However, I have a
> question and perhaps you could help me with it.
>
> Some features of this project involving heavy data processing. It is
> not unusual to have some processes lasting for more than 30 minutes.
>
> I read all documentation I could, including the FAQ, but I still do
> not know: is it possible to have cron jobs whose execution times
> exceed 30 minutes?
>
> Best regards,
>
> Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Server Error A server error has occurred.

2009-03-11 Thread Jim

Situation: trying to delete a bunch (100,000) entries in a table.

Can't find drop table so the best that I've been able to come up with
is deleting all of the entries.

My app is apparently running fine - hard to tell with almost all the
data gone.   But the data viewer is not happy.   It gives me the
server error message when I try to delete the remaining entries it's
showing me.  It gives me the error message if I try to go past the
first screen.   And so on.

Given a choice between alter table and delete table, I'll take delete
table.  Let me copy from table1 to table2 and then delete table1.

In this case, if I'd had alter table, I wouldn't have needed delete
table.

Any suggestions on how to get GAE to tidy itself up?

Thanks!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Server Error A server error has occurred.

2009-03-11 Thread Jim

This seemed to get cleaned up overnight so I went back to deleting.
It's now been 4 hours and data viewer is locked on server error 500.

It's great that the rest of the site is working but there's nothing in
the admin logs, etc. that gives me any idea when things will be
working again.

On Mar 10, 8:33 pm, Jim  wrote:
> Situation: trying to delete a bunch (100,000) entries in a table.
>
> Can't find drop table so the best that I've been able to come up with
> is deleting all of the entries.
>
> My app is apparently running fine - hard to tell with almost all the
> data gone.   But the data viewer is not happy.   It gives me the
> server error message when I try to delete the remaining entries it's
> showing me.  It gives me the error message if I try to go past the
> first screen.   And so on.
>
> Given a choice between alter table and delete table, I'll take delete
> table.  Let me copy from table1 to table2 and then delete table1.
>
> In this case, if I'd had alter table, I wouldn't have needed delete
> table.
>
> Any suggestions on how to get GAE to tidy itself up?
>
> Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Google Gadgets running GAE app via URL, problems with authentication cookies in IE

2009-04-01 Thread Jim

Hi,

I've created an appliation using Google App Engine that integrates
with Google Accounts using login/logout URLs as described here:
http://code.google.com/appengine/docs/python/users/loginurls.html.
Everything works great when running the application directly.  You can
check out the app here:  http://www.paymeplz.com/free

But recently I decided to build a Google Gadget that contains a
snippet of my functionality in a the "home" Gadget view, and the whole
thing in the "canvas" view using the URL approach to defining my
Gadget .xml file as described here:
http://code.google.com/apis/gadgets/docs/fundamentals.html#Content_Type
The gadget resides here: http://www.paymeplz.com/gadget.xml

It worked fine under Firefox and Chrome, but when I ran the Gadget
under IE I discovered that the login functionality didn't work.  I
could follow the login URL to the Google Account login page, login and
when re-directed back to my app the users.get_current_user() function
would return nothing as if the user wasn't logged in.

I quickly suspected cookies and dug around to discover the fact that
IE, starting with version 6, started blocking "third party" cookies
that didn't have a W3C P3P policy.  I've never dealt with cookies much
before, and I definitely wasn't familiar with P3P policies and how
they impact delivery of cookies between servers and browsers.  This
site describes it well: http://www.p3ptoolbox.org/guide/section2.shtml

After some research into the P3P topic, I realized I needed to
configure a P3P policy and deploy it on my App Engine site.  A little
trial, error and free software from IBM got my policy setup and
visible to the browsers including IE.  But my cookies were still
getting blocked by IE when running in the iGoogle Gadget container
(ie. a "third party" cookie).

Further research revealed that IE looks not only at the P3P policy
files stored on your server, as required by the W3C specification,
they also require a "Compact Policy" to be embedded in the HTTP HEADER
response from the server to the browser.  A little poking around the
Python doc revealed the self.response.headers.add_header() function
which allowed me to send the requisite P3P headers for the Compact
Policy.

After these steps IE would allow my cookies through.  Hooray!  Right?
Wrong.  Then I found that my cookies were still getting blocked during
the login process.  Here's why: IE requires both the policy files on
the server and the Compact Policy in the HTTP HEADER.  And the only
way to set the HTTP header is programatically in the request
handler .py program.  Handler progams for the URLs used in the Login
process reside in the reserved _ah directory which cannot be accessed
as described here:  
http://code.google.com/appengine/docs/python/tools/configuration.html#Reserved_URLs

So, the pages I emit from my .py programs can get cookies through to
IE under a Gadget, but it's all for naught if the crucial Login step
can't get it's cookie through.

Is there any way to set the default HTTP HEADERs for my entire app
through some configuration setting?  Or is there a way to over-ride
the HEADERs in the responses generated by the login programs in
_ah?Any other suggestions?

Thanks for your time,

Jim

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] How to access form variables?

2009-04-06 Thread Jim

I'm following the official example on how to use Django forms from
http://code.google.com/appengine/articles/djangoforms.html

Want to define st:state - AK:Alaska, AL=Alabama, etc. so that people
can use "Alaska" instead of "AK"

I want to store both st and state in the table for entries so I don't
have to do a lookup later.

So I want to present a pull-down with the list of states.  On submit,
look up the abbreviation for Alaska and store them both.

I want to use the abbreviation because /state/dc looks like less cause
for trouble down the road than /state/district%20of%20columbia

>From the example, I don't understand how I can access the form
variables.   Seemed like StatesForm.state would work but it doesn't.

class US_States(db.Model):
st = db.StringProperty(required=True,multiline=False)
state = db.StringProperty(required=True,multiline=False)

class US_Info(db.Model):
st = db.StringProperty(required=True,multiline=False)
state = db.StringProperty(required=True,multiline=False)
info = db.TextProperty

class US_InfoForm(djangoforms.ModelForm):
class Meta:
model = US_Info


class AddInfo(webapp.RequestHandler):
def get(self):
form = US_InfoForm()
# original had self.response.out.write( US_InfoForm() )
self.response.out.write('' )
self.response.out.write(' Home')
self.response.out.write(' > States' )
self.response.out.write('' )
self.response.out.write('')
self.response.out.write(form )
self.response.out.write(''
''
'')
query = db.GqlQuery("SELECT * FROM US_States WHERE state = :
1", form.state)
# doesn't work
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: SMS via Email

2009-04-07 Thread Jim

I've had problems with that approach in the past including:

-- the email to text gateways operated by the cell carriers can be
very slow
-- I've found that the gateways often mess up the formatting of the
message, depending on the gateway it might wind up in the SMS with
things like "SUBJ:" and "BODY" and junk like that cluttering up your
message.
-- determining the correct email gateway to use from the cellphone
number is no longer reliable.  It used to be you could look up with
the area code and exchange and determine which carrier issued the
number and then know which email gateway to use.  Well, actually you
can still do that but with cellphone number portability, you don't
know which carrier currently services the number, you just know which
carrier issued the number.   So you wind up having to ask your
customer to provide their phone number and specify which carrier they
use.

I recently did an integration to a SMS gateway.  They have a variety
of APIs including HTTPS, XML, SOAP, etc.  They have a callback
mechanism so your app gets status updates on the delivery status of
each message.  Only draw back is it cost $0.03 per message.  There may
be cheaper ones out there, I'm not sure as I got tired of looking
around and three cents was reasonable for my usage.

It just depends on if you're willing to live with the limitations,
then the email approach is fine.  If you need something cleaner and
more reliable, then I suggest subscribing to a sms gateway service.



On Apr 7, 1:21 am, MajorProgamming  wrote:
> I am currently developing an app that will send text message
> reminders. I was thinking of using each carrier's email gateway to
> handle the messages. Are there any potential scaling problems with
> this method?
>
> (I plan on sending the text messages via the GAE Email system)
>
> Thank you,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] 2 problems with indexes - backend index, can't delete partial index

2009-04-23 Thread Jim

1.  Created an index on a large (million items) set of data.
Building, building, building in http://appengine.google.com/datastore/indexes

then got this on warning on http://appengine.google.com/dashboard :
Your application is exceeding a quota: Workflow Backend Index Task
Count

OK, what does that mean?   Search group, not clear.   Is the index
half done?  90%? 10%?  No way of knowing.

Decide to approach problem a different way and remove this query from
my program.

2.  use appcfg vacuum_indexes to get rid of the partial index

WARNING appcfg.py:670 An index was not deleted.  Most likely this is
because it no longer exists


It's not clear to me that a problem with quota creating the index will
mean anything long-term.  But it would be nice to have something that
says that explicitly.

Big thing: vacuum_indexes should work on partial indexes   Let me back
out
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Problems with datastore timing out

2009-04-29 Thread Jim

I was having problems last night before I went to bed but figured it
was temporary.   They were much worse overnight.   The log is full of
messages like this:

  04-29 05:29AM 19.717 /url 500 9207ms 8088cpu_ms 8036api_cpu_ms
0kb curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
zlib/1.2.3.3 libidn/1.10,gzip(gfe),gzip(gfe)
  See details


As shown below, this just fetches one old phone number so it can be
deleted.   I've attached it to a display function so that it's
whittling away at the old data a number at a time.

This normally takes about 300ms, so things are 25x slower and not
working.

I doubt this is just my own account but I don't see any other reports.

GAE has now burned way through the free quota and into money.   What's
the procedure for getting the quota reset?


  E 04-29 05:29AM 28.914

  Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 503, in __call__
  handler.post(*groups)
File "/base/data/home/apps/opnwpcom/211.333117986628419056/
owp.py", line 1059, in post
  x = DeleteOldNumber( 1 )
File "/base/data/home/apps/opnwpcom/211.333117986628419056/
owp.py", line 1493, in DeleteOldNumber
  numb = phone.all().fetch(1,offset=rand_int)
File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1390, in fetch
  raw = self._get_query().Get(limit, offset)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 942, in Get
  return self._Run(limit, offset)._Next(limit)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 886, in _Run
  _ToDatastoreError(err)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 1965, in _ToDatastoreError
  raise errors[err.application_error](err.error_detail)
  Timeout


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: best way to query geographical regions?

2009-05-02 Thread Jim

Have you looked at the geohash approach?

http://geohash.org/site/tips.html

http://pypi.python.org/pypi/Geohash/1.0rc1



On May 1, 7:40 pm, Matt  wrote:
> Hello,
>
> I'm building a simple mapping app that needs to be able to query for
> all points inside a box of points.
>
> I noticed the mutiny library which has a technique for achieving this,
> but it occurred to me to ask if there is perhaps a way to do it more
> simply using GeoPtProperty properties.  The mutiny approach is linked
> below:
>
> http://code.google.com/p/mutiny/source/browse/trunk/geobox.py
>
> Any advice on this would be much appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Show "processing" message to user while Urlfetch works

2009-05-06 Thread Jim

I have a function that goes and looks up some data.   I'd like to say
something to the user after they click submit but before I have any
results.

I've tried HttpResponse with response.write as well as
self.response.out.write

The problem with both of them is that they wait until the function is
done before they output anything.   Saying "I'm starting the lookup"
doesn't work so well when they see it after the fact ...

I've done about 90 minutes of Googling and looking at the Django docs
and am coming up empty.

Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Show "processing" message to user while Urlfetch works

2009-05-09 Thread Jim

Thanks very much for the suggestion!

I found a solution along the lines of what you were suggesting here:
http://www.netmechanic.com/news/vol8/javascript_no2.htm

This: http://www.netmechanic.com/promote.htm";
onClick="javascript:return confirm('Would you like to increase your
search engine rank?')">Improve your site!  provides a cancel/OK
box with message and that seems to work fine.

Your solution is better  because it stays on the page rather than
going to another page.   So I will probably come back to it later.

Thanks again.

On May 7, 2:30 am, djidjadji  wrote:
> http://www.javascript-coder.com/javascript-form/javascript-form-submi...
>
> Use the method in the page. Don't use a submit button but a  tag
> with an onClick attribute.
> In the Javascript function update some  Tag
> with the "I'm starting the lookup" text and then submit the form.
> When the request is ready the page will update.
>
> 2009/5/6 Jim :
>
>
>
> > I have a function that goes and looks up some data.   I'd like to say
> > something to the user after they click submit but before I have any
> > results.
>
> > I've tried HttpResponse with response.write as well as
> > self.response.out.write
>
> > The problem with both of them is that they wait until the function is
> > done before they output anything.   Saying "I'm starting the lookup"
> > doesn't work so well when they see it after the fact ...
>
> > I've done about 90 minutes of Googling and looking at the Django docs
> > and am coming up empty.
>
> > Thanks!
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] python: converting from 1 big python source file to modules

2009-05-22 Thread Jim

I'm new to python and started out by having everything in one big
file.

/gae
 app.yaml
 main.py
 templates/

I'm using template_file = os.path.join(os.path.dirname(__file__),
'templates',  "index.html") to find the template directory.

I was able to move my models out of the big file into /gae/models/
db.py

I use:

import from models.db model1, model2, etc.

I'm now trying to cut up the big file into modules.  Say that
displaying classes all go into one module.

When I try putting them into /gae/controllers, I've got several
problems:

1. files don't know where to find the templates

2. I have some variables that I used as globals.  For example:
now=datetime.datetime.today() and today=datetime.date.today()even
if I use global now, today they aren't accessible via a different
module.  I could put them into memcache but there's not that many and
they are constants  With the obvious exception of now and today, of
course.

3. nagging concern over functions working.   If I have a def SendMail
function that just takes to, subject and the message body, does it
belong in main.py?  Or can it go anywhere?

I'd be fine with

/gae
   app.yaml
   controllers/
 1.py
 2.py
 main.py
 templates/
 index.html
   main.py
   models/
 db.py

Meaning that if templates is under controllers, fine.   Or if it's
moving to /gae/app/controllers instead of gae/controllers

Thanks for any suggestions.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Getting 403 over quota errors but dashboard all green

2009-05-28 Thread Jim

My app (linkscocom.appspot.com) is getting mostly 403 errors but the
dashboard shows 15% on CPU, 3% on incoming, 4% on outgoing and nothing
much on the others.

I do have billing enabled.

There's absolutely nothing that I can see that should be causing a
problem.

I need my app to work.   Suggestions on how to get somebody from
Google to look at the situation?

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] 403 (quota) error but way under quota - problem continues

2009-05-29 Thread Jim

I have confirmation from somebody at Google that everything looks good
on your side, meaning that I'm well under the quotas.

I am continuing to have issues with pages saying "403, application
over quota" for no apparent reason.

This is really not funny.I've got nothing in my app engine logs to
show that there's a problem.   So there's no way for me to tell how
often it's happening.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] 403 (quota) error but way under quota - problem continues

2009-06-08 Thread Jim

It's happened again tonight.   I'm using urlfetch.   What I've been
told by a Google engineer is that at some point GAE sees urlfetch
looking for /etc/resolv.conf too many times and locks out my app as
dangerous.

I'm not aware of any way that I or anybody else can resolve this
because urllib and urllib2 are going to use urlfetch, too.

My code is absolutely not trying to access /etc/resolv.conf on its
own.   This is something internal to Google - it doesn't show up in
the SDK at all.

The affected app is linkscocom.appspot.com running as www.linksco.com

Somebody at Google needs to fix the code.   What can I do to help make
this happen?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



Re: [google-appengine] Very bad site performance for the last week

2010-09-21 Thread Jim Scott
I was getting this same sort of thing all Saturday. Import of blobstore would 
die with deadline exceeded. :O It cleared up on Sunday and seems to be fine 
now. There must have been some other greedy processes on that machine or 
something. 

On Sep 20, 2010, at 3:57 AM, Blixt  wrote:

> The performance of www.simpleeditions.com (application:
> simpleeditionsapp) has been very bad for the last week. We're getting
> DeadlineExceededErrors often now, saying it took 33 seconds before
> timing out. The datastore queries are not complicated and they're not
> fetching a lot of data. A week ago it was much better.
> 
> It doesn't even seem as if it's datastore related. Here are some
> example tracebacks:
> 
> ---
> 
> :
> Traceback (most recent call last):
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/app.py", line 41, in 
>import simpleeditions.urls
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/simpleeditions/urls.py", line 21, in 
>from simpleeditions import view
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/simpleeditions/view.py", line 30, in 
>from django.utils import simplejson
>  File "/base/python_runtime/python_lib/versions/third_party/
> django-1.1/django/utils/simplejson/__init__.py", line 140, in 
>from django.utils.simplejson.encoder import JSONEncoder
>  File "/base/python_runtime/python_lib/versions/third_party/
> django-1.1/django/utils/simplejson/encoder.py", line 2, in 
> 
> ---
> 
> :
> Traceback (most recent call last):
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/app.py", line 41, in 
>import simpleeditions.urls
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/simpleeditions/urls.py", line 21, in 
>from simpleeditions import view
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/simpleeditions/view.py", line 21, in 
>import base64
> 
> ---
> 
> :
> Traceback (most recent call last):
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/app.py", line 41, in 
>import simpleeditions.urls
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/simpleeditions/urls.py", line 21, in 
>from simpleeditions import view
>  File "/base/data/home/apps/simpleeditionsapp/stable.
> 344781513275803132/simpleeditions/view.py", line 30, in 
>from django.utils import simplejson
>  File "/base/python_runtime/python_lib/versions/third_party/
> django-1.1/django/__init__.py", line 1, in 
>VERSION = (1, 1, 0, 'final', 0)
> 
> ---
> 
> This is really putting us off from using Google App Engine for serious
> projects... it just isn't usable at all for a site with a user base,
> they would just leave a site behaving like this.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Mail receive services during scheduled downtime

2010-11-09 Thread Jim Hunziker
During a scheduled datastore downtime, what happens to incoming emails?
If the mail receipt mechanism is disabled, that should be fine, since
most senders will re-try automatically. But if the messages still get
posted to /_ah/mail/ as a successful delivery, then the application has
nowhere to save them.

Is the only option to re-send these messages elsewhere?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: RE: [google-appengine] Google should want to provide messaging in App Engine

2011-07-13 Thread Jim Mittler
Hi Brandon,

I'm curious to understand what you are describing here. Making an external 
JMS call from within GAE seems straightforward, but are you talking about 
embedding ActiveMQ within GAE instead?

Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/JCTuxDM3PWEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Static SQLite files

2011-07-18 Thread Jim Cipar
I'm trying to write an app that has to handle somewhat complex queries
to a never (or very rarely) changing data set.  Right now I have a
static .csv file that my app reads, parses, and returns results from.
This solution isn't really ideal though, I would much rather have a
read-only SQLite file that the app can read, so that I can make use of
all of the good things that come with using a database (indices,
complex queries, performance ...).

It seems like App Engine refuses to load the sqlite3 python module,
even if I don't try to open a file for writing.  Is there some
workaround to get read-only SQLite access in App Engine?

I can't imagine I'm the first person who's wanted to do this, but
everything I've found has been about people using SQLite as a local
store for the App Engine development kit, or wanting to use SQLite as
a read-write datastore.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Static SQLite files

2011-07-18 Thread Jim Cipar
That doesn't solve either of my problems.

I'm not trying to use SQLite instead of DataStore, I'm trying to use
it instead of static CSV files.  To paraphrase the SQLite
documentation: "don't think of SQLite as a replacement for MySQL,
think of it as a replacement for fopen()".  I want a lightweight
structured file format for *static* data.  Serving static data out of
DataStore is a waste of resources.

Secondly, DataStore doesn't solve the complex query problem.  It can't
do "JOIN", "GROUP BY", or any kind of nested queries.

Lastly, a memory-only SQLite instance is a very useful abstraction for
doing data transformations even when you're not worried about
persistence at all.  Even if we could simply load the SQLite module
for memory-only databases that would be a step in the right direction,
though storing my static data in SQLite format would be ideal.



On Jul 18, 10:25 am, Felipe Teixeira
 wrote:
> You need use your SQLite in DataStore , use the api objectify its very
> simple.
>
> bye
>
> 2011/7/18 Jim Cipar 
>
>
>
>
>
>
>
>
>
> > I'm trying to write an app that has to handle somewhat complex queries
> > to a never (or very rarely) changing data set.  Right now I have a
> > static .csv file that my app reads, parses, and returns results from.
> > This solution isn't really ideal though, I would much rather have a
> > read-only SQLite file that the app can read, so that I can make use of
> > all of the good things that come with using a database (indices,
> > complex queries, performance ...).
>
> > It seems like App Engine refuses to load the sqlite3 python module,
> > even if I don't try to open a file for writing.  Is there some
> > workaround to get read-only SQLite access in App Engine?
>
> > I can't imagine I'm the first person who's wanted to do this, but
> > everything I've found has been about people using SQLite as a local
> > store for the App Engine development kit, or wanting to use SQLite as
> > a read-write datastore.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> *Felipe Teixeira*
> *Desenvolvedor Java
> *
> IPNET Soluções
> Tel.: 55 21 3553 2717 / 21-7805-6867
> Rua Visconde de Inhaúma, 134, Sala 615
> Centro - RJ - CEP: 20091-007
> *http://www.ipnetsolucoes.com.br***
>
> **
> *
> *

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Any mechanisms to block/wait without polling?

2011-07-18 Thread Jim Mittler
I have some patterns that I would very much like to try to implement
in GAE, but I can't seem to get past a requirement to coordinate a
signal between two tasks running in GAE.

There seems to be no GAE mechanism to wait for an event without going
into some sort of polling loop. Is there something maybe that I'm
missing or is this just wishful thinking?

Thanks!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Any mechanisms to block/wait without polling?

2011-07-19 Thread Jim Mittler
Thanks for the feedback. I can certainly understand why the blocking
techniques are discouraged; it's still hard to get out of that frame
of mind!

As for an example of "what I shouldn't be doing", the pull queue API
has a lease_task method, but as far as I can tell there is no way to
call it and have it block (for any duration) until the first task
becomes available.

If I try to lease a task via the REST API or the internal API, I ill
need to keep calling "lease_task"  over and over again until I get
some work. So either I burn CPU or I sleep in between calls and I
introduce an unwelcome delay in my processing.

Jim

On Jul 18, 6:45 pm, "Nick Johnson (Google)" 
wrote:
> Hi Jim,
>
> Blocking in App Engine is generally strongly discouraged. Can you provide an
> example use-case in which you need to do this?
>
> -Nick Johnson
>
>
>
>
>
>
>
>
>
> On Tue, Jul 19, 2011 at 4:43 AM, Jim Mittler  wrote:
> > I have some patterns that I would very much like to try to implement
> > in GAE, but I can't seem to get past a requirement to coordinate a
> > signal between two tasks running in GAE.
>
> > There seems to be no GAE mechanism to wait for an event without going
> > into some sort of polling loop. Is there something maybe that I'm
> > missing or is this just wishful thinking?
>
> > Thanks!!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Blobstore -creation running very slow

2011-11-19 Thread Jim Gilliam
another puzzling thing about this query ...

it is only really slow when the offset is 0 (or a very low value)

it runs less a second when the offset is larger, like 1000

is there something strange when you are trying to find the most recent
blobs created, even if the creation happened hours (or days) earlier?

On Sat, Nov 19, 2011 at 5:44 PM, James Gilliam  wrote:

> Any ideas on why Blobstore -creation query runs so slow ... like 20
> seconds for 1500 blobs.
>
> Doing this query
>
>aQuery = blobstore.BlobInfo.all()
>aQuery.order( '-creation' )
>aBlobstore = aQuery.fetch( 5, 0 )
>
> I even tired building an explicit index for creation but got an error
> that said that it is always built and to remove this from your
> index.yaml file.
>
> So, there apparently is an index and let this query runs very slow.
>
> Any ideas?
>
> p.s. I also do a similiar query adding a filter for filename and
> specify a compound index and that one runs ok.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: WTF again. Why so many GAE group posts are moved into "American-porn" group?

2011-11-23 Thread Jim Douglas
Greg,

Not sure if you would have noticed this; it seems to affect all of
us.  Here's your profile:

http://groups.google.com/groups/profile?enc_user=Zv7tuxCy4JMQo8Z2z60KpjGFZb6i

Very disconcerting to see messages attributed to me that I didn't
post.

On Nov 22, 10:54 am, "Gregory D'alesandre"  wrote:
> I'll check in with the Groups team on this.
>
> Greg
>
>
>
>
>
>
>
> On Tue, Nov 22, 2011 at 10:42 AM, Brandon Wirtz  wrote:
> > Must be my searches for a mermaid costume to wear to meetings with Google
> > spilled over to the forums…. Dupe Posts often get deleted from groups, and
> > if a spam group forwards posts to make it looked well trafficked it builds
> > ranking.
>
> > ** **
>
> > Google Groups is a haven for spammers.  Using the ListServe (email) is a
> > great way to make sure you get everything and that your messages are seen,
> > and you see everything.
>
> > ** **
>
> > *From:* google-appengine@googlegroups.com [mailto:
> > google-appengine@googlegroups.com] *On Behalf Of *Jeff Schnitzer
> > *Sent:* Tuesday, November 22, 2011 10:13 AM
> > *To:* google-appengine@googlegroups.com
> > *Subject:* Re: [google-appengine] Re: WTF again. Why so many GAE group
> > posts are moved into "American-porn" group?
>
> > ** **
>
> > Fascinating, you're right - it looks like Google Groups is under attack.
> >  I just found a post of mine now missing from the original group:
>
> > ** **
>
> >https://groups.google.com/d/msg/adultmermaidcostume/yE9miJdTqYU/iFv1n...
> > 
>
> > ** **
>
> > Wow.  This completely mangles the appengine group archives.  I take it
> > back, it's time to panic :-)
>
> > ** **
>
> > Jeff
>
> > On Tue, Nov 22, 2011 at 1:36 PM, Barry Hunter 
> > wrote:
>
> > Some are being moved
>
> > Take
>
> >http://groups.google.com/group/google-appengine/browse_thread/thread/...
> > Only shows two posts.
>
> > Rest of the posts are here
>
> >http://groups.google.com/group/American-porn2/browse_thread/thread/fa...
>
> > (they appear to be moved, rather than simply copied, as they have the
> > right sender, and missing from the original group)
>
> > Checking in Gmail (I'm subscribed to the group by email), I received
> > all four posts via the group originally for that thread.
>
> > Your profile
>
> >https://groups.google.com/groups/profile?enc_user=yjPEIRMAAABY6fDofa0...
> > looks interesting too. Posts in all sorts of funny groups.
>
> > On Tue, Nov 22, 2011 at 5:17 PM, Jeff Schnitzer 
> > wrote:
> > > I am confused.  Here is a post of mine on the spam group:
> > >https://groups.google.com/d/msg/american-porn2/IGFoSO2FzAM/4hZjbkTtbUkJ
> > > Here is my post in the original group (still there!):
>
> >https://groups.google.com/d/msg/google-appengine/Drbxq4tKMHk/xZMYOG1-...
> > > Looks like a straight-up copy.  Are you sure you were looking in the
> > right
> > > group for the original?  ie google-appengine vs google-appengine-java?
> > > The group should be yanked, yes, but not panicked over :-)
> > > Jeff
>
> > > On Tue, Nov 22, 2011 at 11:24 AM, Tapir  wrote:
>
> > >> It is EXACTLY moved.
> > >> It seems the Google Groups has secure holes.
> > >> I have reported it to the Google Groups team.
>
> > >> On Nov 22, 7:57 pm, Jeff Schnitzer  wrote:
> > >> > Not moved, copied.  This is almost certainly someone using Google
> > Groups
> > >> > to
> > >> > (try to) game search engine rankings.
>
> > >> > Jeff
>
> > >> > On Tue, Nov 22, 2011 at 1:10 AM, Tapir  wrote:
>
> >http://groups.google.com/group/American-porn2/search?group=American-p...
>
> > >> > > --
> > >> > > You received this message because you are subscribed to the Google
> > >> > > Groups
> > >> > > "Google App Engine" group.
> > >> > > To post to this group, send email to
> > >> > > google-appengine@googlegroups.com.
> > >> > > To unsubscribe from this group, send email to
> > >> > > google-appengine+unsubscr...@googlegroups.com.
> > >> > > For more options, visit this group at
> > >> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > >> > --
> > >> > I am the 20%
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > Groups
> > >> "Google App Engine" group.
> > >> To post to this group, send email to google-appengine@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-appengine+unsubscr...@googlegroups.com.
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-appengine?hl=en.
>
> > > --
> > > I am the 20%
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups

[google-appengine] Managing Google Cloud Platform Projects - Someone else project is listed in my account???

2022-02-16 Thread Jim Range
Today someone else's project popped up in my "No Organization" list of 
projects in the google cloud console. 

There is a message that I am an authorized user of this strangers project.

The owner of the project, Hassan Kibiti, lives in Nairobi, Kenya. I live in 
Chicago, IL USA and I do not know who Hassan is or why his project is 
connected to my account.

Anyone know if there is a way to be remove from a project that they do not 
own?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/123babc2-faa3-4de3-a396-8876a6d96cben%40googlegroups.com.


Re: [google-appengine] Re: GAE over GGC

2012-03-26 Thread Jim Morrison
On Mon, Mar 26, 2012 at 1:56 PM, Barry Hunter wrote:

> One think not noted in that, is the Edge Cache is only used if you use
> a Custom Domain - ie via Google Apps*.
> http://code.google.com/appengine/articles/domains.html
>
> The *.appspot.com domain name does not use it.
>

 Do you have documentation for this claim?


>
> * And/or PSS
> https://groups.google.com/d/topic/google-appengine/uDqHw-1AFyc/discussion
>
>
> On Mon, Mar 26, 2012 at 9:29 PM, Richard Watson
>  wrote:
> > Hi Yasen,
> >
> > Brandon wrote a schpiel [1] about how you can increase the likelihood
> that
> > your content is served via the "edge cache" servers, although note that
> it
> > doesn't seem to be an exact science.  For more info search the group for
> > "edge cache".
> > [1]
> >
> https://groups.google.com/d/topic/google-appengine/6xAV2Q5x8AU/discussion
> >
> > Richard
> >
> >
> > On Sunday, March 25, 2012 6:35:15 PM UTC+2, Yasen Simeonov wrote:
> >>
> >> I was thinking that GAE content is serving through Google Global Cache
> >> (GGC).
> >> I sniffed the traffic and saw that the content of my GAE application is
> >> coming from ip address in USA - it is not good since I am at the
> opposite
> >> side of the globe :)
> >> If the PaaS content is coming from a local cache server, this will be
> big
> >> competitive advantage for GAE - faster content delivering.
> >> Out of curiosity, is there a plan to use this infrastructure?
> >>
> >>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/google-appengine/-/gNmfNhcFPpAJ.
> >
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: GAE over GGC

2012-06-19 Thread Jim Morrison
Something is weird on the opendns cache.  just dns lookup returns may
ip addresses.  E.g.
http://just-dnslookup.com/index.php?vh=sorced-john-jay.appspot.com&c=&s=dns+lookup%21


On Tue, Mar 27, 2012 at 1:40 AM, Barry Hunter  wrote:
>>
>>
>>  Do you have documentation for this claim?
>
> I dont think there is any documentation for the edge cache. But its
> well discussed in this group - search the archives.
>
>
> But its also born out experimentally. Apps Domains are cnamed to
> ghs.google.com, which resolves to various locations. Appspot doesnt do
> this - like noted in the first post. In effect ghs.google.com is
> Googles CDN.
>
> can see this with:
> http://www.opendns.com/support/cache/
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Catching bounced emails

2012-08-14 Thread Jim Morrison
Nope, see http://code.google.com/p/googleappengine/issues/detail?id=7451

On Tue, Aug 14, 2012 at 12:31 PM, Blaine Garrett
 wrote:
> I'd like to be able to catch bounced emails and handle them on the server.
>
> I have customers that send documents to users and need to be notified if the
> email doesn't go through (i.e. incorrect email address, mailbox full, etc).
>
> Looking at the below docs, it appears you can directly email an appspot and
> handle it. However, can the address that bounces are sent to be specified?
>
> https://developers.google.com/appengine/docs/python/mail/receivingmail
> http://code.google.com/p/googleappengine/issues/detail?id=1800#c22
>
> Blaine
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/ZtqTOzhxdmAJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



-- 
Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Need advice on what to do POST HRD migration

2012-09-10 Thread Jim McCabe
Takashi -

I have a similar question but with a slight twist.  I migrated an app 
tonight to HRD and everything went great.  I would like the delete old app, 
but beforehand I was assuming I would need to point my Google Apps account 
to the new app.

Unfortunately I can't seem to point my Google Apps account to the new app - 
I see "You do not have the permissions necessary to uninstall this 
application." when I try to disable the old app in Google Apps (under 
"Dashboard" then "Settings" then my app).  This is confusing for me because 
I only have one account signed up on this domain and so I don't really 
think there is a different user with higher credentials than me.

Here is my question - if Google Apps is currently pointing to the old app 
(foo.appspot.com), but I delete that app in the App Engine console, will 
the alias continue to forward web requests to the new app 
(foo-hrd.appspot.com)?  In other words, since Google Apps appears to be 
permanently wired to the old app,  will I lose all hosting if I delete the 
old app?

On a related note, is there any page where we can see the active aliases? 
 The only way to see the alias is to view the old app - but if I delete the 
old app, how can I see that an alias exists?

Jim



On Friday, 24 August 2012 13:00:31 UTC-7, Takashi Matsuo (Google) wrote:
>
>
>
>
> On Sat, Aug 25, 2012 at 1:35 AM, n3phele  >wrote:
>
>> I have a question about what do to *after* migration to the HRD data 
>> store.
>>
>> After migration I end up with
>>
>> foo.appspot.com (old master/slave)
>>
>> and
>>
>> foo-hrd.appspot.com (new HRD app)
>>
>> I have chosen the appengine setup so that requests to foo.appspot.comare 
>> redirected to 
>> foo-hrd.appspot.com
>>
>> My question is:
>>
>> Can I safely delete the foo.appspot.com application using the appengine 
>> dashboard and be sure that the redirect foo.appspot.com will remain in 
>> place?
>>
>
> Yes, you can safely delete the old app.
>  
>
>>
>> Thanks in advance
>> -N
>>  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-appengine/-/nrFOVU87HSgJ.
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> -- 
> Takashi Matsuo | Developers Advocate | tma...@google.com 
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/xsKB09yhJ4AJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Need advice on what to do POST HRD migration

2012-09-10 Thread Jim McCabe
Thanks - I ended up solving the problem differently a while after posting. 
 To reiterate I am using Google Apps to mask the appspot.com address with 
my own custom domain (and also using Google Apps to manage email).

I couldn't really figure out how to delete the old App Engine service from 
my Google Apps account.  However, I went ahead and added the new App Engine 
app (with the new application ID) to the Google Apps account, and it worked 
fine.  In fact, by surprise, it immediately removed the domain mapping so 
that I had no domain mapping at all.

That is - after I added the 2nd App Engine app, Google immediately removed 
the mapping of my custom domain the old app.  This made it possible for me 
to map the domain to the new app, no problem at all!

Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/aIKys0MFJ5wJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Code reviews

2012-10-05 Thread Jim Morrison
So for appengine sdk patches, why should I expect the
code reviews list to be better than filing bugs?  Was anyone
from Google planning to pick up reviews on the patches?

On Fri, Oct 5, 2012 at 6:00 AM, alex  wrote:
> Hey there,
>
> yesterday, at the last hangout, there was a little discussion about
> how nice it is to have your code reviewed by someone else (not to
> mention Guido's talk back in 2006
> http://www.youtube.com/watch?v=sMql3Di4Kgc).
>
> As a result, App Engine code reviews mailing list is the initial effort.
>
> The idea is simple: push your code change lists to
> codereview.appspot.com with
> appengine-code-reviews+@googlegroups.com in CC and get it
> reviewed by other people subscribed to the list, willing to do code
> reviews or those that would like to exchange the favor of their code
> being reviewed :)
>
> A longer description can be found here:
> https://groups.google.com/d/topic/appengine-code-reviews/w2z1KaD27Ao/discussion
>
>
> What do you guys think?
>
> -- alex



-- 
Jim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



  1   2   >