Re: [google-appengine] Search Example: like "FOO*" or contains "FOO"

2010-08-14 Thread Jeff Schwartz
Here's some code I use to search for users whose names are like 'userid'. I am using Objectify but you can use the same technique in any language or orm supported by appengine: filter('userId >=', userName).filter('userId <', userName.toLowerCase()+"\ufffd") Jeff On Sat, Aug 14, 2010 at 3:06 PM,

Re: [google-appengine] Re: Total Data Stored number on Dashboard is fluctuating inexplicably

2010-08-16 Thread Jeff Schwartz
Are you doing a lot of writes and deletes? On Mon, Aug 16, 2010 at 5:08 PM, WeatherPhilip < philip-goo...@gladstonefamily.net> wrote: > I can believe the 20GB number as you get charged for the amount of > space used by indexes. However, Google will not add the space consumed > by indexes to the D

Re: [google-appengine] Tracking down soft memory limit errors.

2010-08-16 Thread Jeff Schwartz
it would probably help if you provided language, framework etc. On Mon, Aug 16, 2010 at 5:37 PM, Dave Peck wrote: > I have an app that regularly logs "critical" Soft Memory errors after > roughly 1k requests to a given process. > > I've looked at all the obvious potential causes (global variable

Re: [google-appengine] Federated login with User.user_id() or User.federated_identity()

2010-08-18 Thread Jeff Schwartz
On 8/15/10, Ben Wilber wrote: > Hello, > > I am using federated login for authentication. So far everything is > working and I can successfully auth against gmail, blogspot, launchpad > etc. The question I have is whether I should be using the > User.federated_identity or User.user_id values to

Re: [google-appengine] GQL -> Delete entries by ID

2010-08-18 Thread Jeff Schwartz
I don't use Python but... key ids are unique within entity groups so unless your entities are in entity groups you'd only have one with an id of 20. On Wed, Aug 18, 2010 at 8:33 AM, TZ wrote: > Hi. > I want to recode my python webapplication script because it should run > on the Google App Engi

Re: [google-appengine] Issues writing a resource (image) to the response stream

2010-08-18 Thread Jeff Schwartz
some server-side and client-side code might help On Tue, Aug 17, 2010 at 8:13 PM, JavierH wrote: > Hi ! > I was trying to upload images and showing them exactly in the way it's > described in http://code.google.com/appengine/kb/java.html#fileforms > > It seems like it works fine for small images

Re: [google-appengine] Better way to implement many-to-many relationship

2010-08-24 Thread Jeff Schwartz
I'd use a third entity type that would mimic a join between User & Community. Its model via java-like pseudo code would look like the following: class Join { long id // autogenerated key id User user; // you can use either a full key here or an id depending on if User's key id will always

Re: [google-appengine] Better way to implement many-to-many relationship

2010-08-24 Thread Jeff Schwartz
Yes, this requires 1 entity per join relationship between User & Community but the thinking shared by many is hard drive space is cheap. This would be a simple implementation using sql but alas no sql and thus you have to code this in a very flat manner. I've implemented similar use cases on appeng

Re: [google-appengine] Better way to implement many-to-many relationship

2010-08-24 Thread Jeff Schwartz
See my previous response about list properties. But yes, you could use them but then you'd have to shard them to reduce the opportunity of contention on updates. And the entities containing the list properties should be child entities so that you can obtain their parent entity without having to ser

Re: [google-appengine] Re: Are there any tool for viewing local db?

2010-08-24 Thread Jeff Schwartz
Speaking of which, can we expect anytime soon that the local admin will provide similar viewing and updating capabilities as production? Not being able to view unindexed entity properties and not being able to edit entities really reduces the utility of it. Jeff On Tue, Aug 24, 2010 at 3:26 PM, n

Re: [google-appengine] Re: Better way to implement many-to-many relationship

2010-08-25 Thread Jeff Schwartz
A key point to remember when modeling entities with list properties that are to be used as indexes to other entities is to model them as children in entity group relationships so that they can be used to retrieve their parent without having to actually be serialized themselves. Brett chose to mode

Re: [google-appengine] Re: Better way to implement many-to-many relationship

2010-08-25 Thread Jeff Schwartz
s and even give you some code that you can use in your own apps. Watch both of the videos on YouTube and then come back and asks more questions & I will be glad to answer them if I can. Jeff > > On Aug 25, 5:22 pm, Jeff Schwartz wrote: > > A key point to remember when modeling entities

