[google-appengine] Re: FTP alternatives

2010-12-28 Thread John McLaughlin
I wrote an EC2 cURL Server and put it on a micro instance to overcome similar limitations. See http://ec2-204-236-157-181.us-west-1.compute.amazonaws.com, and https://github.com/mjhm/cURLServer. It can function as an FTP client, but if you needed it to be a server, you would need to add that fun

[google-appengine] Re: PyDev on Eclipse

2010-11-23 Thread John McLaughlin
My update URL points to: http://pydev.org/updates On Nov 22, 11:40 pm, Katyayani Bhatia wrote: > Hello everyone, > > I am trying to install PyDev on Eclipse, but the > URLhttp://pydev.sourceforge.net/updates/is facing some problems. > > Could you please suggest some alternate site for the same.

[google-appengine] Re: Store Image to Blobstore withou Upload FORM

2010-11-22 Thread John McLaughlin
I needed to get video files to the blobstore from Amazon S3 (all more than 1MB, btw), and I also noticed a lot of people having various issues getting stuff to the blobstore. So I wrote a general purpose cURL Server that I have sitting on a EC2 micro instance: http://ec2-204-236-157-181.us-west-1.

[google-appengine] Re: Store Image to Blobstore withou Upload FORM

2010-11-21 Thread John McLaughlin
To be more precise you can't store a blobstore item without a file POST request. This be done procedurally on a non-browser client -- for example using cURL. But through a browser you're pretty much stuck with items. On Nov 21, 6:48 am, acellam guy wrote: > thanks!! > > On Sun, Nov 21, 2010 at

[google-appengine] Re: Video streaming working with tag, not with flash player ?

2010-11-08 Thread John McLaughlin
AFAIK "player.swf" just takes a file link. It doesn't ask for byte ranges. This on the edge of my knowledge of Flash though, I haven't done any work with live video streaming, and I'm working from the Python API. I just double checked and IE8 indeed falls through to the Flash player for my examp

[google-appengine] Re: Video streaming working with tag, not with flash player ?

2010-11-08 Thread John McLaughlin
This site http://camendesign.com/code/video_for_everybody give pretty much everything you need to know about setting up HTML5 video with flash fallback, I've been using variations of it serving video from GAE Blobstore with no problem -- though I personally haven't tested it beyond Firefox, Chrome

[google-appengine] Re: Reality Check: Is GAE the right platform for my app?

2010-11-02 Thread John McLaughlin
ossibility that we would stick with our current > > EC2 methodology and put off the inevitable tech rewrite.  But we are > > currently between projects, and have the opportunity to switch > > technologies now and avoid the "changing tires while speeding down the > > free

[google-appengine] Re: Reality Check: Is GAE the right platform for my app?

2010-11-01 Thread John McLaughlin
> What are your reasons for leaving Amazon's EC2? > > Knowing the primary reasons you have for leaving EC2 may help determine if > migrating to Appengine is worthwhile. > > On Mon, Nov 1, 2010 at 6:08 PM, John McLaughlin < > > > > > > > > johnmclaugh.

[google-appengine] Reality Check: Is GAE the right platform for my app?

2010-11-01 Thread John McLaughlin
Hi All, I’m looking for a reality check before diving into developing (in python) a major application for our web site (technically this is a ground-up rewrite of an aging EC2 based app). There are a lot of things that I like about GAE: easy development and deployment, (mostly) worry free data stor

[google-appengine] cURL Server

2010-10-27 Thread John McLaughlin
I needed a tool to move videos from Amazon S3 to the GAE Blobstore all controlled from my GAE app. My best solution was to put a command line cURL app on an AWS Micro instance. I needed it to run asynchronously to keep my app from timing out, so I put in a daemon to process queued cURL requests.

[google-appengine] Re: download_app

2010-10-23 Thread John McLaughlin
I like keeping my functionality separate. I currently use: GAE -- for deployment SVN -- for version control and archiving Dropbox -- for automatic file backups and file sharing. (In fact my whole personal source tree is in a Dropbox folder.) I agree with the others. Using GAE for the other f

[google-appengine] Re: URL manage

2010-10-18 Thread John McLaughlin
I'm now wondering if I'm missing something. I tried using the regex groups in the webapp.WSGIApplication call, but after a couple of times getting argument/parameter mismatches I gave up on that. I decided that it was much easier and cleaner to do the url path parsing using python regex within th

[google-appengine] Re: How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread John McLaughlin
d not have considered it, however with the > maturing of these technologies, the plethora of well-tested JavaScript > frameworks and libraries available and what I believe is a rejuvenated look > back into JavaScript - I think there has never been a better time to provide > a server

[google-appengine] Re: How about JavaScript v8 as the next language for Google App Engine?

2010-10-10 Thread John McLaughlin
My gut reaction to this is that I'd rather have Python 3 over server side JavaScript. The Python API is already comparable to (and possibly faster than) the Java API. See http://gaejava.appspot.com/ and http://stackoverflow.com/questions/1085898/choosing-java-vs-python-on-google-app-engine. So t

[google-appengine] Re: How to get some value from JavaScript to Python?

2010-10-08 Thread John McLaughlin
I'm not completely clear on what you are trying to do and the specifics of the interactions. My best understanding is that you have a user initiated POST operation that is happening from a window whose domain is different from that of an iframe that it contains. You want to communicate the resu

[google-appengine] Re: bolbstore and content type via swfupload

