[google-appengine] Re: Should I take my website somewhere else? - blocked in China
I want to to hear from Google whether it has done anything to solve this problem or whether it has any plan to do so. I don't want to hear pompous speech from a self-appointed non-google spokesperson on his "political/moral" drivels and that he "encourage me to take my business elsewhere". So no, there's no pot and kettle here at all. And no, there's no need for google to "subvert the great firewall" in order to solve this problem. Google could talk to the authorities in China to see what can be done to get unblocked. It could give App Engine users the option to move their sites to google's data centers in China. It could start selling static IP hosting. Plenty of solutions - just because you don't know about them doesn't mean they don't exist. On Apr 3, 1:54 am, Andy Freeman wrote: > > This is a forum for people to share information on GAE and solve > > problems. > > Pot, kettle and all that unless you know how Google can subvert the > "great firewall". > > On Apr 2, 8:48 pm, Andy wrote: > > > No one is interested in hearing your "political/moral" preaching. > > > This is a forum for people to share information on GAE and solve > > problems. If you have anything of value to add to the discussion, feel > > free to add your bits. If not, you won't be missed. > > > So you "encourage me to take my business elsewhere"? > > > Who are you - are you the spokesperson of Google? Is that the Google > > official position on this matter? > > > Or was that just another failed attempt of you at self-aggrandizement? > > > On Apr 2, 7:53 pm, Joe Bowman wrote: > > > > China and the other countries block content that they deem > > > unacceptable for their citizens. In order to get appengine off the > > > blacklist, they would have to disallow people to create applications > > > which would be deemed offensive to those countries. > > > > First, looking at it from the pure technical/business view, this would > > > require that applications no longer post immediately, and be under > > > review at each update at a minimum. This would potentially decrease > > > the amount of applications served (thus decreasing revenue) while > > > increasing costs to support the system. > > > > From the political/moral view, Google has been a staunch supporter of > > > rights to speech, and it wasn't that long ago that they were chastised > > > for bending their own rules to support China at all by allowing the > > > filtering of search results. Further expansion of their products > > > having such filtering imposed by them would lead to more reputation > > > damage. Reputation damage also costs money. > > > > So really, from two different perspectives, there's no business sense > > > in worrying about if appengine applications are being firewalled by 6 > > > out of the 150+ countries that exist in the world. As a customer you > > > have every right to take your business elsewhere, and if making you > > > application available in those 6 countries is of the importance that > > > you need to, I encourage you to do so. Not every web application is > > > going to be appropriate for appengine. > > > > There's 6 countries that support appengine, and can only write > > > programs in python. Which is really the limiting factor of the > > > application environment? > > > > On Apr 2, 7:16 pm, Andy Freeman wrote: > > > > > > Why shouldn't this be google's problem? > > > > > Suppose that I sold raincoats and you wanted to buy one of my > > > > raincoats. If someone else got between us and stopped me from > > > > delivering raincoats to you, who would you hold responsible? > > > > > Google isn't doing the blocking. > > > > > Yes, Google may be able to make more money if it can get around the > > > > blocking, but that doesn't change the fact that the blocks are not > > > > under Google's control. > > > > > In other words, blocking may be a problem, that is an issue, for > > > > Google, but it isn't Google's problem, that is, something that Google > > > > has some obligation to do act upon. > > > > > On Apr 2, 3:38 pm, Andy wrote: > > > > > > Why shouldn't this be google's problem? > > > > > > Google's hosting platform is being blocked by the country with the > > > > > largest internet population in the world. You think that's not a major > > > > > problem? > > > > > > I've used plenty of hosting sites that are perfectly accessible from > > > > > China. So obviously this is a problem for Google. > > > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > > > And why is this Google's problem?- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - --~--~-~--~~~---~--~~ 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
[google-appengine] Re: Should I take my website somewhere else? - blocked in China
> This is a forum for people to share information on GAE and solve problems. Pot, kettle and all that unless you know how Google can subvert the "great firewall". On Apr 2, 8:48 pm, Andy wrote: > No one is interested in hearing your "political/moral" preaching. > > This is a forum for people to share information on GAE and solve > problems. If you have anything of value to add to the discussion, feel > free to add your bits. If not, you won't be missed. > > So you "encourage me to take my business elsewhere"? > > Who are you - are you the spokesperson of Google? Is that the Google > official position on this matter? > > Or was that just another failed attempt of you at self-aggrandizement? > > On Apr 2, 7:53 pm, Joe Bowman wrote: > > > > > China and the other countries block content that they deem > > unacceptable for their citizens. In order to get appengine off the > > blacklist, they would have to disallow people to create applications > > which would be deemed offensive to those countries. > > > First, looking at it from the pure technical/business view, this would > > require that applications no longer post immediately, and be under > > review at each update at a minimum. This would potentially decrease > > the amount of applications served (thus decreasing revenue) while > > increasing costs to support the system. > > > From the political/moral view, Google has been a staunch supporter of > > rights to speech, and it wasn't that long ago that they were chastised > > for bending their own rules to support China at all by allowing the > > filtering of search results. Further expansion of their products > > having such filtering imposed by them would lead to more reputation > > damage. Reputation damage also costs money. > > > So really, from two different perspectives, there's no business sense > > in worrying about if appengine applications are being firewalled by 6 > > out of the 150+ countries that exist in the world. As a customer you > > have every right to take your business elsewhere, and if making you > > application available in those 6 countries is of the importance that > > you need to, I encourage you to do so. Not every web application is > > going to be appropriate for appengine. > > > There's 6 countries that support appengine, and can only write > > programs in python. Which is really the limiting factor of the > > application environment? > > > On Apr 2, 7:16 pm, Andy Freeman wrote: > > > > > Why shouldn't this be google's problem? > > > > Suppose that I sold raincoats and you wanted to buy one of my > > > raincoats. If someone else got between us and stopped me from > > > delivering raincoats to you, who would you hold responsible? > > > > Google isn't doing the blocking. > > > > Yes, Google may be able to make more money if it can get around the > > > blocking, but that doesn't change the fact that the blocks are not > > > under Google's control. > > > > In other words, blocking may be a problem, that is an issue, for > > > Google, but it isn't Google's problem, that is, something that Google > > > has some obligation to do act upon. > > > > On Apr 2, 3:38 pm, Andy wrote: > > > > > Why shouldn't this be google's problem? > > > > > Google's hosting platform is being blocked by the country with the > > > > largest internet population in the world. You think that's not a major > > > > problem? > > > > > I've used plenty of hosting sites that are perfectly accessible from > > > > China. So obviously this is a problem for Google. > > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > > And why is this Google's problem?- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Google can control access to its resources and has contracts with the folks who ship bits to google. Google has no control over the "great firewall". On Apr 2, 8:32 pm, Andy wrote: > Just because Google isn't doing the blocking doesn't mean it's not > Google's problem. > > Using your (lack of) logic, if GAE is down because someone's attacking > it using DOS, does that mean it's also not Google's problem because > "google isn't doing the attacking"? > > On Apr 2, 7:16 pm, Andy Freeman wrote: > > > > > > Why shouldn't this be google's problem? > > > Suppose that I sold raincoats and you wanted to buy one of my > > raincoats. If someone else got between us and stopped me from > > delivering raincoats to you, who would you hold responsible? > > > Google isn't doing the blocking. > > > Yes, Google may be able to make more money if it can get around the > > blocking, but that doesn't change the fact that the blocks are not > > under Google's control. > > > In other words, blocking may be a problem, that is an issue, for > > Google, but it isn't Google's problem, that is, something that Google > > has some obligation to do act upon. > > > On Apr 2, 3:38 pm, Andy wrote: > > > > Why shouldn't this be google's problem? > > > > Google's hosting platform is being blocked by the country with the > > > largest internet population in the world. You think that's not a major > > > problem? > > > > I've used plenty of hosting sites that are perfectly accessible from > > > China. So obviously this is a problem for Google. > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > And why is this Google's problem?- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
> > If A times 10 > B then fix it. You're assuming that google can "fix it". Since google isn't doing the blocking, this is an interesting assumption. On Apr 2, 7:05 pm, WallyDD wrote: > Paying extra money for a static IP address is something that I would > happily cough up money for. Could Google create the functionality? > > I am no expert on Firewalls and security but is this same type of > blocking done with some corporate firewalls? I was under the > impression that these countries buy their firewalls from the same > companies which outfit corporate america. > > It is unfortunate that some politicians/employers choose to block > their citizens/employees from viewing certain websites. Denying access > to a whole portion of the web to people simply because of some poorly > implemented IT policy is something that Google needs to deal with. > > How much adense revenue is google losing from this per year? = A > How much would it cost to fix (or workaround) the problem? = B > > If A times 10 > B then fix it. > > Any chance of a response from Google? > > On Apr 2, 7:53 pm, Joe Bowman wrote: > > > > > China and the other countries block content that they deem > > unacceptable for their citizens. In order to get appengine off the > > blacklist, they would have to disallow people to create applications > > which would be deemed offensive to those countries. > > > First, looking at it from the pure technical/business view, this would > > require that applications no longer post immediately, and be under > > review at each update at a minimum. This would potentially decrease > > the amount of applications served (thus decreasing revenue) while > > increasing costs to support the system. > > > From the political/moral view, Google has been a staunch supporter of > > rights to speech, and it wasn't that long ago that they were chastised > > for bending their own rules to support China at all by allowing the > > filtering of search results. Further expansion of their products > > having such filtering imposed by them would lead to more reputation > > damage. Reputation damage also costs money. > > > So really, from two different perspectives, there's no business sense > > in worrying about if appengine applications are being firewalled by 6 > > out of the 150+ countries that exist in the world. As a customer you > > have every right to take your business elsewhere, and if making you > > application available in those 6 countries is of the importance that > > you need to, I encourage you to do so. Not every web application is > > going to be appropriate for appengine. > > > There's 6 countries that support appengine, and can only write > > programs in python. Which is really the limiting factor of the > > application environment? > > > On Apr 2, 7:16 pm, Andy Freeman wrote: > > > > > Why shouldn't this be google's problem? > > > > Suppose that I sold raincoats and you wanted to buy one of my > > > raincoats. If someone else got between us and stopped me from > > > delivering raincoats to you, who would you hold responsible? > > > > Google isn't doing the blocking. > > > > Yes, Google may be able to make more money if it can get around the > > > blocking, but that doesn't change the fact that the blocks are not > > > under Google's control. > > > > In other words, blocking may be a problem, that is an issue, for > > > Google, but it isn't Google's problem, that is, something that Google > > > has some obligation to do act upon. > > > > On Apr 2, 3:38 pm, Andy wrote: > > > > > Why shouldn't this be google's problem? > > > > > Google's hosting platform is being blocked by the country with the > > > > largest internet population in the world. You think that's not a major > > > > problem? > > > > > I've used plenty of hosting sites that are perfectly accessible from > > > > China. So obviously this is a problem for Google. > > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > > And why is this Google's problem?- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Updating the GData API
Thanks Bill, I hoped this would be the case. But a search in the groups revealed a lot of people asking to delete their existing files to escape from the limit.. So I was a bit concerned. Thanks, Arun Shanker Prasad. On Apr 3, 8:30 am, Bill wrote: > Arun, > > I think during each deployment (upload) of your app, the current > number of files in your local app directory (minus whatever is not > uploaded due to app.yaml directives, etc) is what counts. If Google > judges the quota against all past plus modified files uploaded, the > limit would be exceeded very quickly. So even if you don't change the > version, just makes sure your current # of files is lower than the > quota. > > -Bill > > On Apr 1, 11:10 pm, Arun Shanker Prasad > wrote: > > > Hi All, > > > I currently use the GData API version 'gdata.py-1.1.1' for my Google > > App Engine application. My question is that the API contains a lot of > > files, I want to update to the latest version of the API. I have > > already uploaded the app with the API files, (P.S: No I did not use > > zipimport). If I modify the version and upload these files again then > > will they be viewed as different files? I mean will I be hitting the > > number of flies allowed limit? Could some one please elaborate on > > this? > > > Thanks, > > Arun Shanker Prasad. --~--~-~--~~~---~--~~ 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: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
This is what my helloworld.py looks like: print 'Content-Type: text/plain' print " print 'Hello, world!' On Apr 2, 11:43 pm, Tim Hoffman wrote: > Ok can you how us helloworld.py > > T > > On Apr 3, 9:19 am, bobdob wrote: > > > Here's the app.yaml file: > > > application: helloworld > > version: 1 > > runtime: python > > api_version: 1 > > > handlers: > > - url: /.* > > script: helloworld.py > > > And the "helloworld" directory contains only the files "app.yaml" and > > "helloworld.py" (both written according to the AppEngine docs) > > > Thanks > > > On Apr 2, 8:23 pm, Tim Hoffman wrote: > > > > Can you include the contents of you app.yaml > > > > And list the contents of helloworld directory > > > > T > > > > On Apr 3, 7:35 am, bobdob wrote: > > > > > Thanks for the quick reply Tim, I tried your suggestion (I left the > > > > "helloworld" directory in the "google_appengine" directory for now, > > > > just to make sure I could get it up and running before I move the > > > > "helloworld" directory). > > > > > Unfortunately, things are still not working out. I must be doing > > > > something wrong because I'm following the tutorial exactly as > > > > described in the docs and everyone says it's the easiest thing (and it > > > > looks like they're all right). > > > > > I'm currently typing and getting the following in my terminal: > > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld > > > > ERROR:root:Application configuration file not found in ./helloworld > > > > > What I've noticed is that my "app.yaml" file says it's a plain text > > > > document in the "properties" so maybe the appengine SDK isn't > > > > recognizing it as the necessary configuration file and throws that > > > > error message? I've tried creating the file from scratch and saving it > > > > from 3 different text editors: gedit, gvim, and emacs and none seem to > > > > produce any different results. Any help would be greatly appreciated > > > > > Thanks > > > > > On Apr 2, 3:15 am, Tim Hoffman wrote: > > > > > > For starters you command line as listed below says > > > > > > google_appengine/dev_appserver.py /helloworld > > > > > > But you said you put helloworld in the google_appengine directory > > > > > which would suggest a command line of > > > > > > google_appengine/dev_appserver.py ./helloworld > > > > > > Not the "." before helloworld > > > > > > I personally wouldn't put you helloworld in google_appengine > > > > > put it somewhere else and just have the command line point to it > > > > > much better because when the next version os the sdk comes out you > > > > > will have to > > > > > move things > > > > > > T > > > > > > On Apr 2, 11:25 am, bobdob wrote: > > > > > > > Hi Everyone > > > > > > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. > > > > > > I've > > > > > > downloaded the .zip for the Appengine SDK from the Linux/Other > > > > > > Platforms section > > > > > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > > > > > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I > > > > > > deleted > > > > > > all the files and tried re-downloading & unzipping 3 times, still > > > > > > got > > > > > > the same CRC mismatches again. So I decided to just give it a shot > > > > > > anyway. > > > > > > > Then I tried out the "Helloworld" app, creating a directory > > > > > > "helloworld" in the "google_appengine" directory and placing my > > > > > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. > > > > > > I > > > > > > tried running dev_appserver.py by opening my terminal and typing > > > > > > google_appengine/dev_appserver.py /helloworld, and got a nice little > > > > > > error message as illustrated below: > > > > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > > > > > > ERROR:root:Application configuration file not found in /helloworld > > > > > > > Now, I'm not sure what's causing this, whether I have a bum copy of > > > > > > the SDK (unlikely, I think, since the files came directly from the > > > > > > Google Appengine Downloads), or whether I'm not putting my files or > > > > > > directories in the right places, or whether there are other > > > > > > dependencies I need to run dev_appserver.py (Ubuntu comes with > > > > > > Python > > > > > > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware > > > > > > they are not compatible with AppEngine). > > > > > > > I'm kind of stuck right now, I've searched online for a few hours > > > > > > with > > > > > > no luck and I think I should be able to get this up and running > > > > > > pretty > > > > > > easily. If anyone has any suggestions or has experienced something > > > > > > like this, please let me know as soon as you can > > > > > > > Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to
[google-appengine] Existing Kinds Not Showing in Datastore List
Hi, I recently created, loaded with objects, and queried two new Kinds having exactly the same fields as Kinds currently visible in the Datastore drop-down list. The new Kinds, however, are not showing up in the list. Has anyone else encountered this problem? Thanks. -Ed --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
No one is interested in hearing your "political/moral" preaching. This is a forum for people to share information on GAE and solve problems. If you have anything of value to add to the discussion, feel free to add your bits. If not, you won't be missed. So you "encourage me to take my business elsewhere"? Who are you - are you the spokesperson of Google? Is that the Google official position on this matter? Or was that just another failed attempt of you at self-aggrandizement? On Apr 2, 7:53 pm, Joe Bowman wrote: > China and the other countries block content that they deem > unacceptable for their citizens. In order to get appengine off the > blacklist, they would have to disallow people to create applications > which would be deemed offensive to those countries. > > First, looking at it from the pure technical/business view, this would > require that applications no longer post immediately, and be under > review at each update at a minimum. This would potentially decrease > the amount of applications served (thus decreasing revenue) while > increasing costs to support the system. > > From the political/moral view, Google has been a staunch supporter of > rights to speech, and it wasn't that long ago that they were chastised > for bending their own rules to support China at all by allowing the > filtering of search results. Further expansion of their products > having such filtering imposed by them would lead to more reputation > damage. Reputation damage also costs money. > > So really, from two different perspectives, there's no business sense > in worrying about if appengine applications are being firewalled by 6 > out of the 150+ countries that exist in the world. As a customer you > have every right to take your business elsewhere, and if making you > application available in those 6 countries is of the importance that > you need to, I encourage you to do so. Not every web application is > going to be appropriate for appengine. > > There's 6 countries that support appengine, and can only write > programs in python. Which is really the limiting factor of the > application environment? > > On Apr 2, 7:16 pm, Andy Freeman wrote: > > > > Why shouldn't this be google's problem? > > > Suppose that I sold raincoats and you wanted to buy one of my > > raincoats. If someone else got between us and stopped me from > > delivering raincoats to you, who would you hold responsible? > > > Google isn't doing the blocking. > > > Yes, Google may be able to make more money if it can get around the > > blocking, but that doesn't change the fact that the blocks are not > > under Google's control. > > > In other words, blocking may be a problem, that is an issue, for > > Google, but it isn't Google's problem, that is, something that Google > > has some obligation to do act upon. > > > On Apr 2, 3:38 pm, Andy wrote: > > > > Why shouldn't this be google's problem? > > > > Google's hosting platform is being blocked by the country with the > > > largest internet population in the world. You think that's not a major > > > problem? > > > > I've used plenty of hosting sites that are perfectly accessible from > > > China. So obviously this is a problem for Google. > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > And why is this Google's problem?- Hide quoted text - > > > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
Ok can you how us helloworld.py T On Apr 3, 9:19 am, bobdob wrote: > Here's the app.yaml file: > > application: helloworld > version: 1 > runtime: python > api_version: 1 > > handlers: > - url: /.* > script: helloworld.py > > And the "helloworld" directory contains only the files "app.yaml" and > "helloworld.py" (both written according to the AppEngine docs) > > Thanks > > On Apr 2, 8:23 pm, Tim Hoffman wrote: > > > Can you include the contents of you app.yaml > > > And list the contents of helloworld directory > > > T > > > On Apr 3, 7:35 am, bobdob wrote: > > > > Thanks for the quick reply Tim, I tried your suggestion (I left the > > > "helloworld" directory in the "google_appengine" directory for now, > > > just to make sure I could get it up and running before I move the > > > "helloworld" directory). > > > > Unfortunately, things are still not working out. I must be doing > > > something wrong because I'm following the tutorial exactly as > > > described in the docs and everyone says it's the easiest thing (and it > > > looks like they're all right). > > > > I'm currently typing and getting the following in my terminal: > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld > > > ERROR:root:Application configuration file not found in ./helloworld > > > > What I've noticed is that my "app.yaml" file says it's a plain text > > > document in the "properties" so maybe the appengine SDK isn't > > > recognizing it as the necessary configuration file and throws that > > > error message? I've tried creating the file from scratch and saving it > > > from 3 different text editors: gedit, gvim, and emacs and none seem to > > > produce any different results. Any help would be greatly appreciated > > > > Thanks > > > > On Apr 2, 3:15 am, Tim Hoffman wrote: > > > > > For starters you command line as listed below says > > > > > google_appengine/dev_appserver.py /helloworld > > > > > But you said you put helloworld in the google_appengine directory > > > > which would suggest a command line of > > > > > google_appengine/dev_appserver.py ./helloworld > > > > > Not the "." before helloworld > > > > > I personally wouldn't put you helloworld in google_appengine > > > > put it somewhere else and just have the command line point to it > > > > much better because when the next version os the sdk comes out you > > > > will have to > > > > move things > > > > > T > > > > > On Apr 2, 11:25 am, bobdob wrote: > > > > > > Hi Everyone > > > > > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've > > > > > downloaded the .zip for the Appengine SDK from the Linux/Other > > > > > Platforms section > > > > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > > > > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted > > > > > all the files and tried re-downloading & unzipping 3 times, still got > > > > > the same CRC mismatches again. So I decided to just give it a shot > > > > > anyway. > > > > > > Then I tried out the "Helloworld" app, creating a directory > > > > > "helloworld" in the "google_appengine" directory and placing my > > > > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I > > > > > tried running dev_appserver.py by opening my terminal and typing > > > > > google_appengine/dev_appserver.py /helloworld, and got a nice little > > > > > error message as illustrated below: > > > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > > > > > ERROR:root:Application configuration file not found in /helloworld > > > > > > Now, I'm not sure what's causing this, whether I have a bum copy of > > > > > the SDK (unlikely, I think, since the files came directly from the > > > > > Google Appengine Downloads), or whether I'm not putting my files or > > > > > directories in the right places, or whether there are other > > > > > dependencies I need to run dev_appserver.py (Ubuntu comes with Python > > > > > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware > > > > > they are not compatible with AppEngine). > > > > > > I'm kind of stuck right now, I've searched online for a few hours with > > > > > no luck and I think I should be able to get this up and running pretty > > > > > easily. If anyone has any suggestions or has experienced something > > > > > like this, please let me know as soon as you can > > > > > > 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] Re: Updating the GData API
Arun, I think during each deployment (upload) of your app, the current number of files in your local app directory (minus whatever is not uploaded due to app.yaml directives, etc) is what counts. If Google judges the quota against all past plus modified files uploaded, the limit would be exceeded very quickly. So even if you don't change the version, just makes sure your current # of files is lower than the quota. -Bill On Apr 1, 11:10 pm, Arun Shanker Prasad wrote: > Hi All, > > I currently use the GData API version 'gdata.py-1.1.1' for my Google > App Engine application. My question is that the API contains a lot of > files, I want to update to the latest version of the API. I have > already uploaded the app with the API files, (P.S: No I did not use > zipimport). If I modify the version and upload these files again then > will they be viewed as different files? I mean will I be hitting the > number of flies allowed limit? Could some one please elaborate on > this? > > Thanks, > Arun Shanker Prasad. --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Just because Google isn't doing the blocking doesn't mean it's not Google's problem. Using your (lack of) logic, if GAE is down because someone's attacking it using DOS, does that mean it's also not Google's problem because "google isn't doing the attacking"? On Apr 2, 7:16 pm, Andy Freeman wrote: > > Why shouldn't this be google's problem? > > Suppose that I sold raincoats and you wanted to buy one of my > raincoats. If someone else got between us and stopped me from > delivering raincoats to you, who would you hold responsible? > > Google isn't doing the blocking. > > Yes, Google may be able to make more money if it can get around the > blocking, but that doesn't change the fact that the blocks are not > under Google's control. > > In other words, blocking may be a problem, that is an issue, for > Google, but it isn't Google's problem, that is, something that Google > has some obligation to do act upon. > > On Apr 2, 3:38 pm, Andy wrote: > > > Why shouldn't this be google's problem? > > > Google's hosting platform is being blocked by the country with the > > largest internet population in the world. You think that's not a major > > problem? > > > I've used plenty of hosting sites that are perfectly accessible from > > China. So obviously this is a problem for Google. > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > And why is this Google's problem?- Hide quoted text - > > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Can your site be accessed via yourapp.appspot.com? On Thu, Apr 2, 2009 at 10:48 PM, WallyDD wrote: > > Hello, > > My website (on google app engine) is blocked in China where I used to > get a lot of traffic from. I only just realised this from looking at > the logs and noting that traffic from china has crawled to standstill. > I imagine my website is blocked in other countries as well thanks to > this blocking technique. > > Does Google have a plan for dealing with this? > > Any chance of a response from someone at google? I would really like > to know if this is being dealt with seriously? > > This doesn't just apply to my website, it applies to every site on > google app engine. > > > --~--~-~--~~~---~--~~ 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: Google App Engine and China access
It can be accessed by yourapp.appspot.com. Will 2009/4/2 Andy > > Does that mean apps running on GAE will never be reliably accessible > from China because ghs.google.com is blocked? > > On Apr 2, 1:10 am, 秦锋 wrote: > > Domain binded could not be reached due to ghs.google.com is blocked. > > > > I strongly want Google to deploy ghs.google.cn! > > > > --~--~-~--~~~---~--~~ 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: Simultaneous Requests
You might want to have a look to this App Engine video by Ken Ashcraft: http://www.youtube.com/watch?v=dP99fLhGwAU App Engine scales, but not instantaneously, so if you want to do a large number of requests in parallel, you need to increase the volume gradually. Julian On Apr 3, 4:26 am, MajorProgamming wrote: > I believe I'm using python 2.5. The script I posted before is the > entire script, so no timeouts. > > The server side is simply outputting 'a': > self.response.out.write('a') > --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
I am in China and I can access most of apps on GAE. On 4月2日, 下午10时48分, WallyDD wrote: > Hello, > > My website (on google app engine) is blocked in China where I used to > get a lot of traffic from. I only just realised this from looking at > the logs and noting that traffic from china has crawled to standstill. > I imagine my website is blocked in other countries as well thanks to > this blocking technique. > > Does Google have a plan for dealing with this? > > Any chance of a response from someone at google? I would really like > to know if this is being dealt with seriously? > > This doesn't just apply to my website, it applies to every site on > google app engine. --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Paying extra money for a static IP address is something that I would happily cough up money for. Could Google create the functionality? I am no expert on Firewalls and security but is this same type of blocking done with some corporate firewalls? I was under the impression that these countries buy their firewalls from the same companies which outfit corporate america. It is unfortunate that some politicians/employers choose to block their citizens/employees from viewing certain websites. Denying access to a whole portion of the web to people simply because of some poorly implemented IT policy is something that Google needs to deal with. How much adense revenue is google losing from this per year? = A How much would it cost to fix (or workaround) the problem? = B If A times 10 > B then fix it. Any chance of a response from Google? On Apr 2, 7:53 pm, Joe Bowman wrote: > China and the other countries block content that they deem > unacceptable for their citizens. In order to get appengine off the > blacklist, they would have to disallow people to create applications > which would be deemed offensive to those countries. > > First, looking at it from the pure technical/business view, this would > require that applications no longer post immediately, and be under > review at each update at a minimum. This would potentially decrease > the amount of applications served (thus decreasing revenue) while > increasing costs to support the system. > > From the political/moral view, Google has been a staunch supporter of > rights to speech, and it wasn't that long ago that they were chastised > for bending their own rules to support China at all by allowing the > filtering of search results. Further expansion of their products > having such filtering imposed by them would lead to more reputation > damage. Reputation damage also costs money. > > So really, from two different perspectives, there's no business sense > in worrying about if appengine applications are being firewalled by 6 > out of the 150+ countries that exist in the world. As a customer you > have every right to take your business elsewhere, and if making you > application available in those 6 countries is of the importance that > you need to, I encourage you to do so. Not every web application is > going to be appropriate for appengine. > > There's 6 countries that support appengine, and can only write > programs in python. Which is really the limiting factor of the > application environment? > > On Apr 2, 7:16 pm, Andy Freeman wrote: > > > > > > Why shouldn't this be google's problem? > > > Suppose that I sold raincoats and you wanted to buy one of my > > raincoats. If someone else got between us and stopped me from > > delivering raincoats to you, who would you hold responsible? > > > Google isn't doing the blocking. > > > Yes, Google may be able to make more money if it can get around the > > blocking, but that doesn't change the fact that the blocks are not > > under Google's control. > > > In other words, blocking may be a problem, that is an issue, for > > Google, but it isn't Google's problem, that is, something that Google > > has some obligation to do act upon. > > > On Apr 2, 3:38 pm, Andy wrote: > > > > Why shouldn't this be google's problem? > > > > Google's hosting platform is being blocked by the country with the > > > largest internet population in the world. You think that's not a major > > > problem? > > > > I've used plenty of hosting sites that are perfectly accessible from > > > China. So obviously this is a problem for Google. > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > And why is this Google's problem?- Hide quoted text - > > > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Google Data API vs. clientLogin and how?
This is late - I missed saying that it is for Objective-c on an iPhone: NSURL* url = [NSURL URLWithString:[NSString stringWithFormat:@"http:// %@/?auth=%@", @def_url, strToken]]; NSMutableURLRequest* request = [[NSMutableURLRequest alloc] initWithURL:url]; [request setHTTPMethod:@"GET"]; //[request setHTTPBody:@"my http body"]; NSURLConnection *connectionResponse = [[NSURLConnection alloc] initWithRequest:request delegate:self]; if (!connectionResponse) { NSLog(@"Failed to submit request"); } else { NSLog(@"Request submitted"); } On Apr 3, 3:52 am, "c_greger...@mac.com" wrote: > Hi there! > > How to connect to Google App Engine seems like a mystery. > > First, can you use Google Data API? > If not, then it must be the clientLogin - and I am unable to make it > work with clientLogn. I wounder if anybody have don it? > > The steps are: > 1) Get a token > 2) Get a cookie - for what ever reason? > 3) Provide any further calls to the appspot.com with the token > > I can get the token, but then it is end of story! > > Thanks in advance! > > Regards > Christian --~--~-~--~~~---~--~~ 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] Google Data API vs. clientLogin and how?
Hi there! How to connect to Google App Engine seems like a mystery. First, can you use Google Data API? If not, then it must be the clientLogin - and I am unable to make it work with clientLogn. I wounder if anybody have don it? The steps are: 1) Get a token 2) Get a cookie - for what ever reason? 3) Provide any further calls to the appspot.com with the token I can get the token, but then it is end of story! Thanks in advance! Regards Christian --~--~-~--~~~---~--~~ 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: Database Inconsistency
I checked the whole code, im not caching the object or anything.. The info entry is actually used by a few other cronjob processes also, they all change another field in the same record.. but none of them use or change msg_polled value could the problem be related to that?.. i mean, info is global data like counters right? The logic used to retrieve info is as below class Info(db.Model): msg_polled = db.DateTimeProperty(auto_now_add = True) More Properties @classmethod def get_info(cls): info = cls.all().get() if not info: info = cls() info.put() return info info = Info.get_info() On Apr 2, 9:59 pm, Jeff S wrote: > Hi z33m, > > Is it possible that the info model which contains the msg_polled time > is not being updated and still contains an old value for msg_polled? I > think it would be helpful to see the code/logic used to obtain the > last polled time info. It could be that multiple requests are started, > all of which use the last committed info, before the info.put() in one > of the requests is completed. > > Thank you, > > Jeff > > On Apr 1, 9:18 am, z33m wrote: > > > Im writing a twitter app. It accepts commands as Direct Messages, so i > > have setup a third party cronjob service to invoke a handler that > > processes DMs at regular intervals. I have a Model 'Info' that has > > just one entry, it stores some common data which are used in many > > places in the App(in this case, the time when the messages were > > processed recently). The general pattern of my handler is like this: > > > msgs = api.GetDirectMessages(since = info.msg_polled) > > if not msgs: > > return > > logging.info('Processing Messages since %s ' % str(info.msg_polled)) > > for msg in msgs: > > ...process commands... > > logging.info('Processed Message :- @%s : %s' % > > (msg.sender_screen_name, msg.text)) > > > info.msg_polled = datetime.datetime.now() > > info.put() > > > But sometimes i get logs like this : > > > I 03-30 07:50AM 10.973 > > Processing Messages since Sun, 29 Mar 2009 11:41:59 GMT > > I 03-30 07:50AM 11.122 > > Processed Message :- @foo : Foo_Bar > > --- > > I 03-30 07:46AM 08.014 > > Processing Messages since Sun, 29 Mar 2009 11:41:59 GMT > > I 03-30 07:46AM 08.130 > > Processed Message :- @foo : Foo_Bar > > > Here, it seems that info is not getting commited to the database. The > > message is processed multiple number of times, sometimes upto 10+ > > times before the msg_polled value changes. But i am not getting any > > Datastore exceptions. This happens only once in a while. > > > Any help is appreciated. --~--~-~--~~~---~--~~ 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: Error: Forbidden Your client does not have permission to get URL /admin/qm from this server.
So lets say that you are using a google service, but you want to use the service on another client, but google is now blocking it and gives you an error on that client? Or do you just need a verification code? "Sent From Sony Slim-Line PSP" Xavier A. Mathews On Thu, Apr 2, 2009 at 6:16 PM, zeneves wrote: > > I have uploaded a new version of my app , with minor changes, and now > i have this error when accessing 'admin' areas. > > Why does this happen? > > > > --~--~-~--~~~---~--~~ 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: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
Here's the app.yaml file: application: helloworld version: 1 runtime: python api_version: 1 handlers: - url: /.* script: helloworld.py And the "helloworld" directory contains only the files "app.yaml" and "helloworld.py" (both written according to the AppEngine docs) Thanks On Apr 2, 8:23 pm, Tim Hoffman wrote: > Can you include the contents of you app.yaml > > And list the contents of helloworld directory > > T > > On Apr 3, 7:35 am, bobdob wrote: > > > Thanks for the quick reply Tim, I tried your suggestion (I left the > > "helloworld" directory in the "google_appengine" directory for now, > > just to make sure I could get it up and running before I move the > > "helloworld" directory). > > > Unfortunately, things are still not working out. I must be doing > > something wrong because I'm following the tutorial exactly as > > described in the docs and everyone says it's the easiest thing (and it > > looks like they're all right). > > > I'm currently typing and getting the following in my terminal: > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld > > ERROR:root:Application configuration file not found in ./helloworld > > > What I've noticed is that my "app.yaml" file says it's a plain text > > document in the "properties" so maybe the appengine SDK isn't > > recognizing it as the necessary configuration file and throws that > > error message? I've tried creating the file from scratch and saving it > > from 3 different text editors: gedit, gvim, and emacs and none seem to > > produce any different results. Any help would be greatly appreciated > > > Thanks > > > On Apr 2, 3:15 am, Tim Hoffman wrote: > > > > For starters you command line as listed below says > > > > google_appengine/dev_appserver.py /helloworld > > > > But you said you put helloworld in the google_appengine directory > > > which would suggest a command line of > > > > google_appengine/dev_appserver.py ./helloworld > > > > Not the "." before helloworld > > > > I personally wouldn't put you helloworld in google_appengine > > > put it somewhere else and just have the command line point to it > > > much better because when the next version os the sdk comes out you > > > will have to > > > move things > > > > T > > > > On Apr 2, 11:25 am, bobdob wrote: > > > > > Hi Everyone > > > > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've > > > > downloaded the .zip for the Appengine SDK from the Linux/Other > > > > Platforms section > > > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > > > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted > > > > all the files and tried re-downloading & unzipping 3 times, still got > > > > the same CRC mismatches again. So I decided to just give it a shot > > > > anyway. > > > > > Then I tried out the "Helloworld" app, creating a directory > > > > "helloworld" in the "google_appengine" directory and placing my > > > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I > > > > tried running dev_appserver.py by opening my terminal and typing > > > > google_appengine/dev_appserver.py /helloworld, and got a nice little > > > > error message as illustrated below: > > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > > > > ERROR:root:Application configuration file not found in /helloworld > > > > > Now, I'm not sure what's causing this, whether I have a bum copy of > > > > the SDK (unlikely, I think, since the files came directly from the > > > > Google Appengine Downloads), or whether I'm not putting my files or > > > > directories in the right places, or whether there are other > > > > dependencies I need to run dev_appserver.py (Ubuntu comes with Python > > > > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware > > > > they are not compatible with AppEngine). > > > > > I'm kind of stuck right now, I've searched online for a few hours with > > > > no luck and I think I should be able to get this up and running pretty > > > > easily. If anyone has any suggestions or has experienced something > > > > like this, please let me know as soon as you can > > > > > 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] Re: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
Now I meant to post this one earlier, since this was actually the first thing I tried, it is exactly what is written in the appengine docs at http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html google_appengine/dev_appserver.py helloworld/ I put the "helloworld" directory in my home directory "/home/chris" Then I ran the command in the terminal exactly as specified and got the following: ch...@chris-laptop:~$ google_appengine/dev_appserver.py helloworld/ Traceback (most recent call last): File "google_appengine/dev_appserver.py", line 60, in run_file(__file__, globals()) File "google_appengine/dev_appserver.py", line 57, in run_file execfile(script_path, globals_) File "/home/chris/google_appengine/google/appengine/tools/ dev_appserver_main.py", line 463, in sys.exit(main(sys.argv)) File "/home/chris/google_appengine/google/appengine/tools/ dev_appserver_main.py", line 385, in main SetGlobals() File "/home/chris/google_appengine/google/appengine/tools/ dev_appserver_main.py", line 83, in SetGlobals from google.appengine.tools import dev_appserver File "/home/chris/google_appengine/google/appengine/tools/ dev_appserver.py", line 1319 source_file, pathname, descript ex = result ^ SyntaxError: invalid syntax I'm not sure exactly what's going on here, I'm new to both Linux and AppEngine, but it seems like I may be running the command in the wrong manner, using incorrect syntax or not locating files appropriately. So basically, I either get this "syntax error" message, or the previously mentioned "Application configuration file not found" message. I really want to start using AppEngine, but I'm following all the instructions and still can't seem to get it working On Apr 2, 7:35 pm, bobdob wrote: > Thanks for the quick reply Tim, I tried your suggestion (I left the > "helloworld" directory in the "google_appengine" directory for now, > just to make sure I could get it up and running before I move the > "helloworld" directory). > > Unfortunately, things are still not working out. I must be doing > something wrong because I'm following the tutorial exactly as > described in the docs and everyone says it's the easiest thing (and it > looks like they're all right). > > I'm currently typing and getting the following in my terminal: > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld > ERROR:root:Application configuration file not found in ./helloworld > > What I've noticed is that my "app.yaml" file says it's a plain text > document in the "properties" so maybe the appengine SDK isn't > recognizing it as the necessary configuration file and throws that > error message? I've tried creating the file from scratch and saving it > from 3 different text editors: gedit, gvim, and emacs and none seem to > produce any different results. Any help would be greatly appreciated > > Thanks > > On Apr 2, 3:15 am, Tim Hoffman wrote: > > > For starters you command line as listed below says > > > google_appengine/dev_appserver.py /helloworld > > > But you said you put helloworld in the google_appengine directory > > which would suggest a command line of > > > google_appengine/dev_appserver.py ./helloworld > > > Not the "." before helloworld > > > I personally wouldn't put you helloworld in google_appengine > > put it somewhere else and just have the command line point to it > > much better because when the next version os the sdk comes out you > > will have to > > move things > > > T > > > On Apr 2, 11:25 am, bobdob wrote: > > > > Hi Everyone > > > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've > > > downloaded the .zip for the Appengine SDK from the Linux/Other > > > Platforms section > > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted > > > all the files and tried re-downloading & unzipping 3 times, still got > > > the same CRC mismatches again. So I decided to just give it a shot > > > anyway. > > > > Then I tried out the "Helloworld" app, creating a directory > > > "helloworld" in the "google_appengine" directory and placing my > > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I > > > tried running dev_appserver.py by opening my terminal and typing > > > google_appengine/dev_appserver.py /helloworld, and got a nice little > > > error message as illustrated below: > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > > > ERROR:root:Application configuration file not found in /helloworld > > > > Now, I'm not sure what's causing this, whether I have a bum copy of > > > the SDK (unlikely, I think, since the files came directly from the > > > Google Appengine Downloads), or whether I'm not putting my files or > > > directories in the right places, or whether there are other > > > dependencies I need to run dev_appserver.py (Ubun
[google-appengine] Re: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
Can you include the contents of you app.yaml And list the contents of helloworld directory T On Apr 3, 7:35 am, bobdob wrote: > Thanks for the quick reply Tim, I tried your suggestion (I left the > "helloworld" directory in the "google_appengine" directory for now, > just to make sure I could get it up and running before I move the > "helloworld" directory). > > Unfortunately, things are still not working out. I must be doing > something wrong because I'm following the tutorial exactly as > described in the docs and everyone says it's the easiest thing (and it > looks like they're all right). > > I'm currently typing and getting the following in my terminal: > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld > ERROR:root:Application configuration file not found in ./helloworld > > What I've noticed is that my "app.yaml" file says it's a plain text > document in the "properties" so maybe the appengine SDK isn't > recognizing it as the necessary configuration file and throws that > error message? I've tried creating the file from scratch and saving it > from 3 different text editors: gedit, gvim, and emacs and none seem to > produce any different results. Any help would be greatly appreciated > > Thanks > > On Apr 2, 3:15 am, Tim Hoffman wrote: > > > For starters you command line as listed below says > > > google_appengine/dev_appserver.py /helloworld > > > But you said you put helloworld in the google_appengine directory > > which would suggest a command line of > > > google_appengine/dev_appserver.py ./helloworld > > > Not the "." before helloworld > > > I personally wouldn't put you helloworld in google_appengine > > put it somewhere else and just have the command line point to it > > much better because when the next version os the sdk comes out you > > will have to > > move things > > > T > > > On Apr 2, 11:25 am, bobdob wrote: > > > > Hi Everyone > > > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've > > > downloaded the .zip for the Appengine SDK from the Linux/Other > > > Platforms section > > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted > > > all the files and tried re-downloading & unzipping 3 times, still got > > > the same CRC mismatches again. So I decided to just give it a shot > > > anyway. > > > > Then I tried out the "Helloworld" app, creating a directory > > > "helloworld" in the "google_appengine" directory and placing my > > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I > > > tried running dev_appserver.py by opening my terminal and typing > > > google_appengine/dev_appserver.py /helloworld, and got a nice little > > > error message as illustrated below: > > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > > > ERROR:root:Application configuration file not found in /helloworld > > > > Now, I'm not sure what's causing this, whether I have a bum copy of > > > the SDK (unlikely, I think, since the files came directly from the > > > Google Appengine Downloads), or whether I'm not putting my files or > > > directories in the right places, or whether there are other > > > dependencies I need to run dev_appserver.py (Ubuntu comes with Python > > > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware > > > they are not compatible with AppEngine). > > > > I'm kind of stuck right now, I've searched online for a few hours with > > > no luck and I think I should be able to get this up and running pretty > > > easily. If anyone has any suggestions or has experienced something > > > like this, please let me know as soon as you can > > > > 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] Fastest Templating on AppEngine?
I'm curious, has anyone ran across any tests on appengine with various templating engines? I know there are speed comparisons all over the place, but im specifically concerning appengine since it has many aspects that force various templating engines to not use feature X or speed enhancing module Y. Any opinions would also be handy. I'm looking for an obviously sane language, but i have no desire/requirement for the ability to run complex logic inside templates (nor should anyone, imo.) Comments and opinions are much appreciated. Thanks, -- Lee Olayvar --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
China and the other countries block content that they deem unacceptable for their citizens. In order to get appengine off the blacklist, they would have to disallow people to create applications which would be deemed offensive to those countries. First, looking at it from the pure technical/business view, this would require that applications no longer post immediately, and be under review at each update at a minimum. This would potentially decrease the amount of applications served (thus decreasing revenue) while increasing costs to support the system. >From the political/moral view, Google has been a staunch supporter of rights to speech, and it wasn't that long ago that they were chastised for bending their own rules to support China at all by allowing the filtering of search results. Further expansion of their products having such filtering imposed by them would lead to more reputation damage. Reputation damage also costs money. So really, from two different perspectives, there's no business sense in worrying about if appengine applications are being firewalled by 6 out of the 150+ countries that exist in the world. As a customer you have every right to take your business elsewhere, and if making you application available in those 6 countries is of the importance that you need to, I encourage you to do so. Not every web application is going to be appropriate for appengine. There's 6 countries that support appengine, and can only write programs in python. Which is really the limiting factor of the application environment? On Apr 2, 7:16 pm, Andy Freeman wrote: > > Why shouldn't this be google's problem? > > Suppose that I sold raincoats and you wanted to buy one of my > raincoats. If someone else got between us and stopped me from > delivering raincoats to you, who would you hold responsible? > > Google isn't doing the blocking. > > Yes, Google may be able to make more money if it can get around the > blocking, but that doesn't change the fact that the blocks are not > under Google's control. > > In other words, blocking may be a problem, that is an issue, for > Google, but it isn't Google's problem, that is, something that Google > has some obligation to do act upon. > > On Apr 2, 3:38 pm, Andy wrote: > > > Why shouldn't this be google's problem? > > > Google's hosting platform is being blocked by the country with the > > largest internet population in the world. You think that's not a major > > problem? > > > I've used plenty of hosting sites that are perfectly accessible from > > China. So obviously this is a problem for Google. > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > And why is this Google's problem?- Hide quoted text - > > > - Show quoted text - --~--~-~--~~~---~--~~ 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: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
Thanks for the quick reply Tim, I tried your suggestion (I left the "helloworld" directory in the "google_appengine" directory for now, just to make sure I could get it up and running before I move the "helloworld" directory). Unfortunately, things are still not working out. I must be doing something wrong because I'm following the tutorial exactly as described in the docs and everyone says it's the easiest thing (and it looks like they're all right). I'm currently typing and getting the following in my terminal: ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld ERROR:root:Application configuration file not found in ./helloworld What I've noticed is that my "app.yaml" file says it's a plain text document in the "properties" so maybe the appengine SDK isn't recognizing it as the necessary configuration file and throws that error message? I've tried creating the file from scratch and saving it from 3 different text editors: gedit, gvim, and emacs and none seem to produce any different results. Any help would be greatly appreciated Thanks On Apr 2, 3:15 am, Tim Hoffman wrote: > For starters you command line as listed below says > > google_appengine/dev_appserver.py /helloworld > > But you said you put helloworld in the google_appengine directory > which would suggest a command line of > > google_appengine/dev_appserver.py ./helloworld > > Not the "." before helloworld > > I personally wouldn't put you helloworld in google_appengine > put it somewhere else and just have the command line point to it > much better because when the next version os the sdk comes out you > will have to > move things > > T > > On Apr 2, 11:25 am, bobdob wrote: > > > Hi Everyone > > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've > > downloaded the .zip for the Appengine SDK from the Linux/Other > > Platforms section > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted > > all the files and tried re-downloading & unzipping 3 times, still got > > the same CRC mismatches again. So I decided to just give it a shot > > anyway. > > > Then I tried out the "Helloworld" app, creating a directory > > "helloworld" in the "google_appengine" directory and placing my > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I > > tried running dev_appserver.py by opening my terminal and typing > > google_appengine/dev_appserver.py /helloworld, and got a nice little > > error message as illustrated below: > > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > > ERROR:root:Application configuration file not found in /helloworld > > > Now, I'm not sure what's causing this, whether I have a bum copy of > > the SDK (unlikely, I think, since the files came directly from the > > Google Appengine Downloads), or whether I'm not putting my files or > > directories in the right places, or whether there are other > > dependencies I need to run dev_appserver.py (Ubuntu comes with Python > > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware > > they are not compatible with AppEngine). > > > I'm kind of stuck right now, I've searched online for a few hours with > > no luck and I think I should be able to get this up and running pretty > > easily. If anyone has any suggestions or has experienced something > > like this, please let me know as soon as you can > > > 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] Error: Forbidden Your client does not have permission to get URL /admin/qm from this server.
I have uploaded a new version of my app , with minor changes, and now i have this error when accessing 'admin' areas. Why does this happen? --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
> Why shouldn't this be google's problem? Suppose that I sold raincoats and you wanted to buy one of my raincoats. If someone else got between us and stopped me from delivering raincoats to you, who would you hold responsible? Google isn't doing the blocking. Yes, Google may be able to make more money if it can get around the blocking, but that doesn't change the fact that the blocks are not under Google's control. In other words, blocking may be a problem, that is an issue, for Google, but it isn't Google's problem, that is, something that Google has some obligation to do act upon. On Apr 2, 3:38 pm, Andy wrote: > Why shouldn't this be google's problem? > > Google's hosting platform is being blocked by the country with the > largest internet population in the world. You think that's not a major > problem? > > I've used plenty of hosting sites that are perfectly accessible from > China. So obviously this is a problem for Google. > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > > And why is this Google's problem?- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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] Large File Storage / 1000+ records returned from a query
Here's my scenario: every once in a while, I want to let certain users dump a large number of records from the datastore (e.g. 1000+) into a CSV file. I've already figured out how to get around the 1000-record limit by using a time-based auto-increment field. I query the database multiple times, increasing the offset on that field until I've queried all the records. There's a good chance I'll have more data than can fit within the constraints of one GAE request-response cycle, so I'm using AJAX to spread the calls out over several requests. Here's where I'm stuck. I have a setup where I'm fetching 1000 records at a time and would like to concatenate all these fetches to generate my CSV file. On a traditional setup, I could just save a file to disk and keep appending stuff to it before returning it to the user. On GAE, I can't store anything larger than 1 MB in the datastore. I know the GAE team plans to offer large file storage at some point down the road, but I need this in the near future so I'd like to see what workarounds people are trying right now. Some options I'm considering ... 1) Use AJAX calls to download small chunks, one at a time to the client. Hard part is figuring out how to use client-side scripting to save data to the user's file system without running afoul of browser security restrictions. 2) Use AJAX calls to download small chunks, concatenate them, and then ask the user to paste the text into a text editor and save it as a CSV. Hard part is doing this in a way that's user friendly. 3) Force the user to download multiple smaller CSV files. Again, not user friendly. 4) Save to S3. Hard part is that S3 doesn't allow me to append to a file already in S3, something that would have been nice considering I'm spreading out small 1000-record writes to the same file over multiple requests. 5) Set up a separate box that GAE hits up when it needs to do an operation like this. Not hard to do but very annoying. Sorta defeats the purpose of App Engine. Am I missing any options here? Thoughts? -- Andrew --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
And what do you want, a prescription for prozac? You have nothing of value to contribute except badgering the people who brought the problem to light. On Apr 2, 1:49 pm, Barry Hunter wrote: > On 02/04/2009, WallyDD wrote: > > > > > I have custom domain. I have never had anything blocked in many years > > before migrating to google app engine. > > > The 'bad neighbour' issue has never been a problem for me in the past. > > What do you want, a medal? > > really that was just blind luck. (or maybe you weren't on a shared > system, or a highly segregated system, far removed from your > neighbours, either way just lucky) > > I still contend this isn't Google's problem, take up your grivence > with the maintainers of the firewalls. > > > > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > And why is this Google's problem? > > > > Presumably you are a victim of those countries over-zealous blocking > > > (presuming you don't think your site is getting blocked itself) > > > > Any shared hosting will suffer this 'bad neighbour' issue, AppEngine > > > happens to be a rather large hosting provider, so its quite likely. > > > > They could make the problem less likely to occur by using larger pool > > > of IP addresses, and hashing the domain to specific IPs, as I imagine > > > it would be impractical to offer unique IPs, but there is little > > > incentive to do so (IMHO) > > > > You might get slightly better results using a custom domain if you > > > don't already. > > > > On 02/04/2009, WallyDD wrote: > > > > > List of countries where any website hosted on google app engine is not > > > > accessible; > > > > China > > > > Iran > > > > Sudan > > > > Syria > > > > Indonesia is blocked by most providers > > > > Cuba > > > > > On Apr 2, 10:48 am, WallyDD wrote: > > > > > > Hello, > > > > > > My website (on google app engine) is blocked in China where I used > > to > > > > > get a lot of traffic from. I only just realised this from looking at > > > > > the logs and noting that traffic from china has crawled to > > standstill. > > > > > I imagine my website is blocked in other countries as well thanks to > > > > > this blocking technique. > > > > > > Does Google have a plan for dealing with this? > > > > > > Any chance of a response from someone at google? I would really like > > > > > to know if this is being dealt with seriously? > > > > > > This doesn't just apply to my website, it applies to every site on > > > > > google app engine. > > > > -- > > > > Barry > > > > -www.nearby.org.uk-www.geograph.org.uk- > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Why shouldn't this be google's problem? Google's hosting platform is being blocked by the country with the largest internet population in the world. You think that's not a major problem? I've used plenty of hosting sites that are perfectly accessible from China. So obviously this is a problem for Google. On Apr 2, 11:18 am, Barry Hunter wrote: > And why is this Google's problem? > --~--~-~--~~~---~--~~ 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] Transcript: App Engine chat time April 1
[7:03pm] Jason_Google: Hi Everyone. Time for another App Engine Chat Time! I'll be in the channel for the next hour to attempt to answer questions if anyone has any. [7:03pm] _thom_: Cool. [7:07pm] _thom_: Jason, how often do these chats usually take place? [7:07pm] Jason_Google: We hold these twice a month on the first and third Wednesdays. [7:07pm] • _thom_ adds to calendar, thanks [7:08pm] Jason_Google: They're at different times to accommodate different parts of the world. Here's a link to the schedule: https://groups.google.com/group/google-appengine/browse_thread/thread/3dce0eba81be2626# [7:08pm] Jason_Google: Anyone have any cool new App Engine apps to share? [7:09pm] warreninaustintx: after the 2nd AE language is released, will there be separate SDKs? [7:09pm] _thom_: Heh. Does moderator.appspot.com count [7:09pm] johnleblanc: what can you share with us about this? http://moderator.appspot.com [7:09pm] _thom_: jinx [7:10pm] Jason_Google: warreninaustintx: Yes [7:11pm] oizo: Hi. My first question (sorry for bad english, i'm from russia). How do i know size a entity in bigtable for calculate needed spaces. For example - i have model with one string property, and put into it 1000 chars. What size will have in bigtable? Tnx [7:12pm] pranny: hi folks: people from Google: welcome [7:12pm] Jason_Google: oizo: One second, let me look this up for you. [7:12pm] Jason_Google: pranny: Hi [7:13pm] pranny: I am interested in the search API. I came to know about it yesterday noght only, and today will give it a shot. Can we expect better searches in coming versions ? [7:13pm] _mattd: Jason_Google: will scheduled tasks be coming sooner or later? [7:14pm] dan_google_: oizo: There's a description of the space usage for an entity on the Quotas page in the docs: http://code.google.com/appengine/docs/quotas.html [7:14pm] dan_google_: Each entity stored in the datastore requires the the following metadata: [7:14pm] dan_google_: The entity key, including the kind, the ID or key name, and the key of the entity's parent entity. [7:14pm] dan_google_: The name and value of each property. Since the datastore is schemaless, the name of each property must be stored with the property value for any given entity. [7:14pm] dan_google_: Any built-in and custom index rows that refer to this entity. Each row contains the entity kind, any number of property values depending on the index definition, and the entity key. See How Index Building Works for more details. [7:15pm] dan_google_: _mattd: uh, sooner? [7:15pm] Jason_Google: oizo: I will have to follow up re: calculating the storage space for a single entity. In general, you can calculate how much storage your application is using in the Admin Console, and the size is obviously proportionate to the number of bytes. [7:15pm] Jason_Google: Ah, welcome Dan. [7:15pm] • dan_google_ waves to Jason. [7:15pm] _mattd: dan_google_: cool! [7:15pm] _mattd: dan_google_: any details on what "background processing" holds for us? [7:16pm] dan_google_: _mattd: It holds the ability to do processing in the background! [7:16pm] _mattd: ha [7:16pm] dan_google_: _mattd: Not really. [7:16pm] _mattd: ok [7:16pm] dan_google_: _mattd: However, this is a good point to plug our presentations coming up at Google I/O, including one all about plans for background processing. [7:17pm] Jason_Google: You can find a full list of sessions at http://code.google.com/events/io/sessions.html. [7:17pm] pranny: hey Googlers: this is not something related to Appengine, but I was really expecting some false hoax this Apr 1 by Google. Could not find any. Just one on the Australia site. I loved Virgle last year [7:17pm] _mattd: dan_google_: our band's on tour at the time, so i have to wait until the news and videos come out [7:17pm] dan_google_: Description of the talk to be presented by Brett Slatkin: "App Engine was designed to run request-driven web applications, although this will change in the coming year with the release of a number of offline computing components. In this session, we'll explore the task queue/executor model of computation and some of the more interesting applications." [7:18pm] _mattd: sounds great [7:18pm] johnleblanc: Can we expect Django 1.0 support soon? [7:18pm] dan_google_: pranny: http://googleappengine.blogspot.com/2009/04/brand-new-language-on-google-app-engine.html [7:18pm] _thom_: or 1.1 for that matter [7:18pm] Jason_Google: pranny: There were quite a few pranks. I followed them all at http://www.techcrunch.com/2009/04/01/april-fools-youtube-flails-amazon-cloud-computing-in-a-blimp-3d-chrome-browsing-google-master-ai/. [7:18pm] johnleblanc: good one [7:19pm] pranny: Jason_Google: oh, I did not read these blogs. They look great. Fortran 7 [7:19pm] Jason_Google: johnleblanc: There are a series of articles re: Django at http://code.google.com/appengine/articles/. Or are you looking for deeper integration? [7:20pm] johnleblanc: just craving the goodies from 1.0 such as django admin, formsets, e
[google-appengine] Re: Simultaneous Requests
I believe I'm using python 2.5. The script I posted before is the entire script, so no timeouts. The server side is simply outputting 'a': self.response.out.write('a') On Apr 1, 6:34 pm, Jeff S wrote: > At this point I am suspicious that the timeout error may coming from > the client side. Which version of Python are you using to run the > client? Also, did you set any timeout options elsewhere (looks like > no)? > > It may also be the case that the app responds more slowly after the > initial burst due to an issue like datastore contention. If later > requests are more CPU intensive, responses may come back more slowly > than the early requests due to the behavior described in the Active > Requests section of the docs I linked to earlier: > > """ > Applications that are heavily CPU-bound, on the other hand, may incur > some additional latency in long-running requests in order to make room > for other apps sharing the same servers. > """ > > Could you tell us a bit more about what is being executed in these > requests? > > Thank you, > > Jeff > > On Mar 31, 7:44 pm, MajorProgamming wrote: > > > Wow>> Doesn't seem like GAE is happy with this arrangement: > > > I set up a simple system like so (in python) > > > [code] > > import threading > > import urllib2 > > > class MyThread ( threading.Thread ): > > def __init__ (self,j): > > threading.Thread.__init__(self) > > self.j=j > > self.html='' > > > def run ( self ): > > for x in xrange(500): > > try: > > response = > > urllib2.urlopen('http://thetesturl') > > html = response.read() > > self.html=html > > except urllib2.HTTPError, e: > > print e.code > > except urllib2.URLError, e: > > print e.reason > > # at end of thread life > > print self.html > > > #init threads (10) > > for x in xrange ( 10 ): > > z=MyThread(x) > > z.start() > > [/code] > > > I ran this code on the client side. It ran fine but at approximately > > 100 requests it began to return Operation Timed Out Errors (code > > 10060). This is probably due to some Denial of Service protection by > > GAE firewalls (?) > > > Is there any way for me to tell GAE that this is my app, and it's > > legit, or is there any way to work around it? > > > [note: on the server side, nothing turned up on these errors which > > leads me to believe it was a very low level protection] > > > On Mar 31, 2:52 pm, Jeff S wrote: > > > > From the quota details page, the current default limit for > > > simultaneous active dynamic requests is around 30 per app. > > > >http://code.google.com/appengine/docs/quotas.html#Request_Limits > > > > (However, it may be possible to raise these limits on a case by case > > > basishttp://code.google.com/appengine/kb/billing.html#cpu) > > > > Your approach sounds reasonable, but I was curious about your mention > > > of threading. Would that be client side threading? Ajax triggers would > > > be another good solution which I've seen apps use. > > > > Thank you, > > > > Jeff > > > > On Mar 30, 2:38 pm, MajorProgamming wrote: > > > > > I am currently working on a way to mass email [in a short period of > > > > time] using Google App Engine. I figured that as of now the best way > > > > to do this would be to run many requests in parallel. I was wondering > > > > if my app would accept many requests at once, and if so what would the > > > > limit be [in the paid version]? > > > > > Would this work? Is this the best way to do this? > > > > > As for implementing the parallel requests I figured the simplest way > > > > would be to use the python threading. I was wondering if using AJAX > > > > would be any better, or if it would even work for parallel requests?? > > > > > 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] Re: Simultaneous Requests
I believe I'm using python 2.5. The script I posted before is the entire script, so no timeouts. The server side is simply outputting 'a': self.response.out.write('a') On Apr 1, 6:34 pm, Jeff S wrote: > At this point I am suspicious that the timeout error may coming from > the client side. Which version of Python are you using to run the > client? Also, did you set any timeout options elsewhere (looks like > no)? > > It may also be the case that the app responds more slowly after the > initial burst due to an issue like datastore contention. If later > requests are more CPU intensive, responses may come back more slowly > than the early requests due to the behavior described in the Active > Requests section of the docs I linked to earlier: > > """ > Applications that are heavily CPU-bound, on the other hand, may incur > some additional latency in long-running requests in order to make room > for other apps sharing the same servers. > """ > > Could you tell us a bit more about what is being executed in these > requests? > > Thank you, > > Jeff > > On Mar 31, 7:44 pm, MajorProgamming wrote: > > > Wow>> Doesn't seem like GAE is happy with this arrangement: > > > I set up a simple system like so (in python) > > > [code] > > import threading > > import urllib2 > > > class MyThread ( threading.Thread ): > > def __init__ (self,j): > > threading.Thread.__init__(self) > > self.j=j > > self.html='' > > > def run ( self ): > > for x in xrange(500): > > try: > > response = > > urllib2.urlopen('http://thetesturl') > > html = response.read() > > self.html=html > > except urllib2.HTTPError, e: > > print e.code > > except urllib2.URLError, e: > > print e.reason > > # at end of thread life > > print self.html > > > #init threads (10) > > for x in xrange ( 10 ): > > z=MyThread(x) > > z.start() > > [/code] > > > I ran this code on the client side. It ran fine but at approximately > > 100 requests it began to return Operation Timed Out Errors (code > > 10060). This is probably due to some Denial of Service protection by > > GAE firewalls (?) > > > Is there any way for me to tell GAE that this is my app, and it's > > legit, or is there any way to work around it? > > > [note: on the server side, nothing turned up on these errors which > > leads me to believe it was a very low level protection] > > > On Mar 31, 2:52 pm, Jeff S wrote: > > > > From the quota details page, the current default limit for > > >simultaneousactive dynamic requests is around 30 per app. > > > >http://code.google.com/appengine/docs/quotas.html#Request_Limits > > > > (However, it may be possible to raise these limits on a case by case > > > basishttp://code.google.com/appengine/kb/billing.html#cpu) > > > > Your approach sounds reasonable, but I was curious about your mention > > > of threading. Would that be client side threading? Ajax triggers would > > > be another good solution which I've seen apps use. > > > > Thank you, > > > > Jeff > > > > On Mar 30, 2:38 pm, MajorProgamming wrote: > > > > > I am currently working on a way to mass email [in a short period of > > > > time] using Google App Engine. I figured that as of now the best way > > > > to do this would be to run many requests in parallel. I was wondering > > > > if my app would accept many requests at once, and if so what would the > > > > limit be [in the paid version]? > > > > > Would this work? Is this the best way to do this? > > > > > As for implementing the parallel requests I figured the simplest way > > > > would be to use the python threading. I was wondering if using AJAX > > > > would be any better, or if it would even work for parallel requests?? > > > > > 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] Re: Should I take my website somewhere else? - blocked in China
Most shared hosting providers don't have the customer base Google already has, because they don't offer those services for free. Also, because you haven't run into the 'bad neighbor' issue doesn't mean it's not common. It really depends on what service providers you were using. It's not really a DNS issue by google. Static IP's are expensive and if you haven't been keeping up with the IPv4 dilemma that's been going on for the past few years, we're almost out of IPv4 address worldwide, let alone Google being able to give each app it's own IP for free (which is basically what you're asking for). This really is an issue where if you have requirements of a dedicated IP for your application, then yes, I imagine you do want to go with a different hosting provider who is willing to provide (and charge you for) that. On Apr 2, 2:04 pm, WallyDD wrote: > Barry, > > The issue is with the way google deals with dns. > The issue is very much googles as it means a lot of people will not be > able to develop on Google app engine. Most larger websites have no > choice but to steer clear of Google application engine. > > I would love to take the issue up with the maintainers of these > firewalls. Please would you be so kind as to provide me with their > contact information? > > On Apr 2, 1:49 pm, Barry Hunter wrote: > > > On 02/04/2009, WallyDD wrote: > > > > I have custom domain. I have never had anything blocked in many years > > > before migrating to google app engine. > > > > The 'bad neighbour' issue has never been a problem for me in the past. > > > What do you want, a medal? > > > really that was just blind luck. (or maybe you weren't on a shared > > system, or a highly segregated system, far removed from your > > neighbours, either way just lucky) > > > I still contend this isn't Google's problem, take up your grivence > > with the maintainers of the firewalls. > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > And why is this Google's problem? > > > > > Presumably you are a victim of those countries over-zealous blocking > > > > (presuming you don't think your site is getting blocked itself) > > > > > Any shared hosting will suffer this 'bad neighbour' issue, AppEngine > > > > happens to be a rather large hosting provider, so its quite likely. > > > > > They could make the problem less likely to occur by using larger pool > > > > of IP addresses, and hashing the domain to specific IPs, as I imagine > > > > it would be impractical to offer unique IPs, but there is little > > > > incentive to do so (IMHO) > > > > > You might get slightly better results using a custom domain if you > > > > don't already. > > > > > On 02/04/2009, WallyDD wrote: > > > > > > List of countries where any website hosted on google app engine is > > > not > > > > > accessible; > > > > > China > > > > > Iran > > > > > Sudan > > > > > Syria > > > > > Indonesia is blocked by most providers > > > > > Cuba > > > > > > On Apr 2, 10:48 am, WallyDD wrote: > > > > > > > Hello, > > > > > > > My website (on google app engine) is blocked in China where I > > > used to > > > > > > get a lot of traffic from. I only just realised this from looking > > > at > > > > > > the logs and noting that traffic from china has crawled to > > > standstill. > > > > > > I imagine my website is blocked in other countries as well thanks > > > to > > > > > > this blocking technique. > > > > > > > Does Google have a plan for dealing with this? > > > > > > > Any chance of a response from someone at google? I would really > > > like > > > > > > to know if this is being dealt with seriously? > > > > > > > This doesn't just apply to my website, it applies to every site on > > > > > > google app engine. > > > > > -- > > > > > Barry > > > > > -www.nearby.org.uk-www.geograph.org.uk- > > > -- > > Barry > > > -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
lol, I think , people should see this as a opportunity to start a new app engine like service providing company in those country. I like how this countries show their love toward young entrepreneur of their countries... ( ...no pun intendedhttp://xkcd.com/559/ ) On Apr 2, 11:04 pm, WallyDD wrote: > Barry, > > The issue is with the way google deals with dns. > The issue is very much googles as it means a lot of people will not be > able to develop on Google app engine. Most larger websites have no > choice but to steer clear of Google application engine. > > I would love to take the issue up with the maintainers of these > firewalls. Please would you be so kind as to provide me with their > contact information? > > On Apr 2, 1:49 pm, Barry Hunter wrote: > > > On 02/04/2009, WallyDD wrote: > > > > I have custom domain. I have never had anything blocked in many years > > > before migrating to google app engine. > > > > The 'bad neighbour' issue has never been a problem for me in the past. > > > What do you want, a medal? > > > really that was just blind luck. (or maybe you weren't on a shared > > system, or a highly segregated system, far removed from your > > neighbours, either way just lucky) > > > I still contend this isn't Google's problem, take up your grivence > > with the maintainers of the firewalls. > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > > And why is this Google's problem? > > > > > Presumably you are a victim of those countries over-zealous blocking > > > > (presuming you don't think your site is getting blocked itself) > > > > > Any shared hosting will suffer this 'bad neighbour' issue, AppEngine > > > > happens to be a rather large hosting provider, so its quite likely. > > > > > They could make the problem less likely to occur by using larger pool > > > > of IP addresses, and hashing the domain to specific IPs, as I imagine > > > > it would be impractical to offer unique IPs, but there is little > > > > incentive to do so (IMHO) > > > > > You might get slightly better results using a custom domain if you > > > > don't already. > > > > > On 02/04/2009, WallyDD wrote: > > > > > > List of countries where any website hosted on google app engine is > > > not > > > > > accessible; > > > > > China > > > > > Iran > > > > > Sudan > > > > > Syria > > > > > Indonesia is blocked by most providers > > > > > Cuba > > > > > > On Apr 2, 10:48 am, WallyDD wrote: > > > > > > > Hello, > > > > > > > My website (on google app engine) is blocked in China where I > > > used to > > > > > > get a lot of traffic from. I only just realised this from looking > > > at > > > > > > the logs and noting that traffic from china has crawled to > > > standstill. > > > > > > I imagine my website is blocked in other countries as well thanks > > > to > > > > > > this blocking technique. > > > > > > > Does Google have a plan for dealing with this? > > > > > > > Any chance of a response from someone at google? I would really > > > like > > > > > > to know if this is being dealt with seriously? > > > > > > > This doesn't just apply to my website, it applies to every site on > > > > > > google app engine. > > > > > -- > > > > > Barry > > > > > -www.nearby.org.uk-www.geograph.org.uk- > > > -- > > Barry > > > -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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: datastore query ignoring filter argument.
Hi Jeff, Example: I'm looking at picture 1, so I pass 1 to img_next. I want to have the next sequence > 1 (e.g. 2) and of cause it's ordered ascending. As long as the filter "sequence > " or "sequence < " is in, the result is empty. Hope that answers your questions. Thank you OliWeiD. On 2 Apr., 19:05, Jeff S wrote: > Hi OliWeiD, > > The > in your filter looks a bit suspicious. The default ordering > direction is ascending, and since you order on sequence ascending, > should the inequality be > Thank you, > > Jeff > > On Apr 1, 10:44 am, OliWeiD > wrote: > > > > > The following query is not working normal: > > q = Photo.all().filter('viewer = ', True) \ > > .filter('sequence > ', img_next) \ > > .order('sequence').order('__key__') > > the query is returning nothing, > > but when the filter(sequence >) is not in, the first image is > > retrieved. > > Thanks in advance for any hint..OliWeiD- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ 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: Google app engine ... how to access website of company?
OK next bunch of questions: On 2 Apr., 01:10, Aaron wrote: > HI, how do I get to usehttp://dev.companydomain.com/? > > I was told I need to upload the the web app well the website with > modifications by me. I need to add it to the url shown above. > > This is just to test if it's working . I looked in google apps > engine panel on the google apps site. I only see one application name > with 4 different versions. WELL to test it, it's only the localhost debappserver stuff, which is explained in the tutorial (link see my previous post) > > I really do need someone to explain how this works. I am kinda getting > frustrated. Be patient and search the online documentation, and try and try and try. That's the hard way we all walked through. and sometimes there are some people, which may/can help or not. > > I need someone to explain to me what I need to do. I do I add html > and css to the site? Well the external CSS file will be stored as a static file (see tutorial and other documentation) the html is generated with templates or directly from the python code, that depends on your code. The the template system in the book link above. > > I looked at the websites html files and I see alot of <% things. I > try to look at the html file in my browser and I see only text not a > website. YES, that the django template system (I was told others are similar) I hope that helps OliWeiD --~--~-~--~~~---~--~~ 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: Google app engine ... how to access website of company?
I try to answer some of the question, the rest I don't know. I hope I don't answer questions, which are no longer valid or things you have already made. > He got files and gave me it. I already have the sdk the google app > engine files. Excellent. First make the tutorial: http://code.google.com/intl/de/appengine/docs/python/gettingstarted/ With that you should know, how to test your application locally. And theoretically how to upload. > can you explain what I need to do in order to add the new html? That depends, if the html is static or dynamic, generated by the python file or if it's using django forms. you mentioned {% that tells me it's django forms. Here a good link to start with django forms: http://djangobook.com/en/1.0/chapter04/ (The rest of the book is also interesting, but not so easy to implement. on appengine) > > I also have to change the code that handels the forms. > > I was told after I make the changes I just run manage.py That's the Django way of doing it. The book may help you more, then I might think. Either the app-engine patch http://code.google.com/p/app-engine-patch/ or the django adaption: http://code.google.com/intl/de/appengine/articles/django.html May be you find some of the code in your application code (to understand). I hope the links can speed up your progress. OliWeiD --~--~-~--~~~---~--~~ 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: How does GAE's cost compare to that of commercial hosting?
Really, can that conversation be kept in one thread instead of FUD that spreads through multiple threads about unrelated topics? If you are going to repeatedly bring that up in other threads, then at least link to the original thread about the concern instead of vague references to " blocked in half a dozen countries (and the number is growing)". For those that need more information on what WallyDD is referring to, here's a link to the thread he started on the topic. http://groups.google.com/group/google-appengine/browse_thread/thread/4771c58c4f5a6dd7 On Apr 2, 2:10 pm, WallyDD wrote: > Don't forget to keep in mind that your site(s)/applications will be > automatically blocked in half a dozen countries (and the number is > growing) if you choose GAE. > > The cost of migrating to and from GAE is also quite high as you will > need to rewrite some code to make full use of the datastore. > > It is a great service and very affordable otherwise. > > On Apr 1, 5:37 am, Andy wrote: > > > Does anyone have rough ballpark estimates on how does GAE's cost > > compare to that of commercial hosting? > > > For example, the traffic supported by GAE's free quotas -- is that > > generally higher or less than the traffic supported by a $5/mo shared > > hosting account? > > > And what about the traffic supported by a $40/mo VPS account on a > > typical web hosting company -- how much would that cost if the site > > was hosted on App Engine? > > > What about a $200/mo dedicated server hosting -- what's the GAE > > equivalent? > > > I know it depends on a lot of factors, but if anyone has any ballpark > > estimates or experiences they're willing to share I'd really > > appreciate it. > > > I'm starting a project and try to decide between GAE and standard web > > hosting. The project will start small, but if the traffic grows I want > > to see which would be a better option for me. GAE is less flexible and > > creates a certain amount of lock-in, but at least I want to know if > > it'll end up cheaper or more expensive as traffic grows --~--~-~--~~~---~--~~ 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: How does GAE's cost compare to that of commercial hosting?
Don't forget to keep in mind that your site(s)/applications will be automatically blocked in half a dozen countries (and the number is growing) if you choose GAE. The cost of migrating to and from GAE is also quite high as you will need to rewrite some code to make full use of the datastore. It is a great service and very affordable otherwise. On Apr 1, 5:37 am, Andy wrote: > Does anyone have rough ballpark estimates on how does GAE's cost > compare to that of commercial hosting? > > For example, the traffic supported by GAE's free quotas -- is that > generally higher or less than the traffic supported by a $5/mo shared > hosting account? > > And what about the traffic supported by a $40/mo VPS account on a > typical web hosting company -- how much would that cost if the site > was hosted on App Engine? > > What about a $200/mo dedicated server hosting -- what's the GAE > equivalent? > > I know it depends on a lot of factors, but if anyone has any ballpark > estimates or experiences they're willing to share I'd really > appreciate it. > > I'm starting a project and try to decide between GAE and standard web > hosting. The project will start small, but if the traffic grows I want > to see which would be a better option for me. GAE is less flexible and > creates a certain amount of lock-in, but at least I want to know if > it'll end up cheaper or more expensive as traffic grows --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Barry, The issue is with the way google deals with dns. The issue is very much googles as it means a lot of people will not be able to develop on Google app engine. Most larger websites have no choice but to steer clear of Google application engine. I would love to take the issue up with the maintainers of these firewalls. Please would you be so kind as to provide me with their contact information? On Apr 2, 1:49 pm, Barry Hunter wrote: > On 02/04/2009, WallyDD wrote: > > > > > I have custom domain. I have never had anything blocked in many years > > before migrating to google app engine. > > > The 'bad neighbour' issue has never been a problem for me in the past. > > What do you want, a medal? > > really that was just blind luck. (or maybe you weren't on a shared > system, or a highly segregated system, far removed from your > neighbours, either way just lucky) > > I still contend this isn't Google's problem, take up your grivence > with the maintainers of the firewalls. > > > > > > > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > > And why is this Google's problem? > > > > Presumably you are a victim of those countries over-zealous blocking > > > (presuming you don't think your site is getting blocked itself) > > > > Any shared hosting will suffer this 'bad neighbour' issue, AppEngine > > > happens to be a rather large hosting provider, so its quite likely. > > > > They could make the problem less likely to occur by using larger pool > > > of IP addresses, and hashing the domain to specific IPs, as I imagine > > > it would be impractical to offer unique IPs, but there is little > > > incentive to do so (IMHO) > > > > You might get slightly better results using a custom domain if you > > > don't already. > > > > On 02/04/2009, WallyDD wrote: > > > > > List of countries where any website hosted on google app engine is not > > > > accessible; > > > > China > > > > Iran > > > > Sudan > > > > Syria > > > > Indonesia is blocked by most providers > > > > Cuba > > > > > On Apr 2, 10:48 am, WallyDD wrote: > > > > > > Hello, > > > > > > My website (on google app engine) is blocked in China where I used > > to > > > > > get a lot of traffic from. I only just realised this from looking at > > > > > the logs and noting that traffic from china has crawled to > > standstill. > > > > > I imagine my website is blocked in other countries as well thanks to > > > > > this blocking technique. > > > > > > Does Google have a plan for dealing with this? > > > > > > Any chance of a response from someone at google? I would really like > > > > > to know if this is being dealt with seriously? > > > > > > This doesn't just apply to my website, it applies to every site on > > > > > google app engine. > > > > -- > > > > Barry > > > > -www.nearby.org.uk-www.geograph.org.uk- > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
On 02/04/2009, WallyDD wrote: > > I have custom domain. I have never had anything blocked in many years > before migrating to google app engine. > > The 'bad neighbour' issue has never been a problem for me in the past. What do you want, a medal? really that was just blind luck. (or maybe you weren't on a shared system, or a highly segregated system, far removed from your neighbours, either way just lucky) I still contend this isn't Google's problem, take up your grivence with the maintainers of the firewalls. > > > On Apr 2, 11:18 am, Barry Hunter wrote: > > And why is this Google's problem? > > > > Presumably you are a victim of those countries over-zealous blocking > > (presuming you don't think your site is getting blocked itself) > > > > Any shared hosting will suffer this 'bad neighbour' issue, AppEngine > > happens to be a rather large hosting provider, so its quite likely. > > > > They could make the problem less likely to occur by using larger pool > > of IP addresses, and hashing the domain to specific IPs, as I imagine > > it would be impractical to offer unique IPs, but there is little > > incentive to do so (IMHO) > > > > You might get slightly better results using a custom domain if you > > don't already. > > > > > On 02/04/2009, WallyDD wrote: > > > > > > > > > > > > > > > > > List of countries where any website hosted on google app engine is not > > > accessible; > > > China > > > Iran > > > Sudan > > > Syria > > > Indonesia is blocked by most providers > > > Cuba > > > > > On Apr 2, 10:48 am, WallyDD wrote: > > > > > > Hello, > > > > > > My website (on google app engine) is blocked in China where I used to > > > > get a lot of traffic from. I only just realised this from looking at > > > > the logs and noting that traffic from china has crawled to standstill. > > > > I imagine my website is blocked in other countries as well thanks to > > > > this blocking technique. > > > > > > Does Google have a plan for dealing with this? > > > > > > Any chance of a response from someone at google? I would really like > > > > to know if this is being dealt with seriously? > > > > > > This doesn't just apply to my website, it applies to every site on > > > > google app engine. > > > > -- > > > Barry > > > > -www.nearby.org.uk-www.geograph.org.uk- > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~-~--~~~---~--~~ 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: How does GAE's cost compare to that of commercial hosting?
Google App Engine is very cheap compared to just about anything. Small applications benefit because they might be able to fit within the free quotas, and any app will fit when it's just starting out and doesn't have a lot of users. You don't have the fixed monthly cost overhead that a regular hosting service requires. You always have the free quotas, and since usage is reset to zero every day, at least part of your traffic will always be free. gops's example of a large scale application is about right. If your application is relatively efficient, you can handle an enormous amount of traffic for relatively low cost, giving you a lot of room to figure out how to make money from your idea. And, a huge benefit over other hosting options is if you're featured on the home page of Digg or Slashdot, it automatically scales up the number of servers you're running on to keep up with the traffic. There are many times on the internet where some small site could have gotten a lot of new users had their server been able to cope with a once-in-a-lifetime surge in traffic... you don't have this risk with Google App Engine. The fully automatic scaling is unique in the industry, I think... you could be sipping Tequila on a Mexico beach when a traffic surge comes and be confident that Google is taking care of you :) -Ryan On Apr 1, 4:37 am, Andy wrote: > Does anyone have rough ballpark estimates on how does GAE's cost > compare to that of commercial hosting? > > For example, the traffic supported by GAE's free quotas -- is that > generally higher or less than the traffic supported by a $5/mo shared > hosting account? > > And what about the traffic supported by a $40/mo VPS account on a > typical web hosting company -- how much would that cost if the site > was hosted on App Engine? > > What about a $200/mo dedicated server hosting -- what's the GAE > equivalent? > > I know it depends on a lot of factors, but if anyone has any ballpark > estimates or experiences they're willing to share I'd really > appreciate it. > > I'm starting a project and try to decide between GAE and standard web > hosting. The project will start small, but if the traffic grows I want > to see which would be a better option for me. GAE is less flexible and > creates a certain amount of lock-in, but at least I want to know if > it'll end up cheaper or more expensive as traffic grows --~--~-~--~~~---~--~~ 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: GFS API on GAE ?
Thanks Jeff, I've submitted a feature request: http://code.google.com/p/googleappengine/issues/detail?id=1199 Folks, please star the issues if you believe it worth to be implemented. -- Alex On Mar 31, 6:50 pm, Jeff S wrote: > Hi Alex, > > Interesting idea. Would you mind filing an issue here so that others > can track this idea and vote for it by starring it: > > http://code.google.com/p/googleappengine/issues > > I find that coming back to feature requests is easier when they are > organized in the issue tracker. Thanks for the suggestion! > > Happy coding, > > Jeff > > On Mar 30, 7:05 am, "Sharp-Developer.Net" > > wrote: > > A question to GAE engineers: Is there plan/considerations to provide > > some API to Google FIle System (http://labs.google.com/papers/gfs.html > > ) so we could append to files quick&cheap? > > > At the moment I'm thinking about developing a some logging/monitoring > > app but can't figure out how I can do it with current BigTable > > limitations (even usign sharding). > > > I believe many people/app could benefit if Google provide such an > > infrustructure as GFS. > > > If this is not possible would be interesting to know - why not? > > > Thanks in advance for any insight. > > > P.S. Thoughts from developers are also very welcome. > > -- > > Alex > > --~--~-~--~~~---~--~~ 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: Resource quota confusions
On second thought, they changed the wording since the last time I looked at the page. I'm not entirely sure what the answer is anymore :) -Ryan On Apr 2, 12:05 pm, Ryan Lamansky wrote: > All of the tables are still showing the current "free" limits. The > free limits don't change when you enable billing (although your usage > rates can go up a lot). > > Presumably, all the tables will be updated on May 25 to reflect the > lower limits. > > -Ryan > > On Apr 1, 4:19 am, Andy wrote: > > > In the sectionhttp://code.google.com/appengine/docs/quotas.html#Free_Changes > > > it's stated that: > > > The new free quota levels to take effect on May 25th will be as > > follows: > > > * CPU Time: 6.5 hours of CPU time per day > > * Bandwidth: 1 gigabyte of data transferred in and out of the > > application per day > > > Yet earlier in the same page, according to the table in the > > sectionhttp://code.google.com/appengine/docs/quotas.html#Requests > > > Outgoing Bandwidth: 10 gigabytes free (for Billing Enabled Quota) > > CPU Time: 46 CPU-hours free (for Billing Enabled > > Quota) > > > So if I billing enabled my account, do I get 1G traffic free per day, > > or 10G? 46 CPU-hrs free, or 6.5 CPU-hrs? --~--~-~--~~~---~--~~ 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: Resource quota confusions
All of the tables are still showing the current "free" limits. The free limits don't change when you enable billing (although your usage rates can go up a lot). Presumably, all the tables will be updated on May 25 to reflect the lower limits. -Ryan On Apr 1, 4:19 am, Andy wrote: > In the sectionhttp://code.google.com/appengine/docs/quotas.html#Free_Changes > > it's stated that: > > The new free quota levels to take effect on May 25th will be as > follows: > > * CPU Time: 6.5 hours of CPU time per day > * Bandwidth: 1 gigabyte of data transferred in and out of the > application per day > > Yet earlier in the same page, according to the table in the > sectionhttp://code.google.com/appengine/docs/quotas.html#Requests > > Outgoing Bandwidth: 10 gigabytes free (for Billing Enabled Quota) > CPU Time: 46 CPU-hours free (for Billing Enabled > Quota) > > So if I billing enabled my account, do I get 1G traffic free per day, > or 10G? 46 CPU-hrs free, or 6.5 CPU-hrs? --~--~-~--~~~---~--~~ 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: datastore query ignoring filter argument.
Hi OliWeiD, The > in your filter looks a bit suspicious. The default ordering direction is ascending, and since you order on sequence ascending, should the inequality be wrote: > The following query is not working normal: > q = Photo.all().filter('viewer = ', True) \ > .filter('sequence > ', img_next) \ > .order('sequence').order('__key__') > the query is returning nothing, > but when the filter(sequence >) is not in, the first image is > retrieved. > Thanks in advance for any hint..OliWeiD --~--~-~--~~~---~--~~ 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: Database Inconsistency
Hi z33m, Is it possible that the info model which contains the msg_polled time is not being updated and still contains an old value for msg_polled? I think it would be helpful to see the code/logic used to obtain the last polled time info. It could be that multiple requests are started, all of which use the last committed info, before the info.put() in one of the requests is completed. Thank you, Jeff On Apr 1, 9:18 am, z33m wrote: > Im writing a twitter app. It accepts commands as Direct Messages, so i > have setup a third party cronjob service to invoke a handler that > processes DMs at regular intervals. I have a Model 'Info' that has > just one entry, it stores some common data which are used in many > places in the App(in this case, the time when the messages were > processed recently). The general pattern of my handler is like this: > > msgs = api.GetDirectMessages(since = info.msg_polled) > if not msgs: > return > logging.info('Processing Messages since %s ' % str(info.msg_polled)) > for msg in msgs: > ...process commands... > logging.info('Processed Message :- @%s : %s' % > (msg.sender_screen_name, msg.text)) > > info.msg_polled = datetime.datetime.now() > info.put() > > But sometimes i get logs like this : > > I 03-30 07:50AM 10.973 > Processing Messages since Sun, 29 Mar 2009 11:41:59 GMT > I 03-30 07:50AM 11.122 > Processed Message :- @foo : Foo_Bar > --- > I 03-30 07:46AM 08.014 > Processing Messages since Sun, 29 Mar 2009 11:41:59 GMT > I 03-30 07:46AM 08.130 > Processed Message :- @foo : Foo_Bar > > Here, it seems that info is not getting commited to the database. The > message is processed multiple number of times, sometimes upto 10+ > times before the msg_polled value changes. But i am not getting any > Datastore exceptions. This happens only once in a while. > > Any help is appreciated. --~--~-~--~~~---~--~~ 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: Getting URLFetchServiceError values from DownloadError?
Hi William, For now, I think inspecting the details in the exception is your best bet. This has been requested before and is in our issue tracker. Please star this issue if you'd like to receive updates: http://code.google.com/p/googleappengine/issues/detail?id=973 Thank you, Jeff On Apr 1, 1:53 am, William Shallum wrote: > Hi, > > I'm using the Google Apps Provisioning API on App Engine and trying to catch > DEADLINE_EXCEEDED errors (but not other errors) since creating a user often > results in DEADLINE_EXCEEDED. Is there any better way to do this other than > inspecting the DownloadError exception's message property which is a string? > > Thanks, > William --~--~-~--~~~---~--~~ 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: Google App Engine and China access
> Domain binded could not be reached due to ghs.google.com is blocked. Shouldn't you be addressing your complaint to the folks doing the blocking? On Apr 1, 10:10 pm, 秦锋 wrote: > Domain binded could not be reached due to ghs.google.com is blocked. > > I strongly want Google to deploy ghs.google.cn! > > On 4月2日, 上午11时11分, Andy wrote: > > > > > Every now and then I see posts on App Engine being blocked by China. > > > Several workarounds have been suggested, which seem to work some of > > the time but not others. > > > What's the current state -- is App Engine accessible from China? > > > Is it a good platform to use for apps that want to be accessible to > > Chinese users? What's your thoughts?- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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] How to iterate all records when > 1000?
Hi all: I'm tried to read all records and find tags of them, since my records are larger than 1000(>4000 actually), and I know fetch has 1000 limit, thus I tried iterator, but got failure either. Following is my code: class UpdateTag(webapp.RequestHandler): def get(self): if 0 == len(self.request.get('begin')): begin = datetime.datetime.strptime("19700101", "%Y%m%d%H%M %S") else: begin = datetime.datetime.strptime(self.request.get('begin'), "%Y %m%d%H%M%S") if 0 == len(self.request.get('end')): end = datetime.datetime.now() else: end = datetime.datetime.strptime(self.request.get('end'), "%Y%m%d %H%M%S") query = statsdb.Record.all().filter("inputtime >=", begin).filter ("inputtime <=", end) self.response.headers['Content-Type'] = 'text/plain' tagsName = [] i = 0 for record in query: tagsName = tagsName + list(set(record.tags)-set(tagsName)) i+=1 if 0 == len(tagsName): self.response.out.write("No records counted.\n") else: self.response.out.write(str(i) + " records counted.\n") tags = {} for tagName in tagsName: tag = statsdb.Tags(key_name = tagName, name = tagName) bookmark = None pagesize = 100 while True: records, bookmark = statsdb.GetRecords([tagName], bookmark, pagesize) if bookmark is None: tag.refCount += len(records) break else: tag.refCount += pagesize tags[tagName] = tag batch = 100 if len(self.request.get('batch')) > 0: batch = int(self.request.get('batch')) statsdb.DBPut(tags.values(), batch) self.response.out.write(str(len(tags)) + " tags counted.\n") And this is error: Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 501, in __call__ handler.get(*groups) File "/base/data/home/apps/cndata4u/1.332506907084827982/ dbmaint.py", line 26, in get for record in query: File "/base/python_lib/versions/1/google/appengine/ext/db/ __init__.py", line 1468, in next return self.__model_class.from_entity(self.__iterator.next()) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1549, in next self.__buffer = self._Next(self._BUFFER_SIZE) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1538, in _Next raise _ToDatastoreError(err) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) Timeout: datastore timeout: operation took too long. I know there are some way to page records, but only apply I have no extra inequality in property since __key__ will occur that. And in this case I have already an inequality, how to proceed? I don't understand a little bit about method here: http://groups.google.com/group/google-appengine/browse_thread/thread/ee5afbde20e13cde and what's meaning about "derived queries"? --~--~-~--~~~---~--~~ 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: implementing a chat system (push functionality?)
>> Take care about this, since this option, depending on your application >> and update intervals, may exhaust your free quotas or your bugdget >> very quickly. For example, supose you have 40 chat rooms per day with >> 40 users each one, with a lifespan of 2 hours per chat, with clients >> polling for updates each 5 seconds (that is, 12 status update requests >> per minute, just to make the whole thing look like "real time"), this >> sill result in: >> >> 40chats x 40uses x 120min x 12 reqs/min = 2304000 requests >> >> Assuming 200ms-cpu per request (process request, lookup >> memcache/datastore, write request, etc.), this yields: >> >> 2304000 requests * 200ms-cpu/requests = 46080 ms-cpu = 128hours cpu >> On Thu, Apr 2, 2009 at 8:46 AM, ryandscott wrote: > > That is as I suspected. And yeah... that's a lot of cpu hours! Have you cnsidered using GTalk gadget ... You can see it in action here [1]_ Isn't it just enough ? NO CPU hours !!! =B) ... >> >> Also, there's something related to XMPP/GAE integration on the >> roadmap, in order to make GAE applications able to send/receive XMPP >> messages, but I believe that (a) this would imply that your chat's >> users must be registered/authenticated agains an XMPP server and that >> (b) you would need a third element -an XMPP server- to appear into >> action... >> ... and you need no XMPP server ... however ... XMPP/GAE integration seems to be an interesting idea ... Hope it helps ... .. [1] Blog de Simelo (http://simelo-es.blogspot.com/) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Comandos : Pipe Viewer ... ¿Qué está pasando por esta tubería? --~--~-~--~~~---~--~~ 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: GWT with python
The problem is that there are no simple server-side handlers that come with GWT. Instead, I like using the Hermes/Lovely JSON bindings: http://code.google.com/p/lovely-gwt-jsonrpc/ This lets you implement a GWT backend with any server-side technology that can handle JSON-RPC: http://en.wikipedia.org/wiki/JSON-RPC -Brett On Thu, Apr 2, 2009 at 5:18 AM, Prashant Gupta wrote: > Thanks a lot Tim > > On Thu, Apr 2, 2009 at 5:08 PM, Tim Hoffman wrote: >> >> You either hand build python handlers for the corresponding gwt calls >> or >> you look at Pyjamas and build a gwt style app in Python. >> >> T >> >> On Apr 2, 3:34 pm, Prashant Gupta wrote: >> > is there any way to integrate GWT with python? if yes, how do i request >> > server using GWT? >> > >> > thanks, >> > Prashant >> > > > > > --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
I have custom domain. I have never had anything blocked in many years before migrating to google app engine. The 'bad neighbour' issue has never been a problem for me in the past. On Apr 2, 11:18 am, Barry Hunter wrote: > And why is this Google's problem? > > Presumably you are a victim of those countries over-zealous blocking > (presuming you don't think your site is getting blocked itself) > > Any shared hosting will suffer this 'bad neighbour' issue, AppEngine > happens to be a rather large hosting provider, so its quite likely. > > They could make the problem less likely to occur by using larger pool > of IP addresses, and hashing the domain to specific IPs, as I imagine > it would be impractical to offer unique IPs, but there is little > incentive to do so (IMHO) > > You might get slightly better results using a custom domain if you > don't already. > > On 02/04/2009, WallyDD wrote: > > > > > > > > > List of countries where any website hosted on google app engine is not > > accessible; > > China > > Iran > > Sudan > > Syria > > Indonesia is blocked by most providers > > Cuba > > > On Apr 2, 10:48 am, WallyDD wrote: > > > > Hello, > > > > My website (on google app engine) is blocked in China where I used to > > > get a lot of traffic from. I only just realised this from looking at > > > the logs and noting that traffic from china has crawled to standstill. > > > I imagine my website is blocked in other countries as well thanks to > > > this blocking technique. > > > > Does Google have a plan for dealing with this? > > > > Any chance of a response from someone at google? I would really like > > > to know if this is being dealt with seriously? > > > > This doesn't just apply to my website, it applies to every site on > > > google app engine. > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
On 02/04/2009, Ezu wrote: > > > > > You might get slightly better results using a custom domain if you > > don't already. > > > > > True but a custom domain have to point to ghs.google.com to be > assigned to appengine. It seems that exactly that domain is blocked. > ah, ok if ghs IPs are blocked then try .appspot.com ;) > Martino Sabia > > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~-~--~~~---~--~~ 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 Runtime Language Announced!
LOL On Thu, Apr 2, 2009 at 15:20, Takashi Matsuo wrote: > > Hi Jeff, > > Fantastic! > > I've build my first app on Fortran77 GAE. > This is my first program on F77, so I'm not sure if it works. > > Could anyone give me some advices? > > My first app: > http://sl.shehas.net/dkpjt > > -- Takashi Matsuo > > > > On Thu, Apr 2, 2009 at 6:35 AM, Jeff S wrote: >> >> Hi all, >> >> I'm pleased as punch to share with you the details on the new runtime >> language available for App Engine. We announced it on our blog: >> >> http://googleappengine.blogspot.com/2009/04/brand-new-language-on-google-app-engine.html >> >> From the blog post: >> >> """ >> It's been almost a year since we've launched App Engine with support >> for Python, and what a year it's been! We've gotten fantastic feedback >> from developers, and we've released loads of new features! When we >> launched, we promised support for another runtime language, and indeed >> this has been among the most requested features from our developers >> since day one. >> >> Well, we fed Google's new CADIE Strategic Decision Maker the App >> Engine issue tracker, our groups, and various blog posts around the >> internet to help select a new runtime language for App Engine. Today >> we're excited to officially announce support for FORTRAN 77! >> >> If you're an enterprise customer and want to take advantage of Google >> App Engine, but have a large and cumbersome legacy system, we want to >> make it easy for you to port to the cloud. By providing a Fortran 77 >> runtime, along with a familiar, easy-to-use deployment mechanism, we >> hope to make this process efficient and straightforward. >> >> Want to give it a try? Download our SDK and deploy your application by >> mailing punch cards to: >> >> Google App Engine, C/O APPCFG >> 1600 Amphitheatre Pkwy >> Mountain View, CA 94043 >> >> and we'll take care of the rest! We welcome your feedback on our >> newest addition to the App Engine family--you can discuss it on our >> Google Group! >> """ >> >> So there you have it, let's discuss! >> > >> > > > > --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
> > You might get slightly better results using a custom domain if you > don't already. > True but a custom domain have to point to ghs.google.com to be assigned to appengine. It seems that exactly that domain is blocked. Martino Sabia --~--~-~--~~~---~--~~ 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: implementing a chat system (push functionality?)
Because there is time limit per request you can not implement better chat system. If there was no time limit per request you could try server polling, (make request, waiting for data, when data is avaible get it and then make next request and wait) or server push using chunked encoding. On Apr 2, 6:13 am, ryandscott wrote: > I'm wondering what the best way to implement a chat system would be. > Currently, I have a javascript timer that goes off every x seconds to > query the database and return the list of chats. I keep my list to a > certain number of chats, but it seems that the way I'm doing the whole > process is a fairly poor design. > > Here's basically how it goes: > > user.enterText(text) > chats.append(text) > > every 5 seconds, Do: > chat_list = chats.getChatsFromDB() > display(chat_list) > > I'm wondering if there is a way to trigger an update only when a new > chat is entered (by any user). Implementing a "push" system seems > impossible because I can't really leave a request open. Is there > something like that though that could do what I'm talking about? > > I've looked at the current chat programs that people have created in > app engine, and they all seem to have a delay just like mine before > the chat window is updated. I'm assuming they are using javascript to > update, but without knowing the code I can't say for sure. --~--~-~--~~~---~--~~ 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: Debugging in Google App Engine
I use debugging with Eclipse as mentioned in http://code.google.com/intl/fr/appengine/articles/eclipse.html It works great! On Mar 31, 2:18 pm, Sylvain wrote: > http://code.google.com/intl/fr/appengine/articles/eclipse.html > > On 31 mar, 13:57, Lee Olayvar wrote: > > > WingIDE debugs an active dev_appserver.py session just fine. The only thing > > i noticed is that if your on a breakpoint, during a page load, that your > > client (firefox for me) may simply giveup the request after a while. None > > the less the debugger works fine. > > > On Tue, Mar 31, 2009 at 3:59 AM, arnie wrote: > > > > Using google app engine sdk 1.1.7 and active python win for windows, > > > is it possible to have debugging while the code is running. How can we > > > debug in a running code. like in Microsoft .Net or other debuggers > > > that provides this functionality of stepping into code in debug code > > > as well as using breakpoints > > > Any idea?? > > > Thanks > > > Arnie > > > -- > > Lee Olayvar --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
And why is this Google's problem? Presumably you are a victim of those countries over-zealous blocking (presuming you don't think your site is getting blocked itself) Any shared hosting will suffer this 'bad neighbour' issue, AppEngine happens to be a rather large hosting provider, so its quite likely. They could make the problem less likely to occur by using larger pool of IP addresses, and hashing the domain to specific IPs, as I imagine it would be impractical to offer unique IPs, but there is little incentive to do so (IMHO) You might get slightly better results using a custom domain if you don't already. On 02/04/2009, WallyDD wrote: > > List of countries where any website hosted on google app engine is not > accessible; > China > Iran > Sudan > Syria > Indonesia is blocked by most providers > Cuba > > > > > On Apr 2, 10:48 am, WallyDD wrote: > > > Hello, > > > > My website (on google app engine) is blocked in China where I used to > > get a lot of traffic from. I only just realised this from looking at > > the logs and noting that traffic from china has crawled to standstill. > > I imagine my website is blocked in other countries as well thanks to > > this blocking technique. > > > > Does Google have a plan for dealing with this? > > > > Any chance of a response from someone at google? I would really like > > to know if this is being dealt with seriously? > > > > This doesn't just apply to my website, it applies to every site on > > google app engine. > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
List of countries where any website hosted on google app engine is not accessible; China Iran Sudan Syria Indonesia is blocked by most providers Cuba On Apr 2, 10:48 am, WallyDD wrote: > Hello, > > My website (on google app engine) is blocked in China where I used to > get a lot of traffic from. I only just realised this from looking at > the logs and noting that traffic from china has crawled to standstill. > I imagine my website is blocked in other countries as well thanks to > this blocking technique. > > Does Google have a plan for dealing with this? > > Any chance of a response from someone at google? I would really like > to know if this is being dealt with seriously? > > This doesn't just apply to my website, it applies to every site on > google app engine. --~--~-~--~~~---~--~~ 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: Should I take my website somewhere else? - blocked in China
Blocked in Iran as well. On Apr 2, 10:48 am, WallyDD wrote: > Hello, > > My website (on google app engine) is blocked in China where I used to > get a lot of traffic from. I only just realised this from looking at > the logs and noting that traffic from china has crawled to standstill. > I imagine my website is blocked in other countries as well thanks to > this blocking technique. > > Does Google have a plan for dealing with this? > > Any chance of a response from someone at google? I would really like > to know if this is being dealt with seriously? > > This doesn't just apply to my website, it applies to every site on > google app engine. --~--~-~--~~~---~--~~ 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: Google App Engine and China access
It means exactly that. Your website it blocked. On Apr 2, 4:39 am, Andy wrote: > Does that mean apps running on GAE will never be reliably accessible > from China because ghs.google.com is blocked? > > On Apr 2, 1:10 am, 秦锋 wrote: > > > > > Domain binded could not be reached due to ghs.google.com is blocked. > > > I strongly want Google to deploy ghs.google.cn! --~--~-~--~~~---~--~~ 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] Should I take my website somewhere else? - blocked in China
Hello, My website (on google app engine) is blocked in China where I used to get a lot of traffic from. I only just realised this from looking at the logs and noting that traffic from china has crawled to standstill. I imagine my website is blocked in other countries as well thanks to this blocking technique. Does Google have a plan for dealing with this? Any chance of a response from someone at google? I would really like to know if this is being dealt with seriously? This doesn't just apply to my website, it applies to every site on google app engine. --~--~-~--~~~---~--~~ 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 Runtime Language Announced!
Wow! It's an engine! On Apr 2, 9:20 pm, Takashi Matsuo wrote: > Hi Jeff, > > Fantastic! > > I've build my first app on Fortran77 GAE. > This is my first program on F77, so I'm not sure if it works. > > Could anyone give me some advices? > > My first app:http://sl.shehas.net/dkpjt > > -- Takashi Matsuo > > > > On Thu, Apr 2, 2009 at 6:35 AM, Jeff S wrote: > > > Hi all, > > > I'm pleased as punch to share with you the details on the new runtime > > language available for App Engine. We announced it on our blog: > > >http://googleappengine.blogspot.com/2009/04/brand-new-language-on-goo... > > > From the blog post: > > > """ > > It's been almost a year since we've launched App Engine with support > > for Python, and what a year it's been! We've gotten fantastic feedback > > from developers, and we've released loads of new features! When we > > launched, we promised support for another runtime language, and indeed > > this has been among the most requested features from our developers > > since day one. > > > Well, we fed Google's new CADIE Strategic Decision Maker the App > > Engine issue tracker, our groups, and various blog posts around the > > internet to help select a new runtime language for App Engine. Today > > we're excited to officially announce support for FORTRAN 77! > > > If you're an enterprise customer and want to take advantage of Google > > App Engine, but have a large and cumbersome legacy system, we want to > > make it easy for you to port to the cloud. By providing a Fortran 77 > > runtime, along with a familiar, easy-to-use deployment mechanism, we > > hope to make this process efficient and straightforward. > > > Want to give it a try? Download our SDK and deploy your application by > > mailing punch cards to: > > > Google App Engine, C/O APPCFG > > 1600 Amphitheatre Pkwy > > Mountain View, CA 94043 > > > and we'll take care of the rest! We welcome your feedback on our > > newest addition to the App Engine family--you can discuss it on our > > Google Group! > > """ > > > So there you have it, let's discuss! --~--~-~--~~~---~--~~ 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: implementing a chat system (push functionality?)
That is as I suspected. And yeah... that's a lot of cpu hours! A slick solution would be a Google Chat integration where you could limit it to your domain like they do with Google Apps for your Domain, but without the cost per user Or, I'd even be happy with being able to create my own jaiku stream within the app where my users could post to it. I believe I remember reading something about that now that Jaiku is running in GAE. Thanks a bunch for the input, Jose. On Apr 2, 5:06 am, José Oliver Segura wrote: > On Thu, Apr 2, 2009 at 6:13 AM, ryandscott wrote: > > > I'm wondering what the best way to implement a chat system would be. > > Currently, I have a javascript timer that goes off every x seconds to > > query the database and return the list of chats. I keep my list to a > > certain number of chats, but it seems that the way I'm doing the whole > > process is a fairly poor design. > > Given the natural limitations of the HTTP protocol, I don't think you > can do it much more better than this. HTTP is based on > request/response paradigm and thus, the only way to simulate > server-initiated updates is to do polling using any of the available > options (timed requests/ajax/comet/fancynamehere, etc.) > > You must also add to the limitations of the HTTP protocol the > restrictions of the GAE environment (maximum number of simultaneous > requests, maximum amount of time allowed to serve a request, etc.), > and this will narrow your available options to -probably- just one: > periodic polling to some URLs from the client in order to > emulate/simulate server updates. > > Take care about this, since this option, depending on your application > and update intervals, may exhaust your free quotas or your bugdget > very quickly. For example, supose you have 40 chat rooms per day with > 40 users each one, with a lifespan of 2 hours per chat, with clients > polling for updates each 5 seconds (that is, 12 status update requests > per minute, just to make the whole thing look like "real time"), this > sill result in: > > 40chats x 40uses x 120min x 12 reqs/min = 2304000 requests > > Assuming 200ms-cpu per request (process request, lookup > memcache/datastore, write request, etc.), this yields: > > 2304000 requests * 200ms-cpu/requests = 46080 ms-cpu = 128hours cpu > > (If you think 40 chats / 40 users is too much, just make those numbers > smaller and increase the reqs/second from 12 to 24/60, since an update > each 5 seconds could probably result in jumpy updates. Also, the > 200ms/request figure is estimated, but I doubt you can lower it more, > since you *must* do something with memcache/datastore in the server, > in order to compute and send updates) > > Right now it's very hard to interpret how to compute exact costs since > there are many different figures to look at: cpu time, datastore cpu > time, billable/not billable, current free limits / future free limits, > etc., but "128 cpu hours" falls beyond any of the figures in that > page, so this means that either your app will stop working after some > activity (if you don't have billing enabled) or that you are going to > pay *a lot* due to polling and the fact that it incurs in CPU usage > (128 cpu-hours/day, woud represent 12.8$/day and aprox 384$/month, > which means you'll probably must start writing a business plan :-) ) > > Besides that, there's some movement right now around HTML 5 and the > idea of "WebSockets", which specifications are on track to be > standardized (I don't know exactly at which point they are), but I > would'nt bet for it to be included in short time in GAE (maybe some > response from any of the Google team members here could be great). > > Also, there's something related to XMPP/GAE integration on the > roadmap, in order to make GAE applications able to send/receive XMPP > messages, but I believe that (a) this would imply that your chat's > users must be registered/authenticated agains an XMPP server and that > (b) you would need a third element -an XMPP server- to appear into > action... well, none ot these scenarios look very promising right now > (without the cited business plan, of course :-) ) > > Hope that helps. Best, > Jose --~--~-~--~~~---~--~~ 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: Error in documentation?
I guess you missed the part about the "reasonably efficient application" When somebody visits my app the first load of a page is 250k including scripts and images .. but after that the images and scripts are in cache and the transfer size of a typical page is 2-5k --~--~-~--~~~---~--~~ 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 Runtime Language Announced!
Hi Jeff, Fantastic! I've build my first app on Fortran77 GAE. This is my first program on F77, so I'm not sure if it works. Could anyone give me some advices? My first app: http://sl.shehas.net/dkpjt -- Takashi Matsuo On Thu, Apr 2, 2009 at 6:35 AM, Jeff S wrote: > > Hi all, > > I'm pleased as punch to share with you the details on the new runtime > language available for App Engine. We announced it on our blog: > > http://googleappengine.blogspot.com/2009/04/brand-new-language-on-google-app-engine.html > > From the blog post: > > """ > It's been almost a year since we've launched App Engine with support > for Python, and what a year it's been! We've gotten fantastic feedback > from developers, and we've released loads of new features! When we > launched, we promised support for another runtime language, and indeed > this has been among the most requested features from our developers > since day one. > > Well, we fed Google's new CADIE Strategic Decision Maker the App > Engine issue tracker, our groups, and various blog posts around the > internet to help select a new runtime language for App Engine. Today > we're excited to officially announce support for FORTRAN 77! > > If you're an enterprise customer and want to take advantage of Google > App Engine, but have a large and cumbersome legacy system, we want to > make it easy for you to port to the cloud. By providing a Fortran 77 > runtime, along with a familiar, easy-to-use deployment mechanism, we > hope to make this process efficient and straightforward. > > Want to give it a try? Download our SDK and deploy your application by > mailing punch cards to: > > Google App Engine, C/O APPCFG > 1600 Amphitheatre Pkwy > Mountain View, CA 94043 > > and we'll take care of the rest! We welcome your feedback on our > newest addition to the App Engine family--you can discuss it on our > Google Group! > """ > > So there you have it, let's discuss! > > > --~--~-~--~~~---~--~~ 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: Is any fulltext search function for datastore ??
Did you try a search? http://groups.google.com/group/google-appengine/search?group=google-appengine&q=full+text&qt_g=Search+this+group On 02/04/2009, service G2100 wrote: > Is any fulltext search function for datastore "like", "rlike", =~ s/**/ ? > > Best Regards > Tom Wu > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~-~--~~~---~--~~ 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] Is any fulltext search function for datastore ??
Is any fulltext search function for datastore "like", "rlike", =~ s/**/ ? Best Regards Tom Wu --~--~-~--~~~---~--~~ 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: GWT with python
Thanks a lot Tim On Thu, Apr 2, 2009 at 5:08 PM, Tim Hoffman wrote: > > You either hand build python handlers for the corresponding gwt calls > or > you look at Pyjamas and build a gwt style app in Python. > > T > > On Apr 2, 3:34 pm, Prashant Gupta wrote: > > is there any way to integrate GWT with python? if yes, how do i request > > server using GWT? > > > > thanks, > > Prashant > > > --~--~-~--~~~---~--~~ 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: implementing a chat system (push functionality?)
you can test ytalk http://test.movq.net/ytalk/ or look at the video http://www.youtube.com/watch?v=87BJYaF_cK4 and download the source http://code.google.com/p/gae-services-examples/source/browse best regards Niklas On Apr 2, 6:13 am, ryandscott wrote: > I'm wondering what the best way to implement a chat system would be. > Currently, I have a javascript timer that goes off every x seconds to > query the database and return the list of chats. I keep my list to a > certain number of chats, but it seems that the way I'm doing the whole > process is a fairly poor design. > > Here's basically how it goes: > > user.enterText(text) > chats.append(text) > > every 5 seconds, Do: > chat_list = chats.getChatsFromDB() > display(chat_list) > > I'm wondering if there is a way to trigger an update only when a new > chat is entered (by any user). Implementing a "push" system seems > impossible because I can't really leave a request open. Is there > something like that though that could do what I'm talking about? > > I've looked at the current chat programs that people have created in > app engine, and they all seem to have a delay just like mine before > the chat window is updated. I'm assuming they are using javascript to > update, but without knowing the code I can't say for sure. --~--~-~--~~~---~--~~ 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: GWT with python
You either hand build python handlers for the corresponding gwt calls or you look at Pyjamas and build a gwt style app in Python. T On Apr 2, 3:34 pm, Prashant Gupta wrote: > is there any way to integrate GWT with python? if yes, how do i request > server using GWT? > > thanks, > Prashant --~--~-~--~~~---~--~~ 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: implementing a chat system (push functionality?)
On Thu, Apr 2, 2009 at 6:13 AM, ryandscott wrote: > > I'm wondering what the best way to implement a chat system would be. > Currently, I have a javascript timer that goes off every x seconds to > query the database and return the list of chats. I keep my list to a > certain number of chats, but it seems that the way I'm doing the whole > process is a fairly poor design. Given the natural limitations of the HTTP protocol, I don't think you can do it much more better than this. HTTP is based on request/response paradigm and thus, the only way to simulate server-initiated updates is to do polling using any of the available options (timed requests/ajax/comet/fancynamehere, etc.) You must also add to the limitations of the HTTP protocol the restrictions of the GAE environment (maximum number of simultaneous requests, maximum amount of time allowed to serve a request, etc.), and this will narrow your available options to -probably- just one: periodic polling to some URLs from the client in order to emulate/simulate server updates. Take care about this, since this option, depending on your application and update intervals, may exhaust your free quotas or your bugdget very quickly. For example, supose you have 40 chat rooms per day with 40 users each one, with a lifespan of 2 hours per chat, with clients polling for updates each 5 seconds (that is, 12 status update requests per minute, just to make the whole thing look like "real time"), this sill result in: 40chats x 40uses x 120min x 12 reqs/min = 2304000 requests Assuming 200ms-cpu per request (process request, lookup memcache/datastore, write request, etc.), this yields: 2304000 requests * 200ms-cpu/requests = 46080 ms-cpu = 128hours cpu (If you think 40 chats / 40 users is too much, just make those numbers smaller and increase the reqs/second from 12 to 24/60, since an update each 5 seconds could probably result in jumpy updates. Also, the 200ms/request figure is estimated, but I doubt you can lower it more, since you *must* do something with memcache/datastore in the server, in order to compute and send updates) Right now it's very hard to interpret how to compute exact costs since there are many different figures to look at: cpu time, datastore cpu time, billable/not billable, current free limits / future free limits, etc., but "128 cpu hours" falls beyond any of the figures in that page, so this means that either your app will stop working after some activity (if you don't have billing enabled) or that you are going to pay *a lot* due to polling and the fact that it incurs in CPU usage (128 cpu-hours/day, woud represent 12.8$/day and aprox 384$/month, which means you'll probably must start writing a business plan :-) ) Besides that, there's some movement right now around HTML 5 and the idea of "WebSockets", which specifications are on track to be standardized (I don't know exactly at which point they are), but I would'nt bet for it to be included in short time in GAE (maybe some response from any of the Google team members here could be great). Also, there's something related to XMPP/GAE integration on the roadmap, in order to make GAE applications able to send/receive XMPP messages, but I believe that (a) this would imply that your chat's users must be registered/authenticated agains an XMPP server and that (b) you would need a third element -an XMPP server- to appear into action... well, none ot these scenarios look very promising right now (without the cited business plan, of course :-) ) Hope that helps. Best, Jose --~--~-~--~~~---~--~~ 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 Runtime Language Announced!
Dear Mr. Googles, Iz E-mailed youse my pungecardsz a week agos n Iz stilz wayting four my chezburgers! Sinceerlyz, "Kitty" P.S. (Pawscript) - I'm ins ur cloudz eating ur dataz! On Apr 1, 5:35 pm, Jeff S wrote: > Hi all, > > I'm pleased as punch to share with you the details on the new runtime > language available for App Engine. We announced it on our blog: > > http://googleappengine.blogspot.com/2009/04/brand-new-language-on-goo... > > From the blog post: > > """ > It's been almost a year since we've launched App Engine with support > for Python, and what a year it's been! We've gotten fantastic feedback > from developers, and we've released loads of new features! When we > launched, we promised support for another runtime language, and indeed > this has been among the most requested features from our developers > since day one. > > Well, we fed Google's new CADIE Strategic Decision Maker the App > Engine issue tracker, our groups, and various blog posts around the > internet to help select a new runtime language for App Engine. Today > we're excited to officially announce support for FORTRAN 77! > > If you're an enterprise customer and want to take advantage of Google > App Engine, but have a large and cumbersome legacy system, we want to > make it easy for you to port to the cloud. By providing a Fortran 77 > runtime, along with a familiar, easy-to-use deployment mechanism, we > hope to make this process efficient and straightforward. > > Want to give it a try? Download our SDK and deploy your application by > mailing punch cards to: > > Google App Engine, C/O APPCFG > 1600 Amphitheatre Pkwy > Mountain View, CA 94043 > > and we'll take care of the rest! We welcome your feedback on our > newest addition to the App Engine family--you can discuss it on our > Google Group! > """ > > So there you have it, let's discuss! --~--~-~--~~~---~--~~ 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] Error in documentation?
In http://code.google.com/appengine/docs/quotas.html it states: "On May 25th, 2009, along with many performance improvements, we will be reducing the free quota levels for the billable quotas. App Engine will always remain free to get started. We believe these new levels will continue to serve a reasonably efficient application around 5 million page views per month, completely free. "The new free quota levels to take effect on May 25th will be as follows: * CPU Time: 6.5 hours of CPU time per day * Bandwidth: 1 gigabyte of data transferred in and out of the application per day" But how is 1G transfer per day possibly enough to serve "around 5 million page views per month, completely free"? A typical web page is about 50K per page. 1 G per day is therefore about 20,000 page views per day. In the perfect case, the traffic pattern is perfectly uniformly distributed over the month and each day has the same traffic. In that perfect scenario, the free quota is enough for 30*20,000 = 600,000 page views per month. That's a lot less than the 5 million page views per month claimed in the documentation. --~--~-~--~~~---~--~~ 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: Google App Engine and China access
Does that mean apps running on GAE will never be reliably accessible from China because ghs.google.com is blocked? On Apr 2, 1:10 am, 秦锋 wrote: > Domain binded could not be reached due to ghs.google.com is blocked. > > I strongly want Google to deploy ghs.google.cn! --~--~-~--~~~---~--~~ 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] Problem with timeouts on get_by_key_name
Hello! I am getting some timeouts in my app. My app uses get_by_key_name along with alot of other database accessing. I get around 5-10 timouts each day and it is always get_by_key_name that times out, never any other database acceses. Why could this be? Is there a way to protect the app from these timeouts. I thought get_by_key_name was a fast access to the database. The app have a key that is around 20 characters long and the app have quite a lot of users (I guess around 200 000). File "/base/python_lib/versions/1/google/appengine/ext/db/ __init__.py", line 849, in get_by_key_name return get(*keys) File "/base/python_lib/versions/1/google/appengine/ext/db/ __init__.py", line 1044, in get entities = datastore.Get(keys) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 221, in Get raise _ToDatastoreError(err) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) Timeout --~--~-~--~~~---~--~~ 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] GWT with python
is there any way to integrate GWT with python? if yes, how do i request server using GWT? thanks, Prashant --~--~-~--~~~---~--~~ 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 Runtime Language Announced!
Hi! I managed to deployed an app using FORTRAN 77 on GAE, take a look: http://micro-jude.appspot.com Jeff S wrote: > Hi all, > > I'm pleased as punch to share with you the details on the new runtime > language available for App Engine. We announced it on our blog: > > http://googleappengine.blogspot.com/2009/04/brand-new-language-on-google-app-engine.html > > From the blog post: > > """ > It's been almost a year since we've launched App Engine with support > for Python, and what a year it's been! We've gotten fantastic feedback > from developers, and we've released loads of new features! When we > launched, we promised support for another runtime language, and indeed > this has been among the most requested features from our developers > since day one. > > Well, we fed Google's new CADIE Strategic Decision Maker the App > Engine issue tracker, our groups, and various blog posts around the > internet to help select a new runtime language for App Engine. Today > we're excited to officially announce support for FORTRAN 77! > > If you're an enterprise customer and want to take advantage of Google > App Engine, but have a large and cumbersome legacy system, we want to > make it easy for you to port to the cloud. By providing a Fortran 77 > runtime, along with a familiar, easy-to-use deployment mechanism, we > hope to make this process efficient and straightforward. > > Want to give it a try? Download our SDK and deploy your application by > mailing punch cards to: > > Google App Engine, C/O APPCFG > 1600 Amphitheatre Pkwy > Mountain View, CA 94043 > > and we'll take care of the rest! We welcome your feedback on our > newest addition to the App Engine family--you can discuss it on our > Google Group! > """ > > So there you have it, let's discuss! --~--~-~--~~~---~--~~ 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: Issues Trying To Run dev_appserver.py in Ubuntu 8.10
For starters you command line as listed below says google_appengine/dev_appserver.py /helloworld But you said you put helloworld in the google_appengine directory which would suggest a command line of google_appengine/dev_appserver.py ./helloworld Not the "." before helloworld I personally wouldn't put you helloworld in google_appengine put it somewhere else and just have the command line point to it much better because when the next version os the sdk comes out you will have to move things T On Apr 2, 11:25 am, bobdob wrote: > Hi Everyone > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've > downloaded the .zip for the Appengine SDK from the Linux/Other > Platforms section > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A... > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted > all the files and tried re-downloading & unzipping 3 times, still got > the same CRC mismatches again. So I decided to just give it a shot > anyway. > > Then I tried out the "Helloworld" app, creating a directory > "helloworld" in the "google_appengine" directory and placing my > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I > tried running dev_appserver.py by opening my terminal and typing > google_appengine/dev_appserver.py /helloworld, and got a nice little > error message as illustrated below: > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld > ERROR:root:Application configuration file not found in /helloworld > > Now, I'm not sure what's causing this, whether I have a bum copy of > the SDK (unlikely, I think, since the files came directly from the > Google Appengine Downloads), or whether I'm not putting my files or > directories in the right places, or whether there are other > dependencies I need to run dev_appserver.py (Ubuntu comes with Python > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware > they are not compatible with AppEngine). > > I'm kind of stuck right now, I've searched online for a few hours with > no luck and I think I should be able to get this up and running pretty > easily. If anyone has any suggestions or has experienced something > like this, please let me know as soon as you can > > 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 -~--~~~~--~~--~--~---