Re: [appengine-java] Generating Keys

2010-02-08 Thread John Patterson
You could use DatastoreService.allocateIds() But why would you want to do this? If its to make the ids look nice then you could just add and remove the string yourself before looking up the key. Probably better to have a date property rather than include it in the key. On 8 Feb 2010,

Re: [appengine-java] Re: how to share local_db.bin to others

2010-02-08 Thread Andrés Cerezo
Hello, Is there a way to see the data of the WEB-INf/appengine-generated/local_db.bin from Eclipse? Thanks. 2010/2/8 dreamy dreamy2c...@gmail.com: We have no success to implement gae junit test. We use spring 2.5.6  and  follow the  

Re: [appengine-java] Generating Keys

2010-02-08 Thread Manny S
John, Thanks a bunch. Here is the reason why I need to add a prefix to the key. The scenario - I will be implementing pagination (of the data returned) as described in and for the sort order I wanted to use the Key. However, if the key also has the date of creation embedded in it then the sort

[appengine-java] write too frequent ,datastore contention timeout

2010-02-08 Thread asianCoolz
I read app engine wiki, on datastore contention if too frequent write more than 5 times in 1 seconds. The wiki introduced use shard approach as workaround. May i know if we use spring @transactional on this, this can prevent datastore contention timeout right since writing in done concurrently ?

[appengine-java] Re: getNextID

2010-02-08 Thread niraj
Getnextid was referred to by max ross in his google io talk in april 2009 On Feb 7, 11:48 am, datanucleus andy_jeffer...@yahoo.com wrote: What getNextID feature on JDO ? i.e please make reference to the JDO API and which particular API Method you're referring to -- You received this message

[appengine-java] Re: getNextID

2010-02-08 Thread datanucleus
Getnextid was referred to by max ross in his google io talk in april 2009 Which is not a JDO API call. Perhaps he's referring to low-level API. JDO allows sequences, and provides an API for those, which AFAIK Google haven't implemented. -- You received this message because you are subscribed

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-02-08 Thread Jake
Hey all, Since Ikai's post on January 22nd, I haven't had much trouble with my instance rebooting unexpectedly. However, today the problem has returned. I'm getting instance restarts within a minute or two of each other on a somewhat regular basis - sometimes even within a few seconds of each

[appengine-java] What is Specs Features supported by GAE for Java?

