I have a facebook app that is displaying random quotes - it is written in php.
One quote in the database looks like this:
"There's only one rule in photography - never develop colour film in chicken noodle soup.
- Freeman Patterson"
When it is seen on facebook it looks like this:
"Thereu0027s only one rule in photography - never develop colour film in chicken noodle soup.
- Freeman Patterson"
How do I fix it?
I have persistent object, with a string property that often is over 500 charachters. Google App Engine says I need to save it as a com.google.appengine.api.datastore.Text.
How do I either convert a String type to a com.google.appengine.api.datastore.Text type so I can use a setMethod() on the property, or otherwise get my long sting data into that persistent value?
This page describes an 'IN' operator that can be used in GAE Datastore to compare a field against a list of possible matches, not just a single value:
However this is for Python. In Java (App Engine 1.2.5), trying
query.setFilter("someField IN param");
on my javax.jdo.query fires a JDOUserException 'Portion of expression could not be parsed: IN param'.
Is there a way this can be done?
I would like to start using Google App Engine for java. But i don't know, where to start.
Is the tutorial provided by google [ http://code.google.com/appengine/docs/java/overview.html ] enough ?
Also, please mention some good books on GAE [ java ] so that i can download those from rapidshare or torrent buy those books and start reading them.
Google App Engine - When I want to store a byte array as one of the fields of my entity class, do I have to specify it as of type Blob or ShortBlob instead of the more intuitive byte[]?
i use this to download all data from my google app:
i follow this article: http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html#Creating_Exporter_Classes
and download data use this:
bulkloader.py --dump --url=http://zjm1126.appspot.com/remote_api --filename=b.csv
but the data is :
so how to make the data readable ?
thanks
When someone signs up for my website they must sign up with a unique user name. My current pseudocode for this is:
if(datastore.nameIsAvailable(name)){
datastore.createUser(name);
}
How do I make sure that in between the time when nameIsAvailable returns true, and the createUser is finished, another instance of my app doesn't create a user with the same name?
Hi,
I need to parse a config file that is situated in another project. I know that ConfigurationManager reads the app.config file by default (right?) how to make it read that particular config file?
Thank you
bulkloader.py is very handy.
But as far as I can tell it doesn't appear to fetch items from the blobstore, so you can be left with broken entity relationships if you needed to dump/restore your application.
Does anyone know a method for completely backing up their data from app-engine including blobstore data?
I'm working on a Google App Engine program that will require some basic spell checking features. Normally iSpell or it's cousins would be options, but I'm not sure that will work in GEA. Are there other strategies/tools that would work in that environment?
Unfortunately, GAE requires restart of the server on each code change.
Is it possible to prevent it and have immediate feedback after code save?
Or, can I import Google App Engine's API into my ruby code and run it on Sinatra server? Tried this but it fails on "import com.google.appengine.api" (it doesn't know what 'com' is).
For Sinatra, I use "Rerun" ( http://github.com/alexch/rerun ) which restarts server immediately after a change with minimum wait.
Thanks.
I want to build ecommerce functionality on Google App Engine for Java.
What Java payment gateway library works closest to ActiveMerchant (from Ruby on Rails) and also works on GAE?
I'm working on a web app and I need to get a div to stick to the bottom of the viewport. Always viewable and always on the bottom of the viewport. There's an example of what I want here: footer. Unfortunately, this doesn't work on the iPhone. I can think of some ways to do this using javascript but I would rather not. Any ideas on how to get this effect on the iPhone using only css?
I just deployed my servlet on the app engine but when i print the max heap size i only get 104857600 which is less than is available by default on my local machine (512 megs).
Is there a way to get google to change this?
I looked at billing but there is no mention of memory usage.
Documentation says (http://code.google.com/appengine/docs/java/urlfetch/overview.html#Request_Headers):
These headers are set to accurate values by App Engine, as appropriate
Does the value for X-Forwarded-For included some identity of the gae application?
In the documentation for Google App Engine, it says that when designing data models for the datastore, you should "optimize for reads, not writes". What exactly does this mean? What is more 'expensive', CPU intensive or time consuming?
We have a WPF windows application that contains a stackpanel control, that I want to be visible only for testing, but not when it is in production.
We'd like to store the visibility value of that stackpanel in the application configuration file (app.config).
What is the WPF way of achieving this?
I am trying to execute simple system command via my servlet on google app engine. I'm not trying anything dangerous, just looking for simple stuff grep, sed, wget, find, etc.
Using java's Runtime class i keep getting access denied exceptions.
Do i have to get permission from google of some kind or are shell commands banned period?
I am not a Google App Engine user. However, I understand you're billed for CPU time and other resources. What are the consequences if you happen to create an infinite loop? Will Google ever terminate it, or will you have to do it yourself manually somehow?
I'm a hobbyist developer worried about a small error that might end up costing hundreds.
I was using JDO for my google app engine project but got fed up with the additional 5 seconds it adds to my cold start time. I was planning on just writing stuff directly to the database with the low level datastore api, but then I came accross the objectify project ( http://code.google.com/p/objectify-appengine/ ).
Apparently its a super light wrapper above the low level api. Does anyone have experiences with this library that they could share?