Re: [google-appengine] App Engine VM-based Backends - Trusted Tester Sign-up

2014-04-10 Thread Trung Pham
This is great! On Thursday, April 10, 2014 1:17:38 AM UTC-7, Vinny P wrote: On Wed, Apr 9, 2014 at 2:48 AM, Trung Pham tr...@phamcom.comjavascript: wrote: Do you know if I can access Google datastore using the appengine SDK rather than the JSON api from the VM backend? This will certainly

[google-appengine] App Engine VM-based Backends - Trusted Tester Sign-up

2014-04-09 Thread Trung Pham
Do you know if I can access Google datastore using the appengine SDK rather than the JSON api from the VM backend? This will certainly make things much easier for me. Appengine SDK https://developers.google.com/appengine/docs/go/datastore/reference -- You received this message because you

[google-appengine] Re: Simple user authorization for installed app: how to?

2012-10-11 Thread Trung
GData supports this feature. I am not sure whether GData supports Python. For Java: 1. Authorize GoogleAuthTokenFactory factory = new GoogleAuthTokenFactory(ah, MyCompany-MyApp-Version, null); // Obtain authentication token from Google Account String token = factory.getAuthToken(email,

[google-appengine] can Compute Engine VM talk to AppEngine Datastore?

2012-08-01 Thread Trung Pham
I'm interested in running my frontend servers in ComputeEngine cloud but have my apps use DataStore. The reason why I want to do this so I can have long running websocket sessions open. And being able to use NodeJS runtime. Thanks. -- You received this message because you are subscribed to

[google-appengine] Re: Early access to Page Speed Service for Google App Engine

2012-08-01 Thread Trung Pham
switch to golang? On Monday, July 9, 2012 11:00:19 PM UTC-7, Anders wrote: You really need to fix the slow cold starts of GAE apps. It can take 10 seconds to load a webpage that usually loads in a fraction of a second. See issue:

[google-appengine] Re: Wordpress + AppEngine = PressEngine

2012-03-26 Thread Trung
I think it is straightforward, just 2 Java class files and some standard configuration in appengine-web.xml and web.xml And source code is included in the download file. On Mar 24, 10:43 am, α its_me badlear...@gmail.com wrote: That's great. It would be nice if you can writeup a nice tutorial

[google-appengine] Wordpress + AppEngine = PressEngine

2012-03-23 Thread Trung
Hi friends, Just inform you that we are setting up WordPress running on AppEngine using Cloud SQL database. See http://pressengine.appspot.com/ Hope this help. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] Re: Java Remote API - getting 302 error

2011-08-14 Thread Trung
I have the same issue. The Remote API seem does *NOT* work on Federated Login. Any help please? On Jul 16, 5:46 am, Miguel Barrero mig...@interdatos.net wrote: I have the same issue, because error is 302 (http redirection), I wonder if it's related to authentication? any ideas? Miguel On

[google-appengine] [Help] How can i read a text file

2011-03-09 Thread Nguyen Trung Kien
Hi all, I've read old discussion but i can not find out what happened to my project. I want to read an .txt from a servlet from my java project. Like BufferedReader in = new BufferedReader( new InputStreamReader( new FileInputStream(data/cafe.txt), UTF8));

[appengine-java] May I use AppEngine SDK internally without deploy to Google AppEngine?

2010-12-20 Thread Trung
For some reasons, I would like to run our GAE apps internally (with some custom hooks instead of re-writing the app). May I do that? 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

[appengine-java] Re: May I use AppEngine SDK internally without deploy to Google AppEngine?

2010-12-20 Thread Trung
Appscale is promising. On Dec 21, 3:09 am, A. Stevko andy.ste...@gmail.com wrote: Trung, The dev server is not the only way to run app engine locally. Take a look at these projects to see if they can meet your needs...http://code.google.com/p/appscale/ http://code.google.com/p/appscale

[google-appengine] Re: ClientLogin with GAE

2010-11-02 Thread Trung
Hi Vagabond, For your infor, see http://code.google.com/p/gwt-syncproxy/source/browse/trunk/src/com/gdevelop/gwt/syncrpc/SyncProxy.java and look for loginGAE method. Hope this help. On Nov 2, 5:44 am, Vagabond robert.cs...@gmail.com wrote: From older posts it seems that the ClientLogin has 3

[google-appengine] Re: App Engine - Adding Domains

2010-11-02 Thread Trung
So, can I use the second option?? How can I prove that I already have a domain register without paying for google apps? Yes, you can prove you own the domain by uploading a file to the server. On Nov 1, 12:57 am, Rodrigo Teixo horariofa...@gmail.com wrote: Hello Everybody! I want to host

[appengine-java] Re: What is the best option for RPC (web services) on App engine?

2010-06-11 Thread Trung
http://code.google.com/p/gwt-syncproxy/ may be suitable for your needs. On Jun 10, 11:13 pm, dilbert dilbert.elbo...@gmail.com wrote: First I'd like to explain what I mean by RPC. I'd like to be able to write interfaces like this (simple Java interface): public interface EchoService {  

[appengine-java] Simple Put, get operations in transaction

2010-06-06 Thread Trung
I have a simple test as below public class TestDS extends TestCase{ private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); @Before public void setUp() { helper.setUp(); } @After public void tearDown() throws

[appengine-java] Appstats make request to API call memcache.Set() was too large

2010-04-09 Thread Trung
I tried to use Appstats. However, Appstats uses and shows a lot of raw (low level) data. Sometime memcache API throws exception as below: com.google.appengine.api.memcache.LogAndContinueErrorHandler handleServiceError: Service error in memcache

