[google-appengine] Re: gaierror 2 (failure in name resolution) (Python)

2015-06-10 Thread Tristan Timmermans
Dear Nick, Thank you for the reply. We have support so I'll first check with them and afterwards file a public issue if the error is not cause by us. I posted it here since it is not an obvious error and someone might have already found a solution. Yours, Tristan On Tuesday, June 9, 2015

[google-appengine] gaierror 2 (failure in name resolution) (Python)

2015-06-09 Thread Tristan Timmermans
it might just as well be a configuration problem on our side. Thank you for your consideration, Tristan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google

[google-appengine] Deployment Issues

2013-10-21 Thread Tristan Davey
Our development team has noticed a heavily increased rate of deployment failures in the last 9 or so hours. At times we seem to be entirely unable to deploy code to any App Engine projects with appcfg. The standard deployment process runs up to a point (generally Cloning x static files. or

Re: [google-appengine] Java Spring 3 and Blobstore

2010-12-28 Thread Tristan Burch
', function(data) { $('#post_form').attr('action', data.value); }); You could easily skip the ajax part by putting the form action as a model attribute when the page is rendered. -Tristan On Tue, Dec 28, 2010 at 2:17 AM, Sgurbat y.redae...@gmail.com wrote: Hi all, for first sorry for my

Re: [google-appengine] sms validation requested

2010-12-08 Thread Tristan Burch
to create a new application yesterday. -Tristan On Tue, Dec 7, 2010 at 9:35 AM, brindy christopher.br...@gmail.com wrote: Hi, I've been using Google App Engine for a while now. I have an app that's been running for a good few months and have been deploying and deleting other projects

[google-appengine] Re: charging subscribers and slowing free users enough

2010-06-22 Thread Tristan
You actually need do the numbers for this and work it out for yourself. When you have a free user, how much computation / storage space are they going to use? Figure out what their usage is per day. So say, 0.0001 GB storage, 0.01 CPU hour will end up with $0.002 for storage and $0.08 for cpu per

[google-appengine] Re: Where is my files uploaded in app-engine?

2010-06-22 Thread Tristan
Can't do it. Can't download the files. On Jun 21, 11:35 pm, sabbir sabbir...@gmail.com wrote: Hi, Uploaded a hello world app. Its working. But in the control panel there is no option to see my uploaded files. It seems like I can build app and always update. But what if I need to download

[google-appengine] Re: How to speed up the task queue execution?

2010-06-22 Thread Tristan
Are you actually queuing 50 tasks per second? If you only queue 120 tasks per minute, you'll only execute 120 per minute. On Jun 22, 11:51 am, dflorey daniel.flo...@gmail.com wrote: I'm using task queue to execute a lot of transactions on different entity groups in parallel. But even if I

Re: [google-appengine] Re: How to speed up the task queue execution?

2010-06-22 Thread Tristan Slominski
:) What do the logs say? I think tasks are like any other http request, are you starting new processes a bunch of time? That's 7-8 seconds each time. That may be the cause. On Jun 22, 2010 4:53 PM, dflorey daniel.flo...@gmail.com wrote: And: It is running fast like hell in dev environment. Just

[google-appengine] Re: charging subscribers and slowing free users enough

2010-06-22 Thread Tristan
$9.35 per day * 30 days / month = $280.5 per month So it's much more accessible.. which of course is the case.. But it's still a real cost, 100,000 free users will be around $3,000 per month that will need to be covered. On Jun 22, 2:23 pm, Tristan tristan.slomin...@gmail.com wrote: You actually

[google-appengine] Re: typical monthly costs for running an app

2010-06-22 Thread Tristan
Yeah... looking at it again I can't even tell you where I got the numbers, it looks like I just made them up... Here's the thread with the corrected numbers (why did this thread get hijacked?)

[google-appengine] Re: typical monthly costs for running an app

2010-06-22 Thread Tristan
of 100,000 users (who are obviously very heavily engaged, as they are returning every day and consuming 3.6s of CPU time) to $300. Not bad. But the real numbers are probably lower. On Tue, Jun 22, 2010 at 5:37 PM, Tristan tristan.slomin...@gmail.comwrote: Yeah... looking at it again I

Re: [google-appengine] Re: typical monthly costs for running an app

