Re: [google-appengine] Bind application to a single account

2011-07-02 Thread Robert Kluin
Why don't you use oauth? If I understand what you're wanting to do, it
solves exactly this type of problem.

Google: data oauth

Robert
On Jun 30, 2011 11:49 AM, "Nikolay Sohryakov" 
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@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] Channel API, and node.js

2011-07-02 Thread Robert Kluin
Why not directly use tropo's API from the GAE app?  I've had good luck with
their APIs + GAE apps in my testing.

On Jul 2, 2011 10:45 PM, "egilchri"  wrote:
> Is it feasible to have the Channel API work with node.js? I would like
> to send Channel API messages, from App Engine, and have them picked up
> by a server running node.js. I'm interested, because I would like to
> have a "speech server" sitting on a host running node.js that would
> take incoming Channel API requests and render them into speech (Using
> Voxeo's Tropo platform)
>
> --
> 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] Restore userid on account?

2011-07-02 Thread Robert Kluin
Not sure, but you might file a billing issue if you haven't already got some
help with this.
On Jun 28, 2011 3:25 PM, "NealWalters"  wrote:
> My bright co-worker apparently deleted our admin account
> zu...@olexe.com. We had two other accounts in the domain, but as far
> as I know, they were never associated with the Google-App (even though
> they may have been admins).
>
> If we didn't have any other users/admins, would that make the entire
> google app crash? Our URL is http://www.olexe.com/.
>
> I'm wondering is there any way we can recover. I have the code on my
> machine to restore, but we would lose some data in our database.
>
> If we manually re-add the userid, will the Google-App come back?
>
> Thanks,
> Neal Walters
>
> --
> 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] Template does not exists

2011-07-02 Thread Robert Kluin
Hi,
  If you search these groups you'll find several questions about this.  I
don't recall the specifics, but I think one solution involved adding an
"empty" django app in your project's root directory.

Robert

On Jun 23, 2011 9:50 PM, "carlitux"  wrote:
> Hi,
>
> I am trying to use django1.2 use_library function, and I have this
>
> Traceback (most recent call last):
> File "/opt/google_appengine/google/appengine/ext/webapp/
> __init__.py", line 700, in __call__
> handler.get(*groups)
> File "/home/kyo/Projects/python/gae/creatingevolution/src/
> creatingevolution/linkux-it/crevol/views.py", line 30, in get
> self.render_template('crevol/index.html')
> File "/home/kyo/Projects/python/gae/creatingevolution/src/
> creatingevolution/lib/turboengine-1.0.2-py2.6.egg/turboengine/http/
> handler.py", line 45, in render_template
> self.response.out.write(template.render(settings.TEMPLATE_PATH
> %relative_path, parameters))
> File "/opt/google_appengine/google/appengine/ext/webapp/
> template.py", line 73, in render
> return t.render(Context(template_dict))
> File "/opt/google_appengine/google/appengine/ext/webapp/
> template.py", line 115, in wrap_render
> return orig_render(context)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> __init__.py", line 173, in render
> return self._render(context)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> __init__.py", line 167, in _render
> return self.nodelist.render(context)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> __init__.py", line 796, in render
> bits.append(self.render_node(node, context))
> File "/opt/google_appengine/lib/django_1_2/django/template/
> __init__.py", line 809, in render_node
> return node.render(context)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> loader_tags.py", line 103, in render
> compiled_parent = self.get_parent(context)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> loader_tags.py", line 100, in get_parent
> return get_template(parent)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> loader.py", line 157, in get_template
> template, origin = find_template(template_name)
> File "/opt/google_appengine/lib/django_1_2/django/template/
> loader.py", line 138, in find_template
> raise TemplateDoesNotExist(name)
> TemplateDoesNotExist: base.html
>
> Also relative path is not working. How should be template written for
> extending?
>
> Regards,
>
> --
> 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] Re: Why a big difference between execution time and response time?

2011-07-02 Thread Robert Kluin
Yes, trying to guess about these things is quite unpleasant.  Things like
pending ms and throttle codes should be clearly documented, especially in
light of the upcoming pricing changes.

