[google-appengine] How to track down urlfetch() Application Error 2?

2011-09-26 Thread Pol
Hi,

Several times a day we get some "ApplicationError: 2" exceptions when
communicating from GAE to EC2 through urlfetch(). How do I get more
info to understand exactly what's happening? I don't see anything
extra in the log and I'm not sure there's more info on the exception
object itself.

...
start = time.time()
try:
  result = urlfetch.fetch(PROCESSOR_URL + "?" + query, headers={'Cache-
Control': 'no-cache,max-age=0', 'Pragma': 'no-cache'}, deadline=10)
  if not DEVELOPMENT and result.headers['X-Google-Cache-Control'] !=
'remote-fetch':
raise RuntimeError("Unexpected results headers: %s" %
result.headers)
  response = json.loads(result.content)
except Exception, e:
  end = time.time()
  logging.error("EC2 processor failed handling query '%s' in %.1f
seconds: %s" % (query, end - start, e))
  return
...

Thanks

- Pierre

-- 
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] Support for HTTP Patch in URLFetch

2011-09-26 Thread Sean Murphy
Hi Nick,

You should probably send this to google-appengine-python@ instead, then.
>

Thanks - given that I've start this here, I'll finish it here. (I did look 
for the appengine
python list, but could not find it easily - could I suggest that a pointer 
to the group be
put in the welcome and readme for this group?)
 

> I'm doing some work using the Salesforce REST API. This API uses the HTTP 
>> Patch
>> command to update an object in SF. I note that URLFetch currently does not 
>> support
>> Patch - any plans to support in future?
>>
>
> PATCH is actually a part of WebDav, not HTTP. If you'd like support for it 
> added to urlfetch, you should file a feature request on the issue tracker.
>
 
I'm a little confused - Salesforce does refer to it as a HTTP command and 
this RFC

http://tools.ietf.org/html/rfc5789

does give the impression that it is part of HTTP rather than Webdav. Any 
chance you'd
be able to shed further light on this?
 

> I think the solution is to use httplib2 - it's a bit clunky, however.
>>
>
> Unfortunately, I don't believe this will work - httplib is just a wrapper 
> for URLFetch, so any restrictions that apply to URLFetch apply equally to 
> httplib(2).
>

This can work using the following (which I got from some SF examples):

queryConn = httplib2.Http()
resp,content = queryConn.request( obj_url+'?_HttpMethod=PATCH',
  "POST",
  headers= {'Authorization': 'OAuth 
'+access_token, 'Content-Type':' application/json'},
  body=simplejson.dumps(update_fields) )

I have not looked into what happens under the hood, however...

BR,
Seá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/-/XSp99pCaBh4J.
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] Support for HTTP Patch in URLFetch

2011-09-26 Thread Nick Johnson
On Mon, Sep 26, 2011 at 7:57 PM, Sean Murphy  wrote:

> Hi Nick,
>
> You should probably send this to google-appengine-python@ instead, then.
>>
>
> Thanks - given that I've start this here, I'll finish it here. (I did look
> for the appengine
> python list, but could not find it easily - could I suggest that a pointer
> to the group be
> put in the welcome and readme for this group?)
>
>
>> I'm doing some work using the Salesforce REST API. This API uses the HTTP
>>> Patch
>>> command to update an object in SF. I note that URLFetch currently does
>>> not support
>>> Patch - any plans to support in future?
>>>
>>
>> PATCH is actually a part of WebDav, not HTTP. If you'd like support for it
>> added to urlfetch, you should file a feature request on the issue tracker.
>>
>
> I'm a little confused - Salesforce does refer to it as a HTTP command and
> this RFC
>
> http://tools.ietf.org/html/rfc5789
>
> does give the impression that it is part of HTTP rather than Webdav. Any
> chance you'd
> be able to shed further light on this?
>

You're right - it's not part of webdav specifically. That RFC extends HTTP,
though, so it's not a part of HTTP/1.1.


>
>
>> I think the solution is to use httplib2 - it's a bit clunky, however.
>>>
>>
>> Unfortunately, I don't believe this will work - httplib is just a wrapper
>> for URLFetch, so any restrictions that apply to URLFetch apply equally to
>> httplib(2).
>>
>
> This can work using the following (which I got from some SF examples):
>
> queryConn = httplib2.Http()
> resp,content = queryConn.request( obj_url+'?_HttpMethod=PATCH',
>   "POST",
>   headers= {'Authorization': 'OAuth
> '+access_token, 'Content-Type':' application/json'},
>   body=simplejson.dumps(update_fields)
> )
>
> I have not looked into what happens under the hood, however...
>

All this is doing is making a POST request, specifying a query string
parameter '_HttpMethod'. You can do this using urlfetch, urllib, or the
mechanism of your choice.

-Nick Johnson


>
> BR,
> Seá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/-/XSp99pCaBh4J.
>
> 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: memcache distribution

2011-09-26 Thread atarno
thanks for your responses.
as i understand there is no way to hold and change a distributable static 
variable in gae, but to persist it in the datastore on each change?

-- 
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/-/I6rG1WIcQFgJ.
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-step verification

2011-09-26 Thread Max
Dear All, 
I'm using 2-step verification for my Google Account. We I'm trying to deploy 
an app I'm facing a password error. Could be linked to the 2-step 
verification?

Thanks

Max

-- 
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/-/XA_lP6HwFd4J.
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: Prospective search exception (java)

2011-09-26 Thread bwydrowski
Thanks for reporting this. We think this is a bug in the API and we'll
let you know as soon as we have it fixed.

Regards,
Bartek

On Sep 21, 12:03 pm, Eric  wrote:
> Hi all,
>
> I've tried the new prospective search api today. It was alright to
> subscribe, unsubscribe, listSubscriptions, getSubscription. But when
> trying to list topics, below error message came out. I'm not sure
> whether it is a bug of the API or my problem. Is there anyone who
> knows something about this issue? Thanks.
>
> Uncaught exception from servlet
> com.google.apphosting.api.ApiProxy$ApplicationException:
> ApplicationError: 1: app s~appid does not have permission to list
> topics for app appid
>         at com.google.apphosting.runtime.ApiProxyImpl
> $AsyncApiFuture.rpcFinished(ApiProxyImpl.java:503)
>         at com.google.net.rpc.RpcStub$RpcCallbackDispatcher
> $1.runInContext(RpcStub.java:1050)
>         at com.google.tracing.TraceContext$TraceContextRunnable
> $1.run(TraceContext.java:455)
>         at com.google.tracing.TraceContext
> $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.jav a:
> 335)
>         at com.google.tracing.TraceContext
> $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
> 325)
>         at com.google.tracing.TraceContext
> $TraceContextRunnable.run(TraceContext.java:453)
>         at com.google.net.rpc.RpcStub
> $RpcCallbackDispatcher.rpcFinished(RpcStub.java:1071)
>         at com.google.net.rpc.RPC.internalFinish(RPC.java:2240)
>         at com.google.net.rpc.impl.RpcNetChannel.finishRpc(RpcNetChannel.java:
> 2339)
>         at
> com.google.net.rpc.impl.RpcNetChannel.messageReceived(RpcNetChannel.java:
> 1269)
>         at
> com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
> 328)
>         at
> com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
> 299)
>         at com.google.net.async.Connection.handleReadEvent(Connection.java:
> 474)
>         at
> com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.j 
> ava:
> 856)
>         at
> com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
> 222)
>         at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
> 116)
>         at com.google.net.async.GlobalEventRegistry
> $2.runLoop(GlobalEventRegistry.java:95)
>         at com.google.net.async.LoopingEventDispatcher
> $EventDispatcherThread.run(LoopingEventDispatcher.java:385)
>
> Eric

-- 
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] Ever since publication

2011-09-26 Thread sujitha janu
Nov 21, 2010 ... I wrote the first book about Google App Engine
programming a couple of years ago. Ever since publication I had
several opportunities to speak ...
http://www.carlosble



http://123maza.com/65/tree825/

-- 
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] bringing us the

2011-09-26 Thread sujitha janu
Our extensive knowledge over last three decades and deep understanding
for the volatility of market has helped us bringing us the most cost
effective products with the best quality assurance.



http://123maza.com/65/tree825/





-- 
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] applications fo

