[google-appengine] Re: Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Wow, thanks.  And yes, I've starred it.

On Aug 27, 5:19 pm, Robert Kluin  wrote:
> Probably indexes.
>
> Star this issue:http://code.google.com/p/googleappengine/issues/detail?id=2740
>
> Robert
>
>
>
>
>
>
>
> On Fri, Aug 27, 2010 at 17:06, fedex1  wrote:
> > Sorry.  I meant 1.15 Gigs.
>
> > On Aug 27, 4:59 pm, fedex1  wrote:
> >> Hi Eli,
>
> >> Thanks. After looking at it more, I understand and agree with you.
> >> The "Quota Details" page is a little confusing since it does not
> >> mention that 1 Gig is the free quota and 40 is the paid quota.
>
> >> I looked at the Datastore Statistics for this application and it says:
> >> Size of all entities    278 MBytes
>
> >> Do you know where the 2.15 Gigs is being counted from?
>
> >> Thanks again.
>
> >> On Aug 27, 4:25 pm, Eli Jones  wrote:
>
> >> > 1GB of data storage is free.
>
> >> > Any data store usage above 1GB but less than 41GB (the max storage is
> >> > something you can set when you configure your Billing Settings) will be
> >> > billed to you.
>
> >> > If you look at your billing report, it states that Used = 1.15, Free = 
> >> > 1.00,
> >> > and Billable = 0.15.
>
> >> > On Fri, Aug 27, 2010 at 4:16 PM, fedex1  wrote:
> >> > > Hi,
>
> >> > > What is the app engine limit for "stored data"?  It appears to be 41
> >> > > Gigs according to the Quota Details page
> >> > > But the billing report shows that the limit is 1 Gig.
>
> >> > > I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
> >> > > clear this up.  Maybe there are different interpretations of storage.
> >> > > But is this Datastore storage?  log storage?  what data is the 41 Gig
> >> > > limit for and what data is the 1 Gig limit for.
>
> >> > > Thanks,
> >> > > Ralph
>
> >> > > Billing Report:
> >> > > Resource        Used    Free    Billable        Charge
> >> > > Stored Data:
> >> > > $0.005/GByte-day        1.15    1.00    0.15    $0.01
>
> >> > > Quote Details Page:
> >> > > Total Stored Data                5%      1.91 of 41.00 GBytes    Okay
>
> >> > > app_id=race-results
>
> >> > > --
> >> > > 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-appengine+unsubscr...@googlegroups.com >> > >  e...@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 Engine" group.
> > To post to this 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 
> > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread Robert Kluin
Probably indexes.

Star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=2740



Robert






On Fri, Aug 27, 2010 at 17:06, fedex1  wrote:
> Sorry.  I meant 1.15 Gigs.
>
> On Aug 27, 4:59 pm, fedex1  wrote:
>> Hi Eli,
>>
>> Thanks. After looking at it more, I understand and agree with you.
>> The "Quota Details" page is a little confusing since it does not
>> mention that 1 Gig is the free quota and 40 is the paid quota.
>>
>> I looked at the Datastore Statistics for this application and it says:
>> Size of all entities    278 MBytes
>>
>> Do you know where the 2.15 Gigs is being counted from?
>>
>> Thanks again.
>>
>> On Aug 27, 4:25 pm, Eli Jones  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > 1GB of data storage is free.
>>
>> > Any data store usage above 1GB but less than 41GB (the max storage is
>> > something you can set when you configure your Billing Settings) will be
>> > billed to you.
>>
>> > If you look at your billing report, it states that Used = 1.15, Free = 
>> > 1.00,
>> > and Billable = 0.15.
>>
>> > On Fri, Aug 27, 2010 at 4:16 PM, fedex1  wrote:
>> > > Hi,
>>
>> > > What is the app engine limit for "stored data"?  It appears to be 41
>> > > Gigs according to the Quota Details page
>> > > But the billing report shows that the limit is 1 Gig.
>>
>> > > I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
>> > > clear this up.  Maybe there are different interpretations of storage.
>> > > But is this Datastore storage?  log storage?  what data is the 41 Gig
>> > > limit for and what data is the 1 Gig limit for.
>>
>> > > Thanks,
>> > > Ralph
>>
>> > > Billing Report:
>> > > Resource        Used    Free    Billable        Charge
>> > > Stored Data:
>> > > $0.005/GByte-day        1.15    1.00    0.15    $0.01
>>
>> > > Quote Details Page:
>> > > Total Stored Data                5%      1.91 of 41.00 GBytes    Okay
>>
>> > > app_id=race-results
>>
>> > > --
>> > > 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-appengine+unsubscr...@googlegroups.com> > >  e...@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 Engine" group.
> To post to this 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.
>
>

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



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

2010-08-27 Thread Robert Kluin
Options 2 or 3 sound like good choices.

Option 1 will leave 'junk' lingering around your datastore cluttering
stuff up.  Any operation you might need to run over all child entities
will (potentially) need to be aware of orphaned records.  Just seems
like the kind of thing that will bite you down the road.

With option 2 you need to do a bit more up front, but not much.  Kick
off a transactional 'deleted' task that analyzes the hierarchy and
spawns any other needed tasks.  That will let the delete handler
return quick.  Then the backend will clean itself up.

Option 3 is very similar to option 2. The biggest benefit I see is
that perhaps you can somehow batch delete operations more efficiently?
 I think you'll still wind up using the task queue to handle cascading
deletes though, right?  I guess you would basically pull the deleted
entity markers, build some type of processing list and delete as much
as you could before getting a timeout and repeat?  Using task queues
this could be probably be parallellized to be made more efficient.


Not really sure my thoughts really add much.  Currently In my code I
use option 2 for a variety of things (updates and deletes).  I just
like it because it gets stuff done as close as possible to the user's
action.

Robert




