Re: [google-appengine] Query Embedded entities

2013-05-04 Thread xybrek
Ok I see, when you say synthetic index, do you mean create a Index kind on a different namespace? Xybrek On Sunday, May 5, 2013 1:42:55 PM UTC+8, Jeff Schnitzer wrote: > > EmbeddedEntity fields are not indexable. This is mentioned in the javadocs: > > > https://developers.google.com/appengine/do

Re: [google-appengine] Query Embedded entities

2013-05-04 Thread Jeff Schnitzer
EmbeddedEntity fields are not indexable. This is mentioned in the javadocs: https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/EmbeddedEntity This doesn't prevent you from making your own synthetic index in the top-level Entity though. Jeff On Sat, Ma

[google-appengine] Re: URLFetch and asynchronous pages

2013-05-04 Thread xybrek
You may need to use HTMLUnit for this: // Setup the headless browser WebClient webClient = new WebClient(); webClient.setWebConnection(new UrlFetchWebConnection(webClient)); HtmlPage page = webClient.getPage(target); //gae hack because its single threaded webClient.getJavaScriptEngine().pumpEv

[google-appengine] Query Embedded entities

2013-05-04 Thread xybrek
I have few question regarding Query'ing EmbeddedEntity with GAE datastore: - Is EmbeddedEntity query-able? and Index-able? - If so, then how to index such embedded entity? - Does Query, query Filter works with EmbeddedEntity - And that can we build queries that query Entity then filter

[google-appengine] Re: Best strategy for near real time updates?

2013-05-04 Thread Ray
Use PubNub :) On Sunday, May 5, 2013 12:32:48 AM UTC+8, Pertti Kellomäki wrote: > > Hi all, > > I am building an app where users can post comments and the like, which > should be pushed to selected other users in near real time. My current > prototype uses the channel API and it is working fine

[google-appengine] Migrating to Python 2.7 - anything to watch out for?

2013-05-04 Thread NP
My app is currently deployed on GAE using python 2.5. I have made changes to the code and it is now running on python 2.7 and lxml. Before deploying the 2.7 code, I wanted to find out if there are any specific things I should watch out for/check for. Secondly, since we can deploy different vers

Re: [google-appengine] Re: App Engine Release 1.8.0 in dashboard

2013-05-04 Thread PK
As long as the version on the server is backwards compatible with the SDK this should be fine. Of course some times it accidentally cannot be but all in all it has been pretty good for us. PK http://www.gae123.com On Saturday, May 4, 2013 at 1:28 PM, Alex Burgel wrote: > the issue in this cas

[google-appengine] Re: App Engine Release 1.8.0 in dashboard

2013-05-04 Thread Alex Burgel
the issue in this case is more that you guys are running code that's not yet in prerelease. I thought the way it worked was that you would put out a prerelease version that we could play with and at the same time, upgrade some apps/instances in production to see if there were any issues. in this

Re: [google-appengine] Re: URLFetch and asynchronous pages

2013-05-04 Thread Jeff Schnitzer
It's not unlikely that the content in the middle of the page is fetched as JSON with a predictable URL. Look closely at the calls and you might be able to reverse-engineer their API directly. Jeff On Sat, May 4, 2013 at 10:04 AM, Vinny P wrote: > On Saturday, May 4, 2013 11:46:13 AM UTC-5, Phi

[google-appengine] Re: New Google+ sign-in on App Engine, bug or feature?

2013-05-04 Thread Vinny P
Hello Alejandro, Are you using the Google+ sign-in example code at https://github.com/googleplus/gplus-quickstart-python/blob/master/signin.py ? That code uses Flask's sign-in framework. You have to use Flask's built-in sessions features ( http://flask.pocoo.org/snippets/51/ ) if you use Flask

[google-appengine] Re: Best strategy for near real time updates?

2013-05-04 Thread Vinny P
Hello Pertti, Polling once a minute is quite slow, actually. You don't need the channel API for updates that are infrequent as once/minute.The Channel API is meant for realtime communications (i.e. seconds/less-than-second difference between messages) - for example, if you were implementing a c

