[appengine-java] Re: Consolidated logs via email

2011-04-01 Thread radomir
It may not be exactly what you're looking for but you way want to take
a look at our LogDigger tool and service (http://logdigger.com/)

With LogDigger you can capture logged application errors with
additional request details (URL, request params, etc.). For GAE apps
you can collect API and CPU time, etc. You can find GAE specific notes
here:
http://logdigger.com/logdigger-connector/java-logging-app-engine

By default it will capture only requests when an exception is logged
but there's a way (still undocumented) to force capture in other
scenarios too. (We're still looking into providing additional logging
options so any feedback and feature requests are appreciated.)

For the curious, My LogDigger service is running on GAE (HR).

Radomir



On Apr 1, 2:54 am, Jeff Schnitzer j...@infohazard.org wrote:
 On Thu, Mar 31, 2011 at 5:10 PM, Kyle Baley k...@baley.org wrote:
  We want to be somewhat proactive about warnings or higher in our logs so
  we're looking at a way of being notified if they occur. First thought was to
  use log4j and the email appender. This is fine but won't scale as more
  people use the app since we'll get inundated with emails. So we're looking
  at another option: parsing the logs and emailing every half hour if there
  are new warnings/errors/critical messages. Any suggestions on how to do
  this?
  Based on my research, it looks like we would need to set up a job to
  download the logs with appcfg.py at regular intervals and parse them outside
  of the app. Looking for other potential options.

 If you productize something like this, I would pay money for it.

 Jeff

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



[appengine-java] entities not persisted

2011-04-01 Thread Aswath Satrasala
Hello,
I did the following

Objectify ofy = ObjectifyService.begin();
I created few entities in a loop (exactly 90). There is no parent for the
entities.
Then I said ofy.put(listOfEntities)

The request was successful.  There was no DeadlineExceededException.
However, only one entity was persisted, instead of ninety.

Any idea, what would have gone wrong.  Can this be a datastore issue?

Appengine team,
Is there a way to trace back in any logs and see what happened.

Thanks,
-Aswath

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



[appengine-java] Tips/Pitfalls for total newbies?

2011-04-01 Thread Drew Spencer
Hi all,

Totally new to this, about to embark on a development for my own business 
and think that GAE is the perfect solution. I basically want to make sure 
that we are making the right choice, and to be informed of any pitfalls 
early on.

Basically the system will be a complete intranet/sales tool based around a 
rather complex pricing engine. I have previous experience using Codeigniter 
+ Doctrine, but after tinkering with v2.0 for a while it just seems like it 
is very buggy, and still has many limitations over using Java.

We already use google apps for mail and have a simple intranet built on 
google sites so users will be using their company email account for 
validation.

There are a few key features we need:

   - Small number of users (~100)
   - Integration with salesforce.com (Using the force.com API?)
   - Integration with Gmail so that the system can automatically log and 
   send emails, as well as pick them up. (Using IMAP/SMTP?)
   - Ability to upload and store basic files that can be downloaded by staff 
   (Using docs API, or just datastore?)

If anyone can advise of any things to investigate right now that would be 
really helpful.

I have quite a few years experience programming, and a willing assistant 
with a bit of OO knowledge, other than that I will be learning to use things 
like JDO and JSP for the first time.

All of your input is appreciated.

Drew

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



[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Simon Knott
Hi,

My first bit of advice is read all of the documentation available, even if 
the topic doesn't appear relevant at first, as there are little gems of 
knowledge and limitations about the platform scattered throughout.  I'd even 
go as far as to say you would benefit from reading the Python documents as 
well, rather than sticking to just the Java docs.

Secondly, if you don't know JDO yet, don't bother learning it - it's really 
not the best fit for the GAE datastore, although it is a slightly better fit 
than JPA.  Instead learn and use one of the GAE-specific datastore 
third-party libraries, such as Objectify or Twig.  I can highly recommend 
the former, through personal experience - I've also heard very good things 
about Twig as well.

Cheers,
Simon


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



[appengine-java] add image gallery (JS/FLASH) to GAE

2011-04-01 Thread hrbaer
Hi all,

I tried a few free web gallerys (flash based, JS based).

If I run my web application on my local server everything seems to be
fine. But if I deploy it to the Google server I always get an
AccessControlException.

Does anybody already included some JS/Flash gallery on his/her
webpage?

Thanks in advance.

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



[appengine-java] Re: Consolidated logs via email

2011-04-01 Thread Kyle Baley
It's Python-only but has anyone tried ereporter? 
http://code.google.com/appengine/articles/python/recording_exceptions_with_ereporter.html

Would it be possible to write a simple Python app for this and deploy it 
alongside our main Java app?

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



[appengine-java] Uploading New Data into App Engine Java App

2011-04-01 Thread Andrey
We need to periodically upload the new data into our Java App running on the 
App Engine. We are going to perform some calculations on our own server, 
after which the results of this calculation need to be uploaded into the App 
Engine app. The results are just a text file (each line is a separate string 
result). They will need to be taken into account immediately by the app 
running on the App Engine. This app uses the results to display them within 
the user interface.

Could someone please recommend - what is the best way to:
1) How to upload this kind of data programmatically into the Java App Engine 
app
2) How to detect the new data has arrived from inside app engine, and reload 
it from the file - which tools in Java?

I could not find the uploading data section under the Java part of the 
documentation

Thank you

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



[appengine-java] Re: add image gallery (JS/FLASH) to GAE

2011-04-01 Thread hrbaer
You can add .setVersioned( false ) on your component and then it is
working...

On 1 Apr., 15:10, hrbaer herber.m...@googlemail.com wrote:
 Hi all,

 I tried a few free web gallerys (flash based, JS based).

 If I run my web application on my local server everything seems to be
 fine. But if I deploy it to the Google server I always get an
 AccessControlException.

 Does anybody already included some JS/Flash gallery on his/her
 webpage?

 Thanks in advance.

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



[appengine-java] Re: AccessControlException with flash gallery

2011-04-01 Thread hrbaer
setVersioned( false ) solves the issue.

On 30 Mrz., 20:33, hrbaer herber.m...@googlemail.com wrote:
 Hi all,

 I try to add a flash based gallery to my GAE application.
 But if I call the page where the gallery is located at I get the
 following exception:

 WicketMessage: Method onLinkClicked of interface
 org.apache.wicket.markup.html.link.ILinkListener targeted at component
 [MarkupContainer [Component id = link]] threw an exception
 Root cause:
 java.security.AccessControlException: access denied
 (java.io.SerializablePermission enableSubstitution)
 at
 java.security.AccessControlContext.checkPermission(AccessControlContext.java:
 355)
 at
 java.security.AccessController.checkPermission(AccessController.java:
 567)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)

 The gallery is located within a TabbedPanel. And the exception occurs
 if I click on the tab with the gallery inside.

 WIthin my xxxApplication class I defined the following method:
 protected ISessionStore newSessionStore() {
    return new HttpSessionStore(this);

 }

 Any ideas how to avoid this failure?

 Thanks in advance.

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



Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)

2011-04-01 Thread lorenoolive...@gmail.com
Update done and Jetty up and running...

Thanks again...

On Fri, Apr 1, 2011 at 2:08 AM, Toby Reyelts to...@google.com wrote:

 There should be an update available for you on the 1st. (Not an April fools
 joke).


 On Thu, Mar 31, 2011 at 8:31 PM, lorenoolive...@gmail.com 
 lorenoolive...@gmail.com wrote:

 Thanks for the hint Toby.

 How can I update the SDK manually? The Helios update site is not updated
 with the 1.4.3 version...


 On Thu, Mar 31, 2011 at 4:41 PM, Toby Reyelts to...@google.com wrote:

 Please update to the latest App Engine SDK. It has a workaround for this
 issue with Apple's latest JVM update.

 On Thu, Mar 31, 2011 at 3:03 PM, lorenoolive...@gmail.com 
 lorenoolive...@gmail.com wrote:

 Hi there,

 I'm new to GAE/J, so I'm starting with a bulk of silly questions...

 Well, my Jetty seems to be terminating just after starting... That is,
 in Eclipse, I right click the project  Run as  Web Application.

 The output is printed in the terminal, as normal and without any error:

 2011-03-31 16:01:25.594 java[58217:903] [Java CocoaComponent
 compatibility mode]: Enabled

 2011-03-31 16:01:25.596 java[58217:903] [Java CocoaComponent
 compatibility mode]: Setting timeout for SWT to 0.10

 Mar 31, 2011 7:01:25 PM com.google.apphosting.utils.jetty.JettyLogger
 info

 INFO: Logging to JettyLogger(null) via
 com.google.apphosting.utils.jetty.JettyLogger

 Mar 31, 2011 7:01:26 PM
 com.google.apphosting.utils.config.AppEngineWebXmlReader 
 readAppEngineWebXml

 INFO: Successfully processed
 /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/appengine-web.xml

 Mar 31, 2011 7:01:26 PM
 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml

 INFO: Successfully processed
 /Users/lorenooliveira/dev/workspaces/pennypile/PennyPileEngine/war/WEB-INF/web.xml

 log4j:WARN No appenders could be found for logger
 (br.com.caelum.vraptor.config.BasicConfiguration).

 log4j:WARN Please initialize the log4j system properly.

 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor 
 more info.

 Mar 31, 2011 4:01:29 PM
 com.google.appengine.tools.development.DevAppServerImpl start

 INFO: The server is running at http://localhost:/


 However, the process dies two or three seconds after the last previous
 message be printed...


 Any idea of what is going wrong here?

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






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



