[google-appengine] Re: image retrieval from datastore in form of thumbnail

2010-09-06 Thread Niklasro
On Sep 3, 7:02 am, mugdha  wrote:
> How to retrieve image from datastore so we can create thumbnail  of
> that image?
It works here get_serving_url and just append number to wanted size eg
http://lh4.ggpht.com/jQaoYIcjfo29WZH3O0SVu23IomfoCIW8sHXOaJMqYdzh3ltSFuf52wGQyWi9W0nGOmdPWeOy_SQqvvZgeqzH4YbS8vCePA=s120
and
http://lh4.ggpht.com/jQaoYIcjfo29WZH3O0SVu23IomfoCIW8sHXOaJMqYdzh3ltSFuf52wGQyWi9W0nGOmdPWeOy_SQqvvZgeqzH4YbS8vCePA
where in this case =120 makes the thumbnail via get_serving_url
Hope this clarifies
Niklas R

-- 
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: get_serving_url and DDOS attacks

2010-09-06 Thread Niklasro
On Sep 5, 8:47 am, Flips  wrote:
> Hi,
>
> I am actually planning a new project that will heavily use the high-
> performance image serving. I actually have doubts that it is ready for
> productive usage, because we don't have any logs about it and its
> requests probably won't be reflected on the app engine dashboard. How
> are we supposed to detect DDOS attacks on image urls? Or what could we
> do if a top 500 website displays our image by using the image url on
> its site and consumes our traffic budget within minutes?
>
> Best Regards
> Philip
You can simulate an attack to see whether get_serving_url handles and
balances it.
Cheers
Niklas

-- 
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: Using OR statement in datastore

2010-09-06 Thread Niklasro
On Sep 6, 3:53 am, killer barney  wrote:
> I'm a dunce. how does query filters help in the OR process?
>
> So do I do a query with contains "dog" and "cat"?
>
> On Sep 5, 8:44 pm, Nate Bauernfeind 
> wrote:
>
> >http://code.google.com/appengine/docs/java/datastore/queriesandindexe...
>
> > See "Query Filters". Should answer your how-to question.
>
> > In the backend it actually does two separate queries, but in parallel (then
> > does any merging/union-ing based on your entire query after retrieving the
> > results). There are some google tech talks on how the datastore works which
> > should give you a really good idea why it is done this way.
>
> > On Sun, Sep 5, 2010 at 10:34 PM, killer barney  wrote:
> > > This is something I never figured out how to do.  How do you
> > > supplement an OR statement in datastore?
>
> > > So let's say I have a user who sells Dogs and Cats.  How do I get a
> > > list of all of the dogs and cats that a user sells? I thought of 2
> > > ways, query both tables and combine the results in the backend or
> > > create an additional generic table Animals that tabulates all of the
> > > selling action into a list and search the Animals entries for that
> > > user.
>
> > > I created this scenario just so you can have an idea of what I am
> > > looking for, but in reality, my "cats" table may consist of hundreds
> > > of users.  I'm not sure if creating a combined list property of Dog
> > > and Cat users is the way to go.  And doing two queries just doesn't
> > > seem right either.  Is there a better way to do this?
A replacement in many cases is the IN operator. Did you try it?
Regards
Niklas

-- 
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: What is the most efficient way to do a large IN query in GQL?

2010-09-06 Thread Niklasro
On Sep 7, 12:01 am, johnterran  wrote:
> Hi Robert,
>
> I can't use the key_name.  The ids are not from my site
> i.e.
> Lets say the ids are from twitter. I want to know how many of the
> twitter users
> are registered on my site.   So the ids can exists in the datastore,
> but it doesn't have to.
>
> Is the best way to get all the users and filter them manually similar
> to what Niklas wrote?
>
> Thanks
> John
>
> On Sep 6, 8:22 am, Robert Kluin  wrote:
>
> > It will not be possible to use IN for something like that.  IN will
> > execute a series of queries, and it is is capped at 30.
>
> > If possible, I would suggest you make the entity key_name the user's
> > id.  Then you can just build a list of keys and fetch those -- but I
> > really doubt you'll get anything close to 10K on a single fetch.
>
> > Robert
>
> > On Mon, Sep 6, 2010 at 04:51, johnterran  wrote:
> > > Hi
>
> > > In BigTable, what is the most efficient way to do a large IN query?
> > > My IN parameter list is typically 500 but can be 10k+
> > > i.e.
> > > class User(db.Model):
> > >    name = db.StringProperty(required = True)
> > >    id = db.StringProperty(required = True)
>
> > > given a list of ids that can consist of 10k list, i need to retrieve
> > > all the names
> > >  users = db.GqlQuery("SELECT * FROM User where id IN :1",
> > >                            ids)
>
> > > what is the best way to do this?
>
> > > Thanks
> > > John
class Match(db.Model):#match other with own
  user=db.UserProperty(verbose_name="myuser")
 
reference=db.ReferenceProperty(OtherModel,collection_name='matched_users',verbose_name="Title")

Here a better(?) structure referenced model ie twitter.matched_users
could do it or even in memcache for something like a dictionary or a
table. Again I didn't program it only proposing similar structure
which solved my logic matching entities
according to nearly arbitrary matches So like making the query like a
dictionary worked for blobs also "automatically" parametrized via
get_serving_url ie finding the parametrization got querying 2 () only
querying 1 just observing how query parametrizes.
Regards
Niklas (proposing Match class that also can work self-referencing)

-- 
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: Use get_serving_url with default image?

2010-09-06 Thread Niklasro
On Sep 4, 2:38 pm, aWaKeNiNG  wrote:
> Hi,
>
> The users of my website have an optional avatar (with 2 different
> sizes) with key_name = username (example big/username.jpg and medium/
> username.jpg). If they haven't avatar I show a default image.
>
> Now I want to use the new feature "automatic image thumbnailing" with
> its advantages.
>
> The problem is that if the user has not an avatar. I cant know if it
> is a valid image.
>
> Solutions in my mind:
>
> 1. Insert the default image in all users, then it always exists (i
> think a bad idea).
> 2. A default image that appengine load if doesnt exist the url image.
> But i dont know if appengine has implemented this option.
>
> Any ideas?
>
> Thank you.
Here's my image class and a link to a demo that displays thumbnail
with get_serving_url
class Image(db.Model):#save one, resize dynamically or convert to
blobstore
 
reference=db.ReferenceProperty(A,collection_name='matched_images',verbose_name="Title")
  primary_image = blobstore.BlobReferenceProperty()
Thumbnail
http://lh3.ggpht.com/u8cUZbdyCWfchWq0gxlyd26zlbjUCZziEewEhFlvwg_B6vqLvfFi3a9SIC14rSP3BOMNim_fJ2dD7GNET56deZDA6OQ=s120
Original
http://lh3.ggpht.com/u8cUZbdyCWfchWq0gxlyd26zlbjUCZziEewEhFlvwg_B6vqLvfFi3a9SIC14rSP3BOMNim_fJ2dD7GNET56deZDA6OQ
Hoping we can discuss ideas onwards
Thanks
Niklas

-- 
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] Direct provider federated identities

2010-09-07 Thread Niklasro
Here are the listed ones
* google.com/accounts/o8/id (shorter alternative: gmail.com)
* yahoo.com
* myspace.com
* aol.com
* myopenid.com
Are there more? How do we enable OpenID eg name.blogspot.com logins?
Thanks
Niklasro

-- 
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: Python 50% faster than Java

2010-09-09 Thread Niklasro
I think 4 cases that can depend on context makes ambigiously
1) A is a faster interpretator than B
2) A is a faster VM than B
3) Specific solution with A is faster than with B
4) Development times are much quicker some way compared to other less
regarding execution time
Cheers
Nick Rosencrantz

On Sep 10, 3:11 am, "Dmitriy T." <403...@gmail.com> wrote:
> The author of this article just underqualified.
>
> For example:
> "So I took to writing the service in Python. I quickly realized that
> Python had much more control over the datastore. It was really easy to
> pick which fields to index and which fields to ignore. In Java, all
> fields were indexed."
>
> He even don't know how to make unindexed property in Java. About Java
> GAE low-level API or about Objectify he probably know nothing.
>
> On Sep 10, 1:19 am, Francois Masurel  wrote:
>
> > I've just found this article about App Engine :
>
> >http://moderndeveloper.blogspot.com/2010/09/google-app-engine-scaling...
>
> > They say that Python is 50% faster than Java for their specific use
> > case.
>
> > Does that mean that we should preferably use Python for heavy traffic
> > services ?
>
> > Francois

-- 
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] Datastore statistics

2010-09-11 Thread Niklasro
Hi
We got "last updated" from the stats panel. How now if we want to know
ie mean time between updates ("intensity") or number of new entities
for a model last 24 hrs? Is there such a feature or need to implement
if wanted?
Thanks
Niklas

-- 
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: How can i allow user to download a zip file?

2010-09-13 Thread Niklasro
On Sep 13, 12:40 am, Bit Liner  wrote:
> i am developing an app that uses two files, and the app needs one page
> where user can download these two files compressed in a zip file.
>
> But GAE doesn't support java.io, and i don't know how generate a path/
> url that allows user to download this zip file.
>
> Some help?
With python we can generate zip files, so java should be able too.
Here's how to gzip it in python

