[google-appengine] How do I deauthenticate myself from the command prompt deployment script?

2010-08-17 Thread mclovin
I have an App, but I need to upload it to our projects page, which
uses a different google account. Since I signed in to upload my own
app to my own appspot using my google account, it wont let me upload
it to theirs even if I have the login info. In fact it doesn't even
prompt for the login info like it prompts for my login info. It just
says does not have permission.

How do I sign out of the appcfg.py script to I can upload the
project and use different credentials?

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



[google-appengine] Re: Calculate CPU Hours that app will use

2009-06-18 Thread mclovin

Ok, so my output from Carsten's suggestion was an average of about
7800, so how exactly does that correlate with how much I would be
paying (obviously per request) if I was to launch my app on the GAE? I
just need a very rough estimate so I can estimate the long term costs.

Also how much CPU usage does it take for Google to red flag your app
for too much CPU usage if you use paid billing? It would be
unfortunate if I launched my app and then all my requests from users
timed out because of Google blocking my account because of CPU usage
even if I was paying for it.


On Jun 15, 5:34 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 Hi Carsten,

 You're correct that the best way to do this is to run the code on App Engine
 and see just how many CPU cycles your requests require. You don't need a
 load test, however: You can see exactly how many CPU milliseconds a request
 required by looking at the logs page of the admin console. Just run a few
 tests to get an average. Note that the first request to a runtime instance
 will generally cost more than subsequent ones; you may want to make this
 clear by logging something in a request when it's the first one, so you can
 tell them apart easily.

 CPU cycles are infuriatingly difficult to convert, with different
 architectures having different characteristics, even down to per-operation
 differences. What did you have in mind when you suggest it's something we
 need to improve?

 -Nick Johnson



 On Sun, Jun 14, 2009 at 10:51 AM, CarstenN carsten...@gmail.com wrote:

  I'm interested in the same. I know that you can get the clock-cycles a
  request used so far by calling quota.get_request_cpu_usage(), but I
  don't find this to be very useful as an absolute measurement.

  The docs state (on the quota page): 'CPU time is reported in
  seconds, which is equivalent to the number of CPU cycles that can be
  performed by a 1.2 GHz Intel x86 processor in that amount of time. The
  actual number of CPU cycles spent varies greatly depending on
  conditions internal to App Engine, so this number is adjusted for
  reporting purposes using this processor as a reference measurement.'

  So, in theory, a CPU second would be about 1.2 billion clock cycles.
  But I highly doubt it works that way in practice. So my current
  solution is to just implement the CPU intensive parts and hit them
  with a load test (And have a backup plan in case the CPU usage
  policies change again).

  IMHO this is something that Google really needs to improve. App Engine
  does lack transparency in some areas - and given that it's a product
  meant to appeal to engineers that's a real flaw.

  On Jun 14, 2:13 am, mclovin hanoo...@gmail.com wrote:
   I wanted to see if an app would be cost effective to deploy on
   google's app engine and i guess one of the main areas i am concerned
   with is CPU usage. Is there a way to calculate how many CPU hours it
   will use on Google's servers? (the app is already running on my
   computer via django) I dont think an hour of CPU time on my computer
   is comparable to a CPU Hour but I guess I may be wrong.
--~--~-~--~~~---~--~~
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] GQuery and filtering out muliple values with relational operators.

2009-06-18 Thread mclovin

Hey,

I have entities stored with x and y values. What I want to do in one
of my views is to filter them out by their x and y values.

so I have

agents = Agent.all()

neighbors = agents.filter(x ,  user.agent.x-10).filter(x ,
user.agent.x+10).filter(y ,  user.agent.y-10).filter(y ,
user.agent.y+10)

which would give me all the other agents within 10 spaces of the
user's agent making the request.

However When I run it I get a relational operator error so I have to
do this:
agents.filter(x ,  user.agent.x-10).filter(x , user.agent.x+10)
and then iterate through them to filter out the y values manually.
or this:
agents.filter(y ,  user.agent.y-10).filter(y , user.agent.y+10)
and then iterate through them to filter out the x values manually.


So my question is, why cant i filter out both x and y values at the
same time on a single query?
--~--~-~--~~~---~--~~
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] Auxiliary Data Processing

2009-06-18 Thread mclovin

Hey all,

We developed code and were hoping to use GAE, but it seems as though
the CPU usage is simply too high. We would still love to use GAE,
however, we were wondering if there was anyway to remotely access the
Datastore (hosted on google's servers) w/ C code. Our algorithm was
originally developed for CUDA systems so we were hoping that we could
just write up a way to access our App's datastore from our own servers
because with CUDA we see significant cost savings.

If there is not we can simply revert to plan b and use Django on our
own servers.
--~--~-~--~~~---~--~~
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] Calculate CPU Hours that app will use

2009-06-13 Thread mclovin

I wanted to see if an app would be cost effective to deploy on
google's app engine and i guess one of the main areas i am concerned
with is CPU usage. Is there a way to calculate how many CPU hours it
will use on Google's servers? (the app is already running on my
computer via django) I dont think an hour of CPU time on my computer
is comparable to a CPU Hour but I guess I may be wrong.
--~--~-~--~~~---~--~~
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-orgranize user data: w or w/o view?

2009-06-11 Thread mclovin

I wrote up a prototype for an application in python and was porting it
over to django/app_engine. One of the main routines of my program
though is that it goes in and modifies user data. I know I probably
shouldn't write a view for this because nothing is being viewed (it is
entirely backend) so I am wondering how do i call a function to modify
data in the datastore w/o a view or w/o going to a URL. Or is it fine
just to use a view?

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] Business Class Project: how much would it cost to run this on Google App engine

2009-05-12 Thread mclovin

Hey guys, I hope this is allowed.

I am in a business class and our project is like an e-commerce site.
One of the things that we have to report on is how much it will cost
to run the business. So I thought of Google App Engine, but when I
look at the pricing, I have no idea what I am looking at since it is
basically all in computing hours.

I am pretty sure that it would be cheaper to deploy on google's
servers if this business was a startup since they would not have to
buy the several thousand dollars in equipment and more money in
bandwidth, but I would appreciate some hard numbers.

On average (I know that it differs from web app to web app, but I just
need a broad ballpark figure), but how much on average does app engine
cost for

10k users
100k users
1million users
5 million users

?

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



[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2009-01-08 Thread mclovin

Am i missing something somewhere? I cant seem to find any pricing for
commericial applications even though google advertises app engine as a
solution for commericial deployment.

--~--~-~--~~~---~--~~
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: SMS: through python AIM/gtalk libraries?

2009-01-03 Thread mclovin

Have you tried SMS through aim with imified?

On Jan 3, 1:44 pm, satish satish...@gmail.com wrote:
 I am interested too. I played around with IM integration using the
 services fromhttp://new.imified.com/and it worked fine for simple
 functionality.

 On Jan 1, 2:08 pm, mclovin hanoo...@gmail.com wrote:

  I wanted to test out some SMS web app, where I can communicate w/ the
  application from my phone. I was wondering if the App Engine allows me
  to do this through the use of either AIM libraries or Gtalk Libraries
  written in python.

  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] SMS: through python AIM/gtalk libraries?

2009-01-02 Thread mclovin

I wanted to test out some SMS web app, where I can communicate w/ the
application from my phone. I was wondering if the App Engine allows me
to do this through the use of either AIM libraries or Gtalk Libraries
written in python.

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