[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Drew Spencer
Thanks Simon,

I am going to work through the java example program and familiarise myself 
while I read all the docs.

Thanks for the advice re: JDO. That's the kind of thing I was looking for.

Also - is it best to stay away from GWT for now? I would assume I need to 
get my backend working nicely before I think about that.

Cheers,

Drew

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



[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Didier Durand
Hi,

Also think about Google Web Toolkit for the UI: you will remain so
full-Java and you can do nice interface even if you are as bad as I am
in graphics / ui design ;-)

I agree with Simon: definitely forget JPA/JDO!  (I went with
Objectify)

Also study carefully the datastore, especially entity groups and
transactions: you will for sure face issues at some point because of
the coupling of the 2 notions. So, try to understand them at best at
the very beginning.

regards

didier

On Apr 1, 4:54 pm, Drew Spencer slugmand...@gmail.com wrote:
 Thanks Simon,

 I am going to work through the java example program and familiarise myself
 while I read all the docs.

 Thanks for the advice re: JDO. That's the kind of thing I was looking for.

 Also - is it best to stay away from GWT for now? I would assume I need to
 get my backend working nicely before I think about that.

 Cheers,

 Drew

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



[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Didier Durand
Forgot:

-about the docs: use the api based on File class for your files in the
blobstore. Just announced yesterday.

- Also, have a look to tasks: that's the way to generate parallelism
in your application if you want to do stuff simultaneously (quick
handling of big data, etc...)

Good luck for your app!

didier

On Apr 1, 5:30 pm, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 Also think about Google Web Toolkit for the UI: you will remain so
 full-Java and you can do nice interface even if you are as bad as I am
 in graphics / ui design ;-)

 I agree with Simon: definitely forget JPA/JDO!  (I went with
 Objectify)

 Also study carefully the datastore, especially entity groups and
 transactions: you will for sure face issues at some point because of
 the coupling of the 2 notions. So, try to understand them at best at
 the very beginning.

 regards

 didier

 On Apr 1, 4:54 pm, Drew Spencer slugmand...@gmail.com wrote:

  Thanks Simon,

  I am going to work through the java example program and familiarise myself
  while I read all the docs.

  Thanks for the advice re: JDO. That's the kind of thing I was looking for.

  Also - is it best to stay away from GWT for now? I would assume I need to
  get my backend working nicely before I think about that.

  Cheers,

  Drew



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



Re: [appengine-java] Re: SecurityException when using Apache HttpClient classes from Groovy

2011-04-01 Thread Don Schwarz
Just to close off this thread, we rolled out a fix for this issue yesterday.

On Sun, Mar 27, 2011 at 5:35 PM, Don Schwarz schwa...@google.com wrote:

 Sorry for the trouble, folks.  Can you respond privately with your app ids?


 On Sun, Mar 27, 2011 at 2:44 AM, radomir radomi...@gmail.com wrote:

 John,

 I experienced exactly the same problem and was able to workaround. See
 my post:

 http://radomirml.com/2011/03/27/fixing-strange-noclassdeffounderror-on-app-engine

 Hope this helps.

 Radomir




 On Mar 26, 3:57 pm, John supp...@weespr.com wrote:
  Actually based on the exception, it seems that the change happened on
 the
  servers any time during Friday.
  (my cron job kicks in once a day and first exception happened around
  midnight Friday night PST).

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




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



[appengine-java] Deferred tasks per instance?

2011-04-01 Thread blue
Are deferred tasks part of a per-instance queue or the global task queue?

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



[appengine-java] Re: api Sites: Required extension element http://schemas.google.com/acl/2007:role not found

2011-04-01 Thread laguna
Same problem here!
The getAclFeed request failed for the sites where there is the user
Anyone with the link in 'COMPANY'
What is the solution for this issue?

com.google.gdata.util.ParseException: [Line 1, Column 3774, element
entry] Required extension element http://schemas.google.com/acl/2007:role
not found.
at com.google.gdata.util.XmlParser.throwParseException(XmlParser.java:
730)
at com.google.gdata.util.XmlParser.parse(XmlParser.java:693)
at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
at
com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:
68)
at
com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:
39)
at
com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:
100)
at
com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:
52)
at
com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:
66)
at
com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:
34)
at com.google.gdata.client.Service.parseResponseData(Service.java:
2165)
at com.google.gdata.client.Service.parseResponseData(Service.java:
2098)
at com.google.gdata.client.Service.getFeed(Service.java:1136)
at com.google.gdata.client.Service.getFeed(Service.java:998)
at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:
631)
at com.google.gdata.client.Service.getFeed(Service.java:1017)
at com.adisseo.cia.Task_Users.getAclFeed(Task_Users.java:82)
at com.adisseo.cia.Task_Users.doGet(Task_Users.java:68)
at com.adisseo.cia.Task_Users.doPost(Task_Users.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
58)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
122)
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.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:351)
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.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)
Caused by: com.google.gdata.util.ParseException: Required extension
element http://schemas.google.com/acl/2007:role not found.
at
com.google.gdata.data.ExtensionPoint.checkRequiredExtensions(ExtensionPoint.java:
670)
at com.google.gdata.data.ExtensionPoint
$ExtensionHandler.processEndElement(ExtensionPoint.java:757)
at com.google.gdata.data.BaseEntry
$AtomHandler.processEndElement(BaseEntry.java:1216)
at com.google.gdata.util.XmlParser.endElement(XmlParser.java:1004)
at org.xml.sax.helpers.ParserAdapter.endElement(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown
Source)
at

[appengine-java] JPA/JDO vs low level API

2011-04-01 Thread SkYlEsS
I have a question :

What are the differences between JPA/JDO and low level API (and
Objectify) in practice ? I read everywhere the low level API provides
more flexibility, but there are never samples code or evidences to
demonstrate it. So I'm wondering in which cases exactly, the low level
API is useful ?

Thanks in advance

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



[appengine-java] Re: What are my options in implementing a video upload/streaming functionality in GAE

2011-04-01 Thread captain
I'm researching the same and going with option 1. My plan is to create
one user account and upload all my users videos under that account
(that strategy solves one of your concerns -which is mine too).

Re:privacy, are you sure we cannot label  videos as private?

I'll share my progress with you. But bear with me as I'll start to
develop video uploading in one more month

Cheers
Claudio
captain.bric...@gmail.com





On Mar 27, 9:45 am, ruskyn arjun.zacha...@gmail.com wrote:
 Hi,

 I researched and found two options; but i would appreciate opinions/
 experiences

 1. Youtube Direct API. I have two problems here - the user who is
 uploading video has to log into youtube too. If i have a website/
 mobile app this becomes a deterrent to users. Is there a work around?
 Also, the videos will be public and become a part of youtube; the
 advantage is its free of cost and will incur GAE charges.

 2. Using blobstore API . Can anyone point me to an example where this
 has been done? What is the best free video player to use?

 I have a small other problem. I am using a restlet framework to create
 REST API's to expose various services. Can i combine Blobstore API
 into restlet framework.

 Any help will be appreciated.

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



[appengine-java] Small OAuth contribution and a few questions

2011-04-01 Thread Kafkaah
Howdy,

I'm brand new to GAE/Java dev, and wish to ask a few questions about a
simple test code fragment I just deployed.  This (very simple) code
fragment might help someone implement OAuth when integrating GAE with
Google App Script.  I've seen parts of it in a few places, but never
in a complete example.  I needed a way to authenticate a Google Docs
user with my application to restrict access.

The code on the Google App Script side of things:

/***/
function authentication() {
  var oAuthConfig = UrlFetchApp.addOAuthService(google), utc = (new
Date()).toUTCString();
  oAuthConfig.setAccessTokenUrl(https://APP-ID.appspot.com/_ah/
OAuthGetAccessToken);
  oAuthConfig.setRequestTokenUrl(https://APP-ID.appspot.com/_ah/
OAuthGetRequestToken);
  oAuthConfig.setConsumerKey('anonymous');
  oAuthConfig.setConsumerSecret('anonymous');
  var requestData = {
method: GET,
oAuthServiceName: google,
oAuthUseToken: always
  };

  var response = UrlFetchApp.fetch('http://APP-ID.appspot.com/THE-
URI', requestData).getContentText();
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0];
  var lastRow = sheet.getLastRow();
  sheet.getRange(lastRow + 1, 1).setValue(utc);
  sheet.getRange(lastRow + 1, 2).setValue(response);
}
/***/