As I recall, you might see throttle codes + pending ms if your requests need
over 1000ms to run or if your requests run very fast relative to your app
startup time (I think the logic is that it is better to wait than it is to
spin up a new instance).  I don't recall which throttle codes indicate each
problem, but judging from your log entries I'd suggest making the requests
run faster.

Robert
On Jun 23, 2011 6:03 PM, "Waleed Abdulla"  wrote:
> Thanks Tom,
> I'm looking for other solutions as well. I tried a couple of ideas with
> backends, but I don't like that I have to manage instances. I loved the
> vision of GAE from the start on the promise that I only need to write my
> code the right way and then never worry about scaling.
>
> Now I find myself spending a lot of time trying to trick GAE into
> launching more instances to handle my load. No problem with scaling the
> code, it's just that GAE doesn't want to give me enough power to get the
> work done fast enough. I'm guessing they changed the scaling algorithm
last
> week.
>
> I changed my code to run several chains of tasks in parallel. That seems
> to help. The hard part is not knowing how the scaling algorithm works, so
I
> end up re-writing my code many times to figure out which arrangement of
> tasks gets GAE to give me enough resources.
>
> Waleed
>
>
>
>
> On Tue, Jun 21, 2011 at 10:34 PM, Tom Phillips 
wrote:
>
>> Hi Waleed,
>>
>> Because I've found tasks to be sometimes unreliable and unpredictable
>> performance wise, I've implemented a strategy of engaging backend
>> instance(s) as alternative non-task-based job processors.
>>
>> Basically, I now have two job processing engines that work differently
>> and together offer redundancy and better performance. One (the
>> traditional one) uses tasks, and the other doesn't - and I run them
>> simultaneously. If one isn't working well for some reason, then at
>> least the other is getting work done. In my case reliability is more
>> of an issue than achieving very high throughput, but this could also
>> work to increase overall throughput.
>>
>> It may not work quite as well for python as it does for java where I
>> can have multiple worker threads running on each backend. And it isn't
>> necessarily cheap. But it can pick up some slack for the task
>> infrastructure, and if the cost allows you could always add more
>> backend instances. With threadsafe in java land, it is even better
>> since the backend is more fully utilized with multiple worker threads
>> working on jobs simultaneously.
>>
>> Basically the implementation is to have one or more backend worker
>> threads/instances that loop eternally looking look for jobs in the DB,
>> grabbing batches of them and running them directly (with a short
>> configurable pause if none are found in a cycle). Meanwhile, the other
>> task-based processor is being driven by a cron job, which every minute
>> essentially runs the same "find me jobs" code the backends use.
>> Instead of running the jobs directly in the frontend, this one
>> dispatches them out as tasks using DB cursors and task chaining to
>> handle larger numbers of waiting tasks.
>>
>> It can create some contention on "job" records in the DB, though there
>> should be ways you could minimize that if it becomes excessive. And as
>> long as you mark newly found jobs as "assigned" within the same
>> transaction that you query them out, you can avoid accidentally
>> running the same job twice. Careful if you're on high-replication -
>> you may need to account for consistency limitations while querying and
>> assigning jobs (I'm on M/S).
>>
>> /Tom
>>
>>
>>
>> On Jun 21, 8:36 pm, Waleed Abdulla  wrote:
>> > Thank you, Nick.
>> > I did check your post before asking and pending_ms was missing. Also,
>> > I'm noticing "throttle_code=2" in the log of some tasks! It would be
>> great
>> > to cover that one as well.
>> >
>> > I've spent the last 3 days trying everything I can think of to make
>> my
>> > app scale up, but GAE is working against me. I make the tasks longer,
and
>> > GAE starts running them less often. I make them shorter, and my queues
>> start
>> > to have a backlog. GAE simply doesn't want to scale up for me (started
3
>> > days ago). I'm running out of ideas to try. Would appreciate your help.
>> >
>> > More details about what I tried here:
>> >
>> > http://groups.google.com/group/google-appengine/browse_thread/thread/.
..
>> >
>> > Regards,
>> > Waleed
>> >
>> > On Tue, Jun 21, 2011 at 5:04 PM, Nick Johnson (Google) <
>> >
>> > nick.john...@google.com> wrote:
>> > > Hi Waleed,
>> >
>> > > You may find this blog post useful for explaining the various fields
of
>> log
>> > > entries:
>> > >
http://blog.notdot.net/2011/06/Demystifying-the-App-Engine-request-logs
>> >
>> > > pending_ms is the amount