On Fri, Aug 27, 2010 at 09:15, Jeff Schwartz  wrote:
> 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 of member ids used to syndicate
> content to subscribed members
> Comment - a comment made by a member about a StatusUpdate
> CommentLike - members can mark a Comment as liked
> CommentLikeCounter - counter of # of members who like a Comment
>
> A StatusUpdate can have many Comments but there is no entitygroup
> relationship between them.
> A StatusUpdate can have many DistributionIndexes and both form an enitty
> group where StatusUpdate is the root of the hierarchy and
> DistributionIndexes are the children.
> A StatusUpdate can have many StatusUpdateLikes but there is no entitygroup
> relationship between them.
> A StatusUpdate can have many StatusUpdateLikesCounters (sharded) but there
> is no entitygroup relationship between them.
> A Comment can have many CommentLikes but there is no entitygroup
> relationship between them.
> A Comment can have many CommentLikeCounters (sharded) but there is no
> entitygroup relationship between them.
>
> When a StatusUpdate is deleted by the member who created it I am thinking I
> can approach 'clean up' in one of 2 ways & I would like your opinions on
> both:
>
> 1) I can just delete the StatusUpdate and its child DistributionIndexes and
> leave all the other entities in place in the datastore. This would not
> impact the application because the StatusUpdate is the root of its logical
> hierarchy and without it all the other entities are ignored. Depending on
> the popularity of the application leaving these entities in place could
> result in the datastore maintaining thousands of orphaned entities.
>
> 2) I can go through the logical hierarchy and cascade deletion. Depending on
> the popularity of the application this could require the deletion of
> thousands of records. Though everything would be done using keys and batch
> deletes, deleting thousands of records couldn't be done in-process and would
> require kicking of tasks to perform the cascading deletes.
>
> 3) I could use a combination of the above. When a member deletes a
> StatusUpdate I could delete it and its associated DistributionIndexes and
> create a new entity that would serve as a marker for the deleted
> StatusUpdate. I could then schedule a task to kick off periodically that
> would query for the marker entities. If found I could kick off tasks to do
> the clean up out of process.
>
> The simplicity of approach #1 above is very attractive but I am concerned
> about its impact on the size and growth/datastore,
>
> The complexity of approach #2 & #3 above concerns me because I would need to
> use tasks (I haven't implemented tasks yet on app engine) & I don't know
> what a good implementation would require.
>
> What do you think about this? Suggestions & comments welcomed.
>
> Jeff
>
> --
> 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-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 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: Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Sorry.  I meant 1.15 Gigs.

On Aug 27, 4:59 pm, fedex1  wrote:
> Hi Eli,
>
> Thanks. After looking at it more, I understand and agree with you.
> The "Quota Details" page is a little confusing since it does not
> mention that 1 Gig is the free quota and 40 is the paid quota.
>
> I looked at the Datastore Statistics for this application and it says:
> Size of all entities    278 MBytes
>
> Do you know where the 2.15 Gigs is being counted from?
>
> Thanks again.
>
> On Aug 27, 4:25 pm, Eli Jones  wrote:
>
>
>
>
>
>
>
> > 1GB of data storage is free.
>
> > Any data store usage above 1GB but less than 41GB (the max storage is
> > something you can set when you configure your Billing Settings) will be
> > billed to you.
>
> > If you look at your billing report, it states that Used = 1.15, Free = 1.00,
> > and Billable = 0.15.
>
> > On Fri, Aug 27, 2010 at 4:16 PM, fedex1  wrote:
> > > Hi,
>
> > > What is the app engine limit for "stored data"?  It appears to be 41
> > > Gigs according to the Quota Details page
> > > But the billing report shows that the limit is 1 Gig.
>
> > > I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
> > > clear this up.  Maybe there are different interpretations of storage.
> > > But is this Datastore storage?  log storage?  what data is the 41 Gig
> > > limit for and what data is the 1 Gig limit for.
>
> > > Thanks,
> > > Ralph
>
> > > Billing Report:
> > > Resource        Used    Free    Billable        Charge
> > > Stored Data:
> > > $0.005/GByte-day        1.15    1.00    0.15    $0.01
>
> > > Quote Details Page:
> > > Total Stored Data                5%      1.91 of 41.00 GBytes    Okay
>
> > > app_id=race-results
>
> > > --
> > > 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-appengine+unsubscr...@googlegroups.com > >  e...@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 Engine" group.
To post to this 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.



[google-appengine] Re: Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Hi Eli,

Thanks. After looking at it more, I understand and agree with you.
The "Quota Details" page is a little confusing since it does not
mention that 1 Gig is the free quota and 40 is the paid quota.

I looked at the Datastore Statistics for this application and it says:
Size of all entities278 MBytes

Do you know where the 2.15 Gigs is being counted from?

Thanks again.

On Aug 27, 4:25 pm, Eli Jones  wrote:
> 1GB of data storage is free.
>
> Any data store usage above 1GB but less than 41GB (the max storage is
> something you can set when you configure your Billing Settings) will be
> billed to you.
>
> If you look at your billing report, it states that Used = 1.15, Free = 1.00,
> and Billable = 0.15.
>
>
>
>
>
>
>
> On Fri, Aug 27, 2010 at 4:16 PM, fedex1  wrote:
> > Hi,
>
> > What is the app engine limit for "stored data"?  It appears to be 41
> > Gigs according to the Quota Details page
> > But the billing report shows that the limit is 1 Gig.
>
> > I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
> > clear this up.  Maybe there are different interpretations of storage.
> > But is this Datastore storage?  log storage?  what data is the 41 Gig
> > limit for and what data is the 1 Gig limit for.
>
> > Thanks,
> > Ralph
>
> > Billing Report:
> > Resource        Used    Free    Billable        Charge
> > Stored Data:
> > $0.005/GByte-day        1.15    1.00    0.15    $0.01
>
> > Quote Details Page:
> > Total Stored Data                5%      1.91 of 41.00 GBytes    Okay
>
> > app_id=race-results
>
> > --
> > 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-appengine+unsubscr...@googlegroups.com > e...@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 Engine" group.
To post to this 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.



Re: [google-appengine] Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread Eli Jones
1GB of data storage is free.

Any data store usage above 1GB but less than 41GB (the max storage is
something you can set when you configure your Billing Settings) will be
billed to you.

If you look at your billing report, it states that Used = 1.15, Free = 1.00,
and Billable = 0.15.


On Fri, Aug 27, 2010 at 4:16 PM, fedex1  wrote:

> Hi,
>
> What is the app engine limit for "stored data"?  It appears to be 41
> Gigs according to the Quota Details page
> But the billing report shows that the limit is 1 Gig.
>
> I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
> clear this up.  Maybe there are different interpretations of storage.
> But is this Datastore storage?  log storage?  what data is the 41 Gig
> limit for and what data is the 1 Gig limit for.
>
> Thanks,
> Ralph
>
> Billing Report:
> ResourceUsedFreeBillableCharge
> Stored Data:
> $0.005/GByte-day1.151.000.15$0.01
>
> Quote Details Page:
> Total Stored Data5%  1.91 of 41.00 GBytesOkay
>
> app_id=race-results
>
> --
> 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-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 Engine" group.
To post to this 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.



[google-appengine] Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Hi,

What is the app engine limit for "stored data"?  It appears to be 41
Gigs according to the Quota Details page
But the billing report shows that the limit is 1 Gig.

I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
clear this up.  Maybe there are different interpretations of storage.
But is this Datastore storage?  log storage?  what data is the 41 Gig
limit for and what data is the 1 Gig limit for.

Thanks,
Ralph

Billing Report:
ResourceUsedFreeBillableCharge
Stored Data:
$0.005/GByte-day1.151.000.15$0.01

Quote Details Page:
Total Stored Data5%  1.91 of 41.00 GBytesOkay

app_id=race-results

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Paypal / Payment integration and domain related questions for GAE

2010-08-27 Thread fedex1
Hi,

Yes PayPal, Google Checkout and Amazon FPS are all available within
App Engine.

I've integrated all of them at http://move.brooklynmarathon.com
Which you can use if you'd like.

Ralph

On Aug 27, 3:52 am, Andrius A  wrote:
> 1) yes, try to google and you will find examples
>
> 2) yes, you can use you own domains
>
> 3) unfortunatly this is due to ssl limitations. Still your users will be
> able to acces through your domain but browser will show that certificate is
> untrasted. With https you can use only appspot.com subdomains.
>
> On 27 Aug 2010 01:10, "Divkis"  wrote:
>
> Hi,
>    I am trying to evaluate GAE, if it suits my purpose.
>
> One of the requirements that I have is that I want integration with a
> couple of payment gateways, the top priority being paypal.
>
> 1. Could someone please help me answer if it is even possible to
> integrate paypal and/or some other payment gateway with GAE?
>
> 2. The other question that I have is if I have a domain say xyz.com,
> then users accessinghttp://www.xyz.comwill be directed to my
> application deployed on GAE?
>
> 3. Having looked at Wikipedia entry for 
> GAE,http://en.wikipedia.org/wiki/Google_App_Engine,
> section 'Restrictions', it says
> "SSL/HTTPS is only available via *.appspot.com domains and not via
> Google Apps Domains"
>
> I am not sure what this really means and what implication does it
> have?
>
> Thanks in advance,
> Divkia
>
> --
> 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-appengine+unsubscr...@googlegroups.com e...@googlegroups.com>
> .
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Detect Mobile Phone