On GAE:

/***/
package mypackage;
import java.io.IOException;
import java.util.Date;

import javax.servlet.http.*;
import com.google.appengine.api.users.User;
import com.google.appengine.api.oauth.OAuthService;
import com.google.appengine.api.oauth.OAuthServiceFactory;

public class AppScriptServerServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
User user = null;
Date date = new Date(System.currentTimeMillis());
try {
OAuthService oauth =
OAuthServiceFactory.getOAuthService();
user = oauth.getCurrentUser();
resp.getWriter().println(Request time:  +
date.toString() +  User:  + user.getNickname());
} catch (Exception e) {
resp.getWriter().println(Request time:  + date.toString() +
 Exception:  + e.toString());
}
}
}
/***/


My 2 questions:

1. I have set up a time driven trigger on GAS to execute the script
every minute.  It seems I get current Date values from the GAE app
every 6 minutes +-6 seconds (very monotonously):

Fri, 01 Apr 2011 20:05:12 GMT   ::   Request time: Fri Apr 01
20:01:14 UTC 2011 User: u...@domain.com
Fri, 01 Apr 2011 20:06:12 GMT   ::   Request time: Fri Apr 01
20:01:14 UTC 2011 User: u...@domain.com
Fri, 01 Apr 2011 20:07:12 GMT   ::   Request time: Fri Apr 01
20:07:14 UTC 2011 User: u...@domain.com
Fri, 01 Apr 2011 20:08:12 GMT   ::   Request time: Fri Apr 01
20:07:14 UTC 2011 User: u...@domain.com
  .
  .
  .
Fri, 01 Apr 2011 20:11:12 GMT   ::   Request time: Fri Apr 01
20:07:14 UTC 2011 User: u...@domain.com
Fri, 01 Apr 2011 20:12:12 GMT   ::   Request time: Fri Apr 01
20:07:14 UTC 2011 User: u...@domain.com
Fri, 01 Apr 2011 20:13:12 GMT   ::   Request time: Fri Apr 01
20:13:15 UTC 2011 User: u...@domain.com
Fri, 01 Apr 2011 20:14:12 GMT   ::   Request time: Fri Apr 01
20:13:15 UTC 2011 User: u...@domain.com

What am I doing wrong? (if it's Java related, very sorry, my last Java
classes date back more than 6 minutes ago);

2. This very simple app generates a lot of CPU time.  From the GAE
Dashboard:
/MY-URI   ::   36 [requests]  ::   1741 (0) [Avg CPU
(API)]  ::   100% [% CPU]

The Quota Details page is more reassuring: my immediate CPU Quota is
Okay.

Am I right to think this is a discrepancy?  Aren't both of these
values a short-time average (over a minute)?  I guess I'll trust the
value I like best: Okay

Thanks

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



[appengine-java] guestbook application error

2011-04-01 Thread Alfredo Paz-Valderrama
Hello, i have a problem with the guestbook application example.

I followed the instructions of official tutorial to test user
authentication. It worked fine on my machine locally, but when I
published it, appeared an error message:

--
Error: Server Error
The server encountered an error and could not complete your request.

If the problem persists, please report your problem and mention this
error message and the query that caused it.
--

When I created the application chose: google apps authentication

This is the source code:

//GuestbookServlet.java
package guestbook;

import java.io.IOException;
@SuppressWarnings(serial)
public class GuestbookServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();

if (user != null) {
resp.setContentType(text/plain);
resp.getWriter().println(Hello,  + user.getNickname());
} else {
 
resp.sendRedirect(userService.createLoginURL(req.getRequestURI()));
}
}
}

---
appengine-web.xml
--
?xml version=1.0 encoding=utf-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
applicationarequipacontest/application
version1/version

!-- Configure java.util.logging --
system-properties
property name=java.util.logging.config.file value=WEB-INF/
logging.properties/
/system-properties

/appengine-web-app

greetings

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



[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Jay Young
Watch all of the App Engine videos from 2008, specifically the following 
(yes, they pre-date Java support on App Engine, but most of the principles 
apply):
https://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine
https://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore
https://sites.google.com/site/io/working-with-google-app-engine-models

Then watch the 2009 
ones: http://www.google.com/events/io/2009/sessions.html#appengine
Particulary 
http://www.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html 
and http://www.google.com/events/io/2009/sessions/SofterSideofSchemas.html

Then watch the 2010 
ones: http://www.google.com/events/io/2010/sessions.html#App%20Engine
Specifically:
http://www.google.com/events/io/2010/sessions/appstatsrpc-appengine.html
http://www.google.com/events/io/2010/sessions/high-throughput-data-pipelines-appengine.html

The information in  these videos is invaluable.

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



Re: [appengine-java] Uploading New Data into App Engine Java App

2011-04-01 Thread Ikai Lan (Google)
It sounds like you'll want to build your own API for this. Once you invoke
the API, all it has to do is follow up and run whatever code you need to
run.

One of the team members released Protorpc to help facilitate this sort of
thing in Python to make it easier to communicate between client and server
code. It's his goal to implement the same thing in Java. Check it out:

http://code.google.com/p/google-protorpc/

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, Apr 1, 2011 at 6:45 AM, Andrey andreykuzme...@gmail.com wrote:

 We need to periodically upload the new data into our Java App running on
 the App Engine. We are going to perform some calculations on our own server,
 after which the results of this calculation need to be uploaded into the App
 Engine app. The results are just a text file (each line is a separate string
 result). They will need to be taken into account immediately by the app
 running on the App Engine. This app uses the results to display them within
 the user interface.

 Could someone please recommend - what is the best way to:
 1) How to upload this kind of data programmatically into the Java App
 Engine app
 2) How to detect the new data has arrived from inside app engine, and
 reload it from the file - which tools in Java?

 I could not find the uploading data section under the Java part of the
 documentation

 Thank you

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


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



Re: [appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Ikai Lan (Google)
I think we can better surface the projects that are built by App Engine team
members that aren't so obviously accessible from the docs. It's important to
understand what these tools provide. A few off the top of my head:

- App Engine Mapreduce (so far only Map step is implemented but still *very*
useful):
http://code.google.com/p/appengine-mapreduce/

- The pipeline API:
http://code.google.com/p/appengine-pipeline/

- Protorpc
http://code.google.com/p/google-protorpc/

Am I forgetting any?

I'm sure community members can also recommend great third party tools you
can use. Some of these third party tools even have their own very active
sub-communites!

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, Apr 1, 2011 at 9:17 PM, Jay Young jayyoung9...@gmail.com wrote:

 Watch all of the App Engine videos from 2008, specifically the following
 (yes, they pre-date Java support on App Engine, but most of the principles
 apply):

 https://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine

 https://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore
 https://sites.google.com/site/io/working-with-google-app-engine-models

 Then watch the 2009 ones:
 http://www.google.com/events/io/2009/sessions.html#appengine
 Particulary
 http://www.google.com/events/io/2009/sessions/BuildingScalableComplexApps.htmland
 http://www.google.com/events/io/2009/sessions/SofterSideofSchemas.html

 Then watch the 2010 ones:
 http://www.google.com/events/io/2010/sessions.html#App%20Engine
 Specifically:
 http://www.google.com/events/io/2010/sessions/appstatsrpc-appengine.html

 http://www.google.com/events/io/2010/sessions/high-throughput-data-pipelines-appengine.html

 The information in  these videos is invaluable.

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


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



[appengine-java] Re: Uploading New Data into App Engine Java App

2011-04-01 Thread Didier Durand
Hi,

The simplest way is to write a servlet on GAE.

When your own server is done with the calculation, it posts (http
POST) the new data to this servlet who reads it and separate each line
as a new entity in the datastore.

The servlet can then do further processing (cleanup, updates, etc.) if
needed and launch a queued task (or several in parallel if you need
speed via parallelism) to do all what's remaining.

regards

didier

On Apr 1, 3:45 pm, Andrey andreykuzme...@gmail.com wrote:
 We need to periodically upload the new data into our Java App running on the
 App Engine. We are going to perform some calculations on our own server,
 after which the results of this calculation need to be uploaded into the App
 Engine app. The results are just a text file (each line is a separate string
 result). They will need to be taken into account immediately by the app
 running on the App Engine. This app uses the results to display them within
 the user interface.

 Could someone please recommend - what is the best way to:
 1) How to upload this kind of data programmatically into the Java App Engine
 app
 2) How to detect the new data has arrived from inside app engine, and reload
 it from the file - which tools in Java?

 I could not find the uploading data section under the Java part of the
 documentation

 Thank you

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