[google-appengine] Re: New Channel API pricing scheme

2011-07-02 Thread Gijsbert
One channel gives one connection between one browser and app engine,
so for a 1 on 1 game you would need 2.
But, the current channels are valid for 2 hours and can be reused
after the one browsers stops needing it in another browser (you need
to do that reuse yourself). I don't know if this will be the same in
the new charging model.

On Jul 2, 3:43 pm, Everson Alves da Silva  wrote:
> So, for a 1 vs 1 game, can one pool the channels? opening a new channel for
> each game session would be very expensive.

-- 
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] Channel API, and node.js

2011-07-02 Thread egilchri
Is it feasible to have the Channel API work with node.js? I would like
to send Channel API messages, from App Engine, and have them picked up
by a server running node.js. I'm interested, because I would like to
have a "speech server" sitting on a host running node.js that would
take incoming Channel API requests and render them into speech (Using
Voxeo's Tropo platform)

-- 
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] Python VS Java

2011-07-02 Thread Brandon Wirtz
We resell service, so our pricing is a function of the code efficiency.  I
may just be a better Python programmer, and that is why it is
faster/cheaper.

 

-Brandon

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Waleed Abdulla
Sent: Saturday, July 02, 2011 2:10 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Python VS Java

 

I'm curious why your Java version costs more currently! Can you share more
details? I would've expected the Java version to cost less since Java has
JIT compilation so the code should run faster. 

 

As for your questions, I'd say that the price difference will likely be
small compared to the cost of your own time (unless the app gets a lot of
load and costs a lot). So I'd say choose the language in which you feel more
comfortable. Python tends to get new GAE features first, which is a slight
vote for Python. 

 

 

 

On Sat, Jul 2, 2011 at 12:41 PM, Brandon Wirtz  wrote:

I have kind of asked this before. 

 

I am trying to decide if I take the python of my app and expand it, or the
version I ported to Java.  The Java version currently costs more to run,
than the python version, but the new pricing would put the Java version as
cheaper, at least until instances support multiple threads on python.  

 

So do I build out Python? Or Build out Java? 

 

How long from new pricing to Mult-threaded Python?

 

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

-- 
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] Python VS Java

2011-07-02 Thread Waleed Abdulla
I'm curious why your Java version costs more currently! Can you share more
details? I would've expected the Java version to cost less since Java has
JIT compilation so the code should run faster.

As for your questions, I'd say that the price difference will likely be
small compared to the cost of your own time (unless the app gets a lot of
load and costs a lot). So I'd say choose the language in which you feel more
comfortable. Python tends to get new GAE features first, which is a slight
vote for Python.




On Sat, Jul 2, 2011 at 12:41 PM, Brandon Wirtz  wrote:

> I have kind of asked this before… 
>
> ** **
>
> I am trying to decide if I take the python of my app and expand it, or the
> version I ported to Java.  The Java version currently costs more to run,
> than the python version, but the new pricing would put the Java version as
> cheaper, at least until instances support multiple threads on python.  ***
> *
>
> ** **
>
> So do I build out Python? Or Build out Java? 
>
> ** **
>
> How long from new pricing to Mult-threaded Python?
>
> ** **
>
> --
> 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: New Channel API pricing scheme

2011-07-02 Thread Everson Alves da Silva
So, for a 1 vs 1 game, can one pool the channels? opening a new channel for 
each game session would be very expensive.

-- 
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/-/lF6eSt02QbYJ.
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] Python VS Java

2011-07-02 Thread Brandon Wirtz
I have kind of asked this before. 

 

I am trying to decide if I take the python of my app and expand it, or the
version I ported to Java.  The Java version currently costs more to run,
than the python version, but the new pricing would put the Java version as
cheaper, at least until instances support multiple threads on python.  

 

So do I build out Python? Or Build out Java? 

 

How long from new pricing to Mult-threaded Python?

 

-- 
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: New Channel API pricing scheme

