[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 johnter...@gmail.com 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 =

[google-appengine] Re: Development server hangs when blobstore streams video

2010-09-06 Thread Niklasro(.appspot)
On Sep 3, 1:58 pm, Harry glazed...@gmail.com 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

[google-appengine] Re: Inheritance

2010-09-06 Thread Niklasro(.appspot)
On Sep 4, 6:26 pm, Robert Kluin robert.kl...@gmail.com wrote: What do you mean inheritance?  Your link is broke. Robert On Sat, Sep 4, 2010 at 12:06, lisandro lisandr...@gmail.com wrote: Hi! Someone has some code working correctly that uses inheritance? Example? Since in the link:

[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

[google-appengine] Re: Web Service

2010-09-05 Thread Niklasro(.appspot)
On Sep 6, 2:51 am, Ehsan- ul-haq iehsa...@gmail.com 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

[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 mar...@ceperley.com wrote: Yea I just went through this process, it is a bit tricky but not too hard, you can use a

[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

[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 =

[google-appengine] Re: Moving Images from Datastore to Blobstore

2010-08-29 Thread Niklasro(.appspot)
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

[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

[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)

[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

[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=20lon=80 where latitude

[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

[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 gleidson.gmo...@gmail.com wrote: Can more than one domain pointing to an application www.exemplo1.compoints to

[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

[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.1894428lon=77.3783789cc=IN On Jul 24, 12:36 pm, Patrick mccon...@gmail.com wrote: Malcom -  had not seen

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

2010-07-12 Thread Niklasro(.appspot)
,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) nikla...@gmail.com wrote: Hey kept  RewriteRule ^/vi/?([0

[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

[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. webb.spra...@gmail.com wrote: Is there a way (in Linux) to make the rendering of Django templates error out when a object property  is

[google-appengine] Re: InboundEmailMessage.subject doesn't support unicode strings

2010-07-05 Thread Niklasro(.appspot)
On Jul 5, 12:29 pm, Vladimir Prudnikov pru...@gmail.com 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?=

[google-appengine] Re: insert-delete vs. get-edit-put

2010-06-10 Thread Niklasro(.appspot)
On Jun 10, 1:25 am, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: I would go with identical key and single insert, no need to delete. On Wed, Jun 9, 2010 at 10:32 PM, alf alberto@gmail.com wrote: Whats is better in term of performance insert a new entity or recycle a entity

[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

[google-appengine] Re: regex in log search

2010-06-05 Thread Niklasro(.appspot)
On Jun 4, 11:21 pm, djidjadji djidja...@gmail.com wrote: the regex uses the \s \w as specials 2010/6/4 Philip Tucker ptuc...@gmail.com: 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

[google-appengine] Re: plans for 2-factor auth?

2010-06-04 Thread Niklasro(.appspot)
On Jun 4, 4:37 pm, Ikai L (Google) ika...@google.com 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

[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

[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 izu...@gmail.com 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

[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 lenny...@gmail.com 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

[google-appengine] Re: Advice on improving performance of a query

2010-05-26 Thread Niklasro(.appspot)
On May 22, 11:15 pm, Herbert herber...@gmail.com 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

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

2010-04-25 Thread Niklasro(.appspot)
On Apr 25, 7:39 am, Magnus O. mag...@magnusottosson.se 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

[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 a href='/li'Finn/a a href='/ai'Annons.../a nytt .. Related Q2 how to handle escape

[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

[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

[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

[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 matrixowns...@gmail.com 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

[google-appengine] Re: headless browser

2010-03-26 Thread Niklasro(.appspot)
On Mar 24, 10:43 pm, Peter Warren pe...@treehouselogic.com 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

[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

[google-appengine] Re: Investigation GAE

2010-03-25 Thread Niklasro(.appspot)
On Mar 24, 5:41 pm, Jason Funk jasonlf...@gmail.com 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

[google-appengine] Re: i18n and verbose_name

2010-03-25 Thread Niklasro(.appspot)
On Mar 24, 8:11 pm, Emilis Kuke emilis.k...@gmail.com 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

[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

[google-appengine] Re: IP address to GPS coordinates

2010-03-25 Thread Niklasro(.appspot)
On Mar 25, 3:22 pm, Benjamin bsaut...@gmail.com 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