RE: [google-appengine] Re: Can't store strings with apostrophes in the datastore

2011-12-12 Thread Brandon Wirtz
ByteString should store anything you want.   I have had issues with Unitype
Strings and non-unitype characters.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Tim Hoffman
Sent: Monday, December 12, 2011 8:45 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: Can't store strings with apostrophes in the
datastore

 

HI

 

I store apostrophe's in the datastore all the time.

 

You should first check the strings as you get it out of Youtube. 

 

Log them, or try intreractively through the interpreter without appengine in
the way, or use pdb, then

set breakpoints all the way to just before you put the record and see if you
still have the full string.

 

Rgds

 

Tim

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

-- 
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] Re: Can't store strings with apostrophes in the datastore

2011-12-12 Thread Tim Hoffman
HI

I store apostrophe's in the datastore all the time.

You should first check the strings as you get it out of Youtube. 

Log them, or try intreractively through the interpreter without appengine 
in the way, or use pdb, then
set breakpoints all the way to just before you put the record and see if 
you still have the full string.

Rgds

Tim

-- 
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/-/Yg61UxFA5nAJ.
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] Re: Can't store strings with apostrophes in the datastore

2011-12-12 Thread bwal...@gmail.com
I tried escaping my string as well as using a bytestring instead of a
string but neither worked. Is there any way to fix this?

On Dec 7, 8:54 pm, "bwal...@gmail.com"  wrote:
> I'm not escaping them. Is there a function that can do this for me?
>
> I didn't know about bytestrings. I'll look them up.
>
> Thanks!
>
> On Dec 5, 10:42 pm, "Brandon Wirtz"  wrote:
>
>
>
>
>
>
>
> > Are you escaping them?
>
> > Have you considered bytestrings?
>
> > -Original Message-
> > From: google-appengine@googlegroups.com
>
> > [mailto:google-appengine@googlegroups.com] On Behalf Of bwal...@gmail.com
> > Sent: Monday, December 05, 2011 7:21 PM
> > To: Google App Engine
> > Subject: [google-appengine] Can't store strings with apostrophes in the
> > datastore
>
> > I'm using GAE's Youtube API to retrieve video info. When either the title or
> > description contains anapostrophe, it gets cut off. For example, if the
> > title of the the video is "You'll love this", the only thing that gets put
> > in the datastore is "You". I've looked over all my code and I can't figure
> > out where this is happening. I guess my question is, is this a known issue
> > with GAE or the Youtube API?
>
> > --
> > 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 
> > 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-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] Bloom filter index

2011-12-12 Thread Tom Gibara
I've used Bloom filters for a number of purposes, including the scenario
you describe - though not on App Engine.

Bloom filters are an extremely versatile tool, but are not a panacea.
Firstly they aren't as compact as one might expect. By my reckoning, a 1MB
bloom filter will accommodate 1M entries with a false positive rate of
around 2%. A well implemented trie with a suitable set of keys can approach
similar levels of compactness.

Secondly, Bloom filters are obviously sensitive to their initial sizing;
though they degrade gracefully, in some applications it can be difficult to
resize them in-situ without causing unacceptable spikes in throughput.

Finally, just in case you hadn't considered it; Bloom filters don't support
element removal. This may or may not be an issue for your application.

Also, I'm not sure if Brandon's suggestion to consider "Short misses" was
targeted at storing more data in the Bloom filter. Bloom filter capacity is
independent of key size and smaller keys may result in poorer performance
due to weaker hashing.

If it's any use I've made an open source Bloom filter
implementation available as part of my collections package at
http://code.google.com/p/tomgibara/

Tom.

On 12 December 2011 03:17, John Tantalo  wrote:

> I wonder whether anybody has tried to build an in-memory bloom filter in
> front of an index to reduce datastore read operations?
>
> In my application, I have an exact-match query on a single field, and it
> commonly matches no results. However, I still have to pay for datastore
> read operations in this case.
>
> My idea was to build a bloom filter on every value of the field in my
> datastore. Given a query input, if the bloom filter says the value is a
> member of the set, I will query the datastore for it, which may or may not
> match results (i.e., a false positive).
>
> The bloom filter would be wrapped in an app engine model and stored in the
> datastore and memcached. The write rate to the datastore for this index is
> rather low, so I plan to update the bloom filter transactionally and cache
> it on every write. The updates could also be done offline in a task queue.
>
> The goal is to reduce the cost of searches, especially in the "no matches"
> case. I believe this change would reduce costs on datastore read
> operations, but increase CPU time because each request would have to read
> and deserialize a potentially large bloom filter from memcached. Clearly,
> this tradeoff could be tuned to the needs of the app, as a larger bloom
> filter would produce fewer false positives and wasted datastore reads.
>
> Thoughts?
>
> --
> 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/-/ViVc7VJ8iOAJ.
> 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.
>

