I'm trying to implement an Opensearch XML solution in one of my apps.
But IE8 seems to be having some problems with it. I think it might
have to do with encoding or content-type issues. How do I serve
correctly w/ python?
Thanks!
--
You received this message because you are subscribed to the
I recently came across an issue where I solved the problem by taking
the same exact template file, and serving it static (in app.yaml)
instead of dynamically (through a python script). So I was wondering:
How can I serve files dynamically (e.g. templates), so that the result
is exactly the same as
the difference.
If you can be more specifc, it would probably be alot easier for
someone to help you.
2009/12/27 MajorProgamming sefira...@gmail.com:
I recently came across an issue where I solved the problem by taking
the same exact template file, and serving it static (in app.yaml)
instead
+engine
2009/12/27 MajorProgamming sefira...@gmail.com:
Okay, how can I set MIME/Content type correctly? That might've been
the issue...
On Dec 27, 5:36 pm, Barry Hunter barrybhun...@googlemail.com wrote:
Surely it depends on what your 'problem' was.
As long as you setting a MIME
I was wondering: isn't using reference properties a waste of space?
Wouldn't it make more sense to store the id (assuming not using
key_name) of the entity. After all, if the Kind is known, one can
easily generate the full key based on that. And with a reference
property it actually stores the
That's great info to know. But I more specifically wanted to get the
runtime of the file (i.e. in hours, minutes, seconds). Any way to do
that?
On Nov 26, 2:37 am, Niklas Rosencrantz teknik...@gmail.com wrote:
On Thu, Nov 26, 2009 at 5:14 AM, MajorProgamming sefira...@gmail.com wrote
Is there any way to somehow fetch an external MP3 file (i.e. from
another website), and then calculate the length of the MP3 file.
I don't need the actual data of the file, I just want the length of it
(time it runs).
Keep in mind that these files can be as big as 25MB...
Thanks,
--
You
If I'm filtering on a Listproperty, and perform the same filter twice,
is there a performance hit?
q=q.filter('lp =','value1')
q=q.filter('lp =','value1')
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
What will the mail handler do if there is an error? Will it call it
again?
Is there any possibility of it calling the URL twice?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To
I am currently trying to develop an app that uses Google Voice's new
email/sms functionality. However, when I send an email from my app
to the correct email address, it simply will not go through. I am
suspicious that this happens because Google Voice checks SPF records
to make sure it really
What is the most efficient way to sort Datastore results in memory?
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
I was recently watching a Google I/O video (I believe it was by Brett
Slatkin), and I noticed that he was trying to avert the
Deserialization Cost of ListProperties. I was wondering how bad that
cost is, and how big the list has to be in order to see that cost?
(e.g. let's say I know the list
As per Twitter Docs. one must use the multipart to post the image
[http://apiwiki.twitter.com/Twitter-REST-API-Method:-
account update_profile_image]
I am currently using a twitter-oauth-appengine library [http://
github.com/tav/tweetapp] and I can't seem to perform the post
operation correctly.
Just to get the links straight:
The first one is: http://bit.ly/iK9zi
And the second is http://bit.ly/196RXR
On Jun 25, 10:33 am, MajorProgamming sefira...@gmail.com wrote:
As per Twitter Docs. one must use the multipart to post the image
[http://apiwiki.twitter.com/Twitter-REST-API-Method
. INSTALLED_APPS is a setting in the settings.py in django.
You'll probably need to create a settings.py and put
'django.contrib.humanize' in the INSTALLED_APPS list.
see:http://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
On Wed, Jun 24, 2009 at 7:19 AM, MajorProgamming sefira
I am currently running an app that is ONLY using Django templates (not
the whole framework). I was wondering how I can use the
django.contrib.humanize part so I can use specialized filters? It
mentions something about INSTALLED_APPS, but I have no clue how to do
that?
Thanks,
I need to perform a simple ordering query (descending rank) on my
datastore. The default query looks like:
query.order('-rank')
However, I now need to perform paging. I attempted doing:
query.filter('__key__ ', bookmark)
query.order('-rank')
query.order('__key__')
This won't work though
I understand that TaskQueues have the possibility of running over and
over again. Does this apply to cron jobs? Do we need to design them to
be Idempotent as well?
For more info on what I'm talking about:
http://en.wikipedia.org/wiki/Idempotence
http://www.youtube.com/watch?v=o3TuRs9ANhs
before you
register it.
For general domain availability, I recommend a hosting provider website
likehttp://www.godaddy.com/.
- Jason
On Fri, May 1, 2009 at 3:35 PM, MajorProgamming sefira...@gmail.com wrote:
I'm looking for a way to check if a domain is available. Preferably to
run
Nope. But now it's fixed. Must've been a fluke.
On May 1, 3:33 am, 风笑雪 kea...@gmail.com wrote:
You can check the logs and make sure it runs every seconds.
I think you may just has a loop in your script that looks always running.
2009/5/1 MajorProgamming sefira...@gmail.com
I don't know
I don't know if it's only happening by me but my crons are running
every second!!!
Here is a copy of my cron.yaml:
cron:
- description: send at night
url: /cron/night
schedule: every sun,mon,tue,wed,thu,fri of apr,may,jun 1:30
- description: send by day
url: /cron/day
schedule: every
I'm looking for a way to check if a domain is available. Preferably to
run on Google AppEngine alone. But if not then something in plain
python that will work on my own pc.
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I am currently developing an app that will send text message
reminders. I was thinking of using each carrier's email gateway to
handle the messages. Are there any potential scaling problems with
this method?
(I plan on sending the text messages via the GAE Email system)
Thank you,
a
large number of requests in parallel, you need to increase the volume
gradually.
Julian
On Apr 3, 4:26 am, MajorProgamming sefira...@gmail.com wrote:
I believe I'm using python 2.5. The script I posted before is the
entire script, so no timeouts.
The server side is simply outputting
/appengine/kb/billing.html#cpu)
Your approach sounds reasonable, but I was curious about your mention
of threading. Would that be client side threading? Ajax triggers would
be another good solution which I've seen apps use.
Thank you,
Jeff
On Mar 30, 2:38 pm, MajorProgamming sefira
reasonable, but I was curious about your mention
of threading. Would that be client side threading? Ajax triggers would
be another good solution which I've seen apps use.
Thank you,
Jeff
On Mar 30, 2:38 pm, MajorProgamming sefira...@gmail.com wrote:
I am currently working on a way
I am currently working on a way to mass email [in a short period of
time] using Google App Engine. I figured that as of now the best way
to do this would be to run many requests in parallel. I was wondering
if my app would accept many requests at once, and if so what would the
limit be [in the
I could think of a rather simple solution for twitter: Just give
everyone an API key that they use to authenticate, and make the limits
based on the key instead of the IP addresses. No?
On Mar 14, 12:57 am, Richard Bremner richyr...@gmail.com wrote:
Hmmm yes this is a difficult one. Neither
Suppose I set up billing with a $1 budget/day (which is the minimum).
I understand that I will be billed $7/week.
What happens if I don't go over any of the free quotas the first week?
Will Google bill me again the next week?
What happens if I use $2 the first week? Will Google only charge me
authorizes the budget.
-- Dan
On Fri, Feb 27, 2009 at 1:50 PM, Ross M Karchner
rosskarch...@gmail.comwrote:
From what I can tell, the $1 is a *budget*, you won't be charged anything
if you don't go over the free quotas.
On Fri, Feb 27, 2009 at 4:23 PM, MajorProgamming sefira...@gmail.comwrote
Something I didn't understand well about budgets: Can we set the
amount we're willing to pay per resource. For example, suppose I set a
budget of $50. Can I tell GAE to only use that money for let's say
Bandwidth and Email [as opposed to all resources]?
Now that Billing is available, I have some questions about Emails:
The price is .0001/message. Does that mean I can really send an
unlimited number of messages (provided I pay)?
What are the limits of email per request?
Is it a good idea to use this for SMS [alerts], where I send out a
mass
in 30 seconds (I've never tried to
test the limit), but I'd imagine it would be on the order of 30.
-Marzia
On Thu, Feb 26, 2009 at 7:00 AM, MajorProgamming sefira...@gmail.comwrote:
Now that Billing is available, I have some questions about Emails:
The price is .0001/message. Does
I currently have a need to take a result from a query (which is a
list) and remove one entity from it. For some reason though when I
perform the remove, I get an error which says that the entity does not
exist on the list. How can I do this correctly?
Code:
#excerpt:
#wx and wx2 are db.Query
Is this the proper way to handle Download Errors from urlfetch (which
happen quite often in my app)?
try:
result = urlfetch.fetch(url=url)
except DownloadError:
#return an error
Basically a coding/python question
Also, would it work to except, and try again within that same test?
For
using it, django, and
the appenginepatch project -http://code.google.com/p/app-engine-patch/
- with some custom backends to handle OpenId and Oauth authentication
for my user management system.
On Jan 23, 4:16 pm, MajorProgamming sefira...@gmail.com wrote:
Javascript on your login form
I am currently working on a App that requires that I use a custom sign
in method.
I was wondering if there are any security flaws I should be aware
of...
Also:
I was wondering if I must use SSL for proper security?
Is the best way to maintain sessions through using cookies?
Do I have to
Does anyone know of how to deal with secure feeds:
For example, suppose I have a feed that should only give infromation
to a user when s/he's logged in. What's the best (and most secure) way
to implement this?:?
Thanks,
--~--~-~--~~~---~--~~
You received this
that deletes a user's fox,
always check that 123 actually belongs to this user. Otherwise users
could delete other user's foxes by retyping the url.
gmemsess is athttp://code.google.com/p/gmemsess/
Cheers!
Greg.
On Jan 24, 8:42 am, MajorProgamming sefira...@gmail.com wrote:
I am currently
as it is handles larger files. The 1MB limit only
limits the entities, not the transport.
On Jan 8, 11:59 pm, MajorProgamming sefira...@gmail.com wrote:
Just a few questions on static files:
1. Does serving a static file cost CPU usage?
2. Does having a large number of static files (let's say
I know that the MySQL version of FullText search supports sorting by
Relevance. Is there any way to mimic this functionality on App Engine?
[whether through Searchable Entity or through custom methods]?
--~--~-~--~~~---~--~~
You received this message because you
Just a few questions on static files:
1. Does serving a static file cost CPU usage?
2. Does having a large number of static files (let's say like 700)
have _any_ effect on performance of page serving [similarly, does
having a lot of mappings affect performance]?
3. When a python script reads a
Is this treated well (and accepted as proper usage) by all standards
and browser?
base href=/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Got ya. Didn't realize that would solve the problem. Thanks for your
help!
On Jan 7, 3:42 pm, Rodrigo Moraes rodrigo.mor...@gmail.com wrote:
On Wed, Jan 7, 2009 at 6:25 PM, MajorProgamming wrote:
This all worked well when my pages looked like http://example.com/
apage, where the relative
Sample code:
application = webapp.WSGIApplication([('/', MainPage),
('/newentry', NewEntry),
('/editentry', EditEntry),
('/deleteentry', DeleteEntry),
I have this code in one of my HTML Templates:
{%if forloop.counter0|divisibleby:3%}/trtr class={% cycle
even,odd%}{%endif%}
[snipped out]
For some reason every time I reload the page, the cycle behaves
differently. It's almost like the system keeps the last cycling in
memory - could there be
What's passed to the article_id parameter? How does GAE know what to
pass?
On Jan 3, 7:58 pm, Rodrigo Moraes rodrigo.mor...@gmail.com wrote:
On Sat, Jan 3, 2009 at 10:02 PM, MajorProgamming wrote:
Firstly, Do these mappings also support regular expression mappings?
They *are* regular
I have an app where I want to set a memcache for 1 hour expiration,
and then update it while keeping the same timeout (i.e. when I update
it I don't want the 1-hour to start over, I just want the value to
change, while keeping the timeout the same as b4). How can I do this?
it you
just read the current expire timestamp, and use it again.
2008/12/28 MajorProgamming sefira...@gmail.com:
I have an app where I want to set a memcache for 1 hour expiration,
and then update it while keeping the same timeout (i.e. when I update
it I don't want the 1-hour to start
This may be more of a general python question, but what's the best way
of using many different .py files and importing one into another. For
example, suppose I want to have one main.py and have a separate file
that contains like 15 functions which are needed in main.py. First of
all, what do I
12-19 06:34PM 51.839
Traceback (most recent call last):
File /base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py, line 498, in __call__
handler.get(*groups)
File /base/data/home/apps/[edited out]/1.329827330674031168/
helloworld.py, line 96, in get
email
limits (2000 per day).
On Dec 19, 5:33 am, Greg g.fawc...@gmail.com wrote:
On Dec 19, 1:00 pm, MajorProgamming sefira...@gmail.com wrote:
1. What would be the best way to implement this considering the
current features available on google app engine (and possibly other
free services
Probably.
However, on a side note, you can create a application with the name
AccuWeaver2 (or the like), and then when you have it run on your
domain, your users wouldn't notice a thing...
On Dec 18, 5:48 pm, Webweave webwe...@gmail.com wrote:
So there's somebody out there using my company
Suppose one of the features I have on the App I'm creating, is the
ability for users to subscribe for certain alerts.
1. What would be the best way to implement this considering the
current features available on google app engine (and possibly other
free services)?
2. [this one should probably
That would work well for a small amount of users. But what if my app
grows to like 5,000 emails? Your solution would definitely work well
at that point!
Do you maybe know of an external service that would allow me to set up
s/t to broadcast to many url's or is there another way that i'm
missing?
Whoops, typo: I meant: Your solution would definitely _not_ work well
at that point!
On Dec 18, 9:31 pm, MajorProgamming sefira...@gmail.com wrote:
That would work well for a small amount of users. But what if my app
grows to like 5,000 emails? Your solution would definitely work well
Well another point is that if I want to send time-sensitive info, it
would be impossible (i.e. with your method, you are running the
sending throughout the entire day, but in some cases almost-instant
sending is required).
Another problem worth mentioning is that mass-fetching from the
datastore
the subject line to a single space
(' ') if you would prefer not to send a subject.
-Marzia
On Sun, Dec 14, 2008 at 3:05 PM, MajorProgamming sefira...@gmail.comwrote:
Is there any reason Google does not allow an empty subject when
sending email via AppEngine? There are many cases where
Is there any reason Google does not allow an empty subject when
sending email via AppEngine? There are many cases where this would
prove useful.
[on a side not - even GMail allows sending email w/ empty subjects]
--~--~-~--~~~---~--~~
You received this message
)
updates UserComment.last_commented for all users that also commented
the article.
It's far from perfect, there's a (slight) delay in update, but
otherwise it works. I'm very interested in how others would implement
this.
Alex
--www.muspy.com
On Nov 13, 9:50 am, MajorProgamming [EMAIL
--www.muspy.com
On Nov 13, 9:50 am, MajorProgamming [EMAIL PROTECTED] wrote:
I was wondering how to approach the following:
Suppose I have three DB Models that look something like this:
MainListOfArticles(db.Model):
articleText=db.Text
[...]
CommentsOnArticles(db.Model
I was wondering how to approach the following:
Suppose I have three DB Models that look something like this:
MainListOfArticles(db.Model):
articleText=db.Text
[...]
CommentsOnArticles(db.Model):
commentText=db.Text
articleRef=db.ReferenceProperty(MainListOfArticles)
, MajorProgamming [EMAIL PROTECTED] wrote:
I noticed that www.*.appspot.com (where * is the subdomain that you
picked) doesn't work. Is there any reason for this? It would make
sense to have both options for those of our users who don't know any
better (and prefix all urls with www).
by the way
I noticed that www.*.appspot.com (where * is the subdomain that you
picked) doesn't work. Is there any reason for this? It would make
sense to have both options for those of our users who don't know any
better (and prefix all urls with www).
by the way, blogspot does support www...
64 matches
Mail list logo