2010-02-08 Thread Amr
I need a brief listed answer in a professional manner for subject question (As an example, pls see listing under point entitled Java EE 5 platform support that lists GlassFish Specs under this link: http://docs.sun.com/app/docs/doc/821-0188/gidij?l=ena=view). -- You received this message

[appengine-java] Dynamic properties (Expando model) possible with Java?

2010-02-08 Thread Johann C. Rocholl
I have been searching through the JDO and JPA docs, but I can't find info about adding and removing properties at runtime. The Python interface has the Expando model for this: http://code.google.com/appengine/docs/python/datastore/expandoclass.html If I want to read and write my Expando models

[appengine-java] Getting the client's timezone

2010-02-08 Thread hsjawanda
Hi, Any ideas on how to get the user's timezone (i.e., the timezone the client is working in)? The closest I've come so far to an answer is: http://j2eecookbook.blogspot.com/2007/06/formatting-date-to-client-timezone.html Does anybody have a better way of accomplishing this? I'd prefer to

[appengine-java] JDO Inheritance and new table strategy

2010-02-08 Thread vtellier
Hello everybody ! I am using appengine for a personal project in order to create a professional application. I find Appengine really powerful but i do not understand why the new table inheritance strategy is not available even if it would not be really efficient. In the documentation it is said

[appengine-java] Persistence with JPA + GAE

2010-02-08 Thread chevelle
Hi I am new in the list, in these days i am trying save data between two entity beans using JPA but without success, i am cheking the log nd says: Uncaught exception from servlet javax.persistence.PersistenceException: Error in meta-data for beans.distritos.id: Cannot have a java.lang.Long

[appengine-java] Close PersistenceManager every time?

2010-02-08 Thread hsjawanda
Should the PersistenceManager be closed after every query? I have a utility class that handles querying the datastore. This class then returns results which are used by JSP pages to show output. AFAIK, these are my options: * Make all my data objects detachable (what is the extra cost of doing

[appengine-java] persistence with JPA

2010-02-08 Thread Johan Vallejo
Hi I am new in the list, in these days i am trying save data between two entity beans using JPA but without success, i am cheking the log nd says: Uncaught exception from servlet javax.persistence.PersistenceException: Error in meta-data for beans.distritos.id: Cannot have a java.lang.Long

[appengine-java] Persistence in JPA

2010-02-08 Thread Johan Vallejo
Hi I am new in the list, in these days i am trying save data between two entity beans using JPA but without success, i am cheking the log nd says: Uncaught exception from servlet javax.persistence.PersistenceException: Error in meta-data for beans.distritos.id: Cannot have a java.lang.Long

[appengine-java] JDO model issue

2010-02-08 Thread Rodolphe
Hello, I am very new to appengine, and I am trying a very basic model exemple: A Race class is linked to a Runner class through a Result class When I am running the folloging code (the full code is attached): Race race = new Race(Paris, new Date(), 10); Runner runner1 = new

[appengine-java] Google App Engine for Java: Specs is needed

2010-02-08 Thread Amr Darwish
Hi All, I am now trying to take an architrecture descision to go for Google App Engine for Java or not but I did not find a topic that gathers all Specs regarding it in one place. What I am looking for is the usual Standard Server Application Server Arch. Specs like JSF, EJB JPA support for

[appengine-java] Generic type in GAE JDO. Howto?

2010-02-08 Thread Alex Lui
As java.util.Map isn't supported by GAE, I'm trying to create a class @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable=true) public class DAOMapK extends Object, V extends Object implements MapK,V { ... however, got such exception in Eclipse console DataNucleus Enhancer

[appengine-java] Getting Started : Eclipse, GWT, App Engine - Unable to resolve

2010-02-08 Thread watch
What is need to get Eclipse to compile AppEngine functions: import com.google.appengine.api.users.User; -- Unable to resolve - source code unavailable. One suggestion was to create a super class to fool the GWT compiler but that only gets you so far. I have even gone back to basic and worked

[appengine-java] Error while uploading the App - Unable to update

2010-02-08 Thread mike22153
Hi, I just tried to upload my first App to the Google App Engine. I tried the Eclipse Plugin and appengine-java-sdk-1.3.0/bin/appcfg.sh. I have Suse Linux 10.3 and jdk1.6.0_18 installed. Each time I tried, I got the following error:

[appengine-java] cloud based teaching system

2010-02-08 Thread Jeevan
Hi, am jeevan dongre.I am final year engineering student from computer science and engineering. I am doing a project on cloud computing called cloud based teaching system using google app engine. Iam utilizing google resources like blog,group,docs and also gmail.Since i am new to this programming

Re: [appengine-java] DELETE HTTP Method not working on Google Chrome

2010-02-08 Thread Johan Vallejo
Francisco send your code for help you El 08/02/2010 10:55 a.m., Francisco Gonzalez escribió: Hi. I'm developing an application that receives AJAX requests to perform some actions. I'm using jQuery to send the requests from the client. One of those requests is of type HTTP DELETE. The

Re: [appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-02-08 Thread Ikai L (Google)
Thanks for the info, Jake. Has anyone else experienced this? That is, has anyone else noticed improvement which has since degraded? On Mon, Feb 8, 2010 at 9:10 AM, Jake jbrooko...@cast.org wrote: Hey all, Since Ikai's post on January 22nd, I haven't had much trouble with my instance

[appengine-java] Re: JDO model issue

2010-02-08 Thread Jake
Hey, Relationships in GAE are a bit picky. It is my understanding that you can only persist children by way of persisting their parents. So, in your case, both Race and Runner are children of Result and you would only persist the two result objects - the dependent children would be persisted

[appengine-java] Question on request duration / quota / HardDeadlineExceededError

2010-02-08 Thread Moritz
Hello everyone, in my application I have a scheduled task that runs every 5 minutes to update the cache. Currently it is a brute force implementation, that runs through all entities and computes all permutations required. This task usually takes longer than 30 seconds - and fails almost every

[appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-08 Thread Jake
I'm hoping for a good way to resolve workspace dependencies in Eclipse. The m2eclipse plugin does this well, but that doesn't play nicely with the maven-war-plugin, so it doesn't work for GAE. Running a Maven Install on each workspace dependency before deploying, however, is still nicer than

Re: [appengine-java] Question on request duration / quota / HardDeadlineExceededError

2010-02-08 Thread Don Schwarz
You should be able to catch a DeadlineExceededException and have ~400ms in which to return from your request before a HardDeadlineExceededError is thrown. Are you sure that you are not catching and ignoring the DeadlineExceededException? If so, can you create a small reproducible test case for

Re: [appengine-java] Question on request duration / quota / HardDeadlineExceededError

2010-02-08 Thread John Patterson
HDEEs can be thrown without a DEE if it happens in your own code. Usually the most time consuming thing is waiting for API calls to return so a timeout here will result in the API call stopping with a DEE. So if you do not call the API often you can hit HDEE directly. I also have long

[appengine-java] Re: Dynamic properties (Expando model) possible with Java?

2010-02-08 Thread datanucleus
To add properties to classes at runtime, you need to build your classes dynamically, and then enhance them, and define the metadata for them dynamically too. All been done before, see this link http://www.jpox.org/servlet/wiki/pages/viewpage.action?pageId=6619188 -- You received this message

[appengine-java] Image API Transparency cut

2010-02-08 Thread Millisecond
Hey all, I'm trying to take a PNG that has all pixels filled with nothing transparent, and cut out part of that image along a predefined mask. So I would end up with an image that is part transparent and part filled. Is this possible with the Image API? The only way I'm able to punch out

[appengine-java] What is the most optimal way to delete and create objects in the datastore?

2010-02-08 Thread RSN
Hi, I am kind of new to GAE, and I was wondering if someone has statistics or data that shows what are the most optimal (efficient) ways for deleting and creating objects in the Datastore. I did some small experiments in order to identify a more efficient mechanism to delete and create objects

Re: [appengine-java] Seeing owned/child entities in the datastore viewer

2010-02-08 Thread Ikai L (Google)
Sounds like a pretty cool feature. Go ahead and add it to our feature request list: http://code.google.com/p/googleappengine/issues/list?can=2q=datastore+viewer On Tue, Feb 2, 2010 at 8:10 PM, Daniel Benamy dben...@gmail.com wrote: Hi, I'm trying to find a way to see the relationships

Re: [appengine-java] Re: JDO model issue

2010-02-08 Thread Rusty Wright
I agree with Jake; relationships are tricky. Likewise with his pointing out that having race be in two Results will be a problem; that won't fly. Another way would be to have a ListResult in Race, and add your Results to that. But you're still going to have parenting problems when you have

[appengine-java] Re: Persistence with JPA + GAE

2010-02-08 Thread Jake
Hello, The Google Datastore has four ways that you can store a Primary Key ID: String, Long, and two variations on Google's own Key object. If you want to create a parent/child relationship between two persisted objects (in your case, evento is the parent and distritos is the child), then you

Re: [appengine-java] Re: Persistence with JPA + GAE

2010-02-08 Thread Johan Vallejo
hi jake, thank for you answer i will try you suggestion and i will tell later El 08/02/2010 03:37 p.m., Jake escribió: Hello, The Google Datastore has four ways that you can store a Primary Key ID: String, Long, and two variations on Google's own Key object. If you want to create a

Re: [appengine-java] Localization parameters

2010-02-08 Thread Ikai L (Google)
I saw this blog post the other day (It was posted on our Twitter account): http://blog.jteam.nl/2010/02/04/free-java-hosting-with-the-google-app-engine/ The tip is to add this to your web.xml: context-param param-namejavax.servlet.jsp.jstl.fmt.timeZone/param-name

Re: [appengine-java] Is there an equivalent of Python GeoModel project in Java?

2010-02-08 Thread Ikai L (Google)
Looks like someone ported the Python code to Java for GeoHash: http://stackoverflow.com/questions/2060219/google-app-engine-geohashing Also seems like a pretty good explanation of GeoHashing in general. On Thu, Feb 4, 2010 at 10:16 AM, mianor lefebvre.rom...@gmail.com wrote: Hi, I am trying

Re: [appengine-java] Where to report server down time?

2010-02-08 Thread Ikai L (Google)
What does the server log report at this time? Can you post a stack trace? On Fri, Feb 5, 2010 at 6:20 AM, Bob F robertfolke...@gmail.com wrote: I tried to open http://folkertsfotografie.appspot.com and recieved Error: Server Error The server encountered an error and could not complete your

Re: [appengine-java] Getting the client's timezone

2010-02-08 Thread Ikai L (Google)
This can be done with JavaScript: http://stackoverflow.com/questions/768007/how-to-detect-user-time-zone-in-sign-up-forms This is basically what your link describes. It's not an issue with Java but with HTTP in general. This doesn't solve the case of a traveling user if they don't set their

[appengine-java] Owned One-to-Many Relationships - query/filter on the associated/child object?

2010-02-08 Thread ChrisDane
Hi there, How would you query/filter on ContactInfo when you have the Employee. Or better sample if it was Box and a Items, where you only want the yellow items. From: http://code.google.com/appengine/docs/java/datastore/relationships.html#Unowned%5FRelationships ### Employee.java import

[appengine-java] Re: Localization parameters

2010-02-08 Thread asianCoolz
may i know does by setting param- namejavax.servlet.jsp.jstl.fmt.timeZone/param-name makes the logs to show timezone we want? or that parameter is only used for jsp-jstl ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

Re: [appengine-java] Seeing owned/child entities in the datastore viewer

2010-02-08 Thread Daniel Benamy
Thanks for the reply! http://code.google.com/p/googleappengine/issues/detail?id=2745 Dan On Mon, Feb 8, 2010 at 2:48 PM, Ikai L (Google) ika...@google.com wrote: Sounds like a pretty cool feature. Go ahead and add it to our feature request list:

[appengine-java] Re: jython / modjy FileOutputStream exception

2010-02-08 Thread Riley
Thanks for your response. I'm using jython 2.5.1 downloaded from jython.org, and using the demo modjy app provided with jython. I'm not modifying it in any way. I can't find any other reports of this problem anywhere on the net - mystifying! Unfortunately I don't have another dev environment

[appengine-java] HardDeadlineExceededError with JRuby. Runtime changed??

2010-02-08 Thread takeru sasaki
Hi! May be GAE Runtime is updated to 1.3.1. In my JRuby app, spin up time was longer than before update. I see many HardDeadlineExceededError. Whats happen?? takeru -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

Re: [appengine-java] Getting Started : Eclipse, GWT, App Engine - Unable to resolve

2010-02-08 Thread John Patterson
GWT needs the source code to compile its JavaScript so you cannot use closed source classes like those from App Engine. In these cases you must make a client side transfer object com.mycompany.project.ClientUser and transfer the properties you want to pass to the client. This is normally

Re: [appengine-java] Getting Started : Eclipse, GWT, App Engine - Unable to resolve

2010-02-08 Thread Jeff Schnitzer
If you add Objectify (http://code.google.com/p/objectify-appengine/wiki/ObjectifyWithGWT) to your project, you will be able to use the datastore basic types (Email, Link, GeoPt, etc) in GWT without any extra effort. This works even if you don't use the Objectify persistence system. Jeff On Mon,

Re: [google-appengine] Application versions code - completely separate or diff'd?

2010-02-08 Thread Nick Johnson (Google)
Hi Nickolas, Different versions of your app get completely different runtimes. Changing a global variable as in your example does not change the file, only the value in the loaded module. -Nick Johnson On Mon, Feb 8, 2010 at 7:34 AM, Nickolas Daskalou n...@daskalou.com wrote: I know we're

Re: [google-appengine] Application versions code - completely separate or diff'd?

2010-02-08 Thread Nickolas Daskalou
Ah, runtime was the word I was looking for. Thanks Nick. :) Nick (not you, me) On 8 February 2010 22:38, Nick Johnson (Google) nick.john...@google.comwrote: Hi Nickolas, Different versions of your app get completely different runtimes. Changing a global variable as in your example does not

[google-appengine] Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread Pavel Kaplin
Hi there! My datastore stats says me Size of all entities = 51 MBytes, but dashboard shows 0.54 Gb as Total Stored Data. As you can see, these values differ from each other for more than ten times. Why? Application id is bayadera-tracker -- You received this message because you are subscribed

Re: [google-appengine] Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread Nick Johnson (Google)
Hi Pavel, The datastore stats include only the raw size of the entities. The total space consumed is the space consumed by the entities, plus the space consumed by all your indexes. -Nick Johnson On Mon, Feb 8, 2010 at 12:35 PM, Pavel Kaplin pavel.kap...@gmail.comwrote: Hi there! My

Re: [google-appengine] Hard Cron jobs

2010-02-08 Thread Nick Johnson (Google)
Hi, There's no need for this - the Task Queue has an ETA argument, which allows you to specify when you want the task to run (as opposed to countdown, which is relative to the current time). -Nick Johnson On Sun, Feb 7, 2010 at 5:21 PM, Eli Jones eli.jo...@gmail.com wrote: I have a task that

Re: [google-appengine] cron job and secured application

2010-02-08 Thread Nick Johnson (Google)
Hi, I presume from your description you're enforcing https-only in your code? Cronjobs don't actually use HTTP, so they simply fill in the protocol value with a default of 'http'. You need to exempt cron requests in your app from sending 302s. -Nick Johnson On Sat, Feb 6, 2010 at 1:15 AM, lent

[google-appengine] Re: Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread Pavel Kaplin
It's hard to believe that 3 indexes (for 2, 3 and 4 fields) could eat 9x more space than data itself. On Feb 8, 2:45 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi Pavel, The datastore stats include only the raw size of the entities. The total space consumed is the space consumed

Re: [google-appengine] 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread 风笑雪
Seems no one reply me, so I copy and paste it here: The memcache.grab_tail() function is very useful for counting, but why it only returns values, not a (key, value) pair list or dict? If a (key, value) pair list is available to retrieve, I think counting would be even easier like this: 1) add

Re: [google-appengine] 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread 杨浩
^ ^[?]被[?] I see you! 2010/2/8 风笑雪 kea...@gmail.com Seems no one reply me, so I copy and paste it here: The memcache.grab_tail() function is very useful for counting, but why it only returns values, not a (key, value) pair list or dict? If a (key, value) pair list is available to

[google-appengine] Re: Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread Pavel Kaplin
Here's the detailed description of mentioned indexes: 1) address (string, 100 bytes), tradePoint(String, 100 bytes), user (Key, generated by GAE), timestamp 2) tradePoint, user, timestamp 3) user, timestamp Entities count is about 15k. I don't understand how it might happened. On Feb 8,

[google-appengine] getting back images from data store

2010-02-08 Thread kais louetri
HI i am using the exemple of the guestbook (http://code.google.com/intl/ fr/appengine/docs/python/images/usingimages.html), and i would like to get back images that i stored in it to use them in other pages, can any one give me a help with that ? thank you -- You received this message because

[google-appengine] Total Stored Data seems HUGE for a HelloWorld!

2010-02-08 Thread Anthony
Hi, I just deployed a simple Java/Wicket HelloWorld followed by an AJAX clock that updates every 5seconds. No-one knows of the site and yet after only an hour I'm seeing 25% Total Stored Data and it climbs every refresh it seems. What's going on? Many Thanks, Anthony light-house9.appstore.com

[google-appengine] Appengine and Google Apps Domains

2010-02-08 Thread Will Orr
Question about the appengine Users service: are Google Apps users able to login using their domain's credentials? If not, how can I write my appengine application to allow people from Google Apps domains to be able to log in? -- You received this message because you are subscribed to the Google

[google-appengine] JDO - JDOHelper.getPersistenceManagerFactory errors

2010-02-08 Thread appEngr
Hi, I am trying to develop an app in Java on App engine. But, have not been able to make JDO work. It seems based on the exceptions. The JDO is not able to initialize PersistenceManagerFactory object. I have checked jdoconfig.xml file in src/META-INF and war/WEB-INF/classes/ META-INF, both have

[google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Franck
Didn't find doc about the Support for Custom Admin Console pages ? Could that means that we can add custom data to Admin Console webapp ? PS.: Ikai, sorry about the direct message -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Franck
Didn't find doc about Support for Custom Admin Console pages ? Is this a way to add our data in the Admin Console Web app ? -- 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] App Engine URI Quota

2010-02-08 Thread Timwillhack
I've been writing a python backend on app engine for use with a facebook game. One of my pages is currently hitting 2459 CPU in the admin console per request (avg). Its a register page and does a lot of databasing different classes. I've noticed an exclamation next to it that says 'This URI

[google-appengine] Expando + Java == possible?

2010-02-08 Thread thomasf1
Ladies Gentlemen, I´m new to the Java side of App Engine. I´ve used the Expando Model before in Python and added dynamically properties to a Object/Item in the Datastore. I´ve searched quite a while and it seems that the Java Object I created doesn´t allow me to dynamically add properties to

Re: [google-appengine] memcache set succeeds but immediate get fails. Pls help

2010-02-08 Thread Denis Bilenko
I've bumped into the same issue and came to conclusion that *time* you pass is treated like an absolute value, not an offset. Try passing time=time.time() + 60*60*24*30 instead. On Sun, Feb 7, 2010 at 5:22 PM, observer247 prem...@gmail.com wrote: This is my code:                ret =

Re: [google-appengine] Re: Uploading static files without redeploying whole app?

2010-02-08 Thread Massimiliano
Hi, I'm new and I'm trying to understand how app-engine works. When I'm deploying something, is it uploading all the directory? So it is not going to upload only the ,py files. Thanks Febo 2010/2/8 Wooble geoffsp...@gmail.com No, you can't. There's no way to write to the filesystem without

[google-appengine] Re: Content length missing in header

2010-02-08 Thread andrew
I am having this issue also. Any fix via the SDK, deployment options or code (Python) that I could use to force it? Thanks On Jan 22, 6:10 pm, samwyse samw...@gmail.com wrote: I'm having the same issue in a Python program.  My GAE logs show the following response headers being set: I 01-22

[google-appengine] Easy request

2010-02-08 Thread Massimiliano
Hi, I'm new and I'm trying to understand how app-engine works. When I'm deploying something, is it uploading all the directory? So it is not going to upload only the ,py files. Where can I find a list of the webapp fuctions? Where can I find a guide for the template instructions? Thanks Febo --

[google-appengine] How to me, a Vietnamese can join Google App Engine

2010-02-08 Thread nvcnvn
My country is not in the sms support list! So can I tell my freinds who live in the supported count try to get the confrim code!?!?!? -- 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] comment récupérer des image à partir de la data store

2010-02-08 Thread kais louetri
hi j'utilise l'exemple du guestbook (http://code.google.com/intl/fr/ appengine/docs/python/images/usingimages.html) pour stocker des image dans la dat store, et je cherche maintenant à récupère ces image pour les afficher dans une autre page web, est ce qu'il y a quelqu'un qui peut m'aider pour

[google-appengine] Audio

2010-02-08 Thread ProfessorMD
Does Google App Engine have support for the Java Sound API? If not, how do we go about requesting the addition of this library? Thank you. Outstanding Work on Google App Engine. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

Re: [google-appengine] Easy request

2010-02-08 Thread Robert Kluin
http://code.google.com/appengine/docs/whatisgoogleappengine.html On Mon, Feb 8, 2010 at 7:59 AM, Massimiliano massimiliano.pietr...@gmail.com wrote: Hi, I'm new and I'm trying to understand how app-engine works. When I'm deploying something, is it uploading all the directory? So it is

Re: [google-appengine] Appengine and Google Apps Domains

2010-02-08 Thread Robert Kluin
Each application can be logged into by a) anyone with a GMail account (NOT Google Apps Accounts xor b) people with a Google Apps Account on exactly one domain you specify. You set the option that controls this at create time, it can not be changed after creation. If you need to only allow users

Re: [google-appengine] Re: Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread Ikai L (Google)
Are you storing information in sessions? Session information can also take up space. On Mon, Feb 8, 2010 at 5:32 AM, Pavel Kaplin pavel.kap...@gmail.com wrote: Here's the detailed description of mentioned indexes: 1) address (string, 100 bytes), tradePoint(String, 100 bytes), user (Key,

[google-appengine] obsolete indexes

2010-02-08 Thread Satoshi
I have an app on Google App Engine, which has evolved over time. As the result, a model Plan on the server has six indexes even though I need only four of them. I've clean-up the index.yaml file (which has four indexes for Plan), and re-deployed the app several times since then but those extra

Re: [google-appengine] Total Stored Data seems HUGE for a HelloWorld!

2010-02-08 Thread Ikai L (Google)
Do you have sessions enabled? On Sat, Feb 6, 2010 at 11:37 AM, Anthony awe.transcend...@gmail.com wrote: Hi, I just deployed a simple Java/Wicket HelloWorld followed by an AJAX clock that updates every 5seconds. No-one knows of the site and yet after only an hour I'm seeing 25% Total Stored

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Ikai L (Google)
The official docs are pending, but here's Nick Johnson to the rescue: http://blog.notdot.net/2010/02/New-features-in-1-3-1-prerelease-Cursors -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- You received this

Re: [google-appengine] Expando + Java == possible?

2010-02-08 Thread Ikai L (Google)
Have you looked at the low-level API? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.htmlEntities are schemaless, so you can add and

Re: [google-appengine] How to me, a Vietnamese can join Google App Engine

2010-02-08 Thread Ikai L (Google)
Go ahead and add yourself to the SMS manual verification waitlist: http://appengine.google.com/waitlist/sms_issues On Sun, Feb 7, 2010 at 11:29 PM, nvcnvn nvcn...@gmail.com wrote: My country is not in the sms support list! So can I tell my freinds who live in the supported count try to get

Re: [google-appengine] Audio

2010-02-08 Thread Ikai L (Google)
You'll want to add it to our issues tracker and get as many folks to star it as possible: http://code.google.com/p/googleappengine/issues/list On Sat, Feb 6, 2010 at 12:43 PM, ProfessorMD rkc...@gmail.com wrote: Does Google App Engine have support for the Java Sound API? If not, how do we go

Re: [google-appengine] obsolete indexes

2010-02-08 Thread Ikai L (Google)
Have you tried the appcfg.py vacuum_indexes command yet? On Mon, Feb 8, 2010 at 10:59 AM, Satoshi satoshi.nakaj...@gmail.com wrote: I have an app on Google App Engine, which has evolved over time. As the result, a model Plan on the server has six indexes even though I need only four of them.

Re: [google-appengine] Expando + Java == possible?

2010-02-08 Thread Guillaume Laforge
It's indeed possible in Groovy to do that. That's exactly what the Gaelyk lightweight Groovy toolkit does. Leveraging the dynamic aspect of the language. You can have a look at the tutorial if you will: http://gaelyk.appspot.com/tutorial On Sun, Feb 7, 2010 at 02:08, thomasf1 tfu...@gmail.com

[google-appengine] Re: Audio

2010-02-08 Thread sampablokuper
On Feb 6, 8:43 pm, ProfessorMD rkc...@gmail.com wrote: Does Google App Engine have support for the Java Sound API? Come to think of it, does Google App Engine support any audio processing libraries? Can an App Engine app, for instance, transcode an uploaded WAV file to a FLAC or MP3 file? --

[google-appengine] Re: Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread WeatherPhilip
This issue comes up about once per week. Google -- you need to address this. The simplest way of addressing it would be to put the size of *every* index on the statistics page, and show that the total corresponds (roughly) to the quota number. This would enable people to see which index (or

[google-appengine] Registration account thru users service

2010-02-08 Thread Greg Temchenko
Hey there, I'm trying to use google users service for my project and when I'm trying to register a new account it sends email verification. But when I verify it, google doesn't redirect me back on my project and so a new registered user may forget where he was and what a website he was on. Is it

[google-appengine] Re: comment récupérer des image à partir de la data store

2010-02-08 Thread Jean-Marc (M2i3.com)
Hello Kais, L'image dans le data store n'est pas différent d'une page HTML... Le lien suivant de la documentations de Google App Engine devrait pourvoir t'aider: http://code.google.com/appengine/articles/images.html Il est très important de bien configurer le Content-Type pour informer le

Re: [google-appengine] Re: Stored data voiume is totally different on Datastore Statistics and Dashboard

2010-02-08 Thread Robert Kluin
I like Philip's suggestion a lot. It will help us all identify space intensive indexes, and _hopefully_ reduce the number of posts about this. I submitted a feature request for this issue: http://code.google.com/p/googleappengine/issues/detail?id=2740 Robert On Mon, Feb 8, 2010 at 2:27 PM,

[google-appengine] Re: High latency with custom domain

2010-02-08 Thread Flips
Thanks for your hint Barry. I have created a new feature request, if you are also interested in geographical distribution of your app please star it. http://code.google.com/p/googleappengine/issues/detail?id=2741 On Feb 3, 8:57 pm, Barry Hunter barrybhun...@googlemail.com wrote: Who do you use

[google-appengine] Re: Registration account thru users service

2010-02-08 Thread Stephen
On Feb 8, 7:28 pm, Greg Temchenko soid@gmail.com wrote: Hey there, I'm trying to use google users service for my project and when I'm trying to register a new account it sends email verification. But when I verify it, google doesn't redirect me back on my project and so a new

[google-appengine] Does Websense block AppEngine ip addresses?

2010-02-08 Thread MG
Hello! We have a service (very proper, no nsfw content, not even ads) running on AppEngine that uses a custom domain (aka www.mydomain.com). One of our users reports that Websense blocks access to our service at his office. Can this be true? Has anybody else experienced Websense blocking

[google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Stephen
On Feb 8, 7:06 pm, Ikai L (Google) ika...@google.com wrote: The official docs are pending, but here's Nick Johnson to the rescue: http://blog.notdot.net/2010/02/New-features-in-1-3-1-prerelease-Cursors What are the performance characteristics of cursors? The serialised cursor shows that it

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread 'Αλκης Ευλογημένος
There is no offset. The protocol buffer stores a start_key and a boolean denoting if this start key is inclusive or not. The performance of continuing the fetch from a cursor should be the same as the performance of the first entities you got from a query. On Mon, Feb 8, 2010 at 4:33 PM, Stephen

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Ikai L (Google)
I got beaten to this answer. No, there is no traversal to get to the offset. BigTable has an underlying mechanism for range queries on keys. Indexes are essentially a key comprised of a concatenation of application ID, entity type, column, value. When a filter operation is performed, the

Re: [google-appengine] GAE/J recommended best practices.

2010-02-08 Thread Ikai L (Google)
That's a pretty general question, but in general, here are some performance tips: - Retrieving entities by key is the fastest way to retrieve data. If you can avoid complex queries and do this instead where possible, you'll squeeze a lot of performance out of the datastore. - Memcache slow data

Re: [google-appengine] Re: Can't access Datastore Viewer

2010-02-08 Thread Ikai L (Google)
Datastore viewer issues are likely related to type validation issues. Are you using specialized types such as PhoneNumber, Email Address or URL fields in your model? Are these always being set, or are null or invalid values being set? On Sat, Feb 6, 2010 at 6:12 PM, Shai levys...@gmail.com wrote:

[google-appengine] Re: Can't access Datastore Viewer

2010-02-08 Thread Shai
HI, Yes, I am using Email fields and URL field's. I am not sure if there are currently null values there but my code doesn't validate that option so it's a possibility. Either way, I can change the model to strings instead of URL/Email pretty quick but how can I remove the data already there ?

[google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Stephen
Ah right, Nick's blog does say start_key and not offset. My bad. Maybe there will be warnings in the upcoming documentation, but my first instinct was to embed the serialised cursor in the HTML as the 'next' link. But that doesn't look like a good idea as Nick's decoded query shows what's

Re: [google-appengine] Does Websense block AppEngine ip addresses?

2010-02-08 Thread Barry Hunter
Well if you using a custom domain, its 'Google Hosting'/ghs that used to serve your site, not appspot.com itself. ghs.google.com is shared by blogger, Google Apps, and a number of services. So it might not be appspot that is being 'blocked' as such, but any number of other hosted services (eg a

Re: [google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Ikai L (Google)
A cursor serializes to a Base64 encoded String, so you can store it anywhere you want to store strings: Memcached, Datastore, etc. You can even pass it as an URL parameter to task queues. 2010/2/8 Stephen sdea...@gmail.com Ah right, Nick's blog does say start_key and not offset. My bad.

[google-appengine] Re: 1.3.1 SDK Prerelease - help us verify

2010-02-08 Thread Stephen
I'm asking if it's wise to store it as a query parameter embedded in a web page. On Feb 9, 12:26 am, Ikai L (Google) ika...@google.com wrote: A cursor serializes to a Base64 encoded String, so you can store it anywhere you want to store strings: Memcached, Datastore, etc. You can even pass it

  1   2   >