-- 
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] Re: HRD migration tool now available!

2011-12-12 Thread MikeR
> Did you alias your old app id to your new app id? Cause if that is the
> case, then remote_api is likely talking to the new app (and I don't think
> it is possible to make it talk to the old app).

can't remember actively doing that (except maybe as a checkbox in the
migration process).
Could you tell me how aliasing is done?

If I can't talk to my old app via remote_api, any suggestions how to
copy the old blobs to the new hrd app ?

thx
Mike

-- 
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] Google App abuse

2011-12-12 Thread Brandon Wirtz
I think it counts as both if the pages are not set to do not index.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Jeff Schnitzer
Sent: Monday, December 12, 2011 10:39 AM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Google App abuse

Looks like a simple proxy server of the type casually used to route around
firewalls like China's or your overbearing employer's.  I don't think this
qualifies as abuse or stolen content.

Jeff

On Mon, Dec 12, 2011 at 11:39 AM, Martin O. Hamann
 wrote:
> howdy
>
>
> I have found 2 web apps that take advantage of Google's technology to 
> steal content!
>
> http://gaucho-labnol.appspot.com/
> http://mirrorrr.appspot.com/
>
> These apps reflect the content of entire domains. I want to report the 
> abuse and ask for advice at the same time, what can I do about it.
>
> cheers
> --
>
> --
> 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/-/fr1dFpP04ZQJ.
> 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.



--
We are the 20%

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


-- 
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] Remote API Java-XG Transactions

2011-12-12 Thread Mytilinis Giagos
Hello,

I would like to ask if cross group transactions can work with the
remote api. I want to store, from a remote machine, more than one
entity groups in a single transaction. Is it feasible?

With regards,

Giagos.

-- 
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] Re: DeadlineExceeded errors haunting every now and then

2011-12-12 Thread infoDiagram office
Same errors for couple of days here as well. We are 
really disappointed with this. It is already paid service so I would expect 
some sort of communication from Google on it. Looking at the amount of 
comments above it is definitively platform issue. Dear Google team 
please share some more info. 

Thanks

-- 
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/-/420n28X5MlcJ.
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] Questions about Java application to run reports

2011-12-12 Thread newdeveloper
Hey, all,
  I'm new to Google App Engine. I'm writing a Java application to send
HTTP request to a website to run and download reports. The download
process may take several hours.
The reports are PDF format and need to be sent out to clients by
email.
I'd like to check if JAE supports Java standalone application and
scheduler? As I understand, A GAE servelet needs to reply within 30
seconds. It seems I can't convert this application to a servelet, is
it right?

  Thanks.

-- 
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] Re: DeadlineExceeded errors haunting every now and then

2011-12-12 Thread thstart
I got the same error today, usually my app is very fast

-- 
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/-/xJ_SWvSIG_YJ.
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] Re: many uncaused 500 status code, who to contact?

2011-12-12 Thread thstart
I have the same issue today - usually my app is very fast.

-- 
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/-/TvttwSIs_VsJ.
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] Re: Help with stuck index

2011-12-12 Thread radomir
For the curious, no response from GAE team 5 days since reporting
index in Error state (that I cannot vacuum) and 2 more indexes stuck
in Building state.
How long would you wait before giving up and migrating elsewhere?
I guess everyone has different tolerance for this zero support (what's
SLA for?)... My application in question is not heavily used yet but I
have another very alive application. Can't imagine what would happen
there. In any case, this doesn't look good. Unless you can pay $500/
month to GAE (and are eligible party in the first place), if something
goes wrong, you can only pray that the issue will go away...