Re: [google-appengine] Re: Retrying transactions

2010-08-26 Thread Jeff Schwartz
Thanks but I wasn't specifically asking about tasks but rather transactions in general. I'd like to know about retries, when they are done & when they aren't. I'd also like to know if there is any detailed documentation on the subject. On Thu, Aug 26, 2010 at 7:37 PM, Jan Z/ Hapara wrote: > FWIW

Re: [google-appengine] Re: Retrying transactions

2010-08-27 Thread Jeff Schwartz
> Not sure about Java, but they seem to keep things more-or-less consistent. > > Robert > > > > > > > > On Thu, Aug 26, 2010 at 23:41, Jeff Schwartz > wrote: > > Thanks but I wasn't specifically asking about tasks but rather > transactions >

[google-appengine] Your Suggestions & Comments on Cascading Deletes Across Potentially Thousands of Entities

2010-08-27 Thread Jeff Schwartz
Hi all, I'm developing an application that has the following datastore models: StatusUpdate - members' distributed status StatusUpdateLike - members can mark a StatusUpdate as liked StatusUpdateLikeCounter - counter of # of members who like a StatusUpdate DistributionIndex - has a list property o

Re: [google-appengine] Re: I keep getting "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 unex

2010-08-30 Thread Jeff Schwartz
While what you say is true, Tim, memcache is not always the proper persistence layer or solution for solving these problems. If the processing that is exceeding quota is geared towards all users then yes, memcache can be helpful but if the processing is user specific then session state is the bette

Re: [google-appengine] App Engine SDK 1.3.7 bugfix release

2010-08-31 Thread Jeff Schwartz
Is the Eclipse Google Plugin going to be updated with the latest libraries as well? I noticed that it still references v1.3.6. On Mon, Aug 30, 2010 at 7:12 PM, Ikai L (Google) wrote: > Hey everyone, > > I just wanted to let you all know that we're releasing a bugfix release, > 1.3.7. You can see

Re: [google-appengine] Datastore StringList or multiple rows?

2010-08-31 Thread Jeff Schwartz
A list property's size is limited to 5000. If you only want to know if a user has visited a page, you can use the first model & query it returning only keys to avoid list serialization issues. In addition, key only queries are very fast. Additionally, if your Page model's key had a string name th

Re: [google-appengine] Re: Datastore StringList or multiple rows?

2010-09-01 Thread Jeff Schwartz
gt; serialization. > We can fan out by adding multiple PageIndex, if reaches 5000 max. > > Is this about right? > > Thanks > Jon > > > On Aug 31, 9:34 am, Jeff Schwartz wrote: > > A list property's size is limited to 5000. > > > > If you only want

Re: [google-appengine] Re: Deleting entities

2010-09-01 Thread Jeff Schwartz
If you need more data from an entity than you can glean from its key prior to deleting it then retrieving the entity is ok but if you just need to delete it deleting it by key is much more efficient because there are no serialization costs as everything is done at the index level. On Wed, Sep 1, 2

Re: [google-appengine] Re: Static Images not fully loading.

2010-09-04 Thread Jeff Schwartz
I am only guessing as you haven't provided the markup for your issue. However, this could happen if say you were to enclose an img tag within a containing div whose height is smaller than the height of your image. There could be other issues with your markup as well. If you could provide a sample i

Re: [google-appengine] objectify-2.2.1 with GAE-1.3.6

2010-09-04 Thread Jeff Schwartz
I believe you should try posting your question at objectify-appeng...@googlegroups.com. On Sat, Sep 4, 2010 at 4:23 PM, Duong BaTien wrote: > Hi: > > I upgrade to Objectify-2.1.1 with GAE-1.3.6 and retest the guestbook > tutorial. I get the exception while persisting the greeting object to > the

Re: [google-appengine] scheduled maintenance

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:52 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > On Sat, Sep 4, 2010 at 1:44 AM, Henrik Schack wrote: > >> Hi >> Is there a way to make the SDK behav

Re: [google-appengine] Memcache simultaneous set/get druring concurrent (ajax get)/(file uploading post)

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:51 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > On Sat, Sep 4, 2010 at 11:52 PM, Cluster wrote: > >> Hello, ALL. I m trying to make kindo progress b

