[google-appengine] Google Play Service Cloud Saving - Reading data

2017-02-17 Thread Joe Man

I implemented GPS Cloud Save to my game, I was wondering if it is possible 
to access the user's save data outside of the app?

ie:
I have a backend server which and I would like to access those save files, 
is it possible?

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f43fc9d9-1a53-40b3-8725-b09dc8a8521a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-17 Thread Joe Marino
already had to change my code to call the appspot-preview. thanks for the 
unannounced change which broke my app for an entire day.

On Friday, February 17, 2017 at 4:21:43 PM UTC-5, John Lowry wrote:
>
> Hi,
>
> We made a change this morning which causes some App Engine Flexible apps 
> to redirect to appspot-preview.com. 
>
> If this is causing an issue for you, please create a support case and we 
> will provide help.
>
> https://cloud.google.com/support/
>
> John Lowry
>
>
>
> On Friday, February 17, 2017 at 12:45:26 PM UTC-8, Mario Gallegos wrote:
>>
>> Hello Alex, I just tested it and it is not working for me. 
>>
>> Is it supposed to be fixed for everyone? or just a few?
>>
>>
>> On Wednesday, February 15, 2017 at 10:15:27 AM UTC-6, Alex (Cloud 
>> Platform Support) wrote:
>>>
>>> Good news, it seems like this redirection issue has now been resolved. 
>>> Custom domains listed on Flexible Environment App Engine instances should 
>>> work as prescribed without redirecting to an appspot.com URL.
>>>
>>> Regards,
>>> Alex
>>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4163e8de-e77c-4785-ac5e-6ba56ff53d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-17 Thread Joe Marino
stop linking to this form. it's been down for a few months

On Wednesday, February 8, 2017 at 6:02:21 PM UTC-5, Alex (Cloud Platform 
Support) wrote:
>
> For future reference, it will be necessary to follow any updates provided 
> on the Custom Domains Inquiry form 
> 
> .
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/63c84de0-550a-4b51-b205-250efe98bbc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] bad runtime process port ['']

2016-10-21 Thread Joe Pardi
When I switched my servlet app to use Spring MVC and Thymeleaf, it started 
reporting the error below.  Anyone have any ideas?

ERROR2016-10-21 21:21:36,223 http_runtime.py:396] bad runtime process 
port ['']
WARNING: Null value for 
containerConfigProperties.get(devappserver.portMappingProvider)

My gcloud info:
---

Google Cloud SDK [131.0.0]

Platform: [Windows, x86_64]
Python Version: [2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit 
(Intel)]]
Python Location: [e:\Users\Joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\platform\bundledpython\python.exe]
Site Packages: [Disabled]

Installation Root: [e:\Users\Joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk]
Installed Components:
  bundled-python: [2.7.10]
  app-engine-python: [1.9.40]
  bq-win: [2.0.24]
  core: [2016.10.17]
  core-win: [2016.08.05]
  app-engine-java: [1.9.44]
  gcloud: []
  windows-ssh-tools: [2016.05.13]
  gsutil: [4.21]
  bq: [2.0.24]
  powershell: [0.1.8]
  gsutil-win: [4.20]
System PATH: [e:\Users\Joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\..\bin\sdk;C:\ProgramData\Oracle\Java\javapath;C:\Program
 
Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files 
(x86)\Common Files\Microsoft Shared\Windows 
Live;E:\jdk1.8.0_102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
 
Files (x86)\Windows Live\Shared;C:\Program Files (x86)\MySQL\MySQL 
Utilities 1.4.4\;C:\Program Files (x86)\MySQL\MySQL Utilities 
1.4.4\Doctrine extensions for PHP\;e:\Program Files (x86)\Bitvise SSH 
Client;E:\Program Files\AMD\ATI.ACE\Core-Static;C:\Program Files (x86)\ATI 
Technologies\ATI.ACE\Core-Static;E:\Program Files\nodejs\;C:\Program Files 
(x86)\QuickTime\QTSystem\;E:\Users\joe\AppData\Local\Programs\Python\Python35-32\Scripts\;E:\Users\joe\AppData\Local\Programs\Python\Python35-32\;E:\jython2.7.0\bi.;E:\Maven\apache-maven-3.3.9\bin;C:\Users\joe\AppData\Roaming\npm;E:\gradle-2.14.1\bin;e:\Users\joe\AppData\Local\Google\Cloud
 
SDK\google-cloud-sdk\bin]
Cloud SDK on PATH: [False]

WARNING: There are old versions of the Google Cloud Platform tools on your 
system PATH.
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\gcloud-ps.ps1
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\bq.cmd
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\endpointscfg.py
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\gcloud.cmd
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\dev_appserver.py
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\bq-ps.ps1
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\gsutil-ps.ps1
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\git-credential-gcloud.cmd
  e:\Users\joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\bin\gsutil.cmd

Installation Properties: [e:\Users\Joe\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\properties]
User Config Directory: [C:\Users\joe\AppData\Roaming\gcloud]
Active Configuration Name: [default]
Active Configuration Path: 
[C:\Users\joe\AppData\Roaming\gcloud\configurations\config_default]

Account: [x.xx...@gmail.com]
Project: [xxx]

Current Properties:
  [core]
project: [xxx]
account: [x.xx...@gmail.com]
disable_usage_reporting: [True]
  [compute]
region: [us-east1]
zone: [us-east1-b]

Logs Directory: [C:\Users\joe\AppData\Roaming\gcloud\logs]
Last Log File: 
[C:\Users\joe\AppData\Roaming\gcloud\logs\2016.10.21\21.07.32.508000.log]

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/95a65531-6865-4cc5-aefa-7504268ccdb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Error deploying to GAE

2016-07-24 Thread Joe Pardi
 I am receiving an error when trying to deploy using maven:

mvn clean install --> works OK
mvn package   --> works OK
mvn gcloud:deploy -Dgcloud.gcloud_project=hospital-1382 -Dgcloud.version=1

[INFO] Updating service [default]...failed.
[INFO] ERROR: (gcloud.preview.app.deploy) Error Response: [400] Java 6 
applications are prevented from being deployed to Google App Engine from 
any version of the SDK, including older ones. If you need to continue to 
deploy Java 6 applications for compatibilit
y reasons, you can request that your application be whitelisted for Java 6 
deployment by visiting http://goo.gl/ycffXq.
[ERROR] Error: gcloud app command with exit code : 1

My *app.yaml* and *pom.xml *are attached.

Any help would be appreciated ...


- Joe

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/51c50763-ed7b-447c-a2f6-c08bc2cc6ab7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


pom.xml
Description: XML document


app.yaml
Description: Binary data


[google-appengine] Re: Max size of entity.key.id() > uint64

2016-07-06 Thread Joe White

A long time ago, in a far far far away place, programmers decided to save 
storage by using a two-digit representation of the year in dates. In 
retrospect, not a great decision.

I would suggest that you *not *consider tying a required *orderid *to 
another implementation's *keyid *... something may change in the future 
that could break the implied contract between two completely different 
systems that you make.

Your choice, of course, but I would not attempt to "optimize" in this way.


On Tuesday, July 5, 2016 at 7:41:36 PM UTC-4, Jay Kyburz wrote:
>
> Hey all, 
>
> Today I'm integrating our app into the Steam store and I would like to use 
> an entity's key.id() as an "orderid" which must be less than a uint64. 
>
> Anybody know what the maximum number an entity's id can be when 
> automatically generated?
>

-- 
This message (and any associated files) may contain VelociKey confidential 
and/or privileged information. If you are not the intended recipient or 
authorized to receive this for the intended recipient, you must not use, 
copy, disclose or take any action based on this message or any information 
herein. If you have received this message in error, please advise the 
sender immediately by sending a reply e-mail and delete this message. Thank 
you for your cooperation.

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b8d3263f-841c-4445-be57-885bc08d012a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How do I run the GoogleAppEngineLauncher.exe on Windows after installing the Google Cloud Platform SDK -- looks the installation is missing a folder.

2015-06-26 Thread Joe White
*Situation*
I installed the Google Cloud Platform SDK (selecting all of the Google App 
Engine options) on Windows 7 Ultimate. Installation succeeded without any 
errors, but attempting to run the Google App Engine launcher fails because 
no \launcher folder was installed (making 
\launcher\GoogleAppEngineLauncher.exe kinda hard to find).

I have uninstalled and reinstalled the Google Cloud Platform SDK several 
times, even selecting only java options as well as all options.

Any help or suggestions would be appreciated!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8157e9c7-1513-481d-9c6f-c3d25a801413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Building an Android Application with Google App Engine

2015-05-30 Thread Joe Seph


Hello guys,
so currently, we are building a mobile  social network application where 
users will be able to upload and view Pictures and Musics files.
we have 2 scenarios in order to implement the GAE with our android 
application and backend control panel. 
- First scenario is to implement the GAE PHP with our application backend 
and let the backend handle all the APIS requests from the mobile side and 
handle them with the GAE but for in case i need to upload a certain image 
to the GAE I will need to encode the image to base64 and decode it on the 
server and then upload it into the GAE and then wait until the upload 
process finishes and return the Reference to the backend then update the 
status on the mobile side as you can notice this scenario will cost me a 
lot of time and the quality of the image will be dropped due to encoding 
and decoding .

https://lh3.googleusercontent.com/-1Ev-7b6-vgs/VWnHNx2n4pI/AAAByp0/JpWMjnknl04/s1600/Untitled%2BDiagram.jpg

- Second scenario is to implement the GAE Directly to the android side and 
let it upload files(Jpg,mp3) directly to the GAE (No need for Base64) and 
then send the references from GAE to the mobile side in order to be sent to 
Backend to be saved in the database .

https://lh3.googleusercontent.com/-3bpN3rNppW4/VWnIiUbg3KI/AAAByp8/1x-9P1KHEF0/s1600/Untitled%2BDiagram2.jpg

I'm not sure if the GAE works with android to achieve the second scenario 
as it will be best solution which will decrease time and will bypass 
decoding and encoding Process. 

so what do you guys think about the above solutions and what is the best 
optimized and efficient solution in your opinion?

thanks ,

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/217092b4-d2f8-4d6a-8ab9-cec88898d053%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-05-29 Thread Joe Seph
Hey Patrice thanks for your quick reply ,
I'm trying to use dynamic image feature using PHP app engine according to 
the official documentation in order to use  this feature I have to use 
CloudStorageTools . as declared in the following code 

require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';
use google\appengine\api\cloud_storage\CloudStorageTools;

$object_image_file = 'gs://my-bucket/myfile.png';
$object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,
['size' = 400, 'crop' = true]);

header('Location:' .$object_image_url);

the problem that I can't find CloudStorageTools Class in Google PHP client 
library .
I have  a doubt that CloudStorageTools is a part of Google cloud storage 
and I have to integrate both Google cloud storage and Google app engine 
together in order to do the above code I could be mistaken .

Thanks ,

On Friday, May 29, 2015 at 6:13:34 AM UTC+3, Joe Seph wrote:

 I downloaded google-api-PHP-client from GitHub from this link ( 
 https://github.com/google/google-api-php-client ) and installed it on my 
 localhost then created a bucket on our google project and used storage 
 class from this library to upload files on this bucket . with this class i 
 could upload and get details of all files in any bucket on this project . 
 now I need to use tools called CloudStorageTools and i need to know if it 
 is separated on this library because I can't find this class and I need to 
 know how to install it in details and preferred if there is any example to 
 how install it on a localhost environment and how to install it on server 
 environment using PHP .

 Thanks .


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a87d6d9e-d187-42e7-a80d-84c8e5aa30ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] GAE php CloudStorageTools class is missing