On Dec 9, 6:52 pm, Andrius A  wrote:
> It is ridiculous, but you have to pay additional $500 per month if you want
> to get a response.
> On Dec 9, 2011 12:34 PM, "radomir"  wrote:
>
>
>
>
>
>
>
> > Can anyone tell me what's expected response time from GAE team in case
> > of index stuck in Error state? What's your experience?
>
> > I opened production issue (6497) more than 2 days ago requesting index
> > deletion (as vacuum index didn't help) and still no response from
> > Google. (The app has billing enabled.)
>
> > I understand there's no guarantee about response time but this is
> > ridiculous.
>
> > On Dec 7, 7:03 pm, radomir  wrote:
> > > Yes, I followed these instructions (they appeared after unsuccessful
> > > deployment). In fact, the index that's in Error state wasn't in my
> > > datastore-indexes.xml at all. Vacuuming didn't delete it.
>
> > > I even removed two similar indexes (the same properties but in
> > > different order) but that didn't help. I even have additional problem
> > > now as after re-enabling these two indexes they're in Building state
> > > for 8 hours already although database is only 30MB.
>
> > > Something's definitely broken.
>
> > > On Dec 7, 6:41 pm, Andreas  wrote:
>
> > > > did u guys try to:
>
> > > > - remove the index entry from index.yaml,
> > > > - vacuum indexes
> > > > - put the index definition back
> > > > - update/redeploy the app
>
> > > > ?
>
> > > > On Dec 7, 2011, at 12:19 PM, radomir wrote:
>
> > > > > Exactly the same problem here (app "logdigger1"). I reported
> > > > > production issue 8 hours ago but still no response from GAE team.
>
> > > > > - Radomir
>
> > > > > On Dec 7, 1:13 pm, fredrik  wrote:
> > > > >> App id: "thenikonfamily"
>
> > > > >> Index:
>
> > > > >> - kind: MovieQuestioneer
> > > > >>   properties:
> > > > >>   - name: language_code
> > > > >>   - name: start_date
>
> > > > > --
> > > > > 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 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-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.

-- 
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] Re: Remote realtime FIFO implementation

2011-12-12 Thread Gerald Tan
There are two ways to do it.

1. Datastore, optionally memcached. Memcache by itself is not reliable, you 
will need the Datastore fallback which means everything written to the 
Memcache has to be written to the Datastore too, so Memcache will probably 
not improve anything except saving on the Datastore read from Client B

2. Store in Backend Instance RAM. If your traffic is really high, this may 
become cheaper than using the Datastore.

-- 
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/-/rqVp_sxW6ygJ.
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] Re: Queries that cannot be cursored?

2011-12-12 Thread Jeff Schnitzer
Ah, and there it is documented in the Query docs.  However, it would
be very handy if this threw an exception rather than returning null.
Unfortunately, passing in a null Cursor in the fetch options works
just fine - so what happens is that rather than getting an exception
with an explanation of what you are doing wrong, the next query just
continues from the beginning and you get a loop.  Oops.

Thanks,
Jeff

On Mon, Dec 12, 2011 at 2:16 PM, Jason Collins
 wrote:
> IN (and NOT_EQUALS) result in MultiQuery which doesn't support cursors
> as far as I know.
> j
>
> On Dec 11, 7:21 pm, Jeff Schnitzer  wrote:
>> Are there some kinds of queries for which cursors cannot be generated?
>>
>> I'm on Java SDK 1.6.0, using the "advanced queries" that let us escape
>> exploding indexes.  Whenever I request a Cursor, I get back null from
>> the low level QueryResultIterator.  When I click through to the GAE
>> SDK source code it looks like the query class is some sort of
>> "UncompileableQuery" which always returns null from getCursor().  Is
>> this expected?  Will it change in the future?
>>
>> FWIW, my query is this:
>>
>> Query query = ofy.load().type(Club.class)
>>                 .filter("cells in", cells)
>>                 .order(HasWords.SORT_FIELD)
>>                 .limit(CLUBS_BATCH_SIZE);
>>
>> (cells is a geocells multi-property)
>>
>> Thanks,
>> 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-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.
>



-- 
We are the 20%

-- 
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] Google App abuse

2011-12-12 Thread Jeff Schnitzer
Looks like a simple proxy server of the type casually used to route
around firewalls like China's or your overbearing employer's.  I don't
think this qualifies as abuse or stolen content.

Jeff

On Mon, Dec 12, 2011 at 11:39 AM, Martin O. Hamann
 wrote:
> howdy
>
>
> I have found 2 web apps that take advantage of Google's technology to steal
> content!
>
> http://gaucho-labnol.appspot.com/
> http://mirrorrr.appspot.com/
>
> These apps reflect the content of entire domains. I want to report the abuse
> and ask
> for advice at the same time, what can I do about it.
>
> cheers
> --
>
> --
> 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/-/fr1dFpP04ZQJ.
> 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.



-- 
We are the 20%

-- 
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] Re: Google App abuse

2011-12-12 Thread sb
They work as proxies.
What abuse exactly are you reporting?

What exactly are they stealing? You wouldn't steal a policeman's
helmet?
http://www.youtube.com/watch?v=ALZZx1xmAzg
:)