Re: [google-appengine] Serving Url - invalid crop size valid in production?

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:52 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > On Sat, Sep 4, 2010 at 12:30 AM, Peter Liu wrote: > >> Using the latest high performance image servi

Re: [google-appengine] Uploading 1100 files...

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:49 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > 2010/9/5 Jaroslav Záruba > > Uploading my GWT-application to GAE takes eons lately. For instance, it

Re: [google-appengine] Inheritance

2010-09-05 Thread Jeff Schwartz
He dick head, enough already. Somebody please filter this jerk off the list please. On Sun, Sep 5, 2010 at 10:52 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > On Sat, Sep 4, 2010 at 9:06 PM, lisandro wrote: > >> Hi! >

Re: [google-appengine] Re: Internal Server Error when "admin" is on

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:36 PM, Ehsan- ul-haq wrote: > > hi you may upload your error with video details on http://pmedia4u.com its > free and provide you a 1GB limits > > > > > > > > > On Mon, Sep 6, 2010 at 4:00 AM, Rafael Sierra wrote: > >> >> >> On

Re: [google-appengine] Web Service

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:51 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > On Fri, Sep 3, 2010 at 12:14 PM, Tsolmon Narantsogt wrote: > >> Hi Everyone >> >> How to create web s

Re: [google-appengine] how to use Fedrated Login for my google apps Engine

2010-09-05 Thread Jeff Schwartz
Please filter this dick head off the list. On Sun, Sep 5, 2010 at 10:33 PM, Ehsan- ul-haq wrote: > thanks for reply ,, > > but actually what i need > > i need to provide a login interface where @gmail.com and @ubob.org both > can login > > i done @gmail but confuse in how to use this with @ubob.

Re: [google-appengine] Re: image retrieval from datastore in form of thumbnail

2010-09-05 Thread Jeff Schwartz
Please filter this dick head off the list. On Sun, Sep 5, 2010 at 10:29 PM, Ehsan- ul-haq wrote: > hi > > you may upload your error with video details on > > http://pmedia4u.com > > its free and provide you 1GB limits > > > On Sat, Sep 4, 2010 at 12:08 AM, timwhunt wrote: > >> You should check

Re: [google-appengine] App Engine for Busisness

2010-09-05 Thread Jeff Schwartz
Please filter this dick head off the list. On Sun, Sep 5, 2010 at 10:29 PM, Ehsan- ul-haq wrote: > hi > > you may upload your error with video details on > > http://pmedia4u.com > > its free and provide you 1GB limits > > > > On Fri, Sep 3, 2010 at 2:12 PM, Ben Chung wrote: > >> Hi, App Engine

Re: [google-appengine] YAML static_files or static_dir and nonexistent files problem

2010-09-05 Thread Jeff Schwartz
Please filter this dick head off the list. On Sun, Sep 5, 2010 at 10:37 PM, Ehsan- ul-haq wrote: > > hi you may upload your error with video details on http://pmedia4u.com its > free and provide you a 1GB limits > > > > > On Mon, Sep 6, 2010 at 1:38 AM, Ronald Lew wrote: > >> I have an images s

Re: [google-appengine] Re: Datastore viewer query by key.

2010-09-05 Thread Jeff Schwartz
Please filter this dick head off the list. 2010/9/5 Ehsan- ul-haq > hi > > you may upload your error with video details on > > http://pmedia4u.com > > its free and provide you 1GB limits > > > > > > > Ehsan-ul-haq > > > On Fri, Sep 3, 2010 at 4:57 PM, Nick Johnson (Google) < > nick.john...@googl

Re: [google-appengine] How to build a keyword search application

2010-09-05 Thread Jeff Schwartz
Please filter the butt head off the list. On Sun, Sep 5, 2010 at 10:51 PM, Ehsan- ul-haq wrote: > hi you may upload your videos on http://pmedia4u.com its free and provide > you a 1GB limits > > On Sat, Sep 4, 2010 at 10:08 AM, nischalshetty > wrote: > >> Hi, >> >> I'll list what I'm planning t

Re: [google-appengine] App Engine for Busisness

2010-09-06 Thread Jeff Schwartz
Hi Nick. I am very encourage by your responses to Ben, specifically regarding increasing all these limits across the board and not just for business customers. Can you say when Google will announce their intentions regarding the specifics of these pending changes? It would be very beneficial to kno

Re: [google-appengine] App Engine for Busisness