2015-05-28 Thread Joe Seph
I downloaded google-api-PHP-client from GitHub from this link ( 
https://github.com/google/google-api-php-client ) and installed it on my 
localhost then created a bucket on our google project and used storage 
class from this library to upload files on this bucket . with this class i 
could upload and get details of all files in any bucket on this project . 
now I need to use tools called CloudStorageTools and i need to know if it 
is separated on this library because I can't find this class and I need to 
know how to install it in details and preferred if there is any example to 
how install it on a localhost environment and how to install it on server 
environment using PHP .

Thanks .

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/67d193aa-2610-49cb-b37c-ced6611de94c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App engine examples and documentation suck -Don't waste your time

2014-01-08 Thread joe . shevland
The latest one killing me is the Google Cloud Storage client API. You can 
write to a file (write only, not append), but there is no API to list or 
search the files in your bucket.

I don't understand how an API to store data ala a file system approach 
would be produced without that. Really don't understand why you'd release 
the API without it.

(Yes, you can use the RESTful URL's and fiddle around to achieve the 
purpose. I consider that a hack if you've chosen to use the GCS client API).


On Wednesday, December 4, 2013 5:59:31 AM UTC+11, kingofrockinsf wrote:


 Despite what Google claims ,you are not going to get an app up and running 
 quickly on App Engine.

 Other than the crappy guestbook example ,the Java examples for app engine 
 are missing a lot of explanation.

 I have been trying for two days to get the Tic Tac Toe (Java) example 
 working .

 It took a long time to figure out how to see the API working as a test.
 The only part of it that works is  when you manually put in  a display 
 board call in appspot API explorer.

 It still doesn't work when you try to access it as a normal web page 
 directly from eclipse .

 The OAuth part of it is a joke .
 Even if you are already logged in to gmail and have the email address 
 listed under permis(sions ,the authentication fails and it doesn't let you 
 retry authentication. The Auth page only appears the first time you try it. 

 For an example app ,the explanation and functionality is awful.
 This seem typical of the documentation for this service ,in general.



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: No SDKs in Kepler update

2013-12-28 Thread Joe White
It would appear that you now need to download the SDK(s) separately.  1.8.8 
appears to be the current version.

I followed directions to choose SDK and used the download choice which led 
to https://developers.google.com/appengine/downloads?csw=1 

On Friday, December 27, 2013 5:39:21 PM UTC-5, Sekhar wrote:

 Just noticed that SDKs isn't appearing in the Kepler update (
 https://dl.google.com/eclipse/plugin/4.3), the Juno update shows it fine (
 https://dl.google.com/eclipse/plugin/4.2). Was OK the last time I 
 checked, but is gone today.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Centralized logging to cloud storage

2013-12-26 Thread joe . shevland
Hi,

I'm after a bit of advice on how best to structure a GAE application.

For this application, the frontend instances in GAE will take external 
requests, and in turn I need to log strings from all instances to a central 
location - ideally just a flat file, as there is no requirement for 
NoSQL/SQL and the write operation needs to be as lean/quick as 
possible.Storing each line in NoSQL seemed overkill, and the Blob store 
also didn't seem appropriate (but perhaps it is?). I'd like to keep the 
servlet response time down to an absolute minimum, so had considered the 
Task Queue API also (but again, seems like overkill to achieve what I want, 
would prefer to handle that off-thread in some way).

Initially using 'buckets' in Google Cloud Storage seemed like it might be 
appropriate, as the frontend instances can write data to objects there. But 
the 'write-once' nature of the bucket files prevents appending to them. I'd 
prefer not to have millions of tiny files.

At this stage I'm considering a temporary storage location (i.e. in memory, 
memcached or NoSQL), and then having a cron job fire every X hours to grab 
that data and write a file to GCS, but that feels unwieldy.

So I figured I'd ask to make sure I'm not missing something obvious, as it 
seems to be a common and basic use case. Ultimately the application may use 
map/reduce to take the file/files and post-process them if that helps in 
the equation.

Cheers,
Joe

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: App engine examples and documentation suck -Don't waste your time

2013-12-26 Thread joe . shevland
On Wednesday, December 4, 2013 5:59:31 AM UTC+11, kingofrockinsf wrote:


 Despite what Google claims ,you are not going to get an app up and running 
 quickly on App Engine.


I had the opposite experience, it was a few clicks really in Eclipse. 
Having seen some of the limitations since, well, that's another story. I'd 
agree there's a lot of hampering factors in getting a lot of apps running. 
The one thing which really bothers me is lock-in, porting an app after 
going through the GAE hoops would be tricky. I guess Capedwarf is an out if 
needed (I imagine it would have the same limitations if its mirrors GAE?).
 


 The OAuth part of it is a joke .
 Even if you are already logged in to gmail and have the email address 
 listed under permis(sions ,the authentication fails and it doesn't let you 
 retry authentication. The Auth page only appears the first time you try it. 


I can't understand why there isn't a 'Custom Auth' setting which allows you 
to roll your own authentication. I don't particularly care for any of the 
authentication options for my use case. I think with my app at the moment 
it seems to vary between asking for a Google account login first, then my 
custom auth. Sometimes it doesn't. I seem to see a lot of random behaviour 
with GAE.
 


 For an example app ,the explanation and functionality is awful.
 This seem typical of the documentation for this service ,in general.

  
I've found the documentation pretty good, excellent in most cases, but I 
haven't dug into a huge amount. I'm thinking you've had a frustrating time, 
I can only guess its shoe-horning something that doesn't fit the GAE model 
into GAE (had a few similar frustrations). The limitations are making me 
regret choosing it. All I really want to do is write to a central log file 
from each frontend instance, and that is proving painful.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Just verifying - App Engine is hosted on servers located in the USA right?

2013-09-24 Thread Joe Roets
broken link on official line :(

On Thursday, September 30, 2010 1:50:55 PM UTC-4, Ikai Lan (Google) wrote:

 Here's the official line about where data for Google Apps is stored:

 http://www.google.com/support/a/bin/answer.py?hl=enanswer=106886




-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: allocated id error

2013-08-16 Thread joe
Hi,
Did you ever have any luck finding out more information about this?

I'm experiencing the same problem on runtime: python27, datastore: HRD. I 
don't allocate_ids and only save the objects using ndb.put_multi_aysnc 
inside a transaction. One other thing to note is the object in question 
always has a parent set.

The InternalError: the id allocated for a new entity was already in use, 
please try again exception occurs sporadically and seems to have no 
repeatable cause. It is concerning.

Thanks!

On Sunday, April 7, 2013 9:25:40 PM UTC-4, Koji Matsui wrote:

 Hi, team.

 My application was running fine for years.
 But from 2013/3/30, I got a Internal error, the id allocated for a new 
 entity was already in use, please try again.
 Initially this error did't always happen, but now all put()s to one kind 
 return this error.

 The details are as follow:
 1. This error happens to one kind(Operation kind in my application)
 2. Sometimes I set numeric id by using allocate_ids() when needed.
  Of course I don't do it without using allocate_ids().
 3. This error happens to both put(), with or without setting id.
  This means that I got error even when I simply created and put entity.

 I've checked data for a week, I found that some data of this kind are 
 missing.
 Of course I didn't delete them.
 (I don't know whether this missing data are relevant to this error or not,
 but I think my application is not normal, so I describe all information 
 that I can get.)

 For a week, I've checked my code, but I couldn't find my bug.
 And I don't understand why this error happens.

 Would you please check my application?

 appid: nakasake-dev
 runtime: python27
 datastore: HRD

 thanks in advance.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Industrial TCP/IP connection to GAE

2013-01-15 Thread Joe Gold
Hi All,
 
I will have an industrial piece of equipment  (temp logger) it is connected 
to a router (with port forward enabled).
 
 
I will run Python on the GAE and want to know  Can my GAE web site 
receive simple TCP and UDP packets and process them in Python on GAE.
 
I  will write the code on the temp logger.
 
I heard in some of the GAE talks there may be some security restrictions.
 
Regards
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/9avAxqOpUNoJ.
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] appcfg.py update running without errors, but myapp.appspot.com shows no results or change

2012-07-06 Thread Joe Lewis
This is may seem insane, but appcfg.py update command is working totally 
error free, but my remote myapp.appspot.com is not showing any change.
Does this take time , under rare cases or am I missing out anything? Is 
there any alternative ways to get it working online? Help Please.

I'm using version 1.6.5
Latest version available 1.7.0

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Usy-lrHZn0UJ.
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] Schedule for Eclipse 3.8 (Juno) availability? (Beta or formal)

2012-06-04 Thread Joe White
When might a beta or full availability of the app engine plugin for eclipse 
be available for Eclipse 3.8 (Juno)?
 
Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/WKtqGgMG30IJ.
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 vs Cloud SQL usage cost

2012-05-29 Thread Joe Faith
One additional consideration with Cloud SQL is that you only pay for the 
instance while it is being accessed. If you only use your database for a 
few hours per month then you will only pay for those hours (at $0.10 per 
hour for a D1 instance).

Joe

On Tuesday, May 22, 2012 3:53:22 PM UTC-7, Suyog wrote:

 Hi

 I am trying to compare costs involved in using these storage options. I am 
 summarizing what I know

 For datastore as per https://developers.google.com/appengine/docs/billing
 writes are charged $0.10 per 100k operations and reads at $0.07 per 100k 
 operations. Each high level operations can cause multiple low level 
 operations and the number is well defined.
 You get free quota.
 I read somewhere that datastore scales better though that might depend on 
 the application.

 For cloud SQL as per https://developers.google.com/cloud-sql/docs/billing
 IOs are billed $0.10 per Million and they won't say how many IOs given 
 query will make (packages make the whole thing cheaper)
 You get additional free caching managed by MySQL
 You need to make per month commitment of about $45 (I wish they had 
 something like tier D0 with much lower cost and resources)

 storage costs are same.

 Please let me know if I there are other considerations.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/fHEvC20xmeYJ.
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] CloudSQL connected to Dev Appserver?

2012-02-08 Thread Joe Bourne

Is it possible to connect the DEV appserver to a cloudSQL instance?
(not a local MySQL instance)

or for that matter, is it possible to connect anything on your desktop
to the CloudSQL instance??

-- 
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: CloudSQL connected to Dev Appserver?

2012-02-08 Thread Joe Bourne
Thanks for the link... Id seen the details about Django being able to
connect, but I glanced over it quickly as it didnt seem relevant to my
needs.
Im using Python2.7 + webapp2, so was hoping i could connect directly
to a dev instance of CloudSQL from within Python Code.
Is there an easy way to connect from within Python code? or do i need
to go take Django apart to see how its working??

Cheers









On Feb 8, 1:29 pm, Johan Euphrosine pro...@google.com wrote:
 Hi Joe,

 Sounds like a good candidate for a Stack Overflow question :)

 Which language/framework are you using? If you are using Django this is
 easy:https://developers.google.com/cloud-sql/docs/django#authentication

 
 When running on dev_appserver.py during development, the Django backend
 communicates with Google Cloud SQL over an HTTP API, which requires a valid
 OAuth2 user token to authenticate the request.
 

 Hope that helps, and feel free to post the url of your stackoverflow
 question if you fill any.





 On Wed, Feb 8, 2012 at 2:12 PM, Joe Bourne joebou...@gmail.com wrote:

  Is it possible to connect the DEV appserver to a cloudSQL instance?
  (not a local MySQL instance)

  or for that matter, is it possible to connect anything on your desktop
  to the CloudSQL instance??

  --
  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.

 --
 Johan Euphrosine (proppy)
 Developer Programs Engineer
 Google Developer Relations- 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.



[appengine-java] Re: Channel API reconnect after token timeout

2012-01-06 Thread Joe McMullin


Hey,
I am also experiencing this problem. Trying to reconnect from the client 
side 
after the token expiries with no luck, I'm using the gwt-gae-channel 
library on 
client side.
I was just wondering if you have found a solution to this problem? 

Thanks 
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/qwj6druVlUsJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: Large number of DeadlineExceededError messages today

2011-11-19 Thread Joe Mac
Hey,

We are see the same issue with our app, it seems to be okay now though. 
We have the same issue two days ago 7pm GMT. We are just getting worried 
about the service on the app Engine.


Joe 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/dVjnHz97TnUJ.
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] AppEngine Dashboard running really slowly..

2011-10-15 Thread Joe Bourne
Ive noticed recently that the AppEngine Dashboard loads pages really
slowly.. just switching between different pages takes ages, and truing
to view the DataStore Viewer takes about 30seconds.
I know its not my connection speed as other sited load instantly, but
anything to do with AppEngine feels like im back on dialup!
Anyone else getting this too??

-- 
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: AppEngine Dashboard running really slowly..

2011-10-15 Thread Joe Bourne
Seems to be running a lot quicker now... wonder what was going on??

On Oct 15, 10:21 am, Joe Bourne joebou...@gmail.com wrote:
 Ive noticed recently that the AppEngine Dashboard loads pages really
 slowly.. just switching between different pages takes ages, and truing
 to view the DataStore Viewer takes about 30seconds.
 I know its not my connection speed as other sited load instantly, but
 anything to do with AppEngine feels like im back on dialup!
 Anyone else getting this too??

-- 
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: GAE pricing is not suited for smaller apps

2011-09-03 Thread Joe Bourne
I'd have to disagree - AWS servers are an expensive option and dont
offer the zero maintenance approach that GAE provides.
If you rent an  Amazon server,  there's a whole bunch of stuff you
need to do to setup, manage and maintain your application, so if its
just a small application the cost overhead makes GAE a much better
option.

Also, if you dont need load balancing etc, AWS is the expensive
option. Once you price it out, a dedicated servers or VPS solution is
often cheaper as they very often come with free unlimited bandwidth.

GAE, (even at $9 per month) is a VERY cost effective, trouble free way
to host small web applications.


On Sep 3, 12:39 am, supercobra superco...@gmail.com wrote:
 Good point about small apps I read on this group.

 Most apps are not intended to be used by hundred of thousands or
 millions of users so the point that Google makes, i.e. that
 scalability is what we pay for on GAE, is not relevant for those
 smaller apps. The vast majority of apps don't need load balancing and
 therefore a simple AWS server, or Heroku Java setup can do a whole lot
 of work and are 10x cheaper than GAE.

 For example our typing race appwww.typrx.comruns on App Engine. We
 are growing the user base constantly but with the new pricing it is
 really hurting us.

 I think that Google App Engine won't be the preferred platform for
 those smaller apps for a pricing like the one they just announced.

 === Google: Fix this. ===

 -- superco...@gmail.comhttp://supercobrablogger.blogspot.com/

-- 
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] New Prices + Really Small Apps - what will happen??

2011-09-02 Thread Joe
After seeing all the uproar regarding the new pricing model, I'm wondering 
how it will affect small applications.

I currently have a few small applications with billing enabled. I had to 
enable billing so that i could use one of the API's (Cant remember which)
My apps are so small, that currently they dont use any more than the free 
allowance.

Question1 - Under the new pricing model, will these apps now incur a $9 
monthly fee because billing is enabled?

In the new pricing model, there doenst seem to be any API restriction 
between FREE and PAID apps.

Question2 - So can i simply disable billing and the app will continue to run 
with no API restrictions on the free allowance?

Cant find any clear info on this, so as a precaution im just disabling 
billing on all of my apps.. (they are not mission critical - just play 
things anyway!)


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/GmyAVMtZvY0J.
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.



Re: [google-appengine] Blobstore and New Billing

2011-09-02 Thread Joe
With Billing Enabled to make use of the blobstore, if we fail to disable 
billing, i presume the $9 monthly fee will kick in?

So we need to time the disabling of billing very carefully so as to keep the 
Blobstore API working, but not incur a $9 fee for the first month.
Does google have a plan for this? i dont want a $9 bill for an app that 
should be free!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/jGO3lCwAi-AJ.
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: Sending result tuples through many http responses

2011-06-13 Thread Joe
have you tried using Django Paging? just request each page in turn
until you get all the data you need..
(i've never used it for such a large dataset so no idea how it will
perform!)

Try this link:
http://appengine-cookbook.appspot.com/recipe/simple-pagination-djangocorepaginator




On Jun 10, 4:49 pm, Robert Kluin robert.kl...@gmail.com wrote:
 Hi Bruce,
   One option might be the Channel API, depending on what your client
 is written in.  I assume you're not sending that many results to a
 browser though, so it might not work for you.
    http://code.google.com/appengine/docs/python/channel/

   Another option would be for your client to submit the request, then
 you could kick off a background job (using tasks) to write the result
 set to the blobstore, and once complete the client could download the
 blob and process it.  You're client would need to periodically check
 with the server to know when the query is complete.
    http://code.google.com/appengine/docs/python/blobstore/overview.html#...

   And, the most basic solution to implement from the server side would
 be to use cursors. If you can adjust the client to download chunks at
 a time, this would probably be the easiest.
    http://code.google.com/appengine/docs/python/datastore/queries.html#Q...

 Robert







 On Thu, Jun 9, 2011 at 06:06, Bruce Aloe brucea...@gmail.com wrote:
  Hello,

  I store quite a lot of data (e.g 10 million) tuples (rows) in my
  Person kind (table) at GAE datastore. Now i want to query the Person
  kind from my web application.  For example my web application sends a
  query (e.g select * from Person where height  2) through a http
  request to my server (python code) and the server gets the query and
  run it in order to generate the result tuples. For this query (select
  * from Person where height  2), the server will generate quite big
  dataset (tuples) back since not many people are taller than 2m. Due to
  the generated result tuples are too big, i can not send the whole
  result tuples in one time through a http response to my web
  application. Therefore, i use cursor with the query and each time
  generate a partial result tuples (e.g 1) from the total result
  tuples generated by running the query and try to return the 1
  result tuples each time through a http response. As you might realize,
  i send just one http request with a query to my server and want my
  server to send many http responses to my web application and each
  response carries 1 result tuples to my web application.

  My question is: How can my server sends many http responses back to my
  web appilcation for a http request sending from my web application?

  Thank you very much!

  Bruce

  --
  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 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.



Re: [appengine-java] Can't create application - SMS says account already verified

2011-06-03 Thread Joe White
Plus I get this error message *← The phone number has been sent too many 
messages or has already been used to confirm an account. *
*
*

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/a3pYYUxSNWdwUzBK.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Can't create application - SMS says account already verified

2011-06-03 Thread Joe White
That would be an option if I had more than 1 phone number. 
All I have is my cell phone number. I had an email account with the wifey 
which was registered with my cell. 
I opened up my own account which also has my cell. can I un-register my cell 
with one of the two accounts or am I just screwed?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/VklhSlRkbU5QNTRK.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Can't create application - SMS says account already verified

2011-06-02 Thread Joe White
Ikai,

thanks for your reply. I already did a search and I did not find the answer 
to my problem.
On other posts, one of the developer there told the person that they fixed 
it and to try again.
I have Verizon in the US and I have received numerous SMS messages before, 
even a calendar reminder a few minutes ago.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/cEJFazI4SmVVTkFK.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Can't create application - SMS says account already verified