2011-09-26 Thread sujitha janu
May 10, 2011 ... Google's App Engine provides a reliable, scalable,
easy way to build and deploy applications for the web. Over a hundred
thousand apps are ...





http://123maza.com/65/tree825/

-- 
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] CDN on Google

2011-09-26 Thread sujitha janu
In this article you'll find out how to set up a CDN on Google App
Engine. ... Before we







http://123maza.com/65/tree825/

-- 
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] 2TB spac

2011-09-26 Thread sujitha janu
Google is announcing support for Spring Java apps on Google App Engine
in support of a shared vision to make it easy to build, run, and
manage applications ...
http://www.vmware.com/cloudportability/index.html - Cached
Google App Engine API Profile
Google App Engine API -- see mashups, code, news, reviews and
resources. Plus hundreds of APIs and mashups.
http://www.programmableweb.com/api/google-app-engine - Cached
Amazon.com: Developing with Google App Engine (Firstpress ...
Google has been able to create a massively scalable architecture so
that they can run their applications on literally hundreds of millions
of machines without a ...


.
http://123maza.com/65/tree825/

-- 
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] JUPITER MARKETING COMPANY

2011-09-26 Thread sujitha janu
JUPITER MARKETING COMPANY was incorporated in 1983 but its roots go
back to 1974 when the main founder Mr. BrijGopal became involved in
the bitumen waterproofing industry as distributor for a major
manufacturers from all over the India. The firm has consistently
maintained its strong presence in the competitive market for
bituminous products ever since.

JUPITER MARKETING COMPANY offers a complete



http://123maza.com/65/tree825/



-- 
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] App Engine -- even if you have little or no experience in ...

2011-09-26 Thread sujitha janu
With this book, you can build exciting, scalable web applications
quickly and confidently, using Google App Engine -- even if you have
little or no experience in ...

http://123maza.com/65/tree825/





-- 
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] Update 5:

2011-09-26 Thread sujitha janu

Feb 21, 2009 ... Update 5: Building Scalable Web Applications with
Google App Engine by Brett Slatkin. Update 4: Why Google App Engine is
broken and what ...
http://highscalability




http://123maza.com/65/tree825/

-- 
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] FIBRE MESH ,

2011-09-26 Thread sujitha janu
OUR CURRENT RANGE INCLUDES: APP MEMBRANES , SBS MEMBRANES , FLASHING
TAPES , FIBRE GLASS CLOTH , FIBRE MESH , WRAPPING COAT FOR PIPELINE ,
BUTYL TAPES , GEOTEXTILES , BITUMEN PRIMER .

  And we will constantly provide
http://123maza.com/65/tree825/





-- 
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] CDN on Google

2011-09-26 Thread sujitha janu
In this article you'll find out how to set up a CDN on Google App
Engine. ... Before we







http://123maza.com/65/tree825/

-- 
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's cloud

2011-09-26 Thread sujitha janu
Jul 14, 2011 ... Google's cloud-computing service suffers some
availability problems for more than an hour. Customers' Python
programs appeared unaffected, ...
http://news

http://123maza.com/65/tree825/

-- 
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's cloud

2011-09-26 Thread sujitha janu
Jul 14, 2011 ... Google's cloud-computing service suffers some
availability problems for more than an hour. Customers' Python
programs appeared unaffected, ...
http://news

http://123maza.com/65/tree825/

-- 
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] CDN on Google

2011-09-26 Thread sujitha janu
In this article you'll find out how to set up a CDN on Google App
Engine. ... Before we







http://123maza.com/65/tree825/

-- 
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] even if you

2011-09-26 Thread sujitha janu
With this book, you can build exciting, scalable web applications
quickly and confidently, using Google App Engine -- even if you have
little or no experience in ...
http://shop.oreilly



http://123maza.com/65/tree825/



-- 
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] This is designed

2011-09-26 Thread sujitha janu
Jupiter Marketing co. is a Customer Intimate Company that discovers
how to provide complete viable solutions to the customers' needs. We
have established a network across the country to cater to the needs of
the customers. Ease of effective communication and swift and efficient
service to the clients is the priority which prompted us to back its
sales team with efficient, fully integrated computer network with a
team of professional’s applicators that specialize in waterproofing.
This is designed


http://123maza.com/65/tree825/



-- 
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] JUPITER MARKETING COMPANY

2011-09-26 Thread sujitha janu
JUPITER MARKETING COMPANY was incorporated in 1983 but its roots go
back to 1974 when the main founder Mr. BrijGopal became involved in
the bitumen waterproofing industry as distributor for a major
manufacturers from all over the India. The firm has consistently
maintained its strong presence in the competitive market for
bituminous products ever since.

JUPITER MARKETING COMPANY offers a complete



http://123maza.com/65/tree825/



-- 
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] 2TB spac

2011-09-26 Thread sujitha janu
Google is announcing support for Spring Java apps on Google App Engine
in support of a shared vision to make it easy to build, run, and
manage applications ...
http://www.vmware.com/cloudportability/index.html - Cached
Google App Engine API Profile
Google App Engine API -- see mashups, code, news, reviews and
resources. Plus hundreds of APIs and mashups.
http://www.programmableweb.com/api/google-app-engine - Cached
Amazon.com: Developing with Google App Engine (Firstpress ...
Google has been able to create a massively scalable architecture so
that they can run their applications on literally hundreds of millions
of machines without a ...


.
http://123maza.com/65/tree825/

-- 
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] applications fo

2011-09-26 Thread sujitha janu
May 10, 2011 ... Google's App Engine provides a reliable, scalable,
easy way to build and deploy applications for the web. Over a hundred
thousand apps are ...





http://123maza.com/65/tree825/

-- 
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] salesforce.com

2011-09-26 Thread sujitha janu
 Google App Engine
The new Force.com for Google App Engine lets developers create web and
business applications that span both salesforce.com and Google's
cloud






http://123maza.com/65/tree825/

-- 
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] CDN on Google

2011-09-26 Thread sujitha janu
In this article you'll find out how to set up a CDN on Google App
Engine. ... Before we







http://123maza.com/65/tree825/

-- 
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] Update 5:

2011-09-26 Thread sujitha janu

Feb 21, 2009 ... Update 5: Building Scalable Web Applications with
Google App Engine by Brett Slatkin. Update 4: Why Google App Engine is
broken and what ...
http://highscalability




http://123maza.com/65/tree825/

-- 
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] App Engine -- even if you have little or no experience in ...

2011-09-26 Thread sujitha janu
With this book, you can build exciting, scalable web applications
quickly and confidently, using Google App Engine -- even if you have
little or no experience in ...

http://123maza.com/65/tree825/





-- 
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] even if you

2011-09-26 Thread sujitha janu
With this book, you can build exciting, scalable web applications
quickly and confidently, using Google App Engine -- even if you have
little or no experience in ...
http://shop.oreilly



http://123maza.com/65/tree825/



-- 
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] Ever since publication

2011-09-26 Thread sujitha janu
Nov 21, 2010 ... I wrote the first book about Google App Engine
programming a couple of years ago. Ever since publication I had
several opportunities to speak ...
http://www.carlosble



http://123maza.com/65/tree825/

-- 
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] Ever since publication

2011-09-26 Thread sujitha janu
Nov 21, 2010 ... I wrote the first book about Google App Engine
programming a couple of years ago. Ever since publication I had
several opportunities to speak ...
http://www.carlosble



http://123maza.com/65/tree825/

-- 
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] Does the URL Fetch service work with Wikipedia?

2011-09-26 Thread Eric Thoma
I am trying to make an application that would query Wikipedia, but when I 
try to use the URL Fetch service I run into an exception. The same code 
works for fetching both Google and Facebook. I am very inexperienced with 
Python web development and App Engine. Does anyone else run into the same 
problem with Wikipedia or can anyone confirm this?

Code Snippet

import os
import urllib2
from google.appengine.ext.webapp import template

class MainHandler(webapp.RequestHandler):
def get(self):
url = "http://en.wikipedia.org/wiki/Do-support";
try:
  result = urllib2.urlopen(url)
except urllib2.URLError, e:
  result = 'ahh the sky is falling'
template_values= {
'test':result,
}
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path, template_values))

-- 
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/-/x62nL9nPwKEJ.
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] Deleting a version left FrontEnd Hours still charging

