[google-appengine] Screencast: creating and deploying a message posting board in under 15 minutes on Google AppEngine!

2013-03-26 Thread timothy crosley
Hello,

I've created a screencast showing how to create and deploy a dynamic 
message board (w/ Ajax Calls and live-validation) onto GoogleAppEngine in 
under 15 mintutes,
you can view it here: http://www.youtube.com/watch?v=ucougrZK9wI

Hope some of you find it useful!

Thanks,

Timothy

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] JAVA Search API: index namespace in Java?

2013-03-26 Thread Fred Janon
Index namespaces are supported in Python but don't seem to be in Java. Is
it not supported or is the doc just missing the method?

Thanks

Fred

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Working locally on web-application

2013-03-26 Thread Vinny P
Hello Josip,

If I understand your question correctly, you have a deployed in-production 
app on GAE and you want to download the source code to your local computer 
to edit and run, correct?

If so, you can do so by using appcfg.py's download_app command; see here 
for documentation: 
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Downloading_Source_Code

-
-Vinny P
Technology  Media Advisor
Chicago, IL

@GOV on AppDotNet: https://alpha.app.net/gov


On Saturday, March 23, 2013 11:27:18 AM UTC-5, Josip Katalinic wrote:

 I have been added as developer on application.

 On Applications Overview this app is shown together with my other app, 
 that I can freely access and change via Google App Engine Launcher.

 Question is how to get app I'm supposed to work on my computer locally(in 
 other words in GAE), so I can test and change it locally in the browser on 
 my computer...

 Windows 7

 App Engine SDK-release: 1.7.6

 API: python27


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Google Datastore can't allow to add entities having value more than 150 characters .

2013-03-26 Thread Vinny P
Hi Chirag,

Do you mean a String as a property of the Entity or as the key name? 

If you mean String as a property, then I'm not sure where you're getting 
the 150 char limit. The datastore limits string properties to 500 chars 
(see 
https://developers.google.com/appengine/docs/java/datastore/entities#Properties_and_Value_Types
 ). 
There should be more space than just 150 characters. What you can do is to 
try wrapping the String in a Text object (text objects are capped at 1 MB 
in size, although they are not indexed). See the documentation here: 
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text

If you mean the key name, you don't need a 150 character long key name. 
Instead, try using a MD5 or SHA1 hash on your long key names, then using 
the hash as the key name.

-
-Vinny P
Technology  Media Advisor
Chicago, IL

@GOV on AppDotNet: https://alpha.app.net/gov


On Sunday, March 24, 2013 6:40:12 AM UTC-5, Chirag Parmar wrote:

 Hi - I have created a prototype of my project using GoogleDatastore as db. 
 Which is not allowing the string having length more than 150charaters to be 
 entered into its entity.

 Can anybody know how to deal with this issue ? 

 Link to prototype : http://rmi.remembermyinformation.appspot.com/

 Best Regards,
 Chirag Parmar
 Founder,Chroncleretention


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] new devappserver2 and get_by_id

2013-03-26 Thread Gianni
Hi, with new devappserver2 the get_by_id() method return an integer ending
with 000 instead of real id. the rest of number is the same but only last 3
is ever replace with 000. What'a appens? does not seem a bug.
-- Gianni

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Redirect loop on sign-up page

2013-03-26 Thread atcisse

Hi
 
I am facing the same issue with my email ID atci...@avisjournaux.com. Can 
you help pliz


On Tuesday, September 4, 2012 6:21:29 PM UTC, Grant Heaslip wrote:

 I'm trying to sign up for App Engine, but opening any page on 
 appengine.google.com results in a never-ending string of 302 redirects to 
 https://appengine.google.com/start, eventually leading to Chrome spitting 
 out Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many 
 redirects.

 I'm using a Google Apps account, so I've also tried 
 https://appengine.google.com/a/grantheaslip.ca to no avail. I've tried 
 different browsers, and clearing my cache and cookies.

 My theory is that the existence of a previous Google Apps account under 
 the same name is causing the problem. I created and deleted a Google Apps 
 account on this domain a few months ago, and recently signed up again.

 I realize this is a problem better suited to private customer support, but 
 of the various community support options available, posting this here seems 
 like the least inappropriate option -- this would almost certainly be 
 closed on Stock Overflow for being too localized.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Redirect loop on sign-up page