2011-06-01 Thread Joe White
I'm trying to create an application but it keeps asking me for my cell
phone for SMS verification. When I enter it, it says that it's already
been sent too many messages or already verified.
What gives? How do I fix this?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] making dev_appserver listen on all network interfaces and not just localhost/loopback?

2011-05-02 Thread joe random coder
is there any way to achieve this? i couldnt google a fast answer.

I'd like to be able to test apps locally from more than one pc on the
lan..

(I'm interested in a  java sdk answer now, but python answer are very
welcome too)

-- 
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.



Re: [appengine-java] Way of blocking XMPP DOS attack?

2011-04-29 Thread joe kolba
create a timer and only allow a certain amount of messages to be sent within
a certain amount of time

On Fri, Apr 29, 2011 at 9:20 AM, kushal kushald...@gmail.com wrote:

 It looks like all chats come from one IP address. Is there some other way
 to block this attach?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] HItting query limit using Geocoding API from App Engine

2011-04-06 Thread Joe Tyson
Hello,

This seems to be more of a problem with the geocoding api than app engine, 
but I'm unable to get ahold of anyone on that team so I'll post here 
instead.

The new Geocoding API doesn't do any form of url signing or api keys for 
non-premier accounts and resorts to using IP address to control quotas. 
Since App Engine uses a shared IP pool, my app gets clumped in the quota 
limitations of other apps. This must be a somewhat frequent problem for 
other apps, since 90% of my geocoding attempts get an 'OVER_QUERY_LIMIT' 
message. These last few days, it has been closer to 100% at 500-600 queries 
spread out over an 15-20 hours.

I'll add that I don't think using a pool of IPs is at all the issue. Any 
large scale deployment would be hitting the Geocoding API from a pool of 
IPs, and if the pool were dedicated to a single service, the service would 
be circumventing the Geocoding API quotas anyway.

Is anyone else on the list having this issue? Have you been able to work 
with the geocoding team to get auth tokens that don't require having a 
premier account?

joe

-- 
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.



Re: [google-appengine] Re: HItting query limit using Geocoding API from App Engine

2011-04-06 Thread Joe Tyson
We are delegating some of that to the client now, but it is far
less than ideal. Our client is mobile, so every byte that we send
over can end up costing our users money (you would be surprised
how sensitive some people are to this).

Thanks for the resource, though. I wish country level would be
enough information for us :-(.

Doing some additional searching around, it looks this issue has
been bought up by some other users on the maps forum:
http://goo.gl/RyJ9w


On Wednesday, April 6, 2011 at 2:44 PM, nickmilon wrote: 
 May be you can delegate the geocoding job to the client side using
 js ?
 also you can take a look here : 
 http://gaengine.blogspot.com/2010/11/world-countries-and-ip-geocoding-api.html
 
 Nick ;-)
 
 
 
 On Apr 6, 7:25 pm, Joe Tyson joety...@gmail.com wrote:
  Hello,
  
  This seems to be more of a problem with the geocoding api than app engine,
  but I'm unable to get ahold of anyone on that team so I'll post here
  instead.
  
  The new Geocoding API doesn't do any form of url signing or api keys for
  non-premier accounts and resorts to using IP address to control quotas.
  Since App Engine uses a shared IP pool, my app gets clumped in the quota
  limitations of other apps. This must be a somewhat frequent problem for
  other apps, since 90% of my geocoding attempts get an 'OVER_QUERY_LIMIT'
  message. These last few days, it has been closer to 100% at 500-600 queries
  spread out over an 15-20 hours.
  
  I'll add that I don't think using a pool of IPs is at all the issue. Any
  large scale deployment would be hitting the Geocoding API from a pool of
  IPs, and if the pool were dedicated to a single service, the service would
  be circumventing the Geocoding API quotas anyway.
  
  Is anyone else on the list having this issue? Have you been able to work
  with the geocoding team to get auth tokens that don't require having a
  premier account?
  
  joe
 
 -- 
 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.
 

-- 
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.



Re: [appengine-java] NullPointerException with BlobService using Eclipse plugin

2011-02-24 Thread Joe Hudson
Ok thanks Ash.

I actually get the URL from the BlobService.  Are you saying I should use 
form action=/upload/ + {url I get from BlobService} ...

And, if this is the case, I'm assuming I should only do this for local 
testing, correct?  Should I remove the /upload prefix when I deploy?

Thank you very much for your help.

Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] unable to use blob service with Eclipse plugin

2011-02-21 Thread Joe Hudson
Hi,

I get a NPE when uploading a file to the blob service in my local Eclipse 
environment.  Can anyone help me understand what I need to do to fix this 
situation?  Thanks.

I'm using App Engine 1.4.0.

My form:
form target=FormPanel_prj_1 enctype=multipart/form-data method=post 
action=/_ah/upload/aglub19hcHBfaWRyGwsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxgJDA
div class=gwt-Label ui-input-textDescription/div
input type=text class=ui-input-text ui-corner-all 
ui-shadow-inset ui-body-c name=description

div class=gwt-LabelFile/div
input type=file class=gwt-FileUpload name=file

input type=submit
/form


[WARN] /_ah/upload/aglub19hcHBfaWRyGwsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxgJDA
java.lang.NullPointerException
at 
com.google.appengine.api.blobstore.dev.UploadBlobServlet.handleUpload(UploadBlobServlet.java:380)
at 
com.google.appengine.api.blobstore.dev.UploadBlobServlet.access$000(UploadBlobServlet.java:72)
at 
com.google.appengine.api.blobstore.dev.UploadBlobServlet$1.run(UploadBlobServlet.java:101)
at java.security.AccessController.doPrivileged(Native Method)
at 
com.google.appengine.api.blobstore.dev.UploadBlobServlet.doPost(UploadBlobServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at 
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at 
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:349)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

-- 
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.



[appengine-java] Custom RPC Exception in GWT 2.0.4

2011-01-25 Thread joe kolba
I am trying to send a custom Exception from the server side to the client
via RPC.

Here is my current set up:

serviceImpl throws ErrorException

service: throws ErrorException

serviceAsync: throws ErrorException

ErrorException extends IllegalArgumentException implements IsSerializable


In my onFailure method of my AsyncCallback i get the following error in my
dev console when it catches the Exception:

com.google.gwt.dev.shell.HostedModeException: Something other than an int
was returned from JSNI method
'@com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader::readInt()':
JS value of type undefined, expected int

any help would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Which framework?

2011-01-14 Thread joe kolba
I would use spring 3.  Hibernate and java server faces really aren't
considered frameworks,  Both can be integrated with Spring.  With Spring you
can use MVC design patterns, Spring Security, JSTL and much more...

On Fri, Jan 14, 2011 at 9:39 AM, ? Ninad ? Kulkarni teh.dev...@gmail.comwrote:

 Hello, I'm a programming student and new to GAE

 I'm using a NetBeans plug-in to develop my application

 Which framework should I use for making simple apps?
 Spring Web, JavaServer Faces, Hibernate or any other .

 Thank you

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Which framework?

2011-01-14 Thread joe kolba
I have tried struts and groovy, i still prefer Spring.  You don't have to
have a framework for a GWT project, I guess it all comes down to the size
and complexity of the project.

On Fri, Jan 14, 2011 at 9:56 AM, Didier Durand durand.did...@gmail.comwrote:

 Hi,

 Have a look at this very recent thread on this same topic


 http://groups.google.com/group/google-appengine-java/browse_thread/thread/ef090c0e6ea4a6d6/f454cf631b9a176e?lnk=gstq=lighweight+framework#f454cf631b9a176e

 regards

 didier

 On Jan 14, 3:52 pm, joe kolba joekolb...@gmail.com wrote:
  I would use spring 3.  Hibernate and java server faces really aren't
  considered frameworks,  Both can be integrated with Spring.  With Spring
 you
  can use MVC design patterns, Spring Security, JSTL and much more...
 
  On Fri, Jan 14, 2011 at 9:39 AM, ? Ninad ? Kulkarni 
 teh.dev...@gmail.comwrote:
 
   Hello, I'm a programming student and new to GAE
 
   I'm using a NetBeans plug-in to develop my application
 
   Which framework should I use for making simple apps?
   Spring Web, JavaServer Faces, Hibernate or any other .
 
   Thank you
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google App Engine for Java group.
   To post to this group, send email to
   google-appengine-java@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Google app engine for business needs

2011-01-11 Thread joe kolba
Hi,
I am relatively new to GWT.  I am a developer / engineer currently
working on a GWT 2.0.4 project.  I was wondering if there is a way to
set up a App Engine locally on my own java server so I could compile
and deploy directly to our development and test servers straight out
of myeclipse.  I would really appreciate any advice and or comments on
how this can be done.  Please email me at joekolb...@gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Google app engine for business needs

2011-01-11 Thread joe kolba
Hi,
Thank you for the help.  Currently our applications are using gwt with
smartgwt and google rpc.  We connect to external sql databases through a
JNDI C3P0 connection pool.  Not sure if AppScale will support any of that
but I will take a look at it.  Basically I just need a way to push code out
to our servers after we GWT compile, preferably within myeclipse.

On Tue, Jan 11, 2011 at 2:12 PM, Didier Durand durand.did...@gmail.comwrote:

 Hi,

 You may try to instally AppScale (open source version of Ap Engine) if
 you wish to replicate exactly App Engine: see

 http://googleappengine.blogspot.com/2010/10/research-project-appscale-at-university.html
 as starting point.

 You have to be in a very specific situation to target this replication
 of GAE: would a regular servlet server + database not satisfy your
 needs ?

 regards

 didier


 On Jan 10, 8:39 pm, joe kolba joekolb...@gmail.com wrote:
  Hi,
  I am relatively new to GWT.  I am a developer / engineer currently
  working on a GWT 2.0.4 project.  I was wondering if there is a way to
  set up a App Engine locally on my own java server so I could compile
  and deploy directly to our development and test servers straight out
  of myeclipse.  I would really appreciate any advice and or comments on
  how this can be done.  Please email me at joekolb...@gmail.com.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] App Engine Create New App

2010-09-13 Thread joe
Everytime I try to create a new app in the app engine, I'm brought to
a screen to enter my mobile number and carrier.
When I put in my information, it gives me a message that the code has
been sent to the phone too many times, but I have never gotten a text
message with the code to enter.

Can someone please help point me in the right direction so I can get
started creating apps?

Thanks in advance...

-- 
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-appeng...@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.



[appengine-java] Re: estimated number of entries in memcache

2010-05-28 Thread Joe Fawzy
Hi
any one used memcache here?!!!
please i need some help
any comment will be greatly appreciated
thanks a lot
Joe

On May 27, 11:14 pm, Joe Fawzy joewic...@gmail.com wrote:
 Hi all
 i know that memcache is documented as an unreliable storage that means
 that nothing is guarenteed
 BUT i am asking about your experience using it

 i have a service with a public api , i want to monitor usage of this
 api by each user, obvious i cannot go to the datastore on every
 request to update the usage count, so i have to use memcache to
 temporary store the values and periodically(may be every minute)
 update the datastore

 so can i store about 1 million entry each about 100 byte for 2 or
 three minutes without the system evict them
 obviously sometimes i expect to lose some entries, this is something i
 can cope with, but does the system support about a million entry even
 for a short time(2-3 min)

 it will be great if someone from google give some outlines(even if it
 is not official)
 BUT also i will appreciate anyone who will write about his own
 experience

 thanks
 Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] estimated number of entries in memcache

2010-05-27 Thread Joe Fawzy
Hi all
i know that memcache is documented as an unreliable storage that means
that nothing is guarenteed
BUT i am asking about your experience using it

i have a service with a public api , i want to monitor usage of this
api by each user, obvious i cannot go to the datastore on every
request to update the usage count, so i have to use memcache to
temporary store the values and periodically(may be every minute)
update the datastore

so can i store about 1 million entry each about 100 byte for 2 or
three minutes without the system evict them
obviously sometimes i expect to lose some entries, this is something i
can cope with, but does the system support about a million entry even
for a short time(2-3 min)

it will be great if someone from google give some outlines(even if it
is not official)
BUT also i will appreciate anyone who will write about his own
experience

thanks
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: IllegalArgumentException: ETA too far into the future

2010-05-16 Thread Joe Fawzy
Hi
docs says it is 30 days from new Date() value
Joe

On May 16, 1:43 am, derkent derkentgib...@gmail.com wrote:
 oops the bug was in my code instead of a delay or countdown, I was
 giving a time value, so the delay would have been something like 2010
 years.

 I would still be curios to know what max eta is though.

 On May 16, 12:21 am, derkent derkentgib...@gmail.com wrote:





  Hi-ya

  How far ahead can you queue a task? I just wanted to queue a task to
  start once the weekend is over (ie two days), but I get this error.

  Does anyone know what the limit is? I cant find it anywhere.

  thanks.

  kent

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine for Java group.
  To post to this group, send email to google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) without @PrimaryKey

2010-05-14 Thread Joe Fawzy
Hi all
can i use @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)on
ordinary field(non key fileld ,i.e. without @PrimaryKey)

that's because my domain class in a child in parent-child relationship
so its primary key cannot be of type Long , but i still wanna a unique
long number generated for me upon  entity save
so can i use @Persistent(valueStrategy =
IdGeneratorStrategy.IDENTITY)Long uniqueNumber;
and it work as it works in conjugation with @PrimaryKey

i wanna know if this is a supported feature not a hack, so please JDO
experts clarify this

thanks in advance
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Does the new OpenID and OAuth work only with google accounts?

2010-05-14 Thread Joe Fawzy
Hi all
Does the new OpenID and OAuth work only with google accounts?
cannot i use my own account management or my user object?

please clarify
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] what options when serialVersionUID change

2010-05-08 Thread Joe Fawzy
Hi all
using JDO for persistence
i have a data store class A which persist its child B as serializable
(blob object)
what is my options when the  serialVersionUID  change?
do i have to delete all instances of A and recreate them or what?
how application versions deal with this?
can applying new version help in the port effort ,or they use the same
datastore and the same cde so will result in same errors
thanks
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] About memcache specs

2010-05-08 Thread Joe Fawzy
Hi all
i was wondering how many MB will appengine give an app in memcache
capacity?
i know that it depends and it cannot be determined
i do not need exact figure but a rough approximation , as i am trying
to reduce application load time by storing common data in memcache, so
i would like to know how big it is in order to determine how much data
i will store init ,otherwise some data will be instantly removed

another question:
 it seems that memcache eviction policy is LRU so does a call to
contains method count toward the USE of an entry or do i have to call
a get in order to keep it from being evicted

if i have a running application, which have some load, and have a
finite set of entry (a constant number) how much does it take to evict
an unused entry?


i wanna know about your experience with memcache not just the official
statment

thanks
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: when session expires in the data store

2010-05-08 Thread Joe Fawzy
Hi dear

actually the session data cannot be analyzed that easy as it is just a
blob of the session with all the web framework things
and the expires field is an int so i do not know how this translate to
date to delete non expired ones

any help
thanks
Joe

On May 8, 3:30 pm, Piotr Tarsa piotr.ta...@gmail.com wrote:
 I think you should do some cron job.

 I think keeping expired sessions can be an useful feature. You can dump
 session to your local disk and analyze them. For example you can log some
 user actions to sessions and then analyze them offline.

 2010/5/8 Joe Fawzy joewic...@gmail.com





  Hi
  i have thausands of entries in my ah_SESSION data store table, it
  dates several days back
  it does not expire or delete, i think it is non sense to keep all the
  sessions even that expired in the web container in the data store
  if it expires , when it expires? and how to trigger that
  if it does not expires or auto delete? is it a feature?
  How can i delete them? do i have to do it myself? or appengine have a
  setting for it?
  i know i can do it in code .. but
  What is your experience with it?

  Joe

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B 
  unsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: when session expires in the data store