2010-06-22 Thread Tristan Slominski
are very unlikely to be getting all the restarts T On Jun 23, 9:49 am, Tristan tristan.slomin...@gmail.com wrote: I disagree with your assessment that 0.01 CPU is unrealistic. Here's an example. User sends a request for a page.. cold start, need new instance  ~ 10,000 ms = 10s. User stares

[google-appengine] Re: Query workaround for this?

2010-06-21 Thread Tristan
@dflorey because that would result in binding the application to entity group limitations. which don't scale that well On Jun 21, 4:15 am, dflorey daniel.flo...@gmail.com wrote: Why don't you simply use the user as parent? On 19 Jun., 22:15, coltsith conla...@gmail.com wrote: I see. So

[appengine-java] Re: Creation of SQLite on AppEngine

2010-06-20 Thread Tristan
ditto... if you want SQL this is not the tool to use On Jun 19, 12:22 am, nicolas melendez nfmelen...@gmail.com wrote: Use the datastore, and forget SQL dbs in scalable apps. On Fri, Jun 18, 2010 at 9:28 AM, Maulik Gordhandas maulik.gordhan...@tcs.com wrote: Dear All, Wanted to

[google-appengine] Re: Request was aborted after waiting too long to attempt to service your request

2010-06-17 Thread Tristan
How are you keeping the application alive by running a job every minute? Are you queueing tasks to run every second? On Jun 17, 2:17 am, Eduardo Perrino eduardo.perr...@gmail.com wrote: My cron runs every minute because it is the minimal period that gae supports. 2010/6/16 Tristan

[appengine-java] Re: GAE deployments high rate of failures

2010-06-16 Thread Tristan
had the same problem... all deployment issues went away with 1.3.4 (and you can now have 100 versions per app - someone said ... neat) On Jun 16, 2:13 pm, Jerome jerome.mou...@gmail.com wrote: Hi Don, Now that is a good incentive to upgrade :-) (we are still on 1.3.2 indeed). Jerome On

[google-appengine] Re: Database with google application engine

2010-06-16 Thread Tristan
Not possible. Datastore is the only option. If you want to use MySQL, you would have to host it on Amazon (or other such service) and then you'd have to set up all persistence operations to talk to the Amazon service. There is an SQL solution in the works for the Google App Engine for Business

[google-appengine] Re: Request was aborted after waiting too long to attempt to service your request

2010-06-16 Thread Tristan
From my understanding this error happens when a request hits an application instance but is put on a queue and becomes stale before other requests in front of it get out of the way and execute. Doesn't your cron job have to fire every second in order to keep the application alive? I thought that

[appengine-java] Re: Please help me with mapping

2010-06-14 Thread Tristan
depending on your needs, you *could* keep the 10 most recent updates with the user object (or whatever fits within 1MB). Think how the first 3 or 4 facebook wall post comments appear right away and then you have to click see more. This way you could have your most recent status updates available

[google-appengine] Re: Datastore

2010-06-14 Thread Tristan
you may find this thread useful: http://groups.google.com/group/google-appengine-java/browse_thread/thread/4298b7f54f1b58db/ddfabdb64110effc?q= On Jun 14, 12:57 am, Alfred Fuller arfuller+appeng...@google.com wrote: http://www.youtube.com/watch?v=AgaL6NGpkB8is a good resource and I believe

[appengine-java] Re: Task Queue java API

2010-06-13 Thread Tristan
sathish... what you came across is a transactional way to add a task on a queue. Toby described how I do it too (without transactions). DatastoreServiceFactory.getDatastoreService().getCurrentTransaction() is a low-level API way of retrieving the current datastore transaction. If you add a task

Re: [appengine-java] Re: Version not ready error (but it's ready)

2010-06-09 Thread Tristan Slominski
Thank you very much, after upgrading to 1.3.4 it works :) On Tue, Jun 8, 2010 at 18:13, Don Schwarz schwa...@google.com wrote: What version of the SDK are you using? I believe that this deadline was increased significantly in 1.3.4. On Tue, Jun 8, 2010 at 10:39 PM, Tristan tristan.slomin

[appengine-java] Re: sandbox restrictions

2010-06-08 Thread Tristan
Here's an exhaustive list: http://code.google.com/appengine/docs/java/jrewhitelist.html On Jun 8, 5:40 am, james isaac jamesisaa...@gmail.com wrote: I would also like to know what you mean when you say we can't open a socket or access another host directly.What API is being referred to here?