2013-03-26 Thread Ahmed Tidjane Cisse
Hi 
i'm facing the same issue, my email ID is atci...@avisjournaux.com

On Tuesday, September 4, 2012 6:21:29 PM UTC, Grant Heaslip wrote:

 I'm trying to sign up for App Engine, but opening any page on 
 appengine.google.com results in a never-ending string of 302 redirects to 
 https://appengine.google.com/start, eventually leading to Chrome spitting 
 out Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many 
 redirects.

 I'm using a Google Apps account, so I've also tried 
 https://appengine.google.com/a/grantheaslip.ca to no avail. I've tried 
 different browsers, and clearing my cache and cookies.

 My theory is that the existence of a previous Google Apps account under 
 the same name is causing the problem. I created and deleted a Google Apps 
 account on this domain a few months ago, and recently signed up again.

 I realize this is a problem better suited to private customer support, but 
 of the various community support options available, posting this here seems 
 like the least inappropriate option -- this would almost certainly be 
 closed on Stock Overflow for being too localized.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] What does processing_rate in AppEngine MapReduce mean?

2013-03-26 Thread Riley


Following is from the documentation in the source code:

mapreduce\handlers.py(570): processing_rate: How many items to process per 
second overall.

Does this limit the total number of input elements that are provided to all 
the mappers combined in one second?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Upload csv in datastore

2013-03-26 Thread Vinny P
Hello Marco,

Are you using the Python or Java runtime?

If you're using the Python runtime, you can easily upload data from a CSV 
file by using the bulk loader in appcfg.py. Follow the directions here: 
https://developers.google.com/appengine/docs/python/tools/uploadingdata#Downloading_and_Uploading_All_Data
 

If you're using the Java runtime, things get a bit more complicated. You 
can still use the Python bulk loader, but you have to follow some special 
directions, such as installing the Java version of remote_api and so forth 
(the details are in the above link). A second option is to see Ikai's blog 
post 
http://ikaisays.com/2010/08/11/using-the-app-engine-mapper-for-bulk-data-import/
 where 
he explains how to use the Blobstore and MapReduce to copy data into the 
Datastore. A third option is to simply write your own bulkloader. It's 
fairly straightforward: you can pull in the CSV parser in Apache Commons 
and generate entities from each line.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

@GOV on AppDotNet: https://alpha.app.net/gov


On Sunday, March 24, 2013 8:38:08 AM UTC-5, macro asm wrote:

 Hİ. How the csv google app engine upload datastore?


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Very large entity ids on 1.7.6 dev server

2013-03-26 Thread Jesse Rohwer
Hi all,

To address the questions on this thread in order:

1. While we will be moving to scattered ids in production soon, we're going 
to limit the size of ids to the max integer that a 64-bit float can 
represent exactly, which will address the problem with floating-point 
representations. This will also be changed in the 1.7.7 SDKs.

The motivation for scattered ids is that sequential ids cause hot spots in 
bigtable and GAE MR, which leads to significant performance limitations.

More info on scattered ids:
Scattered auto ids in 1.7.5 
SDKhttps://groups.google.com/forum/?fromgroups=#!msg/google-appengine/YlCZ3z7lwdI/j-gLCDSHfZEJ
See the section Specifying the automatic id allocation policy:
https://developers.google.com/appengine/docs/Python/tools/devserver#Using_the_Datastorehttps://developers.google.com/appengine/docs/java/tools/devserver#Using_the_Datastore
https://developers.google.com/appengine/docs/java/tools/devserver#Using_the_Datastore

2. The current allocate_ids() functions will continue to allocate 
sequential ids. So, manually allocated sequential ids will still be 
available.

3. We're sorry for the inconvenience this caused with the 1.7.6 dev 
appserver, but we're glad we caught this early!

4. If you need small ids, you won't be able to rely on automatic ids for 
this. One option would be to use the allocate_ids() functions to manually 
allocate ids.

Thanks for your feedback!

On Monday, March 25, 2013 12:13:52 PM UTC-7, Mahron wrote:

 Ok, so strings it is. Upgrade complete ! 


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: new devappserver2 and get_by_id

2013-03-26 Thread Jesse Rohwer
Hi Gianni,

Are you encoding your ids as floating point numbers before calling 
get_by_id()?

Please see this post:
https://groups.google.com/forum/?fromgroups=#!msg/google-appengine/r7L2mH3VzLw/BfFsSTGjlbwJ