zbuf = StringIO.StringIO()
zfile = gzip.GzipFile(None, 'wb', 9, zbuf)
zfile.write(buf)
zfile.close()
return zbuf.getvalue()

-- 
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: [OT] Content flagging system

2010-09-13 Thread Niklasro
On Sep 12, 8:00 pm, Harshal  wrote:
> Kind of had a similar thought, but before implementing wanted to know if
> there are any better ways.
>
> Thanks for your time.
>
> On Mon, Sep 13, 2010 at 1:25 AM, Robert Kluin wrote:
>
> > Why not provide a 'flag' button that, when clicked, flags the post as
> > inappropriate?  If you want to get fancy keep a count of how many
> > people have flagged a particular entry so you can review "really
> > offensive" stuff sooner or even auto-remove it once it hits a certain
> > threshold.
>
> > Is that what your question was?
>
> > Robert
>
> > On Sat, Sep 11, 2010 at 22:11, Harshal  wrote:
> > > Hi,
> > > Sorry for this OT post. Thought some of the GAE developers can be helpful
> > > here. I want to understand how the content flagging system works. If I
> > write
> > > an app which allows users to post items how does one go about
> > implementing a
> > > flagging system for content which is inappropriate for certain section of
> > > society or simply violates terms and conditions?
> > > Thanks.
Craigslist has a system like this where users can flag content as
inappropriate. You may want to have a look how it's done.
They got 4 flags: wrong category, illegal, spam/duplicate and best-of.
Regards
Nick R

-- 
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: SEO and High Performance Image API get_serving_url(). Use a GET parameter?

2010-09-19 Thread Niklasro


On Sep 17, 10:17 pm, Joseph Letness  wrote:
> I'm no SEO expert but I've always considered it Best Practice to use
> semantically meaningful URLs for the both "src" and "alt" attributes
> in my HTML.  However, using get_serving_url() takes away any SEO
> relevance in the "src" attribute.  But after testing performance with
> get_serving_url(), I think the improved user-experience is worth the
> loss in SEO.
>
> Although, I think that a possible work-around for this would be to
> append the URL in the markup with a GET parameter containing
> meaningful data.  For example:
>
> http://lh5.ggpht.com/V53SofI9tmIdjz28H7=s160?filename=keyword-friendl...
>
> I've tested this and it seems to work just fine.  However, I am
> **assuming** that Googles image server is just ignoring the GET
> parameter.  Does anybody know if this is the case or could I be
> negatively affecting performance with the extra parameter?
>
> Also, if there are any SEO experts in this group, does this sound like
> a worthwhile approach?
>
> Thanks!
>
> --Joe
Also when image was created and updated is more meaningful than a hash
value. Usecase I posted relies on semantic image information
"How to recognize (in)appropriate images?" (http://stackoverflow.com/
questions/1257933/starting-semantic-image-recognition)
Since implemented a solution combining semantic and id combined since
semantic is not unique simply //
Image recognition gets more advanced to create semantically
meaningsful information extracted from an RGB image histogram or
likewise for what information belongs to same set. An online image
editor may edit the image and keeping old semantics when working
towards that meaningful semantics are found from the image blob or
file.
Best wishes
Nick Rosencrantz

-- 
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: 118 languages set-up help - python

2010-09-21 Thread Niklasro


On Sep 21, 12:49 am, Martin Webb  wrote:
> using google app in python - not tipify,
>
> Can anyone offer any decent info / help on how to get 118 working so i can 
> build
> translations. i know tipify does this. Can i use the 118 module in my non 
> tipify
> app. How do i do this.
>
> I want to be able to get translations from code and also through django
> template.
>
> Regards
>
> Martin Webb
Here's a Google App Engine i18N blogpost with a request handler you
can use that worked for me.
http://makeyjl.blogspot.com/2009/02/using-djangos-i18n-in-google-app-engine.html
You can combine the translation already with the SDK with your own
translation in directory conf/LC_MESSAGES/
For a look how I switch between 40 languages you're welcome open this
source montao.googlecode.com and browse the .po and .mo files you
compile with compile-messages to add or replace .po and .mo already
bundled with GAE.
best wishes
Niklas R

-- 
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: 118 languages set-up help - python

2010-09-25 Thread Niklasro


On Sep 21, 9:10 am, Martin Webb  wrote:
> In aptana if i right click on my project under the package explorer - i do 
> have
> a "command line shell" is that where i run these commands from?
> Thanks again!
>
> Regards
>
> Martin Webb
>
> The information contained in this email is confidential and may contain
> proprietary information. It is meant solely for the intended recipient. Access
> to this email by anyone else is unauthorised. If you are not the intended
> recipient, any disclosure, copying, distribution or any action taken or 
> omitted
> in reliance on this, is prohibited and may be unlawful. No liability or
> responsibility is accepted if information or data is, for whatever reason
> corrupted or does not reach its intended recipient. No warranty is given that
> this email is free of viruses. The views expressed in this email are, unless
> otherwise stated, those of the author
>
> 
> From: Niklasro 
> To: Google App Engine 
> Sent: Tue, 21 September, 2010 9:55:20
> Subject: [google-appengine] Re: 118 languages set-up help - python
>
> On Sep 21, 12:49 am, Martin Webb  wrote:> using google 
> app in python - not tipify,
>
> > Can anyone offer any decent info / help on how to get 118 working so i can
> >build
> > translations. i know tipify does this. Can i use the 118 module in my non
> >tipify
> > app. How do i do this.
>
> > I want to be able to get translations from code and also through django
> > template.
>
> > Regards
>
> > Martin Webb
>
> Here's a Google App Engine i18N blogpost with a request handler you
> can use that worked for 
> me.http://makeyjl.blogspot.com/2009/02/using-djangos-i18n-in-google-app-...
> You can combine the translation already with the SDK with your own
> translation in directory conf/LC_MESSAGES/
> For a look how I switch between 40 languages you're welcome open this
> source montao.googlecode.com and browse the .po and .mo files you
> compile with compile-messages to add or replace .po and .mo already
> bundled with GAE.
> best wishes
> Niklas R
>
> --
> 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.
All I did was paste and inherit the request handler. I agree making an
example project could be helpful. My sources are public if it helps
(demo in greek http://www.montao.com.br/upload?hl=el)
It takes hl=el parameter for exmple for greek and optionally adds your
own .po file in addition to translations the SDK already can. I hope
I18N works for you since setting up translations required research a
bit.
Best wishes
Niklas

-- 
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: Video Streaming

2010-09-25 Thread Niklasro


On Sep 24, 5:33 pm, Krishna Bhupathi  wrote:
> I am planning to develop a website that would allow subscribed
> users(with a fee) to view/upload videos. I don't want these videos to
> show up on a public url as Youtube does. Is there a way I could do it
> on App Engine?
> Is there any API for App Engine for rich content? Is Blobstore
> solution for this? If so can any one help me point to a sample app to
> stream video over http using blobstore?
> Amazon CloudFront have very good API's for rich content but the
> restriction is, the content should be available as public. Any one
> with the URL can view my content.
> Any ideas that would achieve my goal welcome?
>
> Thanks and Regards,
> Krishna.
With Nick Johnson's FileHandlerForm you can upload and serve mp4.
http://blog.notdot.net/2010/03/Implementing-a-dropbox-service-with-the-Blobstore-API-Part-1
I deploy similar and called it http://blobsystem.appspot.com
It works upload and download mp4 video with federated login like
primitive solution. More advanced you probably would like
something like drupal.
Regards,
Niklas

-- 
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: fast bounding-box geo queries?

2010-10-05 Thread Niklasro


On Oct 5, 9:48 pm, Josh Haberman  wrote:
> I was looking at GeoModel, which has nice functionality for bounding-
> box geo 
> queries:http://code.google.com/apis/maps/articles/geospatial.htmlhttp://code.google.com/p/geomodel/
>
> Unfortunately, the demo application is quite slow.  Queries often take
> 2-4 seconds to return ~10 
> results.http://geomodel-demo.appspot.comhttp://geomodel-demo.appspot.com/speedtest
>
> I also see an open bug filed against GeoModel that proximity queries
> are slow:http://code.google.com/p/geomodel/issues/detail?id=20
>
> Any ideas why this is slow?  Glancing at the source, I notice it uses
> "IN" queries (eg. location_geocells IN ) -- perhaps
> this is less efficient than range queries?  But still, 2-4 seconds
> seems excessive to return 10 results.
>
> Hopefully the "next gen queries" which will apparently support space-
> filling curves will provide better performance for queries like 
> these?http://www.youtube.com/watch?v=ofhEyDBpngM
>
> Josh

Why is it slow? I use it and yes it's slow since making several
queries for one match. You could try do it with your own algorithm. I
try match points inside a polygon for arbitrary geography matches.
When slow we usually have 2 alternatives
a) faster platform
b) make fewer calls and fewer objects
You may benchmark my code matching stuff in Sao Paulo by long / lat:
http://www.montao.com.br/li?lat=-23.33&lon=-46.38
Sincerely,
Niklas

-- 
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: Better support for linux