2011-07-02 Thread Gijsbert
BTW I think it is the number of channels opened, not concurrently
open.
I've never seen a mention of a limit on number of concurrent channels.

On Jul 2, 11:45 am, Chiguireitor  wrote:
> Hi all, i was just reading the new pricing scheme and came along a little
> tidbit that made me feel a little uncomfortable: The $9/mo plan has a limit
> of 100 channels opened simultaneosly and doesn't have a way to pay for more
> channels simultaneosly opened!!! Is this true? are we going to be limited to
> 100 concurrent channels on paid apps with no room to grow up?

-- 
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] _DeferredTaskEntity

2011-07-02 Thread Brian
Hello,

My free quota of 1 GB of datastore usage is being consumed by
"_DeferredTaskEntity" entities.  Are these being generated as a result
of using a frequently occuring cron job?  Are they safe to cleanup?  I
don't have any deferred or other task queue usage in my application.

thanks,
Brian

-- 
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] New Channel API pricing scheme

2011-07-02 Thread Gregory D'alesandre
That price applies to either Paid or Premier, sorry for the poorly formatted
page, we'll be updating that page soon.

Greg

On Sat, Jul 2, 2011 at 11:30 AM, Chiguireitor
wrote:

> Fee... Not free, stupid swype keyboard
>
> --
> 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/-/XAS6x5hrnxEJ.
> 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] New Channel API pricing scheme

2011-07-02 Thread Chiguireitor
Fee... Not free, stupid swype keyboard

-- 
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/-/XAS6x5hrnxEJ.
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] New Channel API pricing scheme

2011-07-02 Thread Chiguireitor
That's only for the premium edition, the $500/account plan, the $9/mo/app 
option doesn't specify the additional free for the concurrent channels

-- 
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/-/NjJhpcLIJjkJ.
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] New Channel API pricing scheme

2011-07-02 Thread Timofey Koolin
No http://www.google.com/enterprise/appengine/appengine_pricing.html
100 channel per day - free limit, you can pay for additional channels.

2011/7/2 Chiguireitor 

> Hi all, i was just reading the new pricing scheme and came along a little
> tidbit that made me feel a little uncomfortable: The $9/mo plan has a limit
> of 100 channels opened simultaneosly and doesn't have a way to pay for more
> channels simultaneosly opened!!! Is this true? are we going to be limited to
> 100 concurrent channels on paid apps with no room to grow up?
>
> --
> 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/-/dtL1_FZAJz4J.
> 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.
>



-- 
С уважением,
Кулин Тимофей.

Телефон: +7 (4852) 974793
ICQ: 114902104
email: timo...@koolin.ru
Blog: http://timofey.koolin.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 : Re: [google-appengine] Application Indexes Stuck

2011-07-02 Thread Sahid Orentino Ferdjaoui
My indexés are always in errors, where is the support please?

-- 
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/-/Lxiho_khIS0J.
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: Amazon SES and Google Apps

2011-07-02 Thread Chiguireitor
Your google apps/sites dns is probably being served by another provider. 
Check the documentation:
http://www.google.com/support/a/bin/answer.py?answer=48090

You have to ask your current DNS registar to modify your information. Do a 
whois lookup of your domain so you get to know who's your registar.

-- 
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/-/Y_vDUGgIADUJ.
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] New Channel API pricing scheme

2011-07-02 Thread Chiguireitor
Hi all, i was just reading the new pricing scheme and came along a little 
tidbit that made me feel a little uncomfortable: The $9/mo plan has a limit 
of 100 channels opened simultaneosly and doesn't have a way to pay for more 
channels simultaneosly opened!!! Is this true? are we going to be limited to 
100 concurrent channels on paid apps with no room to grow up?

-- 
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/-/dtL1_FZAJz4J.
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: Amazon SES and Google Apps

2011-07-02 Thread JH
I do all this with SES on a domain with google apps.  Google apps only
hosts the mail, I am not aware of a dns solution by google apps.  I
host my dns elsewhere.