[appengine-java] Re: JPA/JDO vs low level API

2011-04-01 Thread Didier Durand
Hi,

You should also consider 3rd party packages like Objectify who works
at an intermediate level of abstraction.

The low-level api forces you to handle everything by yourself: the
Entity, its Properties, etc...

In JPA, JDO: you work much higher in abstraction: you define a Java
class as an Entity and then its properties become DS properties as you
annotate them.

As said: the big difference is abstraction level and resulting
guidance for JDO or flexibility for low-level: with low-level, you can
do much more things but you have to program much more carefully and
now what you do. With JDO/JPA, you get more comfort as you are guided
by the pojo structure. Also, JDO/JPA aligns you with Java
(inheritance, compiler checks for types, etc...).

I would really advise to start somewhere in the middle with a 3rd
party package as they are recommended now by Google more than JDO/JPA
and learn by using it at its own middle abstraction layer. When you
understand better, you will see if you really want / need to go up or
down in abstraction or stay where you are.

regards

didier

On Apr 1, 1:50 pm, SkYlEsS shou...@gmail.com wrote:
 I have a question :

 What are the differences between JPA/JDO and low level API (and
 Objectify) in practice ? I read everywhere the low level API provides
 more flexibility, but there are never samples code or evidences to
 demonstrate it. So I'm wondering in which cases exactly, the low level
 API is useful ?

 Thanks in advance

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



Re: [google-appengine] How to block Google App Engine?

2011-04-01 Thread Robert Kluin
Wow.  That is a substantial block of text.  Are you trying to say you
are mad because some App Engine app is proxying your site?







On Thu, Mar 31, 2011 at 20:48, Álvaro Degives-Más adegives...@gmail.com wrote:
 Hi Nick - and by extension, Barry as well (unfortunately I appear to have
 sent my reply directly to him - my apologies as I didn't CC myself so I
 can't share what exactly I wrote!)

 First of all, rest assured that my concerns are not necessarily with Google
 App Engine, but rather the species of search engine related API development
 frameworks that rely on that particular address space, perhaps more commonly
 referred to as cloud leveraged app platforms.

 The problem is that search engines - such as Google's - are routinely
 polluted; that is not attributable to negligence but it's the same sad
 reality nonetheless. Such polluted entries (e.g. certain queries) are used
 as a vector tampering with other, external properties. No amount of
 sanitization can counter the fundamental lack of a permissible URL
 tokenizing framework, i.e. something which communicates in a uniform manner
 to all interested parties (i.e. the Google family) what a permissible URL
 looks like.

 Sadly, the robots.txt syntax and the meta tag nofollow,noindex both lack
 this syntax whitelisting feature; they are not prescriptive (only crawl
 and index the URLs that look like this, and ignore the rest). Of course,
 with many if not most standard on-site search queries, it is possible to
 script page headers that include nofollow,noindex metatags. But many other
 kinds of dynamic content aren't easily wrapped with such headers.

 And that is where abuse of poisoned search engine indexes come into play.

 Just as I can't hunt down every non-canonical URL in the Google index,
 flagging issues case-by-case is not only not effective (if only because my
 logs demonstrate that) but practically prohibitive as well (I assume you can
 imagine that I'm not interested in hunting down all search engine based
 botnet traffic and relating that to individual sources) so my alternative is
 to simply shut down access to search engines. I don't have the time or the
 resources to play whack a mole with the ever increasing scourge of botnets.
 Incidentally, a look at traffic evolution in my traffic logs and a cursory
 look at some well-known email spam statistics suggests that indeed there's a
 quantum shift afoot, shifting from email to (particularly) smaller web
 property targeting for invasive advertising methods by the miscreants out
 there.

 And that is exactly what I have chosen to do: the well-behaved search
 engines (Google, Bing, Yahoo) are informed via robots.txt that they are not
 welcome, and their indexes are cleared out; the ill-behaved ones are blocked
 and upon sight rigorously reported to blacklists.

 Until there is something available which gives website proprietors
 (especially the small to medium sized ones!) a trivial and effective means
 to control which content is accessible for storage and further processing in
 the cloud, the internet will continue to shrink.

 Indeed, with heavy heart. But I don't have the resources to keep my
 web-based property open to play nice with worthwhile endeavors such as
 Google App Engine, while a notorious minority of criminals (I openly prefer
 the terrorist moniker) runs amok with virtual impunity. And so, I set a
 tight regime for wrapper security scripts (e.g. ZB Block, which I find quite
 effective and flexible).

 Hopefully you now understand better; it's not that I mistrust Google, or
 Google App Engine in particular. I just can't afford to be available for
 well-intended fun and games while carrying the weight of incidental abuse at
 my own expense.

 --
 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: Can't list or remove applications

2011-04-01 Thread Robert Kluin
If you've got an orphaned app, you might want to submit a billing support issue.
   
http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport

One other thought, Google accounts are a mess in general.  If I am
logged into the App Engine console with a Google Account and even hit
a login URL for an Apps account it completely trashes my sessions.
Stuff get seriously confused.  You might try logging in to your app
engine account with a 'clean' browser, perhaps in incognito / private
mode.


Robert





On Thu, Mar 31, 2011 at 12:21, darek da...@darekzon.com wrote:
 1. Yes, and on my Dashboard i see applications creatend on my generic
 gmail account

 2. Yep, i did it becaus when I'd tried to create application using my
 google apps account but google showed me page to verify account (by
 phone) and my phone was already used to verify generig gmail account
 in appengine.

 On Mar 31, 6:13 pm, Robert Kluin robert.kl...@gmail.com wrote:
 Are you logging in at appspot.com/a/darekzon.com?

 Did you already delete the plain Google account?







 On Thu, Mar 31, 2011 at 07:41, darek da...@darekzon.com wrote:
  Hi there,
  I've got problem with appengine accout.
  Many years ago I had create applications on my generic Google account and 
  it
  was ok, but after years i want to run everything on my Google Apps account
  (under my domain) so I bound app engine to google apps.
  Unfortunately to login to app engine I still need to use my gmail account
  that i want to delete. So i delete it because i tought it will also delete
  binding between google apps and app engine, and it didn't.
  Now I've got app engine applications in my Google Apps dashport that I 
  can't
  remove and when I want to create application in App Engine I can create 
  them
  but I can't see application list. Everytime I'm login to appengine i see
  view for user without applications.

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



-- 
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] Best API to use for storing fairly small files

2011-04-01 Thread Robert Kluin
Hey Jordon,
  Like Calvin said, you'll probably want to consider the Blobstore.
It will likely save you some headaches.  I just wnated to point out
some articles Nick Johnson wrote that you might find interesting.

  
http://blog.notdot.net/2010/03/Implementing-a-dropbox-service-with-the-Blobstore-API-Part-1
  
http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-the-Blobstore-API-part-2
  
http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-the-Blobstore-API-part-3-Multiple-upload-support


Robert





On Wed, Mar 30, 2011 at 20:06, Jordon Wii jordon...@gmail.com wrote:
 Hi guys,
 I'm writing an app that will allow users to sync code between
 computers.  What would be the best API to use to store these (probably
 fairly small) files?

 I was initially planning to just use the datastore, but I noticed the
 new features of the Blobstore in the latest release, and am now
 considering that as a possibility as well.

 Does anyone have an idea of which would be better to use for a
 potentially large number of small text files?

 --
 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: Parsin Youtube RSS feeds with minidom

2011-04-01 Thread Mitja Felicijan
Additional info: when I run this code on my dev_server everything works fine 
with zero errors.

-- 
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] Workshop? (59DaysOfCode)

2011-04-01 Thread irms
Hi all,

Forgive me if there's a better place to ask this question:

I put on a web  mobile competition/showcase called 
59DaysOfCodehttp://59DaysOfCode.com. 
One of the things we are offering this year is a set of workshops for 
developers on various topics. Twilio and Amazon (AWS) among others, will be 
holding sessions.

Is there someone I might speak to in the App Engine community, or within 
Google that might be interested in holding a workshop? We'd love to have 
someone out.

Thanks!

irms

-- 
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: Parsin Youtube RSS feeds with minidom

2011-04-01 Thread Mitja Felicijan
I think I found a solution. I put  if result.status_code == 200: before I 
try to parseString and since now I haven't got any errors.

-- 
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] How to block Google App Engine?

2011-04-01 Thread Calvin
Good gravy! Your point is so veiled in flowery metaphor that I still haven't 
understood what the core issue is.  I thought Robert had it for a second 
there, but no.

Now my theories are that you're either a turing-test bot, or a Batman 
villain.  Is Google sponsoring an exhibit at the Gotham Museum of Art?

-- 
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] How to block Google App Engine?

2011-04-01 Thread Álvaro Degives-Más
No Robert: the point is to preclude Google from perpetrating evil, even when 
its committed against its own intent. Incidentally, anger is a wasted 
emotion in security issues. It's almost as bad as overlooking basic security 
while commenting on the length of messages.