2010-10-06 Thread Niklasro
If education, isn't changing other project more pedagocical than
starting a empty project? I think we learn the most from changing
code. Then every developer want most convenient development
environment plus maybe personal setting like round windows or what
like. Using BSD and a versioning system is needed. Don't you need
that? Typically what I do is adding and changing functions deployed
projects have. So connecting deployment directly to a versioning
system would bypass local development and admit the case programming
your app directly in the versioning system or even a WebGUI operating
system independent. Why not?
Regards
Nick Rosencrantz

-- 
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: django i18n complie messages

2010-10-11 Thread Niklasro
i18n works here with .po file like
/conf/locale/sv/LC_MESSAGES/django.po
for Swedish, then just run compile-messages and restart dev_appserver
updates the translations.
I hope it will work for you too.
Niklas

On Oct 10, 7:29 pm, Martin Webb  wrote:
> i have set up django i18n - with app engine - and it works - but i cant 
> compile
> the messages etc.
> To be honest i dont understand how i run the commands.
> Im using aptanna. From the project explorer if i right click i can run the
> command like
> it is already in my apps root folder
> so i assume i type python to run the python shell which works
> but then i cant see to get anywhere.
>
> acording to these instructions:
>
> http://code.google.com/p/yjl/source/browse/GoogleAppEngine/yjltest/i1...http://www.djangoproject.com/documentation/0.96/i18n/http://bazaar.launchpad.net/~itt-devs/issuetrackertracker/main/revisi...
>
> i need to do something like:
>
> # To generate a new language for the first time
>
> python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -l en
>
> # To compile all languages
>  python2.5 ../google_appengine/lib/django/django/bin/compile-messages.py
>
> # To update all languages
>  python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -a
> or
>
> bin/complie-messages.py
>
> but none of these commands or vairiants work.
>
> Can anyone tell me what/or where i am going wrong.
>
> I am using aptanna. python app engine. The three links above give varios
> different suggestions on how this is done.
>
> Regards
>
> Martin Webb
>
> The information contained in this email is confidential and may contain
> proprietary information. It is meant solely for the intended recipient. Access
> to this email by anyone else is unauthorised. If you are not the intended
> recipient, any disclosure, copying, distribution or any action taken or 
> omitted
> in reliance on this, is prohibited and may be unlawful. No liability or
> responsibility is accepted if information or data is, for whatever reason
> corrupted or does not reach its intended recipient. No warranty is given that
> this email is free of viruses. The views expressed in this email are, unless
> otherwise stated, those of the author

-- 
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: django i18n complie messages

2010-12-02 Thread Niklasro
I only needed one script to make i18n: "compile-messages.py",
just run it and it updates any edited .po to .mo that connects the
translations,
somewhat contrary to what the manual states which is running 2 or more
scripts.
It worked on windows and on Linux when having gettext installed.
I hope you enable it.
Cheers,
Niklas

On 11 Okt, 15:41, Martin Webb  wrote:
> Nik
>
> I have it all working what i dont have is information on how to run the shell
> commands to make/compile messages on Windows
>
> PYTHONPATH=/path/to/googleappengine/python/lib/django/
> /path/to/googleappengine/python/lib/django/django/bin/make-messages.py -l en
>
> The above command is for linux - what/ and how do i run the comands in
> windows???
>
> Regards
>
> Martin Webb
>
> 
> From: Niklasro 
> To: Google App Engine 
> Sent: Mon, 11 October, 2010 14:09:39
> Subject: [google-appengine] Re: django i18n complie messages
>
> i18n works here with .po file like
> /conf/locale/sv/LC_MESSAGES/django.po
> for Swedish, then just run compile-messages and restart dev_appserver
> updates the translations.
> I hope it will work for you too.
> Niklas
>
> On Oct 10, 7:29 pm, Martin Webb  wrote:
>
>
>
> > i have set up django i18n - with app engine - and it works - but i cant
> compile
> > the messages etc.
> > To be honest i dont understand how i run the commands.
> > Im using aptanna. From the project explorer if i right click i can run the
> > command like
> > it is already in my apps root folder
> > so i assume i type python to run the python shell which works
> > but then i cant see to get anywhere.
>
> > acording to these instructions:
>
> >http://code.google.com/p/yjl/source/browse/GoogleAppEngine/yjltest/i1..
> >.
>
> > i need to do something like:
>
> > # To generate a new language for the first time
>
> > python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -l en
>
> > # To compile all languages
> >  python2.5 ../google_appengine/lib/django/django/bin/compile-messages.py
>
> > # To update all languages
> >  python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -a
> > or
>
> > bin/complie-messages.py
>
> > but none of these commands or vairiants work.
>
> > Can anyone tell me what/or where i am going wrong.
>
> > I am using aptanna. python app engine. The three links above give varios
> > different suggestions on how this is done.
>
> > Regards
>
> > Martin Webb
>
> > The information contained in this email is confidential and may contain
> > proprietary information. It is meant solely for the intended recipient. 
> > Access
> > to this email by anyone else is unauthorised. If you are not the intended
> > recipient, any disclosure, copying, distribution or any action taken or
> omitted
> > in reliance on this, is prohibited and may be unlawful. No liability or
> > responsibility is accepted if information or data is, for whatever reason
> > corrupted or does not reach its intended recipient. No warranty is given 
> > that
> > this email is free of viruses. The views expressed in this email are, unless
> > otherwise stated, those of the author
>
> --
> 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] Re: from google.appengine.ext.webapp import template

2010-12-19 Thread Niklasro
Hello
The templates should work like before.
I too had this failure with importing template when upgrading to SDK
1.4 and solved it going through the error message seeing
it originated from some third party library I had added myself to my
project.
I removed that library and again things worked.

If you post or more closely investigate the error log it may show that
your
problem/solution is the result of some library conflict.

I hope some of this info can give you an idea how to deploy a working
version.

Best regards,
Niklas R

On Dec 19, 6:13 am, Martin Webb  wrote:
> hi all...
> Since we have moved to 1.4 - ive not updated my local dev pc yet - now i 
> deploy
> my app - it dosnt work -  the includes fail in all my modules for:
>
> from google.appengine.ext.webapp import template
>
> i have tracked it down to the webb django template helper - please dont tell 
> me
> this has been removed from 1.4 - can i still use django - or do i need to redo
> all my templates using a new templater?
>
> Regards
>
> Martin Webb
>
> T. 01233 660879
> F. 01233 640949
> M. 07798946071
>
> The information contained in this email is confidential and may contain
> proprietary information. It is meant solely for the intended recipient. Access
> to this email by anyone else is unauthorised. If you are not the intended
> recipient, any disclosure, copying, distribution or any action taken or 
> omitted
> in reliance on this, is prohibited and may be unlawful. No liability or
> responsibility is accepted if information or data is, for whatever reason
> corrupted or does not reach its intended recipient. No warranty is given that
> this email is free of viruses. The views expressed in this email are, unless
> otherwise stated, those of the author

-- 
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] i18n gettext with html

2010-04-23 Thread Niklasro(.appspot)
Dear group, while towards user all looks all well it's kinda against
good practice mixing code and translations ie looking for alternative
to mixing html and translations where now

msgid "You can"
msgstr "Finn Annons...
nytt .."

Related Q2 how to handle escape welcoming pointers and advice.

msgid "Computers & Accessories"
msgstr "Datorer & Datordelar"

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



[google-appengine] Re: Upload files larger than 10MB?

2010-04-25 Thread Niklasro(.appspot)


On Apr 25, 7:39 am, "Magnus O."  wrote:
> Hi,
>
> I'm using the MaxMind GeoLiteCity.dat (http://www.maxmind.com/app/
> geolitecity) file to get the geolocation of my visitors. It works
> great in the development environment but I can not deploy it since the
> dat file is about 30MB?
>
> Is it not possible to deploy files larger than 30mb?
>
> //Magnus
Alternatives are http://code.google.com/p/geomodel/
and clientside latlng = new
google.maps.LatLng(google.loader.ClientLocation.latitude,
google.loader.ClientLocation.longitude);
location = "IP location: " + getFormattedLocation();

-- 
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: Advice on improving performance of a query