On Dec 12, 10:39 am, "Martin O. Hamann" 
wrote:
> howdy
>
> I have found 2 web apps that take advantage of Google's technology to steal
> content!
>
> http://gaucho-labnol.appspot.com/http://mirrorrr.appspot.com/
>
> These apps reflect the content of entire domains. I want to report the
> abuse and ask
> for advice at the same time, what can I do about it.
>
> cheers
> --

-- 
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] Attachment in mail

2011-12-12 Thread Batistuta Gabriel

Many thanks..It works

Le 12-déc.-11 à 18:53, Timofey Koolin a écrit :


from google.appengine.api import mail

message = mail.EmailMessage()


2011/12/12 Batistuta Gabriel 
Thanks.

What's the type of "message" in your answer.

Actually, I use this code :
Message msg = new MimeMessage(session);
msg.setDataHandler(new DataHandler(new  
ByteArrayDataSource(csv.getBytes(),"text/csv")));

msg.setFileName("data.csv");


msg.setFrom(new InternetAddress("***", ""));
msg.addRecipient(Message.RecipientType.TO, new  
InternetAddress("", "info"));

msg.setSubject("Export");

Transport.send(msg);


Thanks

Le 12-déc.-11 à 18:20, Timofey Koolin a écrit :


message = mail.EmailMessage()

message.sender = sender

message.subject =subjectmessage.to = receiver

message.body = text

message.attachments = [
("filename.csv", csv.getBytes())
]


2011/12/12 Timofey Koolin :
> message = mail.EmailMessage()message.sender =  
sendermessage.subject =
> subjectmessage.to = receivermessage.body =  
textmessage.attachments = [

> ("filename.csv", csv.getBytes())]
> 2011/12/12 Bat :
>> Hi,
>>
>> One of my servlet creates CSV content in a String variable.
>>
>> I'd like to send this CSV like an attachment file but everybody  
knows

>> the limitations of GAE : it's impossible to create a file. So, I
>> decided to find an another solution.
>>
>> Mine is to attach the CSV string like that :
>> String csv = "";
>> Message msg = new MimeMessage(session);
>> msg.setDataHandler(new DataHandler(new
>> ByteArrayDataSource(csv.getBytes(),"text/csv")));
>> msg.setFileName("data.csv");
>>
>> I receive the mail but without attachment. The CSV string is
>> integrated into the body part of the mail.
>>
>> How to attach this CSV string like a CSV file into the mail?
>>
>> Thanks
>>
>> --
>> 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 
.

>>
>
>
>
> --
> Blog: www.rekby.ru



--
Blog: www.rekby.ru


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



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




--
Blog: www.rekby.ru

--
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-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] Re: Queries that cannot be cursored?

2011-12-12 Thread Jason Collins
IN (and NOT_EQUALS) result in MultiQuery which doesn't support cursors
as far as I know.
j

On Dec 11, 7:21 pm, Jeff Schnitzer  wrote:
> Are there some kinds of queries for which cursors cannot be generated?
>
> I'm on Java SDK 1.6.0, using the "advanced queries" that let us escape
> exploding indexes.  Whenever I request a Cursor, I get back null from
> the low level QueryResultIterator.  When I click through to the GAE
> SDK source code it looks like the query class is some sort of
> "UncompileableQuery" which always returns null from getCursor().  Is
> this expected?  Will it change in the future?
>
> FWIW, my query is this:
>
> Query query = ofy.load().type(Club.class)
>                 .filter("cells in", cells)
>                 .order(HasWords.SORT_FIELD)
>                 .limit(CLUBS_BATCH_SIZE);
>
> (cells is a geocells multi-property)
>
> Thanks,
> 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-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] Re: HRD migration tool now available!

2011-12-12 Thread Alfred Fuller
Did you alias your old app id to your new app id? Cause if that is the
case, then remote_api is likely talking to the new app (and I don't think
it is possible to make it talk to the old app).

On Mon, Dec 12, 2011 at 9:56 AM, MikeR  wrote:

> Hi Simon,
>
> Thanks for the reply; I'm not expecting an automatic migration, I'm
> just not able to do the manual migration (using the remote_api).
> Hoping someone can take a look at my code and point out an obvious
> mistake...
>
> Mike
>
> On Dec 12, 5:33 pm, Simon Knott  wrote:
> > I didn't think blobstore migration was supported until a few months into
> > next year - I'll try and dig out which thread specified the timescales.
> >
> > Until it's supported, you have to manually migrate all of your blobstore
> > contents.
> >
> > Cheers,
> > Simon
>
> --
> 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.
>
>

-- 
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] Re: Attachment in mail

2011-12-12 Thread voscausa
You can use the blobstore to save / create files like CSV, PDF's and access 
these files with the file interface.

