Re: [google-appengine] Worried about performance of an HTTP based game.

2011-07-15 Thread Branko Vukelic
Why not use task queue for that? On Fri, Jul 15, 2011 at 1:15 PM, Zippoxer zippo...@gmail.com wrote: I'm working on a game and that game will have an update that will run every 10 seconds. In this update every player's data is fetched from the datastore, processed by my code (changed) and

Re: [google-appengine] Expensive HR Put

2011-07-08 Thread Branko Vukelic
, the property constructors take a boolen indexed argument. Robert On Jul 7, 2011 11:29 AM, Branko Vukelic bg.bra...@gmail.com wrote: -- 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

Re: [google-appengine] Expensive HR Put

2011-07-08 Thread Branko Vukelic
Forgot to mention that it doesn't have billing, and it's well below any quota limit at the moment. On Fri, Jul 8, 2011 at 11:05 AM, Branko Vukelic bg.bra...@gmail.com wrote: Thanks for clarification. So in this case I guess it would be normal for the API call to take some time. Incidentally

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

2011-07-08 Thread Branko Vukelic
Have you tried unicode(self.request.get('file1'))? There's also force_unicode function in Django. I use a simplified version of it: def force_unicode(s): if not s: return u'' if isinstance(s, unicode): return s try: return unicode(s) except: try:

Re: [google-appengine] Expensive HR Put

2011-07-08 Thread Branko Vukelic
your model have? Robert On Friday, July 8, 2011, Branko Vukelic bg.bra...@gmail.com wrote: Forgot to mention that it doesn't have billing, and it's well below any quota limit at the moment. On Fri, Jul 8, 2011 at 11:05 AM, Branko Vukelic bg.bra...@gmail.com wrote: Thanks for clarification

[google-appengine] Expensive HR Put