2010-05-26 Thread Niklasro(.appspot)
General good start depends on get or post you always can
benchmark( why you need http post

On May 22, 8:53 pm, Lenny Rachitsky  wrote:
> I have the following query and associated fetch:
>
> query = db.GqlQuery("SELECT * FROM VenueHistory WHERE venue_id
> = :venue_id ORDER BY time desc", venue_id=str(venue_id))
> results = query.fetch(1000)
>
> The VenueHistory data model is such:
>
> class VenueHistory(db.Model):
>     venue_id = db.StringProperty(required=True)
>     males = db.IntegerProperty(required=True)
>     females = db.IntegerProperty(required=True)
>     time = db.DateTimeProperty(auto_now_add=True)
>     checkedin_users = db.ListProperty(str)
>
> In production app stats, the "query.fetch(1000)" request is seeing
> performance on average around 20507ms (9179ms api). Often times it
> times out.
>
> Is this expected? Should I expect > 20 second run times from a fetch
> of 1000 results? Any advice on getting back this amount of data more
> efficiently?
>
> Thank you in advance,
> Lenny
>
> --
> 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] Re: Advice on improving performance of a query

2010-05-26 Thread Niklasro(.appspot)


On May 22, 11:15 pm, Herbert  wrote:
> Hi Lenny,
>
> Datastore read time has a lot to do with the total size of the
> returned results. There's a list property in the model too the total
> size would be quite significant. Do you have to read the lists for all
> results? If not you can store the lists in a separate entity for
> optimizations.
>
> Herbert
>
> --
> 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.
memcache is 1 obvious choice 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-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: Interesting evaluation of AppEngine for transaction processing and a comparison to other cloud providers

2010-05-28 Thread Niklasro(.appspot)


On May 27, 7:27 am, Ivan Zuzak  wrote:
> Hi all,
>
> Just thought I'd mention this here as it is probably interesting to
> AppEngine developers -- there's a paper on "An Evaluation of
> Alternative Architectures for Transaction Processing in the Cloud"
> available at [1] and a short overview at [2].
>
> Best,
> Ivan
>
> [1]http://systems.ethz.pubzone.org/servlet/Attachment?attachmentId=76&ve...
>
> [2]http://highscalability.com/blog/2010/5/26/end-to-end-performance-stud...
Alway think why you need it:Alla edits reversible. Same thing

-- 
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: Advice on improving performance of a query

2010-05-28 Thread Niklasro(.appspot)
Readonly fundamentally is another thing. Task readonly, make that 1
and rest otherwise are great divisibles
On May 27, 11:30 pm, Lenny Rachitsky  wrote:
> Thanks for the tip Greg. But otherwise, I'm getting the impression
> this is normal for app engine?
>
> On May 26, 6:59 pm, Greg  wrote:
>
> > I have a task that regularly gets 100 objects at a time, and records
> > how long it takes. This ranges between 0.1 and 2 seconds, usually
> > closer to the lower end. Some of these values were from yesterday when
> > there were serious issues with the datastore.
>
> > My objects are slightly more complex than yours, but I would expect
> > similar performance. One thing I noticed is that you've left all your
> > properties indexed - this shouldn't affect reads, but will make writes
> > much slower. For any properties that you don't need to search by (and
> > particularly the list) add "indexed=False" to the definition.
>
> > Cheers
> > Greg.

-- 
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: A group of students need your valuation on their app

2010-05-30 Thread Niklasro(.appspot)
Following instruction here's a poll.cgi
Software UI, intelligibility, structure and misc all welcome discuss
onwards
*Required
UI Any instruction is arguable
1   2   3   4   5   6   7   8   9   
10
Strongly Agree  
I can teach better
UI Any instruction returns
* True
* Questionable
* False
UI Look & Feel look proprietary
1   2   3   4   5   6   7   8   9   
10
Strongly agree  
I can teach better
Intelligibility Any field or function is required
1   2   3   4   5   6   7   8   9   
10
Strongly Agree  
I can teach better
Intelligibility Doable ISO software compliance is improvable
1   2   3   4   5   6   7   8   9   
10
Strongly agree  
I can teach better
Structure Any modularization and partitioning is wise
1   2   3   4   5   6   7   8   9   
10
Strongly agree  
I can teach better
Structure It obeys DRY principles
1   2   3   4   5   6   7   8   9   
10
Agree completely
Can teach better
Structure Flexibility enables easy updates to new requirements
1   2   3   4   5   6   7   8   9   
10
Agreed completely   
Can teach better
Structure Any indentation is neat and externally conguent
1   2   3   4   5   6   7   8   9   
10
Agree   
Can teach better
Misc Deliverables are according to requirements
1   2   3   4   5   6   7   8   9   
10
Agree   
Can teach better
Misc Author supports details
1   2   3   4   5   6   7   8   9   
10
Agree   
Can teach better
On May 24, 8:41 pm, Duc Anh Nguyen  wrote:
> Hi,
> We just have completed the demo version of our Java app on GAE.
> Generally, our idea is to make a website that helps you improve your
> debugging skills. And for our school project, it should be a game, so
> we called it a debugging game.
>
> You'd play as an employee working for a cruel employer, who gives you
> a trashy bunch of codes everyday and wants you to fix them. So you'd
> read the code, you'd make some changes, and you submit your solution
> to the employer - the GAE server, where it compiles your code and
> return a result.
>
> Enough said, please take a look:http://bugkillr.appspot.com
> And we have a valuation form ready for you to fill 
> in!http://spreadsheets.google.com/viewform?hl=en&pli=1&formkey=dGJQVnRuU...
>
> Thank you so much. We really appreciate your help.
>
> --
> 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] Re: plans for 2-factor auth?

2010-06-04 Thread Niklasro(.appspot)
On Jun 4, 4:37 pm, "Ikai L (Google)"  wrote:
> It's not on our roadmap
>
> http://code.google.com/appengine/docs/roadmap.html
>
> We'll consider it if you file an issue here:
>
> http://code.google.com/p/googleappengine/issues/list
>
> In all honesty (*personal opinion alert*) every single place I've seen that
> forced users to use 2-factor auth resulted in wailing and gnashing of teeth.
> It's hard to create a security mechanism that is both hard to compromise and
> doesn't drive users nuts.
>
> On Fri, Jun 4, 2010 at 5:51 AM, Aljosa Mohorovic 
>
>
> > wrote:
> > On Jun 1, 11:29 pm, "Ikai L (Google)"  wrote:
> > > Do you mean such as with RSA tokens and such? You can definitely build
> > your
> > > own one time password implementation and email or (via an SMS or email
> > SMS
> > > gateway) SMS for a one time password.
>
> > I didn't mean for my apps running on appengine but for my account and
> > appengine dashboard (and other parts) where i can manage stuff.
> > the only thing i currently need is my google account and i can upload
> > new apps, delete apps and do related stuff.
>
> > what i'm actually asking is if i can enable additional step so that
> > managing my stuff at appengine requires something more than my google
> > account.
>
> > Aljosa Mohorovic
>
> > --
> > 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.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
Related security ongoing projekt analyses: Hur less or (un)important
also store salt when md5 and sha( towards user) appear transit all
smooth at smallscale storing salt for sha only or no salt added
bridged legacy md5 to safer and/or newer preferably like  IFRS 
The title of proposed ISA 505 is ' External Confirmations' externally
verified account like audited non-techies ie sales recognize

-- 
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: regex in log search

2010-06-05 Thread Niklasro(.appspot)
On Jun 4, 11:21 pm, djidjadji  wrote:
> the regex uses the \s \w as specials
>
> 2010/6/4 Philip Tucker :
>
> > I can't seem to get any regex patterns to work in the dashboard logs
> > search, in particular /b, /s, /w, and /W. Is this a known issue?
djidjadji informed patterns with grep and awk already known patterns
we could now looking for equivalent grep -v pattern | grep -v pattern
filtering logs with regex got roundabout
http://groups.google.com/g/31b7fb05/t/1d8577e12a3ea6f2/d/8f524603cc312de7

-- 
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: insert-delete vs. get-edit-put

2010-06-10 Thread Niklasro(.appspot)
On Jun 10, 1:25 am, Jaroslav Záruba  wrote:
> I would go with identical key and single insert, no need to delete.
>
> On Wed, Jun 9, 2010 at 10:32 PM, alf  wrote:
> > Whats is better in term of performance
>
> > insert a new entity or recycle a entity previously inserted
>
> > thx
I say a system can match or new only. What's impossible?

-- 
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: GAE anti-DOS mechanism

2010-06-10 Thread Niklasro(.appspot)
Seen practical names filterchain just passing on more like AI then
ruled based selfupdating probabilities admintting new chances
blacklisted where material improved easy
informatic argument: levenstein comparing content so doublets even
looking good still blacklist
since same same repeating alternatively Markovian no memory and states
only updating probabilities according to material

On Jun 10, 1:31 am, Jaroslav Záruba  wrote:
> Is there any reason why use memcache instead of static collection  timestamp> in a filter? It does not seem to be that important to me to share
> such collection among all app. instances. Or am I wrong?
>
> On Thu, Jun 10, 2010 at 12:06 AM, nickmilon  wrote:
> > There were a couple of sugested solutions using memcache for this some
> > time ago in this thread.
> > The problem with those solutions is that if you delegate the task to
> > the request handler then you yave already started consuming cpu
> > resources.
>
> > On Jun 9, 10:13 pm, Timothy Makobu 
> > wrote:
> > > thanks nickmilon,
>
> > > I had read that, that would be after the DOS though. I meant something
> > that
> > > detects a certain number of requests per second and does a specified
> > action.
>
> > > like:
> > > if requests_per_second > 7:
> > >         block_ip(ip)
>
> > --
> > 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.

-- 
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] New project. What shall it do?

2010-07-03 Thread Niklasro(.appspot)
Now I got a project called osquar.googlecode.com as a tribute to
Computer Builder Osquar. Unaware and losing it what to do with the
project just welcoming any advice, recommendations, suggestions and
discussions onwards from here doing most stuff in python moving all I
can from computers to apps. What do you think a new project should?
Osquar could be a bot building bots, a program programming programs,
feeling free for you feeling free saying delete the thing or get
creative and instructive.
Best wishes,

-- 
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: InboundEmailMessage.subject doesn't support unicode strings

2010-07-05 Thread Niklasro(.appspot)