2010-05-08 Thread Joe Fawzy
Hi Peter
thanks for your reply and for the link to the other thread

it will be great if u posted the code

thanks a lot

Joe

On May 8, 7:50 pm, Peter Ondruska peter.ondru...@gmail.com wrote:
 expires field is long and can be used as Date.getTime(). 
 Seehttp://groups.google.com/group/google-appengine-java/browse_thread/th...
 and if you need hint on code for cleaning up expired sessions let me
 know. I can post the source.

 On May 8, 3:54 pm, Joe Fawzy joewic...@gmail.com wrote:





  Hi dear

  actually the session data cannot be analyzed that easy as it is just a
  blob of the session with all the web framework things
  and the expires field is an int so i do not know how this translate to
  date to delete non expired ones

  any help
  thanks
  Joe

  On May 8, 3:30 pm, Piotr Tarsa piotr.ta...@gmail.com wrote:

   I think you should do some cron job.

   I think keeping expired sessions can be an useful feature. You can dump
   session to your local disk and analyze them. For example you can log some
   user actions to sessions and then analyze them offline.

   2010/5/8 Joe Fawzy joewic...@gmail.com

Hi
i have thausands of entries in my ah_SESSION data store table, it
dates several days back
it does not expire or delete, i think it is non sense to keep all the
sessions even that expired in the web container in the data store
if it expires , when it expires? and how to trigger that
if it does not expires or auto delete? is it a feature?
How can i delete them? do i have to do it myself? or appengine have a
setting for it?
i know i can do it in code .. but
What is your experience with it?

Joe

--
You received this message because you are subscribed to the Google 
Groups
Google App Engine for Java group.
To post to this group, send email to
google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
.
For more options, visit this group at
   http://groups.google.com/group/google-appengine-java?hl=en.

   --
   You received this message because you are subscribed to the Google Groups 
   Google App Engine for Java group.
   To post to this group, send email to 
   google-appengine-j...@googlegroups.com.
   To unsubscribe from this group, send email to 
   google-appengine-java+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/google-appengine-java?hl=en.

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine for Java group.
  To post to this group, send email to google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] setting mail sender address to Google apps address

2010-05-03 Thread Joe Fawzy
Hi all
i deployed my application on appengine, set my domain name to point to
it through google apps as described and now google apps also manage my
email addresses such as i...@my-domain.com
so, is it possible to use this address to send emails using the mail
api
currently  i got illegalArgumentException , unAuthorized sender ,
so is it possible to add google apps managed email addresses as an
authorized snders
thanks
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: about count query

2010-04-28 Thread Joe Fawzy
it is supported ,use it
u can find several posts about it in this group
joe

On Apr 28, 4:47 am, Chau Huynh cmhu...@gmail.com wrote:
 On Wed, Apr 28, 2010 at 5:24 AM, Joe Fawzy joewic...@gmail.com wrote:

 select count (this) from User
 Since when app engine support group operation? ;-)





 On Wed, Apr 28, 2010 at 5:24 AM, Joe Fawzy joewic...@gmail.com wrote:
  Hi all
  i am using JDO and i want to count the number of entities so which is
  more efficient
  using a count quert, eg:
   select count (this) from User
  or  key only query
   select id from User
   then get the count using resultList.size();

  by the way , i know that the recommended way on appengine is to
  precompute but this cannot be done in my case
  thanks
  Joe

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B 
  unsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] about count query

2010-04-27 Thread Joe Fawzy
Hi all
i am using JDO and i want to count the number of entities so which is
more efficient
using a count quert, eg:
 select count (this) from User
or  key only query
 select id from User
 then get the count using resultList.size();

by the way , i know that the recommended way on appengine is to
precompute but this cannot be done in my case
thanks
Joe


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] persisting primitive list using JPA

2010-04-27 Thread Joe Fawzy
Hi all
GAE JPA implementation level is version 1 which does not support list
of primitives
and i want to port my JDO code to JPA
so how can i convert
@Persistent private ListString tags;
to its JPA counterpart which work on appengine as a list property not
a blob(not using serialization)
and if possible to use a valid JPA annotation in that context as using
@Basic on a list is not allowed by the specs and my ide (Intellij)
complains
thanks
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] maximum size of a datastore API call response

2010-04-27 Thread Joe Fawzy
Hi all
in the doc , section Quotas and Limits
i found maximum size of a datastore API call response= 1 MB
what does this mean?
does it mean that the query result cannot exceed 1 MB , so what about
the rest of the result, does the JDO layer take care of this and
handle it transparently or what?
do i have to calculate anything for my queries or repeat them or page
them to cope with this limitation?
How exactly this limitation affects my code?
another question
as of release 1.3.2 the 1000 limitation of query result were gone...
so if i want to get the entities from 1500 to 1520
is using the traditional way (in JDO, using the
query.range(begin,limit)) uses cursors or do i have to use the cursor
api as described in the docs
is the default way (without cursors) still get all the results and
drop the first 1500
thanks in advance
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Which is more efficient? single query or a key only query followed by batch get

2010-04-27 Thread Joe Fawzy
Hi all
the title says it all...
which one is more efficient in:
   cpu usage
   time consumption
thanks
Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Does AppEngine really include JPA Support

2010-04-27 Thread Joe Fawzy
Hi dear
it seams that u r new to appengine
please take enough time to understand the datastore concepts as it is
not a RDBMS
and yes appengine JPA code is not 100% portable, you have to do some
work (both on the domain layer and the dao layer) to port RDBMS jpa
code to appengine and the reverse
Joe

On Apr 13, 9:38 am, Al Sutton a...@funkyandroid.com wrote:
 Fromhttp://code.google.com/appengine/docs/java/datastore/usingjpa.html;

 The App Engine Java SDK includes an implementation of JPA 1.0 for the
 App Engine datastore.

 But from a couple of days work I've already found the following things
 which don't comply with the JPA spec;

 - Strings can't be used for @Id values (unless you use a GAE specific
 extension).
 - Longs can't be used for @Id values for items in a List.
 - Maps seem totally broken. Trying the example from 9.1.27 of the JPA
 spec (ejb-3_0-fr-spec-persistence.pdf) generates a method about FK
 maps being not supported.

 Did I miss something, or does AppEngine actually not contain an
 implementation of JPA, but contains a semi-functional work in progress
 which only provides some features of JPA?

 Al.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: Sign in to Google App Engine Programmatically

2010-04-20 Thread Joe
Does anyone know if it's possible to do this? I am also trying to
create Google App Engine ID programmatically.

On Apr 19, 10:22 pm, Joe form.manager.tes...@gmail.com wrote:
 Hi,

 I'm trying to log in to Google App Engine with my Google Account, and
 I was wondering if it's possible to do this programmatically.
 I want to retrieve all the App ID that I have in Google App Engine
 (https://appengine.google.com/) through my application (written in
 Java).

 What kind of authentication would be needed to do this? Can I use
 ClientLogin for this?

 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appeng...@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] Create more than 10 applications

2010-04-11 Thread Joe Walnes
Hello Google

Please can I get my GAE application limit increased from 10. I promise
I'm not evil.

thanks
-Joe

-- 
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-appeng...@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: DNS providers that support wildcard CNAME's?

2010-03-18 Thread Joe
Try http://www.editdns.net i think they can support wildcards :)

On Feb 28, 6:52 pm, Ross M Karchner rosskarch...@gmail.com wrote:
 Now that App Engine supports wildcard domain mappings (as of SDK 1.3.1), can
 anyone recommend a DNS host that supports wildcard CNAME's?

-- 
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-appeng...@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] Specifying/overriding input type for model forms. Can this be done?

2010-02-22 Thread joe
Hello to all,

Let's say I have a model and a form for that model:

class Score(db.model):
choices = [i for i in range(1,10)]
opponent = db.IntegerProperty(choices=choices)

class ScoreForm(djangoforms.ModelForm):
class Meta:
model = Score

I presume that because the opponent property of Score is a list,
AppEngine presumes the field should be of the drop-down variety.  (In
this case, a drop down menu containing the numbers 1-10.)

But what if I want to let the user type in the number, rather than
selecting from the drop down list.  Is this possible?  More generally,
how can I override what type of form input AppEngine wants to use when
forms are rendered with what I want to use?

Thank you for your help.

Sidenote:

I **think** the whole widgets thing in Django might do this, but I
can't figure out how to get that to jive with AppEngine.  That may not
even be the right track, though.


-- 
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-appeng...@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.



[appengine-java] Eclipse GAE plugin problem with Datanucleus enrichment

2010-02-02 Thread Joe Hudson
Hello,

I am using the Google App Engine Eclipse plugin and get an error when
I save a Java class with a get(String) method.

The enhancer is throwing a NullPointerException. I have added the
transient annotation and don't know what else I can do to avoid this
issue. Can anyobody please give me some advice?

I am using datanucleus-jpa-1.1.5.jar

I also posted this to the datanucleus forum but there doesn't seem to
be too much activity there so I was hoping I would get some ideas here
as well.  http://www.jpox.org/servlet/forum/viewthread_thread,5954#31824

Thank you very much.

The referenced code is below:

@Entity
public class TestEntity implements Serializable {

private String dummyProperty;

public String getDummyProperty() {
return dummyProperty;
}

public void setDummyProperty(String dummyProperty) {
this.dummyProperty = dummyProperty;
}

@Transient
public Object get(String key) {
return null;
}
}


And, here is the stack trace:

DataNucleus Enhancer (version 1.1.4) : Enhancement of classes
Errors were encountered when loading the specified MetaData files and
classes. See the nested exceptions for details
Feb 2, 2010 1:45:24 PM org.datanucleus.enhancer.DataNucleusEnhancer
main
SEVERE: DataNucleus Enhancer completed with an error. Please review
the enhancer log for full details. Some classes may have been enhanced
but some caused errors
Errors were encountered when loading the specified MetaData files and
classes. See the nested exceptions for details
org.datanucleus.exceptions.NucleusUserException: Errors were
encountered when loading the specified MetaData files and classes. See
the nested exceptions for details
at org.datanucleus.metadata.MetaDataManager.loadClasses
(MetaDataManager.java:426)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput
(DataNucleusEnhancer.java:743)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance
(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main
(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:
57)
at com.google.appengine.tools.enhancer.Enhance.init(Enhance.java:60)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41)
Caused by: java.lang.NullPointerException
at
org.datanucleus.jpa.metadata.JPAAnnotationReader.processMemberAnnotations
(JPAAnnotationReader.java:8
53)
at
org.datanucleus.metadata.annotations.AbstractAnnotationReader.getMetaDataForClass
(AbstractAnnotation
Reader.java:159)
at
org.datanucleus.metadata.annotations.AnnotationManagerImpl.getMetaDataForClass
(AnnotationManagerImpl
.java:136)
at org.datanucleus.metadata.MetaDataManager.loadAnnotationsForClass
(MetaDataManager.java:2278)
at org.datanucleus.metadata.MetaDataManager.loadClasses
(MetaDataManager.java:385)
... 10 more
Nested Throwables StackTrace:
DataNucleus Enhancer completed with an error. Please review the
enhancer log for full details. Some classes may have been enhanced but
some caused errors
java.lang.NullPointerException
DataNucleus Enhancer completed and no classes were enhanced. Consult
the log for full details
at
org.datanucleus.jpa.metadata.JPAAnnotationReader.processMemberAnnotations
(JPAAnnotationReader.java:8
53)
at
org.datanucleus.metadata.annotations.AbstractAnnotationReader.getMetaDataForClass
(AbstractAnnotation
Reader.java:159)
at
org.datanucleus.metadata.annotations.AnnotationManagerImpl.getMetaDataForClass
(AnnotationManagerImpl
.java:136)
at org.datanucleus.metadata.MetaDataManager.loadAnnotationsForClass
(MetaDataManager.java:2278)
at org.datanucleus.metadata.MetaDataManager.loadClasses
(MetaDataManager.java:385)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput
(DataNucleusEnhancer.java:743)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance
(DataNucleusEnhancer.java:545)
at org.datanucleus.enhancer.DataNucleusEnhancer.main
(DataNucleusEnhancer.java:1252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:
57)
at com.google.appengine.tools.enhancer.Enhance.init(Enhance.java:60)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.

[appengine-java] java.lang.NoClassDefFoundError: Could not initialize class org.datanucleus.store.appengine.query.DatastoreQuery

2010-01-29 Thread Joe
Hello,

I'm getting the exception in the subject line when I try to do a
simple query.  Here's the code:

PersistenceManager pm = Persistence.getInstance ();
String query = select from  + Registration.class.getName ();
Query q = pm.newQuery (query);
ListRegistration list = (ListRegistration) q.execute ();

The newQuery() call generates the stack trace below.

I'm using GWT 2.0 and App Engine 1.3.  I've also got the following
DataNucleus jars:

datanucleus-appengine-1.0.4.1.final.jar
datanucleus-core-1.1.5.jar
datanucleus-jpa-1.1.5.jar

Anyone seen this?  Or have any suggestions?

Thanks,
Joe