On Jul 2, 12:23 am, pdknsk  wrote:
> I'd like to switch mails to Amazon SES and register a domain with
> Google Apps, to enable SPF and possibly DKIM on mails. I've read the
> docs at Amazon and this seems to require fairly raw DNS records
> editing. Does Google Apps allow this, or would I have to register the
> domain with a registrar separately (not through Google Apps)?
>
> http://docs.amazonwebservices.com/ses/latest/DeveloperGuide/SPFSender...

-- 
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: Off Topic: Google Plus

2011-07-02 Thread JH
ok my bad I've been using google apps so long I forgot all about that
ability

On Jul 2, 12:44 am, "Brandon Wirtz"  wrote:
> Yeah, I'm anti-gmail.   Google knows enough about me with out reading my
> mail.
>
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of Gopal Patel
> Sent: Friday, July 01, 2011 8:57 PM
> To: google-appengine@googlegroups.com
> Subject: Re: [google-appengine] Re: Off Topic: Google Plus
>
> i think you can create google account with your own email id, and that's
> what he is using.
>
> On Sat, Jul 2, 2011 at 7:29 AM, JH  wrote:
>
> drakaal at digerat.com ... ? are you using google apps to access + ?
> I'd like to but I can't get profiles yet...
>
> On Jul 1, 7:52 pm, "Brandon Wirtz"  wrote:
>
> > Be happy to have any of you "in my circle" just anyway, but I believe that
> > Google Plus is working like vampires. If I (or anyone already in) "friends
> > you" you are in.  So if you want in, shoot me an email to drakaal at
> > digerat.com   with a subject of Google Plus
>
> and
>
> > I'll get you added.
>
> > If you are already on feel free to add me as well.
>
> > -Brandon
>
> --
> 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 
> 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] filesystem like folder tree on appengine

2011-07-02 Thread Ravi Sharma
one last idea.make your http paths with keys
instead of having
/root/p1/p2/p3
have something like this
/1000/1001/1002/1003  (assuming root's id is 1000 and so on)

Now  you can query a folder using last node in this path 1003..forget about
who is his parent as 1003 can have only one parent, so even later you moved
into some other folder 1000/1001/1002/1004/1006/1007/1003, same query will
run and return same data with same amount of get (1 get)

Regardning previous suggestion:

I still wont keep all parents..i will just keep one parent above me  it
will make editing of my tree easier

Now its upto you  and your requiremtns and design..that how you will settle
between these constraint
1) Renaming/Copying/editing millions of file/directory problem
2) Traversing n levels for each request.

you are creating  tree structure dont make each node know on which path it
is to make traversal faster.. if you do so editing of tree will be
worst

and now i am out of ideas ..:)

Happy thinking..coding
Ravi.


On Sat, Jul 2, 2011 at 2:20 PM, andreas schmid  wrote:

> hi ravi,
>
> i was not thinking to make the folder know about its children. files and
> folders have a StringListProperty where i store all keys of the folders it
> belongs to.
>
> your approach is exactly what i wanted to avoid. i think its not the right
> way to do this because the longer the path the longer the query and lets say
> im at level 10, ill need to do 10 get() operations.
>
>
> On Jul 2, 2011, at 2:55 PM, Ravi Sharma wrote:
>
> One Suggestion
> Instead of making a folder know his all child folder and files..may be try
> other way round by letting every folder/file know its parent...  also save
> depth of folder and files..
> e.g.
> Class File{
> Key id,
> String anme;
> Key parentId,
> int depth;
> String type;//folder or file
> }
>
> and for path point of view i think you will show your folders like
> yoursite.com/root/parent1/parent2
> then on server for this request
>
> first search a folder entry where name=root and depth =1
> you will get only one record at this level you can not have more then one
> root folder
>
> then search for folder entry where name=parent1 and depth =2 and parent
> id=
> you will find only one entry at this depth with this parent
>
> and same search for parent2
>
>
> this way whenever you will have long path you will do few more queries...
> but renaming wont be a problem.. and copying content from one folder to
> another will be lot easier
>
>
>
>
>
>
>
> On Sat, Jul 2, 2011 at 11:25 AM, andreas schmid wrote:
>
>> hi,
>>
>> I'm trying to build a filesystem like folder tree on appengine python but
>> I'm not sure about the architecture of the app.
>>
>> lets say i have folders and images. folders can contain other folders and
>> images. building the relationship is not the problem
>> because every entity will have a StringListProperty with all the keys to
>> the folders it belongs.
>>
>> the folders will have a path which lets me know which folder contents to
>> show on the site. like in a filesystem i would like to be
>> able to rename a folder. if i rename a folder all child folders of that
>> folder will have to change path too.
>>
>> is it possible to know a folders path based on its ancestors without
>> writing the path into the folder entity and of course without fetching all
>> folders in the path?
>>
>> i would like to avoid this because if i change a folders name on the root
>> level i will need to do an update operation on all subfolders to change
>> this path and if there will be for example 500+ subfolders in the tree it
>> wont be an easy and quick operation.
>>
>> would love to hear your suggestions.
>>
>> thank you
>>
>> --
>> 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.
>
>
>  --
> 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 t

