[google-appengine] Re: Make local appengine use remote datastore (Python)

2016-03-15 Thread Danny Tran
Sure thing, and sorry about being off-topic. Please let me know the public issue tracking link/number when you get around to it. Thanks :) On Tuesday, March 15, 2016 at 4:39:23 PM UTC-5, Nick (Cloud Platform Support) wrote: > > Hey Danny, > > Thanks for your detailed ana

[google-appengine] Re: Make local appengine use remote datastore (Python)

2016-03-15 Thread Danny Tran
ocal_stub) This prevented the infinite recursion. I'm curious if there is a way to disable urlfetch from using google appengine built in that I am missing. Either way, the documentation on making an app use the remote api does not mention anything about the urlfetch service recursion issue

[google-appengine] Re: Make local appengine use remote datastore (Python)

2016-03-10 Thread Danny Tran
ineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/dist27/gae_override/httplib.py", line 356, in __init__ def __init__(self, host, port=None, strict=None, File "/usr/local/Cellar/python/2.7.10/Frameworks/Pytho

[google-appengine] Re: Make local appengine use remote datastore (Python)

2016-03-10 Thread Danny Tran
py#158 On Thursday, March 10, 2016 at 11:00:59 PM UTC-6, Danny Tran wrote: > > Hi Nick, > > Sure. > > I've been able to reproduce the issue using a very dumbed-down view. > > *app.yaml* > ... > - url: /.* > script: myapp.wsgi.application > secure: always > .

[google-appengine] Re: Make local appengine use remote datastore (Python)

2016-03-10 Thread Danny Tran
der from django.http import HttpResponse def foo(request): return HttpResponse("foo", content_type='text/plain') urlpatterns = patterns('', url(r'^v1/foo$', foo) ) Let me know if you are able to reproduce. On Thursday, March 10, 2016 at 6:05:13 PM UTC-6

[google-appengine] Make local appengine use remote datastore (Python)

2016-03-10 Thread Danny Tran
I'm attempting to make my appengine application running locally use a remote datastore. In appengine_config.py I'm adding the following lines. from google.appengine.ext.remote_api import remote_api_stub remote_api_stub.ConfigureRemoteApiForOAuth('MyApp.appspot.com','/_ah/remote_api') # name re

[google-appengine] Re: Elevated Error Levels: "Request was aborted after waiting too long to attempt to service your request."

2016-01-21 Thread Danny Leshem
We are experiencing the same issue, right now. App ID = spice-prod On Thursday, January 21, 2016 at 8:20:30 PM UTC+2, David Fischer wrote: > > As of about 4PM PST yesterday, this is resolved. > > On Wednesday, January 20, 2016 at 2:20:04 PM UTC-8, David Fischer wrote: >> >> Starting at about 8AM