Kudos to Brandon for pointing out the elephant in the middle of the ball 
pit.

-- 
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] Don't Understand Blobstore limits

2011-04-01 Thread Movesax
I'm reading numbers all over the place about blobstore and I don't really 
understand their implications.  If anyone could help, it would be greatly 
appreciated.
from: 
http://code.google.com/appengine/docs/python/blobstore/overview.html#Writing_Files_to_the_Blobstore

it says that filesizes in the blobstore are limited to 2GB
but it also says that the maximum amount that can be written with a single 
API call is 1mb.

Does that mean that a 2GB file could be uploaded downloaded so long as it 
were chunked into 1mb pieces?
Also, I saw that entry was linked from a fairly recent blog post - Is that 
the most 'up to date information on Blob limits?'  I think I've also seen 
that 50mb is their limit.

And what about attaching Blobs to other Data Structures?  There's a limit on 
the size that data structures can be in the datastore... I'm not sure what 
that is currently, but I know that it used to be 1mb.  Even if we can have 
large blobs, does this mean we can't have them attached to other data 
structures?  

Also, I saw someone linked to a new Google Storage API.  Is this going to 
somehow be accessible to the GAE?

Finally, these limitations should probably be mentioned somewhere in the 
overview or maybe quota sections.  I had a terrible time finding the little 
information I found :(

-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] How to block Google App Engine?

2011-04-01 Thread Ross M Karchner
I think the phrase search engine related API development frameworks
might be the key to the misunderstanding here-- App Engine and Google
Search are simply products of the same company. It's like calling
Microsoft Windows a search related operating system simply because
Microsoft also makes Bing.

App Engine is just a thing for hosting web sites and web apps--
anything you could do on App Engine, you could also do on GoDaddy,
Bluehost, Rackspace, Azure, 11, Webfaction, Dreamhost, Slicehost,
Heroku, Engine Yard, A Small Orange, Amazon EC2, etc.

Things I *would* call search engine related API development frameworks:

- http://www.rollyo.com/
- Google Custom Search (and it's API)
- Yahoo Boss: http://developer.yahoo.com/search/boss/




On Thu, Mar 31, 2011 at 8:48 PM, Álvaro Degives-Más
adegives...@gmail.com wrote:
 Hi Nick - and by extension, Barry as well (unfortunately I appear to have
 sent my reply directly to him - my apologies as I didn't CC myself so I
 can't share what exactly I wrote!)

 First of all, rest assured that my concerns are not necessarily with Google
 App Engine, but rather the species of search engine related API development
 frameworks that rely on that particular address space, perhaps more commonly
 referred to as cloud leveraged app platforms.

 The problem is that search engines - such as Google's - are routinely
 polluted; that is not attributable to negligence but it's the same sad
 reality nonetheless. Such polluted entries (e.g. certain queries) are used
 as a vector tampering with other, external properties. No amount of
 sanitization can counter the fundamental lack of a permissible URL
 tokenizing framework, i.e. something which communicates in a uniform manner
 to all interested parties (i.e. the Google family) what a permissible URL
 looks like.

 Sadly, the robots.txt syntax and the meta tag nofollow,noindex both lack
 this syntax whitelisting feature; they are not prescriptive (only crawl
 and index the URLs that look like this, and ignore the rest). Of course,
 with many if not most standard on-site search queries, it is possible to
 script page headers that include nofollow,noindex metatags. But many other
 kinds of dynamic content aren't easily wrapped with such headers.

 And that is where abuse of poisoned search engine indexes come into play.

 Just as I can't hunt down every non-canonical URL in the Google index,
 flagging issues case-by-case is not only not effective (if only because my
 logs demonstrate that) but practically prohibitive as well (I assume you can
 imagine that I'm not interested in hunting down all search engine based
 botnet traffic and relating that to individual sources) so my alternative is
 to simply shut down access to search engines. I don't have the time or the
 resources to play whack a mole with the ever increasing scourge of botnets.
 Incidentally, a look at traffic evolution in my traffic logs and a cursory
 look at some well-known email spam statistics suggests that indeed there's a
 quantum shift afoot, shifting from email to (particularly) smaller web
 property targeting for invasive advertising methods by the miscreants out
 there.

 And that is exactly what I have chosen to do: the well-behaved search
 engines (Google, Bing, Yahoo) are informed via robots.txt that they are not
 welcome, and their indexes are cleared out; the ill-behaved ones are blocked
 and upon sight rigorously reported to blacklists.

 Until there is something available which gives website proprietors
 (especially the small to medium sized ones!) a trivial and effective means
 to control which content is accessible for storage and further processing in
 the cloud, the internet will continue to shrink.

 Indeed, with heavy heart. But I don't have the resources to keep my
 web-based property open to play nice with worthwhile endeavors such as
 Google App Engine, while a notorious minority of criminals (I openly prefer
 the terrorist moniker) runs amok with virtual impunity. And so, I set a
 tight regime for wrapper security scripts (e.g. ZB Block, which I find quite
 effective and flexible).

 Hopefully you now understand better; it's not that I mistrust Google, or
 Google App Engine in particular. I just can't afford to be available for
 well-intended fun and games while carrying the weight of incidental abuse at
 my own expense.

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




-- 
Ross M Karchner

-- 
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] Re: How to block Google App Engine?

2011-04-01 Thread Darien Caldwell
If you care so little about search engine rank, that you're willing to
block all search engines, why block them at all? Let them rank you
badly, or well, or basically what would it matter, if you don't care
about it?

Maybe if you more clearly defined this sentence, it would make sense:

polluted entries (e.g. certain queries) are used
as a vector tampering with other, external properties

Give concrete examples.

-- 
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] Don't Understand Blobstore limits

2011-04-01 Thread Robert Kluin
Hi,
  The maximum size of a blob is 2GB.  If you are uploading the blob
from your app code, I believe the data will be sent in 1Mb chunks.  If
you are reading from a blob in your app code, read the data in 1Mb
chunks.  Clients can send up to 2GB if you use the
BlobstoreUploadHandler, and they can also download that data if you
use the BlobstoreDownloadHandler.

  You can reference blobs from your Datastore entities:
 
http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#BlobReferenceProperty

  Google Storage for Developers is on the Roadmap:
http://code.google.com/appengine/docs/roadmap.html


  A lot of quota information is in the general quota doc:
http://code.google.com/appengine/docs/quotas.html

  Many of the service overview sections, such as the Datstore and
Blobstore, detail relevant quotas:

http://code.google.com/appengine/docs/python/datastore/overview.html#Quotas_and_Limits

http://code.google.com/appengine/docs/python/blobstore/overview.html#Quotas_and_Limits


Robert





On Fri, Apr 1, 2011 at 04:47, Movesax move...@gmail.com wrote:
 I'm reading numbers all over the place about blobstore and I don't really
 understand their implications.  If anyone could help, it would be greatly
 appreciated.
 from: http://code.google.com/appengine/docs/python/blobstore/overview.html#Writing_Files_to_the_Blobstore
 it says that filesizes in the blobstore are limited to 2GB
 but it also says that the maximum amount that can be written with a single
 API call is 1mb.
 Does that mean that a 2GB file could be uploaded downloaded so long as it
 were chunked into 1mb pieces?
 Also, I saw that entry was linked from a fairly recent blog post - Is that
 the most 'up to date information on Blob limits?'  I think I've also seen
 that 50mb is their limit.
 And what about attaching Blobs to other Data Structures?  There's a limit on
 the size that data structures can be in the datastore... I'm not sure what
 that is currently, but I know that it used to be 1mb.  Even if we can have
 large blobs, does this mean we can't have them attached to other data
 structures?
 Also, I saw someone linked to a new Google Storage API.  Is this going to
 somehow be accessible to the GAE?
 Finally, these limitations should probably be mentioned somewhere in the
 overview or maybe quota sections.  I had a terrible time finding the little
 information I found :(
 -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.


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



[google-appengine] How to filter date

2011-04-01 Thread walter
My model

class BaseArticleModel(polymodel.PolyModel):
title = db.StringProperty()
created_at = db.DateProperty(auto_now_add=True)
updated_at = db.DateProperty(auto_now=True)

class News(BaseArticleModel):
body = db.TextProperty()

I ned get rows by last month. When to do filter like this

q = News.all().filter('created_at.month = ',
datetime(2011,04,01).month)

I get IndexError: The query returned fewer than 1 results

-- 
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: Don't Understand Blobstore limits

2011-04-01 Thread Mahron
The limitation only applies if you read or write directly from the
blob in your code.

with

blobstore_handlers.BlobstoreUploadHandler

blobstore_handlers.BlobstoreDownloadHandler

you can upload and download files up to 2GB in one peace.

-- 
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] Data Corruption