Jan 29, 2010 11:20:03 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1264807203761000] javax.servlet.ServletContext log: Exception
while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
fr.orange.lgsite.client.AuthService.AuthServer(java.lang.String)'
threw an unexpected exception: java.lang.NoClassDefFoundError: Could
not initialize class
org.datanucleus.store.appengine.query.DatastoreQuery
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
(RPC.java:378)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:581)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:188)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost
(RemoteServiceServlet.java:224)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost
(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter
(ServeBlobFilter.java:51)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at com.google.appengine.tools.development.StaticFileFilter.doFilter
(StaticFileFilter.java:121)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle
(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:352)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.datanucleus.store.appengine.query.DatastoreQuery
at org.datanucleus.store.appengine.query.JDOQLQuery.init
(JDOQLQuery.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_
(Runtime.java:112)
at
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance
(Runtime.java:120)
at
org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension
(NonManagedPluginRegistry.java:572

[google-appengine] JPA issues with App Engine SDK Eclipse Library (provided by GAE plugin)

2010-01-25 Thread Joe Hudson
Hello, I am having a problem with Datanucleus resolving the classes
that are not tagged as entities in my project.  I have a simple test
project with @Entity annotated classes as well as GWT widgets.

I get the following error (actually a bunch of them):
com.mycompany.client.data.proxy.RpcProxy was not found in the
CLASSPATH. Please check your specification and your CLASSPATH.

I know that you will probably tell me to take this to a datanucleus
forum but I went there and saw this posting:
http://www.jpox.org/servlet/forum/viewthread_thread,5928#31737

Is is possible that the datanucleus class provided when creating a
project with the GAE Eclipse plugin are not valid?

Also, the really strange thing is that these classes are actually on
the classpath (/WEB-INF/classes)

I would really appreciate any help that anyone might be able to
offer.  Thanks.

Here is the error I am receiving:
* This occurs when I call   private static EntityManagerFactory factory
= Persistence.createEntityManagerFactory
(transactional_ds_non_transactional_ops_allowed);

org.datanucleus.exceptions.ClassNotResolvedException: Class
com.mycompany.web.client.data.proxy.RpcProxy was not found in the
CLASSPATH. Please check your specification and your CLASSPATH.
at org.datanucleus.JDOClassLoaderResolver.classForName
(JDOClassLoaderResolver.java:250)
at org.datanucleus.JDOClassLoaderResolver.classForName
(JDOClassLoaderResolver.java:415)
at org.datanucleus.metadata.MetaDataManager.loadPersistenceUnit
(MetaDataManager.java:767)
at org.datanucleus.jpa.EntityManagerFactoryImpl.initialisePMF
(EntityManagerFactoryImpl.java:488)
at org.datanucleus.jpa.EntityManagerFactoryImpl.init
(EntityManagerFactoryImpl.java:355)
at
org.datanucleus.store.appengine.jpa.DatastoreEntityManagerFactory.init
(DatastoreEntityManagerFactory.java:63)
at
org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider.createEntityManagerFactory
(DatastorePersistenceProvider.java:35)
at javax.persistence.Persistence.createFactory(Persistence.java:172)
at javax.persistence.Persistence.createEntityManagerFactory
(Persistence.java:112)
at javax.persistence.Persistence.createEntityManagerFactory
(Persistence.java:66)
...

-- 
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-appeng...@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.



[appengine-java] Blog Implementation on GAE?

2010-01-07 Thread Joe
Hi all,

I'm looking to implement a blog, and WordPress won't run on GAE.  Does
anyone know of any Java blog implementations on GAE?

Thanks,
Joe
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Error 500 - Loading data to memory during startup

2009-10-19 Thread Joe Prasanna kumar
Hi,
I am working with my friend to build an app (hoogentia.appspot.com) which
requires loading some learned model files to memory. I have a startup
servlet that does this (loading model files to memory). Since it needs more
mem, I run this app in dev mode with memory setting of -Xms1024m -Xmx2048m. I
dont have any issues in development but when i deploy it to app engine and
access my application, the startup servlet is invoked and it comes up with
an Error 500. I am not getting any useful info from the logs. I am assuming
the issue is with jvm settings for app engine in production. I looked at
this thread (
http://groups.google.com/group/google-appengine-java/browse_thread/thread/031d8875b6c8f1a7)
and modified appcfg.sh to
java -Xmx2000m -cp $SDK_LIB/appengine-tools-api.jar \
com.google.appengine.tools.admin.AppCfg $* 

After doing an update, I still get the 500 Error.
In dev mode, it takes like 80 seconds for the model to get loaded in memory.

Any thoughts / help / suggestions greatly appreciated,
thanks
Joe.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Where to report an error?

2009-10-19 Thread Joe


I am getting this error since Friday Oct. 16th:

Error: Server Error
The server encountered an error and could not complete your request.

If the problem persists, please report your problem and mention this
error message and the query that caused it.


The stack trace tells me very little about the error. Stranger still,
everything worked, and I made no changes, this error just starting
happening. I waited over the weekend to see if it would go away, but
no dice.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: What are your top three issues in appengine?

2009-10-08 Thread Joe Bowman

Well, here's the reasons I'm not using appengine for my big project,
so I guess these would be my top issues

1. datastore timeout issue... we need way more reliability with the
datastore. timeout on put can be abstracted with memcache (provided
the memcache entity can last long enough for a retry), however timeout
on read is something you really can't work around (other than to fail
the entire request)

2. Larger file support. In my case, I want users to be able to upload
media such as photos and media.

3. The option to purchase dedicated memcached space. This would go
along with option 1, it also could mean some functions such as http
sessions and caching could be done entirely in memcache. The problem
now is with memcache shared amongst instances you can't be sure your
data will persist, as it would if you're running your own environment.
--~--~-~--~~~---~--~~
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: Why Google AppEngine sucks

2009-09-26 Thread Joe Bowman

Here's my thoughts on the matter, as posted a few weeks ago

http://joerussbowman.tumblr.com/post/182818817/why-im-dropping-google-appengine-for-my-primary

Basically, it depends on whether or not appengine is the right tool
for the job. If you have a lot of reading/writing to backend
datastore, such as in the case of http sessions, then I'd probably not
recommend it. I believe a higher profile app will see less errors due
to it being kept hot most of the time, however for low use apps that
will see more cold boots on requests, you really have to be careful.

I will say, since whatever fix happened for the imports issue, I've
seen a little more reliability from my apps, but, it's not been long
enough (or used enough) for me to really stand behind that feeling. My
app, django using appengine-patch and gaeutilities session, was seeing
enough problems that even I stopped using it, and have since decided
to move off of Appengine for that specific project.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[appengine-java] DataNucleus is looking at UI classes

2009-09-03 Thread Joe Toth

Using 1.2.2

This is kind of weird... I was developing my application and then all
of a sudden I get this error. Everything was working fine, then
datanucleus says it can't find the Cow class. The class is in WEB-INF/
classes. But it looks like datanucleus' classloader is trying to load
it, not sure why. I included the stacktrace and the class.

If you have ideas what I can try, please let me know!

Sep 3, 2009 2:12:48 PM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: Nested in
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'userServiceImpl': Injection of persistence
fields failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'data.emf' defined in class path resource [at/
hadoken/wizzywig/applicationContext.xml]: Invocation of init method
failed; nested exception is javax.persistence.PersistenceException:
Provider error. Provider:
org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider:
Class at.hadoken.wizzywig.client.desktop.Cow was not found in the
CLASSPATH. Please check your specification and your CLASSPATH.
org.datanucleus.exceptions.ClassNotResolvedException: Class
at.hadoken.wizzywig.client.desktop.Cow was not found in the
CLASSPATH. Please check your specification and your CLASSPATH.
at org.datanucleus.JDOClassLoaderResolver.classForName
(JDOClassLoaderResolver.java:250)
at org.datanucleus.JDOClassLoaderResolver.classForName
(JDOClassLoaderResolver.java:415)
at org.datanucleus.metadata.MetaDataManager.loadPersistenceUnit
(MetaDataManager.java:767)
at org.datanucleus.jpa.EntityManagerFactoryImpl.initialisePMF
(EntityManagerFactoryImpl.java:488)
at org.datanucleus.jpa.EntityManagerFactoryImpl.init
(EntityManagerFactoryImpl.java:355)
at
org.datanucleus.store.appengine.jpa.DatastoreEntityManagerFactory.init
(DatastoreEntityManagerFactory.java:63)
at
org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider.createEntityManagerFactory
(DatastorePersistenceProvider.java:35)
at javax.persistence.Persistence.createFactory(Persistence.java:172)
at javax.persistence.Persistence.createEntityManagerFactory
(Persistence.java:112)
at
org.springframework.orm.jpa.LocalEntityManagerFactoryBean.createNativeEntityManagerFactory
(LocalEntityManagerFactoryBean.java:91)
at
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet
(AbstractEntityManagerFactoryBean.java:291)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
(AbstractAutowireCapableBeanFactory.java:1369)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1335)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:473)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory
(PersistenceAnnotationBeanPostProcessor.java:507)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory
(PersistenceAnnotationBeanPostProcessor.java:473)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
$PersistenceElement.resolveEntityManager
(PersistenceAnnotationBeanPostProcessor.java:599)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
$PersistenceElement.getResourceToInject
(PersistenceAnnotationBeanPostProcessor.java:570)
at org.springframework.beans.factory.annotation.InjectionMetadata
$InjectedElement.inject(InjectionMetadata.java:180)
at
org.springframework.beans.factory.annotation.InjectionMetadata.injectFields
(InjectionMetadata.java:105)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation

[google-appengine] Re: Timeouts have increased since maintenance on August 18th ?

2009-08-28 Thread Joe Bowman

For the past couple of days I've been seeing lots of datastore
timeouts. The confusing thing is it seems to be application specific,
as it's only one app that I'm seeing the problem, all the others
appear to be running fine.

On Aug 28, 6:58 am, Sylvain sylvain.viv...@gmail.com wrote:
 Hi,

 Today, I've checked the log for one of my app and I've noticed than
 one of my handler produces a lot of timeouts since the  maintenance on
 August 18th.

 Just after the message Datastore writes are temporarily unavailable.
 is gone, a lot of timeouts are raised an now the number seems to be
 very high.

 Did you notice such behavior ?

 Regards
--~--~-~--~~~---~--~~
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] Difficulty Serving Static MIDI with static_dir handler

2009-06-15 Thread Joe C

This discussion is similar to Difficulty Serving Static Image with
static_files handler. I responded to Marzia directly on that
discussion but she said:

***
Hi Joe,

I no longer work on the App Engine team at Google.  Please follow up
on this issue on theforum, and a member of the App Engine team should
be able to help.

-Marzia
***
So here's my response to Marzia (Her original message follows.):

I was having inexplicable troubles as well, trying to serve static
midi files from a static subirectory. I scratched my head, re-read the
Python Application Configuration pages, reminded myself of how much I
love (NOT) regex's :). Anyway, after many hours, I discovered the
problem.

Most of the MANY links in my referring html look like:
a href=/mids/ SPIRIT%20OF%20LIFE.mid. The associated file name
that works on my windows machine by my webBrowsing to a local file and
on my personal website (FreeBSD-4.10-RELEASE Apache/ 1.3.41) is
SPIRIT OF LIFE.mid.  Anyway, one of the links had no %20s in it and
I finally discovered that it worked just fine. Is there something that
I'm missing or don't know about that will make this mapping work? It
will be really hard to rename all the files and links.

Thanks for any help you can give.

Joe

Here's Marzia's original message in Difficulty Serving Static Image
with static_files handler that I responded to:

On Dec 15 2008, 2:42 pm, Marzia Niccolai ma...@google.com wrote:
 Hi Dylan,

 H, this is confusing because it works perfectly for me.  I made a simple
 application:

 static
  - photos
   - folder
 - image.jpg
   - folder2
 - image.jpg [different image]

 With this in my app.yaml:
 - url: /photos/(.*)/(.*\.(gif|jpg))
   static_files: static/photos/\1/\2
   upload: static/photos/(.*)/(.*\.(gif|jpg))

 And it works perfectly.

 The only thing I can think of that may not make this work is if you have
 another handler in your app.yaml that also matches those files and is
 defined before this one that is causing this issue.

 So this could 404 if your app.yaml looks like this:
 -app.yaml-
 - url: /.*
   script: main.py

 - url: /photos/(.*)/(.*\.(gif|jpg))
   static_files: static/photos/\1/\2
   upload: static/photos/(.*)/(.*\.(gif|jpg))
 -end-

 Because the first handler matches all URLs.

 Hope this helps, if not, perhaps attach your entire app.yaml file?

 -Marzia


 On Sun, Dec 14, 2008 at 12:11 AM, Dylan Lorimer write2dy...@gmail.comwrote:




  Hi,

  In my app.yaml I have the following:

  - url: /photos/(.*)/(.*\.(gif|png|jpg))
   static_files: static/photos/\1/\2
   upload: static/photos/(.*)/(.*\.(gif|png|jpg))

  My application has images that I've uploaded per the following
  directory structure:

  application root
   - static
   - photos
   -folder_1/image_1.jpg
   -folder_1/image_2.jpg

   -folder_2/image_3.jpg

  etc etc

  For the life of me I can't seem to serve these images successfully.
  Any URL hit to:www.myapp.com/photos/photo_folder_name/image_name.jpg
  results in a 404 not found.

  I'm certain this is an issue with my app.yaml static handler but can't
  figure it out. Any help is SUPER appreciated. It's possible that they
  are not being uploaded due to an error in the upload directive, but I
  don't think that's the case.

  Thanks much.



--~--~-~--~~~---~--~~
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: Too Many Versions (403) Error on Deploy

2009-05-20 Thread Joe

Thank you Nick! We're back to deploying happily. We had 11 major
versions because we never saw/used the now obvious delete button on
the Versions management page. Now our versions are down to a tidy 2.

For future searchers who see this post, here are three tidbits that I
had not known about: App Engine deployment too many versions
possibilities as well as app.yaml versions ...

1) You should delete versions when you no longer need them.
2) Versions need not be monotonically increasing or even be
integers ... you can go with two versions whose names are production
and staging and cycle back and forth.
3) If you see a Too Many Versions (403) message, delete versions
that you do not need and try again.

One question that remains to be answered via this trail or the
documentation is whether or not you can potentially see a Too Many
Versions message if you have too many minor versions (the versions
that are incremented every time you do a deploy to a major version).
If you're here and you have only a couple major versions, you might be
in a (major) minor version logjam ... but I am *not* sure whether or
not that is possible...

If there is a wiki version of the docs that anybody is keeping out
there, I'd be happy to insert (1) - (3) into the documentation
appropriate!


On May 20, 9:38 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 How many major versions do you have active on App Engine? It's not
 really intended that you have 10+ active versions of an app - once
 you're done with an old version, you should delete it.

 Also note - if it's helpful - that major version names are strings,
 not integers, so you can name your versions as you wish. I typically
 use trunk and live, which gives me a stable name for my
 in-development work. Once I've verified a release doesn't break
 anything, I just redeploy to 'live'.

 -Nick Johnson



 On Tue, May 19, 2009 at 10:57 PM, Joe joe.berge...@gmail.com wrote:

  Is anybody else seeing a Too Many Versions (403) error when they
  attempt a deploy? It's happening for me on version 11 of my app, even
  though this would be only the second mini-version within 11 ... and I
  tried bumping my version up to 12 to see if it was a bug specific to
  version 11 ... but I still received the error. I cannot go back to
  version 10 and test that direction because 10 is in production and I'd
  hate to lose...

  In the App Engine issue tracker, this is related to #744, I think...
  And, I put a comment up there yesterday but have not heard anything so
  I'm putting it out here for the community because it's a show-stopping
  kind of thing. Anyone else seen this kind of bug in deployment and
  found a workaround?

  Thank y'all kindly!

  Oh, just in case folks want to take a peek, here's a link directly to
  my issue tracker comment ... it includes debug output and app name:

 http://code.google.com/p/googleappengine/issues/detail?id=744q=too%2...
--~--~-~--~~~---~--~~
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] Too Many Versions (403) Error on Deploy

2009-05-19 Thread Joe

Is anybody else seeing a Too Many Versions (403) error when they
attempt a deploy? It's happening for me on version 11 of my app, even
though this would be only the second mini-version within 11 ... and I
tried bumping my version up to 12 to see if it was a bug specific to
version 11 ... but I still received the error. I cannot go back to
version 10 and test that direction because 10 is in production and I'd
hate to lose...

In the App Engine issue tracker, this is related to #744, I think...
And, I put a comment up there yesterday but have not heard anything so
I'm putting it out here for the community because it's a show-stopping
kind of thing. Anyone else seen this kind of bug in deployment and
found a workaround?

Thank y'all kindly!

Oh, just in case folks want to take a peek, here's a link directly to
my issue tracker comment ... it includes debug output and app name:

http://code.google.com/p/googleappengine/issues/detail?id=744q=too%20many%20versionscolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component#c5
--~--~-~--~~~---~--~~
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 can I use cron to make something happen every hour on the hour?

2009-05-11 Thread Joe Bowman

Does every 1 hours not work?

Or if you need the specific time, every hour 00

I'd try those.



