[google-appengine] Re: Unicode Support for Python 2.5

2011-07-04 Thread Julian Namaro
Prakhil, Did you resolve this ? You need to do the convertion to unicode before any split or strip, try csv_file = self.request.get('file1').decode('utf-8') on your first line or if it is urlencoded: csv_file = urllib.unquote( self.request.get('file1') ).decode('utf-8') On Jul 1, 3:45 pm,

[google-appengine] Re: Feature Request: Custom (sub)domain to a version subdomain mapping

2011-04-27 Thread Julian Namaro
The issue below is related: http://code.google.com/p/googleappengine/issues/detail?id=2878 For apps using custom domains having to test different versions on appspot.com can cause problems with cookies and OpenID identities. On Apr 26, 9:21 pm, Vladimir Prudnikov v.prudni...@gmail.com wrote:

[google-appengine] Re: Google Checkout + App engine stinks

2011-04-17 Thread Julian Namaro
Not ideal but not the end of the world either. This delay might be needed to combat fraud which is a big difficulty for electronic money services. On Apr 17, 2:47 pm, Daniel danielshaneup...@gmail.com wrote: Every single time I try to up my quota, and pay a bit more for appengine, google

[google-appengine] Re: LIFO key name strategy?

2011-02-14 Thread Julian Namaro
I am not sure about the mathematics of it, but intuitively there is no perfect algorithm for constructing timestamps in a reverse lexicographical ordering, because adding a character to a string will always make it lexicographically superior. But I noticed the mapreduce library just pick a