On Jul 5, 12:29 pm, Vladimir Prudnikov  wrote:
> It looks like InboundEmailMessage.subject doesn't support unicode
> strings.
>
> class AllMailHandler(InboundMailHandler):
>     def receive(self, message):
>         logging.info(message.subject)
>
> it writes "=?UTF-8?B?0L/RgNC40LLQtdGC?=" in the logs when I send email
> message with russian text in subject. I'm sending email from Gmail web
> interface. Writing subject string into database, decogind, encoding to
> utf-8 etc... always the same string.
>
> Russian text in body works fine at the same time.
>
> What I'm doing wrong? Is it bug?
Yes it appears somewhat buggy but works here ie
Date: 2010/7/6
Subject: Действие 05 июль Добро пожаловать, Вход recommends Planos de
Saúde
To: nikla...@gmail.com
Действие 05 июль Добро пожаловать, Вход 
www.koolbusiness.com/1569187/planos-de-sade
with code disponible via montao.googlecode.com
also hoping this link helps
http://appengine-cookbook.appspot.com/cat/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tyFgsSCENhdGVnb3J5IghNYWlsIEFQSQw

-- 
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] mod_rewrite old domain.cc.tld to gae named web.domain.cc.tld

2010-07-11 Thread Niklasro(.appspot)
Hey kept  RewriteRule ^/vi/?([0-9]+)\.htm$ /Market/vi.do?id=$1 [PT,L]
I now want same redirect added subdomain web. which is appengine
knowing many combos which won't. If any idea then kindly inform. Thank
you

-- 
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: making django templates "strict"?

2010-07-11 Thread Niklasro(.appspot)
Answer is yes just test if (not) None or likewise just that doing with
no none and no null tests getting it farther than obvious.

On 11 Juli, 00:36, "Webb S."  wrote:
> Is there a way (in Linux) to make the rendering of Django templates
> error out when a object property  is undefined?
>
> So that blah {{ bldg.name }}  throws a big fat stack trace,
> rather than rendering to  blah 
>
> This is mostly a problem for me with generated javascript code which
> is building a map.  I am sure there is a better way for that, but I
> haven't found it yet, and I would prefer to render templates strictly
> anyway.
>
> Tx!

-- 
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: mod_rewrite old domain.cc.tld to gae named web.domain.cc.tld

2010-07-12 Thread Niklasro(.appspot)
Somwhat awkward abt it now using this
RewriteEngine On
RewriteRule ^/ai?$ /Market/publish.jsp [QSA,L,PT]
RewriteRule ^/ar?$ /Market/MailDispatch [QSA,L,PT]
RewriteCond %{HTTP_HOST}   !^web\domain\.com\.br [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*) http://web.domain.com.br/$1 [L,R]
#RewriteRule ^/vi/?([0-9]+)\.htm$ /Market/vi.do?id=$1
[PT,L]
RewriteRule ^/li /Market/list.do [QSA,PT,L]
RewriteRule ^/vi/locations.jsp /Market/locations.jsp [PT,L]
ErrorDocument 404 /notfound.html

On Jul 11, 9:21 am, "Niklasro(.appspot)"  wrote:
> Hey kept  RewriteRule ^/vi/?([0-9]+)\.htm$ /Market/vi.do?id=$1 [PT,L]
> I now want same redirect added subdomain web. which is appengine
> knowing many combos which won't. If any idea then kindly inform. Thank
> you

-- 
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: mod_rewrite old domain.cc.tld to gae named web.domain.cc.tld

2010-07-14 Thread Niklasro(.appspot)
Doomed offtopic DNS stuff like anything

-- 
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: LargeImageError resizing large images on the BlobStore

2010-07-25 Thread Niklasro(.appspot)
I use a http post with resize which seems to work ie
create_image('file', self, self.request.POST.get('file').file.read()
didn't try very large still a way seems to work
avatar = images.resize(filedata, 80, 80)
where filedata is
I do resize that seems to work now changing my method from storing
different sized images
to new method saving space only storing the original and resizing
towards client. You may look if you like my display and code
web.montao.com.br/li and code available montao.googlecode

On Jul 24, 2:53 pm, José Moreira  wrote:
> ping
>
> No dia 20 de Julho de 2010 01:25, José Moreira
> escreveu:
>
>
>
> > Hello,
>
> > i'm getting LargeImageError resizing large images on the BlobStore, using
> > the blob_key as param.
> > The docs state that the Exception is thrown when the Images API returns
> > image data "above" 1mb on a transform, but i'm getting this error, afaik,
> > resizing image blobs to sizes that, here manually,m result in file sizes
> > bellow 1mb.
>
> > Anyone experienced any problems with this? Am i missing something?
>
> > --
> > irc://josemore...@irc.freenode.net
> >http://pt.linkedin.com/in/josemoreira
> >http://djangopeople.net/josemoreira
>
> --
> irc://josemore...@irc.freenode.nethttp://pt.linkedin.com/in/josemoreirahttp://djangopeople.net/josemoreira

-- 
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: geopt query

2010-07-25 Thread Niklasro(.appspot)
I use it you can try send longitude and latitude for entities matching
geopt. However there is no bijective to countrycode so it's considered
hacky
http://www.koolbusiness.com/li?lat=21.1894428&lon=77.3783789&cc=IN

On Jul 24, 12:36 pm, Patrick  wrote:
> Malcom -  had not seen those.  I will take a closer look, but it looks
> like a nice approach lacking a native GAE solution.  Thanks for the
> pointers.
>
> Harshal - I am glad to hear this.  I wish they would add it to their
> official roadmap.  It seems right up Google's alley.
>
> On Jul 23, 10:27 pm, Harshal  wrote:
>
> > Sadly I don't remember which talk, but they did talk about supporting geopt
> > queries in Google I/O 2010. IIRC, it was titled 'next gen queries' or
> > something.
>
> > On Sat, Jul 24, 2010 at 6:44 AM, Malcolm MacKinnon 
> > wrote:
>
> > > I'm not sure exactly what you're looking for. Have you seen this:
>
> > >http://code.google.com/p/geomodel/
>
> > > and
>
> > >http://code.google.com/apis/maps/articles/geospatial.html#pubschool
>
> > > The pubschools demo application source
> > > code is an excellent place to start.
>
> > > On Fri, Jul 23, 2010 at 5:17 PM, TL  wrote:
>
> > >> I posted a similar question a while ago, no response
>
> > >>http://groups.google.com/group/google-appengine-java/browse_thread/th...
>
> > >> --
> > >> 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 > >>  e...@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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@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-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: more one domain for one app

2010-08-07 Thread Niklasro(.appspot)
Technically yes we can eg dynamic language selection I do
(www.montao.com.br and www.koolbusiness.com is same app in 2
languages)

On Aug 5, 6:32 pm, Gleidson G Moura  wrote:
> Can more than one domain pointing to an application
>
> www.exemplo1.compoints to myapplication.appspot.comwww.exemplo2.compoints to 
> myapplication.appspot.com
>
> it 's possible?
>
> --
> Gleidson Guimarães Moura
> Analista Desenvolvedor JAVAhttp://www.algartecnologia.com.br/
>
> http://www.google.com/profiles/gleidson.gmoura
>
>  .. __@
>  _ \ >_
>  ...(_)/ (_)
>
> Os ventos que as vezes tiram algo que amamos, são os mesmos que trazem
> algo que aprendemos a amar...
> Por isso não devemos chorar pelo que nos foi tirado e sim, aprender a
> amar o que nos foi dado.
> Pois tudo aquilo que é realmente nosso, nunca se vai para sempre...
> Bob Marley
>
> The power of dreams.

-- 
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] Ideas for use cases wanted

2010-08-11 Thread Niklasro(.appspot)
Dear group, We invite you to visit our home page where you can find
our project while elaborating which use case next to implement maybe
you have some ideas? Our app is similar to craigslist with
announcements mostly from India and Brazil. www.koolbusiness.com Notes
what ideas is to do are color 00923E,F8C100,28166F or
FF,filters,removebutton,add title if missing, admin ui, better use
of css, drivingdirectionmarker in view announcement, less numbers,
#9fdc3a #ddd01b, search radii 80,90,110,150 rectangulars or squares,
more proprietary likeness towards copyright a more proprietary look
and fell, agreed [id]/[slugify(title)] where viceversa, the "better",
conflicts same titles i18n names "coloque", "anúncio", or "post"
obviously best thing developer knows both gae and user language,
contentflags so that users can rate announcements and deals, see eg
craigslist, local timezones (can do with javascript) preferably
serverside, maybe integrate with google base? Dj promotion / events
("evanemang, eventmakare") Real estate / Terrain (mäklare) Vehicles /
Electronics (mechatronics, mekatronik) Materials / Engineering
(components, services / labor) Credit companies, Services,
selfpromotion with orkut,google,twitter,fb, technically make space:
save 1 blob only and resize requestwise..Sincerely: Niklas

-- 
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: About GeoModel

2010-08-13 Thread Niklasro(.appspot)
The advantage is using longitude and latitude. The disadvantage is you
can't match everything in a country. Here's an example that may
display more insight what you can do here hitting data via longitude
and latitude in India for example http://www.koolbusiness.com/li?lat=20&lon=80
where latitude 20 and longitude 80 matches India.

