[appengine-java] EL update or CL fix

2010-10-10 Thread alesj
It's been a while since I reported this odd ClassLoading (and EL)
behavior:
* 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e9c9578f034dd1f9

Any plans on fixing this?
Or, are there perhaps valid reasons why EL is included in GAE
distribution AND loaded by the app's CL?

-- 
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-j...@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: EL update or CL fix

2010-10-10 Thread alesj
Related post:
* 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/67c8c345d386eaec

-- 
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-j...@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: OpenID Development server

2010-10-10 Thread Fabrizio Accatino
I have no problem opening an issue. But actually I don't understand if I
have a problem/wrong_configuration or App Engine has a bug.
I'm waiting for a reply from Google guys...  :)

fabrizio

2010/10/9 ArtemGr artem...@gmail.com

 OpenID support is still experimental, there are several open issues
 concerning it. If you feel you encountered a new problem, maybe you
 should file an issue!



-- 
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-j...@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] Task queue with HTTP POST not working.

2010-10-10 Thread apple
I followed the codes in GAE document to make a simple task queue:

Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.method(TaskOptions.Method.GET).url(/
security));

This works perfectly.

However, if I changed method to HTTP POST:

Queue queue = QueueFactory.getDefaultQueue();
 
queue.add(TaskOptions.Builder.method(TaskOptions.Method.POST).url(/
security));

The task is not executed.

What's wrong in my code?

-- 
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-j...@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] Task queue with HTTP POST not working.

2010-10-10 Thread andy stevko
Does your servlet respond to POST requests?
On Oct 10, 2010 10:28 AM, apple apple...@gmail.com wrote:
 I followed the codes in GAE document to make a simple task queue:

 Queue queue = QueueFactory.getDefaultQueue();
 queue.add(TaskOptions.Builder.method(TaskOptions.Method.GET).url(/
 security));

 This works perfectly.

 However, if I changed method to HTTP POST:

 Queue queue = QueueFactory.getDefaultQueue();

 queue.add(TaskOptions.Builder.method(TaskOptions.Method.POST).url(/
 security));

 The task is not executed.

 What's wrong in my code?

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] AppEngine + Google Data APIs + OAuth

2010-10-10 Thread Saqib Ali
Hello All,

I noticed that there is not a lot of material (in fact none) on the
web for creating an app in App Engine that uses Google Data APIs and
OAuth for Authorization to the APIs. So I started working on a Google
Doc to document this process, which now has turned into a Google Site:
https://sites.google.com/site/oauthforapi/(still in progress)

I am looking for:
1) Suggestions to improve this step-by-step;
2) Few people to review this guide;
3) Direct contributors to add content to the guide. I will add these
folks as contributors to the Google Site.

Next, I am working on sample code that uses this stack.

Saqib

-- 
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-j...@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] API CRUD interface for application ?

2010-10-10 Thread Maxim Veksler
Hello,

The application we run is a backend online service and has no GUI.
We some how need to be able to upload new content / update existing
datastore entity records.

The database model is relatively simple: 1 to many relationships on all of
the kinds.

I would be happy to use learn about a library / some API configuration
option to expose an interface so that external code can do the CRUD logic.
Is there any support for this in GAE / other library that runs on GAE?


If this plays any role in your suggestions:
We're super focused on response times so: We currently use low level data
store API.
I actually tried Objectify but found even it to be an over kill for our
needs.
I also deleted all the jars the were added by GAE eclipse plugin but are not
used by the code.

Actually the list of jars used by the application consists of:

ls war/WEB-INF/lib/
appengine-api-1.0-sdk-1.3.7.jar  appengine-jsr107cache-1.3.7.jar
 jackson-core-asl-1.6.0.jarjsr107cache-1.1.jar
appengine-api-labs-1.3.7.jar EyeViewUtils-1.0.1-SNAPSHOT.jar
 jackson-mapper-asl-1.6.0.jar  log4j-1.2.16.jar



Any recommendations / personal experience with this issue / pointers about
correct design of the interface / what technology to use and co. are highly
welcome and appreciated.

Thank you,
Maxim.

-- 
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-j...@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: App Engine and IP Addresses

2010-10-10 Thread Maxim Veksler
Exactly.

Use https://addons.mozilla.org/en-US/firefox/addon/6647/ to see what headers
your browser send as part of the HTTP GET request and emulate them in C
code.

Should work :).