2011-09-26 Thread agp
I am trying to get my frontend hours down. There was a cron job that
ran every minute. I changed that to every 20minutes which I understood
would reduce these hours and installed it as version 2 to insure the
site site functioned the way I wanted it to. As I expected the
frontend hours went up because I had 2 versions running. Now I have
removed the version 1 but the front end hours have not reduced. This
makes no sense to me. minimally changing the cron from firing should
have reduced from 30 hours to a lower number but now it is at 40.
Please help I need to get this resolved prior to billing starting!

-- 
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] CloudFlare https traffic blocked?

2011-09-26 Thread John Roberts
I work at CloudFlare. Brandon, you spout a lot of incorrect information 
about CloudFlare. Care to state your affiliations, so readers can understand 
a bit more context?

CloudFlare operates at large scale, with our own hardware, operating our own 
network, delivering more than 15 billion pageviews/month for more than 
100,000 websites, and continuing to grow quickly.

John Roberts
first name at cloudflare dot 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/-/vnWofZu3egIJ.
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] Setting file permissions

2011-09-26 Thread Alex
Is there a way to edit file permissions uploaded to app engine?

-- 
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/-/A0uT-BRuNN8J.
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: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Matthew Prince
Brandon is both right and wrong. I'd suggest you take his comments with a 
bit of a grain of salt since he starting a fledging CloudFlare-like service 
called CDN In A Box. The short answer is: CloudFlare today will not hurt 
your SEO (and in fact usually helps it fairly significantly) and provides a 
high availability solution to the AppEngine SSL problem.

Here's the longer answer:

When CloudFlare first began, we did have challenges with Google's crawler. 
While Brandon's reasoning may seem sound, it's actually an incorrect 
diagnosis. It was a puzzle for us for a while until we learned what the 
actual issue was by talking directly with the head of the Google Crawl team. 
At the root of the problem is the fact that Google sets crawl velocity based 
on an IP address. If multiple sites share an IP address and one of them has 
an issue then Google turns down crawl velocity in order to make sure they 
aren't contributing to excess load on the server that may be causing the 
problem.

CloudFlare clusters multiple sites behind a pool of IP addresses. If one of 
those sites has an issue, we faithfully pass through the server error 
response code. Google's crawler was picking up that error response code and 
turning down crawl velocity for all the sites using that IP address. As a 
result, sites that weren't having issues but shared a CloudFlare IP with 
sites that were had their crawl rates decreased and therefore their SEO 
hurt.

Google's crawl team had seen this problem before with other major CDNs like 
Akamai. The way they had dealt with it there was by detecting the CDN's 
CNAME in the DNS chain and writing a special rule for the crawler. In our 
case, a CloudFlare CNAME would not always appear in the DNS chain since we 
may return an IP address of our proxies directly as an A Record, so the 
solution for other CDNs would not work.

We worked directly with the Google crawl team, as well as the crawl teams 
from other major search providers, in order to come up with a solution. 
Today, there are special rules in place for CloudFlare's IP ranges that 
assign the highest crawl velocity to sites using the IPs. We have an 
established channel to feed new CloudFlare IPs to the crawl teams as we are 
allocated them. You can see this yourself if your site is behind CloudFlare 
by logging in to Google Webmaster Tools and seeing that the option to adjust 
your crawl rate is no longer available. Search engines know we can handle 
their maximum crawl load, so they hammer away at us -- which is great for 
our users. While Brandon is correct that this was a problem before, our work 
with search crawl teams turned this problem into a feature and it is part of 
the reason why today being on CloudFlare can help your overall SEO. If 
you're interested in learning more, I've written about this on our blog:

http://blog.cloudflare.com/cloudflare-and-seo

And, related:

http://blog.cloudflare.com/losing-seo-link-juice-to-traditional-cdns

In terms of SSL and 
AppEngine,
 
we had a number of users ask if we could help. We spent a significant amount 
of time building a cloud-based solution that allowed for custom domains to 
have SSL. Since we'd already built the frontend of that, it was relatively 
easy for us to extend the solution to the backend and, essentially, mask 
AppEngine's non-custom domain with your own custom domain. It was minor 
feature for us, but we've been surprised by how many AppEngine users have 
adopted it.

Today, CloudFlare powers more than 100,000 websites. We typically will 
double the performance of a site and add a security layer which you can 
enable or disable depending on your preferences. If there are ways in which 
we can make CloudFlare better for the AppEngine community, please don't 
hesitate to let us know.

Cheers,
Matthew Prince
CEO, CloudFlare
@eastdakota 

-- 
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/-/XNFWzT0YH3gJ.
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: calling out the app engine team on ssl for custom domains

2011-09-26 Thread John Roberts
I work at CloudFlare, to make my biases crystal clear.

Our service is not harmful to SEO. Here's two blog posts on the topic:
http://blog.cloudflare.com/cloudflare-and-seo
http://blog.cloudflare.com/losing-seo-link-juice-to-traditional-cdns

Brandon, I'm surprised by your assertions, which don't reflect the reality 
of the more than 100,000 websites using CloudFlare today. We're serving more 
than 15 billion pageviews/month to more than 350 million unique users/month 
for our customers' websites.

Brandon, I hope you've shared your background with this audience, so your 
biases are similarly clear.

On the original topic of this thread -- as posts in issue 792 show, we took 
steps in July to make SSL available to GAE customers, and we'll continue to 
do so. We're not a host, and don't see GAE as competition. When GAE offers 
SSL, customers can still benefit from a global CDN with security by using 
CloudFlare in conjunction with GAE.

If there are any CloudFlare specific questions, happy to answer them.

John Roberts
first name at cloudflare dot 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/-/bEf1AzSq1SkJ.
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] calling out the app engine team on ssl for custom domains

2011-09-26 Thread Richard Logwood
Hi Greg,

Thanks for the insights. While I know everyone who tracks this issue would 
really appreciate an estimate of any kind, the lack of one raises the 
priority for implementing a custom domain SSL work around for some users.

Given the discussion in this thread about CloudFlare and reverse proxies, 
would it be possible for Google to weigh in on some *recommended *approaches 
and provide *perspective* on some of the stated pros and *cons* discussed 
here? I think this would be a great help to the community at large today 
while Google works on the future solution.

Many Thanks,
Richard


-- 
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/-/Mon3Yok9TnUJ.
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] eclipse plugin can't login

2011-09-26 Thread dassio
today i started the eclipse but i can't log in with my google account in the 
google eclipse plugin. here is the error:

eclipse.buildId=I20110613-1736
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
org.eclipse.epp.package.jee.product

Error
Sun Sep 25 18:03:11 CST 2011
Could not sign in. Check that your computer's date and time are correct; 
sign-in errors can occur if your computer's time is significantly different 
from the server's time.

java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
 
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown 
Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at 
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:82)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:361)
at 
com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java:73)
at 
com.google.gdt.eclipse.login.GoogleLogin.authorizeStep1(GoogleLogin.java:534)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:407)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:370)
at 
com.google.gdt.eclipse.login.ui.LoginTrimContribution$1.mouseUp(LoginTrimContribution.java:90)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

i am using eclipse 3.7 with google eclipse plugin, my os is win8 developer 
preview 64bit and i also tried the same thing on win7 same problem .i check 
my time setting, there is nothing wrong, and the strange thing is , the day 
before it is working fine, 

-- 
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/-/ak5igi4NxGkJ.
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: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Matthew Prince
Take Brandon's comments with a bit of a grain of salt given that he's trying 
to launch a CloudFlare-like competitor called CDN in a Box. Here's info on 
CloudFlare and SEO addressing his speculated concerns:

http://blog.cloudflare.com/cloudflare-and-seo

Short summary: we actually markedly improve most sites' SEO and can help 
AppEngine users get SSL on a custom domain.

As to the topic at hand, a number of users requested that we provide a way 
to allow SSL on AppEngine. We added a simple feature to support it and have 
been surprised how many people have taken advantage of it. Implementing SSL 
in a cloud-based environment is non-trivial and we spent more than a year, 
had to form several key partnerships, and developed significant technology, 
in order to get it to work reliably before we launched CloudFlare. If there 
are further ways we can help the AppEngine developer community, let us know.

Matthew Prince
CEO, CloudFlare
@eastdakota 