On May 10, 5:01 pm, Luke luke.hun...@gmail.com wrote:
 Yeah I suppose thats only 24*60 = 1440 requests, not bad.

 On May 10, 1:51 pm, Sylvain sylvain.viv...@gmail.com wrote:

  You can do this :
  every 1 minutes  (or 2 minutes if you don't need to be very precise)
  and check the time ?

  if time != 9h (10,11,...):
    return

  It is not perfect but it could work.

  Regards ?

  On 10 mai, 21:29, Luke luke.hun...@gmail.com wrote:

   I need something to happen every hour on the hour (e.g. 9:00, 10:00,
   11:00) but the cron parser does not appear to support this. I can make
   24 entries of the form every day 00:00, every day 01:00, every day
   02:00 etc. but I'm only allowed 20 cron.yaml entries by google.
   Incidentally, its annoying that appcfg.py cron_info doesn't appear to
   have the same requirements as appcfg.py update (cron_info didn't
   inform me about the 20 entry limitation).

   Thanks,
   Luke
--~--~-~--~~~---~--~~
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] Index stuck in Building state

2009-05-08 Thread Joe

I have an index that is stuck in the Building state. The index was
originally uploaded about 18 hours ago. And, there is currently 1
entity for the relevant model...

Is there anything that I can do to re-start the process? It seems as
though it is definitely in a Stuck state rather than a Building
one... I have read the documentation and looked for self-help or
Google operator help ... nothing yet.

Thank you for any help y'all can point to!

ps- In case the GAE team sees this, it's the everywun-labs
application's only index on the Quiz model...

--~--~-~--~~~---~--~~
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: Still no full-text search? Mystified by the priorities.

2009-04-29 Thread Joe Bowman

What about Yahoo! Boss? You can restrict it to search a site, and
while not documented, has functionality such as inurl and inpath which
you could use to push out the specific data you need. The one trick
would be to make sure Yahoo searches the proper path, but I'm sure
there's ways to get that in their crawler list.

On Apr 29, 4:58 pm, Thomas McKay - www.winebythebar.com
thomasfmc...@gmail.com wrote:
 I concur. Awkward putting the GAE badge on my homepage and then adding
 caveats to the search fields.

 On Apr 29, 4:37 pm, dartdog tombran...@gmail.com wrote:

  I don't get Google's reticence to even comment on this issue and give
  some guidance as to when an how we might be looking for a solution.

I would think a Search API that leveraged Google's search
infrastructure would be GAE's killer app.
--~--~-~--~~~---~--~~
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] Facebook performance issues

2009-04-15 Thread Joe


I recently launched a Facebook application using Google AE as the
backend (http://apps.facebook.com/lawoflargenumbers/).

Unfortunately, the app is showing an average HTTP response time of
approx 1300 ms...which is quite poor.  Can anybody tell me if this is
normal for Facebook apps using AE as the backend?

thanks,

Joe

--~--~-~--~~~---~--~~
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

2009-04-07 Thread Joe Bowman

http://code.google.com/p/googleappengine/issues/detail?id=1072

On Apr 7, 11:39 am, WallyDD shaneb...@gmail.com wrote:
 Just to add some irony to this.

 Google is doing some developer days in Beijing and they are going to
 talk about appengine.
 And just to really demonstrate how aware Google is of this entire
 issue they have advertised this on blogspot.com, which is also blocked
 in 
 China.http://google-code-updates.blogspot.com/2009/04/google-developer-days...

 To answer Andys question.
 Does Google have a plan for dealing with this? I don't think so.

 On Apr 6, 10:23 pm, WallyDD shaneb...@gmail.com wrote:

  Thanks for the answer Joe.

  I have to agree it is not a turnkey solution and from the look of
  things people are probably better off giving up on GAE and finding an
  alternate host. The general feeling I find on the web is that Amazons
  service is better suited for the international market.

  On Apr 6, 3:59 pm, Joe Bowman bowman.jos...@gmail.com wrote:

   Get a server and IP that is available in China, but outside of the
   chinese firewall. Configure it to proxy you appspot.com domain. It
   gets tricky handling cookies and session state and such doing this
   though. Not a turnkey solution. Basically all requests to your
   appengine application coming from users using the proxy, will be seen
   as the proxy machine not the individual client machines. There are
   some proxy passthroughs you can do depending on the software you
   choose to handle this.

   Of course you'll have to pay for the bandwidth usage going through the
   proxy as well.

   On Apr 6, 12:35 pm, WallyDD shaneb...@gmail.com wrote:

The internet is indeed a funny place.
I did respond with a question on how to set this up but have received
no answer?

Any ideas anyone?

On Apr 6, 3:03 am, Paddy Foran foran.pa...@gmail.com wrote:

 I'd just like to point out how funny it is that people keep banging on
 for Google to respond, and in their banging on for Google to respond,
 they missed Google's actual response.

  Is there any google staff who is responsible for GAE promotion and
  technology to say something here?

  How can I access to my Google Apps via my own domain directly, e.g.
  how can access via mail.my_domain.com instead of mail.google.com/a/
  my_domain.com?

 One way to address this is to run a proxy server elsewhere, which 
 will
 allow your site to have it's own unique IP, rather than the shared 
 IPs
 of Google.

 -Brett
 App Engine Team

 Please note the App Engine Team signature. That means Brett (at
 least claims he) is from Google.

 Poor Brett was ignored, as people clamoured for Brett to comment.

 This is why I love the internet. It amuses me to no end.

 On Apr 6, 12:48 am, Andy Freeman ana...@earthlink.net wrote:

   No company is willing to be a pawn in the game of politics between
   Google and China.

  That sounds reasonable, but what can Google do to stop the Chinese
  govt from blocking?

  (1) Google can't tell the Chinese govt what to do.

  (2) The Chinese govt appears to be technically competent and 
  controls
  the relevant connections, both from the outside and from internal
  datacenters.

  (3) Google can propose agreements, but China is a soverign entity 
  and
  and can do what it pleases wrt internal matters.  (Other posters 
  have
  suggested that buying dinner for the appropriate official would 
  cause
  the blocking to go away.  I don't see why the Chinese govt would 
  find
  such an agreement binding.)

  Yes, one can argue that Google needs the Chinese govt to not 
  block,
  but that doesn't imply that Google can do anything to stop the 
  Chinese
  govt from blocking.  Google's needs do not obligate the Chinese 
  govt.

  On Apr 5, 3:16 pm, WallyDD shaneb...@gmail.com wrote:

   Google is more or less obligated to solve this issue.

   No company is willing to be a pawn in the game of politics between
   Google and China.
   Name a single company (that has any international presence) who 
   would
   be willing to use GAE knowing full well that it is blocked in its
   current form?
   This issue has nothing to do with the Chinese government and 
   there is
   no way Google will point the finger at them.

   Perhaps google can also take on all the other countries that are
   blocking GAE and while they are at it they can point fingers at
   corporate america and their firewalls?
   You have to remember that at the moment this is a preview 
   release.

   I don't really understand why you persist with this argument. You 
   have
   raised some valid points which should be looked at and considered 
   in
   the scheme of things but most of the diatribe you present here 
   seems

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-07 Thread Joe Bowman

Not to mention the threats consist of actions that were suggested as
an alternative. That suggestion was reproached as unacceptable. So it
is quite confusing.

On Apr 7, 2:16 pm, Andy Freeman ana...@earthlink.net wrote:
  Some user reported a problem and wanted to know if Google had any plan
  to solve it. That equates to wanting a guarantee in your world?  Some
  kind of twisted world you live in there.

 When considering a plan to solve a problem, I think that it's
 reasonable to consider whether said plan will actually solve the
 problem.  Why?  Because if a plan doesn't solve the problem, the
 problem still exists.

 I am willing to assume that Google is doing what it can reasonably do
 about this.  The continued complaints suggest that the results of
 those efforts are inadequate.  And, we've seen threats regarding
 what will happen if Google doesn't come through.  Maybe those people
 will be satisfied by something short of a guarantee, but 

 And, as has been noted, a Google representative posted a solution and
 was ignored.

 On Apr 6, 11:33 pm, Andy selforgani...@gmail.com wrote:

   Yes, I do.

  I'm glad you finally learn the word obligation. Too bad you didn't
  learn it earlier when you spewed your nonsense that obligation can
  only come from laws and contracts.

  Feel free to consult a dictionary first next time when you find
  yourself once again tempted to use a big word you don't understand.

   I'm not angry.

  Good for you. Definitely worth reporting back to your anger management
  counselor

   I'm merely pointing out that Google's
   capabilities in this area are limited, that they need to take their
   complaints elsewhere if they want guarantees.

  Who's talking about guarantees?

  Some user reported a problem and wanted to know if Google had any plan
  to solve it. That equates to wanting a guarantee in your world? Some
  kind of twisted world you live in there.

  In fact the only person who even brought up the word guarantee is
  you.

  Do you always argue against your own strawman like that?

   Do you really believe that Google can honor a promise that a given
   site won't be blocked if the Chinese govt wants to block said site?
   (Feel free to assume that the site is hosted in China.)

  Who's talking about promise that a given site won't be blocked other
  than you?

  Once again you're the only person to use words like guarantees and
  promise

  You must be really busy arguing with your own strawman like that...

   I merely pointed out that Google can't do as they ask

  And you're the spokesperson of Google? self-appointed?

  This is what the OP asked: Does Google have a plan for dealing with
  this?
  No different than any other threads that are also about reporting
  problems and asking for solutions.

  For whatever reason such a simple question bothers you tremendously.
  To such a degree that you felt compelled to spew nonsense such as
  Google can't do as they ask, when in fact you have
  no standing to speak for Google on what they can or cannot do.

  So the real question is why does the simple question Does Google have
  a plan for dealing with this? bother you so much?
--~--~-~--~~~---~--~~
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

2009-04-06 Thread Joe Bowman

Get a server and IP that is available in China, but outside of the
chinese firewall. Configure it to proxy you appspot.com domain. It
gets tricky handling cookies and session state and such doing this
though. Not a turnkey solution. Basically all requests to your
appengine application coming from users using the proxy, will be seen
as the proxy machine not the individual client machines. There are
some proxy passthroughs you can do depending on the software you
choose to handle this.

Of course you'll have to pay for the bandwidth usage going through the
proxy as well.

On Apr 6, 12:35 pm, WallyDD shaneb...@gmail.com wrote:
 The internet is indeed a funny place.
 I did respond with a question on how to set this up but have received
 no answer?

 Any ideas anyone?

 On Apr 6, 3:03 am, Paddy Foran foran.pa...@gmail.com wrote:

  I'd just like to point out how funny it is that people keep banging on
  for Google to respond, and in their banging on for Google to respond,
  they missed Google's actual response.

   Is there any google staff who is responsible for GAE promotion and
   technology to say something here?

   How can I access to my Google Apps via my own domain directly, e.g.
   how can access via mail.my_domain.com instead of mail.google.com/a/
   my_domain.com?

  One way to address this is to run a proxy server elsewhere, which will
  allow your site to have it's own unique IP, rather than the shared IPs
  of Google.

  -Brett
  App Engine Team

  Please note the App Engine Team signature. That means Brett (at
  least claims he) is from Google.

  Poor Brett was ignored, as people clamoured for Brett to comment.

  This is why I love the internet. It amuses me to no end.

  On Apr 6, 12:48 am, Andy Freeman ana...@earthlink.net wrote:

No company is willing to be a pawn in the game of politics between
Google and China.

   That sounds reasonable, but what can Google do to stop the Chinese
   govt from blocking?

   (1) Google can't tell the Chinese govt what to do.

   (2) The Chinese govt appears to be technically competent and controls
   the relevant connections, both from the outside and from internal
   datacenters.

   (3) Google can propose agreements, but China is a soverign entity and
   and can do what it pleases wrt internal matters.  (Other posters have
   suggested that buying dinner for the appropriate official would cause
   the blocking to go away.  I don't see why the Chinese govt would find
   such an agreement binding.)

   Yes, one can argue that Google needs the Chinese govt to not block,
   but that doesn't imply that Google can do anything to stop the Chinese
   govt from blocking.  Google's needs do not obligate the Chinese govt.

   On Apr 5, 3:16 pm, WallyDD shaneb...@gmail.com wrote:

Google is more or less obligated to solve this issue.

No company is willing to be a pawn in the game of politics between
Google and China.
Name a single company (that has any international presence) who would
be willing to use GAE knowing full well that it is blocked in its
current form?
This issue has nothing to do with the Chinese government and there is
no way Google will point the finger at them.

Perhaps google can also take on all the other countries that are
blocking GAE and while they are at it they can point fingers at
corporate america and their firewalls?
You have to remember that at the moment this is a preview release.

I don't really understand why you persist with this argument. You have
raised some valid points which should be looked at and considered in
the scheme of things but most of the diatribe you present here seems
aimed at China/Chinese Government. I have always found prejudices
cloud peoples judgement.

To sumarise how this problem will probably be viewed;
Google created a dns based system (for GAE addressing) which puts
everything though ghs.google.com. This system works really well and
from my experience it was very clever and efficient. However it has an
issue with firewalls that got overlooked. Google has just recently
been made aware of this problem.

On Apr 5, 12:53 pm, Andy Freeman ana...@earthlink.net wrote:

  Feel free to hair-split the word obligation.

 It's the plain meaning of the word.  I apologise for not knowing that
 you didn't know what it meant when you wrote that Google had an
 obligation to make GAE available in China.  Are there other statements
 that you made without understanding their meaning?

 China availability issue is one of the few issues where folks claim
 that/act like Google has an obligation even though it's an issue where
 Google has very little capability to change things.

  That's why I want to hear from a Google representative on their 
  plan.

 I predict that if Google says anything, it will be roughly equivalent
 to we're doing what we can.  At that point, you'll have to 

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-05 Thread Joe Bowman

Plenty of companies would be willing to deal with not being able to
support customers in China. Either for reasons of they only support
selling products within in their own countries, to, startups that will
move off of appengine if the need and funding arises to allow them
move off of appengine to support Chinese customers.

So far, I've only seen two people complaining about the Chinese
firewall and appengine, and a couple others voicing their opinion on
it not being Google's obligation to support it. So really, when you
count how many members this group has, I'd venture a guess that most
just don't care either way. So maybe we're all wasting our time. If
Google was going to respond, they'd have done it days ago.

I'd say do as they ask, file an issue, and move on.

On Apr 5, 6:16 pm, WallyDD shaneb...@gmail.com wrote:
 Google is more or less obligated to solve this issue.

 No company is willing to be a pawn in the game of politics between
 Google and China.
 Name a single company (that has any international presence) who would
 be willing to use GAE knowing full well that it is blocked in its
 current form?
 This issue has nothing to do with the Chinese government and there is
 no way Google will point the finger at them.

 Perhaps google can also take on all the other countries that are
 blocking GAE and while they are at it they can point fingers at
 corporate america and their firewalls?
 You have to remember that at the moment this is a preview release.

 I don't really understand why you persist with this argument. You have
 raised some valid points which should be looked at and considered in
 the scheme of things but most of the diatribe you present here seems
 aimed at China/Chinese Government. I have always found prejudices
 cloud peoples judgement.

 To sumarise how this problem will probably be viewed;
 Google created a dns based system (for GAE addressing) which puts
 everything though ghs.google.com. This system works really well and
 from my experience it was very clever and efficient. However it has an
 issue with firewalls that got overlooked. Google has just recently
 been made aware of this problem.

 On Apr 5, 12:53 pm, Andy Freeman ana...@earthlink.net wrote:

   Feel free to hair-split the word obligation.

  It's the plain meaning of the word.  I apologise for not knowing that
  you didn't know what it meant when you wrote that Google had an
  obligation to make GAE available in China.  Are there other statements
  that you made without understanding their meaning?

  China availability issue is one of the few issues where folks claim
  that/act like Google has an obligation even though it's an issue where
  Google has very little capability to change things.

   That's why I want to hear from a Google representative on their plan.

  I predict that if Google says anything, it will be roughly equivalent
  to we're doing what we can.  At that point, you'll have to decide if
  the results, which will vary with the whim of the Chinese govt, are
  adequate for your purposes.

  Of course, if you're better at dealing with the Chinese govt than
  Google is

   Now just accept that fact and act accordingly.

  And the basis for this order is...

  On Apr 4, 6:11 pm, Andy selforgani...@gmail.com wrote:

I'm someone who understands that obligations come from laws and
contracts.  Feel free to point to the relevant chapter and verse that

However, absent a contract and/or a law, Google isn't obligated to
make GAE applications visible in China.

   Feel free to hair-split the word obligation.

   Does Google have the legal obligation to solve this problem? No. Just
   like Google doesn't have any legal obligation to improve this service
   or add any new features. Does that mean users should stop posting any
   thread that's about improving GAE?

   Does that mean you're going to start polluting every single thread in
   this forum by posting your 'Google has no legal obligation to do this
   drivel?

Good for you.  And Google may, or may not, offer such an option.  Note
may not - they're under no obligation to do so.  (I don't presume to
know the risks and costs of offering such an option.  After all, China
can block at the edge of the data centers, impose conditions, or even
shut them down.)

   Another zero-value drivel.

   Yes Google may or may not offer that solution, just like they may or
   may not offer any solution to any other problems raised in this forum

   That's why I want to hear from a Google representative on their plan.
   Your speculation on what Google may or may not do is just that,
   worthless speculation that serves no purpose in this discussion.

   You're right to not presume to know though, seeing how you don't
   know anything in this matter.

   Now just accept that fact and act accordingly.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-02 Thread Joe Bowman

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 ana...@earthlink.net 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 selforgani...@gmail.com 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 barrybhun...@googlemail.com 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: Parallel urlfetch utility class / function.