On Sat, Oct 9, 2010 at 11:45 PM, Peter Ondruska peter.ondru...@gmail.comwrote:

 When connecting to IP address you need to use HTTP host header so that
 GAE knows which application/virtual server you want.

 On Oct 9, 6:26 pm, Benjamin bsaut...@gmail.com wrote:
  I've been working on a challenge over the past couple of days and I
  could really use a knowledge transfer on App Engine, Domains and IP
  addresses. I seem to be missing something.
 
  I'm trying to write a library for Arduino Micro-controllers to do HTTP
  Posts to a servlet hosted on appengine. For example The URL of the
  servlet is
 
  http://nimbits1.appspot.com/service/currentvalue?point=testformat=json
 
  Do to limitations on the Arduino device, i need to get an IP Address
  that will resolve to nimbits1.appspot.com first, before doing my post
  to /service/currentvalue?point=testformat=json
 
  I have the C code to request an IP from DNS of a domain which works
  without a problem. So far so good. My problem is my requests seem to
  hit a brick wall when I try to use the IP instead of the Domain in my
  requests.
 
  Let's say I ping nimbits1.appspot.com - I get 74.125.113.121 or
  72.14.204.141 back from the DNS Server. This takes me to Google
  servers, but not my app. I'm guessing that the server want the
  subdomain in the request but i'm not provided one.
 
  I registered a new domain: nimbits.org on godaddy and followed Nick
  Johnson's fine tutorial on mapping naked domains to have nimbits.org
  redirect to nimbits1.appspot.com (As a permanent redirect without
  masking)
 
  http://blog.notdot.net/2009/12/Naked-domains-on-App-Engine
 
  if i navigate tohttp://nimbits.org I redirect ok tohttp://
 nimbits1.appspot.com
 
  Further, if i do a wget in a linux terminal I can see the IP's i'm
  resolving to:
 
  benja...@ben-ubws01:~$ wget nimbits.org
  --2010-10-09 12:20:43--  http://nimbits.org/
  Resolving nimbits.org... 64.202.189.170
  Connecting to nimbits.org|64.202.189.170|:80... connected.
  HTTP request sent, awaiting response... 301 Moved Permanently
  Location:http://nimbits1.appspot.com[following]
  --2010-10-09 12:20:44--  http://nimbits1.appspot.com/
  Resolving nimbits1.appspot.com... 64.233.169.141
  Connecting to nimbits1.appspot.com|64.233.169.141|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: unspecified [text/html]
  Saving to: `index.html.10'
 
  [ =   ] 3,376   --.-K/s   in
  0.003s
 
  2010-10-09 12:20:44 (1.18 MB/s) - `index.html.10' saved [3376]
 
  If i try and navigate to any of the above IP Addresses i.ehttp://
 64.233.169.141
  I endup on google or godaddy, but not my app.
 
  Any help would be greatly appriciated. I may have to resort to having
  users point their arduino to an internal web server that can forward
  the request, but having arduino devices post directly to app engine
  would be very cool.
 
  -Ben

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] Why is guestbook-example-fts (full text search) example working but mine is not?

2010-10-10 Thread arny
Hi,

I'm really confused about the AppEngine database index limits.

My project is using 15 tokens to index some content.
I'm using the index then to self-join it up to 3 times.
Then my index looks like this: isOnline ▲ , searchIndex ▲ ,
searchIndex ▲ , searchIndex ▲ , normalizedName ▲

isOnline = boolean
searchIndex = list (max 15 items)
normalizedName = string

Now as soon I add another searchIndex or another property to the
indexes I get an error when AppEngine is trying to build the indexes.

-- BUT --

Then again I'm looking at the 
http://code.google.com/p/guestbook-example-appengine-full-text-search/
example which was mentioned by Googles AppEngine Team.
This project is using 200 tokens to index! and self-joining it up to 5
times!

How is that possible and what I am doing wrong?
I need at least one more property to be added to the index.

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-j...@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: Remove properties from existing data

2010-10-10 Thread arny
Both information were very helpful!
Problem solved.
Thanks!

On Oct 7, 7:16 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
 An easy way to iterate over all your entities is with the Mapper API:

 http://googleappengine.blogspot.com/2010/07/introducing-mapper-api.html

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

 On Thu, Oct 7, 2010 at 10:11 AM, Didier Durand durand.did...@gmail.comwrote:



  Hello,

  You have to go down to low-level datastore api to do that: see
  Entity.removeProperty()

  See
 http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...

  didier

  On Oct 7, 2:06 pm, arny arny...@googlemail.com wrote:
   Hello,

   I've been looking for a way to remove unused properties from existing
   data for a while but could not find the right information yet.
   Everyone is talking about what should not be done, but no one is
   giving any ideas how to remove.

   So I can't set NULL, since it's a value as well and gets stored.
   So how to get rid of unused properties then?

   On python there is delattr to remove a property completely.
   On Java there is ... ?

   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-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B 
  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-j...@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] ClassCastException: String to Collection

2010-10-10 Thread decitrig
I have an object Vendor with a field that is a SetVendorCategory,
and VendorCategory has a String name and a Key which I set with the
value of name.


When I fill a Vendor object with some VendorCategories and try to
persist them, I get



java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.Collection
at
org.datanucleus.store.mapped.mapping.CollectionMapping.postInsert(CollectionMapping.java:91)
at
org.datanucleus.store.appengine.DatastoreRelationFieldManager.runPostInsertMappingCallbacks(DatastoreRelationFieldManager.java:217)
at
org.datanucleus.store.appengine.DatastoreRelationFieldManager.access$200(DatastoreRelationFieldManager.java:48)
at
org.datanucleus.store.appengine.DatastoreRelationFieldManager$1.apply(DatastoreRelationFieldManager.java:116)
at
org.datanucleus.store.appengine.DatastoreRelationFieldManager.storeRelations(DatastoreRelationFieldManager.java:81)
at
org.datanucleus.store.appengine.DatastoreFieldManager.storeRelations(DatastoreFieldManager.java:955)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.storeRelations(DatastorePersistenceHandler.java:546)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.insertPostProcess(DatastorePersistenceHandler.java:304)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects(DatastorePersistenceHandler.java:256)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject(DatastorePersistenceHandler.java:240)
at
org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent(JDOStateManagerImpl.java:3185)
at
org.datanucleus.state.JDOStateManagerImpl.makePersistent(JDOStateManagerImpl.java:3161)
at
org.datanucleus.ObjectManagerImpl.persistObjectInternal(ObjectManagerImpl.java:1298)
at
org.datanucleus.ObjectManagerImpl.persistObject(ObjectManagerImpl.java:1175)
at
org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceManager.java:669)
at
org.datanucleus.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:694)
at
com.engayged.server.VendorServiceImpl.saveNewVendor(VendorServiceImpl.java:75)
at
com.engayged.server.VendorServiceImplTest.addNewVendorAddsCategory(VendorServiceImplTest.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)


I can't even figure out how to start debugging this, can anyone help?

-- 
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-j...@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: How can i allow user to download a zip file?