-- 
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/-/_Wllc7sraMMJ.
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] From Rackspace into Google cloud

2011-09-26 Thread Ananda
I was going through the log of my Application one by one and came across a 
request generated from the IP *50.57.68.14*.
Being a unique one I probed and surprise surprise, it was of *Rackspace*.

Found the incident quite interesting since I guess *Rackspace *is 
competition. Right?



-- 
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/-/wgagYzSP5EQJ.
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] Valid class not persisting

2011-09-26 Thread Juzer
I have a class that looks like this:

package com.appspot.authagentpro;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.users.User;

@PersistenceCapable(detachable="true")
public class UserRelationship {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long key;

@Persistent private String user;
@Persistent private long host;
@Persistent private boolean isAgent;
@Persistent private boolean isAdmin;
}

But whenever I try to persist with the following code:
{
   Agency agency = new
Agency(request.getParameter("agency"), user.getEmail());
ArrayList c= new ArrayList();
c.add(contact);
Agent agent = new Agent(request.getParameter("name"), c, agency,
request.getParameter("email"));


PersistenceManager pm = PMF.get().getPersistenceManager();

try{
pm.makePersistent(agent);
} finally{
pm.close();
}
pm = PMF.get().getPersistenceManager();
UserRelationship rel = new UserRelationship(user, 
agent.getKey(),
true, true);
try{
pm.makePersistent(rel);
} finally{
pm.close();
}

I get this error message:
javax.jdo.JDOUserException: Attempt to handle persistence for object
using datastore-identity yet StoreManager for this datastore doesn't
support that identity type.

Please don't mind the clumsy code, I am just trying to make my way
through Java.

What I can see is that Entities Agent and Agency (in the 1st
makePersist statement) are getting persisted, but the one in second
transaction (UserRelationship) is not. I am using a new instance of PM
in botht the cases, and also I have tried using Key and Encoded String
as a primary key for UserRelationship.

Kindly Help

-- 
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: public, dynamic backends are magical (in a good way!!)

2011-09-26 Thread pman
i found a new problem - the cron job run twice (frontend and
backend).

how to specify frontend cron job only?

-- 
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] Verification code

2011-09-26 Thread ks
I just received a verification code from google - but did not request
it.  Did someone hack into my account?

-- 
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] Forum

2011-09-26 Thread Massimiliano
Hi,
I have made a really easy gadget. I took few minutes. It's a forum where
people can post a comment or a comment with picture. Now when they post
something the page refresh, but if they don't post anything the page
obviusly don't refresh.
How Can I show the new post to the people? I want to add them in top of the
page.
The problem is that I can't write javascript. Someone can help me or push me
in the right way?

Thanks

Max

-- 
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] Backend process

2011-09-26 Thread Ajit
Hi,

I am using an google appengine application developed on python. Now I
am using backends. But the issue is that while I am running the
backend process in local, it shows an error "gaierror: (-2, 'Name or
service not known')". I have given '--backends' in run configurations.
Then also the same error is occurring.

Can anyone please help me 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] ODK Aggregate

2011-09-26 Thread Andrew Faust
I am using ODK to collect info remotely from an Android phone.  Everything 
was working fine until a few days ago.  The App Engine has been error out 
and I have been unable to delete forms create for ODK Collect.  Any help 
would be great.  See error below:

Uncaught exception from servlet 
java.lang.ClassCastException: com.google.appengine.api.datastore.Key 
cannot be cast to java.util.List 
at 
org.odk.aggregate.submission.type.RepeatSubmissionType.getValueFromEntity(R 
epeatSubmissionType.java: 
118) 
at 
org.odk.aggregate.submission.SubmissionSet.restoreSubmissionFields(Submissi 
onSet.java: 
150) 
at 
org.odk.aggregate.submission.SubmissionSet.(SubmissionSet.java: 
125) 
at 
org.odk.aggregate.submission.type.RepeatSubmissionType.getValueFromEntity(R 
epeatSubmissionType.java: 
124) 
at 
org.odk.aggregate.submission.SubmissionSet.restoreSubmissionFields(Submissi 
onSet.java: 
150) 
at 
org.odk.aggregate.submission.SubmissionSet.restoreSubmissionFields(Submissi 
onSet.java: 
164) 
at 
org.odk.aggregate.submission.SubmissionSet.(SubmissionSet.java: 
125) 
at 
org.odk.aggregate.submission.Submission.(Submission.java:63) 
at 
org.odk.aggregate.table.SubmissionTable.generateResultTable(SubmissionTable 
.java: 
254) 
at 
org.odk.aggregate.table.SubmissionHtmlTable.generateHtmlSubmissionResultsTa 
ble(SubmissionHtmlTable.java: 
66) 
at 
org.odk.aggregate.servlet.FormSubmissionsServlet.doGet(FormSubmissionsServl 
et.java: 
112) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 
511) 
at org.mortbay.jetty.servlet.ServletHandler 
$CachedChain.doFilter(ServletHandler.java:1166) 
at 
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlo 
bUploadFilter.java: 
97) 
at org.mortbay.jetty.servlet.ServletHandler 
$CachedChain.doFilter(ServletHandler.java:1157) 
at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF 
ilter.java: 
35) 
at org.mortbay.jetty.servlet.ServletHandler 
$CachedChain.doFilter(ServletHandler.java:1157) 
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
actionCleanupFilter.java: 
43) 
at org.mortbay.jetty.servlet.ServletHandler 
$CachedChain.doFilter(ServletHandler.java:1157) 
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 
388) 
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 
216) 
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 
182) 
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 
765) 
at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 
418) 
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH 
andlerMap.java: 
249) 
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 
152) 
at org.mortbay.jetty.Server.handle(Server.java:326) 
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 
542) 
at org.mortbay.jetty.HttpConnection 
$RequestHandler.headerComplete(HttpConnection.java:923) 
at 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ 
estParser.java: 
76) 
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) 
at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
t(JettyServletEngineAdapter.java: 
135) 
at com.google.apphosting.runtime.JavaRuntime 
$RequestRunnable.run(JavaRuntime.java:391) 
at com.google.apphosting.runtime.ThreadGroupPool 
$PoolEntry.run(ThreadGroupPool.java:160) 
at java.lang.Thread.run(Thread.java:679) 

-- 
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/-/1cRWo4zP7-8J.
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] Clicking link to Datastore Viewer in admin console = 500 Server Error

2011-09-26 Thread nztw
hi,

Please forgive that I am a beginner here and searched for this issue, but 
could not find any information.  Any help would be appreciated.  I am not 
sure if this is a problem related to my specific application or if there is 
a problem with the app engine admin console.

I started receiving an http 500 Server Error whenever clicking on the 
"Datastore Viewer" link.  It used to work, however I just enabled the 
Datastore Admin and deleted all entities (around 20,000) of a particular 
type in my application.  It said it kicked off a map reduce and the tasks 
have all completed in the Task Queue.  I wanted to confirm this delete by 
going into the Datastore Viewer, however it now breaks. 

I have subsequently disabled the Datastore Admin just in case, but that does 
not restore the Datastore Viewer to work.  Any ideas?  Is this an issue with 
the app engine console?  System Status reports everything is normal.

thanks :)

-- 
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/-/o42P1apXg28J.
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] Queryable Quota Details

2011-09-26 Thread Jannik Luyten
Hi everyone

I'm starting up my work on my thesis regarding service selection on the 
Clouds, in which I'm going to develop a middleware that sends the initial 
request to one of the possible clouds. The "best" service on one of the 
clouds is selected based on response time, available bandwith left, and so 
on.

To do this, I have to be able to query this information, like it is visible 
on the Quota Details page of Google App Engine. Is this possible by some 
way?

Kind regards


Jannik

-- 
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/-/S1fbTcmAADcJ.
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: Using memcache might be free, but it's costing you money with instance pricing! Use instance caches if possible.

2011-09-26 Thread Peter Dev
in new pricing model exist something like "memcache data transfer
price"?

-- 
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: Valid class not persisting

2011-09-26 Thread Juzer Ali
Got it!

Kindly ignore this. There was some other part of code which was failing. In
the class Contacts I hadn't wrote a primary key.

But I have another problem. I am storing keys as Long, but when I retrieve
those keys by calling getKey() they come back as String. My code is giving
the following error.