-- 
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/-/QMo86HC26tUJ.
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] Re: HRD migration tool now available!

2011-12-12 Thread MikeR
Hi Simon,

Thanks for the reply; I'm not expecting an automatic migration, I'm
just not able to do the manual migration (using the remote_api).
Hoping someone can take a look at my code and point out an obvious
mistake...

Mike

On Dec 12, 5:33 pm, Simon Knott  wrote:
> I didn't think blobstore migration was supported until a few months into
> next year - I'll try and dig out which thread specified the timescales.
>
> Until it's supported, you have to manually migrate all of your blobstore
> contents.
>
> Cheers,
> Simon

-- 
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] Attachment in mail

2011-12-12 Thread Timofey Koolin
from google.appengine.api import mail

message = mail.EmailMessage()


2011/12/12 Batistuta Gabriel 

> Thanks.
>
> What's the type of "message" in your answer.
>
> Actually, I use this code :
> Message msg = new MimeMessage(session);
> msg.setDataHandler(new DataHandler(new ByteArrayDataSource(csv.getBytes(),
> "text/csv")));
> msg.setFileName("data.csv");
>
>
>
> msg.setFrom(new InternetAddress("***", ""));
> msg.addRecipient(Message.RecipientType.TO, new InternetAddress("",
> "info"));
> msg.setSubject("Export");
>
> Transport.send(msg);
>
>
> Thanks
>
> Le 12-déc.-11 à 18:20, Timofey Koolin a écrit :
>
> message = mail.EmailMessage()
>
> message.sender = sender
>
> message.subject =subjectmessage.to = receiver
>
> message.body = text
>
> message.attachments = [
> ("filename.csv", csv.getBytes())
> ]
>
>
> 2011/12/12 Timofey Koolin :
> > message = mail.EmailMessage()message.sender = sendermessage.subject =
> > subjectmessage.to = receivermessage.body = textmessage.attachments = [
> > ("filename.csv", csv.getBytes())]
> > 2011/12/12 Bat :
> >> Hi,
> >>
> >> One of my servlet creates CSV content in a String variable.
> >>
> >> I'd like to send this CSV like an attachment file but everybody knows
> >> the limitations of GAE : it's impossible to create a file. So, I
> >> decided to find an another solution.
> >>
> >> Mine is to attach the CSV string like that :
> >> String csv = "";
> >> Message msg = new MimeMessage(session);
> >> msg.setDataHandler(new DataHandler(new
> >> ByteArrayDataSource(csv.getBytes(),"text/csv")));
> >> msg.setFileName("data.csv");
> >>
> >> I receive the mail but without attachment. The CSV string is
> >> integrated into the body part of the mail.
> >>
> >> How to attach this CSV string like a CSV file into the mail?
> >>
> >> Thanks
> >>
> >> --
> >> 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.
> >>
> >
> >
> >
> > --
> > Blog: www.rekby.ru
>
>
>
> --
> Blog: www.rekby.ru
>
>
> --
> 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.
>
>
>  --
> 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.
>



-- 
Blog: www.rekby.ru

-- 
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] Attachment in mail

2011-12-12 Thread Batistuta Gabriel

Thanks.

What's the type of "message" in your answer.

Actually, I use this code :
Message msg = new MimeMessage(session);
msg.setDataHandler(new DataHandler(new  
ByteArrayDataSource(csv.getBytes(),"text/csv")));

msg.setFileName("data.csv");


msg.setFrom(new InternetAddress("***", ""));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress("",  
"info"));

msg.setSubject("Export");

Transport.send(msg);


Thanks

Le 12-déc.-11 à 18:20, Timofey Koolin a écrit :


message = mail.EmailMessage()

message.sender = sender

message.subject =subjectmessage.to = receiver

message.body = text

message.attachments = [
("filename.csv", csv.getBytes())
]


2011/12/12 Timofey Koolin :
> message = mail.EmailMessage()message.sender =  
sendermessage.subject =
> subjectmessage.to = receivermessage.body = textmessage.attachments  
= [

> ("filename.csv", csv.getBytes())]
> 2011/12/12 Bat :
>> Hi,
>>
>> One of my servlet creates CSV content in a String variable.
>>
>> I'd like to send this CSV like an attachment file but everybody  
knows