2010-10-10 Thread Bit Liner
And how to add a folder to the zip file?



On 16 Set, 10:32, Crll Vnc crll...@gmail.com wrote:
 Indeed, it works, with ZipInputStream.
 Here is a piece of code I use in my zipped file upload servlet :

 [...]
              CheckedInputStream csumi = new
 CheckedInputStream(req.getInputStream(), new CRC32());
             ZipInputStream zin = new ZipInputStream(new
 BufferedInputStream(csumi));

             @SuppressWarnings(unused)
             ZipEntry ze;
             StringBuffer buf = new StringBuffer();

             while ((ze = zin.getNextEntry()) != null) {
                   int x;

                   while ((x = zin.read()) != -1) {
                       char c = (char) x;
                       buf.append(c);
                   }
             }
             zin.close();
             s = buf.toString();
 [...]

 Bye.

 On 15/09/10 22:51, Guillaume Laforge glafo...@gmail.com wrote:

  Hi,

  Have you looked at Java's ZipOutputStream?
 http://download.oracle.com/javase/1.4.2/docs/api/java/util/zip/ZipOut...
  .html

  Since you can't create files on the file system, I suspect the approach of
  streaming the zip through a ZipOutputStream would be the most plausible one.
  That and you set a content-disposition header of myfilename.zip.
  And I hope it'll work :-)

  Guillaume

  PS: I've never tried that, but that's what I'd investigate first.

  On Wed, Sep 15, 2010 at 03:19, Bit Liner bitli...@gmail.com wrote:
  My app creates dinamically two files so that then the users can
  download these files in one zip file.

  But i have problem in implementing this operations.

  Some suggestion to help me?
  Library, if gae supports this operations, etc.

  (i have tried to use gaeVfs, but i have met problems: i cannot write
  the content of a file on the response, so i can download the file but
  its content is empty )

  --
  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-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.com
  mailto:google-appengine-java%2bunsubscr...@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-j...@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: Task queue with HTTP POST not working.

2010-10-10 Thread apple
No.

Thank you Andy. I forgot all my codes are inside doGet() function.

What a silly mistake I did.

On 10月11日, 上午2時09分, andy stevko andy.ste...@gmail.com wrote:
 Does your servlet respond to POST requests?

-- 
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-j...@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] Re: Help! Unable to deploy to production

2010-10-10 Thread Jeff Schwartz
Thanks, Tim, but no, I don't have custom error responses and my application
is Java based. Magically, the problem cleared itself up shortly after I
posted the original request to the group and with no changes on my part the
deployment to production worked.

There was a Python related issue being reported in the System Status page at
the same time I was experiencing the issue but I have no way of telling if
it could have caused my deployment attempts to fail.

Jeff

On Sat, Oct 9, 2010 at 10:43 PM, Tim Hoffman zutes...@gmail.com wrote:

 Hi Jeff

 Do you have custom error responses .  If you do and they overlap with
 static files handler you can get this error.
 Well at least you get this with python.  I wouldn't be surprised if
 you get the same thing with java.

 At least it's worth a look.

 Rgds

 T

 On Oct 10, 1:29 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
  My appid is i-emote and I'm getting the following errors when I deploy to
  production:
 
  Creating staging directory
  Scanning for jsp files.
  Scanning files on local disk.
  Scanned 250 files.
  Scanned 500 files.
  Initiating update.
  Cloning 141 static files.
  Cloned 100 files.
  Cloning 429 application files.
  Rolling back the update.
  java.io.IOException: Error posting to URL:
 https://appengine.google.com/api/appversion/clonefiles?app_id=i-emote...
  500 Internal Server Error
 
  htmlhead
  meta http-equiv=content-type content=text/html;charset=utf-8
  title500 Server Error/title
  /head
  body text=#00 bgcolor=#ff
  h1Error: Server Error/h1
  h2The server encountered an error and could not complete your
  request.pIf the problem persists, please A HREF=
 http://code.google.com/appengine/community.html;report/A your problem
 and
  mention this error message and the query that caused it./h2
  h2/h2
  /body/html
 
  Please be so kind as to look into this for me and help me resolve this. I
  have deployed many times before but this is the first time I've gotten
 this
  error.
 
  Thanks in advance.
 
  Jeff
 
  Debugging information may be found in
  C:\Users\Jeff\AppData\Local\Temp\appengine-deploy2214041315377857839.log
 
  --
  Jeff

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




-- 
Jeff

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



[google-appengine] Re: Help! Unable to deploy to production

2010-10-10 Thread Tim Hoffman
no probs.

Custom error responses are available to java too.  So watch out for
that one ;-)

Rgds

T

On Oct 10, 7:38 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:
 Thanks, Tim, but no, I don't have custom error responses and my application
 is Java based. Magically, the problem cleared itself up shortly after I
 posted the original request to the group and with no changes on my part the
 deployment to production worked.

 There was a Python related issue being reported in the System Status page at
 the same time I was experiencing the issue but I have no way of telling if
 it could have caused my deployment attempts to fail.

 Jeff









 On Sat, Oct 9, 2010 at 10:43 PM, Tim Hoffman zutes...@gmail.com wrote:
  Hi Jeff

  Do you have custom error responses .  If you do and they overlap with
  static files handler you can get this error.
  Well at least you get this with python.  I wouldn't be surprised if
  you get the same thing with java.

  At least it's worth a look.

  Rgds

  T

  On Oct 10, 1:29 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
   My appid is i-emote and I'm getting the following errors when I deploy to
   production:

   Creating staging directory
   Scanning for jsp files.
   Scanning files on local disk.
   Scanned 250 files.
   Scanned 500 files.
   Initiating update.
   Cloning 141 static files.
   Cloned 100 files.
   Cloning 429 application files.
   Rolling back the update.
   java.io.IOException: Error posting to URL:
 https://appengine.google.com/api/appversion/clonefiles?app_id=i-emote...
   500 Internal Server Error

   htmlhead
   meta http-equiv=content-type content=text/html;charset=utf-8
   title500 Server Error/title
   /head
   body text=#00 bgcolor=#ff
   h1Error: Server Error/h1
   h2The server encountered an error and could not complete your
   request.pIf the problem persists, please A HREF=
 http://code.google.com/appengine/community.html;report/A your problem
  and
   mention this error message and the query that caused it./h2
   h2/h2
   /body/html

   Please be so kind as to look into this for me and help me resolve this. I
   have deployed many times before but this is the first time I've gotten
  this
   error.

   Thanks in advance.

   Jeff

   Debugging information may be found in
   C:\Users\Jeff\AppData\Local\Temp\appengine-deploy2214041315377857839.log

   --
   Jeff

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

 --
 Jeff

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