2010-08-27 Thread prgmratlarge
Well I was thinking of using the datastore. Is it possible? And what
would be the method to the query?

On Aug 27, 3:44 am, Filippo De Luca  wrote:
> Yes it is true. Whether it is worth depends on the application aim. A
> good compromise can be a lightweight wurfl api without the LD
> algoritm. And a trie in substitution to RIS.
>
> On Aug 27, 12:11 am, prgmratlarge  wrote:
>
>
>
> > Yes, but the CPU required to do a lookup is simply not worth it.
> > Remember, every time a (new) user hits the site you do a lookup. It
> > can add up very quickly.
>
> > On Aug 26, 9:07 am, Filippo De Luca  wrote:
>
> > > Hi,
> > > I'm aWURFLapi maintainer. The issue should be due to the GAE size
> > > limit. A simple workaround may be split thewurflxml file in several
> > > little file, one root and many patches. I will do this utility
> > > available for the GAE community.
>
> > > On Aug 23, 10:46 pm, moissinac  wrote:
>
> > > > I've made some tests withWURFL(from sourceforge)
> > > > It works very well on my development platform
> > > > But it fails on GAE due to the size limit:WURFLuses a huge XML file
> > > > and GAE fails to open the compressed version of the file
> > > > For now, I have no time to resolve this issue until end of september
>
> > > > On 23 août, 21:10, "Ikai L (Google)"  wrote:
>
> > > > > Can you use the user-agent?
>
> > > > > On Sat, Aug 21, 2010 at 11:12 PM, prgmratlarge 
> > > > > wrote:
>
> > > > > > Need a quick and easy way to detect mobile phones from my app, that
> > > > > > won't add too much performance overhead. Any suggestions?
>
> > > > > > --
> > > > > > 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-appengine+unsubscr...@googlegroups.com > > > > >  e...@googlegroups.com>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-appengine?hl=en.
>
> > > > > --
> > > > > Ikai Lan
> > > > > Developer Programs Engineer, Google App Engine
> > > > > Blog:http://googleappengine.blogspot.com
> > > > > Twitter:http://twitter.com/app_engine
> > > > > Reddit:http://www.reddit.com/r/appengine

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Detect Mobile Phone

2010-08-27 Thread prgmratlarge
Well I was thinking of using the datastore. Would this be possible,
and what would be the method to the query?