On Aug 12, 1:07 pm, 昆宏 陳  wrote:
> Hello, everyone. I have some question about the use of geomodel.
> Can anyone help me to write some comment in the PubSchool Demo?
> Although it has already some comment on it. But I still can't
> understand it.
> The PubSchool Demo's source code is 
> herehttp://code.google.com/p/geomodel/source/browse/trunk/demos/pubschool...
> .
>
> And I have another question. What type of data just like the demo's
> school data can build in the GeoModel?
> And I wonder to know how and where the school data be built in
> GeoModel?
> I look "Public school data provided by the U.S. Department of
> Education's National Center for Education Statistics." at the bottom
> demo's website. But I don't know how it use these data in the GeoModel
> so that I can search them.
> Can anyone give me some idea? Besides,if I want to build my data in
> the GeoModel, how can I get to start?
> My data is built on my own. So they are viutual, they maybe have no
> meaning. They are not the real data on the web site.The real data
> means the data which has been built on the web site(just like shool
> data or bus stop data).
>
> Thanks! If you can't understand what I mean, tell me please.

-- 
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: Does ReplyTo email address need to be a developer?

2010-08-18 Thread Niklasro(.appspot)
Dear guys, could you elaborate or point to an example where these are
different so that we can understand:
*admin address
*valid address for that app to receive email on
With many thanks for teaching and helping us here (Nick Rosencrantz)

-- 
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: May I use the Google logo?

2010-08-22 Thread Niklasro(.appspot)
Indicating compatibility graphically should be in their interest while
certainly main premise is don't take stuff from others sites.
Practically I needed a transparent version for the GAE logo at login
prompt, asked here, nobody cared so it's made so (http://
www.koolbusiness.com/_/img/gaet.gif)

On Aug 21, 6:21 pm, Flips  wrote:
> Hi,
>
> some parts of the website I am currently working on are only
> accessible for users that can authenticate with an Google account. To
> "warn" the user that they need a Google Account for certain actions
> I'd like to use the Google logo in the following way: "You need an
> Google (LOGO) account for this action."
>
> You can also see it already implemented at:http://de.knolib.com/a/PHP_Array
>
> Best Regards
> Philip

-- 
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: Moving Images from Datastore to Blobstore

2010-08-24 Thread Niklasro(.appspot)
Thanks for this info. I've referenced imaged like below. Can I too
convert to blobstore somehow keeping the reference to model A?

class A(GeoModel,search.SearchableModel):
...
class Image(db.Model):
 
reference=db.ReferenceProperty(Ad,collection_name='matched_images',verbose_name="Title")
...

On Aug 23, 3:52 am, Martin Ceperley  wrote:
> Yea I just went through this process, it is a bit tricky but not too hard, 
> you can use a multipart POST library like 
> this:http://pipe.scs.fsu.edu/PostHandler/MultipartPostHandler.py
>
> to POST the image data to blobstore, and iterate through your models with the 
> mapreduce framework, then you'll need a callback handler once they are posted.
>
> Faster images and auto-thumbnailing are definitely worth it! Let me know if 
> you need help.
>
> -Martin
>
> On Aug 22, 2010, at 4:27 PM, jorge wrote:
>
> > So the changes in 1.3.6 are very welcome, indeed.  In particular, the
> > high performance image serving is something I would like to leverage
> > immediately.  The app I built and have been maintaining has several
> > hundred images at this point.  Unfortunately, I started writing the
> > app long before the blobstore became available, so all of my images
> > are stored as raw bytes in a BlobProperty in the datastore.
>
> > You're probably beginning to see my problem.  I'd love to move all of
> > the images into the blobstore to take advantage of the new high
> > performance image serving.  Since access to the blobstore is not
> > directly exposed (that I know of), it seems to me the only way to do
> > this is to iterate through all the images in the datastore, generate a
> > blobstore URL for each and attempt to construct a POST request somehow
> > from the raw images bytes.  I don't even know if this is possible, or
> > how it will work.  In any event, it sounds pretty painful.  I'm
> > wondering if there is a suggested way to accomplish this.  I have a
> > few ideas but I'd like to hear others before I start on what seems to
> > be a fairly difficult task.
>
> > TIA
>
> > --
> > 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] Re: Moving Images from Datastore to Blobstore

2010-08-28 Thread Niklasro(.appspot)
Thanks for helping. The  mentioned method appears to work getting the
id of another entity from the url, looking up the referenced blob and
writing it. . Now to make presentation more userfriendly, can we also
dispatch to templates for making views to blobstore? I had a custom
request handler for i18n translations that also can be done directly
in python files wanting to keep the template way since making the view
is easier with a template. For a view done with template, do we just
dispatch same way a class inheriting webapp.RequestHandler does this
time instead inheriting BlobstoreDownloadHandler?

On Aug 25, 5:55 am, Martin Ceperley  wrote:
> In that situation I would think that you would keep your Image class and add 
> references to the blobstore instead of the actual blob.
>
> In my model I store the reference and pre-generate the image serving url, 
> which you can append characters to to get various sizes:
>
>     primary_image = blobstore.BlobReferenceProperty()
>     primary_image_url = db.StringProperty()
>
> On Aug 24, 2010, at 11:11 PM, Niklasro(.appspot) wrote:
>
> > Thanks for this info. I've referenced imaged like below. Can I too
> > convert to blobstore somehow keeping the reference to model A?
>
> > class A(GeoModel,search.SearchableModel):
> > ...
> > class Image(db.Model):
>
> > reference=db.ReferenceProperty(Ad,collection_name='matched_images',verbose_name="Title")
> > ...
>
> > On Aug 23, 3:52 am, Martin Ceperley  wrote:
> >> Yea I just went through this process, it is a bit tricky but not too hard, 
> >> you can use a multipart POST library like 
> >> this:http://pipe.scs.fsu.edu/PostHandler/MultipartPostHandler.py
>
> >> to POST the image data to blobstore, and iterate through your models with 
> >> the mapreduce framework, then you'll need a callback handler once they are 
> >> posted.
>
> >> Faster images and auto-thumbnailing are definitely worth it! Let me know 
> >> if you need help.
>
> >> -Martin
>
> >> On Aug 22, 2010, at 4:27 PM, jorge wrote:
>
> >>> So the changes in 1.3.6 are very welcome, indeed.  In particular, the
> >>> high performance image serving is something I would like to leverage
> >>> immediately.  The app I built and have been maintaining has several
> >>> hundred images at this point.  Unfortunately, I started writing the
> >>> app long before the blobstore became available, so all of my images
> >>> are stored as raw bytes in a BlobProperty in the datastore.
>
> >>> You're probably beginning to see my problem.  I'd love to move all of
> >>> the images into the blobstore to take advantage of the new high
> >>> performance image serving.  Since access to the blobstore is not
> >>> directly exposed (that I know of), it seems to me the only way to do
> >>> this is to iterate through all the images in the datastore, generate a
> >>> blobstore URL for each and attempt to construct a POST request somehow
> >>> from the raw images bytes.  I don't even know if this is possible, or
> >>> how it will work.  In any event, it sounds pretty painful.  I'm
> >>> wondering if there is a suggested way to accomplish this.  I have a
> >>> few ideas but I'd like to hear others before I start on what seems to
> >>> be a fairly difficult task.
>
> >>> TIA
>
> >>> --
> >>> 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 
> > 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] Re: Moving Images from Datastore to Blobstore

2010-08-30 Thread Niklasro(.appspot)
Somewhere making that reference between entity and blobstore blob
fails in my method. Maybe you know what I'm doing wrong?

class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
  def post(self):
#...get the blob..
#..get form data and make reference
data = AForm(data=self.request.POST)
if data and data.is_valid():
 # Save the data, and redirect to the view page
   entity = data.save(commit=False)
   entity.added_by = users.get_current_user()
   im = Image(reference=entity)
   im.primary_image = upload_files
   im.put()
   entity.put()

-- 
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: Moving Images from Datastore to Blobstore

2010-08-31 Thread Niklasro(.appspot)
Referencing using the key instead enables the wanted effect ie
im.primary_image = blob_info.key()
Thank you

-- 
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: Moving Images from Datastore to Blobstore

2010-09-04 Thread Niklasro(.appspot)
What do you think about this alternative instead of a batch job: When
an image is accessed by HTTP GET, move it to a blob unless already
done.

On Aug 23, 3:52 am, Martin Ceperley  wrote:
> Yea I just went through this process, it is a bit tricky but not too hard, 
> you can use a multipart POST library like 
> this:http://pipe.scs.fsu.edu/PostHandler/MultipartPostHandler.py
>
> to POST the image data to blobstore, and iterate through your models with the 
> mapreduce framework, then you'll need a callback handler once they are posted.
>
> Faster images and auto-thumbnailing are definitely worth it! Let me know if 
> you need help.
>
> -Martin
>
> On Aug 22, 2010, at 4:27 PM, jorge wrote:
>
> > So the changes in 1.3.6 are very welcome, indeed.  In particular, the
> > high performance image serving is something I would like to leverage
> > immediately.  The app I built and have been maintaining has several
> > hundred images at this point.  Unfortunately, I started writing the
> > app long before the blobstore became available, so all of my images
> > are stored as raw bytes in a BlobProperty in the datastore.
>
> > You're probably beginning to see my problem.  I'd love to move all of
> > the images into the blobstore to take advantage of the new high
> > performance image serving.  Since access to the blobstore is not
> > directly exposed (that I know of), it seems to me the only way to do
> > this is to iterate through all the images in the datastore, generate a
> > blobstore URL for each and attempt to construct a POST request somehow
> > from the raw images bytes.  I don't even know if this is possible, or
> > how it will work.  In any event, it sounds pretty painful.  I'm
> > wondering if there is a suggested way to accomplish this.  I have a
> > few ideas but I'd like to hear others before I start on what seems to
> > be a fairly difficult task.
>
> > TIA
>
> > --
> > 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] Re: Web Service

