[google-appengine] Re: App Engine 1.6.1 Released!

2011-12-14 Thread Tom Fishman
Nice work!

I have difficulty to find out any information related to  We've added new 
functionality to the Log API that will allow you to read your application's 
logs programmatically.

What does programmatically mean here? Any API?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Ov0UXurrWZwJ.
To post to this group, send email to google-appengine@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 Write Operations is 16x more of other operations

2011-11-18 Thread Tom Fishman
Hi,

Our data-store operation statistics is strange, writing operation is 16x 
more than other operations ( Read and small ).

I checked with appstat, it is usually 1:1, at most 2:1. I don't know where 
this 16:1 come from?

What's the best way to investigate?

-Tom

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/g5rxROLaktAJ.
To post to this group, send email to google-appengine@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.



[appengine-java] corrupted content of text/html part in received email

2011-11-14 Thread Tom Fishman
Hi,

App engine cannot receive html email ( sent from gmail ) correctly. ( 
@appid.appspotmail.com)

The following code will show the error:

 byte[] bytes = content.getBytes(encoding); // gmail used ISO-8859-1 
mostly, UTF-8 sometime also
 printBytes(bytes);

- output:

64 (offset from beginning): 30 2e 38 65 78 3b 20* 00 *61 64 64 69 6e 67 2d 
6c - 0.8ex;
144: *00 *63 6f 6d 3c 2f 61 3e 26 67 74 3b 3c 2f 73 70 -
208: 20 30 70 78 20 30 2e 38 65* 00 *3b 20 70 61 64 64 - 0px 0.8e


00 doesn't make sense here and it was another correct character which was 
overwritten to 0.

It repros in every html emails sent from gmail. The corruption happens 
every 72 characters or so. 

Looks like a bug we will file.


-T

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Ggg6jLrm1cgJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: Datastore Read and Writes Statstics

2011-11-13 Thread Tom Fishman
Is there an update on this? Have we filed an issue?

Our quota depleted so fast when we use map-reduce...

On Sep 29, 7:19 pm, djidjadji djidja...@gmail.com wrote:
 It would be really nice if the WriteOps and ReadOps are logged for
 each request. Like the loading_request and ms time that is added to a
 line in the log.
 That way you can download the logs and find out which request is
 making the most Ops and perhaps needs a look at if it can be
 optimized.

 Op 22 september 2011 14:29 heeft Vivek Puri v...@vivekpuri.com het
 volgende geschreven:







  For Estimated Charges Under New Pricing, my app is showing $40/per
  day for Writes and $13/day for Reads. $40 worth of writes is 40
  million write operations. Right now i have not idea which table is
  being written to most and contributing to that number. Can AppEngine
  team provide statistics on these write and read operations. I would
  hope this is something similar to existing Datastore Statistics
  tool.

-- 
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-appengine@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] The most efficient way to enumerate variations of properties in a subset

2011-08-14 Thread Tom Fishman
Carter's method is good for slow update and I will definitely use it.

I do need an interactive solution in the mean time. Robert, your method 
will be touching two entity groups, so there might be inconsistent results 
when one of the transactions fails.

I really hope we can query/count the index without touching the entities. 
I'm sure it is technically doable.

So, I don't think I have a robust/efficient solution now.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/BEjbfHAMI0QJ.
To post to this group, send email to google-appengine@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] The most efficient way to enumerate variations of properties in a subset

2011-08-14 Thread Tom Fishman
My understanding on app engine index for our case is that we could build an 
index as

{ width (ascend), height(ascend), key }

so we can query GQL like : width=5, height0, width=5, height15. So all the 
information we need is ready for us to retrieve efficiently.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/UXHKM8Wh1RkJ.
To post to this group, send email to google-appengine@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] The most efficient way to enumerate variations of properties in a subset

2011-08-13 Thread Tom Fishman
Say there are the following entities:

{ID:1,  width: 5, height: 11, ... },
{ID:2,  width: 5, height: 12, ... },
{ID:3,  width: 5, height: 12, ... },
{ID:4,  width: 6, height: 13, ... },
{ID:5,  width: 5, height: 12, ... },
{ID:6,  width: 5, height: 13, ... },
{ID:7,  width: 5, height: 12, ... },
...

What's the most efficient way to return the set of heights ( the same values 
are merged ) for all width==5? ( the answer should be 11, 12, 13 ).

We can build a query to enumerate all entities where width==5 and then build 
the set in code (java/python). But this is not salable, we might have 
thousands of entities share the same value.

I wish we can query the indexes...

Thanks!
- Tom

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/RJShf4x-MgcJ.
To post to this group, send email to google-appengine@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.



[appengine-java] Re: Experimental blobstore api returning null keys on blob creation

2011-07-16 Thread Tom Fishman
Assuming you're talking about new blobs, please check this 
issue: http://code.google.com/p/googleappengine/issues/detail?id=4872.

I think there is no good workaround yet.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/nHGG3gfSqwgJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Is anyone seeing deployment 500 server error now?

2011-07-16 Thread Tom Fishman
App deployment has been failing for half an hour or so:

java.io.IOException: Error posting to URL: 
https://appengine.google.com/api/appversion/clonefiles?app_id=xxxversion=xxx;
500 Internal Server Error