>> the limitations of GAE : it's impossible to create a file. So, I
>> decided to find an another solution.
>>
>> Mine is to attach the CSV string like that :
>> String csv = "";
>> Message msg = new MimeMessage(session);
>> msg.setDataHandler(new DataHandler(new
>> ByteArrayDataSource(csv.getBytes(),"text/csv")));
>> msg.setFileName("data.csv");
>>
>> I receive the mail but without attachment. The CSV string is
>> integrated into the body part of the mail.
>>
>> How to attach this CSV string like a CSV file into the mail?
>>
>> Thanks
>>
>> --
>> 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 
.

>>
>
>
>
> --
> Blog: www.rekby.ru



--
Blog: www.rekby.ru


--
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-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] Attachment in mail

2011-12-12 Thread Timofey Koolin
message = mail.EmailMessage()

message.sender = sender

message.subject =subjectmessage.to = receiver

message.body = text

message.attachments = [
("filename.csv", csv.getBytes())
]


2011/12/12 Timofey Koolin :
> message = mail.EmailMessage()message.sender = sendermessage.subject =
> subjectmessage.to = receivermessage.body = textmessage.attachments = [
> ("filename.csv", csv.getBytes())]
> 2011/12/12 Bat :
>> Hi,
>>
>> One of my servlet creates CSV content in a String variable.
>>
>> I'd like to send this CSV like an attachment file but everybody knows
>> the limitations of GAE : it's impossible to create a file. So, I
>> decided to find an another solution.
>>
>> Mine is to attach the CSV string like that :
>> String csv = "";
>> Message msg = new MimeMessage(session);
>> msg.setDataHandler(new DataHandler(new
>> ByteArrayDataSource(csv.getBytes(),"text/csv")));
>> msg.setFileName("data.csv");
>>
>> I receive the mail but without attachment. The CSV string is
>> integrated into the body part of the mail.
>>
>> How to attach this CSV string like a CSV file into the mail?
>>
>> Thanks
>>
>> --
>> 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.
>>
>
>
>
> --
> Blog: www.rekby.ru



-- 
Blog: www.rekby.ru

-- 
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] Attachment in mail

2011-12-12 Thread Timofey Koolin
message = mail.EmailMessage()message.sender = sendermessage.subject =
subjectmessage.to = receivermessage.body = textmessage.attachments = [
                ("filename.csv", csv.getBytes())            ]
2011/12/12 Bat :
> Hi,
>
> One of my servlet creates CSV content in a String variable.
>
> I'd like to send this CSV like an attachment file but everybody knows
> the limitations of GAE : it's impossible to create a file. So, I
> decided to find an another solution.
>
> Mine is to attach the CSV string like that :
> String csv = "";
> Message msg = new MimeMessage(session);
> msg.setDataHandler(new DataHandler(new
> ByteArrayDataSource(csv.getBytes(),"text/csv")));
> msg.setFileName("data.csv");
>
> I receive the mail but without attachment. The CSV string is
> integrated into the body part of the mail.
>
> How to attach this CSV string like a CSV file into the mail?
>
> Thanks
>
> --
> 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.
>



-- 
Blog: www.rekby.ru

-- 
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] Attachment in mail

2011-12-12 Thread Bat
Hi,

One of my servlet creates CSV content in a String variable.

I'd like to send this CSV like an attachment file but everybody knows
the limitations of GAE : it's impossible to create a file. So, I
decided to find an another solution.

Mine is to attach the CSV string like that :
String csv = "";
Message msg = new MimeMessage(session);
msg.setDataHandler(new DataHandler(new
ByteArrayDataSource(csv.getBytes(),"text/csv")));
msg.setFileName("data.csv");

I receive the mail but without attachment. The CSV string is
integrated into the body part of the mail.

How to attach this CSV string like a CSV file into the mail?

Thanks

-- 
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] Google App abuse

2011-12-12 Thread Martin O. Hamann
howdy


I have found 2 web apps that take advantage of Google's technology to steal 
content!

http://gaucho-labnol.appspot.com/
http://mirrorrr.appspot.com/

These apps reflect the content of entire domains. I want to report the 
abuse and ask 
for advice at the same time, what can I do about it.

cheers
--

-- 
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/-/fr1dFpP04ZQJ.
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] Re: HRD migration tool now available!

2011-12-12 Thread Simon Knott
I didn't think blobstore migration was supported until a few months into 
next year - I'll try and dig out which thread specified the timescales.

Until it's supported, you have to manually migrate all of your blobstore 
contents.

Cheers,
Simon

-- 
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/-/0HzMw98DyoEJ.
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] Bloom filter index

2011-12-12 Thread Jeff Schnitzer
Seems like even a 1MB bloom filter (the largest size you can fit in a
single entity/memcache bucket) would accomodate an enormously large
dataset.