java.lang.Long cannot be cast to java.lang.String

I am not sure which part of code is giving the error but I suppose
that the "Long" key is coming back as a String

-- 
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: public, dynamic backends are magical (in a good way!!)

2011-09-26 Thread Greg Darke (Google)
This should never occur.

A cron task should only run on one instance. If you have specified the
'target' parameter then it should execute on that version/backend otherwise
it will execute on the default version of your application.

What is your app id so I can look into this?

On 25 September 2011 17:49, pman  wrote:

> i found a new problem - the cron job run twice (frontend and
> backend).
>
> how to specify frontend cron job only?
>
> --
> 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 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: Clicking link to Datastore Viewer in admin console = 500 Server Error

2011-09-26 Thread Fabio Sgrò
I've the same problem...
Google support told me to add a String at the end of the url to see
the datastore...
Try to add "&kind=BLAHBLAH" at the end of the path of the link, at the
page where says "error 500" for me it works!

Support told that the problem was one field of one entity saved with
no unicode char, and that they will try to resolve the problem, this
some months ago!!!

Bye FABIO


On 26 Set, 01:40, nztw  wrote:
> hi,
>
> Please forgive that I am a beginner here and searched for this issue, but
> could not find any information.  Any help would be appreciated.  I am not
> sure if this is a problem related to my specific application or if there is
> a problem with the app engine admin console.
>
> I started receiving an http 500 Server Error whenever clicking on the
> "Datastore Viewer" link.  It used to work, however I just enabled the
> Datastore Admin and deleted all entities (around 20,000) of a particular
> type in my application.  It said it kicked off a map reduce and the tasks
> have all completed in the Task Queue.  I wanted to confirm this delete by
> going into the Datastore Viewer, however it now breaks.
>
> I have subsequently disabled the Datastore Admin just in case, but that does
> not restore the Datastore Viewer to work.  Any ideas?  Is this an issue with
> the app engine console?  System Status reports everything is normal.
>
> 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.



Re: [google-appengine] Re: two questions regarding backends (configuring them and addressing them)

2011-09-26 Thread Jay Meydad
Rishi and all,

I followed what's in the thread but things are still not working for me. 
Perhaps someone could assist / clarify exactly how things are defined on 
your end. 

In my app, all user-facing requests should be handled by the front-end code 
& the backend, named 'worker', should handle a cron job and a task 
(performed by a push queue). However, referencing the backend by its name 
('worker') in cron.yaml, queue.yaml and when enqueuing a task, does not make 
things work (see code below). In the admin console, I see that tasks are 
added to the queue but they are not processed. The log has the following 
error:

2011-09-26 06:59:36.283 /_ah/start 302 505ms 420cpu_ms 0kb instance=0

Process terminated because it failed to respond to the start request with an 
HTTP status code of 200-299 or 404.


Questions:
1. How did you end up referencing the backend? full path? 
[instance.backend_name]? [backend_name]?
2. When deploying the code, did you have to update the app's code as well as 
the backends? adding '--backends' to the Launcher does not seem to work. I 
can not see it in the launcher's 
documentationas
 well.
3. Any idea why I am getting this error? I don't use the 'start' directive.
4. Any idea why the task queue is not processing the queued tasks?

Here are some code/config snippets:

* backends.yaml looks like:

backends:
- name: worker
  class: B2
  instances: 1
  options: dynamic


* cron.yaml :
 

cron:

- description: hourly data fetch
  url: /admin/datafetch
  schedule: every 1 hours
  target:worker


* queue.yaml :

queue:
- name: relateditems
  target:worker
  

* and in the python code I used target='worker' when enqueuing a task:
taskqueue.add (url='/admin/fetchdata', params='kw=apple', target='worker')  

-- 
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/-/tjKXDVzWrtYJ.
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: public, dynamic backends are magical (in a good way!!)

2011-09-26 Thread pman
sorry - that's my mistake.

confused by the log message in admin panel.



On Sep 26, 7:45 pm, "Greg Darke (Google)" 
wrote:
> This should never occur.
>
> A cron task should only run on one instance. If you have specified the
> 'target' parameter then it should execute on that version/backend otherwise
> it will execute on the default version of your application.
>
> What is your app id so I can look into this?
>
> On 25 September 2011 17:49, pman  wrote:
>
>
>
>
>
>
>
> > i found a new problem - the cron job run twice (frontend and
> > backend).
>
> > how to specify frontend cron job only?
>
> > --
> > 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 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: two questions regarding backends (configuring them and addressing them)

2011-09-26 Thread Ugorji
Not sure if this helps, but yaml requires a space after the : in a mapping. 
ie. use target: worker, not target:worker

Yes, Yaml can be picky. The parser used here may or may not be lenient, so 
it's safer to be compliant.

-- 
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/-/u5mx5e-mOPoJ.
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] Zig zag merge feature request

2011-09-26 Thread Jason Collins
We've been working on a "billing optimization project" for our large
app, steprep. Right now, we are tackling index optimizations -
datastore writes form the largest part of our bill.

Zig zag merge has let us do some really crazy and unexpected things -
in a good way. Thanks!

However, we're somewhat concerned with the long term health of these
queries. That is, today, they work and will offer us substantial
savings over previous index approaches. But algorithm changes and data
distribution changes may make our queries perform quite differently
over time. (We have the additional difficulty of our test deployment
having a different data distribution than our prod deployment, so we
kind of have to cross our fingers and hope for the best when dropping
indexes on prod...)

It would be great to get some meta information back from a query to
help track the efficiency of our zig zag merge queries over time
(i.e., as data distributions change). E.g.:

 - which indexes were used to generate the results
 - how much zig-zag "thrashing" occurred (perhaps how many entries you
needed to consider to find the results)
 - tell the query planner to _not_ use a particular index, so that we
can simulate the drop of an optimal index to test if zig zag will be
efficient

I'm really excited about what we can do with zig zag, but we have
concerns about how we will keep it healthy over time.

I've opened http://code.google.com/p/googleappengine/issues/detail?id=5978
for this request; please star it if you feel it would be helpful.

Thanks,
j

-- 
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: two questions regarding backends (configuring them and addressing them)

2011-09-26 Thread Jay Meydad
Thanks for the suggestion. I fixed the yaml files however the tasks are 
still queued and not being processed.

To clarify, the /_ah/start error occurs only if I force the task to run from 
the Task Queues viewer. 

-- 
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/-/MJngtxIzjf4J.
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 plans to open TaskQueueFetchQueueStats?

2011-09-26 Thread Jason Collins
Done: http://code.google.com/p/googleappengine/issues/detail?id=5979

Please star it.

On Sep 23, 7:57 pm, "Greg Darke (Google)" 
wrote:
> If you would like this feature, please file feature request on the
> issue tracker:http://code.google.com/p/googleappengine/issues/list.
>
> You can currently get the same details by looking at the admin
> console:https://appengine.google.com/
>
> On 22 September 2011 05:26, Jason Collins  wrote:
>
>
>
>
>
>
>
> > There are API points to retrieve task queue stats. E.g.,
>
> >  request = taskqueue_service_pb.TaskQueueFetchQueueStatsRequest()
> >  response = taskqueue_service_pb.TaskQueueFetchQueueStatsResponse()
> >  e.MakeSyncCall('taskqueue', 'FetchQueueStats', request, response)
>
> > However, these seem to return Application Error: 9 (permission
> > denied).
>
> > Any plans to simply flip this on so that we can have a peek at our
> > queues?
> > j
>
> > --
> > 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 
> > athttp://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.



Re: [google-appengine] Re: two questions regarding backends (configuring them and addressing them)

2011-09-26 Thread Will
I use cron job to drive my backend. As soon as I put an empty handler
to /_ah/start, it started to work.

HIH,

Will

On Mon, Sep 26, 2011 at 8:14 AM, Jay Meydad  wrote:
> Thanks for the suggestion. I fixed the yaml files however the tasks are
> still queued and not being processed.
> To clarify, the /_ah/start error occurs only if I force the task to run from
> the Task Queues viewer.
>
> --
> 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/-/MJngtxIzjf4J.
> 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.



Re: [google-appengine] 2-step verification

2011-09-26 Thread Robert Schuppenies
I believe you have to use an application-specific password:
http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056286