2010-09-05 Thread Niklasro(.appspot)
On Sep 6, 2:51 am, Ehsan- ul-haq  wrote:
> hi you may upload your videos onhttp://pmedia4u.comits free and provide
> you a 1GB limits
With GAE video uploads is a good usecase. I can only admit upto 50 MB
per upload (www.koolbusiness.com/upload)
It has a simple web service interfaces ie KML, JSON and REST we don't
use having integrated maybe too complicated and difficult project GAE-
REST (github.com/fczuardi/gae-rest) informed that SOAP we should
avoid.
Regards,
Niklas

-- 
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: What is the most efficient way to do a large IN query in GQL?

2010-09-06 Thread Niklasro(.appspot)


On Sep 6, 8:51 am, johnterran  wrote:
> Hi
>
> In BigTable, what is the most efficient way to do a large IN query?
> My IN parameter list is typically 500 but can be 10k+
> i.e.
> class User(db.Model):
>     name = db.StringProperty(required = True)
>     id = db.StringProperty(required = True)
>
> given a list of ids that can consist of 10k list, i need to retrieve
> all the names
>  users = db.GqlQuery("SELECT * FROM User where id IN :1",
>                             ids)
>
> what is the best way to do this?
>
> Thanks
> John
I propose parametrize pairs to a dictionary using Query and not GQL ie
User.All( ...+ logic
ie filter("url id", ['www.domain010703.com.','domain010703']) with IN
pairs listed as dictionary. I didn't program it but the data structure
seems adequate.
Thank you
Niklas R

-- 
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: Development server hangs when blobstore streams video

2010-09-06 Thread Niklasro(.appspot)


On Sep 3, 1:58 pm, Harry  wrote:
> Hi,
>
> I'm using an open source video player for playing uploaded video files
> (via Blobstore).
> If video file is small (less than a megabyte), it serves properly.
> But when the file is larger, it crashes the development server.
> Do I need to use the BlobStore reader to break up the file and serve
> it in segments? Or what else ?
> Has anyone managed to setup streaming videos using the blobstore?
>
> Thanks
I can upload and somewhat stream upto 50 mb video yes( Can you?).
Which format is best: mp4, flv, 3gp or other? Here's GAE serving mp4
direct output (no template) video byi
www.koolbusiness.com/serve/AMIfv965AEZaAqKhMrfPBo3ApE3es5abthDgYJEDdlL1iwL-XyptPaQVM4If19wuhPCh_2cbjDXFXuUTVudFwebAbN125RBXSqmMakIBU7ij2OSEZRNhYQ4M9DsWCUr9Lh9GR9prJnRmQXe6J93m2_zvwLZJMEHScKJl5gt-zbyXJSlvXCygMJ4

-- 
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: Inheritance

2010-09-06 Thread Niklasro(.appspot)
On Sep 4, 6:26 pm, Robert Kluin  wrote:
> What do you mean inheritance?  Your link is broke.
>
> Robert
>
> On Sat, Sep 4, 2010 at 12:06, lisandro  wrote:
> > Hi!
> > Someone has some code working correctly that uses inheritance?
> > Example?
> > Since
> > in the link:
>
> >http://code.google.com/intl/es/appengine/docs/java/datastore/relation...
> > He does not say anything in the matter...
>
> > Regards
> > Lisandro
I inherit a custom request handler enabling i18n for instance to
activate, reset or delete the django language cookie. You can call it
BaseHandler or i18NHandler available by i18nhandler.googlecode.com
Sincerely
Niklas

-- 
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] Routing a blank domain

2010-09-06 Thread Niklasro(.appspot)
Here are dig results from domains I try harmonize to 1 DNS provider.
They now have 2 since serving > 50 MB then GAE gets less interesting.
The first one is accessible blank eg domain.tld while the rest I try
harmonize welcoming advice how to enable blank domain access.

; <<>> DiG 9.7.0-P1 <<>> alltfunkar.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25142
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;alltfunkar.com.IN  A

;; ANSWER SECTION:
alltfunkar.com. 1717IN  A   216.239.32.21
alltfunkar.com. 1717IN  A   216.239.34.21
alltfunkar.com. 1717IN  A   216.239.36.21
alltfunkar.com. 1717IN  A   216.239.38.21

;; Query time: 10 msec
;; SERVER: 83.255.245.11#53(83.255.245.11)
;; WHEN: Mon Sep  6 07:11:21 2010
;; MSG SIZE  rcvd: 96

Second dig (this is unreachable blank)

; <<>> DiG 9.7.0-P1 <<>> koolbusiness.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52016
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;koolbusiness.com.  IN  A

;; AUTHORITY SECTION:
koolbusiness.com.   1732IN  SOA dns1.name-services.com. 
info.name-
services.com. 2002050701 10001 1801 604801 181

;; Query time: 6 msec
;; SERVER: 83.255.245.11#53(83.255.245.11)
;; WHEN: Mon Sep  6 07:11:12 2010
;; MSG SIZE  rcvd: 94

Third dig (this isreachable blank but only via other DNS than above
since we moved it from hosting to appspot)

; <<>> DiG 9.7.0-P1 <<>> montao.com.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27369
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;montao.com.br. IN  A

;; ANSWER SECTION:
montao.com.br.  3555IN  A   72.167.140.157

;; Query time: 6 msec
;; SERVER: 83.255.245.11#53(83.255.245.11)
;; WHEN: Mon Sep  6 07:11:05 2010
;; MSG SIZE  rcvd: 47

...Do you agree what to do to harmoize these three different setups?
What do you propose?
Sincerely,
Nick Rosencrantz

-- 
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: popularity of Python vs Java on GAE

2010-03-25 Thread Niklasro(.appspot)
Can you argue? Looks good just that tricky explain why we need empty
definitions for example
 /**
* Setter for the remoter
* @param remoter
*/
   public void setRemoter(Remoter remoter)
   {
   this.remoter = remoter;
   }

   /**
* The bean to execute remote requests and generate interfaces
*/
   protected Remoter remoter = null;

   /**
* Setter for the URL that this handler available on
* @param interfaceHandlerUrl the interfaceHandlerUrl to set
*/
   public void setInterfaceHandlerUrl(String interfaceHandlerUrl)
   {
   this.interfaceHandlerUrl = interfaceHandlerUrl;
   }

   /**
* What URL is this handler available on?
*/
   protected String interfaceHandlerUrl;
}

-- 
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: Investigation GAE

2010-03-25 Thread Niklasro(.appspot)


On Mar 24, 5:41 pm, Jason Funk  wrote:
> Hello,
>  I have an idea for a web application and am starting to do research
> on the design and implementation. I ran across GAE and it seems to fit
> all the requirements. I have two quick questions though:
>
> 1) The application will require users to enter secure data. Assuming
> the application is secure, could I reasonably tell my users that their
> information isn't going to fall into the hands of Google?
>
> 2) I've noticed a few places that says that this is a preview release.
> Is there some assurance that Google isn't going to come along one day
> and say "That was fun. All done." and poof, there goes all my work?
>
> Thanks,
> Jason
You can always sync with LAMP for a Plan B

-- 
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: i18n and verbose_name

2010-03-25 Thread Niklasro(.appspot)
On Mar 24, 8:11 pm, Emilis Kuke  wrote:
> Hello Niklasro! Thanks for response.
>
> Does your pack and implementation work with verbose_name correctly. Is
> it possible to change language for this property outside of system.py
> configuration file. And if it you have a such implementation could you
> share it with me?
>
> I need to change language model like this
>
> class Advertisement(db.Model):
>   name = db.StringProperty(required=True,verbose_name=_(u'First name'))
>
> not in settings.py.
>
> LANGUAGE_CODE = 'lt'
>
> _ = lambda s: s
>
> LANGUAGES = (
>     ('en', _('English')),
>     ('lt', _('Lithuanian')),
>     )
>
> Views transtales very well  with
> 'localeurl.middleware.LocaleURLMiddleware', but doesn't translate out
> of the box model field, which represents label in my form value. So
> After changing language in url I must to change LANGUAGE_CODE in
> settings.py. So I'm in truble, becouse, I coudn't do this action the
> the fly. Firstly I should stop server, second change LANGUAGE_CODE
> variable value, and run server. So maybe do you have better solution
> for my problem.
>
> Thanks for the effor!
>
> --
> Sincerely,
>
> Emilis Kuke
>
> Tel.: +37067837043
My answer is yes, all appears here way it should. It is open and
appears flexible here for instance language code it works from here
http://www.koolbusiness.com?hl=it
Code is available montao.googlecode working to drop the custom request
handler towards implementation gae team know better.

-- 
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: Investigation GAE