[google-appengine] Re: URLFetch and asynchronous pages

2013-05-04 Thread Vinny P
On Saturday, May 4, 2013 11:46:13 AM UTC-5, Phil wrote: > Is there anyway to have UrlFetch grab the html that loads via javascript? > > No, there isn't. That would require UrlFetch to interpret the javascript, and that's not a job for the URLFetch service. You would have to parse the javascript

[google-appengine] URLFetch and asynchronous pages

2013-05-04 Thread Phil McDonnell
I'm trying to grab in the html from a web page. I think the standard GAE way to do this is to use UrlFetch. I'm running into an issue that the page I'm grabbing loads much of it's content asynchronously. Is there anyway to have UrlFetch grab the html that loads via javascript? Specifically, I'm tr

[google-appengine] Best strategy for near real time updates?

2013-05-04 Thread Pertti Kellomäki
Hi all, I am building an app where users can post comments and the like, which should be pushed to selected other users in near real time. My current prototype uses the channel API and it is working fine, but I am a tad worried about the relatively high cost of opening channels. What would be th

Re: [google-appengine] Re: App Engine Release 1.8.0 in dashboard

2013-05-04 Thread Jeff Schnitzer
There are a lot of moving parts to GAE. I would guess that the API stubs your code is compiled with will not change, but everything else is fair game. It's not like your app gets its own VPS which is carved in stone when you deploy. Everything on the other side of the ApiProxy is subject to change

[google-appengine] Re: appengine 1.8.0 already deploying?

2013-05-04 Thread Vinny P
On Friday, May 3, 2013 8:22:58 PM UTC-5, Benjamin Possolo wrote: > Mine is showing 1.8.0 as well. > > Performance seems to be pretty crappy at the moment too. Normally my cold > start time is 11 seconds (entity manager factory takes about 5-6). Now the > cold start is around 24s w entitymanagerf

[google-appengine] Re: App Engine Release 1.8.0 in dashboard

2013-05-04 Thread Marcel Manz
So basically there's no way to lock a deployed app to a certain SDK release version? No matter what SDK was used, the app always receives the app engine upgrade? In case of issues: how to find out in this case if a certain problem might be related to the App Engine upgrade (on Google side), eve

[google-appengine] Re: MapReduce - TaskQueue - Getting com.google.apphosting.api.DeadlineExceededException constantly now

2013-05-04 Thread John Wheeler
I was about to copy the stacktrace and I realized this appears to be a problem with a webservice that I'm calling. Sorry. On Saturday, May 4, 2013 3:11:13 AM UTC-7, John Wheeler wrote: > > For about the last week, my app ID *highvolumeseller* has been getting > tons of > > com.google.apphosting

[google-appengine] MapReduce - TaskQueue - Getting com.google.apphosting.api.DeadlineExceededException constantly now

2013-05-04 Thread John Wheeler
For about the last week, my app ID *highvolumeseller* has been getting tons of com.google.apphosting.api.DeadlineExceededException: This request (580a8ebf77e02ba9) started at 2013/05/04 09:51:38.799 UTC and was still executing at 2013/05/04 10:01:38.229 UTC. whenever it puts something in the t

[google-appengine] Re: New Google+ sign-in on App Engine, bug or feature?

2013-05-04 Thread Hugo Visser
My guess would be feature, since you are basically using external authentication that App Engine knows nothing about. So you are actually not using the user service in this case. Hugo On Thursday, February 28, 2013 12:32:03 AM UTC+1, Antonio Zugaldia wrote: > > I tried the Python > quickstart<

Re: [google-appengine] Google to add new runtime at I/O

2013-05-04 Thread timh
Signal/Noise isn't too bad here . I hate to think what SO will look like, with all the PHP people asking how they can insert data into the datastore with GQL ;-) T On Saturday, May 4, 2013 2:33:24 PM UTC+8, PK wrote: > > New runtime? It could not be, it is not in the GAE roadmap > page