The not-so-obvious part is how to update the memcache in sync with the
datastore.  If you have transactional requirements, you can't update
the memcache on datastore write without risking collisions.  The
answer is to clear the value on write and use CAS operations on read.
If you're in Javaland you can use Objectify's
CachingAsyncDatastoreService directly with the low-level api.  If
you're in Pythonland you'll have to implement this yourself... just
remember, don't try to update memcache on datastore write.  It will
fail.

Jeff

On Sun, Dec 11, 2011 at 11:35 PM, Brandon Wirtz  wrote:
> Your CPU time will likely be lower. Your Bloom won’t be able to be more than
> about 28 megs in size.
>
> You may consider “Short” misses if your data doesn’t all fit.  (Using
> partial matches based on fewer characters of the complete value   Look up
> “Robert ZCXYNVsnup” Do I have any last names that start with ZCXY No. Great
> don’t look in data store.)
>
>
>
> You may want to play with Instance ram vs Memcache. This will likely be a
> factor of the Instance life and the number of running instances.
>
>
>
>
>
>
>
>
>
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of John Tantalo
> Sent: Sunday, December 11, 2011 7:17 PM
> To: google-appengine@googlegroups.com
> Subject: [google-appengine] Bloom filter index
>
>
>
> I wonder whether anybody has tried to build an in-memory bloom filter in
> front of an index to reduce datastore read operations?
>
>
>
> In my application, I have an exact-match query on a single field, and it
> commonly matches no results. However, I still have to pay for datastore read
> operations in this case.
>
>
>
> My idea was to build a bloom filter on every value of the field in my
> datastore. Given a query input, if the bloom filter says the value is a
> member of the set, I will query the datastore for it, which may or may not
> match results (i.e., a false positive).
>
>
>
> The bloom filter would be wrapped in an app engine model and stored in the
> datastore and memcached. The write rate to the datastore for this index is
> rather low, so I plan to update the bloom filter transactionally and cache
> it on every write. The updates could also be done offline in a task queue.
>
>
>
> The goal is to reduce the cost of searches, especially in the "no matches"
> case. I believe this change would reduce costs on datastore read operations,
> but increase CPU time because each request would have to read and
> deserialize a potentially large bloom filter from memcached. Clearly, this
> tradeoff could be tuned to the needs of the app, as a larger bloom filter
> would produce fewer false positives and wasted datastore reads.
>
>
>
> Thoughts?
>
> --
> 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/-/ViVc7VJ8iOAJ.
> 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.
>
> --
> 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.



-- 
We are the 20%

-- 
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] Remote realtime FIFO implementation

2011-12-12 Thread Rishi Arora
How about this:

1.  Rely on an in-memory implementation of FIFO as the primary storage.
2.  Store stuff to memcache as a temporary backup to protect against your
front-end instances dying because of over-usage of memory, or other reasons.
3.  Memcache writes should probably be asynchronous (use taskqueues) to
avoid incurring unnecessary latency (I think taskqueue.add is faster, but
you should try it out)
4.  If your client B doesn't read from the FIFO for some period of time,
say 60 seconds, back up your FIFO data into Datastore (asynchronously of
course).

On Sun, Dec 11, 2011 at 11:27 PM, Brandon Wirtz  wrote:

> Memcache won’t work by itself. DataStore writes would make this expensive
> for what you are looking to do.
>
> ** **
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appengine@googlegroups.com] *On Behalf Of *Grigory Fishilevich
> *Sent:* Saturday, December 10, 2011 12:40 PM
> *To:* google-appengine@googlegroups.com
> *Subject:* [google-appengine] Remote realtime FIFO implementation
>
> ** **
>
> Hi all, 
>
> ** **
>
> I'm new to Google App Engine and I'm looking for an advice. 
>
> ** **
>
> I want write a remote FIFO for realtime access outside of GAE. 
>
> This FIFO should contains small integers only and works as follows: 
>
> - client A write integer-values to FIFO
>
> - client B reads the values 1-5 seconds later
>
> - after what the values are invalid and can be deleted
>
> - there are always only 2 client per FIFO
>
> - it should be possible to have x FIFOs in the app
>
> ** **
>
> Importent for me: ability for realtime and concurrency, no deadlock etc. *
> ***
>
> ** **
>
> So, I'm new to GAE, wich service can I use for my App? 
>
> Pull Queues are limited to 100 active queues, it's not enough for me. 
>
> ** **
>
> Should I use memcache? DB? 
>
> ** **
>
> Thank in advance
>
> --
> 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/-/aEVQATdRwkQJ.
> 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.
>
> --
> 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.
>