2010-09-06 Thread Jeff Schwartz
ine, so we can't > provide a concrete estimate of when we're likely to make them available. > > -Nick Johnson > > On Mon, Sep 6, 2010 at 3:47 PM, Jeff Schwartz wrote: > >> Hi Nick. I am very encourage by your responses to Ben, specifically >> regarding increas

Re: [google-appengine] App Engine for Busisness

2010-09-06 Thread Jeff Schwartz
Hi Nick. Yes, I intend to shard as much as possible and to create small, efficient tasks :) Thanks again. Jeff On Mon, Sep 6, 2010 at 12:07 PM, Nick Johnson (Google) < nick.john...@google.com> wrote: > Hi Jeff, > > On Mon, Sep 6, 2010 at 5:00 PM, Jeff Schwartz wrote: > >

Re: [google-appengine] App Engine for Busisness

2010-09-06 Thread Jeff Schwartz
handle too? If you somehow miss sending, or > send duplicates to 50 people that would be a lot better than 1,000 > people, right? > > > Robert > > > > > > > On Mon, Sep 6, 2010 at 12:00, Jeff Schwartz > wrote: > > Hi Nick. Thank you for your offer.

[google-appengine] Getting frequent App Engine serving cluster is under unexpectedly high or uneven load errors

2010-09-06 Thread Jeff Schwartz
Hi. I am seeing a lot of these errors lately. For example: 1. 1. 09-06 08:09AM 29.858 /renderthumbnailimage.groovy?urlid=1 500 10071ms 0cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C),gz

Re: [google-appengine] Re: Inheritance

2010-09-06 Thread Jeff Schwartz
t the attention of someone on the appengine group to kill this guy on their server, that' all. I believe my goal has been met. Jeff On Mon, Sep 6, 2010 at 4:47 PM, Geoffrey Spear wrote: > > > On Sep 6, 12:07 am, Jeff Schwartz wrote: > > He dick head, enough already. Somebody please

[google-appengine] Index build stuck & Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-09 Thread Jeff Schwartz
I have 1 index that was building for quite a while though there was no data associated with the index. When I clicked on the Datastore Indexes link in the admin console I am directed to a error page that says: Server Error (500) A server error has occurred. Return to Applications screen »

Re: [google-appengine] Index build stuck & Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-09 Thread Jeff Schwartz
> The indexes all look to be serving to me. > > On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz wrote: > >> I have 1 index that was building for quite a while though there was no >> data associated with the index. When I clicked on the Datastore Indexes link >> in the admin co

[google-appengine] Question about sort order on id on entities of the same kind but having different parents

2010-09-09 Thread Jeff Schwartz
Hi All, I think I know the answer to this but I'd like someone from the app engine team to provide a definitive answer if possible. When querying on a single entity type where the result set contains instances of entities that are children of different parents (thus belonging to different entity g

Re: [google-appengine] Question about sort order on id on entities of the same kind but having different parents

2010-09-10 Thread Jeff Schwartz
ohnson > > On Fri, Sep 10, 2010 at 3:25 AM, Jeff Schwartz wrote: > >> Hi All, >> >> I think I know the answer to this but I'd like someone from the app engine >> team to provide a definitive answer if possible. When querying on a single >> entity type wh

Re: [google-appengine] Question about sort order on id on entities of the same kind but having different parents

2010-09-10 Thread Jeff Schwartz
, Sep 10, 2010 at 5:21 PM, Jeff Schwartz wrote: > >> High Nick. Thank you and that's what I thought but lets say all the >> entities have the same parent or all of them have no parents then aren't you >> able to order descending on their ids to reverse the sort order?

Re: [google-appengine] Index build stuck & Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-10 Thread Jeff Schwartz
> will be delayed forever? *rubs hands together for Computer Science fun* > > > On Thu, Sep 9, 2010 at 7:11 PM, Jeff Schwartz wrote: > >> Soon after I posted the issue it was fixed. I don't know how or by whom >> but somehow it got resolved. I waited a few hours for the i

Re: [google-appengine] Index build stuck & Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-10 Thread Jeff Schwartz
>> apps with no data ahead of apps with a lot of data, since they are >> essentially no-ops. Of course, one wonders if this means large index builds >> will be delayed forever? *rubs hands together for Computer Science fun* >> >> >> On Thu, Sep 9, 2010 at 7:11