[appengine-java] Re: AspectJ + Spring

2010-06-08 Thread Tristan
Something to consider, that if you start an entire AspectJ framework you're increasing your server startup time (whether it's large or not). I liked the solution Roo brings to the table, and that is it compiles AspectJ out of the source by the time it is deployed simply by inserting the Java code

[appengine-java] Re: Version not ready error (but it's ready)

2010-06-08 Thread Tristan
Well??? This problem happens EVERY time I deploy these days. As a result Google App Engine has become USELESS as a hosting solution. Any plans to fix this? Anything I can do on my side so that my uploads work? On Jun 7, 4:59 pm, Tristan tristan.slomin...@gmail.com wrote: I keep on getting

[appengine-java] Version not ready error (but it's ready)

2010-06-07 Thread Tristan
I keep on getting this during deployment: Deploying new version. Will check again in 1 seconds Will check again in 2 seconds Will check again in 4 seconds Will check again in 8 seconds Will check again in 16 seconds Will check again in 32 seconds Will check again in 64 seconds Will check again in

[google-appengine] Re: app-engine-data-pipelines session video

2010-06-07 Thread Tristan
not a python guy but, the purpose of int (now / 30) will be to come up with the same name for a span of time (30 milliseconds?). notice that int(1/30) = 0 int (3/30) = 0 int (29/30) = 0 and int(32/30) = 1. this is a way to come up with that task name uniquely. although now i'm confused

[google-appengine] Re: How to perform a task regularly every 1-4 seconds?

2010-06-07 Thread Tristan
sounds like you're a perfect candidate for the fan-in problem. check out this i/o video: http://code.google.com/events/io/2010/sessions/high-throughput-data-pipelines-appengine.html On Jun 7, 12:20 am, Rye Terrell ryeterr...@ryeterrell.net wrote: Thanks, Nick.  It looks like the task queue

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

2010-06-06 Thread Tristan
this was actually covered in Google I/O App Engine fireside chat. Max Ross explained that it is the tradeoff of the App Engine and how it works with automatic scalability and such. I don't think there is any expectation of a fix as it is property of the system. Check it out for yourself at:

[appengine-java] App Versions API Feature Request

2010-06-05 Thread Tristan
what issue I'm supposed to star if I missed it) Cheers, Tristan -- 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

[google-appengine] App Versions API Feature Request

2010-06-05 Thread Tristan
what issue I'm supposed to star if I missed it) Cheers, Tristan -- 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

[google-appengine] Re: Updating Google App Engine datastore

2010-06-02 Thread Tristan
. On Jun 2, 1:25 am, Víctor Mayoral v.mayor...@gmail.com wrote: Hey Tristan! Thanks for your answer. I will check the docs again and take a look at the low level API. The notification + trigger method seems pretty intelligent i will also check that too. But I was just wondering, isn't

[appengine-java] Re: node allocation

2010-06-01 Thread Tristan
. Is it possible? On Jun 1, 6:58 am, Tristan tristan.slomin...@gmail.com wrote: Can you elaborate on what you mean by node in the context of Google App Engine? On May 30, 7:49 am, theresia freska theresia.fre...@gmail.com wrote: Hi list, Is there any way to control how many nodes

[google-appengine] Re: Updating Google App Engine datastore

2010-06-01 Thread Tristan
this will give you some ideas. Cheers! Tristan On Jun 1, 6:28 am, Víctor Mayoral v.mayor...@gmail.com wrote: Hello, I've just an applications using GWT and GAE. After reading the docs and doing some examples I decided to begin coding but soon I reach something tricky. My application data

[appengine-java] Re: node allocation

2010-05-31 Thread Tristan
Can you elaborate on what you mean by node in the context of Google App Engine? On May 30, 7:49 am, theresia freska theresia.fre...@gmail.com wrote: Hi list, Is there any way to control how many nodes we want to use? I want to compare request time of using n nodes to run my app. Thanks! --

[google-appengine] Re: Ideas on implementing fulltext

2010-05-29 Thread Tristan
I've implemented this on app engine: http://www.miislita.com/term-vector/term-vector-3.html limitations: - need to store your own indexes, - need to use task queue to work around 1MB put limit when creating / updating indexes - search is done in memory v. via queries - might run out of time on

[appengine-java] Re: full text search tutorial wanted

2010-05-28 Thread Tristan
to implement. Cheers! Tristan On May 28, 3:57 am, Nacho Coloma icol...@gmail.com wrote: If your website is public you can also use the google search Ajax API (with a site: query) and parse the returned URLs if needed. On May 28, 10:30 am, Andrés Cerezo acerezoguil...@gmail.com wrote: You can use

[appengine-java] Re: Delete all Datastore entries locally

2010-05-28 Thread Tristan
you can delete war/WEB-INF/appengine-generated/local_db.bin to wipe the database On May 28, 9:06 am, Ronmell (VDKiT) ringe...@gmail.com wrote: Hi Gaurav. You can delete by your own calling the deletePersistenceAll from a Query sending as parameter the class of your POJO object. but if you

[appengine-java] Re: Does Memcache persist if all JVMs go to JVM heaven?

2010-05-25 Thread Tristan
Thank you On May 24, 2:56 pm, Ikai L (Google) ika...@google.com wrote: Memcache instances stay up. They're shared, namespaced (security) instances and will more likely than not outlive the lifecycles of your application instances. On Sun, May 23, 2010 at 11:17 PM, Tristan tristan.slomin

[appengine-java] Re: How to organize your server code

2010-05-24 Thread Tristan
Here's how you'd do it using Guice on the server: public MyServlet { @Inject OtherServlet otherServlet; public void someMethod(){ otherServlet.doSomething(); ... } } On May 23, 6:18 am, wilberforce wilberfo...@arcor.de wrote: If I want to organize my server code into multiple

[appengine-java] Re: Mysql database in App Engine datastore

2010-05-24 Thread Tristan
If you can wait for Google App Engine for Business it will support SQL storage eventually and you won't have to convert anything. http://code.google.com/appengine/business/roadmap.html On May 23, 12:16 am, Jitendra Gupta ibs.jiten...@gmail.com wrote: How to store my Mysql database  in App

[appengine-java] Re: AppEngine gets very slow when not used for some time

2010-05-24 Thread Tristan
The way you load the memcache, you just put data in it. It is automatically shared between all JVMs and you don't have to do anything special. As to when to load it up. Say you have some preferences stored in the datastore. You should put those preferences into the memcache and always check the

[appengine-java] Does Memcache persist if all JVMs go to JVM heaven?

2010-05-24 Thread Tristan
Does anyone know the answer to this: If all the JVMs are killed, does the memcache stick around or is it recycled? (I know memcache expires eventually, just curious if it is possible for it to carry data across JVM valley of death) Cheers, Tristan -- You received this message because you

Re: [appengine-java] Re: AppEngine gets very slow when not used for some time

2010-05-24 Thread Tristan Slominski
This sounds a lot like the sharded counter scenario. I think they came up with a committing to datastore strategy that worked well. On another hand, you can always queue a task and let the task queue persist the preferences when it gets around to it. On Mon, May 24, 2010 at 11:16, Rahul

[google-appengine] Re: Not Quite Grokking Datastore

2010-05-24 Thread Tristan
Take a read through this http://groups.google.com/group/google-appengine-java/browse_thread/thread/4298b7f54f1b58db/ddfabdb64110effc?q= On May 24, 1:43 am, MahatmaManic mahatmama...@gmail.com wrote: Big monster list! My app allows users to send requests to their network which I am arbitrarily

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-23 Thread Tristan
to collaborate. On May 20, 9:53 am, Tristan tristan.slomin...@gmail.com wrote: I'm looking into it, give me a bit and I will get back to you soon. On May 19, 4:03 pm, Mouseclicker jens.h...@googlemail.com wrote: Not sure that I have understood your code correctly, but as expected I get

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-23 Thread Tristan
Oh, as to my claim of being able to put 2GB into the datastore... yeah, when I looked at the test it was a unit test and not an integration test, so the datastore was mocked and it just checked the correct put call sequence. Sorry for getting excited over nothing :) On May 24, 12:05 am, Tristan

[appengine-java] Re: Facebook/social website design problem

2010-05-20 Thread Tristan
classes map to Entity Kind with Type property to specifiy which subclass they are. Hope that helps. On May 19, 11:21 am, Ravi ping2r...@gmail.com wrote: Thanks a lot Tristan, yes i did misunderstood you. Thanks for clarification. Yes this way it will work.One row update and all friends can see

[appengine-java] Re: Junit Problem

2010-05-20 Thread Tristan
Is there a specific reason you need to store your data in that particular place? I never specified storage and it automatically created one for me and it persists just fine in war/WEB-INF/appeninge- generated/local_db.bin On May 20, 5:41 am, Ravi ping2r...@gmail.com wrote: Sorry to send a mail

[appengine-java] Re: cannot email more than 10 people at a time in GAE

2010-05-20 Thread Tristan
Regardless if GAE supports it or not, you can just break that up into a bunch of tasks for a Task Queue that will send 10 emails at a time. On May 19, 3:06 am, Pla Gong vball.petal...@gmail.com wrote: Hi, I am new to Google Application Engine.  I have an application  that gives me a string of

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-20 Thread Tristan
I'm looking into it, give me a bit and I will get back to you soon. On May 19, 4:03 pm, Mouseclicker jens.h...@googlemail.com wrote: Not sure that I have understood your code correctly, but as expected I get the same error: com.google.apphosting.api.ApiProxy$RequestTooLargeException: The

[appengine-java] Re: Junit Problem

2010-05-20 Thread Tristan
, but it never created this file. I know in memory data is proper but it never get persisted and my subsequent test cases can not use it. Can you please send me your example which you are running so that i can see if i am missing anything. Thanks, Ravi On May 20, 3:50 pm, Tristan tristan.slomin

[appengine-java] Re: Facebook/social website design problem

2010-05-19 Thread Tristan
to arranged by date. On May 19, 9:42 am, Ravi ping2r...@gmail.com wrote: Thanks Tristan I like the idea of UserRegistrar class, may be i will use this to keep the Friend relation. But still worried about UserActivity as GAE doesn't support more then 30 parameters in contains query. So i will be able

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-18 Thread Tristan
... I will try to strip down mine to a test case and post here for further comments in another reply to this thread On May 18, 12:31 am, Tristan tristan.slomin...@gmail.com wrote: I've been able to multiput 2GB split into 500 entity batches on the dev server before. If it's breaking

[appengine-java] Re: Facebook/social website design problem

2010-05-18 Thread Tristan
What about doing this? Have your user activity object keep track of friends as well... So something like Class UserActivity { Key id; String statusMessage; Date time; User user; ListKey friends } Then when you want to display the wall, you just query all User Activity objects that have your

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-17 Thread Tristan
I've been able to multiput 2GB split into 500 entity batches on the dev server before. If it's breaking then this would be new. On May 17, 2:12 pm, Mouseclicker jens.h...@googlemail.com wrote: Hi, it seems that the put() in the datastore call with the Iterable parameter does not work as

[google-appengine] Re: Running a method infinitely

2010-05-08 Thread Tristan
you could probably chain tasks via task queue, but background processing is coming, waiting for that will probably be a better fit. On May 7, 7:53 am, sonam sonamsing...@gmail.com wrote: I am having a piece of code/method which runs continuously to stream from a server and stores data in

[google-appengine] Re: Per-domain data stores and selling our apps to people who use google domains...

2010-05-07 Thread Tristan
level as having multi-tenancy app in the first place. I like the idea, but I also feel that the ability to provide maintenance is essential, which requires trust anyway. Tristan On May 7, 6:47 am, bFlood bflood...@gmail.com wrote: this is a great idea, starred. right now we deploy our app

[google-appengine] Re: possible to automatic schedule runtime of apps?

2010-05-07 Thread Tristan
and return a app not in service page or something similar. This won't totally stop billing, but should reduce the cost if you implement it well. Tristan On May 7, 6:36 am, Tim Hoffman zutes...@gmail.com wrote: Nope Why don't you check the time on access and redirect to a static or simple page when

[google-appengine] Re: possible to automatic schedule runtime of apps?

2010-05-07 Thread Tristan
lol... i THOUGHT I read Tim's answer... yeah.. what he said :) On May 7, 8:38 am, Tristan tristan.slomin...@gmail.com wrote: you could minimize your expenses by having a cron task at those times respectively turning OFF and then turning back on some FLAG. Then if you have all your requests go

[google-appengine] Re: get lats updating date

2010-05-07 Thread Tristan
you could set a static variable when you upload your app. It'll be close enough? On May 6, 9:23 am, ikalbeniz txup...@gmail.com wrote: Hi, is there a way to get the last app updating date. I mean, i want to print in my app when my app wast last updated (uploaded with appcfg.py). I need to

[appengine-java] Re: This request caused a new process

2010-05-06 Thread Tristan
You can't avoid it. It's how App Engine decides to start new processes when it feels like it has to. In the future we will be able to reserve instances, that may solve the issue. On May 5, 8:50 am, Christian Goudreau goudreau.christ...@gmail.com wrote: This request caused a new process to be

Re: [appengine-java] Re: indexes

2010-05-04 Thread Tristan Slominski
to https://appengine.google.com/datastore/indexes, but I guess they must exist or my queries would be failing. On Apr 30, 2:16 pm, Tristan tristan.slomin...@gmail.com wrote: uhm... read the next section? http://code.google.com/appengine/docs/java/datastore/queriesandindexe... as far as indexes

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-04 Thread Tristan Slominski
On Tue, May 4, 2010 at 02:04, romesh soni soni.rom...@gmail.com wrote: Hi Tristan, Really appreciate the logic you suggested. But consider this case: There are only two intervals in db: x1 = 4 y1 = 70 and x2 = 71 y2 = 75. I want to search by 76. The 76 doesn't fall in any category

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-04 Thread Tristan Slominski
Sure, good luck. On May 4, 2010 9:03 AM, romesh soni soni.rom...@gmail.com wrote: Hey Tristan, Seems you have got it solved. Thanks. I think it should work for me without any issues. I will let you know once I implement it. You have a good logic man. Can I add you on Gmail? Thanks and Regards

[google-appengine] Re: Does GAE Java eclipse plugin simulate services like Memcache, Taskqueues?

2010-05-04 Thread Tristan
yes, they are simulated On May 3, 2:28 pm, Marc Hacker marc1hac...@gmail.com wrote: If not has anyone developed good simulators so that I can run the same code in development and in production? Thanks Marc -- You received this message because you are subscribed to the Google Groups

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread Tristan Slominski
Hey, so I've been thinking about the problem description... you mentioned that there will ever only be one solution for the query, but that doesn't seem like a valid constraint. For example, let x = 4 and y = 10, let x2 = 5 and y2 = 11. The value of z = 6 will result in two solutions. The reason

Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-03 Thread Tristan Slominski
a result of x2 you don't need property y does that work for you? On Mon, May 3, 2010 at 22:45, romesh soni soni.rom...@gmail.com wrote: Hi Tristan, You got a good catch. But the code which populates the data will never let this happen. If there is a pair x = 4 and y = 10

[appengine-java] Re: Datastore - entities with package names

2010-05-01 Thread Tristan
are you referring to JDO/JDA or low-level datastore? On Apr 30, 6:42 pm, madthanu madth...@gmail.com wrote: I have my entity class inside a seperate Java package, so the full class name of the entity is something like my.package.myEntity How do you use GQL to do a select when the class name

[appengine-java] Re: Efficient One to Many Relationship

2010-05-01 Thread Tristan
 am, Tristan tristan.slomin...@gmail.com wrote: what does it mean I'll get only the top 100 at any given time. ? How do you determine top ? On Apr 27, 9:19 pm, Pk prakash...@gmail.com wrote: Btw, I am not going to get all the isprocessed=true records at once. I'll get only the top

[appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-01 Thread Tristan
=1000 and field2=1000; Regards, Romesh.. On Sat, May 1, 2010 at 4:42 PM, Tristan tristan.slomin...@gmail.com wrote: Hey, So, there's no more 1000 query limitation, that went away (unless it was put back in). I see what you're saying though. Need to know more about what

[appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take

2010-04-27 Thread Tristan
be wrong. Cheers, Tristan On Apr 26, 10:44 pm, AndiMullaraj andimulla...@gmail.com wrote: Hi Ikai, where can I get a more specific response to this issue? I find it odd something like this would happen in first place (my app hangs for about 7 seconds awaiting for the process to fire up). I

[appengine-java] Re: Efficient One to Many Relationship

2010-04-27 Thread Tristan
1) yes, that should work just fine (at least in low-level datastore API it does) 2) your key should not be your security / accessibility mechanism, so yes, it should be fine (although using a Long id vs. keyAsString would be prettier). also, you want to make sure you restrict access to your

[appengine-java] Re: synchronous task queue support

2010-04-26 Thread Tristan
Yeah, I do this all the time the way MrSpandex (seriously? lol) does it. On Apr 26, 5:12 pm, MrSpandex pub...@brianhenk.com wrote: How about having task 1 queue task 2 and task 2 queuing task 3? On Apr 26, 5:53 pm, king kingalpha...@gmail.com wrote: Hi all, I encounter a queueing

[appengine-java] Re: ListString DB adds chars before string?

2010-04-24 Thread Tristan
This is a wild guess, but maybe it is an internal marker that means Unicode string. Do you have issues working with the string, or are you just looking through the datastore viewer? On Apr 24, 8:23 am, TiagoP pix...@gmail.com wrote: Hi, I have a field in my db which is a List of Strings. I

Re: [appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus t

2010-04-22 Thread Tristan Slominski
for it ? On Apr 22, 7:24 am, Tristan tristan.slomin...@gmail.com wrote: Is it possible to make it an INFO and not a WARNING? Should I start an issue? As a programmer, I really don't have any direct control over this. All the WARNINGS are just masking other important issues that should

[appengine-java] WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take long

2010-04-21 Thread Tristan
://code.google.com/appengine/docs/quotas.html for more details. I like it. Is this the expected behavior from now on? Tristan -- 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

[appengine-java] Re: Need a better way to set up my JDO entities

2010-04-21 Thread Tristan
I would denormalize your model and embed the rider in race history. That way there is no separate lookup and your query returns in 1s. You're doing the relational datastore technique of calculating on reads instead of the non-relational technique of preparing your data on the writes. On Apr 21,

[appengine-java] where is a secure place to put Java keystore for authentication?

2010-04-21 Thread Tristan
Hey, I stuck the keystore under an admin only directory but that's not working because normal users can't use the google data apis. Where is a secure place to put the keystore? Tristan -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take

2010-04-21 Thread Tristan
, we're rolling this out slowly with the 1.3.3 release to let developers know that some requests are slow because they are startup requests. On Wed, Apr 21, 2010 at 6:09 AM, Tristan tristan.slomin...@gmail.comwrote: Hey, I started seeing when a task queue starts now: WARNING: 200 OK

[google-appengine] Re: How to write entity key safely in a form?

2010-04-21 Thread Tristan
the goal entity should have a user's entity key that you get out of the session object on the server. when you then process 'complete' action, you should check first that the user's entity key in goal entity matches the one you got from server session. otherwise you're leaving yourself

[google-appengine] Re: How to write entity key safely in a form?

2010-04-21 Thread Tristan
. Unless there is a way to do a .put() on an pre-existing entity without first doing a .get()?  I didn't see anything in the docs corresponding to a SQL UPDATE statement, but if there is a way to do this I'd definitely like to know about it. Matt On Wed, Apr 21, 2010 at 10:18 PM, Tristan

[google-appengine] Re: Limiting Cron jobs by time of day

2010-04-18 Thread Tristan
off the top of my head.. you could define a cron job for every hour 9am, 10am, 11am, 12am with different names like job-9, job-10, job-11 but have them all point to the same url to initiate the cron job. On Apr 18, 11:24 pm, Greg Tracy greg.tr...@att.net wrote: Is there a syntax for cron jobs

[appengine-java] TransientFailureException

2010-04-12 Thread Tristan
: 235) Tristan -- 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

[appengine-java] Re: Any examples on how to use the data store low level Java API?

2010-04-12 Thread Tristan
, so you can compare these things... is there anything more specific you need? Tristan On Apr 9, 4:31 am, Fred Janon fja...@gmail.com wrote: Hi, Are there any examples on how to use the low level data store API, other than the short example on the Javadoc? Especially on how to use

[appengine-java] Re: Is it possible to convert a user defined String key to a unique Long?

2010-04-12 Thread Tristan
I know you want to keep emails as the unique identifier, but I've done it a few times, and every time I ended up going to Long as the identifier. The question that always comes up, what if the user changes their email? With that scenario, the pain of email as unique key became too great every

[appengine-java] com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call mail.Send() took too long to respond and was cancelled.

2010-04-07 Thread Tristan
to the customer and if there is a not-sent guarantee on cancelling the call, it would be nice to prevent duplicates. Cheers! Tristan -- 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

[appengine-java] Re: Is it possible to have collections of embedded objects?

2010-04-07 Thread Tristan
what do you mean by store a list of embedded objects? if you're storing in the datastore, you have to have a way to serialize whatever you got into one of the supported storable types. On Apr 7, 11:04 am, tempy fay...@gmail.com wrote: I have been dealing with lots of varying exceptions trying

[appengine-java] Re: Is it possible to have collections of embedded objects?

2010-04-07 Thread Tristan
... Do I understand you correctly, that to accomplish this I have to serialize Children into a Text value or something like that? On Apr 7, 7:40 pm, Tristan tristan.slomin...@gmail.com wrote: what do you mean by store a list of embedded objects? if you're storing in the datastore, you have

[appengine-java] Re: com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call mail.Send() took too long to respond and was cancelled.

2010-04-07 Thread Tristan
I guess this covers the question http://groups.google.com/group/google-appengine/browse_thread/thread/189eecd6021b1bb4/ed1025f01b47e101 On Apr 7, 12:37 pm, Tristan tristan.slomin...@gmail.com wrote: Hi, I get that ApiDeadlineExceededException happens sometimes, no problem (I am not exceeding

[appengine-java] Re: blobstoreService.getUploadedBlobs() returns null from deployed GAE app, but works in dev server

2010-04-04 Thread Tristan
Yeah. The HTML form works fine on both the dev server and the deployed app. -Tristan On Apr 3, 10:58 pm, Thomas mylee...@gmail.com wrote:     Did you turn the billing on? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] blobstoreService.getUploadedBlobs() returns null from deployed GAE app, but works in dev server