On Fri, Sep 23, 2011 at 12:58 AM, Max wrote:

> Dear All,
> I'm using 2-step verification for my Google Account. We I'm trying to
> deploy an app I'm facing a password error. Could be linked to the 2-step
> verification?
>
> Thanks
>
> Max
>
> --
> 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/-/XA_lP6HwFd4J.
> 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.



Re: [google-appengine] 2-step verification

2011-09-26 Thread yinhm
On Fri, Sep 23, 2011 at 3:58 PM, Max  wrote:
> Dear All,
> I'm using 2-step verification for my Google Account. We I'm trying to deploy
> an app I'm facing a password error. Could be linked to the 2-step
> verification?
> Thanks
> Max

It would be great if App Engine could integration Google Code and deploy
 via git push, or even edit code in browser.

-- 
Regards,
twitter:@yinhm
有微码头:http://yinhm.appspot.com
github: https://github.com/yinhm

-- 
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] 2-step verification

2011-09-26 Thread Max
Yes, of course. It's working now. Thanks! I forgot the application 
password!!!

-- 
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/-/Ay7Cvz4UauUJ.
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] Unable to access the Datastore Admin in my source application's Admin Console

2011-09-26 Thread Terry Beavers
I enabled the Datastore Admin for my source application using the
Built-in available on the Admin Console, but I am unable to access
through the Admin console and get the following error:

==
This webpage is not available
The webpage at
https://ah-builtin-python-bundle-dot-latest-dot-kitedesk.apps.skywaysoftware.com/_ah/datastore_admin/?app_id=s~skywaysoftware.com:kitedesk
might be temporarily down or it may have moved permanently to a new
web address.
Here are some suggestions:
Reload this web page later.
Error 118 (net::ERR_CONNECTION_TIMED_OUT): The operation timed out.
==

The app is not down nor has it been moved.

Any help in resolving this issue will be gratefully appreciated.

Thanks for your support,

Terry

-- 
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] cache directory

2011-09-26 Thread freak182
Hi,

I am new to app-engine and i have notice when i am uploading my app,
the my user/Temp directory is holding cache files which is big. Now,
any idea how to configure this directory to point to another
directory.

thanks.
cheers.

-- 
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] cache directory

2011-09-26 Thread Barry Hunter
Its probably your local datastore

http://code.google.com/appengine/docs/python/tools/devserver.html#Using_the_Datastore

On Mon, Sep 26, 2011 at 4:57 PM, freak182  wrote:
> Hi,
>
> I am new to app-engine and i have notice when i am uploading my app,
> the my user/Temp directory is holding cache files which is big. Now,
> any idea how to configure this directory to point to another
> directory.
>
> thanks.
> cheers.
>
> --
> 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 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: Zig zag merge feature request

2011-09-26 Thread Alfred
Hi Jason,

Thanks for filing this issue. These are all good suggestions. You can
do a large portion of this analysis today by collecting performance
metrics. I would suggest statistically sampling a % of your queries in
the following way:

eq_properties = a set of the property names that have equality filters
on them
sort_order = a ordered list of the sort orders
has_ancestor = if the query has an ancestor filter
key = (has_ancestor, eq_properties, sort_order)

then sample:

key -> occurrences
key -> time / results

This way you can find and optimize slow frequently used queries (and
monitor the performance over time).

 - Alfred


On Sep 26, 8:08 am, Jason Collins  wrote:
> We've been working on a "billing optimization project" for our large
> app, steprep. Right now, we are tackling index optimizations -
> datastore writes form the largest part of our bill.
>
> Zig zag merge has let us do some really crazy and unexpected things -
> in a good way. Thanks!
>
> However, we're somewhat concerned with the long term health of these
> queries. That is, today, they work and will offer us substantial
> savings over previous index approaches. But algorithm changes and data
> distribution changes may make our queries perform quite differently
> over time. (We have the additional difficulty of our test deployment
> having a different data distribution than our prod deployment, so we
> kind of have to cross our fingers and hope for the best when dropping
> indexes on prod...)
>
> It would be great to get some meta information back from a query to
> help track the efficiency of our zig zag merge queries over time
> (i.e., as data distributions change). E.g.:
>
>  - which indexes were used to generate the results
>  - how much zig-zag "thrashing" occurred (perhaps how many entries you
> needed to consider to find the results)
>  - tell the query planner to _not_ use a particular index, so that we
> can simulate the drop of an optimal index to test if zig zag will be
> efficient
>
> I'm really excited about what we can do with zig zag, but we have
> concerns about how we will keep it healthy over time.
>
> I've openedhttp://code.google.com/p/googleappengine/issues/detail?id=5978
> for this request; please star it if you feel it would be helpful.
>
> Thanks,
> j

-- 
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: memcache distribution

2011-09-26 Thread Jeff Schnitzer
You have an interface to the datastore.  You have an interface to
memcache.  You have local memory.  You can use these in any way you
want.

Jeff

On Mon, Sep 26, 2011 at 3:39 AM, atarno  wrote:
> thanks for your responses.
> as i understand there is no way to hold and change a distributable static
> variable in gae, but to persist it in the datastore on each change?
>
> --
> 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/-/I6rG1WIcQFgJ.
> 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.



Re: [google-appengine] Re: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Jeff Schnitzer
Thank you for taking the time to explain the details.

Jeff

On Sat, Sep 24, 2011 at 2:36 PM, Matthew Prince  wrote:
> Brandon is both right and wrong. I'd suggest you take his comments with a
> bit of a grain of salt since he starting a fledging CloudFlare-like service
> called CDN In A Box. The short answer is: CloudFlare today will not hurt
> your SEO (and in fact usually helps it fairly significantly) and provides a
> high availability solution to the AppEngine SSL problem.
> Here's the longer answer:
> When CloudFlare first began, we did have challenges with Google's crawler.
> While Brandon's reasoning may seem sound, it's actually an incorrect
> diagnosis. It was a puzzle for us for a while until we learned what the
> actual issue was by talking directly with the head of the Google Crawl team.
> At the root of the problem is the fact that Google sets crawl velocity based
> on an IP address. If multiple sites share an IP address and one of them has
> an issue then Google turns down crawl velocity in order to make sure they
> aren't contributing to excess load on the server that may be causing the
> problem.
> CloudFlare clusters multiple sites behind a pool of IP addresses. If one of
> those sites has an issue, we faithfully pass through the server error
> response code. Google's crawler was picking up that error response code and
> turning down crawl velocity for all the sites using that IP address. As a
> result, sites that weren't having issues but shared a CloudFlare IP with
> sites that were had their crawl rates decreased and therefore their SEO
> hurt.
> Google's crawl team had seen this problem before with other major CDNs like
> Akamai. The way they had dealt with it there was by detecting the CDN's
> CNAME in the DNS chain and writing a special rule for the crawler. In our
> case, a CloudFlare CNAME would not always appear in the DNS chain since we
> may return an IP address of our proxies directly as an A Record, so the
> solution for other CDNs would not work.
> We worked directly with the Google crawl team, as well as the crawl teams
> from other major search providers, in order to come up with a solution.
> Today, there are special rules in place for CloudFlare's IP ranges that
> assign the highest crawl velocity to sites using the IPs. We have an
> established channel to feed new CloudFlare IPs to the crawl teams as we are
> allocated them. You can see this yourself if your site is behind CloudFlare
> by logging in to Google Webmaster Tools and seeing that the option to adjust
> your crawl rate is no longer available. Search engines know we can handle
> their maximum crawl load, so they hammer away at us -- which is great for
> our users. While Brandon is correct that this was a problem before, our work
> with search crawl teams turned this problem into a feature and it is part of
> the reason why today being on CloudFlare can help your overall SEO. If
> you're interested in learning more, I've written about this on our blog:
> http://blog.cloudflare.com/cloudflare-and-seo
>
> And, related:
> http://blog.cloudflare.com/losing-seo-link-juice-to-traditional-cdns
> In terms of SSL and AppEngine, we had a number of users ask if we could
> help. We spent a significant amount of time building a cloud-based solution
> that allowed for custom domains to have SSL. Since we'd already built the
> frontend of that, it was relatively easy for us to extend the solution to
> the backend and, essentially, mask AppEngine's non-custom domain with your
> own custom domain. It was minor feature for us, but we've been surprised by
> how many AppEngine users have adopted it.
> Today, CloudFlare powers more than 100,000 websites. We typically will
> double the performance of a site and add a security layer which you can
> enable or disable depending on your preferences. If there are ways in which
> we can make CloudFlare better for the AppEngine community, please don't
> hesitate to let us know.
> Cheers,
> Matthew Prince
> CEO, CloudFlare
> @eastdakota
>
> --
> 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/-/XNFWzT0YH3gJ.
> 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.



