Python

5 Aug 2008

Google app Engine Backup Restore Datastore

Today, I made a full backup of the data on the Singularity web site on Google App Engine and restored it on my local machine running the SDK.

(more...)

Coming soon: backup and restore the data in your Google App Engine applications

4 Aug 2008

There isn't much documentation on what exactly is affected by the 1MB limit in Google App Engine so here's my effort at documenting this based on my empirical findings:

(more...)

The 1MB hard limit in Google App Engine

19 Jul 2008

I have to confess, I love naked domains. You might say, I have somewhat of a fetish.

Naked domains, of course, are domain names without the www prefix. So, instead of www.singularity08.com, for example, having singularity08.com.

One of my pet peeves are sites that don't display correctly without the www prefix. I've found that it's usually a good sign that the site is going to be pretty crap. In fact, I was hoping that some day we would have www disappear from use altogether and that we'd all be swimming in a sea of naked domains. Well, I almost got my wish -- we've at least got heaps of domains with nudity.

(more...)

No nudity please, we’re Google (or why you shouldn’t mix naked domains and www on Google App Engine)

12 Jul 2008

Update: Just as I was writing/releasing my patch, Matt Brown apparently committed r38 (diff) to the Google App Engine Helper for Django source tree which resolves the same issue -- and much more simply and elegantly than my solution, by using Django's own settings file. Use Matt's solution instead of my patch.

Original post follows:

(more...)

New runserver options for manage.py in Google App Engine Helper for Django

22 Jun 2008

iPython is an awesome extended Python shell that gives you goodies like tab completion for instances, history tracing (so you can easily copy interactive sessions as doctests), etc. And, if you install it, your Django project on Google App Engine will automatically start using it instead of the regular python shell when you use ./manage.py shell.

To install iPython on OS X Tiger (yes, my Leopard discs are still safely in their box since I downgraded and I don't see any reason to bring them back out yet), I followed the following steps:

(more...)

Winning at the shell game: iPython on Google App Engine