[appengine-java] Re: ANN: Firefox add-on for tracking GAE estimated cost

2010-04-07 Thread Trung
Great!!! On Apr 7, 5:00 pm, radomir radomi...@gmail.com wrote: Hi, I made a Firefox extension that collects estimated cost from App Engine response headers and shows the total in the Firefox status bar. If anyone's interested, the add-on can be downloaded

[appengine-java] Re: Discussion on will-it-play-in-app-engine

2010-04-01 Thread Trung
I tried myfaces 2.0.0 beta 3 successfully. All you need is myfaces jars, EL implementation jars (I used EL jars from Tomcat) and a context parameter context-param param- nameorg.apache.myfaces.config.annotation.LifecycleProvider/param- name param-

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-03-28 Thread Trung
Hi GAE team, Any workarounds for this issue? Thanks On Feb 14, 8:55 am, Payam pmoghad...@gmail.com wrote: The problem is still not solved. Although you can persist an object with multiple relations of the same type. When you actually query the object, the retrieved object has duplicates

[google-appengine] How to list all entity kinds programmatically?

2010-03-25 Thread Trung
Hi, I'd like to know whether we can programmatically know the list of entity KIND currently in the datastore. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

[appengine-java] Is there any lib (UI front-end and servlet backend) for editing datastore?

2010-03-24 Thread Trung
Hi, Is there any lib for editing datastore? Similar to Datastore Viewer with some additional features. Editing means: + New entity: create a empty entity + Delete existing entity + Add a property to entity + Remove a property from entity + Change a property's value Thanks, -- You received

[appengine-java] How to list all entity kinds programmatically?

2010-03-24 Thread Trung
Hi, I'd like to know whether a Java program can know the list of entity KIND currently in the datastore. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

[appengine-java] Re: How to best run GWTTestCase tests that involve persistence?

2010-03-14 Thread Trung
Hi, 1. I think the proper way is separating the test from QuestionServiceImpl. 2. For testing QuestionServiceImpl, you should run two separate parts: server side and client side. a) In your case, there are no special in the server side. b) In the client side, you can use GWTTestcase. Your test

[appengine-java] New blog post: Invoke GWT RPC services deployed on Google App Engine

2010-03-13 Thread Trung
A new post http://www.gdevelop.com/w/blog/2010/03/13/invoke-gwt-rpc-services-deployed-on-google-app-engine/ shows how to invoke GWT RPC services deployed on Google App Engine from Java client. Shorten url http://goo.gl/fb/n99D Any feedback can be left on my blog, thanks. Trung -- You

[google-appengine] Re: How to change my binding domain name of APP?

2010-02-03 Thread trung
Also. How do you associate multiple domain names to the same app? On Feb 3, 12:13 pm, aspringbaby asprings...@gmail.com wrote: I had binded a domain name to one of my app. Now I want to change the domain name of the APP. So how to ...? Thanks. -- You received this message because you are

[appengine-java] Re: JDO - GWT - JUNIT testing examples

2010-01-31 Thread Trung
The SyncProxy can be used for this purpose. See http://www.gdevelop.com/w/blog/2010/01/10/testing-gwt-rpc-services/ for details Hope this help, Trung http://www.gdevelop.com/ On Jan 26, 10:19 pm, aswath satrasala aswath.satras...@gmail.com wrote: Hi, I am using GWT and JDO to write a simple

[google-appengine] Storing image strategy.

2010-01-04 Thread trung
Do you recommend using two tables or one? With one table, it can look something like this. class Image data = blobField width = Int height = Int with two tables class ImageInfo width = Int height = Int image = refToImage class Image data = blobField Advantages with one table:

[google-appengine] Possible to remove white background from image?

2010-01-02 Thread trung
Is it possible to remove the white background from a PNG image in order to make it look transparent? Has anyone been able to accomplish that? My guess is we would have to use the composite() function. Start out with a blank canvas and add the overlay image, then somehow tell it to ignore the

[google-appengine] Re: Image API get dimension.

2010-01-02 Thread trung
Wonderful :) On Dec 30 2009, 4:34 pm, Barry Hunter barrybhun...@googlemail.com wrote: http://code.google.com/appengine/docs/python/images/imageclass.html 2009/12/30 trung tr...@phamcom.com: Is there a way to retrieve the dimension of the uploadimage? likeimage.get_width

[google-appengine] Image API get dimension.

2009-12-30 Thread trung
Is there a way to retrieve the dimension of the upload image? like image.get_width() or image.get_height()? 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

[appengine-java] What Java MVC framework do you use on AppEngine?

2009-12-22 Thread Trung Pham
Coming from Ruby on Rails background, I have tried to run Rails on Jruby on AppEngine. While it works, but it has ridiculous startup time. Well over 20 seconds to spin up an instance, and sometimes it even hits the 30 seconds limit. Anyway, out of curiosity, what is the equivalent MVC

[google-appengine] Re: Java or Python; Which should I recommend to others who are very sensitive to costs?

2009-12-15 Thread trung
How about jruby with rails? :) On Dec 15, 10:02 am, Takashi Matsuo matsuo.taka...@gmail.com wrote: Hello, Today I noticed that App Engine Java environment became much faster then before. The spin up cost is about 700cpu_ms with the simplest servlet. Additionally, when it comes to serving

[appengine-java] Re: Error 500 - Loading data to memory during startup

2009-10-23 Thread trung
Yeah, AppEngine drops your request after 30 seconds. My app takes 20 seconds to initialize in development, and half of the times it will finish loading within 30 seconds. Other times it goes pass 30 seconds and gets the same 500 error like yours. Google needs to make an exception for the