[google-appengine] Beggining JDO Question

2010-10-10 Thread Pedro Ferreira
Hi There,

I am beginning an GAE + GWT Application, and I have a simple question,
that I think you guys knows the answer JIT:

I want to do this:

Facts:
1. I have an entity in my server package
(aplicationid.server.MyEntity)
2. I have a server-side method that returns a MyEntity object
I want to:
USE THIS METHOD in client-side part!!!

It seems I can't use the Entity Class inside the client package, because
its source code is not available there.

How can I solve this simple problem?

Thanks,

Pedro.

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



Re: [google-appengine] Re: Frequent deadline exceeded errors.

2010-10-10 Thread Jeff Schwartz
Yesterday I was quite alarmed by the same issue. I have been very carefully
refactoring my social web application for efficiency and yesterday my logs
lit up red. I'm making heavy use of tasks  ajax and all my requests are now
fine grained so as to limit their resource load. I am using all the 'tricks'
I've learned about how to maximize use of the datastore so as to limit cpu
cycles and speed up data store operations. There is little more I can do to
lighten my application and if yesterday is any indication of the future this
doesn't bode well for my application on App Engine.

I sincerely hope that the Team of Googlers, a fine bunch I might add, are
addressing these issues in earnest. I'd hate to have to give up on the
platform at this point as I've invested so much time  energy. Everyone who
has previewed my app - i-emote - loves it and are urging me forward to a
version 1 release but now I fear that I might be forced to rethink App
Engine as a viable platform for my type of application. I hope you guys
prove me wrong.

Jeff

On Sun, Oct 10, 2010 at 7:17 AM, Carlos Ble ble.jur...@gmail.com wrote:

 Hi,
 Our app (id=mavencharts) was down last night from 8:04PM (Pacific
 time) to 8:51PM, this is almost 1 hour. We just got error 500 trying
 to load the home page (google.appengine.runtime.DeadlineExceededError
 and also the warning saying.. After handling this request... which
 is also error code 500). According to appstats, our app makes 7
 queries to datastore to load the home and it usually loads within
 300ms. When memcache is available the home page makes just 1 query to
 datastore.
 We use GAE Django-helper with django 1.1

 Since last september the 13th, system is unreliable and we are really
 worried because things are not getting better.
 Google engineers tell us they know there is a problem but nothing
 more. If Google think this situation is going to last, it would be
 great to tell us, so that we can consider moving to another cloud
 system, rather than just wait.

 Thanks


 On 9 oct, 23:13, Robert Lancer robert.lan...@gmail.com wrote:
  I experienced the same problem for a few minutes on this past
  Thursday, unfortunately it was during a sales pitch. I wish Google
  would let us buy our way into a more reliable uptime, some apps need
  to be up no mater what, while others can tolerate sporadic errors.
 
  On Oct 9, 2:13 pm, Zarko eladza...@gmail.com wrote:
 
   We see elevation in 500 requests (Request was aborted after waiting
   too long to attempt to service your request. This may happen
   sporadically when the App Engine serving cluster is under unexpectedly
   high or uneven load. If you see this message frequently, please
   contact the App Engine team.)
   today also...
 
   On Oct 9, 7:55 pm, John Gardner hux...@gmail.com wrote:
 
After exercising the site a while, it's smoothed out.  It seems like
the 500 errors were from trying to spin up new instances.  The site
was completely idle before visitors arrived and the 500 storm
 started.
 
It seems like reserved instances is a *critical* feature.  There's no
way we can leave beta when the first impression a user gets of our
site is a 500 page.  We have billing enabled, but all the quota in
 the
world doesn't help if the user sees an error page and walks away...
 
-John
 
On Oct 9, 12:30 pm, John Gardner hux...@gmail.com wrote:
 
 We're getting constant DeadlineExceededErrors on our production
 site
 this morning.
 
 Our app ID is cxiongame.  I'm unable to log in; the login request
 runs
 into the deadline, when this is ordinarily completed in less than 1
 second.
 
 -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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Jeff

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



[google-appengine] Re: Prerelease SDK 1.3.8 is out!

2010-10-10 Thread Mikhail Kashkin
Another point of view is problem when you sold your site to customer,
so you can be sure that
your code is protected. I know this is not good practice but I'm sure
this case exists.

On Oct 6, 12:48 pm, Greg g.fawc...@gmail.com wrote:
 On Oct 6, 1:28 pm, Ikai Lan (Google) ikai.l+gro...@google.com
 wrote:

  - The developer who uploaded an app version can download that version's code
    using the appcfg.py download_app command.



--
Mikhail Kashkin
http://devcult.ru/
http://app-engine.tumblr.com/ - блог об App Engine

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



[google-appengine] Re: Prerelease SDK 1.3.8 is out!