[google-appengine] Using other code in a backend

2011-09-26 Thread Hans Then
Hi all,

Is it possible to create a backend containing another program than the
main instance? Specifically, is it possible to create a backend using
a different programming language e.g. Java in the backend and Python
in the main instance?

Regards,

Hans Then

-- 
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] From Rackspace into Google cloud

2011-09-26 Thread Brandon Wirtz
So? Some people use Rackspace as a VPN so they can get around GEO Filtering
from China, Australia (Hulu users) Etc.  Or they scrape sites via there.

 

Requests from AWS are so common on my sites they generate more than many
countries.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Ananda
Sent: Friday, September 23, 2011 5:51 AM
To: google-appengine@googlegroups.com
Subject: [google-appengine] From Rackspace into Google cloud

 

I was going through the log of my Application one by one and came across a
request generated from the IP 50.57.68.14.

Being a unique one I probed and surprise surprise, it was of Rackspace.

 

Found the incident quite interesting since I guess Rackspace is competition.
Right?

 

 

 

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



RE: [google-appengine] Re: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Brandon Wirtz
I have said multiple times our customers don't align at all, and we started
CDN in a Box as a result of the needs of clients who were experiencing
issues with CF.   

 

CiaB doesn't do SSL at all.

 

My concerns aren't speculated.  

 

http://www.google.com/#sclient=psy-ab

&hl=en&source=hp&q=%22This+restriction+will+disappear+when+no+more+harmful+b
ehavior+is+detected.%22&pbx=1&oq=%22This+restriction+will+disappear+when+no+
more+harmful+behavior+is+detected.%22&aq=f&aqi=&aql=1&gs_sm=e&gs_upl=18730l2
0344l2l20823l3l3l0l0l0l0l91l149l2l2l0&bav=on.2,or.r_gc.r_pw.r_cp.&fp=4434126
5e68b94f2&biw=1021&bih=567

Check out all of these sites that CF has presented the Captcha to Google
Crawler. Do this twice and all of a sudden that ranking you had for "Ice
cream San Francisco" goes away.

 

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Matthew Prince
Sent: Saturday, September 24, 2011 8:16 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Re: calling out the app engine team on ssl
for custom domains

 

Take Brandon's comments with a bit of a grain of salt given that he's trying
to launch a CloudFlare-like competitor called CDN in a Box. Here's info on
CloudFlare and SEO addressing his speculated concerns:

 

http://blog.cloudflare.com/cloudflare-and-seo

 

Short summary: we actually markedly improve most sites' SEO and can help
AppEngine users get SSL on a custom domain.

 

As to the topic at hand, a number of users requested that we provide a way
to allow SSL on AppEngine. We added a simple feature to support it and have
been surprised how many people have taken advantage of it. Implementing SSL
in a cloud-based environment is non-trivial and we spent more than a year,
had to form several key partnerships, and developed significant technology,
in order to get it to work reliably before we launched CloudFlare. If there
are further ways we can help the AppEngine developer community, let us know.

 

Matthew Prince

CEO, CloudFlare

@eastdakota  

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



RE: [google-appengine] Re: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Brandon Wirtz
And I should clarify. Putting "Facebook.Yourdomain.com" on CF for https
requests from Facebook, (leaving the rest of the application running not on
CF) is probably not a horrible idea.  You'd only be putting user experience
at risk if a captcha appeared or CF throttled the connection in a strange
way, not your entire site.

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Brandon Wirtz
Sent: Monday, September 26, 2011 12:39 PM
To: google-appengine@googlegroups.com
Subject: RE: [google-appengine] Re: calling out the app engine team on ssl
for custom domains

 

I have said multiple times our customers don't align at all, and we started
CDN in a Box as a result of the needs of clients who were experiencing
issues with CF.   

 

CiaB doesn't do SSL at all.

 

My concerns aren't speculated.  

 

http://www.google.com/#sclient=psy-ab

&hl=en&source=hp&q=%22This+restriction+will+disappear+when+no+more+harmful+b
ehavior+is+detected.%22&pbx=1&oq=%22This+restriction+will+disappear+when+no+
more+harmful+behavior+is+detected.%22&aq=f&aqi=&aql=1&gs_sm=e&gs_upl=18730l2
0344l2l20823l3l3l0l0l0l0l91l149l2l2l0&bav=on.2,or.r_gc.r_pw.r_cp.&fp=4434126
5e68b94f2&biw=1021&bih=567

Check out all of these sites that CF has presented the Captcha to Google
Crawler. Do this twice and all of a sudden that ranking you had for "Ice
cream San Francisco" goes away.

 

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Matthew Prince
Sent: Saturday, September 24, 2011 8:16 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Re: calling out the app engine team on ssl
for custom domains

 

Take Brandon's comments with a bit of a grain of salt given that he's trying
to launch a CloudFlare-like competitor called CDN in a Box. Here's info on
CloudFlare and SEO addressing his speculated concerns:

 

http://blog.cloudflare.com/cloudflare-and-seo

 

Short summary: we actually markedly improve most sites' SEO and can help
AppEngine users get SSL on a custom domain.

 

As to the topic at hand, a number of users requested that we provide a way
to allow SSL on AppEngine. We added a simple feature to support it and have
been surprised how many people have taken advantage of it. Implementing SSL
in a cloud-based environment is non-trivial and we spent more than a year,
had to form several key partnerships, and developed significant technology,
in order to get it to work reliably before we launched CloudFlare. If there
are further ways we can help the AppEngine developer community, let us know.

 

Matthew Prince

CEO, CloudFlare

@eastdakota  

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

-- 
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: two questions regarding backends (configuring them and addressing them)

2011-09-26 Thread Jay Meydad
What do you mean an empty handler? Can you provide a sample please?