On Aug 27, 3:44 am, Filippo De Luca  wrote:
> Yes it is true. Whether it is worth depends on the application aim. A
> good compromise can be a lightweight wurfl api without the LD
> algoritm. And a trie in substitution to RIS.
>
> On Aug 27, 12:11 am, prgmratlarge  wrote:
>
>
>
> > Yes, but the CPU required to do a lookup is simply not worth it.
> > Remember, every time a (new) user hits the site you do a lookup. It
> > can add up very quickly.
>
> > On Aug 26, 9:07 am, Filippo De Luca  wrote:
>
> > > Hi,
> > > I'm aWURFLapi maintainer. The issue should be due to the GAE size
> > > limit. A simple workaround may be split thewurflxml file in several
> > > little file, one root and many patches. I will do this utility
> > > available for the GAE community.
>
> > > On Aug 23, 10:46 pm, moissinac  wrote:
>
> > > > I've made some tests withWURFL(from sourceforge)
> > > > It works very well on my development platform
> > > > But it fails on GAE due to the size limit:WURFLuses a huge XML file
> > > > and GAE fails to open the compressed version of the file
> > > > For now, I have no time to resolve this issue until end of september
>
> > > > On 23 août, 21:10, "Ikai L (Google)"  wrote:
>
> > > > > Can you use the user-agent?
>
> > > > > On Sat, Aug 21, 2010 at 11:12 PM, prgmratlarge 
> > > > > wrote:
>
> > > > > > Need a quick and easy way to detect mobile phones from my app, that
> > > > > > won't add too much performance overhead. Any suggestions?
>
> > > > > > --
> > > > > > 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-appengine+unsubscr...@googlegroups.com > > > > >  e...@googlegroups.com>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-appengine?hl=en.
>
> > > > > --
> > > > > Ikai Lan
> > > > > Developer Programs Engineer, Google App Engine
> > > > > Blog:http://googleappengine.blogspot.com
> > > > > Twitter:http://twitter.com/app_engine
> > > > > Reddit:http://www.reddit.com/r/appengine

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: RSS Feed Aggregator

2010-08-27 Thread nevets1219
That link looks great! I'll spend some time reading more about it,
thank so much!

On Aug 26, 1:18 pm, nickmilon  wrote:
> Sure  an aggregator is doable in App Engine.
> May be you also take a look here:http://code.google.com/p/pubsubhubbub/

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Datastore viewer edit entities doesn't work

2010-08-27 Thread coltsith
I'm trying to update some int fields and when I press 'save entity' it
just ignores the changes.

Anyone else experiencing this behavior?

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Channel API with TyphoonAE

2010-08-27 Thread Tobias
Hi,

I'm happy to announce that TyphoonAE (only trunk, for now) already has
experimental support for the new Channel API. We have the Google IO
Trivia Quiz running on our server http://trivia-quiz.typhoonae.org:8080/

For more detailed information, visit this 
http://code.google.com/p/typhoonae/wiki/ChannelAPI
wiki page and follow us on Twitter http://twitter.com/TyphoonAE to be
informed on upcoming releases.

Thanks!
Tobias

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-27 Thread David Burns
My site is constantly serving so should always been "warm" according
to the Dashboard. My AppStats don't show any particular spikes or any
areas that are slow.

When the datastore was serving really slowly I did a number of
optimizations to make sure that DataStore access was minimal to a
point I can't/dont want to move the last bit into memory.

I am with Jan in that it would be good to know when this happens so i
can possibly refactor my code.

David

On Aug 27, 12:28 am, "Jan Z/ Hapara"  wrote:
> Just as an experiment we ran this job again, this time using JMeter to
> "prime" the VM's at a sustained 25 requests per second for 15-20 mins
> before the tasks were queued up.
>
> No impact - same request aborted rate as before.
>
> So it doesn't seem like it's a problem with availability of "warm"
> vm's...
>
> J
>
> On Aug 27, 10:08 am, "Jan Z/ Hapara"  wrote:
>
>
>
>
>
>
>
> > Had another data run complete just now - a url-fetch focused job
> > (talking to Google services only, no rpc, no db, little memcache) with
> > 2,500 tasks spread across 5 queues at 6/m each.   Average task is 4-8
> > urlfetches, runs in 17s, with < 100msec CPU time.  There was minimal
> > to no other load on the app at the time.
>
> > Job completion: 6h 24m
>
> > Effective task run rate (taking the "requestaborted..." + requeue
> > into account): 384 per hour.  Expected run rate: 1,800.
>
> > Effective task queue efficiency: 21%.
>
> > Something is amiss here...  According to the docs, this is way below
> > any published quotas, we ought to be able to run this off a single
> > queue at 20/s?
>
> > Some insight from Google around what to even look for would be hugely
> > appreciated!!
>
> > J

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[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 of member ids used to syndicate
content to subscribed members
Comment - a comment made by a member about a StatusUpdate
CommentLike - members can mark a Comment as liked
CommentLikeCounter - counter of # of members who like a Comment

A StatusUpdate can have many Comments but there is no entitygroup
relationship between them.
A StatusUpdate can have many DistributionIndexes and both form an enitty
group where StatusUpdate is the root of the hierarchy and
DistributionIndexes are the children.
A StatusUpdate can have many StatusUpdateLikes but there is no entitygroup
relationship between them.
A StatusUpdate can have many StatusUpdateLikesCounters (sharded) but there
is no entitygroup relationship between them.
A Comment can have many CommentLikes but there is no entitygroup
relationship between them.
A Comment can have many CommentLikeCounters (sharded) but there is no
entitygroup relationship between them.

When a StatusUpdate is deleted by the member who created it I am thinking I
can approach 'clean up' in one of 2 ways & I would like your opinions on
both:

1) I can just delete the StatusUpdate and its child DistributionIndexes and
leave all the other entities in place in the datastore. This would not
impact the application because the StatusUpdate is the root of its logical
hierarchy and without it all the other entities are ignored. Depending on
the popularity of the application leaving these entities in place could
result in the datastore maintaining thousands of orphaned entities.

2) I can go through the logical hierarchy and cascade deletion. Depending on
the popularity of the application this could require the deletion of
thousands of records. Though everything would be done using keys and batch
deletes, deleting thousands of records couldn't be done in-process and would
require kicking of tasks to perform the cascading deletes.