Re: [google-appengine] Re: Question about sort order on id on entities of the same kind but having different parents

2010-09-10 Thread Jeff Schwartz
nd ordering was restored to descending on their keys. Thank you & to all who have contributed to this thread. Jeff On Fri, Sep 10, 2010 at 8:19 PM, Geoffrey Spear wrote: > > > On Sep 10, 1:09 pm, Jeff Schwartz wrote: > > Thank you, Nick. What about applying a filter in these cases

Re: [google-appengine] Is this allowed?

2010-09-10 Thread Jeff Schwartz
No soup for you. Come back in 1 year! There are quite a few apps providing services via rest/soap on appengine already so it should be ok but I think Google would better serve the community at large by officially elaborating on this in their tos. On Fri, Sep 10, 2010 at 7:45 PM, David Hewitson wr

Re: [google-appengine] Re: Should I switch to the low level datastore api?

2010-09-10 Thread Jeff Schwartz
I am also using Objectify having switched from the low level api because I wanted to codify my schemas (records) in pojos. I have to say that I am very happy with both its api and performance. And the Objectify commiters are really a nice bunch and very responsive when having posted to their board.

Re: [google-appengine] Re: Should I switch to the low level datastore api?

2010-09-11 Thread Jeff Schwartz
nd > it works for me at version 2.2. I start from GAE sample guestbook and > build from there up with Objectify rather than with JDO. I have some > issue with version 2.2.1 and do not have enough time to dig into it. > > Thanks. > > Duong BaTien > DBGROUPS and BudhNet > &

[google-appengine] Rolling back the update. java.lang.RuntimeException: Version not ready.

2010-09-12 Thread Jeff Schwartz
Unable to upload new version. Google App Engine System Status page indicates everything ok. Is there an issue? Creating staging directory Scanning for jsp files. Scanning files on local disk. Scanned 250 files. Scanned 500 files. Initiating update. Cloning 126 static files. Cloned 100 files. Cloni

Re: [google-appengine] Re: Please Stop Throttling my App!

2010-09-15 Thread Jeff Schwartz
+1 and a whole lot more :( While it is all our goals to produce efficient applications that can be scaled out, the platform itself has to be usable &, might I add, enforce ceilings that don't choke the life out of even the simplest of processes. In that regard I'd be willing to give up a little bi

Re: [google-appengine] Re: Twitter issues

2010-09-28 Thread Jeff Schwartz
So Twitter has blacklisted requests from App Engine? Why? Is it because there are apps that aren't playing by the rules that Twitter has laid out and which are causing problems on their network? Perhaps if these issues could be made public app authors would be able to provide a measure of complianc

Re: [google-appengine] Little appengine component running

2010-09-28 Thread Jeff Schwartz
Democracy in action... even if it comes from across the pond :) Very cool! Jeff On Tue, Sep 28, 2010 at 9:40 AM, Grant wrote: > In case anyone is interested... > > We have a component powered by Appengine running on one of our pages > at the moment. > > It gives 'Live feedback' as to public opi

Re: [google-appengine] Errors when serving images from Blobstore

2010-09-28 Thread Jeff Schwartz
just worked for me. On Tue, Sep 28, 2010 at 5:53 AM, Henric Persson wrote: > Hi, > > Are we the only ones having problems serving stuff from the blobstore? > We keep getting 500 errors. Here's an example of an image URL that > doesn't work: > > http://lh6.ggpht.com/86HkICOjOcqV7zNkBv49DBa2yeVEnEI

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

2010-10-06 Thread Jeff Schwartz
+1 Indeed, quite disconcerting. On Wed, Oct 6, 2010 at 8:01 AM, Tom Wu wrote: > +1 > > 2010/10/6 Greg > >> On Oct 6, 1:28 pm, "Ikai Lan (Google)" >> >> > >> >> wrote: >> > - The developer who uploaded an app version can download that version's >> code >> > using the appcfg.py download_app

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

2010-10-06 Thread Jeff Schwartz
Thank you, Ikai. On Wed, Oct 6, 2010 at 7:04 PM, Ikai Lan (Google) > wrote: > Well, there were always workarounds to download the code. > > That being said, I'm glad we discussed this during the prerelease SDK > stage, especially since many of the voices in this thread are the most > active and

Re: [google-appengine] Re: Better support for linux