2011-04-01 Thread Jamie Bliss
So my app seems to be having trouble with data corruption. Numeric
references are all getting set to one or two values. Is this a google
problem, as unlikely as it is? I'm pretty sure I didn't code that.

-- 
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] Java GAE server side ResourceBundle problem?

2011-04-01 Thread Eric Chow
Hello,

How can I use ResourceBundle in GAE?
I can use it in local but failed in the cloud.

I want to get some message resources for using in the server side
code.
Please help me.

Best regards,
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] PerformanceEngine - This is how I stay under free quota (feedback welcome)

2011-04-01 Thread Can Bascil
Hi there,
I am working on an app (tweethit.com) that has high frequency of write
 read ops and came up with this library as a side project. It
basically enables layered storage for db.Models. You can select which
layers to put or get the models (local cache,memcache,datastore) using
a simple API. It cut my CPU usage by nearly half as soon as I
introduced local layer for storage, so you should check it out if you
like to stay under free quota as much as I do. All feedback is
welcome. I'd love to know how else I can add useful functionality to
this simple library.

source: https://github.com/ocanbascil/Performance-AppEngine

-- 
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: Forum (message board) engine for Google App Engine

2011-04-01 Thread Arcanum
Great job!
I really need a simple but nice and effective message board for GAE.
I really like not only Google's authorisation methods.

BTW are you speak russian like me? :)

-- 
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] Remote data storage for App Engine

2011-04-01 Thread Elvin Li
Is it possible to run a Datastore on a remote server and have my app
engine application store my data there instead?

-- 
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] Files API Performance

2011-04-01 Thread Fabs
Hello all

I currently have an app running which stores 16MB binary files by
having a list of keys, and a number of 'data' entities storing the
data. This has good performance with the new async datastore APIs. I
am interested to know if the files API will match the performance of a
number of asynchronous datastore reads, or if the files API will have
additional latency.

I realise the files API is experimental and should not be used in
production yet, but it seems like it will be a more robust solution to
my problem.

Regards.

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



[google-appengine] Getting one bill a month for the App Engine Usage

2011-04-01 Thread Nixarn
Hi,

We've been using the App Engine for a while now and it works great.
One thing though that would be really great would be to get less
bills, in the beginning we used to get really tiny bills once a week
which was annoying. Another option is to be able to prepay a large
amount.

Thanks,
Niklas

-- 
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: Datastore Admin Tasks Stuck

2011-04-01 Thread Fabs
I suspect you will have some datastore entities related to the job
left over which you can delete manually in the datastore viewer.

On Apr 1, 3:22 pm, Aaron aaron.t.che...@gmail.com wrote:
 Hi,

 I have had two tasks in my datastre admin console that were started
 several weeks ago that still say they are active.  I believe this may
 have been caused by a purged queue.  Is there a way to mark these
 tasks as complete?

 Thanks.

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



[google-appengine] NeedIndexError ? Please help

2011-04-01 Thread hotwater
I have this error message :

NeedIndexError: The index for this query is not ready to serve. See
the Datastore Indexes page in the Admin Console.

This query needs this index:
- kind: POI
  properties:
  - name: __searchable_text_index
  - name: __searchable_text_index
  - name: date
direction: desc
In the app engine admin page, Datastore Indexes showing

__searchable_text_index , __searchable_text_index , date Error

What is actually happpening and how do I solve the problem?

Please help, if you would like to check on the live error please visit
http://8.scoutearth.appspot.com/search?x=20y=15phrase=cafe+in+the+park

-- 
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] Remote data storage for App Engine

2011-04-01 Thread Wim den Ouden
http://code.google.com/appengine/docs/python/urlfetch/ ?

2011/4/1 Elvin Li zelrealmem...@gmail.com

 Is it possible to run a Datastore on a remote server and have my app
 engine application store my data there instead?

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




-- 
Gr,
Wim den Ouden https://profiles.google.com/wdenouden,
Buuring http://buuring.appspot.com, Google app engine
tipshttp://code.google.com/p/relat/wiki/gaetips

-- 
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: Huge latencies and so many 500 errors/Deadline Exceeded

2011-04-01 Thread Everson Alves da Silva
I'm getting that a lot too in the last days; Today is better than yesterday 
but still getting a lot of it. Anyone know if they are treating it? I see 
the status says it's OK, but it is not.

-- 
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: Huge latencies and so many 500 errors/Deadline Exceeded

2011-04-01 Thread Everson Alves da Silva
I'm using Master/Slave Replication

-- 
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: NeedIndexError ? Please help

2011-04-01 Thread hotwater
Thanks for the help

On Apr 2, 1:07 am, Calvin calvin.r...@gmail.com wrote:
 If you go to the dashboard for your app you'll see a Datastore Indexes
 link on the left side.  This will show you a list of your indexes, and their
 current state.  It sounds like App Engine is currently working on building
 the indexes for this model, and you won't be able to complete this query
 until it's done.

-- 
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] Files API Performance

2011-04-01 Thread Ikai Lan (Google)
Have you tried any tests yet? It would be very helpful to see different
measurements from different people to see how the File API is being used (or
how people would like to use the File API).

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Thu, Mar 31, 2011 at 9:53 PM, Fabs lord.f...@gmail.com wrote:

 Hello all

 I currently have an app running which stores 16MB binary files by
 having a list of keys, and a number of 'data' entities storing the
 data. This has good performance with the new async datastore APIs. I
 am interested to know if the files API will match the performance of a
 number of asynchronous datastore reads, or if the files API will have
 additional latency.

 I realise the files API is experimental and should not be used in
 production yet, but it seems like it will be a more robust solution to
 my problem.

 Regards.

 --
 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] Getting one bill a month for the App Engine Usage

2011-04-01 Thread Ikai Lan (Google)
Hi Niklas,

Good news: we're looking at options for this. As it turns out, daily billing
really annoys some accounting departments at large companies. Stay tuned.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, Apr 1, 2011 at 5:25 AM, Nixarn nix...@gmail.com wrote:

 Hi,

 We've been using the App Engine for a while now and it works great.
 One thing though that would be really great would be to get less
 bills, in the beginning we used to get really tiny bills once a week
 which was annoying. Another option is to be able to prepay a large
 amount.

 Thanks,
 Niklas

 --
 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: Huge latencies and so many 500 errors/Deadline Exceeded

2011-04-01 Thread Alexandru Farcaş
For those of you who have a high error rate, are you using Master/
Slave or High Replication?

On Apr 1, 8:10 pm, Everson Alves da Silva khron...@gmail.com wrote:
 I'm getting that a lot too in the last days; Today is better than yesterday
 but still getting a lot of it. Anyone know if they are treating it? I see
 the status says it's OK, but it is not.

-- 
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] Files API Performance

2011-04-01 Thread Ian Gillett
I am using the resumable upload function to Google Docs in App Engine.


I thought I would be able to use the new Files API to accomplish this.


My question is how can I use the new Files API to grab a reference to a blob
and cast to file in the following code snippet:


MediaFileSource mediaFile = *new* MediaFileSource(file, contentType);


The problem is the resumable upload expects a regular file type when
creating a MediaFileSource and obviously App Engine does not allow reading
from the users file system – will the new Files Api help with this?


Any help hugely appreciated...


Thanks,

Ian.

On Fri, Apr 1, 2011 at 6:42 PM, Ikai Lan (Google) ika...@google.com wrote:

 Have you tried any tests yet? It would be very helpful to see different
 measurements from different people to see how the File API is being used (or
 how people would like to use the File API).

 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine



 On Thu, Mar 31, 2011 at 9:53 PM, Fabs lord.f...@gmail.com wrote:

 Hello all

 I currently have an app running which stores 16MB binary files by
 having a list of keys, and a number of 'data' entities storing the
 data. This has good performance with the new async datastore APIs. I
 am interested to know if the files API will match the performance of a
 number of asynchronous datastore reads, or if the files API will have
 additional latency.

 I realise the files API is experimental and should not be used in
 production yet, but it seems like it will be a more robust solution to
 my problem.

 Regards.

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


-- 
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: Getting one bill a month for the App Engine Usage

2011-04-01 Thread reco
hi ikai,

yeah this would be amazing. looking forward too.

christof

-- 
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] Please help

2011-04-01 Thread Massimiliano
Hi,
I have a string like that (something) in the datastore, I need to remove
the , do you know how can I do? Can I do it in the Django template?

Massimiliano

-- 

My email: massimiliano.pietr...@gmail.com
My Google Wave: massimiliano.pietr...@googlewave.com

-- 
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: Getting one bill a month for the App Engine Usage

2011-04-01 Thread PK
+1 on this (low priority though)

We have a pilot project that gets charged 7c a week... It drives the
accountant crazy. I find it amusing that Google (as in Google App
Engine) charges our credit card 7c every Monday but Google (as in
Google ads) will not send us a check until the amount reaches $10.00
because of overhead reasons...