3) I could use a combination of the above. When a member deletes a
StatusUpdate I could delete it and its associated DistributionIndexes and
create a new entity that would serve as a marker for the deleted
StatusUpdate. I could then schedule a task to kick off periodically that
would query for the marker entities. If found I could kick off tasks to do
the clean up out of process.

The simplicity of approach #1 above is very attractive but I am concerned
about its impact on the size and growth/datastore,

The complexity of approach #2 & #3 above concerns me because I would need to
use tasks (I haven't implemented tasks yet on app engine) & I don't know
what a good implementation would require.

What do you think about this? Suggestions & comments welcomed.

Jeff

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Retrying transactions

2010-08-27 Thread Jeff Schwartz
Hi Robert, all.

Thanks, Robert. I am using Java so if anyone can shed some light on that I
would be grateful. Thanks.

On Fri, Aug 27, 2010 at 2:25 AM, Robert Kluin wrote:

> Hi Jeff,
>  If you use Python it will retry 3x.
> """
> The datastore uses optimistic locking and retries for transactions. If
> the transaction prepared by the function cannot be committed,
> run_in_transaction() calls the function again, retrying the
> transaction up to 3 times. (To use a different number of retries, use
> db.run_in_transaction_custom_retries().) Because the transaction
> function may be called more than once for a single transaction, the
> function should not have side effects, including modifications to
> arguments.
> """
>
> http://code.google.com/appengine/docs/python/datastore/functions.html#run_in_transaction
>
> 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
> > 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 we've seen tasks with 23+ retries and a  re-queue time of 19+hrs.
> >>
> >> Failure rate: depends on what you mean.  Task queue can kill your
> >> tasks (and requeue them) on it's own, plus there is the failure rate
> >> of other GAE services.
> >>
> >> I'm not sure if we've got a unique use-case on our hands (I think not)
> >> but we're seeing task queue failure rates of 30-90% for non-trivial
> >> loads (2-5k tasks being queued up).  Failure in this case means a
> >> retry force by the queue manager - tasks do eventually complete, it
> >> might just take a lot longer than expected.
> >>
> >> J
> >>
> >> On Aug 27, 10:58 am, Jeff  wrote:
> >> > When a transaction fails because of contention is it automatically
> >> > retried and if it is how many times will it retry? Also, can you point
> >> > me to any docs that detail this & transaction failures in general?
> >> > 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 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
> >
> > --
> > 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-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 Engine" group.
> To post to this 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

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Channel API - accessing from web page not hosted on app engine

2010-08-27 Thread Juha
I would like to create a Javascript that:
- Could be included on any web page
- Would connect to my App Engine application and retrieve data via the
Channel API

For example
- 127.0.0.1:8000 Regular web server, hosting an example web page
- 127.0.0.1:80 App Engine dev server with the channels and with the
script

To my understanding this should be possible, as my script and the
Channel API Javascripts are hosted on App Engine. So cross-site
limitations should not be an issue. Correct?

With the current dev-channel-js.js that comes with the SDK I can't get
this working. The dev-channel-js.js does not explicitly specify the
hostname (and port) of the App Engine dev server. Instead just
specifies the url (/_ah/channel/).  This means that in my example
case, it tries to connect to http://127.0.0.1:8000/_ah_channel/dev
[...]

Is this a use case that will be supported on production, once the
channel API becomes publicly available?

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: getServingUrl slow itself?

2010-08-27 Thread Geoffrey Spear
Anyone who has the URL can get the image.  If you need to restrict
access when the correct URL is given, you can't really use Blobstore;
store your images in the datastore and use a handler to serve them
with code that restricts who it will serve to.

On Aug 26, 11:41 pm, gops  wrote:
> can i restrict who can see the image or who can not ?
>
> i know url is not easily guessable , but can anyone by chance can have
> that image ?
>
> On Aug 27, 5:22 am, "Ikai L (Google)"  wrote:
>
>
>
> > Only the initial call to getServingUrl should be slow. Subsequent calls
> > should be faster. You should be able to cache the URL - I don't believe it
> > should change.
>
> > On Thu, Aug 26, 2010 at 4:02 PM, mathijs  wrote:
> > > Hi,
>
> > > We have been starting to use getServingUrl onhttp://www.appbrain.com/
> > > where we have very many pages little icons. (for instance about 30 on
> > > the homepage).
> > > Since we implemented the getServingUrl calls for these icons, the logs
> > > show that the homepage now takes 3000ms (3 seconds!) to be processed
> > > by appengine. It seems that the getServingUrl calls itself are very
> > > slow.
> > > We are now trying to cache these calls, but are unsure how long these
> > > URLs exist. Can we assume that as long as we don't delete the blob,
> > > the same URL will always be valid, or can it change?
>
> > > Best regards,
>
> > > Mathijs
>
> > > --
> > > 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-appengine+unsubscr...@googlegroups.com > >  e...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blog:http://googleappengine.blogspot.com
> > Twitter:http://twitter.com/app_engine
> > Reddit:http://www.reddit.com/r/appengine

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: FTP support to download the assets from WEB-INF folder

2010-08-27 Thread Geoffrey Spear


On Aug 26, 11:32 pm, anurag  wrote:
> Hi Geoffrey,
> To get the server data that resides in WEB-INF folder i have to write script
> to download it?
> If this the only one way then I will do the same, I was thinking may be
> there will be some tool to get that.
> I didn't get source control. It is any tool,please provide me some link to
> go through that.

http://mercurial.selenic.com/
http://git-scm.com/
http://subversion.tigris.org/

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-27 Thread Carlos Rodrigues
Sorry, you are right. The problem is that the Windows 7 certificate
store does not have the Equifax root certificate out of the box (on
Windows XP it does). The number of root certificates included with
Windows 7 out of the box is actually quite low.

The machines where I tested this and got an error (Windows 7 and 2008)
are fully updated (including the root certificates update). However
they are behind a proxy server, and maybe the root certificates update
doesn't work over a proxy server. I manually installed the root
certificates update again (http://www.microsoft.com/downloads/en/
confirmation.aspx?
familyId=e4f9b573-66d7-4dda-95d5-26c7d0f6c652&displayLang=en) with the
machine connected directly to the internet and it populated the
certificate store with the missing root certificates.

I guess this is still a problem, but only for users that do not update
or that are behind HTTP proxy servers (corporate users, mostly).

Best regards,

On Aug 27, 10:13 am, Carlos Rodrigues  wrote:
> The Equifax certificate is there, but the problem is with the
> intermediate CA's certificate (Google's), which isn't found.
>
> If it works for you on Windows 7, maybe you have Google's CA
> certificate installed. This would certainly make the error go away,
> but we can't ask users to do this (because most won't).
>
> @James: This is not a limitation of wildcard certificates because it
> works on Firefox but also with all browsers I've tested on Windows XP
> and OS X (including Safari, which shows the error on Windows 7).
>
> Best regards,
>
> On Aug 27, 2:36 am, Matthew Blain  wrote:
>
> > This works for me on Windows 7. It's possible that the root
> > certificates on your Windows machine are somehow missing the Equifax
> > Secure Certificate Authority root certificate (also sometimes listed
> > as GeoTrust)? Have you edited your list? I see a suggestion online to
> > also check Windows Updates to see if there's a certificate update,
> > though I believe this is not a recent CA.
>
> > --Matthew
>
> > On Aug 26, 10:45 am, Robert Kluin  wrote:
>
> > > Interesting.  You are right, I probably checked using a XP vm not a Win 7 
> > > vm.
>
> > > On Thu, Aug 26, 2010 at 10:44, Carlos Rodrigues  
> > > wrote:
> > > > BTW, this is not a problem exclusive to GAE. The certificate for
> > > > "code.google.com" also seems to have changed recently and I just got a
> > > > warning from TortoiseSVN that the new certificate cannot be validated
> > > > because the certificate chain is incomplete.
>
> > > > Best regards,
>
> > > > On Aug 26, 3:42 pm, Carlos Rodrigues  wrote:
> > > >> Since the problem only happens with browsers that rely on Windows'
> > > >> certificate infrastructure, the version of Windows matters.
>
> > > >> I've tested with IE 8 on Windows 7 and Windows Server 2008 and the
> > > >> problem occurs;
> > > >> I've also tested with IE 7 on Windows XP and Windows Server 2003 and
> > > >> the problem does not occur;
>
> > > >> I did not test with Windows Vista.
>
> > > >> It seems that older versions of Windows follow the certificate chain
> > > >> (by downloading it from somewhere), while the more recent versions
> > > >> only follow it if the webserver itself provides the intermediate CA's
> > > >> certificate (as I said, I've tested with other sites that use
> > > >> intermediate CAs and they show no errors - because the intermediate
> > > >> CA's certificate is being provided by Apache using the option I
> > > >> mentioned before).
>
> > > >> Best regards,
>
> > > >> On Aug 25, 10:19 pm, Robert Kluin  wrote:
>
> > > >> > I only get a certificate error if I go 
> > > >> > tohttps://test.xx.appspot.com.  I do not get errors going 
> > > >> > tohttps://xx.appspot.com.
>
> > > >> > I tested with IE and Chrome and Windows.
>
> > > >> > Robert
>
> > > >> > On Wed, Aug 25, 2010 at 05:27, Carlos Rodrigues 
> > > >> >  wrote:
> > > >> > > Hi again,
>
> > > >> > > Any ideas? This is a show-stopper as far as secure applications 
> > > >> > > go...
>
> > > >> > > Best regards,
>
> > > >> > > On Aug 23, 12:39 pm, Carlos Rodrigues  
> > > >> > > wrote:
> > > >> > >> Hi all,
>
> > > >> > >> I'm developing a small application on GAE that requires HTTPs, 
> > > >> > >> however
> > > >> > >> I'm having some trouble with the "*.appspot.com" certificate.
>
> > > >> > >> O Chrome, Safari and IE on Windows I get a certificate validation
> > > >> > >> error. This error appears to be related to the certificate 
> > > >> > >> validation
> > > >> > >> path, because the topmost authority is "Google Internet 
> > > >> > >> Authority" and
> > > >> > >> show as "Not found".
>
> > > >> > >> On Firefox there is no error, and the certificate chain correctly
> > > >> > >> shows Equifax as the root CA and "Google Internet Authority" as an
> > > >> > >> intermediate CA.
>
> > > >> > >> On the Mac both Firefox and Safari work without showing any 
> > > >> > >> errors.
>
> > > >> > >> Is there a way around this? I can't expect users to trust the
> > > >> > >