2010-09-30 Thread John McLaughlin
This may not be much help, but I've used cURL for blobstore uploads. It shows progress in text, and it will pass the mimetype you specify. (It's not good at guessing mimetypes from file paths though.) http://curl.haxx.se/ On Sep 28, 11:40 pm, msmart wrote: > Hi, > > has anyone managed to set the

[google-appengine] Re: Modularising my App in a Security Context

2010-09-26 Thread John McLaughlin
I think I get the OP's requirements. The main use cases that I can think of are wanting to give a tier of developer-users a server-side scripting capability but limit and/or monitor their access to the datastore. For such use cases manually monitoring developers is neither possible nor desirable.

[google-appengine] Re: Modularising my App in a Security Context

2010-09-24 Thread John McLaughlin
Interesting question. I like the two app approach. That said, one hypothetical way you might achieve it with one app is to restrict how the secondary developers run appcfg.py. They can only run a special version which sticks something like the following onto the front of their files: import sys

[google-appengine] Re: Video Streaming

2010-09-24 Thread John McLaughlin
Hi Krishna, I'm in the middle of investigating using serving video from GAE. My interest is primarily distributed computer graphics film and video production, rather than pure serving of end user content. However I'm probably looking into similar issues. So far what I have working is: 1. Uploa

[google-appengine] Re: Versioning applications/entities

2010-09-24 Thread John McLaughlin
For this particular case I would consider doing a two pass process. Add the encrypted password to the datastore on the first pass. Then switch the code to use the encrypted passwords, and finally remove the old passwords. The advantages are that you can do your final testing on live data, it's ea

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

2010-09-24 Thread John McLaughlin
I don't think so. I've been working with the opposite assumption. When they say "running on Google's infrastructure" I'm assuming that my application will be running worldwide with datastore information replicated as needed to worldwide servers. Perhaps Google AppEngine for Business can make such

[google-appengine] Re: Error

2010-09-18 Thread John McLaughlin
I saw this error too, and the indexing took at least a couple hours. However it turns out that I was being embarrassingly slopping in my coding and didn't really need the indexing. (I was doing a sort on a "date" on a list of less than 4 items to just get the latest item. Forgive me father, for I

[google-appengine] Re: Stringified Key format: which characters?

2010-09-14 Thread John McLaughlin
Funny, I was looking at the same wikipedia page today. I've seen the '=' pad character in the Dev Server keys, but not production keys. I'm hoping that the key names avoid '_' since I'm using it as a token separator in one place. But it would be nice to know definitively. On Sep 14, 6:28 am, Fran

[google-appengine] Re: Retrieving image from a Blob

2010-09-14 Thread John McLaughlin
eys are the correct kind. > > The key he posted in his initial thread is a Photo. > > Robert > > On Tue, Sep 14, 2010 at 11:34, John McLaughlin > > > > wrote: > > The one thing that looked off to me is that the line in ServePhoto > > >     photo = db.get

[google-appengine] Re: Retrieving image from a Blob

2010-09-14 Thread John McLaughlin
The one thing that looked off to me is that the line in ServePhoto photo = db.get(self.request.get("photo_id")) might want to be photo = Photo.get(self.request.get("photo_id")) I think db.get is a datastore method, not an inherited method from db.Model On Sep 13, 8:09 pm, Robert Klu

[google-appengine] Re: get_serving_url and DDOS attacks

2010-09-06 Thread John McLaughlin
I think Philip is most concerned with this statement from the get_serving_url doc: "The URL returned by this method is always public, but not guessable; private URLs are not currently supported. If you wish to stop serving the URL, delete the underlying blob key. This takes up to 24 hours to take

[google-appengine] Re: Uploading to the blobstore directly

2010-09-06 Thread John McLaughlin
I think you've got the picture. I was dealing with this sort of thing a couple weeks ago and wrote a cookbook page that kinda-sorta makes it a one step process. http://appengine-cookbook.appspot.com/recipe/just-in-time-blobstore-upload-urls Let me know if it's helpful. -- John On Sep 5, 11:03 a

[google-appengine] Re: Programatically uploading blobs to the datastore

2010-09-02 Thread John McLaughlin
This seems very closely related to: http://groups.google.com/group/google-appengine-python/browse_thread/thread/879821e0d91a61e7# On Sep 2, 11:25 am, John Boxall wrote: > Hey AppEnginites, > > I'm trying to programatically uploading blobs to the datastore from my > application via a handler that

[google-appengine] Re: Automatically expiring paths to blobstore entities

2010-09-01 Thread John McLaughlin
n > store the random key into memcache and just let the expiration mechanism > handle it, the only drawback here is the potential for volatility. > > On Wed, Aug 25, 2010 at 2:39 PM, John McLaughlin < > > > > > > johnmclaugh...@massanimation.com> wrote: > &

[google-appengine] Re: Detect Mobile Phone

2010-08-25 Thread John McLaughlin
If you're just trying to determine if it's mobile and nothing else -- grepping the HTTP_USER_AGENT for "Mobile" and "Blackberry" will catch most smart phones (iPhones, Androids, Blackberrys). Grepping for about 10 patterns of manufacture names should get you to 99%. See http://en.wikipedia.org/wi

[google-appengine] Automatically expiring paths to blobstore entities

2010-08-25 Thread John McLaughlin
This is something simple that I have to believe someone has already done and standardized. My main objective is to be able to create virtual paths to blobstore entities allow clients to retrieve items for only a set period of time. For example the path ...appspot.com/blah/timedBlob/ ag5tYXNzLWFu