I suggest GAE charges as often as once a day when the balance exceeds
$100.00 but  once a month if the amount is below that, or something
along these lines so we only get many accounting entries if the amount
justifies the overhead.

PK
www.gae123.com

-- 
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: Forum (message board) engine for Google App Engine

2011-04-01 Thread PK
This is something I could put to use too. Thanks!!!

PK
www.gae123.com

On Apr 1, 7:56 am, Arcanum ark...@gmail.com wrote:
 Great job!
 I really need a simple but nice and effective message board for GAE.
 I really like not only Google's authorisation methods.

 BTW are you speak russian like me? :)

-- 
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: Getting one bill a month for the App Engine Usage

2011-04-01 Thread Chris Copeland
I had a similar problem where I got a 30 cent bill but my bank refused to
process a debit card charge of 50 cents or less.  It was really a pain to
figure out the problem and fix it.

On Fri, Apr 1, 2011 at 2:12 PM, PK p...@gae123.com wrote:

 +1 on this (low priority though)

 We have a pilot project that gets charged 7c a week... It drives the
 accountant crazy. I find it amusing that Google (as in Google App
 Engine) charges our credit card 7c every Monday but Google (as in
 Google ads) will not send us a check until the amount reaches $10.00
 because of overhead reasons...

 I suggest GAE charges as often as once a day when the balance exceeds
 $100.00 but  once a month if the amount is below that, or something
 along these lines so we only get many accounting entries if the amount
 justifies the overhead.

 PK
 www.gae123.com

 --
 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: Getting one bill a month for the App Engine Usage

2011-04-01 Thread Brian Davenport
The ideal solution for me would be for adsense to dump the money into google
checkout.  Thus I would only need to pay when adsense did not cover it.

*Brian Davenport*
XMPP: the.lost.min...@gmail.com
*MindlessTux.com http://www.mindlesstux.com/
*

-- 
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: How to filter date

2011-04-01 Thread nickmilon
you need something like:

News.all().filter('created_at.month ',datetime(2011,3,31,23,59))

but..

your result set will be ordered primarily on created_at coz you are
using an inequality filter, if you do not mind that then ok.

IMHO a better solution to your problem would be if you use an equality
filter based on a computed property:

class BaseArticleModel(polymodel.PolyModel):
title = db.StringProperty()
created_at = db.DateProperty(auto_now_add=True)
updated_at = db.DateProperty(auto_now=True)
@db.ComputedProperty
def CM(self):return self.created_at.month

then you can filter on an equality which is much more convenient for
the query at the expense of a little overhead on storage and put
latency:

q = News.all().filter('CM =',1)


happy coding;)


On Apr 1, 7:20 pm, walter wdv...@gmail.com wrote:
 My model

 class BaseArticleModel(polymodel.PolyModel):
     title = db.StringProperty()
     created_at = db.DateProperty(auto_now_add=True)
     updated_at = db.DateProperty(auto_now=True)

 class News(BaseArticleModel):
     body = db.TextProperty()

 I ned get rows by last month. When to do filter like this

 q = News.all().filter('created_at.month = ',
 datetime(2011,04,01).month)

 I get IndexError: The query returned fewer than 1 results

-- 
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: Getting one bill a month for the App Engine Usage

2011-04-01 Thread Ikai Lan (Google)
Baby steps =). I've heard similar feedback before. We're not currently
looking into better AdSense integration at least with regards to payment.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, Apr 1, 2011 at 1:17 PM, Brian Davenport
the.lost.min...@gmail.comwrote:

 The ideal solution for me would be for adsense to dump the money into
 google checkout.  Thus I would only need to pay when adsense did not cover
 it.

 *Brian Davenport*
 XMPP: the.lost.min...@gmail.com
 *MindlessTux.com http://www.mindlesstux.com/
 *

  --
 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] Can't modify billing settings on my application

2011-04-01 Thread John Wheeler
Google,

On my app highvolumeseller, I can't modify any billing settings. There
is no button and no indication of why there is no button. On my other
apps under the same account, there are buttons on the billing settings
page. What gives? I shouldn't have to pay for things I have no control
over.

John

-- 
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: How to filter date

2011-04-01 Thread walter
Thank you very much. This is a very useful and helped. But, I've bit
confused.  I didn't find any references to @db.ComputedProperty. :(

-- 
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] id instead of key - implications, beyond

2011-04-01 Thread Joops
Hello all,

I am currently using Id's instead of keys for references.
(as I would not make use of the back references)

I have already read that the automated data store copier needs
references (as keys get regenerated, so it needs to rebuild the
relationships).

Are there any other downsides?

Thanks very much

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.



[google-appengine] .Net Developer Job Opening - Valencia, CA

2011-04-01 Thread Makro Tech
Hi

This is Vignesh with Makro Technologies, Inc.
We have been in business for over 10 years and we are one of the Fast 500
National IT staffing and Solution firms in USA. Our clients include
country’s top-notch IT, Healthcare, Pharmaceutical, Financial,
Telecom,Government and other industries.

Staying current with technology, finding great consultants and exceeding our
clients' expectations are our primary objectives.

Thanks for your time and attention to this e-mail.  Please let me know if
you have any candidates available, please find the Job description as
mentioned below.

*Title : .Net Developer
Location : Valencia, CA
Duration :6 Months*
*Responsibilities:*
• Work closely with business representatives and other team members to
understand business requirements that drive the analysis, design and
development of quality technical solutions that align with business and IT
strategies and comply with corporate and regulatory standards
• Direct and participate in the full software development lifecycle
• Make recommendations towards the development of new systems or reuse of
existing systems
• Work on medium to large, varied and complex projects that require skill in
multiple technical environments and knowledge in various business areas
• Work on multiple simultaneous projects as a project team member and/or as
a project lead
• Coach and/or mentor more junior technical staff
*
Required Skills*
• Bachelor degree in Computer Science or a related area
• 7+ years of programming/systems analysis experience
• Waterfall SDLC experience
• Ability to be a self-starter in a dynamic and fast paced environment
• Microsoft technologies, including .Net, C#, VB.Net, ASP.Net, XML, HTML,
JavaScript.
• Tools: Visual Studio .Net 2008, SQL Server 2000-2008, SVN
• Database technologies: Microsoft SQL, Oracle PL/SQL
• Reporting systems: Crystal Reports Server 2008
• Regulatory software validation experience a plus

Thanks
*Vignesh
*Sr Talent Acquisation Consultant
Tel: 973-481-0100  Ext: 3069
Fax: 973 883 1488
*E mail:* vignesh.renik...@makrohealth.com
Linkedin: 
*http://www.linkedin.com/in/vignesh1*http://www.linkedin.com/in/vignesh1
(Accept
All Invitations to your's and My Professional Network)
http://www.twitter.com/Makro_Tech (follow me get Followed back)

For current openings please visit
http://jobs.makrotech.com/searchjobs.aspx

Candidate HelpDesk: 973-679-5005
*
Makro Technologies Inc.*
www.makrotech.com
Corporate Headquarters: New Jersey
One Washington Park, Suite 1502, Newark, NJ 07102
*Other Offices:* Pennsylvania, Illinois, California
** Makro is a 3-time INC 5000 company for 2007/2008/2009
** Makro is a 3-time FAST 50 firm in NJ for 2005/2006/2007 (by Deloitte)
** Makro is a 3-time FAST 500 firm in USA for 2005/2006/2007 (by
Deloitte)

-- 
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] .Net Developer Job Opening - Valencia, CA

2011-04-01 Thread Wilson MacGyver
This has to be an April fools joke. :)