2010-10-10 Thread Mikhail Kashkin
You can be developer who depoly, but customer pay for instance.

On Oct 6, 10:52 pm, alf alberto@gmail.com wrote:
 +1 only can download code administrator who pay bill



--
Mikhail Kashkin
http://devcult.ru/
http://app-engine.tumblr.com/ - блог об App Engine

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



[google-appengine] High Latency Issues

2010-10-10 Thread Jeff Schwartz
I am experiencing very high latency issues today even after a cold server
start. My app id is i-emote.

Here is an example taken from my log immediately after I had a warm server.
It is for an ajax request made immediately after the server had been spun up
and was then prepared to process requests. I know this is the case because
my client's code to kick off this ajax request is only made when there is
some input activity on the page like moving the mouse over the page. The log
show numerous entries for 10-10 but the following was one which was logged
after the app server was warm:

i-emote.appspot.com ms=2890 cpu_ms=3882 api_cpu_ms=12
cpm_usd=0.107886 throttle_code=1

On the server this request does the following:

Query the datastore (I am using Groovy with Objectify) - ListComment cl =
ofy().query(Comment.class).filter('emoteId',id).list()

This query resulted in 0 entities and the empty list was forwarded as a
parameter to a template which because the list was empty did 0 work because
there was no html to render.

That was the extent of this ajax's task on the server so I don't understand
why cpu_ms was so high.

I love App Engine as a platform. I see it as the future. I don't need to
sold on its advantages but right now I am struggling with issues of
performance instead of spending time developing my application which is
still in preview but which I am hoping to release as a version 1 very soon.

In any other environment I believe my application would be considered well
engineered and very fast. Can someone from the Team please look into this
for me and tell me either what I am doing wrong or what is wrong with App
Engine and what is being done to correct it and when we can expect to see it
corrected? I know App Engine is in preview but in truth - at this time
anyway - it seems more like an early beta. I wanted to begin billing so I
can exceed some of the free quotas but I don't want to pay for usage over
quota due to App Engine issues. I want to pay to go over free quota so as to
provide more resources to my users as my user base will spike once I
announce my application's official release.

Please, I need your help here.

Sincerely,
Jeff






-- 
Jeff

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



[google-appengine] Re: High Latency Issues

2010-10-10 Thread Jeff Schwartz
Please see the attached image which is another indication that something is
very wrong on app engine's end. The chart is showing the last 6 hours of
Request/Second. Do you see all those little apexes in the time line? What is
causing them? 6 hours ago my app was dormant with no users on the system  I
was sleeping so I know I wasn't on the system. User's logins are logged by
date/time and no one was logged in.

Again, please, I need the Team to help me here.

Jeff

On Sun, Oct 10, 2010 at 8:51 AM, Jeff Schwartz jefftschwa...@gmail.comwrote:

 I am experiencing very high latency issues today even after a cold server
 start. My app id is i-emote.

 Here is an example taken from my log immediately after I had a warm server.
 It is for an ajax request made immediately after the server had been spun up
 and was then prepared to process requests. I know this is the case because
 my client's code to kick off this ajax request is only made when there is
 some input activity on the page like moving the mouse over the page. The log
 show numerous entries for 10-10 but the following was one which was logged
 after the app server was warm:

 i-emote.appspot.com ms=2890 cpu_ms=3882 api_cpu_ms=12 cpm_usd=0.107886 
 throttle_code=1

 On the server this request does the following:

 Query the datastore (I am using Groovy with Objectify) - ListComment cl =
 ofy().query(Comment.class).filter('emoteId',id).list()

 This query resulted in 0 entities and the empty list was forwarded as a
 parameter to a template which because the list was empty did 0 work because
 there was no html to render.

 That was the extent of this ajax's task on the server so I don't understand
 why cpu_ms was so high.

 I love App Engine as a platform. I see it as the future. I don't need to
 sold on its advantages but right now I am struggling with issues of
 performance instead of spending time developing my application which is
 still in preview but which I am hoping to release as a version 1 very soon.

 In any other environment I believe my application would be considered well
 engineered and very fast. Can someone from the Team please look into this
 for me and tell me either what I am doing wrong or what is wrong with App
 Engine and what is being done to correct it and when we can expect to see it
 corrected? I know App Engine is in preview but in truth - at this time
 anyway - it seems more like an early beta. I wanted to begin billing so I
 can exceed some of the free quotas but I don't want to pay for usage over
 quota due to App Engine issues. I want to pay to go over free quota so as to
 provide more resources to my users as my user base will spike once I
 announce my application's official release.

 Please, I need your help here.

 Sincerely,
 Jeff






 --
 Jeff




-- 
Jeff

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

attachment: 2010-10-10 11h45_09.png

[google-appengine] TransientError

2010-10-10 Thread Jamie H
Greetings app engine pilots,

Well I received my first TransientError on taskqueue.add yesterday,
appid: fonefindr .. My question is this, what does this mean?  I have
seen some people say that the task is actually still added even when
this exception is raised.  Do I need to try and catch this and re-add
my task on this exception?  I am currently using tasks to do alot of
things in many apps, due to other errors that can happen, such as
datastore timeouts.  Using tasks is nice because they will retry on
error, giving me some confidence when I want done will get done.  But
now I am realizing that maybe tasks cannot be reliably added to the
queue?  Anybody have experience with TransientError ?

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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread Demis Bellot
Hey All,



Love what you guys have created with Google App Engine although I'm
surprised that you haven't offered JavaScript as a target language yet.
It's a ubiquitous language known by most web developers and is one of
the primary languages engrained into Google's DNA as you already
provide a great runtime for it in V8. The success of node.js/expressjs
should prove that it is a viable server platform with a willing
community.