Re: [google-appengine] filesystem like folder tree on appengine

2011-07-02 Thread andreas schmid
hi ravi,

i was not thinking to make the folder know about its children. files and 
folders have a StringListProperty where i store all keys of the folders it 
belongs to.

your approach is exactly what i wanted to avoid. i think its not the right way 
to do this because the longer the path the longer the query and lets say im at 
level 10, ill need to do 10 get() operations.


On Jul 2, 2011, at 2:55 PM, Ravi Sharma wrote:

> One Suggestion
> Instead of making a folder know his all child folder and files..may be try 
> other way round by letting every folder/file know its parent...  also save 
> depth of folder and files..
> e.g.
> Class File{
> Key id,
> String anme;
> Key parentId,
> int depth;
> String type;//folder or file
> }
> 
> and for path point of view i think you will show your folders like   
> yoursite.com/root/parent1/parent2 
> then on server for this request
> 
> first search a folder entry where name=root and depth =1
> you will get only one record at this level you can not have more then one 
> root folder
> 
> then search for folder entry where name=parent1 and depth =2 and parent 
> id=
> you will find only one entry at this depth with this parent
> 
> and same search for parent2
> 
> 
> this way whenever you will have long path you will do few more queries... but 
> renaming wont be a problem.. and copying content from one folder to 
> another will be lot easier
> 
> 
> 
> 
> 
> 
> 
> On Sat, Jul 2, 2011 at 11:25 AM, andreas schmid  wrote:
> hi,
> 
> I'm trying to build a filesystem like folder tree on appengine python but I'm 
> not sure about the architecture of the app.
> 
> lets say i have folders and images. folders can contain other folders and 
> images. building the relationship is not the problem
> because every entity will have a StringListProperty with all the keys to the 
> folders it belongs.
> 
> the folders will have a path which lets me know which folder contents to show 
> on the site. like in a filesystem i would like to be
> able to rename a folder. if i rename a folder all child folders of that 
> folder will have to change path too.
> 
> is it possible to know a folders path based on its ancestors without writing 
> the path into the folder entity and of course without fetching all folders in 
> the path?
> 
> i would like to avoid this because if i change a folders name on the root 
> level i will need to do an update operation on all subfolders to change
> this path and if there will be for example 500+ subfolders in the tree it 
> wont be an easy and quick operation.
> 
> would love to hear your suggestions.
> 
> thank you
> 
> --
> 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.

-- 
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] filesystem like folder tree on appengine

2011-07-02 Thread Ravi Sharma
One Suggestion
Instead of making a folder know his all child folder and files..may be try
other way round by letting every folder/file know its parent...  also save
depth of folder and files..
e.g.
Class File{
Key id,
String anme;
Key parentId,
int depth;
String type;//folder or file
}

and for path point of view i think you will show your folders like
yoursite.com/root/parent1/parent2
then on server for this request

first search a folder entry where name=root and depth =1
you will get only one record at this level you can not have more then one
root folder

then search for folder entry where name=parent1 and depth =2 and parent
id=
you will find only one entry at this depth with this parent

and same search for parent2


this way whenever you will have long path you will do few more queries...
but renaming wont be a problem.. and copying content from one folder to
another will be lot easier







On Sat, Jul 2, 2011 at 11:25 AM, andreas schmid wrote:

