google-app-engine

Under some circumstances an App Engine "get_by_key_name" call using an existing key_name returns None

I've run into a strange problem that I haven't seen before making a get_by_key_name call using the App Engine ORM. Under no circumstances, one would assume, would the following return None: Model.get_by_key_name(Model.all().get().key().name()) And yet, that's what I've found that certain key names will do. It's only in a few cases w...

Resource scheduling application

I'm trying to implement an application that coordinates multiple users who are scheduling exclusive resources. The schedule data must maintain strong consistency over a network with a single master node. The scheduled resources could be anything from a conference room to a worker on a job site. We assume the conference room cannot be sc...

Wrapper google.appengine.ext.db.Model => django.db.models.Model

Given that gae & django persistence layers are quite similar, I'm wondering whether someone has tried creating a wrapper? Say, could be useful for utilizing django.forms.ModelForm. Are there any fundamental problems with this? ...

How to redirect and then display errors with Google App Engine

I'm working on a Google App Engine project that collects stories submitted by users. This is how I handle submission errors in the post method of my Request Handler: # get the title and content using self.request.get() errors = [] if not title: errors.append("Please enter a title.") if not content: errors.append("Please enter a...

JDO: referencing a collection of entities "owned" by another class

I have a RecipeJDO that contains a List<IngredientJDO>. RecipeJDO "owns" the ingredients. This has been working well for me for several weeks. Now I'd like to introduce a new class "GroceryListJDO", that references the ingredients owned by various recipes. When I try to persist a new GroceryListJDO I get the following: javax.jdo.J...

A .net wrapper for Google App Engine?

Does anyone know of a .net wrapper around either python or java Google App Engine services? Any help appreciated // :) ...

How can I persist the local datastore for GoogleAppEngineLauncher between reboots?

I'm using GoogleAppEngineLauncher (GAEL) on Mac OS X. The state of the datastore for my application is persisted between server restarts and even GAEL restarts, but if I reboot, the datastore is reset. Is there a setting to prevent this reset, or is there a tmp file somewhere that I can save off? ...

Storing Session value in Google App engine data store.

Can someone illustrate how I can store and easily query session data(_sh_SESSION) in google app engine datastore?i am using java. ...

App Engine Jruby DataMapper List Property

Hi! How to use list/array as property in DataMapper on Jruby on Google AppEngine? ...

Improve App Engine performance by reducing entity size

The objective is to reduce the CPU cost and response time for a piece of code that runs very often and must db.get() several hundred keys each time. Does this even work? Can I expect the API time of a db.get() with several hundred keys to reduce roughly linearly as I reduce the size of the entity? Currently the entity has the followi...

Cloud Monthly Pricing Calculator

Amazon did a great job by providing an online calculator for AWS; resides here: http://calculator.s3.amazonaws.com/calc5.html Which really helps to find your way among a swarm of cloud options. Is there similar a tool for GAE (Google App Engine) or Microsoft Azure? ...

Download source code of deployed GAE application

Can I download source code of already deployed app if I've lost it's source code on my hard drive? I've looked through application dashboard but couldn't find any option to check it out. ...

GAE datastore list property serialization

Hi, I've watched this video from Google I/O 2009: http://www.youtube.com/watch?v=AgaL6NGpkB8 where Brett shows microblogging example. He describes two datastore schemas: first one: class Message(db.Model):     sender = db.StringProperty()     body = db.TextProperty()     receivers = db.StringListProperty() and second one: class Messag...

Implementing "Starts with" and "Ends with" queries with Google App Engine

Hi, Am wondering if anyone can provide some guidance on how I might implement a starts with or ends with query against a Datastore model using Python? In pseudo code, it would work something like... Query for all entities A where property P starts with X or Query for all entities B where property P ends with X Thanks, Matt ...

appengine remote api unable to login

When I go to appengine.google.com/a/mydomain.com i am able to login and see all my apps and administer them. However, when I try to use the remote_api the same username/password does not work. I'm using the interactive console code from http://code.google.com/appengine/articles/remote%5Fapi.html ...

Are there any big names running on the cloud?

Are there any big names running on the cloud? Especially on GAE and Amazon? ...

A good data model for finding a user's favorite stories

Original Design Here's how I originally had my Models set up: class UserData(db.Model): user = db.UserProperty() favorites = db.ListProperty(db.Key) # list of story keys # ... class Story(db.Model): title = db.StringProperty() # ... On every page that displayed a story I would query UserData for the current user:...

How to enforce unique field value in java Google App Engine

Hello there, I am try to find out how to enforce uniqueness in fields other than the unique id. Example: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class User implements IsSerializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent priv...

What pure Python library should I use to scrape a website?

I currently have some Ruby code used to scrape some websites. I was using Ruby because at the time I was using Ruby on Rails for a site, and it just made sense. Now I'm trying to port this over to Google App Engine, and keep getting stuck. I've ported Python Mechanize to work with Google App Engine, but it doesn't support DOM inspecti...

appengine, DNS, subdomain

Hello, I would like to know, how to configure my DNS to work with subdomains on google appengine. It already works for www.myproject.com, but i would like to let it work also for www.xmass.myproject.com . Do you kow, how to set CNAMEs? ...