[google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-27 Thread Carlos Rodrigues
The Equifax certificate is there, but the problem is with the
intermediate CA's certificate (Google's), which isn't found.

If it works for you on Windows 7, maybe you have Google's CA
certificate installed. This would certainly make the error go away,
but we can't ask users to do this (because most won't).

@James: This is not a limitation of wildcard certificates because it
works on Firefox but also with all browsers I've tested on Windows XP
and OS X (including Safari, which shows the error on Windows 7).

Best regards,

On Aug 27, 2:36 am, Matthew Blain  wrote:
> This works for me on Windows 7. It's possible that the root
> certificates on your Windows machine are somehow missing the Equifax
> Secure Certificate Authority root certificate (also sometimes listed
> as GeoTrust)? Have you edited your list? I see a suggestion online to
> also check Windows Updates to see if there's a certificate update,
> though I believe this is not a recent CA.
>
> --Matthew
>
> On Aug 26, 10:45 am, Robert Kluin  wrote:
>
> > Interesting.  You are right, I probably checked using a XP vm not a Win 7 
> > vm.
>
> > On Thu, Aug 26, 2010 at 10:44, Carlos Rodrigues  
> > wrote:
> > > BTW, this is not a problem exclusive to GAE. The certificate for
> > > "code.google.com" also seems to have changed recently and I just got a
> > > warning from TortoiseSVN that the new certificate cannot be validated
> > > because the certificate chain is incomplete.
>
> > > Best regards,
>
> > > On Aug 26, 3:42 pm, Carlos Rodrigues  wrote:
> > >> Since the problem only happens with browsers that rely on Windows'
> > >> certificate infrastructure, the version of Windows matters.
>
> > >> I've tested with IE 8 on Windows 7 and Windows Server 2008 and the
> > >> problem occurs;
> > >> I've also tested with IE 7 on Windows XP and Windows Server 2003 and
> > >> the problem does not occur;
>
> > >> I did not test with Windows Vista.
>
> > >> It seems that older versions of Windows follow the certificate chain
> > >> (by downloading it from somewhere), while the more recent versions
> > >> only follow it if the webserver itself provides the intermediate CA's
> > >> certificate (as I said, I've tested with other sites that use
> > >> intermediate CAs and they show no errors - because the intermediate
> > >> CA's certificate is being provided by Apache using the option I
> > >> mentioned before).
>
> > >> Best regards,
>
> > >> On Aug 25, 10:19 pm, Robert Kluin  wrote:
>
> > >> > I only get a certificate error if I go tohttps://test.xx.appspot.com.  
> > >> > I do not get errors going tohttps://xx.appspot.com.
>
> > >> > I tested with IE and Chrome and Windows.
>
> > >> > Robert
>
> > >> > On Wed, Aug 25, 2010 at 05:27, Carlos Rodrigues 
> > >> >  wrote:
> > >> > > Hi again,
>
> > >> > > Any ideas? This is a show-stopper as far as secure applications go...
>
> > >> > > Best regards,
>
> > >> > > On Aug 23, 12:39 pm, Carlos Rodrigues  wrote:
> > >> > >> Hi all,
>
> > >> > >> I'm developing a small application on GAE that requires HTTPs, 
> > >> > >> however
> > >> > >> I'm having some trouble with the "*.appspot.com" certificate.
>
> > >> > >> O Chrome, Safari and IE on Windows I get a certificate validation
> > >> > >> error. This error appears to be related to the certificate 
> > >> > >> validation
> > >> > >> path, because the topmost authority is "Google Internet Authority" 
> > >> > >> and
> > >> > >> show as "Not found".
>
> > >> > >> On Firefox there is no error, and the certificate chain correctly
> > >> > >> shows Equifax as the root CA and "Google Internet Authority" as an
> > >> > >> intermediate CA.
>
> > >> > >> On the Mac both Firefox and Safari work without showing any errors.
>
> > >> > >> Is there a way around this? I can't expect users to trust the
> > >> > >> application if they get a certificate error on Windows in every
> > >> > >> browser except Firefox.
>
> > >> > >> So a summary of tested browsers:
>
> > >> > >>   * Internet Explorer 8 (Windows): error
> > >> > >>   * Safari (Windows): error
> > >> > >>   * Safari (OS X): OK
> > >> > >>   * Chrome (Windows): error
> > >> > >>   * Firefox (Windows): OK
> > >> > >>   * Firefox (OS X): OK
>
> > >> > >> It appears that browsers which use the integrated certificate
> > >> > >> infrastructure on Windows are affected, and others are not.
>
> > >> > >> I know that Windows supports intermediate CAs because I've tested 
> > >> > >> it.
> > >> > >> But it seems to require that the website itself provides the
> > >> > >> intermediate CAs certificate (for example, on Apache this would be 
> > >> > >> the
> > >> > >> "SSLCertificateChainFile /path/to/intermediate-ca.crt" option).
>
> > >> > >> Google App Engine does not appear to do this.
>
> > >> > >> Best regards,
> > >> > >>    Carlos Rodrigues
>
> > >> > > --
> > >> > > You received this message because you are subscribed to the Google 
> > >> > > Groups "Google App Engine" group.
> > >> > > To post to this group, send email to 
> > >> > >