> hi,
>
> I'm trying to build a filesystem like folder tree on appengine python but
> I'm not sure about the architecture of the app.
>
> lets say i have folders and images. folders can contain other folders and
> images. building the relationship is not the problem
> because every entity will have a StringListProperty with all the keys to
> the folders it belongs.
>
> the folders will have a path which lets me know which folder contents to
> show on the site. like in a filesystem i would like to be
> able to rename a folder. if i rename a folder all child folders of that
> folder will have to change path too.
>
> is it possible to know a folders path based on its ancestors without
> writing the path into the folder entity and of course without fetching all
> folders in the path?
>
> i would like to avoid this because if i change a folders name on the root
> level i will need to do an update operation on all subfolders to change
> this path and if there will be for example 500+ subfolders in the tree it
> wont be an easy and quick operation.
>
> would love to hear your suggestions.
>
> thank you
>
> --
> 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.



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

2011-07-02 Thread Daniel
Thanks. I guess I'll try a different Account then. I got 2 Cells left for 
the SMS verification. Maybe I'm lucky and another account works.

-- 
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/-/VHkaLrIe3IEJ.
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] Migrating from Master/Slave to HRD key issue workaround

2011-07-02 Thread Bert
Hi,

In my application, running on master/slave, I have model called Total
where key names that are set to a combination of a string encoded key
and a descriptor.

For example, a key name could be set to "UserClicks-%s"%user.key().
So to get the total user clicks for a user, I run
Total.get_by_key_name( "UserClicks-%s"%user.key()).

The problem is that when moving from MS to HRD, the user.key() has
changed but the key name for the Total key is still the old value. So
totals are all wrong.

As a fix for this, should I run through Total table in Master/slave,
create new Totals with keyname = "UserClicks-
%s"%user.key().id_or_name(), and refactor the code where totals are
retrieved and set to use id_or_name instead of key?

Would id_or_name() always return a unique value for the model (I used
auto-generated ids but later changed to setting key_names for User
model but the key_name is never the same value as Id.)

Thanks
Rob

-- 
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] filesystem like folder tree on appengine

2011-07-02 Thread andreas schmid
hi,

I'm trying to build a filesystem like folder tree on appengine python but I'm 
not sure about the architecture of the app.

lets say i have folders and images. folders can contain other folders and 
images. building the relationship is not the problem
because every entity will have a StringListProperty with all the keys to the 
folders it belongs.

the folders will have a path which lets me know which folder contents to show 
on the site. like in a filesystem i would like to be
able to rename a folder. if i rename a folder all child folders of that folder 
will have to change path too.

is it possible to know a folders path based on its ancestors without writing 
the path into the folder entity and of course without fetching all folders in 
the path?

i would like to avoid this because if i change a folders name on the root level 
i will need to do an update operation on all subfolders to change 
this path and if there will be for example 500+ subfolders in the tree it wont 
be an easy and quick operation.

would love to hear your suggestions.

thank you

-- 
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] GAE cursor

2011-07-02 Thread Pascal Voitot Dev
I really like the cusors (we use them in Siena GAE abstraction layer).
Nevertheless, it just lacks a backward aspect to the cursors ;)

Pascal

On Sat, Jul 2, 2011 at 7:10 AM, Robert Kluin  wrote:

> The cursor is just a 'bookmark' in the index.  It simply tells the
> query where to resume returning results.  You can still batch fetch,
> or use the iterator protocol if you prefer.
>
>
>
> Robert
>
>
>
>
>
>
>
> On Fri, Jul 1, 2011 at 09:37, Bruce Aloe  wrote:
> > Hello,
> >
> > Google web app provides cursor facility and it enables the application
> > to return pieces of the large query result.
> >
> > My question is: Does the cursor returns the piece result chunk by
> > chunk or row by row?
> >
> > Thanks!
> >
> > Bruce
> >
> > --
> > 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.
>
>

-- 
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 : Re: [google-appengine] Application Indexes Stuck

2011-07-02 Thread Sahid Orentino Ferdjaoui
Hello Robert,

The status stays only in Error,
I have try to vaccum indexes, but that doesn't work. and i have 1 index in 
building and 10indexes in deleting since 1day now

Thanks about your response.

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