On Apr 1, 2011, at 6:41 PM, Makro Tech makrotech@gmail.com wrote:

 Hi
 
 This is Vignesh with Makro Technologies, Inc. 
 
 We have been in business for over 10 years and we are one of the Fast 500 
 National IT staffing and Solution firms in USA. Our clients include country’s 
 top-notch IT, Healthcare, Pharmaceutical, Financial, Telecom,Government and 
 other industries. 
 
 Staying current with technology, finding great consultants and exceeding our 
 clients' expectations are our primary objectives.
 
 Thanks for your time and attention to this e-mail.  Please let me know if you 
 have any candidates available, please find the Job description as mentioned 
 below.
 Title : .Net Developer
 Location : Valencia, CA
 Duration :6 Months
 
 Responsibilities:
 • Work closely with business representatives and other team members to 
 understand business requirements that drive the analysis, design and 
 development of quality technical solutions that align with business and IT 
 strategies and comply with corporate and regulatory standards 
 • Direct and participate in the full software development lifecycle 
 • Make recommendations towards the development of new systems or reuse of 
 existing systems
 • Work on medium to large, varied and complex projects that require skill in 
 multiple technical environments and knowledge in various business areas
 • Work on multiple simultaneous projects as a project team member and/or as a 
 project lead
 • Coach and/or mentor more junior technical staff 
 
 Required Skills
 • Bachelor degree in Computer Science or a related area
 • 7+ years of programming/systems analysis experience
 • Waterfall SDLC experience
 • Ability to be a self-starter in a dynamic and fast paced environment
 • Microsoft technologies, including .Net, C#, VB.Net, ASP.Net, XML, HTML, 
 JavaScript.
 • Tools: Visual Studio .Net 2008, SQL Server 2000-2008, SVN
 • Database technologies: Microsoft SQL, Oracle PL/SQL
 • Reporting systems: Crystal Reports Server 2008
 • Regulatory software validation experience a plus
  
 Thanks
 Vignesh
 Sr Talent Acquisation Consultant
 Tel: 973-481-0100  Ext: 3069
 Fax: 973 883 1488
 E mail: vignesh.renik...@makrohealth.com
 Linkedin: http://www.linkedin.com/in/vignesh1 (Accept All Invitations to 
 your's and My Professional Network)
 http://www.twitter.com/Makro_Tech (follow me get Followed back)
 
 For current openings please visit
 http://jobs.makrotech.com/searchjobs.aspx 
 
 Candidate HelpDesk: 973-679-5005
 
 Makro Technologies Inc.
 www.makrotech.com
 Corporate Headquarters: New Jersey
 One Washington Park, Suite 1502, Newark, NJ 07102
 Other Offices: Pennsylvania, Illinois, California
 ** Makro is a 3-time INC 5000 company for 2007/2008/2009
 ** Makro is a 3-time FAST 50 firm in NJ for 2005/2006/2007 (by Deloitte)
 ** Makro is a 3-time FAST 500 firm in USA for 2005/2006/2007 (by Deloitte)
   
 
 -- 
 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: Best API to use for storing fairly small files

2011-04-01 Thread Jordon Wii
@Calvin: Good point, I'd forgotten about that.  The file-concatenation
also an interesting idea, although I'm not sure exactly how I would
implement that.

@Robert: Thanks a million for those links.  They're looking quite
helpful.

On Mar 31, 6:11 pm, Calvin calvin.r...@gmail.com wrote:
 Datastore entities are capped at 1 megabyte.  So if you expect anyone to
 ever upload a file larger than that, blobstore would be required.  Also the
 uploading might be faster if you could join all the files into a single
 compressed file on the client and upload them all at once.  Blobstore would
 be good for that.

-- 
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: NeedIndexError ? Please help

2011-04-01 Thread PandaSuit
You are going to have lots of trouble with any index that contains the
same property more than once. Based on your index I am guessing you
are implementing search with a list property called
__searchable_text_index that contains a bunch of search terms are you
are doing an equality filter against that property. If I am wrong just
feel free to ignore the rest of this post.

On the dev server this will work fine no matter how many equality
filters you use in a single query however on the production server it
will require an index for each number of equality filters and the
production server will fail to create those indexes because it does
not seem to support an index with more than one entry for the same
property.

This is a little tricky. If you want to filter with multiple equality
filters on the same property like that you are not able to filter on
any other property or sort on any other property in the same query.

Multiple solutions for this have been found but none are perfect. The
search solution that I use is gae-search by Bill Katz:
http://www.billkatz.com/2009/6/Simple-Full-Text-Search-for-App-Engine

You still won't be able to have the sort inside the same query as the
filter, you will need to sort after you have fetched the results.

I hope that helps. Good luck.

- Bryce


On Apr 1, 9:55 am, hotwater chanyee...@gmail.com wrote:
 I have this error message :

 NeedIndexError: The index for this query is not ready to serve. See
 the Datastore Indexes page in the Admin Console.

 This query needs this index:
 - kind: POI
   properties:
   - name: __searchable_text_index
   - name: __searchable_text_index
   - name: date
     direction: desc
 In the app engine admin page, Datastore Indexes showing

 __searchable_text_index , __searchable_text_index , date Error

 What is actually happpening and how do I solve the problem?

 Please help, if you would like to check on the live error please 
 visithttp://8.scoutearth.appspot.com/search?x=20y=15phrase=cafe+in+the+park

-- 
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] Migrating from MS to HR

2011-04-01 Thread Greg
I have a production appengine app at www.example.com, which I want to
switch from master-slave to high replication datastore. I intend to
document and publish the process and the results to make switching
easier for others who want to make the move.

The cut-over must be as seamless as possible. I can set up the HR app
and transfer most of the data across ahead of time using the appspot
URL, followed by testing the new app to make sure everything works as
expected. Then there will have to be a small downtime window while I
disable the old app and transfer the remaining data.

My questions (so far!) are:

1. What is the process for switching old to new app in google apps?
Currently in my example.com google apps dashboard I have a link to
disable the old app. When I do this, will I will get the option to
associate the new app with the domain?

2. How quick can this app switch happen? Is there any manual component
on Google's end that would require me to do this in office hours?

-- 
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: Redirect from naked domain preserving full path

2011-04-01 Thread Thomas Wiradikusuma
Hi Giacinto,

I'm having exactly the same problem. Can you get into more detail
(step-by-step, starting from 
https://www.google.com/a/cpanel/MYDOMAIN/DomainSettingsDomains
probably?) on how you get it done? I understand your post, but I'm
afraid I might click/delete the wrong stuff.

On Mar 31, 2:31 am, Giacinto decata...@gmail.com wrote:
 Well, i solved the problem! None of the previous solutions is really the
 good solution, or better, none is complete. The real problem of the lost
 request's full path is the google autosetting for www redirect!

-- 
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] Please help

2011-04-01 Thread Ikai Lan (Google)
Yeah - take a look at creating Django template filters. These are much
easier to use in newer versions of Django than the default (0.96):

http://www.google.com/search?q=django+template+filters

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, Apr 1, 2011 at 11:35 AM, Massimiliano 
massimiliano.pietr...@gmail.com wrote:

 Hi,
 I have a string like that (something) in the datastore, I need to remove
 the , do you know how can I do? Can I do it in the Django template?

 Massimiliano

 --

 My email: massimiliano.pietr...@gmail.com
 My Google Wave: massimiliano.pietr...@googlewave.com

 --
 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] App versions showing the same.

2011-04-01 Thread Ikai Lan (Google)
Yes, non-existent versions point to the default version. This is expected
behavior.

What are the URLs you are trying to access?

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, Apr 1, 2011 at 10:26 AM, Everson Alves da Silva
khron...@gmail.comwrote:

 Hello,

 I have an app running on java and want to use a other version, running on
 python. I created a new python app, changed the version to 2 and published.
 Admin shows both versions. But both addresses are reaching the java, default
 version. What is weird, is that if I try a nonexistent version, it also
 points to the default version.

 The app uses custom domain. But i'm trying to access using:
 http://X.appid.appspot.com/


  --
 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] App versions showing the same.

2011-04-01 Thread Everson Alves da Silva
Thanks, I figured that out later. The problem with my version, was some kind 
of cache. After a time. It worked. 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] Migrating from MS to HR

2011-04-01 Thread Brandon Wirtz
In google apps for domains you undeploy A1.appspot.com and deploy
b2.appsopt.com  

It's not switch, it's blow away and put in the new.

And you may want to practice first, and do it on a weekday, cause we've had
trouble with apps for domains not letting us create a new subdomain at
times, and we've had trouble with it saying a domain was in use after
deleting it.

So really, you should upgrade to the Apps For Domains for Business... Have
your pin, and do it with a CSR on the phone.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Greg
Sent: Friday, April 01, 2011 8:55 PM
To: Google App Engine
Subject: [google-appengine] Migrating from MS to HR

I have a production appengine app at www.example.com, which I want to switch
from master-slave to high replication datastore. I intend to document and
publish the process and the results to make switching easier for others who
want to make the move.

The cut-over must be as seamless as possible. I can set up the HR app and
transfer most of the data across ahead of time using the appspot URL,
followed by testing the new app to make sure everything works as expected.
Then there will have to be a small downtime window while I disable the old
app and transfer the remaining data.

My questions (so far!) are:

1. What is the process for switching old to new app in google apps?
Currently in my example.com google apps dashboard I have a link to disable
the old app. When I do this, will I will get the option to associate the new
app with the domain?

2. How quick can this app switch happen? Is there any manual component on
Google's end that would require me to do this in office hours?

--
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] simple space strategy game built on app engine

2011-04-01 Thread Luke
hello everyone in app engine land.  i thought i might share a simple
game i've been working on that was built using GAE and GWT.

it's a turn-based space strategy game.  capture your opponents planets
to win.  currently it's only multiplayer, no AI to play against.  i
thought playing my friends would be more fun than a computer.

it's been optimized it for Android and iPhone devices.  turns are
asynchronous, like words with friends.

check it out and let me know if you have fun:

http://galaxyrush.appspot.com/mobile-landing.html

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