Re: [google-appengine] Paypal / Payment integration and domain related questions for GAE

2010-08-27 Thread Andrius A
1) yes, try to google and you will find examples

2) yes, you can use you own domains

3) unfortunatly this is due to ssl limitations. Still your users will be
able to acces through your domain but browser will show that certificate is
untrasted. With https you can use only appspot.com subdomains.

On 27 Aug 2010 01:10, "Divkis"  wrote:

Hi,
   I am trying to evaluate GAE, if it suits my purpose.

One of the requirements that I have is that I want integration with a
couple of payment gateways, the top priority being paypal.

1. Could someone please help me answer if it is even possible to
integrate paypal and/or some other payment gateway with GAE?

2. The other question that I have is if I have a domain say xyz.com,
then users accessing http://www.xyz.com will be directed to my
application deployed on GAE?

3. Having looked at Wikipedia entry for GAE,
http://en.wikipedia.org/wiki/Google_App_Engine,
section 'Restrictions', it says
"SSL/HTTPS is only available via *.appspot.com domains and not via
Google Apps Domains"

I am not sure what this really means and what implication does it
have?

Thanks in advance,
Divkia

--
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-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 Engine" group.
To post to this 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.



[google-appengine] Re: No mobile phone

2010-08-27 Thread James13M
I did manage to get manually approved. My thanks to everyone that
helped.