2011-07-07 Thread Branko Vukelic
In a Python app (http://loveffee.appspot.com/), I have a one Put operation that takes 97ms (645ms API) according to appstats. Does this look excessive? The record consists of a small amount of data (in the area of 363 bytes / 41 records). -- Branko Vukelić bra...@herdhound.com Lead Developer

Re: [google-appengine] Expensive HR Put

2011-07-07 Thread Branko Vukelic
Kluin robert.kl...@gmail.com wrote: Hi Branko,  Do you have lots of indexed properties on that entity?  Each index write adds to the API time. Robert On Thursday, July 7, 2011, Branko Vukelic bg.bra...@gmail.com wrote: In a Python app (http://loveffee.appspot.com/), I have a one Put operation

Re: [google-appengine] Re: The price of Scalability

2011-07-05 Thread Branko Vukelic
What about options like dotcloud? We are considering that for one of our projects that will be free for end users (i.e., won't be making enough money to pay for GAE at new pricing). On Wed, Jul 6, 2011 at 2:05 AM, Waleed Abdulla wal...@ninua.com wrote: I'm running 3 apps on GAE with a total of

Re: [google-appengine] Re: How to do a 'count' in App Engine

2011-07-04 Thread Branko Vukelic
On Mon, Jul 4, 2011 at 12:03 PM, Phil Young p...@philyoung.org.uk wrote:   if words.count() 5:     blah blah if words.count(6) 5: blah blah A slightly more efficient count. -- Branko Vukelić bra...@herdhound.com Lead Developer Herd Hound (tm) - Travel that doesn't bite

Re: [google-appengine] Re: Luis Fernando Sandoval Mejia wants to chat

2011-07-04 Thread Branko Vukelic
Huh... this is the weirdest kind of spam I've seen so far, if it's spam at all... On Mon, Jul 4, 2011 at 9:17 PM, Kaan Soral kaanso...@gmail.com wrote: what is this? On Jul 4, 7:30 am, Luis Fernando Sandoval Mejia luis.f.sando...@gmail.com wrote:

Re: [google-appengine] Re: GAE Pricing Changes - Sucker Punching the Development Community

2011-07-04 Thread Branko Vukelic
On Tue, Jul 5, 2011 at 1:23 AM, stevep prosse...@gmail.com wrote: This is a combined elephant / 800lb Gorilla in the room for me, yet it is never mentioned by Google. Yeah, maybe because there were already double-elephant-giraffe combo, and two tasmanian devils, discussed in other threads, so

Re: [google-appengine] Re: Confused about Users API

2011-07-03 Thread Branko Vukelic
Sorry, I don't use Java. On Sun, Jul 3, 2011 at 9:31 PM, David Walt beaucr...@gmail.com wrote: Thanks. Do you have a particular framework in mind ? If I use a framework, can I use it just for this, and what about the performance ? (sorry it's begginers questions) On 1 juil, 15:27, Branko

Re: [google-appengine] Empty applications list

2011-07-01 Thread Branko Vukelic
2011/6/29 Grégoire VIGNERON gregoire.vigne...@laobab.fr: I created a new application, but my application list (at https://appengine.google.com/start) is still empty. I'm sure the application was correctly created because the Application Identifier is not available anymore, and I have have 9

Re: [google-appengine] Confused about Users API

2011-07-01 Thread Branko Vukelic
On Wed, Jun 29, 2011 at 10:29 PM, David Walt beaucr...@gmail.com wrote: - Maybe use a Java Framework which provides the same functionnalities that Google API, but with any kind of client? This is probably the best solution if you don't want to use a 3rd party service like Janrain. Of course,

Re: [google-appengine] A server error has occurred - When creating an app

2011-07-01 Thread Branko Vukelic
No. Others had the same problem in various parts of the apps list. On Thu, Jun 30, 2011 at 6:59 PM, Daniel papiertour...@googlemail.com wrote: Hello, after the login to app engine, I click Create Application. I chose a unique ID and title. When clicking Create Application this happens all

Re: [google-appengine] App engine Link

2011-07-01 Thread Branko Vukelic
You want to dynamically create a page like Wiki software does based on the URL? On Thu, Jun 30, 2011 at 11:36 PM, Matt mwein2...@gmail.com wrote: Hi, I'm working on a site using App Engine with Python, and I really want to add links to new pages in the site, is there a specific way to do

Re: Re: [google-appengine] A server error has occurred - When creating an app

2011-07-01 Thread Branko Vukelic
Well, others didn't get an answer, so I suppose not. I had it happen to me once when I was migrating a M/S app to a new version, and the problem went away after a few minutes. On Sat, Jul 2, 2011 at 12:31 AM, Daniel papiertour...@googlemail.com wrote: So, there is nothing I can do about it? --

Re: [google-appengine] Attempt to delete entities in HR Datastore Admin is stuck

2011-06-30 Thread Branko Vukelic
On Thu, Jun 30, 2011 at 5:04 AM, phtq pher...@typequick.com.au wrote: In the application kbdlessons2.appspot.com an attempt was made to The app seems to be MIA. -- Branko Vukelić bra...@herdhound.com Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com -- You received

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-30 Thread Branko Vukelic
On Thu, Jun 30, 2011 at 5:46 PM, johnP j...@thinkwave.com wrote: I'd like to propose one thought:  It might be cheaper for Google to lose money on Appengine than it is to lose trust with the developer community. [...snippage...] I agree. On the other hand, it would be foolish if Google went

Re: [google-appengine] Request for clarification using GAE and XMPP

2011-06-29 Thread Branko Vukelic
On Tue, Jun 28, 2011 at 11:22 PM, Nikolay Sohryakov nikolay.sohrya...@gmail.com wrote: application which consists of two parts: a web application running on GAE plaform and a desktop application running on user's computer and use XMPP as a communication tool between this 2 applications? I

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Branko Vukelic
On Wed, Jun 29, 2011 at 8:29 PM, Jeff Schnitzer j...@infohazard.org wrote: On Wed, Jun 29, 2011 at 11:14 AM, vivpuri v...@vivekpuri.com wrote: @Jeff i dont you have the development experience on AppEngine to even take part on this discussion. Before suggesting, first go an check what Quercus

Re: [google-appengine] Re: Error

2011-06-28 Thread Branko Vukelic
Had it briefly for a minute or so while trying to switch versions, last night. Back to normal now. On Tue, Jun 28, 2011 at 5:42 PM, kamens kam...@gmail.com wrote: Was same here for a while...same for visiting appspot.com. app id: khanexercises On Jun 28, 6:20 am, Atif Gulzar

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-28 Thread Branko Vukelic
On Tue, Jun 28, 2011 at 9:00 PM, Will vocalster@gmail.com wrote: Speaking for myself, I'm paying more than $75 per month right now, and yes, I will bite the bullet and pay up. But the feeling is totally different. Before, I stay because I want to; now, I stay because I have to. Think about

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-28 Thread Branko Vukelic
On Wed, Jun 29, 2011 at 1:12 AM, Waleed Abdulla wal...@ninua.com wrote: Another point is support. Most hosting companies give you phone support if you pay $100/month (or less). How come GAE charges $500 per month for it? It's understandable not to offer it for free users, or even below a

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-27 Thread Branko Vukelic
On Mon, Jun 27, 2011 at 6:44 PM, vivpuri v...@vivekpuri.com wrote: In my opinion, this pricing change has ability to destroy AppEngine. I believe you are underestimating the amount of bad experience users that are locked into the platform will put up with before they switch. I'm sure Google

Re: [google-appengine] Deployment Errors

2011-06-27 Thread Branko Vukelic
You mean the default (ugly) Google's error page? Or your application's error page? I had strage 500 errors before and they were gone before I could troubleshoot the error, so I assumed they were temporary failures. On Mon, Jun 27, 2011 at 6:41 PM, Daniel danielshaneup...@gmail.com wrote:

Re: [google-appengine] Python db.filter() strangeness

2011-06-27 Thread Branko Vukelic
On Thu, Jun 23, 2011 at 10:50 AM, sergey s.lyapus...@gmail.com wrote: ipads = Item.all().filter('name =', 'ipad').count() Sometimes happens to me in the form of typo. I've adopted this form: ipads = Item.all().filter('name', 'ipad').count() It's documented. -- Branko Vukelić

Re: [google-appengine] Can't login to admin panel

2011-06-27 Thread Branko Vukelic
On Mon, Jun 27, 2011 at 7:55 PM, Vlad Software v...@mazuru.com wrote: People, please help me! Can anybody say me what I'm doing wrong? I want to start app on GAE, but I can't Heya buddy. Did you maybe delete the application by mistake? The only possible explanation I can think of, for not

Re: [google-appengine] Re: Deployment Errors

2011-06-27 Thread Branko Vukelic
On Mon, Jun 27, 2011 at 7:52 PM, Daniel danielshaneup...@gmail.com wrote: They were just on deployment of my application.  It seems to be working fine now though. I know how you feel about it, but GAE does seem to have this type of glitch sometimes. It happened only once in the past few months.

[google-appengine] Sending email in batch

2011-06-26 Thread Branko Vukelic
I'm currently trying to figure out the best way to send batches of emails using tasks. There are three ways I can imagine doing it: 1. Enqueue a task passing it a list of addressees, and the task processes the first one, and enqueues a task passing it the rest 2. Enqueue a task passing it the

Re: [google-appengine] Re: Sending email in batch

2011-06-26 Thread Branko Vukelic
On Sun, Jun 26, 2011 at 9:41 PM, nischalshetty nischalshett...@gmail.com wrote: If you're using the appengine mail api be sure you want that or something along the lines of Amazons mail service because I remember reading a thread where one of the appengine devs said the email service is not

Re: [google-appengine] Re: Sending email in batch

2011-06-26 Thread Branko Vukelic
Ok, thanks for all the answers. I'll do it that way. On Sun, Jun 26, 2011 at 10:16 PM, Nischal Shetty nischalshett...@gmail.com wrote: I would suggest you do it in parallel. Create n tasks with x emails in each of them. It would be faster that way! On 26 June 2011 15:52, Branko Vukelic

Re: [google-appengine] Re: Sending email in batch

2011-06-26 Thread Branko Vukelic
if that's the proper way of doing parallel processing, but I'm happy with the solution. On Sun, Jun 26, 2011 at 11:33 PM, Nischal Shetty nischalshett...@gmail.comwrote: Also remember that in a batch you can add a maximum of 100 tasks. On 26 June 2011 17:00, Branko Vukelic bg.bra...@gmail.com wrote

[google-appengine] Mass mailing: task queue vs BCC field

2011-06-25 Thread Branko Vukelic
I have a few scenarios where I need to send emails en masse (batches of 10 to maybe 200 or 400 addresses). In some cases, the batch size would be a result of the amount of users' activities, and in certain cases the batch is for notifications sent to multiple users at once (something like a

Re: [google-appengine] Mass mailing: task queue vs BCC field

2011-06-25 Thread Branko Vukelic
, Branko Vukelic bg.bra...@gmail.com wrote: I have a few scenarios where I need to send emails en masse (batches of 10 to maybe 200 or 400 addresses). In some cases, the batch size would be a result of the amount of users' activities, and in certain cases the batch is for notifications sent

Re: [google-appengine] Re: Google APPs Engine projects with team work

2011-06-24 Thread Branko Vukelic
On Fri, Jun 24, 2011 at 11:00 PM, Brandon Wirtz drak...@digerat.com wrote: I think sometimes my dry humor comes off as angry, when it is meant in a more jovial tone.  Limitation of a text only communication medium. I have noticed the pronounced dryness as well. As for humor, your own claim

Re: [google-appengine] Re: MS-HR Migration Post-Mortem

2011-06-24 Thread Branko Vukelic
On Fri, Jun 24, 2011 at 11:39 PM, Casey Dwyer caseydw...@gmail.com wrote: IIRC, in one of the I/O talks (More 9s Please I believe), they said that read latency is about the same and write latency is high in HRD. Did I hear that incorrectly? That's exactly correct.

Re: [google-appengine] Can't login to admin panel

2011-06-23 Thread Branko Vukelic
You are probably logged into a wrong account. On Thu, Jun 23, 2011 at 10:56 PM, Vlad Software v...@mazuru.com wrote: And where is App ID? You can see i have already logined but i don't see any app id. I have one application. fxurity.appspot.com Please tell me what am I doing wrong(is this

Re: [google-appengine] Can't login to admin panel

2011-06-23 Thread Branko Vukelic
Or you created the app from the wrong account? On Thu, Jun 23, 2011 at 11:55 PM, Branko Vukelic bg.bra...@gmail.com wrote: You are probably logged into a wrong account. -- Branko Vukelić bra...@herdhound.com Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com -- You

[google-appengine] Indexes not ready to serve

2011-06-23 Thread Branko Vukelic
On one of the apps with HR datastore, I encountered this error. When I update an app that has new indexes, what's the best way to handle deployment of the new version to prevent this type of error? Do I wait for the new indexes to become ready and then make the new version default, and if so, how

Re: [google-appengine] Google APPs Engine projects with team work

2011-06-23 Thread Branko Vukelic
We are using Assembla for our project and it's been working well for us. It gives you SVN, git and maybe something else as well for version control, and a fully-featured ticket system, milestones, etc. It doesn't give you any GAE integration, I'm afraid, and no free private projects. There's also

Re: [google-appengine] Google APPs Engine projects with team work

2011-06-23 Thread Branko Vukelic
On Fri, Jun 24, 2011 at 1:38 AM, Adrian Scott adr...@coderbuddy.com wrote: updated most recently and by whom. We don't yet have clone/merge capabilities but are looking at that for the future. If each of your team is developing a different part of the project that can work pretty well with our

Re: [google-appengine] write to file system in development mode?

2011-06-23 Thread Branko Vukelic
Maybe patch the SDK source? On Fri, Jun 24, 2011 at 2:36 AM, Gerad Suyderhoud ger...@gmail.com wrote: Long story, but... I need to be able to write to the filesystem when running the development appserver. Anybody know of a way to get around Google's monkey patches preventing this? (Again, I

Re: [google-appengine] Google APPs Engine projects with team work

2011-06-23 Thread Branko Vukelic
On Fri, Jun 24, 2011 at 4:14 AM, Ikai Lan (Google) ika...@google.com wrote: I like Github, but that requires you to use Git. If you want SVN or Mercurial, you can use Google Code, but it will be open source. BitBucket allows you to use Mercurial for a small private repository for free, I

Re: [google-appengine] Indexes not ready to serve

2011-06-23 Thread Branko Vukelic
for the indexes to build, do your acceptance testing, and flip the default. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Fri, Jun 24, 2011 at 7:07 AM, Branko Vukelic

Re: [google-appengine] Google APPs Engine projects with team work

2011-06-23 Thread Branko Vukelic
On Fri, Jun 24, 2011 at 4:31 AM, Ikai Lan (Google) ika...@google.com wrote: Either way, the point I was making is that the OP should use a source control system. Generally speaking a project management solution is also useful, but in my experience it's more important to hammer out a process. No

Re: [google-appengine] Re: Payment gateway

2011-06-21 Thread Branko Vukelic
I've never used POST callbacks. How do those work? On Tue, Jun 21, 2011 at 8:42 AM, Ricky Button m...@rickybutton.com wrote: I am using Spreedly to handle payments. I use it for subscriptions, but I'm pretty sure it can handle more than that. It has a wonderful REST api and even provides a

Re: [google-appengine] Analytics on a non-HTML response

2011-06-21 Thread Branko Vukelic
Google Analytics only records client-side interactions. For server-side, you would have to write your own analytics, and use Google Analytics API to integrate the report data, I think. On Tue, Jun 21, 2011 at 4:39 AM, Jeff Knox lairdk...@gmail.com wrote: Is it possible to setup Google Analytics

Re: [google-appengine] Re: Interception Errors

2011-06-21 Thread Branko Vukelic
Not very common due to auth systems, but maybe 403: Forbidden (not authorized) And maybe 418[1] for fun? (not per RFC, though)[2] [1] http://en.wikipedia.org/wiki/HTTP_code#4xx_Client_Error [2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html On Wed, Jun 22, 2011 at 12:49 AM, walter

[google-appengine] Payment gateway

2011-06-20 Thread Branko Vukelic
Can anyone recommend a payment gateway that offers Python SDK that would work on GAE? I've looked at a few but so far Python SDK is either not offered at all, or offered with C-based code/dependencies. If there's no such a solution, what payment gateway would you recommend that possibly has nice

Re: [google-appengine] Payment gateway

2011-06-20 Thread Branko Vukelic
or declined -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Branko Vukelic Sent: Monday, June 20, 2011 12:55 PM To: google-appengine@googlegroups.com Subject: [google-appengine] Payment gateway Can anyone recommend

Re: [google-appengine] Help! Error while using bulkloader!

2011-06-20 Thread Branko Vukelic
This means that the credentials you are using to log in must match one of the application administrators. On Tue, Jun 21, 2011 at 4:08 AM, lezizi w...@lezizi.org wrote: Hello, I'm a Google App Engine user. I've tried many times to use bulkloader to upload my data to the App Engine. My OS is

Re: [google-appengine] Pick-up sports app -- maps + calendar

2011-06-18 Thread Branko Vukelic
@ Brandon That was a bit harsh. A little bit. @ jobber: There's jQuery datepicker for a quick calendar widget, and Google Maps API. For maps, you have to be careful about quota. You have limits as to how many requests you can make per day, so as your user base grows, you'll reach a point where

Re: [google-appengine] Re: Pick-up sports app -- maps + calendar

2011-06-18 Thread Branko Vukelic
Good luck On Sun, Jun 19, 2011 at 1:33 AM, jobber mik...@gmail.com wrote: Thanks Branko. On Jun 18, 4:59 pm, Branko Vukelic bg.bra...@gmail.com wrote: @ Brandon That was a bit harsh. A little bit. @jobber: There's jQuery datepicker for a quick calendar widget, and Google Maps API

Re: [google-appengine] Re: MailService Exception after exactly 66 messages

2011-06-18 Thread Branko Vukelic
Email has multiple quotas. It's not just the number of email sent, but also the size of the messages, etc. Mail API Calls 100 Recipients Emailed 2,000 Admins Emailed 0 of 5,000 Message Body Data Sent 0.06 GBytes Attachments Sent 2,000 Attachment Data Sent 0.10 GBytes You can see how you're doing

Re: [google-appengine] Re: Task queue not scaling up!

2011-06-18 Thread Branko Vukelic
I doubt it would slow down if he was exceeding. It'd probably just stop in that case. On Sun, Jun 19, 2011 at 3:26 AM, Chiguireitor johnvillarzava...@gmail.com wrote: There's a daily MAX limit on 100.000 tasks on the free limits, aren't you exceding it? -- You received this message because

Re: [google-appengine] How to reender from one page to another using a button

2011-06-17 Thread Branko Vukelic
If all you want to do is switch from one page to another, you can use a form with just one button like so: form action=http://www.google.com/; method=GET button type=submitGo there/button /form You can see how it works here: http://jsfiddle.net/g5prs/ The button works

Re: [google-appengine] #appengine irc chat transcript 2011-06-15

2011-06-17 Thread Branko Vukelic
On Fri, Jun 17, 2011 at 5:24 PM, Wilson MacGyver wmacgy...@gmail.com wrote: I don't think supporting php is a game changer. I have a feeling a lot of people that ask about php, wants to slap in wordpress, drupal, etc , run it on google app engine and forget about it. which due to datastore

Re: [google-appengine] Duplex Web Service possible ?

2011-06-15 Thread Branko Vukelic
On Tue, Jun 14, 2011 at 4:53 PM, Barry Hunter barrybhun...@gmail.com wrote: xmpp directly might be useful as a communication medium. I dont really know much about it. Perhaps you can use it without involving AppEngine. Or AppEngine could be a 'controller' or a 'mediator' so that devices can