The way I see it a V8-powered JavaScript hits a sweet spot: I imagine
it would be faster to run than Python (my major gripe against it) and
more terse, expressive and functional than Java (my major dislike). As
most gae apps are websites, JavaScript also reduces the impedance
language miss-match as it will allow you to use the one language for
both client and server. I would imagine that the per-request model of
gae would also be better suited for JavaScript as opposed to the high
start-up cost and long-running nature of Java.


What do you guys think? I'm sure it's not the first time this has been
suggested, as it seems like a natural choice.

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



Re: [google-appengine] How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread Robert Kluin
I think it would be interesting too.  Star issue 35.
http://code.google.com/p/googleappengine/issues/detail?id=35


Just please do not post a +1 or me too type comment, a star is sufficient.


Robert




On Sun, Oct 10, 2010 at 14:56, Demis Bellot demis.bel...@gmail.com wrote:
 Hey All,
 Love what you guys have created with Google App Engine although
 I'm surprised that you haven't offered JavaScript as a target language yet.
 It's a ubiquitous language known by most web developers and is one of the
 primary languages engrained into Google's DNA as you already provide a great
 runtime for it in V8. The success of node.js/expressjs should prove that it
 is a viable server platform with a willing community.
 The way I see it a V8-powered JavaScript hits a sweet spot: I imagine it
 would be faster to run than Python (my major gripe against it) and more
 terse, expressive and functional than Java (my major dislike). As most gae
 apps are websites, JavaScript also reduces the impedance language miss-match
 as it will allow you to use the one language for both client and server. I
 would imagine that the per-request model of gae would also be better suited
 for JavaScript as opposed to the high start-up cost and long-running nature
 of Java.
 What do you guys think? I'm sure it's not the first time this has been
 suggested, as it seems like a natural choice.

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


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



[google-appengine] django i18n complie messages

2010-10-10 Thread Martin Webb
i have set up django i18n - with app engine - and it works - but i cant compile 
the messages etc.
To be honest i dont understand how i run the commands.
Im using aptanna. From the project explorer if i right click i can run the 
command like
it is already in my apps root folder
so i assume i type python to run the python shell which works
but then i cant see to get anywhere.

acording to these instructions:

http://code.google.com/p/yjl/source/browse/GoogleAppEngine/yjltest/i18n.py
http://www.djangoproject.com/documentation/0.96/i18n/
http://bazaar.launchpad.net/~itt-devs/issuetrackertracker/main/revision/130

i need to do something like:

# To generate a new language for the first time

python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -l en
 
# To compile all languages
 python2.5 ../google_appengine/lib/django/django/bin/compile-messages.py
 
# To update all languages
 python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -a
or 


bin/complie-messages.py


but none of these commands or vairiants work.

Can anyone tell me what/or where i am going wrong.

I am using aptanna. python app engine. The three links above give varios 
different suggestions on how this is done.







 
Regards
 
 
Martin Webb


 
The information contained in this email is confidential and may contain 
proprietary information. It is meant solely for the intended recipient. Access 
to this email by anyone else is unauthorised. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted 
in reliance on this, is prohibited and may be unlawful. No liability or 
responsibility is accepted if information or data is, for whatever reason 
corrupted or does not reach its intended recipient. No warranty is given that 
this email is free of viruses. The views expressed in this email are, unless 
otherwise stated, those of the author 


  

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



[google-appengine] Transfer application to other account

2010-10-10 Thread Nikolay Tenev
 Hi

I was created application in app engine and today I want to give ownership
of application to another account. I invite the other developer, he accept
invitation and then delete my account as application developer but ... in my
app engine account I still view You have 7 applications remaining. (I have
2 other working) and the other developer, in dashboard, have transfered
application but the text is You have 10 applications remaining. It is true
that I create the application but is it normal to still count on me even I'm
not developer/administrator on application any more ?

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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread John McLaughlin
My gut reaction to this is that I'd rather have Python 3 over server
side JavaScript.  The Python API is already comparable to (and
possibly faster than) the Java API.  See http://gaejava.appspot.com/
and 
http://stackoverflow.com/questions/1085898/choosing-java-vs-python-on-google-app-engine.
So the performance argument is arguable at best.  Additionally I don't
think the value of a tight developer community can be underestimated.
In particular I find these forums to be a huge benefit for learning
best practices, tips, and tricks.  But I fear that introducing another
language -- and especially JavaScript, with it's tower of babel of
libraries and coding styles -- would decrease the signal to noise
ratio of the forums and the developer community.  And that would
affect my productivity more than language impedance.