[google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-11 Thread Julian Namaro
This one year old thread discusses the same problem I think: http://groups.google.com/group/google-appengine/browse_thread/thread/b35a0387dfdf918b/55563f57306defbc?lnk=gstq=mark+as+read#55563f57306defbc A possible solution: class Message(db.Model): sender=db.StringProperty()

[google-appengine] Re: Advice for database model

2011-01-11 Thread Julian Namaro
Your model won't work if one message can have several recipients. Is this OK? And is there a particular reason why you create an entity group for a user and its messages ? You only need an entity group if you plan to update different entities transactionally. Also, you might be interested by this

[google-appengine] Re: Help desk app

2010-12-20 Thread Julian Namaro
Hi Richard, Check out Rietveld, it is open source and could be a good base for building your project: http://code.google.com/appengine/articles/rietveld.html On Dec 21, 12:47 am, Richard richar...@gmail.com wrote: I am looking for something simple I can customize to integrate with our

[google-appengine] Re: Enhancement/Concept for Foreign Property Synchronization within Models

2010-12-10 Thread Julian Namaro
Yes I also thought about this when denormalizing. And this could be generalized to a whole model by serializing it into a protobuf StringProperty. This is probably best for models with infrequent writes, like a User personal information. On Dec 9, 7:06 am, Robert Kluin robert.kl...@gmail.com

[google-appengine] Re: FederatedLogin: Is logout supported?

2010-12-07 Thread Julian Namaro
You can star the issue I filed a while ago about this: http://code.google.com/p/googleappengine/issues/detail?id=3301 On Dec 8, 4:22 am, dflorey daniel.flo...@gmail.com wrote: Thanks for the suggestion, but don't think this is a feasible solution for a real world application. Is it possible

[google-appengine] Re: Suitability of App Engine for Database Display App

2010-11-30 Thread Julian Namaro
GAE is not designed for performing complex queries on a dataset. It is possible to get it to work by anticipating what queries you will need and building the corresponding indexes, but it is not easy nor flexible, and the complexity of the queries would be limited. Why not start with a relational

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

2010-11-18 Thread Julian Namaro
Wow a lot of work packed there, congrats App Engine team! I'm surprised about the new 10 minutes deadline on Cron and Task Queues. A short while back you were explaining that long-running requests are bad for the App Engine ecosystem. Is it not the case for Task Queues or are you just confident

[google-appengine] Re: Early Christmas Present from Google?

2010-11-08 Thread Julian Namaro
Back in July, and even after a maintenance before that I noticed a significant lower latency in the few days right after the maintenance. It never last though, so we should probably wait a few more days before assessing the results. I wonder what kind of changes in BigTable could cause a temporary

[google-appengine] Re: App Gallery no longer available

2010-11-07 Thread Julian Namaro
understood by the developers. Now if they even do substitute this with a new site I doubt early developers will go and resubmit their work. So I only hope Google reconsiders this, fixes the problems related to spam and classification of appls and restore the site. On Nov 6, 5:17 am, Julian Namaro

[google-appengine] Re: App Gallery no longer available

2010-11-05 Thread Julian Namaro
An App Gallery is a great idea but Google's one looked like a weekend project thrown out in the wild and was pretty useless. There was a lot of spam, unhelpful reviews, and occasionally you could see Desktop software (running only on Windows, not even cross- plateform) with a whole bunch of

[google-appengine] Re: Instances, cold start and pending_ms

2010-10-25 Thread Julian Namaro
The first number is used for average latency, not cpu_ms, and the auto- scaling threshold is computed only from user-facing request, not tasks or crons. Your numbers seems quite good, nothing to worry about I think. Are you experiencing a specific problem ? On Oct 23, 12:22 am, Matija

[google-appengine] Re: Latency related follow up

2010-10-06 Thread Julian Namaro
Sounds like a cold start problem. I don't have experience on this but there are some advices in the forum. If your app grows to have sustained traffic it will improve for sure, but when starting or for low-traffic sites the problem remains. I see that there's a feature on the App Engine Roadmap to

[google-appengine] Re: appcfg.py download_data [INFO] Authentication Failed

2010-10-06 Thread Julian Namaro
Romage, It's not straightforward but if you create a config file using Automatic Configuration you'll be able to specify a format for the downloaded data: http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Configuring_the_Bulk_Loader On Oct 6, 11:26 pm, romage

[google-appengine] Re: Performing AND Queries w/List Properties

2010-09-25 Thread Julian Namaro
You can perform an AND query on a ListProperty without a custom index. I think it's called merge-join. Have you tried InventoryItem.all().filter(keywords =, keyword1).filter(keywords =, keyword2).filter(...) ? Julian http://www.memobuild.com On Sep 24, 3:56 am, jorge jorge.velazq...@gmail.com

[google-appengine] Re: Performing AND Queries w/List Properties

2010-09-24 Thread Julian Namaro
You can perform an AND query on a ListProperty without a custom index. I think it's called merge-join. Have you tried InventoryItem.all().filter(keywords =, keyword1).filter(keywords =, keyword2).filter(...) ? Julian http://www.memobuild.com On Sep 24, 3:56 am, jorge jorge.velazq...@gmail.com

[google-appengine] Re: CSS available but not executed

2010-09-21 Thread Julian Namaro
Hi, What do you mean it is not executed ? Your CSS has only some rules for body and tables and it works fine in my browser. Do you mean your CSS file is not updated when you push a new version of your application? In that case that's a static files cache issue, you can search this forum for cache

[google-appengine] Re: Having trouble deploying new version - Error The request is invalid for an unspecified reason.

2010-09-14 Thread Julian Namaro
Thanks Tim, I had the same problem today and your solution worked. Maybe the documentation(http://code.google.com/appengine/docs/python/ config/appconfig.html#Custom_Error_Responses) should make it clear to not put the custom page in a static folder. On Aug 18, 12:53 pm, Tim Hoffman

[google-appengine] Hi group! My App Engine App is finally launching today.

2010-09-08 Thread Julian Namaro
for the constant improvements of the platform. Thank you, and please, do keep it up! Julian Namaro http://www.memobuild.com -- 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

[google-appengine] Re: SSO with built-in OpenId is possible?

2010-08-30 Thread Julian Namaro
I thought SSO for the marketplace was one of the goal of the built-in OpenID login, but I haven't tried yet. Somebody can confirm it works ? On Aug 30, 9:26 pm, Rodrigo Moraes rodrigo.mor...@gmail.com wrote: On Aug 29, 11:33 pm, gops wrote: I think pure openid is possible( just login ). but

[google-appengine] Re: SDK 1.3.6 released!

2010-08-23 Thread Julian Namaro
You can add: sys.path.insert(0,/path/to/google_appengine/lib/fancy_urllib) ..in the script where you're calling remote_api. On Aug 23, 5:15 am, Ryan Weber ryan.we...@gmail.com wrote: Hitting the fancy_urllib issue with remote_api too. Has anyone found a fix/workaround for this (other than

[google-appengine] Re: A group of students need your valuation on their app

2010-05-25 Thread Julian Namaro
Hi Duc, Nice project. If I may give one advice that would be to simplify the registration process. Ideally the user should be able to start a problem right after google sign-in. Make them join a default team, etc... How do you compile code on GAE server, are you using a mock compiler written in

[google-appengine] Re: Email Idempotence

2010-04-01 Thread Julian Namaro
What about: try: mail.send_mail( ...) except Exception, e: logging.error( str(e) ) return On Apr 2, 2:44 am, GAEfan ken...@gmail.com wrote: OK, just received the 3rd bcc, 34 minutes later. So the question is, how can I put an email in the taskqueue, and have the task not re-executed

[google-appengine] Re: Sending emails - taskqueue is too quick?

2010-01-14 Thread Julian Namaro
What do you get if you specify the rate per second ? Also are you sure each task sends only one email ? On Jan 15, 5:19 am, Emanuel Berglund emanuel.bergl...@gmail.com wrote: Thanks for your reply, Supposedly the bucket_size: should be 1 and not 8 according to this

[google-appengine] Re: How to send massive emails and avoid being suspended?

2009-12-29 Thread Julian Namaro
It is unlikely someone would mark as spam an e-card from somebody they know. Maybe some company use your service to send spam ? Make sure users of your service need to create an account(with a captcha) and set a daily limit for number of e-card sent. On Dec 23, 5:30 pm, Krystox krys...@gmail.com

[google-appengine] Re: Mail Service: not all emails were sent, unclear quota denials

2009-12-23 Thread Julian Namaro
If you send all the mails at the same time maybe you hit the 10 mails / second quota. If that's the case, use a task queue to send emails and you'll be able to control the rate of execution. On Dec 24, 2:04 am, Alexander Arendar alexander.aren...@gmail.com wrote: Hi, My app supposed to send

[google-appengine] Re: Query the Index

2009-12-23 Thread Julian Namaro
I don't think an index can help you for that. See Robert's solution or if the list of categories doesn't change often, you can just hardcode it in the Python/Java script. On Dec 22, 9:01 pm, Diogo Terror ranc...@gmail.com wrote: Is there a way I could query the index contents, such as: I have

[google-appengine] Re: Application ID

2009-12-17 Thread Julian Namaro
Hi Marco, Maybe you got an error precisely because the id was unavailable. A quick google search returns 2 results for artezel - at - gmail App Engine namespace is shared with other google applications like gmail. On Dec 16, 9:20 am, Marco Antonio da Silva Castanheira mcastanhe...@globo.com

[google-appengine] Re: Documenting Each App Having its Own Datastore?

2009-12-04 Thread Julian Namaro
Well technically there is only one datastore for all apps. Google servers make sure you cannot access data from other apps, but we can imagine that they will allow it for specific cases in the future. And different entities with the same name can co-exist because all the keys of your app contain

[google-appengine] Re: Datastore is slow on queries involving many entities, but a smallish dataset

2009-12-03 Thread Julian Namaro
Eric, Sorry my previous answer was wrong. The query time increases with the number of entities fetched faster than I thought. From a small benchmark in Python average time for your query is 150-200ms. This is for fetching 130 entities of about 400 bytes, with 5 properties each, using an

[google-appengine] Re: DB Model design, fan-out, lots of writes?

2009-12-02 Thread Julian Namaro
Is there value in putting the MessageRead entity in the same entity group as the message? Just to do transactional mark as read. I agree in most cases it's not worth the trouble. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post

[google-appengine] Re: DB Model design, fan-out, lots of writes?

2009-12-01 Thread Julian Namaro
There is a better solution to this problem. You can use a special entity MessageRead with no property and a key_name= message_id + recipient_id indexes = keys_only query on MessageIndexes for k in indexes: keys.append( k.parent() ) keys.append( db.Key.from_path('MessageRead', k.parent().id()

[google-appengine] Re: Datastore is slow on queries involving many entities, but a smallish dataset

2009-12-01 Thread Julian Namaro
Hi Eric, Of course this kind of performance is in no way normal. Such a simple query typically takes below 50ms. So either there is a problem in your code, or you hit a bug in the java SDK. I suggest you post a more complete code sample in the App Engine Java group. And no need to be

[google-appengine] Re: Can a bank system be transactional and low contentious?

2009-11-30 Thread Julian Namaro
How is this better than a read then a write outside of a transaction ? Anyway it looks like there will be specialized tasks for transaction across entity groups in the future. On Dec 1, 4:32 am, peterk peter.ke...@gmail.com wrote: I'm not sure if this would meet your needs or not, but it might

[google-appengine] Re: Three questions about AppEngine datastore and benefits / cost of EntityGroups?

2009-11-23 Thread Julian Namaro
Question 1: When you define a chain of ownership between an entity and child entity, is the entity group defined at the root entity level or the kind level. For example of you have kind called Book and a child kind Chapter defined. If you have a Book entity named Intro to AppEngine, and

[google-appengine] Re: datastore glitch/corruption?

2009-11-20 Thread Julian Namaro
, ussuri michael.glas...@gmail.com wrote: On Nov 19, 9:57 pm, Julian Namaro namarojul...@gmail.com wrote: The datastore is 100% reliable even if the datastore Java/Python APIs might not be. What framework and libraries do you use? Is this live on appspot.com or the local dev server? It looks

[google-appengine] Re: datastore glitch/corruption?

2009-11-19 Thread Julian Namaro
The datastore is 100% reliable even if the datastore Java/Python APIs might not be. What framework and libraries do you use? Is this live on appspot.com or the local dev server? It looks like there is an unauthorized write somewhere. If you can reproduce the problem consistently, try to locate

[google-appengine] Re: Why not implement a Django database backend for App Engine?

2009-11-18 Thread Julian Namaro
Traditional relational databases are not scalable, and using such library would most likely result in a data organization that does not scale well. Might be fine for a lot of apps, but it kind of defeat the main purpose of using a cloud infrastructure. On Nov 18, 9:54 pm, frankabel

[google-appengine] Re: Increasing task queue quotas

2009-11-17 Thread Julian Namaro
I'm not sure about what you want to do but just a thought: have you considered Amazon Elastic MapReduce ? It's sure doable with task queues but you're likely to encounter various limitation problems as you cite. On Nov 18, 1:46 am, James Cooper jamespcoo...@gmail.com wrote: Hi, I'm evaluating

[google-appengine] Re: Adding the link to app on the the Google App top navigation bar

2009-10-30 Thread Julian Namaro
I believe the only way to do that would be to use something like a Greasemonkey script (cf. http://en.wikipedia.org/wiki/Greasemonkey#Equivalents_for_other_browsers). On Oct 29, 1:34 pm, saneef san...@gmail.com wrote: Is there any way to add the link to newly made Google App to the Google

[google-appengine] Re: Transactions

2009-08-09 Thread Julian Namaro
I think this problem is discussed there: http://code.google.com/p/googleappengine/issues/detail?id=313 Julian On Aug 7, 4:30 am, Cornel corneliu.lupu...@gmail.com wrote: Hello. I'm using app engine to write a business application. I've read that during a transaction one can modify only

[google-appengine] Re: Proposal: __index__ support to make certain datastore/query operations more efficient

2009-08-06 Thread Julian Namaro
That's an interesting idea, for that particular use case. If I reformulate the relation index entities query as I understand it: 1. [datastore]Traverse the index and return entity keys 2. [app engine]Transform returned keys to retrieve parent entity 3. [datastore] Batch get of entities Your

[google-appengine] Re: Querying for N random records on Appengine datastore

2009-07-10 Thread Julian Namaro
You should try to generate a list of N random keys for your entity because you can fetch that with only one datastore call(and no index). Aren't google-generated numeric IDs guaranted continuous? If not you can yourself assign alphanumeric keys that are continuous (or generated by a formula that