-- 
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/-/tTjO8iv_m4UJ.
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: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Brandon Wirtz
In case that Google link didn't make sense.   That's 2500 sites (2.5% of
CF's Site base) that have had their site present Google bot with an access
denied error.  Not with a 500 error, Not with a 403. With a perfectly happy
200. 

 

As to my loyalties and background. CDNinaBox runs on GAE. I'm not likely to
make any money selling it to GAE users.

 

Currently CDN In A Box has 150-ish Domains running on it.  Our typical
customer is on the service less than 90 days before we move them to a bigger
solution, or resolve their issues.  The sites that are on longer are small
sites that aren't looking to scale.  CDN in a Box does NOT view CF as a
competitor, we do view them as a lead generator for our SEO services at
BlackWaterOps.com in fact, we would make the most money if more people would
join Cloud Flare.

 

And when comparing our bias, consider that CF only shows up in this forum
when they want to bash me, bash GAE, or claim they handle Proxies correctly
and that GAE treats them unfarely. I'm here every day. Multiple times a day,
and have maybe promoted my products or services 10 times, and those were for
people who were considering building what I already had built, not because I
was going to get rich on $20 a month. (I can't even make that back on the 45
minute call I have with most of those people to help them figure out their
issues).

 

 


Brandon Wirtz 
BlackWaterOps: President / Lead Mercenary 

Description: http://www.linkedin.com/img/signature/bg_slate_385x42.jpg



Work: 510-992-6548 
Toll Free: 866-400-4536 

IM: drak...@gmail.com (Google Talk) 
Skype: drakegreene 

  BlackWater Ops 




 

 

 

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Brandon Wirtz
Sent: Monday, September 26, 2011 12:39 PM
To: google-appengine@googlegroups.com
Subject: RE: [google-appengine] Re: calling out the app engine team on ssl
for custom domains

 

I have said multiple times our customers don't align at all, and we started
CDN in a Box as a result of the needs of clients who were experiencing
issues with CF.   

 

CiaB doesn't do SSL at all.

 

My concerns aren't speculated.  

 

http://www.google.com/#sclient=psy-ab

&hl=en&source=hp&q=%22This+restriction+will+disappear+when+no+more+harmful+b
ehavior+is+detected.%22&pbx=1&oq=%22This+restriction+will+disappear+when+no+
more+harmful+behavior+is+detected.%22&aq=f&aqi=&aql=1&gs_sm=e&gs_upl=18730l2
0344l2l20823l3l3l0l0l0l0l91l149l2l2l0&bav=on.2,or.r_gc.r_pw.r_cp.&fp=4434126
5e68b94f2&biw=1021&bih=567

Check out all of these sites that CF has presented the Captcha to Google
Crawler. Do this twice and all of a sudden that ranking you had for "Ice
cream San Francisco" goes away.

 

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Matthew Prince
Sent: Saturday, September 24, 2011 8:16 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Re: calling out the app engine team on ssl
for custom domains

 

Take Brandon's comments with a bit of a grain of salt given that he's trying
to launch a CloudFlare-like competitor called CDN in a Box. Here's info on
CloudFlare and SEO addressing his speculated concerns:

 

http://blog.cloudflare.com/cloudflare-and-seo

 

Short summary: we actually markedly improve most sites' SEO and can help
AppEngine users get SSL on a custom domain.

 

As to the topic at hand, a number of users requested that we provide a way
to allow SSL on AppEngine. We added a simple feature to support it and have
been surprised how many people have taken advantage of it. Implementing SSL
in a cloud-based environment is non-trivial and we spent more than a year,
had to form several key partnerships, and developed significant technology,
in order to get it to work reliably before we launched CloudFlare. If there
are further ways we can help the AppEngine developer community, let us know.

 

Matthew Prince

CEO, CloudFlare

@eastdakota  

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

[google-appengine] Re: "like" operator in GQL

2011-09-26 Thread someone1
Not available in GQL but I've had success utilizing IndexTank for full-
text search capabilities with AppEngine

On Sep 25, 2:55 pm, Bruce Aloe  wrote:
> Hello,
>
> SQL supports "like" operator. I am wondering whether GQL supports the
> "like" operator or not.
>
> I have been looking at the GQL 
> reference:http://code.google.com/appengine/docs/python/datastore/gqlreference.html
>
> However, the document doesnot mention anything it.
>
> Is there any official document talking about this issue?
>
> Any help is appreciated. Thanks.
>
> Bruce

-- 
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: Setting file permissions

2011-09-26 Thread Ernesto Oltra
There is a reason to edit them?

-- 
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/-/5v-qsVru8H0J.
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: Zig zag merge feature request

2011-09-26 Thread jay
What is a Zigzag Merge? Can somebody point me towards some
documentation. I've not heard of this before.

On Sep 27, 4:29 am, Alfred  wrote:
> Hi Jason,
>
> Thanks for filing this issue. These are all good suggestions. You can
> do a large portion of this analysis today by collecting performance
> metrics. I would suggest statistically sampling a % of your queries in
> the following way:
>
> eq_properties = a set of the property names that have equality filters
> on them
> sort_order = a ordered list of the sort orders
> has_ancestor = if the query has an ancestor filter
> key = (has_ancestor, eq_properties, sort_order)
>
> then sample:
>
> key -> occurrences
> key -> time / results
>
> This way you can find and optimize slow frequently used queries (and
> monitor the performance over time).
>
>  - Alfred
>
> On Sep 26, 8:08 am, Jason Collins  wrote:
>
>
>
>
>
>
>
> > We've been working on a "billing optimization project" for our large
> > app, steprep. Right now, we are tackling index optimizations -
> > datastore writes form the largest part of our bill.
>
> > Zig zag merge has let us do some really crazy and unexpected things -
> > in a good way. Thanks!
>
> > However, we're somewhat concerned with the long term health of these
> > queries. That is, today, they work and will offer us substantial
> > savings over previous index approaches. But algorithm changes and data
> > distribution changes may make our queries perform quite differently
> > over time. (We have the additional difficulty of our test deployment
> > having a different data distribution than our prod deployment, so we
> > kind of have to cross our fingers and hope for the best when dropping
> > indexes on prod...)
>
> > It would be great to get some meta information back from a query to
> > help track the efficiency of our zig zag merge queries over time
> > (i.e., as data distributions change). E.g.:
>
> >  - which indexes were used to generate the results
> >  - how much zig-zag "thrashing" occurred (perhaps how many entries you
> > needed to consider to find the results)
> >  - tell the query planner to _not_ use a particular index, so that we
> > can simulate the drop of an optimal index to test if zig zag will be
> > efficient
>
> > I'm really excited about what we can do with zig zag, but we have
> > concerns about how we will keep it healthy over time.
>
> > I've openedhttp://code.google.com/p/googleappengine/issues/detail?id=5978
> > for this request; please star it if you feel it would be helpful.
>
> > Thanks,
> > j

-- 
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: calling out the app engine team on ssl for custom domains

2011-09-26 Thread Matthew Prince
That's a great list that actually doesn't prove what you think, but it does 
turn out to prove one of CloudFlare's value propositions. If you look down 
the list you'll find that a majority are *.blogspot.com domains. By 
definition, since blogspot.com users can't subdeligate the DNS of 
blogspot.com subdomains, they cannot be on CloudFlare. So what are they?

Turns out they're pages that web scrapers have pulled from our customers' 
sites that we've blocked. The content farmer scrapers have then recreated 
our challenge page on free services like Blogspot. In other words, these 
aren't CloudFlare's customers, they're people trying to steal content from 
CloudFlare's customers that we've stopped.

Awesome!

I did find a small handful of actual CloudFlare customers on that list. I 
dug into them further. While I can't explain their rationale, they've all 
explicitly blocked Google's crawler from visiting their site, an odd 
preference we've helped them enforce. I can't find a single example of a 
challenge page where we've misclassified the Google crawler which makes 
sense since we've worked directly with the Google crawl team to make sure 
our service plays well with them.

-- 
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/-/1e-vlTAtp44J.
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] Risk mitigation, data storage

2011-09-26 Thread ThePiachu
I want to create an app on GAE that will store semi-valuable data of
users. Specifically, private and public encryption keys that will be
used by the app to perform some encrypting and decrypting. I want to
minimise the risk of users' data being stolen, so I intend on using
account authorisation with Google account, but I am wondering if there
is any way I can go beyond that? Is there some way to store my users'
data so even if someone would get into the administrative account
wouldn't be able to get? Is there some solution of encrypting the data
so as only the user would be able to decode it with their account?

-- 
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: Zig zag merge feature request

2011-09-26 Thread Jason Collins
Basically, in the past, if you had a query like this:

  query = MyEntity.all().filter('attribute1 =',
'foo').filter('attribute2 =', 'bar').filter('attribute3 =',
'baz').order('-attribute4)

you'd need an index like this:

  - kind: MyEntity
properties:
- name: attribute1
- name: attribute2
- name: attribute3
- name: attribute4
  direction: desc

Call this an optimal index.

Now, the query engine is able to make due with non-optimal indexes; in
some cases you may not even need a custom composite index at all.
Fewer composite indexes means fewer datastore write operations (and
thus $$), but you will likely trade off performance (and thus
increased instance-hours, unless you are multi-threaded) as the query
engine needs to walk through more potential matches when using non-
optimal indexes.

A good starting point is to remove all of your indexes from index.yaml
(on dev, of course!) and see what dev_appserver makes for suggestions.

j

-- 
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] Using other code in a backend

2011-09-26 Thread Greg Darke (Google)
Yes it is quite easy to do. The easiest way is to create a separate
directory containing the code for the backend, then just upload the
backend (be sure to not accidentally upload the code over your default
version).

Though be careful with configuration that is not scoped to a specific
version: indexes, queues, cron, dos. You should ensure that you
specify the same information in the configuration for both languages.

Testing a solution that uses multiple languages can be quite difficult
(and is generally easiest to test the application by deploying to a
test app-id).

On 27 September 2011 04:54, Hans Then  wrote:
> Hi all,
>
> Is it possible to create a backend containing another program than the
> main instance? Specifically, is it possible to create a backend using
> a different programming language e.g. Java in the backend and Python
> in the main instance?
>
> Regards,
>
> Hans Then
>
> --
> 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 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.