Don't get me wrong -- I really, really, like JavaScript.  It's an
awesomely creative language for making highly functional user
interfaces.  But I really, really like Python as well -- mostly
because it is so clear, readable, predictable, and mostly has only one
right way to do things.  This seems like a better language choice for
server.  At least until GO (http://golang.org/) catches on ;-)

John


On Oct 10, 1:16 pm, Demis Bellot demis.bel...@gmail.com wrote:
 Thanks for the link, I just added a little excerpt from my post to the list.

 I think the fact that so many other devs are coming to the same conclusion
 independently speaks of how favourable a JavaScript for GAE solution is.

 I'm sure if Google released a poll to gauge public interest about it, you
 would get an positive response from the dev community.

 Here's hoping for some positive steps in exploring the idea.

 - Demis

 On Sun, Oct 10, 2010 at 8:29 PM, Robert Kluin robert.kl...@gmail.comwrote:







  I think it would be interesting too.  Star issue 35.
 http://code.google.com/p/googleappengine/issues/detail?id=35

  Just please do not post a +1 or me too type comment, a star is
  sufficient.

  Robert

  On Sun, Oct 10, 2010 at 14:56, Demis Bellot demis.bel...@gmail.com
  wrote:
   Hey All,
   Love what you guys have created with Google App Engine although
   I'm surprised that you haven't offered JavaScript as a target language
  yet.
   It's a ubiquitous language known by most web developers and is one of the
   primary languages engrained into Google's DNA as you already provide a
  great
   runtime for it in V8. The success of node.js/expressjs should prove that
  it
   is a viable server platform with a willing community.
   The way I see it a V8-powered JavaScript hits a sweet spot: I imagine it
   would be faster to run than Python (my major gripe against it) and more
   terse, expressive and functional than Java (my major dislike). As most
  gae
   apps are websites, JavaScript also reduces the impedance language
  miss-match
   as it will allow you to use the one language for both client and server.
  I
   would imagine that the per-request model of gae would also be better
  suited
   for JavaScript as opposed to the high start-up cost and long-running
  nature
   of Java.
   What do you guys think? I'm sure it's not the first time this has been
   suggested, as it seems like a natural choice.

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

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

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



Re: [google-appengine] Re: How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread Demis Bellot
Unless I'm mistaken about recent advancements, Python belongs in the same
performance category as Ruby, Perl and PHP i.e. slow compared against native
or optimized managed languages.

I understand there are a number efforts underway to improve performance
(e.g. using an LLVM backend with http://code.google.com/p/unladen-swallow/),
but I don't think this is actually being used yet?
I'm sure with having Guido onboard Python has been heavily optimized for GAE
but there is only so much optimizations possible with CPython. The library
code may be fast (i.e. thin wrappers over C libs) but the users code is
going to be interpreted and slow.

Since it impacts the performance of Chrome (one of Google's most valuable
assets) and its millions of end users, I would think that more of Google's
engineering effort is behind making JavaScript as fast as possible with V8
which I believe shows in the computer language shoot-out benchmarks, where
it looks as if V8 is several times faster than any Python implementation
available:
http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php?v8=onpython3=oncalc=chart

The GAE Python API's also exposes sync IO requests and encourages buffering
which I believe also contributes a significant performance penalty per
request.
This is only an educated guess and I'm not sure what these raw language
numbers translates in GAE performance though it should be pretty indicative
of the perf advantages possible. With the lack of an actual V8
implementation, internal Google Engineers would have the best insight as to
the potential gains if any (which I encourage on this thread).

As for the language impedance mismatch, I think that having code from the
same application being able to run on both client and server is heavily
underrated.
YUI is show casing some exciting possibilities they're doing around node.js
today:
http://www.slideshare.net/apmoore/running-yui-3-on-nodejs-bayjax

Where currently a lot of their JavaScript libraries already run on node.js,
but even more impressive than that they have implemented a server-side W3C
DOM that enables the same code they use do generate their DHTML Calendar
control can be run on the server and output rendered on clients that have
JavaScript disabled. Much of Google's Closure Library and its optimized
JavaScript compiler should be able re-used on the server as well.

I think this is only touching the ice berg, and Douglas Crockford has an
inspirational video presentation on using JavaScript and an event-loop
architecture (like node.js) on the server:
http://developer.yahoo.com/yui/theater/video.php?v=crockford-loopage

Before V8 and node.js I would not have considered it, however with the
maturing of these technologies, the plethora of well-tested JavaScript
frameworks and libraries available and what I believe is a rejuvenated look
back into JavaScript - I think there has never been a better time to provide
a server-side JavaScript option in GAE.

- Demis





On Sun, Oct 10, 2010 at 11:10 PM, John McLaughlin 
johnmclaugh...@massanimation.com wrote:

 My gut reaction to this is that I'd rather have Python 3 over server
 side JavaScript.  The Python API is already comparable to (and
 possibly faster than) the Java API.  See http://gaejava.appspot.com/
 and
 http://stackoverflow.com/questions/1085898/choosing-java-vs-python-on-google-app-engine
 .
 So the performance argument is arguable at best.  Additionally I don't
 think the value of a tight developer community can be underestimated.
 In particular I find these forums to be a huge benefit for learning
 best practices, tips, and tricks.  But I fear that introducing another
 language -- and especially JavaScript, with it's tower of babel of
 libraries and coding styles -- would decrease the signal to noise
 ratio of the forums and the developer community.  And that would
 affect my productivity more than language impedance.

 Don't get me wrong -- I really, really, like JavaScript.  It's an
 awesomely creative language for making highly functional user
 interfaces.  But I really, really like Python as well -- mostly
 because it is so clear, readable, predictable, and mostly has only one
 right way to do things.  This seems like a better language choice for
 server.  At least until GO (http://golang.org/) catches on ;-)

 John


 On Oct 10, 1:16 pm, Demis Bellot demis.bel...@gmail.com wrote:
  Thanks for the link, I just added a little excerpt from my post to the
 list.
 
  I think the fact that so many other devs are coming to the same
 conclusion
  independently speaks of how favourable a JavaScript for GAE solution is.
 
  I'm sure if Google released a poll to gauge public interest about it, you
  would get an positive response from the dev community.
 
  Here's hoping for some positive steps in exploring the idea.
 
  - Demis
 
  On Sun, Oct 10, 2010 at 8:29 PM, Robert Kluin robert.kl...@gmail.com
 wrote:
 
 
 
 
 
 
 
   I think it would be interesting too.  Star issue 35.
 

[google-appengine] Re: How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread John McLaughlin
Thanks for the info Demis, I alway like listening to Douglas
Crockford.  I also checked out 
http://developer.yahoo.com/yui/theater/video.php?v=glass-node.
Very interesting stuff, I can definitely see using it in the future.
In particular using JavaScript as the templating engine seems really
powerful.  So you've changed my mind.  However since I'm still worried
about the plethora part of ...plethora of well-tested JavaScript
frameworks and libraries available..., I'll say that if node.js,
YUI3, and JSLint are defined as best practices -- I'm on board --
server-side JavaScript all the way.

- John

On Oct 10, 4:21 pm, Demis Bellot demis.bel...@gmail.com wrote:
 Unless I'm mistaken about recent advancements, Python belongs in the same
 performance category as Ruby, Perl and PHP i.e. slow compared against native
 or optimized managed languages.

 I understand there are a number efforts underway to improve performance
 (e.g. using an LLVM backend withhttp://code.google.com/p/unladen-swallow/),
 but I don't think this is actually being used yet?
 I'm sure with having Guido onboard Python has been heavily optimized for GAE
 but there is only so much optimizations possible with CPython. The library
 code may be fast (i.e. thin wrappers over C libs) but the users code is
 going to be interpreted and slow.

 Since it impacts the performance of Chrome (one of Google's most valuable
 assets) and its millions of end users, I would think that more of Google's
 engineering effort is behind making JavaScript as fast as possible with V8
 which I believe shows in the computer language shoot-out benchmarks, where
 it looks as if V8 is several times faster than any Python implementation
 available:http://shootout.alioth.debian.org/u32/which-programming-languages-are...

 The GAE Python API's also exposes sync IO requests and encourages buffering
 which I believe also contributes a significant performance penalty per
 request.
 This is only an educated guess and I'm not sure what these raw language
 numbers translates in GAE performance though it should be pretty indicative
 of the perf advantages possible. With the lack of an actual V8
 implementation, internal Google Engineers would have the best insight as to
 the potential gains if any (which I encourage on this thread).

 As for the language impedance mismatch, I think that having code from the
 same application being able to run on both client and server is heavily
 underrated.
 YUI is show casing some exciting possibilities they're doing around node.js
 today:http://www.slideshare.net/apmoore/running-yui-3-on-nodejs-bayjax

 Where currently a lot of their JavaScript libraries already run on node.js,
 but even more impressive than that they have implemented a server-side W3C
 DOM that enables the same code they use do generate their DHTML Calendar
 control can be run on the server and output rendered on clients that have
 JavaScript disabled. Much of Google's Closure Library and its optimized
 JavaScript compiler should be able re-used on the server as well.

 I think this is only touching the ice berg, and Douglas Crockford has an
 inspirational video presentation on using JavaScript and an event-loop
 architecture (like node.js) on the 
 server:http://developer.yahoo.com/yui/theater/video.php?v=crockford-loopage

 Before V8 and node.js I would not have considered it, however with the
 maturing of these technologies, the plethora of well-tested JavaScript
 frameworks and libraries available and what I believe is a rejuvenated look
 back into JavaScript - I think there has never been a better time to provide
 a server-side JavaScript option in GAE.

 - Demis

 On Sun, Oct 10, 2010 at 11:10 PM, John McLaughlin 







 johnmclaugh...@massanimation.com wrote:
  My gut reaction to this is that I'd rather have Python 3 over server
  side JavaScript.  The Python API is already comparable to (and
  possibly faster than) the Java API.  Seehttp://gaejava.appspot.com/
  and
 http://stackoverflow.com/questions/1085898/choosing-java-vs-python-on...
  .
  So the performance argument is arguable at best.  Additionally I don't
  think the value of a tight developer community can be underestimated.
  In particular I find these forums to be a huge benefit for learning
  best practices, tips, and tricks.  But I fear that introducing another
  language -- and especially JavaScript, with it's tower of babel of
  libraries and coding styles -- would decrease the signal to noise
  ratio of the forums and the developer community.  And that would
  affect my productivity more than language impedance.

  Don't get me wrong -- I really, really, like JavaScript.  It's an
  awesomely creative language for making highly functional user
  interfaces.  But I really, really like Python as well -- mostly
  because it is so clear, readable, predictable, and mostly has only one
  right way to do things.  This seems like a better language choice for
  server.  At least until GO (http://golang.org/) 

[google-appengine] Re: Transfer application to other account

2010-10-10 Thread Jamie H
I have personally noticed that if I delete applications from my
account I am not re-credited in my allowed application count.  I have
been told that it is possibly a bug right now.

On Oct 10, 3:14 pm, Nikolay Tenev tenev.niko...@gmail.com wrote:
  Hi

 I was created application in app engine and today I want to give ownership
 of application to another account. I invite the other developer, he accept
 invitation and then delete my account as application developer but ... in my
 app engine account I still view You have 7 applications remaining. (I have
 2 other working) and the other developer, in dashboard, have transfered
 application but the text is You have 10 applications remaining. It is true
 that I create the application but is it normal to still count on me even I'm
 not developer/administrator on application any more ?

 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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!

2010-10-10 Thread Edel SM
+1 for optional download.

On Wed, Oct 6, 2010 at 5:48 PM, Greg g.fawc...@gmail.com wrote:
 On Oct 6, 1:28 pm, Ikai Lan (Google) ikai.l+gro...@google.com
 wrote:
 - The developer who uploaded an app version can download that version's code
   using the appcfg.py download_app command.

 I'm not at all happy about this. I know how frequent plaintive I lost
 my code how can I get it back? messages are in this group, but the
 write-only nature of appengine gave me a lot of confidence that our
 source code is safe. Now a single password is all that stands between
 our competitors and our IP.

 Why expose ALL users to risk (and open Google to lawsuits) for the
 sake of a few inexperienced developers? Star this post if you agree.

 I guess one solution would be to make downloading optional. A setting
 to disable source downloading in app.yaml would be safe, because
 uploading a new version would destroy the existing code.

 Greg.

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





-- 
edel

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