2010-10-07 Thread Jeff Schwartz
I often switch between Ubuntu & Windows & I would also like to see Google make Ubuntu (Linux) be an equal player. Jeff On Thu, Oct 7, 2010 at 2:20 AM, Niklasro wrote: > If education, isn't changing other project more pedagocical than > starting a empty project? I think we learn the most from ch

Re: [google-appengine] Easy way to agregate query language functions?

2010-10-07 Thread Jeff Schwartz
IMO you should maintain a separate set of entities (sharded) for any aggregate type of information that you wish to maintain. See Google 2009 YouTube video for info on sharded counters - sorry I don't have the url at hand but it is easy to find via Google search. Also, stay away from count method

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

2010-10-07 Thread Jeff Schwartz
Get github, google code or something similar... Even at $7 a month for closed archives GitHub is a steal. Just the peace of mind makes it a bargain. On Thu, Oct 7, 2010 at 1:04 PM, Ikai Lan (Google) > wrote: > By "user-configurable" I mean "opt-in", not "opt-out". > > > -- > Ikai Lan > Developer

Re: [google-appengine] Re: How to get some value from JavaScript to Python?

2010-10-08 Thread Jeff Schwartz
Use ajax with the jsonp data type which is specific to cross site scripting. On Fri, Oct 8, 2010 at 5:44 AM, LA_ wrote: > all, would appreciate your help ;) > > On Oct 8, 12:50 am, LA_ wrote: > > My GAE-application (let's say example.appspot.com) works in iframe of > > one site (let's say examp

[google-appengine] Task Having Access To User's Session

2010-10-08 Thread Jeff Schwartz
I need to develop a task that can access a user's session to obtain a list of objects. Is this possible within a task meaning do tasks know about Session state and are they tied to the session of the user from which they are called? If not, can I somehow pass the user's session via the payload or i

Re: [google-appengine] Re: Task Having Access To User's Session

2010-10-09 Thread Jeff Schwartz
oad > > Rgds > > T > > On Oct 9, 2:48 am, Jeff Schwartz wrote: > > I need to develop a task that can access a user's session to obtain a > list > > of objects. Is this possible within a task meaning do tasks know about > > Session state and are they tied t

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

2010-10-09 Thread Jeff Schwartz
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.

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

2010-10-10 Thread Jeff Schwartz
ou 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 Sch

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 'tr

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

[google-appengine] Re: High Latency Issues

2010-10-10 Thread Jeff Schwartz
ystem & 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 wrote: > I am experiencing very high latency issues t

[google-appengine] Re: High Latency Issues

2010-10-11 Thread Jeff Schwartz
It has been almost 1 day since I posted this to the group & I am very disappointed that in that time I haven't received even 1 response from the Google Team. I am very disappointed to say the least and that's putting it mildly. I know this is a holiday weekend here in the State but c'mon, guys, pl

Re: [google-appengine] Auto generated Key ids - Incrementing in 1000s to 10000s!

2010-10-11 Thread Jeff Schwartz
Generated key ids are not monotonic, only unique per entity group. If you requirements are for monotonic ids you will have to generate your own id values using a query to obtain the max value for your entity type, increment it by 1 and using that value for your id. You can combine this with memcach

Re: [google-appengine] Re: High Latency Issues

2010-10-11 Thread Jeff Schwartz
rote: > What I worry about is if I provide (and charge) for application in > Apps Marketplace and my customer will receive poor service they are > going to blame me not Google... Very risky.. Something must be done. > > On Oct 11, 1:44 pm, Jeff Schwartz wrote: > >

Re: [google-appengine] Re: High Latency Issues

2010-10-11 Thread Jeff Schwartz
Here is an example of my logs: 1) 10-11 08:08AM 05.539 /account.groovy 200 218ms 265cpu_ms 13api_cpu_ms 2kb Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0C),gzip(gfe) 2) 10-11 08:07AM 59.775 /account.groovy 200 2401ms 1976cpu

Re: [google-appengine] Re: High Latency Issues

2010-10-11 Thread Jeff Schwartz
r your application, and > thus caused your application code to be loaded for the first time. This > request may thus take longer and use more CPU than a typical request for > your application." > > On Mon, Oct 11, 2010 at 12:19 PM, Jeff Schwartz > wrote: > >> Here is a

Re: [google-appengine] Re: High Latency Issues