2010-03-25 Thread Niklasro(.appspot)
Persistence layer is very easy sync with for instance
http://code.google.com/p/approcket/
View you can keep flexible with feeds or likewise
I agree it's difficult and won't replicate exactly however migrations
indicate growing together a LAMP and GAE is positively technically
doable keeping lucrative question aside since ROI(C) answers can tend
be the opposite answer of technical.

On Mar 25, 1:08 pm, Robert Kluin  wrote:
> Perhaps, but not exactly with a 'LAMP' stack.  Look 
> at:http://code.google.com/p/typhoonae/http://code.google.com/p/appscale/
>
> Robert
>
> On Thu, Mar 25, 2010 at 8:36 AM, Jason Funk  wrote:
> >> You can always sync with LAMP for a Plan B
>
> > I was under the impression that code developed for GAE will only work
> > on GAE. Sure, I could sync my code but would it run?
>
> > --
> > 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] Re: IP address to GPS coordinates

2010-03-25 Thread Niklasro(.appspot)
On Mar 25, 3:22 pm, Benjamin  wrote:
> Does anyone know a good way to get an approximate GPS coordinate
> (Latitude and Longitude) when you have a users IP Address?
>
> When my users post to a web service i'm pretty sure i know their IP.
> I'd like to get the Latitude and Longitude of the client based on that
> like GEO IP does but from my system running on app engine.
latlng = new google.maps.LatLng(google.loader.ClientLocation.latitude,
google.loader.ClientLocation.longitude);

There's code available (montao.googlecode) doing something simililar
and live usecase koolbusiness.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-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: headless browser

2010-03-26 Thread Niklasro(.appspot)
On Mar 24, 10:43 pm, Peter Warren  wrote:
> I have a Google Web Toolkit client that is served from Google App
> Engine.  I'm trying to follow the Google-recommended practice for seo/
> crawling of ajax apps outlined here:http://code.google.com/web/ajaxcrawling/.
>
> 1) I understand that HtmlUnit doesn't work on App Engine.  Is that
> right?
>
> 2) Are there any other headless browser APIs that would work on App
> Engine, or any other alternatives for serving html snapshots of my
> application?
>
> Thanks,
> Peter
com.meterware.httpunit.*; you may find successful since with regular
LAMP a hasty way I did is
WebConversation wc = new WebConversation();
HttpUnitOptions.setScriptingEnabled(false);
WebRequest req = new GetMethodWebRequest("http://mydomain.tld/
submit.html");
WebResponse resp = wc.getResponse(req);
kform = resp.getForms()[0];
kform.setParameter("name", myForm.getName());

=logs in and so

-- 
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: popularity of Python vs Java on GAE

2010-03-29 Thread Niklasro(.appspot)
My choice is obvious. Just look at this definition.

public void setInterfaceHandlerUrl(String interfaceHandlerUrl)
   {
   this.interfaceHandlerUrl = interfaceHandlerUrl;
   }

It does nothing active and cannot be understood why pre or
postprocessing can't handle seemingly total compiler stuff

-- 
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: google-appengine] A tip to speed up a local large development datastore: use ramdisk [linux]

2010-03-29 Thread Niklasro(.appspot)
On Mar 28, 11:46 pm, José Moreira  wrote:
> Setup something likehttp://ubuntuforums.org/showthread.php?t=182764
> and set your datastore path on to the ramdisk with :
>
> --datastore_path=PATH      Path to use for storing Datastore file stub
> data. (Default /tmp/dev_appserver.datastore)
>
> *** speed tests ***
>
> Regular disk:
>
> jmore...@mint ~/Tmp $ sudo hdparm -Tt /dev/sda4
> /dev/sda4:
>  Timing cached reads:   3576 MB in  2.00 seconds = 1791.11 MB/sec
>  Timing buffered disk reads:  112 MB in  3.01 seconds =  37.23 MB/sec
>
> Ram disk disk:
>
> jmore...@mint ~/Tmp $ sudo hdparm -Tt /dev/ram0
> /dev/ram0:
>  Timing cached reads:   4114 MB in  2.00 seconds = 2061.44 MB/sec
>  Timing buffered disk reads:   64 MB in  0.14 seconds = 446.65 MB/sec
I don't have a harddrive doing something similar:
 df -h
FilesystemSize  Used Avail Use% Mounted on
aufs  2.0G  451M  1.5G  24% /
udev  2.0G  236K  2.0G   1% /dev
/dev/sr0  691M  691M 0 100% /cdrom
/dev/loop0666M  666M 0 100% /rofs
none  2.0G  136K  2.0G   1% /dev/shm
tmpfs 2.0G   20K  2.0G   1% /tmp
none  2.0G   88K  2.0G   1% /var/run
none  2.0G 0  2.0G   0% /var/lock
none  2.0G 0  2.0G   0% /lib/init/rw

-- 
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: Deployment of existing app from the web

2010-03-30 Thread Niklasro(.appspot)
http://code.google.com/p/googleappengine/issues/detail?id=2136
Similar proposed integrating googlecode, deployment and editor. Any hg
online editor with deployment script between googlecode and appengine
enables it
"onlineworkuiintegrated onlinecodeeditor defines working environment
not
only adminui, workui, not only adminui, integrated dev htmlui:
-codeeditor ie workui
-vcs sync
-adminui ie nobrainer already
-easy quick adjust obvious instead of local
-facilitates quickedits even extreme strenous, all dev needs telnet or
tunnel, no windowmanager=superior performance and security


On Mar 30, 8:34 am, PoulS  wrote:
> While app engine is great for those who want to develop their own
> apps, how about those who have little technical skills and just want
> to deploy an app that someone else has made available on the web.
> Shouldn't they be able to do so from within the web interface ?

-- 
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: Uploading with the bulkloader.py

2010-04-02 Thread Niklasro(.appspot)
2 related while we look what's google3.net.proto.ProtocolBuffer ...are
http://groups.google.com/group/google-appengine-python/browse_thread/thread/947b0c978f41541a/b0fe9ff8a337be08
http://groups.google.com/group/google-appengine-python/browse_thread/thread/947b0c978f41541a/b2c148ade4611314
On Mar 13, 8:55 am, Josh Moore  wrote:
> Hi I am trying to download all of the datastore objects in my application 
> with thebulkloaderand then upload them into a different application.
>
> I use this command to download:bulkloader.py --dump --app_id=jsm277 
> --url=http://bulkmove.latest.jsm277.appspot.com/remote_api--filename=test_download_data
>
> and I get this output:
>
> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:64:
>  DeprecationWarning: the sha module is deprecated; use the hashlib module 
> instead
>   import sha
> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_login.py:33:
>  DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   import md5
> [INFO    ] Logging tobulkloader-log-20100313.160710
> [INFO    ] Throttling transfers:
> [INFO    ] Bandwidth: 25 bytes/second
> [INFO    ] HTTP connections: 8/second
> [INFO    ] Entities inserted/fetched/modified: 20/second
> [INFO    ] Opening database:bulkloader-progress-20100313.160710.sql3
> [INFO    ] Opening database:bulkloader-results-20100313.160710.sql3
> [INFO    ] Connecting to bulkmove.latest.jsm277.appspot.com/remote_api
> [INFO    ] Downloading kinds: [u'Blogs', u'Posts', u'Blog', u'Person', 
> u'Post', u'_ah_SESSION']
> ..[INFO    ] _ah_SESSION: No descending index on __key__, performing 
> serial download
> 
> [INFO    ] Have 21307 entities, 0 previously transferred
> [INFO    ] 21307 entities (7414423 bytes) transferred in 1063.4 seconds
>
> Then I use this command to upload to my new application:
>
> bulkloader.py --restore 
> --url=http://bulkmove.latest.railsturbinetest.appspot.com/--filename=test_download_data
>  --app_id=railsturbinetest
>
> And this is the output that I am getting:
> Josh-Moores-MacBook:datadownload joshmoore$bulkloader.py --restore 
> --url=http://bulkmove.latest.railsturbinetest.appspot.com/--filename=test_download_data
>  --app_id=railsturbinetest ~/Documents/code/new_rails_turbine/
> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:64:
>  DeprecationWarning: the sha module is deprecated; use the hashlib module 
> instead
>   import sha
> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_login.py:33:
>  DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   import md5
> [INFO    ] Logging tobulkloader-log-20100313.164108
> [INFO    ] Throttling transfers:
> [INFO    ] Bandwidth: 25 bytes/second
> [INFO    ] HTTP connections: 8/second
> [INFO    ] Entities inserted/fetched/modified: 20/second
> [INFO    ] Opening database:bulkloader-progress-20100313.164108.sql3
> [INFO    ] Connecting to bulkmove.latest.railsturbinetest.appspot.com/
> Traceback (most recent call last):
>   File "/usr/local/bin/bulkloader.py", line 68, in 
>     run_file(__file__, globals())
>   File "/usr/local/bin/bulkloader.py", line 64, in run_file
>     execfile(script_path, globals_)
>   File 
> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
>  line 4031, in 
>     sys.exit(main(sys.argv))
>   File 
> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
>  line 4027, in main
>     return _PerformBulkload(arg_dict)
>   File 
> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
>  line 3880, in _PerformBulkload
>     return_code = app.Run()
>   File 
> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
>  line 3170, in Run
>     kinds = self.RunPostAuthentication()
>   File 
> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
>  line