2009-03-18 Thread Joe Bowman

Ah ha.. thanks David.

And for the views, if I really wanted to launch everything at once, I
could map my boss, youtube, twitter, etc etc pulls to their own urls,
and use megafetch in my master view to pull those urls all at once
too.

On Mar 18, 5:14 am, David Wilson d...@botanicus.net wrote:
 Hey Joe,

 With the gdata package you can do something like this instead:

 As usual, completely untested code, but looks about right..

 from youtube import YouTubeVideoFeedFromString

 def get_feeds_async(usernames):
     fetcher = megafetch.Fetcher()
     output = {}

     def cb(username, result):
         if isinstance(output, Exception):
             logging.error('could not fetch: %s', output)
             content = None
         else:
             content = YouTubeVideoFeedFromString(result.content)
         output[username] = content

     for username in usernames:
         url = 'http://gdata.youtube.com/feeds/api/users/%s/uploads'%\
             (username,)
         fetcher.start(url, lambda result: cb(username, result))

     fetcher.wait()
     return output

 feeds = get_feeds_async([ 'davemw', 'waverlyflams', 'googletechtalks',
                           'TheOnion', 'winterelaxation' ])

 # feeds is now a mapping of usernames to YouTubeVideoFeed instances,
 or None if could not be fetched.

 2009/3/18 Joe Bowman bowman.jos...@gmail.com:



  This may be a really dumb question, but.. I'm still learning so...

  Is there a way to do something other than a direct api call
  asynchronously? I'm writing a script that pulls from multiple sources,
  sometimes with higher level calls that use urlfetch, such as gdata.
  Since I'm attempting to pull from multiple sources, and sometimes
  multiple urls from each source, I'm trying to figure out if it's
  possible to run other methods at the same time.

  For example, I want to pull a youtube entry for several different
  authors. The youtube api doesn't allow multiple authors in a request
  (I have a enhancement request in for that though), so I need to do a
  yt_service.GetYouTubeVideoFeed() for each author, then splice them
  together into one feed. As I'm also working with Boss, and eventually
  Twitter, I'll have feeds to pull from those sources as well.

  My current application layout is using appengine-patch to provide
  django. I've set up a Boss and Youtube model with get methods that
  handle getting the data. So I can do something similar to:

  web_results = models.Boss.get(request.GET['term'], start=start)
  news_results = models.Boss.get(request.GET['term'], vertical=news,
  start=start)
  youtube = models.Youtube.get(request.GET['term'], start=start)

  Ideally, I'd like some of those models to be able to do asynchronous
  tasks within their get function, and then also, I'd like to run the
  above requests at the same, which should really speed the request up.

  On Mar 17, 9:20 am, Joe Bowman bowman.jos...@gmail.com wrote:
  Thanks,

  I'm going to give it a go for urlfetch calls for one project I'm
  working on this week.

  Not sure when I'd be able to include it in gaeutiltiies for cron and
  such, that project is currently lower on my priority list at the
  moment, but can't wait until I get a chance to play with it. Another
  idea I had for it is the ROTmodel (retry on timeout model) in the
  project, which could speed that process up.

  On Mar 17, 9:11 am, David Wilson d...@botanicus.net wrote:

   2009/3/16 Joe Bowman bowman.jos...@gmail.com:

Wow that's great. The SDK might be problematic for you, as it appears
to be very single threaded, I know for a fact it can't reply to
requests to itself.

Out of curiosity, are you still using base urlfetch, or is it your own
creation? While when Google releases their scheduled tasks
functionality it will be less of an issue, if your solution had the
ability to fire off urlfetch calls and not wait for a response, it
could be a perfect fit for the gaeutilities cron utility.

Currently it grabs a list of tasks it's supposed to run on request,
sets a timestamp, runs one, the compares now() to the timestamp and if
the timedelta is more than 1 second, stops running tasks and finishes
the request. It already appears your project would be perfect for
running all necessary tasks at once, and the MIT License I believe is
compatible with the BSD license I've released gaeutilities, so would
you have any personal objection to me including it in gaeutilities at
some point, with proper attribution of course?

   Sorry I missed this in the first reply - yeah work away! :)

   David

If you haven't see that project, it's url 
ishttp://gaeutilities.appspot.com/

On Mar 16, 11:03 am, David Wilson d...@botanicus.net wrote:
Joe,

I've only tested it in production. ;)

The code should work serially on the SDK, but I haven't tried yet.

David.

2009/3/16 Joe Bowman bowman.jos...@gmail.com:

 Does the batch fetching

[google-appengine] Re: Parallel urlfetch utility class / function.

2009-03-17 Thread Joe Bowman

This may be a really dumb question, but.. I'm still learning so...

Is there a way to do something other than a direct api call
asynchronously? I'm writing a script that pulls from multiple sources,
sometimes with higher level calls that use urlfetch, such as gdata.
Since I'm attempting to pull from multiple sources, and sometimes
multiple urls from each source, I'm trying to figure out if it's
possible to run other methods at the same time.

For example, I want to pull a youtube entry for several different
authors. The youtube api doesn't allow multiple authors in a request
(I have a enhancement request in for that though), so I need to do a
yt_service.GetYouTubeVideoFeed() for each author, then splice them
together into one feed. As I'm also working with Boss, and eventually
Twitter, I'll have feeds to pull from those sources as well.

My current application layout is using appengine-patch to provide
django. I've set up a Boss and Youtube model with get methods that
handle getting the data. So I can do something similar to:

web_results = models.Boss.get(request.GET['term'], start=start)
news_results = models.Boss.get(request.GET['term'], vertical=news,
start=start)
youtube = models.Youtube.get(request.GET['term'], start=start)

Ideally, I'd like some of those models to be able to do asynchronous
tasks within their get function, and then also, I'd like to run the
above requests at the same, which should really speed the request up.


On Mar 17, 9:20 am, Joe Bowman bowman.jos...@gmail.com wrote:
 Thanks,

 I'm going to give it a go for urlfetch calls for one project I'm
 working on this week.

 Not sure when I'd be able to include it in gaeutiltiies for cron and
 such, that project is currently lower on my priority list at the
 moment, but can't wait until I get a chance to play with it. Another
 idea I had for it is the ROTmodel (retry on timeout model) in the
 project, which could speed that process up.

 On Mar 17, 9:11 am, David Wilson d...@botanicus.net wrote:

  2009/3/16 Joe Bowman bowman.jos...@gmail.com:

   Wow that's great. The SDK might be problematic for you, as it appears
   to be very single threaded, I know for a fact it can't reply to
   requests to itself.

   Out of curiosity, are you still using base urlfetch, or is it your own
   creation? While when Google releases their scheduled tasks
   functionality it will be less of an issue, if your solution had the
   ability to fire off urlfetch calls and not wait for a response, it
   could be a perfect fit for the gaeutilities cron utility.

   Currently it grabs a list of tasks it's supposed to run on request,
   sets a timestamp, runs one, the compares now() to the timestamp and if
   the timedelta is more than 1 second, stops running tasks and finishes
   the request. It already appears your project would be perfect for
   running all necessary tasks at once, and the MIT License I believe is
   compatible with the BSD license I've released gaeutilities, so would
   you have any personal objection to me including it in gaeutilities at
   some point, with proper attribution of course?

  Sorry I missed this in the first reply - yeah work away! :)

  David

   If you haven't see that project, it's url 
   ishttp://gaeutilities.appspot.com/

   On Mar 16, 11:03 am, David Wilson d...@botanicus.net wrote:
   Joe,

   I've only tested it in production. ;)

   The code should work serially on the SDK, but I haven't tried yet.

   David.

   2009/3/16 Joe Bowman bowman.jos...@gmail.com:

Does the batch fetching working on live appengine applications, or
only on the SDK?

On Mar 16, 10:19 am, David Wilson d...@botanicus.net wrote:
I have no idea how definitive this is, but literally it means wall
clock time seems to be how CPU cost is measured. I guess this makes
sense for a few different reasons.

I found some internal function
google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_requ
 est_cpu_usage
with the docstring:

    Returns the number of megacycles used so far by this request.
    Does not include CPU used by API calls.

Calling it, then running time.sleep(5), then calling it again,
indicates thousands of megacycles used, yet in real terms the CPU was
probably doing nothing. I guess Datastore CPU, etc., is added on top
of this, but it seems to suggest to me that if you can drastically
reduce request time, quota usage should drop too.

I have yet to do any kind of rough measurements of Datastore CPU, so
I'm not sure how correct this all is.

David.

 - One of the guys on IRC suggested this means that per-request cost
is scaled during peak usage (and thus internal services running
slower).

2009/3/16 peterk peter.ke...@gmail.com:

 A couple of questions re. CPU usage..

 CPU time quota appears to be calculated based on literal time

 Can you clarify what you mean here? I presume each async request 
 eats

[google-appengine] Re: using memcache for caching query results

2009-03-16 Thread Joe Bowman

Check out the cache utility in gaeutilities. 
http://gaeutilities.appspot.com/cache

Looking at the demo, it appears I need to update that page. Anyhow,
cache uses both the datastore and the memcache.

When you write a cache entry, it writes to the datastore, then to
memcache.
When you attempt to read a cache entry, it first tries memcache, then
the datastore.
If there's a hit in the datastore, but not the memcache, it populates
the memcache.

Supports timeout functionality (my cache hit is only good for 5
minutes), and can be used as a standard dictionary object

c = cache.Cache()
c['cachehit'] = test value
if 'cachehit' in c:
do_something()

It was originally written before appengine had memcache support, and
was updated when that was provided.

On Mar 3, 8:02 am, Jonathan jricket...@gmail.com wrote:
 I am using a restful interface for an ajax application and want to be
 able to store the results of queries in memcache, as much of this data
 is read much more often than it is written, but it is occasionally
 written.

 I have been trying to think of strategies for how to do this, whilst
 also maintaining the ability to invalidate the cache when necessary.

 so for example:
 the user requests page 1 of their objects (0-9) and I store them with
 a key of modelName-userName-pageNum
 the user requests page 2 of their objects (10-19) and I store them
 with a key of modelName-userName-pageNum
 the user modifies an object on page 2, (or deletes it, or creates a
 new one) and I want to invalidate all modelName-userName cached
 lists.

 how do I do this???

 jonathan
--~--~-~--~~~---~--~~
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: Can Appengine provide Browser information..?

2009-03-16 Thread Joe Bowman

import os

os.environ['REMOTE_ADDR'] is the IP
os.environ['HTTP_USER_AGENT'] is the user agent

I'm sure there's more, those are the two I needed when I created the
sessions utility.

Note: I've found that they don't always populate, more than likely a
per browser issue. I was confused to see REMOTE_ADDR not always
populate.

On Mar 15, 12:06 pm, xml2jsonp davide.rogn...@gmail.com wrote:
 Using JavaScript:

 if (/msie/.test(navigator.userAgent.toLowerCase())
  !/opera/.test(navigator.userAgent.toLowerCase())) {
 [...]

 On Mar 15, 7:56 am, jago java.j...@gmail.com wrote:

  Hi,

  Can I write some Python code that creates an HTML which prints if the
  client is running Firefox or IE ?
--~--~-~--~~~---~--~~
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: Parallel urlfetch utility class / function.

2009-03-16 Thread Joe Bowman

Does the batch fetching working on live appengine applications, or
only on the SDK?

On Mar 16, 10:19 am, David Wilson d...@botanicus.net wrote:
 I have no idea how definitive this is, but literally it means wall
 clock time seems to be how CPU cost is measured. I guess this makes
 sense for a few different reasons.

 I found some internal function
 google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_request_cpu_usage
 with the docstring:

     Returns the number of megacycles used so far by this request.
     Does not include CPU used by API calls.

 Calling it, then running time.sleep(5), then calling it again,
 indicates thousands of megacycles used, yet in real terms the CPU was
 probably doing nothing. I guess Datastore CPU, etc., is added on top
 of this, but it seems to suggest to me that if you can drastically
 reduce request time, quota usage should drop too.

 I have yet to do any kind of rough measurements of Datastore CPU, so
 I'm not sure how correct this all is.

 David.

  - One of the guys on IRC suggested this means that per-request cost
 is scaled during peak usage (and thus internal services running
 slower).

 2009/3/16 peterk peter.ke...@gmail.com:





  A couple of questions re. CPU usage..

  CPU time quota appears to be calculated based on literal time

  Can you clarify what you mean here? I presume each async request eats
  into your CPU budget. But you say:

  since you can burn a whole lot more AppEngine CPU more cheaply using
  the async api

  Can you clarify how that's the case?

  I would guess as long as you're being billed for the cpu-ms spent in
  your asynchronous calls, Google would let you hang yourself with them
  when it comes to billing.. :) so I presume they'd let you squeeze in
  as many as your original request, and its limit, will allow for?

  Thanks again.

  On Mar 16, 2:00 pm, David Wilson d...@botanicus.net wrote:
  It's completely undocumented (at this stage, anyway), but definitely
  seems to work. A few notes I've come gathered:

   - CPU time quota appears to be calculated based on literal time,
  rather than e.g. the UNIX concept of time spent in running state.

   - I can fetch 100 URLs in 1.3 seconds from a machine colocated in
  Germany using the asynchronous API. I can't begin to imagine how slow
  (and therefore expensive in monetary terms) this would be using the
  standard API.

   - The user-specified callback function appears to be invoked in a
  separate thread; the RPC isn't complete until this callback
  completes. The callback thread is still subject to the request
  deadline.

   - It's a standard interface, and seems to have no parallel
  restrictions at least for urlfetch and Datastore. However, I imagine
  that it's possible restrictions may be placed here at some later
  stage, since you can burn a whole lot more AppEngine CPU more cheaply
  using the async api.

   - It's standard only insomuch as you have to fiddle with
  AppEngine-internal protocolbuffer definitions for each service type.
  This mostly means copy-pasting the standard sync call code from the
  SDK, and hacking it to use pubsubhubub's proxy code.

  Per the last point, you might be better waiting for an officially
  sanctioned API for doing this, albeit I doubt the protocolbuffer
  definitions change all that often.

  Thanks for Brett Slatkin  co. for doing the digging required to get
  the async stuff working! :)

  David.

  2009/3/16 peterk peter.ke...@gmail.com:

   Very neat.. Thank you.

   Just to clarify, can we use this for all API calls? Datastore too? I
   didn't look very closely at the async proxy in pubsubhubub..

   Asynchronous calls available on all apis might give a lot to chew
   on.. :) It's been a while since I've worked with async function calls
   or threading, might have to dig up some old notes to see where I could
   extract gains from it in my app. Some common cases might be worth the
   community documenting for all to benefit from, too.

   On Mar 16, 1:26 pm, David Wilson d...@botanicus.net wrote:
   I've created a Google Code project to contain some batch utilities I'm
   working on, based on async_apiproxy.py from pubsubhubbub[0]. The
   project currently contains just a modified async_apiproxy.py that
   doesn't require dummy google3 modules on the local machine, and a
   megafetch.py, for batch-fetching URLs.

      http://code.google.com/p/appengine-async-tools/

   David

   [0]http://code.google.com/p/pubsubhubbub/source/browse/trunk/hub/async_a...

   --
   It is better to be wrong than to be vague.
     — Freeman Dyson

  --
  It is better to be wrong than to be vague.
    — Freeman Dyson

 --
 It is better to be wrong than to be vague.
   — Freeman Dyson