On Aug 26, 8:45 pm, Robert Kluin  wrote:
> Google voice will not work to verify an account.  Tried it, the text
> never comes through.  But it does work to send and receive texts in
> general.
>
> Robert
>
> On Thu, Aug 26, 2010 at 16:32, James13M  wrote:
> > Acknowledged. Further research has given me another tool to use to
> > send and receive SMS online. I have yet to verify its functionality,
> > but it is simple enough to use and you do not need a cell phone or
> > mobile phone. It is called Google Voice. My problem in testing it is
> > that I do not know many people with cell phones that bother to use the
> > texting feature.
>
> > On Aug 23, 7:04 pm, "Ikai L (Google)"  wrote:
> >> Use that link to report issues with SMS verification. In your case, enter 
> >> in
> >> the description that you do not have a mobile phone and you will be 
> >> manually
> >> verified. We should probably rename that form to "manual verification"
> >> rather than SMS verification.
>
> >> On Sat, Aug 21, 2010 at 7:46 PM, James13M  wrote:
> >> > That link is for reporting a problem in receiving the SMS (I still do
> >> > not know what that is) on your cell phone or mobile phone.
>
> >> > On Aug 19, 7:42 pm, Geoffrey Spear  wrote:
> >> > > There's a link athttp://groups.google.com/group/google-appengineyou
> >> > > can use to get your account verified without SMS.
>
> >> > > On Aug 19, 8:03 am, James13M  wrote:
>
> >> > > > I can not get past the SMS (whatever that is) and the requirement for
> >> > > > a cell phone. I do not want a cell phone as I have no use for it. Is
> >> > > > there a way to get past that requirement or is Google subsidizing the
> >> > > > cell phone companies?
>
> >> > --
> >> > 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-appengine+unsubscr...@googlegroups.com
> >> > .
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/google-appengine?hl=en.
>
> >> --
> >> Ikai Lan
> >> Developer Programs Engineer, Google App Engine
> >> Blog:http://googleappengine.blogspot.com
> >> Twitter:http://twitter.com/app_engine
> >> Reddit:http://www.reddit.com/r/appengine
>
> > --
> > 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-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Google Apps Full Accounts

2010-08-27 Thread Erik Karulf
Hi All,

Our domain was recently upgraded to the Google Apps "Full Account"
system. However, when I try and login to Google App Engine, I get the
following error:

URL: 
https://appengine.google.com/_ah/login?continue=https://appengine.google.com/a/example.com/
Body:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.

This persists for other users in my domain as well.

Thanks!

-Erik

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Detect Mobile Phone

2010-08-27 Thread Filippo De Luca
Yes it is true. Whether it is worth depends on the application aim. A
good compromise can be a lightweight wurfl api without the LD
algoritm. And a trie in substitution to RIS.

On Aug 27, 12:11 am, prgmratlarge  wrote:
> Yes, but the CPU required to do a lookup is simply not worth it.
> Remember, every time a (new) user hits the site you do a lookup. It
> can add up very quickly.
>
> On Aug 26, 9:07 am, Filippo De Luca  wrote:
>
>
>
> > Hi,
> > I'm aWURFLapi maintainer. The issue should be due to the GAE size
> > limit. A simple workaround may be split thewurflxml file in several
> > little file, one root and many patches. I will do this utility
> > available for the GAE community.
>
> > On Aug 23, 10:46 pm, moissinac  wrote:
>
> > > I've made some tests withWURFL(from sourceforge)
> > > It works very well on my development platform
> > > But it fails on GAE due to the size limit:WURFLuses a huge XML file
> > > and GAE fails to open the compressed version of the file
> > > For now, I have no time to resolve this issue until end of september
>
> > > On 23 août, 21:10, "Ikai L (Google)"  wrote:
>
> > > > Can you use the user-agent?
>
> > > > On Sat, Aug 21, 2010 at 11:12 PM, prgmratlarge 
> > > > wrote:
>
> > > > > Need a quick and easy way to detect mobile phones from my app, that
> > > > > won't add too much performance overhead. Any suggestions?
>
> > > > > --
> > > > > 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-appengine+unsubscr...@googlegroups.com > > > >  e...@googlegroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-appengine?hl=en.
>
> > > > --
> > > > Ikai Lan
> > > > Developer Programs Engineer, Google App Engine
> > > > Blog:http://googleappengine.blogspot.com
> > > > Twitter:http://twitter.com/app_engine
> > > > Reddit:http://www.reddit.com/r/appengine

-- 
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-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How do I use get_serving_url correctly?

2010-08-27 Thread Nickolas Daskalou
Ikai, is there any way of doing this asynchronously (like URLFetch fetch()
calls)?

Eg: (copied mostly from
http://code.google.com/appengine/docs/python/urlfetch/asynchronousrequests.html
)

from google.appengine.api import images

# ...

blob_keys = [..., ..., ..]
blob_key_serving_urls = []
size = ...
crop = ...

def handle_result(rpc):
  url = rpc.get_result()
  blob_key_serving_urls.append(url)

# Use a helper function to define the scope of the callback.
def create_callback(rpc):
  return lambda: handle_result(rpc)

rpcs = []
for blob_key in blob_keys:
  images.create_rpc()
  rpc.callback = create_callback(rpc)
  images.make_get_serving_url_call(rpc, blob_key, size, crop)
  rpcs.append(rpc)

# ...

for rpc in rpcs:
  rpc.wait()

# blob_key_serving_urls should now contain the serving URLs.

Or should we add this as a feature request?

Nick


On 27 August 2010 10:56, Ikai L (Google)  wrote:

> Yes, you can cache the result. In practice, subsequent calls of
> get_serving_url on the same blob should be faster, but if you have more new
> blobs than old ones on a page it can be slow. The resulting URL only becomes
> invalid if the blob is deleted.
>
>
> On Tue, Aug 24, 2010 at 1:53 PM, Flips  wrote:
>
>> Hi,
>>
>> how do I use get_serving_url correctly if I'd like to host a gallery
>> of 28 pictures? I currently fetch all blob_keys and call 28 times the
>> get_serving_url method to get my image urls. But this attempt is
>> really slow (about 12 seconds). Would it be smarter to call
>> get_serving_url if the blob has been created and store the image url
>> in datastore?
>>
>> Best Regards
>> Philip
>>
>> --
>> 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-appengine+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog: http://googleappengine.blogspot.com
> Twitter: http://twitter.com/app_engine
> Reddit: http://www.reddit.com/r/appengine
>
>  --
> 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-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 Engine" group.
To post to this 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.