2010-10-11 Thread Jeff Schwartz
started for your application, > and > > thus caused your application code to be loaded for the first time. This > > request may thus take longer and use more CPU than a typical request for > > your application." > > > > On Mon, Oct 11, 2010 at 12:19 PM, Je

Re: [google-appengine] index [X, X, X, Y, Z] built failed and always be resulted in "Error" state

2010-10-12 Thread Jeff Schwartz
Hi Nick. It doesn't appear from the orignal poster's example that even if he had 5000 entries (the max) in his list property that that would cause an exploding index. Can you elaborate. On Tue, Oct 12, 2010 at 10:59 AM, Nick Johnson (Google) < nick.john...@google.com> wrote: > Hi Eric, > > This

Re: [google-appengine] index [X, X, X, Y, Z] built failed and always be resulted in "Error" state

2010-10-12 Thread Jeff Schwartz
is the > number of repeats in the index. > > -Nick Johnson > > > On Tue, Oct 12, 2010 at 4:18 PM, Jeff Schwartz wrote: > >> Hi Nick. It doesn't appear from the orignal poster's example that even if >> he had 5000 entries (the max) in his list property that t

Re: [google-appengine] index [X, X, X, Y, Z] built failed and always be resulted in "Error" state

2010-10-12 Thread Jeff Schwartz
10 at 11:41 AM, Nick Johnson (Google) < nick.john...@google.com> wrote: > Hi Jeff, > > On Tue, Oct 12, 2010 at 4:32 PM, Jeff Schwartz wrote: > >> Hi Nick, >> >> From the docs at >> http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Bi

Re: [google-appengine] index [X, X, X, Y, Z] built failed and always be resulted in "Error" state

2010-10-12 Thread Jeff Schwartz
> 7-B-C > 7-C-C > > The issue is NOT from one multiple valued (ie ListProperty) being in a > compound index once, but rather from one or more multiple valued > properties appearing more than one time in the same compound index. > > > > > Robert > > > >

Re: [google-appengine] SDK 1.3.8 released!

2010-10-15 Thread Jeff Schwartz
Excellent news! Has the Eclipse plugin also been updated with the latest SDK? Jeff On Thu, Oct 14, 2010 at 11:44 PM, Takashi Matsuo wrote: > Hello App Engine Developers! > > We're very happy to announce that SDK 1.3.8 is released today. There > are many new cool features, so please download the

Re: [google-appengine] Announcing the Matcher API for Trusted Testers

2010-10-19 Thread Jeff Schwartz
Sounds great. Any plans for Java support for this api? Please say YES :) Jeff On Tue, Oct 19, 2010 at 8:10 PM, Ikai Lan (Google) > wrote: > Hey everyone, > > I wanted to announce that we are accepting signups for trusted testers for > the Python Matcher API, which is available for local testing

Re: [google-appengine] Re: Quota numbers seem wrong

2010-10-19 Thread Jeff Schwartz
I am testing a new app in production and it sent out 1 email but the admin screen showed that 20 emails had been sent out. I know it was only 1 email that was actually sent because it is done in a task and the task was only executed once. 1/20, that's not good :) Any ideas on why this number is s

Re: [google-appengine] Re: Quota numbers seem wrong

2010-10-20 Thread Jeff Schwartz
com/app_engine > > > > On Tue, Oct 19, 2010 at 5:19 PM, Jeff Schwartz wrote: > >> I am testing a new app in production and it sent out 1 email but the admin >> screen showed that 20 emails had been sent out. I know it was only 1 email >> that was actually sent because

Re: [google-appengine] Re: Getting Model Size

2010-10-30 Thread Jeff Schwartz
How many entities were there when the batch put failed? Was it the size of the entities or the number of entities that caused the batch put to fail? Jeff On Sat, Oct 30, 2010 at 8:39 AM, Stephen wrote: > > > On Oct 29, 6:24 pm, Joshua Smith wrote: > > I'm running into a too-large exception wh

Re: [google-appengine] Re: Getting Model Size

2010-10-30 Thread Jeff Schwartz
>From Joshua's original post it doesn't appear to be related to rpc issues but instead to the limitation either on the number of entities that can be batched in a put api call or the total size of either all or any one of the entities that were part of the batch put call. Jeff On Sat, Oct 30, 201

Re: [google-appengine] Re: Getting Model Size