htmlhead
meta http-equiv=content-type content=text/html;charset=utf-8
title500 Server Error/title
/head
body text=#00 bgcolor=#ff
h1Error: Server Error/h1
h2The server encountered an error and could not complete your 
request.pIf the problem persists, please A 
HREF=http://code.google.com/appengine/community.html;report/A your 
problem and mention this error message and the query that caused it./h2
h2/h2
/body/html

I report it because the error suggest so. It is the same as the 
downtime/maintenance error.

-T

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4qVPU05bS4EJ.
To post to this group, send email to google-appengine@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] http 500 with appcfg.py

2011-07-14 Thread Tom Fishman
neither Master/Slave nor HR 
datastore apps will be able to deploy during this period

Thursday, 2011 Jul 14, 5:00pm/1700 PDT/GMT-7 (Friday, 2011 Jul 15, 
midnight//GMT) 

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/bb77cad713eeec0

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/yXyUcf2dtxAJ.
To post to this group, send email to google-appengine@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] AOL federated ID

2011-03-02 Thread Tom Fishman
I recently discovered the wierdness of AOL federated ID. Its ID are 
changing!! For this example user, its ID changed from:

   https://openid.aol.com/opaque/40d9***a-42f0-11e0-b026-000bcdca4d7a
to:
   https://openid.aol.com/opaque/3e23***c-37af-11e0-833c-000bcdcb471e

I think it is not my bug. Is this google's issue or AOL's issue? I didn't 
see any other providers have the same issue.

-Tom

-- 
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-appengine@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.



[appengine-java] Re: Uploading App to GAE with JSP compile Error

2011-03-01 Thread Tom Fishman
I renamed the broken .jsp to .x_jsp

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] The best practice of engineering with GAE (in Java) in a team

2011-03-01 Thread Tom Fishman
Our team is growing and I need advices on how our team can efficiently work 
with GAE.

The ultimate goal here is to fast test and iterate on our app. The dev 
server is only OK for individuals. We have to use limited *.appspot.com ( 
and versions ) for many engineers and testers. It is not smooth yet.

I wonder if anyone can share the best practices of working with GAE in a 
team. So people like us can learn without making too many mistakes.

Thanks! -Tom

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] App upload failure rate

2011-02-27 Thread Tom Fishman
We use Comcast as our internet connection provider and usually we need 
upload 4 times ( in 10 mins ) to finish a 30 files update.

I guess Comcast check the pattern of the packet and freeze the connection 
when necessary. ( The modern light will be off ). This also happens to 
skype sometime.

I'm curious if anyone have similar issue or even a solution. Now I'm wasting 
30 mins everyday on re-trying the uploading.

-Tom


-- 
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-appengine@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] is it possible to create blobKey for a Blob property of a entity?

2011-02-23 Thread Tom Fishman
I already got a bunch of image blobs stored in the database, is it possible 
to create blobKey for any Blob property? So I can use the high performance 
image service to operate on them.

-- 
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-appengine@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.



[appengine-java] PersistenceManager (JDO), transaction and close() function

2011-02-22 Thread Tom Fishman
In almost every example code I can see, the PersistenceManager is never 
closed ( call close() ) with JDO transaction operation.
What's the reason of that? ( In other cases, close() is always called in 
finally clause )

My code has both transaction and non-transaction operations, the entity 
returned from transaction operation always have JDO state and JDO manager 
attached which I want to remove so they have identical pattern for both 
cases.

-Tom.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [google-appengine] Support for SSL on different domains

2010-12-29 Thread Tom Fishman
I'm pretty satisfied with the current support:

Browsers with support for TLS server name 
indication:[6]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-5

   - Internet Explorer 7 http://en.wikipedia.org/wiki/Internet_Explorer_7 
(Vista 
   or higher, not XP) or later
   - Mozilla Firefox http://en.wikipedia.org/wiki/Mozilla_Firefox 2.0 or 
   later
   - Opera http://en.wikipedia.org/wiki/Opera_(web_browser) 8.0 or later 
   (the TLS 1.1 protocol must be enabled)
   - Opera Mobile http://en.wikipedia.org/wiki/Opera_Mobile at least 
   version 10.1 beta on Android[*citation 
neededhttp://en.wikipedia.org/wiki/Wikipedia:Citation_needed
   *]
   - Google Chrome http://en.wikipedia.org/wiki/Google_Chrome (Vista or 
   higher. XP on Chrome 6 or 
newer[7]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-6. 
   OS X 10.5.7 or higher on Chrome 5.0.342.1 or newer)
   - Safari http://en.wikipedia.org/wiki/Safari_(web_browser) .2.1 or 
   later (Mac OS X 10.5.6 or higher and Windows Vista or higher)
   - MobileSafari http://en.wikipedia.org/wiki/MobileSafari in Apple 
iOShttp://en.wikipedia.org/wiki/IOS_(Apple) 4.0 
   or later[8]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-7
   - Windows Phone 7 http://en.wikipedia.org/wiki/Windows_Phone_7[*citation 
   needed http://en.wikipedia.org/wiki/Wikipedia:Citation_needed*]
   - Maemo http://en.wikipedia.org/wiki/Maemo


I don't mind to redirect the rest users to https://*.appspot.com.

Will GAE support it soon? 
What's the difference between GAE and App Engine for business? I know App 
Engine for business is going to support it soon. (
http://code.google.com/appengine/business/roadmap.html)





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