-- 
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] Datastore question

2011-12-12 Thread Jeff Schnitzer
You may also have a slight misconception - the write limit applies to
each individual entity, not the entity as a class.  So you can only
update Thing1 once per second, but you can also update Thing2 once per
second, etc.  You should have no problem being able to "handle
creation of lots of same entities" as long as you don't explicitly put
them in a single entity group.
Jeff
On Sun, Dec 11, 2011 at 1:39 AM, Andrew Romanov  wrote:
> I am thinking of using Google App Engine for next web application, but
> have some concerns about Datastore (High Replication Datastore). In
> video explaining High Replication Datastore they told that writes take
> some time (45 ms). As I understand that means that many users won't be
> able to update some entity more than 22 times a second. It doesn't
> sound too scary. But what if that's task management system with lots
> of users. Will I be able to handle creation of lots of same entities
> (tasks) or will I run into same 22 writes a second limit? If so, what
> solution would you suggest?
>
> --
> 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.
>



-- 
We are the 20%

-- 
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] Re: HRD migration tool now available!

2011-12-12 Thread MikeR
I migrated my app 'bla' to 'bla-hrd' which worked fine.
Trying to copy the blobstore failed however. I have 98 blobs in 'bla'
and 1 test blob in 'bla-hrd'. Querying both 'bla' and 'bla-hrd' my
code always returns 1 blob. It used to return 0 blobinfo when the test
blob in 'bla-hrd' wasn't created yet. It seems as if all blobstore
access is routed to the new hrd application, making my old blobs
unreachable. I also tried using the BlobInfoService (can't remember
exact name) with same results.

Have a look at the code below and let me know if I missed something or
if this is a bug in the migration tool:

http://www.copypastecode.com/128643/

-- 
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] You have sent too many SMS verification messages , HOW TO FIX IT??

2011-12-12 Thread Lucian
I have filled the form in http://appengine.google.com/waitlist/sms_issues
for 3 times , and no sms has been sent to me yet!
If you cannot fix this, or the link above does not work anymore, or
you'll have me to wait for some time,please,at least send me an email
to tell me what exactly the situation is.
THIS IS THE WORST EXPERIENCE WITH GOOGLE EVER!!!
 CAN'T BELIEVE THAT IT IS SOMETHING GOOGLE COULD HAVE EVER DONE!!!

-- 
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] Re: Very high instance count

2011-12-12 Thread ZeroCool
I'm having the same problem for appid: pe-server1
I don't even know where the massive datastore reads came from.
It has costed me a lot of $ in 6 hours, which can support the app for
2 days with the same server load.

On 12月10日, 上午4时55分, Sami Lehtinen  wrote:
> Fresh from logs, appid: 9oxnet
>
> Instance was already running, it received request and server it
> straight from memcache without database access. (Less than 200 bytes)
>
> 2011-12-09 23:50:39.593 /2t 302 6108ms 0kb Mozilla/5.0 (Ubuntu;
> X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
>
> So it's generic system issue, because I can see from my logs that
> memcache lookup took exactly 2ms.
>
> On Dec 9, 8:43 pm, Amy Unruh  wrote:
>
>
>
>
>
>
>
> > For those who are still seeing such issues, could you file a production
> > ticket (or share your app 
> > id)?http://code.google.com/p/googleappengine/issues/entry?template=Produc...
>
> > On Fri, Dec 9, 2011 at 10:13 AM, Sami Lehtinen 
> > wrote:
>
> > > I'm pretty sure it has something to do with super slow system. So
> > > because each instance is slow, more instances are started.
>
> > > My tasks usually take less than 1000 ms, but now I'm seeing responce
> > > times like 15959ms all the time.
>
> > > Something is seriously messed up now.
>
> > > On Dec 8, 6:33 pm, Clément  wrote:
> > > > I'm experiencing a very high and unusual instance count on one of my 
> > > > apps
> > > > since this morning.
>
> > > --
> > > 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.

-- 
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] Intermittent - InvalidSenderError: Unauthorized sender

2011-12-12 Thread Vivek Puri
Browsing through the logs, i noticed the below given error. This
happened when the user sending the email is in fact a valid user
listed on the app permissions page. Besides that, not all emails
hitting that function call fail. So, there has to be a bug on the
AppEngine side of things.

**
Unauthorized sender
Traceback (most recent call last):
  File "/base/data/home/apps/app_name/app_version/folder/file.py",
line 119, in send_page_email
message.send()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/mail.py", line 894, in send
raise ERROR_MAP[e.application_error](e.error_detail)
InvalidSenderError: Unauthorized sender
**

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