I'm currently creating a web app using Google's oAuth. I was wondering how I can uniquely identify an authenticated user so I don't accidentally add duplicates.
As far as I know, cloud computing is growing rapidly. Amazon EC2, Google App Engine, Microsoft Windows Azure...But I can't imagine how cloud computing will change the world.
Will cloud computing will play the main role in software industry?
Will our data be stored at one place and then can be accessed from any where?
Shall we need powerful PCs no more because everything will be processed at "cloud"?
Thank you so much
hi!
i wanna parse a json like this
http://maps.google.com/maps/api/geocode/json?address=milano&sensor=false
only to find the latitude and longitude of an address (in this case is milano).
anyone can help me? thanks a lot in advance :)
Hello, I found this on the web:
$('a[href^=http]:not("[href*=://' + document.domain + ']")').click(function() {
pageTracker._trackPageview('/outgoing/' + $(this).attr('href'));
});
But it's not working. In my Google Analytics account there are no /outgoing/ links showing (it's been 24+ hours since I implemented it).
What's wrong with this code? I'm using jQuery of course ;)
In my web app I need to give the user the option to save a js variable as a file (when the user clicks download, the app offers him to save a file, preffereably as .js file).
Similarly as google docs offers you to save a file.
Is it possible for javascript to pass it's variable this way?
I have a Google Wave robot which makes changes to some blip content depending on what a user inputs. When this edit is made, the robot is listed in the blip as one of the people who have edited it (so shows its Avatar and robot name).
I was wondering if anyone knew if it was possible (and if so how), to stop the robot being listed as an editor (either by it not happening in the first place, or removing it afterwards).
when i upload my project to google-app-engine , it show this :
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
why ?
how can i debug this error ?
thanks
Hi I'm new to Twilio and want to know how How to send an SMS from a GAE web app with Twilio using JAVA ? I've executed the example on their website as Java app and it works. https://www.twilio.com/docs/quickstart/java/sms/sending-via-rest
When I want to make the same in a Java Google App Engine app, it don't and it display a message ("The method GET is not supported")
Can someone share a step by step tutorial on how to make my Java GAE webb app to send SMSes please ?
Thanks
Hi guys I'm working on a google apps application. Basically I've set it up so users can add multiple gmail addresses and check on their inboxes in the application. It works fine with a google apps email address however when I add a gmail address it just dies out.
I'm using this code here:
$mail = new Zend_Mail_Storage_Imap($mail_options);
$all_messages = array();
$page = isset($_GET['page'])?$_GET['page']:1;
$limit = isset($_GET['limit'])?$_GET['limit']:20;
$offset = (($page-1)*$limit)+1;
$end = ($page*$limit)>$c?$c:($page*$limit);
for ($i=$offset;$i<=$end;$i++){
$h2t = new html2text();
$h2t->set_allowed_tags('<a>');
if(!$mail[$i])
break;
else{
$one_message = $mail->getMessage($i);
$one_message->id = $i;
$one_message->UID = $mail->getUniqueId($i);
$one_message->parts = array();
$one_message->body = '';
$count = 1;
foreach (new RecursiveIteratorIterator($mail->getMessage($i)) as $ii=>$part) {
try {
$tpart = $part;
//$tpart->_content = '';
$one_message->parts[$count] = $tpart;
$count++;
// check for html body
if (strtok($part->contentType, ';') == 'text/html') {
$b = $part->getContent();
if($part->contentTransferEncoding == 'quoted-printable')
$b = quoted_printable_decode($b);
$one_message->html_body = $b;
$h2t->set_html($b);
$one_message->body = $h2t->get_text();
}
//check for text body
if (strtok($part->contentType, ';') == 'text/plain') {
$b = $part->getContent();
if($part->contentTransferEncoding == 'quoted-printable')
$b = quoted_printable_decode($b);
$one_message->text_body = $b;
$one_message->body = $b;//$part->getContent();
}
} catch (Zend_Mail_Exception $e) {
// ignore
}
}
$all_messages[] = $one_message;
}
}
No matter what the emails it dies out on retrieving just 2 emails... whats going on here?
Hi All,
Can mapkit framework provided in iphone be used to create an enterprise application, without violating Google privacy and terms. As I am creating enterprise application using enterprise certificate (http://developer.apple.com/programs/iphone/enterprise/) form apple, wanted to know weather I can use makkit framework in my application application for distribution within the enterprise and on itunes app store.
Please let me know if there is any additional legal agreement/certificates involved.
Thanking you in advance.
According to this discussion of Google App Engine on Hacker News,
A DB (read) request takes over 100ms on the
datastore. That's insane and unusable
for about 90% of applications.
How do you determine what is an acceptable response time for a DB read request?
I have been using App Engine without noticing any issues with DB responsiveness. But, on the other hand, I'm not sure I would even know what to look for in that regard :)
I am building an app based on google app engine (Java) using JDO for persistence.
Can someone give me an example or a point me to some code which shows persisting of multiple entities (of same type) using javax.jdo.PersistenceManager.makePersistentAll() within a transaction.
Basically I need to understand how to put multiple entites in one Entity Group so that they can be saved using makePersistentAll() inside transaction.
hello,
recently i want to upload GAppProxy to GAE.
but when i use the appcfg.py to update the files,there comes an error,it was:
urllib2.URLError: urlopen error [Errno 8] _ssl.c:480: EOF occurred in
violation of protocol
i don't know why
PS:i live in china,and may be because of the GFW.
and when i use the type :appengine.google.com and then input the password,i can't redict to the index page,there is an error too,which says:ssl error
I normally works in asp.net. But recently I was testing Google App Engine and I found TaskQueues: it's very interesting and powerful. Does anyone know a similar service for asp.net?
I know MSQueue but it's not what I need. I need something like GAE TaskQueue: I put an URL in queue and the URL is triggered (based on queue config).
Hi i'm working in task queue concept.... First i struggled to program using task queue and i asked many doubts in stack overflow and Google app engine java. After a search i got a sample program for task queue. http://gaejexperiments.wordpress.com/2009/11/24/episode-10-using-the-task-queue-service/ It will very useful for beginners Like me.
Regards,
Sharun.
I'm having a devil of a time getting Phusion Passenger to work with django-nonrel for Google's App Engine. I can seem to get it to work for GoogleAppEngineLauncher and for the production server but not Passenger; or for Passenger and GoogleAppEngineLauncher but not the production server; or for Passenger and the production server but not GoogleAppEngineLauncher.
How do I get my app to deploy on all three?
Hi all,
My source gave me the following lat and long codes from Amsterdam. But I can't get them working with Google Maps. Is there some logic behind it, or some kind of algorithm to convert them?
5,237,300,539,279,090 | 489,290,714,263,916
Should be something like this:
52.378268, 4.888859
How can one tell where the dots should be?
Thanks!
In the documentation for Google App Engine, it says that when designing data models for the datastore, you should "optimize for reads, not writes". What exactly does this mean? What is more 'expensive', CPU intensive or time consuming?
Can either Bing or Google Maps allow you to pass in a collection of points and then interrogate that collection to only plot the X nearest points?
I am asking because it may be difficult to pre-filter this data and would be much simpler to supply the entire list and filter it within the API itself.
I have a lot of text data and want to translate it to different languages.
Possible ways I know:
Google Translate API
Bing Translate API
The problem is that all these services have limitations on text length, number of calls etc. which makes them inconveniente in use.
What services / ways you could advice to use in this case?
I want to use Google Chart API using javascript. (I don't want to use the python wrapper)
So how do I send data from my python code into the javascript to create graphs?
Are there any ways to get count of current unfinished tasks at Google Appengine development server? I need it for making my integration test.
I found a way to get this when running it local (just in mem), as described at appengine docs.
But when i'm running it as a standalone server, from maven, this doesn't work. Just because library appengine-testing conflicts with Appengine SDK classes, and i can't use those classes together, when running sdk dev server.
I get an "unrecognized HTTP method" when trying to do a REPORT request using httplib and gae. Is there a workaround available? An httplib patch for gae? Do you I have to find another host in order to do this natively?
According to the docs, only certain fetch actions are valid: GET, POST, HEAD,
PUT, and DELETE: http://code.google.com/appengine/docs/python/urlfetch/
fetchfunction.html
Is there a way to use an iframe or some other method of showing a named div from another website?
I want to pull in some data from a government website into a google map and when they click the point I want the information from one of the divs on that page to display.