[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-06-02 Thread Danny Leshem
t;> File >> "/home/julien/Documents/tasks/googleCloud/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/docker/containers.py", >> >> line 265, in NewDockerClientNoCheck >> raise DockerDaemonConnectionError(DOCKER_CONNECTION_ERROR) >> DockerDaemon

[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-05-31 Thread Danny Leshem
l/tools/appengine_rpc_httplib2.py", line 67, in RaiseHttpError raise urllib2.HTTPError(url, response_info.status, msg, response_info, stream) RPCError: Server responded with code [400]: Bad Request Unexpected HTTP status 400 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:

[google-appengine] Update to Terms of Service about an app I didn't create

2014-02-11 Thread Danny
I don't know where to turn with this one and so I am writing here as I've not found a way to contact Google about this. I received this morning a "Updates to Cloud Platform Terms of Service" mail - no biggy. The thing is, the app listed in the mail is something I didn't create and I'm 150% su

[google-appengine] Can't add hostname to google-app-engine

2014-01-03 Thread Danny Hong
Dear Sir, I was mapped "www.malaysiakini.com" to google pagespeed since last year. And i already remove google pagespeed from the project list. And I am sure the hostname "www.malaysiakini.com" is now not being use by any service. Then, i wanted to add "www.malaysiakini.com" into google app en

[google-appengine] Re: endpointscfg generate wrong discovery file (gen_discovery_doc)

2013-04-22 Thread Danny Hermes
DiTieM, The key "parameters": { "$ref": "UserApiMessagesUserGetProfileStatsQ" }, is *not* the expected behavior. This is a special backend configuration for the API and certain properties (such as required or path parameters) show up as parameters while the rest go in "body" as a $r

Re: [google-appengine] Got Error when uploading,help plz

2012-10-12 Thread Danny Favela
n-not-behind-a-proxy-in-python-2 -Danny On Thursday, October 11, 2012 8:57:35 PM UTC-7, Julie wrote: > > *I have occasionally received this error, and in each case it was related > to Internet access problems. One time it was my ISP's DNS, so I changed my > DNS to use Google (8.8.

Re: [google-appengine] Got Error when uploading,help plz

2012-10-11 Thread Danny Favela
\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 383, in do_open raise url_error urllib2.URLError: 2012-10-11 13:05:38 (Process exited with code 1) -Danny On Monday, April 12, 2010 3:11:05 PM UTC-7, Ikai L (Google) wrote: > > Are you still having this issue? What

[google-appengine] Re: Properties Elided

2012-09-20 Thread Danny Leshem
Added an issue based on this conversation: http://code.google.com/p/googleappengine/issues/detail?id=8158, feel free to star. On Thursday, September 20, 2012 2:29:45 PM UTC+3, Marcel Manz wrote: > > +1 > > The Datastore Viewer should always show all properties (or at least have > some 'Show all

Re: [google-appengine] "Minimum per-application charge" - WTF?

2011-09-01 Thread Danny Tuppeny
do that. Because it means showing a 500 error page for > quite a few users. And you would pay extra to avoid that. > > > On Thu, Sep 1, 2011 at 11:01 PM, Danny Tuppeny wrote: > >> On 1 Sep 2011, at 18:01, Barry Hunter wrote: >> >> > Its been said in other thr

Re: [google-appengine] "Minimum per-application charge" - WTF?

2011-09-01 Thread Danny Tuppeny
On 1 Sep 2011, at 18:01, Barry Hunter wrote: > Its been said in other thread that the "Platform fee" has been changed > to a minimum spend. > > So if you enable billing, you will have to pay at least $9 even if you > dont use all of that. I don't really understand the logic here - if I have an

[google-appengine] "Minimum per-application charge" - WTF?

2011-09-01 Thread Danny Tuppeny
I just looked in the Billing History to see what it'll cost me to keep my applications on App Engine... I saw this text: > * Note this total does not take into account the minimum per-application > charge in the new pricing model. The link goes to here: http://www.google.com/enterprise/cloud/ap

[google-appengine] Re: mapreduce problem?

2011-08-16 Thread Danny B
No there are no cron jobs or backends, however when I just checked task queues there is one listed there, yet I have never set one up...lol. I'll try deleting it and seeing if that stops whatever craziness is going on. Still not sure how that would have been scheduled though and I am the only

[google-appengine] Re: mapreduce problem?

2011-08-16 Thread Danny B
I am not even using mapreduce in my code... -- 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/-/HVF9uUs2kN0J. To post to this group, send email to goog

[google-appengine] mapreduce problem?

2011-08-16 Thread Danny B
For some reason my app is running mapreduce once an hour. Is this normal? lol "/_ah/datastore_admin/mapreduce_done

[google-appengine] google app engine bad latency

2011-06-28 Thread Danny ZI
Hello i dont understand why a simple call to a hello world servlet takes 300-400 ms other than that im using the fileservice api is there a way to get to the file (url+key ?) without having to go through a custom made servlet that calls the fileservice.serv() method ?Is there any way to make

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-06-01 Thread Danny Tuppeny
LOL! In my experience, ASP.NET MVC is not slow, and any performance benefit will be outweight by the speed of development - I'm far more used to writing C# in Visual Studio than writing (and debugging) Python :-) On 1 June 2011 20:53, Brandon Wirtz wrote: > See if you are writing in asp.net you

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-06-01 Thread Danny Tuppeny
That's why I originally picked GAE - the difference in the way they billed made it really cheap compared to Azure/EC2. The new pricing sucks bigtime. If I'm going to pay these kinds of prices, I'd rather use AppHarbor/Azure/EC2 and write ASP.NET MVC :D On 1 Jun 2011, at 19:20, Anders wrote:

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
Not sure what you're replying to, as you snipped out the quoted message, however my suggestion is that all resources are charged based on actual usage. CPU time should stay as it is (eg. actual CPU usage billed, not based on time the app is available), and if RAM is an issue, they should additional

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
On 22 May 2011 21:39, Anders wrote: > Oh, you're right! Separating CPU and RAM usage would be a good idea (if it > can be done in practice). The price model already contains a large number of > different quotas for all kinds of APIs and stuff. Separating CPU and RAM > usage would not add much com

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
Just because it has never happened yet, doesn't mean it won't. Web hosts don't cram thousands of people onto the same box until they run out of capacity. It's possible as App Engine grows, Google try will try to squeeze as many apps onto a box as possible. If on average they're all only using 1% of

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
On 22 May 2011 20:23, Anders wrote: > That's a valid reason. Instead of having to deal with both ram and cpu to > base the price on instances. But it's still confusing to me. What if an > application has to spawn a new instance just because of traffic load and the > GAE server being overloaded by

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
On 22 May 2011 20:06, Robert Kluin wrote: > I suspect it is for simplicity. Billing for CPU usage *and* RAM usage > would lead to a lot of confusion I'm not sure I agree with this - App Engine isn't aimed at random consumers, it's a platform used by technical people. I think we could understan

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
On 22 May 2011 16:38, Anders wrote: > What I'm most confused about in the new GAE price model is how much CPU > time each instance is given. For example if 20 instances are sharing the > same CPU in a GAE server simultaneously, does that mean that each instance > will only be given 1/20 of the CP

Re: [google-appengine] Re: Price comparison between GAE, EC2 & Azure

2011-05-22 Thread Danny Tuppeny
On 22 May 2011 13:34, Anders wrote: > So over time the prices should go down That's what I was thinking just before Google announced they're jacking the prices up ;-) It seems that now there's going to be no free scaling, as the new pricing only includes 24hours of CPU time, which leaves no ro

[google-appengine] Can't delete a version of my application: I see "Server error

2011-03-17 Thread Danny Yoo
I'm trying to delete an old version of my WeScheme application (version 13), but when I try to do so from the AppEngine version administration page, I see the following error message after trying to do so: A server error has occurred. I don't have any other diagnostic information to figure ou

[google-appengine] Display Image as Greyscale - GAE PIL

2011-02-20 Thread Danny
Hi there, I'm moving from Django to GAE Python, there's only one thing I'm struggling with. I create a thumbnail of all my images as greyscale/grayscale and store them alongside my full colour thumbnails. But can't get it working in Google App Engine. Any help would be awesome. I'd love to simply

[google-appengine] Re: SMS Verification Issue

2010-11-22 Thread Danny Tuppeny
ss hours of your > submission. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger: http://googleappengine.blogspot.com > Reddit: http://www.reddit.com/r/appengine > Twitter: http://twitter.com/app_engine > > > > > > > > On

[google-appengine] Re: SMS Verification Issue

2010-11-22 Thread Danny Tuppeny
Had an email saying my account was activated, and works great now. Not sure if it was a result of this message or the form working, but whoever it was, thanks! On Nov 21, 8:09 pm, Danny Tuppeny wrote: > I tried completing the SMS form, but I got weird errors and then no > confirmation t

[google-appengine] SMS Verification Issue

2010-11-22 Thread Danny Tuppeny
I tried completing the SMS form, but I got weird errors and then no confirmation that my message was sent when I finally submitted, so though I'd drop a note here... I've moved all my apps from my gmail account (danny.tuppeny) to my apps account (tuppeny.com user: danny) by making the t

Re: [google-appengine] Re: App Engine announcement emails being marked as Phishing in Gmail

2010-07-15 Thread Danny Tuppeny
folder for today's downtime. >> >> So I didn't received any, quite annoying. >> >> On 2 juil, 23:16, Waleed Abdulla wrote: >> > It was marked as spam for me as well. Glad I saw this thread (thanks >> > Danny). >> > >> > Waleed >

[google-appengine] Re: Getting 500 internal server errors trying to deploy app or load dashboard

2010-07-13 Thread Danny Tuppeny
Looks like I posted too soon. Less than 2 minutes later, everything seems to be working as normal! On Jul 13, 8:13 pm, Danny Tuppeny wrote: > I made some minor changes to my app, and had to save one of my files > as UTF8 (it was previously Ascii, but my pound signs were showing as >

[google-appengine] Getting 500 internal server errors trying to deploy app or load dashboard

2010-07-13 Thread Danny Tuppeny
I made some minor changes to my app, and had to save one of my files as UTF8 (it was previously Ascii, but my pound signs were showing as another character). When I tried to deploy, I now get a 500 internal server error page returned in the python window. Get the same error when trying to access t

[google-appengine] App Engine announcement emails being marked as Phishing in Gmail

2010-06-30 Thread Danny Tuppeny
When I get emails from the App Engine team, such as one today titled "Notification: Upcoming scheduled maintenance periods July 7th, 2010 and July 14th, 2010", it goes into my spam folder, and is marked with the phishing notice: Warning: This message may not be from the alleged person or organisat

[google-appengine] Re: Pre-computing bounding boxes for proximity search

2010-04-02 Thread Danny Tuppeny
Found a better example, which wraps everything up and works great: http://code.google.com/apis/maps/articles/geospatial.html On Apr 2, 1:17 pm, Danny Tuppeny wrote: > Hi all, > > I posted this on StackOverflow, but then thought that maybe it's > better to post

[google-appengine] Pre-computing bounding boxes for proximity search

2010-04-02 Thread Danny Tuppeny
Hi all, I posted this on StackOverflow, but then thought that maybe it's better to post here... http://stackoverflow.com/questions/2566563/app-engine-precomputing-bounding-boxes-for-proximity-search I'm trying to implement proximity-searching (eg. find all items within 10-15 miles), but I'm stru

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-15 Thread Danny Tuppeny
When you setup extra domains, they'll all just run the same scripts. However in your scripts you can read the host header using: os.environ.get('HTTP_HOST') This will contain the full domain (eg. mysub.mydomain.com), which you could use to do output different content. Hope thi

Re: [google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-14 Thread Danny Tuppeny
> If you're just concerned about backing up private repositories then > you could always export and either email it to yourself or upload to > Google Docs.  The export format is highly compressed (more so than the > Git export format) so unless you are tracking a lot of large binaries > this will b

Re: [google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-14 Thread Danny Tuppeny
We understand you. We don't understand why you don't respond to people trying to help you. Eg. you posted here: http://groups.google.com/group/google-appengine/browse_thread/thread/f6ef2c306d1b8540/d5d9b40e5bb0facd#d5d9b40e5bb0facd And Wooble made a suggestion (assuming your account was an Apps

Re: [google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-14 Thread Danny Tuppeny
There have always been two things that stopped me using Git/Github. I do like Git (I use GitX on my Mac for iPhone stuff, and it's great). 1. I already use Google Code for some open source stuff (eg. http://google-wave-notifier.googlecode.com/ ) and it'd be nice to keep them together. 2. Last tim

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-13 Thread Danny Tuppeny
Excellent, thanks for pointing this out, I should've checked :-) On 13 February 2010 17:36, Barry Hunter wrote: > From the documentation: > > If you have administrator-only pages in your application that are used > to administer the app, you can have those pages appear in the > Administration Con

[google-appengine] Re: Why i don't use Google App Engine... and don't recomend it to you

2010-02-13 Thread Danny Tuppeny
> > 1) If you format your hard-drive, you need to back up your source code > > first > > s/If you format your hard-drive, // Quoted for truth :-) I wish Google Code would let me pay to host my private projects there so I have a copy off from my machine (and I presume Google Code is backed up)

[google-appengine] Re: how large data can i use in App Caching and how long will it be cached?

2010-02-13 Thread Danny Tuppeny
On Feb 12, 7:34 am, saintthor wrote: > if sizeof counter is greater than 1M, can it work? As others pointed out, this data can be wiped at any time and you have multiple instances with their own data. That said, if you're still curious, there's an app somewhere that loads a 1MB image into the ap

[google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-13 Thread Danny Tuppeny
I haven't had chance to try this yet, but does it load our pages inside a frame, or does it load full window and lose the App Engine admin nav? Would be cool if we could keep the nav, though I appreciate there's not really a nice way to do it. On Feb 11, 12:30 am, "David W." wrote: > Picking thr

[google-appengine] Java getServletContext scalability

2010-02-09 Thread Danny Yoo
How does the use of the global context provided by getServletContext affect scalability? I assume there must be some effect; otherwise Jcache would be redundant, no? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group

[google-appengine] Re: Best practice for segmenting data between clients for security purposes?

2010-02-03 Thread Danny Tuppeny
There are also people here that install their apps into clients appengine accounts, which keeps them all seperate anyway. Note that to do this, you probably need permission from Google, since using multiple app engine apps for the same application is generally not allowed. If they're different clie

[google-appengine] Re: Datastore Viewer is crashing when user clicks on a single entity

2010-02-03 Thread Danny Tuppeny
I once had an error in the local dev server when I tried to edit an entity that had non-ascii characters in it. It gave a proper error/ stack trace (which is in the App Engine issue tracker somewhere). I wonder if this is the same issue, but Google have wrapped it in a friendly error message. On

[google-appengine] Re: Is GAE the right choice for e-commerce?

2010-02-03 Thread Danny Tuppeny
On Feb 1, 1:19 pm, Mike wrote: > We choose AppEngine primarily because a) 2 of us used to work at > Google, and we love AppEngine Wha? People leave Google? Madness! Some of us would give up our spacebarstoworkforGoogle;) -- You received this message because you are subscribed to the Google Gro

[google-appengine] Re: How memcache work?

2010-02-03 Thread Danny Tuppeny
On Feb 1, 8:20 pm, Patrick Twohig wrote: > I believe that the memcache service is implemented on top of this.  I could > be wrong, though:http://memcached.org/ I think I read that the creator memcached created "memcacheg" for Google. Not sure what the difference is though! To the OP - What is it

[google-appengine] Re: security in task queue servlets

2010-02-03 Thread Danny Tuppeny
> > > (and Require Admin login isn't enough) > > > That would be enough, but the only way to do that is to put the > > limitation in the web.xml file > > I might be missing something, but can't you just do the same thing in > code: I just re-read your post, and looks like you did something similar

[google-appengine] Re: security in task queue servlets

2010-02-03 Thread Danny Tuppeny
> > (and Require Admin login isn't enough) > > That would be enough, but the only way to do that is to put the > limitation in the web.xml file I might be missing something, but can't you just do the same thing in code: http://code.google.com/appengine/docs/python/users/functions.html#is_current_

[google-appengine] Re: Error: Server Error from specific domain bound to the app

2010-02-02 Thread Danny Tuppeny
Seems this is being investigated: http://groups.google.com/group/google- appengine/browse_thread/thread/5815fa443a1a5a5/faf28b84ba608c0e? q=#faf28b84ba608c0e On Feb 2, 4:56 pm, Alain de R wrote: > I see the same error on my domain. It started 2 hours ago, and it is > still not fixed :-(http://pi

[google-appengine] Re: Very strange/unpredictable behavior today... need help!

2010-02-02 Thread Danny Tuppeny
It looks like this is happening when you have cookies that would log you in. Clear your cookies and it'll work (for a while, at least). Apparently there was a backend change, and it's bolloxed :-( On Feb 2, 4:13 pm, Nevin Freeman wrote: > I am getting this error when I load my app on the domai

[google-appengine] Re: Sitewide 500 errors

2010-02-02 Thread Danny Tuppeny
Thanks for the update. I checked this page here: http://code.google.com/status/appengine Which doesn't show any issues (or that they're being investigated) :-( On Feb 2, 5:37 pm, "Jason (Google)" wrote: > Hi Everyone. We are currently investigating an issue that is affecting many > App Engine

[google-appengine] Re: High latency with custom domain

2010-01-31 Thread Danny Tuppeny
I wondered how they were using the same hostname for all Google services (appengine, blogger, sites, etc.), which are presumably running on different servers/systenms. Now I wonder if the ghs hostname is just proxying requests to the actual servers :o( -- You received this message because yo

[google-appengine] Re: Transaction across entities in different groups

2010-01-29 Thread Danny Tuppeny
I don't know if I was drunk when I sent this message, but I don't think it makes any sense at all. If you're calling get() on SS, it's quite clear what the kind is! On Jan 28, 7:20 am, Danny Tuppeny wrote: > On Jan 24, 12:29 am, dburns wrote: > > > Making a

[google-appengine] Re: Lock the memcache and how to block the call ?

2010-01-29 Thread Danny Tuppeny
On Jan 28, 7:38 am, Iap wrote: > Hi, Danny. Thanks for your help. > The taskqueue is something like cron. That is not what I am looking for. > I am looking for something that behave just like the standard module: > threading.Lock. I don't know of anything like this. You haven

[google-appengine] Re: Transaction across entities in different groups

2010-01-27 Thread Danny Tuppeny
On Jan 24, 12:29 am, dburns wrote: > Making a User instance the parent of a SS (snapshot) instance seems > like a natural fit, except then I can't fetch all the favourites via: > favs = SS.get_by_id(user.fav_ids).  The reason is that all parents > have to be the same to use SS.get_by_id (according

Re: [google-appengine] Re: Lock the memcache and how to block the call ?

2010-01-27 Thread Danny Tuppeny
I'm still not entirely clear on what you're trying to do. Why do you need to sync these requests? If it's a queue of some sort, would the TaskQueue API help? http://code.google.com/appengine/docs/python/taskqueue/ 2010/1/28 Iap > 2010/1/27 Danny Tuppeny : > > What i

Re: [google-appengine] Re: PHISHING APP retwite

2010-01-27 Thread Danny Tuppeny
I've seen quite a few posts from people in different countries complaining that *some* ghs IP addresses are blocked, and they often use their hosts files to hit one that isn't. So I suspect this will work for them. There are also non-countries that block twitter - companies that like to stop staff

Re: [google-appengine] Will having at least one app instance running guarantee no user will get a loading request?

2010-01-26 Thread Danny Tuppeny
show the user a messages saying something is happening rather than the browser sitting there on a white pag looking like your site is down. Danny 2010/1/27 Jeff Schnitzer > On Sun, Jan 24, 2010 at 5:35 PM, Spines wrote: > > > > What about when there is a surge in traffic and a s

Re: [google-appengine] Re: auto-logout user ?

2010-01-26 Thread Danny Tuppeny
Glad you got it sorted :-) I thought you were trying to log the user out if they just left/closed their browser, which would be a little trickier! 2010/1/26 Alex Nemoy > On Tue, Jan 26, 2010 at 7:45 PM, Danny Tuppeny wrote: > >> If you mean fetching it server-side, then that w

[google-appengine] Re: Programming Google App Engine book and code samples now available

2010-01-26 Thread Danny Tuppeny
I found this on the App Store for the iPhone: http://itunes.apple.com/gb/app/programming-google-app-engine/id345352599?mt=8 I'm not sure how anybody is making money when they're selling this at £2.99, unless they're assuming most people will buy a hardcopy too! On Jan 26, 1:08 am, Dan Sanderson

[google-appengine] Re: Lock the memcache and how to block the call ?

2010-01-26 Thread Danny Tuppeny
What is it you're trying to do? Deliberately causing your requests to block each other doesn't sound very scalable. Also, sleeping for only 1 millisecond will likely eat a ton of CPU while it spins waiting for the lock. It's hard to comment without knowing what you're trying to do. Maybe if you ca

[google-appengine] Re: Will having at least one app instance running guarantee no user will get a loading request?

2010-01-26 Thread Danny Tuppeny
On Jan 25, 1:35 am, Spines wrote: > As long as there is at least one app instance running will that > guarantee another user won't get a loading request?  My loading > requests take like 10 seconds to initialize Spring, Spring Security, > and JDO.  I don't want any of my users to experience a 10 s

[google-appengine] Re: auto-logout user ?

2010-01-26 Thread Danny Tuppeny
If you mean fetching it server-side, then that won't work. I can't think of any nice way to do what you want, though there is a tickbox that says "Keep me signed in". If the user ticks this, surely that's what they want? On Jan 25, 2:05 pm, Alex Nemoy wrote: > Can a user be logged out by the app

[google-appengine] Re: Root domain on own hosting and subdomain on AppEngine. Possible?

2010-01-26 Thread Danny Tuppeny
On Jan 25, 11:50 am, olex13 wrote: > I'm not an expert in all this DNS/CNAME/etc things, so I afraid that > once I'll configure subdomain on appengine app, > root domain will not work on my PHP hosting There's nothing to worry about, it won't break. When you set up Google Apps (and App Engine), y

[google-appengine] Re: Price comparison between GAE, EC2 & Azure

2010-01-26 Thread Danny Tuppeny
Looks like we're all at it ;-) http://blog.dantup.com/2009/12/microsoft-windows-azure-vs-google-app.html Though mine probably wasn't entirely unbiased. I wanted to use Azure and discovered it was a ripoff for small (low traffic) projects. I'm a .NET developer by trade, so it made sense. Google's

Re: [google-appengine] Re: Yet Another Count Question

2010-01-24 Thread Danny Tuppeny
d be anything in the log if a server died in the middle of a request! It's no big deal for my blog, but I guess it's another argument for transactions :-) 2010/1/24 Mark Hildreth > Hi Danny, thanks for your reply. > > > If accuracy isn't so important, you could increase t

Re: [google-appengine] Re: Send mail from user's Gmail address ?

2010-01-24 Thread Danny Tuppeny
1/google/appengine/api/mail.py", line > 260, in send_mail > message.send(make_sync_call) > File "/base/python_lib/versions/1/google/appengine/api/mail.py", line > 735, in send > raise ERROR_MAP[e.application_error](e.error_detail) > InvalidSenderError: Un

[google-appengine] Re: Yet Another Count Question

2010-01-24 Thread Danny Tuppeny
imeouts/ Hope this helps, Danny On Jan 23, 4:14 am, Mark Hildreth wrote: > That's right, another question re: counting. I thought I had the idea > down until I came across the sharded counter example. Using the > following example: > > http://github.com/DocSavage/sharde

[google-appengine] Re: Send mail from user's Gmail address ?

2010-01-24 Thread Danny Tuppeny
What do you mean by "does not work"? Do you get an error? I so, can you post it here? On Jan 23, 8:32 pm, Alex Nemoy wrote: > Hello, > > Can an application send mail From: the logged in user's Gmail account? > > The documentation > athttp://code.google.com/appengine/docs/python/mail/sendingmail.

[google-appengine] Re: Problem using 'www' as subdomain for app url

2010-01-24 Thread Danny Tuppeny
This definitely works, as I have a few www's set up like this. I had a very similar problem when I removed a subdomain from Blogger and tried to add it to my app. I had problems adding the domain (no error, but also didn't work) for a number of hours after removing it from Blogger (I presume it to

[google-appengine] Re: spambot from lativa

2010-01-23 Thread Danny Tuppeny
There are some open issues with similar requests that migh be worth starring(?) :-) http://code.google.com/p/googleappengine/issues/detail?id=644 http://code.google.com/p/googleappengine/issues/detail?id=2569 On Jan 23, 8:47 am, dreadjr wrote: > yeah i am forcing them to get a 404 error, it is

[google-appengine] Re: Creating a GAE-project with personal account, linked it to my Google App Standard account - now who owns it?

2010-01-23 Thread Danny Tuppeny
I believe the Google Account, unless you add a user from the Google Apps account as an admin. My understanding was that setting a subdomain up to point at an app doesn't give you an powers over it. Some of my apps have domains from multiple different Google Apps accounts pointing at them, but the a

[google-appengine] Datastore timeouts - retry or just let fail?

2010-01-23 Thread Danny Tuppeny
Hi all, I've got a query that fetches an entity by key_name, and now and then (maybe once or twice a day) it times out. Reading the docs, it seems like this is fairly common. Most of times I see it it's from a search bot or something, so I haven't really bothered doing anything, but since it is a

Re: [google-appengine] Re: Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-21 Thread Danny Tuppeny
other services showing the same problem). It sounds like a bug (though which side should fix it, I don't know), though it's only with that reporting, and it seems gzip is working for normal users :-) Danny 2010/1/22 Wesley Chun (Google) > > > Maybe a bug in Webmaster Tools? >

[google-appengine] Re: Deploying more than 10 apps

2010-01-21 Thread Danny Tuppeny
On Jan 21, 4:05 am, Nir Yariv wrote: > Unfortunately these are apps I'm developing so I can't be added by > others - and I don't want to delete existing apps in order to add new > ones.. If you're nice, and not abusing the system, it looks like people in these groups might be able to help... htt

Re: [google-appengine] Re: Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-21 Thread Danny Tuppeny
2010/1/21 Barry Hunter > > Use 'View as Googlebot' ? (its also in labs) > Good point :) Though it only shows returned headers, not sent. Returned this: HTTP/1.1 200 OK Date: Thu, 21 Jan 2010 17:20:47 GMT Expires: Tue, 26 Jan 2010 17:20:47 GMT Cache-Control: public, max-age=432000 Content-Type:

[google-appengine] Re: Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-21 Thread Danny Tuppeny
for GoogleBot and logs the headers, but I'm sure you can find that out faster working for Google ;-)) Danny On Jan 20, 3:21 am, "Wesley Chun (Google)" wrote: > yes, App Engine should be compressing, as outlined > here:http://code.google.com/appengine/kb/general.html#comp

Re: [google-appengine] Re: Scalability problem in GAE

2010-01-20 Thread Danny Tuppeny
2010/1/20 mani doraisamy > Same request, but another query has degraded from 45ms to 846ms: > http://247-test.appspot.com/stats/details?time=1263968821144 > http://247-test.appspot.com/stats/details?time=1263908256446 > Which calls are you looking at? They look like different queries (with diffe

Re: [google-appengine] Re: Scalability problem in GAE

2010-01-20 Thread Danny Tuppeny
2010/1/20 Danny Tuppeny > 2010/1/20 Eric Ka Ka Ng > >> i'm not sure whether the blue bars are actually showing time without >> >> the profiler, i think it may mean something else (i also wanna know >> what the blue bar and red rectangle refer to, and will dig

Re: [google-appengine] Re: Scalability problem in GAE

2010-01-20 Thread Danny Tuppeny
2010/1/20 Eric Ka Ka Ng > i'm not sure whether the blue bars are actually showing time without > the profiler, i think it may mean something else (i also wanna know > what the blue bar and red rectangle refer to, and will dig into the > doc to find out what it actually means. anyone know?). the o

Re: [google-appengine] Re: Scalability problem in GAE

2010-01-19 Thread Danny Tuppeny
%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882009-12-12+8.39.08%EF%BC%89.png>The overhead isn't insignificant, so you probably don't want to leave the profiler turned on, but the blue bars show the time without the profiler, so the results are still accurate :-) Danny 2010/1/20 Eric Ka K

[google-appengine] Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-19 Thread Danny Tuppeny
Hi all, According to the docs, it seems that gzip is handled automatically on App Engine. However, in the Google Webmaster Tools "Site Performance" section, it says to me: Enable gzip compression Compressing the following resources with gzip could reduce their transfer size by 73.3 KB: http://aja

[google-appengine] Re: Sending mail via second Developer-Account -> only with second phone number?

2010-01-18 Thread Danny Tuppeny
My experience wasn't that complicated. I made sure I wasn't logged into any other Google accounts, then clicked the link in the email (there were two, one for Google Accounts and another for Apps accounts). It just added it to my list. I didn't have to add a mobile number, nor create an app. It ju

[google-appengine] Re: models help - simple sharding example

2010-01-18 Thread Danny Tuppeny
There were some useful replies to this other, similar thread, also posted by an Andy ;-) http://groups.google.com/group/google-appengine-python/browse_thread/thread/80a44f96c623c964 On Jan 18, 3:51 pm, "Nick Johnson (Google)" wrote: > Hi Andy, > > On Mon, Jan 4, 2010 at 8:08 PM, Andy wrote: > >

[google-appengine] Re: A REALLY strange problem

2010-01-17 Thread Danny Tuppeny
://visameblog.appspot.com/static/css/style.css?myrandomstring Danny On Jan 17, 8:03 am, OvermindDL1 wrote: > On Sun, Jan 17, 2010 at 12:48 AM, Abhinav Bhagwat > > wrote: > > Did you try refreshing your browser cache? Press CTRL+F5 or even better go > > to browser option

[google-appengine] Re: Cant get my www.mydomain.com to work with my APP

2010-01-17 Thread Danny Tuppeny
If you can't manage the DNS and create CNAME records, not only can you not verify the domain, but you wouldn't be able to point subdomains at App Engine anyway. I'd recommend contacting your registrar to find out whether they allow you to modify the DNS records directly (in case it's hidden away s

[google-appengine] Does request_logs count towards bandwidth quota?

2009-12-19 Thread Danny Tuppeny
Hey all, There's a bug in the request_logs command on Windows, where --append will download all logs, ever, and append them to the file (so it fills up with duplicates), so for now I've changed it to num_days=0 and let it just overwrite the file. It just occured to me that this might count toward

[google-appengine] Re: Restrictions on files uploaded, served in static_dir?

2009-12-18 Thread Danny Tuppeny
Done some testing, and got this to work like this: - url: /test/test%20one static_dir: test/test one So I think I can get it to work, however I still think it's a bug? On Dec 18, 6:36 pm, Danny Tuppeny wrote: > Ok, looks like the problem is with spaces in folder names. If I rena

[google-appengine] Re: Restrictions on files uploaded, served in static_dir?

2009-12-18 Thread Danny Tuppeny
is seems like a nasty bug :-( Looks like this has been reported: http://code.google.com/p/googleappengine/issues/detail?id=2525 (and by someone using ClickOnce, too? :)) On Dec 18, 3:10 pm, "Nick Johnson (Google)" wrote: > Hi Danny, > > On Fri, Dec 18, 2009 at 2:28 PM, Danny Tup

[google-appengine] Re: Restrictions on files uploaded, served in static_dir?

2009-12-18 Thread Danny Tuppeny
> The URL in the 404 looks like it patches the path from the deployment, > so I'm not sure why it doesn't serve up. Any ideas? *Patches = matches. Spelling was never my strong point. That's what intellisense is for :-) -- You received this message because you are subscribed to the Google Group

[google-appengine] Re: Restrictions on files uploaded, served in static_dir?

2009-12-18 Thread Danny Tuppeny
Ok, here's the app.yaml file: application: dantup version: 1 runtime: python api_version: 1 handlers: - url: /wavenotifier static_dir: wavenotifier - url: /.* script: main.py During publish, I saw this (amongst other similar messages for other files): Could not guess mimetype for wavenoti

  1   2   >