2010-04-03 Thread Tristan
); response.sendRedirect(BLOB_UPLOAD_REDIRECT + KeyFactory.keyToString(l.getKey())); } } Thanks, Tristan -- 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

[appengine-java] Re: Best way to perform search on DataStore - Design Question

2010-03-28 Thread Tristan
another way is to implement a full-text search yourself... implementing this would work: http://www.miislita.com/term-vector/term-vector-3.html (use tri-grams instead of full words as tokens) i would recommend low-level datastore api for that, also, your index term entities will blow up beyond

[appengine-java] Re: Async Datastore API

2010-03-20 Thread Tristan
to add a comment.. perhaps John, you could elaborate on what makeAsyncCall means in your code? and how is what you're asking for different? On Mar 20, 12:09 pm, Tristan tristan.slomin...@gmail.com wrote: i think there are already async datastore operations, although not yet documented. i'd love

[appengine-java] Re: Async Datastore API

2010-03-20 Thread Tristan
i read http://groups.google.com/group/google-appengine-java/browse_thread/thread/aafbeb679a6e6790/a26aebbe4d4cd0b2#a26aebbe4d4cd0b2, now i get the difference. I'm still curious where does method name come from? On Mar 20, 12:10 pm, Tristan tristan.slomin...@gmail.com wrote: to add a comment