Hope that helps!

On Tuesday, March 26, 2013 9:50:04 AM UTC-7, Giovanni Di Noia wrote:

 Hi, with new devappserver2 the get_by_id() method return an integer ending 
 with 000 instead of real id. the rest of number is the same but only last 3 
 is ever replace with 000. What'a appens? does not seem a bug.
 -- Gianni
  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: How to put ads in my Google App Engine application?

2013-03-26 Thread Miguel Alfonso Varela Fonseca
Hi there.

Finally, after playing a lot with my pages content, I've finally gotten an
AdSense account, I've not tryed to pu the add in my app, but as soon as I'd
donne that, I'll tell you how it was. Vinny, thanks again.


2013/3/10 Miguel Alfonso Varela Fonseca miguel.var...@savantti.com

 Thanks, Vinny, thats really more clarificant and a bit more concrete than
 all other answers i've foud, I'll be trying your suggestions during this
 week, I'll be talking about my results. ;)

 Thanks a lot.


 2013/3/8 Vinny P vinny...@gmail.com




 On Fri, Mar 8, 2013 at 2:42 PM, Miguel Alfonso Varela Fonseca 
 miguel.var...@savantti.com wrote:

  if my web site is actually a dynamic app, will not be content to
 analize (the ***insufficient content* issue from other posts).


 There are ways around this; the Adsense robot doesn't inspect content
 loaded via Javascript. When I was writing GWT applications, I encountered
 the same problem. See
 https://groups.google.com/forum/?fromgroups=#!topic/Google-Web-Toolkit/KmSGUpLhInY
  for
 an example solution to this (essentially you have to create a static site
 for Google/Bing/etc to index).

 On Fri, Mar 8, 2013 at 2:42 PM, Miguel Alfonso Varela Fonseca 
 miguel.var...@savantti.com wrote:

 2. my app is hosted in GAE (by google), and *AdSense denies those
 google hosts*. That way, it is not as exactly as GAE is irrelevant for
 AdSense.


 Ah, then you're using an [app-id].appspot.com domain. You need to get
 your own domain name. You'll have to buy one from NameCheap or another
 domain registrar. Or, I believe you can get .tk domains for free, you might
 want to look into that.

 On Fri, Mar 8, 2013 at 2:42 PM, Miguel Alfonso Varela Fonseca 
 miguel.var...@savantti.com wrote:

 I've tried to use AdSense for Google Sites and Blogger but it simply
 allows me to add AdSense in those services but not so in my GAE app. I've
 seen the question you suggested, but it talks about using the AdSense
 gotten from who knows where inside a span. It would be more userfull if I
 got an AdSense aproved account to use with my app.


 You're not going to get an Adsense account without your own domain name.
 Once you do, they'll give you a scrap of Javascript that you can then embed
 into your dynamic app (that's what they're talking about, they're placing
 the Adsense JS inside a span).

 -Vinny P

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/IzwAbWfCJbE/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine?hl=en
 .
 For more options, visit https://groups.google.com/groups/opt_out.






 --

 Miguel Alfonso Varela Fonseca.
 CTO - Director de Tecnología
 Móvil: +57(301)5794157 Oficina: +57(1)7949929
 Dirección: Cr 3 No. 1-02 – Gachancipá, Cundinamarca. Colombia
 e-Mail: miguel.var...@savantti.com
 www.savantti.com

 NOTA CONFIDENCIAL: La información contenida en este E-mail es confidencial
 y sólo puede ser utilizada por el individuo o la compañía a la cual está
 dirigido. Si no es el receptor autorizado, cualquier retención, difusión,
 distribución o copia de este mensaje es prohibida y será sancionada por la
 ley. Si por error recibe este mensaje, por favor notificarnos y eliminarlo
 inmediatamente.




-- 

Miguel Alfonso Varela Fonseca.
CTO - Director de Tecnología
Móvil: +57(301)5794157 Oficina: +57(1)7949929
Dirección: Cr 3 No. 1-02 – Gachancipá, Cundinamarca. Colombia
e-Mail: miguel.var...@savantti.com
www.savantti.com

NOTA CONFIDENCIAL: La información contenida en este E-mail es confidencial
y sólo puede ser utilizada por el individuo o la compañía a la cual está
dirigido. Si no es el receptor autorizado, cualquier retención, difusión,
distribución o copia de este mensaje es prohibida y será sancionada por la
ley. Si por error recibe este mensaje, por favor notificarnos y eliminarlo
inmediatamente.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Very large entity ids on 1.7.6 dev server

