[google-appengine] Re: implementing a chat system (push functionality?)

2009-04-02 Thread José Oliver Segura
On Thu, Apr 2, 2009 at 6:13 AM, ryandscott wrote: > > I'm wondering what the best way to implement a chat system would be. > Currently, I have a javascript timer that goes off every x seconds to > query the database and return the list of chats. I keep my list to a > certain number of chats, but

[google-appengine] Re: Gql integration issue

2008-10-15 Thread José Oliver Segura
On Wed, Oct 15, 2008 at 5:21 PM, Gampesh <[EMAIL PROTECTED]> wrote: > Thanks for the reply > > one more thing on this id i used to execute SELECT query then it is working > fine but once i gave WHERE clause to the SELECT queary then it wont show any > record and not even ERROR. Maybe you d

[google-appengine] Re: Gql integration issue

2008-10-15 Thread José Oliver Segura
On Wed, Oct 15, 2008 at 4:33 PM, Gampesh <[EMAIL PROTECTED]> wrote: > Thanks for the reply Wooble , > > But if i wanted to do UPDATE, SEARCH and DELETE operation,could you please > guide me on this what should i do for that.. Well, "Select" is a SEARCH. Update/Delete are not performed by GQL, bu

[google-appengine] Re: Any Site in Production Use ?

2008-10-06 Thread José Oliver Segura
On Mon, Oct 6, 2008 at 4:48 PM, Feris Thia <[EMAIL PROTECTED]> wrote: >... >> What are the 3 fields? Are they indexed? > > No, they are not indexed. The model is Feris with 2 String and 1 Datetime > field as showed above. Sorry to ask, maybe my question is very stupid but... doesnt't GAE i

[google-appengine] Re: Retrieving More than 1000 entities

2008-10-03 Thread José Oliver Segura
On Fri, Oct 3, 2008 at 5:36 AM, Venkatesh Rangarajan <[EMAIL PROTECTED]> wrote: > Theo, > > that will not work. It will aways get the same 1000..and the only thing > offset does is get 1 to 100 or 100 to 200. > > Tony : Well, i have a simple search > http://payrate.appspot.com/infosys_salary > > T

[google-appengine] Re: Long key_name design question?

2008-10-02 Thread José Oliver Segura
2008/10/2 Tony Arkles <[EMAIL PROTECTED]>: > > I don't think that'll help. :( > > I'm trying to ensure uniqueness... so if two people try to add the > same URL, there will only be one entry in the datastore. I don't > think there's any guarantee that tinyurl/etc would provide that > uniqueness co

[google-appengine] Re: unsupported operand type(s) for +=: 'NoneType' and 'int'

2008-10-02 Thread José Oliver Segura
On Thu, Oct 2, 2008 at 8:31 AM, GMan <[EMAIL PROTECTED]> wrote: > > I am scratching my head at this seemingly simple problem. All I want > to do is: > 1) Take the value of a db.IntegerProperty > 2) increment it using a local variable > 3) Save the local variable back to the IntegerProperty > > cl

[google-appengine] Re: filter based on Child Entity

2008-09-18 Thread José Oliver Segura
why not adding a ListProperty to Author which holds the list of genres for that author? Of course, you need to keep it updated in each Create/Update/Delete of books associated with that author, but it would allow you to query just for author.favgenre='sci-fi'. Maybe it looks strange coming

[google-appengine] Re: Query filter based on the Longitude attribute of a db.GeoPt property

2008-09-09 Thread José Oliver Segura
On Tue, Sep 9, 2008 at 8:57 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I've got a better solution than geohashing. > > I break down the grid into sub-degree squares by truncating after the > first decimal point, and then when I save something that I need to > find on the map later, I sav