[appengine-java] Re: How to query for parent key property of an entity's key?

2010-03-18 Thread Tristan
Something you may want to consider is that you are placing yourself within the limitations of entity groups by sticking children under parent keys. You may want to consider a model where the parent key is simply a field in the child and then run a simple query testing that the parentKey field is

[appengine-java] Re: Why do custom indexes require single-property indexes?

2010-03-18 Thread Tristan
Not official but been doing this for a while. Your custom index is most likely build from the query. So, when you do Query query = new Query(Thing); query.addFilter(foo, FilterOperator.EQUAL, fooValue); query.addSort(bar, SortDirection.DESCENDING); That is what builds

[appengine-java] Re: Why do custom indexes require single-property indexes?

2010-03-18 Thread Tristan
Ugorji, I don't know if they will support re-indexing things based on new index definition, however, I did put in an issue back in August 2009 to be able to create a custom index term on the fly. See if this would partially solve the issue (again, it doesn't address reindexing already put

[appengine-java] Re: Why do custom indexes require single-property indexes?

2010-03-18 Thread Tristan
Jeff, Sounds to me like you're correct in the not only don't set single- property indexes, but also don't include the property in any custom indexes interpretation of setUnindexedProperty. Can you post the link to the continuation post? I'm curious what Googlers have to say about it. Tristan

  1   2   >