--~--~-~--~~~---~--~~
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, 

[google-appengine] Re: Parallel urlfetch utility class / function.

2009-03-16 Thread Joe Bowman

Wow that's great. The SDK might be problematic for you, as it appears
to be very single threaded, I know for a fact it can't reply to
requests to itself.

Out of curiosity, are you still using base urlfetch, or is it your own
creation? While when Google releases their scheduled tasks
functionality it will be less of an issue, if your solution had the
ability to fire off urlfetch calls and not wait for a response, it
could be a perfect fit for the gaeutilities cron utility.

Currently it grabs a list of tasks it's supposed to run on request,
sets a timestamp, runs one, the compares now() to the timestamp and if
the timedelta is more than 1 second, stops running tasks and finishes
the request. It already appears your project would be perfect for
running all necessary tasks at once, and the MIT License I believe is
compatible with the BSD license I've released gaeutilities, so would
you have any personal objection to me including it in gaeutilities at
some point, with proper attribution of course?

If you haven't see that project, it's url is http://gaeutilities.appspot.com/

On Mar 16, 11:03 am, David Wilson d...@botanicus.net wrote:
 Joe,

 I've only tested it in production. ;)

 The code should work serially on the SDK, but I haven't tried yet.

 David.

 2009/3/16 Joe Bowman bowman.jos...@gmail.com:





  Does the batch fetching working on live appengine applications, or
  only on the SDK?

  On Mar 16, 10:19 am, David Wilson d...@botanicus.net wrote:
  I have no idea how definitive this is, but literally it means wall
  clock time seems to be how CPU cost is measured. I guess this makes
  sense for a few different reasons.

  I found some internal function
  google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_request_cpu_usage
  with the docstring:

      Returns the number of megacycles used so far by this request.
      Does not include CPU used by API calls.

  Calling it, then running time.sleep(5), then calling it again,
  indicates thousands of megacycles used, yet in real terms the CPU was
  probably doing nothing. I guess Datastore CPU, etc., is added on top
  of this, but it seems to suggest to me that if you can drastically
  reduce request time, quota usage should drop too.

  I have yet to do any kind of rough measurements of Datastore CPU, so
  I'm not sure how correct this all is.

  David.

   - One of the guys on IRC suggested this means that per-request cost
  is scaled during peak usage (and thus internal services running
  slower).

  2009/3/16 peterk peter.ke...@gmail.com:

   A couple of questions re. CPU usage..

   CPU time quota appears to be calculated based on literal time

   Can you clarify what you mean here? I presume each async request eats
   into your CPU budget. But you say:

   since you can burn a whole lot more AppEngine CPU more cheaply using
   the async api

   Can you clarify how that's the case?

   I would guess as long as you're being billed for the cpu-ms spent in
   your asynchronous calls, Google would let you hang yourself with them
   when it comes to billing.. :) so I presume they'd let you squeeze in
   as many as your original request, and its limit, will allow for?

   Thanks again.

   On Mar 16, 2:00 pm, David Wilson d...@botanicus.net wrote:
   It's completely undocumented (at this stage, anyway), but definitely
   seems to work. A few notes I've come gathered:

    - CPU time quota appears to be calculated based on literal time,
   rather than e.g. the UNIX concept of time spent in running state.

    - I can fetch 100 URLs in 1.3 seconds from a machine colocated in
   Germany using the asynchronous API. I can't begin to imagine how slow
   (and therefore expensive in monetary terms) this would be using the
   standard API.

    - The user-specified callback function appears to be invoked in a
   separate thread; the RPC isn't complete until this callback
   completes. The callback thread is still subject to the request
   deadline.

    - It's a standard interface, and seems to have no parallel
   restrictions at least for urlfetch and Datastore. However, I imagine
   that it's possible restrictions may be placed here at some later
   stage, since you can burn a whole lot more AppEngine CPU more cheaply
   using the async api.

    - It's standard only insomuch as you have to fiddle with
   AppEngine-internal protocolbuffer definitions for each service type.
   This mostly means copy-pasting the standard sync call code from the
   SDK, and hacking it to use pubsubhubub's proxy code.

   Per the last point, you might be better waiting for an officially
   sanctioned API for doing this, albeit I doubt the protocolbuffer
   definitions change all that often.

   Thanks for Brett Slatkin  co. for doing the digging required to get
   the async stuff working! :)

   David.

   2009/3/16 peterk peter.ke...@gmail.com:

Very neat.. Thank you.

Just to clarify, can we use this for all API calls? Datastore too? I
didn't look

[google-appengine] Re: Parallel urlfetch utility class / function.

2009-03-16 Thread Joe Bowman

I imagine keeping the request open until everything is done isn't
going to go away any time soon, it's how http responses work and the
scheduled tasks on the roadmap would be better suited to providing
better support for that. I also agree on the batch put and get
functionality for the most part is there.

My experience from mass delete scripts has been delete is extremely
heavy, and before the runtime length was extended, I came up with the
number 75 being the safe amount of entities to delete in a request
without encountering timeouts for the most part. I ended up using
javascript with a simple protocol (responses of there's more and
all done in order to delete 10k+ objects at a time). During that
time I did notice that repeated writing to the datastore (or delete in
my case) also caused other errors, which it looked like I was being
throttled, so that's something else you may encounter if you continue
to work on asynchronous datastore calls.

On Mar 16, 1:12 pm, David Wilson d...@botanicus.net wrote:
 I forgot to mention, AppEngine does not close the request until all
 asynchronous requests have ended. This means it's not truly fire and
 forget. Regardless of whether you're waiting for a response or not,
 if a request is in progress, the HTTP response body is not returned to
 the client.

 I created a simple function this morning to call datastore_v3.Delete
 on a set of key objects, it appeared to work but I didn't test beyond
 ensuring the callback didn't receive an exception. Pretty untested
 code here: http://pastie.org/417496.

 For simple uses, it's probably not all that useful to call Datastore
 asynchronously is all that useful anyway, since unlike urlfetch, you
 can already minimize latency by making batch calls at the start/end of
 your request for all the keys you want to load/save. It's possibly
 useful to use it to concurrently commit a bunch of different
 transactions, but the code for this is less trivial than the urlfetch
 case. Probably best to see what the AppEngine team themselves provide
 for this. ;)

 David.

 2009/3/16 bFlood bflood...@gmail.com:





  @joe - fire/forget - you can just skip the fetcher.wait() call (which
  call AsyncAPIProxy.wait). I'm not sure of you would need a valid
  callback but even if you did it could be a simple stub that does
  nothing.

  @david - have you made this work with datastore calls yet? having some
  issues trying to figure out how to set pbrequest/pbresponse variables

  cheers
  brian

  On Mar 16, 12:05 pm, Joe Bowman bowman.jos...@gmail.com wrote:
  Wow that's great. The SDK might be problematic for you, as it appears
  to be very single threaded, I know for a fact it can't reply to
  requests to itself.

  Out of curiosity, are you still using base urlfetch, or is it your own
  creation? While when Google releases their scheduled tasks
  functionality it will be less of an issue, if your solution had the
  ability to fire off urlfetch calls and not wait for a response, it
  could be a perfect fit for the gaeutilities cron utility.

  Currently it grabs a list of tasks it's supposed to run on request,
  sets a timestamp, runs one, the compares now() to the timestamp and if
  the timedelta is more than 1 second, stops running tasks and finishes
  the request. It already appears your project would be perfect for
  running all necessary tasks at once, and the MIT License I believe is
  compatible with the BSD license I've released gaeutilities, so would
  you have any personal objection to me including it in gaeutilities at
  some point, with proper attribution of course?

  If you haven't see that project, it's url 
  ishttp://gaeutilities.appspot.com/

  On Mar 16, 11:03 am, David Wilson d...@botanicus.net wrote:

   Joe,

   I've only tested it in production. ;)

   The code should work serially on the SDK, but I haven't tried yet.

   David.

   2009/3/16 Joe Bowman bowman.jos...@gmail.com:

Does the batch fetching working on live appengine applications, or
only on the SDK?

On Mar 16, 10:19 am, David Wilson d...@botanicus.net wrote:
I have no idea how definitive this is, but literally it means wall
clock time seems to be how CPU cost is measured. I guess this makes
sense for a few different reasons.

I found some internal function
google3.apphosting.runtime._apphosting_runtime___python__apiproxy.get_requ
 est_cpu_usage
with the docstring:

    Returns the number of megacycles used so far by this request.
    Does not include CPU used by API calls.

Calling it, then running time.sleep(5), then calling it again,
indicates thousands of megacycles used, yet in real terms the CPU was
probably doing nothing. I guess Datastore CPU, etc., is added on top
of this, but it seems to suggest to me that if you can drastically
reduce request time, quota usage should drop too.

I have yet to do any kind of rough measurements of Datastore CPU, so
I'm not sure how correct

[google-appengine] Re: Accessing the datastore

2009-03-16 Thread Joe Bowman

I think you're looking for this: 
http://code.google.com/appengine/articles/remote_api.html

On Mar 16, 1:01 am, pokiman adna...@gmail.com wrote:
 Hello All,

 Is there a way to access the google datastore via an external python
 program? What I want to basically do is run a computationally
 intensive process on my home machine and update the google datastore
 periodically, preferably automatically.

 Thanks in advance.
--~--~-~--~~~---~--~~
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: garutilities Session objects in Django app

2009-03-11 Thread Joe Bowman

Hi,

gaeutilities includes a session middleware

Just add it in your settings.py

For example, for one app I have

MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'common.appengine_utilities.django-
middleware.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)

Note, this only verified with appengine-patch, and not the django0.96
bundled with appengine. Not saying it doesn't work, just saying I've
never tried it.

Also, the middleware takes advantage of the new session cookie writer.
This is a large performance improvement by storing all session data in
cookies for anonymous requests. In order to switch to the datastore
backed solution for your logged in users, you'll need to reset the
session when they log in. The easiest way to do this after you've
authenticated the user, use request.session.save() to convert the
session to the datastore backed solution.

ie:

user = auth.authenticate()
request.session.save()
auth.login(request, user)

On Mar 11, 12:40 pm, Ritesh Nadhani rite...@gmail.com wrote:
 Hi

 So I was reading the session utility 
 athttp://code.google.com/p/gaeutilities/wiki/Session. I am using Django
 instead of web.py.

 The sample shows code:

 self.session = Session()

 In django, we dont get an object, rather a method is called, how can I
 store the session object similar to self.session.
--~--~-~--~~~---~--~~
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: Somewhat Disappointed.

2009-03-09 Thread Joe Bowman

Server side javascript would be awesome, I have to admit.

The challenges you are running into with having to use python and
javascript is just the nature of the game right now in most shops.
Don't forget CSS, and making sure both your CSS and javascript work
across all browsers. ugh

On Mar 9, 12:12 am, Owen o...@backspaces.net wrote:
 OK, I *love* GAE getting outa beta and charging.  Yup, I *wanna* pay,
 so that I can get what I'd like.

 BUT: the downside is that they haven't offered me what I want.  Django
 templates are fine, as is Python.  But on the client side I still have
 to wrestle with Javascript .. which is also a fine language.

 So what's my beef?  That I gotta use *two* languages.  Wimp that I am,
 I'm sorta getting tired of this.  I've written a fairly complicated
 GAE app, with Google Maps (and lately a few JS libraries), and I still
 get the two wonderful languages mixed up.

 So if I'm going to start paying, I want some love.  Either:

 1 - A Python environment that emits Javascript for the browser (think
 GWT)
 .. or
 2 - A server-side Javascript solution, like Aptana  Jaxer .

 After looking at the *huge* advances in Javascript code, I'm tempted
 to move from 1 to 2.  Lively Kernel is really nice, as is the JS
 version of Processing.org's graphics.

 But Google, as much as I love ya, you're still in beta.  I like your
 approach much more than Amazon's, and I think your getting there, but
 you're puzzling a lot of us who see you using GWT for high end apps,
 but not giving us GAE folks the full Monty.

 So what's your next move?

    -- Owen
--~--~-~--~~~---~--~~
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: ANNOUCEMENT: gaeutilities version 1.2.1 is now available. session bugfix

2009-03-08 Thread Joe Bowman

Forgot to post the url: http://gaeutilities.appspot.com

On Mar 8, 7:50 pm, bowman.jos...@gmail.com bowman.jos...@gmail.com
wrote:
 Not much new in this release. There was an issue where entities with
 empty sid values were getting created along with valid new sessions,
 this bug has been fixed.
 cache has also been expanded to have a has_key() method.
 Work has begun on a pagination library for gaeutilities, more
 information can be found in this 
 post:http://groups.google.com/group/appengine-utilities/browse_thread/thre...

 Users of version 1.2 (and any other version) are strongly recommended
 to upgrade if you are using session.
--~--~-~--~~~---~--~~
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] bulk loader/uploader typo

2009-02-12 Thread Joe Blau

http://code.google.com/appengine/docs/python/tools/uploadingdata.html

On OSX, the command in /usr/local/bin is called bulkloader.py, but
in the docs under the sections Uploading the Data to App Engine and
Loading Data Into the Development Server, it says
bulkuploader.py.  I'm not 100% sure the word up should be in that
scripts file name.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



  1   2   >