2010-10-30 Thread Jeff Schwartz
either where or how it was created in your workflow. Jeff On Sat, Oct 30, 2010 at 1:10 PM, Joshua Smith wrote: > It was a lot of big entities. The exception said it was the size, not the > quantity. > > On Oct 30, 2010, at 9:51 AM, Jeff Schwartz wrote: > > How many entities w

Re: [google-appengine] Re: Getting Model Size

2010-10-30 Thread Jeff Schwartz
to do these > puts optimally. > > For now, I've added a .size() method to my model, which generates an > over-estimate using some heuristics. But that's a hack, and this really > should happen under the covers. > > -Joshua > > On Oct 30, 2010, at 1:54 PM, Jeff Schw

Re: [google-appengine] Re: Getting Model Size

2010-10-31 Thread Jeff Schwartz
cient way to find out how big an entity is >> going to be when crossing the API transom, so there is no way to do these >> puts optimally. >> >> For now, I've added a .size() method to my model, which generates an >> over-estimate using some heuristics. But that's

Re: [google-appengine] how to upload a csv file, parse it, and save in the data model

2010-10-31 Thread Jeff Schwartz
I am not a Python person but you said the file was 'comma' separated yet it looks like (again, I am not a Python person) you are using tab instead of comma to split your input. On Sun, Oct 31, 2010 at 2:29 PM, He Jibo wrote: > Hi, Can someone teach me how to parse a file uploaded to GAE? > > I a

Re: [google-appengine] how to upload a csv file, parse it, and save in the data model

2010-10-31 Thread Jeff Schwartz
> > self.response.out.write(template.render(path,{'description':'fileupload'})) > > > > --- > He Jibo > Department of Psychology, > Beckman Institute for Advanced Science and Technology > University of Illinois, Urbana Cham

Re: [google-appengine] Index problem with GAE for Java

2010-11-09 Thread Jeff Schwartz
Code? On Mon, Nov 8, 2010 at 11:46 PM, Rmac wrote: > Hi, > > I am struggling with getting a query to work that has a simple > equality condition on one property in the where clause and one sort by > on another property. GAE responds with a "no matching index found" > error along with the index

Re: [google-appengine] Index problem with GAE for Java

2010-11-09 Thread Jeff Schwartz
Try: select * from HospitalData where Version = '1' order by Hospital_Name asc Jeff On Tue, Nov 9, 2010 at 11:16 AM, Rmac wrote: > Thanks Jeff... here you go... > > *The string query supplied to the Query: * > > select from myPackage.HospitalData where Version == '1' order by > Hospital_Name

Re: [google-appengine] Re: Index problem with GAE for Java

2010-11-09 Thread Jeff Schwartz
ook into replacing it with a datastore centric ORM. I personally use Objectify & I swear by it. Jeff On Tue, Nov 9, 2010 at 2:30 PM, Rmac wrote: > Nope, that throws a different error: Identifier expected at character > 1 in "*" > > On Nov 9, 10:43 am, Jeff Schwartz wrote

Re: [google-appengine] Re: Index problem with GAE for Java

2010-11-10 Thread Jeff Schwartz
rating that something so simple can be so difficult. > > Thanks for your ideas. > > > > On Nov 9, 1:59 pm, Jeff Schwartz wrote: > > Should have asked what language you are using (Java or Python) as well > as > > if you are using jdo/jpa etc. > > > > The en

Re: [google-appengine] Re: Bulk data deletion woe

2010-11-14 Thread Jeff Schwartz
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 En

Re: [google-appengine] Re: deploy failures

2010-11-17 Thread Jeff Schwartz
g the input stream for / > > > home/erik/workspace/wikihop/war/WEB-INF/web.xml > > > Caused by: Connection timed out > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > T

Re: [google-appengine] Polymodels - immutable or mutable?

2010-11-28 Thread Jeff Schwartz
is 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. > -- *Jeff Schwartz* -- Yo

Re: [google-appengine] Polymodels - immutable or mutable?

2010-11-28 Thread Jeff Schwartz
nd email to > google-appengine+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups "Google

Re: [google-appengine] Re: Version 1.4.0 is out!

2010-12-02 Thread Jeff Schwartz
ist has been updated to include all classes from >> javax.xml.soap. >> - Fixed an issue sending email to multiple recipients. >> http://code.google.com/p/googleappengine/issues/detail?id=1623 >> - Revert the default logging level during GWT hosted mode back to INFO. >

  1   2   3   >