2013-03-26 Thread Jeff Schnitzer
Will there be any problems intermingling allocated and automatic ids?
Right now I can switch back and forth between explicitly allocated and
automatically generated ids. Will this continue to be the case?

Will there be an allocator method to generate a scattered id?

Jeff

On Tue, Mar 26, 2013 at 7:33 PM, Jesse Rohwer roh...@google.com wrote:
 Hi all,

 To address the questions on this thread in order:

 1. While we will be moving to scattered ids in production soon, we're going
 to limit the size of ids to the max integer that a 64-bit float can
 represent exactly, which will address the problem with floating-point
 representations. This will also be changed in the 1.7.7 SDKs.

 The motivation for scattered ids is that sequential ids cause hot spots in
 bigtable and GAE MR, which leads to significant performance limitations.

 More info on scattered ids:
 Scattered auto ids in 1.7.5 SDK
 See the section Specifying the automatic id allocation policy:
 https://developers.google.com/appengine/docs/Python/tools/devserver#Using_the_Datastore
 https://developers.google.com/appengine/docs/java/tools/devserver#Using_the_Datastore

 2. The current allocate_ids() functions will continue to allocate sequential
 ids. So, manually allocated sequential ids will still be available.

 3. We're sorry for the inconvenience this caused with the 1.7.6 dev
 appserver, but we're glad we caught this early!

 4. If you need small ids, you won't be able to rely on automatic ids for
 this. One option would be to use the allocate_ids() functions to manually
 allocate ids.

 Thanks for your feedback!

 On Monday, March 25, 2013 12:13:52 PM UTC-7, Mahron wrote:

 Ok, so strings it is. Upgrade complete !

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Very large entity ids on 1.7.6 dev server

2013-03-26 Thread Jesse Rohwer
Manually allocated ids will not conflict with automatic ids. Yes, you will 
be able to manually allocate scattered ids as well.

On Tuesday, March 26, 2013 6:11:38 PM UTC-7, Jeff Schnitzer wrote:

 Will there be any problems intermingling allocated and automatic ids? 
 Right now I can switch back and forth between explicitly allocated and 
 automatically generated ids. Will this continue to be the case? 

 Will there be an allocator method to generate a scattered id? 

 Jeff 

 On Tue, Mar 26, 2013 at 7:33 PM, Jesse Rohwer 
 roh...@google.comjavascript: 
 wrote: 
  Hi all, 
  
  To address the questions on this thread in order: 
  
  1. While we will be moving to scattered ids in production soon, we're 
 going 
  to limit the size of ids to the max integer that a 64-bit float can 
  represent exactly, which will address the problem with floating-point 
  representations. This will also be changed in the 1.7.7 SDKs. 
  
  The motivation for scattered ids is that sequential ids cause hot spots 
 in 
  bigtable and GAE MR, which leads to significant performance limitations. 
  
  More info on scattered ids: 
  Scattered auto ids in 1.7.5 SDK 
  See the section Specifying the automatic id allocation policy: 
  
 https://developers.google.com/appengine/docs/Python/tools/devserver#Using_the_Datastore
  
  
 https://developers.google.com/appengine/docs/java/tools/devserver#Using_the_Datastore
  
  
  2. The current allocate_ids() functions will continue to allocate 
 sequential 
  ids. So, manually allocated sequential ids will still be available. 
  
  3. We're sorry for the inconvenience this caused with the 1.7.6 dev 
  appserver, but we're glad we caught this early! 
  
  4. If you need small ids, you won't be able to rely on automatic ids for 
  this. One option would be to use the allocate_ids() functions to 
 manually 
  allocate ids. 
  
  Thanks for your feedback! 
  
  On Monday, March 25, 2013 12:13:52 PM UTC-7, Mahron wrote: 
  
  Ok, so strings it is. Upgrade complete ! 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups 
  Google App Engine group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to google-appengi...@googlegroups.com javascript:. 
  To post to this group, send email to 
  google-a...@googlegroups.comjavascript:. 

  Visit this group at 
 http://groups.google.com/group/google-appengine?hl=en. 
  For more options, visit https://groups.google.com/groups/opt_out. 
  
  


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.